Merge lp:~mterry/ubuntu/maverick/libgnomeui/2.24.4 into lp:ubuntu/maverick/libgnomeui

Proposed by Michael Terry on 2010-09-27
Status: Merged
Merge reported by: Sebastien Bacher
Merged at revision: not available
Proposed branch: lp:~mterry/ubuntu/maverick/libgnomeui/2.24.4
Merge into: lp:ubuntu/maverick/libgnomeui
Diff against target: 93919 lines
To merge this branch: bzr merge lp:~mterry/ubuntu/maverick/libgnomeui/2.24.4
Reviewer Review Type Date Requested Status
Ubuntu Development Team 2010-09-27 Pending
Review via email: mp+36775@code.launchpad.net

Description of the Change

GNOME 2.24.4 release (coinciding with broader GNOME 2.32.0 release)

To post a comment you must log in.
10. By Michael Terry on 2010-09-27

update maintainer

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'INSTALL'
2--- INSTALL 2010-04-05 14:23:19 +0000
3+++ INSTALL 2010-09-27 20:46:41 +0000
4@@ -2,15 +2,15 @@
5 *************************
6
7 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
8-2006, 2007 Free Software Foundation, Inc.
9+2006, 2007, 2008 Free Software Foundation, Inc.
10
11-This file is free documentation; the Free Software Foundation gives
12+ This file is free documentation; the Free Software Foundation gives
13 unlimited permission to copy, distribute and modify it.
14
15 Basic Installation
16 ==================
17
18-Briefly, the shell commands `./configure; make; make install' should
19+ Briefly, the shell commands `./configure; make; make install' should
20 configure, build, and install this package. The following
21 more-detailed instructions are generic; see the `README' file for
22 instructions specific to this package.
23@@ -73,9 +73,9 @@
24 Compilers and Options
25 =====================
26
27-Some systems require unusual options for compilation or linking that the
28-`configure' script does not know about. Run `./configure --help' for
29-details on some of the pertinent environment variables.
30+ Some systems require unusual options for compilation or linking that
31+the `configure' script does not know about. Run `./configure --help'
32+for details on some of the pertinent environment variables.
33
34 You can give `configure' initial values for configuration parameters
35 by setting variables in the command line or in the environment. Here
36@@ -88,7 +88,7 @@
37 Compiling For Multiple Architectures
38 ====================================
39
40-You can compile the package for more than one kind of computer at the
41+ You can compile the package for more than one kind of computer at the
42 same time, by placing the object files for each architecture in their
43 own directory. To do this, you can use GNU `make'. `cd' to the
44 directory where you want the object files and executables to go and run
45@@ -100,10 +100,24 @@
46 installed the package for one architecture, use `make distclean' before
47 reconfiguring for another architecture.
48
49+ On MacOS X 10.5 and later systems, you can create libraries and
50+executables that work on multiple system types--known as "fat" or
51+"universal" binaries--by specifying multiple `-arch' options to the
52+compiler but only a single `-arch' option to the preprocessor. Like
53+this:
54+
55+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
56+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
57+ CPP="gcc -E" CXXCPP="g++ -E"
58+
59+ This is not guaranteed to produce working output in all cases, you
60+may have to build one architecture at a time and combine the results
61+using the `lipo' tool if you have problems.
62+
63 Installation Names
64 ==================
65
66-By default, `make install' installs the package's commands under
67+ By default, `make install' installs the package's commands under
68 `/usr/local/bin', include files under `/usr/local/include', etc. You
69 can specify an installation prefix other than `/usr/local' by giving
70 `configure' the option `--prefix=PREFIX'.
71@@ -126,7 +140,7 @@
72 Optional Features
73 =================
74
75-Some packages pay attention to `--enable-FEATURE' options to
76+ Some packages pay attention to `--enable-FEATURE' options to
77 `configure', where FEATURE indicates an optional part of the package.
78 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
79 is something like `gnu-as' or `x' (for the X Window System). The
80@@ -138,14 +152,36 @@
81 you can use the `configure' options `--x-includes=DIR' and
82 `--x-libraries=DIR' to specify their locations.
83
84+Particular systems
85+==================
86+
87+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
88+CC is not installed, it is recommended to use the following options in
89+order to use an ANSI C compiler:
90+
91+ ./configure CC="cc -Ae"
92+
93+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
94+
95+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
96+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
97+a workaround. If GNU CC is not installed, it is therefore recommended
98+to try
99+
100+ ./configure CC="cc"
101+
102+and if that doesn't work, try
103+
104+ ./configure CC="cc -nodtk"
105+
106 Specifying the System Type
107 ==========================
108
109-There may be some features `configure' cannot figure out automatically,
110-but needs to determine by the type of machine the package will run on.
111-Usually, assuming the package is built to be run on the _same_
112-architectures, `configure' can figure that out, but if it prints a
113-message saying it cannot guess the machine type, give it the
114+ There may be some features `configure' cannot figure out
115+automatically, but needs to determine by the type of machine the package
116+will run on. Usually, assuming the package is built to be run on the
117+_same_ architectures, `configure' can figure that out, but if it prints
118+a message saying it cannot guess the machine type, give it the
119 `--build=TYPE' option. TYPE can either be a short name for the system
120 type, such as `sun4', or a canonical name which has the form:
121
122@@ -171,9 +207,9 @@
123 Sharing Defaults
124 ================
125
126-If you want to set default values for `configure' scripts to share, you
127-can create a site shell script called `config.site' that gives default
128-values for variables like `CC', `cache_file', and `prefix'.
129+ If you want to set default values for `configure' scripts to share,
130+you can create a site shell script called `config.site' that gives
131+default values for variables like `CC', `cache_file', and `prefix'.
132 `configure' looks for `PREFIX/share/config.site' if it exists, then
133 `PREFIX/etc/config.site' if it exists. Or, you can set the
134 `CONFIG_SITE' environment variable to the location of the site script.
135@@ -182,7 +218,7 @@
136 Defining Variables
137 ==================
138
139-Variables not defined in a site shell script can be set in the
140+ Variables not defined in a site shell script can be set in the
141 environment passed to `configure'. However, some packages may run
142 configure again during the build, and the customized values of these
143 variables may be lost. In order to avoid this problem, you should set
144@@ -201,11 +237,19 @@
145 `configure' Invocation
146 ======================
147
148-`configure' recognizes the following options to control how it operates.
149+ `configure' recognizes the following options to control how it
150+operates.
151
152 `--help'
153 `-h'
154- Print a summary of the options to `configure', and exit.
155+ Print a summary of all of the options to `configure', and exit.
156+
157+`--help=short'
158+`--help=recursive'
159+ Print a summary of the options unique to this package's
160+ `configure', and exit. The `short' variant lists options used
161+ only in the top level, while the `recursive' variant lists options
162+ also present in any nested packages.
163
164 `--version'
165 `-V'
166@@ -232,6 +276,16 @@
167 Look for the package's source code in directory DIR. Usually
168 `configure' can determine that directory automatically.
169
170+`--prefix=DIR'
171+ Use DIR as the installation prefix. *Note Installation Names::
172+ for more details, including other options available for fine-tuning
173+ the installation locations.
174+
175+`--no-create'
176+`-n'
177+ Run the configure checks, but stop before creating any output
178+ files.
179+
180 `configure' also accepts some other, not widely useful, options. Run
181 `configure --help' for more details.
182
183
184=== modified file 'Makefile.in'
185--- Makefile.in 2010-04-05 14:23:19 +0000
186+++ Makefile.in 2010-09-27 20:46:41 +0000
187@@ -1,4 +1,4 @@
188-# Makefile.in generated by automake 1.11 from Makefile.am.
189+# Makefile.in generated by automake 1.11.1 from Makefile.am.
190 # @configure_input@
191
192 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
193@@ -201,10 +201,13 @@
194 PACKAGE_NAME = @PACKAGE_NAME@
195 PACKAGE_STRING = @PACKAGE_STRING@
196 PACKAGE_TARNAME = @PACKAGE_TARNAME@
197+PACKAGE_URL = @PACKAGE_URL@
198 PACKAGE_VERSION = @PACKAGE_VERSION@
199 PATH_SEPARATOR = @PATH_SEPARATOR@
200 PERL = @PERL@
201 PKG_CONFIG = @PKG_CONFIG@
202+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
203+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204 POFILES = @POFILES@
205 POSUB = @POSUB@
206 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
207@@ -264,7 +267,6 @@
208 libexecdir = @libexecdir@
209 localedir = @localedir@
210 localstatedir = @localstatedir@
211-lt_ECHO = @lt_ECHO@
212 mandir = @mandir@
213 mkdir_p = @mkdir_p@
214 oldincludedir = @oldincludedir@
215@@ -362,7 +364,7 @@
216 # (which will cause the Makefiles to be regenerated when you run `make');
217 # (2) otherwise, pass the desired values on the `make' command line.
218 $(RECURSIVE_TARGETS):
219- @failcom='exit 1'; \
220+ @fail= failcom='exit 1'; \
221 for f in x $$MAKEFLAGS; do \
222 case $$f in \
223 *=* | --[!k]*);; \
224@@ -387,7 +389,7 @@
225 fi; test -z "$$fail"
226
227 $(RECURSIVE_CLEAN_TARGETS):
228- @failcom='exit 1'; \
229+ @fail= failcom='exit 1'; \
230 for f in x $$MAKEFLAGS; do \
231 case $$f in \
232 *=* | --[!k]*);; \
233@@ -551,7 +553,8 @@
234 fi; \
235 done
236 -test -n "$(am__skip_mode_fix)" \
237- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
238+ || find "$(distdir)" -type d ! -perm -755 \
239+ -exec chmod u+rwx,go+rx {} \; -o \
240 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
241 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
242 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
243@@ -594,17 +597,17 @@
244 distcheck: dist
245 case '$(DIST_ARCHIVES)' in \
246 *.tar.gz*) \
247- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
248+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
249 *.tar.bz2*) \
250- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
251+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
252 *.tar.lzma*) \
253- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
254+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
255 *.tar.xz*) \
256 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
257 *.tar.Z*) \
258 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
259 *.shar.gz*) \
260- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
261+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
262 *.zip*) \
263 unzip $(distdir).zip ;;\
264 esac
265
266=== modified file 'NEWS'
267--- NEWS 2010-04-05 14:23:19 +0000
268+++ NEWS 2010-09-27 20:46:41 +0000
269@@ -1,3 +1,8 @@
270+libgnomeui 2.24.4
271+
272+* New and updated translations
273+ (ca, br, eo, et, in, ja, kk, or, pt_BR, sh, ug)
274+
275 libgnomeui 2.24.3
276
277 * Enable silent build using AM_SILENT_RULES (Christian Persch)
278
279=== modified file 'aclocal.m4'
280--- aclocal.m4 2010-04-05 14:23:19 +0000
281+++ aclocal.m4 2010-09-27 20:46:41 +0000
282@@ -1,4 +1,4 @@
283-# generated automatically by aclocal 1.11 -*- Autoconf -*-
284+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
285
286 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
287 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
288@@ -13,8 +13,8 @@
289
290 m4_ifndef([AC_AUTOCONF_VERSION],
291 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
292-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
293-[m4_warning([this file was generated for autoconf 2.63.
294+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
295+[m4_warning([this file was generated for autoconf 2.66.
296 You have another version of autoconf. It may work, but is not guaranteed to.
297 If you have problems, you may need to regenerate the build system entirely.
298 To do so, use the procedure documented by the package, typically `autoreconf'.])])
299@@ -34,7 +34,7 @@
300 [am__api_version='1.11'
301 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
302 dnl require some minimum version. Point them to the right macro.
303-m4_if([$1], [1.11], [],
304+m4_if([$1], [1.11.1], [],
305 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
306 ])
307
308@@ -50,7 +50,7 @@
309 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
310 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
311 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
312-[AM_AUTOMAKE_VERSION([1.11])dnl
313+[AM_AUTOMAKE_VERSION([1.11.1])dnl
314 m4_ifndef([AC_AUTOCONF_VERSION],
315 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
316 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
317@@ -1016,892 +1016,11 @@
318 AC_SUBST([am__untar])
319 ]) # _AM_PROG_TAR
320
321-# Copyright (C) 1995-2002 Free Software Foundation, Inc.
322-# Copyright (C) 2001-2003,2004 Red Hat, Inc.
323-#
324-# This file is free software, distributed under the terms of the GNU
325-# General Public License. As a special exception to the GNU General
326-# Public License, this file may be distributed as part of a program
327-# that contains a configuration script generated by Autoconf, under
328-# the same distribution terms as the rest of that program.
329-#
330-# This file can be copied and used freely without restrictions. It can
331-# be used in projects which are not available under the GNU Public License
332-# but which still want to provide support for the GNU gettext functionality.
333-#
334-# Macro to add for using GNU gettext.
335-# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
336-#
337-# Modified to never use included libintl.
338-# Owen Taylor <otaylor@redhat.com>, 12/15/1998
339-#
340-# Major rework to remove unused code
341-# Owen Taylor <otaylor@redhat.com>, 12/11/2002
342-#
343-# Added better handling of ALL_LINGUAS from GNU gettext version
344-# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
345-#
346-# Modified to require ngettext
347-# Matthias Clasen <mclasen@redhat.com> 08/06/2004
348-#
349-# We need this here as well, since someone might use autoconf-2.5x
350-# to configure GLib then an older version to configure a package
351-# using AM_GLIB_GNU_GETTEXT
352-AC_PREREQ(2.53)
353-
354-dnl
355-dnl We go to great lengths to make sure that aclocal won't
356-dnl try to pull in the installed version of these macros
357-dnl when running aclocal in the glib directory.
358-dnl
359-m4_copy([AC_DEFUN],[glib_DEFUN])
360-m4_copy([AC_REQUIRE],[glib_REQUIRE])
361-dnl
362-dnl At the end, if we're not within glib, we'll define the public
363-dnl definitions in terms of our private definitions.
364-dnl
365-
366-# GLIB_LC_MESSAGES
367-#--------------------
368-glib_DEFUN([GLIB_LC_MESSAGES],
369- [AC_CHECK_HEADERS([locale.h])
370- if test $ac_cv_header_locale_h = yes; then
371- AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
372- [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
373- am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
374- if test $am_cv_val_LC_MESSAGES = yes; then
375- AC_DEFINE(HAVE_LC_MESSAGES, 1,
376- [Define if your <locale.h> file defines LC_MESSAGES.])
377- fi
378- fi])
379-
380-# GLIB_PATH_PROG_WITH_TEST
381-#----------------------------
382-dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
383-dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
384-glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
385-[# Extract the first word of "$2", so it can be a program name with args.
386-set dummy $2; ac_word=[$]2
387-AC_MSG_CHECKING([for $ac_word])
388-AC_CACHE_VAL(ac_cv_path_$1,
389-[case "[$]$1" in
390- /*)
391- ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
392- ;;
393- *)
394- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
395- for ac_dir in ifelse([$5], , $PATH, [$5]); do
396- test -z "$ac_dir" && ac_dir=.
397- if test -f $ac_dir/$ac_word; then
398- if [$3]; then
399- ac_cv_path_$1="$ac_dir/$ac_word"
400- break
401- fi
402- fi
403- done
404- IFS="$ac_save_ifs"
405-dnl If no 4th arg is given, leave the cache variable unset,
406-dnl so AC_PATH_PROGS will keep looking.
407-ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
408-])dnl
409- ;;
410-esac])dnl
411-$1="$ac_cv_path_$1"
412-if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
413- AC_MSG_RESULT([$]$1)
414-else
415- AC_MSG_RESULT(no)
416-fi
417-AC_SUBST($1)dnl
418-])
419-
420-# GLIB_WITH_NLS
421-#-----------------
422-glib_DEFUN([GLIB_WITH_NLS],
423- dnl NLS is obligatory
424- [USE_NLS=yes
425- AC_SUBST(USE_NLS)
426-
427- gt_cv_have_gettext=no
428-
429- CATOBJEXT=NONE
430- XGETTEXT=:
431- INTLLIBS=
432-
433- AC_CHECK_HEADER(libintl.h,
434- [gt_cv_func_dgettext_libintl="no"
435- libintl_extra_libs=""
436-
437- #
438- # First check in libc
439- #
440- AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
441- [AC_TRY_LINK([
442-#include <libintl.h>
443-],
444- [return !ngettext ("","", 1)],
445- gt_cv_func_ngettext_libc=yes,
446- gt_cv_func_ngettext_libc=no)
447- ])
448-
449- if test "$gt_cv_func_ngettext_libc" = "yes" ; then
450- AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
451- [AC_TRY_LINK([
452-#include <libintl.h>
453-],
454- [return !dgettext ("","")],
455- gt_cv_func_dgettext_libc=yes,
456- gt_cv_func_dgettext_libc=no)
457- ])
458- fi
459-
460- if test "$gt_cv_func_ngettext_libc" = "yes" ; then
461- AC_CHECK_FUNCS(bind_textdomain_codeset)
462- fi
463-
464- #
465- # If we don't have everything we want, check in libintl
466- #
467- if test "$gt_cv_func_dgettext_libc" != "yes" \
468- || test "$gt_cv_func_ngettext_libc" != "yes" \
469- || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
470-
471- AC_CHECK_LIB(intl, bindtextdomain,
472- [AC_CHECK_LIB(intl, ngettext,
473- [AC_CHECK_LIB(intl, dgettext,
474- gt_cv_func_dgettext_libintl=yes)])])
475-
476- if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
477- AC_MSG_CHECKING([if -liconv is needed to use gettext])
478- AC_MSG_RESULT([])
479- AC_CHECK_LIB(intl, ngettext,
480- [AC_CHECK_LIB(intl, dcgettext,
481- [gt_cv_func_dgettext_libintl=yes
482- libintl_extra_libs=-liconv],
483- :,-liconv)],
484- :,-liconv)
485- fi
486-
487- #
488- # If we found libintl, then check in it for bind_textdomain_codeset();
489- # we'll prefer libc if neither have bind_textdomain_codeset(),
490- # and both have dgettext and ngettext
491- #
492- if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
493- glib_save_LIBS="$LIBS"
494- LIBS="$LIBS -lintl $libintl_extra_libs"
495- unset ac_cv_func_bind_textdomain_codeset
496- AC_CHECK_FUNCS(bind_textdomain_codeset)
497- LIBS="$glib_save_LIBS"
498-
499- if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
500- gt_cv_func_dgettext_libc=no
501- else
502- if test "$gt_cv_func_dgettext_libc" = "yes" \
503- && test "$gt_cv_func_ngettext_libc" = "yes"; then
504- gt_cv_func_dgettext_libintl=no
505- fi
506- fi
507- fi
508- fi
509-
510- if test "$gt_cv_func_dgettext_libc" = "yes" \
511- || test "$gt_cv_func_dgettext_libintl" = "yes"; then
512- gt_cv_have_gettext=yes
513- fi
514-
515- if test "$gt_cv_func_dgettext_libintl" = "yes"; then
516- INTLLIBS="-lintl $libintl_extra_libs"
517- fi
518-
519- if test "$gt_cv_have_gettext" = "yes"; then
520- AC_DEFINE(HAVE_GETTEXT,1,
521- [Define if the GNU gettext() function is already present or preinstalled.])
522- GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
523- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
524- if test "$MSGFMT" != "no"; then
525- glib_save_LIBS="$LIBS"
526- LIBS="$LIBS $INTLLIBS"
527- AC_CHECK_FUNCS(dcgettext)
528- MSGFMT_OPTS=
529- AC_MSG_CHECKING([if msgfmt accepts -c])
530- GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
531-msgid ""
532-msgstr ""
533-"Content-Type: text/plain; charset=UTF-8\n"
534-"Project-Id-Version: test 1.0\n"
535-"PO-Revision-Date: 2007-02-15 12:01+0100\n"
536-"Last-Translator: test <foo@bar.xx>\n"
537-"Language-Team: C <LL@li.org>\n"
538-"MIME-Version: 1.0\n"
539-"Content-Transfer-Encoding: 8bit\n"
540-], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
541- AC_SUBST(MSGFMT_OPTS)
542- AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
543- GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
544- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
545- AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
546- return _nl_msg_cat_cntr],
547- [CATOBJEXT=.gmo
548- DATADIRNAME=share],
549- [case $host in
550- *-*-solaris*)
551- dnl On Solaris, if bind_textdomain_codeset is in libc,
552- dnl GNU format message catalog is always supported,
553- dnl since both are added to the libc all together.
554- dnl Hence, we'd like to go with DATADIRNAME=share and
555- dnl and CATOBJEXT=.gmo in this case.
556- AC_CHECK_FUNC(bind_textdomain_codeset,
557- [CATOBJEXT=.gmo
558- DATADIRNAME=share],
559- [CATOBJEXT=.mo
560- DATADIRNAME=lib])
561- ;;
562- *)
563- CATOBJEXT=.mo
564- DATADIRNAME=lib
565- ;;
566- esac])
567- LIBS="$glib_save_LIBS"
568- INSTOBJEXT=.mo
569- else
570- gt_cv_have_gettext=no
571- fi
572- fi
573- ])
574-
575- if test "$gt_cv_have_gettext" = "yes" ; then
576- AC_DEFINE(ENABLE_NLS, 1,
577- [always defined to indicate that i18n is enabled])
578- fi
579-
580- dnl Test whether we really found GNU xgettext.
581- if test "$XGETTEXT" != ":"; then
582- dnl If it is not GNU xgettext we define it as : so that the
583- dnl Makefiles still can work.
584- if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
585- : ;
586- else
587- AC_MSG_RESULT(
588- [found xgettext program is not GNU xgettext; ignore it])
589- XGETTEXT=":"
590- fi
591- fi
592-
593- # We need to process the po/ directory.
594- POSUB=po
595-
596- AC_OUTPUT_COMMANDS(
597- [case "$CONFIG_FILES" in *po/Makefile.in*)
598- sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
599- esac])
600-
601- dnl These rules are solely for the distribution goal. While doing this
602- dnl we only have to keep exactly one list of the available catalogs
603- dnl in configure.in.
604- for lang in $ALL_LINGUAS; do
605- GMOFILES="$GMOFILES $lang.gmo"
606- POFILES="$POFILES $lang.po"
607- done
608-
609- dnl Make all variables we use known to autoconf.
610- AC_SUBST(CATALOGS)
611- AC_SUBST(CATOBJEXT)
612- AC_SUBST(DATADIRNAME)
613- AC_SUBST(GMOFILES)
614- AC_SUBST(INSTOBJEXT)
615- AC_SUBST(INTLLIBS)
616- AC_SUBST(PO_IN_DATADIR_TRUE)
617- AC_SUBST(PO_IN_DATADIR_FALSE)
618- AC_SUBST(POFILES)
619- AC_SUBST(POSUB)
620- ])
621-
622-# AM_GLIB_GNU_GETTEXT
623-# -------------------
624-# Do checks necessary for use of gettext. If a suitable implementation
625-# of gettext is found in either in libintl or in the C library,
626-# it will set INTLLIBS to the libraries needed for use of gettext
627-# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
628-# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
629-# on various variables needed by the Makefile.in.in installed by
630-# glib-gettextize.
631-dnl
632-glib_DEFUN([GLIB_GNU_GETTEXT],
633- [AC_REQUIRE([AC_PROG_CC])dnl
634- AC_REQUIRE([AC_HEADER_STDC])dnl
635-
636- GLIB_LC_MESSAGES
637- GLIB_WITH_NLS
638-
639- if test "$gt_cv_have_gettext" = "yes"; then
640- if test "x$ALL_LINGUAS" = "x"; then
641- LINGUAS=
642- else
643- AC_MSG_CHECKING(for catalogs to be installed)
644- NEW_LINGUAS=
645- for presentlang in $ALL_LINGUAS; do
646- useit=no
647- if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
648- desiredlanguages="$LINGUAS"
649- else
650- desiredlanguages="$ALL_LINGUAS"
651- fi
652- for desiredlang in $desiredlanguages; do
653- # Use the presentlang catalog if desiredlang is
654- # a. equal to presentlang, or
655- # b. a variant of presentlang (because in this case,
656- # presentlang can be used as a fallback for messages
657- # which are not translated in the desiredlang catalog).
658- case "$desiredlang" in
659- "$presentlang"*) useit=yes;;
660- esac
661- done
662- if test $useit = yes; then
663- NEW_LINGUAS="$NEW_LINGUAS $presentlang"
664- fi
665- done
666- LINGUAS=$NEW_LINGUAS
667- AC_MSG_RESULT($LINGUAS)
668- fi
669-
670- dnl Construct list of names of catalog files to be constructed.
671- if test -n "$LINGUAS"; then
672- for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
673- fi
674- fi
675-
676- dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
677- dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
678- dnl Try to locate is.
679- MKINSTALLDIRS=
680- if test -n "$ac_aux_dir"; then
681- MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
682- fi
683- if test -z "$MKINSTALLDIRS"; then
684- MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
685- fi
686- AC_SUBST(MKINSTALLDIRS)
687-
688- dnl Generate list of files to be processed by xgettext which will
689- dnl be included in po/Makefile.
690- test -d po || mkdir po
691- if test "x$srcdir" != "x."; then
692- if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
693- posrcprefix="$srcdir/"
694- else
695- posrcprefix="../$srcdir/"
696- fi
697- else
698- posrcprefix="../"
699- fi
700- rm -f po/POTFILES
701- sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
702- < $srcdir/po/POTFILES.in > po/POTFILES
703- ])
704-
705-# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
706-# -------------------------------
707-# Define VARIABLE to the location where catalog files will
708-# be installed by po/Makefile.
709-glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
710-[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
711-glib_save_prefix="$prefix"
712-glib_save_exec_prefix="$exec_prefix"
713-glib_save_datarootdir="$datarootdir"
714-test "x$prefix" = xNONE && prefix=$ac_default_prefix
715-test "x$exec_prefix" = xNONE && exec_prefix=$prefix
716-datarootdir=`eval echo "${datarootdir}"`
717-if test "x$CATOBJEXT" = "x.mo" ; then
718- localedir=`eval echo "${libdir}/locale"`
719-else
720- localedir=`eval echo "${datadir}/locale"`
721-fi
722-prefix="$glib_save_prefix"
723-exec_prefix="$glib_save_exec_prefix"
724-datarootdir="$glib_save_datarootdir"
725-AC_DEFINE_UNQUOTED($1, "$localedir",
726- [Define the location where the catalogs will be installed])
727-])
728-
729-dnl
730-dnl Now the definitions that aclocal will find
731-dnl
732-ifdef(glib_configure_in,[],[
733-AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
734-AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
735-])dnl
736-
737-# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
738-#
739-# Create a temporary file with TEST-FILE as its contents and pass the
740-# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
741-# 0 and perform ACTION-IF-FAIL for any other exit status.
742-AC_DEFUN([GLIB_RUN_PROG],
743-[cat >conftest.foo <<_ACEOF
744-$2
745-_ACEOF
746-if AC_RUN_LOG([$1 conftest.foo]); then
747- m4_ifval([$3], [$3], [:])
748-m4_ifvaln([$4], [else $4])dnl
749-echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
750-sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
751-fi])
752-
753-
754-# gnome-common.m4
755-#
756-
757-dnl GNOME_COMMON_INIT
758-
759-AC_DEFUN([GNOME_COMMON_INIT],
760-[
761- dnl this macro should come after AC_CONFIG_MACRO_DIR
762- AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
763-
764- dnl ensure that when the Automake generated makefile calls aclocal,
765- dnl it honours the $ACLOCAL_FLAGS environment variable
766- ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
767- if test -n "$ac_macro_dir"; then
768- ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
769- fi
770-
771- AC_SUBST([ACLOCAL_AMFLAGS])
772-])
773-
774-AC_DEFUN([GNOME_DEBUG_CHECK],
775-[
776- AC_ARG_ENABLE([debug],
777- AC_HELP_STRING([--enable-debug],
778- [turn on debugging]),,
779- [enable_debug=no])
780-
781- if test x$enable_debug = xyes ; then
782- AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
783- [Enable additional debugging at the expense of performance and size])
784- fi
785-])
786-
787-dnl GNOME_MAINTAINER_MODE_DEFINES ()
788-dnl define DISABLE_DEPRECATED
789-dnl
790-AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
791-[
792- AC_REQUIRE([AM_MAINTAINER_MODE])
793-
794- DISABLE_DEPRECATED=""
795- if test $USE_MAINTAINER_MODE = yes; then
796- DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
797- for DOMAIN in $DOMAINS; do
798- DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
799- done
800- fi
801-
802- AC_SUBST(DISABLE_DEPRECATED)
803-])
804-
805-dnl GNOME_COMPILE_WARNINGS
806-dnl Turn on many useful compiler warnings
807-dnl For now, only works on GCC
808-AC_DEFUN([GNOME_COMPILE_WARNINGS],[
809- dnl ******************************
810- dnl More compiler warnings
811- dnl ******************************
812-
813- AC_ARG_ENABLE(compile-warnings,
814- AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
815- [Turn on compiler warnings]),,
816- [enable_compile_warnings="m4_default([$1],[yes])"])
817-
818- warnCFLAGS=
819- if test "x$GCC" != xyes; then
820- enable_compile_warnings=no
821- fi
822-
823- warning_flags=
824- realsave_CFLAGS="$CFLAGS"
825-
826- case "$enable_compile_warnings" in
827- no)
828- warning_flags=
829- ;;
830- minimum)
831- warning_flags="-Wall"
832- ;;
833- yes)
834- warning_flags="-Wall -Wmissing-prototypes"
835- ;;
836- maximum|error)
837- warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
838- CFLAGS="$warning_flags $CFLAGS"
839- for option in -Wno-sign-compare; do
840- SAVE_CFLAGS="$CFLAGS"
841- CFLAGS="$CFLAGS $option"
842- AC_MSG_CHECKING([whether gcc understands $option])
843- AC_TRY_COMPILE([], [],
844- has_option=yes,
845- has_option=no,)
846- CFLAGS="$SAVE_CFLAGS"
847- AC_MSG_RESULT($has_option)
848- if test $has_option = yes; then
849- warning_flags="$warning_flags $option"
850- fi
851- unset has_option
852- unset SAVE_CFLAGS
853- done
854- unset option
855- if test "$enable_compile_warnings" = "error" ; then
856- warning_flags="$warning_flags -Werror"
857- fi
858- ;;
859- *)
860- AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
861- ;;
862- esac
863- CFLAGS="$realsave_CFLAGS"
864- AC_MSG_CHECKING(what warning flags to pass to the C compiler)
865- AC_MSG_RESULT($warning_flags)
866-
867- AC_ARG_ENABLE(iso-c,
868- AC_HELP_STRING([--enable-iso-c],
869- [Try to warn if code is not ISO C ]),,
870- [enable_iso_c=no])
871-
872- AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
873- complCFLAGS=
874- if test "x$enable_iso_c" != "xno"; then
875- if test "x$GCC" = "xyes"; then
876- case " $CFLAGS " in
877- *[\ \ ]-ansi[\ \ ]*) ;;
878- *) complCFLAGS="$complCFLAGS -ansi" ;;
879- esac
880- case " $CFLAGS " in
881- *[\ \ ]-pedantic[\ \ ]*) ;;
882- *) complCFLAGS="$complCFLAGS -pedantic" ;;
883- esac
884- fi
885- fi
886- AC_MSG_RESULT($complCFLAGS)
887-
888- WARN_CFLAGS="$warning_flags $complCFLAGS"
889- AC_SUBST(WARN_CFLAGS)
890-])
891-
892-dnl For C++, do basically the same thing.
893-
894-AC_DEFUN([GNOME_CXX_WARNINGS],[
895- AC_ARG_ENABLE(cxx-warnings,
896- AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
897- [Turn on compiler warnings.]),,
898- [enable_cxx_warnings="m4_default([$1],[minimum])"])
899-
900- AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
901- warnCXXFLAGS=
902- if test "x$GXX" != xyes; then
903- enable_cxx_warnings=no
904- fi
905- if test "x$enable_cxx_warnings" != "xno"; then
906- if test "x$GXX" = "xyes"; then
907- case " $CXXFLAGS " in
908- *[\ \ ]-Wall[\ \ ]*) ;;
909- *) warnCXXFLAGS="-Wall -Wno-unused" ;;
910- esac
911-
912- ## -W is not all that useful. And it cannot be controlled
913- ## with individual -Wno-xxx flags, unlike -Wall
914- if test "x$enable_cxx_warnings" = "xyes"; then
915- warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
916- fi
917- fi
918- fi
919- AC_MSG_RESULT($warnCXXFLAGS)
920-
921- AC_ARG_ENABLE(iso-cxx,
922- AC_HELP_STRING([--enable-iso-cxx],
923- [Try to warn if code is not ISO C++ ]),,
924- [enable_iso_cxx=no])
925-
926- AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
927- complCXXFLAGS=
928- if test "x$enable_iso_cxx" != "xno"; then
929- if test "x$GXX" = "xyes"; then
930- case " $CXXFLAGS " in
931- *[\ \ ]-ansi[\ \ ]*) ;;
932- *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
933- esac
934-
935- case " $CXXFLAGS " in
936- *[\ \ ]-pedantic[\ \ ]*) ;;
937- *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
938- esac
939- fi
940- fi
941- AC_MSG_RESULT($complCXXFLAGS)
942-
943- WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
944- AC_SUBST(WARN_CXXFLAGS)
945-])
946-
947-dnl -*- mode: autoconf -*-
948-
949-# serial 1
950-
951-dnl Usage:
952-dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
953-AC_DEFUN([GTK_DOC_CHECK],
954-[
955- AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
956- AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
957-
958- dnl check for tools we added during development
959- AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
960- AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
961- AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
962-
963- dnl for overriding the documentation installation directory
964- AC_ARG_WITH([html-dir],
965- AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
966- [with_html_dir='${datadir}/gtk-doc/html'])
967- HTML_DIR="$with_html_dir"
968- AC_SUBST([HTML_DIR])
969-
970- dnl enable/disable documentation building
971- AC_ARG_ENABLE([gtk-doc],
972- AS_HELP_STRING([--enable-gtk-doc],
973- [use gtk-doc to build documentation [[default=no]]]),,
974- [enable_gtk_doc=no])
975-
976- if test x$enable_gtk_doc = xyes; then
977- ifelse([$1],[],
978- [PKG_CHECK_EXISTS([gtk-doc],,
979- AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
980- [PKG_CHECK_EXISTS([gtk-doc >= $1],,
981- AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
982- fi
983-
984- AC_MSG_CHECKING([whether to build gtk-doc documentation])
985- AC_MSG_RESULT($enable_gtk_doc)
986-
987- dnl enable/disable output formats
988- AC_ARG_ENABLE([gtk-doc-html],
989- AS_HELP_STRING([--enable-gtk-doc-html],
990- [build documentation in html format [[default=yes]]]),,
991- [enable_gtk_doc_html=yes])
992- AC_ARG_ENABLE([gtk-doc-pdf],
993- AS_HELP_STRING([--enable-gtk-doc-pdf],
994- [build documentation in pdf format [[default=no]]]),,
995- [enable_gtk_doc_pdf=no])
996-
997- if test -z "$GTKDOC_MKPDF"; then
998- enable_gtk_doc_pdf=no
999- fi
1000-
1001-
1002- AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
1003- AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
1004- AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
1005- AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
1006- AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
1007-])
1008-
1009-
1010-dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
1011-# serial 40 IT_PROG_INTLTOOL
1012-AC_DEFUN([IT_PROG_INTLTOOL], [
1013-AC_PREREQ([2.50])dnl
1014-AC_REQUIRE([AM_NLS])dnl
1015-
1016-case "$am__api_version" in
1017- 1.[01234])
1018- AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
1019- ;;
1020- *)
1021- ;;
1022-esac
1023-
1024-if test -n "$1"; then
1025- AC_MSG_CHECKING([for intltool >= $1])
1026-
1027- INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1028- INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
1029- [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1030- ]
1031- AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
1032- test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
1033- AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
1034-fi
1035-
1036-AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
1037-AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
1038-AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
1039-if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
1040- AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
1041-fi
1042-
1043- INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1044-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1045- INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1046- INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1047- INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
1048- INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1049- INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1050- INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1051-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1052- INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1053- INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1054- INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
1055- INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1056- INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1057- INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1058- INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1059- INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1060- INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1061- INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
1062-
1063-_IT_SUBST(INTLTOOL_DESKTOP_RULE)
1064-_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
1065-_IT_SUBST(INTLTOOL_KEYS_RULE)
1066-_IT_SUBST(INTLTOOL_PROP_RULE)
1067-_IT_SUBST(INTLTOOL_OAF_RULE)
1068-_IT_SUBST(INTLTOOL_PONG_RULE)
1069-_IT_SUBST(INTLTOOL_SERVER_RULE)
1070-_IT_SUBST(INTLTOOL_SHEET_RULE)
1071-_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
1072-_IT_SUBST(INTLTOOL_UI_RULE)
1073-_IT_SUBST(INTLTOOL_XAM_RULE)
1074-_IT_SUBST(INTLTOOL_KBD_RULE)
1075-_IT_SUBST(INTLTOOL_XML_RULE)
1076-_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
1077-_IT_SUBST(INTLTOOL_CAVES_RULE)
1078-_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
1079-_IT_SUBST(INTLTOOL_THEME_RULE)
1080-_IT_SUBST(INTLTOOL_SERVICE_RULE)
1081-_IT_SUBST(INTLTOOL_POLICY_RULE)
1082-
1083-# Check the gettext tools to make sure they are GNU
1084-AC_PATH_PROG(XGETTEXT, xgettext)
1085-AC_PATH_PROG(MSGMERGE, msgmerge)
1086-AC_PATH_PROG(MSGFMT, msgfmt)
1087-AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
1088-if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
1089- AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
1090-fi
1091-xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
1092-mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
1093-mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
1094-if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
1095- AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
1096-fi
1097-
1098-AC_PATH_PROG(INTLTOOL_PERL, perl)
1099-if test -z "$INTLTOOL_PERL"; then
1100- AC_MSG_ERROR([perl not found])
1101-fi
1102-AC_MSG_CHECKING([for perl >= 5.8.1])
1103-$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
1104-if test $? -ne 0; then
1105- AC_MSG_ERROR([perl 5.8.1 is required for intltool])
1106-else
1107- IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
1108- AC_MSG_RESULT([$IT_PERL_VERSION])
1109-fi
1110-if test "x$2" != "xno-xml"; then
1111- AC_MSG_CHECKING([for XML::Parser])
1112- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
1113- AC_MSG_RESULT([ok])
1114- else
1115- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
1116- fi
1117-fi
1118-
1119-# Substitute ALL_LINGUAS so we can use it in po/Makefile
1120-AC_SUBST(ALL_LINGUAS)
1121-
1122-# Set DATADIRNAME correctly if it is not set yet
1123-# (copied from glib-gettext.m4)
1124-if test -z "$DATADIRNAME"; then
1125- AC_LINK_IFELSE(
1126- [AC_LANG_PROGRAM([[]],
1127- [[extern int _nl_msg_cat_cntr;
1128- return _nl_msg_cat_cntr]])],
1129- [DATADIRNAME=share],
1130- [case $host in
1131- *-*-solaris*)
1132- dnl On Solaris, if bind_textdomain_codeset is in libc,
1133- dnl GNU format message catalog is always supported,
1134- dnl since both are added to the libc all together.
1135- dnl Hence, we'd like to go with DATADIRNAME=share
1136- dnl in this case.
1137- AC_CHECK_FUNC(bind_textdomain_codeset,
1138- [DATADIRNAME=share], [DATADIRNAME=lib])
1139- ;;
1140- *)
1141- [DATADIRNAME=lib]
1142- ;;
1143- esac])
1144-fi
1145-AC_SUBST(DATADIRNAME)
1146-
1147-IT_PO_SUBDIR([po])
1148-
1149-])
1150-
1151-
1152-# IT_PO_SUBDIR(DIRNAME)
1153-# ---------------------
1154-# All po subdirs have to be declared with this macro; the subdir "po" is
1155-# declared by IT_PROG_INTLTOOL.
1156-#
1157-AC_DEFUN([IT_PO_SUBDIR],
1158-[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
1159-dnl
1160-dnl The following CONFIG_COMMANDS should be exetuted at the very end
1161-dnl of config.status.
1162-AC_CONFIG_COMMANDS_PRE([
1163- AC_CONFIG_COMMANDS([$1/stamp-it], [
1164- if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
1165- AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
1166- fi
1167- rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
1168- >"$1/stamp-it.tmp"
1169- [sed '/^#/d
1170- s/^[[].*] *//
1171- /^[ ]*$/d
1172- '"s|^| $ac_top_srcdir/|" \
1173- "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
1174- ]
1175- [sed '/^POTFILES =/,/[^\\]$/ {
1176- /^POTFILES =/!d
1177- r $1/POTFILES
1178- }
1179- ' "$1/Makefile.in" >"$1/Makefile"]
1180- rm -f "$1/Makefile.tmp"
1181- mv "$1/stamp-it.tmp" "$1/stamp-it"
1182- ])
1183-])dnl
1184-])
1185-
1186-# _IT_SUBST(VARIABLE)
1187-# -------------------
1188-# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
1189-#
1190-AC_DEFUN([_IT_SUBST],
1191-[
1192-AC_SUBST([$1])
1193-m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
1194-]
1195-)
1196-
1197-# deprecated macros
1198-AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
1199-# A hint is needed for aclocal from Automake <= 1.9.4:
1200-# AC_DEFUN([AC_PROG_INTLTOOL], ...)
1201-
1202-
1203 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1204 #
1205 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1206-# 2006, 2007, 2008 Free Software Foundation, Inc.
1207+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1208+# Inc.
1209 # Written by Gordon Matzigkeit, 1996
1210 #
1211 # This file is free software; the Free Software Foundation gives
1212@@ -1910,7 +1029,8 @@
1213
1214 m4_define([_LT_COPYING], [dnl
1215 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1216-# 2006, 2007, 2008 Free Software Foundation, Inc.
1217+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1218+# Inc.
1219 # Written by Gordon Matzigkeit, 1996
1220 #
1221 # This file is part of GNU Libtool.
1222@@ -1937,7 +1057,7 @@
1223 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1224 ])
1225
1226-# serial 56 LT_INIT
1227+# serial 57 LT_INIT
1228
1229
1230 # LT_PREREQ(VERSION)
1231@@ -1966,6 +1086,7 @@
1232 # ------------------
1233 AC_DEFUN([LT_INIT],
1234 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
1235+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
1236 AC_BEFORE([$0], [LT_LANG])dnl
1237 AC_BEFORE([$0], [LT_OUTPUT])dnl
1238 AC_BEFORE([$0], [LTDL_INIT])dnl
1239@@ -1982,6 +1103,8 @@
1240 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
1241 m4_require([_LT_PROG_LTMAIN])dnl
1242
1243+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
1244+
1245 dnl Parse OPTIONS
1246 _LT_SET_OPTIONS([$0], [$1])
1247
1248@@ -2018,7 +1141,7 @@
1249 *) break;;
1250 esac
1251 done
1252-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1253+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1254 ])
1255
1256
1257@@ -2038,6 +1161,9 @@
1258 m4_defun([_LT_SETUP],
1259 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1260 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1261+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
1262+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
1263+
1264 _LT_DECL([], [host_alias], [0], [The host system])dnl
1265 _LT_DECL([], [host], [0])dnl
1266 _LT_DECL([], [host_os], [0])dnl
1267@@ -2079,7 +1205,6 @@
1268 _LT_CHECK_OBJDIR
1269
1270 m4_require([_LT_TAG_COMPILER])dnl
1271-_LT_PROG_ECHO_BACKSLASH
1272
1273 case $host_os in
1274 aix3*)
1275@@ -2093,23 +1218,6 @@
1276 ;;
1277 esac
1278
1279-# Sed substitution that helps us do robust quoting. It backslashifies
1280-# metacharacters that are still active within double-quoted strings.
1281-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1282-
1283-# Same as above, but do not quote variable references.
1284-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1285-
1286-# Sed substitution to delay expansion of an escaped shell variable in a
1287-# double_quote_subst'ed string.
1288-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1289-
1290-# Sed substitution to delay expansion of an escaped single quote.
1291-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1292-
1293-# Sed substitution to avoid accidental globbing in evaled expressions
1294-no_glob_subst='s/\*/\\\*/g'
1295-
1296 # Global variables:
1297 ofile=libtool
1298 can_build_shared=yes
1299@@ -2150,6 +1258,28 @@
1300 ])# _LT_SETUP
1301
1302
1303+# _LT_PREPARE_SED_QUOTE_VARS
1304+# --------------------------
1305+# Define a few sed substitution that help us do robust quoting.
1306+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
1307+[# Backslashify metacharacters that are still active within
1308+# double-quoted strings.
1309+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1310+
1311+# Same as above, but do not quote variable references.
1312+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1313+
1314+# Sed substitution to delay expansion of an escaped shell variable in a
1315+# double_quote_subst'ed string.
1316+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1317+
1318+# Sed substitution to delay expansion of an escaped single quote.
1319+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1320+
1321+# Sed substitution to avoid accidental globbing in evaled expressions
1322+no_glob_subst='s/\*/\\\*/g'
1323+])
1324+
1325 # _LT_PROG_LTMAIN
1326 # ---------------
1327 # Note that this code is called both from `configure', and `config.status'
1328@@ -2302,7 +1432,7 @@
1329 # declaration there will have the same value as in `configure'. VARNAME
1330 # must have a single quote delimited value for this to work.
1331 m4_define([_LT_CONFIG_STATUS_DECLARE],
1332-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
1333+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
1334
1335
1336 # _LT_CONFIG_STATUS_DECLARATIONS
1337@@ -2312,7 +1442,7 @@
1338 # embedded single quotes properly. In configure, this macro expands
1339 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
1340 #
1341-# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1342+# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
1343 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
1344 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
1345 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
1346@@ -2411,12 +1541,20 @@
1347 LTCFLAGS='$LTCFLAGS'
1348 compiler='$compiler_DEFAULT'
1349
1350+# A function that is used when there is no print builtin or printf.
1351+func_fallback_echo ()
1352+{
1353+ eval 'cat <<_LTECHO_EOF
1354+\$[]1
1355+_LTECHO_EOF'
1356+}
1357+
1358 # Quote evaled strings.
1359 for var in lt_decl_all_varnames([[ \
1360 ]], lt_decl_quote_varnames); do
1361- case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1362+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1363 *[[\\\\\\\`\\"\\\$]]*)
1364- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1365+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1366 ;;
1367 *)
1368 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1369@@ -2427,9 +1565,9 @@
1370 # Double-quote double-evaled strings.
1371 for var in lt_decl_all_varnames([[ \
1372 ]], lt_decl_dquote_varnames); do
1373- case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1374+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1375 *[[\\\\\\\`\\"\\\$]]*)
1376- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1377+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1378 ;;
1379 *)
1380 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1381@@ -2437,16 +1575,38 @@
1382 esac
1383 done
1384
1385-# Fix-up fallback echo if it was mangled by the above quoting rules.
1386-case \$lt_ECHO in
1387-*'\\\[$]0 --fallback-echo"')dnl "
1388- lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
1389- ;;
1390-esac
1391-
1392 _LT_OUTPUT_LIBTOOL_INIT
1393 ])
1394
1395+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
1396+# ------------------------------------
1397+# Generate a child script FILE with all initialization necessary to
1398+# reuse the environment learned by the parent script, and make the
1399+# file executable. If COMMENT is supplied, it is inserted after the
1400+# `#!' sequence but before initialization text begins. After this
1401+# macro, additional text can be appended to FILE to form the body of
1402+# the child script. The macro ends with non-zero status if the
1403+# file could not be fully written (such as if the disk is full).
1404+m4_ifdef([AS_INIT_GENERATED],
1405+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
1406+[m4_defun([_LT_GENERATED_FILE_INIT],
1407+[m4_require([AS_PREPARE])]dnl
1408+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
1409+[lt_write_fail=0
1410+cat >$1 <<_ASEOF || lt_write_fail=1
1411+#! $SHELL
1412+# Generated by $as_me.
1413+$2
1414+SHELL=\${CONFIG_SHELL-$SHELL}
1415+export SHELL
1416+_ASEOF
1417+cat >>$1 <<\_ASEOF || lt_write_fail=1
1418+AS_SHELL_SANITIZE
1419+_AS_PREPARE
1420+exec AS_MESSAGE_FD>&1
1421+_ASEOF
1422+test $lt_write_fail = 0 && chmod +x $1[]dnl
1423+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
1424
1425 # LT_OUTPUT
1426 # ---------
1427@@ -2456,20 +1616,11 @@
1428 AC_DEFUN([LT_OUTPUT],
1429 [: ${CONFIG_LT=./config.lt}
1430 AC_MSG_NOTICE([creating $CONFIG_LT])
1431-cat >"$CONFIG_LT" <<_LTEOF
1432-#! $SHELL
1433-# Generated by $as_me.
1434-# Run this file to recreate a libtool stub with the current configuration.
1435+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
1436+[# Run this file to recreate a libtool stub with the current configuration.])
1437
1438+cat >>"$CONFIG_LT" <<\_LTEOF
1439 lt_cl_silent=false
1440-SHELL=\${CONFIG_SHELL-$SHELL}
1441-_LTEOF
1442-
1443-cat >>"$CONFIG_LT" <<\_LTEOF
1444-AS_SHELL_SANITIZE
1445-_AS_PREPARE
1446-
1447-exec AS_MESSAGE_FD>&1
1448 exec AS_MESSAGE_LOG_FD>>config.log
1449 {
1450 echo
1451@@ -2495,7 +1646,7 @@
1452 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1453 configured by $[0], generated by m4_PACKAGE_STRING.
1454
1455-Copyright (C) 2008 Free Software Foundation, Inc.
1456+Copyright (C) 2010 Free Software Foundation, Inc.
1457 This config.lt script is free software; the Free Software Foundation
1458 gives unlimited permision to copy, distribute and modify it."
1459
1460@@ -2540,15 +1691,13 @@
1461 # appending to config.log, which fails on DOS, as config.log is still kept
1462 # open by configure. Here we exec the FD to /dev/null, effectively closing
1463 # config.log, so it can be properly (re)opened and appended to by config.lt.
1464-if test "$no_create" != yes; then
1465- lt_cl_success=:
1466- test "$silent" = yes &&
1467- lt_config_lt_args="$lt_config_lt_args --quiet"
1468- exec AS_MESSAGE_LOG_FD>/dev/null
1469- $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1470- exec AS_MESSAGE_LOG_FD>>config.log
1471- $lt_cl_success || AS_EXIT(1)
1472-fi
1473+lt_cl_success=:
1474+test "$silent" = yes &&
1475+ lt_config_lt_args="$lt_config_lt_args --quiet"
1476+exec AS_MESSAGE_LOG_FD>/dev/null
1477+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1478+exec AS_MESSAGE_LOG_FD>>config.log
1479+$lt_cl_success || AS_EXIT(1)
1480 ])# LT_OUTPUT
1481
1482
1483@@ -2725,11 +1874,13 @@
1484 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1485 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1486 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1487+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
1488 dnl aclocal-1.4 backwards compatibility:
1489 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
1490 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
1491 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
1492 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
1493+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
1494
1495
1496 # _LT_TAG_COMPILER
1497@@ -2834,6 +1985,31 @@
1498 [lt_cv_ld_exported_symbols_list=no])
1499 LDFLAGS="$save_LDFLAGS"
1500 ])
1501+ AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1502+ [lt_cv_ld_force_load=no
1503+ cat > conftest.c << _LT_EOF
1504+int forced_loaded() { return 2;}
1505+_LT_EOF
1506+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1507+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1508+ echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1509+ $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1510+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1511+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1512+ cat > conftest.c << _LT_EOF
1513+int main() { return 0;}
1514+_LT_EOF
1515+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1516+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1517+ _lt_result=$?
1518+ if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1519+ lt_cv_ld_force_load=yes
1520+ else
1521+ cat conftest.err >&AS_MESSAGE_LOG_FD
1522+ fi
1523+ rm -f conftest.err libconftest.a conftest conftest.c
1524+ rm -rf conftest.dSYM
1525+ ])
1526 case $host_os in
1527 rhapsody* | darwin1.[[012]])
1528 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1529@@ -2861,7 +2037,7 @@
1530 else
1531 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1532 fi
1533- if test "$DSYMUTIL" != ":"; then
1534+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1535 _lt_dsymutil='~$DSYMUTIL $lib || :'
1536 else
1537 _lt_dsymutil=
1538@@ -2881,7 +2057,11 @@
1539 _LT_TAGVAR(hardcode_direct, $1)=no
1540 _LT_TAGVAR(hardcode_automatic, $1)=yes
1541 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1542- _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1543+ if test "$lt_cv_ld_force_load" = "yes"; then
1544+ _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1545+ else
1546+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1547+ fi
1548 _LT_TAGVAR(link_all_deplibs, $1)=yes
1549 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1550 case $cc_basename in
1551@@ -2889,7 +2069,7 @@
1552 *) _lt_dar_can_shared=$GCC ;;
1553 esac
1554 if test "$_lt_dar_can_shared" = "yes"; then
1555- output_verbose_link_cmd=echo
1556+ output_verbose_link_cmd=func_echo_all
1557 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1558 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1559 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1560@@ -2935,170 +2115,65 @@
1561 # _LT_SHELL_INIT(ARG)
1562 # -------------------
1563 m4_define([_LT_SHELL_INIT],
1564-[ifdef([AC_DIVERSION_NOTICE],
1565- [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1566- [AC_DIVERT_PUSH(NOTICE)])
1567-$1
1568-AC_DIVERT_POP
1569-])# _LT_SHELL_INIT
1570+[m4_divert_text([M4SH-INIT], [$1
1571+])])# _LT_SHELL_INIT
1572+
1573
1574
1575 # _LT_PROG_ECHO_BACKSLASH
1576 # -----------------------
1577-# Add some code to the start of the generated configure script which
1578-# will find an echo command which doesn't interpret backslashes.
1579+# Find how we can fake an echo command that does not interpret backslash.
1580+# In particular, with Autoconf 2.60 or later we add some code to the start
1581+# of the generated configure script which will find a shell with a builtin
1582+# printf (which we can use as an echo command).
1583 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1584-[_LT_SHELL_INIT([
1585-# Check that we are running under the correct shell.
1586-SHELL=${CONFIG_SHELL-/bin/sh}
1587-
1588-case X$lt_ECHO in
1589-X*--fallback-echo)
1590- # Remove one level of quotation (which was required for Make).
1591- ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1592- ;;
1593+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1594+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1595+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1596+
1597+AC_MSG_CHECKING([how to print strings])
1598+# Test print first, because it will be a builtin if present.
1599+if test "X`print -r -- -n 2>/dev/null`" = X-n && \
1600+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1601+ ECHO='print -r --'
1602+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1603+ ECHO='printf %s\n'
1604+else
1605+ # Use this function as a fallback that always works.
1606+ func_fallback_echo ()
1607+ {
1608+ eval 'cat <<_LTECHO_EOF
1609+$[]1
1610+_LTECHO_EOF'
1611+ }
1612+ ECHO='func_fallback_echo'
1613+fi
1614+
1615+# func_echo_all arg...
1616+# Invoke $ECHO with all args, space-separated.
1617+func_echo_all ()
1618+{
1619+ $ECHO "$*"
1620+}
1621+
1622+case "$ECHO" in
1623+ printf*) AC_MSG_RESULT([printf]) ;;
1624+ print*) AC_MSG_RESULT([print -r]) ;;
1625+ *) AC_MSG_RESULT([cat]) ;;
1626 esac
1627
1628-ECHO=${lt_ECHO-echo}
1629-if test "X[$]1" = X--no-reexec; then
1630- # Discard the --no-reexec flag, and continue.
1631- shift
1632-elif test "X[$]1" = X--fallback-echo; then
1633- # Avoid inline document here, it may be left over
1634- :
1635-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1636- # Yippee, $ECHO works!
1637- :
1638-else
1639- # Restart under the correct shell.
1640- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1641-fi
1642-
1643-if test "X[$]1" = X--fallback-echo; then
1644- # used as fallback echo
1645- shift
1646- cat <<_LT_EOF
1647-[$]*
1648-_LT_EOF
1649- exit 0
1650-fi
1651-
1652-# The HP-UX ksh and POSIX shell print the target directory to stdout
1653-# if CDPATH is set.
1654-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1655-
1656-if test -z "$lt_ECHO"; then
1657- if test "X${echo_test_string+set}" != Xset; then
1658- # find a string as large as possible, as long as the shell can cope with it
1659- for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1660- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1661- if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1662- { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1663- then
1664- break
1665- fi
1666- done
1667- fi
1668-
1669- if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1670- echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1671- test "X$echo_testing_string" = "X$echo_test_string"; then
1672- :
1673- else
1674- # The Solaris, AIX, and Digital Unix default echo programs unquote
1675- # backslashes. This makes it impossible to quote backslashes using
1676- # echo "$something" | sed 's/\\/\\\\/g'
1677- #
1678- # So, first we look for a working echo in the user's PATH.
1679-
1680- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1681- for dir in $PATH /usr/ucb; do
1682- IFS="$lt_save_ifs"
1683- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1684- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1685- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1686- test "X$echo_testing_string" = "X$echo_test_string"; then
1687- ECHO="$dir/echo"
1688- break
1689- fi
1690- done
1691- IFS="$lt_save_ifs"
1692-
1693- if test "X$ECHO" = Xecho; then
1694- # We didn't find a better echo, so look for alternatives.
1695- if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1696- echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1697- test "X$echo_testing_string" = "X$echo_test_string"; then
1698- # This shell has a builtin print -r that does the trick.
1699- ECHO='print -r'
1700- elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1701- test "X$CONFIG_SHELL" != X/bin/ksh; then
1702- # If we have ksh, try running configure again with it.
1703- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1704- export ORIGINAL_CONFIG_SHELL
1705- CONFIG_SHELL=/bin/ksh
1706- export CONFIG_SHELL
1707- exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1708- else
1709- # Try using printf.
1710- ECHO='printf %s\n'
1711- if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1712- echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1713- test "X$echo_testing_string" = "X$echo_test_string"; then
1714- # Cool, printf works
1715- :
1716- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1717- test "X$echo_testing_string" = 'X\t' &&
1718- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1719- test "X$echo_testing_string" = "X$echo_test_string"; then
1720- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1721- export CONFIG_SHELL
1722- SHELL="$CONFIG_SHELL"
1723- export SHELL
1724- ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1725- elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1726- test "X$echo_testing_string" = 'X\t' &&
1727- echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1728- test "X$echo_testing_string" = "X$echo_test_string"; then
1729- ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1730- else
1731- # maybe with a smaller string...
1732- prev=:
1733-
1734- for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1735- if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1736- then
1737- break
1738- fi
1739- prev="$cmd"
1740- done
1741-
1742- if test "$prev" != 'sed 50q "[$]0"'; then
1743- echo_test_string=`eval $prev`
1744- export echo_test_string
1745- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1746- else
1747- # Oops. We lost completely, so just stick with echo.
1748- ECHO=echo
1749- fi
1750- fi
1751- fi
1752- fi
1753- fi
1754-fi
1755-
1756-# Copy echo and quote the copy suitably for passing to libtool from
1757-# the Makefile, instead of quoting the original, which is used later.
1758-lt_ECHO=$ECHO
1759-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1760- lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1761-fi
1762-
1763-AC_SUBST(lt_ECHO)
1764-])
1765+m4_ifdef([_AS_DETECT_SUGGESTED],
1766+[_AS_DETECT_SUGGESTED([
1767+ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1768+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1769+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1770+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1771+ PATH=/empty FPATH=/empty; export PATH FPATH
1772+ test "X`printf %s $ECHO`" = "X$ECHO" \
1773+ || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1774+
1775 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1776-_LT_DECL([], [ECHO], [1],
1777- [An echo program that does not interpret backslashes])
1778+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1779 ])# _LT_PROG_ECHO_BACKSLASH
1780
1781
1782@@ -3130,7 +2205,7 @@
1783 ;;
1784 *-*-irix6*)
1785 # Find out which ABI we are using.
1786- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1787+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1788 if AC_TRY_EVAL(ac_compile); then
1789 if test "$lt_cv_prog_gnu_ld" = yes; then
1790 case `/usr/bin/file conftest.$ac_objext` in
1791@@ -3282,10 +2357,19 @@
1792 esac
1793 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1794 fi
1795+
1796+case $host_os in
1797+ darwin*)
1798+ lock_old_archive_extraction=yes ;;
1799+ *)
1800+ lock_old_archive_extraction=no ;;
1801+esac
1802 _LT_DECL([], [old_postinstall_cmds], [2])
1803 _LT_DECL([], [old_postuninstall_cmds], [2])
1804 _LT_TAGDECL([], [old_archive_cmds], [2],
1805 [Commands used to build an old-style archive])
1806+_LT_DECL([], [lock_old_archive_extraction], [0],
1807+ [Whether to use a lock for old archive extraction])
1808 ])# _LT_CMD_OLD_ARCHIVE
1809
1810
1811@@ -3310,15 +2394,15 @@
1812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1813 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1814 -e 's:$: $lt_compiler_flag:'`
1815- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1816+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1817 (eval "$lt_compile" 2>conftest.err)
1818 ac_status=$?
1819 cat conftest.err >&AS_MESSAGE_LOG_FD
1820- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1821+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1822 if (exit $ac_status) && test -s "$ac_outfile"; then
1823 # The compiler can only warn and ignore the option if not recognized
1824 # So say no if there are warnings other than the usual output.
1825- $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1826+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1828 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1829 $2=yes
1830@@ -3358,7 +2442,7 @@
1831 if test -s conftest.err; then
1832 # Append any errors to the config.log.
1833 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1834- $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1835+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1836 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1837 if diff conftest.exp conftest.er2 >/dev/null; then
1838 $2=yes
1839@@ -3421,6 +2505,11 @@
1840 lt_cv_sys_max_cmd_len=8192;
1841 ;;
1842
1843+ mint*)
1844+ # On MiNT this can take a long time and run out of memory.
1845+ lt_cv_sys_max_cmd_len=8192;
1846+ ;;
1847+
1848 amigaos*)
1849 # On AmigaOS with pdksh, this test takes hours, literally.
1850 # So we just punt and use a minimum line length of 8192.
1851@@ -3485,8 +2574,8 @@
1852 # If test is not a shell built-in, we'll probably end up computing a
1853 # maximum length that is only half of the actual maximum length, but
1854 # we can't tell.
1855- while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
1856- = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
1857+ while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
1858+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1859 test $i != 17 # 1/2 MB should be enough
1860 do
1861 i=`expr $i + 1`
1862@@ -3537,7 +2626,7 @@
1863 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1864 lt_status=$lt_dlunknown
1865 cat > conftest.$ac_ext <<_LT_EOF
1866-[#line __oline__ "configure"
1867+[#line $LINENO "configure"
1868 #include "confdefs.h"
1869
1870 #if HAVE_DLFCN_H
1871@@ -3578,7 +2667,13 @@
1872 # endif
1873 #endif
1874
1875-void fnord() { int i=42;}
1876+/* When -fvisbility=hidden is used, assume the code has been annotated
1877+ correspondingly for the symbols needed. */
1878+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1879+void fnord () __attribute__((visibility("default")));
1880+#endif
1881+
1882+void fnord () { int i=42; }
1883 int main ()
1884 {
1885 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1886@@ -3587,7 +2682,11 @@
1887 if (self)
1888 {
1889 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1890- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1891+ else
1892+ {
1893+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1894+ else puts (dlerror ());
1895+ }
1896 /* dlclose (self); */
1897 }
1898 else
1899@@ -3763,16 +2862,16 @@
1900 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1901 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1902 -e 's:$: $lt_compiler_flag:'`
1903- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1904+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1905 (eval "$lt_compile" 2>out/conftest.err)
1906 ac_status=$?
1907 cat out/conftest.err >&AS_MESSAGE_LOG_FD
1908- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1909+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1910 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1911 then
1912 # The compiler can only warn and ignore the option if not recognized
1913 # So say no if there are warnings
1914- $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1915+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1916 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1917 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1918 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1919@@ -3931,6 +3030,7 @@
1920 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1921 m4_require([_LT_DECL_OBJDUMP])dnl
1922 m4_require([_LT_DECL_SED])dnl
1923+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
1924 AC_MSG_CHECKING([dynamic linker characteristics])
1925 m4_if([$1],
1926 [], [
1927@@ -3939,16 +3039,23 @@
1928 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1929 *) lt_awk_arg="/^libraries:/" ;;
1930 esac
1931- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1932- if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
1933+ case $host_os in
1934+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
1935+ *) lt_sed_strip_eq="s,=/,/,g" ;;
1936+ esac
1937+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
1938+ case $lt_search_path_spec in
1939+ *\;*)
1940 # if the path contains ";" then we assume it to be the separator
1941 # otherwise default to the standard path separator (i.e. ":") - it is
1942 # assumed that no part of a normal pathname contains ";" but that should
1943 # okay in the real world where ";" in dirpaths is itself problematic.
1944- lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1945- else
1946- lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1947- fi
1948+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
1949+ ;;
1950+ *)
1951+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
1952+ ;;
1953+ esac
1954 # Ok, now we have the path, separated by spaces, we can step through it
1955 # and add multilib dir if necessary.
1956 lt_tmp_lt_search_path_spec=
1957@@ -3961,7 +3068,7 @@
1958 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1959 fi
1960 done
1961- lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
1962+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1963 BEGIN {RS=" "; FS="/|\n";} {
1964 lt_foo="";
1965 lt_count=0;
1966@@ -3981,7 +3088,13 @@
1967 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1968 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1969 }'`
1970- sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
1971+ # AWK program above erroneously prepends '/' to C:/dos/paths
1972+ # for these hosts.
1973+ case $host_os in
1974+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
1975+ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
1976+ esac
1977+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1978 else
1979 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1980 fi])
1981@@ -4069,7 +3182,7 @@
1982 m68k)
1983 library_names_spec='$libname.ixlibrary $libname.a'
1984 # Create ${libname}_ixlibrary.a entries in /sys/libs.
1985- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1986+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1987 ;;
1988 esac
1989 ;;
1990@@ -4122,23 +3235,12 @@
1991 cygwin*)
1992 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1993 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1994- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1995+m4_if([$1], [],[
1996+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
1997 ;;
1998 mingw* | cegcc*)
1999 # MinGW DLLs use traditional 'lib' prefix
2000 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2001- sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2002- if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2003- # It is most probably a Windows format PATH printed by
2004- # mingw gcc, but we are running on Cygwin. Gcc prints its search
2005- # path with ; separators, and with drive letters. We can handle the
2006- # drive letters (cygwin fileutils understands them), so leave them,
2007- # especially as we might pass files found there to a mingw objdump,
2008- # which wouldn't understand a cygwinified path. Ahh.
2009- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2010- else
2011- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2012- fi
2013 ;;
2014 pw32*)
2015 # pw32 DLLs use 'pw' prefix rather than 'lib'
2016@@ -4238,6 +3340,19 @@
2017 hardcode_into_libs=yes
2018 ;;
2019
2020+haiku*)
2021+ version_type=linux
2022+ need_lib_prefix=no
2023+ need_version=no
2024+ dynamic_linker="$host_os runtime_loader"
2025+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2026+ soname_spec='${libname}${release}${shared_ext}$major'
2027+ shlibpath_var=LIBRARY_PATH
2028+ shlibpath_overrides_runpath=yes
2029+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
2030+ hardcode_into_libs=yes
2031+ ;;
2032+
2033 hpux9* | hpux10* | hpux11*)
2034 # Give a soname corresponding to the major version so that dld.sl refuses to
2035 # link against other versions.
2036@@ -4280,8 +3395,10 @@
2037 soname_spec='${libname}${release}${shared_ext}$major'
2038 ;;
2039 esac
2040- # HP-UX runs *really* slowly unless shared libraries are mode 555.
2041+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2042 postinstall_cmds='chmod 555 $lib'
2043+ # or fails outright, so override atomically:
2044+ install_override_mode=555
2045 ;;
2046
2047 interix[[3-9]]*)
2048@@ -4339,7 +3456,7 @@
2049 ;;
2050
2051 # This must be Linux ELF.
2052-linux* | k*bsd*-gnu)
2053+linux* | k*bsd*-gnu | kopensolaris*-gnu)
2054 version_type=linux
2055 need_lib_prefix=no
2056 need_version=no
2057@@ -4348,26 +3465,35 @@
2058 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2059 shlibpath_var=LD_LIBRARY_PATH
2060 shlibpath_overrides_runpath=no
2061+
2062 # Some binutils ld are patched to set DT_RUNPATH
2063- save_LDFLAGS=$LDFLAGS
2064- save_libdir=$libdir
2065- eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2066- LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2067- AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2068- [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2069- [shlibpath_overrides_runpath=yes])])
2070- LDFLAGS=$save_LDFLAGS
2071- libdir=$save_libdir
2072+ AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2073+ [lt_cv_shlibpath_overrides_runpath=no
2074+ save_LDFLAGS=$LDFLAGS
2075+ save_libdir=$libdir
2076+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2077+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2078+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2079+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2080+ [lt_cv_shlibpath_overrides_runpath=yes])])
2081+ LDFLAGS=$save_LDFLAGS
2082+ libdir=$save_libdir
2083+ ])
2084+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
2085
2086 # This implies no fast_install, which is unacceptable.
2087 # Some rework will be needed to allow for fast_install
2088 # before this can be enabled.
2089 hardcode_into_libs=yes
2090
2091+ # Add ABI-specific directories to the system library path.
2092+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2093+
2094 # Append ld.so.conf contents to the search path
2095 if test -f /etc/ld.so.conf; then
2096- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2097- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2098+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2099+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2100+
2101 fi
2102
2103 # We used to test for /lib/ld.so.1 and disable shared libraries on
2104@@ -4599,6 +3725,8 @@
2105 The last name is the one that the linker finds with -lNAME]])
2106 _LT_DECL([], [soname_spec], [1],
2107 [[The coded name of the library, if different from the real name]])
2108+_LT_DECL([], [install_override_mode], [1],
2109+ [Permission mode override for installation of shared libraries])
2110 _LT_DECL([], [postinstall_cmds], [2],
2111 [Command to use after installation of a shared archive])
2112 _LT_DECL([], [postuninstall_cmds], [2],
2113@@ -4711,6 +3839,7 @@
2114 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2115 m4_require([_LT_DECL_SED])dnl
2116 m4_require([_LT_DECL_EGREP])dnl
2117+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
2118
2119 AC_ARG_WITH([gnu-ld],
2120 [AS_HELP_STRING([--with-gnu-ld],
2121@@ -4840,8 +3969,8 @@
2122 fi
2123 ;;
2124 esac
2125-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
2126-_LT_DECL([], [reload_cmds], [2])dnl
2127+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
2128+_LT_TAGDECL([], [reload_cmds], [2])dnl
2129 ])# _LT_CMD_RELOAD
2130
2131
2132@@ -4893,16 +4022,18 @@
2133 # Base MSYS/MinGW do not provide the 'file' command needed by
2134 # func_win32_libid shell function, so use a weaker test based on 'objdump',
2135 # unless we find 'file', for example because we are cross-compiling.
2136- if ( file / ) >/dev/null 2>&1; then
2137+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
2138+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
2139 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2140 lt_cv_file_magic_cmd='func_win32_libid'
2141 else
2142- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2143+ # Keep this pattern in sync with the one in func_win32_libid.
2144+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
2145 lt_cv_file_magic_cmd='$OBJDUMP -f'
2146 fi
2147 ;;
2148
2149-cegcc)
2150+cegcc*)
2151 # use the weaker test based on 'objdump'. See mingw*.
2152 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
2153 lt_cv_file_magic_cmd='$OBJDUMP -f'
2154@@ -4932,6 +4063,10 @@
2155 lt_cv_deplibs_check_method=pass_all
2156 ;;
2157
2158+haiku*)
2159+ lt_cv_deplibs_check_method=pass_all
2160+ ;;
2161+
2162 hpux10.20* | hpux11*)
2163 lt_cv_file_magic_cmd=/usr/bin/file
2164 case $host_cpu in
2165@@ -4940,11 +4075,11 @@
2166 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2167 ;;
2168 hppa*64*)
2169- [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
2170+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
2171 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
2172 ;;
2173 *)
2174- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
2175+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
2176 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2177 ;;
2178 esac
2179@@ -4966,7 +4101,7 @@
2180 ;;
2181
2182 # This must be Linux ELF.
2183-linux* | k*bsd*-gnu)
2184+linux* | k*bsd*-gnu | kopensolaris*-gnu)
2185 lt_cv_deplibs_check_method=pass_all
2186 ;;
2187
2188@@ -5108,7 +4243,19 @@
2189 NM="$lt_cv_path_NM"
2190 else
2191 # Didn't find any BSD compatible name lister, look for dumpbin.
2192- AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
2193+ if test -n "$DUMPBIN"; then :
2194+ # Let the user override the test.
2195+ else
2196+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
2197+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
2198+ *COFF*)
2199+ DUMPBIN="$DUMPBIN -symbols"
2200+ ;;
2201+ *)
2202+ DUMPBIN=:
2203+ ;;
2204+ esac
2205+ fi
2206 AC_SUBST([DUMPBIN])
2207 if test "$DUMPBIN" != ":"; then
2208 NM="$DUMPBIN"
2209@@ -5121,13 +4268,13 @@
2210 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
2211 [lt_cv_nm_interface="BSD nm"
2212 echo "int some_variable = 0;" > conftest.$ac_ext
2213- (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
2214+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
2215 (eval "$ac_compile" 2>conftest.err)
2216 cat conftest.err >&AS_MESSAGE_LOG_FD
2217- (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
2218+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
2219 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
2220 cat conftest.err >&AS_MESSAGE_LOG_FD
2221- (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
2222+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
2223 cat conftest.out >&AS_MESSAGE_LOG_FD
2224 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
2225 lt_cv_nm_interface="MS dumpbin"
2226@@ -5150,7 +4297,7 @@
2227 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2228 LIBM=
2229 case $host in
2230-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2231+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
2232 # These system don't have libm, or don't need it
2233 ;;
2234 *-ncr-sysv4.3*)
2235@@ -5178,7 +4325,12 @@
2236 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
2237
2238 if test "$GCC" = yes; then
2239- _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
2240+ case $cc_basename in
2241+ nvcc*)
2242+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
2243+ *)
2244+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
2245+ esac
2246
2247 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
2248 lt_cv_prog_compiler_rtti_exceptions,
2249@@ -5195,6 +4347,7 @@
2250 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
2251 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2252 AC_REQUIRE([AC_PROG_CC])dnl
2253+AC_REQUIRE([AC_PROG_AWK])dnl
2254 AC_REQUIRE([LT_PATH_NM])dnl
2255 AC_REQUIRE([LT_PATH_LD])dnl
2256 m4_require([_LT_DECL_SED])dnl
2257@@ -5320,7 +4473,7 @@
2258 if AC_TRY_EVAL(ac_compile); then
2259 # Now try to grab the symbols.
2260 nlist=conftest.nm
2261- if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
2262+ if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
2263 # Try sorting and uniquifying the output.
2264 if sort "$nlist" | uniq > "$nlist"T; then
2265 mv -f "$nlist"T "$nlist"
2266@@ -5482,6 +4635,11 @@
2267 # DJGPP does not support shared libraries at all
2268 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
2269 ;;
2270+ haiku*)
2271+ # PIC is the default for Haiku.
2272+ # The "-static" flag exists, but is broken.
2273+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
2274+ ;;
2275 interix[[3-9]]*)
2276 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2277 # Instead, we relocate shared libraries at runtime.
2278@@ -5587,7 +4745,7 @@
2279 ;;
2280 esac
2281 ;;
2282- linux* | k*bsd*-gnu)
2283+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
2284 case $cc_basename in
2285 KCC*)
2286 # KAI C++ Compiler
2287@@ -5620,8 +4778,8 @@
2288 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
2289 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2290 ;;
2291- xlc* | xlC*)
2292- # IBM XL 8.0 on PPC
2293+ xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
2294+ # IBM XL 8.0, 9.0 on PPC and BlueGene
2295 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2296 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
2297 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
2298@@ -5683,7 +4841,7 @@
2299 ;;
2300 solaris*)
2301 case $cc_basename in
2302- CC*)
2303+ CC* | sunCC*)
2304 # Sun C++ 4.2, 5.x and Centerline C++
2305 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2306 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2307@@ -5787,6 +4945,12 @@
2308 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
2309 ;;
2310
2311+ haiku*)
2312+ # PIC is the default for Haiku.
2313+ # The "-static" flag exists, but is broken.
2314+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
2315+ ;;
2316+
2317 hpux*)
2318 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
2319 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
2320@@ -5829,6 +4993,13 @@
2321 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
2322 ;;
2323 esac
2324+
2325+ case $cc_basename in
2326+ nvcc*) # Cuda Compiler Driver 2.2
2327+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
2328+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
2329+ ;;
2330+ esac
2331 else
2332 # PORTME Check for flag to pass linker flags through the system compiler.
2333 case $host_os in
2334@@ -5871,7 +5042,7 @@
2335 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2336 ;;
2337
2338- linux* | k*bsd*-gnu)
2339+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
2340 case $cc_basename in
2341 # old Intel for x86_64 which still supported -KPIC.
2342 ecc*)
2343@@ -5892,7 +5063,7 @@
2344 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
2345 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
2346 ;;
2347- pgcc* | pgf77* | pgf90* | pgf95*)
2348+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
2349 # Portland Group compilers (*not* the Pentium gcc compiler,
2350 # which looks to be a dead project)
2351 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2352@@ -5904,26 +5075,26 @@
2353 # All Alpha code is PIC.
2354 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2355 ;;
2356- xl*)
2357- # IBM XL C 8.0/Fortran 10.1 on PPC
2358+ xl* | bgxl* | bgf* | mpixl*)
2359+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
2360 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2361 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
2362 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
2363 ;;
2364 *)
2365 case `$CC -V 2>&1 | sed 5q` in
2366+ *Sun\ F* | *Sun*Fortran*)
2367+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
2368+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2369+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2370+ _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
2371+ ;;
2372 *Sun\ C*)
2373 # Sun C 5.9
2374 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2375 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2376 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2377 ;;
2378- *Sun\ F*)
2379- # Sun Fortran 8.3 passes all unrecognized flags to the linker
2380- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2381- _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2382- _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
2383- ;;
2384 esac
2385 ;;
2386 esac
2387@@ -5954,7 +5125,7 @@
2388 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2389 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2390 case $cc_basename in
2391- f77* | f90* | f95*)
2392+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
2393 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
2394 *)
2395 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
2396@@ -6064,8 +5235,10 @@
2397 aix[[4-9]]*)
2398 # If we're using GNU nm, then we don't want the "-C" option.
2399 # -C means demangle to AIX nm, but means don't demangle with GNU nm
2400+ # Also, AIX nm treats weak defined symbols like other global defined
2401+ # symbols, whereas GNU nm marks them as "W".
2402 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
2403- _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
2404+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
2405 else
2406 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
2407 fi
2408@@ -6143,7 +5316,33 @@
2409 esac
2410
2411 _LT_TAGVAR(ld_shlibs, $1)=yes
2412+
2413+ # On some targets, GNU ld is compatible enough with the native linker
2414+ # that we're better off using the native interface for both.
2415+ lt_use_gnu_ld_interface=no
2416 if test "$with_gnu_ld" = yes; then
2417+ case $host_os in
2418+ aix*)
2419+ # The AIX port of GNU ld has always aspired to compatibility
2420+ # with the native linker. However, as the warning in the GNU ld
2421+ # block says, versions before 2.19.5* couldn't really create working
2422+ # shared libraries, regardless of the interface used.
2423+ case `$LD -v 2>&1` in
2424+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
2425+ *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
2426+ *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
2427+ *)
2428+ lt_use_gnu_ld_interface=yes
2429+ ;;
2430+ esac
2431+ ;;
2432+ *)
2433+ lt_use_gnu_ld_interface=yes
2434+ ;;
2435+ esac
2436+ fi
2437+
2438+ if test "$lt_use_gnu_ld_interface" = yes; then
2439 # If archive_cmds runs LD, not CC, wlarc should be empty
2440 wlarc='${wl}'
2441
2442@@ -6161,6 +5360,7 @@
2443 fi
2444 supports_anon_versioning=no
2445 case `$LD -v 2>&1` in
2446+ *GNU\ gold*) supports_anon_versioning=yes ;;
2447 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
2448 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
2449 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
2450@@ -6176,11 +5376,12 @@
2451 _LT_TAGVAR(ld_shlibs, $1)=no
2452 cat <<_LT_EOF 1>&2
2453
2454-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
2455+*** Warning: the GNU linker, at least up to release 2.19, is reported
2456 *** to be unable to reliably create shared libraries on AIX.
2457 *** Therefore, libtool is disabling shared libraries support. If you
2458-*** really care for shared libraries, you may want to modify your PATH
2459-*** so that a non-GNU linker is found, and then restart.
2460+*** really care for shared libraries, you may want to install binutils
2461+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
2462+*** You will then need to restart the configuration process.
2463
2464 _LT_EOF
2465 fi
2466@@ -6216,6 +5417,7 @@
2467 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
2468 # as there is no search path for DLLs.
2469 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2470+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
2471 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
2472 _LT_TAGVAR(always_export_symbols, $1)=no
2473 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
2474@@ -6237,6 +5439,11 @@
2475 fi
2476 ;;
2477
2478+ haiku*)
2479+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2480+ _LT_TAGVAR(link_all_deplibs, $1)=yes
2481+ ;;
2482+
2483 interix[[3-9]]*)
2484 _LT_TAGVAR(hardcode_direct, $1)=no
2485 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
2486@@ -6252,7 +5459,7 @@
2487 _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'
2488 ;;
2489
2490- gnu* | linux* | tpf* | k*bsd*-gnu)
2491+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
2492 tmp_diet=no
2493 if test "$host_os" = linux-dietlibc; then
2494 case $cc_basename in
2495@@ -6266,11 +5473,12 @@
2496 tmp_sharedflag='-shared'
2497 case $cc_basename,$host_cpu in
2498 pgcc*) # Portland Group C compiler
2499- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
2500+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
2501 tmp_addflag=' $pic_flag'
2502 ;;
2503- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
2504- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
2505+ pgf77* | pgf90* | pgf95* | pgfortran*)
2506+ # Portland Group f77 and f90 compilers
2507+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
2508 tmp_addflag=' $pic_flag -Mnomain' ;;
2509 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
2510 tmp_addflag=' -i_dynamic' ;;
2511@@ -6281,13 +5489,17 @@
2512 lf95*) # Lahey Fortran 8.1
2513 _LT_TAGVAR(whole_archive_flag_spec, $1)=
2514 tmp_sharedflag='--shared' ;;
2515- xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
2516+ xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
2517 tmp_sharedflag='-qmkshrobj'
2518 tmp_addflag= ;;
2519+ nvcc*) # Cuda Compiler Driver 2.2
2520+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
2521+ _LT_TAGVAR(compiler_needs_object, $1)=yes
2522+ ;;
2523 esac
2524 case `$CC -V 2>&1 | sed 5q` in
2525 *Sun\ C*) # Sun C 5.9
2526- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
2527+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
2528 _LT_TAGVAR(compiler_needs_object, $1)=yes
2529 tmp_sharedflag='-G' ;;
2530 *Sun\ F*) # Sun Fortran 8.3
2531@@ -6303,17 +5515,17 @@
2532 fi
2533
2534 case $cc_basename in
2535- xlf*)
2536+ xlf* | bgf* | bgxlf* | mpixlf*)
2537 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
2538 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
2539 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
2540 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
2541- _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
2542+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
2543 if test "x$supports_anon_versioning" = xyes; then
2544 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
2545 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
2546 echo "local: *; };" >> $output_objdir/$libname.ver~
2547- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
2548+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
2549 fi
2550 ;;
2551 esac
2552@@ -6434,8 +5646,10 @@
2553 else
2554 # If we're using GNU nm, then we don't want the "-C" option.
2555 # -C means demangle to AIX nm, but means don't demangle with GNU nm
2556+ # Also, AIX nm treats weak defined symbols like other global
2557+ # defined symbols, whereas GNU nm marks them as "W".
2558 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
2559- _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
2560+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
2561 else
2562 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
2563 fi
2564@@ -6524,7 +5738,7 @@
2565 # empty executable.
2566 _LT_SYS_MODULE_PATH_AIX
2567 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2568- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2569+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2570 else
2571 if test "$host_cpu" = ia64; then
2572 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2573@@ -6539,8 +5753,13 @@
2574 # -berok will link without error, but may produce a broken library.
2575 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2576 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2577- # Exported symbols can be pulled into shared objects from archives
2578- _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2579+ if test "$with_gnu_ld" = yes; then
2580+ # We only use this code for GNU lds that support --whole-archive.
2581+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
2582+ else
2583+ # Exported symbols can be pulled into shared objects from archives
2584+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2585+ fi
2586 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
2587 # This is similar to how AIX traditionally builds its shared libraries.
2588 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2589@@ -6579,7 +5798,7 @@
2590 # Tell ltmain to make .dll files, not .so files.
2591 shrext_cmds=".dll"
2592 # FIXME: Setting linknames here is a bad hack.
2593- _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
2594+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
2595 # The linker will automatically build a .lib file if we build a DLL.
2596 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
2597 # FIXME: Should let the user specify the lib program.
2598@@ -6646,7 +5865,7 @@
2599 ;;
2600
2601 hpux10*)
2602- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
2603+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
2604 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2605 else
2606 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
2607@@ -6665,7 +5884,7 @@
2608 ;;
2609
2610 hpux11*)
2611- if test "$GCC" = yes -a "$with_gnu_ld" = no; then
2612+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
2613 case $host_cpu in
2614 hppa*64*)
2615 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2616@@ -6686,7 +5905,14 @@
2617 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
2618 ;;
2619 *)
2620- _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2621+ m4_if($1, [], [
2622+ # Older versions of the 11.00 compiler do not understand -b yet
2623+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
2624+ _LT_LINKER_OPTION([if $CC understands -b],
2625+ _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
2626+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
2627+ [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
2628+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
2629 ;;
2630 esac
2631 fi
2632@@ -6714,19 +5940,19 @@
2633
2634 irix5* | irix6* | nonstopux*)
2635 if test "$GCC" = yes; then
2636- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2637+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2638 # Try to use the -exported_symbol ld option, if it does not
2639 # work, assume that -exports_file does not work either and
2640 # implicitly export all symbols.
2641 save_LDFLAGS="$LDFLAGS"
2642 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
2643 AC_LINK_IFELSE(int foo(void) {},
2644- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
2645+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
2646 )
2647 LDFLAGS="$save_LDFLAGS"
2648 else
2649- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
2650- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
2651+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
2652+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
2653 fi
2654 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
2655 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2656@@ -6788,17 +6014,17 @@
2657 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2658 _LT_TAGVAR(hardcode_minus_L, $1)=yes
2659 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
2660- _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
2661+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
2662 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
2663 ;;
2664
2665 osf3*)
2666 if test "$GCC" = yes; then
2667 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2668- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2669+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2670 else
2671 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2672- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
2673+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
2674 fi
2675 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
2676 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2677@@ -6808,13 +6034,13 @@
2678 osf4* | osf5*) # as osf3* with the addition of -msym flag
2679 if test "$GCC" = yes; then
2680 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2681- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2682+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2683 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2684 else
2685 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2686- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
2687+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
2688 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
2689- $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
2690+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
2691
2692 # Both c and cxx compiler support -rpath directly
2693 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
2694@@ -7005,36 +6231,38 @@
2695 # Test whether the compiler implicitly links with -lc since on some
2696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
2697 # to ld, don't add -lc before -lgcc.
2698- AC_MSG_CHECKING([whether -lc should be explicitly linked in])
2699- $RM conftest*
2700- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2701+ AC_CACHE_CHECK([whether -lc should be explicitly linked in],
2702+ [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
2703+ [$RM conftest*
2704+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2705
2706- if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
2707- soname=conftest
2708- lib=conftest
2709- libobjs=conftest.$ac_objext
2710- deplibs=
2711- wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
2712- pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
2713- compiler_flags=-v
2714- linker_flags=-v
2715- verstring=
2716- output_objdir=.
2717- libname=conftest
2718- lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
2719- _LT_TAGVAR(allow_undefined_flag, $1)=
2720- if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
2721- then
2722- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
2723- else
2724- _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
2725- fi
2726- _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
2727- else
2728- cat conftest.err 1>&5
2729- fi
2730- $RM conftest*
2731- AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
2732+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
2733+ soname=conftest
2734+ lib=conftest
2735+ libobjs=conftest.$ac_objext
2736+ deplibs=
2737+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
2738+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
2739+ compiler_flags=-v
2740+ linker_flags=-v
2741+ verstring=
2742+ output_objdir=.
2743+ libname=conftest
2744+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
2745+ _LT_TAGVAR(allow_undefined_flag, $1)=
2746+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
2747+ then
2748+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
2749+ else
2750+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
2751+ fi
2752+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
2753+ else
2754+ cat conftest.err 1>&5
2755+ fi
2756+ $RM conftest*
2757+ ])
2758+ _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
2759 ;;
2760 esac
2761 fi
2762@@ -7200,14 +6428,14 @@
2763 ])# _LT_LANG_C_CONFIG
2764
2765
2766-# _LT_PROG_CXX
2767-# ------------
2768-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
2769-# compiler, we have our own version here.
2770-m4_defun([_LT_PROG_CXX],
2771-[
2772-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
2773-AC_PROG_CXX
2774+# _LT_LANG_CXX_CONFIG([TAG])
2775+# --------------------------
2776+# Ensure that the configuration variables for a C++ compiler are suitably
2777+# defined. These variables are subsequently used by _LT_CONFIG to write
2778+# the compiler configuration to `libtool'.
2779+m4_defun([_LT_LANG_CXX_CONFIG],
2780+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2781+m4_require([_LT_DECL_EGREP])dnl
2782 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2783 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2784 (test "X$CXX" != "Xg++"))) ; then
2785@@ -7215,22 +6443,6 @@
2786 else
2787 _lt_caught_CXX_error=yes
2788 fi
2789-popdef([AC_MSG_ERROR])
2790-])# _LT_PROG_CXX
2791-
2792-dnl aclocal-1.4 backwards compatibility:
2793-dnl AC_DEFUN([_LT_PROG_CXX], [])
2794-
2795-
2796-# _LT_LANG_CXX_CONFIG([TAG])
2797-# --------------------------
2798-# Ensure that the configuration variables for a C++ compiler are suitably
2799-# defined. These variables are subsequently used by _LT_CONFIG to write
2800-# the compiler configuration to `libtool'.
2801-m4_defun([_LT_LANG_CXX_CONFIG],
2802-[AC_REQUIRE([_LT_PROG_CXX])dnl
2803-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2804-m4_require([_LT_DECL_EGREP])dnl
2805
2806 AC_LANG_PUSH(C++)
2807 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
2808@@ -7252,6 +6464,8 @@
2809 _LT_TAGVAR(module_expsym_cmds, $1)=
2810 _LT_TAGVAR(link_all_deplibs, $1)=unknown
2811 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2812+_LT_TAGVAR(reload_flag, $1)=$reload_flag
2813+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
2814 _LT_TAGVAR(no_undefined_flag, $1)=
2815 _LT_TAGVAR(whole_archive_flag_spec, $1)=
2816 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
2817@@ -7354,7 +6568,7 @@
2818 # Commands to make compiler produce verbose output that lists
2819 # what "hidden" libraries, object files and flags are used when
2820 # linking a shared library.
2821- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
2822+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
2823
2824 else
2825 GXX=no
2826@@ -7466,7 +6680,7 @@
2827 _LT_SYS_MODULE_PATH_AIX
2828 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2829
2830- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2831+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2832 else
2833 if test "$host_cpu" = ia64; then
2834 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2835@@ -7481,8 +6695,13 @@
2836 # -berok will link without error, but may produce a broken library.
2837 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2838 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2839- # Exported symbols can be pulled into shared objects from archives
2840- _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2841+ if test "$with_gnu_ld" = yes; then
2842+ # We only use this code for GNU lds that support --whole-archive.
2843+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
2844+ else
2845+ # Exported symbols can be pulled into shared objects from archives
2846+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2847+ fi
2848 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
2849 # This is similar to how AIX traditionally builds its shared
2850 # libraries.
2851@@ -7515,6 +6734,7 @@
2852 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
2853 # as there is no search path for DLLs.
2854 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2855+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
2856 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
2857 _LT_TAGVAR(always_export_symbols, $1)=no
2858 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
2859@@ -7575,6 +6795,11 @@
2860 gnu*)
2861 ;;
2862
2863+ haiku*)
2864+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2865+ _LT_TAGVAR(link_all_deplibs, $1)=yes
2866+ ;;
2867+
2868 hpux9*)
2869 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2870 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
2871@@ -7599,7 +6824,7 @@
2872 # explicitly linking system object files so we need to strip them
2873 # from the output so that they don't get included in the library
2874 # dependencies.
2875- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
2876+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
2877 ;;
2878 *)
2879 if test "$GXX" = yes; then
2880@@ -7664,7 +6889,7 @@
2881 # explicitly linking system object files so we need to strip them
2882 # from the output so that they don't get included in the library
2883 # dependencies.
2884- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
2885+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
2886 ;;
2887 *)
2888 if test "$GXX" = yes; then
2889@@ -7707,7 +6932,7 @@
2890 case $cc_basename in
2891 CC*)
2892 # SGI C++
2893- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
2894+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
2895
2896 # Archives containing C++ object files must be created using
2897 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
2898@@ -7718,9 +6943,9 @@
2899 *)
2900 if test "$GXX" = yes; then
2901 if test "$with_gnu_ld" = no; then
2902- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2903+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2904 else
2905- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
2906+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
2907 fi
2908 fi
2909 _LT_TAGVAR(link_all_deplibs, $1)=yes
2910@@ -7731,7 +6956,7 @@
2911 _LT_TAGVAR(inherit_rpath, $1)=yes
2912 ;;
2913
2914- linux* | k*bsd*-gnu)
2915+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
2916 case $cc_basename in
2917 KCC*)
2918 # Kuck and Associates, Inc. (KAI) C++ Compiler
2919@@ -7749,7 +6974,7 @@
2920 # explicitly linking system object files so we need to strip them
2921 # from the output so that they don't get included in the library
2922 # dependencies.
2923- output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
2924+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
2925
2926 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2927 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2928@@ -7786,26 +7011,26 @@
2929 pgCC* | pgcpp*)
2930 # Portland Group C++ compiler
2931 case `$CC -V` in
2932- *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
2933+ *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
2934 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
2935 rm -rf $tpldir~
2936 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
2937- compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
2938+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
2939 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
2940 rm -rf $tpldir~
2941 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
2942- $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
2943+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
2944 $RANLIB $oldlib'
2945 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
2946 rm -rf $tpldir~
2947 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
2948- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2949+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2950 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
2951 rm -rf $tpldir~
2952 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
2953- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
2954+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
2955 ;;
2956- *) # Version 6 will use weak symbols
2957+ *) # Version 6 and above use weak symbols
2958 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2959 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
2960 ;;
2961@@ -7813,7 +7038,7 @@
2962
2963 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2964 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2965- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
2966+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
2967 ;;
2968 cxx*)
2969 # Compaq C++
2970@@ -7832,9 +7057,9 @@
2971 # explicitly linking system object files so we need to strip them
2972 # from the output so that they don't get included in the library
2973 # dependencies.
2974- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
2975+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
2976 ;;
2977- xl*)
2978+ xl* | mpixl* | bgxl*)
2979 # IBM XL 8.0 on PPC, with GNU ld
2980 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2981 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2982@@ -7854,13 +7079,13 @@
2983 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2984 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
2985 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2986- _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
2987+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
2988 _LT_TAGVAR(compiler_needs_object, $1)=yes
2989
2990 # Not sure whether something based on
2991 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
2992 # would be better.
2993- output_verbose_link_cmd='echo'
2994+ output_verbose_link_cmd='func_echo_all'
2995
2996 # Archives containing C++ object files must be created using
2997 # "CC -xar", where "CC" is the Sun C++ compiler. This is
2998@@ -7929,7 +7154,7 @@
2999 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3000 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3001 fi
3002- output_verbose_link_cmd=echo
3003+ output_verbose_link_cmd=func_echo_all
3004 else
3005 _LT_TAGVAR(ld_shlibs, $1)=no
3006 fi
3007@@ -7964,15 +7189,15 @@
3008 case $host in
3009 osf3*)
3010 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3011- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
3012+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
3013 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3014 ;;
3015 *)
3016 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3017- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
3018+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
3019 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
3020 echo "-hidden">> $lib.exp~
3021- $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
3022+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
3023 $RM $lib.exp'
3024 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3025 ;;
3026@@ -7988,17 +7213,17 @@
3027 # explicitly linking system object files so we need to strip them
3028 # from the output so that they don't get included in the library
3029 # dependencies.
3030- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
3031+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
3032 ;;
3033 *)
3034 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3035 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3036 case $host in
3037 osf3*)
3038- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3039+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3040 ;;
3041 *)
3042- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3043+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3044 ;;
3045 esac
3046
3047@@ -8008,7 +7233,7 @@
3048 # Commands to make compiler produce verbose output that lists
3049 # what "hidden" libraries, object files and flags are used when
3050 # linking a shared library.
3051- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
3052+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
3053
3054 else
3055 # FIXME: insert proper C++ library support
3056@@ -8044,7 +7269,7 @@
3057
3058 solaris*)
3059 case $cc_basename in
3060- CC*)
3061+ CC* | sunCC*)
3062 # Sun C++ 4.2, 5.x and Centerline C++
3063 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
3064 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3065@@ -8065,7 +7290,7 @@
3066 esac
3067 _LT_TAGVAR(link_all_deplibs, $1)=yes
3068
3069- output_verbose_link_cmd='echo'
3070+ output_verbose_link_cmd='func_echo_all'
3071
3072 # Archives containing C++ object files must be created using
3073 # "CC -xar", where "CC" is the Sun C++ compiler. This is
3074@@ -8092,7 +7317,7 @@
3075 # Commands to make compiler produce verbose output that lists
3076 # what "hidden" libraries, object files and flags are used when
3077 # linking a shared library.
3078- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
3079+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
3080 else
3081 # g++ 2.7 appears to require `-G' NOT `-shared' on this
3082 # platform.
3083@@ -8103,7 +7328,7 @@
3084 # Commands to make compiler produce verbose output that lists
3085 # what "hidden" libraries, object files and flags are used when
3086 # linking a shared library.
3087- output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
3088+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
3089 fi
3090
3091 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3092@@ -8157,6 +7382,10 @@
3093 CC*)
3094 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3095 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3096+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
3097+ '"$_LT_TAGVAR(old_archive_cmds, $1)"
3098+ _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
3099+ '"$_LT_TAGVAR(reload_cmds, $1)"
3100 ;;
3101 *)
3102 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3103@@ -8403,7 +7632,7 @@
3104
3105 solaris*)
3106 case $cc_basename in
3107- CC*)
3108+ CC* | sunCC*)
3109 # The more standards-conforming stlport4 library is
3110 # incompatible with the Cstd library. Avoid specifying
3111 # it if it's in CXXFLAGS. Ignore libCrun as
3112@@ -8447,32 +7676,16 @@
3113 ])# _LT_SYS_HIDDEN_LIBDEPS
3114
3115
3116-# _LT_PROG_F77
3117-# ------------
3118-# Since AC_PROG_F77 is broken, in that it returns the empty string
3119-# if there is no fortran compiler, we have our own version here.
3120-m4_defun([_LT_PROG_F77],
3121-[
3122-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
3123-AC_PROG_F77
3124-if test -z "$F77" || test "X$F77" = "Xno"; then
3125- _lt_disable_F77=yes
3126-fi
3127-popdef([AC_MSG_ERROR])
3128-])# _LT_PROG_F77
3129-
3130-dnl aclocal-1.4 backwards compatibility:
3131-dnl AC_DEFUN([_LT_PROG_F77], [])
3132-
3133-
3134 # _LT_LANG_F77_CONFIG([TAG])
3135 # --------------------------
3136 # Ensure that the configuration variables for a Fortran 77 compiler are
3137 # suitably defined. These variables are subsequently used by _LT_CONFIG
3138 # to write the compiler configuration to `libtool'.
3139 m4_defun([_LT_LANG_F77_CONFIG],
3140-[AC_REQUIRE([_LT_PROG_F77])dnl
3141-AC_LANG_PUSH(Fortran 77)
3142+[AC_LANG_PUSH(Fortran 77)
3143+if test -z "$F77" || test "X$F77" = "Xno"; then
3144+ _lt_disable_F77=yes
3145+fi
3146
3147 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
3148 _LT_TAGVAR(allow_undefined_flag, $1)=
3149@@ -8491,6 +7704,8 @@
3150 _LT_TAGVAR(module_expsym_cmds, $1)=
3151 _LT_TAGVAR(link_all_deplibs, $1)=unknown
3152 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3153+_LT_TAGVAR(reload_flag, $1)=$reload_flag
3154+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
3155 _LT_TAGVAR(no_undefined_flag, $1)=
3156 _LT_TAGVAR(whole_archive_flag_spec, $1)=
3157 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3158@@ -8590,32 +7805,17 @@
3159 ])# _LT_LANG_F77_CONFIG
3160
3161
3162-# _LT_PROG_FC
3163-# -----------
3164-# Since AC_PROG_FC is broken, in that it returns the empty string
3165-# if there is no fortran compiler, we have our own version here.
3166-m4_defun([_LT_PROG_FC],
3167-[
3168-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
3169-AC_PROG_FC
3170-if test -z "$FC" || test "X$FC" = "Xno"; then
3171- _lt_disable_FC=yes
3172-fi
3173-popdef([AC_MSG_ERROR])
3174-])# _LT_PROG_FC
3175-
3176-dnl aclocal-1.4 backwards compatibility:
3177-dnl AC_DEFUN([_LT_PROG_FC], [])
3178-
3179-
3180 # _LT_LANG_FC_CONFIG([TAG])
3181 # -------------------------
3182 # Ensure that the configuration variables for a Fortran compiler are
3183 # suitably defined. These variables are subsequently used by _LT_CONFIG
3184 # to write the compiler configuration to `libtool'.
3185 m4_defun([_LT_LANG_FC_CONFIG],
3186-[AC_REQUIRE([_LT_PROG_FC])dnl
3187-AC_LANG_PUSH(Fortran)
3188+[AC_LANG_PUSH(Fortran)
3189+
3190+if test -z "$FC" || test "X$FC" = "Xno"; then
3191+ _lt_disable_FC=yes
3192+fi
3193
3194 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
3195 _LT_TAGVAR(allow_undefined_flag, $1)=
3196@@ -8634,6 +7834,8 @@
3197 _LT_TAGVAR(module_expsym_cmds, $1)=
3198 _LT_TAGVAR(link_all_deplibs, $1)=unknown
3199 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3200+_LT_TAGVAR(reload_flag, $1)=$reload_flag
3201+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
3202 _LT_TAGVAR(no_undefined_flag, $1)=
3203 _LT_TAGVAR(whole_archive_flag_spec, $1)=
3204 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3205@@ -8779,6 +7981,8 @@
3206 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
3207
3208 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3209+_LT_TAGVAR(reload_flag, $1)=$reload_flag
3210+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
3211
3212 if test -n "$compiler"; then
3213 _LT_COMPILER_NO_RTTI($1)
3214@@ -9140,7 +8344,7 @@
3215 func_dirname ()
3216 {
3217 # Extract subdirectory from the argument.
3218- func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
3219+ func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
3220 if test "X$func_dirname_result" = "X${1}"; then
3221 func_dirname_result="${3}"
3222 else
3223@@ -9151,7 +8355,7 @@
3224 # func_basename file
3225 func_basename ()
3226 {
3227- func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
3228+ func_basename_result=`$ECHO "${1}" | $SED "$basename"`
3229 }
3230
3231 dnl func_dirname_and_basename
3232@@ -9167,10 +8371,8 @@
3233 func_stripname ()
3234 {
3235 case ${2} in
3236- .*) func_stripname_result=`$ECHO "X${3}" \
3237- | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
3238- *) func_stripname_result=`$ECHO "X${3}" \
3239- | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
3240+ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
3241+ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
3242 esac
3243 }
3244
3245@@ -9181,20 +8383,20 @@
3246 # func_opt_split
3247 func_opt_split ()
3248 {
3249- func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
3250- func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
3251+ func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
3252+ func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
3253 }
3254
3255 # func_lo2o object
3256 func_lo2o ()
3257 {
3258- func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
3259+ func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
3260 }
3261
3262 # func_xform libobj-or-source
3263 func_xform ()
3264 {
3265- func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
3266+ func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
3267 }
3268
3269 # func_arith arithmetic-term...
3270@@ -9242,14 +8444,15 @@
3271
3272 # Helper functions for option handling. -*- Autoconf -*-
3273 #
3274-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
3275+# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3276+# Inc.
3277 # Written by Gary V. Vaughan, 2004
3278 #
3279 # This file is free software; the Free Software Foundation gives
3280 # unlimited permission to copy and/or distribute it, with or without
3281 # modifications, as long as this notice is preserved.
3282
3283-# serial 6 ltoptions.m4
3284+# serial 7 ltoptions.m4
3285
3286 # This is to help aclocal find these macros, as it can't see m4_define.
3287 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
3288@@ -9364,7 +8567,7 @@
3289 [enable_win32_dll=yes
3290
3291 case $host in
3292-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3293+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3294 AC_CHECK_TOOL(AS, as, false)
3295 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
3296 AC_CHECK_TOOL(OBJDUMP, objdump, false)
3297@@ -9372,13 +8575,13 @@
3298 esac
3299
3300 test -z "$AS" && AS=as
3301-_LT_DECL([], [AS], [0], [Assembler program])dnl
3302+_LT_DECL([], [AS], [1], [Assembler program])dnl
3303
3304 test -z "$DLLTOOL" && DLLTOOL=dlltool
3305-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
3306+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
3307
3308 test -z "$OBJDUMP" && OBJDUMP=objdump
3309-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
3310+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
3311 ])# win32-dll
3312
3313 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
3314@@ -9738,29 +8941,29 @@
3315
3316 # Generated from ltversion.in.
3317
3318-# serial 3012 ltversion.m4
3319+# serial 3175 ltversion.m4
3320 # This file is part of GNU Libtool
3321
3322-m4_define([LT_PACKAGE_VERSION], [2.2.6])
3323-m4_define([LT_PACKAGE_REVISION], [1.3012])
3324+m4_define([LT_PACKAGE_VERSION], [2.2.10])
3325+m4_define([LT_PACKAGE_REVISION], [1.3175])
3326
3327 AC_DEFUN([LTVERSION_VERSION],
3328-[macro_version='2.2.6'
3329-macro_revision='1.3012'
3330+[macro_version='2.2.10'
3331+macro_revision='1.3175'
3332 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
3333 _LT_DECL(, macro_revision, 0)
3334 ])
3335
3336 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
3337 #
3338-# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
3339+# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
3340 # Written by Scott James Remnant, 2004.
3341 #
3342 # This file is free software; the Free Software Foundation gives
3343 # unlimited permission to copy and/or distribute it, with or without
3344 # modifications, as long as this notice is preserved.
3345
3346-# serial 4 lt~obsolete.m4
3347+# serial 5 lt~obsolete.m4
3348
3349 # These exist entirely to fool aclocal when bootstrapping libtool.
3350 #
3351@@ -9830,7 +9033,6 @@
3352 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
3353 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
3354 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
3355-m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
3356 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
3357 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
3358 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
3359@@ -9843,9 +9045,17 @@
3360 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
3361 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
3362 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
3363+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
3364+m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
3365+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
3366+m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
3367+m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
3368+m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
3369+m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
3370
3371-# nls.m4 serial 3 (gettext-0.15)
3372-dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
3373+# nls.m4 serial 5 (gettext-0.18)
3374+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
3375+dnl Inc.
3376 dnl This file is free software; the Free Software Foundation
3377 dnl gives unlimited permission to copy and/or distribute it,
3378 dnl with or without modifications, as long as this notice is preserved.
3379@@ -9863,20 +9073,21 @@
3380 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
3381 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
3382
3383-AC_PREREQ(2.50)
3384+AC_PREREQ([2.50])
3385
3386 AC_DEFUN([AM_NLS],
3387 [
3388 AC_MSG_CHECKING([whether NLS is requested])
3389 dnl Default is enabled NLS
3390- AC_ARG_ENABLE(nls,
3391+ AC_ARG_ENABLE([nls],
3392 [ --disable-nls do not use Native Language Support],
3393 USE_NLS=$enableval, USE_NLS=yes)
3394- AC_MSG_RESULT($USE_NLS)
3395- AC_SUBST(USE_NLS)
3396+ AC_MSG_RESULT([$USE_NLS])
3397+ AC_SUBST([USE_NLS])
3398 ])
3399
3400 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
3401+# serial 1 (pkg-config-0.24)
3402 #
3403 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
3404 #
3405@@ -9904,7 +9115,10 @@
3406 AC_DEFUN([PKG_PROG_PKG_CONFIG],
3407 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
3408 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
3409-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
3410+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
3411+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
3412+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
3413+
3414 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3415 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
3416 fi
3417@@ -9917,7 +9131,6 @@
3418 AC_MSG_RESULT([no])
3419 PKG_CONFIG=""
3420 fi
3421-
3422 fi[]dnl
3423 ])# PKG_PROG_PKG_CONFIG
3424
3425@@ -9926,21 +9139,20 @@
3426 # Check to see whether a particular set of modules exists. Similar
3427 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
3428 #
3429-#
3430-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
3431-# this or PKG_CHECK_MODULES is called, or make sure to call
3432-# PKG_CHECK_EXISTS manually
3433+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
3434+# only at the first occurence in configure.ac, so if the first place
3435+# it's called might be skipped (such as if it is within an "if", you
3436+# have to call PKG_CHECK_EXISTS manually
3437 # --------------------------------------------------------------
3438 AC_DEFUN([PKG_CHECK_EXISTS],
3439 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
3440 if test -n "$PKG_CONFIG" && \
3441 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
3442- m4_ifval([$2], [$2], [:])
3443+ m4_default([$2], [:])
3444 m4_ifvaln([$3], [else
3445 $3])dnl
3446 fi])
3447
3448-
3449 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
3450 # ---------------------------------------------
3451 m4_define([_PKG_CONFIG],
3452@@ -9993,6 +9205,7 @@
3453 See the pkg-config man page for more details.])
3454
3455 if test $pkg_failed = yes; then
3456+ AC_MSG_RESULT([no])
3457 _PKG_SHORT_ERRORS_SUPPORTED
3458 if test $_pkg_short_errors_supported = yes; then
3459 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
3460@@ -10002,7 +9215,7 @@
3461 # Put the nasty error message in config.log where it belongs
3462 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
3463
3464- ifelse([$4], , [AC_MSG_ERROR(dnl
3465+ m4_default([$4], [AC_MSG_ERROR(
3466 [Package requirements ($2) were not met:
3467
3468 $$1_PKG_ERRORS
3469@@ -10010,25 +9223,911 @@
3470 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3471 installed software in a non-standard prefix.
3472
3473-_PKG_TEXT
3474-])],
3475- [AC_MSG_RESULT([no])
3476- $4])
3477+_PKG_TEXT])
3478+ ])
3479 elif test $pkg_failed = untried; then
3480- ifelse([$4], , [AC_MSG_FAILURE(dnl
3481+ AC_MSG_RESULT([no])
3482+ m4_default([$4], [AC_MSG_FAILURE(
3483 [The pkg-config script could not be found or is too old. Make sure it
3484 is in your PATH or set the PKG_CONFIG environment variable to the full
3485 path to pkg-config.
3486
3487 _PKG_TEXT
3488
3489-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
3490- [$4])
3491+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
3492+ ])
3493 else
3494 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
3495 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
3496 AC_MSG_RESULT([yes])
3497- ifelse([$3], , :, [$3])
3498+ $3
3499 fi[]dnl
3500 ])# PKG_CHECK_MODULES
3501
3502+# Copyright (C) 1995-2002 Free Software Foundation, Inc.
3503+# Copyright (C) 2001-2003,2004 Red Hat, Inc.
3504+#
3505+# This file is free software, distributed under the terms of the GNU
3506+# General Public License. As a special exception to the GNU General
3507+# Public License, this file may be distributed as part of a program
3508+# that contains a configuration script generated by Autoconf, under
3509+# the same distribution terms as the rest of that program.
3510+#
3511+# This file can be copied and used freely without restrictions. It can
3512+# be used in projects which are not available under the GNU Public License
3513+# but which still want to provide support for the GNU gettext functionality.
3514+#
3515+# Macro to add for using GNU gettext.
3516+# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
3517+#
3518+# Modified to never use included libintl.
3519+# Owen Taylor <otaylor@redhat.com>, 12/15/1998
3520+#
3521+# Major rework to remove unused code
3522+# Owen Taylor <otaylor@redhat.com>, 12/11/2002
3523+#
3524+# Added better handling of ALL_LINGUAS from GNU gettext version
3525+# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
3526+#
3527+# Modified to require ngettext
3528+# Matthias Clasen <mclasen@redhat.com> 08/06/2004
3529+#
3530+# We need this here as well, since someone might use autoconf-2.5x
3531+# to configure GLib then an older version to configure a package
3532+# using AM_GLIB_GNU_GETTEXT
3533+AC_PREREQ(2.53)
3534+
3535+dnl
3536+dnl We go to great lengths to make sure that aclocal won't
3537+dnl try to pull in the installed version of these macros
3538+dnl when running aclocal in the glib directory.
3539+dnl
3540+m4_copy([AC_DEFUN],[glib_DEFUN])
3541+m4_copy([AC_REQUIRE],[glib_REQUIRE])
3542+dnl
3543+dnl At the end, if we're not within glib, we'll define the public
3544+dnl definitions in terms of our private definitions.
3545+dnl
3546+
3547+# GLIB_LC_MESSAGES
3548+#--------------------
3549+glib_DEFUN([GLIB_LC_MESSAGES],
3550+ [AC_CHECK_HEADERS([locale.h])
3551+ if test $ac_cv_header_locale_h = yes; then
3552+ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
3553+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
3554+ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
3555+ if test $am_cv_val_LC_MESSAGES = yes; then
3556+ AC_DEFINE(HAVE_LC_MESSAGES, 1,
3557+ [Define if your <locale.h> file defines LC_MESSAGES.])
3558+ fi
3559+ fi])
3560+
3561+# GLIB_PATH_PROG_WITH_TEST
3562+#----------------------------
3563+dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
3564+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
3565+glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
3566+[# Extract the first word of "$2", so it can be a program name with args.
3567+set dummy $2; ac_word=[$]2
3568+AC_MSG_CHECKING([for $ac_word])
3569+AC_CACHE_VAL(ac_cv_path_$1,
3570+[case "[$]$1" in
3571+ /*)
3572+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
3573+ ;;
3574+ *)
3575+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
3576+ for ac_dir in ifelse([$5], , $PATH, [$5]); do
3577+ test -z "$ac_dir" && ac_dir=.
3578+ if test -f $ac_dir/$ac_word; then
3579+ if [$3]; then
3580+ ac_cv_path_$1="$ac_dir/$ac_word"
3581+ break
3582+ fi
3583+ fi
3584+ done
3585+ IFS="$ac_save_ifs"
3586+dnl If no 4th arg is given, leave the cache variable unset,
3587+dnl so AC_PATH_PROGS will keep looking.
3588+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
3589+])dnl
3590+ ;;
3591+esac])dnl
3592+$1="$ac_cv_path_$1"
3593+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
3594+ AC_MSG_RESULT([$]$1)
3595+else
3596+ AC_MSG_RESULT(no)
3597+fi
3598+AC_SUBST($1)dnl
3599+])
3600+
3601+# GLIB_WITH_NLS
3602+#-----------------
3603+glib_DEFUN([GLIB_WITH_NLS],
3604+ dnl NLS is obligatory
3605+ [USE_NLS=yes
3606+ AC_SUBST(USE_NLS)
3607+
3608+ gt_cv_have_gettext=no
3609+
3610+ CATOBJEXT=NONE
3611+ XGETTEXT=:
3612+ INTLLIBS=
3613+
3614+ AC_CHECK_HEADER(libintl.h,
3615+ [gt_cv_func_dgettext_libintl="no"
3616+ libintl_extra_libs=""
3617+
3618+ #
3619+ # First check in libc
3620+ #
3621+ AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
3622+ [AC_TRY_LINK([
3623+#include <libintl.h>
3624+],
3625+ [return !ngettext ("","", 1)],
3626+ gt_cv_func_ngettext_libc=yes,
3627+ gt_cv_func_ngettext_libc=no)
3628+ ])
3629+
3630+ if test "$gt_cv_func_ngettext_libc" = "yes" ; then
3631+ AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
3632+ [AC_TRY_LINK([
3633+#include <libintl.h>
3634+],
3635+ [return !dgettext ("","")],
3636+ gt_cv_func_dgettext_libc=yes,
3637+ gt_cv_func_dgettext_libc=no)
3638+ ])
3639+ fi
3640+
3641+ if test "$gt_cv_func_ngettext_libc" = "yes" ; then
3642+ AC_CHECK_FUNCS(bind_textdomain_codeset)
3643+ fi
3644+
3645+ #
3646+ # If we don't have everything we want, check in libintl
3647+ #
3648+ if test "$gt_cv_func_dgettext_libc" != "yes" \
3649+ || test "$gt_cv_func_ngettext_libc" != "yes" \
3650+ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
3651+
3652+ AC_CHECK_LIB(intl, bindtextdomain,
3653+ [AC_CHECK_LIB(intl, ngettext,
3654+ [AC_CHECK_LIB(intl, dgettext,
3655+ gt_cv_func_dgettext_libintl=yes)])])
3656+
3657+ if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
3658+ AC_MSG_CHECKING([if -liconv is needed to use gettext])
3659+ AC_MSG_RESULT([])
3660+ AC_CHECK_LIB(intl, ngettext,
3661+ [AC_CHECK_LIB(intl, dcgettext,
3662+ [gt_cv_func_dgettext_libintl=yes
3663+ libintl_extra_libs=-liconv],
3664+ :,-liconv)],
3665+ :,-liconv)
3666+ fi
3667+
3668+ #
3669+ # If we found libintl, then check in it for bind_textdomain_codeset();
3670+ # we'll prefer libc if neither have bind_textdomain_codeset(),
3671+ # and both have dgettext and ngettext
3672+ #
3673+ if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
3674+ glib_save_LIBS="$LIBS"
3675+ LIBS="$LIBS -lintl $libintl_extra_libs"
3676+ unset ac_cv_func_bind_textdomain_codeset
3677+ AC_CHECK_FUNCS(bind_textdomain_codeset)
3678+ LIBS="$glib_save_LIBS"
3679+
3680+ if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
3681+ gt_cv_func_dgettext_libc=no
3682+ else
3683+ if test "$gt_cv_func_dgettext_libc" = "yes" \
3684+ && test "$gt_cv_func_ngettext_libc" = "yes"; then
3685+ gt_cv_func_dgettext_libintl=no
3686+ fi
3687+ fi
3688+ fi
3689+ fi
3690+
3691+ if test "$gt_cv_func_dgettext_libc" = "yes" \
3692+ || test "$gt_cv_func_dgettext_libintl" = "yes"; then
3693+ gt_cv_have_gettext=yes
3694+ fi
3695+
3696+ if test "$gt_cv_func_dgettext_libintl" = "yes"; then
3697+ INTLLIBS="-lintl $libintl_extra_libs"
3698+ fi
3699+
3700+ if test "$gt_cv_have_gettext" = "yes"; then
3701+ AC_DEFINE(HAVE_GETTEXT,1,
3702+ [Define if the GNU gettext() function is already present or preinstalled.])
3703+ GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
3704+ [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
3705+ if test "$MSGFMT" != "no"; then
3706+ glib_save_LIBS="$LIBS"
3707+ LIBS="$LIBS $INTLLIBS"
3708+ AC_CHECK_FUNCS(dcgettext)
3709+ MSGFMT_OPTS=
3710+ AC_MSG_CHECKING([if msgfmt accepts -c])
3711+ GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
3712+msgid ""
3713+msgstr ""
3714+"Content-Type: text/plain; charset=UTF-8\n"
3715+"Project-Id-Version: test 1.0\n"
3716+"PO-Revision-Date: 2007-02-15 12:01+0100\n"
3717+"Last-Translator: test <foo@bar.xx>\n"
3718+"Language-Team: C <LL@li.org>\n"
3719+"MIME-Version: 1.0\n"
3720+"Content-Transfer-Encoding: 8bit\n"
3721+], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
3722+ AC_SUBST(MSGFMT_OPTS)
3723+ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
3724+ GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
3725+ [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
3726+ AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
3727+ return _nl_msg_cat_cntr],
3728+ [CATOBJEXT=.gmo
3729+ DATADIRNAME=share],
3730+ [case $host in
3731+ *-*-solaris*)
3732+ dnl On Solaris, if bind_textdomain_codeset is in libc,
3733+ dnl GNU format message catalog is always supported,
3734+ dnl since both are added to the libc all together.
3735+ dnl Hence, we'd like to go with DATADIRNAME=share and
3736+ dnl and CATOBJEXT=.gmo in this case.
3737+ AC_CHECK_FUNC(bind_textdomain_codeset,
3738+ [CATOBJEXT=.gmo
3739+ DATADIRNAME=share],
3740+ [CATOBJEXT=.mo
3741+ DATADIRNAME=lib])
3742+ ;;
3743+ *)
3744+ CATOBJEXT=.mo
3745+ DATADIRNAME=lib
3746+ ;;
3747+ esac])
3748+ LIBS="$glib_save_LIBS"
3749+ INSTOBJEXT=.mo
3750+ else
3751+ gt_cv_have_gettext=no
3752+ fi
3753+ fi
3754+ ])
3755+
3756+ if test "$gt_cv_have_gettext" = "yes" ; then
3757+ AC_DEFINE(ENABLE_NLS, 1,
3758+ [always defined to indicate that i18n is enabled])
3759+ fi
3760+
3761+ dnl Test whether we really found GNU xgettext.
3762+ if test "$XGETTEXT" != ":"; then
3763+ dnl If it is not GNU xgettext we define it as : so that the
3764+ dnl Makefiles still can work.
3765+ if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
3766+ : ;
3767+ else
3768+ AC_MSG_RESULT(
3769+ [found xgettext program is not GNU xgettext; ignore it])
3770+ XGETTEXT=":"
3771+ fi
3772+ fi
3773+
3774+ # We need to process the po/ directory.
3775+ POSUB=po
3776+
3777+ AC_OUTPUT_COMMANDS(
3778+ [case "$CONFIG_FILES" in *po/Makefile.in*)
3779+ sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
3780+ esac])
3781+
3782+ dnl These rules are solely for the distribution goal. While doing this
3783+ dnl we only have to keep exactly one list of the available catalogs
3784+ dnl in configure.ac.
3785+ for lang in $ALL_LINGUAS; do
3786+ GMOFILES="$GMOFILES $lang.gmo"
3787+ POFILES="$POFILES $lang.po"
3788+ done
3789+
3790+ dnl Make all variables we use known to autoconf.
3791+ AC_SUBST(CATALOGS)
3792+ AC_SUBST(CATOBJEXT)
3793+ AC_SUBST(DATADIRNAME)
3794+ AC_SUBST(GMOFILES)
3795+ AC_SUBST(INSTOBJEXT)
3796+ AC_SUBST(INTLLIBS)
3797+ AC_SUBST(PO_IN_DATADIR_TRUE)
3798+ AC_SUBST(PO_IN_DATADIR_FALSE)
3799+ AC_SUBST(POFILES)
3800+ AC_SUBST(POSUB)
3801+ ])
3802+
3803+# AM_GLIB_GNU_GETTEXT
3804+# -------------------
3805+# Do checks necessary for use of gettext. If a suitable implementation
3806+# of gettext is found in either in libintl or in the C library,
3807+# it will set INTLLIBS to the libraries needed for use of gettext
3808+# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
3809+# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
3810+# on various variables needed by the Makefile.in.in installed by
3811+# glib-gettextize.
3812+dnl
3813+glib_DEFUN([GLIB_GNU_GETTEXT],
3814+ [AC_REQUIRE([AC_PROG_CC])dnl
3815+ AC_REQUIRE([AC_HEADER_STDC])dnl
3816+
3817+ GLIB_LC_MESSAGES
3818+ GLIB_WITH_NLS
3819+
3820+ if test "$gt_cv_have_gettext" = "yes"; then
3821+ if test "x$ALL_LINGUAS" = "x"; then
3822+ LINGUAS=
3823+ else
3824+ AC_MSG_CHECKING(for catalogs to be installed)
3825+ NEW_LINGUAS=
3826+ for presentlang in $ALL_LINGUAS; do
3827+ useit=no
3828+ if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
3829+ desiredlanguages="$LINGUAS"
3830+ else
3831+ desiredlanguages="$ALL_LINGUAS"
3832+ fi
3833+ for desiredlang in $desiredlanguages; do
3834+ # Use the presentlang catalog if desiredlang is
3835+ # a. equal to presentlang, or
3836+ # b. a variant of presentlang (because in this case,
3837+ # presentlang can be used as a fallback for messages
3838+ # which are not translated in the desiredlang catalog).
3839+ case "$desiredlang" in
3840+ "$presentlang"*) useit=yes;;
3841+ esac
3842+ done
3843+ if test $useit = yes; then
3844+ NEW_LINGUAS="$NEW_LINGUAS $presentlang"
3845+ fi
3846+ done
3847+ LINGUAS=$NEW_LINGUAS
3848+ AC_MSG_RESULT($LINGUAS)
3849+ fi
3850+
3851+ dnl Construct list of names of catalog files to be constructed.
3852+ if test -n "$LINGUAS"; then
3853+ for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
3854+ fi
3855+ fi
3856+
3857+ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
3858+ dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
3859+ dnl Try to locate is.
3860+ MKINSTALLDIRS=
3861+ if test -n "$ac_aux_dir"; then
3862+ MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
3863+ fi
3864+ if test -z "$MKINSTALLDIRS"; then
3865+ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3866+ fi
3867+ AC_SUBST(MKINSTALLDIRS)
3868+
3869+ dnl Generate list of files to be processed by xgettext which will
3870+ dnl be included in po/Makefile.
3871+ test -d po || mkdir po
3872+ if test "x$srcdir" != "x."; then
3873+ if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
3874+ posrcprefix="$srcdir/"
3875+ else
3876+ posrcprefix="../$srcdir/"
3877+ fi
3878+ else
3879+ posrcprefix="../"
3880+ fi
3881+ rm -f po/POTFILES
3882+ sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
3883+ < $srcdir/po/POTFILES.in > po/POTFILES
3884+ ])
3885+
3886+# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
3887+# -------------------------------
3888+# Define VARIABLE to the location where catalog files will
3889+# be installed by po/Makefile.
3890+glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
3891+[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
3892+glib_save_prefix="$prefix"
3893+glib_save_exec_prefix="$exec_prefix"
3894+glib_save_datarootdir="$datarootdir"
3895+test "x$prefix" = xNONE && prefix=$ac_default_prefix
3896+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
3897+datarootdir=`eval echo "${datarootdir}"`
3898+if test "x$CATOBJEXT" = "x.mo" ; then
3899+ localedir=`eval echo "${libdir}/locale"`
3900+else
3901+ localedir=`eval echo "${datadir}/locale"`
3902+fi
3903+prefix="$glib_save_prefix"
3904+exec_prefix="$glib_save_exec_prefix"
3905+datarootdir="$glib_save_datarootdir"
3906+AC_DEFINE_UNQUOTED($1, "$localedir",
3907+ [Define the location where the catalogs will be installed])
3908+])
3909+
3910+dnl
3911+dnl Now the definitions that aclocal will find
3912+dnl
3913+ifdef(glib_configure_ac,[],[
3914+AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
3915+AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
3916+])dnl
3917+
3918+# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
3919+#
3920+# Create a temporary file with TEST-FILE as its contents and pass the
3921+# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
3922+# 0 and perform ACTION-IF-FAIL for any other exit status.
3923+AC_DEFUN([GLIB_RUN_PROG],
3924+[cat >conftest.foo <<_ACEOF
3925+$2
3926+_ACEOF
3927+if AC_RUN_LOG([$1 conftest.foo]); then
3928+ m4_ifval([$3], [$3], [:])
3929+m4_ifvaln([$4], [else $4])dnl
3930+echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
3931+sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
3932+fi])
3933+
3934+
3935+# gnome-common.m4
3936+#
3937+# serial 3
3938+#
3939+
3940+dnl GNOME_COMMON_INIT
3941+
3942+AU_DEFUN([GNOME_COMMON_INIT],
3943+[
3944+ dnl this macro should come after AC_CONFIG_MACRO_DIR
3945+ AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
3946+
3947+ dnl ensure that when the Automake generated makefile calls aclocal,
3948+ dnl it honours the $ACLOCAL_FLAGS environment variable
3949+ ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
3950+ if test -n "$ac_macro_dir"; then
3951+ ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
3952+ fi
3953+
3954+ AC_SUBST([ACLOCAL_AMFLAGS])
3955+],
3956+[[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
3957+in your top-level Makefile.am, instead, where "m4" is the macro directory set
3958+with AC_CONFIG_MACRO_DIR() in your configure.ac]])
3959+
3960+AC_DEFUN([GNOME_DEBUG_CHECK],
3961+[
3962+ AC_ARG_ENABLE([debug],
3963+ AC_HELP_STRING([--enable-debug],
3964+ [turn on debugging]),,
3965+ [enable_debug=no])
3966+
3967+ if test x$enable_debug = xyes ; then
3968+ AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
3969+ [Enable additional debugging at the expense of performance and size])
3970+ fi
3971+])
3972+
3973+dnl GNOME_MAINTAINER_MODE_DEFINES ()
3974+dnl define DISABLE_DEPRECATED
3975+dnl
3976+AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
3977+[
3978+ AC_REQUIRE([AM_MAINTAINER_MODE])
3979+
3980+ DISABLE_DEPRECATED=""
3981+ if test $USE_MAINTAINER_MODE = yes; then
3982+ DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
3983+ for DOMAIN in $DOMAINS; do
3984+ DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
3985+ done
3986+ fi
3987+
3988+ AC_SUBST(DISABLE_DEPRECATED)
3989+])
3990+
3991+dnl GNOME_COMPILE_WARNINGS
3992+dnl Turn on many useful compiler warnings
3993+dnl For now, only works on GCC
3994+AC_DEFUN([GNOME_COMPILE_WARNINGS],[
3995+ dnl ******************************
3996+ dnl More compiler warnings
3997+ dnl ******************************
3998+
3999+ AC_ARG_ENABLE(compile-warnings,
4000+ AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
4001+ [Turn on compiler warnings]),,
4002+ [enable_compile_warnings="m4_default([$1],[yes])"])
4003+
4004+ warnCFLAGS=
4005+ if test "x$GCC" != xyes; then
4006+ enable_compile_warnings=no
4007+ fi
4008+
4009+ warning_flags=
4010+ realsave_CFLAGS="$CFLAGS"
4011+
4012+ case "$enable_compile_warnings" in
4013+ no)
4014+ warning_flags=
4015+ ;;
4016+ minimum)
4017+ warning_flags="-Wall"
4018+ ;;
4019+ yes)
4020+ warning_flags="-Wall -Wmissing-prototypes"
4021+ ;;
4022+ maximum|error)
4023+ warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
4024+ CFLAGS="$warning_flags $CFLAGS"
4025+ for option in -Wno-sign-compare; do
4026+ SAVE_CFLAGS="$CFLAGS"
4027+ CFLAGS="$CFLAGS $option"
4028+ AC_MSG_CHECKING([whether gcc understands $option])
4029+ AC_TRY_COMPILE([], [],
4030+ has_option=yes,
4031+ has_option=no,)
4032+ CFLAGS="$SAVE_CFLAGS"
4033+ AC_MSG_RESULT($has_option)
4034+ if test $has_option = yes; then
4035+ warning_flags="$warning_flags $option"
4036+ fi
4037+ unset has_option
4038+ unset SAVE_CFLAGS
4039+ done
4040+ unset option
4041+ if test "$enable_compile_warnings" = "error" ; then
4042+ warning_flags="$warning_flags -Werror"
4043+ fi
4044+ ;;
4045+ *)
4046+ AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
4047+ ;;
4048+ esac
4049+ CFLAGS="$realsave_CFLAGS"
4050+ AC_MSG_CHECKING(what warning flags to pass to the C compiler)
4051+ AC_MSG_RESULT($warning_flags)
4052+
4053+ AC_ARG_ENABLE(iso-c,
4054+ AC_HELP_STRING([--enable-iso-c],
4055+ [Try to warn if code is not ISO C ]),,
4056+ [enable_iso_c=no])
4057+
4058+ AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
4059+ complCFLAGS=
4060+ if test "x$enable_iso_c" != "xno"; then
4061+ if test "x$GCC" = "xyes"; then
4062+ case " $CFLAGS " in
4063+ *[\ \ ]-ansi[\ \ ]*) ;;
4064+ *) complCFLAGS="$complCFLAGS -ansi" ;;
4065+ esac
4066+ case " $CFLAGS " in
4067+ *[\ \ ]-pedantic[\ \ ]*) ;;
4068+ *) complCFLAGS="$complCFLAGS -pedantic" ;;
4069+ esac
4070+ fi
4071+ fi
4072+ AC_MSG_RESULT($complCFLAGS)
4073+
4074+ WARN_CFLAGS="$warning_flags $complCFLAGS"
4075+ AC_SUBST(WARN_CFLAGS)
4076+])
4077+
4078+dnl For C++, do basically the same thing.
4079+
4080+AC_DEFUN([GNOME_CXX_WARNINGS],[
4081+ AC_ARG_ENABLE(cxx-warnings,
4082+ AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
4083+ [Turn on compiler warnings.]),,
4084+ [enable_cxx_warnings="m4_default([$1],[minimum])"])
4085+
4086+ AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
4087+ warnCXXFLAGS=
4088+ if test "x$GXX" != xyes; then
4089+ enable_cxx_warnings=no
4090+ fi
4091+ if test "x$enable_cxx_warnings" != "xno"; then
4092+ if test "x$GXX" = "xyes"; then
4093+ case " $CXXFLAGS " in
4094+ *[\ \ ]-Wall[\ \ ]*) ;;
4095+ *) warnCXXFLAGS="-Wall -Wno-unused" ;;
4096+ esac
4097+
4098+ ## -W is not all that useful. And it cannot be controlled
4099+ ## with individual -Wno-xxx flags, unlike -Wall
4100+ if test "x$enable_cxx_warnings" = "xyes"; then
4101+ warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
4102+ fi
4103+ fi
4104+ fi
4105+ AC_MSG_RESULT($warnCXXFLAGS)
4106+
4107+ AC_ARG_ENABLE(iso-cxx,
4108+ AC_HELP_STRING([--enable-iso-cxx],
4109+ [Try to warn if code is not ISO C++ ]),,
4110+ [enable_iso_cxx=no])
4111+
4112+ AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
4113+ complCXXFLAGS=
4114+ if test "x$enable_iso_cxx" != "xno"; then
4115+ if test "x$GXX" = "xyes"; then
4116+ case " $CXXFLAGS " in
4117+ *[\ \ ]-ansi[\ \ ]*) ;;
4118+ *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
4119+ esac
4120+
4121+ case " $CXXFLAGS " in
4122+ *[\ \ ]-pedantic[\ \ ]*) ;;
4123+ *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
4124+ esac
4125+ fi
4126+ fi
4127+ AC_MSG_RESULT($complCXXFLAGS)
4128+
4129+ WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
4130+ AC_SUBST(WARN_CXXFLAGS)
4131+])
4132+
4133+dnl -*- mode: autoconf -*-
4134+
4135+# serial 1
4136+
4137+dnl Usage:
4138+dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
4139+AC_DEFUN([GTK_DOC_CHECK],
4140+[
4141+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
4142+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
4143+
4144+ dnl check for tools we added during development
4145+ AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
4146+ AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
4147+ AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
4148+
4149+ dnl for overriding the documentation installation directory
4150+ AC_ARG_WITH([html-dir],
4151+ AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
4152+ [with_html_dir='${datadir}/gtk-doc/html'])
4153+ HTML_DIR="$with_html_dir"
4154+ AC_SUBST([HTML_DIR])
4155+
4156+ dnl enable/disable documentation building
4157+ AC_ARG_ENABLE([gtk-doc],
4158+ AS_HELP_STRING([--enable-gtk-doc],
4159+ [use gtk-doc to build documentation [[default=no]]]),,
4160+ [enable_gtk_doc=no])
4161+
4162+ if test x$enable_gtk_doc = xyes; then
4163+ ifelse([$1],[],
4164+ [PKG_CHECK_EXISTS([gtk-doc],,
4165+ AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
4166+ [PKG_CHECK_EXISTS([gtk-doc >= $1],,
4167+ AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
4168+ fi
4169+
4170+ AC_MSG_CHECKING([whether to build gtk-doc documentation])
4171+ AC_MSG_RESULT($enable_gtk_doc)
4172+
4173+ dnl enable/disable output formats
4174+ AC_ARG_ENABLE([gtk-doc-html],
4175+ AS_HELP_STRING([--enable-gtk-doc-html],
4176+ [build documentation in html format [[default=yes]]]),,
4177+ [enable_gtk_doc_html=yes])
4178+ AC_ARG_ENABLE([gtk-doc-pdf],
4179+ AS_HELP_STRING([--enable-gtk-doc-pdf],
4180+ [build documentation in pdf format [[default=no]]]),,
4181+ [enable_gtk_doc_pdf=no])
4182+
4183+ if test -z "$GTKDOC_MKPDF"; then
4184+ enable_gtk_doc_pdf=no
4185+ fi
4186+
4187+
4188+ AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
4189+ AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
4190+ AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
4191+ AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
4192+ AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
4193+])
4194+
4195+
4196+dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
4197+# serial 40 IT_PROG_INTLTOOL
4198+AC_DEFUN([IT_PROG_INTLTOOL], [
4199+AC_PREREQ([2.50])dnl
4200+AC_REQUIRE([AM_NLS])dnl
4201+
4202+case "$am__api_version" in
4203+ 1.[01234])
4204+ AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
4205+ ;;
4206+ *)
4207+ ;;
4208+esac
4209+
4210+if test -n "$1"; then
4211+ AC_MSG_CHECKING([for intltool >= $1])
4212+
4213+ INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4214+ INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4215+ [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4216+ ]
4217+ AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
4218+ test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4219+ AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
4220+fi
4221+
4222+AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
4223+AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
4224+AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
4225+if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4226+ AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
4227+fi
4228+
4229+ INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4230+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4231+ INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4232+ INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4233+ INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
4234+ INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4235+ INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4236+ INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4237+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4238+ INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4239+ INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4240+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
4241+ INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4242+ INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4243+ INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4244+ INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4245+ INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4246+ INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4247+ INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
4248+
4249+_IT_SUBST(INTLTOOL_DESKTOP_RULE)
4250+_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
4251+_IT_SUBST(INTLTOOL_KEYS_RULE)
4252+_IT_SUBST(INTLTOOL_PROP_RULE)
4253+_IT_SUBST(INTLTOOL_OAF_RULE)
4254+_IT_SUBST(INTLTOOL_PONG_RULE)
4255+_IT_SUBST(INTLTOOL_SERVER_RULE)
4256+_IT_SUBST(INTLTOOL_SHEET_RULE)
4257+_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
4258+_IT_SUBST(INTLTOOL_UI_RULE)
4259+_IT_SUBST(INTLTOOL_XAM_RULE)
4260+_IT_SUBST(INTLTOOL_KBD_RULE)
4261+_IT_SUBST(INTLTOOL_XML_RULE)
4262+_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
4263+_IT_SUBST(INTLTOOL_CAVES_RULE)
4264+_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
4265+_IT_SUBST(INTLTOOL_THEME_RULE)
4266+_IT_SUBST(INTLTOOL_SERVICE_RULE)
4267+_IT_SUBST(INTLTOOL_POLICY_RULE)
4268+
4269+# Check the gettext tools to make sure they are GNU
4270+AC_PATH_PROG(XGETTEXT, xgettext)
4271+AC_PATH_PROG(MSGMERGE, msgmerge)
4272+AC_PATH_PROG(MSGFMT, msgfmt)
4273+AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
4274+if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4275+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
4276+fi
4277+xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4278+mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4279+mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4280+if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4281+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
4282+fi
4283+
4284+AC_PATH_PROG(INTLTOOL_PERL, perl)
4285+if test -z "$INTLTOOL_PERL"; then
4286+ AC_MSG_ERROR([perl not found])
4287+fi
4288+AC_MSG_CHECKING([for perl >= 5.8.1])
4289+$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4290+if test $? -ne 0; then
4291+ AC_MSG_ERROR([perl 5.8.1 is required for intltool])
4292+else
4293+ IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4294+ AC_MSG_RESULT([$IT_PERL_VERSION])
4295+fi
4296+if test "x$2" != "xno-xml"; then
4297+ AC_MSG_CHECKING([for XML::Parser])
4298+ if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4299+ AC_MSG_RESULT([ok])
4300+ else
4301+ AC_MSG_ERROR([XML::Parser perl module is required for intltool])
4302+ fi
4303+fi
4304+
4305+# Substitute ALL_LINGUAS so we can use it in po/Makefile
4306+AC_SUBST(ALL_LINGUAS)
4307+
4308+# Set DATADIRNAME correctly if it is not set yet
4309+# (copied from glib-gettext.m4)
4310+if test -z "$DATADIRNAME"; then
4311+ AC_LINK_IFELSE(
4312+ [AC_LANG_PROGRAM([[]],
4313+ [[extern int _nl_msg_cat_cntr;
4314+ return _nl_msg_cat_cntr]])],
4315+ [DATADIRNAME=share],
4316+ [case $host in
4317+ *-*-solaris*)
4318+ dnl On Solaris, if bind_textdomain_codeset is in libc,
4319+ dnl GNU format message catalog is always supported,
4320+ dnl since both are added to the libc all together.
4321+ dnl Hence, we'd like to go with DATADIRNAME=share
4322+ dnl in this case.
4323+ AC_CHECK_FUNC(bind_textdomain_codeset,
4324+ [DATADIRNAME=share], [DATADIRNAME=lib])
4325+ ;;
4326+ *)
4327+ [DATADIRNAME=lib]
4328+ ;;
4329+ esac])
4330+fi
4331+AC_SUBST(DATADIRNAME)
4332+
4333+IT_PO_SUBDIR([po])
4334+
4335+])
4336+
4337+
4338+# IT_PO_SUBDIR(DIRNAME)
4339+# ---------------------
4340+# All po subdirs have to be declared with this macro; the subdir "po" is
4341+# declared by IT_PROG_INTLTOOL.
4342+#
4343+AC_DEFUN([IT_PO_SUBDIR],
4344+[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
4345+dnl
4346+dnl The following CONFIG_COMMANDS should be executed at the very end
4347+dnl of config.status.
4348+AC_CONFIG_COMMANDS_PRE([
4349+ AC_CONFIG_COMMANDS([$1/stamp-it], [
4350+ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
4351+ AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
4352+ fi
4353+ rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
4354+ >"$1/stamp-it.tmp"
4355+ [sed '/^#/d
4356+ s/^[[].*] *//
4357+ /^[ ]*$/d
4358+ '"s|^| $ac_top_srcdir/|" \
4359+ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
4360+ ]
4361+ [sed '/^POTFILES =/,/[^\\]$/ {
4362+ /^POTFILES =/!d
4363+ r $1/POTFILES
4364+ }
4365+ ' "$1/Makefile.in" >"$1/Makefile"]
4366+ rm -f "$1/Makefile.tmp"
4367+ mv "$1/stamp-it.tmp" "$1/stamp-it"
4368+ ])
4369+])dnl
4370+])
4371+
4372+# _IT_SUBST(VARIABLE)
4373+# -------------------
4374+# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
4375+#
4376+AC_DEFUN([_IT_SUBST],
4377+[
4378+AC_SUBST([$1])
4379+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
4380+]
4381+)
4382+
4383+# deprecated macros
4384+AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
4385+# A hint is needed for aclocal from Automake <= 1.9.4:
4386+# AC_DEFUN([AC_PROG_INTLTOOL], ...)
4387+
4388+
4389
4390=== modified file 'config.guess'
4391--- config.guess 2009-09-26 01:23:49 +0000
4392+++ config.guess 2010-09-27 20:46:41 +0000
4393@@ -1,10 +1,10 @@
4394 #! /bin/sh
4395 # Attempt to guess a canonical system name.
4396 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4397-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4398+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
4399 # Free Software Foundation, Inc.
4400
4401-timestamp='2009-04-27'
4402+timestamp='2009-11-20'
4403
4404 # This file is free software; you can redistribute it and/or modify it
4405 # under the terms of the GNU General Public License as published by
4406@@ -27,16 +27,16 @@
4407 # the same distribution terms that you use for the rest of that program.
4408
4409
4410-# Originally written by Per Bothner <per@bothner.com>.
4411-# Please send patches to <config-patches@gnu.org>. Submit a context
4412-# diff and a properly formatted ChangeLog entry.
4413+# Originally written by Per Bothner. Please send patches (context
4414+# diff format) to <config-patches@gnu.org> and include a ChangeLog
4415+# entry.
4416 #
4417 # This script attempts to guess a canonical system name similar to
4418 # config.sub. If it succeeds, it prints the system name on stdout, and
4419 # exits with 0. Otherwise, it exits with 1.
4420 #
4421-# The plan is that this can be called by configure scripts if you
4422-# don't specify an explicit build system type.
4423+# You can get the latest version of this script from:
4424+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
4425
4426 me=`echo "$0" | sed -e 's,.*/,,'`
4427
4428@@ -170,7 +170,7 @@
4429 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
4430 eval $set_cc_for_build
4431 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
4432- | grep __ELF__ >/dev/null
4433+ | grep -q __ELF__
4434 then
4435 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
4436 # Return netbsd for either. FIX?
4437@@ -333,6 +333,9 @@
4438 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
4439 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4440 exit ;;
4441+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
4442+ echo i386-pc-auroraux${UNAME_RELEASE}
4443+ exit ;;
4444 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
4445 eval $set_cc_for_build
4446 SUN_ARCH="i386"
4447@@ -656,7 +659,7 @@
4448 # => hppa64-hp-hpux11.23
4449
4450 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
4451- grep __LP64__ >/dev/null
4452+ grep -q __LP64__
4453 then
4454 HP_ARCH="hppa2.0w"
4455 else
4456@@ -807,12 +810,12 @@
4457 i*:PW*:*)
4458 echo ${UNAME_MACHINE}-pc-pw32
4459 exit ;;
4460- *:Interix*:[3456]*)
4461+ *:Interix*:*)
4462 case ${UNAME_MACHINE} in
4463 x86)
4464 echo i586-pc-interix${UNAME_RELEASE}
4465 exit ;;
4466- EM64T | authenticamd | genuineintel)
4467+ authenticamd | genuineintel | EM64T)
4468 echo x86_64-unknown-interix${UNAME_RELEASE}
4469 exit ;;
4470 IA64)
4471@@ -822,6 +825,9 @@
4472 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
4473 echo i${UNAME_MACHINE}-pc-mks
4474 exit ;;
4475+ 8664:Windows_NT:*)
4476+ echo x86_64-pc-mks
4477+ exit ;;
4478 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
4479 # How do we know it's Interix rather than the generic POSIX subsystem?
4480 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
4481@@ -851,6 +857,20 @@
4482 i*86:Minix:*:*)
4483 echo ${UNAME_MACHINE}-pc-minix
4484 exit ;;
4485+ alpha:Linux:*:*)
4486+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
4487+ EV5) UNAME_MACHINE=alphaev5 ;;
4488+ EV56) UNAME_MACHINE=alphaev56 ;;
4489+ PCA56) UNAME_MACHINE=alphapca56 ;;
4490+ PCA57) UNAME_MACHINE=alphapca56 ;;
4491+ EV6) UNAME_MACHINE=alphaev6 ;;
4492+ EV67) UNAME_MACHINE=alphaev67 ;;
4493+ EV68*) UNAME_MACHINE=alphaev68 ;;
4494+ esac
4495+ objdump --private-headers /bin/sh | grep -q ld.so.1
4496+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
4497+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
4498+ exit ;;
4499 arm*:Linux:*:*)
4500 eval $set_cc_for_build
4501 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
4502@@ -873,6 +893,17 @@
4503 frv:Linux:*:*)
4504 echo frv-unknown-linux-gnu
4505 exit ;;
4506+ i*86:Linux:*:*)
4507+ LIBC=gnu
4508+ eval $set_cc_for_build
4509+ sed 's/^ //' << EOF >$dummy.c
4510+ #ifdef __dietlibc__
4511+ LIBC=dietlibc
4512+ #endif
4513+EOF
4514+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
4515+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
4516+ exit ;;
4517 ia64:Linux:*:*)
4518 echo ${UNAME_MACHINE}-unknown-linux-gnu
4519 exit ;;
4520@@ -882,78 +913,34 @@
4521 m68*:Linux:*:*)
4522 echo ${UNAME_MACHINE}-unknown-linux-gnu
4523 exit ;;
4524- mips:Linux:*:*)
4525- eval $set_cc_for_build
4526- sed 's/^ //' << EOF >$dummy.c
4527- #undef CPU
4528- #undef mips
4529- #undef mipsel
4530- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4531- CPU=mipsel
4532- #else
4533- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4534- CPU=mips
4535- #else
4536- CPU=
4537- #endif
4538- #endif
4539-EOF
4540- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
4541- /^CPU/{
4542- s: ::g
4543- p
4544- }'`"
4545- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4546- ;;
4547- mips64:Linux:*:*)
4548- eval $set_cc_for_build
4549- sed 's/^ //' << EOF >$dummy.c
4550- #undef CPU
4551- #undef mips64
4552- #undef mips64el
4553- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4554- CPU=mips64el
4555- #else
4556- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4557- CPU=mips64
4558- #else
4559- CPU=
4560- #endif
4561- #endif
4562-EOF
4563- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
4564- /^CPU/{
4565- s: ::g
4566- p
4567- }'`"
4568+ mips:Linux:*:* | mips64:Linux:*:*)
4569+ eval $set_cc_for_build
4570+ sed 's/^ //' << EOF >$dummy.c
4571+ #undef CPU
4572+ #undef ${UNAME_MACHINE}
4573+ #undef ${UNAME_MACHINE}el
4574+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4575+ CPU=${UNAME_MACHINE}el
4576+ #else
4577+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4578+ CPU=${UNAME_MACHINE}
4579+ #else
4580+ CPU=
4581+ #endif
4582+ #endif
4583+EOF
4584+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
4585 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
4586 ;;
4587 or32:Linux:*:*)
4588 echo or32-unknown-linux-gnu
4589 exit ;;
4590- ppc:Linux:*:*)
4591- echo powerpc-unknown-linux-gnu
4592- exit ;;
4593- ppc64:Linux:*:*)
4594- echo powerpc64-unknown-linux-gnu
4595- exit ;;
4596- alpha:Linux:*:*)
4597- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
4598- EV5) UNAME_MACHINE=alphaev5 ;;
4599- EV56) UNAME_MACHINE=alphaev56 ;;
4600- PCA56) UNAME_MACHINE=alphapca56 ;;
4601- PCA57) UNAME_MACHINE=alphapca56 ;;
4602- EV6) UNAME_MACHINE=alphaev6 ;;
4603- EV67) UNAME_MACHINE=alphaev67 ;;
4604- EV68*) UNAME_MACHINE=alphaev68 ;;
4605- esac
4606- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
4607- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
4608- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
4609- exit ;;
4610 padre:Linux:*:*)
4611 echo sparc-unknown-linux-gnu
4612 exit ;;
4613+ parisc64:Linux:*:* | hppa64:Linux:*:*)
4614+ echo hppa64-unknown-linux-gnu
4615+ exit ;;
4616 parisc:Linux:*:* | hppa:Linux:*:*)
4617 # Look for CPU level
4618 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
4619@@ -962,8 +949,11 @@
4620 *) echo hppa-unknown-linux-gnu ;;
4621 esac
4622 exit ;;
4623- parisc64:Linux:*:* | hppa64:Linux:*:*)
4624- echo hppa64-unknown-linux-gnu
4625+ ppc64:Linux:*:*)
4626+ echo powerpc64-unknown-linux-gnu
4627+ exit ;;
4628+ ppc:Linux:*:*)
4629+ echo powerpc-unknown-linux-gnu
4630 exit ;;
4631 s390:Linux:*:* | s390x:Linux:*:*)
4632 echo ${UNAME_MACHINE}-ibm-linux
4633@@ -986,66 +976,6 @@
4634 xtensa*:Linux:*:*)
4635 echo ${UNAME_MACHINE}-unknown-linux-gnu
4636 exit ;;
4637- i*86:Linux:*:*)
4638- # The BFD linker knows what the default object file format is, so
4639- # first see if it will tell us. cd to the root directory to prevent
4640- # problems with other programs or directories called `ld' in the path.
4641- # Set LC_ALL=C to ensure ld outputs messages in English.
4642- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
4643- | sed -ne '/supported targets:/!d
4644- s/[ ][ ]*/ /g
4645- s/.*supported targets: *//
4646- s/ .*//
4647- p'`
4648- case "$ld_supported_targets" in
4649- elf32-i386)
4650- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
4651- ;;
4652- a.out-i386-linux)
4653- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
4654- exit ;;
4655- "")
4656- # Either a pre-BFD a.out linker (linux-gnuoldld) or
4657- # one that does not give us useful --help.
4658- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
4659- exit ;;
4660- esac
4661- # Determine whether the default compiler is a.out or elf
4662- eval $set_cc_for_build
4663- sed 's/^ //' << EOF >$dummy.c
4664- #include <features.h>
4665- #ifdef __ELF__
4666- # ifdef __GLIBC__
4667- # if __GLIBC__ >= 2
4668- LIBC=gnu
4669- # else
4670- LIBC=gnulibc1
4671- # endif
4672- # else
4673- LIBC=gnulibc1
4674- # endif
4675- #else
4676- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
4677- LIBC=gnu
4678- #else
4679- LIBC=gnuaout
4680- #endif
4681- #endif
4682- #ifdef __dietlibc__
4683- LIBC=dietlibc
4684- #endif
4685-EOF
4686- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
4687- /^LIBC/{
4688- s: ::g
4689- p
4690- }'`"
4691- test x"${LIBC}" != x && {
4692- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
4693- exit
4694- }
4695- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
4696- ;;
4697 i*86:DYNIX/ptx:4*:*)
4698 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
4699 # earlier versions are messed up and put the nodename in both
4700@@ -1074,7 +1004,7 @@
4701 i*86:syllable:*:*)
4702 echo ${UNAME_MACHINE}-pc-syllable
4703 exit ;;
4704- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
4705+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
4706 echo i386-unknown-lynxos${UNAME_RELEASE}
4707 exit ;;
4708 i*86:*DOS:*:*)
4709@@ -1182,7 +1112,7 @@
4710 rs6000:LynxOS:2.*:*)
4711 echo rs6000-unknown-lynxos${UNAME_RELEASE}
4712 exit ;;
4713- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
4714+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
4715 echo powerpc-unknown-lynxos${UNAME_RELEASE}
4716 exit ;;
4717 SM[BE]S:UNIX_SV:*:*)
4718@@ -1275,6 +1205,16 @@
4719 *:Darwin:*:*)
4720 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
4721 case $UNAME_PROCESSOR in
4722+ i386)
4723+ eval $set_cc_for_build
4724+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
4725+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
4726+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
4727+ grep IS_64BIT_ARCH >/dev/null
4728+ then
4729+ UNAME_PROCESSOR="x86_64"
4730+ fi
4731+ fi ;;
4732 unknown) UNAME_PROCESSOR=powerpc ;;
4733 esac
4734 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
4735
4736=== modified file 'config.h.in'
4737--- config.h.in 2009-03-06 18:57:45 +0000
4738+++ config.h.in 2010-09-27 20:46:41 +0000
4739@@ -91,6 +91,9 @@
4740 /* Define to the one symbol short name of this package. */
4741 #undef PACKAGE_TARNAME
4742
4743+/* Define to the home page for this package. */
4744+#undef PACKAGE_URL
4745+
4746 /* Define to the version of this package. */
4747 #undef PACKAGE_VERSION
4748
4749
4750=== modified file 'config.sub'
4751--- config.sub 2009-09-26 01:23:49 +0000
4752+++ config.sub 2010-09-27 20:46:41 +0000
4753@@ -1,10 +1,10 @@
4754 #! /bin/sh
4755 # Configuration validation subroutine script.
4756 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4757-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4758+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
4759 # Free Software Foundation, Inc.
4760
4761-timestamp='2009-04-17'
4762+timestamp='2009-11-20'
4763
4764 # This file is (in principle) common to ALL GNU software.
4765 # The presence of a machine in this file suggests that SOME GNU software
4766@@ -32,13 +32,16 @@
4767
4768
4769 # Please send patches to <config-patches@gnu.org>. Submit a context
4770-# diff and a properly formatted ChangeLog entry.
4771+# diff and a properly formatted GNU ChangeLog entry.
4772 #
4773 # Configuration subroutine to validate and canonicalize a configuration type.
4774 # Supply the specified configuration type as an argument.
4775 # If it is invalid, we print an error message on stderr and exit with code 1.
4776 # Otherwise, we print the canonical config type on stdout and succeed.
4777
4778+# You can get the latest version of this script from:
4779+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
4780+
4781 # This file is supposed to be the same for all GNU packages
4782 # and recognize all the CPU types, system types and aliases
4783 # that are meaningful with *any* GNU software.
4784@@ -149,10 +152,13 @@
4785 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
4786 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
4787 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
4788- -apple | -axis | -knuth | -cray)
4789+ -apple | -axis | -knuth | -cray | -microblaze)
4790 os=
4791 basic_machine=$1
4792 ;;
4793+ -bluegene*)
4794+ os=-cnk
4795+ ;;
4796 -sim | -cisco | -oki | -wec | -winbond)
4797 os=
4798 basic_machine=$1
4799@@ -281,6 +287,7 @@
4800 | pdp10 | pdp11 | pj | pjl \
4801 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
4802 | pyramid \
4803+ | rx \
4804 | score \
4805 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
4806 | sh64 | sh64le \
4807@@ -288,13 +295,14 @@
4808 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
4809 | spu | strongarm \
4810 | tahoe | thumb | tic4x | tic80 | tron \
4811+ | ubicom32 \
4812 | v850 | v850e \
4813 | we32k \
4814 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
4815 | z8k | z80)
4816 basic_machine=$basic_machine-unknown
4817 ;;
4818- m6811 | m68hc11 | m6812 | m68hc12)
4819+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
4820 # Motorola 68HC11/12.
4821 basic_machine=$basic_machine-unknown
4822 os=-none
4823@@ -337,7 +345,7 @@
4824 | lm32-* \
4825 | m32c-* | m32r-* | m32rle-* \
4826 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
4827- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
4828+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
4829 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
4830 | mips16-* \
4831 | mips64-* | mips64el-* \
4832@@ -365,7 +373,7 @@
4833 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
4834 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
4835 | pyramid-* \
4836- | romp-* | rs6000-* \
4837+ | romp-* | rs6000-* | rx-* \
4838 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
4839 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
4840 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
4841@@ -374,6 +382,7 @@
4842 | tahoe-* | thumb-* \
4843 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
4844 | tron-* \
4845+ | ubicom32-* \
4846 | v850-* | v850e-* | vax-* \
4847 | we32k-* \
4848 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
4849@@ -467,6 +476,10 @@
4850 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
4851 os=-linux
4852 ;;
4853+ bluegene*)
4854+ basic_machine=powerpc-ibm
4855+ os=-cnk
4856+ ;;
4857 c90)
4858 basic_machine=c90-cray
4859 os=-unicos
4860@@ -719,6 +732,9 @@
4861 basic_machine=ns32k-utek
4862 os=-sysv
4863 ;;
4864+ microblaze)
4865+ basic_machine=microblaze-xilinx
4866+ ;;
4867 mingw32)
4868 basic_machine=i386-pc
4869 os=-mingw32
4870@@ -1240,6 +1256,9 @@
4871 # First match some system type aliases
4872 # that might get confused with valid system types.
4873 # -solaris* is a basic system type, with this one exception.
4874+ -auroraux)
4875+ os=-auroraux
4876+ ;;
4877 -solaris1 | -solaris1.*)
4878 os=`echo $os | sed -e 's|solaris1|sunos4|'`
4879 ;;
4880@@ -1260,9 +1279,9 @@
4881 # Each alternative MUST END IN A *, to match a version number.
4882 # -sysv* is not here because it comes later, after sysvr4.
4883 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
4884- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
4885- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
4886- | -kopensolaris* \
4887+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
4888+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
4889+ | -sym* | -kopensolaris* \
4890 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
4891 | -aos* | -aros* \
4892 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
4893@@ -1283,7 +1302,7 @@
4894 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
4895 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
4896 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
4897- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
4898+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
4899 # Remember, each alternative MUST END IN *, to match a version number.
4900 ;;
4901 -qnx*)
4902@@ -1613,7 +1632,7 @@
4903 -sunos*)
4904 vendor=sun
4905 ;;
4906- -aix*)
4907+ -cnk*|-aix*)
4908 vendor=ibm
4909 ;;
4910 -beos*)
4911
4912=== modified file 'configure'
4913--- configure 2010-04-05 14:23:19 +0000
4914+++ configure 2010-09-27 20:46:41 +0000
4915@@ -1,20 +1,24 @@
4916 #! /bin/sh
4917 # Guess values for system-dependent variables and create Makefiles.
4918-# Generated by GNU Autoconf 2.63 for libgnomeui 2.24.3.
4919+# Generated by GNU Autoconf 2.66 for libgnomeui 2.24.4.
4920 #
4921 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomeui>.
4922 #
4923+#
4924 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
4925-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4926+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
4927+# Foundation, Inc.
4928+#
4929+#
4930 # This configure script is free software; the Free Software Foundation
4931 # gives unlimited permission to copy, distribute and modify it.
4932-## --------------------- ##
4933-## M4sh Initialization. ##
4934-## --------------------- ##
4935+## -------------------- ##
4936+## M4sh Initialization. ##
4937+## -------------------- ##
4938
4939 # Be more Bourne compatible
4940 DUALCASE=1; export DUALCASE # for MKS sh
4941-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4942+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4943 emulate sh
4944 NULLCMD=:
4945 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4946@@ -22,23 +26,15 @@
4947 alias -g '${1+"$@"}'='"$@"'
4948 setopt NO_GLOB_SUBST
4949 else
4950- case `(set -o) 2>/dev/null` in
4951- *posix*) set -o posix ;;
4952+ case `(set -o) 2>/dev/null` in #(
4953+ *posix*) :
4954+ set -o posix ;; #(
4955+ *) :
4956+ ;;
4957 esac
4958-
4959 fi
4960
4961
4962-
4963-
4964-# PATH needs CR
4965-# Avoid depending upon Character Ranges.
4966-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4967-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4968-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4969-as_cr_digits='0123456789'
4970-as_cr_alnum=$as_cr_Letters$as_cr_digits
4971-
4972 as_nl='
4973 '
4974 export as_nl
4975@@ -46,7 +42,13 @@
4976 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4978 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4979-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4980+# Prefer a ksh shell builtin over an external printf program on Solaris,
4981+# but without wasting forks for bash or zsh.
4982+if test -z "$BASH_VERSION$ZSH_VERSION" \
4983+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4984+ as_echo='print -r --'
4985+ as_echo_n='print -rn --'
4986+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4987 as_echo='printf %s\n'
4988 as_echo_n='printf %s'
4989 else
4990@@ -57,7 +59,7 @@
4991 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4992 as_echo_n_body='eval
4993 arg=$1;
4994- case $arg in
4995+ case $arg in #(
4996 *"$as_nl"*)
4997 expr "X$arg" : "X\\(.*\\)$as_nl";
4998 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4999@@ -80,13 +82,6 @@
5000 }
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: