Imported Upstream version 0.2.0
Simon McVittie
15 years ago
0 | # Makefile.in generated by automake 1.9.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.10 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004, 2005 Free Software Foundation, Inc. | |
4 | # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
12 | 12 | # PARTICULAR PURPOSE. |
13 | 13 | |
14 | 14 | @SET_MAKE@ |
15 | srcdir = @srcdir@ | |
16 | top_srcdir = @top_srcdir@ | |
17 | 15 | VPATH = @srcdir@ |
18 | 16 | pkgdatadir = $(datadir)/@PACKAGE@ |
19 | 17 | pkglibdir = $(libdir)/@PACKAGE@ |
20 | 18 | pkgincludedir = $(includedir)/@PACKAGE@ |
21 | top_builddir = . | |
22 | 19 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
23 | INSTALL = @INSTALL@ | |
24 | 20 | install_sh_DATA = $(install_sh) -c -m 644 |
25 | 21 | install_sh_PROGRAM = $(install_sh) -c |
26 | 22 | install_sh_SCRIPT = $(install_sh) -c |
34 | 30 | POST_UNINSTALL = : |
35 | 31 | build_triplet = @build@ |
36 | 32 | host_triplet = @host@ |
33 | subdir = . | |
37 | 34 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
38 | 35 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
39 | 36 | $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
40 | 37 | config.guess config.sub depcomp install-sh ltmain.sh missing |
41 | subdir = . | |
42 | 38 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
43 | 39 | am__aclocal_m4_deps = $(top_srcdir)/m4/as-compiler-flag.m4 \ |
44 | 40 | $(top_srcdir)/configure.ac |
45 | 41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
46 | 42 | $(ACLOCAL_M4) |
47 | 43 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
48 | configure.lineno configure.status.lineno | |
44 | configure.lineno config.status.lineno | |
49 | 45 | mkinstalldirs = $(install_sh) -d |
50 | 46 | CONFIG_HEADER = config.h |
51 | 47 | CONFIG_CLEAN_FILES = |
53 | 49 | DIST_SOURCES = |
54 | 50 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
55 | 51 | html-recursive info-recursive install-data-recursive \ |
56 | install-exec-recursive install-info-recursive \ | |
57 | install-recursive installcheck-recursive installdirs-recursive \ | |
58 | pdf-recursive ps-recursive uninstall-info-recursive \ | |
59 | uninstall-recursive | |
52 | install-dvi-recursive install-exec-recursive \ | |
53 | install-html-recursive install-info-recursive \ | |
54 | install-pdf-recursive install-ps-recursive install-recursive \ | |
55 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
56 | ps-recursive uninstall-recursive | |
57 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | |
58 | distclean-recursive maintainer-clean-recursive | |
60 | 59 | ETAGS = etags |
61 | 60 | CTAGS = ctags |
62 | 61 | DIST_SUBDIRS = $(SUBDIRS) |
72 | 71 | distuninstallcheck_listfiles = find . -type f -print |
73 | 72 | distcleancheck_listfiles = find . -type f -print |
74 | 73 | ACLOCAL = @ACLOCAL@ |
75 | AMDEP_FALSE = @AMDEP_FALSE@ | |
76 | AMDEP_TRUE = @AMDEP_TRUE@ | |
77 | 74 | AMTAR = @AMTAR@ |
78 | 75 | AR = @AR@ |
79 | 76 | AUTOCONF = @AUTOCONF@ |
97 | 94 | ECHO_N = @ECHO_N@ |
98 | 95 | ECHO_T = @ECHO_T@ |
99 | 96 | EGREP = @EGREP@ |
97 | ENABLE_LEAKY_REQUEST_STUBS = @ENABLE_LEAKY_REQUEST_STUBS@ | |
100 | 98 | ERROR_CFLAGS = @ERROR_CFLAGS@ |
101 | 99 | EXEEXT = @EXEEXT@ |
102 | 100 | F77 = @F77@ |
103 | 101 | FFLAGS = @FFLAGS@ |
104 | 102 | GREP = @GREP@ |
103 | INSTALL = @INSTALL@ | |
105 | 104 | INSTALL_DATA = @INSTALL_DATA@ |
106 | 105 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
107 | 106 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
113 | 112 | LN_S = @LN_S@ |
114 | 113 | LTLIBOBJS = @LTLIBOBJS@ |
115 | 114 | MAKEINFO = @MAKEINFO@ |
115 | MKDIR_P = @MKDIR_P@ | |
116 | 116 | OBJEXT = @OBJEXT@ |
117 | 117 | PACKAGE = @PACKAGE@ |
118 | 118 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
132 | 132 | TP_GLIB_CFLAGS = @TP_GLIB_CFLAGS@ |
133 | 133 | TP_GLIB_LIBS = @TP_GLIB_LIBS@ |
134 | 134 | VERSION = @VERSION@ |
135 | abs_builddir = @abs_builddir@ | |
136 | abs_srcdir = @abs_srcdir@ | |
137 | abs_top_builddir = @abs_top_builddir@ | |
138 | abs_top_srcdir = @abs_top_srcdir@ | |
135 | 139 | ac_ct_CC = @ac_ct_CC@ |
136 | 140 | ac_ct_CXX = @ac_ct_CXX@ |
137 | 141 | ac_ct_F77 = @ac_ct_F77@ |
138 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ | |
139 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ | |
140 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ | |
141 | am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ | |
142 | 142 | am__include = @am__include@ |
143 | 143 | am__leading_dot = @am__leading_dot@ |
144 | 144 | am__quote = @am__quote@ |
150 | 150 | build_cpu = @build_cpu@ |
151 | 151 | build_os = @build_os@ |
152 | 152 | build_vendor = @build_vendor@ |
153 | builddir = @builddir@ | |
153 | 154 | datadir = @datadir@ |
154 | 155 | datarootdir = @datarootdir@ |
155 | 156 | docdir = @docdir@ |
177 | 178 | psdir = @psdir@ |
178 | 179 | sbindir = @sbindir@ |
179 | 180 | sharedstatedir = @sharedstatedir@ |
181 | srcdir = @srcdir@ | |
180 | 182 | sysconfdir = @sysconfdir@ |
181 | 183 | target_alias = @target_alias@ |
184 | top_builddir = @top_builddir@ | |
185 | top_srcdir = @top_srcdir@ | |
182 | 186 | ACLOCAL_AMFLAGS = -I m4 |
183 | 187 | SUBDIRS = src data m4 |
184 | 188 | all: config.h |
222 | 226 | config.h: stamp-h1 |
223 | 227 | @if test ! -f $@; then \ |
224 | 228 | rm -f stamp-h1; \ |
225 | $(MAKE) stamp-h1; \ | |
229 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
226 | 230 | else :; fi |
227 | 231 | |
228 | 232 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
244 | 248 | |
245 | 249 | distclean-libtool: |
246 | 250 | -rm -f libtool |
247 | uninstall-info-am: | |
248 | 251 | |
249 | 252 | # This directory's subdirectories are mostly independent; you can cd |
250 | 253 | # into them and run `make' without going through this Makefile. |
277 | 280 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
278 | 281 | fi; test -z "$$fail" |
279 | 282 | |
280 | mostlyclean-recursive clean-recursive distclean-recursive \ | |
281 | maintainer-clean-recursive: | |
283 | $(RECURSIVE_CLEAN_TARGETS): | |
282 | 284 | @failcom='exit 1'; \ |
283 | 285 | for f in x $$MAKEFLAGS; do \ |
284 | 286 | case $$f in \ |
380 | 382 | |
381 | 383 | distdir: $(DISTFILES) |
382 | 384 | $(am__remove_distdir) |
383 | mkdir $(distdir) | |
384 | $(mkdir_p) $(distdir)/m4 | |
385 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | |
386 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | |
387 | list='$(DISTFILES)'; for file in $$list; do \ | |
388 | case $$file in \ | |
389 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | |
390 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | |
391 | esac; \ | |
385 | test -d $(distdir) || mkdir $(distdir) | |
386 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
387 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
388 | list='$(DISTFILES)'; \ | |
389 | dist_files=`for file in $$list; do echo $$file; done | \ | |
390 | sed -e "s|^$$srcdirstrip/||;t" \ | |
391 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
392 | case $$dist_files in \ | |
393 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
394 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
395 | sort -u` ;; \ | |
396 | esac; \ | |
397 | for file in $$dist_files; do \ | |
392 | 398 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
393 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
394 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | |
395 | dir="/$$dir"; \ | |
396 | $(mkdir_p) "$(distdir)$$dir"; \ | |
397 | else \ | |
398 | dir=''; \ | |
399 | fi; \ | |
400 | 399 | if test -d $$d/$$file; then \ |
400 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
401 | 401 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
402 | 402 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
403 | 403 | fi; \ |
411 | 411 | list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
412 | 412 | if test "$$subdir" = .; then :; else \ |
413 | 413 | test -d "$(distdir)/$$subdir" \ |
414 | || $(mkdir_p) "$(distdir)/$$subdir" \ | |
414 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
415 | 415 | || exit 1; \ |
416 | 416 | distdir=`$(am__cd) $(distdir) && pwd`; \ |
417 | 417 | top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ |
419 | 419 | $(MAKE) $(AM_MAKEFLAGS) \ |
420 | 420 | top_distdir="$$top_distdir" \ |
421 | 421 | distdir="$$distdir/$$subdir" \ |
422 | am__remove_distdir=: \ | |
423 | am__skip_length_check=: \ | |
422 | 424 | distdir) \ |
423 | 425 | || exit 1; \ |
424 | 426 | fi; \ |
426 | 428 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
427 | 429 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
428 | 430 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
429 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ | |
431 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | |
430 | 432 | || chmod -R a+r $(distdir) |
431 | 433 | dist-gzip: distdir |
432 | 434 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
501 | 503 | $(am__remove_distdir) |
502 | 504 | @(echo "$(distdir) archives ready for distribution: "; \ |
503 | 505 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
504 | sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' | |
506 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | |
505 | 507 | distuninstallcheck: |
506 | 508 | @cd $(distuninstallcheck_dir) \ |
507 | 509 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
571 | 573 | |
572 | 574 | install-data-am: |
573 | 575 | |
576 | install-dvi: install-dvi-recursive | |
577 | ||
574 | 578 | install-exec-am: |
575 | 579 | |
580 | install-html: install-html-recursive | |
581 | ||
576 | 582 | install-info: install-info-recursive |
577 | 583 | |
578 | 584 | install-man: |
585 | ||
586 | install-pdf: install-pdf-recursive | |
587 | ||
588 | install-ps: install-ps-recursive | |
579 | 589 | |
580 | 590 | installcheck-am: |
581 | 591 | |
597 | 607 | |
598 | 608 | ps-am: |
599 | 609 | |
600 | uninstall-am: uninstall-info-am | |
601 | ||
602 | uninstall-info: uninstall-info-recursive | |
603 | ||
604 | .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ | |
605 | check-am clean clean-generic clean-libtool clean-recursive \ | |
606 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
607 | dist-shar dist-tarZ dist-zip distcheck distclean \ | |
610 | uninstall-am: | |
611 | ||
612 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ | |
613 | install-strip | |
614 | ||
615 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
616 | all all-am am--refresh check check-am clean clean-generic \ | |
617 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | |
618 | dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ | |
608 | 619 | distclean-generic distclean-hdr distclean-libtool \ |
609 | distclean-recursive distclean-tags distcleancheck distdir \ | |
610 | distuninstallcheck dvi dvi-am html html-am info info-am \ | |
611 | install install-am install-data install-data-am install-exec \ | |
612 | install-exec-am install-info install-info-am install-man \ | |
613 | install-strip installcheck installcheck-am installdirs \ | |
614 | installdirs-am maintainer-clean maintainer-clean-generic \ | |
615 | maintainer-clean-recursive mostlyclean mostlyclean-generic \ | |
616 | mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ | |
617 | tags tags-recursive uninstall uninstall-am uninstall-info-am | |
620 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | |
621 | dvi-am html html-am info info-am install install-am \ | |
622 | install-data install-data-am install-dvi install-dvi-am \ | |
623 | install-exec install-exec-am install-html install-html-am \ | |
624 | install-info install-info-am install-man install-pdf \ | |
625 | install-pdf-am install-ps install-ps-am install-strip \ | |
626 | installcheck installcheck-am installdirs installdirs-am \ | |
627 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
628 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
629 | tags tags-recursive uninstall uninstall-am | |
618 | 630 | |
619 | 631 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
620 | 632 | # Otherwise a system limit (for SysV at least) may be exceeded. |
0 | telepathy-haze 0.2.0 – "I Remember Piano Lessons" (2008-02-07) | |
1 | ============================================================== | |
2 | ||
3 | * Protocols now present the correct parameters, with appropriate | |
4 | defaults, rather than always taking account, password and server. | |
5 | * Send apostrophes correctly on Yahoo! Messenger. | |
6 | ||
0 | 7 | telepathy-haze 0.1.4 – "Watch That Pinkie" (2007-11-21) |
1 | 8 | ======================================================= |
2 | 9 |
0 | # generated automatically by aclocal 1.9.6 -*- Autoconf -*- | |
0 | # generated automatically by aclocal 1.10 -*- Autoconf -*- | |
1 | 1 | |
2 | 2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3 | # 2005 Free Software Foundation, Inc. | |
3 | # 2005, 2006 Free Software Foundation, Inc. | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
6 | 6 | # with or without modifications, as long as this notice is preserved. |
10 | 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
11 | 11 | # PARTICULAR PURPOSE. |
12 | 12 | |
13 | m4_if(m4_PACKAGE_VERSION, [2.61],, | |
14 | [m4_fatal([this file was generated for autoconf 2.61. | |
15 | You have another version of autoconf. If you want to use that, | |
16 | you should regenerate the build system entirely.], [63])]) | |
17 | ||
13 | 18 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
14 | 19 | |
15 | # serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL | |
20 | # serial 51 Debian 1.5.24-2 AC_PROG_LIBTOOL | |
16 | 21 | |
17 | 22 | |
18 | 23 | # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) |
6749 | 6754 | fi[]dnl |
6750 | 6755 | ])# PKG_CHECK_MODULES |
6751 | 6756 | |
6752 | # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. | |
6757 | # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. | |
6753 | 6758 | # |
6754 | 6759 | # This file is free software; the Free Software Foundation |
6755 | 6760 | # gives unlimited permission to copy and/or distribute it, |
6759 | 6764 | # ---------------------------- |
6760 | 6765 | # Automake X.Y traces this macro to ensure aclocal.m4 has been |
6761 | 6766 | # generated from the m4 files accompanying Automake X.Y. |
6762 | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) | |
6767 | # (This private macro should not be called outside this file.) | |
6768 | AC_DEFUN([AM_AUTOMAKE_VERSION], | |
6769 | [am__api_version='1.10' | |
6770 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
6771 | dnl require some minimum version. Point them to the right macro. | |
6772 | m4_if([$1], [1.10], [], | |
6773 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
6774 | ]) | |
6775 | ||
6776 | # _AM_AUTOCONF_VERSION(VERSION) | |
6777 | # ----------------------------- | |
6778 | # aclocal traces this macro to find the Autoconf version. | |
6779 | # This is a private macro too. Using m4_define simplifies | |
6780 | # the logic in aclocal, which can simply ignore this definition. | |
6781 | m4_define([_AM_AUTOCONF_VERSION], []) | |
6763 | 6782 | |
6764 | 6783 | # AM_SET_CURRENT_AUTOMAKE_VERSION |
6765 | 6784 | # ------------------------------- |
6766 | # Call AM_AUTOMAKE_VERSION so it can be traced. | |
6785 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | |
6767 | 6786 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
6768 | 6787 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
6769 | [AM_AUTOMAKE_VERSION([1.9.6])]) | |
6788 | [AM_AUTOMAKE_VERSION([1.10])dnl | |
6789 | _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) | |
6770 | 6790 | |
6771 | 6791 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
6772 | 6792 | |
6823 | 6843 | |
6824 | 6844 | # AM_CONDITIONAL -*- Autoconf -*- |
6825 | 6845 | |
6826 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 | |
6846 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 | |
6827 | 6847 | # Free Software Foundation, Inc. |
6828 | 6848 | # |
6829 | 6849 | # This file is free software; the Free Software Foundation |
6830 | 6850 | # gives unlimited permission to copy and/or distribute it, |
6831 | 6851 | # with or without modifications, as long as this notice is preserved. |
6832 | 6852 | |
6833 | # serial 7 | |
6853 | # serial 8 | |
6834 | 6854 | |
6835 | 6855 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
6836 | 6856 | # ------------------------------------- |
6839 | 6859 | [AC_PREREQ(2.52)dnl |
6840 | 6860 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
6841 | 6861 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
6842 | AC_SUBST([$1_TRUE]) | |
6843 | AC_SUBST([$1_FALSE]) | |
6862 | AC_SUBST([$1_TRUE])dnl | |
6863 | AC_SUBST([$1_FALSE])dnl | |
6864 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
6865 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
6844 | 6866 | if $2; then |
6845 | 6867 | $1_TRUE= |
6846 | 6868 | $1_FALSE='#' |
6854 | 6876 | Usually this means the macro was only invoked conditionally.]]) |
6855 | 6877 | fi])]) |
6856 | 6878 | |
6857 | ||
6858 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
6879 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | |
6859 | 6880 | # Free Software Foundation, Inc. |
6860 | 6881 | # |
6861 | 6882 | # This file is free software; the Free Software Foundation |
6862 | 6883 | # gives unlimited permission to copy and/or distribute it, |
6863 | 6884 | # with or without modifications, as long as this notice is preserved. |
6864 | 6885 | |
6865 | # serial 8 | |
6886 | # serial 9 | |
6866 | 6887 | |
6867 | 6888 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
6868 | 6889 | # written in clear, in which case automake, when reading aclocal.m4, |
6890 | 6911 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
6891 | 6912 | [$1], CXX, [depcc="$CXX" am_compiler_list=], |
6892 | 6913 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
6914 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
6893 | 6915 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
6894 | 6916 | [depcc="$$1" am_compiler_list=]) |
6895 | 6917 | |
6955 | 6977 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6956 | 6978 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
6957 | 6979 | >/dev/null 2>conftest.err && |
6980 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
6958 | 6981 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6959 | 6982 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
6960 | 6983 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
7007 | 7030 | AMDEPBACKSLASH='\' |
7008 | 7031 | fi |
7009 | 7032 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
7010 | AC_SUBST([AMDEPBACKSLASH]) | |
7033 | AC_SUBST([AMDEPBACKSLASH])dnl | |
7034 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
7011 | 7035 | ]) |
7012 | 7036 | |
7013 | 7037 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
7032 | 7056 | # some people rename them; so instead we look at the file content. |
7033 | 7057 | # Grep'ing the first line is not enough: some people post-process |
7034 | 7058 | # each Makefile.in and add a new line on top of each file to say so. |
7035 | # So let's grep whole file. | |
7036 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | |
7059 | # Grep'ing the whole file is not good either: AIX grep has a line | |
7060 | # limit of 2048, but all sed's we know have understand at least 4000. | |
7061 | if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then | |
7037 | 7062 | dirpart=`AS_DIRNAME("$mf")` |
7038 | 7063 | else |
7039 | 7064 | continue |
7092 | 7117 | |
7093 | 7118 | # Do all the work for Automake. -*- Autoconf -*- |
7094 | 7119 | |
7095 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
7096 | # Free Software Foundation, Inc. | |
7120 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
7121 | # 2005, 2006 Free Software Foundation, Inc. | |
7097 | 7122 | # |
7098 | 7123 | # This file is free software; the Free Software Foundation |
7099 | 7124 | # gives unlimited permission to copy and/or distribute it, |
7116 | 7141 | # arguments mandatory, and then we can depend on a new Autoconf |
7117 | 7142 | # release and drop the old call support. |
7118 | 7143 | AC_DEFUN([AM_INIT_AUTOMAKE], |
7119 | [AC_PREREQ([2.58])dnl | |
7144 | [AC_PREREQ([2.60])dnl | |
7120 | 7145 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
7121 | 7146 | dnl the ones we care about. |
7122 | 7147 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
7123 | 7148 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
7124 | 7149 | AC_REQUIRE([AC_PROG_INSTALL])dnl |
7125 | # test to see if srcdir already configured | |
7126 | if test "`cd $srcdir && pwd`" != "`pwd`" && | |
7127 | test -f $srcdir/config.status; then | |
7128 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
7150 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
7151 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
7152 | # is not polluted with repeated "-I." | |
7153 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
7154 | # test to see if srcdir already configured | |
7155 | if test -f $srcdir/config.status; then | |
7156 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
7157 | fi | |
7129 | 7158 | fi |
7130 | 7159 | |
7131 | 7160 | # test whether we have cygpath |
7145 | 7174 | AC_SUBST([PACKAGE], [$1])dnl |
7146 | 7175 | AC_SUBST([VERSION], [$2])], |
7147 | 7176 | [_AM_SET_OPTIONS([$1])dnl |
7177 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
7178 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
7179 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
7148 | 7180 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
7149 | 7181 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
7150 | 7182 | |
7180 | 7212 | [_AM_DEPENDENCIES(CXX)], |
7181 | 7213 | [define([AC_PROG_CXX], |
7182 | 7214 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
7215 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
7216 | [_AM_DEPENDENCIES(OBJC)], | |
7217 | [define([AC_PROG_OBJC], | |
7218 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
7183 | 7219 | ]) |
7184 | 7220 | ]) |
7185 | 7221 | |
7215 | 7251 | # Define $install_sh. |
7216 | 7252 | AC_DEFUN([AM_PROG_INSTALL_SH], |
7217 | 7253 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
7218 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | |
7254 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
7219 | 7255 | AC_SUBST(install_sh)]) |
7220 | 7256 | |
7221 | 7257 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
7293 | 7329 | |
7294 | 7330 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
7295 | 7331 | |
7296 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 | |
7332 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 | |
7297 | 7333 | # Free Software Foundation, Inc. |
7298 | 7334 | # |
7299 | 7335 | # This file is free software; the Free Software Foundation |
7300 | 7336 | # gives unlimited permission to copy and/or distribute it, |
7301 | 7337 | # with or without modifications, as long as this notice is preserved. |
7302 | 7338 | |
7303 | # serial 4 | |
7339 | # serial 5 | |
7304 | 7340 | |
7305 | 7341 | # AM_MISSING_PROG(NAME, PROGRAM) |
7306 | 7342 | # ------------------------------ |
7316 | 7352 | # If it does, set am_missing_run to use it, otherwise, to nothing. |
7317 | 7353 | AC_DEFUN([AM_MISSING_HAS_RUN], |
7318 | 7354 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
7355 | AC_REQUIRE_AUX_FILE([missing])dnl | |
7319 | 7356 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
7320 | 7357 | # Use eval to expand $SHELL |
7321 | 7358 | if eval "$MISSING --run true"; then |
7326 | 7363 | fi |
7327 | 7364 | ]) |
7328 | 7365 | |
7329 | # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | |
7366 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
7330 | 7367 | # |
7331 | 7368 | # This file is free software; the Free Software Foundation |
7332 | 7369 | # gives unlimited permission to copy and/or distribute it, |
7334 | 7371 | |
7335 | 7372 | # AM_PROG_MKDIR_P |
7336 | 7373 | # --------------- |
7337 | # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. | |
7338 | # | |
7339 | # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories | |
7340 | # created by `make install' are always world readable, even if the | |
7341 | # installer happens to have an overly restrictive umask (e.g. 077). | |
7342 | # This was a mistake. There are at least two reasons why we must not | |
7343 | # use `-m 0755': | |
7344 | # - it causes special bits like SGID to be ignored, | |
7345 | # - it may be too restrictive (some setups expect 775 directories). | |
7346 | # | |
7347 | # Do not use -m 0755 and let people choose whatever they expect by | |
7348 | # setting umask. | |
7349 | # | |
7350 | # We cannot accept any implementation of `mkdir' that recognizes `-p'. | |
7351 | # Some implementations (such as Solaris 8's) are not thread-safe: if a | |
7352 | # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' | |
7353 | # concurrently, both version can detect that a/ is missing, but only | |
7354 | # one can create it and the other will error out. Consequently we | |
7355 | # restrict ourselves to GNU make (using the --version option ensures | |
7356 | # this.) | |
7374 | # Check for `mkdir -p'. | |
7357 | 7375 | AC_DEFUN([AM_PROG_MKDIR_P], |
7358 | [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | |
7359 | # We used to keeping the `.' as first argument, in order to | |
7360 | # allow $(mkdir_p) to be used without argument. As in | |
7361 | # $(mkdir_p) $(somedir) | |
7362 | # where $(somedir) is conditionally defined. However this is wrong | |
7363 | # for two reasons: | |
7364 | # 1. if the package is installed by a user who cannot write `.' | |
7365 | # make install will fail, | |
7366 | # 2. the above comment should most certainly read | |
7367 | # $(mkdir_p) $(DESTDIR)$(somedir) | |
7368 | # so it does not work when $(somedir) is undefined and | |
7369 | # $(DESTDIR) is not. | |
7370 | # To support the latter case, we have to write | |
7371 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | |
7372 | # so the `.' trick is pointless. | |
7373 | mkdir_p='mkdir -p --' | |
7374 | else | |
7375 | # On NextStep and OpenStep, the `mkdir' command does not | |
7376 | # recognize any option. It will interpret all options as | |
7377 | # directories to create, and then abort because `.' already | |
7378 | # exists. | |
7379 | for d in ./-p ./--version; | |
7380 | do | |
7381 | test -d $d && rmdir $d | |
7382 | done | |
7383 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | |
7384 | if test -f "$ac_aux_dir/mkinstalldirs"; then | |
7385 | mkdir_p='$(mkinstalldirs)' | |
7386 | else | |
7387 | mkdir_p='$(install_sh) -d' | |
7388 | fi | |
7389 | fi | |
7390 | AC_SUBST([mkdir_p])]) | |
7376 | [AC_PREREQ([2.60])dnl | |
7377 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
7378 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
7379 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
7380 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
7381 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
7382 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
7383 | dnl adjustment using top_builddir (which is defined more often than | |
7384 | dnl MKDIR_P). | |
7385 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
7386 | case $mkdir_p in | |
7387 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
7388 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
7389 | esac | |
7390 | ]) | |
7391 | 7391 | |
7392 | 7392 | # Helper functions for option handling. -*- Autoconf -*- |
7393 | 7393 | |
7499 | 7499 | if test "$cross_compiling" != no; then |
7500 | 7500 | AC_CHECK_TOOL([STRIP], [strip], :) |
7501 | 7501 | fi |
7502 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | |
7502 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
7503 | 7503 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
7504 | ||
7505 | # Copyright (C) 2006 Free Software Foundation, Inc. | |
7506 | # | |
7507 | # This file is free software; the Free Software Foundation | |
7508 | # gives unlimited permission to copy and/or distribute it, | |
7509 | # with or without modifications, as long as this notice is preserved. | |
7510 | ||
7511 | # _AM_SUBST_NOTMAKE(VARIABLE) | |
7512 | # --------------------------- | |
7513 | # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. | |
7514 | # This macro is traced by Automake. | |
7515 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
7504 | 7516 | |
7505 | 7517 | # Check how to create a tarball. -*- Autoconf -*- |
7506 | 7518 |
3 | 3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
4 | 4 | # Inc. |
5 | 5 | |
6 | timestamp='2007-03-06' | |
6 | timestamp='2007-07-22' | |
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 |
329 | 329 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
330 | 330 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
331 | 331 | exit ;; |
332 | i86pc:SunOS:5.*:*) | |
332 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | |
333 | 333 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
334 | 334 | exit ;; |
335 | 335 | sun4*:SunOS:6*:*) |
792 | 792 | exit ;; |
793 | 793 | *:Interix*:[3456]*) |
794 | 794 | case ${UNAME_MACHINE} in |
795 | x86) | |
795 | x86) | |
796 | 796 | echo i586-pc-interix${UNAME_RELEASE} |
797 | 797 | exit ;; |
798 | 798 | EM64T | authenticamd) |
0 | 0 | /* config.h.in. Generated from configure.ac by autoheader. */ |
1 | ||
2 | /* Enable the leaky stub implementation of the request API for debugging | |
3 | purposes */ | |
4 | #undef ENABLE_LEAKY_REQUEST_STUBS | |
1 | 5 | |
2 | 6 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
3 | 7 | #undef HAVE_DLFCN_H |
3 | 3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, |
4 | 4 | # Inc. |
5 | 5 | |
6 | timestamp='2007-01-18' | |
6 | timestamp='2007-06-28' | |
7 | 7 | |
8 | 8 | # This file is (in principle) common to ALL GNU software. |
9 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
474 | 474 | basic_machine=craynv-cray |
475 | 475 | os=-unicosmp |
476 | 476 | ;; |
477 | cr16c) | |
478 | basic_machine=cr16c-unknown | |
477 | cr16) | |
478 | basic_machine=cr16-unknown | |
479 | 479 | os=-elf |
480 | 480 | ;; |
481 | 481 | crds | unos) |
681 | 681 | mingw32) |
682 | 682 | basic_machine=i386-pc |
683 | 683 | os=-mingw32 |
684 | ;; | |
685 | mingw32ce) | |
686 | basic_machine=arm-unknown | |
687 | os=-mingw32ce | |
684 | 688 | ;; |
685 | 689 | miniframe) |
686 | 690 | basic_machine=m68000-convergent |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.61 for telepathy-haze 0.1.4. | |
2 | # Generated by GNU Autoconf 2.61 for telepathy-haze 0.2.0. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=telepathy-haze>. |
5 | 5 | # |
727 | 727 | # Identity of this package. |
728 | 728 | PACKAGE_NAME='telepathy-haze' |
729 | 729 | PACKAGE_TARNAME='telepathy-haze' |
730 | PACKAGE_VERSION='0.1.4' | |
731 | PACKAGE_STRING='telepathy-haze 0.1.4' | |
730 | PACKAGE_VERSION='0.2.0' | |
731 | PACKAGE_STRING='telepathy-haze 0.2.0' | |
732 | 732 | PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=telepathy-haze' |
733 | 733 | |
734 | 734 | # Factoring default headers for most tests. |
807 | 807 | INSTALL_PROGRAM |
808 | 808 | INSTALL_SCRIPT |
809 | 809 | INSTALL_DATA |
810 | am__isrc | |
810 | 811 | CYGPATH_W |
811 | 812 | PACKAGE |
812 | 813 | VERSION |
869 | 870 | ac_ct_F77 |
870 | 871 | LIBTOOL |
871 | 872 | ERROR_CFLAGS |
873 | ENABLE_LEAKY_REQUEST_STUBS | |
872 | 874 | PKG_CONFIG |
873 | 875 | PURPLE_CFLAGS |
874 | 876 | PURPLE_LIBS |
1399 | 1401 | # Omit some internal or obsolete options to make the list less imposing. |
1400 | 1402 | # This message is too long to be a string in the A/UX 3.1 sh. |
1401 | 1403 | cat <<_ACEOF |
1402 | \`configure' configures telepathy-haze 0.1.4 to adapt to many kinds of systems. | |
1404 | \`configure' configures telepathy-haze 0.2.0 to adapt to many kinds of systems. | |
1403 | 1405 | |
1404 | 1406 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1405 | 1407 | |
1469 | 1471 | |
1470 | 1472 | if test -n "$ac_init_help"; then |
1471 | 1473 | case $ac_init_help in |
1472 | short | recursive ) echo "Configuration of telepathy-haze 0.1.4:";; | |
1474 | short | recursive ) echo "Configuration of telepathy-haze 0.2.0:";; | |
1473 | 1475 | esac |
1474 | 1476 | cat <<\_ACEOF |
1475 | 1477 | |
1485 | 1487 | --disable-libtool-lock avoid locking (might break parallel builds) |
1486 | 1488 | --disable-Werror compile without -Werror (normally enabled in |
1487 | 1489 | development builds) |
1490 | --enable-leaky-request-stubs | |
1491 | print debugging information when libpurple attempts | |
1492 | to use the request API (warning: very leaky) | |
1488 | 1493 | |
1489 | 1494 | Optional Packages: |
1490 | 1495 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1581 | 1586 | test -n "$ac_init_help" && exit $ac_status |
1582 | 1587 | if $ac_init_version; then |
1583 | 1588 | cat <<\_ACEOF |
1584 | telepathy-haze configure 0.1.4 | |
1589 | telepathy-haze configure 0.2.0 | |
1585 | 1590 | generated by GNU Autoconf 2.61 |
1586 | 1591 | |
1587 | 1592 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1595 | 1600 | This file contains any messages produced by compilers while |
1596 | 1601 | running configure, to aid debugging if configure makes a mistake. |
1597 | 1602 | |
1598 | It was created by telepathy-haze $as_me 0.1.4, which was | |
1603 | It was created by telepathy-haze $as_me 0.2.0, which was | |
1599 | 1604 | generated by GNU Autoconf 2.61. Invocation command line was |
1600 | 1605 | |
1601 | 1606 | $ $0 $@ |
1951 | 1956 | |
1952 | 1957 | |
1953 | 1958 | |
1954 | am__api_version="1.9" | |
1959 | am__api_version='1.10' | |
1960 | ||
1955 | 1961 | ac_aux_dir= |
1956 | 1962 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1957 | 1963 | if test -f "$ac_dir/install-sh"; then |
2134 | 2140 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2135 | 2141 | fi |
2136 | 2142 | |
2137 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | |
2138 | # We used to keeping the `.' as first argument, in order to | |
2139 | # allow $(mkdir_p) to be used without argument. As in | |
2140 | # $(mkdir_p) $(somedir) | |
2141 | # where $(somedir) is conditionally defined. However this is wrong | |
2142 | # for two reasons: | |
2143 | # 1. if the package is installed by a user who cannot write `.' | |
2144 | # make install will fail, | |
2145 | # 2. the above comment should most certainly read | |
2146 | # $(mkdir_p) $(DESTDIR)$(somedir) | |
2147 | # so it does not work when $(somedir) is undefined and | |
2148 | # $(DESTDIR) is not. | |
2149 | # To support the latter case, we have to write | |
2150 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | |
2151 | # so the `.' trick is pointless. | |
2152 | mkdir_p='mkdir -p --' | |
2153 | else | |
2154 | # On NextStep and OpenStep, the `mkdir' command does not | |
2155 | # recognize any option. It will interpret all options as | |
2156 | # directories to create, and then abort because `.' already | |
2157 | # exists. | |
2158 | for d in ./-p ./--version; | |
2159 | do | |
2160 | test -d $d && rmdir $d | |
2161 | done | |
2162 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | |
2163 | if test -f "$ac_aux_dir/mkinstalldirs"; then | |
2164 | mkdir_p='$(mkinstalldirs)' | |
2143 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | |
2144 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } | |
2145 | if test -z "$MKDIR_P"; then | |
2146 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2147 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2148 | else | |
2149 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2150 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2151 | do | |
2152 | IFS=$as_save_IFS | |
2153 | test -z "$as_dir" && as_dir=. | |
2154 | for ac_prog in mkdir gmkdir; do | |
2155 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2156 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2157 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2158 | 'mkdir (GNU coreutils) '* | \ | |
2159 | 'mkdir (coreutils) '* | \ | |
2160 | 'mkdir (fileutils) '4.1*) | |
2161 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2162 | break 3;; | |
2163 | esac | |
2164 | done | |
2165 | done | |
2166 | done | |
2167 | IFS=$as_save_IFS | |
2168 | ||
2169 | fi | |
2170 | ||
2171 | if test "${ac_cv_path_mkdir+set}" = set; then | |
2172 | MKDIR_P="$ac_cv_path_mkdir -p" | |
2165 | 2173 | else |
2166 | mkdir_p='$(install_sh) -d' | |
2174 | # As a last resort, use the slow shell script. Don't cache a | |
2175 | # value for MKDIR_P within a source directory, because that will | |
2176 | # break other packages using the cache if that directory is | |
2177 | # removed, or if the value is a relative name. | |
2178 | test -d ./--version && rmdir ./--version | |
2179 | MKDIR_P="$ac_install_sh -d" | |
2167 | 2180 | fi |
2168 | 2181 | fi |
2182 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | |
2183 | echo "${ECHO_T}$MKDIR_P" >&6; } | |
2184 | ||
2185 | mkdir_p="$MKDIR_P" | |
2186 | case $mkdir_p in | |
2187 | [\\/$]* | ?:[\\/]*) ;; | |
2188 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2189 | esac | |
2169 | 2190 | |
2170 | 2191 | for ac_prog in gawk mawk nawk awk |
2171 | 2192 | do |
2248 | 2269 | fi |
2249 | 2270 | rmdir .tst 2>/dev/null |
2250 | 2271 | |
2251 | # test to see if srcdir already configured | |
2252 | if test "`cd $srcdir && pwd`" != "`pwd`" && | |
2253 | test -f $srcdir/config.status; then | |
2254 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2272 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
2273 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2274 | # is not polluted with repeated "-I." | |
2275 | am__isrc=' -I$(srcdir)' | |
2276 | # test to see if srcdir already configured | |
2277 | if test -f $srcdir/config.status; then | |
2278 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
2255 | 2279 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2256 | 2280 | { (exit 1); exit 1; }; } |
2281 | fi | |
2257 | 2282 | fi |
2258 | 2283 | |
2259 | 2284 | # test whether we have cygpath |
2268 | 2293 | |
2269 | 2294 | # Define the identity of the package. |
2270 | 2295 | PACKAGE='telepathy-haze' |
2271 | VERSION='0.1.4' | |
2296 | VERSION='0.2.0' | |
2272 | 2297 | |
2273 | 2298 | |
2274 | 2299 | cat >>confdefs.h <<_ACEOF |
2296 | 2321 | |
2297 | 2322 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2298 | 2323 | |
2299 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | |
2324 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
2300 | 2325 | |
2301 | 2326 | # Installed binaries are usually stripped using `strip' when the user |
2302 | 2327 | # run `make install-strip'. However `strip' might not be the right |
2400 | 2425 | fi |
2401 | 2426 | |
2402 | 2427 | fi |
2403 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | |
2428 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2404 | 2429 | |
2405 | 2430 | # We need awk for the "check" target. The system "awk" is bad on |
2406 | 2431 | # some platforms. |
3388 | 3413 | am_depcomp="$ac_aux_dir/depcomp" |
3389 | 3414 | AMDEPBACKSLASH='\' |
3390 | 3415 | fi |
3391 | ||
3392 | ||
3393 | if test "x$enable_dependency_tracking" != xno; then | |
3416 | if test "x$enable_dependency_tracking" != xno; then | |
3394 | 3417 | AMDEP_TRUE= |
3395 | 3418 | AMDEP_FALSE='#' |
3396 | 3419 | else |
3397 | 3420 | AMDEP_TRUE='#' |
3398 | 3421 | AMDEP_FALSE= |
3399 | 3422 | fi |
3400 | ||
3401 | 3423 | |
3402 | 3424 | |
3403 | 3425 | |
3468 | 3490 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3469 | 3491 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
3470 | 3492 | >/dev/null 2>conftest.err && |
3493 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
3471 | 3494 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3472 | 3495 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3473 | 3496 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3497 | 3520 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
3498 | 3521 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3499 | 3522 | |
3500 | ||
3501 | ||
3502 | if | |
3523 | if | |
3503 | 3524 | test "x$enable_dependency_tracking" != xno \ |
3504 | 3525 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3505 | 3526 | am__fastdepCC_TRUE= |
4741 | 4762 | ;; |
4742 | 4763 | *-*-irix6*) |
4743 | 4764 | # Find out which ABI we are using. |
4744 | echo '#line 4745 "configure"' > conftest.$ac_ext | |
4765 | echo '#line 4766 "configure"' > conftest.$ac_ext | |
4745 | 4766 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4746 | 4767 | (eval $ac_compile) 2>&5 |
4747 | 4768 | ac_status=$? |
5977 | 5998 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
5978 | 5999 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
5979 | 6000 | >/dev/null 2>conftest.err && |
6001 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
5980 | 6002 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
5981 | 6003 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
5982 | 6004 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6006 | 6028 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
6007 | 6029 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
6008 | 6030 | |
6009 | ||
6010 | ||
6011 | if | |
6031 | if | |
6012 | 6032 | test "x$enable_dependency_tracking" != xno \ |
6013 | 6033 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
6014 | 6034 | am__fastdepCXX_TRUE= |
7484 | 7504 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7485 | 7505 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7486 | 7506 | -e 's:$: $lt_compiler_flag:'` |
7487 | (eval echo "\"\$as_me:7488: $lt_compile\"" >&5) | |
7507 | (eval echo "\"\$as_me:7508: $lt_compile\"" >&5) | |
7488 | 7508 | (eval "$lt_compile" 2>conftest.err) |
7489 | 7509 | ac_status=$? |
7490 | 7510 | cat conftest.err >&5 |
7491 | echo "$as_me:7492: \$? = $ac_status" >&5 | |
7511 | echo "$as_me:7512: \$? = $ac_status" >&5 | |
7492 | 7512 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7493 | 7513 | # The compiler can only warn and ignore the option if not recognized |
7494 | 7514 | # So say no if there are warnings other than the usual output. |
7774 | 7794 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7775 | 7795 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7776 | 7796 | -e 's:$: $lt_compiler_flag:'` |
7777 | (eval echo "\"\$as_me:7778: $lt_compile\"" >&5) | |
7797 | (eval echo "\"\$as_me:7798: $lt_compile\"" >&5) | |
7778 | 7798 | (eval "$lt_compile" 2>conftest.err) |
7779 | 7799 | ac_status=$? |
7780 | 7800 | cat conftest.err >&5 |
7781 | echo "$as_me:7782: \$? = $ac_status" >&5 | |
7801 | echo "$as_me:7802: \$? = $ac_status" >&5 | |
7782 | 7802 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7783 | 7803 | # The compiler can only warn and ignore the option if not recognized |
7784 | 7804 | # So say no if there are warnings other than the usual output. |
7878 | 7898 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7879 | 7899 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7880 | 7900 | -e 's:$: $lt_compiler_flag:'` |
7881 | (eval echo "\"\$as_me:7882: $lt_compile\"" >&5) | |
7901 | (eval echo "\"\$as_me:7902: $lt_compile\"" >&5) | |
7882 | 7902 | (eval "$lt_compile" 2>out/conftest.err) |
7883 | 7903 | ac_status=$? |
7884 | 7904 | cat out/conftest.err >&5 |
7885 | echo "$as_me:7886: \$? = $ac_status" >&5 | |
7905 | echo "$as_me:7906: \$? = $ac_status" >&5 | |
7886 | 7906 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7887 | 7907 | then |
7888 | 7908 | # The compiler can only warn and ignore the option if not recognized |
10240 | 10260 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10241 | 10261 | lt_status=$lt_dlunknown |
10242 | 10262 | cat > conftest.$ac_ext <<EOF |
10243 | #line 10244 "configure" | |
10263 | #line 10264 "configure" | |
10244 | 10264 | #include "confdefs.h" |
10245 | 10265 | |
10246 | 10266 | #if HAVE_DLFCN_H |
10340 | 10360 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10341 | 10361 | lt_status=$lt_dlunknown |
10342 | 10362 | cat > conftest.$ac_ext <<EOF |
10343 | #line 10344 "configure" | |
10363 | #line 10364 "configure" | |
10344 | 10364 | #include "confdefs.h" |
10345 | 10365 | |
10346 | 10366 | #if HAVE_DLFCN_H |
12760 | 12780 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
12761 | 12781 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12762 | 12782 | -e 's:$: $lt_compiler_flag:'` |
12763 | (eval echo "\"\$as_me:12764: $lt_compile\"" >&5) | |
12783 | (eval echo "\"\$as_me:12784: $lt_compile\"" >&5) | |
12764 | 12784 | (eval "$lt_compile" 2>conftest.err) |
12765 | 12785 | ac_status=$? |
12766 | 12786 | cat conftest.err >&5 |
12767 | echo "$as_me:12768: \$? = $ac_status" >&5 | |
12787 | echo "$as_me:12788: \$? = $ac_status" >&5 | |
12768 | 12788 | if (exit $ac_status) && test -s "$ac_outfile"; then |
12769 | 12789 | # The compiler can only warn and ignore the option if not recognized |
12770 | 12790 | # So say no if there are warnings other than the usual output. |
12864 | 12884 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
12865 | 12885 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12866 | 12886 | -e 's:$: $lt_compiler_flag:'` |
12867 | (eval echo "\"\$as_me:12868: $lt_compile\"" >&5) | |
12887 | (eval echo "\"\$as_me:12888: $lt_compile\"" >&5) | |
12868 | 12888 | (eval "$lt_compile" 2>out/conftest.err) |
12869 | 12889 | ac_status=$? |
12870 | 12890 | cat out/conftest.err >&5 |
12871 | echo "$as_me:12872: \$? = $ac_status" >&5 | |
12891 | echo "$as_me:12892: \$? = $ac_status" >&5 | |
12872 | 12892 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
12873 | 12893 | then |
12874 | 12894 | # The compiler can only warn and ignore the option if not recognized |
14441 | 14461 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14442 | 14462 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14443 | 14463 | -e 's:$: $lt_compiler_flag:'` |
14444 | (eval echo "\"\$as_me:14445: $lt_compile\"" >&5) | |
14464 | (eval echo "\"\$as_me:14465: $lt_compile\"" >&5) | |
14445 | 14465 | (eval "$lt_compile" 2>conftest.err) |
14446 | 14466 | ac_status=$? |
14447 | 14467 | cat conftest.err >&5 |
14448 | echo "$as_me:14449: \$? = $ac_status" >&5 | |
14468 | echo "$as_me:14469: \$? = $ac_status" >&5 | |
14449 | 14469 | if (exit $ac_status) && test -s "$ac_outfile"; then |
14450 | 14470 | # The compiler can only warn and ignore the option if not recognized |
14451 | 14471 | # So say no if there are warnings other than the usual output. |
14545 | 14565 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14546 | 14566 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14547 | 14567 | -e 's:$: $lt_compiler_flag:'` |
14548 | (eval echo "\"\$as_me:14549: $lt_compile\"" >&5) | |
14568 | (eval echo "\"\$as_me:14569: $lt_compile\"" >&5) | |
14549 | 14569 | (eval "$lt_compile" 2>out/conftest.err) |
14550 | 14570 | ac_status=$? |
14551 | 14571 | cat out/conftest.err >&5 |
14552 | echo "$as_me:14553: \$? = $ac_status" >&5 | |
14572 | echo "$as_me:14573: \$? = $ac_status" >&5 | |
14553 | 14573 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14554 | 14574 | then |
14555 | 14575 | # The compiler can only warn and ignore the option if not recognized |
16745 | 16765 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
16746 | 16766 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16747 | 16767 | -e 's:$: $lt_compiler_flag:'` |
16748 | (eval echo "\"\$as_me:16749: $lt_compile\"" >&5) | |
16768 | (eval echo "\"\$as_me:16769: $lt_compile\"" >&5) | |
16749 | 16769 | (eval "$lt_compile" 2>conftest.err) |
16750 | 16770 | ac_status=$? |
16751 | 16771 | cat conftest.err >&5 |
16752 | echo "$as_me:16753: \$? = $ac_status" >&5 | |
16772 | echo "$as_me:16773: \$? = $ac_status" >&5 | |
16753 | 16773 | if (exit $ac_status) && test -s "$ac_outfile"; then |
16754 | 16774 | # The compiler can only warn and ignore the option if not recognized |
16755 | 16775 | # So say no if there are warnings other than the usual output. |
17035 | 17055 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
17036 | 17056 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17037 | 17057 | -e 's:$: $lt_compiler_flag:'` |
17038 | (eval echo "\"\$as_me:17039: $lt_compile\"" >&5) | |
17058 | (eval echo "\"\$as_me:17059: $lt_compile\"" >&5) | |
17039 | 17059 | (eval "$lt_compile" 2>conftest.err) |
17040 | 17060 | ac_status=$? |
17041 | 17061 | cat conftest.err >&5 |
17042 | echo "$as_me:17043: \$? = $ac_status" >&5 | |
17062 | echo "$as_me:17063: \$? = $ac_status" >&5 | |
17043 | 17063 | if (exit $ac_status) && test -s "$ac_outfile"; then |
17044 | 17064 | # The compiler can only warn and ignore the option if not recognized |
17045 | 17065 | # So say no if there are warnings other than the usual output. |
17139 | 17159 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
17140 | 17160 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17141 | 17161 | -e 's:$: $lt_compiler_flag:'` |
17142 | (eval echo "\"\$as_me:17143: $lt_compile\"" >&5) | |
17162 | (eval echo "\"\$as_me:17163: $lt_compile\"" >&5) | |
17143 | 17163 | (eval "$lt_compile" 2>out/conftest.err) |
17144 | 17164 | ac_status=$? |
17145 | 17165 | cat out/conftest.err >&5 |
17146 | echo "$as_me:17147: \$? = $ac_status" >&5 | |
17166 | echo "$as_me:17167: \$? = $ac_status" >&5 | |
17147 | 17167 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
17148 | 17168 | then |
17149 | 17169 | # The compiler can only warn and ignore the option if not recognized |
20120 | 20140 | |
20121 | 20141 | |
20122 | 20142 | |
20143 | # Check whether --enable-leaky-request-stubs was given. | |
20144 | if test "${enable_leaky_request_stubs+set}" = set; then | |
20145 | enableval=$enable_leaky_request_stubs; | |
20146 | cat >>confdefs.h <<\_ACEOF | |
20147 | #define ENABLE_LEAKY_REQUEST_STUBS | |
20148 | _ACEOF | |
20149 | ||
20150 | fi | |
20151 | ||
20152 | ||
20153 | ||
20123 | 20154 | |
20124 | 20155 | |
20125 | 20156 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
20250 | 20281 | pkg_cv_PURPLE_CFLAGS="$PURPLE_CFLAGS" |
20251 | 20282 | else |
20252 | 20283 | if test -n "$PKG_CONFIG" && \ |
20253 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"purple >= 2.0.0\"") >&5 | |
20254 | ($PKG_CONFIG --exists --print-errors "purple >= 2.0.0") 2>&5 | |
20284 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"purple >= 2.1.1\"") >&5 | |
20285 | ($PKG_CONFIG --exists --print-errors "purple >= 2.1.1") 2>&5 | |
20255 | 20286 | ac_status=$? |
20256 | 20287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20257 | 20288 | (exit $ac_status); }; then |
20258 | pkg_cv_PURPLE_CFLAGS=`$PKG_CONFIG --cflags "purple >= 2.0.0" 2>/dev/null` | |
20289 | pkg_cv_PURPLE_CFLAGS=`$PKG_CONFIG --cflags "purple >= 2.1.1" 2>/dev/null` | |
20259 | 20290 | else |
20260 | 20291 | pkg_failed=yes |
20261 | 20292 | fi |
20268 | 20299 | pkg_cv_PURPLE_LIBS="$PURPLE_LIBS" |
20269 | 20300 | else |
20270 | 20301 | if test -n "$PKG_CONFIG" && \ |
20271 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"purple >= 2.0.0\"") >&5 | |
20272 | ($PKG_CONFIG --exists --print-errors "purple >= 2.0.0") 2>&5 | |
20302 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"purple >= 2.1.1\"") >&5 | |
20303 | ($PKG_CONFIG --exists --print-errors "purple >= 2.1.1") 2>&5 | |
20273 | 20304 | ac_status=$? |
20274 | 20305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20275 | 20306 | (exit $ac_status); }; then |
20276 | pkg_cv_PURPLE_LIBS=`$PKG_CONFIG --libs "purple >= 2.0.0" 2>/dev/null` | |
20307 | pkg_cv_PURPLE_LIBS=`$PKG_CONFIG --libs "purple >= 2.1.1" 2>/dev/null` | |
20277 | 20308 | else |
20278 | 20309 | pkg_failed=yes |
20279 | 20310 | fi |
20292 | 20323 | _pkg_short_errors_supported=no |
20293 | 20324 | fi |
20294 | 20325 | if test $_pkg_short_errors_supported = yes; then |
20295 | PURPLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "purple >= 2.0.0"` | |
20326 | PURPLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "purple >= 2.1.1"` | |
20296 | 20327 | else |
20297 | PURPLE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "purple >= 2.0.0"` | |
20328 | PURPLE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "purple >= 2.1.1"` | |
20298 | 20329 | fi |
20299 | 20330 | # Put the nasty error message in config.log where it belongs |
20300 | 20331 | echo "$PURPLE_PKG_ERRORS" >&5 |
20301 | 20332 | |
20302 | { { echo "$as_me:$LINENO: error: Package requirements (purple >= 2.0.0) were not met: | |
20333 | { { echo "$as_me:$LINENO: error: Package requirements (purple >= 2.1.1) were not met: | |
20303 | 20334 | |
20304 | 20335 | $PURPLE_PKG_ERRORS |
20305 | 20336 | |
20310 | 20341 | and PURPLE_LIBS to avoid the need to call pkg-config. |
20311 | 20342 | See the pkg-config man page for more details. |
20312 | 20343 | " >&5 |
20313 | echo "$as_me: error: Package requirements (purple >= 2.0.0) were not met: | |
20344 | echo "$as_me: error: Package requirements (purple >= 2.1.1) were not met: | |
20314 | 20345 | |
20315 | 20346 | $PURPLE_PKG_ERRORS |
20316 | 20347 | |
20364 | 20395 | pkg_cv_TP_GLIB_CFLAGS="$TP_GLIB_CFLAGS" |
20365 | 20396 | else |
20366 | 20397 | if test -n "$PKG_CONFIG" && \ |
20367 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"telepathy-glib\"") >&5 | |
20368 | ($PKG_CONFIG --exists --print-errors "telepathy-glib") 2>&5 | |
20398 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"telepathy-glib >= 0.7\"") >&5 | |
20399 | ($PKG_CONFIG --exists --print-errors "telepathy-glib >= 0.7") 2>&5 | |
20369 | 20400 | ac_status=$? |
20370 | 20401 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20371 | 20402 | (exit $ac_status); }; then |
20372 | pkg_cv_TP_GLIB_CFLAGS=`$PKG_CONFIG --cflags "telepathy-glib" 2>/dev/null` | |
20403 | pkg_cv_TP_GLIB_CFLAGS=`$PKG_CONFIG --cflags "telepathy-glib >= 0.7" 2>/dev/null` | |
20373 | 20404 | else |
20374 | 20405 | pkg_failed=yes |
20375 | 20406 | fi |
20382 | 20413 | pkg_cv_TP_GLIB_LIBS="$TP_GLIB_LIBS" |
20383 | 20414 | else |
20384 | 20415 | if test -n "$PKG_CONFIG" && \ |
20385 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"telepathy-glib\"") >&5 | |
20386 | ($PKG_CONFIG --exists --print-errors "telepathy-glib") 2>&5 | |
20416 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"telepathy-glib >= 0.7\"") >&5 | |
20417 | ($PKG_CONFIG --exists --print-errors "telepathy-glib >= 0.7") 2>&5 | |
20387 | 20418 | ac_status=$? |
20388 | 20419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20389 | 20420 | (exit $ac_status); }; then |
20390 | pkg_cv_TP_GLIB_LIBS=`$PKG_CONFIG --libs "telepathy-glib" 2>/dev/null` | |
20421 | pkg_cv_TP_GLIB_LIBS=`$PKG_CONFIG --libs "telepathy-glib >= 0.7" 2>/dev/null` | |
20391 | 20422 | else |
20392 | 20423 | pkg_failed=yes |
20393 | 20424 | fi |
20406 | 20437 | _pkg_short_errors_supported=no |
20407 | 20438 | fi |
20408 | 20439 | if test $_pkg_short_errors_supported = yes; then |
20409 | TP_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "telepathy-glib"` | |
20440 | TP_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "telepathy-glib >= 0.7"` | |
20410 | 20441 | else |
20411 | TP_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "telepathy-glib"` | |
20442 | TP_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "telepathy-glib >= 0.7"` | |
20412 | 20443 | fi |
20413 | 20444 | # Put the nasty error message in config.log where it belongs |
20414 | 20445 | echo "$TP_GLIB_PKG_ERRORS" >&5 |
20415 | 20446 | |
20416 | { { echo "$as_me:$LINENO: error: Package requirements (telepathy-glib) were not met: | |
20447 | { { echo "$as_me:$LINENO: error: Package requirements (telepathy-glib >= 0.7) were not met: | |
20417 | 20448 | |
20418 | 20449 | $TP_GLIB_PKG_ERRORS |
20419 | 20450 | |
20424 | 20455 | and TP_GLIB_LIBS to avoid the need to call pkg-config. |
20425 | 20456 | See the pkg-config man page for more details. |
20426 | 20457 | " >&5 |
20427 | echo "$as_me: error: Package requirements (telepathy-glib) were not met: | |
20458 | echo "$as_me: error: Package requirements (telepathy-glib >= 0.7) were not met: | |
20428 | 20459 | |
20429 | 20460 | $TP_GLIB_PKG_ERRORS |
20430 | 20461 | |
21032 | 21063 | # report actual input values of CONFIG_FILES etc. instead of their |
21033 | 21064 | # values after options handling. |
21034 | 21065 | ac_log=" |
21035 | This file was extended by telepathy-haze $as_me 0.1.4, which was | |
21066 | This file was extended by telepathy-haze $as_me 0.2.0, which was | |
21036 | 21067 | generated by GNU Autoconf 2.61. Invocation command line was |
21037 | 21068 | |
21038 | 21069 | CONFIG_FILES = $CONFIG_FILES |
21085 | 21116 | _ACEOF |
21086 | 21117 | cat >>$CONFIG_STATUS <<_ACEOF |
21087 | 21118 | ac_cs_version="\\ |
21088 | telepathy-haze config.status 0.1.4 | |
21119 | telepathy-haze config.status 0.2.0 | |
21089 | 21120 | configured by $0, generated by GNU Autoconf 2.61, |
21090 | 21121 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
21091 | 21122 | |
21096 | 21127 | ac_pwd='$ac_pwd' |
21097 | 21128 | srcdir='$srcdir' |
21098 | 21129 | INSTALL='$INSTALL' |
21130 | MKDIR_P='$MKDIR_P' | |
21099 | 21131 | _ACEOF |
21100 | 21132 | |
21101 | 21133 | cat >>$CONFIG_STATUS <<\_ACEOF |
21306 | 21338 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
21307 | 21339 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
21308 | 21340 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
21341 | am__isrc!$am__isrc$ac_delim | |
21309 | 21342 | CYGPATH_W!$CYGPATH_W$ac_delim |
21310 | 21343 | PACKAGE!$PACKAGE$ac_delim |
21311 | 21344 | VERSION!$VERSION$ac_delim |
21362 | 21395 | CXXDEPMODE!$CXXDEPMODE$ac_delim |
21363 | 21396 | am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim |
21364 | 21397 | am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim |
21365 | CXXCPP!$CXXCPP$ac_delim | |
21366 | 21398 | _ACEOF |
21367 | 21399 | |
21368 | 21400 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
21404 | 21436 | ac_delim='%!_!# ' |
21405 | 21437 | for ac_last_try in false false false false false :; do |
21406 | 21438 | cat >conf$$subs.sed <<_ACEOF |
21439 | CXXCPP!$CXXCPP$ac_delim | |
21407 | 21440 | F77!$F77$ac_delim |
21408 | 21441 | FFLAGS!$FFLAGS$ac_delim |
21409 | 21442 | ac_ct_F77!$ac_ct_F77$ac_delim |
21410 | 21443 | LIBTOOL!$LIBTOOL$ac_delim |
21411 | 21444 | ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim |
21445 | ENABLE_LEAKY_REQUEST_STUBS!$ENABLE_LEAKY_REQUEST_STUBS$ac_delim | |
21412 | 21446 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
21413 | 21447 | PURPLE_CFLAGS!$PURPLE_CFLAGS$ac_delim |
21414 | 21448 | PURPLE_LIBS!$PURPLE_LIBS$ac_delim |
21418 | 21452 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
21419 | 21453 | _ACEOF |
21420 | 21454 | |
21421 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then | |
21455 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then | |
21422 | 21456 | break |
21423 | 21457 | elif $ac_last_try; then |
21424 | 21458 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
21645 | 21679 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
21646 | 21680 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
21647 | 21681 | esac |
21682 | ac_MKDIR_P=$MKDIR_P | |
21683 | case $MKDIR_P in | |
21684 | [\\/$]* | ?:[\\/]* ) ;; | |
21685 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
21686 | esac | |
21648 | 21687 | _ACEOF |
21649 | 21688 | |
21650 | 21689 | cat >>$CONFIG_STATUS <<\_ACEOF |
21698 | 21737 | s&@abs_builddir@&$ac_abs_builddir&;t t |
21699 | 21738 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
21700 | 21739 | s&@INSTALL@&$ac_INSTALL&;t t |
21740 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
21701 | 21741 | $ac_datarootdir_hack |
21702 | 21742 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
21703 | 21743 | |
21862 | 21902 | # some people rename them; so instead we look at the file content. |
21863 | 21903 | # Grep'ing the first line is not enough: some people post-process |
21864 | 21904 | # each Makefile.in and add a new line on top of each file to say so. |
21865 | # So let's grep whole file. | |
21866 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | |
21905 | # Grep'ing the whole file is not good either: AIX grep has a line | |
21906 | # limit of 2048, but all sed's we know have understand at least 4000. | |
21907 | if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then | |
21867 | 21908 | dirpart=`$as_dirname -- "$mf" || |
21868 | 21909 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
21869 | 21910 | X"$mf" : 'X\(//\)[^/]' \| \ |
6 | 6 | # set nano_version to 1 |
7 | 7 | |
8 | 8 | m4_define([haze_major_version], [0]) |
9 | m4_define([haze_minor_version], [1]) | |
10 | m4_define([haze_micro_version], [4]) | |
9 | m4_define([haze_minor_version], [2]) | |
10 | m4_define([haze_micro_version], [0]) | |
11 | 11 | m4_define([haze_nano_version], [0]) |
12 | 12 | |
13 | 13 | m4_define([haze_base_version], |
60 | 60 | |
61 | 61 | AC_SUBST(ERROR_CFLAGS) |
62 | 62 | |
63 | PKG_CHECK_MODULES(PURPLE,[purple >= 2.0.0]) | |
63 | AC_ARG_ENABLE(leaky-request-stubs, | |
64 | AC_HELP_STRING([--enable-leaky-request-stubs],[print debugging information when libpurple attempts to use the request API (warning: very leaky)]), | |
65 | AC_DEFINE(ENABLE_LEAKY_REQUEST_STUBS, [], [Enable the leaky stub implementation of the request API for debugging purposes])) | |
66 | AC_SUBST(ENABLE_LEAKY_REQUEST_STUBS) | |
67 | ||
68 | PKG_CHECK_MODULES(PURPLE,[purple >= 2.1.1]) | |
64 | 69 | AC_SUBST(PURPLE_CFLAGS) |
65 | 70 | AC_SUBST(PURPLE_LIBS) |
66 | 71 | |
67 | PKG_CHECK_MODULES(TP_GLIB,[telepathy-glib]) | |
72 | PKG_CHECK_MODULES(TP_GLIB,[telepathy-glib >= 0.7]) | |
68 | 73 | AC_SUBST(TP_GLIB_CFLAGS) |
69 | 74 | AC_SUBST(TP_GLIB_LIBS) |
70 | 75 |
0 | # Makefile.in generated by automake 1.9.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.10 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004, 2005 Free Software Foundation, Inc. | |
4 | # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
13 | 13 | |
14 | 14 | @SET_MAKE@ |
15 | 15 | |
16 | srcdir = @srcdir@ | |
17 | top_srcdir = @top_srcdir@ | |
18 | 16 | VPATH = @srcdir@ |
19 | 17 | pkgdatadir = $(datadir)/@PACKAGE@ |
20 | 18 | pkglibdir = $(libdir)/@PACKAGE@ |
21 | 19 | pkgincludedir = $(includedir)/@PACKAGE@ |
22 | top_builddir = .. | |
23 | 20 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
24 | INSTALL = @INSTALL@ | |
25 | 21 | install_sh_DATA = $(install_sh) -c -m 644 |
26 | 22 | install_sh_PROGRAM = $(install_sh) -c |
27 | 23 | install_sh_SCRIPT = $(install_sh) -c |
60 | 56 | DATA = $(dist_manager_DATA) $(service_DATA) |
61 | 57 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
62 | 58 | ACLOCAL = @ACLOCAL@ |
63 | AMDEP_FALSE = @AMDEP_FALSE@ | |
64 | AMDEP_TRUE = @AMDEP_TRUE@ | |
65 | 59 | AMTAR = @AMTAR@ |
66 | 60 | AR = @AR@ |
67 | 61 | AUTOCONF = @AUTOCONF@ |
85 | 79 | ECHO_N = @ECHO_N@ |
86 | 80 | ECHO_T = @ECHO_T@ |
87 | 81 | EGREP = @EGREP@ |
82 | ENABLE_LEAKY_REQUEST_STUBS = @ENABLE_LEAKY_REQUEST_STUBS@ | |
88 | 83 | ERROR_CFLAGS = @ERROR_CFLAGS@ |
89 | 84 | EXEEXT = @EXEEXT@ |
90 | 85 | F77 = @F77@ |
91 | 86 | FFLAGS = @FFLAGS@ |
92 | 87 | GREP = @GREP@ |
88 | INSTALL = @INSTALL@ | |
93 | 89 | INSTALL_DATA = @INSTALL_DATA@ |
94 | 90 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
95 | 91 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
101 | 97 | LN_S = @LN_S@ |
102 | 98 | LTLIBOBJS = @LTLIBOBJS@ |
103 | 99 | MAKEINFO = @MAKEINFO@ |
100 | MKDIR_P = @MKDIR_P@ | |
104 | 101 | OBJEXT = @OBJEXT@ |
105 | 102 | PACKAGE = @PACKAGE@ |
106 | 103 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
120 | 117 | TP_GLIB_CFLAGS = @TP_GLIB_CFLAGS@ |
121 | 118 | TP_GLIB_LIBS = @TP_GLIB_LIBS@ |
122 | 119 | VERSION = @VERSION@ |
120 | abs_builddir = @abs_builddir@ | |
121 | abs_srcdir = @abs_srcdir@ | |
122 | abs_top_builddir = @abs_top_builddir@ | |
123 | abs_top_srcdir = @abs_top_srcdir@ | |
123 | 124 | ac_ct_CC = @ac_ct_CC@ |
124 | 125 | ac_ct_CXX = @ac_ct_CXX@ |
125 | 126 | ac_ct_F77 = @ac_ct_F77@ |
126 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ | |
127 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ | |
128 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ | |
129 | am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ | |
130 | 127 | am__include = @am__include@ |
131 | 128 | am__leading_dot = @am__leading_dot@ |
132 | 129 | am__quote = @am__quote@ |
138 | 135 | build_cpu = @build_cpu@ |
139 | 136 | build_os = @build_os@ |
140 | 137 | build_vendor = @build_vendor@ |
138 | builddir = @builddir@ | |
141 | 139 | datadir = @datadir@ |
142 | 140 | datarootdir = @datarootdir@ |
143 | 141 | docdir = @docdir@ |
165 | 163 | psdir = @psdir@ |
166 | 164 | sbindir = @sbindir@ |
167 | 165 | sharedstatedir = @sharedstatedir@ |
166 | srcdir = @srcdir@ | |
168 | 167 | sysconfdir = @sysconfdir@ |
169 | 168 | target_alias = @target_alias@ |
169 | top_builddir = @top_builddir@ | |
170 | top_srcdir = @top_srcdir@ | |
170 | 171 | |
171 | 172 | # Telepathy manager file |
172 | 173 | managerdir = $(datadir)/telepathy/managers |
217 | 218 | |
218 | 219 | clean-libtool: |
219 | 220 | -rm -rf .libs _libs |
220 | ||
221 | distclean-libtool: | |
222 | -rm -f libtool | |
223 | uninstall-info-am: | |
224 | 221 | install-dist_managerDATA: $(dist_manager_DATA) |
225 | 222 | @$(NORMAL_INSTALL) |
226 | test -z "$(managerdir)" || $(mkdir_p) "$(DESTDIR)$(managerdir)" | |
223 | test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)" | |
227 | 224 | @list='$(dist_manager_DATA)'; for p in $$list; do \ |
228 | 225 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
229 | 226 | f=$(am__strip_dir) \ |
240 | 237 | done |
241 | 238 | install-serviceDATA: $(service_DATA) |
242 | 239 | @$(NORMAL_INSTALL) |
243 | test -z "$(servicedir)" || $(mkdir_p) "$(DESTDIR)$(servicedir)" | |
240 | test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)" | |
244 | 241 | @list='$(service_DATA)'; for p in $$list; do \ |
245 | 242 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
246 | 243 | f=$(am__strip_dir) \ |
263 | 260 | |
264 | 261 | |
265 | 262 | distdir: $(DISTFILES) |
266 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | |
267 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | |
268 | list='$(DISTFILES)'; for file in $$list; do \ | |
269 | case $$file in \ | |
270 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | |
271 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | |
272 | esac; \ | |
263 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
264 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
265 | list='$(DISTFILES)'; \ | |
266 | dist_files=`for file in $$list; do echo $$file; done | \ | |
267 | sed -e "s|^$$srcdirstrip/||;t" \ | |
268 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
269 | case $$dist_files in \ | |
270 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
271 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
272 | sort -u` ;; \ | |
273 | esac; \ | |
274 | for file in $$dist_files; do \ | |
273 | 275 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
274 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
275 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | |
276 | dir="/$$dir"; \ | |
277 | $(mkdir_p) "$(distdir)$$dir"; \ | |
278 | else \ | |
279 | dir=''; \ | |
280 | fi; \ | |
281 | 276 | if test -d $$d/$$file; then \ |
277 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
282 | 278 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
283 | 279 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
284 | 280 | fi; \ |
294 | 290 | all-am: Makefile $(DATA) |
295 | 291 | installdirs: |
296 | 292 | for dir in "$(DESTDIR)$(managerdir)" "$(DESTDIR)$(servicedir)"; do \ |
297 | test -z "$$dir" || $(mkdir_p) "$$dir"; \ | |
293 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
298 | 294 | done |
299 | 295 | install: install-am |
300 | 296 | install-exec: install-exec-am |
327 | 323 | |
328 | 324 | distclean: distclean-am |
329 | 325 | -rm -f Makefile |
330 | distclean-am: clean-am distclean-generic distclean-libtool | |
326 | distclean-am: clean-am distclean-generic | |
331 | 327 | |
332 | 328 | dvi: dvi-am |
333 | 329 | |
341 | 337 | |
342 | 338 | install-data-am: install-dist_managerDATA install-serviceDATA |
343 | 339 | |
340 | install-dvi: install-dvi-am | |
341 | ||
344 | 342 | install-exec-am: |
345 | 343 | |
344 | install-html: install-html-am | |
345 | ||
346 | 346 | install-info: install-info-am |
347 | 347 | |
348 | 348 | install-man: |
349 | ||
350 | install-pdf: install-pdf-am | |
351 | ||
352 | install-ps: install-ps-am | |
349 | 353 | |
350 | 354 | installcheck-am: |
351 | 355 | |
365 | 369 | |
366 | 370 | ps-am: |
367 | 371 | |
368 | uninstall-am: uninstall-dist_managerDATA uninstall-info-am \ | |
369 | uninstall-serviceDATA | |
372 | uninstall-am: uninstall-dist_managerDATA uninstall-serviceDATA | |
373 | ||
374 | .MAKE: install-am install-strip | |
370 | 375 | |
371 | 376 | .PHONY: all all-am check check-am clean clean-generic clean-libtool \ |
372 | 377 | distclean distclean-generic distclean-libtool distdir dvi \ |
373 | 378 | dvi-am html html-am info info-am install install-am \ |
374 | 379 | install-data install-data-am install-dist_managerDATA \ |
375 | install-exec install-exec-am install-info install-info-am \ | |
376 | install-man install-serviceDATA install-strip installcheck \ | |
380 | install-dvi install-dvi-am install-exec install-exec-am \ | |
381 | install-html install-html-am install-info install-info-am \ | |
382 | install-man install-pdf install-pdf-am install-ps \ | |
383 | install-ps-am install-serviceDATA install-strip installcheck \ | |
377 | 384 | installcheck-am installdirs maintainer-clean \ |
378 | 385 | maintainer-clean-generic mostlyclean mostlyclean-generic \ |
379 | 386 | mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ |
380 | uninstall-dist_managerDATA uninstall-info-am \ | |
381 | uninstall-serviceDATA | |
387 | uninstall-dist_managerDATA uninstall-serviceDATA | |
382 | 388 | |
383 | 389 | |
384 | 390 | # Rule to make the service file with libexecdir expanded |
5 | 5 | param-account=s required |
6 | 6 | param-password=s required |
7 | 7 | param-server=s |
8 | ||
9 | [Protocol local-xmpp] | |
10 | param-account=s required | |
11 | param-password=s required | |
12 | param-server=s | |
8 | param-port=i | |
9 | param-always-use-rv-proxy=b | |
10 | default-server=login.messaging.aol.com | |
11 | default-port=5190 | |
12 | default-always-use-rv-proxy=false | |
13 | 13 | |
14 | 14 | [Protocol gadugadu] |
15 | 15 | param-account=s required |
16 | 16 | param-password=s required |
17 | param-server=s | |
17 | param-nick=s | |
18 | default-nick=Gadu-Gadu User | |
18 | 19 | |
19 | 20 | [Protocol groupwise] |
20 | 21 | param-account=s required |
21 | 22 | param-password=s required |
22 | 23 | param-server=s |
24 | param-port=i | |
25 | default-port=8300 | |
23 | 26 | |
24 | 27 | [Protocol icq] |
25 | 28 | param-account=s required |
26 | 29 | param-password=s required |
27 | 30 | param-server=s |
31 | param-port=i | |
32 | param-always-use-rv-proxy=b | |
33 | param-charset=s | |
34 | default-server=login.messaging.aol.com | |
35 | default-port=5190 | |
36 | default-always-use-rv-proxy=false | |
37 | default-charset=UTF-8 | |
28 | 38 | |
29 | 39 | [Protocol irc] |
30 | 40 | param-account=s required |
41 | param-password=s | |
42 | param-port=i | |
43 | param-charset=s | |
44 | param-username=s | |
45 | param-realname=s | |
46 | param-ssl=b | |
47 | default-port=6667 | |
48 | default-charset=UTF-8 | |
49 | default-ssl=false | |
50 | ||
51 | [Protocol jabber] | |
52 | param-account=s required | |
31 | 53 | param-password=s required |
54 | param-require-encryption=b | |
55 | param-old-ssl=b | |
56 | param-auth-plain-in-clear=b | |
57 | param-port=i | |
32 | 58 | param-server=s |
59 | param-ft-proxies=s | |
60 | default-require-encryption=false | |
61 | default-old-ssl=false | |
62 | default-auth-plain-in-clear=false | |
63 | default-port=5222 | |
64 | default-ft-proxies=proxy.jabber.org:7777 | |
65 | ||
66 | [Protocol local-xmpp] | |
67 | param-account=s required | |
68 | param-first-name=s required | |
69 | param-last-name=s required | |
70 | param-email=s | |
71 | param-AIM=s | |
72 | param-jid=s | |
33 | 73 | |
34 | 74 | [Protocol msn] |
35 | 75 | param-account=s required |
36 | 76 | param-password=s required |
37 | 77 | param-server=s |
78 | param-port=i | |
79 | param-http-method=b | |
80 | param-http-method-server=s | |
81 | param-custom-smileys=b | |
82 | default-server=messenger.hotmail.com | |
83 | default-port=1863 | |
84 | default-http-method=false | |
85 | default-http-method-server=gateway.messenger.hotmail.com | |
86 | default-custom-smileys=true | |
87 | ||
88 | [Protocol myspace] | |
89 | param-account=s required | |
90 | param-password=s required | |
91 | param-server=s | |
92 | param-port=i | |
93 | default-server=im.myspace.akadns.net | |
94 | default-port=1863 | |
38 | 95 | |
39 | 96 | [Protocol qq] |
40 | 97 | param-account=s required |
41 | 98 | param-password=s required |
99 | param-use-tcp=b | |
42 | 100 | param-server=s |
43 | ||
44 | [Protocol simple] | |
45 | param-account=s required | |
46 | param-password=s required | |
47 | param-server=s | |
101 | param-port=s | |
102 | default-use-tcp=false | |
48 | 103 | |
49 | 104 | [Protocol sametime] |
50 | 105 | param-account=s required |
51 | 106 | param-password=s required |
52 | 107 | param-server=s |
108 | param-port=i | |
109 | param-force-login=b | |
110 | param-fake-client-id=b | |
111 | default-port=1533 | |
112 | default-force-login=false | |
113 | default-fake-client-id=false | |
53 | 114 | |
54 | [Protocol jabber] | |
115 | [Protocol simple] | |
55 | 116 | param-account=s required |
56 | 117 | param-password=s required |
118 | param-dopublish=b | |
119 | param-port=i | |
120 | param-udp=b | |
121 | param-useproxy=b | |
122 | param-proxy=s | |
123 | param-authuser=s | |
124 | param-authdomain=s | |
125 | default-dopublish=true | |
126 | default-port=0 | |
127 | default-udp=false | |
128 | default-useproxy=false | |
129 | ||
130 | [Protocol snpp] | |
131 | param-account=s required | |
132 | param-password=s | |
57 | 133 | param-server=s |
134 | param-port=i | |
135 | default-server=localhost | |
136 | default-port=444 | |
58 | 137 | |
59 | 138 | [Protocol yahoo] |
60 | 139 | param-account=s required |
61 | 140 | param-password=s required |
141 | param-yahoojp=b | |
62 | 142 | param-server=s |
143 | param-serverjp=s | |
144 | param-port=i | |
145 | param-xfer-host=s | |
146 | param-xferjp-host=s | |
147 | param-xfer-port=i | |
148 | param-room-list-locale=s | |
149 | param-ignore-invites=b | |
150 | param-charset=s | |
151 | default-yahoojp=false | |
152 | default-server=scs.msg.yahoo.com | |
153 | default-serverjp=cs.yahoo.co.jp | |
154 | default-port=5050 | |
155 | default-xfer-host=filetransfer.msg.yahoo.com | |
156 | default-xferjp-host=filetransfer.msg.yahoo.co.jp | |
157 | default-xfer-port=80 | |
158 | default-room-list-locale=us | |
159 | default-ignore-invites=false | |
160 | default-charset=UTF-8 | |
63 | 161 | |
64 | 162 | [Protocol zephyr] |
65 | 163 | param-account=s required |
66 | param-password=s required | |
67 | param-server=s | |
164 | param-use-tzc=b | |
165 | param-tzc-command=s | |
166 | param-write-anyone=b | |
167 | param-write-zsubs=b | |
168 | param-read-anyone=b | |
169 | param-read-zsubs=b | |
170 | param-realm=s | |
171 | param-exposure-level=s | |
172 | param-charset=s | |
173 | default-use-tzc=false | |
174 | default-tzc-command=/usr/bin/tzc -e %s | |
175 | default-write-anyone=false | |
176 | default-write-zsubs=false | |
177 | default-read-anyone=true | |
178 | default-read-zsubs=true | |
179 | default-exposure-level=REALM-VISIBLE | |
180 | default-charset=UTF-8 | |
181 |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2005-07-09.11 | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. | |
3 | scriptversion=2006-10-15.18 | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software | |
6 | # Foundation, Inc. | |
6 | 7 | |
7 | 8 | # This program is free software; you can redistribute it and/or modify |
8 | 9 | # it under the terms of the GNU General Public License as published by |
90 | 91 | ## gcc 3 implements dependency tracking that does exactly what |
91 | 92 | ## we want. Yay! Note: for some reason libtool 1.4 doesn't like |
92 | 93 | ## it if -MD -MP comes after the -MF stuff. Hmm. |
93 | "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" | |
94 | ## Unfortunately, FreeBSD c89 acceptance of flags depends upon | |
95 | ## the command line argument order; so add the flags where they | |
96 | ## appear in depend2.am. Note that the slowdown incurred here | |
97 | ## affects only configure: in makefiles, %FASTDEP% shortcuts this. | |
98 | for arg | |
99 | do | |
100 | case $arg in | |
101 | -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; | |
102 | *) set fnord "$@" "$arg" ;; | |
103 | esac | |
104 | shift # fnord | |
105 | shift # $arg | |
106 | done | |
107 | "$@" | |
94 | 108 | stat=$? |
95 | 109 | if test $stat -eq 0; then : |
96 | 110 | else |
275 | 289 | rm -f "$tmpdepfile" |
276 | 290 | ;; |
277 | 291 | |
292 | hp2) | |
293 | # The "hp" stanza above does not work with aCC (C++) and HP's ia64 | |
294 | # compilers, which have integrated preprocessors. The correct option | |
295 | # to use with these is +Maked; it writes dependencies to a file named | |
296 | # 'foo.d', which lands next to the object file, wherever that | |
297 | # happens to be. | |
298 | # Much of this is similar to the tru64 case; see comments there. | |
299 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
300 | test "x$dir" = "x$object" && dir= | |
301 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
302 | if test "$libtool" = yes; then | |
303 | tmpdepfile1=$dir$base.d | |
304 | tmpdepfile2=$dir.libs/$base.d | |
305 | "$@" -Wc,+Maked | |
306 | else | |
307 | tmpdepfile1=$dir$base.d | |
308 | tmpdepfile2=$dir$base.d | |
309 | "$@" +Maked | |
310 | fi | |
311 | stat=$? | |
312 | if test $stat -eq 0; then : | |
313 | else | |
314 | rm -f "$tmpdepfile1" "$tmpdepfile2" | |
315 | exit $stat | |
316 | fi | |
317 | ||
318 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" | |
319 | do | |
320 | test -f "$tmpdepfile" && break | |
321 | done | |
322 | if test -f "$tmpdepfile"; then | |
323 | sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" | |
324 | # Add `dependent.h:' lines. | |
325 | sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" | |
326 | else | |
327 | echo "#dummy" > "$depfile" | |
328 | fi | |
329 | rm -f "$tmpdepfile" "$tmpdepfile2" | |
330 | ;; | |
331 | ||
278 | 332 | tru64) |
279 | 333 | # The Tru64 compiler uses -MD to generate dependencies as a side |
280 | 334 | # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. |
287 | 341 | |
288 | 342 | if test "$libtool" = yes; then |
289 | 343 | # With Tru64 cc, shared objects can also be used to make a |
290 | # static library. This mecanism is used in libtool 1.4 series to | |
344 | # static library. This mechanism is used in libtool 1.4 series to | |
291 | 345 | # handle both shared and static libraries in a single compilation. |
292 | 346 | # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. |
293 | 347 | # |
294 | 348 | # With libtool 1.5 this exception was removed, and libtool now |
295 | 349 | # generates 2 separate objects for the 2 libraries. These two |
296 | # compilations output dependencies in in $dir.libs/$base.o.d and | |
350 | # compilations output dependencies in $dir.libs/$base.o.d and | |
297 | 351 | # in $dir$base.o.d. We have to check for both files, because |
298 | 352 | # one of the two compilations can be disabled. We should prefer |
299 | 353 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2005-05-14.22 | |
3 | scriptversion=2006-10-14.15 | |
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 |
38 | 38 | # when there is no Makefile. |
39 | 39 | # |
40 | 40 | # This script is compatible with the BSD install script, but was written |
41 | # from scratch. It can only install one file at a time, a restriction | |
42 | # shared with many OS's install programs. | |
41 | # from scratch. | |
42 | ||
43 | nl=' | |
44 | ' | |
45 | IFS=" "" $nl" | |
43 | 46 | |
44 | 47 | # set DOITPROG to echo to test this script |
45 | 48 | |
46 | 49 | # Don't use :- since 4.3BSD and earlier shells don't like it. |
47 | 50 | doit="${DOITPROG-}" |
48 | ||
49 | # put in absolute paths if you don't have them in your path; or use env. vars. | |
51 | if test -z "$doit"; then | |
52 | doit_exec=exec | |
53 | else | |
54 | doit_exec=$doit | |
55 | fi | |
56 | ||
57 | # Put in absolute file names if you don't have them in your path; | |
58 | # or use environment vars. | |
50 | 59 | |
51 | 60 | mvprog="${MVPROG-mv}" |
52 | 61 | cpprog="${CPPROG-cp}" |
57 | 66 | rmprog="${RMPROG-rm}" |
58 | 67 | mkdirprog="${MKDIRPROG-mkdir}" |
59 | 68 | |
60 | chmodcmd="$chmodprog 0755" | |
69 | posix_glob= | |
70 | posix_mkdir= | |
71 | ||
72 | # Desired mode of installed file. | |
73 | mode=0755 | |
74 | ||
75 | chmodcmd=$chmodprog | |
61 | 76 | chowncmd= |
62 | 77 | chgrpcmd= |
63 | 78 | stripcmd= |
94 | 109 | CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG |
95 | 110 | " |
96 | 111 | |
97 | while test -n "$1"; do | |
112 | while test $# -ne 0; do | |
98 | 113 | case $1 in |
99 | 114 | -c) shift |
100 | 115 | continue;; |
110 | 125 | |
111 | 126 | --help) echo "$usage"; exit $?;; |
112 | 127 | |
113 | -m) chmodcmd="$chmodprog $2" | |
114 | shift | |
115 | shift | |
128 | -m) mode=$2 | |
129 | shift | |
130 | shift | |
131 | case $mode in | |
132 | *' '* | *' '* | *' | |
133 | '* | *'*'* | *'?'* | *'['*) | |
134 | echo "$0: invalid mode: $mode" >&2 | |
135 | exit 1;; | |
136 | esac | |
116 | 137 | continue;; |
117 | 138 | |
118 | 139 | -o) chowncmd="$chownprog $2" |
135 | 156 | |
136 | 157 | --version) echo "$0 $scriptversion"; exit $?;; |
137 | 158 | |
138 | *) # When -d is used, all remaining arguments are directories to create. | |
139 | # When -t is used, the destination is already specified. | |
140 | test -n "$dir_arg$dstarg" && break | |
141 | # Otherwise, the last argument is the destination. Remove it from $@. | |
142 | for arg | |
143 | do | |
144 | if test -n "$dstarg"; then | |
145 | # $@ is not empty: it contains at least $arg. | |
146 | set fnord "$@" "$dstarg" | |
147 | shift # fnord | |
148 | fi | |
149 | shift # arg | |
150 | dstarg=$arg | |
151 | done | |
159 | --) shift | |
152 | 160 | break;; |
161 | ||
162 | -*) echo "$0: invalid option: $1" >&2 | |
163 | exit 1;; | |
164 | ||
165 | *) break;; | |
153 | 166 | esac |
154 | 167 | done |
155 | 168 | |
156 | if test -z "$1"; then | |
169 | if test $# -ne 0 && test -z "$dir_arg$dstarg"; then | |
170 | # When -d is used, all remaining arguments are directories to create. | |
171 | # When -t is used, the destination is already specified. | |
172 | # Otherwise, the last argument is the destination. Remove it from $@. | |
173 | for arg | |
174 | do | |
175 | if test -n "$dstarg"; then | |
176 | # $@ is not empty: it contains at least $arg. | |
177 | set fnord "$@" "$dstarg" | |
178 | shift # fnord | |
179 | fi | |
180 | shift # arg | |
181 | dstarg=$arg | |
182 | done | |
183 | fi | |
184 | ||
185 | if test $# -eq 0; then | |
157 | 186 | if test -z "$dir_arg"; then |
158 | 187 | echo "$0: no input file specified." >&2 |
159 | 188 | exit 1 |
163 | 192 | exit 0 |
164 | 193 | fi |
165 | 194 | |
195 | if test -z "$dir_arg"; then | |
196 | trap '(exit $?); exit' 1 2 13 15 | |
197 | ||
198 | # Set umask so as not to create temps with too-generous modes. | |
199 | # However, 'strip' requires both read and write access to temps. | |
200 | case $mode in | |
201 | # Optimize common cases. | |
202 | *644) cp_umask=133;; | |
203 | *755) cp_umask=22;; | |
204 | ||
205 | *[0-7]) | |
206 | if test -z "$stripcmd"; then | |
207 | u_plus_rw= | |
208 | else | |
209 | u_plus_rw='% 200' | |
210 | fi | |
211 | cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; | |
212 | *) | |
213 | if test -z "$stripcmd"; then | |
214 | u_plus_rw= | |
215 | else | |
216 | u_plus_rw=,u+rw | |
217 | fi | |
218 | cp_umask=$mode$u_plus_rw;; | |
219 | esac | |
220 | fi | |
221 | ||
166 | 222 | for src |
167 | 223 | do |
168 | 224 | # Protect names starting with `-'. |
172 | 228 | |
173 | 229 | if test -n "$dir_arg"; then |
174 | 230 | dst=$src |
175 | src= | |
176 | ||
177 | if test -d "$dst"; then | |
178 | mkdircmd=: | |
179 | chmodcmd= | |
180 | else | |
181 | mkdircmd=$mkdirprog | |
182 | fi | |
231 | dstdir=$dst | |
232 | test -d "$dstdir" | |
233 | dstdir_status=$? | |
183 | 234 | else |
235 | ||
184 | 236 | # Waiting for this to be detected by the "$cpprog $src $dsttmp" command |
185 | 237 | # might cause directories to be created, which would be especially bad |
186 | 238 | # if $src (and thus $dsttmp) contains '*'. |
207 | 259 | echo "$0: $dstarg: Is a directory" >&2 |
208 | 260 | exit 1 |
209 | 261 | fi |
210 | dst=$dst/`basename "$src"` | |
262 | dstdir=$dst | |
263 | dst=$dstdir/`basename "$src"` | |
264 | dstdir_status=0 | |
265 | else | |
266 | # Prefer dirname, but fall back on a substitute if dirname fails. | |
267 | dstdir=` | |
268 | (dirname "$dst") 2>/dev/null || | |
269 | expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
270 | X"$dst" : 'X\(//\)[^/]' \| \ | |
271 | X"$dst" : 'X\(//\)$' \| \ | |
272 | X"$dst" : 'X\(/\)' \| . 2>/dev/null || | |
273 | echo X"$dst" | | |
274 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
275 | s//\1/ | |
276 | q | |
277 | } | |
278 | /^X\(\/\/\)[^/].*/{ | |
279 | s//\1/ | |
280 | q | |
281 | } | |
282 | /^X\(\/\/\)$/{ | |
283 | s//\1/ | |
284 | q | |
285 | } | |
286 | /^X\(\/\).*/{ | |
287 | s//\1/ | |
288 | q | |
289 | } | |
290 | s/.*/./; q' | |
291 | ` | |
292 | ||
293 | test -d "$dstdir" | |
294 | dstdir_status=$? | |
211 | 295 | fi |
212 | 296 | fi |
213 | 297 | |
214 | # This sed command emulates the dirname command. | |
215 | dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` | |
216 | ||
217 | # Make sure that the destination directory exists. | |
218 | ||
219 | # Skip lots of stat calls in the usual case. | |
220 | if test ! -d "$dstdir"; then | |
221 | defaultIFS=' | |
222 | ' | |
223 | IFS="${IFS-$defaultIFS}" | |
224 | ||
225 | oIFS=$IFS | |
226 | # Some sh's can't handle IFS=/ for some reason. | |
227 | IFS='%' | |
228 | set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` | |
229 | shift | |
230 | IFS=$oIFS | |
231 | ||
232 | pathcomp= | |
233 | ||
234 | while test $# -ne 0 ; do | |
235 | pathcomp=$pathcomp$1 | |
298 | obsolete_mkdir_used=false | |
299 | ||
300 | if test $dstdir_status != 0; then | |
301 | case $posix_mkdir in | |
302 | '') | |
303 | # Create intermediate dirs using mode 755 as modified by the umask. | |
304 | # This is like FreeBSD 'install' as of 1997-10-28. | |
305 | umask=`umask` | |
306 | case $stripcmd.$umask in | |
307 | # Optimize common cases. | |
308 | *[2367][2367]) mkdir_umask=$umask;; | |
309 | .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; | |
310 | ||
311 | *[0-7]) | |
312 | mkdir_umask=`expr $umask + 22 \ | |
313 | - $umask % 100 % 40 + $umask % 20 \ | |
314 | - $umask % 10 % 4 + $umask % 2 | |
315 | `;; | |
316 | *) mkdir_umask=$umask,go-w;; | |
317 | esac | |
318 | ||
319 | # With -d, create the new directory with the user-specified mode. | |
320 | # Otherwise, rely on $mkdir_umask. | |
321 | if test -n "$dir_arg"; then | |
322 | mkdir_mode=-m$mode | |
323 | else | |
324 | mkdir_mode= | |
325 | fi | |
326 | ||
327 | posix_mkdir=false | |
328 | case $umask in | |
329 | *[123567][0-7][0-7]) | |
330 | # POSIX mkdir -p sets u+wx bits regardless of umask, which | |
331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. | |
332 | ;; | |
333 | *) | |
334 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ | |
335 | trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 | |
336 | ||
337 | if (umask $mkdir_umask && | |
338 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 | |
339 | then | |
340 | if test -z "$dir_arg" || { | |
341 | # Check for POSIX incompatibilities with -m. | |
342 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or | |
343 | # other-writeable bit of parent directory when it shouldn't. | |
344 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. | |
345 | ls_ld_tmpdir=`ls -ld "$tmpdir"` | |
346 | case $ls_ld_tmpdir in | |
347 | d????-?r-*) different_mode=700;; | |
348 | d????-?--*) different_mode=755;; | |
349 | *) false;; | |
350 | esac && | |
351 | $mkdirprog -m$different_mode -p -- "$tmpdir" && { | |
352 | ls_ld_tmpdir_1=`ls -ld "$tmpdir"` | |
353 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" | |
354 | } | |
355 | } | |
356 | then posix_mkdir=: | |
357 | fi | |
358 | rmdir "$tmpdir/d" "$tmpdir" | |
359 | else | |
360 | # Remove any dirs left behind by ancient mkdir implementations. | |
361 | rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null | |
362 | fi | |
363 | trap '' 0;; | |
364 | esac;; | |
365 | esac | |
366 | ||
367 | if | |
368 | $posix_mkdir && ( | |
369 | umask $mkdir_umask && | |
370 | $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" | |
371 | ) | |
372 | then : | |
373 | else | |
374 | ||
375 | # The umask is ridiculous, or mkdir does not conform to POSIX, | |
376 | # or it failed possibly due to a race condition. Create the | |
377 | # directory the slow way, step by step, checking for races as we go. | |
378 | ||
379 | case $dstdir in | |
380 | /*) prefix=/ ;; | |
381 | -*) prefix=./ ;; | |
382 | *) prefix= ;; | |
383 | esac | |
384 | ||
385 | case $posix_glob in | |
386 | '') | |
387 | if (set -f) 2>/dev/null; then | |
388 | posix_glob=true | |
389 | else | |
390 | posix_glob=false | |
391 | fi ;; | |
392 | esac | |
393 | ||
394 | oIFS=$IFS | |
395 | IFS=/ | |
396 | $posix_glob && set -f | |
397 | set fnord $dstdir | |
236 | 398 | shift |
237 | if test ! -d "$pathcomp"; then | |
238 | $mkdirprog "$pathcomp" | |
239 | # mkdir can fail with a `File exist' error in case several | |
240 | # install-sh are creating the directory concurrently. This | |
241 | # is OK. | |
242 | test -d "$pathcomp" || exit | |
399 | $posix_glob && set +f | |
400 | IFS=$oIFS | |
401 | ||
402 | prefixes= | |
403 | ||
404 | for d | |
405 | do | |
406 | test -z "$d" && continue | |
407 | ||
408 | prefix=$prefix$d | |
409 | if test -d "$prefix"; then | |
410 | prefixes= | |
411 | else | |
412 | if $posix_mkdir; then | |
413 | (umask=$mkdir_umask && | |
414 | $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break | |
415 | # Don't fail if two instances are running concurrently. | |
416 | test -d "$prefix" || exit 1 | |
417 | else | |
418 | case $prefix in | |
419 | *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; | |
420 | *) qprefix=$prefix;; | |
421 | esac | |
422 | prefixes="$prefixes '$qprefix'" | |
423 | fi | |
424 | fi | |
425 | prefix=$prefix/ | |
426 | done | |
427 | ||
428 | if test -n "$prefixes"; then | |
429 | # Don't fail if two instances are running concurrently. | |
430 | (umask $mkdir_umask && | |
431 | eval "\$doit_exec \$mkdirprog $prefixes") || | |
432 | test -d "$dstdir" || exit 1 | |
433 | obsolete_mkdir_used=true | |
243 | 434 | fi |
244 | pathcomp=$pathcomp/ | |
245 | done | |
435 | fi | |
246 | 436 | fi |
247 | 437 | |
248 | 438 | if test -n "$dir_arg"; then |
249 | $doit $mkdircmd "$dst" \ | |
250 | && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ | |
251 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ | |
252 | && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ | |
253 | && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } | |
254 | ||
439 | { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && | |
440 | { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && | |
441 | { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || | |
442 | test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 | |
255 | 443 | else |
256 | dstfile=`basename "$dst"` | |
257 | 444 | |
258 | 445 | # Make a couple of temp file names in the proper directory. |
259 | 446 | dsttmp=$dstdir/_inst.$$_ |
261 | 448 | |
262 | 449 | # Trap to clean up those temp files at exit. |
263 | 450 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
264 | trap '(exit $?); exit' 1 2 13 15 | |
265 | 451 | |
266 | 452 | # Copy the file name to the temp name. |
267 | $doit $cpprog "$src" "$dsttmp" && | |
453 | (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && | |
268 | 454 | |
269 | 455 | # and set any options; do chmod last to preserve setuid bits. |
270 | 456 | # |
275 | 461 | { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ |
276 | 462 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ |
277 | 463 | && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ |
278 | && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && | |
464 | && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && | |
279 | 465 | |
280 | 466 | # Now rename the file to the real destination. |
281 | { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ | |
467 | { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ | |
282 | 468 | || { |
283 | 469 | # The rename failed, perhaps because mv can't rename something else |
284 | 470 | # to itself, or perhaps because mv is so ancient that it does not |
290 | 476 | # reasons. In this case, the final cleanup might fail but the new |
291 | 477 | # file should still install successfully. |
292 | 478 | { |
293 | if test -f "$dstdir/$dstfile"; then | |
294 | $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ | |
295 | || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ | |
479 | if test -f "$dst"; then | |
480 | $doit $rmcmd -f "$dst" 2>/dev/null \ | |
481 | || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ | |
482 | && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ | |
296 | 483 | || { |
297 | echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 | |
484 | echo "$0: cannot unlink or rename $dst" >&2 | |
298 | 485 | (exit 1); exit 1 |
299 | 486 | } |
300 | 487 | else |
303 | 490 | } && |
304 | 491 | |
305 | 492 | # Now rename the file to the real destination. |
306 | $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" | |
493 | $doit $mvcmd "$dsttmp" "$dst" | |
307 | 494 | } |
308 | } | |
309 | fi || { (exit 1); exit 1; } | |
495 | } || exit 1 | |
496 | ||
497 | trap '' 0 | |
498 | fi | |
310 | 499 | done |
311 | ||
312 | # The final little trick to "correctly" pass the exit status to the exit trap. | |
313 | { | |
314 | (exit 0); exit 0 | |
315 | } | |
316 | 500 | |
317 | 501 | # Local variables: |
318 | 502 | # eval: (add-hook 'write-file-hooks 'time-stamp) |
42 | 42 | |
43 | 43 | PROGRAM=ltmain.sh |
44 | 44 | PACKAGE=libtool |
45 | VERSION="1.5.24 Debian 1.5.24-1ubuntu1" | |
45 | VERSION="1.5.24 Debian 1.5.24-2" | |
46 | 46 | TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)" |
47 | 47 | |
48 | 48 | # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). |
0 | # Makefile.in generated by automake 1.9.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.10 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004, 2005 Free Software Foundation, Inc. | |
4 | # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
12 | 12 | # PARTICULAR PURPOSE. |
13 | 13 | |
14 | 14 | @SET_MAKE@ |
15 | srcdir = @srcdir@ | |
16 | top_srcdir = @top_srcdir@ | |
17 | 15 | VPATH = @srcdir@ |
18 | 16 | pkgdatadir = $(datadir)/@PACKAGE@ |
19 | 17 | pkglibdir = $(libdir)/@PACKAGE@ |
20 | 18 | pkgincludedir = $(includedir)/@PACKAGE@ |
21 | top_builddir = .. | |
22 | 19 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
23 | INSTALL = @INSTALL@ | |
24 | 20 | install_sh_DATA = $(install_sh) -c -m 644 |
25 | 21 | install_sh_PROGRAM = $(install_sh) -c |
26 | 22 | install_sh_SCRIPT = $(install_sh) -c |
48 | 44 | DIST_SOURCES = |
49 | 45 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
50 | 46 | ACLOCAL = @ACLOCAL@ |
51 | AMDEP_FALSE = @AMDEP_FALSE@ | |
52 | AMDEP_TRUE = @AMDEP_TRUE@ | |
53 | 47 | AMTAR = @AMTAR@ |
54 | 48 | AR = @AR@ |
55 | 49 | AUTOCONF = @AUTOCONF@ |
73 | 67 | ECHO_N = @ECHO_N@ |
74 | 68 | ECHO_T = @ECHO_T@ |
75 | 69 | EGREP = @EGREP@ |
70 | ENABLE_LEAKY_REQUEST_STUBS = @ENABLE_LEAKY_REQUEST_STUBS@ | |
76 | 71 | ERROR_CFLAGS = @ERROR_CFLAGS@ |
77 | 72 | EXEEXT = @EXEEXT@ |
78 | 73 | F77 = @F77@ |
79 | 74 | FFLAGS = @FFLAGS@ |
80 | 75 | GREP = @GREP@ |
76 | INSTALL = @INSTALL@ | |
81 | 77 | INSTALL_DATA = @INSTALL_DATA@ |
82 | 78 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
83 | 79 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
89 | 85 | LN_S = @LN_S@ |
90 | 86 | LTLIBOBJS = @LTLIBOBJS@ |
91 | 87 | MAKEINFO = @MAKEINFO@ |
88 | MKDIR_P = @MKDIR_P@ | |
92 | 89 | OBJEXT = @OBJEXT@ |
93 | 90 | PACKAGE = @PACKAGE@ |
94 | 91 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
108 | 105 | TP_GLIB_CFLAGS = @TP_GLIB_CFLAGS@ |
109 | 106 | TP_GLIB_LIBS = @TP_GLIB_LIBS@ |
110 | 107 | VERSION = @VERSION@ |
108 | abs_builddir = @abs_builddir@ | |
109 | abs_srcdir = @abs_srcdir@ | |
110 | abs_top_builddir = @abs_top_builddir@ | |
111 | abs_top_srcdir = @abs_top_srcdir@ | |
111 | 112 | ac_ct_CC = @ac_ct_CC@ |
112 | 113 | ac_ct_CXX = @ac_ct_CXX@ |
113 | 114 | ac_ct_F77 = @ac_ct_F77@ |
114 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ | |
115 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ | |
116 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ | |
117 | am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ | |
118 | 115 | am__include = @am__include@ |
119 | 116 | am__leading_dot = @am__leading_dot@ |
120 | 117 | am__quote = @am__quote@ |
126 | 123 | build_cpu = @build_cpu@ |
127 | 124 | build_os = @build_os@ |
128 | 125 | build_vendor = @build_vendor@ |
126 | builddir = @builddir@ | |
129 | 127 | datadir = @datadir@ |
130 | 128 | datarootdir = @datarootdir@ |
131 | 129 | docdir = @docdir@ |
153 | 151 | psdir = @psdir@ |
154 | 152 | sbindir = @sbindir@ |
155 | 153 | sharedstatedir = @sharedstatedir@ |
154 | srcdir = @srcdir@ | |
156 | 155 | sysconfdir = @sysconfdir@ |
157 | 156 | target_alias = @target_alias@ |
157 | top_builddir = @top_builddir@ | |
158 | top_srcdir = @top_srcdir@ | |
158 | 159 | EXTRA_DIST = \ |
159 | 160 | as-ac-expand.m4 |
160 | 161 | |
196 | 197 | |
197 | 198 | clean-libtool: |
198 | 199 | -rm -rf .libs _libs |
199 | ||
200 | distclean-libtool: | |
201 | -rm -f libtool | |
202 | uninstall-info-am: | |
203 | 200 | tags: TAGS |
204 | 201 | TAGS: |
205 | 202 | |
208 | 205 | |
209 | 206 | |
210 | 207 | distdir: $(DISTFILES) |
211 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | |
212 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | |
213 | list='$(DISTFILES)'; for file in $$list; do \ | |
214 | case $$file in \ | |
215 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | |
216 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | |
217 | esac; \ | |
208 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
209 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
210 | list='$(DISTFILES)'; \ | |
211 | dist_files=`for file in $$list; do echo $$file; done | \ | |
212 | sed -e "s|^$$srcdirstrip/||;t" \ | |
213 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
214 | case $$dist_files in \ | |
215 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
216 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
217 | sort -u` ;; \ | |
218 | esac; \ | |
219 | for file in $$dist_files; do \ | |
218 | 220 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
219 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
220 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | |
221 | dir="/$$dir"; \ | |
222 | $(mkdir_p) "$(distdir)$$dir"; \ | |
223 | else \ | |
224 | dir=''; \ | |
225 | fi; \ | |
226 | 221 | if test -d $$d/$$file; then \ |
222 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
227 | 223 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
228 | 224 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
229 | 225 | fi; \ |
268 | 264 | |
269 | 265 | distclean: distclean-am |
270 | 266 | -rm -f Makefile |
271 | distclean-am: clean-am distclean-generic distclean-libtool | |
267 | distclean-am: clean-am distclean-generic | |
272 | 268 | |
273 | 269 | dvi: dvi-am |
274 | 270 | |
282 | 278 | |
283 | 279 | install-data-am: |
284 | 280 | |
281 | install-dvi: install-dvi-am | |
282 | ||
285 | 283 | install-exec-am: |
286 | 284 | |
285 | install-html: install-html-am | |
286 | ||
287 | 287 | install-info: install-info-am |
288 | 288 | |
289 | 289 | install-man: |
290 | ||
291 | install-pdf: install-pdf-am | |
292 | ||
293 | install-ps: install-ps-am | |
290 | 294 | |
291 | 295 | installcheck-am: |
292 | 296 | |
306 | 310 | |
307 | 311 | ps-am: |
308 | 312 | |
309 | uninstall-am: uninstall-info-am | |
313 | uninstall-am: | |
314 | ||
315 | .MAKE: install-am install-strip | |
310 | 316 | |
311 | 317 | .PHONY: all all-am check check-am clean clean-generic clean-libtool \ |
312 | 318 | distclean distclean-generic distclean-libtool distdir dvi \ |
313 | 319 | dvi-am html html-am info info-am install install-am \ |
314 | install-data install-data-am install-exec install-exec-am \ | |
315 | install-info install-info-am install-man install-strip \ | |
320 | install-data install-data-am install-dvi install-dvi-am \ | |
321 | install-exec install-exec-am install-html install-html-am \ | |
322 | install-info install-info-am install-man install-pdf \ | |
323 | install-pdf-am install-ps install-ps-am install-strip \ | |
316 | 324 | installcheck installcheck-am installdirs maintainer-clean \ |
317 | 325 | maintainer-clean-generic mostlyclean mostlyclean-generic \ |
318 | mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ | |
319 | uninstall-info-am | |
326 | mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am | |
320 | 327 | |
321 | 328 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
322 | 329 | # Otherwise a system limit (for SysV at least) may be exceeded. |
0 | 0 | #! /bin/sh |
1 | 1 | # Common stub for a few missing GNU programs while installing. |
2 | 2 | |
3 | scriptversion=2005-06-08.21 | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 | |
3 | scriptversion=2006-05-10.23 | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 | |
6 | 6 | # Free Software Foundation, Inc. |
7 | 7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
8 | 8 | |
32 | 32 | fi |
33 | 33 | |
34 | 34 | run=: |
35 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' | |
36 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' | |
35 | 37 | |
36 | 38 | # In the cases where this matters, `missing' is being run in the |
37 | 39 | # srcdir already. |
43 | 45 | |
44 | 46 | msg="missing on your system" |
45 | 47 | |
46 | case "$1" in | |
48 | case $1 in | |
47 | 49 | --run) |
48 | 50 | # Try to run requested program, and just exit if it succeeds. |
49 | 51 | run= |
76 | 78 | aclocal touch file \`aclocal.m4' |
77 | 79 | autoconf touch file \`configure' |
78 | 80 | autoheader touch file \`config.h.in' |
81 | autom4te touch the output file, or create a stub one | |
79 | 82 | automake touch all \`Makefile.in' files |
80 | 83 | bison create \`y.tab.[ch]', if possible, from existing .[ch] |
81 | 84 | flex create \`lex.yy.c', if possible, from existing .c |
105 | 108 | # Now exit if we have it, but it failed. Also exit now if we |
106 | 109 | # don't have it and --version was passed (most likely to detect |
107 | 110 | # the program). |
108 | case "$1" in | |
111 | case $1 in | |
109 | 112 | lex|yacc) |
110 | 113 | # Not GNU programs, they don't have --version. |
111 | 114 | ;; |
134 | 137 | |
135 | 138 | # If it does not exist, or fails to run (possibly an outdated version), |
136 | 139 | # try to emulate it. |
137 | case "$1" in | |
140 | case $1 in | |
138 | 141 | aclocal*) |
139 | 142 | echo 1>&2 "\ |
140 | 143 | WARNING: \`$1' is $msg. You should only need it if |
163 | 166 | test -z "$files" && files="config.h" |
164 | 167 | touch_files= |
165 | 168 | for f in $files; do |
166 | case "$f" in | |
169 | case $f in | |
167 | 170 | *:*) touch_files="$touch_files "`echo "$f" | |
168 | 171 | sed -e 's/^[^:]*://' -e 's/:.*//'`;; |
169 | 172 | *) touch_files="$touch_files $f.in";; |
191 | 194 | You can get \`$1' as part of \`Autoconf' from any GNU |
192 | 195 | archive site." |
193 | 196 | |
194 | file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` | |
195 | test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` | |
197 | file=`echo "$*" | sed -n "$sed_output"` | |
198 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
196 | 199 | if test -f "$file"; then |
197 | 200 | touch $file |
198 | 201 | else |
213 | 216 | in order for those modifications to take effect. You can get |
214 | 217 | \`Bison' from any GNU archive site." |
215 | 218 | rm -f y.tab.c y.tab.h |
216 | if [ $# -ne 1 ]; then | |
219 | if test $# -ne 1; then | |
217 | 220 | eval LASTARG="\${$#}" |
218 | case "$LASTARG" in | |
221 | case $LASTARG in | |
219 | 222 | *.y) |
220 | 223 | SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` |
221 | if [ -f "$SRCFILE" ]; then | |
224 | if test -f "$SRCFILE"; then | |
222 | 225 | cp "$SRCFILE" y.tab.c |
223 | 226 | fi |
224 | 227 | SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` |
225 | if [ -f "$SRCFILE" ]; then | |
228 | if test -f "$SRCFILE"; then | |
226 | 229 | cp "$SRCFILE" y.tab.h |
227 | 230 | fi |
228 | 231 | ;; |
229 | 232 | esac |
230 | 233 | fi |
231 | if [ ! -f y.tab.h ]; then | |
234 | if test ! -f y.tab.h; then | |
232 | 235 | echo >y.tab.h |
233 | 236 | fi |
234 | if [ ! -f y.tab.c ]; then | |
237 | if test ! -f y.tab.c; then | |
235 | 238 | echo 'main() { return 0; }' >y.tab.c |
236 | 239 | fi |
237 | 240 | ;; |
243 | 246 | in order for those modifications to take effect. You can get |
244 | 247 | \`Flex' from any GNU archive site." |
245 | 248 | rm -f lex.yy.c |
246 | if [ $# -ne 1 ]; then | |
249 | if test $# -ne 1; then | |
247 | 250 | eval LASTARG="\${$#}" |
248 | case "$LASTARG" in | |
251 | case $LASTARG in | |
249 | 252 | *.l) |
250 | 253 | SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` |
251 | if [ -f "$SRCFILE" ]; then | |
254 | if test -f "$SRCFILE"; then | |
252 | 255 | cp "$SRCFILE" lex.yy.c |
253 | 256 | fi |
254 | 257 | ;; |
255 | 258 | esac |
256 | 259 | fi |
257 | if [ ! -f lex.yy.c ]; then | |
260 | if test ! -f lex.yy.c; then | |
258 | 261 | echo 'main() { return 0; }' >lex.yy.c |
259 | 262 | fi |
260 | 263 | ;; |
266 | 269 | \`Help2man' package in order for those modifications to take |
267 | 270 | effect. You can get \`Help2man' from any GNU archive site." |
268 | 271 | |
269 | file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` | |
270 | if test -z "$file"; then | |
271 | file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` | |
272 | fi | |
273 | if [ -f "$file" ]; then | |
272 | file=`echo "$*" | sed -n "$sed_output"` | |
273 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
274 | if test -f "$file"; then | |
274 | 275 | touch $file |
275 | 276 | else |
276 | 277 | test -z "$file" || exec >$file |
288 | 289 | DU, IRIX). You might want to install the \`Texinfo' package or |
289 | 290 | the \`GNU make' package. Grab either from any GNU archive site." |
290 | 291 | # The file to touch is that specified with -o ... |
291 | file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` | |
292 | file=`echo "$*" | sed -n "$sed_output"` | |
293 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
292 | 294 | if test -z "$file"; then |
293 | 295 | # ... or it is the one specified with @setfilename ... |
294 | 296 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` |
295 | file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` | |
297 | file=`sed -n ' | |
298 | /^@setfilename/{ | |
299 | s/.* \([^ ]*\) *$/\1/ | |
300 | p | |
301 | q | |
302 | }' $infile` | |
296 | 303 | # ... or it is derived from the source name (dir/f.texi becomes f.info) |
297 | 304 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info |
298 | 305 | fi |
316 | 323 | fi |
317 | 324 | firstarg="$1" |
318 | 325 | if shift; then |
319 | case "$firstarg" in | |
326 | case $firstarg in | |
320 | 327 | *o*) |
321 | 328 | firstarg=`echo "$firstarg" | sed s/o//` |
322 | 329 | tar "$firstarg" "$@" && exit 0 |
323 | 330 | ;; |
324 | 331 | esac |
325 | case "$firstarg" in | |
332 | case $firstarg in | |
326 | 333 | *h*) |
327 | 334 | firstarg=`echo "$firstarg" | sed s/h//` |
328 | 335 | tar "$firstarg" "$@" && exit 0 |
28 | 28 | im-channel.h \ |
29 | 29 | im-channel.c \ |
30 | 30 | im-channel-factory.c \ |
31 | im-channel-factory.h | |
31 | im-channel-factory.h \ | |
32 | notify.c \ | |
33 | notify.h \ | |
34 | request.c \ | |
35 | request.h | |
32 | 36 | |
33 | 37 | AM_CFLAGS = \ |
34 | 38 | $(ERROR_CFLAGS) \ |
0 | # Makefile.in generated by automake 1.9.6 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.10 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004, 2005 Free Software Foundation, Inc. | |
4 | # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
13 | 13 | |
14 | 14 | @SET_MAKE@ |
15 | 15 | |
16 | srcdir = @srcdir@ | |
17 | top_srcdir = @top_srcdir@ | |
18 | 16 | VPATH = @srcdir@ |
19 | 17 | pkgdatadir = $(datadir)/@PACKAGE@ |
20 | 18 | pkglibdir = $(libdir)/@PACKAGE@ |
21 | 19 | pkgincludedir = $(includedir)/@PACKAGE@ |
22 | top_builddir = .. | |
23 | 20 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
24 | INSTALL = @INSTALL@ | |
25 | 21 | install_sh_DATA = $(install_sh) -c -m 644 |
26 | 22 | install_sh_PROGRAM = $(install_sh) -c |
27 | 23 | install_sh_SCRIPT = $(install_sh) -c |
54 | 50 | connection-avatars.$(OBJEXT) connection-presence.$(OBJEXT) \ |
55 | 51 | connection.$(OBJEXT) contact-list.$(OBJEXT) \ |
56 | 52 | contact-list-channel.$(OBJEXT) im-channel.$(OBJEXT) \ |
57 | im-channel-factory.$(OBJEXT) | |
53 | im-channel-factory.$(OBJEXT) notify.$(OBJEXT) \ | |
54 | request.$(OBJEXT) | |
58 | 55 | telepathy_haze_OBJECTS = $(am_telepathy_haze_OBJECTS) |
59 | 56 | telepathy_haze_LDADD = $(LDADD) |
60 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) | |
57 | DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ | |
61 | 58 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
62 | 59 | am__depfiles_maybe = depfiles |
63 | 60 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
64 | 61 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
65 | LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ | |
66 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | |
67 | $(AM_CFLAGS) $(CFLAGS) | |
62 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | |
63 | --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |
64 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
68 | 65 | CCLD = $(CC) |
69 | LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |
70 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
66 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | |
67 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | |
68 | $(LDFLAGS) -o $@ | |
71 | 69 | SOURCES = $(telepathy_haze_SOURCES) |
72 | 70 | DIST_SOURCES = $(telepathy_haze_SOURCES) |
73 | 71 | man8dir = $(mandir)/man8 |
77 | 75 | CTAGS = ctags |
78 | 76 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
79 | 77 | ACLOCAL = @ACLOCAL@ |
80 | AMDEP_FALSE = @AMDEP_FALSE@ | |
81 | AMDEP_TRUE = @AMDEP_TRUE@ | |
82 | 78 | AMTAR = @AMTAR@ |
83 | 79 | AR = @AR@ |
84 | 80 | AUTOCONF = @AUTOCONF@ |
102 | 98 | ECHO_N = @ECHO_N@ |
103 | 99 | ECHO_T = @ECHO_T@ |
104 | 100 | EGREP = @EGREP@ |
101 | ENABLE_LEAKY_REQUEST_STUBS = @ENABLE_LEAKY_REQUEST_STUBS@ | |
105 | 102 | ERROR_CFLAGS = @ERROR_CFLAGS@ |
106 | 103 | EXEEXT = @EXEEXT@ |
107 | 104 | F77 = @F77@ |
108 | 105 | FFLAGS = @FFLAGS@ |
109 | 106 | GREP = @GREP@ |
107 | INSTALL = @INSTALL@ | |
110 | 108 | INSTALL_DATA = @INSTALL_DATA@ |
111 | 109 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
112 | 110 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
118 | 116 | LN_S = @LN_S@ |
119 | 117 | LTLIBOBJS = @LTLIBOBJS@ |
120 | 118 | MAKEINFO = @MAKEINFO@ |
119 | MKDIR_P = @MKDIR_P@ | |
121 | 120 | OBJEXT = @OBJEXT@ |
122 | 121 | PACKAGE = @PACKAGE@ |
123 | 122 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
137 | 136 | TP_GLIB_CFLAGS = @TP_GLIB_CFLAGS@ |
138 | 137 | TP_GLIB_LIBS = @TP_GLIB_LIBS@ |
139 | 138 | VERSION = @VERSION@ |
139 | abs_builddir = @abs_builddir@ | |
140 | abs_srcdir = @abs_srcdir@ | |
141 | abs_top_builddir = @abs_top_builddir@ | |
142 | abs_top_srcdir = @abs_top_srcdir@ | |
140 | 143 | ac_ct_CC = @ac_ct_CC@ |
141 | 144 | ac_ct_CXX = @ac_ct_CXX@ |
142 | 145 | ac_ct_F77 = @ac_ct_F77@ |
143 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ | |
144 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ | |
145 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ | |
146 | am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ | |
147 | 146 | am__include = @am__include@ |
148 | 147 | am__leading_dot = @am__leading_dot@ |
149 | 148 | am__quote = @am__quote@ |
155 | 154 | build_cpu = @build_cpu@ |
156 | 155 | build_os = @build_os@ |
157 | 156 | build_vendor = @build_vendor@ |
157 | builddir = @builddir@ | |
158 | 158 | datadir = @datadir@ |
159 | 159 | datarootdir = @datarootdir@ |
160 | 160 | docdir = @docdir@ |
182 | 182 | psdir = @psdir@ |
183 | 183 | sbindir = @sbindir@ |
184 | 184 | sharedstatedir = @sharedstatedir@ |
185 | srcdir = @srcdir@ | |
185 | 186 | sysconfdir = @sysconfdir@ |
186 | 187 | target_alias = @target_alias@ |
188 | top_builddir = @top_builddir@ | |
189 | top_srcdir = @top_srcdir@ | |
187 | 190 | man_MANS = telepathy-haze.8 |
188 | 191 | EXTRA_DIST = telepathy-haze.8.in |
189 | 192 | CLEANFILES = $(man_MANS) |
208 | 211 | im-channel.h \ |
209 | 212 | im-channel.c \ |
210 | 213 | im-channel-factory.c \ |
211 | im-channel-factory.h | |
214 | im-channel-factory.h \ | |
215 | notify.c \ | |
216 | notify.h \ | |
217 | request.c \ | |
218 | request.h | |
212 | 219 | |
213 | 220 | AM_CFLAGS = \ |
214 | 221 | $(ERROR_CFLAGS) \ |
251 | 258 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
252 | 259 | install-libexecPROGRAMS: $(libexec_PROGRAMS) |
253 | 260 | @$(NORMAL_INSTALL) |
254 | test -z "$(libexecdir)" || $(mkdir_p) "$(DESTDIR)$(libexecdir)" | |
261 | test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)" | |
255 | 262 | @list='$(libexec_PROGRAMS)'; for p in $$list; do \ |
256 | 263 | p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
257 | 264 | if test -f $$p \ |
279 | 286 | done |
280 | 287 | telepathy-haze$(EXEEXT): $(telepathy_haze_OBJECTS) $(telepathy_haze_DEPENDENCIES) |
281 | 288 | @rm -f telepathy-haze$(EXEEXT) |
282 | $(LINK) $(telepathy_haze_LDFLAGS) $(telepathy_haze_OBJECTS) $(telepathy_haze_LDADD) $(LIBS) | |
289 | $(LINK) $(telepathy_haze_OBJECTS) $(telepathy_haze_LDADD) $(LIBS) | |
283 | 290 | |
284 | 291 | mostlyclean-compile: |
285 | 292 | -rm -f *.$(OBJEXT) |
298 | 305 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/im-channel-factory.Po@am__quote@ |
299 | 306 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/im-channel.Po@am__quote@ |
300 | 307 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ |
308 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/notify.Po@am__quote@ | |
309 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/request.Po@am__quote@ | |
301 | 310 | |
302 | 311 | .c.o: |
303 | @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ | |
304 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi | |
312 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
313 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
305 | 314 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
306 | 315 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
307 | 316 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< |
308 | 317 | |
309 | 318 | .c.obj: |
310 | @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ | |
311 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi | |
319 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
320 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
312 | 321 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
313 | 322 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
314 | 323 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
315 | 324 | |
316 | 325 | .c.lo: |
317 | @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ | |
318 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi | |
326 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
327 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | |
319 | 328 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
320 | 329 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
321 | 330 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
325 | 334 | |
326 | 335 | clean-libtool: |
327 | 336 | -rm -rf .libs _libs |
328 | ||
329 | distclean-libtool: | |
330 | -rm -f libtool | |
331 | uninstall-info-am: | |
332 | 337 | install-man8: $(man8_MANS) $(man_MANS) |
333 | 338 | @$(NORMAL_INSTALL) |
334 | test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)" | |
339 | test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" | |
335 | 340 | @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ |
336 | 341 | l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ |
337 | 342 | for i in $$l2; do \ |
424 | 429 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
425 | 430 | |
426 | 431 | distdir: $(DISTFILES) |
427 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | |
428 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | |
429 | list='$(DISTFILES)'; for file in $$list; do \ | |
430 | case $$file in \ | |
431 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | |
432 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | |
433 | esac; \ | |
432 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
433 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
434 | list='$(DISTFILES)'; \ | |
435 | dist_files=`for file in $$list; do echo $$file; done | \ | |
436 | sed -e "s|^$$srcdirstrip/||;t" \ | |
437 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
438 | case $$dist_files in \ | |
439 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
440 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
441 | sort -u` ;; \ | |
442 | esac; \ | |
443 | for file in $$dist_files; do \ | |
434 | 444 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
435 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
436 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | |
437 | dir="/$$dir"; \ | |
438 | $(mkdir_p) "$(distdir)$$dir"; \ | |
439 | else \ | |
440 | dir=''; \ | |
441 | fi; \ | |
442 | 445 | if test -d $$d/$$file; then \ |
446 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
443 | 447 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
444 | 448 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
445 | 449 | fi; \ |
455 | 459 | all-am: Makefile $(PROGRAMS) $(MANS) |
456 | 460 | installdirs: |
457 | 461 | for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"; do \ |
458 | test -z "$$dir" || $(mkdir_p) "$$dir"; \ | |
462 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
459 | 463 | done |
460 | 464 | install: install-am |
461 | 465 | install-exec: install-exec-am |
491 | 495 | -rm -rf ./$(DEPDIR) |
492 | 496 | -rm -f Makefile |
493 | 497 | distclean-am: clean-am distclean-compile distclean-generic \ |
494 | distclean-libtool distclean-tags | |
498 | distclean-tags | |
495 | 499 | |
496 | 500 | dvi: dvi-am |
497 | 501 | |
505 | 509 | |
506 | 510 | install-data-am: install-man |
507 | 511 | |
512 | install-dvi: install-dvi-am | |
513 | ||
508 | 514 | install-exec-am: install-libexecPROGRAMS |
509 | 515 | |
516 | install-html: install-html-am | |
517 | ||
510 | 518 | install-info: install-info-am |
511 | 519 | |
512 | 520 | install-man: install-man8 |
521 | ||
522 | install-pdf: install-pdf-am | |
523 | ||
524 | install-ps: install-ps-am | |
513 | 525 | |
514 | 526 | installcheck-am: |
515 | 527 | |
531 | 543 | |
532 | 544 | ps-am: |
533 | 545 | |
534 | uninstall-am: uninstall-info-am uninstall-libexecPROGRAMS \ | |
535 | uninstall-man | |
546 | uninstall-am: uninstall-libexecPROGRAMS uninstall-man | |
536 | 547 | |
537 | 548 | uninstall-man: uninstall-man8 |
549 | ||
550 | .MAKE: install-am install-strip | |
538 | 551 | |
539 | 552 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ |
540 | 553 | clean-libexecPROGRAMS clean-libtool ctags distclean \ |
541 | 554 | distclean-compile distclean-generic distclean-libtool \ |
542 | 555 | distclean-tags distdir dvi dvi-am html html-am info info-am \ |
543 | install install-am install-data install-data-am install-exec \ | |
544 | install-exec-am install-info install-info-am \ | |
545 | install-libexecPROGRAMS install-man install-man8 install-strip \ | |
556 | install install-am install-data install-data-am install-dvi \ | |
557 | install-dvi-am install-exec install-exec-am install-html \ | |
558 | install-html-am install-info install-info-am \ | |
559 | install-libexecPROGRAMS install-man install-man8 install-pdf \ | |
560 | install-pdf-am install-ps install-ps-am install-strip \ | |
546 | 561 | installcheck installcheck-am installdirs maintainer-clean \ |
547 | 562 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
548 | 563 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
549 | tags uninstall uninstall-am uninstall-info-am \ | |
550 | uninstall-libexecPROGRAMS uninstall-man uninstall-man8 | |
564 | tags uninstall uninstall-am uninstall-libexecPROGRAMS \ | |
565 | uninstall-man uninstall-man8 | |
551 | 566 | |
552 | 567 | |
553 | 568 | %.8: %.8.in Makefile |
33 | 33 | haze_connection_manager, |
34 | 34 | TP_TYPE_BASE_CONNECTION_MANAGER) |
35 | 35 | |
36 | typedef struct _HazeParams HazeParams; | |
37 | ||
38 | struct _HazeParams { | |
39 | gchar *username; | |
40 | gchar *password; | |
41 | gchar *server; | |
36 | /* For some protocols, removing the "prpl-" prefix from its name in libpurple | |
37 | * doesn't give the right name for Telepathy. Other protocols need some | |
38 | * parameters renaming to match well-known names in the spec, or to have | |
39 | * hyphens rather than underscores for consistency. | |
40 | */ | |
41 | static HazeProtocolInfo known_protocol_info[] = { | |
42 | { "aim", "prpl-aim", NULL, | |
43 | "always_use_rv_proxy:always-use-rv-proxy" }, | |
44 | { "gadugadu", "prpl-gg", NULL, "" }, | |
45 | { "groupwise", "prpl-novell", NULL, "" }, | |
46 | { "irc", "prpl-irc", NULL, "encoding:charset" }, | |
47 | { "icq", "prpl-icq", NULL, | |
48 | "encoding:charset,always_use_rv_proxy:always-use-rv-proxy" }, | |
49 | { "jabber", "prpl-jabber", NULL, | |
50 | "connect_server:server,old_ssl:old-ssl,require_tls:require-encryption," | |
51 | "auth_plain_in_clear:auth-plain-in-clear,ft_proxies:ft-proxies" }, | |
52 | { "local-xmpp", "prpl-bonjour", NULL, | |
53 | "first:first-name,last:last-name" }, | |
54 | { "msn", "prpl-msn", NULL, | |
55 | "http_method:http-method,http_method_server:http-method-server," | |
56 | "custom_smileys:custom-smileys" }, | |
57 | { "qq", "prpl-qq", NULL, "use_tcp:use-tcp" }, | |
58 | { "sametime", "prpl-meanwhile", NULL, | |
59 | "force_login:force-login,fake_client_id:fake-client-id" }, | |
60 | { "yahoo", "prpl-yahoo", NULL, | |
61 | "local_charset:charset,xfer_host:xfer-host,xferjp_host:xferjp-host," | |
62 | "xfer_port:xfer-port,room_list_locale:room-list-locale," | |
63 | "ignore_invites:ignore-invites" }, | |
64 | { "zephyr", "prpl-zephyr", NULL, | |
65 | "encoding:charset,use_tzc:use-tzc,tzc_command:tzc-command," | |
66 | "write_anyone:write-anyone,write_zsubs:write-zsubs," | |
67 | "read_anyone:read-anyone,read_zsubs:read-zsubs," | |
68 | "exposure_level:exposure-level" }, | |
69 | { NULL, NULL, NULL, "" } | |
42 | 70 | }; |
43 | 71 | |
44 | /** These are protocols for which stripping off the "prpl-" prefix is not | |
45 | * sufficient, or for which special munging has to be done. | |
46 | */ | |
47 | static HazeProtocolInfo known_protocol_info[] = { | |
48 | { "gadugadu", "prpl-gg", NULL }, | |
49 | { "groupwise", "prpl-novell", NULL }, | |
50 | { "irc", "prpl-irc", NULL }, | |
51 | { "sametime", "prpl-meanwhile", NULL }, | |
52 | { "local-xmpp", "prpl-bonjour", NULL }, | |
53 | { NULL, NULL, NULL } | |
54 | }; | |
55 | ||
56 | static const TpCMParamSpec params[] = { | |
57 | { "account", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, | |
58 | TP_CONN_MGR_PARAM_FLAG_REQUIRED, NULL, | |
59 | G_STRUCT_OFFSET(HazeParams, username), NULL, NULL }, | |
60 | { "password", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, | |
61 | /* FIXME: zephyr for instance doesn't need a password */ | |
62 | TP_CONN_MGR_PARAM_FLAG_REQUIRED, NULL, | |
63 | G_STRUCT_OFFSET(HazeParams, password), NULL, NULL }, | |
64 | { "server", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, 0, NULL, | |
65 | G_STRUCT_OFFSET(HazeParams, server), NULL, NULL }, | |
66 | { NULL, NULL, 0, 0, NULL, 0, NULL, NULL } | |
67 | }; | |
68 | ||
69 | 72 | static void * |
70 | alloc_params (void) | |
71 | { | |
72 | return g_new0 (HazeParams, 1); | |
73 | } | |
74 | ||
75 | static void | |
76 | free_params (void *p) | |
77 | { | |
78 | HazeParams *params = (HazeParams *)p; | |
79 | g_free (params->username); | |
80 | g_free (params->password); | |
81 | g_free (params->server); | |
82 | ||
83 | g_free (params); | |
73 | _haze_cm_alloc_params (void) | |
74 | { | |
75 | /* (gchar *) => (GValue *) */ | |
76 | return g_hash_table_new_full (g_str_hash, g_str_equal, NULL, | |
77 | (GDestroyNotify) tp_g_value_slice_free); | |
78 | } | |
79 | ||
80 | static void | |
81 | _haze_cm_free_params (void *p) | |
82 | { | |
83 | GHashTable *params = (GHashTable *)p; | |
84 | g_hash_table_unref (params); | |
85 | } | |
86 | ||
87 | static void | |
88 | _haze_cm_set_param (const TpCMParamSpec *paramspec, | |
89 | const GValue *value, | |
90 | gpointer params_) | |
91 | { | |
92 | GHashTable *params = (GHashTable *) params_; | |
93 | GValue *value_copy = tp_g_value_slice_new (paramspec->gtype); | |
94 | gchar *prpl_param_name = (gchar *) paramspec->setter_data; | |
95 | ||
96 | g_assert (G_VALUE_TYPE (value) == G_VALUE_TYPE (value_copy)); | |
97 | ||
98 | g_value_copy (value, value_copy); | |
99 | ||
100 | DEBUG ("setting parameter %s (telepathy name %s)", | |
101 | prpl_param_name, paramspec->name); | |
102 | ||
103 | g_hash_table_insert (params, prpl_param_name, value_copy); | |
104 | } | |
105 | ||
106 | /* Populates a TpCMParamSpec from a PurpleAccountOption, possibly renaming the | |
107 | * parameter as specified in parameter_map. paramspec is assumed to be zeroed out. | |
108 | * Returns TRUE on success, and FALSE if paramspec could not be populated (and | |
109 | * thus should not be used). | |
110 | */ | |
111 | static gboolean | |
112 | _translate_protocol_option (PurpleAccountOption *option, | |
113 | TpCMParamSpec *paramspec, | |
114 | HazeProtocolInfo *hpi, | |
115 | GHashTable *parameter_map) | |
116 | { | |
117 | const char *pref_name = purple_account_option_get_setting (option); | |
118 | PurplePrefType pref_type = purple_account_option_get_type (option); | |
119 | gchar *name = g_hash_table_lookup (parameter_map, pref_name); | |
120 | /* These strings are never free'd, but need to last until exit anyway. | |
121 | */ | |
122 | paramspec->name = g_strdup (name ? name : pref_name); | |
123 | paramspec->setter_data = option->pref_name; | |
124 | /* TODO: does libpurple ever require a parameter besides the username | |
125 | * and possibly password? | |
126 | */ | |
127 | paramspec->flags = 0; | |
128 | ||
129 | switch (pref_type) | |
130 | { | |
131 | case PURPLE_PREF_BOOLEAN: | |
132 | paramspec->dtype = DBUS_TYPE_BOOLEAN_AS_STRING; | |
133 | paramspec->gtype = G_TYPE_BOOLEAN; | |
134 | paramspec->flags |= TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT; | |
135 | paramspec->def = GINT_TO_POINTER ( | |
136 | purple_account_option_get_default_bool (option)); | |
137 | break; | |
138 | case PURPLE_PREF_INT: | |
139 | paramspec->dtype = DBUS_TYPE_INT32_AS_STRING; | |
140 | paramspec->gtype = G_TYPE_INT; | |
141 | paramspec->flags |= TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT; | |
142 | paramspec->def = GINT_TO_POINTER ( | |
143 | purple_account_option_get_default_int (option)); | |
144 | break; | |
145 | case PURPLE_PREF_STRING: | |
146 | { | |
147 | const gchar *def; | |
148 | ||
149 | paramspec->dtype = DBUS_TYPE_STRING_AS_STRING; | |
150 | paramspec->gtype = G_TYPE_STRING; | |
151 | ||
152 | /* prpl-bonjour chooses the defaults for these parameters with | |
153 | * getpwuid(3); but for haze's purposes that's the UI's job. | |
154 | */ | |
155 | if (g_str_equal (hpi->prpl_id, "prpl-bonjour") | |
156 | && (g_str_equal (paramspec->name, "first-name") | |
157 | || g_str_equal (paramspec->name, "last-name"))) | |
158 | { | |
159 | paramspec->flags |= TP_CONN_MGR_PARAM_FLAG_REQUIRED; | |
160 | break; | |
161 | } | |
162 | ||
163 | if (g_str_equal (paramspec->name, "charset")) | |
164 | def = "UTF-8"; | |
165 | else | |
166 | def = purple_account_option_get_default_string (option); | |
167 | ||
168 | if (def && *def) | |
169 | { | |
170 | paramspec->def = g_strdup (def); | |
171 | paramspec->flags |= TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT; | |
172 | } | |
173 | break; | |
174 | } | |
175 | default: | |
176 | g_warning ("account option %s has unknown type %u; ignoring", | |
177 | pref_name, pref_type); | |
178 | return FALSE; | |
179 | } | |
180 | ||
181 | return TRUE; | |
182 | } | |
183 | ||
184 | /* Constructs a parameter specification from the prpl's options list, renaming | |
185 | * protocols and parameters according to known_protocol_info. | |
186 | */ | |
187 | static TpCMParamSpec * | |
188 | _build_paramspecs (HazeProtocolInfo *hpi) | |
189 | { | |
190 | const TpCMParamSpec account_spec = | |
191 | { "account", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, | |
192 | TP_CONN_MGR_PARAM_FLAG_REQUIRED, NULL, 0, NULL, NULL, | |
193 | (gpointer) "account", NULL }; | |
194 | TpCMParamSpec password_spec = | |
195 | { "password", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, | |
196 | TP_CONN_MGR_PARAM_FLAG_REQUIRED, NULL, 0, NULL, NULL, | |
197 | (gpointer) "password", NULL }; | |
198 | ||
199 | GArray *paramspecs = g_array_new (TRUE, TRUE, sizeof (TpCMParamSpec)); | |
200 | GList *opts; | |
201 | ||
202 | /* Deserialize the hpi->parameter_map string to a hash table; | |
203 | * "libpurple_name1:telepathy-name1,libpurple_name2:telepathy-name2" | |
204 | * becomes | |
205 | * "libpurple_name1" => "telepathy-name1" | |
206 | * "libpurple_name2" => "telepathy-name2" | |
207 | */ | |
208 | GHashTable *parameter_map = g_hash_table_new (g_str_hash, g_str_equal); | |
209 | gchar **map_chunks = g_strsplit_set (hpi->parameter_map, ",:", 0); | |
210 | int i; | |
211 | for (i = 0; map_chunks[i] != NULL; i = i + 2) | |
212 | { | |
213 | g_assert (map_chunks[i+1] != NULL); | |
214 | g_hash_table_insert (parameter_map, map_chunks[i], map_chunks[i+1]); | |
215 | } | |
216 | ||
217 | /* TODO: local-xmpp shouldn't have an account parameter */ | |
218 | g_array_append_val (paramspecs, account_spec); | |
219 | ||
220 | /* Password parameter: */ | |
221 | if (!(hpi->prpl_info->options & OPT_PROTO_NO_PASSWORD)) | |
222 | { | |
223 | if (hpi->prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL) | |
224 | password_spec.flags = 0; | |
225 | g_array_append_val (paramspecs, password_spec); | |
226 | } | |
227 | ||
228 | for (opts = hpi->prpl_info->protocol_options; opts; opts = opts->next) | |
229 | { | |
230 | PurpleAccountOption *option = (PurpleAccountOption *)opts->data; | |
231 | TpCMParamSpec paramspec = | |
232 | { NULL, NULL, 0, 0, NULL, 0, NULL, NULL, NULL, NULL}; | |
233 | ||
234 | if (_translate_protocol_option (option, ¶mspec, hpi, parameter_map)) | |
235 | g_array_append_val (paramspecs, paramspec); | |
236 | } | |
237 | ||
238 | g_hash_table_destroy (parameter_map); | |
239 | g_strfreev (map_chunks); | |
240 | ||
241 | return (TpCMParamSpec *) g_array_free (paramspecs, FALSE); | |
84 | 242 | } |
85 | 243 | |
86 | 244 | struct _protocol_info_foreach_data |
100 | 258 | TpCMProtocolSpec *protocol = &(data->protocols[data->index]); |
101 | 259 | |
102 | 260 | protocol->name = info->tp_protocol_name; |
103 | protocol->parameters = params; | |
104 | protocol->params_new = alloc_params; | |
105 | protocol->params_free = free_params; | |
261 | protocol->parameters = _build_paramspecs (info); | |
262 | protocol->params_new = _haze_cm_alloc_params; | |
263 | protocol->params_free = _haze_cm_free_params; | |
264 | protocol->set_param = _haze_cm_set_param; | |
106 | 265 | |
107 | 266 | (data->index)++; |
267 | } | |
268 | ||
269 | static int | |
270 | _compare_protocol_names(gconstpointer a, | |
271 | gconstpointer b) | |
272 | { | |
273 | const TpCMProtocolSpec *protocol_a = a; | |
274 | const TpCMProtocolSpec *protocol_b = b; | |
275 | ||
276 | return strcmp(protocol_a->name, protocol_b->name); | |
108 | 277 | } |
109 | 278 | |
110 | 279 | static TpCMProtocolSpec * |
121 | 290 | |
122 | 291 | g_hash_table_foreach (klass->protocol_info_table, _protocol_info_foreach, |
123 | 292 | &foreach_data); |
293 | ||
294 | qsort (protocols, n_protocols, sizeof (TpCMProtocolSpec), | |
295 | _compare_protocol_names); | |
296 | ||
297 | { | |
298 | GString *debug_string = g_string_new (""); | |
299 | TpCMProtocolSpec *p = protocols; | |
300 | while (p->name != NULL) | |
301 | { | |
302 | g_string_append (debug_string, p->name); | |
303 | p += 1; | |
304 | if (p->name != NULL) | |
305 | g_string_append (debug_string, ", "); | |
306 | } | |
307 | ||
308 | DEBUG ("Found protocols %s", debug_string->str); | |
309 | g_string_free (debug_string, TRUE); | |
310 | } | |
124 | 311 | |
125 | 312 | return protocols; |
126 | 313 | } |
160 | 347 | { |
161 | 348 | HazeConnectionManager *cm = HAZE_CONNECTION_MANAGER(base); |
162 | 349 | HazeConnectionManagerClass *klass = HAZE_CONNECTION_MANAGER_GET_CLASS (cm); |
163 | HazeParams *params = (HazeParams *)parsed_params; | |
350 | GHashTable *params = (GHashTable *)parsed_params; | |
164 | 351 | HazeProtocolInfo *info = |
165 | 352 | g_hash_table_lookup (klass->protocol_info_table, proto); |
166 | 353 | HazeConnection *conn = g_object_new (HAZE_TYPE_CONNECTION, |
167 | 354 | "protocol", proto, |
168 | 355 | "protocol-info", info, |
169 | "username", params->username, | |
170 | "password", params->password, | |
171 | "server", params->server, | |
356 | "parameters", params, | |
172 | 357 | NULL); |
173 | 358 | |
174 | 359 | cm->connections = g_list_prepend(cm->connections, conn); |
202 | 387 | HazeProtocolInfo *info = (HazeProtocolInfo *)value; |
203 | 388 | const gchar *prpl_id = (const gchar *)data; |
204 | 389 | return (!strcmp (info->prpl_id, prpl_id)); |
205 | } | |
206 | ||
207 | static void | |
208 | get_values_foreach (gpointer key, | |
209 | gpointer value, | |
210 | gpointer data) | |
211 | { | |
212 | GList **values = data; | |
213 | ||
214 | *values = g_list_prepend (*values, value); | |
215 | } | |
216 | ||
217 | /* Equivalent to g_hash_table_get_values, which only exists in GLib >=2.14. */ | |
218 | static GList * | |
219 | haze_g_hash_table_get_values (GHashTable *table) | |
220 | { | |
221 | GList *values = NULL; | |
222 | ||
223 | g_hash_table_foreach (table, get_values_foreach, &values); | |
224 | ||
225 | return values; | |
226 | 390 | } |
227 | 391 | |
228 | 392 | static void _init_protocol_table (HazeConnectionManagerClass *klass) |
248 | 412 | info->prpl_id = i->prpl_id; |
249 | 413 | info->tp_protocol_name = i->tp_protocol_name; |
250 | 414 | info->prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO (plugin); |
415 | info->parameter_map = i->parameter_map; | |
251 | 416 | |
252 | 417 | g_hash_table_insert (table, info->tp_protocol_name, info); |
253 | 418 | } |
271 | 436 | info->tp_protocol_name = p_info->id; |
272 | 437 | } |
273 | 438 | info->prpl_info = prpl_info; |
439 | info->parameter_map = ""; | |
274 | 440 | |
275 | 441 | g_hash_table_insert (table, info->tp_protocol_name, info); |
276 | } | |
277 | ||
278 | { | |
279 | GList *protocols = haze_g_hash_table_get_values (table); | |
280 | GList *l; | |
281 | GString *debug_string = g_string_new (""); | |
282 | ||
283 | for (l = protocols; l; l = l->next) | |
284 | { | |
285 | info = l->data; | |
286 | g_string_append (debug_string, info->tp_protocol_name); | |
287 | if (l->next) | |
288 | g_string_append (debug_string, ", "); | |
289 | } | |
290 | ||
291 | DEBUG ("Found protocols %s", debug_string->str); | |
292 | ||
293 | g_list_free (protocols); | |
294 | g_string_free (debug_string, TRUE); | |
295 | 442 | } |
296 | 443 | |
297 | 444 | klass->protocol_info_table = table; |
52 | 52 | gchar *prpl_id; |
53 | 53 | PurplePluginProtocolInfo *prpl_info; |
54 | 54 | |
55 | /** A string of the form | |
56 | * "foo:bar,baz:badger" | |
57 | * where foo and baz are the names of prpl account options, and bar | |
58 | * and badger are the names theses options should be given as | |
59 | * Telepathy parameters. | |
60 | */ | |
61 | const gchar *parameter_map; | |
55 | 62 | }; |
56 | 63 | |
57 | 64 | GType haze_connection_manager_get_type (void); |
38 | 38 | |
39 | 39 | enum |
40 | 40 | { |
41 | PROP_USERNAME = 1, | |
42 | PROP_PASSWORD, | |
43 | PROP_SERVER, | |
41 | PROP_PARAMETERS = 1, | |
44 | 42 | PROP_PROTOCOL_INFO, |
45 | 43 | |
46 | 44 | LAST_PROPERTY |
47 | }; | |
45 | } HazeConnectionProperties; | |
48 | 46 | |
49 | 47 | G_DEFINE_TYPE_WITH_CODE(HazeConnection, |
50 | 48 | haze_connection, |
59 | 57 | |
60 | 58 | typedef struct _HazeConnectionPrivate |
61 | 59 | { |
62 | char *username; | |
63 | char *password; | |
64 | char *server; | |
60 | GHashTable *parameters; | |
65 | 61 | |
66 | 62 | HazeProtocolInfo *protocol_info; |
63 | ||
64 | gboolean dispose_has_run; | |
67 | 65 | } HazeConnectionPrivate; |
68 | 66 | |
69 | 67 | #define HAZE_CONNECTION_GET_PRIVATE(o) \ |
71 | 69 | |
72 | 70 | #define PC_GET_BASE_CONN(pc) \ |
73 | 71 | (ACCOUNT_GET_TP_BASE_CONNECTION (purple_connection_get_account (pc))) |
72 | ||
73 | static const gchar * | |
74 | _get_param_string (GHashTable *parameters, | |
75 | const gchar *key) | |
76 | { | |
77 | GValue *value = (GValue *) g_hash_table_lookup (parameters, key); | |
78 | if (value) | |
79 | { | |
80 | g_assert (G_VALUE_TYPE (value) == G_TYPE_STRING); | |
81 | return (g_value_get_string (value)); | |
82 | } | |
83 | else | |
84 | { | |
85 | return NULL; | |
86 | } | |
87 | } | |
74 | 88 | |
75 | 89 | void |
76 | 90 | connected_cb (PurpleConnection *pc) |
202 | 216 | } |
203 | 217 | |
204 | 218 | static void |
219 | _warn_unhandled_parameter (const gchar *key, | |
220 | const GValue *value, | |
221 | gpointer user_data) | |
222 | { | |
223 | g_warning ("received an unknown parameter '%s'; ignoring", key); | |
224 | } | |
225 | ||
226 | struct _i_want_closure | |
227 | { | |
228 | PurpleAccount *account; | |
229 | GHashTable *params; | |
230 | }; | |
231 | ||
232 | static void | |
233 | _set_option (const PurpleAccountOption *option, | |
234 | struct _i_want_closure *context) | |
235 | { | |
236 | GValue *value = g_hash_table_lookup (context->params, option->pref_name); | |
237 | if (!value) | |
238 | return; | |
239 | ||
240 | switch (option->type) | |
241 | { | |
242 | case PURPLE_PREF_BOOLEAN: | |
243 | g_assert (G_VALUE_TYPE (value) == G_TYPE_BOOLEAN); | |
244 | purple_account_set_bool (context->account, option->pref_name, | |
245 | g_value_get_boolean (value)); | |
246 | break; | |
247 | case PURPLE_PREF_INT: | |
248 | g_assert (G_VALUE_TYPE (value) == G_TYPE_INT); | |
249 | purple_account_set_int (context->account, option->pref_name, | |
250 | g_value_get_int (value)); | |
251 | break; | |
252 | case PURPLE_PREF_STRING: | |
253 | g_assert (G_VALUE_TYPE (value) == G_TYPE_STRING); | |
254 | purple_account_set_string (context->account, option->pref_name, | |
255 | g_value_get_string (value)); | |
256 | break; | |
257 | default: | |
258 | g_warning ("option '%s' has unhandled type %u", | |
259 | option->pref_name, option->type); | |
260 | } | |
261 | ||
262 | g_hash_table_remove (context->params, option->pref_name); | |
263 | } | |
264 | ||
265 | static void | |
205 | 266 | _create_account (HazeConnection *self) |
206 | 267 | { |
207 | 268 | HazeConnectionPrivate *priv = HAZE_CONNECTION_GET_PRIVATE(self); |
208 | ||
209 | PurpleAccount *account; | |
269 | GHashTable *params = priv->parameters; | |
210 | 270 | PurplePluginProtocolInfo *prpl_info = priv->protocol_info->prpl_info; |
211 | 271 | |
272 | const gchar *username, *password; | |
273 | struct _i_want_closure context; | |
274 | ||
275 | username = _get_param_string (params, "account"); | |
276 | g_assert (username); | |
277 | ||
212 | 278 | g_assert (self->account == NULL); |
213 | ||
214 | account = self->account = | |
215 | purple_account_new(priv->username, priv->protocol_info->prpl_id); | |
216 | purple_accounts_add (account); | |
217 | ||
218 | account->ui_data = self; | |
219 | purple_account_set_password (account, priv->password); | |
220 | ||
221 | if (priv->server && *priv->server) | |
279 | self->account = purple_account_new (username, priv->protocol_info->prpl_id); | |
280 | purple_accounts_add (self->account); | |
281 | g_assert (self->account); | |
282 | g_hash_table_remove (params, "account"); | |
283 | ||
284 | self->account->ui_data = self; | |
285 | ||
286 | password = _get_param_string (params, "password"); | |
287 | if (password) | |
222 | 288 | { |
223 | GList *l; | |
224 | PurpleAccountOption *option; | |
225 | ||
226 | /* :'-( :'-( :'-( :'-( */ | |
227 | for (l = prpl_info->protocol_options; l != NULL; l = l->next) | |
228 | { | |
229 | option = (PurpleAccountOption *)l->data; | |
230 | if (!strcmp (option->pref_name, "server") /* oscar */ | |
231 | || !strcmp (option->pref_name, "connect_server")) /* xmpp */ | |
232 | { | |
233 | purple_account_set_string (account, option->pref_name, | |
234 | priv->server); | |
235 | break; | |
236 | } | |
237 | } | |
238 | if (l == NULL) | |
239 | g_warning ("server specified, but corresponding protocol option " | |
240 | "not found!"); | |
241 | } | |
289 | purple_account_set_password (self->account, password); | |
290 | g_hash_table_remove (params, "password"); | |
291 | } | |
292 | ||
293 | context.account = self->account; | |
294 | context.params = params; | |
295 | g_list_foreach (prpl_info->protocol_options, (GFunc) _set_option, &context); | |
296 | ||
297 | g_hash_table_foreach (params, (GHFunc) _warn_unhandled_parameter, "lala"); | |
242 | 298 | } |
243 | 299 | |
244 | 300 | static gboolean |
345 | 401 | HazeConnectionPrivate *priv = HAZE_CONNECTION_GET_PRIVATE(self); |
346 | 402 | |
347 | 403 | switch (property_id) { |
348 | case PROP_USERNAME: | |
349 | g_value_set_string (value, priv->username); | |
350 | break; | |
351 | case PROP_PASSWORD: | |
352 | g_value_set_string (value, priv->password); | |
353 | break; | |
354 | case PROP_SERVER: | |
355 | g_value_set_string (value, priv->server); | |
404 | case PROP_PARAMETERS: | |
405 | g_value_set_pointer (value, priv->parameters); | |
356 | 406 | break; |
357 | 407 | case PROP_PROTOCOL_INFO: |
358 | 408 | g_value_set_pointer (value, priv->protocol_info); |
373 | 423 | HazeConnectionPrivate *priv = HAZE_CONNECTION_GET_PRIVATE(self); |
374 | 424 | |
375 | 425 | switch (property_id) { |
376 | case PROP_USERNAME: | |
377 | g_free (priv->username); | |
378 | priv->username = g_value_dup_string(value); | |
379 | break; | |
380 | case PROP_PASSWORD: | |
381 | g_free (priv->password); | |
382 | priv->password = g_value_dup_string(value); | |
383 | break; | |
384 | case PROP_SERVER: | |
385 | g_free (priv->server); | |
386 | priv->server = g_value_dup_string(value); | |
426 | case PROP_PARAMETERS: | |
427 | priv->parameters = g_value_get_pointer (value); | |
428 | g_hash_table_ref (priv->parameters); | |
387 | 429 | break; |
388 | 430 | case PROP_PROTOCOL_INFO: |
389 | 431 | priv->protocol_info = g_value_get_pointer (value); |
402 | 444 | HazeConnection *self = HAZE_CONNECTION ( |
403 | 445 | G_OBJECT_CLASS (haze_connection_parent_class)->constructor ( |
404 | 446 | type, n_construct_properties, construct_params)); |
447 | HazeConnectionPrivate *priv = HAZE_CONNECTION_GET_PRIVATE (self); | |
405 | 448 | |
406 | 449 | DEBUG ("Post-construction: (HazeConnection *)%p", self); |
407 | 450 | |
451 | priv->dispose_has_run = FALSE; | |
452 | ||
408 | 453 | _create_account (self); |
409 | 454 | |
410 | 455 | return (GObject *)self; |
414 | 459 | haze_connection_dispose (GObject *object) |
415 | 460 | { |
416 | 461 | HazeConnection *self = HAZE_CONNECTION(object); |
462 | HazeConnectionPrivate *priv = HAZE_CONNECTION_GET_PRIVATE (self); | |
463 | ||
464 | if (priv->dispose_has_run) | |
465 | return; | |
466 | ||
467 | priv->dispose_has_run = TRUE; | |
417 | 468 | |
418 | 469 | DEBUG ("disposing of (HazeConnection *)%p", self); |
419 | 470 | |
471 | g_hash_table_unref (priv->parameters); | |
472 | priv->parameters = NULL; | |
473 | ||
420 | 474 | G_OBJECT_CLASS (haze_connection_parent_class)->dispose (object); |
421 | 475 | } |
422 | 476 | |
423 | 477 | static void |
424 | 478 | haze_connection_finalize (GObject *object) |
425 | 479 | { |
426 | HazeConnection *self = HAZE_CONNECTION (object); | |
427 | HazeConnectionPrivate *priv = HAZE_CONNECTION_GET_PRIVATE(self); | |
428 | ||
429 | g_free (priv->username); | |
430 | g_free (priv->password); | |
431 | g_free (priv->server); | |
432 | self->priv = NULL; | |
433 | ||
434 | 480 | tp_presence_mixin_finalize (object); |
435 | 481 | |
436 | 482 | G_OBJECT_CLASS (haze_connection_parent_class)->finalize (object); |
469 | 515 | base_class->shut_down = _haze_connection_shut_down; |
470 | 516 | base_class->interfaces_always_present = interfaces_always_present; |
471 | 517 | |
472 | param_spec = g_param_spec_string ("username", "Account username", | |
473 | "The username used when authenticating.", | |
474 | NULL, | |
475 | G_PARAM_CONSTRUCT_ONLY | | |
476 | G_PARAM_READWRITE | | |
477 | G_PARAM_STATIC_NAME | | |
478 | G_PARAM_STATIC_BLURB); | |
479 | g_object_class_install_property (object_class, PROP_USERNAME, param_spec); | |
480 | ||
481 | param_spec = g_param_spec_string ("password", "Account password", | |
482 | "The password used when authenticating.", | |
483 | NULL, | |
484 | G_PARAM_CONSTRUCT_ONLY | | |
485 | G_PARAM_READWRITE | | |
486 | G_PARAM_STATIC_NAME | | |
487 | G_PARAM_STATIC_BLURB); | |
488 | g_object_class_install_property (object_class, PROP_PASSWORD, param_spec); | |
489 | ||
490 | param_spec = g_param_spec_string ("server", "Hostname or IP of server", | |
491 | "The server used when establishing a connection.", | |
492 | NULL, | |
493 | G_PARAM_CONSTRUCT_ONLY | | |
494 | G_PARAM_READWRITE | | |
495 | G_PARAM_STATIC_NAME | | |
496 | G_PARAM_STATIC_BLURB); | |
497 | g_object_class_install_property (object_class, PROP_SERVER, param_spec); | |
518 | param_spec = g_param_spec_pointer ("parameters", | |
519 | "GHashTable of gchar * => GValue", | |
520 | "Connection parameters (username, " | |
521 | "password, etc.)", | |
522 | G_PARAM_CONSTRUCT_ONLY | | |
523 | G_PARAM_READWRITE | | |
524 | G_PARAM_STATIC_NAME | | |
525 | G_PARAM_STATIC_BLURB); | |
526 | g_object_class_install_property (object_class, PROP_PARAMETERS, param_spec); | |
498 | 527 | |
499 | 528 | param_spec = g_param_spec_pointer ("protocol-info", |
500 | 529 | "HazeProtocolInfo instance", |
532 | 561 | const char *alias, |
533 | 562 | const char *message, |
534 | 563 | gboolean on_list, |
535 | #if PURPLE_VERSION_CHECK(2,1,1) | |
536 | 564 | PurpleAccountRequestAuthorizationCb authorize_cb, |
537 | 565 | PurpleAccountRequestAuthorizationCb deny_cb, |
538 | #else | |
539 | GCallback authorize_cb, | |
540 | GCallback deny_cb, | |
541 | #endif | |
542 | 566 | void *user_data) |
543 | 567 | { |
544 | 568 | /* Woo for argument lists which are longer than the function! */ |
545 | PurpleAccountRequestAuthorizationCb cb = | |
546 | #if PURPLE_VERSION_CHECK(2,1,1) | |
547 | authorize_cb; | |
548 | #else | |
549 | (PurpleAccountRequestAuthorizationCb) authorize_cb; | |
550 | #endif | |
551 | 569 | |
552 | 570 | /* FIXME: Implement the publish list, then deal with this properly. */ |
553 | 571 | DEBUG ("[%s] Quietly authorizing presence subscription from '%s'...", |
554 | 572 | account->username, remote_user); |
555 | cb (user_data); | |
573 | authorize_cb (user_data); | |
556 | 574 | return NULL; |
557 | 575 | } |
558 | 576 |
359 | 359 | tp_svc_channel_emit_closed ((TpSvcChannel *)self); |
360 | 360 | } |
361 | 361 | |
362 | g_free (priv->object_path); | |
363 | ||
362 | 364 | if (G_OBJECT_CLASS (haze_contact_list_channel_parent_class)->dispose) |
363 | 365 | G_OBJECT_CLASS (haze_contact_list_channel_parent_class)->dispose (object); |
364 | 366 | } |
422 | 424 | g_free (priv->object_path); |
423 | 425 | priv->object_path = g_value_dup_string (value); |
424 | 426 | break; |
427 | case PROP_CHANNEL_TYPE: | |
428 | /* this property is writable in the interface (in | |
429 | * telepathy-glib > 0.7.0), but not actually | |
430 | * meaningfully changeable on this channel, so we do nothing */ | |
431 | break; | |
425 | 432 | case PROP_HANDLE_TYPE: |
426 | 433 | priv->handle_type = g_value_get_uint (value); |
427 | 434 | break; |
277 | 277 | return chan; |
278 | 278 | } |
279 | 279 | |
280 | static HazeContactListChannel * | |
281 | _haze_contact_list_get_channel (HazeContactList *contact_list, | |
282 | guint handle_type, | |
283 | TpHandle handle, | |
284 | gboolean *created) | |
285 | { | |
286 | HazeContactListPrivate *priv = HAZE_CONTACT_LIST_GET_PRIVATE(contact_list); | |
280 | HazeContactListChannel * | |
281 | haze_contact_list_get_channel (HazeContactList *contact_list, | |
282 | guint handle_type, | |
283 | TpHandle handle, | |
284 | gboolean *created) | |
285 | { | |
286 | HazeContactListPrivate *priv = HAZE_CONTACT_LIST_GET_PRIVATE (contact_list); | |
287 | 287 | TpBaseConnection *conn = TP_BASE_CONNECTION (priv->conn); |
288 | 288 | TpHandleRepoIface *handle_repo = |
289 | 289 | tp_base_connection_get_handles (conn, handle_type); |
328 | 328 | NULL); |
329 | 329 | HazeContactListChannel *group; |
330 | 330 | |
331 | group = _haze_contact_list_get_channel (contact_list, TP_HANDLE_TYPE_GROUP, | |
331 | group = haze_contact_list_get_channel (contact_list, TP_HANDLE_TYPE_GROUP, | |
332 | 332 | group_handle, created); |
333 | 333 | |
334 | 334 | tp_handle_unref (group_repo, group_handle); |
401 | 401 | |
402 | 402 | add_handles = _handle_a_buddy (priv->conn, buddy); |
403 | 403 | |
404 | subscribe = _haze_contact_list_get_channel (contact_list, | |
404 | subscribe = haze_contact_list_get_channel (contact_list, | |
405 | 405 | TP_HANDLE_TYPE_LIST, HAZE_LIST_HANDLE_SUBSCRIBE, NULL); |
406 | 406 | |
407 | 407 | tp_group_mixin_change_members (G_OBJECT (subscribe), "", |
452 | 452 | |
453 | 453 | if (last_instance) |
454 | 454 | { |
455 | subscribe = _haze_contact_list_get_channel (contact_list, | |
455 | subscribe = haze_contact_list_get_channel (contact_list, | |
456 | 456 | TP_HANDLE_TYPE_LIST, HAZE_LIST_HANDLE_SUBSCRIBE, NULL); |
457 | 457 | |
458 | 458 | tp_group_mixin_change_members (G_OBJECT (subscribe), "", |
512 | 512 | HazeContactListChannel *group; |
513 | 513 | TpHandle group_handle = tp_handle_ensure (handle_repo, group_name, NULL, |
514 | 514 | NULL); |
515 | group = _haze_contact_list_get_channel (contact_list, | |
515 | group = haze_contact_list_get_channel (contact_list, | |
516 | 516 | TP_HANDLE_TYPE_GROUP, group_handle, NULL /*created*/); |
517 | 517 | |
518 | 518 | tp_group_mixin_change_members (G_OBJECT (group), "", handles, NULL, |
544 | 544 | g_slist_foreach (buddies, (GFunc) _initial_buddies_foreach, &context); |
545 | 545 | g_slist_free (buddies); |
546 | 546 | |
547 | subscribe = _haze_contact_list_get_channel (self, TP_HANDLE_TYPE_LIST, | |
547 | subscribe = haze_contact_list_get_channel (self, TP_HANDLE_TYPE_LIST, | |
548 | 548 | HAZE_LIST_HANDLE_SUBSCRIBE, NULL /*created*/); |
549 | 549 | |
550 | 550 | tp_group_mixin_change_members (G_OBJECT (subscribe), "", |
634 | 634 | |
635 | 635 | channel_name = tp_handle_inspect (handle_repo, handle); |
636 | 636 | DEBUG ("grabbing channel '%s'...", channel_name); |
637 | chan = _haze_contact_list_get_channel (self, handle_type, handle, | |
637 | chan = haze_contact_list_get_channel (self, handle_type, handle, | |
638 | 638 | &created); |
639 | 639 | |
640 | 640 | if (chan) |
20 | 20 | */ |
21 | 21 | |
22 | 22 | #include <glib-object.h> |
23 | ||
24 | #include "contact-list-channel.h" | |
23 | 25 | |
24 | 26 | G_BEGIN_DECLS |
25 | 27 | |
56 | 58 | |
57 | 59 | G_END_DECLS |
58 | 60 | |
61 | HazeContactListChannel *haze_contact_list_get_channel (HazeContactList *self, | |
62 | guint handle_type, TpHandle handle, gboolean *created); | |
63 | ||
59 | 64 | #endif /* #ifndef __HAZE_CONTACT_LIST_H__*/ |
17 | 17 | * |
18 | 18 | */ |
19 | 19 | |
20 | #include <glib.h> | |
21 | ||
20 | 22 | void haze_debug_init(void); |
21 | 23 | |
22 | 24 | void haze_debug (const gchar *format, ...) |
418 | 418 | ACCOUNT_GET_HAZE_CONNECTION (account)->im_factory; |
419 | 419 | TpChannelTextMessageType type = TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL; |
420 | 420 | HazeIMChannel *chan = NULL; |
421 | char *message; | |
421 | char *line_broken, *message; | |
422 | 422 | |
423 | 423 | HazeConversationUiData *ui_data = PURPLE_CONV_GET_HAZE_UI_DATA (conv); |
424 | 424 | |
425 | message = purple_markup_strip_html (xhtml_message); | |
425 | /* Replaces newline characters with <br>, which then get turned back into | |
426 | * newlines by purple_markup_strip_html (which replaces "\n" with " ")... | |
427 | */ | |
428 | line_broken = purple_strdup_withhtml (xhtml_message); | |
429 | message = purple_markup_strip_html (line_broken); | |
430 | g_free (line_broken); | |
426 | 431 | |
427 | 432 | if (flags & PURPLE_MESSAGE_AUTO_RESP) |
428 | 433 | type = TP_CHANNEL_TEXT_MESSAGE_TYPE_AUTO_REPLY; |
266 | 266 | HazeIMChannelPrivate *priv = HAZE_IM_CHANNEL_GET_PRIVATE (self); |
267 | 267 | GError *error = NULL; |
268 | 268 | PurpleMessageFlags flags = 0; |
269 | char *message, *escaped; | |
269 | char *message, *escaped, *line_broken, *reapostrophised; | |
270 | 270 | |
271 | 271 | if (type >= NUM_TP_CHANNEL_TEXT_MESSAGE_TYPES) { |
272 | 272 | DEBUG ("invalid message type %u", type); |
289 | 289 | } |
290 | 290 | |
291 | 291 | escaped = g_markup_escape_text (message, -1); |
292 | /* avoid line breaks being swallowed! */ | |
293 | line_broken = purple_strreplace (escaped, "\n", "<br>"); | |
294 | /* This is a workaround for prpl-yahoo, which in libpurple <= 2.3.1 could | |
295 | * not deal with ' and would send it literally. | |
296 | * TODO: When we depend on new enough libpurple, remove this workaround. | |
297 | */ | |
298 | reapostrophised = purple_strreplace (line_broken, "'", "'"); | |
292 | 299 | |
293 | 300 | if (type == TP_CHANNEL_TEXT_MESSAGE_TYPE_AUTO_REPLY) { |
294 | 301 | flags |= PURPLE_MESSAGE_AUTO_RESP; |
295 | 302 | } |
296 | 303 | |
297 | purple_conv_im_send_with_flags (PURPLE_CONV_IM (priv->conv), escaped, | |
298 | flags); | |
299 | ||
304 | purple_conv_im_send_with_flags (PURPLE_CONV_IM (priv->conv), | |
305 | reapostrophised, flags); | |
306 | ||
307 | g_free (reapostrophised); | |
308 | g_free (line_broken); | |
300 | 309 | g_free (escaped); |
301 | 310 | g_free (message); |
302 | 311 | |
366 | 375 | */ |
367 | 376 | priv->handle = g_value_get_uint (value); |
368 | 377 | break; |
378 | case PROP_CHANNEL_TYPE: | |
369 | 379 | case PROP_HANDLE_TYPE: |
370 | 380 | /* this property is writable in the interface, but not actually |
371 | 381 | * meaningfully changable on this channel, so we do nothing. |
39 | 39 | #include <libpurple/util.h> |
40 | 40 | |
41 | 41 | #ifdef HAVE_PURPLE_DBUS_UNINIT |
42 | # if PURPLE_VERSION_CHECK(2,1,1) | |
43 | /* Before 2.1.1, this include failed because dbus-types.h was not installed. */ | |
44 | # include <libpurple/dbus-server.h> | |
45 | # else | |
46 | void purple_dbus_uninit(void); | |
47 | # endif | |
42 | #include <libpurple/dbus-server.h> | |
43 | #endif | |
44 | ||
45 | #if !PURPLE_VERSION_CHECK (2, 4, 0) | |
46 | extern const guint purple_major_version; | |
47 | extern const guint purple_minor_version; | |
48 | extern const guint purple_micro_version; | |
48 | 49 | #endif |
49 | 50 | |
50 | 51 | #include <telepathy-glib/run.h> |
53 | 54 | #include "defines.h" |
54 | 55 | #include "debug.h" |
55 | 56 | #include "connection-manager.h" |
57 | #include "notify.h" | |
58 | #include "request.h" | |
56 | 59 | |
57 | 60 | /* Copied verbatim from nullclient, modulo changing whitespace. */ |
58 | 61 | #define PURPLE_GLIB_READ_COND (G_IO_IN | G_IO_HUP | G_IO_ERR) |
136 | 139 | purple_accounts_set_ui_ops (haze_get_account_ui_ops ()); |
137 | 140 | purple_conversations_set_ui_ops (haze_get_conv_ui_ops ()); |
138 | 141 | purple_connections_set_ui_ops (haze_get_connection_ui_ops ()); |
142 | #ifdef ENABLE_LEAKY_REQUEST_STUBS | |
143 | purple_request_set_ui_ops (haze_request_get_ui_ops ()); | |
144 | #endif | |
145 | purple_notify_set_ui_ops (haze_notify_get_ui_ops ()); | |
139 | 146 | } |
140 | 147 | |
141 | 148 | static PurpleCoreUiOps haze_core_uiops = |
183 | 190 | purple_blist_load(); |
184 | 191 | |
185 | 192 | purple_prefs_load(); |
193 | ||
194 | DEBUG ("libpurple %d.%d.%d loaded (compiled against %d.%d.%d)", | |
195 | purple_major_version, purple_minor_version, purple_micro_version, | |
196 | PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, PURPLE_MICRO_VERSION); | |
186 | 197 | } |
187 | 198 | |
188 | 199 | static TpBaseConnectionManager * |
0 | /* | |
1 | * notify.c - stub implementation of the libpurple notify API. | |
2 | * Copyright (C) 2007 Collabora Ltd. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | * | |
18 | */ | |
19 | ||
20 | #include "notify.h" | |
21 | #include "debug.h" | |
22 | ||
23 | static const gchar * | |
24 | _account_name (PurpleConnection *gc) | |
25 | { | |
26 | return purple_account_get_username (purple_connection_get_account (gc)); | |
27 | } | |
28 | ||
29 | static const gchar * | |
30 | _stringify_notify_message_type (PurpleNotifyMsgType type) | |
31 | { | |
32 | switch (type) | |
33 | { | |
34 | case PURPLE_NOTIFY_MSG_ERROR: | |
35 | return "error"; | |
36 | case PURPLE_NOTIFY_MSG_WARNING: | |
37 | return "warning"; | |
38 | case PURPLE_NOTIFY_MSG_INFO: | |
39 | return "info"; | |
40 | default: | |
41 | return "(invalid PurpleNotifyMsgType)"; | |
42 | } | |
43 | } | |
44 | ||
45 | static gpointer | |
46 | haze_notify_message (PurpleNotifyMsgType type, | |
47 | const char *title, | |
48 | const char *primary, | |
49 | const char *secondary) | |
50 | { | |
51 | DEBUG ("%s: %s", _stringify_notify_message_type (type), title); | |
52 | DEBUG ("%s", primary); | |
53 | DEBUG ("%s", secondary); | |
54 | return NULL; | |
55 | } | |
56 | ||
57 | static gpointer | |
58 | haze_notify_email (PurpleConnection *gc, | |
59 | const char *subject, | |
60 | const char *from, | |
61 | const char *to, | |
62 | const char *url) | |
63 | { | |
64 | DEBUG ("[%s] from: %s; to: %s; subject: %s; url: %s", _account_name (gc), | |
65 | from, to, subject, url); | |
66 | return NULL; | |
67 | } | |
68 | ||
69 | static gpointer | |
70 | haze_notify_emails (PurpleConnection *gc, | |
71 | size_t count, | |
72 | gboolean detailed, | |
73 | const char **subjects, | |
74 | const char **froms, | |
75 | const char **tos, | |
76 | const char **urls) | |
77 | { | |
78 | DEBUG ("[%s] %d new emails", _account_name (gc), count); | |
79 | return NULL; | |
80 | } | |
81 | ||
82 | static gpointer | |
83 | haze_notify_formatted (const char *title, | |
84 | const char *primary, | |
85 | const char *secondary, | |
86 | const char *text) | |
87 | { | |
88 | DEBUG ("%s", title); | |
89 | DEBUG ("%s", primary); | |
90 | DEBUG ("%s", secondary); | |
91 | DEBUG ("%s", text); | |
92 | return NULL; | |
93 | } | |
94 | ||
95 | static gpointer | |
96 | haze_notify_uri (const char *uri) | |
97 | { | |
98 | DEBUG ("%s", uri); | |
99 | return NULL; | |
100 | } | |
101 | ||
102 | static gpointer | |
103 | haze_notify_userinfo (PurpleConnection *gc, | |
104 | const char *who, | |
105 | PurpleNotifyUserInfo *user_info) | |
106 | { | |
107 | DEBUG ("[%s] %s", _account_name (gc), who); | |
108 | return NULL; | |
109 | } | |
110 | ||
111 | static PurpleNotifyUiOps notify_ui_ops = | |
112 | { | |
113 | .notify_message = haze_notify_message, | |
114 | .notify_email = haze_notify_email, | |
115 | .notify_emails = haze_notify_emails, | |
116 | .notify_formatted = haze_notify_formatted, | |
117 | .notify_userinfo = haze_notify_userinfo, | |
118 | .notify_uri = haze_notify_uri, | |
119 | .notify_searchresults = NULL, | |
120 | .notify_searchresults_new_rows = NULL | |
121 | }; | |
122 | ||
123 | PurpleNotifyUiOps * | |
124 | haze_notify_get_ui_ops () | |
125 | { | |
126 | return ¬ify_ui_ops; | |
127 | } |
0 | /* | |
1 | * notify.h - headers for stub implementation of the libpurple notify API. | |
2 | * Copyright (C) 2007 Collabora Ltd. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | * | |
18 | */ | |
19 | ||
20 | #include <libpurple/notify.h> | |
21 | ||
22 | PurpleNotifyUiOps *haze_notify_get_ui_ops (void); |
0 | /* | |
1 | * request.c - stub implementation of the libpurple request API. | |
2 | * Copyright (C) 2007 Collabora Ltd. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | * | |
18 | */ | |
19 | ||
20 | #include <glib-object.h> | |
21 | ||
22 | #include <libpurple/account.h> | |
23 | #include <libpurple/conversation.h> | |
24 | ||
25 | #include "debug.h" | |
26 | #include "request.h" | |
27 | ||
28 | static gpointer | |
29 | haze_request_input (const char *title, | |
30 | const char *primary, | |
31 | const char *secondary, | |
32 | const char *default_value, | |
33 | gboolean multiline, | |
34 | gboolean masked, | |
35 | gchar *hint, | |
36 | const char *ok_text, | |
37 | GCallback ok_cb, | |
38 | const char *cancel_text, | |
39 | GCallback cancel_cb, | |
40 | PurpleAccount *account, | |
41 | const char *who, | |
42 | PurpleConversation *conv, | |
43 | void *user_data) | |
44 | { | |
45 | DEBUG ("ignoring request:"); | |
46 | DEBUG (" title: %s", (title ? title : "(null)")); | |
47 | DEBUG (" primary: %s", (primary ? primary : "(null)")); | |
48 | DEBUG (" secondary: %s", (secondary ? secondary : "(null)")); | |
49 | DEBUG (" default_value: %s", default_value ? default_value : "(null)"); | |
50 | ||
51 | return NULL; | |
52 | } | |
53 | ||
54 | static gpointer | |
55 | haze_request_choice (const char *title, | |
56 | const char *primary, | |
57 | const char *secondary, | |
58 | int default_value, | |
59 | const char *ok_text, | |
60 | GCallback ok_cb, | |
61 | const char *cancel_text, | |
62 | GCallback cancel_cb, | |
63 | PurpleAccount *account, | |
64 | const char *who, | |
65 | PurpleConversation *conv, | |
66 | void *user_data, | |
67 | va_list choices) | |
68 | { | |
69 | DEBUG ("ignoring request:"); | |
70 | DEBUG (" title: %s", (title ? title : "(null)")); | |
71 | DEBUG (" primary: %s", (primary ? primary : "(null)")); | |
72 | DEBUG (" secondary: %s", (secondary ? secondary : "(null)")); | |
73 | DEBUG (" default_value: %i", default_value); | |
74 | ||
75 | return NULL; | |
76 | } | |
77 | ||
78 | static gpointer | |
79 | haze_request_action (const char *title, | |
80 | const char *primary, | |
81 | const char *secondary, | |
82 | int default_action, | |
83 | PurpleAccount *account, | |
84 | const char *who, | |
85 | PurpleConversation *conv, | |
86 | void *user_data, | |
87 | size_t action_count, | |
88 | va_list actions) | |
89 | { | |
90 | DEBUG ("ignoring request:"); | |
91 | DEBUG (" title: %s", (title ? title : "(null)")); | |
92 | DEBUG (" primary: %s", (primary ? primary : "(null)")); | |
93 | DEBUG (" secondary: %s", (secondary ? secondary : "(null)")); | |
94 | ||
95 | return NULL; | |
96 | } | |
97 | ||
98 | static gpointer | |
99 | haze_request_fields (const char *title, | |
100 | const char *primary, | |
101 | const char *secondary, | |
102 | PurpleRequestFields *fields, | |
103 | const char *ok_text, | |
104 | GCallback ok_cb, | |
105 | const char *cancel_text, | |
106 | GCallback cancel_cb, | |
107 | PurpleAccount *account, | |
108 | const char *who, | |
109 | PurpleConversation *conv, | |
110 | void *user_data) | |
111 | { | |
112 | DEBUG ("ignoring request:"); | |
113 | DEBUG (" title: %s", (title ? title : "(null)")); | |
114 | DEBUG (" primary: %s", (primary ? primary : "(null)")); | |
115 | DEBUG (" secondary: %s", (secondary ? secondary : "(null)")); | |
116 | ||
117 | return NULL; | |
118 | } | |
119 | ||
120 | static gpointer | |
121 | haze_request_file (const char *title, | |
122 | const char *filename, | |
123 | gboolean savedialog, | |
124 | GCallback ok_cb, | |
125 | GCallback cancel_cb, | |
126 | PurpleAccount *account, | |
127 | const char *who, | |
128 | PurpleConversation *conv, | |
129 | void *user_data) | |
130 | { | |
131 | DEBUG ("ignoring request:"); | |
132 | DEBUG (" title: %s", (title ? title : "(null)")); | |
133 | DEBUG (" filename: %s", (filename ? filename : "(null)")); | |
134 | ||
135 | return NULL; | |
136 | } | |
137 | ||
138 | static gpointer | |
139 | haze_request_folder (const char *title, | |
140 | const char *dirname, | |
141 | GCallback ok_cb, | |
142 | GCallback cancel_cb, | |
143 | PurpleAccount *account, | |
144 | const char *who, | |
145 | PurpleConversation *conv, | |
146 | void *user_data) | |
147 | { | |
148 | DEBUG ("ignoring request:"); | |
149 | DEBUG (" title: %s", (title ? title : "(null)")); | |
150 | DEBUG (" dirname: %s", (dirname ? dirname : "(null)")); | |
151 | ||
152 | return NULL; | |
153 | } | |
154 | ||
155 | ||
156 | /* | |
157 | void (*close_request)(PurpleRequestType type, void *ui_handle); | |
158 | */ | |
159 | ||
160 | static PurpleRequestUiOps request_uiops = | |
161 | { | |
162 | .request_input = haze_request_input, | |
163 | .request_choice = haze_request_choice, | |
164 | .request_action = haze_request_action, | |
165 | .request_fields = haze_request_fields, | |
166 | .request_file = haze_request_file, | |
167 | .request_folder = haze_request_folder | |
168 | }; | |
169 | ||
170 | PurpleRequestUiOps * | |
171 | haze_request_get_ui_ops () | |
172 | { | |
173 | return &request_uiops; | |
174 | } |
0 | /* | |
1 | * request.h - headers for stub implementation of the libpurple request API. | |
2 | * Copyright (C) 2007 Collabora Ltd. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | * | |
18 | */ | |
19 | ||
20 | #include <libpurple/request.h> | |
21 | ||
22 | PurpleRequestUiOps *haze_request_get_ui_ops (void); |