Codebase list gupnp-dlna / 47ac70f
Imported Upstream version 0.4.0 Andreas Henriksson 13 years ago
28 changed file(s) with 1507 addition(s) and 1505 deletion(s). Raw diff Collapse all Expand all
00 # 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(-)
183
284 commit c662f88e3bf96540236f1cbb2bbe32268e07c504
385 Author: Arun Raghavan <arun.raghavan@collabora.co.uk>
3939 $(srcdir)/gupnp-dlna-1.0-uninstalled.pc.in \
4040 $(srcdir)/gupnp-dlna-1.0.pc.in $(top_srcdir)/configure AUTHORS \
4141 COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \
42 depcomp install-sh ltmain.sh missing
42 depcomp install-sh ltmain.sh missing mkinstalldirs
4343 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
4444 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4545 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4646 $(ACLOCAL_M4)
4747 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
4848 configure.lineno config.status.lineno
49 mkinstalldirs = $(install_sh) -d
49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
5050 CONFIG_HEADER = config.h
5151 CONFIG_CLEAN_FILES = gupnp-dlna-1.0.pc gupnp-dlna-1.0-uninstalled.pc
5252 CONFIG_CLEAN_VPATH_FILES =
172172 GTKDOC_CHECK = @GTKDOC_CHECK@
173173 GTKDOC_MKPDF = @GTKDOC_MKPDF@
174174 GTKDOC_REBASE = @GTKDOC_REBASE@
175 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
175176 HTML_DIR = @HTML_DIR@
176177 INSTALL = @INSTALL@
177178 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
013 0.3.1
114 =====
215
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [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.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # 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
98920
99021 dnl -*- mode: autoconf -*-
99122
92538284 fi[]dnl
92548285 ])# PKG_CHECK_MODULES
92558286
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
00 #! /bin/sh
11 # 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.
33 #
44 # Report bugs to <http://www.gupnp.org/>.
55 #
66 #
77 # 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.
1010 #
1111 #
1212 # This configure script is free software; the Free Software Foundation
326326 test -d "$as_dir" && break
327327 done
328328 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"
330330
331331
332332 } # as_fn_mkdir_p
366366 fi # as_fn_arith
367367
368368
369 # as_fn_error ERROR [LINENO LOG_FD]
370 # ---------------------------------
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
371371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372372 # 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.
374374 as_fn_error ()
375375 {
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
382382 as_fn_exit $as_status
383383 } # as_fn_error
384384
542542 exec 6>&1
543543
544544 # 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,
546546 # so uname gets run too.
547547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548548
561561 # Identity of this package.
562562 PACKAGE_NAME='gupnp-dlna'
563563 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'
566566 PACKAGE_BUGREPORT='http://www.gupnp.org/'
567567 PACKAGE_URL=''
568568
683683 CC
684684 AM_BACKSLASH
685685 AM_DEFAULT_VERBOSITY
686 GUPNP_DLNA_VERSION_INFO
686687 am__untar
687688 am__tar
688689 AMTAR
845846 fi
846847
847848 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 ;;
850852 esac
851853
852854 # Accept the important Cygnus configure options, so we can diagnose typos.
891893 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892894 # Reject names that are not valid shell variable names.
893895 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"
895897 ac_useropt_orig=$ac_useropt
896898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897899 case $ac_user_opts in
917919 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918920 # Reject names that are not valid shell variable names.
919921 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"
921923 ac_useropt_orig=$ac_useropt
922924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923925 case $ac_user_opts in
11211123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11221124 # Reject names that are not valid shell variable names.
11231125 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"
11251127 ac_useropt_orig=$ac_useropt
11261128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11271129 case $ac_user_opts in
11371139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11381140 # Reject names that are not valid shell variable names.
11391141 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"
11411143 ac_useropt_orig=$ac_useropt
11421144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11431145 case $ac_user_opts in
11671169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11681170 x_libraries=$ac_optarg ;;
11691171
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"
11721174 ;;
11731175
11741176 *=*)
11761178 # Reject names that are not valid shell variable names.
11771179 case $ac_envvar in #(
11781180 '' | [0-9]* | *[!_$as_cr_alnum]* )
1179 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1181 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11801182 esac
11811183 eval $ac_envvar=\$ac_optarg
11821184 export $ac_envvar ;;
11941196
11951197 if test -n "$ac_prev"; then
11961198 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"
11981200 fi
11991201
12001202 if test -n "$ac_unrecognized_opts"; then
12011203 case $enable_option_checking in
12021204 no) ;;
1203 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1205 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
12041206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12051207 esac
12061208 fi
12231225 [\\/$]* | ?:[\\/]* ) continue;;
12241226 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12251227 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"
12271229 done
12281230
12291231 # There might be people who depend on the old broken behavior: `$host'
12371239 if test "x$host_alias" != x; then
12381240 if test "x$build_alias" = x; then
12391241 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
12421244 elif test "x$build_alias" != "x$host_alias"; then
12431245 cross_compiling=yes
12441246 fi
12531255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12541256 ac_ls_di=`ls -di .` &&
12551257 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"
12571259 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"
12591261
12601262
12611263 # Find the source files, if location was not specified.
12941296 fi
12951297 if test ! -r "$srcdir/$ac_unique_file"; then
12961298 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"
12981300 fi
12991301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
13001302 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"
13021304 pwd)`
13031305 # When building in place, set srcdir=.
13041306 if test "$ac_abs_confdir" = "$ac_pwd"; then
13241326 # Omit some internal or obsolete options to make the list less imposing.
13251327 # This message is too long to be a string in the A/UX 3.1 sh.
13261328 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.
13281330
13291331 Usage: $0 [OPTION]... [VAR=VALUE]...
13301332
13381340 --help=short display options specific to this package
13391341 --help=recursive display the short help of all the included packages
13401342 -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
13421344 --cache-file=FILE cache test results in FILE [disabled]
13431345 -C, --config-cache alias for \`--cache-file=config.cache'
13441346 -n, --no-create do not create output files
13941396
13951397 if test -n "$ac_init_help"; then
13961398 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:";;
13981400 esac
13991401 cat <<\_ACEOF
14001402
15221524 test -n "$ac_init_help" && exit $ac_status
15231525 if $ac_init_version; then
15241526 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.
15291531 This configure script is free software; the Free Software Foundation
15301532 gives unlimited permission to copy, distribute and modify it.
15311533 _ACEOF
16411643 mv -f conftest.er1 conftest.err
16421644 fi
16431645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } >/dev/null && {
1646 test $ac_status = 0; } > conftest.i && {
16451647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16461648 test ! -s conftest.err
16471649 }; then :
17081710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17091711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17101712 $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 :
17121714 $as_echo_n "(cached) " >&6
17131715 else
17141716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17391741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17401742 $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 :
17421744 $as_echo_n "(cached) " >&6
17431745 else
17441746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001802 This file contains any messages produced by compilers while
18011803 running configure, to aid debugging if configure makes a mistake.
18021804
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
18051807
18061808 $ $0 $@
18071809
19111913 {
19121914 echo
19131915
1914 cat <<\_ASBOX
1915 ## ---------------- ##
1916 $as_echo "## ---------------- ##
19161917 ## Cache variables. ##
1917 ## ---------------- ##
1918 _ASBOX
1918 ## ---------------- ##"
19191919 echo
19201920 # The following way of writing the cache mishandles newlines in values,
19211921 (
19491949 )
19501950 echo
19511951
1952 cat <<\_ASBOX
1953 ## ----------------- ##
1952 $as_echo "## ----------------- ##
19541953 ## Output variables. ##
1955 ## ----------------- ##
1956 _ASBOX
1954 ## ----------------- ##"
19571955 echo
19581956 for ac_var in $ac_subst_vars
19591957 do
19661964 echo
19671965
19681966 if test -n "$ac_subst_files"; then
1969 cat <<\_ASBOX
1970 ## ------------------- ##
1967 $as_echo "## ------------------- ##
19711968 ## File substitutions. ##
1972 ## ------------------- ##
1973 _ASBOX
1969 ## ------------------- ##"
19741970 echo
19751971 for ac_var in $ac_subst_files
19761972 do
19841980 fi
19851981
19861982 if test -s confdefs.h; then
1987 cat <<\_ASBOX
1988 ## ----------- ##
1983 $as_echo "## ----------- ##
19891984 ## confdefs.h. ##
1990 ## ----------- ##
1991 _ASBOX
1985 ## ----------- ##"
19921986 echo
19931987 cat confdefs.h
19941988 echo
20432037 ac_site_file1=NONE
20442038 ac_site_file2=NONE
20452039 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
20472046 elif test "x$prefix" != xNONE; then
20482047 ac_site_file1=$prefix/share/config.site
20492048 ac_site_file2=$prefix/etc/config.site
20582057 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
20592058 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
20602059 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; }
20622065 fi
20632066 done
20642067
21342137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21352138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
21362139 $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
21382141 fi
21392142 ## -------------------- ##
21402143 ## Main body of script. ##
21512154
21522155 ac_aux_dir=
21532156 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
21612170 done
21622171 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
21642173 fi
21652174
21662175 # These three variables are undocumented and unsupported,
22762285 '
22772286 case `pwd` in
22782287 *[\\\"\#\$\&\'\`$am_lf]*)
2279 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2288 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
22802289 esac
22812290 case $srcdir in
22822291 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2283 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2292 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
22842293 esac
22852294
22862295 # Do `set' in a subshell so we don't clobber the current shell's
23022311 # if, for instance, CONFIG_SHELL is bash and it inherits a
23032312 # broken ls alias from the environment. This has actually
23042313 # 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
23062315 alias in your environment" "$LINENO" 5
23072316 fi
23082317
23122321 # Ok.
23132322 :
23142323 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!
23162325 Check your system clock" "$LINENO" 5
23172326 fi
23182327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25502559 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25512560 set x ${MAKE-make}
25522561 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 :
25542563 $as_echo_n "(cached) " >&6
25552564 else
25562565 cat >conftest.make <<\_ACEOF
25582567 all:
25592568 @echo '@@@%%%=$(MAKE)=@@@%%%'
25602569 _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.
25622571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
25632572 *@@@%%%=?*=@@@%%%*)
25642573 eval ac_cv_prog_make_${ac_make}_set=yes;;
25922601 am__isrc=' -I$(srcdir)'
25932602 # test to see if srcdir already configured
25942603 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
25962605 fi
25972606 fi
25982607
26082617
26092618 # Define the identity of the package.
26102619 PACKAGE='gupnp-dlna'
2611 VERSION='0.3.1'
2620 VERSION='0.4.0'
26122621
26132622
26142623 cat >>confdefs.h <<_ACEOF
26502659
26512660
26522661 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"
26532671
26542672
26552673 # Check whether --enable-silent-rules was given.
30273045
30283046 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30293047 $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; }
30323050
30333051 # Provide some information about the compiler.
30343052 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
31423160
31433161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31443162 $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; }
31483165 else
31493166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31503167 $as_echo "yes" >&6; }
31863203 else
31873204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31883205 $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; }
31913208 fi
31923209 rm -f conftest conftest$ac_cv_exeext
31933210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
32443261 else
32453262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32463263 $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.
32483265 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; }
32503267 fi
32513268 fi
32523269 fi
32973314
32983315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32993316 $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; }
33023319 fi
33033320 rm -f conftest.$ac_cv_objext conftest.$ac_ext
33043321 fi
40024019
40034020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40044021 $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; }
40074024
40084025 # Provide some information about the compiler.
40094026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
44114428 # Broken: fails on valid input.
44124429 continue
44134430 fi
4414 rm -f conftest.err conftest.$ac_ext
4431 rm -f conftest.err conftest.i conftest.$ac_ext
44154432
44164433 # OK, works on sane cases. Now check whether nonexistent headers
44174434 # can be detected and how.
44274444 ac_preproc_ok=:
44284445 break
44294446 fi
4430 rm -f conftest.err conftest.$ac_ext
4447 rm -f conftest.err conftest.i conftest.$ac_ext
44314448
44324449 done
44334450 # 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
44354452 if $ac_preproc_ok; then :
44364453 break
44374454 fi
44704487 # Broken: fails on valid input.
44714488 continue
44724489 fi
4473 rm -f conftest.err conftest.$ac_ext
4490 rm -f conftest.err conftest.i conftest.$ac_ext
44744491
44754492 # OK, works on sane cases. Now check whether nonexistent headers
44764493 # can be detected and how.
44864503 ac_preproc_ok=:
44874504 break
44884505 fi
4489 rm -f conftest.err conftest.$ac_ext
4506 rm -f conftest.err conftest.i conftest.$ac_ext
44904507
44914508 done
44924509 # 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
44944511 if $ac_preproc_ok; then :
44954512
44964513 else
44974514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44984515 $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; }
45014518 fi
45024519
45034520 ac_ext=c
45584575 done
45594576 IFS=$as_save_IFS
45604577 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
45624579 fi
45634580 else
45644581 ac_cv_path_GREP=$GREP
46244641 done
46254642 IFS=$as_save_IFS
46264643 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
46284645 fi
46294646 else
46304647 ac_cv_path_EGREP=$EGREP
47514768
47524769 # Make sure we can run config.sub.
47534770 $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
47554772
47564773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
47574774 $as_echo_n "checking build system type... " >&6; }
47624779 test "x$ac_build_alias" = x &&
47634780 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
47644781 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
47664783 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
47684785
47694786 fi
47704787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
47714788 $as_echo "$ac_cv_build" >&6; }
47724789 case $ac_cv_build in
47734790 *-*-*) ;;
4774 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4791 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
47754792 esac
47764793 build=$ac_cv_build
47774794 ac_save_IFS=$IFS; IFS='-'
47964813 ac_cv_host=$ac_cv_build
47974814 else
47984815 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
48004817 fi
48014818
48024819 fi
48044821 $as_echo "$ac_cv_host" >&6; }
48054822 case $ac_cv_host in
48064823 *-*-*) ;;
4807 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4824 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
48084825 esac
48094826 host=$ac_cv_host
48104827 ac_save_IFS=$IFS; IFS='-'
52745291 done
52755292 IFS=$as_save_IFS
52765293 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
52785295 fi
52795296 else
52805297 ac_cv_path_SED=$SED
53535370 done
53545371 IFS=$as_save_IFS
53555372 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
53575374 fi
53585375 else
53595376 ac_cv_path_FGREP=$FGREP
54695486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54705487 $as_echo "no" >&6; }
54715488 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
54735490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
54745491 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
54755492 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
77007717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77017718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
77027719 "
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 :
77057721 cat >>confdefs.h <<_ACEOF
77067722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77077723 _ACEOF
1173611752 # Put the nasty error message in config.log where it belongs
1173711753 echo "$LIBXML_PKG_ERRORS" >&5
1173811754
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:
1174011756
1174111757 $LIBXML_PKG_ERRORS
1174211758
1175111767 $as_echo "no" >&6; }
1175211768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1175311769 $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
1175511771 is in your PATH or set the PKG_CONFIG environment variable to the full
1175611772 path to pkg-config.
1175711773
1176011776 See the pkg-config man page for more details.
1176111777
1176211778 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; }
1176411780 else
1176511781 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
1176611782 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
1183111847 # Put the nasty error message in config.log where it belongs
1183211848 echo "$GST_PKG_ERRORS" >&5
1183311849
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:
1183511851
1183611852 $GST_PKG_ERRORS
1183711853
1184611862 $as_echo "no" >&6; }
1184711863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1184811864 $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
1185011866 is in your PATH or set the PKG_CONFIG environment variable to the full
1185111867 path to pkg-config.
1185211868
1185511871 See the pkg-config man page for more details.
1185611872
1185711873 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; }
1185911875 else
1186011876 GST_CFLAGS=$pkg_cv_GST_CFLAGS
1186111877 GST_LIBS=$pkg_cv_GST_LIBS
1192011936 # Put the nasty error message in config.log where it belongs
1192111937 echo "$GST_BASE_PKG_ERRORS" >&5
1192211938
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:
1192411940
1192511941 $GST_BASE_PKG_ERRORS
1192611942
1193511951 $as_echo "no" >&6; }
1193611952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1193711953 $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
1193911955 is in your PATH or set the PKG_CONFIG environment variable to the full
1194011956 path to pkg-config.
1194111957
1194411960 See the pkg-config man page for more details.
1194511961
1194611962 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; }
1194811964 else
1194911965 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
1195011966 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
1200912025 # Put the nasty error message in config.log where it belongs
1201012026 echo "$GST_VIDEO_PKG_ERRORS" >&5
1201112027
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:
1201312029
1201412030 $GST_VIDEO_PKG_ERRORS
1201512031
1202412040 $as_echo "no" >&6; }
1202512041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1202612042 $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
1202812044 is in your PATH or set the PKG_CONFIG environment variable to the full
1202912045 path to pkg-config.
1203012046
1203312049 See the pkg-config man page for more details.
1203412050
1203512051 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; }
1203712053 else
1203812054 GST_VIDEO_CFLAGS=$pkg_cv_GST_VIDEO_CFLAGS
1203912055 GST_VIDEO_LIBS=$pkg_cv_GST_VIDEO_LIBS
1209812114 # Put the nasty error message in config.log where it belongs
1209912115 echo "$GST_PBU_PKG_ERRORS" >&5
1210012116
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:
1210212118
1210312119 $GST_PBU_PKG_ERRORS
1210412120
1211312129 $as_echo "no" >&6; }
1211412130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1211512131 $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
1211712133 is in your PATH or set the PKG_CONFIG environment variable to the full
1211812134 path to pkg-config.
1211912135
1212212138 See the pkg-config man page for more details.
1212312139
1212412140 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; }
1212612142 else
1212712143 GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS
1212812144 GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS
1230812324 test $ac_status = 0; }; then
1230912325 :
1231012326 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
1231212328 fi
1231312329 fi
1231412330
1246412480
1246512481 ac_libobjs=
1246612482 ac_ltlibobjs=
12483 U=
1246712484 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1246812485 # 1. Remove the extension, and $U if already installed.
1246912486 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1248712504 fi
1248812505
1248912506 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.
1249112508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1249212509 fi
1249312510 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.
1249512512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1249612513 fi
1249712514 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.
1249912516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1250012517 fi
1250112518 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.
1250312520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1250412521 fi
1250512522 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.
1250712524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1250812525 fi
1250912526 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.
1251112528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1251212529 fi
1251312530 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.
1251512532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1251612533 fi
1251712534 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.
1251912536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1252012537 fi
1252112538
1266512682 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1266612683
1266712684
12668 # as_fn_error ERROR [LINENO LOG_FD]
12669 # ---------------------------------
12685 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12686 # ----------------------------------------
1267012687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1267112688 # 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.
1267312690 as_fn_error ()
1267412691 {
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
1268112698 as_fn_exit $as_status
1268212699 } # as_fn_error
1268312700
1287312890 test -d "$as_dir" && break
1287412891 done
1287512892 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"
1287712894
1287812895
1287912896 } # as_fn_mkdir_p
1292612943 # report actual input values of CONFIG_FILES etc. instead of their
1292712944 # values after options handling.
1292812945 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
1293112948
1293212949 CONFIG_FILES = $CONFIG_FILES
1293312950 CONFIG_HEADERS = $CONFIG_HEADERS
1299213009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1299313010 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1299413011 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,
1299713014 with options \\"\$ac_cs_config\\"
1299813015
12999 Copyright (C) 2009 Free Software Foundation, Inc.
13016 Copyright (C) 2010 Free Software Foundation, Inc.
1300013017 This config.status script is free software; the Free Software Foundation
1300113018 gives unlimited permission to copy, distribute and modify it."
1300213019
1301413031 while test $# != 0
1301513032 do
1301613033 case $1 in
13017 --*=*)
13034 --*=?*)
1301813035 ac_option=`expr "X$1" : 'X\([^=]*\)='`
1301913036 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13037 ac_shift=:
13038 ;;
13039 --*=)
13040 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13041 ac_optarg=
1302013042 ac_shift=:
1302113043 ;;
1302213044 *)
1304013062 $ac_shift
1304113063 case $ac_optarg in
1304213064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13065 '') as_fn_error $? "missing file argument" ;;
1304313066 esac
1304413067 as_fn_append CONFIG_FILES " '$ac_optarg'"
1304513068 ac_need_defaults=false;;
1305213075 ac_need_defaults=false;;
1305313076 --he | --h)
1305413077 # Conflict between --help and --header
13055 as_fn_error "ambiguous option: \`$1'
13078 as_fn_error $? "ambiguous option: \`$1'
1305613079 Try \`$0 --help' for more information.";;
1305713080 --help | --hel | -h )
1305813081 $as_echo "$ac_cs_usage"; exit ;;
1306113084 ac_cs_silent=: ;;
1306213085
1306313086 # This is an error.
13064 -*) as_fn_error "unrecognized option: \`$1'
13087 -*) as_fn_error $? "unrecognized option: \`$1'
1306513088 Try \`$0 --help' for more information." ;;
1306613089
1306713090 *) as_fn_append ac_config_targets " $1"
1339813421 "gupnp-dlna-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0.pc" ;;
1339913422 "gupnp-dlna-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0-uninstalled.pc" ;;
1340013423
13401 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13424 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1340213425 esac
1340313426 done
1340413427
1343613459 {
1343713460 tmp=./conf$$-$RANDOM
1343813461 (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
1344013463
1344113464 # Set up the scripts for CONFIG_FILES section.
1344213465 # No need to generate them if there are no CONFIG_FILES.
1345313476 fi
1345413477 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
1345513478 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13456 ac_cs_awk_cr='\r'
13479 ac_cs_awk_cr='\\r'
1345713480 else
1345813481 ac_cs_awk_cr=$ac_cr
1345913482 fi
1346713490 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
1346813491 echo "_ACEOF"
1346913492 } >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 '^'`
1347213495 ac_delim='%!_!# '
1347313496 for ac_last_try in false false false false false :; do
1347413497 . ./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
1347613499
1347713500 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
1347813501 if test $ac_delim_n = $ac_delim_num; then
1347913502 break
1348013503 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
1348213505 else
1348313506 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1348413507 fi
1356713590 else
1356813591 cat
1356913592 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
1357113594 _ACEOF
1357213595
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
1357513598 # trailing colons and then remove the whole line if VPATH becomes empty
1357613599 # (actually we leave an empty line to preserve line numbers).
1357713600 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/^:*//
1358313610 s/:*$//
13611 x
13612 s/\(=[ ]*\).*/\1/
13613 G
13614 s/\n//
1358413615 s/^[^=]*=[ ]*$//
1358513616 }'
1358613617 fi
1360813639 if test -z "$ac_t"; then
1360913640 break
1361013641 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
1361213643 else
1361313644 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1361413645 fi
1369313724 _ACAWK
1369413725 _ACEOF
1369513726 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
1369713728 fi # test -n "$CONFIG_HEADERS"
1369813729
1369913730
1370613737 esac
1370713738 case $ac_mode$ac_tag in
1370813739 :[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;;
1371013741 :[FH]-) ac_tag=-:-;;
1371113742 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1371213743 esac
1373413765 [\\/$]*) false;;
1373513766 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1373613767 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;;
1373813769 esac
1373913770 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1374013771 as_fn_append ac_file_inputs " '$ac_f'"
1376113792
1376213793 case $ac_tag in
1376313794 *:-:* | *:-) 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 ;;
1376513796 esac
1376613797 ;;
1376713798 esac
1389813929 $ac_datarootdir_hack
1389913930 "
1390013931 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
1390213933
1390313934 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1390413935 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1390513936 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1390613937 { $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
1390813939 $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;}
1391013941
1391113942 rm -f "$tmp/stdin"
1391213943 case $ac_file in
1391313944 -) cat "$tmp/out" && rm -f "$tmp/out";;
1391413945 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1391513946 esac \
13916 || as_fn_error "could not create $ac_file" "$LINENO" 5
13947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1391713948 ;;
1391813949 :H)
1391913950 #
1392413955 $as_echo "/* $configure_input */" \
1392513956 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1392613957 } >"$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
1392813959 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1392913960 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1393013961 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1393113962 else
1393213963 rm -f "$ac_file"
1393313964 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
1393513966 fi
1393613967 else
1393713968 $as_echo "/* $configure_input */" \
1393813969 && 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
1394013971 fi
1394113972 # Compute "$ac_file"'s index in $config_headers.
1394213973 _am_arg="$ac_file"
1473214763 ac_clean_files=$ac_clean_files_save
1473314764
1473414765 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
1473614767
1473714768
1473814769 # configure is writing to config.log, and then calls config.status.
1475314784 exec 5>>config.log
1475414785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1475514786 # 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
1475714788 fi
1475814789 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1475914790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
00 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/)
22 AM_INIT_AUTOMAKE()
33 AC_CONFIG_SRCDIR(libgupnp-dlna/gupnp-dlna-profile.h)
44 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)
520
621 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
722
3939 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4040 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4141 $(ACLOCAL_M4)
42 mkinstalldirs = $(install_sh) -d
42 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4343 CONFIG_HEADER = $(top_builddir)/config.h
4444 CONFIG_CLEAN_FILES =
4545 CONFIG_CLEAN_VPATH_FILES =
115115 GTKDOC_CHECK = @GTKDOC_CHECK@
116116 GTKDOC_MKPDF = @GTKDOC_MKPDF@
117117 GTKDOC_REBASE = @GTKDOC_REBASE@
118 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
118119 HTML_DIR = @HTML_DIR@
119120 INSTALL = @INSTALL@
120121 INSTALL_DATA = @INSTALL_DATA@
4545 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
48 mkinstalldirs = $(install_sh) -d
48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4949 CONFIG_HEADER = $(top_builddir)/config.h
5050 CONFIG_CLEAN_FILES = version.xml
5151 CONFIG_CLEAN_VPATH_FILES =
9898 GTKDOC_CHECK = @GTKDOC_CHECK@
9999 GTKDOC_MKPDF = @GTKDOC_MKPDF@
100100 GTKDOC_REBASE = @GTKDOC_REBASE@
101 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
101102 HTML_DIR = @HTML_DIR@
102103 INSTALL = @INSTALL@
103104 INSTALL_DATA = @INSTALL_DATA@
22 <head>
33 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
44 <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">
66 <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual">
77 <link rel="up" href="ch01.html" title="GUPnP DLNA">
88 <link rel="prev" href="ch01.html" title="GUPnP DLNA">
4545 <a name="GUPnPDLNADiscoverer.synopsis"></a><h2>Synopsis</h2>
4646 <pre class="synopsis"> <a class="link" href="GUPnPDLNADiscoverer.html#GUPnPDLNADiscoverer-struct" title="GUPnPDLNADiscoverer">GUPnPDLNADiscoverer</a>;
4747 <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>);
5050 #define <a class="link" href="GUPnPDLNADiscoverer.html#gupnp-dlna-discoverer-start" title="gupnp_dlna_discoverer_start()">gupnp_dlna_discoverer_start</a> (discoverer)
5151 #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>);
5454 <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>
5555 (<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>);
5858 </pre>
5959 </div>
6060 <div class="refsect1" title="Object Hierarchy">
6161 <a name="GUPnPDLNADiscoverer.object-hierarchy"></a><h2>Object Hierarchy</h2>
6262 <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>
6464 +----<a href="../gst-convenience-0.10/gst-convenience-gstdiscoverer.html#GstDiscoverer">GstDiscoverer</a>
6565 +----GUPnPDLNADiscoverer
6666 </pre>
6868 <div class="refsect1" title="Properties">
6969 <a name="GUPnPDLNADiscoverer.properties"></a><h2>Properties</h2>
7070 <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
7373 </pre>
7474 </div>
7575 <div class="refsect1" title="Signals">
9292 are possible.
9393 </p>
9494 <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
9797 URIs to be processed and then asks for the discovery to begin.
9898 </p>
9999 </div>
110110 <div class="refsect2" title="gupnp_dlna_discoverer_new ()">
111111 <a name="gupnp-dlna-discoverer-new"></a><h3>gupnp_dlna_discoverer_new ()</h3>
112112 <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>
115115 <p>
116116 Creates a new <a class="link" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer"><span class="type">GUPnPDLNADiscoverer</span></a> object with the given default timeout
117117 value.
169169 <hr>
170170 <div class="refsect2" title="gupnp_dlna_discoverer_discover_uri ()">
171171 <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>
174174 <p>
175175 Queues <em class="parameter"><code>uri</code></em> for metadata discovery. When discovery is completed, the
176176 "discovered" signal is emitted on <em class="parameter"><code>discoverer</code></em>.
202202 <a name="gupnp-dlna-discoverer-discover-uri-sync"></a><h3>gupnp_dlna_discoverer_discover_uri_sync ()</h3>
203203 <pre class="programlisting"><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="returnvalue">GUPnPDLNAInformation</span></a> * gupnp_dlna_discoverer_discover_uri_sync
204204 (<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>
207207 <p>
208208 Synchronously gathers metadata for <em class="parameter"><code>uri</code></em>.
209209 </p>
240240 <a name="GUPnPDLNADiscoverer.property-details"></a><h2>Property Details</h2>
241241 <div class="refsect2" title='The "extended-mode" property'>
242242 <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>
244244 <p>Indicates support for profiles that are not part of the DLNA specification.</p>
245245 <p>Default value: FALSE</p>
246246 </div>
247247 <hr>
248248 <div class="refsect2" title='The "relaxed-mode" property'>
249249 <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>
251251 <p>Indicates that profile matching shouldbe strictly compliant with the DLNA specification.</p>
252252 <p>Default value: FALSE</p>
253253 </div>
258258 <a name="GUPnPDLNADiscoverer-done"></a><h3>The <code class="literal">"done"</code> signal</h3>
259259 <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,
260260 <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>
263263 <p>
264264 Will be emitted when all information on a URI could be discovered.
265265 </p>
22 <head>
33 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
44 <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">
66 <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual">
77 <link rel="up" href="ch01.html" title="GUPnP DLNA">
88 <link rel="prev" href="GUPnPDLNADiscoverer.html" title="GUPnPDLNADiscoverer">
4242 <div class="refsynopsisdiv" title="Synopsis">
4343 <a name="GUPnPDLNAInformation.synopsis"></a><h2>Synopsis</h2>
4444 <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>,
4747 <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>);
5050 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>
5151 (<em class="parameter"><code><a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> *self</code></em>);
5252 </pre>
5454 <div class="refsect1" title="Object Hierarchy">
5555 <a name="GUPnPDLNAInformation.object-hierarchy"></a><h2>Object Hierarchy</h2>
5656 <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>
5858 +----GUPnPDLNAInformation
5959 </pre>
6060 </div>
6262 <a name="GUPnPDLNAInformation.properties"></a><h2>Properties</h2>
6363 <pre class="synopsis">
6464 "<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
6767 </pre>
6868 </div>
6969 <div class="refsect1" title="Description">
8484 <hr>
8585 <div class="refsect2" title="gupnp_dlna_information_new ()">
8686 <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>,
8989 <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>
9090 <p>
9191 Creates a new <a class="link" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation"><span class="type">GUPnPDLNAInformation</span></a> object with the given properties.
121121 <hr>
122122 <div class="refsect2" title="gupnp_dlna_information_get_name ()">
123123 <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>
125125 <div class="variablelist"><table border="0">
126126 <col align="left" valign="top">
127127 <tbody>
142142 <hr>
143143 <div class="refsect2" title="gupnp_dlna_information_get_mime ()">
144144 <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>
146146 <div class="variablelist"><table border="0">
147147 <col align="left" valign="top">
148148 <tbody>
193193 <hr>
194194 <div class="refsect2" title='The "mime" property'>
195195 <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>
197197 <p>The DLNA MIME type of the stream.</p>
198198 <p>Default value: NULL</p>
199199 </div>
200200 <hr>
201201 <div class="refsect2" title='The "name" property'>
202202 <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>
204204 <p>The name of the DLNA profile corresponding to the strream.</p>
205205 <p>Default value: NULL</p>
206206 </div>
22 <head>
33 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
44 <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">
66 <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual">
77 <link rel="up" href="ch01.html" title="GUPnP DLNA">
88 <link rel="prev" href="GUPnPDLNAInformation.html" title="GUPnPDLNAInformation">
4141 <a name="GUPnPDLNAProfile.synopsis"></a><h2>Synopsis</h2>
4242 <pre class="synopsis"> <a class="link" href="GUPnPDLNAProfile.html#GUPnPDLNAProfile-struct" title="GUPnPDLNAProfile">GUPnPDLNAProfile</a>;
4343 <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>,
4646 <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>);
5050 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>
5151 (<em class="parameter"><code><a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> *self</code></em>);
5252 </pre>
5454 <div class="refsect1" title="Object Hierarchy">
5555 <a name="GUPnPDLNAProfile.object-hierarchy"></a><h2>Object Hierarchy</h2>
5656 <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>
5858 +----GUPnPDLNAProfile
5959 </pre>
6060 </div>
6262 <a name="GUPnPDLNAProfile.properties"></a><h2>Properties</h2>
6363 <pre class="synopsis">
6464 "<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
6868 </pre>
6969 </div>
7070 <div class="refsect1" title="Description">
9494 <hr>
9595 <div class="refsect2" title="gupnp_dlna_profile_new ()">
9696 <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>,
9999 <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>
101101 <p>
102102 Creates a new <a class="link" href="GUPnPDLNAProfile.html" title="GUPnPDLNAProfile"><span class="type">GUPnPDLNAProfile</span></a> object.
103103 </p>
113113 <hr>
114114 <div class="refsect2" title="gupnp_dlna_profile_get_name ()">
115115 <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>
117117 <div class="variablelist"><table border="0">
118118 <col align="left" valign="top">
119119 <tbody>
133133 <hr>
134134 <div class="refsect2" title="gupnp_dlna_profile_get_mime ()">
135135 <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>
137137 <div class="variablelist"><table border="0">
138138 <col align="left" valign="top">
139139 <tbody>
184184 <hr>
185185 <div class="refsect2" title='The "extended" property'>
186186 <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>
188188 <p>Indicates that this profile is not part of the DLNA specification.</p>
189189 <p>Default value: FALSE</p>
190190 </div>
191191 <hr>
192192 <div class="refsect2" title='The "mime" property'>
193193 <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>
195195 <p>The MIME type of the DLNA profile.</p>
196196 <p>Default value: NULL</p>
197197 </div>
198198 <hr>
199199 <div class="refsect2" title='The "name" property'>
200200 <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>
202202 <p>The name of the DLNA profile .</p>
203203 <p>Default value: NULL</p>
204204 </div>
22 <head>
33 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
44 <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">
66 <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual">
77 <link rel="up" href="index.html" title="GUPnP DLNA Reference Manual">
88 <link rel="prev" href="index.html" title="GUPnP DLNA Reference Manual">
2020 </tr></table>
2121 <div class="chapter" title="GUPnP DLNA">
2222 <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>
2424 <div class="toc"><dl>
2525 <dt>
2626 <span class="refentrytitle"><a href="GUPnPDLNADiscoverer.html">GUPnPDLNADiscoverer</a></span><span class="refpurpose"> — Utility API for discovering DLNA profile/mime type and
22 <head>
33 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
44 <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">
66 <link rel="home" href="index.html" title="GUPnP DLNA Reference Manual">
77 <link rel="next" href="ch01.html" title="GUPnP DLNA">
88 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1313 <div class="titlepage">
1414 <div>
1515 <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
1717 </p></div>
1818 <div><p class="copyright">Copyright © 2010 Arun Raghavan &lt;arun.raghavan@collabora.co.uk&gt;</p></div>
1919 <div><p class="copyright">Copyright © 2010 Collabora Multimedia</p></div>
2020 <div><p class="copyright">Copyright © 2010 Nokia Corporation</p></div>
2121 <div><div class="legalnotice" title="Legal Notice">
22 <a name="id503819"></a><p>
22 <a name="id413574"></a><p>
2323 Permission is granted to copy, distribute and/or modify this
2424 document under the terms of the <em class="citetitle">GNU Free
2525 Documentation License</em>, Version 1.1 or any later
0 0.3.1
0 0.4.0
3838 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
3939 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4040 $(ACLOCAL_M4)
41 mkinstalldirs = $(install_sh) -d
41 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4242 CONFIG_HEADER = $(top_builddir)/config.h
4343 CONFIG_CLEAN_FILES =
4444 CONFIG_CLEAN_VPATH_FILES =
131131 GTKDOC_CHECK = @GTKDOC_CHECK@
132132 GTKDOC_MKPDF = @GTKDOC_MKPDF@
133133 GTKDOC_REBASE = @GTKDOC_REBASE@
134 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
134135 HTML_DIR = @HTML_DIR@
135136 INSTALL = @INSTALL@
136137 INSTALL_DATA = @INSTALL_DATA@
3838 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
3939 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4040 $(ACLOCAL_M4)
41 mkinstalldirs = $(install_sh) -d
41 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4242 CONFIG_HEADER = $(top_builddir)/config.h
4343 CONFIG_CLEAN_FILES =
4444 CONFIG_CLEAN_VPATH_FILES =
131131 GTKDOC_CHECK = @GTKDOC_CHECK@
132132 GTKDOC_MKPDF = @GTKDOC_MKPDF@
133133 GTKDOC_REBASE = @GTKDOC_REBASE@
134 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
134135 HTML_DIR = @HTML_DIR@
135136 INSTALL = @INSTALL@
136137 INSTALL_DATA = @INSTALL_DATA@
4040 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4141 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4242 $(ACLOCAL_M4)
43 mkinstalldirs = $(install_sh) -d
43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4444 CONFIG_HEADER = $(top_builddir)/config.h
4545 CONFIG_CLEAN_FILES =
4646 CONFIG_CLEAN_VPATH_FILES =
134134 GTKDOC_CHECK = @GTKDOC_CHECK@
135135 GTKDOC_MKPDF = @GTKDOC_MKPDF@
136136 GTKDOC_REBASE = @GTKDOC_REBASE@
137 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
137138 HTML_DIR = @HTML_DIR@
138139 INSTALL = @INSTALL@
139140 INSTALL_DATA = @INSTALL_DATA@
4141 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4242 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4343 $(ACLOCAL_M4)
44 mkinstalldirs = $(install_sh) -d
44 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4545 CONFIG_HEADER = $(top_builddir)/config.h
4646 CONFIG_CLEAN_FILES =
4747 CONFIG_CLEAN_VPATH_FILES =
170170 GTKDOC_CHECK = @GTKDOC_CHECK@
171171 GTKDOC_MKPDF = @GTKDOC_MKPDF@
172172 GTKDOC_REBASE = @GTKDOC_REBASE@
173 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
173174 HTML_DIR = @HTML_DIR@
174175 INSTALL = @INSTALL@
175176 INSTALL_DATA = @INSTALL_DATA@
4242 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4343 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4444 $(ACLOCAL_M4)
45 mkinstalldirs = $(install_sh) -d
45 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4646 CONFIG_HEADER = $(top_builddir)/config.h
4747 CONFIG_CLEAN_FILES =
4848 CONFIG_CLEAN_VPATH_FILES =
171171 GTKDOC_CHECK = @GTKDOC_CHECK@
172172 GTKDOC_MKPDF = @GTKDOC_MKPDF@
173173 GTKDOC_REBASE = @GTKDOC_REBASE@
174 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
174175 HTML_DIR = @HTML_DIR@
175176 INSTALL = @INSTALL@
176177 INSTALL_DATA = @INSTALL_DATA@
4141 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4242 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4343 $(ACLOCAL_M4)
44 mkinstalldirs = $(install_sh) -d
44 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4545 CONFIG_HEADER = $(top_builddir)/config.h
4646 CONFIG_CLEAN_FILES =
4747 CONFIG_CLEAN_VPATH_FILES =
157157 GTKDOC_CHECK = @GTKDOC_CHECK@
158158 GTKDOC_MKPDF = @GTKDOC_MKPDF@
159159 GTKDOC_REBASE = @GTKDOC_REBASE@
160 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
160161 HTML_DIR = @HTML_DIR@
161162 INSTALL = @INSTALL@
162163 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
11
22 AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/gst-convenience/gst-libs $(GST_CFLAGS)
33 LIBS = $(GST_LIBS) \
3333 POST_UNINSTALL = :
3434 build_triplet = @build@
3535 host_triplet = @host@
36 noinst_PROGRAMS = dlna-profile-parser$(EXEEXT) dlna-encoding$(EXEEXT)
36 noinst_PROGRAMS = dlna-profile-parser$(EXEEXT)
3737 subdir = tests
3838 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
3939 $(srcdir)/test-discoverer.sh.in
4141 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4242 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4343 $(ACLOCAL_M4)
44 mkinstalldirs = $(install_sh) -d
44 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4545 CONFIG_HEADER = $(top_builddir)/config.h
4646 CONFIG_CLEAN_FILES = test-discoverer.sh
4747 CONFIG_CLEAN_VPATH_FILES =
4848 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)
5252 AM_V_lt = $(am__v_lt_$(V))
5353 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
5454 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)
5855 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
5956 depcomp = $(SHELL) $(top_srcdir)/depcomp
6057 am__depfiles_maybe = depfiles
8178 AM_V_GEN = $(am__v_GEN_$(V))
8279 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
8380 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)
8683 ETAGS = etags
8784 CTAGS = ctags
8885 am__tty_colors = \
128125 GTKDOC_CHECK = @GTKDOC_CHECK@
129126 GTKDOC_MKPDF = @GTKDOC_MKPDF@
130127 GTKDOC_REBASE = @GTKDOC_REBASE@
128 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
131129 HTML_DIR = @HTML_DIR@
132130 INSTALL = @INSTALL@
133131 INSTALL_DATA = @INSTALL_DATA@
276274 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
277275 echo " rm -f" $$list; \
278276 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)
282277 dlna-profile-parser$(EXEEXT): $(dlna_profile_parser_OBJECTS) $(dlna_profile_parser_DEPENDENCIES)
283278 @rm -f dlna-profile-parser$(EXEEXT)
284279 $(AM_V_CCLD)$(LINK) $(dlna_profile_parser_OBJECTS) $(dlna_profile_parser_LDADD) $(LIBS)
289284 distclean-compile:
290285 -rm -f *.tab.c
291286
292 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlna-encoding.Po@am__quote@
293287 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlna-profile-parser.Po@am__quote@
294288
295289 .c.o:
+0
-247
tests/dlna-encoding.c less more
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 }
1818 # both on the command line).
1919 #
2020
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
2224
2325 # See if params are available in the environment - if yes, carry on, else read
2426 # them from the command line
33 LIBS = $(GST_LIBS) \
44 $(top_builddir)/libgupnp-dlna/libgupnp-dlna-1.0.la
55
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
87
98 gupnp_dlna_ls_profiles_LDADD = \
109 $(top_builddir)/gst-convenience/gst-libs/gst/profile/.libs/libgstprofile-gupnp-dlna-@GST_MAJORMINOR@.la
4141 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4242 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4343 $(ACLOCAL_M4)
44 mkinstalldirs = $(install_sh) -d
44 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
4545 CONFIG_HEADER = $(top_builddir)/config.h
4646 CONFIG_CLEAN_FILES =
4747 CONFIG_CLEAN_VPATH_FILES =
4949 PROGRAMS = $(bin_PROGRAMS)
5050 gupnp_dlna_info_SOURCES = gupnp-dlna-info.c
5151 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
5553 AM_V_lt = $(am__v_lt_$(V))
5654 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
5755 am__v_lt_0 = --silent
129127 GTKDOC_CHECK = @GTKDOC_CHECK@
130128 GTKDOC_MKPDF = @GTKDOC_MKPDF@
131129 GTKDOC_REBASE = @GTKDOC_REBASE@
130 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
132131 HTML_DIR = @HTML_DIR@
133132 INSTALL = @INSTALL@
134133 INSTALL_DATA = @INSTALL_DATA@
224223 top_builddir = @top_builddir@
225224 top_srcdir = @top_srcdir@
226225 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
230227 gupnp_dlna_ls_profiles_LDADD = \
231228 $(top_builddir)/gst-convenience/gst-libs/gst/profile/.libs/libgstprofile-gupnp-dlna-@GST_MAJORMINOR@.la
232229
3838 #include <gst/gst.h>
3939 #include <gst/profile/gstprofile.h>
4040 #include <gst/discoverer/gstdiscoverer.h>
41 #include <gst/pbutils/pbutils.h>
4241
4342 #include <libgupnp-dlna/gupnp-dlna-load.h>
4443 #include <libgupnp-dlna/gupnp-dlna-profile.h>
207206 gchar *desc = NULL;
208207
209208 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);
214210 }
215211
216212 g_print ("%*s%s: %s\n", 2 * GPOINTER_TO_INT (depth), " ",