Codebase list telepathy-rakia / 8b206c9
Imported Upstream version 0.6.3 Sjoerd Simons 13 years ago
26 changed file(s) with 1186 addition(s) and 1444 deletion(s). Raw diff Collapse all Expand all
0 commit c73241b638c3eaf99b6200d1ac7115d4107e772a
1 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
2 Date: Mon Jun 21 16:25:51 2010 +0300
3
4 Version 0.6.3
5
6 NEWS | 13 +++++++++++++
7 configure.ac | 4 ++--
8 2 files changed, 15 insertions(+), 2 deletions(-)
9
10 commit 7178aadaf444870c07f0cf07987f994d3b00d76f
11 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
12 Date: Mon Jun 21 16:10:31 2010 +0300
13
14 Fixed a walk-off-the-end crash in debug support code
15
16 src/debug.c | 2 +-
17 1 files changed, 1 insertions(+), 1 deletions(-)
18
19 commit 6ba1c2861ef095edf8cac3e6d9e0954d1a2e7417
20 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
21 Date: Thu Apr 1 19:41:14 2010 +0300
22
23 Disable shared library building for libtool
24
25 The PIC-ified objects were not used anyway, and only wasted compilation time.
26
27 configure.ac | 4 +++-
28 1 files changed, 3 insertions(+), 1 deletions(-)
29
30 commit 5b689a12e02ae6f14a57c6eba6454a368efd5edc
31 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
32 Date: Sun Jun 20 20:54:10 2010 +0100
33
34 Save the pending flags that got applied, so we can apply them..
35
36 src/sip-media-stream.c | 12 ++++++++----
37 1 files changed, 8 insertions(+), 4 deletions(-)
38
39 commit d88ee28524ae9bf3b751d6005584fda92a391e30
40 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
41 Date: Thu Apr 1 19:07:52 2010 +0300
42
43 Don't remove the local pending send flag when holding the call
44
45 src/sip-media-session.c | 5 +++--
46 1 files changed, 3 insertions(+), 2 deletions(-)
47
48 commit c300e733d5d187f61bc36f2ffe2cbad46042b1b6
49 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
50 Date: Mon Mar 29 20:40:17 2010 +0300
51
52 Make TPSIP_PERSIST environment variable work regardless of ENABLE_DEBUG
53
54 The --enable-debug configure option, and the ENABLE_DEBUG macro, should
55 control debug logging and its possible overhead; there is no penalty
56 in making the persistent mode work independently of the debug switch.
57
58 src/telepathy-sofiasip.c | 2 +-
59 1 files changed, 1 insertions(+), 1 deletions(-)
60
61 commit 3ca48325c45bec7d91a2079a962e41b406d4f110
62 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
63 Date: Mon Mar 29 20:37:31 2010 +0300
64
65 Made Sofia logging handler a no-op when ENABLE_DEBUG is not defined
66
67 This unfails compilation with --disable-debug configure flag.
68
69 src/telepathy-sofiasip.c | 8 ++++++++
70 1 files changed, 8 insertions(+), 0 deletions(-)
71
72 commit 2097ae23976c9aa932b28ba9e798aa77395e9e94
73 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
74 Date: Wed Mar 17 17:46:24 2010 +0200
75
76 Start development for 0.6.3
77
78 configure.ac | 2 +-
79 1 files changed, 1 insertions(+), 1 deletions(-)
80
081 commit 2bebcc2e3a8933fa051c33c7227833abd5d0898f
182 Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
283 Date: Wed Mar 17 16:49:24 2010 +0200
33 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
44 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
55
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
6 Copying and distribution of this file, with or without modification,
7 are permitted in any medium without royalty provided the copyright
8 notice and this notice are preserved. This file is offered as-is,
9 without warranty of any kind.
810
911 Basic Installation
1012 ==================
1214 Briefly, the shell commands `./configure; make; make install' should
1315 configure, build, and install this package. The following
1416 more-detailed instructions are generic; see the `README' file for
15 instructions specific to this package.
17 instructions specific to this package. Some packages provide this
18 `INSTALL' file but do not implement all of the features documented
19 below. The lack of an optional feature in a given package is not
20 necessarily a bug. More recommendations for GNU packages can be found
21 in *note Makefile Conventions: (standards)Makefile Conventions.
1622
1723 The `configure' shell script attempts to guess correct values for
1824 various system-dependent variables used during compilation. It uses
4147 you want to change it or regenerate `configure' using a newer version
4248 of `autoconf'.
4349
44 The simplest way to compile this package is:
50 The simplest way to compile this package is:
4551
4652 1. `cd' to the directory containing the package's source code and type
4753 `./configure' to configure the package for your system.
5258 2. Type `make' to compile the package.
5359
5460 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
61 the package, generally using the just-built uninstalled binaries.
5662
5763 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
64 documentation. When installing into a prefix owned by root, it is
65 recommended that the package be configured and built as a regular
66 user, and only the `make install' phase executed with root
67 privileges.
68
69 5. Optionally, type `make installcheck' to repeat any self-tests, but
70 this time using the binaries in their final installed location.
71 This target does not install anything. Running this target as a
72 regular user, particularly if the prior `make install' required
73 root privileges, verifies that the installation completed
74 correctly.
75
76 6. You can remove the program binaries and object files from the
6177 source code directory by typing `make clean'. To also remove the
6278 files that `configure' created (so you can compile the package for
6379 a different kind of computer), type `make distclean'. There is
6682 all sorts of other programs in order to regenerate files that came
6783 with the distribution.
6884
69 6. Often, you can also type `make uninstall' to remove the installed
70 files again.
85 7. Often, you can also type `make uninstall' to remove the installed
86 files again. In practice, not all packages have tested that
87 uninstallation works correctly, even though it is required by the
88 GNU Coding Standards.
89
90 8. Some packages, particularly those that use Automake, provide `make
91 distcheck', which can by used by developers to test that all other
92 targets like `make install' and `make uninstall' work correctly.
93 This target is generally not run by end users.
7194
7295 Compilers and Options
7396 =====================
92115 own directory. To do this, you can use GNU `make'. `cd' to the
93116 directory where you want the object files and executables to go and run
94117 the `configure' script. `configure' automatically checks for the
95 source code in the directory that `configure' is in and in `..'.
118 source code in the directory that `configure' is in and in `..'. This
119 is known as a "VPATH" build.
96120
97121 With a non-GNU `make', it is safer to compile the package for one
98122 architecture at a time in the source code directory. After you have
119143 By default, `make install' installs the package's commands under
120144 `/usr/local/bin', include files under `/usr/local/include', etc. You
121145 can specify an installation prefix other than `/usr/local' by giving
122 `configure' the option `--prefix=PREFIX'.
146 `configure' the option `--prefix=PREFIX', where PREFIX must be an
147 absolute file name.
123148
124149 You can specify separate installation prefixes for
125150 architecture-specific files and architecture-independent files. If you
130155 In addition, if you use an unusual directory layout you can give
131156 options like `--bindir=DIR' to specify different values for particular
132157 kinds of files. Run `configure --help' for a list of the directories
133 you can set and what kinds of files go in them.
158 you can set and what kinds of files go in them. In general, the
159 default for these options is expressed in terms of `${prefix}', so that
160 specifying just `--prefix' will affect all of the other directory
161 specifications that were not explicitly provided.
162
163 The most portable way to affect installation locations is to pass the
164 correct locations to `configure'; however, many packages provide one or
165 both of the following shortcuts of passing variable assignments to the
166 `make install' command line to change installation locations without
167 having to reconfigure or recompile.
168
169 The first method involves providing an override variable for each
170 affected directory. For example, `make install
171 prefix=/alternate/directory' will choose an alternate location for all
172 directory configuration variables that were expressed in terms of
173 `${prefix}'. Any directories that were specified during `configure',
174 but not in terms of `${prefix}', must each be overridden at install
175 time for the entire installation to be relocated. The approach of
176 makefile variable overrides for each directory variable is required by
177 the GNU Coding Standards, and ideally causes no recompilation.
178 However, some platforms have known limitations with the semantics of
179 shared libraries that end up requiring recompilation when using this
180 method, particularly noticeable in packages that use GNU Libtool.
181
182 The second method involves providing the `DESTDIR' variable. For
183 example, `make install DESTDIR=/alternate/directory' will prepend
184 `/alternate/directory' before all installation names. The approach of
185 `DESTDIR' overrides is not required by the GNU Coding Standards, and
186 does not work on platforms that have drive letters. On the other hand,
187 it does better at avoiding recompilation issues, and works well even
188 when some directory options were not specified in terms of `${prefix}'
189 at `configure' time.
190
191 Optional Features
192 =================
134193
135194 If the package supports it, you can cause programs to be installed
136195 with an extra prefix or suffix on their names by giving `configure' the
137196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
138
139 Optional Features
140 =================
141197
142198 Some packages pay attention to `--enable-FEATURE' options to
143199 `configure', where FEATURE indicates an optional part of the package.
150206 find the X include and library files automatically, but if it doesn't,
151207 you can use the `configure' options `--x-includes=DIR' and
152208 `--x-libraries=DIR' to specify their locations.
209
210 Some packages offer the ability to configure how verbose the
211 execution of `make' will be. For these packages, running `./configure
212 --enable-silent-rules' sets the default to minimal output, which can be
213 overridden with `make V=1'; while running `./configure
214 --disable-silent-rules' sets the default to verbose, which can be
215 overridden with `make V=0'.
153216
154217 Particular systems
155218 ==================
287350 `configure' can determine that directory automatically.
288351
289352 `--prefix=DIR'
290 Use DIR as the installation prefix. *Note Installation Names::
353 Use DIR as the installation prefix. *note Installation Names::
291354 for more details, including other options available for fine-tuning
292355 the installation locations.
293356
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
154154 GLIB_LIBS = @GLIB_LIBS@
155155 GREP = @GREP@
156156 GTKDOC_CHECK = @GTKDOC_CHECK@
157 GTKDOC_MKPDF = @GTKDOC_MKPDF@
158 GTKDOC_REBASE = @GTKDOC_REBASE@
157159 HTML_DIR = @HTML_DIR@
158160 INSTALL = @INSTALL@
159161 INSTALL_DATA = @INSTALL_DATA@
353355 # (which will cause the Makefiles to be regenerated when you run `make');
354356 # (2) otherwise, pass the desired values on the `make' command line.
355357 $(RECURSIVE_TARGETS):
356 @failcom='exit 1'; \
358 @fail= failcom='exit 1'; \
357359 for f in x $$MAKEFLAGS; do \
358360 case $$f in \
359361 *=* | --[!k]*);; \
378380 fi; test -z "$$fail"
379381
380382 $(RECURSIVE_CLEAN_TARGETS):
381 @failcom='exit 1'; \
383 @fail= failcom='exit 1'; \
382384 for f in x $$MAKEFLAGS; do \
383385 case $$f in \
384386 *=* | --[!k]*);; \
545547 top_distdir="$(top_distdir)" distdir="$(distdir)" \
546548 dist-hook
547549 -test -n "$(am__skip_mode_fix)" \
548 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
550 || find "$(distdir)" -type d ! -perm -755 \
551 -exec chmod u+rwx,go+rx {} \; -o \
549552 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
550553 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
551554 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
589592 distcheck: dist
590593 case '$(DIST_ARCHIVES)' in \
591594 *.tar.gz*) \
592 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
595 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
593596 *.tar.bz2*) \
594 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
597 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
595598 *.tar.lzma*) \
596 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
599 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
597600 *.tar.xz*) \
598601 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
599602 *.tar.Z*) \
600603 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
601604 *.shar.gz*) \
602 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
605 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
603606 *.zip*) \
604607 unzip $(distdir).zip ;;\
605608 esac
55 recent at the top).
66
77 See also ChangeLog.
8
9 Changes in release 0.6.3 (2010-06-21)
10 -------------------------------------
11
12 The "my attorney suggests I do this" release.
13
14 - Disable Sofia logging on --disable-debug configure flag.
15 - Made the effect of environment variable TPSIP_PERSIST independent of
16 the debug build flag.
17 - Prevent removal of local pending send by holding the call.
18 - Fix the application of local pending send flag in an incoming call.
19 - Fixed a walk-off-the-end crash in the debug support code.
20 - Not building useless PIC object files any more.
821
922 Changes in release 0.6.2 (2010-03-17)
1023 -------------------------------------
0 # generated automatically by aclocal 1.11 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
33 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
16 [m4_warning([this file was generated for autoconf 2.64.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2828 [
2929 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
3030 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
31
32 dnl check for tools we added during development
33 AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
34 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
35 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
36
3137 dnl for overriding the documentation installation directory
3238 AC_ARG_WITH([html-dir],
3339 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
4652 [PKG_CHECK_EXISTS([gtk-doc],,
4753 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
4854 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
49 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])
55 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
5056 fi
5157
5258 AC_MSG_CHECKING([whether to build gtk-doc documentation])
5359 AC_MSG_RESULT($enable_gtk_doc)
5460
55 AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)
61 dnl enable/disable output formats
62 AC_ARG_ENABLE([gtk-doc-html],
63 AS_HELP_STRING([--enable-gtk-doc-html],
64 [build documentation in html format [[default=yes]]]),,
65 [enable_gtk_doc_html=yes])
66 AC_ARG_ENABLE([gtk-doc-pdf],
67 AS_HELP_STRING([--enable-gtk-doc-pdf],
68 [build documentation in pdf format [[default=no]]]),,
69 [enable_gtk_doc_pdf=no])
70
71 if test -z "$GTKDOC_MKPDF"; then
72 enable_gtk_doc_pdf=no
73 fi
74
5675
5776 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
77 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
78 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
5879 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
80 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
5981 ])
6082
6183 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
231253 [am__api_version='1.11'
232254 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
233255 dnl require some minimum version. Point them to the right macro.
234 m4_if([$1], [1.11], [],
256 m4_if([$1], [1.11.1], [],
235257 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
236258 ])
237259
247269 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
248270 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
249271 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
250 [AM_AUTOMAKE_VERSION([1.11])dnl
272 [AM_AUTOMAKE_VERSION([1.11.1])dnl
251273 m4_ifndef([AC_AUTOCONF_VERSION],
252274 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
253275 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
10631085 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
10641086 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
10651087 ;;
1088 *)
1089 case $am_py_prefix in
1090 /usr|/System*) ;;
1091 *)
1092 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
1093 ;;
1094 esac
1095 ;;
10661096 esac
10671097 ])
10681098 AC_SUBST([pythondir], [$am_cv_python_pythondir])
10921122 $am_py_exec_prefix*)
10931123 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
10941124 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
1125 ;;
1126 *)
1127 case $am_py_exec_prefix in
1128 /usr|/System*) ;;
1129 *)
1130 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
1131 ;;
1132 esac
10951133 ;;
10961134 esac
10971135 ])
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
44 # Free Software Foundation, Inc.
55
6 timestamp='2009-04-27'
6 timestamp='2009-06-10'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
169169 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
170170 eval $set_cc_for_build
171171 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
172 | grep __ELF__ >/dev/null
172 | grep -q __ELF__
173173 then
174174 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
175175 # Return netbsd for either. FIX?
655655 # => hppa64-hp-hpux11.23
656656
657657 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
658 grep __LP64__ >/dev/null
658 grep -q __LP64__
659659 then
660660 HP_ARCH="hppa2.0w"
661661 else
821821 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
822822 echo i${UNAME_MACHINE}-pc-mks
823823 exit ;;
824 8664:Windows_NT:*)
825 echo x86_64-pc-mks
826 exit ;;
824827 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
825828 # How do we know it's Interix rather than the generic POSIX subsystem?
826829 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
881884 m68*:Linux:*:*)
882885 echo ${UNAME_MACHINE}-unknown-linux-gnu
883886 exit ;;
884 mips:Linux:*:*)
887 mips:Linux:*:* | mips64:Linux:*:*)
885888 eval $set_cc_for_build
886889 sed 's/^ //' << EOF >$dummy.c
887890 #undef CPU
888 #undef mips
889 #undef mipsel
891 #undef ${UNAME_MACHINE}
892 #undef ${UNAME_MACHINE}el
890893 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
891 CPU=mipsel
894 CPU=${UNAME_MACHINE}el
892895 #else
893896 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
894 CPU=mips
895 #else
896 CPU=
897 #endif
898 #endif
899 EOF
900 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
901 /^CPU/{
902 s: ::g
903 p
904 }'`"
905 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
906 ;;
907 mips64:Linux:*:*)
908 eval $set_cc_for_build
909 sed 's/^ //' << EOF >$dummy.c
910 #undef CPU
911 #undef mips64
912 #undef mips64el
913 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
914 CPU=mips64el
915 #else
916 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
917 CPU=mips64
897 CPU=${UNAME_MACHINE}
918898 #else
919899 CPU=
920900 #endif
946926 EV67) UNAME_MACHINE=alphaev67 ;;
947927 EV68*) UNAME_MACHINE=alphaev68 ;;
948928 esac
949 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
929 objdump --private-headers /bin/sh | grep -q ld.so.1
950930 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
951931 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
952932 exit ;;
1000980 elf32-i386)
1001981 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
1002982 ;;
1003 a.out-i386-linux)
1004 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
1005 exit ;;
1006 "")
1007 # Either a pre-BFD a.out linker (linux-gnuoldld) or
1008 # one that does not give us useful --help.
1009 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
1010 exit ;;
1011983 esac
1012984 # Determine whether the default compiler is a.out or elf
1013985 eval $set_cc_for_build
10731045 i*86:syllable:*:*)
10741046 echo ${UNAME_MACHINE}-pc-syllable
10751047 exit ;;
1076 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1048 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
10771049 echo i386-unknown-lynxos${UNAME_RELEASE}
10781050 exit ;;
10791051 i*86:*DOS:*:*)
11811153 rs6000:LynxOS:2.*:*)
11821154 echo rs6000-unknown-lynxos${UNAME_RELEASE}
11831155 exit ;;
1184 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1156 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
11851157 echo powerpc-unknown-lynxos${UNAME_RELEASE}
11861158 exit ;;
11871159 SM[BE]S:UNIX_SV:*:*)
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
44 # Free Software Foundation, Inc.
55
6 timestamp='2009-04-17'
6 timestamp='2009-06-11'
77
88 # This file is (in principle) common to ALL GNU software.
99 # The presence of a machine in this file suggests that SOME GNU software
151151 -apple | -axis | -knuth | -cray)
152152 os=
153153 basic_machine=$1
154 ;;
155 -bluegene*)
156 os=-cnk
154157 ;;
155158 -sim | -cisco | -oki | -wec | -winbond)
156159 os=
466469 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
467470 os=-linux
468471 ;;
472 bluegene*)
473 basic_machine=powerpc-ibm
474 os=-cnk
475 ;;
469476 c90)
470477 basic_machine=c90-cray
471478 os=-unicos
12591266 # Each alternative MUST END IN A *, to match a version number.
12601267 # -sysv* is not here because it comes later, after sysvr4.
12611268 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1262 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1269 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
12631270 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
12641271 | -kopensolaris* \
12651272 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
16121619 -sunos*)
16131620 vendor=sun
16141621 ;;
1615 -aix*)
1622 -cnk*|-aix*)
16161623 vendor=ibm
16171624 ;;
16181625 -beos*)
+854
-1325
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.64 for telepathy-sofiasip 0.6.2.
2 # Generated by GNU Autoconf 2.65 for telepathy-sofiasip 0.6.3.
3 #
34 #
45 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
6 # Foundation, Inc.
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # Inc.
8 #
79 #
810 # This configure script is free software; the Free Software Foundation
911 # gives unlimited permission to copy, distribute and modify it.
672674
673675
674676
675 exec 7<&0 </dev/null 6>&1
677 test -n "$DJDIR" || exec 7<&0 </dev/null
678 exec 6>&1
676679
677680 # Name of the host.
678681 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
694697 # Identity of this package.
695698 PACKAGE_NAME='telepathy-sofiasip'
696699 PACKAGE_TARNAME='telepathy-sofiasip'
697 PACKAGE_VERSION='0.6.2'
698 PACKAGE_STRING='telepathy-sofiasip 0.6.2'
700 PACKAGE_VERSION='0.6.3'
701 PACKAGE_STRING='telepathy-sofiasip 0.6.3'
699702 PACKAGE_BUGREPORT=''
700703 PACKAGE_URL=''
701704
763766 GLIB_GENMARSHAL
764767 GLIB_LIBS
765768 GLIB_CFLAGS
769 GTK_DOC_USE_REBASE_FALSE
770 GTK_DOC_USE_REBASE_TRUE
766771 GTK_DOC_USE_LIBTOOL_FALSE
767772 GTK_DOC_USE_LIBTOOL_TRUE
773 GTK_DOC_BUILD_PDF_FALSE
774 GTK_DOC_BUILD_PDF_TRUE
775 GTK_DOC_BUILD_HTML_FALSE
776 GTK_DOC_BUILD_HTML_TRUE
768777 ENABLE_GTK_DOC_FALSE
769778 ENABLE_GTK_DOC_TRUE
770 GTKDOC_CHECK
771779 PKG_CONFIG
772780 HTML_DIR
781 GTKDOC_MKPDF
782 GTKDOC_REBASE
783 GTKDOC_CHECK
773784 ERROR_CFLAGS
774785 CPP
775786 OTOOL64
790801 EGREP
791802 GREP
792803 SED
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 LIBTOOL
793813 am__fastdepCC_FALSE
794814 am__fastdepCC_TRUE
795815 CCDEPMODE
806826 LDFLAGS
807827 CFLAGS
808828 CC
809 host_os
810 host_vendor
811 host_cpu
812 host
813 build_os
814 build_vendor
815 build_cpu
816 build
817 LIBTOOL
818829 AM_BACKSLASH
819830 AM_DEFAULT_VERBOSITY
820831 am__untar
889900 enable_option_checking
890901 enable_silent_rules
891902 enable_shared
903 enable_dependency_tracking
892904 enable_static
893905 with_pic
894906 enable_fast_install
895 enable_dependency_tracking
896907 with_gnu_ld
897908 enable_libtool_lock
898909 enable_compiler_optimisations
900911 enable_debug
901912 with_html_dir
902913 enable_gtk_doc
914 enable_gtk_doc_html
915 enable_gtk_doc_pdf
903916 with_iphb
904917 '
905918 ac_precious_vars='build_alias
14611474 # Omit some internal or obsolete options to make the list less imposing.
14621475 # This message is too long to be a string in the A/UX 3.1 sh.
14631476 cat <<_ACEOF
1464 \`configure' configures telepathy-sofiasip 0.6.2 to adapt to many kinds of systems.
1477 \`configure' configures telepathy-sofiasip 0.6.3 to adapt to many kinds of systems.
14651478
14661479 Usage: $0 [OPTION]... [VAR=VALUE]...
14671480
15321545
15331546 if test -n "$ac_init_help"; then
15341547 case $ac_init_help in
1535 short | recursive ) echo "Configuration of telepathy-sofiasip 0.6.2:";;
1548 short | recursive ) echo "Configuration of telepathy-sofiasip 0.6.3:";;
15361549 esac
15371550 cat <<\_ACEOF
15381551
15421555 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
15431556 --enable-silent-rules less verbose build output (undo: `make V=1')
15441557 --disable-silent-rules verbose build output (undo: `make V=0')
1545 --enable-shared[=PKGS] build shared libraries [default=yes]
1558 --enable-shared[=PKGS] build shared libraries [default=no]
1559 --disable-dependency-tracking speeds up one-time build
1560 --enable-dependency-tracking do not reject slow dependency extractors
15461561 --enable-static[=PKGS] build static libraries [default=yes]
15471562 --enable-fast-install[=PKGS]
15481563 optimize for fast installation [default=yes]
1549 --disable-dependency-tracking speeds up one-time build
1550 --enable-dependency-tracking do not reject slow dependency extractors
15511564 --disable-libtool-lock avoid locking (might break parallel builds)
15521565 --disable-compiler-optimisations
15531566 Disable compiler optimisations
15541567 --enable-compiler-coverage
15551568 Enable generation of coverage data
15561569 --disable-debug omit debug code
1557 --enable-gtk-doc use gtk-doc to build documentation [default=no]
1570 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1571 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1572 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
15581573
15591574 Optional Packages:
15601575 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
15711586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
15721587 nonstandard directory <lib dir>
15731588 LIBS libraries to pass to the linker, e.g. -l<library>
1574 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1589 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
15751590 you have headers in a nonstandard directory <include dir>
15761591 CPP C preprocessor
15771592 PKG_CONFIG path to pkg-config utility
16541669 test -n "$ac_init_help" && exit $ac_status
16551670 if $ac_init_version; then
16561671 cat <<\_ACEOF
1657 telepathy-sofiasip configure 0.6.2
1658 generated by GNU Autoconf 2.64
1672 telepathy-sofiasip configure 0.6.3
1673 generated by GNU Autoconf 2.65
16591674
16601675 Copyright (C) 2009 Free Software Foundation, Inc.
16611676 This configure script is free software; the Free Software Foundation
17021717 ac_retval=1
17031718 fi
17041719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705 return $ac_retval
1720 as_fn_set_status $ac_retval
17061721
17071722 } # ac_fn_c_try_compile
17081723
17481763 # left behind by Apple's compiler. We do this before executing the actions.
17491764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
17501765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1751 return $ac_retval
1766 as_fn_set_status $ac_retval
17521767
17531768 } # ac_fn_c_try_link
17541769
18161831 ac_retval=1
18171832 fi
18181833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819 return $ac_retval
1834 as_fn_set_status $ac_retval
18201835
18211836 } # ac_fn_c_try_cpp
18221837
18581873 fi
18591874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
18601875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 return $ac_retval
1876 as_fn_set_status $ac_retval
18621877
18631878 } # ac_fn_c_try_run
18641879
19321947 This file contains any messages produced by compilers while
19331948 running configure, to aid debugging if configure makes a mistake.
19341949
1935 It was created by telepathy-sofiasip $as_me 0.6.2, which was
1936 generated by GNU Autoconf 2.64. Invocation command line was
1950 It was created by telepathy-sofiasip $as_me 0.6.3, which was
1951 generated by GNU Autoconf 2.65. Invocation command line was
19371952
19381953 $ $0 $@
19391954
21862201 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
21872202 do
21882203 test "x$ac_site_file" = xNONE && continue
2189 if test -r "$ac_site_file"; then
2204 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
21902205 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
21912206 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
21922207 sed 's/^/| /' "$ac_site_file" >&5
21952210 done
21962211
21972212 if test -r "$cache_file"; then
2198 # Some versions of bash will fail to source /dev/null (special
2199 # files actually), so we avoid doing that.
2200 if test -f "$cache_file"; then
2213 # Some versions of bash will fail to source /dev/null (special files
2214 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2215 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
22012216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
22022217 $as_echo "$as_me: loading cache $cache_file" >&6;}
22032218 case $cache_file in
22852300 PACKAGE=telepathy-sofiasip
22862301 TELEPATHY_SIP_VERSION_MAJOR=0
22872302 TELEPATHY_SIP_VERSION_MINOR=6
2288 TELEPATHY_SIP_VERSION_MICRO=2
2303 TELEPATHY_SIP_VERSION_MICRO=3
22892304 NANO=0
22902305 TELEPATHY_SIP_VERSION_NANO=$NANO
22912306 if test "x$NANO" = "x" || test "x$NANO" = "x0";
22922307 then
22932308 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring telepathy-sofiasip for release" >&5
22942309 $as_echo "$as_me: configuring telepathy-sofiasip for release" >&6;}
2295 VERSION=0.6.2
2310 VERSION=0.6.3
22962311 TELEPATHY_SIP_VERSION_RELEASE=1
22972312 WERROR="no"
22982313 else
22992314 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring telepathy-sofiasip for development with nano $NANO" >&5
23002315 $as_echo "$as_me: configuring telepathy-sofiasip for development with nano $NANO" >&6;}
2301 VERSION=0.6.2.$NANO
2316 VERSION=0.6.3.$NANO
23022317 TELEPATHY_SIP_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
23032318 WERROR="yes"
23042319 fi
26722687
26732688 fi
26742689
2690 test -d ./--version && rmdir ./--version
26752691 if test "${ac_cv_path_mkdir+set}" = set; then
26762692 MKDIR_P="$ac_cv_path_mkdir -p"
26772693 else
26792695 # value for MKDIR_P within a source directory, because that will
26802696 # break other packages using the cache if that directory is
26812697 # removed, or if the value is a relative name.
2682 test -d ./--version && rmdir ./--version
26832698 MKDIR_P="$ac_install_sh -d"
26842699 fi
26852700 fi
27962811
27972812 # Define the identity of the package.
27982813 PACKAGE='telepathy-sofiasip'
2799 VERSION='0.6.2'
2814 VERSION='0.6.3'
28002815
28012816
28022817 cat >>confdefs.h <<_ACEOF
28492864 AM_BACKSLASH='\'
28502865
28512866
2852 case `pwd` in
2853 *\ * | *\ *)
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2855 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2856 esac
2857
2858
2859
2860 macro_version='2.2.6'
2861 macro_revision='1.3012'
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875 ltmain="$ac_aux_dir/ltmain.sh"
2876
2877 # Make sure we can run config.sub.
2878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2879 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2880
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2882 $as_echo_n "checking build system type... " >&6; }
2883 if test "${ac_cv_build+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2885 else
2886 ac_build_alias=$build_alias
2887 test "x$ac_build_alias" = x &&
2888 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2889 test "x$ac_build_alias" = x &&
2890 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2891 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2892 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2893
2894 fi
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2896 $as_echo "$ac_cv_build" >&6; }
2897 case $ac_cv_build in
2898 *-*-*) ;;
2899 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2900 esac
2901 build=$ac_cv_build
2902 ac_save_IFS=$IFS; IFS='-'
2903 set x $ac_cv_build
2904 shift
2905 build_cpu=$1
2906 build_vendor=$2
2907 shift; shift
2908 # Remember, the first character of IFS is used to create $*,
2909 # except with old shells:
2910 build_os=$*
2911 IFS=$ac_save_IFS
2912 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2913
2914
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2916 $as_echo_n "checking host system type... " >&6; }
2917 if test "${ac_cv_host+set}" = set; then :
2918 $as_echo_n "(cached) " >&6
2919 else
2920 if test "x$host_alias" = x; then
2921 ac_cv_host=$ac_cv_build
2922 else
2923 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2924 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2925 fi
2926
2927 fi
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2929 $as_echo "$ac_cv_host" >&6; }
2930 case $ac_cv_host in
2931 *-*-*) ;;
2932 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2933 esac
2934 host=$ac_cv_host
2935 ac_save_IFS=$IFS; IFS='-'
2936 set x $ac_cv_host
2937 shift
2938 host_cpu=$1
2939 host_vendor=$2
2940 shift; shift
2941 # Remember, the first character of IFS is used to create $*,
2942 # except with old shells:
2943 host_os=$*
2944 IFS=$ac_save_IFS
2945 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2946
2947
2948 DEPDIR="${am__leading_dot}deps"
2949
2950 ac_config_commands="$ac_config_commands depfiles"
2951
2952
2953 am_make=${MAKE-make}
2954 cat > confinc << 'END'
2955 am__doit:
2956 @echo this is the am__doit target
2957 .PHONY: am__doit
2958 END
2959 # If we don't find an include directive, just comment out the code.
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2961 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2962 am__include="#"
2963 am__quote=
2964 _am_result=none
2965 # First try GNU make style include.
2966 echo "include confinc" > confmf
2967 # Ignore all kinds of additional output from `make'.
2968 case `$am_make -s -f confmf 2> /dev/null` in #(
2969 *the\ am__doit\ target*)
2970 am__include=include
2971 am__quote=
2972 _am_result=GNU
2973 ;;
2974 esac
2975 # Now try BSD make style include.
2976 if test "$am__include" = "#"; then
2977 echo '.include "confinc"' > confmf
2978 case `$am_make -s -f confmf 2> /dev/null` in #(
2979 *the\ am__doit\ target*)
2980 am__include=.include
2981 am__quote="\""
2982 _am_result=BSD
2983 ;;
2984 esac
2985 fi
2986
2987
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2989 $as_echo "$_am_result" >&6; }
2990 rm -f confinc confmf
2991
2992 # Check whether --enable-dependency-tracking was given.
2993 if test "${enable_dependency_tracking+set}" = set; then :
2994 enableval=$enable_dependency_tracking;
2995 fi
2996
2997 if test "x$enable_dependency_tracking" != xno; then
2998 am_depcomp="$ac_aux_dir/depcomp"
2999 AMDEPBACKSLASH='\'
3000 fi
3001 if test "x$enable_dependency_tracking" != xno; then
3002 AMDEP_TRUE=
3003 AMDEP_FALSE='#'
3004 else
3005 AMDEP_TRUE='#'
3006 AMDEP_FALSE=
3007 fi
2867 # Check whether --enable-shared was given.
2868 if test "${enable_shared+set}" = set; then :
2869 enableval=$enable_shared; p=${PACKAGE-default}
2870 case $enableval in
2871 yes) enable_shared=yes ;;
2872 no) enable_shared=no ;;
2873 *)
2874 enable_shared=no
2875 # Look at the argument we got. We use all the common list separators.
2876 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2877 for pkg in $enableval; do
2878 IFS="$lt_save_ifs"
2879 if test "X$pkg" = "X$p"; then
2880 enable_shared=yes
2881 fi
2882 done
2883 IFS="$lt_save_ifs"
2884 ;;
2885 esac
2886 else
2887 enable_shared=no
2888 fi
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899 ac_config_headers="$ac_config_headers config.h"
30082900
30092901
30102902 ac_ext=c
33293221 ... rest of stderr output deleted ...
33303222 10q' conftest.err >conftest.er1
33313223 cat conftest.er1 >&5
3332 rm -f conftest.er1 conftest.err
33333224 fi
3225 rm -f conftest.er1 conftest.err
33343226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33353227 test $ac_status = 0; }
33363228 done
33373229
33383230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393231 /* end confdefs.h. */
3340 #include <stdio.h>
3232
33413233 int
33423234 main ()
33433235 {
3344 FILE *f = fopen ("conftest.out", "w");
3345 return ferror (f) || fclose (f) != 0;
33463236
33473237 ;
33483238 return 0;
33493239 }
33503240 _ACEOF
33513241 ac_clean_files_save=$ac_clean_files
3352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3242 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
33533243 # Try to create an executable without -o first, disregard a.out.
33543244 # It will help us diagnose broken compilers, and finding out an intuition
33553245 # of exeext.
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3357 $as_echo_n "checking for C compiler default output file name... " >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3247 $as_echo_n "checking whether the C compiler works... " >&6; }
33583248 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
33593249
33603250 # The possible output files:
34163306 else
34173307 ac_file=''
34183308 fi
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3420 $as_echo "$ac_file" >&6; }
34213309 if test -z "$ac_file"; then :
3422 $as_echo "$as_me: failed program was:" >&5
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 $as_echo "$as_me: failed program was:" >&5
34233313 sed 's/^/| /' conftest.$ac_ext >&5
34243314
34253315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34273317 { as_fn_set_status 77
34283318 as_fn_error "C compiler cannot create executables
34293319 See \`config.log' for more details." "$LINENO" 5; }; }
3430 fi
3320 else
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3322 $as_echo "yes" >&6; }
3323 fi
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3325 $as_echo_n "checking for C compiler default output file name... " >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3327 $as_echo "$ac_file" >&6; }
34313328 ac_exeext=$ac_cv_exeext
34323329
3433 # Check that the compiler produces executables we can run. If not, either
3434 # the compiler is broken, or we cross compile.
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3436 $as_echo_n "checking whether the C compiler works... " >&6; }
3437 # If not cross compiling, check that we can run a simple program.
3438 if test "$cross_compiling" != yes; then
3439 if { ac_try='./$ac_file'
3440 { { case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443 esac
3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445 $as_echo "$ac_try_echo"; } >&5
3446 (eval "$ac_try") 2>&5
3447 ac_status=$?
3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449 test $ac_status = 0; }; }; then
3450 cross_compiling=no
3451 else
3452 if test "$cross_compiling" = maybe; then
3453 cross_compiling=yes
3454 else
3455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 as_fn_error "cannot run C compiled programs.
3458 If you meant to cross compile, use \`--host'.
3459 See \`config.log' for more details." "$LINENO" 5; }
3460 fi
3461 fi
3462 fi
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3464 $as_echo "yes" >&6; }
3465
3466 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3330 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
34673331 ac_clean_files=$ac_clean_files_save
3468 # Check that the compiler produces executables we can run. If not, either
3469 # the compiler is broken, or we cross compile.
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3471 $as_echo_n "checking whether we are cross compiling... " >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3473 $as_echo "$cross_compiling" >&6; }
3474
34753332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
34763333 $as_echo_n "checking for suffix of executables... " >&6; }
34773334 if { { ac_try="$ac_link"
35043361 as_fn_error "cannot compute suffix of executables: cannot compile and link
35053362 See \`config.log' for more details." "$LINENO" 5; }
35063363 fi
3507 rm -f conftest$ac_cv_exeext
3364 rm -f conftest conftest$ac_cv_exeext
35083365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
35093366 $as_echo "$ac_cv_exeext" >&6; }
35103367
35113368 rm -f conftest.$ac_ext
35123369 EXEEXT=$ac_cv_exeext
35133370 ac_exeext=$EXEEXT
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3373 #include <stdio.h>
3374 int
3375 main ()
3376 {
3377 FILE *f = fopen ("conftest.out", "w");
3378 return ferror (f) || fclose (f) != 0;
3379
3380 ;
3381 return 0;
3382 }
3383 _ACEOF
3384 ac_clean_files="$ac_clean_files conftest.out"
3385 # Check that the compiler produces executables we can run. If not, either
3386 # the compiler is broken, or we cross compile.
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3388 $as_echo_n "checking whether we are cross compiling... " >&6; }
3389 if test "$cross_compiling" != yes; then
3390 { { ac_try="$ac_link"
3391 case "(($ac_try" in
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3394 esac
3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396 $as_echo "$ac_try_echo"; } >&5
3397 (eval "$ac_link") 2>&5
3398 ac_status=$?
3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400 test $ac_status = 0; }
3401 if { ac_try='./conftest$ac_cv_exeext'
3402 { { case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3405 esac
3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407 $as_echo "$ac_try_echo"; } >&5
3408 (eval "$ac_try") 2>&5
3409 ac_status=$?
3410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411 test $ac_status = 0; }; }; then
3412 cross_compiling=no
3413 else
3414 if test "$cross_compiling" = maybe; then
3415 cross_compiling=yes
3416 else
3417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3419 as_fn_error "cannot run C compiled programs.
3420 If you meant to cross compile, use \`--host'.
3421 See \`config.log' for more details." "$LINENO" 5; }
3422 fi
3423 fi
3424 fi
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3426 $as_echo "$cross_compiling" >&6; }
3427
3428 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3429 ac_clean_files=$ac_clean_files_save
35143430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
35153431 $as_echo_n "checking for suffix of object files... " >&6; }
35163432 if test "${ac_cv_objext+set}" = set; then :
37733689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692 DEPDIR="${am__leading_dot}deps"
3693
3694 ac_config_commands="$ac_config_commands depfiles"
3695
3696
3697 am_make=${MAKE-make}
3698 cat > confinc << 'END'
3699 am__doit:
3700 @echo this is the am__doit target
3701 .PHONY: am__doit
3702 END
3703 # If we don't find an include directive, just comment out the code.
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3705 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3706 am__include="#"
3707 am__quote=
3708 _am_result=none
3709 # First try GNU make style include.
3710 echo "include confinc" > confmf
3711 # Ignore all kinds of additional output from `make'.
3712 case `$am_make -s -f confmf 2> /dev/null` in #(
3713 *the\ am__doit\ target*)
3714 am__include=include
3715 am__quote=
3716 _am_result=GNU
3717 ;;
3718 esac
3719 # Now try BSD make style include.
3720 if test "$am__include" = "#"; then
3721 echo '.include "confinc"' > confmf
3722 case `$am_make -s -f confmf 2> /dev/null` in #(
3723 *the\ am__doit\ target*)
3724 am__include=.include
3725 am__quote="\""
3726 _am_result=BSD
3727 ;;
3728 esac
3729 fi
3730
3731
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3733 $as_echo "$_am_result" >&6; }
3734 rm -f confinc confmf
3735
3736 # Check whether --enable-dependency-tracking was given.
3737 if test "${enable_dependency_tracking+set}" = set; then :
3738 enableval=$enable_dependency_tracking;
3739 fi
3740
3741 if test "x$enable_dependency_tracking" != xno; then
3742 am_depcomp="$ac_aux_dir/depcomp"
3743 AMDEPBACKSLASH='\'
3744 fi
3745 if test "x$enable_dependency_tracking" != xno; then
3746 AMDEP_TRUE=
3747 AMDEP_FALSE='#'
3748 else
3749 AMDEP_TRUE='#'
3750 AMDEP_FALSE=
3751 fi
3752
3753
37763754
37773755 depcc="$CC" am_compiler_list=
37783756
39013879 fi
39023880
39033881
3882 case $ac_cv_prog_cc_stdc in #(
3883 no) :
3884 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3885 *) :
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3887 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3888 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3889 $as_echo_n "(cached) " >&6
3890 else
3891 ac_cv_prog_cc_c99=no
3892 ac_save_CC=$CC
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3895 #include <stdarg.h>
3896 #include <stdbool.h>
3897 #include <stdlib.h>
3898 #include <wchar.h>
3899 #include <stdio.h>
3900
3901 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3902 #define debug(...) fprintf (stderr, __VA_ARGS__)
3903 #define showlist(...) puts (#__VA_ARGS__)
3904 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3905 static void
3906 test_varargs_macros (void)
3907 {
3908 int x = 1234;
3909 int y = 5678;
3910 debug ("Flag");
3911 debug ("X = %d\n", x);
3912 showlist (The first, second, and third items.);
3913 report (x>y, "x is %d but y is %d", x, y);
3914 }
3915
3916 // Check long long types.
3917 #define BIG64 18446744073709551615ull
3918 #define BIG32 4294967295ul
3919 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3920 #if !BIG_OK
3921 your preprocessor is broken;
3922 #endif
3923 #if BIG_OK
3924 #else
3925 your preprocessor is broken;
3926 #endif
3927 static long long int bignum = -9223372036854775807LL;
3928 static unsigned long long int ubignum = BIG64;
3929
3930 struct incomplete_array
3931 {
3932 int datasize;
3933 double data[];
3934 };
3935
3936 struct named_init {
3937 int number;
3938 const wchar_t *name;
3939 double average;
3940 };
3941
3942 typedef const char *ccp;
3943
3944 static inline int
3945 test_restrict (ccp restrict text)
3946 {
3947 // See if C++-style comments work.
3948 // Iterate through items via the restricted pointer.
3949 // Also check for declarations in for loops.
3950 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3951 continue;
3952 return 0;
3953 }
3954
3955 // Check varargs and va_copy.
3956 static void
3957 test_varargs (const char *format, ...)
3958 {
3959 va_list args;
3960 va_start (args, format);
3961 va_list args_copy;
3962 va_copy (args_copy, args);
3963
3964 const char *str;
3965 int number;
3966 float fnumber;
3967
3968 while (*format)
3969 {
3970 switch (*format++)
3971 {
3972 case 's': // string
3973 str = va_arg (args_copy, const char *);
3974 break;
3975 case 'd': // int
3976 number = va_arg (args_copy, int);
3977 break;
3978 case 'f': // float
3979 fnumber = va_arg (args_copy, double);
3980 break;
3981 default:
3982 break;
3983 }
3984 }
3985 va_end (args_copy);
3986 va_end (args);
3987 }
3988
3989 int
3990 main ()
3991 {
3992
3993 // Check bool.
3994 _Bool success = false;
3995
3996 // Check restrict.
3997 if (test_restrict ("String literal") == 0)
3998 success = true;
3999 char *restrict newvar = "Another string";
4000
4001 // Check varargs.
4002 test_varargs ("s, d' f .", "string", 65, 34.234);
4003 test_varargs_macros ();
4004
4005 // Check flexible array members.
4006 struct incomplete_array *ia =
4007 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4008 ia->datasize = 10;
4009 for (int i = 0; i < ia->datasize; ++i)
4010 ia->data[i] = i * 1.234;
4011
4012 // Check named initializers.
4013 struct named_init ni = {
4014 .number = 34,
4015 .name = L"Test wide string",
4016 .average = 543.34343,
4017 };
4018
4019 ni.number = 58;
4020
4021 int dynamic_array[ni.number];
4022 dynamic_array[ni.number - 1] = 543;
4023
4024 // work around unused variable warnings
4025 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4026 || dynamic_array[ni.number - 1] != 543);
4027
4028 ;
4029 return 0;
4030 }
4031 _ACEOF
4032 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4033 do
4034 CC="$ac_save_CC $ac_arg"
4035 if ac_fn_c_try_compile "$LINENO"; then :
4036 ac_cv_prog_cc_c99=$ac_arg
4037 fi
4038 rm -f core conftest.err conftest.$ac_objext
4039 test "x$ac_cv_prog_cc_c99" != "xno" && break
4040 done
4041 rm -f conftest.$ac_ext
4042 CC=$ac_save_CC
4043
4044 fi
4045 # AC_CACHE_VAL
4046 case "x$ac_cv_prog_cc_c99" in
4047 x)
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4049 $as_echo "none needed" >&6; } ;;
4050 xno)
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4052 $as_echo "unsupported" >&6; } ;;
4053 *)
4054 CC="$CC $ac_cv_prog_cc_c99"
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4056 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4057 esac
4058 if test "x$ac_cv_prog_cc_c99" != xno; then :
4059 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4060 else
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4062 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4063 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4065 else
4066 ac_cv_prog_cc_c89=no
4067 ac_save_CC=$CC
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4070 #include <stdarg.h>
4071 #include <stdio.h>
4072 #include <sys/types.h>
4073 #include <sys/stat.h>
4074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4075 struct buf { int x; };
4076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4077 static char *e (p, i)
4078 char **p;
4079 int i;
4080 {
4081 return p[i];
4082 }
4083 static char *f (char * (*g) (char **, int), char **p, ...)
4084 {
4085 char *s;
4086 va_list v;
4087 va_start (v,p);
4088 s = g (p, va_arg (v,int));
4089 va_end (v);
4090 return s;
4091 }
4092
4093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4094 function prototypes and stuff, but not '\xHH' hex character constants.
4095 These don't provoke an error unfortunately, instead are silently treated
4096 as 'x'. The following induces an error, until -std is added to get
4097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4098 array size at least. It's necessary to write '\x00'==0 to get something
4099 that's true only with -std. */
4100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4101
4102 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4103 inside strings and character constants. */
4104 #define FOO(x) 'x'
4105 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4106
4107 int test (int i, double x);
4108 struct s1 {int (*f) (int a);};
4109 struct s2 {int (*f) (double a);};
4110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4111 int argc;
4112 char **argv;
4113 int
4114 main ()
4115 {
4116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4117 ;
4118 return 0;
4119 }
4120 _ACEOF
4121 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4122 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4123 do
4124 CC="$ac_save_CC $ac_arg"
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_cv_prog_cc_c89=$ac_arg
4127 fi
4128 rm -f core conftest.err conftest.$ac_objext
4129 test "x$ac_cv_prog_cc_c89" != "xno" && break
4130 done
4131 rm -f conftest.$ac_ext
4132 CC=$ac_save_CC
4133
4134 fi
4135 # AC_CACHE_VAL
4136 case "x$ac_cv_prog_cc_c89" in
4137 x)
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4139 $as_echo "none needed" >&6; } ;;
4140 xno)
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4142 $as_echo "unsupported" >&6; } ;;
4143 *)
4144 CC="$CC $ac_cv_prog_cc_c89"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4146 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4147 esac
4148 if test "x$ac_cv_prog_cc_c89" != xno; then :
4149 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4150 else
4151 ac_cv_prog_cc_stdc=no
4152 fi
4153
4154 fi
4155 ;;
4156 esac
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4158 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4159 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 fi
4162
4163 case $ac_cv_prog_cc_stdc in #(
4164 no) :
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4166 $as_echo "unsupported" >&6; } ;; #(
4167 '') :
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4169 $as_echo "none needed" >&6; } ;; #(
4170 *) :
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4172 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4173 esac
4174
4175 mkdir_p="$MKDIR_P"
4176 case $mkdir_p in
4177 [\\/$]* | ?:[\\/]*) ;;
4178 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4179 esac
4180
4181
4182 case `pwd` in
4183 *\ * | *\ *)
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4185 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4186 esac
4187
4188
4189
4190 macro_version='2.2.6b'
4191 macro_revision='1.3017'
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205 ltmain="$ac_aux_dir/ltmain.sh"
4206
4207 # Make sure we can run config.sub.
4208 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4209 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4210
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4212 $as_echo_n "checking build system type... " >&6; }
4213 if test "${ac_cv_build+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 ac_build_alias=$build_alias
4217 test "x$ac_build_alias" = x &&
4218 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4219 test "x$ac_build_alias" = x &&
4220 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4221 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4222 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4223
4224 fi
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4226 $as_echo "$ac_cv_build" >&6; }
4227 case $ac_cv_build in
4228 *-*-*) ;;
4229 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4230 esac
4231 build=$ac_cv_build
4232 ac_save_IFS=$IFS; IFS='-'
4233 set x $ac_cv_build
4234 shift
4235 build_cpu=$1
4236 build_vendor=$2
4237 shift; shift
4238 # Remember, the first character of IFS is used to create $*,
4239 # except with old shells:
4240 build_os=$*
4241 IFS=$ac_save_IFS
4242 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4243
4244
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4246 $as_echo_n "checking host system type... " >&6; }
4247 if test "${ac_cv_host+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 if test "x$host_alias" = x; then
4251 ac_cv_host=$ac_cv_build
4252 else
4253 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4254 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4255 fi
4256
4257 fi
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4259 $as_echo "$ac_cv_host" >&6; }
4260 case $ac_cv_host in
4261 *-*-*) ;;
4262 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4263 esac
4264 host=$ac_cv_host
4265 ac_save_IFS=$IFS; IFS='-'
4266 set x $ac_cv_host
4267 shift
4268 host_cpu=$1
4269 host_vendor=$2
4270 shift; shift
4271 # Remember, the first character of IFS is used to create $*,
4272 # except with old shells:
4273 host_os=$*
4274 IFS=$ac_save_IFS
4275 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4276
4277
39044278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
39054279 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
39064280 if test "${ac_cv_path_SED+set}" = set; then :
44854859 else
44864860 lt_cv_nm_interface="BSD nm"
44874861 echo "int some_variable = 0;" > conftest.$ac_ext
4488 (eval echo "\"\$as_me:4489: $ac_compile\"" >&5)
4862 (eval echo "\"\$as_me:4863: $ac_compile\"" >&5)
44894863 (eval "$ac_compile" 2>conftest.err)
44904864 cat conftest.err >&5
4491 (eval echo "\"\$as_me:4492: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4865 (eval echo "\"\$as_me:4866: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
44924866 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
44934867 cat conftest.err >&5
4494 (eval echo "\"\$as_me:4495: output\"" >&5)
4868 (eval echo "\"\$as_me:4869: output\"" >&5)
44954869 cat conftest.out >&5
44964870 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
44974871 lt_cv_nm_interface="MS dumpbin"
49575331 ;;
49585332
49595333 # This must be Linux ELF.
4960 linux* | k*bsd*-gnu)
5334 linux* | k*bsd*-gnu | kopensolaris*-gnu)
49615335 lt_cv_deplibs_check_method=pass_all
49625336 ;;
49635337
56976071 ;;
56986072 *-*-irix6*)
56996073 # Find out which ABI we are using.
5700 echo '#line 5701 "configure"' > conftest.$ac_ext
6074 echo '#line 6075 "configure"' > conftest.$ac_ext
57016075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
57026076 (eval $ac_compile) 2>&5
57036077 ac_status=$?
67377111 enable_win32_dll=no
67387112
67397113
6740 # Check whether --enable-shared was given.
6741 if test "${enable_shared+set}" = set; then :
6742 enableval=$enable_shared; p=${PACKAGE-default}
6743 case $enableval in
6744 yes) enable_shared=yes ;;
6745 no) enable_shared=no ;;
6746 *)
6747 enable_shared=no
6748 # Look at the argument we got. We use all the common list separators.
6749 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6750 for pkg in $enableval; do
6751 IFS="$lt_save_ifs"
6752 if test "X$pkg" = "X$p"; then
6753 enable_shared=yes
6754 fi
6755 done
6756 IFS="$lt_save_ifs"
6757 ;;
6758 esac
6759 else
6760 enable_shared=yes
6761 fi
6762
6763
6764
6765
6766
6767
6768
6769
67707114
67717115 # Check whether --enable-static was given.
67727116 if test "${enable_static+set}" = set; then :
72277571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
72287572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
72297573 -e 's:$: $lt_compiler_flag:'`
7230 (eval echo "\"\$as_me:7231: $lt_compile\"" >&5)
7574 (eval echo "\"\$as_me:7575: $lt_compile\"" >&5)
72317575 (eval "$lt_compile" 2>conftest.err)
72327576 ac_status=$?
72337577 cat conftest.err >&5
7234 echo "$as_me:7235: \$? = $ac_status" >&5
7578 echo "$as_me:7579: \$? = $ac_status" >&5
72357579 if (exit $ac_status) && test -s "$ac_outfile"; then
72367580 # The compiler can only warn and ignore the option if not recognized
72377581 # So say no if there are warnings other than the usual output.
73967740 lt_prog_compiler_static='-non_shared'
73977741 ;;
73987742
7399 linux* | k*bsd*-gnu)
7743 linux* | k*bsd*-gnu | kopensolaris*-gnu)
74007744 case $cc_basename in
74017745 # old Intel for x86_64 which still supported -KPIC.
74027746 ecc*)
75667910 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
75677911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
75687912 -e 's:$: $lt_compiler_flag:'`
7569 (eval echo "\"\$as_me:7570: $lt_compile\"" >&5)
7913 (eval echo "\"\$as_me:7914: $lt_compile\"" >&5)
75707914 (eval "$lt_compile" 2>conftest.err)
75717915 ac_status=$?
75727916 cat conftest.err >&5
7573 echo "$as_me:7574: \$? = $ac_status" >&5
7917 echo "$as_me:7918: \$? = $ac_status" >&5
75747918 if (exit $ac_status) && test -s "$ac_outfile"; then
75757919 # The compiler can only warn and ignore the option if not recognized
75767920 # So say no if there are warnings other than the usual output.
76718015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
76728016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
76738017 -e 's:$: $lt_compiler_flag:'`
7674 (eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
8018 (eval echo "\"\$as_me:8019: $lt_compile\"" >&5)
76758019 (eval "$lt_compile" 2>out/conftest.err)
76768020 ac_status=$?
76778021 cat out/conftest.err >&5
7678 echo "$as_me:7679: \$? = $ac_status" >&5
8022 echo "$as_me:8023: \$? = $ac_status" >&5
76798023 if (exit $ac_status) && test -s out/conftest2.$ac_objext
76808024 then
76818025 # The compiler can only warn and ignore the option if not recognized
77268070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
77278071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
77288072 -e 's:$: $lt_compiler_flag:'`
7729 (eval echo "\"\$as_me:7730: $lt_compile\"" >&5)
8073 (eval echo "\"\$as_me:8074: $lt_compile\"" >&5)
77308074 (eval "$lt_compile" 2>out/conftest.err)
77318075 ac_status=$?
77328076 cat out/conftest.err >&5
7733 echo "$as_me:7734: \$? = $ac_status" >&5
8077 echo "$as_me:8078: \$? = $ac_status" >&5
77348078 if (exit $ac_status) && test -s out/conftest2.$ac_objext
77358079 then
77368080 # The compiler can only warn and ignore the option if not recognized
78698213 fi
78708214 supports_anon_versioning=no
78718215 case `$LD -v 2>&1` in
8216 *GNU\ gold*) supports_anon_versioning=yes ;;
78728217 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
78738218 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
78748219 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
79608305 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
79618306 ;;
79628307
7963 gnu* | linux* | tpf* | k*bsd*-gnu)
8308 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
79648309 tmp_diet=no
79658310 if test "$host_os" = linux-dietlibc; then
79668311 case $cc_basename in
94229767 ;;
94239768
94249769 # This must be Linux ELF.
9425 linux* | k*bsd*-gnu)
9770 linux* | k*bsd*-gnu | kopensolaris*-gnu)
94269771 version_type=linux
94279772 need_lib_prefix=no
94289773 need_version=no
1010910454 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1011010455 lt_status=$lt_dlunknown
1011110456 cat > conftest.$ac_ext <<_LT_EOF
10112 #line 10113 "configure"
10457 #line 10458 "configure"
1011310458 #include "confdefs.h"
1011410459
1011510460 #if HAVE_DLFCN_H
1020510550 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1020610551 lt_status=$lt_dlunknown
1020710552 cat > conftest.$ac_ext <<_LT_EOF
10208 #line 10209 "configure"
10553 #line 10554 "configure"
1020910554 #include "confdefs.h"
1021010555
1021110556 #if HAVE_DLFCN_H
1043310778
1043410779
1043510780
10436 ac_config_headers="$ac_config_headers config.h"
10437
10438
10439 ac_ext=c
10440 ac_cpp='$CPP $CPPFLAGS'
10441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10444 if test -n "$ac_tool_prefix"; then
10445 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10446 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10448 $as_echo_n "checking for $ac_word... " >&6; }
10449 if test "${ac_cv_prog_CC+set}" = set; then :
10450 $as_echo_n "(cached) " >&6
10451 else
10452 if test -n "$CC"; then
10453 ac_cv_prog_CC="$CC" # Let the user override the test.
10454 else
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in $PATH
10457 do
10458 IFS=$as_save_IFS
10459 test -z "$as_dir" && as_dir=.
10460 for ac_exec_ext in '' $ac_executable_extensions; do
10461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10462 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10464 break 2
10465 fi
10466 done
10467 done
10468 IFS=$as_save_IFS
10469
10470 fi
10471 fi
10472 CC=$ac_cv_prog_CC
10473 if test -n "$CC"; then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10475 $as_echo "$CC" >&6; }
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10478 $as_echo "no" >&6; }
10479 fi
10480
10481
10482 fi
10483 if test -z "$ac_cv_prog_CC"; then
10484 ac_ct_CC=$CC
10485 # Extract the first word of "gcc", so it can be a program name with args.
10486 set dummy gcc; ac_word=$2
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10488 $as_echo_n "checking for $ac_word... " >&6; }
10489 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 if test -n "$ac_ct_CC"; then
10493 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10494 else
10495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10496 for as_dir in $PATH
10497 do
10498 IFS=$as_save_IFS
10499 test -z "$as_dir" && as_dir=.
10500 for ac_exec_ext in '' $ac_executable_extensions; do
10501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10502 ac_cv_prog_ac_ct_CC="gcc"
10503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10504 break 2
10505 fi
10506 done
10507 done
10508 IFS=$as_save_IFS
10509
10510 fi
10511 fi
10512 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10513 if test -n "$ac_ct_CC"; then
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10515 $as_echo "$ac_ct_CC" >&6; }
10516 else
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10518 $as_echo "no" >&6; }
10519 fi
10520
10521 if test "x$ac_ct_CC" = x; then
10522 CC=""
10523 else
10524 case $cross_compiling:$ac_tool_warned in
10525 yes:)
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10528 ac_tool_warned=yes ;;
10529 esac
10530 CC=$ac_ct_CC
10531 fi
10532 else
10533 CC="$ac_cv_prog_CC"
10534 fi
10535
10536 if test -z "$CC"; then
10537 if test -n "$ac_tool_prefix"; then
10538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10539 set dummy ${ac_tool_prefix}cc; ac_word=$2
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10541 $as_echo_n "checking for $ac_word... " >&6; }
10542 if test "${ac_cv_prog_CC+set}" = set; then :
10543 $as_echo_n "(cached) " >&6
10544 else
10545 if test -n "$CC"; then
10546 ac_cv_prog_CC="$CC" # Let the user override the test.
10547 else
10548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10549 for as_dir in $PATH
10550 do
10551 IFS=$as_save_IFS
10552 test -z "$as_dir" && as_dir=.
10553 for ac_exec_ext in '' $ac_executable_extensions; do
10554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10555 ac_cv_prog_CC="${ac_tool_prefix}cc"
10556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10557 break 2
10558 fi
10559 done
10560 done
10561 IFS=$as_save_IFS
10562
10563 fi
10564 fi
10565 CC=$ac_cv_prog_CC
10566 if test -n "$CC"; then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10568 $as_echo "$CC" >&6; }
10569 else
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571 $as_echo "no" >&6; }
10572 fi
10573
10574
10575 fi
10576 fi
10577 if test -z "$CC"; then
10578 # Extract the first word of "cc", so it can be a program name with args.
10579 set dummy cc; ac_word=$2
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10581 $as_echo_n "checking for $ac_word... " >&6; }
10582 if test "${ac_cv_prog_CC+set}" = set; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 if test -n "$CC"; then
10586 ac_cv_prog_CC="$CC" # Let the user override the test.
10587 else
10588 ac_prog_rejected=no
10589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10590 for as_dir in $PATH
10591 do
10592 IFS=$as_save_IFS
10593 test -z "$as_dir" && as_dir=.
10594 for ac_exec_ext in '' $ac_executable_extensions; do
10595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10596 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10597 ac_prog_rejected=yes
10598 continue
10599 fi
10600 ac_cv_prog_CC="cc"
10601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10602 break 2
10603 fi
10604 done
10605 done
10606 IFS=$as_save_IFS
10607
10608 if test $ac_prog_rejected = yes; then
10609 # We found a bogon in the path, so make sure we never use it.
10610 set dummy $ac_cv_prog_CC
10611 shift
10612 if test $# != 0; then
10613 # We chose a different compiler from the bogus one.
10614 # However, it has the same basename, so the bogon will be chosen
10615 # first if we set CC to just the basename; use the full file name.
10616 shift
10617 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10618 fi
10619 fi
10620 fi
10621 fi
10622 CC=$ac_cv_prog_CC
10623 if test -n "$CC"; then
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10625 $as_echo "$CC" >&6; }
10626 else
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10628 $as_echo "no" >&6; }
10629 fi
10630
10631
10632 fi
10633 if test -z "$CC"; then
10634 if test -n "$ac_tool_prefix"; then
10635 for ac_prog in cl.exe
10636 do
10637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10640 $as_echo_n "checking for $ac_word... " >&6; }
10641 if test "${ac_cv_prog_CC+set}" = set; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 if test -n "$CC"; then
10645 ac_cv_prog_CC="$CC" # Let the user override the test.
10646 else
10647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10648 for as_dir in $PATH
10649 do
10650 IFS=$as_save_IFS
10651 test -z "$as_dir" && as_dir=.
10652 for ac_exec_ext in '' $ac_executable_extensions; do
10653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10654 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10656 break 2
10657 fi
10658 done
10659 done
10660 IFS=$as_save_IFS
10661
10662 fi
10663 fi
10664 CC=$ac_cv_prog_CC
10665 if test -n "$CC"; then
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10667 $as_echo "$CC" >&6; }
10668 else
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10670 $as_echo "no" >&6; }
10671 fi
10672
10673
10674 test -n "$CC" && break
10675 done
10676 fi
10677 if test -z "$CC"; then
10678 ac_ct_CC=$CC
10679 for ac_prog in cl.exe
10680 do
10681 # Extract the first word of "$ac_prog", so it can be a program name with args.
10682 set dummy $ac_prog; ac_word=$2
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10684 $as_echo_n "checking for $ac_word... " >&6; }
10685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10686 $as_echo_n "(cached) " >&6
10687 else
10688 if test -n "$ac_ct_CC"; then
10689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10690 else
10691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10692 for as_dir in $PATH
10693 do
10694 IFS=$as_save_IFS
10695 test -z "$as_dir" && as_dir=.
10696 for ac_exec_ext in '' $ac_executable_extensions; do
10697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10698 ac_cv_prog_ac_ct_CC="$ac_prog"
10699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10700 break 2
10701 fi
10702 done
10703 done
10704 IFS=$as_save_IFS
10705
10706 fi
10707 fi
10708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10709 if test -n "$ac_ct_CC"; then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10711 $as_echo "$ac_ct_CC" >&6; }
10712 else
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10714 $as_echo "no" >&6; }
10715 fi
10716
10717
10718 test -n "$ac_ct_CC" && break
10719 done
10720
10721 if test "x$ac_ct_CC" = x; then
10722 CC=""
10723 else
10724 case $cross_compiling:$ac_tool_warned in
10725 yes:)
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10728 ac_tool_warned=yes ;;
10729 esac
10730 CC=$ac_ct_CC
10731 fi
10732 fi
10733
10734 fi
10735
10736
10737 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10739 as_fn_error "no acceptable C compiler found in \$PATH
10740 See \`config.log' for more details." "$LINENO" 5; }
10741
10742 # Provide some information about the compiler.
10743 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10744 set X $ac_compile
10745 ac_compiler=$2
10746 for ac_option in --version -v -V -qversion; do
10747 { { ac_try="$ac_compiler $ac_option >&5"
10748 case "(($ac_try" in
10749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10750 *) ac_try_echo=$ac_try;;
10751 esac
10752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10753 $as_echo "$ac_try_echo"; } >&5
10754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10755 ac_status=$?
10756 if test -s conftest.err; then
10757 sed '10a\
10758 ... rest of stderr output deleted ...
10759 10q' conftest.err >conftest.er1
10760 cat conftest.er1 >&5
10761 rm -f conftest.er1 conftest.err
10762 fi
10763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10764 test $ac_status = 0; }
10765 done
10766
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10768 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10769 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10770 $as_echo_n "(cached) " >&6
10771 else
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774
10775 int
10776 main ()
10777 {
10778 #ifndef __GNUC__
10779 choke me
10780 #endif
10781
10782 ;
10783 return 0;
10784 }
10785 _ACEOF
10786 if ac_fn_c_try_compile "$LINENO"; then :
10787 ac_compiler_gnu=yes
10788 else
10789 ac_compiler_gnu=no
10790 fi
10791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10792 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10793
10794 fi
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10796 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10797 if test $ac_compiler_gnu = yes; then
10798 GCC=yes
10799 else
10800 GCC=
10801 fi
10802 ac_test_CFLAGS=${CFLAGS+set}
10803 ac_save_CFLAGS=$CFLAGS
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10805 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10806 if test "${ac_cv_prog_cc_g+set}" = set; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_save_c_werror_flag=$ac_c_werror_flag
10810 ac_c_werror_flag=yes
10811 ac_cv_prog_cc_g=no
10812 CFLAGS="-g"
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10815
10816 int
10817 main ()
10818 {
10819
10820 ;
10821 return 0;
10822 }
10823 _ACEOF
10824 if ac_fn_c_try_compile "$LINENO"; then :
10825 ac_cv_prog_cc_g=yes
10826 else
10827 CFLAGS=""
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10830
10831 int
10832 main ()
10833 {
10834
10835 ;
10836 return 0;
10837 }
10838 _ACEOF
10839 if ac_fn_c_try_compile "$LINENO"; then :
10840
10841 else
10842 ac_c_werror_flag=$ac_save_c_werror_flag
10843 CFLAGS="-g"
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10846
10847 int
10848 main ()
10849 {
10850
10851 ;
10852 return 0;
10853 }
10854 _ACEOF
10855 if ac_fn_c_try_compile "$LINENO"; then :
10856 ac_cv_prog_cc_g=yes
10857 fi
10858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10859 fi
10860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10861 fi
10862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10863 ac_c_werror_flag=$ac_save_c_werror_flag
10864 fi
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
10866 $as_echo "$ac_cv_prog_cc_g" >&6; }
10867 if test "$ac_test_CFLAGS" = set; then
10868 CFLAGS=$ac_save_CFLAGS
10869 elif test $ac_cv_prog_cc_g = yes; then
10870 if test "$GCC" = yes; then
10871 CFLAGS="-g -O2"
10872 else
10873 CFLAGS="-g"
10874 fi
10875 else
10876 if test "$GCC" = yes; then
10877 CFLAGS="-O2"
10878 else
10879 CFLAGS=
10880 fi
10881 fi
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
10883 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
10884 if test "${ac_cv_prog_cc_c89+set}" = set; then :
10885 $as_echo_n "(cached) " >&6
10886 else
10887 ac_cv_prog_cc_c89=no
10888 ac_save_CC=$CC
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10891 #include <stdarg.h>
10892 #include <stdio.h>
10893 #include <sys/types.h>
10894 #include <sys/stat.h>
10895 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10896 struct buf { int x; };
10897 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10898 static char *e (p, i)
10899 char **p;
10900 int i;
10901 {
10902 return p[i];
10903 }
10904 static char *f (char * (*g) (char **, int), char **p, ...)
10905 {
10906 char *s;
10907 va_list v;
10908 va_start (v,p);
10909 s = g (p, va_arg (v,int));
10910 va_end (v);
10911 return s;
10912 }
10913
10914 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10915 function prototypes and stuff, but not '\xHH' hex character constants.
10916 These don't provoke an error unfortunately, instead are silently treated
10917 as 'x'. The following induces an error, until -std is added to get
10918 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10919 array size at least. It's necessary to write '\x00'==0 to get something
10920 that's true only with -std. */
10921 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10922
10923 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10924 inside strings and character constants. */
10925 #define FOO(x) 'x'
10926 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10927
10928 int test (int i, double x);
10929 struct s1 {int (*f) (int a);};
10930 struct s2 {int (*f) (double a);};
10931 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10932 int argc;
10933 char **argv;
10934 int
10935 main ()
10936 {
10937 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10938 ;
10939 return 0;
10940 }
10941 _ACEOF
10942 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10943 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10944 do
10945 CC="$ac_save_CC $ac_arg"
10946 if ac_fn_c_try_compile "$LINENO"; then :
10947 ac_cv_prog_cc_c89=$ac_arg
10948 fi
10949 rm -f core conftest.err conftest.$ac_objext
10950 test "x$ac_cv_prog_cc_c89" != "xno" && break
10951 done
10952 rm -f conftest.$ac_ext
10953 CC=$ac_save_CC
10954
10955 fi
10956 # AC_CACHE_VAL
10957 case "x$ac_cv_prog_cc_c89" in
10958 x)
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10960 $as_echo "none needed" >&6; } ;;
10961 xno)
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10963 $as_echo "unsupported" >&6; } ;;
10964 *)
10965 CC="$CC $ac_cv_prog_cc_c89"
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
10967 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
10968 esac
10969 if test "x$ac_cv_prog_cc_c89" != xno; then :
10970
10971 fi
10972
10973 ac_ext=c
10974 ac_cpp='$CPP $CPPFLAGS'
10975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10978
10979 depcc="$CC" am_compiler_list=
10980
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10982 $as_echo_n "checking dependency style of $depcc... " >&6; }
10983 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
10984 $as_echo_n "(cached) " >&6
10985 else
10986 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10987 # We make a subdir and do the tests there. Otherwise we can end up
10988 # making bogus files that we don't know about and never remove. For
10989 # instance it was reported that on HP-UX the gcc test will end up
10990 # making a dummy file named `D' -- because `-MD' means `put the output
10991 # in D'.
10992 mkdir conftest.dir
10993 # Copy depcomp to subdir because otherwise we won't find it if we're
10994 # using a relative directory.
10995 cp "$am_depcomp" conftest.dir
10996 cd conftest.dir
10997 # We will build objects and dependencies in a subdirectory because
10998 # it helps to detect inapplicable dependency modes. For instance
10999 # both Tru64's cc and ICC support -MD to output dependencies as a
11000 # side effect of compilation, but ICC will put the dependencies in
11001 # the current directory while Tru64 will put them in the object
11002 # directory.
11003 mkdir sub
11004
11005 am_cv_CC_dependencies_compiler_type=none
11006 if test "$am_compiler_list" = ""; then
11007 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11008 fi
11009 am__universal=false
11010 case " $depcc " in #(
11011 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11012 esac
11013
11014 for depmode in $am_compiler_list; do
11015 # Setup a source with many dependencies, because some compilers
11016 # like to wrap large dependency lists on column 80 (with \), and
11017 # we should not choose a depcomp mode which is confused by this.
11018 #
11019 # We need to recreate these files for each test, as the compiler may
11020 # overwrite some of them when testing with obscure command lines.
11021 # This happens at least with the AIX C compiler.
11022 : > sub/conftest.c
11023 for i in 1 2 3 4 5 6; do
11024 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11025 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11026 # Solaris 8's {/usr,}/bin/sh.
11027 touch sub/conftst$i.h
11028 done
11029 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11030
11031 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11032 # mode. It turns out that the SunPro C++ compiler does not properly
11033 # handle `-M -o', and we need to detect this. Also, some Intel
11034 # versions had trouble with output in subdirs
11035 am__obj=sub/conftest.${OBJEXT-o}
11036 am__minus_obj="-o $am__obj"
11037 case $depmode in
11038 gcc)
11039 # This depmode causes a compiler race in universal mode.
11040 test "$am__universal" = false || continue
11041 ;;
11042 nosideeffect)
11043 # after this tag, mechanisms are not by side-effect, so they'll
11044 # only be used when explicitly requested
11045 if test "x$enable_dependency_tracking" = xyes; then
11046 continue
11047 else
11048 break
11049 fi
11050 ;;
11051 msvisualcpp | msvcmsys)
11052 # This compiler won't grok `-c -o', but also, the minuso test has
11053 # not run yet. These depmodes are late enough in the game, and
11054 # so weak that their functioning should not be impacted.
11055 am__obj=conftest.${OBJEXT-o}
11056 am__minus_obj=
11057 ;;
11058 none) break ;;
11059 esac
11060 if depmode=$depmode \
11061 source=sub/conftest.c object=$am__obj \
11062 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11063 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11064 >/dev/null 2>conftest.err &&
11065 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11066 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11067 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11068 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11069 # icc doesn't choke on unknown options, it will just issue warnings
11070 # or remarks (even with -Werror). So we grep stderr for any message
11071 # that says an option was ignored or not supported.
11072 # When given -MP, icc 7.0 and 7.1 complain thusly:
11073 # icc: Command line warning: ignoring option '-M'; no argument required
11074 # The diagnosis changed in icc 8.0:
11075 # icc: Command line remark: option '-MP' not supported
11076 if (grep 'ignoring option' conftest.err ||
11077 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11078 am_cv_CC_dependencies_compiler_type=$depmode
11079 break
11080 fi
11081 fi
11082 done
11083
11084 cd ..
11085 rm -rf conftest.dir
11086 else
11087 am_cv_CC_dependencies_compiler_type=none
11088 fi
11089
11090 fi
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11092 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11093 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11094
11095 if
11096 test "x$enable_dependency_tracking" != xno \
11097 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11098 am__fastdepCC_TRUE=
11099 am__fastdepCC_FALSE='#'
11100 else
11101 am__fastdepCC_TRUE='#'
11102 am__fastdepCC_FALSE=
11103 fi
11104
11105
11106 case $ac_cv_prog_cc_stdc in #(
11107 no) :
11108 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
11109 *) :
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
11111 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
11112 if test "${ac_cv_prog_cc_c99+set}" = set; then :
11113 $as_echo_n "(cached) " >&6
11114 else
11115 ac_cv_prog_cc_c99=no
11116 ac_save_CC=$CC
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11119 #include <stdarg.h>
11120 #include <stdbool.h>
11121 #include <stdlib.h>
11122 #include <wchar.h>
11123 #include <stdio.h>
11124
11125 // Check varargs macros. These examples are taken from C99 6.10.3.5.
11126 #define debug(...) fprintf (stderr, __VA_ARGS__)
11127 #define showlist(...) puts (#__VA_ARGS__)
11128 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
11129 static void
11130 test_varargs_macros (void)
11131 {
11132 int x = 1234;
11133 int y = 5678;
11134 debug ("Flag");
11135 debug ("X = %d\n", x);
11136 showlist (The first, second, and third items.);
11137 report (x>y, "x is %d but y is %d", x, y);
11138 }
11139
11140 // Check long long types.
11141 #define BIG64 18446744073709551615ull
11142 #define BIG32 4294967295ul
11143 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
11144 #if !BIG_OK
11145 your preprocessor is broken;
11146 #endif
11147 #if BIG_OK
11148 #else
11149 your preprocessor is broken;
11150 #endif
11151 static long long int bignum = -9223372036854775807LL;
11152 static unsigned long long int ubignum = BIG64;
11153
11154 struct incomplete_array
11155 {
11156 int datasize;
11157 double data[];
11158 };
11159
11160 struct named_init {
11161 int number;
11162 const wchar_t *name;
11163 double average;
11164 };
11165
11166 typedef const char *ccp;
11167
11168 static inline int
11169 test_restrict (ccp restrict text)
11170 {
11171 // See if C++-style comments work.
11172 // Iterate through items via the restricted pointer.
11173 // Also check for declarations in for loops.
11174 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
11175 continue;
11176 return 0;
11177 }
11178
11179 // Check varargs and va_copy.
11180 static void
11181 test_varargs (const char *format, ...)
11182 {
11183 va_list args;
11184 va_start (args, format);
11185 va_list args_copy;
11186 va_copy (args_copy, args);
11187
11188 const char *str;
11189 int number;
11190 float fnumber;
11191
11192 while (*format)
11193 {
11194 switch (*format++)
11195 {
11196 case 's': // string
11197 str = va_arg (args_copy, const char *);
11198 break;
11199 case 'd': // int
11200 number = va_arg (args_copy, int);
11201 break;
11202 case 'f': // float
11203 fnumber = va_arg (args_copy, double);
11204 break;
11205 default:
11206 break;
11207 }
11208 }
11209 va_end (args_copy);
11210 va_end (args);
11211 }
11212
11213 int
11214 main ()
11215 {
11216
11217 // Check bool.
11218 _Bool success = false;
11219
11220 // Check restrict.
11221 if (test_restrict ("String literal") == 0)
11222 success = true;
11223 char *restrict newvar = "Another string";
11224
11225 // Check varargs.
11226 test_varargs ("s, d' f .", "string", 65, 34.234);
11227 test_varargs_macros ();
11228
11229 // Check flexible array members.
11230 struct incomplete_array *ia =
11231 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
11232 ia->datasize = 10;
11233 for (int i = 0; i < ia->datasize; ++i)
11234 ia->data[i] = i * 1.234;
11235
11236 // Check named initializers.
11237 struct named_init ni = {
11238 .number = 34,
11239 .name = L"Test wide string",
11240 .average = 543.34343,
11241 };
11242
11243 ni.number = 58;
11244
11245 int dynamic_array[ni.number];
11246 dynamic_array[ni.number - 1] = 543;
11247
11248 // work around unused variable warnings
11249 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
11250 || dynamic_array[ni.number - 1] != 543);
11251
11252 ;
11253 return 0;
11254 }
11255 _ACEOF
11256 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
11257 do
11258 CC="$ac_save_CC $ac_arg"
11259 if ac_fn_c_try_compile "$LINENO"; then :
11260 ac_cv_prog_cc_c99=$ac_arg
11261 fi
11262 rm -f core conftest.err conftest.$ac_objext
11263 test "x$ac_cv_prog_cc_c99" != "xno" && break
11264 done
11265 rm -f conftest.$ac_ext
11266 CC=$ac_save_CC
11267
11268 fi
11269 # AC_CACHE_VAL
11270 case "x$ac_cv_prog_cc_c99" in
11271 x)
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11273 $as_echo "none needed" >&6; } ;;
11274 xno)
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11276 $as_echo "unsupported" >&6; } ;;
11277 *)
11278 CC="$CC $ac_cv_prog_cc_c99"
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
11280 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
11281 esac
11282 if test "x$ac_cv_prog_cc_c99" != xno; then :
11283 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
11284 else
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11286 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11287 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_cv_prog_cc_c89=no
11291 ac_save_CC=$CC
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11294 #include <stdarg.h>
11295 #include <stdio.h>
11296 #include <sys/types.h>
11297 #include <sys/stat.h>
11298 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11299 struct buf { int x; };
11300 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11301 static char *e (p, i)
11302 char **p;
11303 int i;
11304 {
11305 return p[i];
11306 }
11307 static char *f (char * (*g) (char **, int), char **p, ...)
11308 {
11309 char *s;
11310 va_list v;
11311 va_start (v,p);
11312 s = g (p, va_arg (v,int));
11313 va_end (v);
11314 return s;
11315 }
11316
11317 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11318 function prototypes and stuff, but not '\xHH' hex character constants.
11319 These don't provoke an error unfortunately, instead are silently treated
11320 as 'x'. The following induces an error, until -std is added to get
11321 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11322 array size at least. It's necessary to write '\x00'==0 to get something
11323 that's true only with -std. */
11324 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11325
11326 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11327 inside strings and character constants. */
11328 #define FOO(x) 'x'
11329 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11330
11331 int test (int i, double x);
11332 struct s1 {int (*f) (int a);};
11333 struct s2 {int (*f) (double a);};
11334 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11335 int argc;
11336 char **argv;
11337 int
11338 main ()
11339 {
11340 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11341 ;
11342 return 0;
11343 }
11344 _ACEOF
11345 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11346 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11347 do
11348 CC="$ac_save_CC $ac_arg"
11349 if ac_fn_c_try_compile "$LINENO"; then :
11350 ac_cv_prog_cc_c89=$ac_arg
11351 fi
11352 rm -f core conftest.err conftest.$ac_objext
11353 test "x$ac_cv_prog_cc_c89" != "xno" && break
11354 done
11355 rm -f conftest.$ac_ext
11356 CC=$ac_save_CC
11357
11358 fi
11359 # AC_CACHE_VAL
11360 case "x$ac_cv_prog_cc_c89" in
11361 x)
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11363 $as_echo "none needed" >&6; } ;;
11364 xno)
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11366 $as_echo "unsupported" >&6; } ;;
11367 *)
11368 CC="$CC $ac_cv_prog_cc_c89"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11370 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11371 esac
11372 if test "x$ac_cv_prog_cc_c89" != xno; then :
11373 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
11374 else
11375 ac_cv_prog_cc_stdc=no
11376 fi
11377
11378 fi
11379 ;;
11380 esac
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
11382 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
11383 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11385 fi
11386
11387 case $ac_cv_prog_cc_stdc in #(
11388 no) :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11390 $as_echo "unsupported" >&6; } ;; #(
11391 '') :
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11393 $as_echo "none needed" >&6; } ;; #(
11394 *) :
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
11396 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
11397 esac
11398
11399 mkdir_p="$MKDIR_P"
11400 case $mkdir_p in
11401 [\\/$]* | ?:[\\/]*) ;;
11402 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
11403 esac
11404
11405
1140610781 # Check whether --enable-compiler-optimisations was given.
1140710782 if test "${enable_compiler_optimisations+set}" = set; then :
1140810783 enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then
1167711052 fi
1167811053
1167911054
11680 # Check whether --with-html-dir was given.
11681 if test "${with_html_dir+set}" = set; then :
11682 withval=$with_html_dir;
11683 else
11684 with_html_dir='${datadir}/gtk-doc/html'
11685 fi
11686
11687 HTML_DIR="$with_html_dir"
11688
11689
11690 # Check whether --enable-gtk-doc was given.
11691 if test "${enable_gtk_doc+set}" = set; then :
11692 enableval=$enable_gtk_doc;
11693 else
11694 enable_gtk_doc=no
11695 fi
11696
11697
11698 if test x$enable_gtk_doc = xyes; then
11699 if test -n "$PKG_CONFIG" && \
11700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
11701 ($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
11702 ac_status=$?
11703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11704 test $ac_status = 0; }; then
11705 :
11706 else
11707 as_fn_error "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
11708 fi
11709 fi
11710
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11712 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11714 $as_echo "$enable_gtk_doc" >&6; }
11715
11716 for ac_prog in gtkdoc-check
11717 do
11718 # Extract the first word of "$ac_prog", so it can be a program name with args.
11719 set dummy $ac_prog; ac_word=$2
11055 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11056 set dummy gtkdoc-check; ac_word=$2
1172011057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1172111058 $as_echo_n "checking for $ac_word... " >&6; }
1172211059 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
1175511092 fi
1175611093
1175711094
11758 test -n "$GTKDOC_CHECK" && break
11095 for ac_prog in gtkdoc-rebase
11096 do
11097 # Extract the first word of "$ac_prog", so it can be a program name with args.
11098 set dummy $ac_prog; ac_word=$2
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11100 $as_echo_n "checking for $ac_word... " >&6; }
11101 if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
11102 $as_echo_n "(cached) " >&6
11103 else
11104 case $GTKDOC_REBASE in
11105 [\\/]* | ?:[\\/]*)
11106 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11107 ;;
11108 *)
11109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11110 for as_dir in $PATH
11111 do
11112 IFS=$as_save_IFS
11113 test -z "$as_dir" && as_dir=.
11114 for ac_exec_ext in '' $ac_executable_extensions; do
11115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11116 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11118 break 2
11119 fi
1175911120 done
11121 done
11122 IFS=$as_save_IFS
11123
11124 ;;
11125 esac
11126 fi
11127 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11128 if test -n "$GTKDOC_REBASE"; then
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11130 $as_echo "$GTKDOC_REBASE" >&6; }
11131 else
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11133 $as_echo "no" >&6; }
11134 fi
11135
11136
11137 test -n "$GTKDOC_REBASE" && break
11138 done
11139 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11140
11141 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11142 set dummy gtkdoc-mkpdf; ac_word=$2
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11144 $as_echo_n "checking for $ac_word... " >&6; }
11145 if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 case $GTKDOC_MKPDF in
11149 [\\/]* | ?:[\\/]*)
11150 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11151 ;;
11152 *)
11153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11154 for as_dir in $PATH
11155 do
11156 IFS=$as_save_IFS
11157 test -z "$as_dir" && as_dir=.
11158 for ac_exec_ext in '' $ac_executable_extensions; do
11159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11160 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11162 break 2
11163 fi
11164 done
11165 done
11166 IFS=$as_save_IFS
11167
11168 ;;
11169 esac
11170 fi
11171 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11172 if test -n "$GTKDOC_MKPDF"; then
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11174 $as_echo "$GTKDOC_MKPDF" >&6; }
11175 else
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11177 $as_echo "no" >&6; }
11178 fi
11179
11180
11181
11182
11183 # Check whether --with-html-dir was given.
11184 if test "${with_html_dir+set}" = set; then :
11185 withval=$with_html_dir;
11186 else
11187 with_html_dir='${datadir}/gtk-doc/html'
11188 fi
11189
11190 HTML_DIR="$with_html_dir"
11191
11192
11193 # Check whether --enable-gtk-doc was given.
11194 if test "${enable_gtk_doc+set}" = set; then :
11195 enableval=$enable_gtk_doc;
11196 else
11197 enable_gtk_doc=no
11198 fi
11199
11200
11201 if test x$enable_gtk_doc = xyes; then
11202 if test -n "$PKG_CONFIG" && \
11203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
11204 ($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
11205 ac_status=$?
11206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11207 test $ac_status = 0; }; then
11208 :
11209 else
11210 as_fn_error "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
11211 fi
11212 fi
11213
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11215 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11217 $as_echo "$enable_gtk_doc" >&6; }
11218
11219 # Check whether --enable-gtk-doc-html was given.
11220 if test "${enable_gtk_doc_html+set}" = set; then :
11221 enableval=$enable_gtk_doc_html;
11222 else
11223 enable_gtk_doc_html=yes
11224 fi
11225
11226 # Check whether --enable-gtk-doc-pdf was given.
11227 if test "${enable_gtk_doc_pdf+set}" = set; then :
11228 enableval=$enable_gtk_doc_pdf;
11229 else
11230 enable_gtk_doc_pdf=no
11231 fi
11232
11233
11234 if test -z "$GTKDOC_MKPDF"; then
11235 enable_gtk_doc_pdf=no
11236 fi
1176011237
1176111238
1176211239 if test x$enable_gtk_doc = xyes; then
1176711244 ENABLE_GTK_DOC_FALSE=
1176811245 fi
1176911246
11247 if test x$enable_gtk_doc_html = xyes; then
11248 GTK_DOC_BUILD_HTML_TRUE=
11249 GTK_DOC_BUILD_HTML_FALSE='#'
11250 else
11251 GTK_DOC_BUILD_HTML_TRUE='#'
11252 GTK_DOC_BUILD_HTML_FALSE=
11253 fi
11254
11255 if test x$enable_gtk_doc_pdf = xyes; then
11256 GTK_DOC_BUILD_PDF_TRUE=
11257 GTK_DOC_BUILD_PDF_FALSE='#'
11258 else
11259 GTK_DOC_BUILD_PDF_TRUE='#'
11260 GTK_DOC_BUILD_PDF_FALSE=
11261 fi
11262
1177011263 if test -n "$LIBTOOL"; then
1177111264 GTK_DOC_USE_LIBTOOL_TRUE=
1177211265 GTK_DOC_USE_LIBTOOL_FALSE='#'
1177311266 else
1177411267 GTK_DOC_USE_LIBTOOL_TRUE='#'
1177511268 GTK_DOC_USE_LIBTOOL_FALSE=
11269 fi
11270
11271 if test -n "$GTKDOC_REBASE"; then
11272 GTK_DOC_USE_REBASE_TRUE=
11273 GTK_DOC_USE_REBASE_FALSE='#'
11274 else
11275 GTK_DOC_USE_REBASE_TRUE='#'
11276 GTK_DOC_USE_REBASE_FALSE=
1177611277 fi
1177711278
1177811279
1239711898 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1239811899 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
1239911900 ;;
11901 *)
11902 case $am_py_prefix in
11903 /usr|/System*) ;;
11904 *)
11905 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
11906 ;;
11907 esac
11908 ;;
1240011909 esac
1240111910
1240211911 fi
1242611935 $am_py_exec_prefix*)
1242711936 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1242811937 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
11938 ;;
11939 *)
11940 case $am_py_exec_prefix in
11941 /usr|/System*) ;;
11942 *)
11943 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
11944 ;;
11945 esac
1242911946 ;;
1243011947 esac
1243111948
1258512102 as_fn_error "conditional \"am__fastdepCC\" was never defined.
1258612103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1258712104 fi
12588 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12589 as_fn_error "conditional \"am__fastdepCC\" was never defined.
12590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12591 fi
1259212105 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
1259312106 as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
1259412107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1259512108 fi
12109 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12110 as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12112 fi
12113 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12114 as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12116 fi
1259612117 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
1259712118 as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12120 fi
12121 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12122 as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
1259812123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1259912124 fi
1260012125 if test -z "${WANT_TWISTED_TESTS_TRUE}" && test -z "${WANT_TWISTED_TESTS_FALSE}"; then
1301312538 # report actual input values of CONFIG_FILES etc. instead of their
1301412539 # values after options handling.
1301512540 ac_log="
13016 This file was extended by telepathy-sofiasip $as_me 0.6.2, which was
13017 generated by GNU Autoconf 2.64. Invocation command line was
12541 This file was extended by telepathy-sofiasip $as_me 0.6.3, which was
12542 generated by GNU Autoconf 2.65. Invocation command line was
1301812543
1301912544 CONFIG_FILES = $CONFIG_FILES
1302012545 CONFIG_HEADERS = $CONFIG_HEADERS
1305412579
1305512580 -h, --help print this help, then exit
1305612581 -V, --version print version number and configuration settings, then exit
12582 --config print configuration, then exit
1305712583 -q, --quiet, --silent
1305812584 do not print progress messages
1305912585 -d, --debug don't remove temporary files
1307612602
1307712603 _ACEOF
1307812604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12605 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1307912606 ac_cs_version="\\
13080 telepathy-sofiasip config.status 0.6.2
13081 configured by $0, generated by GNU Autoconf 2.64,
13082 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12607 telepathy-sofiasip config.status 0.6.3
12608 configured by $0, generated by GNU Autoconf 2.65,
12609 with options \\"\$ac_cs_config\\"
1308312610
1308412611 Copyright (C) 2009 Free Software Foundation, Inc.
1308512612 This config.status script is free software; the Free Software Foundation
1311712644 ac_cs_recheck=: ;;
1311812645 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1311912646 $as_echo "$ac_cs_version"; exit ;;
12647 --config | --confi | --conf | --con | --co | --c )
12648 $as_echo "$ac_cs_config"; exit ;;
1312012649 --debug | --debu | --deb | --de | --d | -d )
1312112650 debug=: ;;
1312212651 --file | --fil | --fi | --f )
1319812727 sed_quote_subst='$sed_quote_subst'
1319912728 double_quote_subst='$double_quote_subst'
1320012729 delay_variable_subst='$delay_variable_subst'
12730 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
1320112731 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
1320212732 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13203 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
1320412733 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
1320512734 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
1320612735 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
1345312982 for ac_config_target in $ac_config_targets
1345412983 do
1345512984 case $ac_config_target in
12985 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1345612986 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1345712987 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13458 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1345912988 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1346012989 "tpsip/Makefile") CONFIG_FILES="$CONFIG_FILES tpsip/Makefile" ;;
1346112990 "tpsip-extensions/Makefile") CONFIG_FILES="$CONFIG_FILES tpsip-extensions/Makefile" ;;
1357013099 t delim
1357113100 :nl
1357213101 h
13573 s/\(.\{148\}\).*/\1/
13102 s/\(.\{148\}\)..*/\1/
1357413103 t more1
1357513104 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
1357613105 p
1358413113 t nl
1358513114 :delim
1358613115 h
13587 s/\(.\{148\}\).*/\1/
13116 s/\(.\{148\}\)..*/\1/
1358813117 t more2
1358913118 s/["\\]/\\&/g; s/^/"/; s/$/"/
1359013119 p
1419913728
1420013729 # ### BEGIN LIBTOOL CONFIG
1420113730
13731 # Whether or not to build shared libraries.
13732 build_libtool_libs=$enable_shared
13733
1420213734 # Which release of libtool.m4 was used?
1420313735 macro_version=$macro_version
1420413736 macro_revision=$macro_revision
14205
14206 # Whether or not to build shared libraries.
14207 build_libtool_libs=$enable_shared
1420813737
1420913738 # Whether or not to build static libraries.
1421013739 build_old_libs=$enable_static
22 m4_define([THIS_PACKAGE],[telepathy-sofiasip])
33 m4_define([VERSION_MAJOR],[0])
44 m4_define([VERSION_MINOR],[6])
5 m4_define([VERSION_MICRO],[2])
5 m4_define([VERSION_MICRO],[3])
66 m4_define([VERSION_NANO],[0])
77
88 m4_define([BASE_VERSION],[VERSION_MAJOR.VERSION_MINOR.VERSION_MICRO])
1919 AM_INIT_AUTOMAKE([1.9 -Wno-portability])
2020 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
2121
22 AC_PROG_LIBTOOL
22 AC_DISABLE_SHARED
2323
2424 AC_CONFIG_HEADER([config.h])
2525
2727 AC_PROG_CC
2828 AC_PROG_CC_STDC
2929 AM_PROG_MKDIR_P
30
31 AC_PROG_LIBTOOL
3032
3133 COMPILER_OPTIMISATIONS
3234 COMPILER_COVERAGE
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
111111 GLIB_LIBS = @GLIB_LIBS@
112112 GREP = @GREP@
113113 GTKDOC_CHECK = @GTKDOC_CHECK@
114 GTKDOC_MKPDF = @GTKDOC_MKPDF@
115 GTKDOC_REBASE = @GTKDOC_REBASE@
114116 HTML_DIR = @HTML_DIR@
115117 INSTALL = @INSTALL@
116118 INSTALL_DATA = @INSTALL_DATA@
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
112112 GLIB_LIBS = @GLIB_LIBS@
113113 GREP = @GREP@
114114 GTKDOC_CHECK = @GTKDOC_CHECK@
115 GTKDOC_MKPDF = @GTKDOC_MKPDF@
116 GTKDOC_REBASE = @GTKDOC_REBASE@
115117 HTML_DIR = @HTML_DIR@
116118 INSTALL = @INSTALL@
117119 INSTALL_DATA = @INSTALL_DATA@
00 # Generated from ltmain.m4sh.
11
2 # ltmain.sh (GNU libtool) 2.2.6
2 # ltmain.sh (GNU libtool) 2.2.6b
33 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
44
55 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
6464 # compiler: $LTCC
6565 # compiler flags: $LTCFLAGS
6666 # linker: $LD (gnu? $with_gnu_ld)
67 # $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-4
67 # $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
6868 # automake: $automake_version
6969 # autoconf: $autoconf_version
7070 #
7272
7373 PROGRAM=ltmain.sh
7474 PACKAGE=libtool
75 VERSION="2.2.6 Debian-2.2.6a-4"
75 VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
7676 TIMESTAMP=""
77 package_revision=1.3012
77 package_revision=1.3017
7878
7979 # Be Bourne compatible
8080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
8787 GLIB_LIBS = @GLIB_LIBS@
8888 GREP = @GREP@
8989 GTKDOC_CHECK = @GTKDOC_CHECK@
90 GTKDOC_MKPDF = @GTKDOC_MKPDF@
91 GTKDOC_REBASE = @GTKDOC_REBASE@
9092 HTML_DIR = @HTML_DIR@
9193 INSTALL = @INSTALL@
9294 INSTALL_DATA = @INSTALL_DATA@
24442444 ;;
24452445
24462446 # This must be Linux ELF.
2447 linux* | k*bsd*-gnu)
2447 linux* | k*bsd*-gnu | kopensolaris*-gnu)
24482448 version_type=linux
24492449 need_lib_prefix=no
24502450 need_version=no
30833083 ;;
30843084
30853085 # This must be Linux ELF.
3086 linux* | k*bsd*-gnu)
3086 linux* | k*bsd*-gnu | kopensolaris*-gnu)
30873087 lt_cv_deplibs_check_method=pass_all
30883088 ;;
30893089
37043704 ;;
37053705 esac
37063706 ;;
3707 linux* | k*bsd*-gnu)
3707 linux* | k*bsd*-gnu | kopensolaris*-gnu)
37083708 case $cc_basename in
37093709 KCC*)
37103710 # KAI C++ Compiler
39883988 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
39893989 ;;
39903990
3991 linux* | k*bsd*-gnu)
3991 linux* | k*bsd*-gnu | kopensolaris*-gnu)
39923992 case $cc_basename in
39933993 # old Intel for x86_64 which still supported -KPIC.
39943994 ecc*)
42844284 fi
42854285 supports_anon_versioning=no
42864286 case `$LD -v 2>&1` in
4287 *GNU\ gold*) supports_anon_versioning=yes ;;
42874288 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
42884289 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
42894290 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
43754376 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
43764377 ;;
43774378
4378 gnu* | linux* | tpf* | k*bsd*-gnu)
4379 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
43794380 tmp_diet=no
43804381 if test "$host_os" = linux-dietlibc; then
43814382 case $cc_basename in
58595860 _LT_TAGVAR(inherit_rpath, $1)=yes
58605861 ;;
58615862
5862 linux* | k*bsd*-gnu)
5863 linux* | k*bsd*-gnu | kopensolaris*-gnu)
58635864 case $cc_basename in
58645865 KCC*)
58655866 # Kuck and Associates, Inc. (KAI) C++ Compiler
88
99 # Generated from ltversion.in.
1010
11 # serial 3012 ltversion.m4
11 # serial 3017 ltversion.m4
1212 # This file is part of GNU Libtool
1313
14 m4_define([LT_PACKAGE_VERSION], [2.2.6])
15 m4_define([LT_PACKAGE_REVISION], [1.3012])
14 m4_define([LT_PACKAGE_VERSION], [2.2.6b])
15 m4_define([LT_PACKAGE_REVISION], [1.3017])
1616
1717 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.2.6'
19 macro_revision='1.3012'
18 [macro_version='2.2.6b'
19 macro_revision='1.3017'
2020 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2121 _LT_DECL(, macro_revision, 0)
2222 ])
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
181181 GLIB_LIBS = @GLIB_LIBS@
182182 GREP = @GREP@
183183 GTKDOC_CHECK = @GTKDOC_CHECK@
184 GTKDOC_MKPDF = @GTKDOC_MKPDF@
185 GTKDOC_REBASE = @GTKDOC_REBASE@
184186 HTML_DIR = @HTML_DIR@
185187 INSTALL = @INSTALL@
186188 INSTALL_DATA = @INSTALL_DATA@
7979 flag_to_domains = g_hash_table_new_full (g_direct_hash, g_direct_equal,
8080 NULL, g_free);
8181
82 for (i = 0; tpsip_debug_keys[i].value; i++)
82 for (i = 0; i < G_N_ELEMENTS(tpsip_debug_keys); i++)
8383 {
8484 GDebugKey key = (GDebugKey) tpsip_debug_keys[i];
8585 gchar *val;
13411341 direction &= hold_mask;
13421342 direction |= unhold_mask;
13431343 tpsip_media_stream_set_direction (stream,
1344 direction,
1345 TP_MEDIA_STREAM_PENDING_REMOTE_SEND);
1344 direction,
1345 TP_MEDIA_STREAM_PENDING_REMOTE_SEND
1346 | TP_MEDIA_STREAM_PENDING_LOCAL_SEND);
13461347 }
13471348 }
13481349 }
13311331 guint pending_send_mask)
13321332 {
13331333 TpsipMediaStreamPrivate *priv = TPSIP_MEDIA_STREAM_GET_PRIVATE (stream);
1334 guint flags;
1335
13341336
13351337 /* Don't apply pending send for new streams that haven't been negotiated */
13361338 if (priv->remote_media == NULL)
13371339 return;
13381340
1339 if ((priv->pending_send_flags & pending_send_mask) != 0)
1340 {
1341 priv->pending_send_flags &= ~pending_send_mask;
1342
1343 if ((priv->pending_send_flags & TP_MEDIA_STREAM_PENDING_LOCAL_SEND) != 0)
1341 /* Remember the flags that got changes and then clear the set */
1342 flags = (priv->pending_send_flags & pending_send_mask);
1343 priv->pending_send_flags &= ~pending_send_mask;
1344
1345 if (flags != 0)
1346 {
1347 if ((flags & TP_MEDIA_STREAM_PENDING_LOCAL_SEND) != 0)
13441348 priv->direction |= TP_MEDIA_STREAM_DIRECTION_SEND;
13451349
13461350 DEBUG("set direction %u, pending send flags %u", priv->direction, priv->pending_send_flags);
4242 static void
4343 sofia_log_handler (void *logdata, const char *format, va_list args)
4444 {
45 #ifdef ENABLE_DEBUG
4546 GString *buf = (GString *)logdata;
4647 g_assert (buf != NULL);
4748
5556 tpsip_log (TPSIP_DEBUG_SOFIA, G_LOG_LEVEL_DEBUG, "%s", buf->str);
5657 g_string_truncate (buf, 0);
5758 }
59 #endif
5860 }
5961
6062 static gpointer
6264 {
6365 GString *buf;
6466
67 #ifdef ENABLE_DEBUG
6568 buf = g_string_sized_new (80);
69 #else
70 buf = NULL;
71 #endif
6672
6773 su_log_redirect (NULL, sofia_log_handler, buf);
6874
7278 static void
7379 sofia_log_finalize (gpointer logdata)
7480 {
81 #ifdef ENABLE_DEBUG
7582 GString *buf = (GString *)logdata;
7683
7784 if (buf->len != 0)
8390 }
8491
8592 g_string_free (buf, TRUE);
93 #endif
8694 }
8795
8896 int
98106
99107 #ifdef ENABLE_DEBUG
100108 tpsip_debug_set_flags_from_env ();
109 #endif
101110
102111 if (g_getenv ("TPSIP_PERSIST") || g_getenv ("SOFIASIP_PERSIST"))
103112 {
104113 tp_debug_set_persistent (TRUE);
105114 }
106 #endif
107115
108116 tp_debug_divert_messages (g_getenv ("TPSIP_LOGFILE"));
109117
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
128128 GLIB_LIBS = @GLIB_LIBS@
129129 GREP = @GREP@
130130 GTKDOC_CHECK = @GTKDOC_CHECK@
131 GTKDOC_MKPDF = @GTKDOC_MKPDF@
132 GTKDOC_REBASE = @GTKDOC_REBASE@
131133 HTML_DIR = @HTML_DIR@
132134 INSTALL = @INSTALL@
133135 INSTALL_DATA = @INSTALL_DATA@
289291 # (which will cause the Makefiles to be regenerated when you run `make');
290292 # (2) otherwise, pass the desired values on the `make' command line.
291293 $(RECURSIVE_TARGETS):
292 @failcom='exit 1'; \
294 @fail= failcom='exit 1'; \
293295 for f in x $$MAKEFLAGS; do \
294296 case $$f in \
295297 *=* | --[!k]*);; \
314316 fi; test -z "$$fail"
315317
316318 $(RECURSIVE_CLEAN_TARGETS):
317 @failcom='exit 1'; \
319 @fail= failcom='exit 1'; \
318320 for f in x $$MAKEFLAGS; do \
319321 case $$f in \
320322 *=* | --[!k]*);; \
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
131131 GLIB_LIBS = @GLIB_LIBS@
132132 GREP = @GREP@
133133 GTKDOC_CHECK = @GTKDOC_CHECK@
134 GTKDOC_MKPDF = @GTKDOC_MKPDF@
135 GTKDOC_REBASE = @GTKDOC_REBASE@
134136 HTML_DIR = @HTML_DIR@
135137 INSTALL = @INSTALL@
136138 INSTALL_DATA = @INSTALL_DATA@
310312 # (which will cause the Makefiles to be regenerated when you run `make');
311313 # (2) otherwise, pass the desired values on the `make' command line.
312314 $(RECURSIVE_TARGETS):
313 @failcom='exit 1'; \
315 @fail= failcom='exit 1'; \
314316 for f in x $$MAKEFLAGS; do \
315317 case $$f in \
316318 *=* | --[!k]*);; \
335337 fi; test -z "$$fail"
336338
337339 $(RECURSIVE_CLEAN_TARGETS):
338 @failcom='exit 1'; \
340 @fail= failcom='exit 1'; \
339341 for f in x $$MAKEFLAGS; do \
340342 case $$f in \
341343 *=* | --[!k]*);; \
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
8787 GLIB_LIBS = @GLIB_LIBS@
8888 GREP = @GREP@
8989 GTKDOC_CHECK = @GTKDOC_CHECK@
90 GTKDOC_MKPDF = @GTKDOC_MKPDF@
91 GTKDOC_REBASE = @GTKDOC_REBASE@
9092 HTML_DIR = @HTML_DIR@
9193 INSTALL = @INSTALL@
9294 INSTALL_DATA = @INSTALL_DATA@
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
8787 GLIB_LIBS = @GLIB_LIBS@
8888 GREP = @GREP@
8989 GTKDOC_CHECK = @GTKDOC_CHECK@
90 GTKDOC_MKPDF = @GTKDOC_MKPDF@
91 GTKDOC_REBASE = @GTKDOC_REBASE@
9092 HTML_DIR = @HTML_DIR@
9193 INSTALL = @INSTALL@
9294 INSTALL_DATA = @INSTALL_DATA@
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
153153 GLIB_LIBS = @GLIB_LIBS@
154154 GREP = @GREP@
155155 GTKDOC_CHECK = @GTKDOC_CHECK@
156 GTKDOC_MKPDF = @GTKDOC_MKPDF@
157 GTKDOC_REBASE = @GTKDOC_REBASE@
156158 HTML_DIR = @HTML_DIR@
157159 INSTALL = @INSTALL@
158160 INSTALL_DATA = @INSTALL_DATA@
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
122122 GLIB_LIBS = @GLIB_LIBS@
123123 GREP = @GREP@
124124 GTKDOC_CHECK = @GTKDOC_CHECK@
125 GTKDOC_MKPDF = @GTKDOC_MKPDF@
126 GTKDOC_REBASE = @GTKDOC_REBASE@
125127 HTML_DIR = @HTML_DIR@
126128 INSTALL = @INSTALL@
127129 INSTALL_DATA = @INSTALL_DATA@