Imported Upstream version 0.6.2
Simon McVittie
9 years ago
0 | commit 0b1bba79cfe94e7676fe69e9e0d2e3983a3c14c5 | |
1 | Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | |
2 | Date: 2014-08-25 15:01:45 +0200 | |
3 | ||
4 | 0.6.2 | |
5 | ||
6 | commit cdce30ff7231ba01e27899f8c8c42fb2dd5cae7c | |
7 | Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | |
8 | Date: 2014-05-26 13:38:31 +0200 | |
9 | ||
10 | call-stream: add mising 'break' in switch block | |
11 | ||
12 | https://bugs.freedesktop.org/show_bug.cgi?id=79006 | |
13 | ||
14 | commit b900606d28ee101dc5bf6f16dca6b26fdca81888 | |
15 | Author: Olivier CrĂȘte <olivier.crete@collabora.com> | |
16 | Date: 2014-03-06 12:21:18 -0500 | |
17 | ||
18 | version 0.6.1.1 | |
19 | ||
0 | 20 | commit 67851545b72518743469e6e862d9f191a0697105 |
1 | 21 | Author: Olivier CrĂȘte <olivier.crete@collabora.com> |
2 | 22 | Date: 2014-03-06 12:17:05 -0500 |
0 | 0 | Installation Instructions |
1 | 1 | ************************* |
2 | 2 | |
3 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | |
4 | 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, | |
4 | Inc. | |
5 | 5 | |
6 | 6 | Copying and distribution of this file, with or without modification, |
7 | 7 | are permitted in any medium without royalty provided the copyright |
225 | 225 | |
226 | 226 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
227 | 227 | |
228 | HP-UX `make' updates targets which have the same time stamps as | |
229 | their prerequisites, which makes it generally unusable when shipped | |
230 | generated files such as `configure' are involved. Use GNU `make' | |
231 | instead. | |
232 | ||
228 | 233 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
229 | 234 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
230 | 235 | a workaround. If GNU CC is not installed, it is therefore recommended |
303 | 308 | overridden in the site shell script). |
304 | 309 | |
305 | 310 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
306 | an Autoconf bug. Until the bug is fixed you can use this workaround: | |
307 | ||
308 | CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | |
311 | an Autoconf limitation. Until the limitation is lifted, you can use | |
312 | this workaround: | |
313 | ||
314 | CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash | |
309 | 315 | |
310 | 316 | `configure' Invocation |
311 | 317 | ====================== |
361 | 367 | |
362 | 368 | `configure' also accepts some other, not widely useful, options. Run |
363 | 369 | `configure --help' for more details. |
364 |
0 | telepathy-farstream 0.6.2 (25 Aug 2014) | |
1 | ======================================= | |
2 | ||
3 | - call-stream: add mising 'break' in switch block (fd.o#79006, Guillaume) | |
4 | ||
0 | 5 | telepathy-farstream 0.6.1 (6 Mar 2014) |
1 | 6 | ======================================= |
2 | 7 |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |
4 | # Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2009-11-20' | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012, 2013 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-12-29' | |
7 | 7 | |
8 | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | 9 | # under the terms of the GNU General Public License as published by |
10 | # the Free Software Foundation; either version 2 of the License, or | |
10 | # the Free Software Foundation; either version 3 of the License, or | |
11 | 11 | # (at your option) any later version. |
12 | 12 | # |
13 | 13 | # This program is distributed in the hope that it will be useful, but |
16 | 16 | # General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
21 | # 02110-1301, USA. | |
19 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
22 | 20 | # |
23 | 21 | # As a special exception to the GNU General Public License, if you |
24 | 22 | # distribute this file as part of a program that contains a |
25 | 23 | # configuration script generated by Autoconf, you may include it under |
26 | # the same distribution terms that you use for the rest of that program. | |
27 | ||
28 | ||
29 | # Originally written by Per Bothner. Please send patches (context | |
30 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |
31 | # entry. | |
24 | # the same distribution terms that you use for the rest of that | |
25 | # program. This Exception is an additional permission under section 7 | |
26 | # of the GNU General Public License, version 3 ("GPLv3"). | |
32 | 27 | # |
33 | # This script attempts to guess a canonical system name similar to | |
34 | # config.sub. If it succeeds, it prints the system name on stdout, and | |
35 | # exits with 0. Otherwise, it exits with 1. | |
28 | # Originally written by Per Bothner. | |
36 | 29 | # |
37 | 30 | # You can get the latest version of this script from: |
38 | 31 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
32 | # | |
33 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | |
34 | ||
39 | 35 | |
40 | 36 | me=`echo "$0" | sed -e 's,.*/,,'` |
41 | 37 | |
55 | 51 | GNU config.guess ($timestamp) |
56 | 52 | |
57 | 53 | Originally written by Per Bothner. |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
59 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
54 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
55 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, | |
56 | 2012, 2013 Free Software Foundation, Inc. | |
60 | 57 | |
61 | 58 | This is free software; see the source for copying conditions. There is NO |
62 | 59 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
143 | 140 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
144 | 141 | *:NetBSD:*:*) |
145 | 142 | # NetBSD (nbsd) targets should (where applicable) match one or |
146 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | |
143 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, | |
147 | 144 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
148 | 145 | # switched to ELF, *-*-netbsd* would select the old |
149 | 146 | # object file format. This provides both forward |
179 | 176 | fi |
180 | 177 | ;; |
181 | 178 | *) |
182 | os=netbsd | |
179 | os=netbsd | |
183 | 180 | ;; |
184 | 181 | esac |
185 | 182 | # The OS release |
200 | 197 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
201 | 198 | echo "${machine}-${os}${release}" |
202 | 199 | exit ;; |
200 | *:Bitrig:*:*) | |
201 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | |
202 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
203 | exit ;; | |
203 | 204 | *:OpenBSD:*:*) |
204 | 205 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
205 | 206 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
222 | 223 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
223 | 224 | ;; |
224 | 225 | *5.*) |
225 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
226 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
226 | 227 | ;; |
227 | 228 | esac |
228 | 229 | # According to Compaq, /usr/sbin/psrinfo has been available on |
268 | 269 | # A Xn.n version is an unreleased experimental baselevel. |
269 | 270 | # 1.2 uses "1.2" for uname -r. |
270 | 271 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
271 | exit ;; | |
272 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | |
273 | exitcode=$? | |
274 | trap '' 0 | |
275 | exit $exitcode ;; | |
272 | 276 | Alpha\ *:Windows_NT*:*) |
273 | 277 | # How do we know it's Interix rather than the generic POSIX subsystem? |
274 | 278 | # Should we change UNAME_MACHINE based on the output of uname instead |
294 | 298 | echo s390-ibm-zvmoe |
295 | 299 | exit ;; |
296 | 300 | *:OS400:*:*) |
297 | echo powerpc-ibm-os400 | |
301 | echo powerpc-ibm-os400 | |
298 | 302 | exit ;; |
299 | 303 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
300 | 304 | echo arm-acorn-riscix${UNAME_RELEASE} |
301 | 305 | exit ;; |
302 | arm:riscos:*:*|arm:RISCOS:*:*) | |
306 | arm*:riscos:*:*|arm*:RISCOS:*:*) | |
303 | 307 | echo arm-unknown-riscos |
304 | 308 | exit ;; |
305 | 309 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
393 | 397 | # MiNT. But MiNT is downward compatible to TOS, so this should |
394 | 398 | # be no problem. |
395 | 399 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
396 | echo m68k-atari-mint${UNAME_RELEASE} | |
400 | echo m68k-atari-mint${UNAME_RELEASE} | |
397 | 401 | exit ;; |
398 | 402 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
399 | 403 | echo m68k-atari-mint${UNAME_RELEASE} |
400 | exit ;; | |
404 | exit ;; | |
401 | 405 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
402 | echo m68k-atari-mint${UNAME_RELEASE} | |
406 | echo m68k-atari-mint${UNAME_RELEASE} | |
403 | 407 | exit ;; |
404 | 408 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
405 | echo m68k-milan-mint${UNAME_RELEASE} | |
406 | exit ;; | |
409 | echo m68k-milan-mint${UNAME_RELEASE} | |
410 | exit ;; | |
407 | 411 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
408 | echo m68k-hades-mint${UNAME_RELEASE} | |
409 | exit ;; | |
412 | echo m68k-hades-mint${UNAME_RELEASE} | |
413 | exit ;; | |
410 | 414 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
411 | echo m68k-unknown-mint${UNAME_RELEASE} | |
412 | exit ;; | |
415 | echo m68k-unknown-mint${UNAME_RELEASE} | |
416 | exit ;; | |
413 | 417 | m68k:machten:*:*) |
414 | 418 | echo m68k-apple-machten${UNAME_RELEASE} |
415 | 419 | exit ;; |
479 | 483 | echo m88k-motorola-sysv3 |
480 | 484 | exit ;; |
481 | 485 | AViiON:dgux:*:*) |
482 | # DG/UX returns AViiON for all architectures | |
483 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
486 | # DG/UX returns AViiON for all architectures | |
487 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
484 | 488 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
485 | 489 | then |
486 | 490 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
493 | 497 | else |
494 | 498 | echo i586-dg-dgux${UNAME_RELEASE} |
495 | 499 | fi |
496 | exit ;; | |
500 | exit ;; | |
497 | 501 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
498 | 502 | echo m88k-dolphin-sysv3 |
499 | 503 | exit ;; |
550 | 554 | echo rs6000-ibm-aix3.2 |
551 | 555 | fi |
552 | 556 | exit ;; |
553 | *:AIX:*:[456]) | |
557 | *:AIX:*:[4567]) | |
554 | 558 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
555 | 559 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
556 | 560 | IBM_ARCH=rs6000 |
593 | 597 | 9000/[678][0-9][0-9]) |
594 | 598 | if [ -x /usr/bin/getconf ]; then |
595 | 599 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
596 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
597 | case "${sc_cpu_version}" in | |
598 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
599 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
600 | 532) # CPU_PA_RISC2_0 | |
601 | case "${sc_kernel_bits}" in | |
602 | 32) HP_ARCH="hppa2.0n" ;; | |
603 | 64) HP_ARCH="hppa2.0w" ;; | |
600 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
601 | case "${sc_cpu_version}" in | |
602 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
603 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
604 | 532) # CPU_PA_RISC2_0 | |
605 | case "${sc_kernel_bits}" in | |
606 | 32) HP_ARCH="hppa2.0n" ;; | |
607 | 64) HP_ARCH="hppa2.0w" ;; | |
604 | 608 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
605 | esac ;; | |
606 | esac | |
609 | esac ;; | |
610 | esac | |
607 | 611 | fi |
608 | 612 | if [ "${HP_ARCH}" = "" ]; then |
609 | 613 | eval $set_cc_for_build |
610 | sed 's/^ //' << EOF >$dummy.c | |
611 | ||
612 | #define _HPUX_SOURCE | |
613 | #include <stdlib.h> | |
614 | #include <unistd.h> | |
615 | ||
616 | int main () | |
617 | { | |
618 | #if defined(_SC_KERNEL_BITS) | |
619 | long bits = sysconf(_SC_KERNEL_BITS); | |
620 | #endif | |
621 | long cpu = sysconf (_SC_CPU_VERSION); | |
622 | ||
623 | switch (cpu) | |
624 | { | |
625 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
626 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
627 | case CPU_PA_RISC2_0: | |
628 | #if defined(_SC_KERNEL_BITS) | |
629 | switch (bits) | |
630 | { | |
631 | case 64: puts ("hppa2.0w"); break; | |
632 | case 32: puts ("hppa2.0n"); break; | |
633 | default: puts ("hppa2.0"); break; | |
634 | } break; | |
635 | #else /* !defined(_SC_KERNEL_BITS) */ | |
636 | puts ("hppa2.0"); break; | |
637 | #endif | |
638 | default: puts ("hppa1.0"); break; | |
639 | } | |
640 | exit (0); | |
641 | } | |
614 | sed 's/^ //' << EOF >$dummy.c | |
615 | ||
616 | #define _HPUX_SOURCE | |
617 | #include <stdlib.h> | |
618 | #include <unistd.h> | |
619 | ||
620 | int main () | |
621 | { | |
622 | #if defined(_SC_KERNEL_BITS) | |
623 | long bits = sysconf(_SC_KERNEL_BITS); | |
624 | #endif | |
625 | long cpu = sysconf (_SC_CPU_VERSION); | |
626 | ||
627 | switch (cpu) | |
628 | { | |
629 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
630 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
631 | case CPU_PA_RISC2_0: | |
632 | #if defined(_SC_KERNEL_BITS) | |
633 | switch (bits) | |
634 | { | |
635 | case 64: puts ("hppa2.0w"); break; | |
636 | case 32: puts ("hppa2.0n"); break; | |
637 | default: puts ("hppa2.0"); break; | |
638 | } break; | |
639 | #else /* !defined(_SC_KERNEL_BITS) */ | |
640 | puts ("hppa2.0"); break; | |
641 | #endif | |
642 | default: puts ("hppa1.0"); break; | |
643 | } | |
644 | exit (0); | |
645 | } | |
642 | 646 | EOF |
643 | 647 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
644 | 648 | test -z "$HP_ARCH" && HP_ARCH=hppa |
729 | 733 | exit ;; |
730 | 734 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
731 | 735 | echo c1-convex-bsd |
732 | exit ;; | |
736 | exit ;; | |
733 | 737 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
734 | 738 | if getsysinfo -f scalar_acc |
735 | 739 | then echo c32-convex-bsd |
736 | 740 | else echo c2-convex-bsd |
737 | 741 | fi |
738 | exit ;; | |
742 | exit ;; | |
739 | 743 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
740 | 744 | echo c34-convex-bsd |
741 | exit ;; | |
745 | exit ;; | |
742 | 746 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
743 | 747 | echo c38-convex-bsd |
744 | exit ;; | |
748 | exit ;; | |
745 | 749 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
746 | 750 | echo c4-convex-bsd |
747 | exit ;; | |
751 | exit ;; | |
748 | 752 | CRAY*Y-MP:*:*:*) |
749 | 753 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
750 | 754 | exit ;; |
768 | 772 | exit ;; |
769 | 773 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
770 | 774 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
771 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
772 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
773 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
774 | exit ;; | |
775 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
776 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
777 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
778 | exit ;; | |
775 | 779 | 5000:UNIX_System_V:4.*:*) |
776 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
777 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
778 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
780 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
781 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
782 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
779 | 783 | exit ;; |
780 | 784 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
781 | 785 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
787 | 791 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
788 | 792 | exit ;; |
789 | 793 | *:FreeBSD:*:*) |
790 | case ${UNAME_MACHINE} in | |
791 | pc98) | |
792 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
794 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
795 | case ${UNAME_PROCESSOR} in | |
793 | 796 | amd64) |
794 | 797 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
795 | 798 | *) |
796 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
799 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
797 | 800 | esac |
798 | 801 | exit ;; |
799 | 802 | i*:CYGWIN*:*) |
800 | 803 | echo ${UNAME_MACHINE}-pc-cygwin |
801 | 804 | exit ;; |
805 | *:MINGW64*:*) | |
806 | echo ${UNAME_MACHINE}-pc-mingw64 | |
807 | exit ;; | |
802 | 808 | *:MINGW*:*) |
803 | 809 | echo ${UNAME_MACHINE}-pc-mingw32 |
804 | 810 | exit ;; |
811 | i*:MSYS*:*) | |
812 | echo ${UNAME_MACHINE}-pc-msys | |
813 | exit ;; | |
805 | 814 | i*:windows32*:*) |
806 | # uname -m includes "-pc" on this system. | |
807 | echo ${UNAME_MACHINE}-mingw32 | |
815 | # uname -m includes "-pc" on this system. | |
816 | echo ${UNAME_MACHINE}-mingw32 | |
808 | 817 | exit ;; |
809 | 818 | i*:PW*:*) |
810 | 819 | echo ${UNAME_MACHINE}-pc-pw32 |
811 | 820 | exit ;; |
812 | 821 | *:Interix*:*) |
813 | case ${UNAME_MACHINE} in | |
822 | case ${UNAME_MACHINE} in | |
814 | 823 | x86) |
815 | 824 | echo i586-pc-interix${UNAME_RELEASE} |
816 | 825 | exit ;; |
856 | 865 | i*86:Minix:*:*) |
857 | 866 | echo ${UNAME_MACHINE}-pc-minix |
858 | 867 | exit ;; |
868 | aarch64:Linux:*:*) | |
869 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
870 | exit ;; | |
871 | aarch64_be:Linux:*:*) | |
872 | UNAME_MACHINE=aarch64_be | |
873 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
874 | exit ;; | |
859 | 875 | alpha:Linux:*:*) |
860 | 876 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
861 | 877 | EV5) UNAME_MACHINE=alphaev5 ;; |
865 | 881 | EV6) UNAME_MACHINE=alphaev6 ;; |
866 | 882 | EV67) UNAME_MACHINE=alphaev67 ;; |
867 | 883 | EV68*) UNAME_MACHINE=alphaev68 ;; |
868 | esac | |
884 | esac | |
869 | 885 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
870 | 886 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
871 | 887 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
877 | 893 | then |
878 | 894 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
879 | 895 | else |
880 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
896 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | |
897 | | grep -q __ARM_PCS_VFP | |
898 | then | |
899 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
900 | else | |
901 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | |
902 | fi | |
881 | 903 | fi |
882 | 904 | exit ;; |
883 | 905 | avr32*:Linux:*:*) |
884 | 906 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
885 | 907 | exit ;; |
886 | 908 | cris:Linux:*:*) |
887 | echo cris-axis-linux-gnu | |
909 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
888 | 910 | exit ;; |
889 | 911 | crisv32:Linux:*:*) |
890 | echo crisv32-axis-linux-gnu | |
912 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
891 | 913 | exit ;; |
892 | 914 | frv:Linux:*:*) |
893 | echo frv-unknown-linux-gnu | |
915 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
916 | exit ;; | |
917 | hexagon:Linux:*:*) | |
918 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
894 | 919 | exit ;; |
895 | 920 | i*86:Linux:*:*) |
896 | 921 | LIBC=gnu |
932 | 957 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
933 | 958 | ;; |
934 | 959 | or32:Linux:*:*) |
935 | echo or32-unknown-linux-gnu | |
960 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
936 | 961 | exit ;; |
937 | 962 | padre:Linux:*:*) |
938 | 963 | echo sparc-unknown-linux-gnu |
958 | 983 | echo ${UNAME_MACHINE}-ibm-linux |
959 | 984 | exit ;; |
960 | 985 | sh64*:Linux:*:*) |
961 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
986 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
962 | 987 | exit ;; |
963 | 988 | sh*:Linux:*:*) |
964 | 989 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
966 | 991 | sparc:Linux:*:* | sparc64:Linux:*:*) |
967 | 992 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
968 | 993 | exit ;; |
994 | tile*:Linux:*:*) | |
995 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
996 | exit ;; | |
969 | 997 | vax:Linux:*:*) |
970 | 998 | echo ${UNAME_MACHINE}-dec-linux-gnu |
971 | 999 | exit ;; |
972 | 1000 | x86_64:Linux:*:*) |
973 | echo x86_64-unknown-linux-gnu | |
1001 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
974 | 1002 | exit ;; |
975 | 1003 | xtensa*:Linux:*:*) |
976 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1004 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
977 | 1005 | exit ;; |
978 | 1006 | i*86:DYNIX/ptx:4*:*) |
979 | 1007 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
982 | 1010 | echo i386-sequent-sysv4 |
983 | 1011 | exit ;; |
984 | 1012 | i*86:UNIX_SV:4.2MP:2.*) |
985 | # Unixware is an offshoot of SVR4, but it has its own version | |
986 | # number series starting with 2... | |
987 | # I am not positive that other SVR4 systems won't match this, | |
1013 | # Unixware is an offshoot of SVR4, but it has its own version | |
1014 | # number series starting with 2... | |
1015 | # I am not positive that other SVR4 systems won't match this, | |
988 | 1016 | # I just have to hope. -- rms. |
989 | # Use sysv4.2uw... so that sysv4* matches it. | |
1017 | # Use sysv4.2uw... so that sysv4* matches it. | |
990 | 1018 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
991 | 1019 | exit ;; |
992 | 1020 | i*86:OS/2:*:*) |
1018 | 1046 | fi |
1019 | 1047 | exit ;; |
1020 | 1048 | i*86:*:5:[678]*) |
1021 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1049 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1022 | 1050 | case `/bin/uname -X | grep "^Machine"` in |
1023 | 1051 | *486*) UNAME_MACHINE=i486 ;; |
1024 | 1052 | *Pentium) UNAME_MACHINE=i586 ;; |
1046 | 1074 | exit ;; |
1047 | 1075 | pc:*:*:*) |
1048 | 1076 | # Left here for compatibility: |
1049 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1050 | # the processor, so we play safe by assuming i586. | |
1077 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1078 | # the processor, so we play safe by assuming i586. | |
1051 | 1079 | # Note: whatever this is, it MUST be the same as what config.sub |
1052 | 1080 | # prints for the "djgpp" host, or else GDB configury will decide that |
1053 | 1081 | # this is a cross-build. |
1054 | 1082 | echo i586-pc-msdosdjgpp |
1055 | exit ;; | |
1083 | exit ;; | |
1056 | 1084 | Intel:Mach:3*:*) |
1057 | 1085 | echo i386-pc-mach3 |
1058 | 1086 | exit ;; |
1087 | 1115 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1088 | 1116 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
1089 | 1117 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1090 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1091 | && { echo i486-ncr-sysv4; exit; } ;; | |
1118 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1119 | && { echo i486-ncr-sysv4; exit; } ;; | |
1092 | 1120 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
1093 | 1121 | OS_REL='.3' |
1094 | 1122 | test -r /etc/.relid \ |
1131 | 1159 | echo ns32k-sni-sysv |
1132 | 1160 | fi |
1133 | 1161 | exit ;; |
1134 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1135 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1136 | echo i586-unisys-sysv4 | |
1137 | exit ;; | |
1162 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1163 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1164 | echo i586-unisys-sysv4 | |
1165 | exit ;; | |
1138 | 1166 | *:UNIX_System_V:4*:FTX*) |
1139 | 1167 | # From Gerald Hewes <hewes@openmarket.com>. |
1140 | 1168 | # How about differentiating between stratus architectures? -djm |
1160 | 1188 | exit ;; |
1161 | 1189 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1162 | 1190 | if [ -d /usr/nec ]; then |
1163 | echo mips-nec-sysv${UNAME_RELEASE} | |
1191 | echo mips-nec-sysv${UNAME_RELEASE} | |
1164 | 1192 | else |
1165 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1166 | fi | |
1167 | exit ;; | |
1193 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1194 | fi | |
1195 | exit ;; | |
1168 | 1196 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1169 | 1197 | echo powerpc-be-beos |
1170 | 1198 | exit ;; |
1176 | 1204 | exit ;; |
1177 | 1205 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
1178 | 1206 | echo i586-pc-haiku |
1207 | exit ;; | |
1208 | x86_64:Haiku:*:*) | |
1209 | echo x86_64-unknown-haiku | |
1179 | 1210 | exit ;; |
1180 | 1211 | SX-4:SUPER-UX:*:*) |
1181 | 1212 | echo sx4-nec-superux${UNAME_RELEASE} |
1229 | 1260 | *:QNX:*:4*) |
1230 | 1261 | echo i386-pc-qnx |
1231 | 1262 | exit ;; |
1232 | NSE-?:NONSTOP_KERNEL:*:*) | |
1263 | NEO-?:NONSTOP_KERNEL:*:*) | |
1264 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1265 | exit ;; | |
1266 | NSE-*:NONSTOP_KERNEL:*:*) | |
1233 | 1267 | echo nse-tandem-nsk${UNAME_RELEASE} |
1234 | 1268 | exit ;; |
1235 | 1269 | NSR-?:NONSTOP_KERNEL:*:*) |
1274 | 1308 | echo pdp10-unknown-its |
1275 | 1309 | exit ;; |
1276 | 1310 | SEI:*:*:SEIUX) |
1277 | echo mips-sei-seiux${UNAME_RELEASE} | |
1311 | echo mips-sei-seiux${UNAME_RELEASE} | |
1278 | 1312 | exit ;; |
1279 | 1313 | *:DragonFly:*:*) |
1280 | 1314 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
1281 | 1315 | exit ;; |
1282 | 1316 | *:*VMS:*:*) |
1283 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1317 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1284 | 1318 | case "${UNAME_MACHINE}" in |
1285 | 1319 | A*) echo alpha-dec-vms ; exit ;; |
1286 | 1320 | I*) echo ia64-dec-vms ; exit ;; |
1298 | 1332 | i*86:AROS:*:*) |
1299 | 1333 | echo ${UNAME_MACHINE}-pc-aros |
1300 | 1334 | exit ;; |
1335 | x86_64:VMkernel:*:*) | |
1336 | echo ${UNAME_MACHINE}-unknown-esx | |
1337 | exit ;; | |
1301 | 1338 | esac |
1302 | ||
1303 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |
1304 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |
1305 | 1339 | |
1306 | 1340 | eval $set_cc_for_build |
1307 | 1341 | cat >$dummy.c <<EOF |
1320 | 1354 | #include <sys/param.h> |
1321 | 1355 | printf ("m68k-sony-newsos%s\n", |
1322 | 1356 | #ifdef NEWSOS4 |
1323 | "4" | |
1357 | "4" | |
1324 | 1358 | #else |
1325 | "" | |
1326 | #endif | |
1327 | ); exit (0); | |
1359 | "" | |
1360 | #endif | |
1361 | ); exit (0); | |
1328 | 1362 | #endif |
1329 | 1363 | #endif |
1330 | 1364 |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |
4 | # Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2009-11-20' | |
7 | ||
8 | # This file is (in principle) common to ALL GNU software. | |
9 | # The presence of a machine in this file suggests that SOME GNU software | |
10 | # can handle that machine. It does not imply ALL GNU software can. | |
11 | # | |
12 | # This file is free software; you can redistribute it and/or modify | |
13 | # it under the terms of the GNU General Public License as published by | |
14 | # the Free Software Foundation; either version 2 of the License, or | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012, 2013 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-12-29' | |
7 | ||
8 | # This file is free software; you can redistribute it and/or modify it | |
9 | # under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 3 of the License, or | |
15 | 11 | # (at your option) any later version. |
16 | 12 | # |
17 | # This program is distributed in the hope that it will be useful, | |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | # GNU General Public License for more details. | |
13 | # This program is distributed in the hope that it will be useful, but | |
14 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | # General Public License for more details. | |
21 | 17 | # |
22 | 18 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | |
24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
25 | # 02110-1301, USA. | |
19 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
26 | 20 | # |
27 | 21 | # As a special exception to the GNU General Public License, if you |
28 | 22 | # distribute this file as part of a program that contains a |
29 | 23 | # configuration script generated by Autoconf, you may include it under |
30 | # the same distribution terms that you use for the rest of that program. | |
31 | ||
32 | ||
33 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
34 | # diff and a properly formatted GNU ChangeLog entry. | |
24 | # the same distribution terms that you use for the rest of that | |
25 | # program. This Exception is an additional permission under section 7 | |
26 | # of the GNU General Public License, version 3 ("GPLv3"). | |
27 | ||
28 | ||
29 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | |
35 | 30 | # |
36 | 31 | # Configuration subroutine to validate and canonicalize a configuration type. |
37 | 32 | # Supply the specified configuration type as an argument. |
74 | 69 | version="\ |
75 | 70 | GNU config.sub ($timestamp) |
76 | 71 | |
77 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
78 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
72 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
73 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, | |
74 | 2012, 2013 Free Software Foundation, Inc. | |
79 | 75 | |
80 | 76 | This is free software; see the source for copying conditions. There is NO |
81 | 77 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
122 | 118 | # Here we must recognize all the valid KERNEL-OS combinations. |
123 | 119 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
124 | 120 | case $maybe_os in |
125 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | |
126 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ | |
121 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | |
122 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
123 | knetbsd*-gnu* | netbsd*-gnu* | \ | |
127 | 124 | kopensolaris*-gnu* | \ |
128 | 125 | storm-chaos* | os2-emx* | rtmk-nova*) |
129 | 126 | os=-$maybe_os |
130 | 127 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
128 | ;; | |
129 | android-linux) | |
130 | os=-linux-android | |
131 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
131 | 132 | ;; |
132 | 133 | *) |
133 | 134 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
151 | 152 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
152 | 153 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
153 | 154 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
154 | -apple | -axis | -knuth | -cray | -microblaze) | |
155 | -apple | -axis | -knuth | -cray | -microblaze*) | |
155 | 156 | os= |
156 | 157 | basic_machine=$1 |
157 | 158 | ;; |
158 | -bluegene*) | |
159 | os=-cnk | |
159 | -bluegene*) | |
160 | os=-cnk | |
160 | 161 | ;; |
161 | 162 | -sim | -cisco | -oki | -wec | -winbond) |
162 | 163 | os= |
172 | 173 | os=-chorusos |
173 | 174 | basic_machine=$1 |
174 | 175 | ;; |
175 | -chorusrdb) | |
176 | os=-chorusrdb | |
176 | -chorusrdb) | |
177 | os=-chorusrdb | |
177 | 178 | basic_machine=$1 |
178 | ;; | |
179 | ;; | |
179 | 180 | -hiux*) |
180 | 181 | os=-hiuxwe2 |
181 | 182 | ;; |
219 | 220 | ;; |
220 | 221 | -isc*) |
221 | 222 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
223 | ;; | |
224 | -lynx*178) | |
225 | os=-lynxos178 | |
226 | ;; | |
227 | -lynx*5) | |
228 | os=-lynxos5 | |
222 | 229 | ;; |
223 | 230 | -lynx*) |
224 | 231 | os=-lynxos |
244 | 251 | # Some are omitted here because they have special meanings below. |
245 | 252 | 1750a | 580 \ |
246 | 253 | | a29k \ |
254 | | aarch64 | aarch64_be \ | |
247 | 255 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
248 | 256 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
249 | 257 | | am33_2.0 \ |
250 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | |
258 | | arc \ | |
259 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | |
260 | | avr | avr32 \ | |
261 | | be32 | be64 \ | |
251 | 262 | | bfin \ |
252 | 263 | | c4x | clipper \ |
253 | 264 | | d10v | d30v | dlx | dsp16xx \ |
265 | | epiphany \ | |
254 | 266 | | fido | fr30 | frv \ |
255 | 267 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
268 | | hexagon \ | |
256 | 269 | | i370 | i860 | i960 | ia64 \ |
257 | 270 | | ip2k | iq2000 \ |
271 | | le32 | le64 \ | |
258 | 272 | | lm32 \ |
259 | 273 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
260 | | maxq | mb | microblaze | mcore | mep | metag \ | |
274 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
261 | 275 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
262 | 276 | | mips16 \ |
263 | 277 | | mips64 | mips64el \ |
280 | 294 | | moxie \ |
281 | 295 | | mt \ |
282 | 296 | | msp430 \ |
297 | | nds32 | nds32le | nds32be \ | |
283 | 298 | | nios | nios2 \ |
284 | 299 | | ns16k | ns32k \ |
300 | | open8 \ | |
285 | 301 | | or32 \ |
286 | 302 | | pdp10 | pdp11 | pj | pjl \ |
287 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | |
303 | | powerpc | powerpc64 | powerpc64le | powerpcle \ | |
288 | 304 | | pyramid \ |
289 | | rx \ | |
305 | | rl78 | rx \ | |
290 | 306 | | score \ |
291 | 307 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
292 | 308 | | sh64 | sh64le \ |
293 | 309 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
294 | 310 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
295 | | spu | strongarm \ | |
296 | | tahoe | thumb | tic4x | tic80 | tron \ | |
311 | | spu \ | |
312 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | |
297 | 313 | | ubicom32 \ |
298 | | v850 | v850e \ | |
314 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | |
299 | 315 | | we32k \ |
300 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | |
316 | | x86 | xc16x | xstormy16 | xtensa \ | |
301 | 317 | | z8k | z80) |
302 | 318 | basic_machine=$basic_machine-unknown |
303 | 319 | ;; |
304 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | |
305 | # Motorola 68HC11/12. | |
320 | c54x) | |
321 | basic_machine=tic54x-unknown | |
322 | ;; | |
323 | c55x) | |
324 | basic_machine=tic55x-unknown | |
325 | ;; | |
326 | c6x) | |
327 | basic_machine=tic6x-unknown | |
328 | ;; | |
329 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | |
306 | 330 | basic_machine=$basic_machine-unknown |
307 | 331 | os=-none |
308 | 332 | ;; |
310 | 334 | ;; |
311 | 335 | ms1) |
312 | 336 | basic_machine=mt-unknown |
337 | ;; | |
338 | ||
339 | strongarm | thumb | xscale) | |
340 | basic_machine=arm-unknown | |
341 | ;; | |
342 | xgate) | |
343 | basic_machine=$basic_machine-unknown | |
344 | os=-none | |
345 | ;; | |
346 | xscaleeb) | |
347 | basic_machine=armeb-unknown | |
348 | ;; | |
349 | ||
350 | xscaleel) | |
351 | basic_machine=armel-unknown | |
313 | 352 | ;; |
314 | 353 | |
315 | 354 | # We use `pc' rather than `unknown' |
326 | 365 | # Recognize the basic CPU types with company name. |
327 | 366 | 580-* \ |
328 | 367 | | a29k-* \ |
368 | | aarch64-* | aarch64_be-* \ | |
329 | 369 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
330 | 370 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
331 | 371 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
332 | 372 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
333 | 373 | | avr-* | avr32-* \ |
374 | | be32-* | be64-* \ | |
334 | 375 | | bfin-* | bs2000-* \ |
335 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | |
376 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | |
336 | 377 | | clipper-* | craynv-* | cydra-* \ |
337 | 378 | | d10v-* | d30v-* | dlx-* \ |
338 | 379 | | elxsi-* \ |
339 | 380 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
340 | 381 | | h8300-* | h8500-* \ |
341 | 382 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
383 | | hexagon-* \ | |
342 | 384 | | i*86-* | i860-* | i960-* | ia64-* \ |
343 | 385 | | ip2k-* | iq2000-* \ |
386 | | le32-* | le64-* \ | |
344 | 387 | | lm32-* \ |
345 | 388 | | m32c-* | m32r-* | m32rle-* \ |
346 | 389 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
347 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
390 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
391 | | microblaze-* | microblazeel-* \ | |
348 | 392 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
349 | 393 | | mips16-* \ |
350 | 394 | | mips64-* | mips64el-* \ |
366 | 410 | | mmix-* \ |
367 | 411 | | mt-* \ |
368 | 412 | | msp430-* \ |
413 | | nds32-* | nds32le-* | nds32be-* \ | |
369 | 414 | | nios-* | nios2-* \ |
370 | 415 | | none-* | np1-* | ns16k-* | ns32k-* \ |
416 | | open8-* \ | |
371 | 417 | | orion-* \ |
372 | 418 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
373 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | |
419 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | |
374 | 420 | | pyramid-* \ |
375 | | romp-* | rs6000-* | rx-* \ | |
421 | | rl78-* | romp-* | rs6000-* | rx-* \ | |
376 | 422 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
377 | 423 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
378 | 424 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
379 | 425 | | sparclite-* \ |
380 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | |
381 | | tahoe-* | thumb-* \ | |
382 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | |
426 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | |
427 | | tahoe-* \ | |
428 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | |
429 | | tile*-* \ | |
383 | 430 | | tron-* \ |
384 | 431 | | ubicom32-* \ |
385 | | v850-* | v850e-* | vax-* \ | |
432 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | |
433 | | vax-* \ | |
386 | 434 | | we32k-* \ |
387 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | |
435 | | x86-* | x86_64-* | xc16x-* | xps100-* \ | |
388 | 436 | | xstormy16-* | xtensa*-* \ |
389 | 437 | | ymp-* \ |
390 | 438 | | z8k-* | z80-*) |
409 | 457 | basic_machine=a29k-amd |
410 | 458 | os=-udi |
411 | 459 | ;; |
412 | abacus) | |
460 | abacus) | |
413 | 461 | basic_machine=abacus-unknown |
414 | 462 | ;; |
415 | 463 | adobe68k) |
479 | 527 | basic_machine=powerpc-ibm |
480 | 528 | os=-cnk |
481 | 529 | ;; |
530 | c54x-*) | |
531 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
532 | ;; | |
533 | c55x-*) | |
534 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
535 | ;; | |
536 | c6x-*) | |
537 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
538 | ;; | |
482 | 539 | c90) |
483 | 540 | basic_machine=c90-cray |
484 | 541 | os=-unicos |
485 | 542 | ;; |
486 | cegcc) | |
543 | cegcc) | |
487 | 544 | basic_machine=arm-unknown |
488 | 545 | os=-cegcc |
489 | 546 | ;; |
515 | 572 | basic_machine=craynv-cray |
516 | 573 | os=-unicosmp |
517 | 574 | ;; |
518 | cr16) | |
575 | cr16 | cr16-*) | |
519 | 576 | basic_machine=cr16-unknown |
520 | 577 | os=-elf |
521 | 578 | ;; |
673 | 730 | i370-ibm* | ibm*) |
674 | 731 | basic_machine=i370-ibm |
675 | 732 | ;; |
676 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
677 | 733 | i*86v32) |
678 | 734 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
679 | 735 | os=-sysv32 |
731 | 787 | basic_machine=ns32k-utek |
732 | 788 | os=-sysv |
733 | 789 | ;; |
734 | microblaze) | |
790 | microblaze*) | |
735 | 791 | basic_machine=microblaze-xilinx |
792 | ;; | |
793 | mingw64) | |
794 | basic_machine=x86_64-pc | |
795 | os=-mingw64 | |
736 | 796 | ;; |
737 | 797 | mingw32) |
738 | 798 | basic_machine=i386-pc |
770 | 830 | ms1-*) |
771 | 831 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
772 | 832 | ;; |
833 | msys) | |
834 | basic_machine=i386-pc | |
835 | os=-msys | |
836 | ;; | |
773 | 837 | mvs) |
774 | 838 | basic_machine=i370-ibm |
775 | 839 | os=-mvs |
840 | ;; | |
841 | nacl) | |
842 | basic_machine=le32-unknown | |
843 | os=-nacl | |
776 | 844 | ;; |
777 | 845 | ncr3000) |
778 | 846 | basic_machine=i486-ncr |
838 | 906 | np1) |
839 | 907 | basic_machine=np1-gould |
840 | 908 | ;; |
909 | neo-tandem) | |
910 | basic_machine=neo-tandem | |
911 | ;; | |
912 | nse-tandem) | |
913 | basic_machine=nse-tandem | |
914 | ;; | |
841 | 915 | nsr-tandem) |
842 | 916 | basic_machine=nsr-tandem |
843 | 917 | ;; |
920 | 994 | ;; |
921 | 995 | power) basic_machine=power-ibm |
922 | 996 | ;; |
923 | ppc) basic_machine=powerpc-unknown | |
924 | ;; | |
925 | ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
997 | ppc | ppcbe) basic_machine=powerpc-unknown | |
998 | ;; | |
999 | ppc-* | ppcbe-*) | |
1000 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
926 | 1001 | ;; |
927 | 1002 | ppcle | powerpclittle | ppc-le | powerpc-little) |
928 | 1003 | basic_machine=powerpcle-unknown |
932 | 1007 | ;; |
933 | 1008 | ppc64) basic_machine=powerpc64-unknown |
934 | 1009 | ;; |
935 | ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1010 | ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
936 | 1011 | ;; |
937 | 1012 | ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
938 | 1013 | basic_machine=powerpc64le-unknown |
947 | 1022 | basic_machine=i586-unknown |
948 | 1023 | os=-pw32 |
949 | 1024 | ;; |
950 | rdos) | |
1025 | rdos | rdos64) | |
1026 | basic_machine=x86_64-pc | |
1027 | os=-rdos | |
1028 | ;; | |
1029 | rdos32) | |
951 | 1030 | basic_machine=i386-pc |
952 | 1031 | os=-rdos |
953 | 1032 | ;; |
1016 | 1095 | basic_machine=i860-stratus |
1017 | 1096 | os=-sysv4 |
1018 | 1097 | ;; |
1098 | strongarm-* | thumb-*) | |
1099 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1100 | ;; | |
1019 | 1101 | sun2) |
1020 | 1102 | basic_machine=m68000-sun |
1021 | 1103 | ;; |
1072 | 1154 | basic_machine=t90-cray |
1073 | 1155 | os=-unicos |
1074 | 1156 | ;; |
1075 | tic54x | c54x*) | |
1076 | basic_machine=tic54x-unknown | |
1077 | os=-coff | |
1078 | ;; | |
1079 | tic55x | c55x*) | |
1080 | basic_machine=tic55x-unknown | |
1081 | os=-coff | |
1082 | ;; | |
1083 | tic6x | c6x*) | |
1084 | basic_machine=tic6x-unknown | |
1085 | os=-coff | |
1086 | ;; | |
1087 | 1157 | tile*) |
1088 | basic_machine=tile-unknown | |
1158 | basic_machine=$basic_machine-unknown | |
1089 | 1159 | os=-linux-gnu |
1090 | 1160 | ;; |
1091 | 1161 | tx39) |
1154 | 1224 | ;; |
1155 | 1225 | xps | xps100) |
1156 | 1226 | basic_machine=xps100-honeywell |
1227 | ;; | |
1228 | xscale-* | xscalee[bl]-*) | |
1229 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1157 | 1230 | ;; |
1158 | 1231 | ymp) |
1159 | 1232 | basic_machine=ymp-cray |
1252 | 1325 | if [ x"$os" != x"" ] |
1253 | 1326 | then |
1254 | 1327 | case $os in |
1255 | # First match some system type aliases | |
1256 | # that might get confused with valid system types. | |
1328 | # First match some system type aliases | |
1329 | # that might get confused with valid system types. | |
1257 | 1330 | # -solaris* is a basic system type, with this one exception. |
1258 | -auroraux) | |
1259 | os=-auroraux | |
1331 | -auroraux) | |
1332 | os=-auroraux | |
1260 | 1333 | ;; |
1261 | 1334 | -solaris1 | -solaris1.*) |
1262 | 1335 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
1286 | 1359 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1287 | 1360 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1288 | 1361 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1289 | | -openbsd* | -solidbsd* \ | |
1362 | | -bitrig* | -openbsd* | -solidbsd* \ | |
1290 | 1363 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1291 | 1364 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1292 | 1365 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1293 | 1366 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1294 | 1367 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1295 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1296 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | |
1368 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1369 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1370 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1297 | 1371 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1298 | 1372 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1299 | 1373 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1340 | 1414 | -opened*) |
1341 | 1415 | os=-openedition |
1342 | 1416 | ;; |
1343 | -os400*) | |
1417 | -os400*) | |
1344 | 1418 | os=-os400 |
1345 | 1419 | ;; |
1346 | 1420 | -wince*) |
1389 | 1463 | -sinix*) |
1390 | 1464 | os=-sysv4 |
1391 | 1465 | ;; |
1392 | -tpf*) | |
1466 | -tpf*) | |
1393 | 1467 | os=-tpf |
1394 | 1468 | ;; |
1395 | 1469 | -triton*) |
1433 | 1507 | ;; |
1434 | 1508 | -dicos*) |
1435 | 1509 | os=-dicos |
1510 | ;; | |
1511 | -nacl*) | |
1436 | 1512 | ;; |
1437 | 1513 | -none) |
1438 | 1514 | ;; |
1456 | 1532 | # system, and we'll never get to this point. |
1457 | 1533 | |
1458 | 1534 | case $basic_machine in |
1459 | score-*) | |
1535 | score-*) | |
1460 | 1536 | os=-elf |
1461 | 1537 | ;; |
1462 | spu-*) | |
1538 | spu-*) | |
1463 | 1539 | os=-elf |
1464 | 1540 | ;; |
1465 | 1541 | *-acorn) |
1471 | 1547 | arm*-semi) |
1472 | 1548 | os=-aout |
1473 | 1549 | ;; |
1474 | c4x-* | tic4x-*) | |
1475 | os=-coff | |
1550 | c4x-* | tic4x-*) | |
1551 | os=-coff | |
1552 | ;; | |
1553 | hexagon-*) | |
1554 | os=-elf | |
1555 | ;; | |
1556 | tic54x-*) | |
1557 | os=-coff | |
1558 | ;; | |
1559 | tic55x-*) | |
1560 | os=-coff | |
1561 | ;; | |
1562 | tic6x-*) | |
1563 | os=-coff | |
1476 | 1564 | ;; |
1477 | 1565 | # This must come before the *-dec entry. |
1478 | 1566 | pdp10-*) |
1492 | 1580 | ;; |
1493 | 1581 | m68000-sun) |
1494 | 1582 | os=-sunos3 |
1495 | # This also exists in the configure program, but was not the | |
1496 | # default. | |
1497 | # os=-sunos4 | |
1498 | 1583 | ;; |
1499 | 1584 | m68*-cisco) |
1500 | 1585 | os=-aout |
1501 | 1586 | ;; |
1502 | mep-*) | |
1587 | mep-*) | |
1503 | 1588 | os=-elf |
1504 | 1589 | ;; |
1505 | 1590 | mips*-cisco) |
1526 | 1611 | *-ibm) |
1527 | 1612 | os=-aix |
1528 | 1613 | ;; |
1529 | *-knuth) | |
1614 | *-knuth) | |
1530 | 1615 | os=-mmixware |
1531 | 1616 | ;; |
1532 | 1617 | *-wec) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for Telepathy-Farstream 0.6.1. | |
2 | # Generated by GNU Autoconf 2.69 for Telepathy-Farstream 0.6.2. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-farstream>. |
5 | 5 | # |
590 | 590 | # Identity of this package. |
591 | 591 | PACKAGE_NAME='Telepathy-Farstream' |
592 | 592 | PACKAGE_TARNAME='telepathy-farstream' |
593 | PACKAGE_VERSION='0.6.1' | |
594 | PACKAGE_STRING='Telepathy-Farstream 0.6.1' | |
593 | PACKAGE_VERSION='0.6.2' | |
594 | PACKAGE_STRING='Telepathy-Farstream 0.6.2' | |
595 | 595 | PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-farstream' |
596 | 596 | PACKAGE_URL='' |
597 | 597 | |
1370 | 1370 | # Omit some internal or obsolete options to make the list less imposing. |
1371 | 1371 | # This message is too long to be a string in the A/UX 3.1 sh. |
1372 | 1372 | cat <<_ACEOF |
1373 | \`configure' configures Telepathy-Farstream 0.6.1 to adapt to many kinds of systems. | |
1373 | \`configure' configures Telepathy-Farstream 0.6.2 to adapt to many kinds of systems. | |
1374 | 1374 | |
1375 | 1375 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1376 | 1376 | |
1441 | 1441 | |
1442 | 1442 | if test -n "$ac_init_help"; then |
1443 | 1443 | case $ac_init_help in |
1444 | short | recursive ) echo "Configuration of Telepathy-Farstream 0.6.1:";; | |
1444 | short | recursive ) echo "Configuration of Telepathy-Farstream 0.6.2:";; | |
1445 | 1445 | esac |
1446 | 1446 | cat <<\_ACEOF |
1447 | 1447 | |
1472 | 1472 | Optional Packages: |
1473 | 1473 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1474 | 1474 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1475 | --with-pic try to use only PIC/non-PIC objects [default=use | |
1475 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use | |
1476 | 1476 | both] |
1477 | 1477 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1478 | 1478 | --with-sysroot=DIR Search for dependent libraries within DIR |
1576 | 1576 | test -n "$ac_init_help" && exit $ac_status |
1577 | 1577 | if $ac_init_version; then |
1578 | 1578 | cat <<\_ACEOF |
1579 | Telepathy-Farstream configure 0.6.1 | |
1579 | Telepathy-Farstream configure 0.6.2 | |
1580 | 1580 | generated by GNU Autoconf 2.69 |
1581 | 1581 | |
1582 | 1582 | Copyright (C) 2012 Free Software Foundation, Inc. |
1854 | 1854 | This file contains any messages produced by compilers while |
1855 | 1855 | running configure, to aid debugging if configure makes a mistake. |
1856 | 1856 | |
1857 | It was created by Telepathy-Farstream $as_me 0.6.1, which was | |
1857 | It was created by Telepathy-Farstream $as_me 0.6.2, which was | |
1858 | 1858 | generated by GNU Autoconf 2.69. Invocation command line was |
1859 | 1859 | |
1860 | 1860 | $ $0 $@ |
2720 | 2720 | |
2721 | 2721 | # Define the identity of the package. |
2722 | 2722 | PACKAGE='telepathy-farstream' |
2723 | VERSION='0.6.1' | |
2723 | VERSION='0.6.2' | |
2724 | 2724 | |
2725 | 2725 | |
2726 | 2726 | cat >>confdefs.h <<_ACEOF |
4941 | 4941 | lt_cv_sys_max_cmd_len=196608 |
4942 | 4942 | ;; |
4943 | 4943 | |
4944 | os2*) | |
4945 | # The test takes a long time on OS/2. | |
4946 | lt_cv_sys_max_cmd_len=8192 | |
4947 | ;; | |
4948 | ||
4944 | 4949 | osf*) |
4945 | 4950 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
4946 | 4951 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
4980 | 4985 | # If test is not a shell built-in, we'll probably end up computing a |
4981 | 4986 | # maximum length that is only half of the actual maximum length, but |
4982 | 4987 | # we can't tell. |
4983 | while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ | |
4988 | while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ | |
4984 | 4989 | = "X$teststring$teststring"; } >/dev/null 2>&1 && |
4985 | 4990 | test $i != 17 # 1/2 MB should be enough |
4986 | 4991 | do |
5409 | 5414 | lt_cv_deplibs_check_method=pass_all |
5410 | 5415 | ;; |
5411 | 5416 | |
5412 | # This must be Linux ELF. | |
5417 | # This must be glibc/ELF. | |
5413 | 5418 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5414 | 5419 | lt_cv_deplibs_check_method=pass_all |
5415 | 5420 | ;; |
6050 | 6055 | if test -n "$RANLIB"; then |
6051 | 6056 | case $host_os in |
6052 | 6057 | openbsd*) |
6053 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | |
6058 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | |
6054 | 6059 | ;; |
6055 | 6060 | *) |
6056 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | |
6061 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | |
6057 | 6062 | ;; |
6058 | 6063 | esac |
6059 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | |
6064 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | |
6060 | 6065 | fi |
6061 | 6066 | |
6062 | 6067 | case $host_os in |
6203 | 6208 | # which start with @ or ?. |
6204 | 6209 | lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6205 | 6210 | " {last_section=section; section=\$ 3};"\ |
6211 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | |
6206 | 6212 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6207 | 6213 | " \$ 0!~/External *\|/{next};"\ |
6208 | 6214 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6491 | 6497 | rm -rf conftest* |
6492 | 6498 | ;; |
6493 | 6499 | |
6494 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | |
6500 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ | |
6495 | 6501 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
6496 | 6502 | # Find out which ABI we are using. |
6497 | 6503 | echo 'int i;' > conftest.$ac_ext |
6509 | 6515 | x86_64-*linux*) |
6510 | 6516 | LD="${LD-ld} -m elf_i386" |
6511 | 6517 | ;; |
6512 | ppc64-*linux*|powerpc64-*linux*) | |
6518 | powerpc64le-*linux*) | |
6519 | LD="${LD-ld} -m elf32lppclinux" | |
6520 | ;; | |
6521 | powerpc64-*linux*) | |
6513 | 6522 | LD="${LD-ld} -m elf32ppclinux" |
6514 | 6523 | ;; |
6515 | 6524 | s390x-*linux*) |
6528 | 6537 | x86_64-*linux*) |
6529 | 6538 | LD="${LD-ld} -m elf_x86_64" |
6530 | 6539 | ;; |
6531 | ppc*-*linux*|powerpc*-*linux*) | |
6540 | powerpcle-*linux*) | |
6541 | LD="${LD-ld} -m elf64lppc" | |
6542 | ;; | |
6543 | powerpc-*linux*) | |
6532 | 6544 | LD="${LD-ld} -m elf64ppc" |
6533 | 6545 | ;; |
6534 | 6546 | s390*-*linux*|s390*-*tpf*) |
6591 | 6603 | CFLAGS="$SAVE_CFLAGS" |
6592 | 6604 | fi |
6593 | 6605 | ;; |
6594 | sparc*-*solaris*) | |
6606 | *-*solaris*) | |
6595 | 6607 | # Find out which ABI we are using. |
6596 | 6608 | echo 'int i;' > conftest.$ac_ext |
6597 | 6609 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6602 | 6614 | case `/usr/bin/file conftest.o` in |
6603 | 6615 | *64-bit*) |
6604 | 6616 | case $lt_cv_prog_gnu_ld in |
6605 | yes*) LD="${LD-ld} -m elf64_sparc" ;; | |
6617 | yes*) | |
6618 | case $host in | |
6619 | i?86-*-solaris*) | |
6620 | LD="${LD-ld} -m elf_x86_64" | |
6621 | ;; | |
6622 | sparc*-*-solaris*) | |
6623 | LD="${LD-ld} -m elf64_sparc" | |
6624 | ;; | |
6625 | esac | |
6626 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | |
6627 | if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | |
6628 | LD="${LD-ld}_sol2" | |
6629 | fi | |
6630 | ;; | |
6606 | 6631 | *) |
6607 | 6632 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
6608 | 6633 | LD="${LD-ld} -64" |
7242 | 7267 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7243 | 7268 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
7244 | 7269 | _lt_result=$? |
7245 | if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then | |
7270 | # If there is a non-empty error log, and "single_module" | |
7271 | # appears in it, assume the flag caused a linker warning | |
7272 | if test -s conftest.err && $GREP single_module conftest.err; then | |
7273 | cat conftest.err >&5 | |
7274 | # Otherwise, if the output was created with a 0 exit code from | |
7275 | # the compiler, it worked. | |
7276 | elif test -f libconftest.dylib && test $_lt_result -eq 0; then | |
7246 | 7277 | lt_cv_apple_cc_single_mod=yes |
7247 | 7278 | else |
7248 | 7279 | cat conftest.err >&5 |
7253 | 7284 | fi |
7254 | 7285 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7255 | 7286 | $as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7287 | ||
7256 | 7288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7257 | 7289 | $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7258 | 7290 | if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7285 | 7317 | fi |
7286 | 7318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7287 | 7319 | $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7320 | ||
7288 | 7321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7289 | 7322 | $as_echo_n "checking for -force_load linker flag... " >&6; } |
7290 | 7323 | if ${lt_cv_ld_force_load+:} false; then : |
7306 | 7339 | echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7307 | 7340 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7308 | 7341 | _lt_result=$? |
7309 | if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then | |
7342 | if test -s conftest.err && $GREP force_load conftest.err; then | |
7343 | cat conftest.err >&5 | |
7344 | elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then | |
7310 | 7345 | lt_cv_ld_force_load=yes |
7311 | 7346 | else |
7312 | 7347 | cat conftest.err >&5 |
7711 | 7746 | |
7712 | 7747 | # Check whether --with-pic was given. |
7713 | 7748 | if test "${with_pic+set}" = set; then : |
7714 | withval=$with_pic; pic_mode="$withval" | |
7749 | withval=$with_pic; lt_p=${PACKAGE-default} | |
7750 | case $withval in | |
7751 | yes|no) pic_mode=$withval ;; | |
7752 | *) | |
7753 | pic_mode=default | |
7754 | # Look at the argument we got. We use all the common list separators. | |
7755 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
7756 | for lt_pkg in $withval; do | |
7757 | IFS="$lt_save_ifs" | |
7758 | if test "X$lt_pkg" = "X$lt_p"; then | |
7759 | pic_mode=yes | |
7760 | fi | |
7761 | done | |
7762 | IFS="$lt_save_ifs" | |
7763 | ;; | |
7764 | esac | |
7715 | 7765 | else |
7716 | 7766 | pic_mode=default |
7717 | 7767 | fi |
7763 | 7813 | |
7764 | 7814 | # Always use our own libtool. |
7765 | 7815 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
7816 | ||
7817 | ||
7818 | ||
7819 | ||
7766 | 7820 | |
7767 | 7821 | |
7768 | 7822 | |
8248 | 8302 | case $cc_basename in |
8249 | 8303 | nvcc*) # Cuda Compiler Driver 2.2 |
8250 | 8304 | lt_prog_compiler_wl='-Xlinker ' |
8251 | lt_prog_compiler_pic='-Xcompiler -fPIC' | |
8305 | if test -n "$lt_prog_compiler_pic"; then | |
8306 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" | |
8307 | fi | |
8252 | 8308 | ;; |
8253 | 8309 | esac |
8254 | 8310 | else |
8339 | 8395 | ;; |
8340 | 8396 | *) |
8341 | 8397 | case `$CC -V 2>&1 | sed 5q` in |
8342 | *Sun\ F* | *Sun*Fortran*) | |
8398 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) | |
8343 | 8399 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
8344 | 8400 | lt_prog_compiler_pic='-KPIC' |
8345 | 8401 | lt_prog_compiler_static='-Bstatic' |
8346 | 8402 | lt_prog_compiler_wl='' |
8403 | ;; | |
8404 | *Sun\ F* | *Sun*Fortran*) | |
8405 | lt_prog_compiler_pic='-KPIC' | |
8406 | lt_prog_compiler_static='-Bstatic' | |
8407 | lt_prog_compiler_wl='-Qoption ld ' | |
8347 | 8408 | ;; |
8348 | 8409 | *Sun\ C*) |
8349 | 8410 | # Sun C 5.9 |
8350 | 8411 | lt_prog_compiler_pic='-KPIC' |
8351 | 8412 | lt_prog_compiler_static='-Bstatic' |
8352 | 8413 | lt_prog_compiler_wl='-Wl,' |
8414 | ;; | |
8415 | *Intel*\ [CF]*Compiler*) | |
8416 | lt_prog_compiler_wl='-Wl,' | |
8417 | lt_prog_compiler_pic='-fPIC' | |
8418 | lt_prog_compiler_static='-static' | |
8419 | ;; | |
8420 | *Portland\ Group*) | |
8421 | lt_prog_compiler_wl='-Wl,' | |
8422 | lt_prog_compiler_pic='-fpic' | |
8423 | lt_prog_compiler_static='-Bstatic' | |
8353 | 8424 | ;; |
8354 | 8425 | esac |
8355 | 8426 | ;; |
8712 | 8783 | hardcode_direct=no |
8713 | 8784 | hardcode_direct_absolute=no |
8714 | 8785 | hardcode_libdir_flag_spec= |
8715 | hardcode_libdir_flag_spec_ld= | |
8716 | 8786 | hardcode_libdir_separator= |
8717 | 8787 | hardcode_minus_L=no |
8718 | 8788 | hardcode_shlibpath_var=unsupported |
8962 | 9032 | xlf* | bgf* | bgxlf* | mpixlf*) |
8963 | 9033 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
8964 | 9034 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
8965 | hardcode_libdir_flag_spec= | |
8966 | hardcode_libdir_flag_spec_ld='-rpath $libdir' | |
9035 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
8967 | 9036 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
8968 | 9037 | if test "x$supports_anon_versioning" = xyes; then |
8969 | 9038 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9342 | 9411 | # The linker will not automatically build a static lib if we build a DLL. |
9343 | 9412 | # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9344 | 9413 | enable_shared_with_static_runtimes=yes |
9414 | exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | |
9345 | 9415 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9346 | 9416 | # Don't use ranlib |
9347 | 9417 | old_postinstall_cmds='chmod 644 $oldlib' |
9387 | 9457 | hardcode_shlibpath_var=unsupported |
9388 | 9458 | if test "$lt_cv_ld_force_load" = "yes"; then |
9389 | 9459 | whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
9460 | ||
9390 | 9461 | else |
9391 | 9462 | whole_archive_flag_spec='' |
9392 | 9463 | fi |
9415 | 9486 | hardcode_shlibpath_var=no |
9416 | 9487 | ;; |
9417 | 9488 | |
9418 | freebsd1*) | |
9419 | ld_shlibs=no | |
9420 | ;; | |
9421 | ||
9422 | 9489 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
9423 | 9490 | # support. Future versions do this automatically, but an explicit c++rt0.o |
9424 | 9491 | # does not break anything, and helps significantly (at the cost of a little |
9431 | 9498 | ;; |
9432 | 9499 | |
9433 | 9500 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
9434 | freebsd2*) | |
9501 | freebsd2.*) | |
9435 | 9502 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9436 | 9503 | hardcode_direct=yes |
9437 | 9504 | hardcode_minus_L=yes |
9470 | 9537 | fi |
9471 | 9538 | if test "$with_gnu_ld" = no; then |
9472 | 9539 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
9473 | hardcode_libdir_flag_spec_ld='+b $libdir' | |
9474 | 9540 | hardcode_libdir_separator=: |
9475 | 9541 | hardcode_direct=yes |
9476 | 9542 | hardcode_direct_absolute=yes |
9942 | 10008 | fi |
9943 | 10009 | ;; |
9944 | 10010 | esac |
9945 | ||
9946 | ||
9947 | ||
9948 | ||
9949 | ||
9950 | 10011 | |
9951 | 10012 | |
9952 | 10013 | |
10188 | 10249 | |
10189 | 10250 | case $host_os in |
10190 | 10251 | aix3*) |
10191 | version_type=linux | |
10252 | version_type=linux # correct to gnu/linux during the next big refactor | |
10192 | 10253 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10193 | 10254 | shlibpath_var=LIBPATH |
10194 | 10255 | |
10197 | 10258 | ;; |
10198 | 10259 | |
10199 | 10260 | aix[4-9]*) |
10200 | version_type=linux | |
10261 | version_type=linux # correct to gnu/linux during the next big refactor | |
10201 | 10262 | need_lib_prefix=no |
10202 | 10263 | need_version=no |
10203 | 10264 | hardcode_into_libs=yes |
10262 | 10323 | ;; |
10263 | 10324 | |
10264 | 10325 | bsdi[45]*) |
10265 | version_type=linux | |
10326 | version_type=linux # correct to gnu/linux during the next big refactor | |
10266 | 10327 | need_version=no |
10267 | 10328 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10268 | 10329 | soname_spec='${libname}${release}${shared_ext}$major' |
10401 | 10462 | ;; |
10402 | 10463 | |
10403 | 10464 | dgux*) |
10404 | version_type=linux | |
10465 | version_type=linux # correct to gnu/linux during the next big refactor | |
10405 | 10466 | need_lib_prefix=no |
10406 | 10467 | need_version=no |
10407 | 10468 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
10408 | 10469 | soname_spec='${libname}${release}${shared_ext}$major' |
10409 | 10470 | shlibpath_var=LD_LIBRARY_PATH |
10410 | ;; | |
10411 | ||
10412 | freebsd1*) | |
10413 | dynamic_linker=no | |
10414 | 10471 | ;; |
10415 | 10472 | |
10416 | 10473 | freebsd* | dragonfly*) |
10420 | 10477 | objformat=`/usr/bin/objformat` |
10421 | 10478 | else |
10422 | 10479 | case $host_os in |
10423 | freebsd[123]*) objformat=aout ;; | |
10480 | freebsd[23].*) objformat=aout ;; | |
10424 | 10481 | *) objformat=elf ;; |
10425 | 10482 | esac |
10426 | 10483 | fi |
10438 | 10495 | esac |
10439 | 10496 | shlibpath_var=LD_LIBRARY_PATH |
10440 | 10497 | case $host_os in |
10441 | freebsd2*) | |
10498 | freebsd2.*) | |
10442 | 10499 | shlibpath_overrides_runpath=yes |
10443 | 10500 | ;; |
10444 | 10501 | freebsd3.[01]* | freebsdelf3.[01]*) |
10458 | 10515 | ;; |
10459 | 10516 | |
10460 | 10517 | gnu*) |
10461 | version_type=linux | |
10518 | version_type=linux # correct to gnu/linux during the next big refactor | |
10462 | 10519 | need_lib_prefix=no |
10463 | 10520 | need_version=no |
10464 | 10521 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10465 | 10522 | soname_spec='${libname}${release}${shared_ext}$major' |
10466 | 10523 | shlibpath_var=LD_LIBRARY_PATH |
10524 | shlibpath_overrides_runpath=no | |
10467 | 10525 | hardcode_into_libs=yes |
10468 | 10526 | ;; |
10469 | 10527 | |
10470 | 10528 | haiku*) |
10471 | version_type=linux | |
10529 | version_type=linux # correct to gnu/linux during the next big refactor | |
10472 | 10530 | need_lib_prefix=no |
10473 | 10531 | need_version=no |
10474 | 10532 | dynamic_linker="$host_os runtime_loader" |
10529 | 10587 | ;; |
10530 | 10588 | |
10531 | 10589 | interix[3-9]*) |
10532 | version_type=linux | |
10590 | version_type=linux # correct to gnu/linux during the next big refactor | |
10533 | 10591 | need_lib_prefix=no |
10534 | 10592 | need_version=no |
10535 | 10593 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
10545 | 10603 | nonstopux*) version_type=nonstopux ;; |
10546 | 10604 | *) |
10547 | 10605 | if test "$lt_cv_prog_gnu_ld" = yes; then |
10548 | version_type=linux | |
10606 | version_type=linux # correct to gnu/linux during the next big refactor | |
10549 | 10607 | else |
10550 | 10608 | version_type=irix |
10551 | 10609 | fi ;; |
10582 | 10640 | dynamic_linker=no |
10583 | 10641 | ;; |
10584 | 10642 | |
10585 | # This must be Linux ELF. | |
10643 | # This must be glibc/ELF. | |
10586 | 10644 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
10587 | version_type=linux | |
10645 | version_type=linux # correct to gnu/linux during the next big refactor | |
10588 | 10646 | need_lib_prefix=no |
10589 | 10647 | need_version=no |
10590 | 10648 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10670 | 10728 | ;; |
10671 | 10729 | |
10672 | 10730 | newsos6) |
10673 | version_type=linux | |
10731 | version_type=linux # correct to gnu/linux during the next big refactor | |
10674 | 10732 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10675 | 10733 | shlibpath_var=LD_LIBRARY_PATH |
10676 | 10734 | shlibpath_overrides_runpath=yes |
10739 | 10797 | ;; |
10740 | 10798 | |
10741 | 10799 | solaris*) |
10742 | version_type=linux | |
10800 | version_type=linux # correct to gnu/linux during the next big refactor | |
10743 | 10801 | need_lib_prefix=no |
10744 | 10802 | need_version=no |
10745 | 10803 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10764 | 10822 | ;; |
10765 | 10823 | |
10766 | 10824 | sysv4 | sysv4.3*) |
10767 | version_type=linux | |
10825 | version_type=linux # correct to gnu/linux during the next big refactor | |
10768 | 10826 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10769 | 10827 | soname_spec='${libname}${release}${shared_ext}$major' |
10770 | 10828 | shlibpath_var=LD_LIBRARY_PATH |
10788 | 10846 | |
10789 | 10847 | sysv4*MP*) |
10790 | 10848 | if test -d /usr/nec ;then |
10791 | version_type=linux | |
10849 | version_type=linux # correct to gnu/linux during the next big refactor | |
10792 | 10850 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
10793 | 10851 | soname_spec='$libname${shared_ext}.$major' |
10794 | 10852 | shlibpath_var=LD_LIBRARY_PATH |
10819 | 10877 | |
10820 | 10878 | tpf*) |
10821 | 10879 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
10822 | version_type=linux | |
10880 | version_type=linux # correct to gnu/linux during the next big refactor | |
10823 | 10881 | need_lib_prefix=no |
10824 | 10882 | need_version=no |
10825 | 10883 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10829 | 10887 | ;; |
10830 | 10888 | |
10831 | 10889 | uts4*) |
10832 | version_type=linux | |
10890 | version_type=linux # correct to gnu/linux during the next big refactor | |
10833 | 10891 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10834 | 10892 | soname_spec='${libname}${release}${shared_ext}$major' |
10835 | 10893 | shlibpath_var=LD_LIBRARY_PATH |
11611 | 11669 | |
11612 | 11670 | |
11613 | 11671 | |
11672 | ||
11673 | ||
11614 | 11674 | ac_config_commands="$ac_config_commands libtool" |
11615 | 11675 | |
11616 | 11676 | |
12660 | 12720 | # Put the nasty error message in config.log where it belongs |
12661 | 12721 | echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 |
12662 | 12722 | |
12663 | as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met: | |
12664 | ||
12665 | $GTKDOC_DEPS_PKG_ERRORS | |
12666 | ||
12667 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
12668 | installed software in a non-standard prefix. | |
12669 | ||
12670 | Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS | |
12671 | and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. | |
12672 | See the pkg-config man page for more details." "$LINENO" 5 | |
12723 | : | |
12673 | 12724 | elif test $pkg_failed = untried; then |
12674 | 12725 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12675 | 12726 | $as_echo "no" >&6; } |
12676 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
12677 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
12678 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it | |
12679 | is in your PATH or set the PKG_CONFIG environment variable to the full | |
12680 | path to pkg-config. | |
12681 | ||
12682 | Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS | |
12683 | and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. | |
12684 | See the pkg-config man page for more details. | |
12685 | ||
12686 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | |
12687 | See \`config.log' for more details" "$LINENO" 5; } | |
12727 | : | |
12688 | 12728 | else |
12689 | 12729 | GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS |
12690 | 12730 | GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS |
12717 | 12757 | |
12718 | 12758 | if test -z "$GTKDOC_MKPDF"; then |
12719 | 12759 | enable_gtk_doc_pdf=no |
12760 | fi | |
12761 | ||
12762 | if test -z "$AM_DEFAULT_VERBOSITY"; then | |
12763 | AM_DEFAULT_VERBOSITY=1 | |
12720 | 12764 | fi |
12721 | 12765 | |
12722 | 12766 | |
13326 | 13370 | # report actual input values of CONFIG_FILES etc. instead of their |
13327 | 13371 | # values after options handling. |
13328 | 13372 | ac_log=" |
13329 | This file was extended by Telepathy-Farstream $as_me 0.6.1, which was | |
13373 | This file was extended by Telepathy-Farstream $as_me 0.6.2, which was | |
13330 | 13374 | generated by GNU Autoconf 2.69. Invocation command line was |
13331 | 13375 | |
13332 | 13376 | CONFIG_FILES = $CONFIG_FILES |
13392 | 13436 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13393 | 13437 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
13394 | 13438 | ac_cs_version="\\ |
13395 | Telepathy-Farstream config.status 0.6.1 | |
13439 | Telepathy-Farstream config.status 0.6.2 | |
13396 | 13440 | configured by $0, generated by GNU Autoconf 2.69, |
13397 | 13441 | with options \\"\$ac_cs_config\\" |
13398 | 13442 | |
13529 | 13573 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
13530 | 13574 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
13531 | 13575 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
13576 | PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' | |
13532 | 13577 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
13533 | 13578 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
13534 | 13579 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
13611 | 13656 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
13612 | 13657 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
13613 | 13658 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
13614 | hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' | |
13615 | 13659 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
13616 | 13660 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
13617 | 13661 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
13667 | 13711 | # Quote evaled strings. |
13668 | 13712 | for var in SHELL \ |
13669 | 13713 | ECHO \ |
13714 | PATH_SEPARATOR \ | |
13670 | 13715 | SED \ |
13671 | 13716 | GREP \ |
13672 | 13717 | EGREP \ |
13717 | 13762 | allow_undefined_flag \ |
13718 | 13763 | no_undefined_flag \ |
13719 | 13764 | hardcode_libdir_flag_spec \ |
13720 | hardcode_libdir_flag_spec_ld \ | |
13721 | 13765 | hardcode_libdir_separator \ |
13722 | 13766 | exclude_expsyms \ |
13723 | 13767 | include_expsyms \ |
14520 | 14564 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
14521 | 14565 | # |
14522 | 14566 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
14523 | # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | |
14524 | # Inc. | |
14567 | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
14568 | # Foundation, Inc. | |
14525 | 14569 | # Written by Gordon Matzigkeit, 1996 |
14526 | 14570 | # |
14527 | 14571 | # This file is part of GNU Libtool. |
14575 | 14619 | # An echo program that protects backslashes. |
14576 | 14620 | ECHO=$lt_ECHO |
14577 | 14621 | |
14622 | # The PATH separator for the build system. | |
14623 | PATH_SEPARATOR=$lt_PATH_SEPARATOR | |
14624 | ||
14578 | 14625 | # The host system. |
14579 | 14626 | host_alias=$host_alias |
14580 | 14627 | host=$host |
14875 | 14922 | # Flag to hardcode \$libdir into a binary during linking. |
14876 | 14923 | # This must work even if \$libdir does not exist |
14877 | 14924 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
14878 | ||
14879 | # If ld is used when linking, flag to hardcode \$libdir into a binary | |
14880 | # during linking. This must work even if \$libdir does not exist. | |
14881 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | |
14882 | 14925 | |
14883 | 14926 | # Whether we need a single "-rpath" flag with a separated argument. |
14884 | 14927 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
8 | 8 | |
9 | 9 | m4_define([tp_farstream_major_version], [0]) |
10 | 10 | m4_define([tp_farstream_minor_version], [6]) |
11 | m4_define([tp_farstream_micro_version], [1]) | |
11 | m4_define([tp_farstream_micro_version], [2]) | |
12 | 12 | m4_define([tp_farstream_nano_version], [0]) |
13 | 13 | |
14 | 14 | dnl CURRENT, REVISION, AGE |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free | |
6 | # Software Foundation, Inc. | |
3 | scriptversion=2013-05-30.07; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
7 | 6 | |
8 | 7 | # This program is free software; you can redistribute it and/or modify |
9 | 8 | # it under the terms of the GNU General Public License as published by |
27 | 26 | |
28 | 27 | case $1 in |
29 | 28 | '') |
30 | echo "$0: No command. Try \`$0 --help' for more information." 1>&2 | |
31 | exit 1; | |
32 | ;; | |
29 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
30 | exit 1; | |
31 | ;; | |
33 | 32 | -h | --h*) |
34 | 33 | cat <<\EOF |
35 | 34 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] |
39 | 38 | |
40 | 39 | Environment variables: |
41 | 40 | depmode Dependency tracking mode. |
42 | source Source file read by `PROGRAMS ARGS'. | |
43 | object Object file output by `PROGRAMS ARGS'. | |
41 | source Source file read by 'PROGRAMS ARGS'. | |
42 | object Object file output by 'PROGRAMS ARGS'. | |
44 | 43 | DEPDIR directory where to store dependencies. |
45 | 44 | depfile Dependency file to output. |
46 | tmpdepfile Temporary file to use when outputing dependencies. | |
45 | tmpdepfile Temporary file to use when outputting dependencies. | |
47 | 46 | libtool Whether libtool is used (yes/no). |
48 | 47 | |
49 | 48 | Report bugs to <bug-automake@gnu.org>. |
56 | 55 | ;; |
57 | 56 | esac |
58 | 57 | |
58 | # Get the directory component of the given path, and save it in the | |
59 | # global variables '$dir'. Note that this directory component will | |
60 | # be either empty or ending with a '/' character. This is deliberate. | |
61 | set_dir_from () | |
62 | { | |
63 | case $1 in | |
64 | */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; | |
65 | *) dir=;; | |
66 | esac | |
67 | } | |
68 | ||
69 | # Get the suffix-stripped basename of the given path, and save it the | |
70 | # global variable '$base'. | |
71 | set_base_from () | |
72 | { | |
73 | base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` | |
74 | } | |
75 | ||
76 | # If no dependency file was actually created by the compiler invocation, | |
77 | # we still have to create a dummy depfile, to avoid errors with the | |
78 | # Makefile "include basename.Plo" scheme. | |
79 | make_dummy_depfile () | |
80 | { | |
81 | echo "#dummy" > "$depfile" | |
82 | } | |
83 | ||
84 | # Factor out some common post-processing of the generated depfile. | |
85 | # Requires the auxiliary global variable '$tmpdepfile' to be set. | |
86 | aix_post_process_depfile () | |
87 | { | |
88 | # If the compiler actually managed to produce a dependency file, | |
89 | # post-process it. | |
90 | if test -f "$tmpdepfile"; then | |
91 | # Each line is of the form 'foo.o: dependency.h'. | |
92 | # Do two passes, one to just change these to | |
93 | # $object: dependency.h | |
94 | # and one to simply output | |
95 | # dependency.h: | |
96 | # which is needed to avoid the deleted-header problem. | |
97 | { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" | |
98 | sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" | |
99 | } > "$depfile" | |
100 | rm -f "$tmpdepfile" | |
101 | else | |
102 | make_dummy_depfile | |
103 | fi | |
104 | } | |
105 | ||
106 | # A tabulation character. | |
107 | tab=' ' | |
108 | # A newline character. | |
109 | nl=' | |
110 | ' | |
111 | # Character ranges might be problematic outside the C locale. | |
112 | # These definitions help. | |
113 | upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
114 | lower=abcdefghijklmnopqrstuvwxyz | |
115 | digits=0123456789 | |
116 | alpha=${upper}${lower} | |
117 | ||
59 | 118 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
60 | 119 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
61 | 120 | exit 1 |
67 | 126 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} |
68 | 127 | |
69 | 128 | rm -f "$tmpdepfile" |
129 | ||
130 | # Avoid interferences from the environment. | |
131 | gccflag= dashmflag= | |
70 | 132 | |
71 | 133 | # Some modes work just like other modes, but use different flags. We |
72 | 134 | # parameterize here, but still list the modes in the big case below, |
79 | 141 | fi |
80 | 142 | |
81 | 143 | if test "$depmode" = dashXmstdout; then |
82 | # This is just like dashmstdout with a different argument. | |
83 | dashmflag=-xM | |
84 | depmode=dashmstdout | |
144 | # This is just like dashmstdout with a different argument. | |
145 | dashmflag=-xM | |
146 | depmode=dashmstdout | |
85 | 147 | fi |
86 | 148 | |
87 | 149 | cygpath_u="cygpath -u -f -" |
88 | 150 | if test "$depmode" = msvcmsys; then |
89 | # This is just like msvisualcpp but w/o cygpath translation. | |
90 | # Just convert the backslash-escaped backslashes to single forward | |
91 | # slashes to satisfy depend.m4 | |
92 | cygpath_u="sed s,\\\\\\\\,/,g" | |
93 | depmode=msvisualcpp | |
151 | # This is just like msvisualcpp but w/o cygpath translation. | |
152 | # Just convert the backslash-escaped backslashes to single forward | |
153 | # slashes to satisfy depend.m4 | |
154 | cygpath_u='sed s,\\\\,/,g' | |
155 | depmode=msvisualcpp | |
156 | fi | |
157 | ||
158 | if test "$depmode" = msvc7msys; then | |
159 | # This is just like msvc7 but w/o cygpath translation. | |
160 | # Just convert the backslash-escaped backslashes to single forward | |
161 | # slashes to satisfy depend.m4 | |
162 | cygpath_u='sed s,\\\\,/,g' | |
163 | depmode=msvc7 | |
164 | fi | |
165 | ||
166 | if test "$depmode" = xlc; then | |
167 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. | |
168 | gccflag=-qmakedep=gcc,-MF | |
169 | depmode=gcc | |
94 | 170 | fi |
95 | 171 | |
96 | 172 | case "$depmode" in |
113 | 189 | done |
114 | 190 | "$@" |
115 | 191 | stat=$? |
116 | if test $stat -eq 0; then : | |
117 | else | |
192 | if test $stat -ne 0; then | |
118 | 193 | rm -f "$tmpdepfile" |
119 | 194 | exit $stat |
120 | 195 | fi |
122 | 197 | ;; |
123 | 198 | |
124 | 199 | gcc) |
200 | ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. | |
201 | ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. | |
202 | ## (see the conditional assignment to $gccflag above). | |
125 | 203 | ## There are various ways to get dependency output from gcc. Here's |
126 | 204 | ## why we pick this rather obscure method: |
127 | 205 | ## - Don't want to use -MD because we'd like the dependencies to end |
128 | 206 | ## up in a subdir. Having to rename by hand is ugly. |
129 | 207 | ## (We might end up doing this anyway to support other compilers.) |
130 | 208 | ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like |
131 | ## -MM, not -M (despite what the docs say). | |
209 | ## -MM, not -M (despite what the docs say). Also, it might not be | |
210 | ## supported by the other compilers which use the 'gcc' depmode. | |
132 | 211 | ## - Using -M directly means running the compiler twice (even worse |
133 | 212 | ## than renaming). |
134 | 213 | if test -z "$gccflag"; then |
136 | 215 | fi |
137 | 216 | "$@" -Wp,"$gccflag$tmpdepfile" |
138 | 217 | stat=$? |
139 | if test $stat -eq 0; then : | |
140 | else | |
218 | if test $stat -ne 0; then | |
141 | 219 | rm -f "$tmpdepfile" |
142 | 220 | exit $stat |
143 | 221 | fi |
144 | 222 | rm -f "$depfile" |
145 | 223 | echo "$object : \\" > "$depfile" |
146 | alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz | |
147 | ## The second -e expression handles DOS-style file names with drive letters. | |
224 | # The second -e expression handles DOS-style file names with drive | |
225 | # letters. | |
148 | 226 | sed -e 's/^[^:]*: / /' \ |
149 | 227 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" |
150 | ## This next piece of magic avoids the `deleted header file' problem. | |
228 | ## This next piece of magic avoids the "deleted header file" problem. | |
151 | 229 | ## The problem is that when a header file which appears in a .P file |
152 | 230 | ## is deleted, the dependency causes make to die (because there is |
153 | 231 | ## typically no way to rebuild the header). We avoid this by adding |
154 | 232 | ## dummy dependencies for each header file. Too bad gcc doesn't do |
155 | 233 | ## this for us directly. |
156 | tr ' ' ' | |
157 | ' < "$tmpdepfile" | | |
158 | ## Some versions of gcc put a space before the `:'. On the theory | |
234 | ## Some versions of gcc put a space before the ':'. On the theory | |
159 | 235 | ## that the space means something, we add a space to the output as |
160 | ## well. | |
236 | ## well. hp depmode also adds that space, but also prefixes the VPATH | |
237 | ## to the object. Take care to not repeat it in the output. | |
161 | 238 | ## Some versions of the HPUX 10.20 sed can't process this invocation |
162 | 239 | ## correctly. Breaking it into two sed invocations is a workaround. |
163 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
240 | tr ' ' "$nl" < "$tmpdepfile" \ | |
241 | | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | |
242 | | sed -e 's/$/ :/' >> "$depfile" | |
164 | 243 | rm -f "$tmpdepfile" |
165 | 244 | ;; |
166 | 245 | |
178 | 257 | "$@" -MDupdate "$tmpdepfile" |
179 | 258 | fi |
180 | 259 | stat=$? |
181 | if test $stat -eq 0; then : | |
182 | else | |
260 | if test $stat -ne 0; then | |
183 | 261 | rm -f "$tmpdepfile" |
184 | 262 | exit $stat |
185 | 263 | fi |
187 | 265 | |
188 | 266 | if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files |
189 | 267 | echo "$object : \\" > "$depfile" |
190 | ||
191 | 268 | # Clip off the initial element (the dependent). Don't try to be |
192 | 269 | # clever and replace this with sed code, as IRIX sed won't handle |
193 | 270 | # lines with more than a fixed number of characters (4096 in |
194 | 271 | # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; |
195 | # the IRIX cc adds comments like `#:fec' to the end of the | |
272 | # the IRIX cc adds comments like '#:fec' to the end of the | |
196 | 273 | # dependency line. |
197 | tr ' ' ' | |
198 | ' < "$tmpdepfile" \ | |
199 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ | |
200 | tr ' | |
201 | ' ' ' >> "$depfile" | |
274 | tr ' ' "$nl" < "$tmpdepfile" \ | |
275 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | |
276 | | tr "$nl" ' ' >> "$depfile" | |
202 | 277 | echo >> "$depfile" |
203 | ||
204 | 278 | # The second pass generates a dummy entry for each header file. |
205 | tr ' ' ' | |
206 | ' < "$tmpdepfile" \ | |
207 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | |
208 | >> "$depfile" | |
279 | tr ' ' "$nl" < "$tmpdepfile" \ | |
280 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | |
281 | >> "$depfile" | |
209 | 282 | else |
210 | # The sourcefile does not contain any dependencies, so just | |
211 | # store a dummy comment line, to avoid errors with the Makefile | |
212 | # "include basename.Plo" scheme. | |
213 | echo "#dummy" > "$depfile" | |
283 | make_dummy_depfile | |
214 | 284 | fi |
215 | 285 | rm -f "$tmpdepfile" |
286 | ;; | |
287 | ||
288 | xlc) | |
289 | # This case exists only to let depend.m4 do its work. It works by | |
290 | # looking at the text of this script. This case will never be run, | |
291 | # since it is checked for above. | |
292 | exit 1 | |
216 | 293 | ;; |
217 | 294 | |
218 | 295 | aix) |
219 | 296 | # The C for AIX Compiler uses -M and outputs the dependencies |
220 | 297 | # in a .u file. In older versions, this file always lives in the |
221 | # current directory. Also, the AIX compiler puts `$object:' at the | |
298 | # current directory. Also, the AIX compiler puts '$object:' at the | |
222 | 299 | # start of each line; $object doesn't have directory information. |
223 | 300 | # Version 6 uses the directory in both cases. |
224 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
225 | test "x$dir" = "x$object" && dir= | |
226 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
301 | set_dir_from "$object" | |
302 | set_base_from "$object" | |
227 | 303 | if test "$libtool" = yes; then |
228 | 304 | tmpdepfile1=$dir$base.u |
229 | 305 | tmpdepfile2=$base.u |
236 | 312 | "$@" -M |
237 | 313 | fi |
238 | 314 | stat=$? |
239 | ||
240 | if test $stat -eq 0; then : | |
241 | else | |
315 | if test $stat -ne 0; then | |
242 | 316 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
243 | 317 | exit $stat |
244 | 318 | fi |
247 | 321 | do |
248 | 322 | test -f "$tmpdepfile" && break |
249 | 323 | done |
250 | if test -f "$tmpdepfile"; then | |
251 | # Each line is of the form `foo.o: dependent.h'. | |
252 | # Do two passes, one to just change these to | |
253 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
254 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
255 | # That's a tab and a space in the []. | |
256 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
257 | else | |
258 | # The sourcefile does not contain any dependencies, so just | |
259 | # store a dummy comment line, to avoid errors with the Makefile | |
260 | # "include basename.Plo" scheme. | |
261 | echo "#dummy" > "$depfile" | |
262 | fi | |
324 | aix_post_process_depfile | |
325 | ;; | |
326 | ||
327 | tcc) | |
328 | # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 | |
329 | # FIXME: That version still under development at the moment of writing. | |
330 | # Make that this statement remains true also for stable, released | |
331 | # versions. | |
332 | # It will wrap lines (doesn't matter whether long or short) with a | |
333 | # trailing '\', as in: | |
334 | # | |
335 | # foo.o : \ | |
336 | # foo.c \ | |
337 | # foo.h \ | |
338 | # | |
339 | # It will put a trailing '\' even on the last line, and will use leading | |
340 | # spaces rather than leading tabs (at least since its commit 0394caf7 | |
341 | # "Emit spaces for -MD"). | |
342 | "$@" -MD -MF "$tmpdepfile" | |
343 | stat=$? | |
344 | if test $stat -ne 0; then | |
345 | rm -f "$tmpdepfile" | |
346 | exit $stat | |
347 | fi | |
348 | rm -f "$depfile" | |
349 | # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. | |
350 | # We have to change lines of the first kind to '$object: \'. | |
351 | sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" | |
352 | # And for each line of the second kind, we have to emit a 'dep.h:' | |
353 | # dummy dependency, to avoid the deleted-header problem. | |
354 | sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" | |
263 | 355 | rm -f "$tmpdepfile" |
264 | 356 | ;; |
265 | 357 | |
266 | icc) | |
267 | # Intel's C compiler understands `-MD -MF file'. However on | |
268 | # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c | |
269 | # ICC 7.0 will fill foo.d with something like | |
270 | # foo.o: sub/foo.c | |
271 | # foo.o: sub/foo.h | |
272 | # which is wrong. We want: | |
273 | # sub/foo.o: sub/foo.c | |
274 | # sub/foo.o: sub/foo.h | |
275 | # sub/foo.c: | |
276 | # sub/foo.h: | |
277 | # ICC 7.1 will output | |
358 | ## The order of this option in the case statement is important, since the | |
359 | ## shell code in configure will try each of these formats in the order | |
360 | ## listed in this file. A plain '-MD' option would be understood by many | |
361 | ## compilers, so we must ensure this comes after the gcc and icc options. | |
362 | pgcc) | |
363 | # Portland's C compiler understands '-MD'. | |
364 | # Will always output deps to 'file.d' where file is the root name of the | |
365 | # source file under compilation, even if file resides in a subdirectory. | |
366 | # The object file name does not affect the name of the '.d' file. | |
367 | # pgcc 10.2 will output | |
278 | 368 | # foo.o: sub/foo.c sub/foo.h |
279 | # and will wrap long lines using \ : | |
369 | # and will wrap long lines using '\' : | |
280 | 370 | # foo.o: sub/foo.c ... \ |
281 | 371 | # sub/foo.h ... \ |
282 | 372 | # ... |
283 | ||
284 | "$@" -MD -MF "$tmpdepfile" | |
285 | stat=$? | |
286 | if test $stat -eq 0; then : | |
287 | else | |
373 | set_dir_from "$object" | |
374 | # Use the source, not the object, to determine the base name, since | |
375 | # that's sadly what pgcc will do too. | |
376 | set_base_from "$source" | |
377 | tmpdepfile=$base.d | |
378 | ||
379 | # For projects that build the same source file twice into different object | |
380 | # files, the pgcc approach of using the *source* file root name can cause | |
381 | # problems in parallel builds. Use a locking strategy to avoid stomping on | |
382 | # the same $tmpdepfile. | |
383 | lockdir=$base.d-lock | |
384 | trap " | |
385 | echo '$0: caught signal, cleaning up...' >&2 | |
386 | rmdir '$lockdir' | |
387 | exit 1 | |
388 | " 1 2 13 15 | |
389 | numtries=100 | |
390 | i=$numtries | |
391 | while test $i -gt 0; do | |
392 | # mkdir is a portable test-and-set. | |
393 | if mkdir "$lockdir" 2>/dev/null; then | |
394 | # This process acquired the lock. | |
395 | "$@" -MD | |
396 | stat=$? | |
397 | # Release the lock. | |
398 | rmdir "$lockdir" | |
399 | break | |
400 | else | |
401 | # If the lock is being held by a different process, wait | |
402 | # until the winning process is done or we timeout. | |
403 | while test -d "$lockdir" && test $i -gt 0; do | |
404 | sleep 1 | |
405 | i=`expr $i - 1` | |
406 | done | |
407 | fi | |
408 | i=`expr $i - 1` | |
409 | done | |
410 | trap - 1 2 13 15 | |
411 | if test $i -le 0; then | |
412 | echo "$0: failed to acquire lock after $numtries attempts" >&2 | |
413 | echo "$0: check lockdir '$lockdir'" >&2 | |
414 | exit 1 | |
415 | fi | |
416 | ||
417 | if test $stat -ne 0; then | |
288 | 418 | rm -f "$tmpdepfile" |
289 | 419 | exit $stat |
290 | 420 | fi |
296 | 426 | sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" |
297 | 427 | # Some versions of the HPUX 10.20 sed can't process this invocation |
298 | 428 | # correctly. Breaking it into two sed invocations is a workaround. |
299 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | | |
300 | sed -e 's/$/ :/' >> "$depfile" | |
429 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | |
430 | | sed -e 's/$/ :/' >> "$depfile" | |
301 | 431 | rm -f "$tmpdepfile" |
302 | 432 | ;; |
303 | 433 | |
308 | 438 | # 'foo.d', which lands next to the object file, wherever that |
309 | 439 | # happens to be. |
310 | 440 | # Much of this is similar to the tru64 case; see comments there. |
311 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
312 | test "x$dir" = "x$object" && dir= | |
313 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
441 | set_dir_from "$object" | |
442 | set_base_from "$object" | |
314 | 443 | if test "$libtool" = yes; then |
315 | 444 | tmpdepfile1=$dir$base.d |
316 | 445 | tmpdepfile2=$dir.libs/$base.d |
321 | 450 | "$@" +Maked |
322 | 451 | fi |
323 | 452 | stat=$? |
324 | if test $stat -eq 0; then : | |
325 | else | |
453 | if test $stat -ne 0; then | |
326 | 454 | rm -f "$tmpdepfile1" "$tmpdepfile2" |
327 | 455 | exit $stat |
328 | 456 | fi |
332 | 460 | test -f "$tmpdepfile" && break |
333 | 461 | done |
334 | 462 | if test -f "$tmpdepfile"; then |
335 | sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" | |
336 | # Add `dependent.h:' lines. | |
463 | sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" | |
464 | # Add 'dependent.h:' lines. | |
337 | 465 | sed -ne '2,${ |
338 | s/^ *// | |
339 | s/ \\*$// | |
340 | s/$/:/ | |
341 | p | |
342 | }' "$tmpdepfile" >> "$depfile" | |
466 | s/^ *// | |
467 | s/ \\*$// | |
468 | s/$/:/ | |
469 | p | |
470 | }' "$tmpdepfile" >> "$depfile" | |
343 | 471 | else |
344 | echo "#dummy" > "$depfile" | |
472 | make_dummy_depfile | |
345 | 473 | fi |
346 | 474 | rm -f "$tmpdepfile" "$tmpdepfile2" |
347 | 475 | ;; |
348 | 476 | |
349 | 477 | tru64) |
350 | # The Tru64 compiler uses -MD to generate dependencies as a side | |
351 | # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. | |
352 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | |
353 | # dependencies in `foo.d' instead, so we check for that too. | |
354 | # Subdirectories are respected. | |
355 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
356 | test "x$dir" = "x$object" && dir= | |
357 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
358 | ||
359 | if test "$libtool" = yes; then | |
360 | # With Tru64 cc, shared objects can also be used to make a | |
361 | # static library. This mechanism is used in libtool 1.4 series to | |
362 | # handle both shared and static libraries in a single compilation. | |
363 | # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. | |
364 | # | |
365 | # With libtool 1.5 this exception was removed, and libtool now | |
366 | # generates 2 separate objects for the 2 libraries. These two | |
367 | # compilations output dependencies in $dir.libs/$base.o.d and | |
368 | # in $dir$base.o.d. We have to check for both files, because | |
369 | # one of the two compilations can be disabled. We should prefer | |
370 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
371 | # automatically cleaned when .libs/ is deleted, while ignoring | |
372 | # the former would cause a distcleancheck panic. | |
373 | tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 | |
374 | tmpdepfile2=$dir$base.o.d # libtool 1.5 | |
375 | tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 | |
376 | tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
377 | "$@" -Wc,-MD | |
378 | else | |
379 | tmpdepfile1=$dir$base.o.d | |
380 | tmpdepfile2=$dir$base.d | |
381 | tmpdepfile3=$dir$base.d | |
382 | tmpdepfile4=$dir$base.d | |
383 | "$@" -MD | |
384 | fi | |
385 | ||
386 | stat=$? | |
387 | if test $stat -eq 0; then : | |
388 | else | |
389 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
390 | exit $stat | |
391 | fi | |
392 | ||
393 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
394 | do | |
395 | test -f "$tmpdepfile" && break | |
396 | done | |
397 | if test -f "$tmpdepfile"; then | |
398 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
399 | # That's a tab and a space in the []. | |
400 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
401 | else | |
402 | echo "#dummy" > "$depfile" | |
403 | fi | |
404 | rm -f "$tmpdepfile" | |
405 | ;; | |
478 | # The Tru64 compiler uses -MD to generate dependencies as a side | |
479 | # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. | |
480 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | |
481 | # dependencies in 'foo.d' instead, so we check for that too. | |
482 | # Subdirectories are respected. | |
483 | set_dir_from "$object" | |
484 | set_base_from "$object" | |
485 | ||
486 | if test "$libtool" = yes; then | |
487 | # Libtool generates 2 separate objects for the 2 libraries. These | |
488 | # two compilations output dependencies in $dir.libs/$base.o.d and | |
489 | # in $dir$base.o.d. We have to check for both files, because | |
490 | # one of the two compilations can be disabled. We should prefer | |
491 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
492 | # automatically cleaned when .libs/ is deleted, while ignoring | |
493 | # the former would cause a distcleancheck panic. | |
494 | tmpdepfile1=$dir$base.o.d # libtool 1.5 | |
495 | tmpdepfile2=$dir.libs/$base.o.d # Likewise. | |
496 | tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
497 | "$@" -Wc,-MD | |
498 | else | |
499 | tmpdepfile1=$dir$base.d | |
500 | tmpdepfile2=$dir$base.d | |
501 | tmpdepfile3=$dir$base.d | |
502 | "$@" -MD | |
503 | fi | |
504 | ||
505 | stat=$? | |
506 | if test $stat -ne 0; then | |
507 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
508 | exit $stat | |
509 | fi | |
510 | ||
511 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
512 | do | |
513 | test -f "$tmpdepfile" && break | |
514 | done | |
515 | # Same post-processing that is required for AIX mode. | |
516 | aix_post_process_depfile | |
517 | ;; | |
518 | ||
519 | msvc7) | |
520 | if test "$libtool" = yes; then | |
521 | showIncludes=-Wc,-showIncludes | |
522 | else | |
523 | showIncludes=-showIncludes | |
524 | fi | |
525 | "$@" $showIncludes > "$tmpdepfile" | |
526 | stat=$? | |
527 | grep -v '^Note: including file: ' "$tmpdepfile" | |
528 | if test $stat -ne 0; then | |
529 | rm -f "$tmpdepfile" | |
530 | exit $stat | |
531 | fi | |
532 | rm -f "$depfile" | |
533 | echo "$object : \\" > "$depfile" | |
534 | # The first sed program below extracts the file names and escapes | |
535 | # backslashes for cygpath. The second sed program outputs the file | |
536 | # name when reading, but also accumulates all include files in the | |
537 | # hold buffer in order to output them again at the end. This only | |
538 | # works with sed implementations that can handle large buffers. | |
539 | sed < "$tmpdepfile" -n ' | |
540 | /^Note: including file: *\(.*\)/ { | |
541 | s//\1/ | |
542 | s/\\/\\\\/g | |
543 | p | |
544 | }' | $cygpath_u | sort -u | sed -n ' | |
545 | s/ /\\ /g | |
546 | s/\(.*\)/'"$tab"'\1 \\/p | |
547 | s/.\(.*\) \\/\1:/ | |
548 | H | |
549 | $ { | |
550 | s/.*/'"$tab"'/ | |
551 | G | |
552 | p | |
553 | }' >> "$depfile" | |
554 | echo >> "$depfile" # make sure the fragment doesn't end with a backslash | |
555 | rm -f "$tmpdepfile" | |
556 | ;; | |
557 | ||
558 | msvc7msys) | |
559 | # This case exists only to let depend.m4 do its work. It works by | |
560 | # looking at the text of this script. This case will never be run, | |
561 | # since it is checked for above. | |
562 | exit 1 | |
563 | ;; | |
406 | 564 | |
407 | 565 | #nosideeffect) |
408 | 566 | # This comment above is used by automake to tell side-effect |
421 | 579 | shift |
422 | 580 | fi |
423 | 581 | |
424 | # Remove `-o $object'. | |
582 | # Remove '-o $object'. | |
425 | 583 | IFS=" " |
426 | 584 | for arg |
427 | 585 | do |
441 | 599 | done |
442 | 600 | |
443 | 601 | test -z "$dashmflag" && dashmflag=-M |
444 | # Require at least two characters before searching for `:' | |
602 | # Require at least two characters before searching for ':' | |
445 | 603 | # in the target name. This is to cope with DOS-style filenames: |
446 | # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. | |
604 | # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. | |
447 | 605 | "$@" $dashmflag | |
448 | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" | |
606 | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" | |
449 | 607 | rm -f "$depfile" |
450 | 608 | cat < "$tmpdepfile" > "$depfile" |
451 | tr ' ' ' | |
452 | ' < "$tmpdepfile" | \ | |
453 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
454 | ## correctly. Breaking it into two sed invocations is a workaround. | |
455 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
609 | # Some versions of the HPUX 10.20 sed can't process this sed invocation | |
610 | # correctly. Breaking it into two sed invocations is a workaround. | |
611 | tr ' ' "$nl" < "$tmpdepfile" \ | |
612 | | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | |
613 | | sed -e 's/$/ :/' >> "$depfile" | |
456 | 614 | rm -f "$tmpdepfile" |
457 | 615 | ;; |
458 | 616 | |
502 | 660 | touch "$tmpdepfile" |
503 | 661 | ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" |
504 | 662 | rm -f "$depfile" |
505 | cat < "$tmpdepfile" > "$depfile" | |
506 | sed '1,2d' "$tmpdepfile" | tr ' ' ' | |
507 | ' | \ | |
508 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
509 | ## correctly. Breaking it into two sed invocations is a workaround. | |
510 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
663 | # makedepend may prepend the VPATH from the source file name to the object. | |
664 | # No need to regex-escape $object, excess matching of '.' is harmless. | |
665 | sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" | |
666 | # Some versions of the HPUX 10.20 sed can't process the last invocation | |
667 | # correctly. Breaking it into two sed invocations is a workaround. | |
668 | sed '1,2d' "$tmpdepfile" \ | |
669 | | tr ' ' "$nl" \ | |
670 | | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | |
671 | | sed -e 's/$/ :/' >> "$depfile" | |
511 | 672 | rm -f "$tmpdepfile" "$tmpdepfile".bak |
512 | 673 | ;; |
513 | 674 | |
524 | 685 | shift |
525 | 686 | fi |
526 | 687 | |
527 | # Remove `-o $object'. | |
688 | # Remove '-o $object'. | |
528 | 689 | IFS=" " |
529 | 690 | for arg |
530 | 691 | do |
543 | 704 | esac |
544 | 705 | done |
545 | 706 | |
546 | "$@" -E | | |
547 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
548 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | | |
549 | sed '$ s: \\$::' > "$tmpdepfile" | |
707 | "$@" -E \ | |
708 | | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
709 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
710 | | sed '$ s: \\$::' > "$tmpdepfile" | |
550 | 711 | rm -f "$depfile" |
551 | 712 | echo "$object : \\" > "$depfile" |
552 | 713 | cat < "$tmpdepfile" >> "$depfile" |
578 | 739 | shift |
579 | 740 | ;; |
580 | 741 | "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") |
581 | set fnord "$@" | |
582 | shift | |
583 | shift | |
584 | ;; | |
742 | set fnord "$@" | |
743 | shift | |
744 | shift | |
745 | ;; | |
585 | 746 | *) |
586 | set fnord "$@" "$arg" | |
587 | shift | |
588 | shift | |
589 | ;; | |
747 | set fnord "$@" "$arg" | |
748 | shift | |
749 | shift | |
750 | ;; | |
590 | 751 | esac |
591 | 752 | done |
592 | 753 | "$@" -E 2>/dev/null | |
593 | 754 | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" |
594 | 755 | rm -f "$depfile" |
595 | 756 | echo "$object : \\" > "$depfile" |
596 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" | |
597 | echo " " >> "$depfile" | |
757 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" | |
758 | echo "$tab" >> "$depfile" | |
598 | 759 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" |
599 | 760 | rm -f "$tmpdepfile" |
600 | 761 | ;; |
392 | 392 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp |
393 | 393 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = |
394 | 394 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp |
395 | ||
396 | #### setup #### | |
397 | GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V)) | |
398 | GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY)) | |
399 | GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build"; | |
400 | ||
401 | #### scan #### | |
402 | GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V)) | |
403 | GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY)) | |
404 | GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files"; | |
405 | GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V)) | |
406 | GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY)) | |
407 | GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects"; | |
408 | ||
409 | #### xml #### | |
410 | GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V)) | |
411 | GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY)) | |
412 | GTK_DOC_V_XML_0 = @echo " DOC Building XML"; | |
413 | ||
414 | #### html #### | |
415 | GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V)) | |
416 | GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY)) | |
417 | GTK_DOC_V_HTML_0 = @echo " DOC Building HTML"; | |
418 | GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V)) | |
419 | GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY)) | |
420 | GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; | |
421 | ||
422 | #### pdf #### | |
423 | GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V)) | |
424 | GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY)) | |
425 | GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; | |
395 | 426 | all: all-am |
396 | 427 | |
397 | 428 | .SUFFIXES: |
600 | 631 | |
601 | 632 | $(REPORT_FILES): sgml-build.stamp |
602 | 633 | |
603 | #### setup #### | |
604 | ||
605 | 634 | setup-build.stamp: |
606 | -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ | |
607 | echo ' DOC Preparing build'; \ | |
635 | -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ | |
608 | 636 | files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ |
609 | 637 | if test "x$$files" != "x" ; then \ |
610 | 638 | for file in $$files ; do \ |
611 | 639 | test -f $(abs_srcdir)/$$file && \ |
612 | cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \ | |
640 | cp -pu $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ | |
613 | 641 | done; \ |
614 | 642 | fi; \ |
615 | 643 | fi |
616 | @touch setup-build.stamp | |
617 | ||
618 | #### scan #### | |
644 | $(AM_V_at)touch setup-build.stamp | |
619 | 645 | |
620 | 646 | scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) |
621 | @echo ' DOC Scanning header files' | |
622 | @_source_dir='' ; \ | |
647 | $(GTK_DOC_V_SCAN)_source_dir='' ; \ | |
623 | 648 | for i in $(DOC_SOURCE_DIR) ; do \ |
624 | 649 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ |
625 | 650 | done ; \ |
626 | 651 | gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) |
627 | @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ | |
628 | echo " DOC Introspecting gobjects"; \ | |
652 | $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ | |
629 | 653 | scanobj_options=""; \ |
630 | 654 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
631 | 655 | if test "$(?)" = "0"; then \ |
640 | 664 | test -f $$i || touch $$i ; \ |
641 | 665 | done \ |
642 | 666 | fi |
643 | @touch scan-build.stamp | |
667 | $(AM_V_at)touch scan-build.stamp | |
644 | 668 | |
645 | 669 | $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp |
646 | 670 | @true |
647 | 671 | |
648 | #### xml #### | |
649 | ||
650 | 672 | sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) |
651 | @echo ' DOC Building XML' | |
652 | @_source_dir='' ; \ | |
673 | $(GTK_DOC_V_XML)_source_dir='' ; \ | |
653 | 674 | for i in $(DOC_SOURCE_DIR) ; do \ |
654 | 675 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ |
655 | 676 | done ; \ |
656 | 677 | gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) |
657 | @touch sgml-build.stamp | |
678 | $(AM_V_at)touch sgml-build.stamp | |
658 | 679 | |
659 | 680 | sgml.stamp: sgml-build.stamp |
660 | 681 | @true |
661 | 682 | |
662 | #### html #### | |
663 | ||
664 | 683 | html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) |
665 | @echo ' DOC Building HTML' | |
666 | @rm -rf html | |
667 | @mkdir html | |
668 | @mkhtml_options=""; \ | |
684 | $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ | |
685 | mkhtml_options=""; \ | |
669 | 686 | gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
670 | 687 | if test "$(?)" = "0"; then \ |
671 | 688 | if test "x$(V)" = "x1"; then \ |
686 | 703 | cp $(abs_builddir)/$$file $(abs_builddir)/html; \ |
687 | 704 | fi; \ |
688 | 705 | done; |
689 | @echo ' DOC Fixing cross-references' | |
690 | @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | |
691 | @touch html-build.stamp | |
692 | ||
693 | #### pdf #### | |
706 | $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | |
707 | $(AM_V_at)touch html-build.stamp | |
694 | 708 | |
695 | 709 | pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) |
696 | @echo ' DOC Building PDF' | |
697 | @rm -f $(DOC_MODULE).pdf | |
698 | @mkpdf_options=""; \ | |
710 | $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ | |
711 | mkpdf_options=""; \ | |
699 | 712 | gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
700 | 713 | if test "$(?)" = "0"; then \ |
701 | 714 | if test "x$(V)" = "x1"; then \ |
712 | 725 | done; \ |
713 | 726 | fi; \ |
714 | 727 | gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) |
715 | @touch pdf-build.stamp | |
728 | $(AM_V_at)touch pdf-build.stamp | |
716 | 729 | |
717 | 730 | ############## |
718 | 731 | |
727 | 740 | rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ |
728 | 741 | fi |
729 | 742 | |
730 | maintainer-clean-local: clean | |
743 | maintainer-clean-local: | |
731 | 744 | @rm -rf xml html |
732 | 745 | |
733 | 746 | install-data-local: |
763 | 776 | # |
764 | 777 | # Require gtk-doc when making dist |
765 | 778 | # |
766 | @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: | |
779 | @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: docs | |
767 | 780 | @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: |
768 | 781 | @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" |
769 | 782 | @ENABLE_GTK_DOC_FALSE@ @false |
46 | 46 | <div class="refsynopsisdiv"> |
47 | 47 | <a name="TfChannel.synopsis"></a><h2>Synopsis</h2> |
48 | 48 | <pre class="synopsis"> <a class="link" href="TfChannel.html#TfChannel-struct" title="TfChannel">TfChannel</a>; |
49 | <span class="returnvalue">void</span> <a class="link" href="TfChannel.html#tf-channel-new-async" title="tf_channel_new_async ()">tf_channel_new_async</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *channel_proxy</code></em>, | |
50 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
51 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
52 | <a class="link" href="TfChannel.html" title="TfChannel"><span class="returnvalue">TfChannel</span></a> * <a class="link" href="TfChannel.html#tf-channel-new-finish" title="tf_channel_new_finish ()">tf_channel_new_finish</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, | |
53 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
54 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
55 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="TfChannel.html#tf-channel-bus-message" title="tf_channel_bus_message ()">tf_channel_bus_message</a> (<em class="parameter"><code><a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *channel</code></em>, | |
56 | <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessage</span></a> *message</code></em>); | |
49 | <span class="returnvalue">void</span> <a class="link" href="TfChannel.html#tf-channel-new-async" title="tf_channel_new_async ()">tf_channel_new_async</a> (<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.22.x/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *channel_proxy</code></em>, | |
50 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
51 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); | |
52 | <a class="link" href="TfChannel.html" title="TfChannel"><span class="returnvalue">TfChannel</span></a> * <a class="link" href="TfChannel.html#tf-channel-new-finish" title="tf_channel_new_finish ()">tf_channel_new_finish</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, | |
53 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
54 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>); | |
55 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="TfChannel.html#tf-channel-bus-message" title="tf_channel_bus_message ()">tf_channel_bus_message</a> (<em class="parameter"><code><a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *channel</code></em>, | |
56 | <em class="parameter"><code><a href="../gstreamer-0.10/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessage</span></a> *message</code></em>); | |
57 | 57 | </pre> |
58 | 58 | </div> |
59 | 59 | <div class="refsect1"> |
60 | 60 | <a name="TfChannel.object-hierarchy"></a><h2>Object Hierarchy</h2> |
61 | 61 | <pre class="synopsis"> |
62 | <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
62 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
63 | 63 | +----TfChannel |
64 | 64 | </pre> |
65 | 65 | </div> |
67 | 67 | <a name="TfChannel.implemented-interfaces"></a><h2>Implemented Interfaces</h2> |
68 | 68 | <p> |
69 | 69 | TfChannel implements |
70 | <a href="/usr/share/gtk-doc/html/gio/GAsyncInitable.html">GAsyncInitable</a>.</p> | |
70 | <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a>.</p> | |
71 | 71 | </div> |
72 | 72 | <div class="refsect1"> |
73 | 73 | <a name="TfChannel.properties"></a><h2>Properties</h2> |
74 | 74 | <pre class="synopsis"> |
75 | "<a class="link" href="TfChannel.html#TfChannel--channel" title='The "channel" property'>channel</a>" <a href="/usr/share/gtk-doc/html/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>* : Read / Write / Construct Only | |
76 | "<a class="link" href="TfChannel.html#TfChannel--fs-conferences" title='The "fs-conferences" property'>fs-conferences</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read | |
77 | "<a class="link" href="TfChannel.html#TfChannel--object-path" title='The "object-path" property'>object-path</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read | |
75 | "<a class="link" href="TfChannel.html#TfChannel--channel" title='The "channel" property'>channel</a>" <a href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.22.x/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>* : Read / Write / Construct Only | |
76 | "<a class="link" href="TfChannel.html#TfChannel--fs-conferences" title='The "fs-conferences" property'>fs-conferences</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read | |
77 | "<a class="link" href="TfChannel.html#TfChannel--object-path" title='The "object-path" property'>object-path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read | |
78 | 78 | </pre> |
79 | 79 | </div> |
80 | 80 | <div class="refsect1"> |
81 | 81 | <a name="TfChannel.signals"></a><h2>Signals</h2> |
82 | 82 | <pre class="synopsis"> |
83 | "<a class="link" href="TfChannel.html#TfChannel-closed" title='The "closed" signal'>closed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
84 | "<a class="link" href="TfChannel.html#TfChannel-content-added" title='The "content-added" signal'>content-added</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
85 | "<a class="link" href="TfChannel.html#TfChannel-content-removed" title='The "content-removed" signal'>content-removed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
86 | "<a class="link" href="TfChannel.html#TfChannel-fs-conference-added" title='The "fs-conference-added" signal'>fs-conference-added</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
87 | "<a class="link" href="TfChannel.html#TfChannel-fs-conference-removed" title='The "fs-conference-removed" signal'>fs-conference-removed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
83 | "<a class="link" href="TfChannel.html#TfChannel-closed" title='The "closed" signal'>closed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
84 | "<a class="link" href="TfChannel.html#TfChannel-content-added" title='The "content-added" signal'>content-added</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
85 | "<a class="link" href="TfChannel.html#TfChannel-content-removed" title='The "content-removed" signal'>content-removed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
86 | "<a class="link" href="TfChannel.html#TfChannel-fs-conference-added" title='The "fs-conference-added" signal'>fs-conference-added</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
87 | "<a class="link" href="TfChannel.html#TfChannel-fs-conference-removed" title='The "fs-conference-removed" signal'>fs-conference-removed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
88 | 88 | </pre> |
89 | 89 | </div> |
90 | 90 | <div class="refsect1"> |
108 | 108 | <hr> |
109 | 109 | <div class="refsect2"> |
110 | 110 | <a name="tf-channel-new-async"></a><h3>tf_channel_new_async ()</h3> |
111 | <pre class="programlisting"><span class="returnvalue">void</span> tf_channel_new_async (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *channel_proxy</code></em>, | |
112 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
113 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
111 | <pre class="programlisting"><span class="returnvalue">void</span> tf_channel_new_async (<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.22.x/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *channel_proxy</code></em>, | |
112 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>, | |
113 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> | |
114 | 114 | <p> |
115 | 115 | Creates a new <a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> from an existing channel proxy, the new |
116 | 116 | TfChannel object will be return in the async callback. |
127 | 127 | <tbody> |
128 | 128 | <tr> |
129 | 129 | <td><p><span class="term"><em class="parameter"><code>channel_proxy</code></em>Â :</span></p></td> |
130 | <td>a <a href="/usr/share/gtk-doc/html/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> proxy</td> | |
130 | <td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.22.x/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> proxy</td> | |
131 | 131 | </tr> |
132 | 132 | <tr> |
133 | 133 | <td><p><span class="term"><em class="parameter"><code>callback</code></em>Â :</span></p></td> |
134 | <td>a <a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the channel is ready</td> | |
134 | <td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the channel is ready</td> | |
135 | 135 | </tr> |
136 | 136 | <tr> |
137 | 137 | <td><p><span class="term"><em class="parameter"><code>user_data</code></em>Â :</span></p></td> |
143 | 143 | <hr> |
144 | 144 | <div class="refsect2"> |
145 | 145 | <a name="tf-channel-new-finish"></a><h3>tf_channel_new_finish ()</h3> |
146 | <pre class="programlisting"><a class="link" href="TfChannel.html" title="TfChannel"><span class="returnvalue">TfChannel</span></a> * tf_channel_new_finish (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, | |
147 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
148 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
146 | <pre class="programlisting"><a class="link" href="TfChannel.html" title="TfChannel"><span class="returnvalue">TfChannel</span></a> * tf_channel_new_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, | |
147 | <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>, | |
148 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> | |
149 | 149 | <p> |
150 | 150 | Completes the construction of a TfChannel. |
151 | 151 | </p> |
157 | 157 | <tbody> |
158 | 158 | <tr> |
159 | 159 | <td><p><span class="term"><em class="parameter"><code>object</code></em>Â :</span></p></td> |
160 | <td>The <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> | |
160 | <td>The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> | |
161 | 161 | </td> |
162 | 162 | </tr> |
163 | 163 | <tr> |
164 | 164 | <td><p><span class="term"><em class="parameter"><code>result</code></em>Â :</span></p></td> |
165 | <td>a <a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> | |
165 | <td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> | |
166 | 166 | </td> |
167 | 167 | </tr> |
168 | 168 | <tr> |
169 | 169 | <td><p><span class="term"><em class="parameter"><code>error</code></em>Â :</span></p></td> |
170 | <td>the location of a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore it</td> | |
170 | <td>the location of a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore it</td> | |
171 | 171 | </tr> |
172 | 172 | <tr> |
173 | 173 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
174 | <td>a <a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if there was an error</td> | |
174 | <td>a <a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there was an error</td> | |
175 | 175 | </tr> |
176 | 176 | </tbody> |
177 | 177 | </table></div> |
180 | 180 | <hr> |
181 | 181 | <div class="refsect2"> |
182 | 182 | <a name="tf-channel-bus-message"></a><h3>tf_channel_bus_message ()</h3> |
183 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tf_channel_bus_message (<em class="parameter"><code><a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *channel</code></em>, | |
184 | <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessage</span></a> *message</code></em>);</pre> | |
183 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tf_channel_bus_message (<em class="parameter"><code><a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *channel</code></em>, | |
184 | <em class="parameter"><code><a href="../gstreamer-0.10/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessage</span></a> *message</code></em>);</pre> | |
185 | 185 | <p> |
186 | 186 | You must call this function on call messages received on the async bus. |
187 | <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessages</span></a> are not modified. | |
187 | <a href="../gstreamer-0.10/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessages</span></a> are not modified. | |
188 | 188 | </p> |
189 | 189 | <div class="variablelist"><table border="0" class="variablelist"> |
190 | 190 | <colgroup> |
199 | 199 | </tr> |
200 | 200 | <tr> |
201 | 201 | <td><p><span class="term"><em class="parameter"><code>message</code></em>Â :</span></p></td> |
202 | <td>A <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessage</span></a> received from the bus</td> | |
202 | <td>A <a href="../gstreamer-0.10/gstreamer-GstMessage.html#GstMessage"><span class="type">GstMessage</span></a> received from the bus</td> | |
203 | 203 | </tr> |
204 | 204 | <tr> |
205 | 205 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
206 | 206 | <td> |
207 | <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the message has been handled, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td> | |
207 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the message has been handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td> | |
208 | 208 | </tr> |
209 | 209 | </tbody> |
210 | 210 | </table></div> |
214 | 214 | <a name="TfChannel.property-details"></a><h2>Property Details</h2> |
215 | 215 | <div class="refsect2"> |
216 | 216 | <a name="TfChannel--channel"></a><h3>The <code class="literal">"channel"</code> property</h3> |
217 | <pre class="programlisting"> "channel" <a href="/usr/share/gtk-doc/html/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>* : Read / Write / Construct Only</pre> | |
217 | <pre class="programlisting"> "channel" <a href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.22.x/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>* : Read / Write / Construct Only</pre> | |
218 | 218 | <p>Telepathy channel object which this media channel should operate on.</p> |
219 | 219 | </div> |
220 | 220 | <hr> |
221 | 221 | <div class="refsect2"> |
222 | 222 | <a name="TfChannel--fs-conferences"></a><h3>The <code class="literal">"fs-conferences"</code> property</h3> |
223 | <pre class="programlisting"> "fs-conferences" <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read</pre> | |
223 | <pre class="programlisting"> "fs-conferences" <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>* : Read</pre> | |
224 | 224 | <p>GPtrArray of Farstream FsConferences for this channel.</p> |
225 | 225 | </div> |
226 | 226 | <hr> |
227 | 227 | <div class="refsect2"> |
228 | 228 | <a name="TfChannel--object-path"></a><h3>The <code class="literal">"object-path"</code> property</h3> |
229 | <pre class="programlisting"> "object-path" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> | |
229 | <pre class="programlisting"> "object-path" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> | |
230 | 230 | <p>D-Bus object path of the Telepathy channel which this channel operates on.</p> |
231 | 231 | <p>Default value: NULL</p> |
232 | 232 | </div> |
236 | 236 | <div class="refsect2"> |
237 | 237 | <a name="TfChannel-closed"></a><h3>The <code class="literal">"closed"</code> signal</h3> |
238 | 238 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *arg0, |
239 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
239 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
240 | 240 | <p> |
241 | 241 | This function is called after a channel is closed, either because |
242 | 242 | it has been closed by the connection manager or because we had a locally |
258 | 258 | <a name="TfChannel-content-added"></a><h3>The <code class="literal">"content-added"</code> signal</h3> |
259 | 259 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *tfchannel, |
260 | 260 | <a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, |
261 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
261 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
262 | 262 | <p> |
263 | 263 | Tells the application that a content has been added. In the callback for |
264 | 264 | this signal, the application should set its preferred codecs, and hook |
294 | 294 | <a name="TfChannel-content-removed"></a><h3>The <code class="literal">"content-removed"</code> signal</h3> |
295 | 295 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *tfchannel, |
296 | 296 | <a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, |
297 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
297 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
298 | 298 | <p> |
299 | 299 | Tells the application that a content is being removed. |
300 | 300 | </p> |
325 | 325 | <div class="refsect2"> |
326 | 326 | <a name="TfChannel-fs-conference-added"></a><h3>The <code class="literal">"fs-conference-added"</code> signal</h3> |
327 | 327 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *tfchannel, |
328 | <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsConference.html"><span class="type">FsConference</span></a> *conf, | |
329 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
328 | <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsConference.html"><span class="type">FsConference</span></a> *conf, | |
329 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
330 | 330 | <p> |
331 | 331 | When this signal is emitted, the conference should be added to the |
332 | 332 | application's pipeline. |
344 | 344 | </tr> |
345 | 345 | <tr> |
346 | 346 | <td><p><span class="term"><em class="parameter"><code>conf</code></em>Â :</span></p></td> |
347 | <td>a <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsConference.html"><span class="type">FsConference</span></a> | |
347 | <td>a <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsConference.html"><span class="type">FsConference</span></a> | |
348 | 348 | </td> |
349 | 349 | </tr> |
350 | 350 | <tr> |
358 | 358 | <div class="refsect2"> |
359 | 359 | <a name="TfChannel-fs-conference-removed"></a><h3>The <code class="literal">"fs-conference-removed"</code> signal</h3> |
360 | 360 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a> *tfchannel, |
361 | <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsConference.html"><span class="type">FsConference</span></a> *conf, | |
362 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
361 | <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsConference.html"><span class="type">FsConference</span></a> *conf, | |
362 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
363 | 363 | <p> |
364 | 364 | When this signal is emitted, the conference should be remove from the |
365 | 365 | application's pipeline. |
377 | 377 | </tr> |
378 | 378 | <tr> |
379 | 379 | <td><p><span class="term"><em class="parameter"><code>conf</code></em>Â :</span></p></td> |
380 | <td>a <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsConference.html"><span class="type">FsConference</span></a> | |
380 | <td>a <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsConference.html"><span class="type">FsConference</span></a> | |
381 | 381 | </td> |
382 | 382 | </tr> |
383 | 383 | <tr> |
43 | 43 | <a name="TfContent.synopsis"></a><h2>Synopsis</h2> |
44 | 44 | <pre class="synopsis"> <a class="link" href="TfContent.html#TfContent-struct" title="TfContent">TfContent</a>; |
45 | 45 | <a class="link" href="TfContent.html#TfContentClass" title="TfContentClass">TfContentClass</a>; |
46 | <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstIterator.html#GstIterator"><span class="returnvalue">GstIterator</span></a> * <a class="link" href="TfContent.html#tf-content-iterate-src-pads" title="tf_content_iterate_src_pads ()">tf_content_iterate_src_pads</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, | |
47 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
48 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>); | |
46 | <a href="../gstreamer-0.10/gstreamer-GstIterator.html#GstIterator"><span class="returnvalue">GstIterator</span></a> * <a class="link" href="TfContent.html#tf-content-iterate-src-pads" title="tf_content_iterate_src_pads ()">tf_content_iterate_src_pads</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, | |
47 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
48 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>); | |
49 | 49 | <span class="returnvalue">void</span> <a class="link" href="TfContent.html#tf-content-error" title="tf_content_error ()">tf_content_error</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
50 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
50 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
51 | 51 | <em class="parameter"><code>...</code></em>); |
52 | 52 | <span class="returnvalue">void</span> <a class="link" href="TfContent.html#tf-content-error-literal" title="tf_content_error_literal ()">tf_content_error_literal</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
53 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
53 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
54 | 54 | <span class="returnvalue">void</span> <a class="link" href="TfContent.html#tf-content-receiving-failed" title="tf_content_receiving_failed ()">tf_content_receiving_failed</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
55 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
56 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
57 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
55 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
56 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
57 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
58 | 58 | <em class="parameter"><code>...</code></em>); |
59 | 59 | <span class="returnvalue">void</span> <a class="link" href="TfContent.html#tf-content-receiving-failed-literal" title="tf_content_receiving_failed_literal ()">tf_content_receiving_failed_literal</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
60 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
61 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
62 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
60 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
61 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
62 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
63 | 63 | <span class="returnvalue">void</span> <a class="link" href="TfContent.html#tf-content-sending-failed" title="tf_content_sending_failed ()">tf_content_sending_failed</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
64 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
64 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
65 | 65 | <em class="parameter"><code>...</code></em>); |
66 | 66 | <span class="returnvalue">void</span> <a class="link" href="TfContent.html#tf-content-sending-failed-literal" title="tf_content_sending_failed_literal ()">tf_content_sending_failed_literal</a> (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
67 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
67 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>); | |
68 | 68 | </pre> |
69 | 69 | </div> |
70 | 70 | <div class="refsect1"> |
71 | 71 | <a name="TfContent.object-hierarchy"></a><h2>Object Hierarchy</h2> |
72 | 72 | <pre class="synopsis"> |
73 | <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
73 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> | |
74 | 74 | +----TfContent |
75 | 75 | </pre> |
76 | 76 | </div> |
77 | 77 | <div class="refsect1"> |
78 | 78 | <a name="TfContent.properties"></a><h2>Properties</h2> |
79 | 79 | <pre class="synopsis"> |
80 | "<a class="link" href="TfContent.html#TfContent--fs-conference" title='The "fs-conference" property'>fs-conference</a>" <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsConference.html"><span class="type">FsConference</span></a>* : Read | |
81 | "<a class="link" href="TfContent.html#TfContent--fs-session" title='The "fs-session" property'>fs-session</a>" <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsSession.html"><span class="type">FsSession</span></a>* : Read | |
82 | "<a class="link" href="TfContent.html#TfContent--media-type" title='The "media-type" property'>media-type</a>" <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/farstream-libs-FsCodec.html#FsMediaType"><span class="type">FsMediaType</span></a> : Read | |
83 | "<a class="link" href="TfContent.html#TfContent--object-path" title='The "object-path" property'>object-path</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read | |
84 | "<a class="link" href="TfContent.html#TfContent--sink-pad" title='The "sink-pad" property'>sink-pad</a>" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>* : Read | |
80 | "<a class="link" href="TfContent.html#TfContent--fs-conference" title='The "fs-conference" property'>fs-conference</a>" <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsConference.html"><span class="type">FsConference</span></a>* : Read | |
81 | "<a class="link" href="TfContent.html#TfContent--fs-session" title='The "fs-session" property'>fs-session</a>" <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsSession.html"><span class="type">FsSession</span></a>* : Read | |
82 | "<a class="link" href="TfContent.html#TfContent--media-type" title='The "media-type" property'>media-type</a>" <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/farstream-libs-FsCodec.html#FsMediaType"><span class="type">FsMediaType</span></a> : Read | |
83 | "<a class="link" href="TfContent.html#TfContent--object-path" title='The "object-path" property'>object-path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read | |
84 | "<a class="link" href="TfContent.html#TfContent--sink-pad" title='The "sink-pad" property'>sink-pad</a>" <a href="../gstreamer-0.10/GstPad.html"><span class="type">GstPad</span></a>* : Read | |
85 | 85 | "<a class="link" href="TfContent.html#TfContent--tf-channel" title='The "tf-channel" property'>tf-channel</a>" <a class="link" href="TfChannel.html" title="TfChannel"><span class="type">TfChannel</span></a>* : Read |
86 | 86 | </pre> |
87 | 87 | </div> |
88 | 88 | <div class="refsect1"> |
89 | 89 | <a name="TfContent.signals"></a><h2>Signals</h2> |
90 | 90 | <pre class="synopsis"> |
91 | "<a class="link" href="TfContent.html#TfContent-restart-source" title='The "restart-source" signal'>restart-source</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
92 | "<a class="link" href="TfContent.html#TfContent-src-pad-added" title='The "src-pad-added" signal'>src-pad-added</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
93 | "<a class="link" href="TfContent.html#TfContent-start-receiving" title='The "start-receiving" signal'>start-receiving</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
94 | "<a class="link" href="TfContent.html#TfContent-start-sending" title='The "start-sending" signal'>start-sending</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
95 | "<a class="link" href="TfContent.html#TfContent-stop-receiving" title='The "stop-receiving" signal'>stop-receiving</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
96 | "<a class="link" href="TfContent.html#TfContent-stop-sending" title='The "stop-sending" signal'>stop-sending</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
91 | "<a class="link" href="TfContent.html#TfContent-restart-source" title='The "restart-source" signal'>restart-source</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
92 | "<a class="link" href="TfContent.html#TfContent-src-pad-added" title='The "src-pad-added" signal'>src-pad-added</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
93 | "<a class="link" href="TfContent.html#TfContent-start-receiving" title='The "start-receiving" signal'>start-receiving</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
94 | "<a class="link" href="TfContent.html#TfContent-start-sending" title='The "start-sending" signal'>start-sending</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
95 | "<a class="link" href="TfContent.html#TfContent-stop-receiving" title='The "stop-receiving" signal'>stop-receiving</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
96 | "<a class="link" href="TfContent.html#TfContent-stop-sending" title='The "stop-sending" signal'>stop-sending</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> | |
97 | 97 | </pre> |
98 | 98 | </div> |
99 | 99 | <div class="refsect1"> |
129 | 129 | <hr> |
130 | 130 | <div class="refsect2"> |
131 | 131 | <a name="tf-content-iterate-src-pads"></a><h3>tf_content_iterate_src_pads ()</h3> |
132 | <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstIterator.html#GstIterator"><span class="returnvalue">GstIterator</span></a> * tf_content_iterate_src_pads (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, | |
133 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
134 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>);</pre> | |
132 | <pre class="programlisting"><a href="../gstreamer-0.10/gstreamer-GstIterator.html#GstIterator"><span class="returnvalue">GstIterator</span></a> * tf_content_iterate_src_pads (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, | |
133 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
134 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>);</pre> | |
135 | 135 | <p> |
136 | 136 | Provides a iterator that can be used to iterate through all of the src |
137 | 137 | pads that are are used to receive from a group of Telepathy handles. |
149 | 149 | </tr> |
150 | 150 | <tr> |
151 | 151 | <td><p><span class="term"><em class="parameter"><code>handles</code></em>Â :</span></p></td> |
152 | <td>a 0 terminated array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> representing Telepathy handles</td> | |
152 | <td>a 0 terminated array of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> representing Telepathy handles</td> | |
153 | 153 | </tr> |
154 | 154 | <tr> |
155 | 155 | <td><p><span class="term"><em class="parameter"><code>handle_count</code></em>Â :</span></p></td> |
158 | 158 | </tr> |
159 | 159 | <tr> |
160 | 160 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
161 | <td>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstIterator.html#GstIterator"><span class="type">GstIterator</span></a> | |
161 | <td>a <a href="../gstreamer-0.10/gstreamer-GstIterator.html#GstIterator"><span class="type">GstIterator</span></a> | |
162 | 162 | </td> |
163 | 163 | </tr> |
164 | 164 | </tbody> |
168 | 168 | <div class="refsect2"> |
169 | 169 | <a name="tf-content-error"></a><h3>tf_content_error ()</h3> |
170 | 170 | <pre class="programlisting"><span class="returnvalue">void</span> tf_content_error (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
171 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
171 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
172 | 172 | <em class="parameter"><code>...</code></em>);</pre> |
173 | 173 | <p> |
174 | 174 | Send a fatal streaming error to the Content to the CM, the effect is most |
200 | 200 | <div class="refsect2"> |
201 | 201 | <a name="tf-content-error-literal"></a><h3>tf_content_error_literal ()</h3> |
202 | 202 | <pre class="programlisting"><span class="returnvalue">void</span> tf_content_error_literal (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
203 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
203 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
204 | 204 | <p> |
205 | 205 | Send a fatal streaming error to the Content to the CM, the effect is most |
206 | 206 | likely that the content will be removed. |
230 | 230 | <div class="refsect2"> |
231 | 231 | <a name="tf-content-receiving-failed"></a><h3>tf_content_receiving_failed ()</h3> |
232 | 232 | <pre class="programlisting"><span class="returnvalue">void</span> tf_content_receiving_failed (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
233 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
234 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
235 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
233 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
234 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
235 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
236 | 236 | <em class="parameter"><code>...</code></em>);</pre> |
237 | 237 | <p> |
238 | 238 | Informs the Connection Manager that receiving has failed for this |
255 | 255 | </tr> |
256 | 256 | <tr> |
257 | 257 | <td><p><span class="term"><em class="parameter"><code>handles</code></em>Â :</span></p></td> |
258 | <td>an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> representing Telepathy handles, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> | |
258 | <td>an array of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> representing Telepathy handles, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> | |
259 | 259 | </td> |
260 | 260 | </tr> |
261 | 261 | <tr> |
278 | 278 | <div class="refsect2"> |
279 | 279 | <a name="tf-content-receiving-failed-literal"></a><h3>tf_content_receiving_failed_literal ()</h3> |
280 | 280 | <pre class="programlisting"><span class="returnvalue">void</span> tf_content_receiving_failed_literal (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
281 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
282 | <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
283 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
281 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *handles</code></em>, | |
282 | <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count</code></em>, | |
283 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
284 | 284 | <p> |
285 | 285 | Informs the Connection Manager that receiving has failed for this |
286 | 286 | content. This is a transient error and it may or not not end the Content |
305 | 305 | </tr> |
306 | 306 | <tr> |
307 | 307 | <td><p><span class="term"><em class="parameter"><code>handles</code></em>Â :</span></p></td> |
308 | <td>an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> representing Telepathy handles, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> | |
308 | <td>an array of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> representing Telepathy handles, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> | |
309 | 309 | </td> |
310 | 310 | </tr> |
311 | 311 | <tr> |
324 | 324 | <div class="refsect2"> |
325 | 325 | <a name="tf-content-sending-failed"></a><h3>tf_content_sending_failed ()</h3> |
326 | 326 | <pre class="programlisting"><span class="returnvalue">void</span> tf_content_sending_failed (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
327 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
327 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message_format</code></em>, | |
328 | 328 | <em class="parameter"><code>...</code></em>);</pre> |
329 | 329 | <p> |
330 | 330 | Informs the Connection Manager that sending has failed for this |
357 | 357 | <div class="refsect2"> |
358 | 358 | <a name="tf-content-sending-failed-literal"></a><h3>tf_content_sending_failed_literal ()</h3> |
359 | 359 | <pre class="programlisting"><span class="returnvalue">void</span> tf_content_sending_failed_literal (<em class="parameter"><code><a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content</code></em>, |
360 | <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
360 | <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre> | |
361 | 361 | <p> |
362 | 362 | Informs the Connection Manager that sending has failed for this |
363 | 363 | content. This is a transient error and it may or not not end the Content |
389 | 389 | <a name="TfContent.property-details"></a><h2>Property Details</h2> |
390 | 390 | <div class="refsect2"> |
391 | 391 | <a name="TfContent--fs-conference"></a><h3>The <code class="literal">"fs-conference"</code> property</h3> |
392 | <pre class="programlisting"> "fs-conference" <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsConference.html"><span class="type">FsConference</span></a>* : Read</pre> | |
392 | <pre class="programlisting"> "fs-conference" <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsConference.html"><span class="type">FsConference</span></a>* : Read</pre> | |
393 | 393 | <p>The Farstream conference for this content (could be the same as other contents).</p> |
394 | 394 | </div> |
395 | 395 | <hr> |
396 | 396 | <div class="refsect2"> |
397 | 397 | <a name="TfContent--fs-session"></a><h3>The <code class="literal">"fs-session"</code> property</h3> |
398 | <pre class="programlisting"> "fs-session" <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsSession.html"><span class="type">FsSession</span></a>* : Read</pre> | |
398 | <pre class="programlisting"> "fs-session" <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsSession.html"><span class="type">FsSession</span></a>* : Read</pre> | |
399 | 399 | <p>The Farstream session for this content.</p> |
400 | 400 | </div> |
401 | 401 | <hr> |
402 | 402 | <div class="refsect2"> |
403 | 403 | <a name="TfContent--media-type"></a><h3>The <code class="literal">"media-type"</code> property</h3> |
404 | <pre class="programlisting"> "media-type" <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/farstream-libs-FsCodec.html#FsMediaType"><span class="type">FsMediaType</span></a> : Read</pre> | |
404 | <pre class="programlisting"> "media-type" <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/farstream-libs-FsCodec.html#FsMediaType"><span class="type">FsMediaType</span></a> : Read</pre> | |
405 | 405 | <p>The FsMediaType for this content.</p> |
406 | 406 | <p>Default value: FS_MEDIA_TYPE_AUDIO</p> |
407 | 407 | </div> |
408 | 408 | <hr> |
409 | 409 | <div class="refsect2"> |
410 | 410 | <a name="TfContent--object-path"></a><h3>The <code class="literal">"object-path"</code> property</h3> |
411 | <pre class="programlisting"> "object-path" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> | |
411 | <pre class="programlisting"> "object-path" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> | |
412 | 412 | <p>D-Bus object path of the Telepathy content which this content operates on.</p> |
413 | 413 | <p>Default value: NULL</p> |
414 | 414 | </div> |
415 | 415 | <hr> |
416 | 416 | <div class="refsect2"> |
417 | 417 | <a name="TfContent--sink-pad"></a><h3>The <code class="literal">"sink-pad"</code> property</h3> |
418 | <pre class="programlisting"> "sink-pad" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a>* : Read</pre> | |
418 | <pre class="programlisting"> "sink-pad" <a href="../gstreamer-0.10/GstPad.html"><span class="type">GstPad</span></a>* : Read</pre> | |
419 | 419 | <p>Sink GstPad for this content.</p> |
420 | 420 | </div> |
421 | 421 | <hr> |
430 | 430 | <div class="refsect2"> |
431 | 431 | <a name="TfContent-restart-source"></a><h3>The <code class="literal">"restart-source"</code> signal</h3> |
432 | 432 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, |
433 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
433 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
434 | 434 | <p> |
435 | 435 | This signal requests that the source be restarted so that the caps can |
436 | 436 | be renegotiated with a new resolutions and framerate. |
457 | 457 | <div class="refsect2"> |
458 | 458 | <a name="TfContent-src-pad-added"></a><h3>The <code class="literal">"src-pad-added"</code> signal</h3> |
459 | 459 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, |
460 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle, | |
461 | <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsStream.html"><span class="type">FsStream</span></a> *stream, | |
462 | <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *pad, | |
463 | <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/farstream-libs-FsCodec.html#FsCodec"><span class="type">FsCodec</span></a> *codec, | |
464 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
460 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle, | |
461 | <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsStream.html"><span class="type">FsStream</span></a> *stream, | |
462 | <a href="../gstreamer-0.10/GstPad.html"><span class="type">GstPad</span></a> *pad, | |
463 | <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/farstream-libs-FsCodec.html#FsCodec"><span class="type">FsCodec</span></a> *codec, | |
464 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
465 | 465 | <p> |
466 | 466 | This signal is emitted when a data is coming on a new pad. This signal |
467 | 467 | is not emitted on the main thread, so special care must be made to lock |
486 | 486 | </tr> |
487 | 487 | <tr> |
488 | 488 | <td><p><span class="term"><em class="parameter"><code>stream</code></em>Â :</span></p></td> |
489 | <td>the <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/FsStream.html"><span class="type">FsStream</span></a> for this pad</td> | |
489 | <td>the <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/FsStream.html"><span class="type">FsStream</span></a> for this pad</td> | |
490 | 490 | </tr> |
491 | 491 | <tr> |
492 | 492 | <td><p><span class="term"><em class="parameter"><code>pad</code></em>Â :</span></p></td> |
493 | <td>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> | |
493 | <td>a <a href="../gstreamer-0.10/GstPad.html"><span class="type">GstPad</span></a> | |
494 | 494 | </td> |
495 | 495 | </tr> |
496 | 496 | <tr> |
497 | 497 | <td><p><span class="term"><em class="parameter"><code>codec</code></em>Â :</span></p></td> |
498 | <td>the <a href="/usr/share/gtk-doc/html/farstream-libs-1.0/farstream-libs-FsCodec.html#FsCodec"><span class="type">FsCodec</span></a> for this pad</td> | |
498 | <td>the <a href="http://www.freedesktop.org/software/farstream/apidoc/farstream/farstream-libs-FsCodec.html#FsCodec"><span class="type">FsCodec</span></a> for this pad</td> | |
499 | 499 | </tr> |
500 | 500 | <tr> |
501 | 501 | <td><p><span class="term"><em class="parameter"><code>user_data</code></em>Â :</span></p></td> |
507 | 507 | <hr> |
508 | 508 | <div class="refsect2"> |
509 | 509 | <a name="TfContent-start-receiving"></a><h3>The <code class="literal">"start-receiving"</code> signal</h3> |
510 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, | |
511 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> handles, | |
512 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count, | |
513 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
510 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, | |
511 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> handles, | |
512 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count, | |
513 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
514 | 514 | <p> |
515 | 515 | This signal is emitted when the connection managers requests that the |
516 | 516 | application prepares itself to start receiving data again from certain |
534 | 534 | </tr> |
535 | 535 | <tr> |
536 | 536 | <td><p><span class="term"><em class="parameter"><code>handles</code></em>Â :</span></p></td> |
537 | <td>a 0-terminated array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> containing the handles</td> | |
537 | <td>a 0-terminated array of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> containing the handles</td> | |
538 | 538 | </tr> |
539 | 539 | <tr> |
540 | 540 | <td><p><span class="term"><em class="parameter"><code>handle_count</code></em>Â :</span></p></td> |
547 | 547 | <tr> |
548 | 548 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
549 | 549 | <td> |
550 | <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the application can start receiving data or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> | |
550 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the application can start receiving data or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> | |
551 | 551 | otherwise</td> |
552 | 552 | </tr> |
553 | 553 | </tbody> |
556 | 556 | <hr> |
557 | 557 | <div class="refsect2"> |
558 | 558 | <a name="TfContent-start-sending"></a><h3>The <code class="literal">"start-sending"</code> signal</h3> |
559 | <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, | |
560 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
559 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, | |
560 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
561 | 561 | <p> |
562 | 562 | This signal is emitted when the connection manager ask to send media. |
563 | 563 | For example, this can be used to open a camera, start recording from a |
582 | 582 | <tr> |
583 | 583 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
584 | 584 | <td> |
585 | <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the application can start providing data or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> | |
585 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the application can start providing data or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> | |
586 | 586 | otherwise</td> |
587 | 587 | </tr> |
588 | 588 | </tbody> |
592 | 592 | <div class="refsect2"> |
593 | 593 | <a name="TfContent-stop-receiving"></a><h3>The <code class="literal">"stop-receiving"</code> signal</h3> |
594 | 594 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, |
595 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> handles, | |
596 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count, | |
597 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
595 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> handles, | |
596 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> handle_count, | |
597 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
598 | 598 | <p> |
599 | 599 | This signal is emitted when the connection manager wants to tell the |
600 | 600 | application that it is now allowed to stop receiving. |
612 | 612 | </tr> |
613 | 613 | <tr> |
614 | 614 | <td><p><span class="term"><em class="parameter"><code>handles</code></em>Â :</span></p></td> |
615 | <td>a 0-terminated array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> containing the handles</td> | |
615 | <td>a 0-terminated array of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> containing the handles</td> | |
616 | 616 | </tr> |
617 | 617 | <tr> |
618 | 618 | <td><p><span class="term"><em class="parameter"><code>handle_count</code></em>Â :</span></p></td> |
629 | 629 | <div class="refsect2"> |
630 | 630 | <a name="TfContent-stop-sending"></a><h3>The <code class="literal">"stop-sending"</code> signal</h3> |
631 | 631 | <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TfContent.html" title="TfContent"><span class="type">TfContent</span></a> *content, |
632 | <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
632 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> | |
633 | 633 | <p> |
634 | 634 | This signal is emitted when the connection manager ask to stop |
635 | 635 | sending media |
73 | 73 | |
74 | 74 | #### setup #### |
75 | 75 | |
76 | GTK_DOC_V_SETUP=$(GTK_DOC_V_SETUP_$(V)) | |
77 | GTK_DOC_V_SETUP_=$(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY)) | |
78 | GTK_DOC_V_SETUP_0=@echo " DOC Preparing build"; | |
79 | ||
76 | 80 | setup-build.stamp: |
77 | -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ | |
78 | echo ' DOC Preparing build'; \ | |
81 | -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ | |
79 | 82 | files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ |
80 | 83 | if test "x$$files" != "x" ; then \ |
81 | 84 | for file in $$files ; do \ |
82 | 85 | test -f $(abs_srcdir)/$$file && \ |
83 | cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \ | |
86 | cp -pu $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ | |
84 | 87 | done; \ |
85 | 88 | fi; \ |
86 | 89 | fi |
87 | @touch setup-build.stamp | |
90 | $(AM_V_at)touch setup-build.stamp | |
88 | 91 | |
89 | 92 | |
90 | 93 | #### scan #### |
91 | 94 | |
95 | GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_$(V)) | |
96 | GTK_DOC_V_SCAN_=$(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY)) | |
97 | GTK_DOC_V_SCAN_0=@echo " DOC Scanning header files"; | |
98 | ||
99 | GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_$(V)) | |
100 | GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY)) | |
101 | GTK_DOC_V_INTROSPECT_0=@echo " DOC Introspecting gobjects"; | |
102 | ||
92 | 103 | scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) |
93 | @echo ' DOC Scanning header files' | |
94 | @_source_dir='' ; \ | |
104 | $(GTK_DOC_V_SCAN)_source_dir='' ; \ | |
95 | 105 | for i in $(DOC_SOURCE_DIR) ; do \ |
96 | 106 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ |
97 | 107 | done ; \ |
98 | 108 | gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) |
99 | @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ | |
100 | echo " DOC Introspecting gobjects"; \ | |
109 | $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ | |
101 | 110 | scanobj_options=""; \ |
102 | 111 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
103 | 112 | if test "$(?)" = "0"; then \ |
112 | 121 | test -f $$i || touch $$i ; \ |
113 | 122 | done \ |
114 | 123 | fi |
115 | @touch scan-build.stamp | |
124 | $(AM_V_at)touch scan-build.stamp | |
116 | 125 | |
117 | 126 | $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp |
118 | 127 | @true |
119 | 128 | |
120 | 129 | #### xml #### |
121 | 130 | |
131 | GTK_DOC_V_XML=$(GTK_DOC_V_XML_$(V)) | |
132 | GTK_DOC_V_XML_=$(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY)) | |
133 | GTK_DOC_V_XML_0=@echo " DOC Building XML"; | |
134 | ||
122 | 135 | sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) |
123 | @echo ' DOC Building XML' | |
124 | @_source_dir='' ; \ | |
136 | $(GTK_DOC_V_XML)_source_dir='' ; \ | |
125 | 137 | for i in $(DOC_SOURCE_DIR) ; do \ |
126 | 138 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ |
127 | 139 | done ; \ |
128 | 140 | gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) |
129 | @touch sgml-build.stamp | |
141 | $(AM_V_at)touch sgml-build.stamp | |
130 | 142 | |
131 | 143 | sgml.stamp: sgml-build.stamp |
132 | 144 | @true |
133 | 145 | |
134 | 146 | #### html #### |
135 | 147 | |
148 | GTK_DOC_V_HTML=$(GTK_DOC_V_HTML_$(V)) | |
149 | GTK_DOC_V_HTML_=$(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY)) | |
150 | GTK_DOC_V_HTML_0=@echo " DOC Building HTML"; | |
151 | ||
152 | GTK_DOC_V_XREF=$(GTK_DOC_V_XREF_$(V)) | |
153 | GTK_DOC_V_XREF_=$(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY)) | |
154 | GTK_DOC_V_XREF_0=@echo " DOC Fixing cross-references"; | |
155 | ||
136 | 156 | html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) |
137 | @echo ' DOC Building HTML' | |
138 | @rm -rf html | |
139 | @mkdir html | |
140 | @mkhtml_options=""; \ | |
157 | $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ | |
158 | mkhtml_options=""; \ | |
141 | 159 | gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
142 | 160 | if test "$(?)" = "0"; then \ |
143 | 161 | if test "x$(V)" = "x1"; then \ |
158 | 176 | cp $(abs_builddir)/$$file $(abs_builddir)/html; \ |
159 | 177 | fi; \ |
160 | 178 | done; |
161 | @echo ' DOC Fixing cross-references' | |
162 | @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | |
163 | @touch html-build.stamp | |
179 | $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | |
180 | $(AM_V_at)touch html-build.stamp | |
164 | 181 | |
165 | 182 | #### pdf #### |
166 | 183 | |
184 | GTK_DOC_V_PDF=$(GTK_DOC_V_PDF_$(V)) | |
185 | GTK_DOC_V_PDF_=$(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY)) | |
186 | GTK_DOC_V_PDF_0=@echo " DOC Building PDF"; | |
187 | ||
167 | 188 | pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) |
168 | @echo ' DOC Building PDF' | |
169 | @rm -f $(DOC_MODULE).pdf | |
170 | @mkpdf_options=""; \ | |
189 | $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ | |
190 | mkpdf_options=""; \ | |
171 | 191 | gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
172 | 192 | if test "$(?)" = "0"; then \ |
173 | 193 | if test "x$(V)" = "x1"; then \ |
184 | 204 | done; \ |
185 | 205 | fi; \ |
186 | 206 | gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) |
187 | @touch pdf-build.stamp | |
207 | $(AM_V_at)touch pdf-build.stamp | |
188 | 208 | |
189 | 209 | ############## |
190 | 210 | |
199 | 219 | rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ |
200 | 220 | fi |
201 | 221 | |
202 | maintainer-clean-local: clean | |
222 | maintainer-clean-local: | |
203 | 223 | @rm -rf xml html |
204 | 224 | |
205 | 225 | install-data-local: |
236 | 256 | # Require gtk-doc when making dist |
237 | 257 | # |
238 | 258 | if ENABLE_GTK_DOC |
239 | dist-check-gtkdoc: | |
259 | dist-check-gtkdoc: docs | |
240 | 260 | else |
241 | 261 | dist-check-gtkdoc: |
242 | 262 | @echo "*** gtk-doc must be installed and enabled in order to make dist" |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2009-04-28.21; # UTC | |
3 | scriptversion=2011-11-20.07; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
34 | 34 | # FSF changes to this file are in the public domain. |
35 | 35 | # |
36 | 36 | # Calling this script install-sh is preferred over install.sh, to prevent |
37 | # `make' implicit rules from creating a file called install from it | |
37 | # 'make' implicit rules from creating a file called install from it | |
38 | 38 | # when there is no Makefile. |
39 | 39 | # |
40 | 40 | # This script is compatible with the BSD install script, but was written |
155 | 155 | -s) stripcmd=$stripprog;; |
156 | 156 | |
157 | 157 | -t) dst_arg=$2 |
158 | # Protect names problematic for 'test' and other utilities. | |
159 | case $dst_arg in | |
160 | -* | [=\(\)!]) dst_arg=./$dst_arg;; | |
161 | esac | |
158 | 162 | shift;; |
159 | 163 | |
160 | 164 | -T) no_target_directory=true;; |
185 | 189 | fi |
186 | 190 | shift # arg |
187 | 191 | dst_arg=$arg |
192 | # Protect names problematic for 'test' and other utilities. | |
193 | case $dst_arg in | |
194 | -* | [=\(\)!]) dst_arg=./$dst_arg;; | |
195 | esac | |
188 | 196 | done |
189 | 197 | fi |
190 | 198 | |
193 | 201 | echo "$0: no input file specified." >&2 |
194 | 202 | exit 1 |
195 | 203 | fi |
196 | # It's OK to call `install-sh -d' without argument. | |
204 | # It's OK to call 'install-sh -d' without argument. | |
197 | 205 | # This can happen when creating conditional directories. |
198 | 206 | exit 0 |
199 | 207 | fi |
200 | 208 | |
201 | 209 | if test -z "$dir_arg"; then |
202 | trap '(exit $?); exit' 1 2 13 15 | |
210 | do_exit='(exit $ret); exit $ret' | |
211 | trap "ret=129; $do_exit" 1 | |
212 | trap "ret=130; $do_exit" 2 | |
213 | trap "ret=141; $do_exit" 13 | |
214 | trap "ret=143; $do_exit" 15 | |
203 | 215 | |
204 | 216 | # Set umask so as not to create temps with too-generous modes. |
205 | 217 | # However, 'strip' requires both read and write access to temps. |
227 | 239 | |
228 | 240 | for src |
229 | 241 | do |
230 | # Protect names starting with `-'. | |
242 | # Protect names problematic for 'test' and other utilities. | |
231 | 243 | case $src in |
232 | -*) src=./$src;; | |
244 | -* | [=\(\)!]) src=./$src;; | |
233 | 245 | esac |
234 | 246 | |
235 | 247 | if test -n "$dir_arg"; then |
251 | 263 | echo "$0: no destination specified." >&2 |
252 | 264 | exit 1 |
253 | 265 | fi |
254 | ||
255 | 266 | dst=$dst_arg |
256 | # Protect names starting with `-'. | |
257 | case $dst in | |
258 | -*) dst=./$dst;; | |
259 | esac | |
260 | 267 | |
261 | 268 | # If destination is a directory, append the input filename; won't work |
262 | 269 | # if double slashes aren't ignored. |
346 | 353 | if test -z "$dir_arg" || { |
347 | 354 | # Check for POSIX incompatibilities with -m. |
348 | 355 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
349 | # other-writeable bit of parent directory when it shouldn't. | |
356 | # other-writable bit of parent directory when it shouldn't. | |
350 | 357 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. |
351 | 358 | ls_ld_tmpdir=`ls -ld "$tmpdir"` |
352 | 359 | case $ls_ld_tmpdir in |
384 | 391 | |
385 | 392 | case $dstdir in |
386 | 393 | /*) prefix='/';; |
387 | -*) prefix='./';; | |
394 | [-=\(\)!]*) prefix='./';; | |
388 | 395 | *) prefix='';; |
389 | 396 | esac |
390 | 397 | |
402 | 409 | |
403 | 410 | for d |
404 | 411 | do |
405 | test -z "$d" && continue | |
412 | test X"$d" = X && continue | |
406 | 413 | |
407 | 414 | prefix=$prefix$d |
408 | 415 | if test -d "$prefix"; then |
36 | 36 | dnl don't check for glib if we build glib |
37 | 37 | if test "x$PACKAGE_NAME" != "xglib"; then |
38 | 38 | dnl don't fail if someone does not have glib |
39 | PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,) | |
39 | PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,[:]) | |
40 | 40 | fi |
41 | 41 | fi |
42 | 42 | |
57 | 57 | enable_gtk_doc_pdf=no |
58 | 58 | fi |
59 | 59 | |
60 | if test -z "$AM_DEFAULT_VERBOSITY"; then | |
61 | AM_DEFAULT_VERBOSITY=1 | |
62 | fi | |
63 | AC_SUBST([AM_DEFAULT_VERBOSITY]) | |
60 | 64 | |
61 | 65 | AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes]) |
62 | 66 | AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes]) |
0 | 0 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
1 | 1 | # |
2 | 2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3 | # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | |
4 | # Inc. | |
3 | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
4 | # Foundation, Inc. | |
5 | 5 | # Written by Gordon Matzigkeit, 1996 |
6 | 6 | # |
7 | 7 | # This file is free software; the Free Software Foundation gives |
10 | 10 | |
11 | 11 | m4_define([_LT_COPYING], [dnl |
12 | 12 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
13 | # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | |
14 | # Inc. | |
13 | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
14 | # Foundation, Inc. | |
15 | 15 | # Written by Gordon Matzigkeit, 1996 |
16 | 16 | # |
17 | 17 | # This file is part of GNU Libtool. |
145 | 145 | AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl |
146 | 146 | AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl |
147 | 147 | |
148 | _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl | |
149 | dnl | |
148 | 150 | _LT_DECL([], [host_alias], [0], [The host system])dnl |
149 | 151 | _LT_DECL([], [host], [0])dnl |
150 | 152 | _LT_DECL([], [host_os], [0])dnl |
636 | 638 | m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
637 | 639 | configured by $[0], generated by m4_PACKAGE_STRING. |
638 | 640 | |
639 | Copyright (C) 2010 Free Software Foundation, Inc. | |
641 | Copyright (C) 2011 Free Software Foundation, Inc. | |
640 | 642 | This config.lt script is free software; the Free Software Foundation |
641 | 643 | gives unlimited permision to copy, distribute and modify it." |
642 | 644 | |
800 | 802 | m4_case([$1], |
801 | 803 | [C], [_LT_LANG(C)], |
802 | 804 | [C++], [_LT_LANG(CXX)], |
805 | [Go], [_LT_LANG(GO)], | |
803 | 806 | [Java], [_LT_LANG(GCJ)], |
804 | 807 | [Fortran 77], [_LT_LANG(F77)], |
805 | 808 | [Fortran], [_LT_LANG(FC)], |
819 | 822 | m4_define([_LT_LANG_]$1[_enabled], [])dnl |
820 | 823 | _LT_LANG_$1_CONFIG($1)])dnl |
821 | 824 | ])# _LT_LANG |
825 | ||
826 | ||
827 | m4_ifndef([AC_PROG_GO], [ | |
828 | ############################################################ | |
829 | # NOTE: This macro has been submitted for inclusion into # | |
830 | # GNU Autoconf as AC_PROG_GO. When it is available in # | |
831 | # a released version of Autoconf we should remove this # | |
832 | # macro and use it instead. # | |
833 | ############################################################ | |
834 | m4_defun([AC_PROG_GO], | |
835 | [AC_LANG_PUSH(Go)dnl | |
836 | AC_ARG_VAR([GOC], [Go compiler command])dnl | |
837 | AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl | |
838 | _AC_ARG_VAR_LDFLAGS()dnl | |
839 | AC_CHECK_TOOL(GOC, gccgo) | |
840 | if test -z "$GOC"; then | |
841 | if test -n "$ac_tool_prefix"; then | |
842 | AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) | |
843 | fi | |
844 | fi | |
845 | if test -z "$GOC"; then | |
846 | AC_CHECK_PROG(GOC, gccgo, gccgo, false) | |
847 | fi | |
848 | ])#m4_defun | |
849 | ])#m4_ifndef | |
822 | 850 | |
823 | 851 | |
824 | 852 | # _LT_LANG_DEFAULT_CONFIG |
850 | 878 | [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) |
851 | 879 | m4_ifdef([LT_PROG_GCJ], |
852 | 880 | [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) |
881 | ||
882 | AC_PROVIDE_IFELSE([AC_PROG_GO], | |
883 | [LT_LANG(GO)], | |
884 | [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) | |
853 | 885 | |
854 | 886 | AC_PROVIDE_IFELSE([LT_PROG_RC], |
855 | 887 | [LT_LANG(RC)], |
953 | 985 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
954 | 986 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
955 | 987 | _lt_result=$? |
956 | if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then | |
988 | # If there is a non-empty error log, and "single_module" | |
989 | # appears in it, assume the flag caused a linker warning | |
990 | if test -s conftest.err && $GREP single_module conftest.err; then | |
991 | cat conftest.err >&AS_MESSAGE_LOG_FD | |
992 | # Otherwise, if the output was created with a 0 exit code from | |
993 | # the compiler, it worked. | |
994 | elif test -f libconftest.dylib && test $_lt_result -eq 0; then | |
957 | 995 | lt_cv_apple_cc_single_mod=yes |
958 | 996 | else |
959 | 997 | cat conftest.err >&AS_MESSAGE_LOG_FD |
961 | 999 | rm -rf libconftest.dylib* |
962 | 1000 | rm -f conftest.* |
963 | 1001 | fi]) |
1002 | ||
964 | 1003 | AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
965 | 1004 | [lt_cv_ld_exported_symbols_list], |
966 | 1005 | [lt_cv_ld_exported_symbols_list=no |
972 | 1011 | [lt_cv_ld_exported_symbols_list=no]) |
973 | 1012 | LDFLAGS="$save_LDFLAGS" |
974 | 1013 | ]) |
1014 | ||
975 | 1015 | AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], |
976 | 1016 | [lt_cv_ld_force_load=no |
977 | 1017 | cat > conftest.c << _LT_EOF |
989 | 1029 | echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD |
990 | 1030 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
991 | 1031 | _lt_result=$? |
992 | if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then | |
1032 | if test -s conftest.err && $GREP force_load conftest.err; then | |
1033 | cat conftest.err >&AS_MESSAGE_LOG_FD | |
1034 | elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then | |
993 | 1035 | lt_cv_ld_force_load=yes |
994 | 1036 | else |
995 | 1037 | cat conftest.err >&AS_MESSAGE_LOG_FD |
1034 | 1076 | ]) |
1035 | 1077 | |
1036 | 1078 | |
1037 | # _LT_DARWIN_LINKER_FEATURES | |
1038 | # -------------------------- | |
1079 | # _LT_DARWIN_LINKER_FEATURES([TAG]) | |
1080 | # --------------------------------- | |
1039 | 1081 | # Checks for linker and compiler features on darwin |
1040 | 1082 | m4_defun([_LT_DARWIN_LINKER_FEATURES], |
1041 | 1083 | [ |
1046 | 1088 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
1047 | 1089 | if test "$lt_cv_ld_force_load" = "yes"; then |
1048 | 1090 | _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
1091 | m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], | |
1092 | [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) | |
1049 | 1093 | else |
1050 | 1094 | _LT_TAGVAR(whole_archive_flag_spec, $1)='' |
1051 | 1095 | fi |
1267 | 1311 | rm -rf conftest* |
1268 | 1312 | ;; |
1269 | 1313 | |
1270 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | |
1314 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ | |
1271 | 1315 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
1272 | 1316 | # Find out which ABI we are using. |
1273 | 1317 | echo 'int i;' > conftest.$ac_ext |
1281 | 1325 | x86_64-*linux*) |
1282 | 1326 | LD="${LD-ld} -m elf_i386" |
1283 | 1327 | ;; |
1284 | ppc64-*linux*|powerpc64-*linux*) | |
1328 | powerpc64le-*linux*) | |
1329 | LD="${LD-ld} -m elf32lppclinux" | |
1330 | ;; | |
1331 | powerpc64-*linux*) | |
1285 | 1332 | LD="${LD-ld} -m elf32ppclinux" |
1286 | 1333 | ;; |
1287 | 1334 | s390x-*linux*) |
1300 | 1347 | x86_64-*linux*) |
1301 | 1348 | LD="${LD-ld} -m elf_x86_64" |
1302 | 1349 | ;; |
1303 | ppc*-*linux*|powerpc*-*linux*) | |
1350 | powerpcle-*linux*) | |
1351 | LD="${LD-ld} -m elf64lppc" | |
1352 | ;; | |
1353 | powerpc-*linux*) | |
1304 | 1354 | LD="${LD-ld} -m elf64ppc" |
1305 | 1355 | ;; |
1306 | 1356 | s390*-*linux*|s390*-*tpf*) |
1329 | 1379 | CFLAGS="$SAVE_CFLAGS" |
1330 | 1380 | fi |
1331 | 1381 | ;; |
1332 | sparc*-*solaris*) | |
1382 | *-*solaris*) | |
1333 | 1383 | # Find out which ABI we are using. |
1334 | 1384 | echo 'int i;' > conftest.$ac_ext |
1335 | 1385 | if AC_TRY_EVAL(ac_compile); then |
1336 | 1386 | case `/usr/bin/file conftest.o` in |
1337 | 1387 | *64-bit*) |
1338 | 1388 | case $lt_cv_prog_gnu_ld in |
1339 | yes*) LD="${LD-ld} -m elf64_sparc" ;; | |
1389 | yes*) | |
1390 | case $host in | |
1391 | i?86-*-solaris*) | |
1392 | LD="${LD-ld} -m elf_x86_64" | |
1393 | ;; | |
1394 | sparc*-*-solaris*) | |
1395 | LD="${LD-ld} -m elf64_sparc" | |
1396 | ;; | |
1397 | esac | |
1398 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | |
1399 | if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | |
1400 | LD="${LD-ld}_sol2" | |
1401 | fi | |
1402 | ;; | |
1340 | 1403 | *) |
1341 | 1404 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
1342 | 1405 | LD="${LD-ld} -64" |
1413 | 1476 | if test -n "$RANLIB"; then |
1414 | 1477 | case $host_os in |
1415 | 1478 | openbsd*) |
1416 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | |
1479 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | |
1417 | 1480 | ;; |
1418 | 1481 | *) |
1419 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | |
1482 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | |
1420 | 1483 | ;; |
1421 | 1484 | esac |
1422 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | |
1485 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | |
1423 | 1486 | fi |
1424 | 1487 | |
1425 | 1488 | case $host_os in |
1597 | 1660 | interix*) |
1598 | 1661 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
1599 | 1662 | lt_cv_sys_max_cmd_len=196608 |
1663 | ;; | |
1664 | ||
1665 | os2*) | |
1666 | # The test takes a long time on OS/2. | |
1667 | lt_cv_sys_max_cmd_len=8192 | |
1600 | 1668 | ;; |
1601 | 1669 | |
1602 | 1670 | osf*) |
1638 | 1706 | # If test is not a shell built-in, we'll probably end up computing a |
1639 | 1707 | # maximum length that is only half of the actual maximum length, but |
1640 | 1708 | # we can't tell. |
1641 | while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ | |
1709 | while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ | |
1642 | 1710 | = "X$teststring$teststring"; } >/dev/null 2>&1 && |
1643 | 1711 | test $i != 17 # 1/2 MB should be enough |
1644 | 1712 | do |
2184 | 2252 | |
2185 | 2253 | case $host_os in |
2186 | 2254 | aix3*) |
2187 | version_type=linux | |
2255 | version_type=linux # correct to gnu/linux during the next big refactor | |
2188 | 2256 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
2189 | 2257 | shlibpath_var=LIBPATH |
2190 | 2258 | |
2193 | 2261 | ;; |
2194 | 2262 | |
2195 | 2263 | aix[[4-9]]*) |
2196 | version_type=linux | |
2264 | version_type=linux # correct to gnu/linux during the next big refactor | |
2197 | 2265 | need_lib_prefix=no |
2198 | 2266 | need_version=no |
2199 | 2267 | hardcode_into_libs=yes |
2258 | 2326 | ;; |
2259 | 2327 | |
2260 | 2328 | bsdi[[45]]*) |
2261 | version_type=linux | |
2329 | version_type=linux # correct to gnu/linux during the next big refactor | |
2262 | 2330 | need_version=no |
2263 | 2331 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2264 | 2332 | soname_spec='${libname}${release}${shared_ext}$major' |
2397 | 2465 | ;; |
2398 | 2466 | |
2399 | 2467 | dgux*) |
2400 | version_type=linux | |
2468 | version_type=linux # correct to gnu/linux during the next big refactor | |
2401 | 2469 | need_lib_prefix=no |
2402 | 2470 | need_version=no |
2403 | 2471 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
2404 | 2472 | soname_spec='${libname}${release}${shared_ext}$major' |
2405 | 2473 | shlibpath_var=LD_LIBRARY_PATH |
2406 | ;; | |
2407 | ||
2408 | freebsd1*) | |
2409 | dynamic_linker=no | |
2410 | 2474 | ;; |
2411 | 2475 | |
2412 | 2476 | freebsd* | dragonfly*) |
2416 | 2480 | objformat=`/usr/bin/objformat` |
2417 | 2481 | else |
2418 | 2482 | case $host_os in |
2419 | freebsd[[123]]*) objformat=aout ;; | |
2483 | freebsd[[23]].*) objformat=aout ;; | |
2420 | 2484 | *) objformat=elf ;; |
2421 | 2485 | esac |
2422 | 2486 | fi |
2434 | 2498 | esac |
2435 | 2499 | shlibpath_var=LD_LIBRARY_PATH |
2436 | 2500 | case $host_os in |
2437 | freebsd2*) | |
2501 | freebsd2.*) | |
2438 | 2502 | shlibpath_overrides_runpath=yes |
2439 | 2503 | ;; |
2440 | 2504 | freebsd3.[[01]]* | freebsdelf3.[[01]]*) |
2454 | 2518 | ;; |
2455 | 2519 | |
2456 | 2520 | gnu*) |
2457 | version_type=linux | |
2521 | version_type=linux # correct to gnu/linux during the next big refactor | |
2458 | 2522 | need_lib_prefix=no |
2459 | 2523 | need_version=no |
2460 | 2524 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
2461 | 2525 | soname_spec='${libname}${release}${shared_ext}$major' |
2462 | 2526 | shlibpath_var=LD_LIBRARY_PATH |
2527 | shlibpath_overrides_runpath=no | |
2463 | 2528 | hardcode_into_libs=yes |
2464 | 2529 | ;; |
2465 | 2530 | |
2466 | 2531 | haiku*) |
2467 | version_type=linux | |
2532 | version_type=linux # correct to gnu/linux during the next big refactor | |
2468 | 2533 | need_lib_prefix=no |
2469 | 2534 | need_version=no |
2470 | 2535 | dynamic_linker="$host_os runtime_loader" |
2525 | 2590 | ;; |
2526 | 2591 | |
2527 | 2592 | interix[[3-9]]*) |
2528 | version_type=linux | |
2593 | version_type=linux # correct to gnu/linux during the next big refactor | |
2529 | 2594 | need_lib_prefix=no |
2530 | 2595 | need_version=no |
2531 | 2596 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
2541 | 2606 | nonstopux*) version_type=nonstopux ;; |
2542 | 2607 | *) |
2543 | 2608 | if test "$lt_cv_prog_gnu_ld" = yes; then |
2544 | version_type=linux | |
2609 | version_type=linux # correct to gnu/linux during the next big refactor | |
2545 | 2610 | else |
2546 | 2611 | version_type=irix |
2547 | 2612 | fi ;; |
2578 | 2643 | dynamic_linker=no |
2579 | 2644 | ;; |
2580 | 2645 | |
2581 | # This must be Linux ELF. | |
2646 | # This must be glibc/ELF. | |
2582 | 2647 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
2583 | version_type=linux | |
2648 | version_type=linux # correct to gnu/linux during the next big refactor | |
2584 | 2649 | need_lib_prefix=no |
2585 | 2650 | need_version=no |
2586 | 2651 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2647 | 2712 | ;; |
2648 | 2713 | |
2649 | 2714 | newsos6) |
2650 | version_type=linux | |
2715 | version_type=linux # correct to gnu/linux during the next big refactor | |
2651 | 2716 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2652 | 2717 | shlibpath_var=LD_LIBRARY_PATH |
2653 | 2718 | shlibpath_overrides_runpath=yes |
2716 | 2781 | ;; |
2717 | 2782 | |
2718 | 2783 | solaris*) |
2719 | version_type=linux | |
2784 | version_type=linux # correct to gnu/linux during the next big refactor | |
2720 | 2785 | need_lib_prefix=no |
2721 | 2786 | need_version=no |
2722 | 2787 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2741 | 2806 | ;; |
2742 | 2807 | |
2743 | 2808 | sysv4 | sysv4.3*) |
2744 | version_type=linux | |
2809 | version_type=linux # correct to gnu/linux during the next big refactor | |
2745 | 2810 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2746 | 2811 | soname_spec='${libname}${release}${shared_ext}$major' |
2747 | 2812 | shlibpath_var=LD_LIBRARY_PATH |
2765 | 2830 | |
2766 | 2831 | sysv4*MP*) |
2767 | 2832 | if test -d /usr/nec ;then |
2768 | version_type=linux | |
2833 | version_type=linux # correct to gnu/linux during the next big refactor | |
2769 | 2834 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
2770 | 2835 | soname_spec='$libname${shared_ext}.$major' |
2771 | 2836 | shlibpath_var=LD_LIBRARY_PATH |
2796 | 2861 | |
2797 | 2862 | tpf*) |
2798 | 2863 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
2799 | version_type=linux | |
2864 | version_type=linux # correct to gnu/linux during the next big refactor | |
2800 | 2865 | need_lib_prefix=no |
2801 | 2866 | need_version=no |
2802 | 2867 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2806 | 2871 | ;; |
2807 | 2872 | |
2808 | 2873 | uts4*) |
2809 | version_type=linux | |
2874 | version_type=linux # correct to gnu/linux during the next big refactor | |
2810 | 2875 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
2811 | 2876 | soname_spec='${libname}${release}${shared_ext}$major' |
2812 | 2877 | shlibpath_var=LD_LIBRARY_PATH |
3228 | 3293 | lt_cv_deplibs_check_method=pass_all |
3229 | 3294 | ;; |
3230 | 3295 | |
3231 | # This must be Linux ELF. | |
3296 | # This must be glibc/ELF. | |
3232 | 3297 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3233 | 3298 | lt_cv_deplibs_check_method=pass_all |
3234 | 3299 | ;; |
3648 | 3713 | # which start with @ or ?. |
3649 | 3714 | lt_cv_sys_global_symbol_pipe="$AWK ['"\ |
3650 | 3715 | " {last_section=section; section=\$ 3};"\ |
3716 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | |
3651 | 3717 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
3652 | 3718 | " \$ 0!~/External *\|/{next};"\ |
3653 | 3719 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
4232 | 4298 | case $cc_basename in |
4233 | 4299 | nvcc*) # Cuda Compiler Driver 2.2 |
4234 | 4300 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' |
4235 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' | |
4301 | if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then | |
4302 | _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" | |
4303 | fi | |
4236 | 4304 | ;; |
4237 | 4305 | esac |
4238 | 4306 | else |
4324 | 4392 | ;; |
4325 | 4393 | *) |
4326 | 4394 | case `$CC -V 2>&1 | sed 5q` in |
4327 | *Sun\ F* | *Sun*Fortran*) | |
4395 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) | |
4328 | 4396 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
4329 | 4397 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4330 | 4398 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4331 | 4399 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='' |
4400 | ;; | |
4401 | *Sun\ F* | *Sun*Fortran*) | |
4402 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | |
4403 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | |
4404 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' | |
4332 | 4405 | ;; |
4333 | 4406 | *Sun\ C*) |
4334 | 4407 | # Sun C 5.9 |
4335 | 4408 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4336 | 4409 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4337 | 4410 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4411 | ;; | |
4412 | *Intel*\ [[CF]]*Compiler*) | |
4413 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | |
4414 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | |
4415 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | |
4416 | ;; | |
4417 | *Portland\ Group*) | |
4418 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | |
4419 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' | |
4420 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | |
4338 | 4421 | ;; |
4339 | 4422 | esac |
4340 | 4423 | ;; |
4495 | 4578 | ;; |
4496 | 4579 | cygwin* | mingw* | cegcc*) |
4497 | 4580 | case $cc_basename in |
4498 | cl*) ;; | |
4581 | cl*) | |
4582 | _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | |
4583 | ;; | |
4499 | 4584 | *) |
4500 | 4585 | _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' |
4501 | 4586 | _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] |
4520 | 4605 | _LT_TAGVAR(hardcode_direct, $1)=no |
4521 | 4606 | _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
4522 | 4607 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
4523 | _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= | |
4524 | 4608 | _LT_TAGVAR(hardcode_libdir_separator, $1)= |
4525 | 4609 | _LT_TAGVAR(hardcode_minus_L, $1)=no |
4526 | 4610 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
4771 | 4855 | xlf* | bgf* | bgxlf* | mpixlf*) |
4772 | 4856 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
4773 | 4857 | _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' |
4774 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= | |
4775 | _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' | |
4858 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | |
4776 | 4859 | _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
4777 | 4860 | if test "x$supports_anon_versioning" = xyes; then |
4778 | 4861 | _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
5067 | 5150 | # The linker will not automatically build a static lib if we build a DLL. |
5068 | 5151 | # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
5069 | 5152 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
5153 | _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | |
5070 | 5154 | _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' |
5071 | 5155 | # Don't use ranlib |
5072 | 5156 | _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' |
5113 | 5197 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
5114 | 5198 | ;; |
5115 | 5199 | |
5116 | freebsd1*) | |
5117 | _LT_TAGVAR(ld_shlibs, $1)=no | |
5118 | ;; | |
5119 | ||
5120 | 5200 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
5121 | 5201 | # support. Future versions do this automatically, but an explicit c++rt0.o |
5122 | 5202 | # does not break anything, and helps significantly (at the cost of a little |
5129 | 5209 | ;; |
5130 | 5210 | |
5131 | 5211 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
5132 | freebsd2*) | |
5212 | freebsd2.*) | |
5133 | 5213 | _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
5134 | 5214 | _LT_TAGVAR(hardcode_direct, $1)=yes |
5135 | 5215 | _LT_TAGVAR(hardcode_minus_L, $1)=yes |
5168 | 5248 | fi |
5169 | 5249 | if test "$with_gnu_ld" = no; then |
5170 | 5250 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
5171 | _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' | |
5172 | 5251 | _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
5173 | 5252 | _LT_TAGVAR(hardcode_direct, $1)=yes |
5174 | 5253 | _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
5610 | 5689 | _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], |
5611 | 5690 | [Flag to hardcode $libdir into a binary during linking. |
5612 | 5691 | This must work even if $libdir does not exist]) |
5613 | _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], | |
5614 | [[If ld is used when linking, flag to hardcode $libdir into a binary | |
5615 | during linking. This must work even if $libdir does not exist]]) | |
5616 | 5692 | _LT_TAGDECL([], [hardcode_libdir_separator], [1], |
5617 | 5693 | [Whether we need a single "-rpath" flag with a separated argument]) |
5618 | 5694 | _LT_TAGDECL([], [hardcode_direct], [0], |
5770 | 5846 | _LT_TAGVAR(hardcode_direct, $1)=no |
5771 | 5847 | _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
5772 | 5848 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
5773 | _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= | |
5774 | 5849 | _LT_TAGVAR(hardcode_libdir_separator, $1)= |
5775 | 5850 | _LT_TAGVAR(hardcode_minus_L, $1)=no |
5776 | 5851 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
6140 | 6215 | esac |
6141 | 6216 | ;; |
6142 | 6217 | |
6143 | freebsd[[12]]*) | |
6218 | freebsd2.*) | |
6144 | 6219 | # C++ shared libraries reported to be fairly broken before |
6145 | 6220 | # switch to ELF |
6146 | 6221 | _LT_TAGVAR(ld_shlibs, $1)=no |
6901 | 6976 | } |
6902 | 6977 | }; |
6903 | 6978 | _LT_EOF |
6979 | ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF | |
6980 | package foo | |
6981 | func foo() { | |
6982 | } | |
6983 | _LT_EOF | |
6904 | 6984 | ]) |
6905 | 6985 | |
6906 | 6986 | _lt_libdeps_save_CFLAGS=$CFLAGS |
6907 | 6987 | case "$CC $CFLAGS " in #( |
6908 | 6988 | *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
6909 | 6989 | *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
6990 | *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; | |
6910 | 6991 | esac |
6911 | 6992 | |
6912 | 6993 | dnl Parse the compiler output and extract the necessary |
7103 | 7184 | _LT_TAGVAR(hardcode_direct, $1)=no |
7104 | 7185 | _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
7105 | 7186 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
7106 | _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= | |
7107 | 7187 | _LT_TAGVAR(hardcode_libdir_separator, $1)= |
7108 | 7188 | _LT_TAGVAR(hardcode_minus_L, $1)=no |
7109 | 7189 | _LT_TAGVAR(hardcode_automatic, $1)=no |
7236 | 7316 | _LT_TAGVAR(hardcode_direct, $1)=no |
7237 | 7317 | _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
7238 | 7318 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
7239 | _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= | |
7240 | 7319 | _LT_TAGVAR(hardcode_libdir_separator, $1)= |
7241 | 7320 | _LT_TAGVAR(hardcode_minus_L, $1)=no |
7242 | 7321 | _LT_TAGVAR(hardcode_automatic, $1)=no |
7423 | 7502 | ])# _LT_LANG_GCJ_CONFIG |
7424 | 7503 | |
7425 | 7504 | |
7505 | # _LT_LANG_GO_CONFIG([TAG]) | |
7506 | # -------------------------- | |
7507 | # Ensure that the configuration variables for the GNU Go compiler | |
7508 | # are suitably defined. These variables are subsequently used by _LT_CONFIG | |
7509 | # to write the compiler configuration to `libtool'. | |
7510 | m4_defun([_LT_LANG_GO_CONFIG], | |
7511 | [AC_REQUIRE([LT_PROG_GO])dnl | |
7512 | AC_LANG_SAVE | |
7513 | ||
7514 | # Source file extension for Go test sources. | |
7515 | ac_ext=go | |
7516 | ||
7517 | # Object file extension for compiled Go test sources. | |
7518 | objext=o | |
7519 | _LT_TAGVAR(objext, $1)=$objext | |
7520 | ||
7521 | # Code to be used in simple compile tests | |
7522 | lt_simple_compile_test_code="package main; func main() { }" | |
7523 | ||
7524 | # Code to be used in simple link tests | |
7525 | lt_simple_link_test_code='package main; func main() { }' | |
7526 | ||
7527 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | |
7528 | _LT_TAG_COMPILER | |
7529 | ||
7530 | # save warnings/boilerplate of simple test code | |
7531 | _LT_COMPILER_BOILERPLATE | |
7532 | _LT_LINKER_BOILERPLATE | |
7533 | ||
7534 | # Allow CC to be a program name with arguments. | |
7535 | lt_save_CC=$CC | |
7536 | lt_save_CFLAGS=$CFLAGS | |
7537 | lt_save_GCC=$GCC | |
7538 | GCC=yes | |
7539 | CC=${GOC-"gccgo"} | |
7540 | CFLAGS=$GOFLAGS | |
7541 | compiler=$CC | |
7542 | _LT_TAGVAR(compiler, $1)=$CC | |
7543 | _LT_TAGVAR(LD, $1)="$LD" | |
7544 | _LT_CC_BASENAME([$compiler]) | |
7545 | ||
7546 | # Go did not exist at the time GCC didn't implicitly link libc in. | |
7547 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no | |
7548 | ||
7549 | _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds | |
7550 | _LT_TAGVAR(reload_flag, $1)=$reload_flag | |
7551 | _LT_TAGVAR(reload_cmds, $1)=$reload_cmds | |
7552 | ||
7553 | ## CAVEAT EMPTOR: | |
7554 | ## There is no encapsulation within the following macros, do not change | |
7555 | ## the running order or otherwise move them around unless you know exactly | |
7556 | ## what you are doing... | |
7557 | if test -n "$compiler"; then | |
7558 | _LT_COMPILER_NO_RTTI($1) | |
7559 | _LT_COMPILER_PIC($1) | |
7560 | _LT_COMPILER_C_O($1) | |
7561 | _LT_COMPILER_FILE_LOCKS($1) | |
7562 | _LT_LINKER_SHLIBS($1) | |
7563 | _LT_LINKER_HARDCODE_LIBPATH($1) | |
7564 | ||
7565 | _LT_CONFIG($1) | |
7566 | fi | |
7567 | ||
7568 | AC_LANG_RESTORE | |
7569 | ||
7570 | GCC=$lt_save_GCC | |
7571 | CC=$lt_save_CC | |
7572 | CFLAGS=$lt_save_CFLAGS | |
7573 | ])# _LT_LANG_GO_CONFIG | |
7574 | ||
7575 | ||
7426 | 7576 | # _LT_LANG_RC_CONFIG([TAG]) |
7427 | 7577 | # ------------------------- |
7428 | 7578 | # Ensure that the configuration variables for the Windows resource compiler |
7490 | 7640 | AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) |
7491 | 7641 | dnl aclocal-1.4 backwards compatibility: |
7492 | 7642 | dnl AC_DEFUN([LT_AC_PROG_GCJ], []) |
7643 | ||
7644 | ||
7645 | # LT_PROG_GO | |
7646 | # ---------- | |
7647 | AC_DEFUN([LT_PROG_GO], | |
7648 | [AC_CHECK_TOOL(GOC, gccgo,) | |
7649 | ]) | |
7493 | 7650 | |
7494 | 7651 | |
7495 | 7652 | # LT_PROG_RC |
325 | 325 | # MODE is either `yes' or `no'. If omitted, it defaults to `both'. |
326 | 326 | m4_define([_LT_WITH_PIC], |
327 | 327 | [AC_ARG_WITH([pic], |
328 | [AS_HELP_STRING([--with-pic], | |
328 | [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], | |
329 | 329 | [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], |
330 | [pic_mode="$withval"], | |
330 | [lt_p=${PACKAGE-default} | |
331 | case $withval in | |
332 | yes|no) pic_mode=$withval ;; | |
333 | *) | |
334 | pic_mode=default | |
335 | # Look at the argument we got. We use all the common list separators. | |
336 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
337 | for lt_pkg in $withval; do | |
338 | IFS="$lt_save_ifs" | |
339 | if test "X$lt_pkg" = "X$lt_p"; then | |
340 | pic_mode=yes | |
341 | fi | |
342 | done | |
343 | IFS="$lt_save_ifs" | |
344 | ;; | |
345 | esac], | |
331 | 346 | [pic_mode=default]) |
332 | 347 | |
333 | 348 | test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) |
0 | 0 | #! /bin/sh |
1 | # Common stub for a few missing GNU programs while installing. | |
2 | ||
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, | |
6 | # 2008, 2009 Free Software Foundation, Inc. | |
7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
1 | # Common wrapper for a few potentially missing GNU programs. | |
2 | ||
3 | scriptversion=2012-06-26.16; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
8 | 7 | |
9 | 8 | # This program is free software; you can redistribute it and/or modify |
10 | 9 | # it under the terms of the GNU General Public License as published by |
25 | 24 | # the same distribution terms that you use for the rest of that program. |
26 | 25 | |
27 | 26 | if test $# -eq 0; then |
28 | echo 1>&2 "Try \`$0 --help' for more information" | |
27 | echo 1>&2 "Try '$0 --help' for more information" | |
29 | 28 | exit 1 |
30 | 29 | fi |
31 | 30 | |
32 | run=: | |
33 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' | |
34 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' | |
35 | ||
36 | # In the cases where this matters, `missing' is being run in the | |
37 | # srcdir already. | |
38 | if test -f configure.ac; then | |
39 | configure_ac=configure.ac | |
40 | else | |
41 | configure_ac=configure.in | |
42 | fi | |
43 | ||
44 | msg="missing on your system" | |
45 | ||
46 | 31 | case $1 in |
47 | --run) | |
48 | # Try to run requested program, and just exit if it succeeds. | |
49 | run= | |
50 | shift | |
51 | "$@" && exit 0 | |
52 | # Exit code 63 means version mismatch. This often happens | |
53 | # when the user try to use an ancient version of a tool on | |
54 | # a file that requires a minimum version. In this case we | |
55 | # we should proceed has if the program had been absent, or | |
56 | # if --run hadn't been passed. | |
57 | if test $? = 63; then | |
58 | run=: | |
59 | msg="probably too old" | |
60 | fi | |
61 | ;; | |
32 | ||
33 | --is-lightweight) | |
34 | # Used by our autoconf macros to check whether the available missing | |
35 | # script is modern enough. | |
36 | exit 0 | |
37 | ;; | |
38 | ||
39 | --run) | |
40 | # Back-compat with the calling convention used by older automake. | |
41 | shift | |
42 | ;; | |
62 | 43 | |
63 | 44 | -h|--h|--he|--hel|--help) |
64 | 45 | echo "\ |
65 | 46 | $0 [OPTION]... PROGRAM [ARGUMENT]... |
66 | 47 | |
67 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
68 | error status if there is no known handling for PROGRAM. | |
48 | Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due | |
49 | to PROGRAM being missing or too old. | |
69 | 50 | |
70 | 51 | Options: |
71 | 52 | -h, --help display this help and exit |
72 | 53 | -v, --version output version information and exit |
73 | --run try to run the given command, and emulate it if it fails | |
74 | 54 | |
75 | 55 | Supported PROGRAM values: |
76 | aclocal touch file \`aclocal.m4' | |
77 | autoconf touch file \`configure' | |
78 | autoheader touch file \`config.h.in' | |
79 | autom4te touch the output file, or create a stub one | |
80 | automake touch all \`Makefile.in' files | |
81 | bison create \`y.tab.[ch]', if possible, from existing .[ch] | |
82 | flex create \`lex.yy.c', if possible, from existing .c | |
83 | help2man touch the output file | |
84 | lex create \`lex.yy.c', if possible, from existing .c | |
85 | makeinfo touch the output file | |
86 | tar try tar, gnutar, gtar, then tar without non-portable flags | |
87 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | |
88 | ||
89 | Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and | |
90 | \`g' are ignored when checking the name. | |
56 | aclocal autoconf autoheader autom4te automake makeinfo | |
57 | bison yacc flex lex help2man | |
58 | ||
59 | Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and | |
60 | 'g' are ignored when checking the name. | |
91 | 61 | |
92 | 62 | Send bug reports to <bug-automake@gnu.org>." |
93 | 63 | exit $? |
99 | 69 | ;; |
100 | 70 | |
101 | 71 | -*) |
102 | echo 1>&2 "$0: Unknown \`$1' option" | |
103 | echo 1>&2 "Try \`$0 --help' for more information" | |
72 | echo 1>&2 "$0: unknown '$1' option" | |
73 | echo 1>&2 "Try '$0 --help' for more information" | |
104 | 74 | exit 1 |
105 | 75 | ;; |
106 | 76 | |
107 | 77 | esac |
108 | 78 | |
109 | # normalize program name to check for. | |
110 | program=`echo "$1" | sed ' | |
111 | s/^gnu-//; t | |
112 | s/^gnu//; t | |
113 | s/^g//; t'` | |
114 | ||
115 | # Now exit if we have it, but it failed. Also exit now if we | |
116 | # don't have it and --version was passed (most likely to detect | |
117 | # the program). This is about non-GNU programs, so use $1 not | |
118 | # $program. | |
119 | case $1 in | |
120 | lex*|yacc*) | |
121 | # Not GNU programs, they don't have --version. | |
122 | ;; | |
123 | ||
124 | tar*) | |
125 | if test -n "$run"; then | |
126 | echo 1>&2 "ERROR: \`tar' requires --run" | |
127 | exit 1 | |
128 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
129 | exit 1 | |
130 | fi | |
131 | ;; | |
132 | ||
133 | *) | |
134 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
135 | # We have it, but it failed. | |
136 | exit 1 | |
137 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
138 | # Could not run --version or --help. This is probably someone | |
139 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
140 | # $TOOL exists and not knowing $TOOL uses missing. | |
141 | exit 1 | |
142 | fi | |
143 | ;; | |
144 | esac | |
145 | ||
146 | # If it does not exist, or fails to run (possibly an outdated version), | |
147 | # try to emulate it. | |
148 | case $program in | |
149 | aclocal*) | |
150 | echo 1>&2 "\ | |
151 | WARNING: \`$1' is $msg. You should only need it if | |
152 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | |
153 | to install the \`Automake' and \`Perl' packages. Grab them from | |
154 | any GNU archive site." | |
155 | touch aclocal.m4 | |
156 | ;; | |
157 | ||
158 | autoconf*) | |
159 | echo 1>&2 "\ | |
160 | WARNING: \`$1' is $msg. You should only need it if | |
161 | you modified \`${configure_ac}'. You might want to install the | |
162 | \`Autoconf' and \`GNU m4' packages. Grab them from any GNU | |
163 | archive site." | |
164 | touch configure | |
165 | ;; | |
166 | ||
167 | autoheader*) | |
168 | echo 1>&2 "\ | |
169 | WARNING: \`$1' is $msg. You should only need it if | |
170 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | |
171 | to install the \`Autoconf' and \`GNU m4' packages. Grab them | |
172 | from any GNU archive site." | |
173 | files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` | |
174 | test -z "$files" && files="config.h" | |
175 | touch_files= | |
176 | for f in $files; do | |
177 | case $f in | |
178 | *:*) touch_files="$touch_files "`echo "$f" | | |
179 | sed -e 's/^[^:]*://' -e 's/:.*//'`;; | |
180 | *) touch_files="$touch_files $f.in";; | |
181 | esac | |
182 | done | |
183 | touch $touch_files | |
184 | ;; | |
185 | ||
186 | automake*) | |
187 | echo 1>&2 "\ | |
188 | WARNING: \`$1' is $msg. You should only need it if | |
189 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | |
190 | You might want to install the \`Automake' and \`Perl' packages. | |
191 | Grab them from any GNU archive site." | |
192 | find . -type f -name Makefile.am -print | | |
193 | sed 's/\.am$/.in/' | | |
194 | while read f; do touch "$f"; done | |
195 | ;; | |
196 | ||
197 | autom4te*) | |
198 | echo 1>&2 "\ | |
199 | WARNING: \`$1' is needed, but is $msg. | |
200 | You might have modified some files without having the | |
201 | proper tools for further handling them. | |
202 | You can get \`$1' as part of \`Autoconf' from any GNU | |
203 | archive site." | |
204 | ||
205 | file=`echo "$*" | sed -n "$sed_output"` | |
206 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
207 | if test -f "$file"; then | |
208 | touch $file | |
209 | else | |
210 | test -z "$file" || exec >$file | |
211 | echo "#! /bin/sh" | |
212 | echo "# Created by GNU Automake missing as a replacement of" | |
213 | echo "# $ $@" | |
214 | echo "exit 0" | |
215 | chmod +x $file | |
216 | exit 1 | |
217 | fi | |
218 | ;; | |
219 | ||
220 | bison*|yacc*) | |
221 | echo 1>&2 "\ | |
222 | WARNING: \`$1' $msg. You should only need it if | |
223 | you modified a \`.y' file. You may need the \`Bison' package | |
224 | in order for those modifications to take effect. You can get | |
225 | \`Bison' from any GNU archive site." | |
226 | rm -f y.tab.c y.tab.h | |
227 | if test $# -ne 1; then | |
228 | eval LASTARG="\${$#}" | |
229 | case $LASTARG in | |
230 | *.y) | |
231 | SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` | |
232 | if test -f "$SRCFILE"; then | |
233 | cp "$SRCFILE" y.tab.c | |
234 | fi | |
235 | SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` | |
236 | if test -f "$SRCFILE"; then | |
237 | cp "$SRCFILE" y.tab.h | |
238 | fi | |
239 | ;; | |
240 | esac | |
241 | fi | |
242 | if test ! -f y.tab.h; then | |
243 | echo >y.tab.h | |
244 | fi | |
245 | if test ! -f y.tab.c; then | |
246 | echo 'main() { return 0; }' >y.tab.c | |
247 | fi | |
248 | ;; | |
249 | ||
250 | lex*|flex*) | |
251 | echo 1>&2 "\ | |
252 | WARNING: \`$1' is $msg. You should only need it if | |
253 | you modified a \`.l' file. You may need the \`Flex' package | |
254 | in order for those modifications to take effect. You can get | |
255 | \`Flex' from any GNU archive site." | |
256 | rm -f lex.yy.c | |
257 | if test $# -ne 1; then | |
258 | eval LASTARG="\${$#}" | |
259 | case $LASTARG in | |
260 | *.l) | |
261 | SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` | |
262 | if test -f "$SRCFILE"; then | |
263 | cp "$SRCFILE" lex.yy.c | |
264 | fi | |
265 | ;; | |
266 | esac | |
267 | fi | |
268 | if test ! -f lex.yy.c; then | |
269 | echo 'main() { return 0; }' >lex.yy.c | |
270 | fi | |
271 | ;; | |
272 | ||
273 | help2man*) | |
274 | echo 1>&2 "\ | |
275 | WARNING: \`$1' is $msg. You should only need it if | |
276 | you modified a dependency of a manual page. You may need the | |
277 | \`Help2man' package in order for those modifications to take | |
278 | effect. You can get \`Help2man' from any GNU archive site." | |
279 | ||
280 | file=`echo "$*" | sed -n "$sed_output"` | |
281 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
282 | if test -f "$file"; then | |
283 | touch $file | |
284 | else | |
285 | test -z "$file" || exec >$file | |
286 | echo ".ab help2man is required to generate this page" | |
287 | exit $? | |
288 | fi | |
289 | ;; | |
290 | ||
291 | makeinfo*) | |
292 | echo 1>&2 "\ | |
293 | WARNING: \`$1' is $msg. You should only need it if | |
294 | you modified a \`.texi' or \`.texinfo' file, or any other file | |
295 | indirectly affecting the aspect of the manual. The spurious | |
296 | call might also be the consequence of using a buggy \`make' (AIX, | |
297 | DU, IRIX). You might want to install the \`Texinfo' package or | |
298 | the \`GNU make' package. Grab either from any GNU archive site." | |
299 | # The file to touch is that specified with -o ... | |
300 | file=`echo "$*" | sed -n "$sed_output"` | |
301 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
302 | if test -z "$file"; then | |
303 | # ... or it is the one specified with @setfilename ... | |
304 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
305 | file=`sed -n ' | |
306 | /^@setfilename/{ | |
307 | s/.* \([^ ]*\) *$/\1/ | |
308 | p | |
309 | q | |
310 | }' $infile` | |
311 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | |
312 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | |
313 | fi | |
314 | # If the file does not exist, the user really needs makeinfo; | |
315 | # let's fail without touching anything. | |
316 | test -f $file || exit 1 | |
317 | touch $file | |
318 | ;; | |
319 | ||
320 | tar*) | |
321 | shift | |
322 | ||
323 | # We have already tried tar in the generic part. | |
324 | # Look for gnutar/gtar before invocation to avoid ugly error | |
325 | # messages. | |
326 | if (gnutar --version > /dev/null 2>&1); then | |
327 | gnutar "$@" && exit 0 | |
328 | fi | |
329 | if (gtar --version > /dev/null 2>&1); then | |
330 | gtar "$@" && exit 0 | |
331 | fi | |
332 | firstarg="$1" | |
333 | if shift; then | |
334 | case $firstarg in | |
335 | *o*) | |
336 | firstarg=`echo "$firstarg" | sed s/o//` | |
337 | tar "$firstarg" "$@" && exit 0 | |
338 | ;; | |
339 | esac | |
340 | case $firstarg in | |
341 | *h*) | |
342 | firstarg=`echo "$firstarg" | sed s/h//` | |
343 | tar "$firstarg" "$@" && exit 0 | |
344 | ;; | |
345 | esac | |
346 | fi | |
347 | ||
348 | echo 1>&2 "\ | |
349 | WARNING: I can't seem to be able to run \`tar' with the given arguments. | |
350 | You may want to install GNU tar or Free paxutils, or check the | |
351 | command line arguments." | |
352 | exit 1 | |
353 | ;; | |
354 | ||
355 | *) | |
356 | echo 1>&2 "\ | |
357 | WARNING: \`$1' is needed, and is $msg. | |
358 | You might have modified some files without having the | |
359 | proper tools for further handling them. Check the \`README' file, | |
360 | it often tells you about the needed prerequisites for installing | |
361 | this package. You may also peek at any GNU archive site, in case | |
362 | some other package would contain this missing \`$1' program." | |
363 | exit 1 | |
364 | ;; | |
365 | esac | |
366 | ||
367 | exit 0 | |
79 | # Run the given program, remember its exit status. | |
80 | "$@"; st=$? | |
81 | ||
82 | # If it succeeded, we are done. | |
83 | test $st -eq 0 && exit 0 | |
84 | ||
85 | # Also exit now if we it failed (or wasn't found), and '--version' was | |
86 | # passed; such an option is passed most likely to detect whether the | |
87 | # program is present and works. | |
88 | case $2 in --version|--help) exit $st;; esac | |
89 | ||
90 | # Exit code 63 means version mismatch. This often happens when the user | |
91 | # tries to use an ancient version of a tool on a file that requires a | |
92 | # minimum version. | |
93 | if test $st -eq 63; then | |
94 | msg="probably too old" | |
95 | elif test $st -eq 127; then | |
96 | # Program was missing. | |
97 | msg="missing on your system" | |
98 | else | |
99 | # Program was found and executed, but failed. Give up. | |
100 | exit $st | |
101 | fi | |
102 | ||
103 | perl_URL=http://www.perl.org/ | |
104 | flex_URL=http://flex.sourceforge.net/ | |
105 | gnu_software_URL=http://www.gnu.org/software | |
106 | ||
107 | program_details () | |
108 | { | |
109 | case $1 in | |
110 | aclocal|automake) | |
111 | echo "The '$1' program is part of the GNU Automake package:" | |
112 | echo "<$gnu_software_URL/automake>" | |
113 | echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" | |
114 | echo "<$gnu_software_URL/autoconf>" | |
115 | echo "<$gnu_software_URL/m4/>" | |
116 | echo "<$perl_URL>" | |
117 | ;; | |
118 | autoconf|autom4te|autoheader) | |
119 | echo "The '$1' program is part of the GNU Autoconf package:" | |
120 | echo "<$gnu_software_URL/autoconf/>" | |
121 | echo "It also requires GNU m4 and Perl in order to run:" | |
122 | echo "<$gnu_software_URL/m4/>" | |
123 | echo "<$perl_URL>" | |
124 | ;; | |
125 | esac | |
126 | } | |
127 | ||
128 | give_advice () | |
129 | { | |
130 | # Normalize program name to check for. | |
131 | normalized_program=`echo "$1" | sed ' | |
132 | s/^gnu-//; t | |
133 | s/^gnu//; t | |
134 | s/^g//; t'` | |
135 | ||
136 | printf '%s\n' "'$1' is $msg." | |
137 | ||
138 | configure_deps="'configure.ac' or m4 files included by 'configure.ac'" | |
139 | case $normalized_program in | |
140 | autoconf*) | |
141 | echo "You should only need it if you modified 'configure.ac'," | |
142 | echo "or m4 files included by it." | |
143 | program_details 'autoconf' | |
144 | ;; | |
145 | autoheader*) | |
146 | echo "You should only need it if you modified 'acconfig.h' or" | |
147 | echo "$configure_deps." | |
148 | program_details 'autoheader' | |
149 | ;; | |
150 | automake*) | |
151 | echo "You should only need it if you modified 'Makefile.am' or" | |
152 | echo "$configure_deps." | |
153 | program_details 'automake' | |
154 | ;; | |
155 | aclocal*) | |
156 | echo "You should only need it if you modified 'acinclude.m4' or" | |
157 | echo "$configure_deps." | |
158 | program_details 'aclocal' | |
159 | ;; | |
160 | autom4te*) | |
161 | echo "You might have modified some maintainer files that require" | |
162 | echo "the 'automa4te' program to be rebuilt." | |
163 | program_details 'autom4te' | |
164 | ;; | |
165 | bison*|yacc*) | |
166 | echo "You should only need it if you modified a '.y' file." | |
167 | echo "You may want to install the GNU Bison package:" | |
168 | echo "<$gnu_software_URL/bison/>" | |
169 | ;; | |
170 | lex*|flex*) | |
171 | echo "You should only need it if you modified a '.l' file." | |
172 | echo "You may want to install the Fast Lexical Analyzer package:" | |
173 | echo "<$flex_URL>" | |
174 | ;; | |
175 | help2man*) | |
176 | echo "You should only need it if you modified a dependency" \ | |
177 | "of a man page." | |
178 | echo "You may want to install the GNU Help2man package:" | |
179 | echo "<$gnu_software_URL/help2man/>" | |
180 | ;; | |
181 | makeinfo*) | |
182 | echo "You should only need it if you modified a '.texi' file, or" | |
183 | echo "any other file indirectly affecting the aspect of the manual." | |
184 | echo "You might want to install the Texinfo package:" | |
185 | echo "<$gnu_software_URL/texinfo/>" | |
186 | echo "The spurious makeinfo call might also be the consequence of" | |
187 | echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" | |
188 | echo "want to install GNU make:" | |
189 | echo "<$gnu_software_URL/make/>" | |
190 | ;; | |
191 | *) | |
192 | echo "You might have modified some files without having the proper" | |
193 | echo "tools for further handling them. Check the 'README' file, it" | |
194 | echo "often tells you about the needed prerequisites for installing" | |
195 | echo "this package. You may also peek at any GNU archive site, in" | |
196 | echo "case some other package contains this missing '$1' program." | |
197 | ;; | |
198 | esac | |
199 | } | |
200 | ||
201 | give_advice "$1" | sed -e '1s/^/WARNING: /' \ | |
202 | -e '2,$s/^/ /' >&2 | |
203 | ||
204 | # Propagate the correct exit status (expected to be 127 for a program | |
205 | # not found, 63 for a program that failed due to version mismatch). | |
206 | exit $st | |
368 | 207 | |
369 | 208 | # Local variables: |
370 | 209 | # eval: (add-hook 'write-file-hooks 'time-stamp) |