Codebase list policykit-1-gnome / ed53b11
Merge commit 'upstream/0.100' into experimental Michael Biebl 13 years ago
28 changed file(s) with 6264 addition(s) and 4719 deletion(s). Raw diff Collapse all Expand all
44 TODO \
55 HACKING
66
7 DISTCHECK_CONFIGURE_FLAGS=--disable-introspection
8
79 clean-local :
810 rm -f *~ po/*~
149149 GTKDOC_CHECK = @GTKDOC_CHECK@
150150 GTKDOC_MKPDF = @GTKDOC_MKPDF@
151151 GTKDOC_REBASE = @GTKDOC_REBASE@
152 GTK_API_VERSION = @GTK_API_VERSION@
152153 GTK_CFLAGS = @GTK_CFLAGS@
153154 GTK_LIBS = @GTK_LIBS@
154155 G_IR_COMPILER = @G_IR_COMPILER@
201202 PACKAGE_VERSION = @PACKAGE_VERSION@
202203 PATH_SEPARATOR = @PATH_SEPARATOR@
203204 PKG_CONFIG = @PKG_CONFIG@
205 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
206 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204207 POFILES = @POFILES@
205208 POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@
206209 POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@
254257 libexecdir = @libexecdir@
255258 localedir = @localedir@
256259 localstatedir = @localstatedir@
257 lt_ECHO = @lt_ECHO@
258260 mandir = @mandir@
259261 mkdir_p = @mkdir_p@
260262 oldincludedir = @oldincludedir@
276278 TODO \
277279 HACKING
278280
281 DISTCHECK_CONFIGURE_FLAGS = --disable-introspection
279282 all: config.h
280283 $(MAKE) $(AM_MAKEFLAGS) all-recursive
281284
0 ==========
1 polkit-gnome 0.100
2 ==========
3
4 This is polkit-gnome version 0.100.
5
6 Build requirements
7
8 polkit >= 0.97
9 gtk+-2.0 >= 2.17.1 OR gtk+-3.0
10
11 Changes since 0.99:
12
13 David Zeuthen (6):
14 Post-release version bump to 0.100
15 Make --with-gtk work with introspection
16 Nuke desktop file for autostart
17 Do not show internal polkit.* detail key/value pairs
18 Update NEWS for release
19 Fix 'make distcheck'
20
21 Matthias Clasen (6):
22 Add gnome-authentication-agent-1.desktop.in to POTFILES.skip
23 Don't use a status icon for temporary authorizations
24 Use avatar-default instead of stock_person
25 Don't use gtk_dialog_set_has_separator
26 Don't use gtk_widget_hide_all
27 Add a --with-gtk configure option
28
29 Thanks to our contributors.
30
31 David Zeuthen,
32 February 21, 2011
33
034 ==========
135 polkit-gnome 0.99
236 ==========
842 polkit >= 0.97
943 gtk+-2.0 >= 2.17.1
1044
11 Changes since 0.97:
45 Changes since 0.98:
1246
1347 David Zeuthen (5):
1448 Post-release version bump to 0.98
+1981
-1891
aclocal.m4 less more
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
16 [m4_warning([this file was generated for autoconf 2.66.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2020
21 # Copyright (C) 1995-2002 Free Software Foundation, Inc.
22 # Copyright (C) 2001-2003,2004 Red Hat, Inc.
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2322 #
24 # This file is free software, distributed under the terms of the GNU
25 # General Public License. As a special exception to the GNU General
26 # Public License, this file may be distributed as part of a program
27 # that contains a configuration script generated by Autoconf, under
28 # the same distribution terms as the rest of that program.
23 # This file is free software; the Free Software Foundation
24 # gives unlimited permission to copy and/or distribute it,
25 # with or without modifications, as long as this notice is preserved.
26
27 # AM_AUTOMAKE_VERSION(VERSION)
28 # ----------------------------
29 # Automake X.Y traces this macro to ensure aclocal.m4 has been
30 # generated from the m4 files accompanying Automake X.Y.
31 # (This private macro should not be called outside this file.)
32 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
34 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
35 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11.1], [],
37 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38 ])
39
40 # _AM_AUTOCONF_VERSION(VERSION)
41 # -----------------------------
42 # aclocal traces this macro to find the Autoconf version.
43 # This is a private macro too. Using m4_define simplifies
44 # the logic in aclocal, which can simply ignore this definition.
45 m4_define([_AM_AUTOCONF_VERSION], [])
46
47 # AM_SET_CURRENT_AUTOMAKE_VERSION
48 # -------------------------------
49 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
51 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
53 m4_ifndef([AC_AUTOCONF_VERSION],
54 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
56
57 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
58
59 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
2960 #
30 # This file can be copied and used freely without restrictions. It can
31 # be used in projects which are not available under the GNU Public License
32 # but which still want to provide support for the GNU gettext functionality.
61 # This file is free software; the Free Software Foundation
62 # gives unlimited permission to copy and/or distribute it,
63 # with or without modifications, as long as this notice is preserved.
64
65 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
66 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
67 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
3368 #
34 # Macro to add for using GNU gettext.
35 # Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
69 # Of course, Automake must honor this variable whenever it calls a
70 # tool from the auxiliary directory. The problem is that $srcdir (and
71 # therefore $ac_aux_dir as well) can be either absolute or relative,
72 # depending on how configure is run. This is pretty annoying, since
73 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
74 # source directory, any form will work fine, but in subdirectories a
75 # relative path needs to be adjusted first.
3676 #
37 # Modified to never use included libintl.
38 # Owen Taylor <otaylor@redhat.com>, 12/15/1998
77 # $ac_aux_dir/missing
78 # fails when called from a subdirectory if $ac_aux_dir is relative
79 # $top_srcdir/$ac_aux_dir/missing
80 # fails if $ac_aux_dir is absolute,
81 # fails when called from a subdirectory in a VPATH build with
82 # a relative $ac_aux_dir
3983 #
40 # Major rework to remove unused code
41 # Owen Taylor <otaylor@redhat.com>, 12/11/2002
84 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
85 # are both prefixed by $srcdir. In an in-source build this is usually
86 # harmless because $srcdir is `.', but things will broke when you
87 # start a VPATH build or use an absolute $srcdir.
4288 #
43 # Added better handling of ALL_LINGUAS from GNU gettext version
44 # written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
89 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
90 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
91 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
92 # and then we would define $MISSING as
93 # MISSING="\${SHELL} $am_aux_dir/missing"
94 # This will work as long as MISSING is not called from configure, because
95 # unfortunately $(top_srcdir) has no meaning in configure.
96 # However there are other variables, like CC, which are often used in
97 # configure, and could therefore not use this "fixed" $ac_aux_dir.
4598 #
46 # Modified to require ngettext
47 # Matthias Clasen <mclasen@redhat.com> 08/06/2004
99 # Another solution, used here, is to always expand $ac_aux_dir to an
100 # absolute PATH. The drawback is that using absolute paths prevent a
101 # configured tree to be moved without reconfiguration.
102
103 AC_DEFUN([AM_AUX_DIR_EXPAND],
104 [dnl Rely on autoconf to set up CDPATH properly.
105 AC_PREREQ([2.50])dnl
106 # expand $ac_aux_dir to an absolute path
107 am_aux_dir=`cd $ac_aux_dir && pwd`
108 ])
109
110 # AM_CONDITIONAL -*- Autoconf -*-
111
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
113 # Free Software Foundation, Inc.
48114 #
49 # We need this here as well, since someone might use autoconf-2.5x
50 # to configure GLib then an older version to configure a package
51 # using AM_GLIB_GNU_GETTEXT
52 AC_PREREQ(2.53)
53
54 dnl
55 dnl We go to great lengths to make sure that aclocal won't
56 dnl try to pull in the installed version of these macros
57 dnl when running aclocal in the glib directory.
58 dnl
59 m4_copy([AC_DEFUN],[glib_DEFUN])
60 m4_copy([AC_REQUIRE],[glib_REQUIRE])
61 dnl
62 dnl At the end, if we're not within glib, we'll define the public
63 dnl definitions in terms of our private definitions.
64 dnl
65
66 # GLIB_LC_MESSAGES
67 #--------------------
68 glib_DEFUN([GLIB_LC_MESSAGES],
69 [AC_CHECK_HEADERS([locale.h])
70 if test $ac_cv_header_locale_h = yes; then
71 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
72 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
73 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
74 if test $am_cv_val_LC_MESSAGES = yes; then
75 AC_DEFINE(HAVE_LC_MESSAGES, 1,
76 [Define if your <locale.h> file defines LC_MESSAGES.])
77 fi
78 fi])
79
80 # GLIB_PATH_PROG_WITH_TEST
81 #----------------------------
82 dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
83 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
84 glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
85 [# Extract the first word of "$2", so it can be a program name with args.
86 set dummy $2; ac_word=[$]2
87 AC_MSG_CHECKING([for $ac_word])
88 AC_CACHE_VAL(ac_cv_path_$1,
89 [case "[$]$1" in
90 /*)
91 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
92 ;;
93 *)
94 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
95 for ac_dir in ifelse([$5], , $PATH, [$5]); do
96 test -z "$ac_dir" && ac_dir=.
97 if test -f $ac_dir/$ac_word; then
98 if [$3]; then
99 ac_cv_path_$1="$ac_dir/$ac_word"
115 # This file is free software; the Free Software Foundation
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
118
119 # serial 9
120
121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
122 # -------------------------------------
123 # Define a conditional.
124 AC_DEFUN([AM_CONDITIONAL],
125 [AC_PREREQ(2.52)dnl
126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
128 AC_SUBST([$1_TRUE])dnl
129 AC_SUBST([$1_FALSE])dnl
130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
133 if $2; then
134 $1_TRUE=
135 $1_FALSE='#'
136 else
137 $1_TRUE='#'
138 $1_FALSE=
139 fi
140 AC_CONFIG_COMMANDS_PRE(
141 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
142 AC_MSG_ERROR([[conditional "$1" was never defined.
143 Usually this means the macro was only invoked conditionally.]])
144 fi])])
145
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147 # Free Software Foundation, Inc.
148 #
149 # This file is free software; the Free Software Foundation
150 # gives unlimited permission to copy and/or distribute it,
151 # with or without modifications, as long as this notice is preserved.
152
153 # serial 10
154
155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156 # written in clear, in which case automake, when reading aclocal.m4,
157 # will think it sees a *use*, and therefore will trigger all it's
158 # C support machinery. Also note that it means that autoscan, seeing
159 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
160
161
162 # _AM_DEPENDENCIES(NAME)
163 # ----------------------
164 # See how the compiler implements dependency checking.
165 # NAME is "CC", "CXX", "GCJ", or "OBJC".
166 # We try a few techniques and use that to set a single cache variable.
167 #
168 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
169 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
170 # dependency, and given that the user is not expected to run this macro,
171 # just rely on AC_PROG_CC.
172 AC_DEFUN([_AM_DEPENDENCIES],
173 [AC_REQUIRE([AM_SET_DEPDIR])dnl
174 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
175 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
176 AC_REQUIRE([AM_DEP_TRACK])dnl
177
178 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
179 [$1], CXX, [depcc="$CXX" am_compiler_list=],
180 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
181 [$1], UPC, [depcc="$UPC" am_compiler_list=],
182 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
183 [depcc="$$1" am_compiler_list=])
184
185 AC_CACHE_CHECK([dependency style of $depcc],
186 [am_cv_$1_dependencies_compiler_type],
187 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
188 # We make a subdir and do the tests there. Otherwise we can end up
189 # making bogus files that we don't know about and never remove. For
190 # instance it was reported that on HP-UX the gcc test will end up
191 # making a dummy file named `D' -- because `-MD' means `put the output
192 # in D'.
193 mkdir conftest.dir
194 # Copy depcomp to subdir because otherwise we won't find it if we're
195 # using a relative directory.
196 cp "$am_depcomp" conftest.dir
197 cd conftest.dir
198 # We will build objects and dependencies in a subdirectory because
199 # it helps to detect inapplicable dependency modes. For instance
200 # both Tru64's cc and ICC support -MD to output dependencies as a
201 # side effect of compilation, but ICC will put the dependencies in
202 # the current directory while Tru64 will put them in the object
203 # directory.
204 mkdir sub
205
206 am_cv_$1_dependencies_compiler_type=none
207 if test "$am_compiler_list" = ""; then
208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209 fi
210 am__universal=false
211 m4_case([$1], [CC],
212 [case " $depcc " in #(
213 *\ -arch\ *\ -arch\ *) am__universal=true ;;
214 esac],
215 [CXX],
216 [case " $depcc " in #(
217 *\ -arch\ *\ -arch\ *) am__universal=true ;;
218 esac])
219
220 for depmode in $am_compiler_list; do
221 # Setup a source with many dependencies, because some compilers
222 # like to wrap large dependency lists on column 80 (with \), and
223 # we should not choose a depcomp mode which is confused by this.
224 #
225 # We need to recreate these files for each test, as the compiler may
226 # overwrite some of them when testing with obscure command lines.
227 # This happens at least with the AIX C compiler.
228 : > sub/conftest.c
229 for i in 1 2 3 4 5 6; do
230 echo '#include "conftst'$i'.h"' >> sub/conftest.c
231 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
232 # Solaris 8's {/usr,}/bin/sh.
233 touch sub/conftst$i.h
234 done
235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
236
237 # We check with `-c' and `-o' for the sake of the "dashmstdout"
238 # mode. It turns out that the SunPro C++ compiler does not properly
239 # handle `-M -o', and we need to detect this. Also, some Intel
240 # versions had trouble with output in subdirs
241 am__obj=sub/conftest.${OBJEXT-o}
242 am__minus_obj="-o $am__obj"
243 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
248 nosideeffect)
249 # after this tag, mechanisms are not by side-effect, so they'll
250 # only be used when explicitly requested
251 if test "x$enable_dependency_tracking" = xyes; then
252 continue
253 else
100254 break
255 fi
256 ;;
257 msvisualcpp | msvcmsys)
258 # This compiler won't grok `-c -o', but also, the minuso test has
259 # not run yet. These depmodes are late enough in the game, and
260 # so weak that their functioning should not be impacted.
261 am__obj=conftest.${OBJEXT-o}
262 am__minus_obj=
263 ;;
264 none) break ;;
265 esac
266 if depmode=$depmode \
267 source=sub/conftest.c object=$am__obj \
268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
270 >/dev/null 2>conftest.err &&
271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
275 # icc doesn't choke on unknown options, it will just issue warnings
276 # or remarks (even with -Werror). So we grep stderr for any message
277 # that says an option was ignored or not supported.
278 # When given -MP, icc 7.0 and 7.1 complain thusly:
279 # icc: Command line warning: ignoring option '-M'; no argument required
280 # The diagnosis changed in icc 8.0:
281 # icc: Command line remark: option '-MP' not supported
282 if (grep 'ignoring option' conftest.err ||
283 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
284 am_cv_$1_dependencies_compiler_type=$depmode
285 break
101286 fi
102287 fi
103288 done
104 IFS="$ac_save_ifs"
105 dnl If no 4th arg is given, leave the cache variable unset,
106 dnl so AC_PATH_PROGS will keep looking.
107 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
108 ])dnl
289
290 cd ..
291 rm -rf conftest.dir
292 else
293 am_cv_$1_dependencies_compiler_type=none
294 fi
295 ])
296 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
297 AM_CONDITIONAL([am__fastdep$1], [
298 test "x$enable_dependency_tracking" != xno \
299 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
300 ])
301
302
303 # AM_SET_DEPDIR
304 # -------------
305 # Choose a directory name for dependency files.
306 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
307 AC_DEFUN([AM_SET_DEPDIR],
308 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
309 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
310 ])
311
312
313 # AM_DEP_TRACK
314 # ------------
315 AC_DEFUN([AM_DEP_TRACK],
316 [AC_ARG_ENABLE(dependency-tracking,
317 [ --disable-dependency-tracking speeds up one-time build
318 --enable-dependency-tracking do not reject slow dependency extractors])
319 if test "x$enable_dependency_tracking" != xno; then
320 am_depcomp="$ac_aux_dir/depcomp"
321 AMDEPBACKSLASH='\'
322 fi
323 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
324 AC_SUBST([AMDEPBACKSLASH])dnl
325 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
326 ])
327
328 # Generate code to set up dependency tracking. -*- Autoconf -*-
329
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
331 # Free Software Foundation, Inc.
332 #
333 # This file is free software; the Free Software Foundation
334 # gives unlimited permission to copy and/or distribute it,
335 # with or without modifications, as long as this notice is preserved.
336
337 #serial 5
338
339 # _AM_OUTPUT_DEPENDENCY_COMMANDS
340 # ------------------------------
341 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
342 [{
343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
344 # are listed without --file. Let's play safe and only enable the eval
345 # if we detect the quoting.
346 case $CONFIG_FILES in
347 *\'*) eval set x "$CONFIG_FILES" ;;
348 *) set x $CONFIG_FILES ;;
349 esac
350 shift
351 for mf
352 do
353 # Strip MF so we end up with the name of the file.
354 mf=`echo "$mf" | sed -e 's/:.*$//'`
355 # Check whether this is an Automake generated Makefile or not.
356 # We used to match only the files named `Makefile.in', but
357 # some people rename them; so instead we look at the file content.
358 # Grep'ing the first line is not enough: some people post-process
359 # each Makefile.in and add a new line on top of each file to say so.
360 # Grep'ing the whole file is not good either: AIX grep has a line
361 # limit of 2048, but all sed's we know have understand at least 4000.
362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
363 dirpart=`AS_DIRNAME("$mf")`
364 else
365 continue
366 fi
367 # Extract the definition of DEPDIR, am__include, and am__quote
368 # from the Makefile without running `make'.
369 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
370 test -z "$DEPDIR" && continue
371 am__include=`sed -n 's/^am__include = //p' < "$mf"`
372 test -z "am__include" && continue
373 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
374 # When using ansi2knr, U may be empty or an underscore; expand it
375 U=`sed -n 's/^U = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
390 done
391 }
392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
393
394
395 # AM_OUTPUT_DEPENDENCY_COMMANDS
396 # -----------------------------
397 # This macro should only be invoked once -- use via AC_REQUIRE.
398 #
399 # This code is only required when automatic dependency tracking
400 # is enabled. FIXME. This creates each `.P' file that we will
401 # need in order to bootstrap the dependency handling code.
402 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
403 [AC_CONFIG_COMMANDS([depfiles],
404 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
405 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
406 ])
407
408 # Do all the work for Automake. -*- Autoconf -*-
409
410 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
411 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
412 #
413 # This file is free software; the Free Software Foundation
414 # gives unlimited permission to copy and/or distribute it,
415 # with or without modifications, as long as this notice is preserved.
416
417 # serial 16
418
419 # This macro actually does too much. Some checks are only needed if
420 # your package does certain things. But this isn't really a big deal.
421
422 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
423 # AM_INIT_AUTOMAKE([OPTIONS])
424 # -----------------------------------------------
425 # The call with PACKAGE and VERSION arguments is the old style
426 # call (pre autoconf-2.50), which is being phased out. PACKAGE
427 # and VERSION should now be passed to AC_INIT and removed from
428 # the call to AM_INIT_AUTOMAKE.
429 # We support both call styles for the transition. After
430 # the next Automake release, Autoconf can make the AC_INIT
431 # arguments mandatory, and then we can depend on a new Autoconf
432 # release and drop the old call support.
433 AC_DEFUN([AM_INIT_AUTOMAKE],
434 [AC_PREREQ([2.62])dnl
435 dnl Autoconf wants to disallow AM_ names. We explicitly allow
436 dnl the ones we care about.
437 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
438 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
439 AC_REQUIRE([AC_PROG_INSTALL])dnl
440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
442 # is not polluted with repeated "-I."
443 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
444 # test to see if srcdir already configured
445 if test -f $srcdir/config.status; then
446 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
447 fi
448 fi
449
450 # test whether we have cygpath
451 if test -z "$CYGPATH_W"; then
452 if (cygpath --version) >/dev/null 2>/dev/null; then
453 CYGPATH_W='cygpath -w'
454 else
455 CYGPATH_W=echo
456 fi
457 fi
458 AC_SUBST([CYGPATH_W])
459
460 # Define the identity of the package.
461 dnl Distinguish between old-style and new-style calls.
462 m4_ifval([$2],
463 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
464 AC_SUBST([PACKAGE], [$1])dnl
465 AC_SUBST([VERSION], [$2])],
466 [_AM_SET_OPTIONS([$1])dnl
467 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
468 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
469 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
470 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
471 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
472
473 _AM_IF_OPTION([no-define],,
474 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
475 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
476
477 # Some tools Automake needs.
478 AC_REQUIRE([AM_SANITY_CHECK])dnl
479 AC_REQUIRE([AC_ARG_PROGRAM])dnl
480 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
481 AM_MISSING_PROG(AUTOCONF, autoconf)
482 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
483 AM_MISSING_PROG(AUTOHEADER, autoheader)
484 AM_MISSING_PROG(MAKEINFO, makeinfo)
485 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
486 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
487 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
488 # We need awk for the "check" target. The system "awk" is bad on
489 # some platforms.
490 AC_REQUIRE([AC_PROG_AWK])dnl
491 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
492 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
493 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
494 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
495 [_AM_PROG_TAR([v7])])])
496 _AM_IF_OPTION([no-dependencies],,
497 [AC_PROVIDE_IFELSE([AC_PROG_CC],
498 [_AM_DEPENDENCIES(CC)],
499 [define([AC_PROG_CC],
500 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
501 AC_PROVIDE_IFELSE([AC_PROG_CXX],
502 [_AM_DEPENDENCIES(CXX)],
503 [define([AC_PROG_CXX],
504 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
505 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
506 [_AM_DEPENDENCIES(OBJC)],
507 [define([AC_PROG_OBJC],
508 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
509 ])
510 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
511 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
512 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
513 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
514 AC_CONFIG_COMMANDS_PRE(dnl
515 [m4_provide_if([_AM_COMPILER_EXEEXT],
516 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
517 ])
518
519 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
520 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
521 dnl mangled by Autoconf and run in a shell conditional statement.
522 m4_define([_AC_COMPILER_EXEEXT],
523 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
524
525
526 # When config.status generates a header, we must update the stamp-h file.
527 # This file resides in the same directory as the config header
528 # that is generated. The stamp files are numbered to have different names.
529
530 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
531 # loop where config.status creates the headers, so we can generate
532 # our stamp files there.
533 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
534 [# Compute $1's index in $config_headers.
535 _am_arg=$1
536 _am_stamp_count=1
537 for _am_header in $config_headers :; do
538 case $_am_header in
539 $_am_arg | $_am_arg:* )
540 break ;;
541 * )
542 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
543 esac
544 done
545 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
546
547 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
548 #
549 # This file is free software; the Free Software Foundation
550 # gives unlimited permission to copy and/or distribute it,
551 # with or without modifications, as long as this notice is preserved.
552
553 # AM_PROG_INSTALL_SH
554 # ------------------
555 # Define $install_sh.
556 AC_DEFUN([AM_PROG_INSTALL_SH],
557 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
558 if test x"${install_sh}" != xset; then
559 case $am_aux_dir in
560 *\ * | *\ *)
561 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
562 *)
563 install_sh="\${SHELL} $am_aux_dir/install-sh"
564 esac
565 fi
566 AC_SUBST(install_sh)])
567
568 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
569 #
570 # This file is free software; the Free Software Foundation
571 # gives unlimited permission to copy and/or distribute it,
572 # with or without modifications, as long as this notice is preserved.
573
574 # serial 2
575
576 # Check whether the underlying file-system supports filenames
577 # with a leading dot. For instance MS-DOS doesn't.
578 AC_DEFUN([AM_SET_LEADING_DOT],
579 [rm -rf .tst 2>/dev/null
580 mkdir .tst 2>/dev/null
581 if test -d .tst; then
582 am__leading_dot=.
583 else
584 am__leading_dot=_
585 fi
586 rmdir .tst 2>/dev/null
587 AC_SUBST([am__leading_dot])])
588
589 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
590 # From Jim Meyering
591
592 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
593 # Free Software Foundation, Inc.
594 #
595 # This file is free software; the Free Software Foundation
596 # gives unlimited permission to copy and/or distribute it,
597 # with or without modifications, as long as this notice is preserved.
598
599 # serial 5
600
601 # AM_MAINTAINER_MODE([DEFAULT-MODE])
602 # ----------------------------------
603 # Control maintainer-specific portions of Makefiles.
604 # Default is to disable them, unless `enable' is passed literally.
605 # For symmetry, `disable' may be passed as well. Anyway, the user
606 # can override the default with the --enable/--disable switch.
607 AC_DEFUN([AM_MAINTAINER_MODE],
608 [m4_case(m4_default([$1], [disable]),
609 [enable], [m4_define([am_maintainer_other], [disable])],
610 [disable], [m4_define([am_maintainer_other], [enable])],
611 [m4_define([am_maintainer_other], [enable])
612 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
613 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
614 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
615 AC_ARG_ENABLE([maintainer-mode],
616 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
617 (and sometimes confusing) to the casual installer],
618 [USE_MAINTAINER_MODE=$enableval],
619 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
620 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
621 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
622 MAINT=$MAINTAINER_MODE_TRUE
623 AC_SUBST([MAINT])dnl
624 ]
625 )
626
627 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
628
629 # Check to see how 'make' treats includes. -*- Autoconf -*-
630
631 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
632 #
633 # This file is free software; the Free Software Foundation
634 # gives unlimited permission to copy and/or distribute it,
635 # with or without modifications, as long as this notice is preserved.
636
637 # serial 4
638
639 # AM_MAKE_INCLUDE()
640 # -----------------
641 # Check to see how make treats includes.
642 AC_DEFUN([AM_MAKE_INCLUDE],
643 [am_make=${MAKE-make}
644 cat > confinc << 'END'
645 am__doit:
646 @echo this is the am__doit target
647 .PHONY: am__doit
648 END
649 # If we don't find an include directive, just comment out the code.
650 AC_MSG_CHECKING([for style of include used by $am_make])
651 am__include="#"
652 am__quote=
653 _am_result=none
654 # First try GNU make style include.
655 echo "include confinc" > confmf
656 # Ignore all kinds of additional output from `make'.
657 case `$am_make -s -f confmf 2> /dev/null` in #(
658 *the\ am__doit\ target*)
659 am__include=include
660 am__quote=
661 _am_result=GNU
109662 ;;
110 esac])dnl
111 $1="$ac_cv_path_$1"
112 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
113 AC_MSG_RESULT([$]$1)
663 esac
664 # Now try BSD make style include.
665 if test "$am__include" = "#"; then
666 echo '.include "confinc"' > confmf
667 case `$am_make -s -f confmf 2> /dev/null` in #(
668 *the\ am__doit\ target*)
669 am__include=.include
670 am__quote="\""
671 _am_result=BSD
672 ;;
673 esac
674 fi
675 AC_SUBST([am__include])
676 AC_SUBST([am__quote])
677 AC_MSG_RESULT([$_am_result])
678 rm -f confinc confmf
679 ])
680
681 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
682
683 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
684 # Free Software Foundation, Inc.
685 #
686 # This file is free software; the Free Software Foundation
687 # gives unlimited permission to copy and/or distribute it,
688 # with or without modifications, as long as this notice is preserved.
689
690 # serial 6
691
692 # AM_MISSING_PROG(NAME, PROGRAM)
693 # ------------------------------
694 AC_DEFUN([AM_MISSING_PROG],
695 [AC_REQUIRE([AM_MISSING_HAS_RUN])
696 $1=${$1-"${am_missing_run}$2"}
697 AC_SUBST($1)])
698
699
700 # AM_MISSING_HAS_RUN
701 # ------------------
702 # Define MISSING if not defined so far and test if it supports --run.
703 # If it does, set am_missing_run to use it, otherwise, to nothing.
704 AC_DEFUN([AM_MISSING_HAS_RUN],
705 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
706 AC_REQUIRE_AUX_FILE([missing])dnl
707 if test x"${MISSING+set}" != xset; then
708 case $am_aux_dir in
709 *\ * | *\ *)
710 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
711 *)
712 MISSING="\${SHELL} $am_aux_dir/missing" ;;
713 esac
714 fi
715 # Use eval to expand $SHELL
716 if eval "$MISSING --run true"; then
717 am_missing_run="$MISSING --run "
114718 else
115 AC_MSG_RESULT(no)
719 am_missing_run=
720 AC_MSG_WARN([`missing' script is too old or missing])
116721 fi
117 AC_SUBST($1)dnl
118722 ])
119723
120 # GLIB_WITH_NLS
121 #-----------------
122 glib_DEFUN([GLIB_WITH_NLS],
123 dnl NLS is obligatory
124 [USE_NLS=yes
125 AC_SUBST(USE_NLS)
126
127 gt_cv_have_gettext=no
128
129 CATOBJEXT=NONE
130 XGETTEXT=:
131 INTLLIBS=
132
133 AC_CHECK_HEADER(libintl.h,
134 [gt_cv_func_dgettext_libintl="no"
135 libintl_extra_libs=""
136
137 #
138 # First check in libc
139 #
140 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
141 [AC_TRY_LINK([
142 #include <libintl.h>
143 ],
144 [return !ngettext ("","", 1)],
145 gt_cv_func_ngettext_libc=yes,
146 gt_cv_func_ngettext_libc=no)
147 ])
148
149 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
150 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
151 [AC_TRY_LINK([
152 #include <libintl.h>
153 ],
154 [return !dgettext ("","")],
155 gt_cv_func_dgettext_libc=yes,
156 gt_cv_func_dgettext_libc=no)
157 ])
158 fi
159
160 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
161 AC_CHECK_FUNCS(bind_textdomain_codeset)
162 fi
163
164 #
165 # If we don't have everything we want, check in libintl
166 #
167 if test "$gt_cv_func_dgettext_libc" != "yes" \
168 || test "$gt_cv_func_ngettext_libc" != "yes" \
169 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
170
171 AC_CHECK_LIB(intl, bindtextdomain,
172 [AC_CHECK_LIB(intl, ngettext,
173 [AC_CHECK_LIB(intl, dgettext,
174 gt_cv_func_dgettext_libintl=yes)])])
175
176 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
177 AC_MSG_CHECKING([if -liconv is needed to use gettext])
178 AC_MSG_RESULT([])
179 AC_CHECK_LIB(intl, ngettext,
180 [AC_CHECK_LIB(intl, dcgettext,
181 [gt_cv_func_dgettext_libintl=yes
182 libintl_extra_libs=-liconv],
183 :,-liconv)],
184 :,-liconv)
185 fi
186
187 #
188 # If we found libintl, then check in it for bind_textdomain_codeset();
189 # we'll prefer libc if neither have bind_textdomain_codeset(),
190 # and both have dgettext and ngettext
191 #
192 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
193 glib_save_LIBS="$LIBS"
194 LIBS="$LIBS -lintl $libintl_extra_libs"
195 unset ac_cv_func_bind_textdomain_codeset
196 AC_CHECK_FUNCS(bind_textdomain_codeset)
197 LIBS="$glib_save_LIBS"
198
199 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
200 gt_cv_func_dgettext_libc=no
201 else
202 if test "$gt_cv_func_dgettext_libc" = "yes" \
203 && test "$gt_cv_func_ngettext_libc" = "yes"; then
204 gt_cv_func_dgettext_libintl=no
205 fi
206 fi
207 fi
208 fi
209
210 if test "$gt_cv_func_dgettext_libc" = "yes" \
211 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
212 gt_cv_have_gettext=yes
213 fi
214
215 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
216 INTLLIBS="-lintl $libintl_extra_libs"
217 fi
218
219 if test "$gt_cv_have_gettext" = "yes"; then
220 AC_DEFINE(HAVE_GETTEXT,1,
221 [Define if the GNU gettext() function is already present or preinstalled.])
222 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
223 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
224 if test "$MSGFMT" != "no"; then
225 glib_save_LIBS="$LIBS"
226 LIBS="$LIBS $INTLLIBS"
227 AC_CHECK_FUNCS(dcgettext)
228 MSGFMT_OPTS=
229 AC_MSG_CHECKING([if msgfmt accepts -c])
230 GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
231 msgid ""
232 msgstr ""
233 "Content-Type: text/plain; charset=UTF-8\n"
234 "Project-Id-Version: test 1.0\n"
235 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
236 "Last-Translator: test <foo@bar.xx>\n"
237 "Language-Team: C <LL@li.org>\n"
238 "MIME-Version: 1.0\n"
239 "Content-Transfer-Encoding: 8bit\n"
240 ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
241 AC_SUBST(MSGFMT_OPTS)
242 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
243 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
244 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
245 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
246 return _nl_msg_cat_cntr],
247 [CATOBJEXT=.gmo
248 DATADIRNAME=share],
249 [case $host in
250 *-*-solaris*)
251 dnl On Solaris, if bind_textdomain_codeset is in libc,
252 dnl GNU format message catalog is always supported,
253 dnl since both are added to the libc all together.
254 dnl Hence, we'd like to go with DATADIRNAME=share and
255 dnl and CATOBJEXT=.gmo in this case.
256 AC_CHECK_FUNC(bind_textdomain_codeset,
257 [CATOBJEXT=.gmo
258 DATADIRNAME=share],
259 [CATOBJEXT=.mo
260 DATADIRNAME=lib])
261 ;;
262 *)
263 CATOBJEXT=.mo
264 DATADIRNAME=lib
265 ;;
266 esac])
267 LIBS="$glib_save_LIBS"
268 INSTOBJEXT=.mo
269 else
270 gt_cv_have_gettext=no
271 fi
272 fi
273 ])
274
275 if test "$gt_cv_have_gettext" = "yes" ; then
276 AC_DEFINE(ENABLE_NLS, 1,
277 [always defined to indicate that i18n is enabled])
278 fi
279
280 dnl Test whether we really found GNU xgettext.
281 if test "$XGETTEXT" != ":"; then
282 dnl If it is not GNU xgettext we define it as : so that the
283 dnl Makefiles still can work.
284 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
285 : ;
286 else
287 AC_MSG_RESULT(
288 [found xgettext program is not GNU xgettext; ignore it])
289 XGETTEXT=":"
290 fi
291 fi
292
293 # We need to process the po/ directory.
294 POSUB=po
295
296 AC_OUTPUT_COMMANDS(
297 [case "$CONFIG_FILES" in *po/Makefile.in*)
298 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
299 esac])
300
301 dnl These rules are solely for the distribution goal. While doing this
302 dnl we only have to keep exactly one list of the available catalogs
303 dnl in configure.ac.
304 for lang in $ALL_LINGUAS; do
305 GMOFILES="$GMOFILES $lang.gmo"
306 POFILES="$POFILES $lang.po"
724 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
725 #
726 # This file is free software; the Free Software Foundation
727 # gives unlimited permission to copy and/or distribute it,
728 # with or without modifications, as long as this notice is preserved.
729
730 # AM_PROG_MKDIR_P
731 # ---------------
732 # Check for `mkdir -p'.
733 AC_DEFUN([AM_PROG_MKDIR_P],
734 [AC_PREREQ([2.60])dnl
735 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
736 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
737 dnl while keeping a definition of mkdir_p for backward compatibility.
738 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
739 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
740 dnl Makefile.ins that do not define MKDIR_P, so we do our own
741 dnl adjustment using top_builddir (which is defined more often than
742 dnl MKDIR_P).
743 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
744 case $mkdir_p in
745 [[\\/$]]* | ?:[[\\/]]*) ;;
746 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
747 esac
748 ])
749
750 # Helper functions for option handling. -*- Autoconf -*-
751
752 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
753 #
754 # This file is free software; the Free Software Foundation
755 # gives unlimited permission to copy and/or distribute it,
756 # with or without modifications, as long as this notice is preserved.
757
758 # serial 4
759
760 # _AM_MANGLE_OPTION(NAME)
761 # -----------------------
762 AC_DEFUN([_AM_MANGLE_OPTION],
763 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
764
765 # _AM_SET_OPTION(NAME)
766 # ------------------------------
767 # Set option NAME. Presently that only means defining a flag for this option.
768 AC_DEFUN([_AM_SET_OPTION],
769 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
770
771 # _AM_SET_OPTIONS(OPTIONS)
772 # ----------------------------------
773 # OPTIONS is a space-separated list of Automake options.
774 AC_DEFUN([_AM_SET_OPTIONS],
775 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
776
777 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
778 # -------------------------------------------
779 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
780 AC_DEFUN([_AM_IF_OPTION],
781 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
782
783 # Check to make sure that the build environment is sane. -*- Autoconf -*-
784
785 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
786 # Free Software Foundation, Inc.
787 #
788 # This file is free software; the Free Software Foundation
789 # gives unlimited permission to copy and/or distribute it,
790 # with or without modifications, as long as this notice is preserved.
791
792 # serial 5
793
794 # AM_SANITY_CHECK
795 # ---------------
796 AC_DEFUN([AM_SANITY_CHECK],
797 [AC_MSG_CHECKING([whether build environment is sane])
798 # Just in case
799 sleep 1
800 echo timestamp > conftest.file
801 # Reject unsafe characters in $srcdir or the absolute working directory
802 # name. Accept space and tab only in the latter.
803 am_lf='
804 '
805 case `pwd` in
806 *[[\\\"\#\$\&\'\`$am_lf]]*)
807 AC_MSG_ERROR([unsafe absolute working directory name]);;
808 esac
809 case $srcdir in
810 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
811 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
812 esac
813
814 # Do `set' in a subshell so we don't clobber the current shell's
815 # arguments. Must try -L first in case configure is actually a
816 # symlink; some systems play weird games with the mod time of symlinks
817 # (eg FreeBSD returns the mod time of the symlink's containing
818 # directory).
819 if (
820 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
821 if test "$[*]" = "X"; then
822 # -L didn't work.
823 set X `ls -t "$srcdir/configure" conftest.file`
824 fi
825 rm -f conftest.file
826 if test "$[*]" != "X $srcdir/configure conftest.file" \
827 && test "$[*]" != "X conftest.file $srcdir/configure"; then
828
829 # If neither matched, then we have a broken ls. This can happen
830 # if, for instance, CONFIG_SHELL is bash and it inherits a
831 # broken ls alias from the environment. This has actually
832 # happened. Such a system could not be considered "sane".
833 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
834 alias in your environment])
835 fi
836
837 test "$[2]" = conftest.file
838 )
839 then
840 # Ok.
841 :
842 else
843 AC_MSG_ERROR([newly created file is older than distributed files!
844 Check your system clock])
845 fi
846 AC_MSG_RESULT(yes)])
847
848 # Copyright (C) 2009 Free Software Foundation, Inc.
849 #
850 # This file is free software; the Free Software Foundation
851 # gives unlimited permission to copy and/or distribute it,
852 # with or without modifications, as long as this notice is preserved.
853
854 # serial 1
855
856 # AM_SILENT_RULES([DEFAULT])
857 # --------------------------
858 # Enable less verbose build rules; with the default set to DEFAULT
859 # (`yes' being less verbose, `no' or empty being verbose).
860 AC_DEFUN([AM_SILENT_RULES],
861 [AC_ARG_ENABLE([silent-rules],
862 [ --enable-silent-rules less verbose build output (undo: `make V=1')
863 --disable-silent-rules verbose build output (undo: `make V=0')])
864 case $enable_silent_rules in
865 yes) AM_DEFAULT_VERBOSITY=0;;
866 no) AM_DEFAULT_VERBOSITY=1;;
867 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
868 esac
869 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
870 AM_BACKSLASH='\'
871 AC_SUBST([AM_BACKSLASH])dnl
872 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
873 ])
874
875 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
876 #
877 # This file is free software; the Free Software Foundation
878 # gives unlimited permission to copy and/or distribute it,
879 # with or without modifications, as long as this notice is preserved.
880
881 # AM_PROG_INSTALL_STRIP
882 # ---------------------
883 # One issue with vendor `install' (even GNU) is that you can't
884 # specify the program used to strip binaries. This is especially
885 # annoying in cross-compiling environments, where the build's strip
886 # is unlikely to handle the host's binaries.
887 # Fortunately install-sh will honor a STRIPPROG variable, so we
888 # always use install-sh in `make install-strip', and initialize
889 # STRIPPROG with the value of the STRIP variable (set by the user).
890 AC_DEFUN([AM_PROG_INSTALL_STRIP],
891 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
892 # Installed binaries are usually stripped using `strip' when the user
893 # run `make install-strip'. However `strip' might not be the right
894 # tool to use in cross-compilation environments, therefore Automake
895 # will honor the `STRIP' environment variable to overrule this program.
896 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
897 if test "$cross_compiling" != no; then
898 AC_CHECK_TOOL([STRIP], [strip], :)
899 fi
900 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
901 AC_SUBST([INSTALL_STRIP_PROGRAM])])
902
903 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
904 #
905 # This file is free software; the Free Software Foundation
906 # gives unlimited permission to copy and/or distribute it,
907 # with or without modifications, as long as this notice is preserved.
908
909 # serial 2
910
911 # _AM_SUBST_NOTMAKE(VARIABLE)
912 # ---------------------------
913 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
914 # This macro is traced by Automake.
915 AC_DEFUN([_AM_SUBST_NOTMAKE])
916
917 # AM_SUBST_NOTMAKE(VARIABLE)
918 # ---------------------------
919 # Public sister of _AM_SUBST_NOTMAKE.
920 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
921
922 # Check how to create a tarball. -*- Autoconf -*-
923
924 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
925 #
926 # This file is free software; the Free Software Foundation
927 # gives unlimited permission to copy and/or distribute it,
928 # with or without modifications, as long as this notice is preserved.
929
930 # serial 2
931
932 # _AM_PROG_TAR(FORMAT)
933 # --------------------
934 # Check how to create a tarball in format FORMAT.
935 # FORMAT should be one of `v7', `ustar', or `pax'.
936 #
937 # Substitute a variable $(am__tar) that is a command
938 # writing to stdout a FORMAT-tarball containing the directory
939 # $tardir.
940 # tardir=directory && $(am__tar) > result.tar
941 #
942 # Substitute a variable $(am__untar) that extract such
943 # a tarball read from stdin.
944 # $(am__untar) < result.tar
945 AC_DEFUN([_AM_PROG_TAR],
946 [# Always define AMTAR for backward compatibility.
947 AM_MISSING_PROG([AMTAR], [tar])
948 m4_if([$1], [v7],
949 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
950 [m4_case([$1], [ustar],, [pax],,
951 [m4_fatal([Unknown tar format])])
952 AC_MSG_CHECKING([how to create a $1 tar archive])
953 # Loop over all known methods to create a tar archive until one works.
954 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
955 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
956 # Do not fold the above two line into one, because Tru64 sh and
957 # Solaris sh will not grok spaces in the rhs of `-'.
958 for _am_tool in $_am_tools
959 do
960 case $_am_tool in
961 gnutar)
962 for _am_tar in tar gnutar gtar;
963 do
964 AM_RUN_LOG([$_am_tar --version]) && break
307965 done
308
309 dnl Make all variables we use known to autoconf.
310 AC_SUBST(CATALOGS)
311 AC_SUBST(CATOBJEXT)
312 AC_SUBST(DATADIRNAME)
313 AC_SUBST(GMOFILES)
314 AC_SUBST(INSTOBJEXT)
315 AC_SUBST(INTLLIBS)
316 AC_SUBST(PO_IN_DATADIR_TRUE)
317 AC_SUBST(PO_IN_DATADIR_FALSE)
318 AC_SUBST(POFILES)
319 AC_SUBST(POSUB)
320 ])
321
322 # AM_GLIB_GNU_GETTEXT
323 # -------------------
324 # Do checks necessary for use of gettext. If a suitable implementation
325 # of gettext is found in either in libintl or in the C library,
326 # it will set INTLLIBS to the libraries needed for use of gettext
327 # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
328 # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
329 # on various variables needed by the Makefile.in.in installed by
330 # glib-gettextize.
331 dnl
332 glib_DEFUN([GLIB_GNU_GETTEXT],
333 [AC_REQUIRE([AC_PROG_CC])dnl
334 AC_REQUIRE([AC_HEADER_STDC])dnl
335
336 GLIB_LC_MESSAGES
337 GLIB_WITH_NLS
338
339 if test "$gt_cv_have_gettext" = "yes"; then
340 if test "x$ALL_LINGUAS" = "x"; then
341 LINGUAS=
342 else
343 AC_MSG_CHECKING(for catalogs to be installed)
344 NEW_LINGUAS=
345 for presentlang in $ALL_LINGUAS; do
346 useit=no
347 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
348 desiredlanguages="$LINGUAS"
349 else
350 desiredlanguages="$ALL_LINGUAS"
351 fi
352 for desiredlang in $desiredlanguages; do
353 # Use the presentlang catalog if desiredlang is
354 # a. equal to presentlang, or
355 # b. a variant of presentlang (because in this case,
356 # presentlang can be used as a fallback for messages
357 # which are not translated in the desiredlang catalog).
358 case "$desiredlang" in
359 "$presentlang"*) useit=yes;;
360 esac
361 done
362 if test $useit = yes; then
363 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
364 fi
365 done
366 LINGUAS=$NEW_LINGUAS
367 AC_MSG_RESULT($LINGUAS)
368 fi
369
370 dnl Construct list of names of catalog files to be constructed.
371 if test -n "$LINGUAS"; then
372 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
373 fi
374 fi
375
376 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
377 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
378 dnl Try to locate is.
379 MKINSTALLDIRS=
380 if test -n "$ac_aux_dir"; then
381 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
382 fi
383 if test -z "$MKINSTALLDIRS"; then
384 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
385 fi
386 AC_SUBST(MKINSTALLDIRS)
387
388 dnl Generate list of files to be processed by xgettext which will
389 dnl be included in po/Makefile.
390 test -d po || mkdir po
391 if test "x$srcdir" != "x."; then
392 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
393 posrcprefix="$srcdir/"
394 else
395 posrcprefix="../$srcdir/"
396 fi
397 else
398 posrcprefix="../"
399 fi
400 rm -f po/POTFILES
401 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
402 < $srcdir/po/POTFILES.in > po/POTFILES
403 ])
404
405 # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
406 # -------------------------------
407 # Define VARIABLE to the location where catalog files will
408 # be installed by po/Makefile.
409 glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
410 [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
411 glib_save_prefix="$prefix"
412 glib_save_exec_prefix="$exec_prefix"
413 glib_save_datarootdir="$datarootdir"
414 test "x$prefix" = xNONE && prefix=$ac_default_prefix
415 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
416 datarootdir=`eval echo "${datarootdir}"`
417 if test "x$CATOBJEXT" = "x.mo" ; then
418 localedir=`eval echo "${libdir}/locale"`
419 else
420 localedir=`eval echo "${datadir}/locale"`
421 fi
422 prefix="$glib_save_prefix"
423 exec_prefix="$glib_save_exec_prefix"
424 datarootdir="$glib_save_datarootdir"
425 AC_DEFINE_UNQUOTED($1, "$localedir",
426 [Define the location where the catalogs will be installed])
427 ])
428
429 dnl
430 dnl Now the definitions that aclocal will find
431 dnl
432 ifdef(glib_configure_ac,[],[
433 AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
434 AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
435 ])dnl
436
437 # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
438 #
439 # Create a temporary file with TEST-FILE as its contents and pass the
440 # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
441 # 0 and perform ACTION-IF-FAIL for any other exit status.
442 AC_DEFUN([GLIB_RUN_PROG],
443 [cat >conftest.foo <<_ACEOF
444 $2
445 _ACEOF
446 if AC_RUN_LOG([$1 conftest.foo]); then
447 m4_ifval([$3], [$3], [:])
448 m4_ifvaln([$4], [else $4])dnl
449 echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
450 sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
451 fi])
452
966 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
967 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
968 am__untar="$_am_tar -xf -"
969 ;;
970 plaintar)
971 # Must skip GNU tar: if it does not support --format= it doesn't create
972 # ustar tarball either.
973 (tar --version) >/dev/null 2>&1 && continue
974 am__tar='tar chf - "$$tardir"'
975 am__tar_='tar chf - "$tardir"'
976 am__untar='tar xf -'
977 ;;
978 pax)
979 am__tar='pax -L -x $1 -w "$$tardir"'
980 am__tar_='pax -L -x $1 -w "$tardir"'
981 am__untar='pax -r'
982 ;;
983 cpio)
984 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
985 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
986 am__untar='cpio -i -H $1 -d'
987 ;;
988 none)
989 am__tar=false
990 am__tar_=false
991 am__untar=false
992 ;;
993 esac
994
995 # If the value was cached, stop now. We just wanted to have am__tar
996 # and am__untar set.
997 test -n "${am_cv_prog_tar_$1}" && break
998
999 # tar/untar a dummy directory, and stop if the command works
1000 rm -rf conftest.dir
1001 mkdir conftest.dir
1002 echo GrepMe > conftest.dir/file
1003 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1004 rm -rf conftest.dir
1005 if test -s conftest.tar; then
1006 AM_RUN_LOG([$am__untar <conftest.tar])
1007 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1008 fi
1009 done
1010 rm -rf conftest.dir
1011
1012 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1013 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1014 AC_SUBST([am__tar])
1015 AC_SUBST([am__untar])
1016 ]) # _AM_PROG_TAR
4531017
4541018 # gnome-common.m4
4551019 #
9031467 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
9041468 #
9051469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
906 # 2006, 2007, 2008 Free Software Foundation, Inc.
1470 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1471 # Inc.
9071472 # Written by Gordon Matzigkeit, 1996
9081473 #
9091474 # This file is free software; the Free Software Foundation gives
9121477
9131478 m4_define([_LT_COPYING], [dnl
9141479 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
915 # 2006, 2007, 2008 Free Software Foundation, Inc.
1480 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1481 # Inc.
9161482 # Written by Gordon Matzigkeit, 1996
9171483 #
9181484 # This file is part of GNU Libtool.
9391505 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9401506 ])
9411507
942 # serial 56 LT_INIT
1508 # serial 57 LT_INIT
9431509
9441510
9451511 # LT_PREREQ(VERSION)
9681534 # ------------------
9691535 AC_DEFUN([LT_INIT],
9701536 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
1537 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
9711538 AC_BEFORE([$0], [LT_LANG])dnl
9721539 AC_BEFORE([$0], [LT_OUTPUT])dnl
9731540 AC_BEFORE([$0], [LTDL_INIT])dnl
9831550 AC_REQUIRE([LTVERSION_VERSION])dnl
9841551 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
9851552 m4_require([_LT_PROG_LTMAIN])dnl
1553
1554 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
9861555
9871556 dnl Parse OPTIONS
9881557 _LT_SET_OPTIONS([$0], [$1])
10201589 *) break;;
10211590 esac
10221591 done
1023 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1592 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10241593 ])
10251594
10261595
10401609 m4_defun([_LT_SETUP],
10411610 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
10421611 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1612 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
1613 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
1614
10431615 _LT_DECL([], [host_alias], [0], [The host system])dnl
10441616 _LT_DECL([], [host], [0])dnl
10451617 _LT_DECL([], [host_os], [0])dnl
10811653 _LT_CHECK_OBJDIR
10821654
10831655 m4_require([_LT_TAG_COMPILER])dnl
1084 _LT_PROG_ECHO_BACKSLASH
10851656
10861657 case $host_os in
10871658 aix3*)
10951666 ;;
10961667 esac
10971668
1098 # Sed substitution that helps us do robust quoting. It backslashifies
1099 # metacharacters that are still active within double-quoted strings.
1100 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1101
1102 # Same as above, but do not quote variable references.
1103 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1104
1105 # Sed substitution to delay expansion of an escaped shell variable in a
1106 # double_quote_subst'ed string.
1107 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1108
1109 # Sed substitution to delay expansion of an escaped single quote.
1110 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1111
1112 # Sed substitution to avoid accidental globbing in evaled expressions
1113 no_glob_subst='s/\*/\\\*/g'
1114
11151669 # Global variables:
11161670 ofile=libtool
11171671 can_build_shared=yes
11511705 _LT_CONFIG_COMMANDS
11521706 ])# _LT_SETUP
11531707
1708
1709 # _LT_PREPARE_SED_QUOTE_VARS
1710 # --------------------------
1711 # Define a few sed substitution that help us do robust quoting.
1712 m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
1713 [# Backslashify metacharacters that are still active within
1714 # double-quoted strings.
1715 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1716
1717 # Same as above, but do not quote variable references.
1718 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1719
1720 # Sed substitution to delay expansion of an escaped shell variable in a
1721 # double_quote_subst'ed string.
1722 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1723
1724 # Sed substitution to delay expansion of an escaped single quote.
1725 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1726
1727 # Sed substitution to avoid accidental globbing in evaled expressions
1728 no_glob_subst='s/\*/\\\*/g'
1729 ])
11541730
11551731 # _LT_PROG_LTMAIN
11561732 # ---------------
13041880 # declaration there will have the same value as in `configure'. VARNAME
13051881 # must have a single quote delimited value for this to work.
13061882 m4_define([_LT_CONFIG_STATUS_DECLARE],
1307 [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
1883 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
13081884
13091885
13101886 # _LT_CONFIG_STATUS_DECLARATIONS
13141890 # embedded single quotes properly. In configure, this macro expands
13151891 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
13161892 #
1317 # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1893 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
13181894 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
13191895 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
13201896 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
14131989 LTCFLAGS='$LTCFLAGS'
14141990 compiler='$compiler_DEFAULT'
14151991
1992 # A function that is used when there is no print builtin or printf.
1993 func_fallback_echo ()
1994 {
1995 eval 'cat <<_LTECHO_EOF
1996 \$[]1
1997 _LTECHO_EOF'
1998 }
1999
14162000 # Quote evaled strings.
14172001 for var in lt_decl_all_varnames([[ \
14182002 ]], lt_decl_quote_varnames); do
1419 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
2003 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14202004 *[[\\\\\\\`\\"\\\$]]*)
1421 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
2005 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14222006 ;;
14232007 *)
14242008 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14292013 # Double-quote double-evaled strings.
14302014 for var in lt_decl_all_varnames([[ \
14312015 ]], lt_decl_dquote_varnames); do
1432 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
2016 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14332017 *[[\\\\\\\`\\"\\\$]]*)
1434 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
2018 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14352019 ;;
14362020 *)
14372021 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14392023 esac
14402024 done
14412025
1442 # Fix-up fallback echo if it was mangled by the above quoting rules.
1443 case \$lt_ECHO in
1444 *'\\\[$]0 --fallback-echo"')dnl "
1445 lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
1446 ;;
1447 esac
1448
14492026 _LT_OUTPUT_LIBTOOL_INIT
14502027 ])
14512028
2029 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2030 # ------------------------------------
2031 # Generate a child script FILE with all initialization necessary to
2032 # reuse the environment learned by the parent script, and make the
2033 # file executable. If COMMENT is supplied, it is inserted after the
2034 # `#!' sequence but before initialization text begins. After this
2035 # macro, additional text can be appended to FILE to form the body of
2036 # the child script. The macro ends with non-zero status if the
2037 # file could not be fully written (such as if the disk is full).
2038 m4_ifdef([AS_INIT_GENERATED],
2039 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
2040 [m4_defun([_LT_GENERATED_FILE_INIT],
2041 [m4_require([AS_PREPARE])]dnl
2042 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
2043 [lt_write_fail=0
2044 cat >$1 <<_ASEOF || lt_write_fail=1
2045 #! $SHELL
2046 # Generated by $as_me.
2047 $2
2048 SHELL=\${CONFIG_SHELL-$SHELL}
2049 export SHELL
2050 _ASEOF
2051 cat >>$1 <<\_ASEOF || lt_write_fail=1
2052 AS_SHELL_SANITIZE
2053 _AS_PREPARE
2054 exec AS_MESSAGE_FD>&1
2055 _ASEOF
2056 test $lt_write_fail = 0 && chmod +x $1[]dnl
2057 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
14522058
14532059 # LT_OUTPUT
14542060 # ---------
14582064 AC_DEFUN([LT_OUTPUT],
14592065 [: ${CONFIG_LT=./config.lt}
14602066 AC_MSG_NOTICE([creating $CONFIG_LT])
1461 cat >"$CONFIG_LT" <<_LTEOF
1462 #! $SHELL
1463 # Generated by $as_me.
1464 # Run this file to recreate a libtool stub with the current configuration.
1465
2067 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
2068 [# Run this file to recreate a libtool stub with the current configuration.])
2069
2070 cat >>"$CONFIG_LT" <<\_LTEOF
14662071 lt_cl_silent=false
1467 SHELL=\${CONFIG_SHELL-$SHELL}
1468 _LTEOF
1469
1470 cat >>"$CONFIG_LT" <<\_LTEOF
1471 AS_SHELL_SANITIZE
1472 _AS_PREPARE
1473
1474 exec AS_MESSAGE_FD>&1
14752072 exec AS_MESSAGE_LOG_FD>>config.log
14762073 {
14772074 echo
14972094 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
14982095 configured by $[0], generated by m4_PACKAGE_STRING.
14992096
1500 Copyright (C) 2008 Free Software Foundation, Inc.
2097 Copyright (C) 2010 Free Software Foundation, Inc.
15012098 This config.lt script is free software; the Free Software Foundation
15022099 gives unlimited permision to copy, distribute and modify it."
15032100
15422139 # appending to config.log, which fails on DOS, as config.log is still kept
15432140 # open by configure. Here we exec the FD to /dev/null, effectively closing
15442141 # config.log, so it can be properly (re)opened and appended to by config.lt.
1545 if test "$no_create" != yes; then
1546 lt_cl_success=:
1547 test "$silent" = yes &&
1548 lt_config_lt_args="$lt_config_lt_args --quiet"
1549 exec AS_MESSAGE_LOG_FD>/dev/null
1550 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1551 exec AS_MESSAGE_LOG_FD>>config.log
1552 $lt_cl_success || AS_EXIT(1)
1553 fi
2142 lt_cl_success=:
2143 test "$silent" = yes &&
2144 lt_config_lt_args="$lt_config_lt_args --quiet"
2145 exec AS_MESSAGE_LOG_FD>/dev/null
2146 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2147 exec AS_MESSAGE_LOG_FD>>config.log
2148 $lt_cl_success || AS_EXIT(1)
15542149 ])# LT_OUTPUT
15552150
15562151
17272322 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
17282323 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
17292324 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2325 AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
17302326 dnl aclocal-1.4 backwards compatibility:
17312327 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
17322328 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
17332329 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
17342330 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
2331 dnl AC_DEFUN([AC_LIBTOOL_RC], [])
17352332
17362333
17372334 # _LT_TAG_COMPILER
18362433 [lt_cv_ld_exported_symbols_list=no])
18372434 LDFLAGS="$save_LDFLAGS"
18382435 ])
2436 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
2437 [lt_cv_ld_force_load=no
2438 cat > conftest.c << _LT_EOF
2439 int forced_loaded() { return 2;}
2440 _LT_EOF
2441 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
2442 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
2443 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
2444 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
2445 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
2446 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
2447 cat > conftest.c << _LT_EOF
2448 int main() { return 0;}
2449 _LT_EOF
2450 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
2451 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
2452 _lt_result=$?
2453 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
2454 lt_cv_ld_force_load=yes
2455 else
2456 cat conftest.err >&AS_MESSAGE_LOG_FD
2457 fi
2458 rm -f conftest.err libconftest.a conftest conftest.c
2459 rm -rf conftest.dSYM
2460 ])
18392461 case $host_os in
18402462 rhapsody* | darwin1.[[012]])
18412463 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
18632485 else
18642486 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
18652487 fi
1866 if test "$DSYMUTIL" != ":"; then
2488 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
18672489 _lt_dsymutil='~$DSYMUTIL $lib || :'
18682490 else
18692491 _lt_dsymutil=
18832505 _LT_TAGVAR(hardcode_direct, $1)=no
18842506 _LT_TAGVAR(hardcode_automatic, $1)=yes
18852507 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1886 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
2508 if test "$lt_cv_ld_force_load" = "yes"; then
2509 _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\"`'
2510 else
2511 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
2512 fi
18872513 _LT_TAGVAR(link_all_deplibs, $1)=yes
18882514 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
18892515 case $cc_basename in
18912517 *) _lt_dar_can_shared=$GCC ;;
18922518 esac
18932519 if test "$_lt_dar_can_shared" = "yes"; then
1894 output_verbose_link_cmd=echo
2520 output_verbose_link_cmd=func_echo_all
18952521 _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}"
18962522 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18972523 _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}"
19372563 # _LT_SHELL_INIT(ARG)
19382564 # -------------------
19392565 m4_define([_LT_SHELL_INIT],
1940 [ifdef([AC_DIVERSION_NOTICE],
1941 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1942 [AC_DIVERT_PUSH(NOTICE)])
1943 $1
1944 AC_DIVERT_POP
1945 ])# _LT_SHELL_INIT
2566 [m4_divert_text([M4SH-INIT], [$1
2567 ])])# _LT_SHELL_INIT
2568
19462569
19472570
19482571 # _LT_PROG_ECHO_BACKSLASH
19492572 # -----------------------
1950 # Add some code to the start of the generated configure script which
1951 # will find an echo command which doesn't interpret backslashes.
2573 # Find how we can fake an echo command that does not interpret backslash.
2574 # In particular, with Autoconf 2.60 or later we add some code to the start
2575 # of the generated configure script which will find a shell with a builtin
2576 # printf (which we can use as an echo command).
19522577 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1953 [_LT_SHELL_INIT([
1954 # Check that we are running under the correct shell.
1955 SHELL=${CONFIG_SHELL-/bin/sh}
1956
1957 case X$lt_ECHO in
1958 X*--fallback-echo)
1959 # Remove one level of quotation (which was required for Make).
1960 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1961 ;;
2578 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2579 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2580 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2581
2582 AC_MSG_CHECKING([how to print strings])
2583 # Test print first, because it will be a builtin if present.
2584 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
2585 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2586 ECHO='print -r --'
2587 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2588 ECHO='printf %s\n'
2589 else
2590 # Use this function as a fallback that always works.
2591 func_fallback_echo ()
2592 {
2593 eval 'cat <<_LTECHO_EOF
2594 $[]1
2595 _LTECHO_EOF'
2596 }
2597 ECHO='func_fallback_echo'
2598 fi
2599
2600 # func_echo_all arg...
2601 # Invoke $ECHO with all args, space-separated.
2602 func_echo_all ()
2603 {
2604 $ECHO "$*"
2605 }
2606
2607 case "$ECHO" in
2608 printf*) AC_MSG_RESULT([printf]) ;;
2609 print*) AC_MSG_RESULT([print -r]) ;;
2610 *) AC_MSG_RESULT([cat]) ;;
19622611 esac
19632612
1964 ECHO=${lt_ECHO-echo}
1965 if test "X[$]1" = X--no-reexec; then
1966 # Discard the --no-reexec flag, and continue.
1967 shift
1968 elif test "X[$]1" = X--fallback-echo; then
1969 # Avoid inline document here, it may be left over
1970 :
1971 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1972 # Yippee, $ECHO works!
1973 :
1974 else
1975 # Restart under the correct shell.
1976 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1977 fi
1978
1979 if test "X[$]1" = X--fallback-echo; then
1980 # used as fallback echo
1981 shift
1982 cat <<_LT_EOF
1983 [$]*
1984 _LT_EOF
1985 exit 0
1986 fi
1987
1988 # The HP-UX ksh and POSIX shell print the target directory to stdout
1989 # if CDPATH is set.
1990 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1991
1992 if test -z "$lt_ECHO"; then
1993 if test "X${echo_test_string+set}" != Xset; then
1994 # find a string as large as possible, as long as the shell can cope with it
1995 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1996 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1997 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1998 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1999 then
2000 break
2001 fi
2002 done
2003 fi
2004
2005 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
2006 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
2007 test "X$echo_testing_string" = "X$echo_test_string"; then
2008 :
2009 else
2010 # The Solaris, AIX, and Digital Unix default echo programs unquote
2011 # backslashes. This makes it impossible to quote backslashes using
2012 # echo "$something" | sed 's/\\/\\\\/g'
2013 #
2014 # So, first we look for a working echo in the user's PATH.
2015
2016 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2017 for dir in $PATH /usr/ucb; do
2018 IFS="$lt_save_ifs"
2019 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2020 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2021 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2022 test "X$echo_testing_string" = "X$echo_test_string"; then
2023 ECHO="$dir/echo"
2024 break
2025 fi
2026 done
2027 IFS="$lt_save_ifs"
2028
2029 if test "X$ECHO" = Xecho; then
2030 # We didn't find a better echo, so look for alternatives.
2031 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
2032 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
2033 test "X$echo_testing_string" = "X$echo_test_string"; then
2034 # This shell has a builtin print -r that does the trick.
2035 ECHO='print -r'
2036 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
2037 test "X$CONFIG_SHELL" != X/bin/ksh; then
2038 # If we have ksh, try running configure again with it.
2039 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2040 export ORIGINAL_CONFIG_SHELL
2041 CONFIG_SHELL=/bin/ksh
2042 export CONFIG_SHELL
2043 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2044 else
2045 # Try using printf.
2046 ECHO='printf %s\n'
2047 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
2048 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
2049 test "X$echo_testing_string" = "X$echo_test_string"; then
2050 # Cool, printf works
2051 :
2052 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2053 test "X$echo_testing_string" = 'X\t' &&
2054 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2055 test "X$echo_testing_string" = "X$echo_test_string"; then
2056 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2057 export CONFIG_SHELL
2058 SHELL="$CONFIG_SHELL"
2059 export SHELL
2060 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
2061 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2062 test "X$echo_testing_string" = 'X\t' &&
2063 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2064 test "X$echo_testing_string" = "X$echo_test_string"; then
2065 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
2066 else
2067 # maybe with a smaller string...
2068 prev=:
2069
2070 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2071 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
2072 then
2073 break
2074 fi
2075 prev="$cmd"
2076 done
2077
2078 if test "$prev" != 'sed 50q "[$]0"'; then
2079 echo_test_string=`eval $prev`
2080 export echo_test_string
2081 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2082 else
2083 # Oops. We lost completely, so just stick with echo.
2084 ECHO=echo
2085 fi
2086 fi
2087 fi
2088 fi
2089 fi
2090 fi
2091
2092 # Copy echo and quote the copy suitably for passing to libtool from
2093 # the Makefile, instead of quoting the original, which is used later.
2094 lt_ECHO=$ECHO
2095 if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
2096 lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
2097 fi
2098
2099 AC_SUBST(lt_ECHO)
2100 ])
2613 m4_ifdef([_AS_DETECT_SUGGESTED],
2614 [_AS_DETECT_SUGGESTED([
2615 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
2616 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2617 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2618 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2619 PATH=/empty FPATH=/empty; export PATH FPATH
2620 test "X`printf %s $ECHO`" = "X$ECHO" \
2621 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
2622
21012623 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
2102 _LT_DECL([], [ECHO], [1],
2103 [An echo program that does not interpret backslashes])
2624 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
21042625 ])# _LT_PROG_ECHO_BACKSLASH
21052626
21062627
21322653 ;;
21332654 *-*-irix6*)
21342655 # Find out which ABI we are using.
2135 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
2656 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
21362657 if AC_TRY_EVAL(ac_compile); then
21372658 if test "$lt_cv_prog_gnu_ld" = yes; then
21382659 case `/usr/bin/file conftest.$ac_objext` in
22842805 esac
22852806 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
22862807 fi
2808
2809 case $host_os in
2810 darwin*)
2811 lock_old_archive_extraction=yes ;;
2812 *)
2813 lock_old_archive_extraction=no ;;
2814 esac
22872815 _LT_DECL([], [old_postinstall_cmds], [2])
22882816 _LT_DECL([], [old_postuninstall_cmds], [2])
22892817 _LT_TAGDECL([], [old_archive_cmds], [2],
22902818 [Commands used to build an old-style archive])
2819 _LT_DECL([], [lock_old_archive_extraction], [0],
2820 [Whether to use a lock for old archive extraction])
22912821 ])# _LT_CMD_OLD_ARCHIVE
22922822
22932823
23122842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23132843 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
23142844 -e 's:$: $lt_compiler_flag:'`
2315 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2845 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
23162846 (eval "$lt_compile" 2>conftest.err)
23172847 ac_status=$?
23182848 cat conftest.err >&AS_MESSAGE_LOG_FD
2319 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
23202850 if (exit $ac_status) && test -s "$ac_outfile"; then
23212851 # The compiler can only warn and ignore the option if not recognized
23222852 # So say no if there are warnings other than the usual output.
2323 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2853 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
23242854 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23252855 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23262856 $2=yes
23602890 if test -s conftest.err; then
23612891 # Append any errors to the config.log.
23622892 cat conftest.err 1>&AS_MESSAGE_LOG_FD
2363 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2893 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
23642894 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23652895 if diff conftest.exp conftest.er2 >/dev/null; then
23662896 $2=yes
24202950 # the test eventually succeeds (with a max line length of 256k).
24212951 # Instead, let's just punt: use the minimum linelength reported by
24222952 # all of the supported platforms: 8192 (on NT/2K/XP).
2953 lt_cv_sys_max_cmd_len=8192;
2954 ;;
2955
2956 mint*)
2957 # On MiNT this can take a long time and run out of memory.
24232958 lt_cv_sys_max_cmd_len=8192;
24242959 ;;
24252960
24873022 # If test is not a shell built-in, we'll probably end up computing a
24883023 # maximum length that is only half of the actual maximum length, but
24893024 # we can't tell.
2490 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
2491 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3025 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
3026 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
24923027 test $i != 17 # 1/2 MB should be enough
24933028 do
24943029 i=`expr $i + 1`
25393074 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25403075 lt_status=$lt_dlunknown
25413076 cat > conftest.$ac_ext <<_LT_EOF
2542 [#line __oline__ "configure"
3077 [#line $LINENO "configure"
25433078 #include "confdefs.h"
25443079
25453080 #if HAVE_DLFCN_H
25803115 # endif
25813116 #endif
25823117
2583 void fnord() { int i=42;}
3118 /* When -fvisbility=hidden is used, assume the code has been annotated
3119 correspondingly for the symbols needed. */
3120 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
3121 void fnord () __attribute__((visibility("default")));
3122 #endif
3123
3124 void fnord () { int i=42; }
25843125 int main ()
25853126 {
25863127 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
25893130 if (self)
25903131 {
25913132 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
2592 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3133 else
3134 {
3135 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3136 else puts (dlerror ());
3137 }
25933138 /* dlclose (self); */
25943139 }
25953140 else
27653310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27663311 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
27673312 -e 's:$: $lt_compiler_flag:'`
2768 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3313 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
27693314 (eval "$lt_compile" 2>out/conftest.err)
27703315 ac_status=$?
27713316 cat out/conftest.err >&AS_MESSAGE_LOG_FD
2772 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
27733318 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27743319 then
27753320 # The compiler can only warn and ignore the option if not recognized
27763321 # So say no if there are warnings
2777 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
3322 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27783323 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27793324 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27803325 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
29333478 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
29343479 m4_require([_LT_DECL_OBJDUMP])dnl
29353480 m4_require([_LT_DECL_SED])dnl
3481 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
29363482 AC_MSG_CHECKING([dynamic linker characteristics])
29373483 m4_if([$1],
29383484 [], [
29413487 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
29423488 *) lt_awk_arg="/^libraries:/" ;;
29433489 esac
2944 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2945 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
3490 case $host_os in
3491 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
3492 *) lt_sed_strip_eq="s,=/,/,g" ;;
3493 esac
3494 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
3495 case $lt_search_path_spec in
3496 *\;*)
29463497 # if the path contains ";" then we assume it to be the separator
29473498 # otherwise default to the standard path separator (i.e. ":") - it is
29483499 # assumed that no part of a normal pathname contains ";" but that should
29493500 # okay in the real world where ";" in dirpaths is itself problematic.
2950 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2951 else
2952 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2953 fi
3501 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
3502 ;;
3503 *)
3504 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
3505 ;;
3506 esac
29543507 # Ok, now we have the path, separated by spaces, we can step through it
29553508 # and add multilib dir if necessary.
29563509 lt_tmp_lt_search_path_spec=
29633516 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
29643517 fi
29653518 done
2966 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
3519 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
29673520 BEGIN {RS=" "; FS="/|\n";} {
29683521 lt_foo="";
29693522 lt_count=0;
29833536 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
29843537 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
29853538 }'`
2986 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
3539 # AWK program above erroneously prepends '/' to C:/dos/paths
3540 # for these hosts.
3541 case $host_os in
3542 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
3543 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
3544 esac
3545 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
29873546 else
29883547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
29893548 fi])
30713630 m68k)
30723631 library_names_spec='$libname.ixlibrary $libname.a'
30733632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
3074 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'
3633 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'
30753634 ;;
30763635 esac
30773636 ;;
31243683 cygwin*)
31253684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
31263685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3127 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3686 m4_if([$1], [],[
3687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
31283688 ;;
31293689 mingw* | cegcc*)
31303690 # MinGW DLLs use traditional 'lib' prefix
31313691 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3132 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3133 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
3134 # It is most probably a Windows format PATH printed by
3135 # mingw gcc, but we are running on Cygwin. Gcc prints its search
3136 # path with ; separators, and with drive letters. We can handle the
3137 # drive letters (cygwin fileutils understands them), so leave them,
3138 # especially as we might pass files found there to a mingw objdump,
3139 # which wouldn't understand a cygwinified path. Ahh.
3140 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3141 else
3142 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3143 fi
31443692 ;;
31453693 pw32*)
31463694 # pw32 DLLs use 'pw' prefix rather than 'lib'
32373785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
32383786 soname_spec='${libname}${release}${shared_ext}$major'
32393787 shlibpath_var=LD_LIBRARY_PATH
3788 hardcode_into_libs=yes
3789 ;;
3790
3791 haiku*)
3792 version_type=linux
3793 need_lib_prefix=no
3794 need_version=no
3795 dynamic_linker="$host_os runtime_loader"
3796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3797 soname_spec='${libname}${release}${shared_ext}$major'
3798 shlibpath_var=LIBRARY_PATH
3799 shlibpath_overrides_runpath=yes
3800 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
32403801 hardcode_into_libs=yes
32413802 ;;
32423803
32823843 soname_spec='${libname}${release}${shared_ext}$major'
32833844 ;;
32843845 esac
3285 # HP-UX runs *really* slowly unless shared libraries are mode 555.
3846 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
32863847 postinstall_cmds='chmod 555 $lib'
3848 # or fails outright, so override atomically:
3849 install_override_mode=555
32873850 ;;
32883851
32893852 interix[[3-9]]*)
33413904 ;;
33423905
33433906 # This must be Linux ELF.
3344 linux* | k*bsd*-gnu)
3907 linux* | k*bsd*-gnu | kopensolaris*-gnu)
33453908 version_type=linux
33463909 need_lib_prefix=no
33473910 need_version=no
33503913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
33513914 shlibpath_var=LD_LIBRARY_PATH
33523915 shlibpath_overrides_runpath=no
3916
33533917 # Some binutils ld are patched to set DT_RUNPATH
3354 save_LDFLAGS=$LDFLAGS
3355 save_libdir=$libdir
3356 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
3357 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
3358 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
3359 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
3360 [shlibpath_overrides_runpath=yes])])
3361 LDFLAGS=$save_LDFLAGS
3362 libdir=$save_libdir
3918 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
3919 [lt_cv_shlibpath_overrides_runpath=no
3920 save_LDFLAGS=$LDFLAGS
3921 save_libdir=$libdir
3922 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
3923 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
3924 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
3925 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
3926 [lt_cv_shlibpath_overrides_runpath=yes])])
3927 LDFLAGS=$save_LDFLAGS
3928 libdir=$save_libdir
3929 ])
3930 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
33633931
33643932 # This implies no fast_install, which is unacceptable.
33653933 # Some rework will be needed to allow for fast_install
33713939
33723940 # Append ld.so.conf contents to the search path
33733941 if test -f /etc/ld.so.conf; then
3374 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' ' '`
3942 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' ' '`
33753943 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
3944
33763945 fi
33773946
33783947 # We used to test for /lib/ld.so.1 and disable shared libraries on
36044173 The last name is the one that the linker finds with -lNAME]])
36054174 _LT_DECL([], [soname_spec], [1],
36064175 [[The coded name of the library, if different from the real name]])
4176 _LT_DECL([], [install_override_mode], [1],
4177 [Permission mode override for installation of shared libraries])
36074178 _LT_DECL([], [postinstall_cmds], [2],
36084179 [Command to use after installation of a shared archive])
36094180 _LT_DECL([], [postuninstall_cmds], [2],
37164287 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
37174288 m4_require([_LT_DECL_SED])dnl
37184289 m4_require([_LT_DECL_EGREP])dnl
4290 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
37194291
37204292 AC_ARG_WITH([gnu-ld],
37214293 [AS_HELP_STRING([--with-gnu-ld],
38454417 fi
38464418 ;;
38474419 esac
3848 _LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3849 _LT_DECL([], [reload_cmds], [2])dnl
4420 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
4421 _LT_TAGDECL([], [reload_cmds], [2])dnl
38504422 ])# _LT_CMD_RELOAD
38514423
38524424
38984470 # Base MSYS/MinGW do not provide the 'file' command needed by
38994471 # func_win32_libid shell function, so use a weaker test based on 'objdump',
39004472 # unless we find 'file', for example because we are cross-compiling.
3901 if ( file / ) >/dev/null 2>&1; then
4473 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4474 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
39024475 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
39034476 lt_cv_file_magic_cmd='func_win32_libid'
39044477 else
3905 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4478 # Keep this pattern in sync with the one in func_win32_libid.
4479 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
39064480 lt_cv_file_magic_cmd='$OBJDUMP -f'
39074481 fi
39084482 ;;
39094483
3910 cegcc)
4484 cegcc*)
39114485 # use the weaker test based on 'objdump'. See mingw*.
39124486 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
39134487 lt_cv_file_magic_cmd='$OBJDUMP -f'
39374511 lt_cv_deplibs_check_method=pass_all
39384512 ;;
39394513
4514 haiku*)
4515 lt_cv_deplibs_check_method=pass_all
4516 ;;
4517
39404518 hpux10.20* | hpux11*)
39414519 lt_cv_file_magic_cmd=/usr/bin/file
39424520 case $host_cpu in
39454523 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
39464524 ;;
39474525 hppa*64*)
3948 [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]']
4526 [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]']
39494527 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
39504528 ;;
39514529 *)
3952 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
4530 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
39534531 lt_cv_file_magic_test_file=/usr/lib/libc.sl
39544532 ;;
39554533 esac
39714549 ;;
39724550
39734551 # This must be Linux ELF.
3974 linux* | k*bsd*-gnu)
4552 linux* | k*bsd*-gnu | kopensolaris*-gnu)
39754553 lt_cv_deplibs_check_method=pass_all
39764554 ;;
39774555
41134691 NM="$lt_cv_path_NM"
41144692 else
41154693 # Didn't find any BSD compatible name lister, look for dumpbin.
4116 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
4694 if test -n "$DUMPBIN"; then :
4695 # Let the user override the test.
4696 else
4697 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
4698 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4699 *COFF*)
4700 DUMPBIN="$DUMPBIN -symbols"
4701 ;;
4702 *)
4703 DUMPBIN=:
4704 ;;
4705 esac
4706 fi
41174707 AC_SUBST([DUMPBIN])
41184708 if test "$DUMPBIN" != ":"; then
41194709 NM="$DUMPBIN"
41264716 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
41274717 [lt_cv_nm_interface="BSD nm"
41284718 echo "int some_variable = 0;" > conftest.$ac_ext
4129 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
4719 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
41304720 (eval "$ac_compile" 2>conftest.err)
41314721 cat conftest.err >&AS_MESSAGE_LOG_FD
4132 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
4722 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
41334723 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
41344724 cat conftest.err >&AS_MESSAGE_LOG_FD
4135 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
4725 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
41364726 cat conftest.out >&AS_MESSAGE_LOG_FD
41374727 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
41384728 lt_cv_nm_interface="MS dumpbin"
41554745 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
41564746 LIBM=
41574747 case $host in
4158 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4748 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
41594749 # These system don't have libm, or don't need it
41604750 ;;
41614751 *-ncr-sysv4.3*)
41834773 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
41844774
41854775 if test "$GCC" = yes; then
4186 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4776 case $cc_basename in
4777 nvcc*)
4778 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
4779 *)
4780 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
4781 esac
41874782
41884783 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
41894784 lt_cv_prog_compiler_rtti_exceptions,
42004795 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
42014796 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
42024797 AC_REQUIRE([AC_PROG_CC])dnl
4798 AC_REQUIRE([AC_PROG_AWK])dnl
42034799 AC_REQUIRE([LT_PATH_NM])dnl
42044800 AC_REQUIRE([LT_PATH_LD])dnl
42054801 m4_require([_LT_DECL_SED])dnl
43254921 if AC_TRY_EVAL(ac_compile); then
43264922 # Now try to grab the symbols.
43274923 nlist=conftest.nm
4328 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4924 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
43294925 # Try sorting and uniquifying the output.
43304926 if sort "$nlist" | uniq > "$nlist"T; then
43314927 mv -f "$nlist"T "$nlist"
44865082 *djgpp*)
44875083 # DJGPP does not support shared libraries at all
44885084 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
5085 ;;
5086 haiku*)
5087 # PIC is the default for Haiku.
5088 # The "-static" flag exists, but is broken.
5089 _LT_TAGVAR(lt_prog_compiler_static, $1)=
44895090 ;;
44905091 interix[[3-9]]*)
44915092 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
45925193 ;;
45935194 esac
45945195 ;;
4595 linux* | k*bsd*-gnu)
5196 linux* | k*bsd*-gnu | kopensolaris*-gnu)
45965197 case $cc_basename in
45975198 KCC*)
45985199 # KAI C++ Compiler
46255226 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
46265227 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
46275228 ;;
4628 xlc* | xlC*)
4629 # IBM XL 8.0 on PPC
5229 xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
5230 # IBM XL 8.0, 9.0 on PPC and BlueGene
46305231 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
46315232 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
46325233 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
46885289 ;;
46895290 solaris*)
46905291 case $cc_basename in
4691 CC*)
5292 CC* | sunCC*)
46925293 # Sun C++ 4.2, 5.x and Centerline C++
46935294 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
46945295 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
47925393 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
47935394 ;;
47945395
5396 haiku*)
5397 # PIC is the default for Haiku.
5398 # The "-static" flag exists, but is broken.
5399 _LT_TAGVAR(lt_prog_compiler_static, $1)=
5400 ;;
5401
47955402 hpux*)
47965403 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
47975404 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
48325439
48335440 *)
48345441 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5442 ;;
5443 esac
5444
5445 case $cc_basename in
5446 nvcc*) # Cuda Compiler Driver 2.2
5447 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
5448 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
48355449 ;;
48365450 esac
48375451 else
48765490 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
48775491 ;;
48785492
4879 linux* | k*bsd*-gnu)
5493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
48805494 case $cc_basename in
48815495 # old Intel for x86_64 which still supported -KPIC.
48825496 ecc*)
48975511 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
48985512 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
48995513 ;;
4900 pgcc* | pgf77* | pgf90* | pgf95*)
5514 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
49015515 # Portland Group compilers (*not* the Pentium gcc compiler,
49025516 # which looks to be a dead project)
49035517 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
49095523 # All Alpha code is PIC.
49105524 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
49115525 ;;
4912 xl*)
4913 # IBM XL C 8.0/Fortran 10.1 on PPC
5526 xl* | bgxl* | bgf* | mpixl*)
5527 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
49145528 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
49155529 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
49165530 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
49175531 ;;
49185532 *)
49195533 case `$CC -V 2>&1 | sed 5q` in
5534 *Sun\ F* | *Sun*Fortran*)
5535 # Sun Fortran 8.3 passes all unrecognized flags to the linker
5536 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5537 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5538 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
5539 ;;
49205540 *Sun\ C*)
49215541 # Sun C 5.9
49225542 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49235543 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
49245544 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
49255545 ;;
4926 *Sun\ F*)
4927 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4928 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4929 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4930 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4931 ;;
49325546 esac
49335547 ;;
49345548 esac
49595573 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49605574 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
49615575 case $cc_basename in
4962 f77* | f90* | f95*)
5576 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
49635577 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
49645578 *)
49655579 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
50695683 aix[[4-9]]*)
50705684 # If we're using GNU nm, then we don't want the "-C" option.
50715685 # -C means demangle to AIX nm, but means don't demangle with GNU nm
5686 # Also, AIX nm treats weak defined symbols like other global defined
5687 # symbols, whereas GNU nm marks them as "W".
50725688 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5073 _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'
5689 _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'
50745690 else
50755691 _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'
50765692 fi
51485764 esac
51495765
51505766 _LT_TAGVAR(ld_shlibs, $1)=yes
5767
5768 # On some targets, GNU ld is compatible enough with the native linker
5769 # that we're better off using the native interface for both.
5770 lt_use_gnu_ld_interface=no
51515771 if test "$with_gnu_ld" = yes; then
5772 case $host_os in
5773 aix*)
5774 # The AIX port of GNU ld has always aspired to compatibility
5775 # with the native linker. However, as the warning in the GNU ld
5776 # block says, versions before 2.19.5* couldn't really create working
5777 # shared libraries, regardless of the interface used.
5778 case `$LD -v 2>&1` in
5779 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
5780 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5781 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5782 *)
5783 lt_use_gnu_ld_interface=yes
5784 ;;
5785 esac
5786 ;;
5787 *)
5788 lt_use_gnu_ld_interface=yes
5789 ;;
5790 esac
5791 fi
5792
5793 if test "$lt_use_gnu_ld_interface" = yes; then
51525794 # If archive_cmds runs LD, not CC, wlarc should be empty
51535795 wlarc='${wl}'
51545796
51665808 fi
51675809 supports_anon_versioning=no
51685810 case `$LD -v 2>&1` in
5811 *GNU\ gold*) supports_anon_versioning=yes ;;
51695812 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
51705813 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
51715814 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
51815824 _LT_TAGVAR(ld_shlibs, $1)=no
51825825 cat <<_LT_EOF 1>&2
51835826
5184 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5827 *** Warning: the GNU linker, at least up to release 2.19, is reported
51855828 *** to be unable to reliably create shared libraries on AIX.
51865829 *** Therefore, libtool is disabling shared libraries support. If you
5187 *** really care for shared libraries, you may want to modify your PATH
5188 *** so that a non-GNU linker is found, and then restart.
5830 *** really care for shared libraries, you may want to install binutils
5831 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5832 *** You will then need to restart the configuration process.
51895833
51905834 _LT_EOF
51915835 fi
52215865 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
52225866 # as there is no search path for DLLs.
52235867 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5868 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
52245869 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
52255870 _LT_TAGVAR(always_export_symbols, $1)=no
52265871 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
52425887 fi
52435888 ;;
52445889
5890 haiku*)
5891 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5892 _LT_TAGVAR(link_all_deplibs, $1)=yes
5893 ;;
5894
52455895 interix[[3-9]]*)
52465896 _LT_TAGVAR(hardcode_direct, $1)=no
52475897 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
52575907 _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'
52585908 ;;
52595909
5260 gnu* | linux* | tpf* | k*bsd*-gnu)
5910 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
52615911 tmp_diet=no
52625912 if test "$host_os" = linux-dietlibc; then
52635913 case $cc_basename in
52715921 tmp_sharedflag='-shared'
52725922 case $cc_basename,$host_cpu in
52735923 pgcc*) # Portland Group C compiler
5274 _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'
5924 _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'
52755925 tmp_addflag=' $pic_flag'
52765926 ;;
5277 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5278 _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'
5927 pgf77* | pgf90* | pgf95* | pgfortran*)
5928 # Portland Group f77 and f90 compilers
5929 _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'
52795930 tmp_addflag=' $pic_flag -Mnomain' ;;
52805931 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
52815932 tmp_addflag=' -i_dynamic' ;;
52865937 lf95*) # Lahey Fortran 8.1
52875938 _LT_TAGVAR(whole_archive_flag_spec, $1)=
52885939 tmp_sharedflag='--shared' ;;
5289 xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
5940 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
52905941 tmp_sharedflag='-qmkshrobj'
52915942 tmp_addflag= ;;
5943 nvcc*) # Cuda Compiler Driver 2.2
5944 _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'
5945 _LT_TAGVAR(compiler_needs_object, $1)=yes
5946 ;;
52925947 esac
52935948 case `$CC -V 2>&1 | sed 5q` in
52945949 *Sun\ C*) # Sun C 5.9
5295 _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'
5950 _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'
52965951 _LT_TAGVAR(compiler_needs_object, $1)=yes
52975952 tmp_sharedflag='-G' ;;
52985953 *Sun\ F*) # Sun Fortran 8.3
53085963 fi
53095964
53105965 case $cc_basename in
5311 xlf*)
5966 xlf* | bgf* | bgxlf* | mpixlf*)
53125967 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
53135968 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
53145969 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
53155970 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
5316 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
5971 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
53175972 if test "x$supports_anon_versioning" = xyes; then
53185973 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
53195974 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
53205975 echo "local: *; };" >> $output_objdir/$libname.ver~
5321 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
5976 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
53225977 fi
53235978 ;;
53245979 esac
54396094 else
54406095 # If we're using GNU nm, then we don't want the "-C" option.
54416096 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6097 # Also, AIX nm treats weak defined symbols like other global
6098 # defined symbols, whereas GNU nm marks them as "W".
54426099 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5443 _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'
6100 _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'
54446101 else
54456102 _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'
54466103 fi
55296186 # empty executable.
55306187 _LT_SYS_MODULE_PATH_AIX
55316188 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5532 _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"
6189 _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"
55336190 else
55346191 if test "$host_cpu" = ia64; then
55356192 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
55446201 # -berok will link without error, but may produce a broken library.
55456202 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
55466203 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5547 # Exported symbols can be pulled into shared objects from archives
5548 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6204 if test "$with_gnu_ld" = yes; then
6205 # We only use this code for GNU lds that support --whole-archive.
6206 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6207 else
6208 # Exported symbols can be pulled into shared objects from archives
6209 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6210 fi
55496211 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
55506212 # This is similar to how AIX traditionally builds its shared libraries.
55516213 _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'
55846246 # Tell ltmain to make .dll files, not .so files.
55856247 shrext_cmds=".dll"
55866248 # FIXME: Setting linknames here is a bad hack.
5587 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6249 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
55886250 # The linker will automatically build a .lib file if we build a DLL.
55896251 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
55906252 # FIXME: Should let the user specify the lib program.
56516313 ;;
56526314
56536315 hpux10*)
5654 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6316 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
56556317 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
56566318 else
56576319 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
56706332 ;;
56716333
56726334 hpux11*)
5673 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6335 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
56746336 case $host_cpu in
56756337 hppa*64*)
56766338 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
56916353 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
56926354 ;;
56936355 *)
5694 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6356 m4_if($1, [], [
6357 # Older versions of the 11.00 compiler do not understand -b yet
6358 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
6359 _LT_LINKER_OPTION([if $CC understands -b],
6360 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
6361 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
6362 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
6363 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
56956364 ;;
56966365 esac
56976366 fi
57196388
57206389 irix5* | irix6* | nonstopux*)
57216390 if test "$GCC" = yes; then
5722 _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'
6391 _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'
57236392 # Try to use the -exported_symbol ld option, if it does not
57246393 # work, assume that -exports_file does not work either and
57256394 # implicitly export all symbols.
57266395 save_LDFLAGS="$LDFLAGS"
57276396 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
57286397 AC_LINK_IFELSE(int foo(void) {},
5729 _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'
6398 _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'
57306399 )
57316400 LDFLAGS="$save_LDFLAGS"
57326401 else
5733 _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'
5734 _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'
6402 _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'
6403 _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'
57356404 fi
57366405 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
57376406 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
57936462 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
57946463 _LT_TAGVAR(hardcode_minus_L, $1)=yes
57956464 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5796 _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'
6465 _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'
57976466 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
57986467 ;;
57996468
58006469 osf3*)
58016470 if test "$GCC" = yes; then
58026471 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5803 _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'
6472 _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'
58046473 else
58056474 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5806 _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'
6475 _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'
58076476 fi
58086477 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
58096478 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
58136482 osf4* | osf5*) # as osf3* with the addition of -msym flag
58146483 if test "$GCC" = yes; then
58156484 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5816 _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'
6485 _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'
58176486 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
58186487 else
58196488 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5820 _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'
6489 _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'
58216490 _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~
5822 $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'
6491 $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'
58236492
58246493 # Both c and cxx compiler support -rpath directly
58256494 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
60106679 # Test whether the compiler implicitly links with -lc since on some
60116680 # systems, -lgcc has to come before -lc. If gcc already passes -lc
60126681 # to ld, don't add -lc before -lgcc.
6013 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6014 $RM conftest*
6015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6016
6017 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6018 soname=conftest
6019 lib=conftest
6020 libobjs=conftest.$ac_objext
6021 deplibs=
6022 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6023 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6024 compiler_flags=-v
6025 linker_flags=-v
6026 verstring=
6027 output_objdir=.
6028 libname=conftest
6029 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6030 _LT_TAGVAR(allow_undefined_flag, $1)=
6031 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6032 then
6033 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6034 else
6035 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6036 fi
6037 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6038 else
6039 cat conftest.err 1>&5
6040 fi
6041 $RM conftest*
6042 AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
6682 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6683 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
6684 [$RM conftest*
6685 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6686
6687 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6688 soname=conftest
6689 lib=conftest
6690 libobjs=conftest.$ac_objext
6691 deplibs=
6692 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6693 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6694 compiler_flags=-v
6695 linker_flags=-v
6696 verstring=
6697 output_objdir=.
6698 libname=conftest
6699 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6700 _LT_TAGVAR(allow_undefined_flag, $1)=
6701 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6702 then
6703 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6704 else
6705 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6706 fi
6707 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6708 else
6709 cat conftest.err 1>&5
6710 fi
6711 $RM conftest*
6712 ])
6713 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
60436714 ;;
60446715 esac
60456716 fi
62056876 ])# _LT_LANG_C_CONFIG
62066877
62076878
6208 # _LT_PROG_CXX
6209 # ------------
6210 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
6211 # compiler, we have our own version here.
6212 m4_defun([_LT_PROG_CXX],
6213 [
6214 pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
6215 AC_PROG_CXX
6879 # _LT_LANG_CXX_CONFIG([TAG])
6880 # --------------------------
6881 # Ensure that the configuration variables for a C++ compiler are suitably
6882 # defined. These variables are subsequently used by _LT_CONFIG to write
6883 # the compiler configuration to `libtool'.
6884 m4_defun([_LT_LANG_CXX_CONFIG],
6885 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6886 m4_require([_LT_DECL_EGREP])dnl
62166887 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
62176888 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
62186889 (test "X$CXX" != "Xg++"))) ; then
62206891 else
62216892 _lt_caught_CXX_error=yes
62226893 fi
6223 popdef([AC_MSG_ERROR])
6224 ])# _LT_PROG_CXX
6225
6226 dnl aclocal-1.4 backwards compatibility:
6227 dnl AC_DEFUN([_LT_PROG_CXX], [])
6228
6229
6230 # _LT_LANG_CXX_CONFIG([TAG])
6231 # --------------------------
6232 # Ensure that the configuration variables for a C++ compiler are suitably
6233 # defined. These variables are subsequently used by _LT_CONFIG to write
6234 # the compiler configuration to `libtool'.
6235 m4_defun([_LT_LANG_CXX_CONFIG],
6236 [AC_REQUIRE([_LT_PROG_CXX])dnl
6237 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6238 m4_require([_LT_DECL_EGREP])dnl
62396894
62406895 AC_LANG_PUSH(C++)
62416896 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
62576912 _LT_TAGVAR(module_expsym_cmds, $1)=
62586913 _LT_TAGVAR(link_all_deplibs, $1)=unknown
62596914 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6915 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6916 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
62606917 _LT_TAGVAR(no_undefined_flag, $1)=
62616918 _LT_TAGVAR(whole_archive_flag_spec, $1)=
62626919 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
63597016 # Commands to make compiler produce verbose output that lists
63607017 # what "hidden" libraries, object files and flags are used when
63617018 # linking a shared library.
6362 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7019 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
63637020
63647021 else
63657022 GXX=no
64717128 _LT_SYS_MODULE_PATH_AIX
64727129 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
64737130
6474 _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"
7131 _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"
64757132 else
64767133 if test "$host_cpu" = ia64; then
64777134 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
64867143 # -berok will link without error, but may produce a broken library.
64877144 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
64887145 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6489 # Exported symbols can be pulled into shared objects from archives
6490 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
7146 if test "$with_gnu_ld" = yes; then
7147 # We only use this code for GNU lds that support --whole-archive.
7148 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
7149 else
7150 # Exported symbols can be pulled into shared objects from archives
7151 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
7152 fi
64917153 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
64927154 # This is similar to how AIX traditionally builds its shared
64937155 # libraries.
65207182 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
65217183 # as there is no search path for DLLs.
65227184 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7185 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
65237186 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
65247187 _LT_TAGVAR(always_export_symbols, $1)=no
65257188 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
65807243 gnu*)
65817244 ;;
65827245
7246 haiku*)
7247 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7248 _LT_TAGVAR(link_all_deplibs, $1)=yes
7249 ;;
7250
65837251 hpux9*)
65847252 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
65857253 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
66047272 # explicitly linking system object files so we need to strip them
66057273 # from the output so that they don't get included in the library
66067274 # dependencies.
6607 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'
7275 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"'
66087276 ;;
66097277 *)
66107278 if test "$GXX" = yes; then
66697337 # explicitly linking system object files so we need to strip them
66707338 # from the output so that they don't get included in the library
66717339 # dependencies.
6672 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'
7340 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"'
66737341 ;;
66747342 *)
66757343 if test "$GXX" = yes; then
67127380 case $cc_basename in
67137381 CC*)
67147382 # SGI C++
6715 _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'
7383 _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'
67167384
67177385 # Archives containing C++ object files must be created using
67187386 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
67237391 *)
67247392 if test "$GXX" = yes; then
67257393 if test "$with_gnu_ld" = no; then
6726 _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'
7394 _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'
67277395 else
6728 _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'
7396 _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'
67297397 fi
67307398 fi
67317399 _LT_TAGVAR(link_all_deplibs, $1)=yes
67367404 _LT_TAGVAR(inherit_rpath, $1)=yes
67377405 ;;
67387406
6739 linux* | k*bsd*-gnu)
7407 linux* | k*bsd*-gnu | kopensolaris*-gnu)
67407408 case $cc_basename in
67417409 KCC*)
67427410 # Kuck and Associates, Inc. (KAI) C++ Compiler
67547422 # explicitly linking system object files so we need to strip them
67557423 # from the output so that they don't get included in the library
67567424 # dependencies.
6757 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'
7425 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"'
67587426
67597427 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
67607428 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
67917459 pgCC* | pgcpp*)
67927460 # Portland Group C++ compiler
67937461 case `$CC -V` in
6794 *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
7462 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
67957463 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
67967464 rm -rf $tpldir~
67977465 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6798 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
7466 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
67997467 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
68007468 rm -rf $tpldir~
68017469 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6802 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
7470 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
68037471 $RANLIB $oldlib'
68047472 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
68057473 rm -rf $tpldir~
68067474 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6807 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
7475 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
68087476 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
68097477 rm -rf $tpldir~
68107478 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6811 $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'
7479 $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'
68127480 ;;
6813 *) # Version 6 will use weak symbols
7481 *) # Version 6 and above use weak symbols
68147482 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
68157483 _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'
68167484 ;;
68187486
68197487 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
68207488 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6821 _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'
7489 _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'
68227490 ;;
68237491 cxx*)
68247492 # Compaq C++
68377505 # explicitly linking system object files so we need to strip them
68387506 # from the output so that they don't get included in the library
68397507 # dependencies.
6840 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'
7508 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'
68417509 ;;
6842 xl*)
7510 xl* | mpixl* | bgxl*)
68437511 # IBM XL 8.0 on PPC, with GNU ld
68447512 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
68457513 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
68597527 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68607528 _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'
68617529 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6862 _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'
7530 _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'
68637531 _LT_TAGVAR(compiler_needs_object, $1)=yes
68647532
68657533 # Not sure whether something based on
68667534 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
68677535 # would be better.
6868 output_verbose_link_cmd='echo'
7536 output_verbose_link_cmd='func_echo_all'
68697537
68707538 # Archives containing C++ object files must be created using
68717539 # "CC -xar", where "CC" is the Sun C++ compiler. This is
69347602 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
69357603 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
69367604 fi
6937 output_verbose_link_cmd=echo
7605 output_verbose_link_cmd=func_echo_all
69387606 else
69397607 _LT_TAGVAR(ld_shlibs, $1)=no
69407608 fi
69697637 case $host in
69707638 osf3*)
69717639 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6972 _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'
7640 _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'
69737641 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
69747642 ;;
69757643 *)
69767644 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6977 _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'
7645 _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'
69787646 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
69797647 echo "-hidden">> $lib.exp~
6980 $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~
7648 $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~
69817649 $RM $lib.exp'
69827650 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
69837651 ;;
69937661 # explicitly linking system object files so we need to strip them
69947662 # from the output so that they don't get included in the library
69957663 # dependencies.
6996 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'
7664 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"'
69977665 ;;
69987666 *)
69997667 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
70007668 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
70017669 case $host in
70027670 osf3*)
7003 _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'
7671 _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'
70047672 ;;
70057673 *)
7006 _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'
7674 _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'
70077675 ;;
70087676 esac
70097677
70137681 # Commands to make compiler produce verbose output that lists
70147682 # what "hidden" libraries, object files and flags are used when
70157683 # linking a shared library.
7016 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7684 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
70177685
70187686 else
70197687 # FIXME: insert proper C++ library support
70497717
70507718 solaris*)
70517719 case $cc_basename in
7052 CC*)
7720 CC* | sunCC*)
70537721 # Sun C++ 4.2, 5.x and Centerline C++
70547722 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
70557723 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
70707738 esac
70717739 _LT_TAGVAR(link_all_deplibs, $1)=yes
70727740
7073 output_verbose_link_cmd='echo'
7741 output_verbose_link_cmd='func_echo_all'
70747742
70757743 # Archives containing C++ object files must be created using
70767744 # "CC -xar", where "CC" is the Sun C++ compiler. This is
70977765 # Commands to make compiler produce verbose output that lists
70987766 # what "hidden" libraries, object files and flags are used when
70997767 # linking a shared library.
7100 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7768 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
71017769 else
71027770 # g++ 2.7 appears to require `-G' NOT `-shared' on this
71037771 # platform.
71087776 # Commands to make compiler produce verbose output that lists
71097777 # what "hidden" libraries, object files and flags are used when
71107778 # linking a shared library.
7111 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7779 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
71127780 fi
71137781
71147782 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
71627830 CC*)
71637831 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
71647832 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7833 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7834 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7835 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7836 '"$_LT_TAGVAR(reload_cmds, $1)"
71657837 ;;
71667838 *)
71677839 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
74088080
74098081 solaris*)
74108082 case $cc_basename in
7411 CC*)
8083 CC* | sunCC*)
74128084 # The more standards-conforming stlport4 library is
74138085 # incompatible with the Cstd library. Avoid specifying
74148086 # it if it's in CXXFLAGS. Ignore libCrun as
74528124 ])# _LT_SYS_HIDDEN_LIBDEPS
74538125
74548126
7455 # _LT_PROG_F77
7456 # ------------
7457 # Since AC_PROG_F77 is broken, in that it returns the empty string
7458 # if there is no fortran compiler, we have our own version here.
7459 m4_defun([_LT_PROG_F77],
7460 [
7461 pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
7462 AC_PROG_F77
7463 if test -z "$F77" || test "X$F77" = "Xno"; then
7464 _lt_disable_F77=yes
7465 fi
7466 popdef([AC_MSG_ERROR])
7467 ])# _LT_PROG_F77
7468
7469 dnl aclocal-1.4 backwards compatibility:
7470 dnl AC_DEFUN([_LT_PROG_F77], [])
7471
7472
74738127 # _LT_LANG_F77_CONFIG([TAG])
74748128 # --------------------------
74758129 # Ensure that the configuration variables for a Fortran 77 compiler are
74768130 # suitably defined. These variables are subsequently used by _LT_CONFIG
74778131 # to write the compiler configuration to `libtool'.
74788132 m4_defun([_LT_LANG_F77_CONFIG],
7479 [AC_REQUIRE([_LT_PROG_F77])dnl
7480 AC_LANG_PUSH(Fortran 77)
8133 [AC_LANG_PUSH(Fortran 77)
8134 if test -z "$F77" || test "X$F77" = "Xno"; then
8135 _lt_disable_F77=yes
8136 fi
74818137
74828138 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
74838139 _LT_TAGVAR(allow_undefined_flag, $1)=
74968152 _LT_TAGVAR(module_expsym_cmds, $1)=
74978153 _LT_TAGVAR(link_all_deplibs, $1)=unknown
74988154 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8155 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8156 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
74998157 _LT_TAGVAR(no_undefined_flag, $1)=
75008158 _LT_TAGVAR(whole_archive_flag_spec, $1)=
75018159 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
75958253 ])# _LT_LANG_F77_CONFIG
75968254
75978255
7598 # _LT_PROG_FC
7599 # -----------
7600 # Since AC_PROG_FC is broken, in that it returns the empty string
7601 # if there is no fortran compiler, we have our own version here.
7602 m4_defun([_LT_PROG_FC],
7603 [
7604 pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
7605 AC_PROG_FC
7606 if test -z "$FC" || test "X$FC" = "Xno"; then
7607 _lt_disable_FC=yes
7608 fi
7609 popdef([AC_MSG_ERROR])
7610 ])# _LT_PROG_FC
7611
7612 dnl aclocal-1.4 backwards compatibility:
7613 dnl AC_DEFUN([_LT_PROG_FC], [])
7614
7615
76168256 # _LT_LANG_FC_CONFIG([TAG])
76178257 # -------------------------
76188258 # Ensure that the configuration variables for a Fortran compiler are
76198259 # suitably defined. These variables are subsequently used by _LT_CONFIG
76208260 # to write the compiler configuration to `libtool'.
76218261 m4_defun([_LT_LANG_FC_CONFIG],
7622 [AC_REQUIRE([_LT_PROG_FC])dnl
7623 AC_LANG_PUSH(Fortran)
8262 [AC_LANG_PUSH(Fortran)
8263
8264 if test -z "$FC" || test "X$FC" = "Xno"; then
8265 _lt_disable_FC=yes
8266 fi
76248267
76258268 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
76268269 _LT_TAGVAR(allow_undefined_flag, $1)=
76398282 _LT_TAGVAR(module_expsym_cmds, $1)=
76408283 _LT_TAGVAR(link_all_deplibs, $1)=unknown
76418284 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8285 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8286 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
76428287 _LT_TAGVAR(no_undefined_flag, $1)=
76438288 _LT_TAGVAR(whole_archive_flag_spec, $1)=
76448289 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
77848429 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
77858430
77868431 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8432 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8433 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
77878434
77888435 if test -n "$compiler"; then
77898436 _LT_COMPILER_NO_RTTI($1)
81458792 func_dirname ()
81468793 {
81478794 # Extract subdirectory from the argument.
8148 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
8795 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81498796 if test "X$func_dirname_result" = "X${1}"; then
81508797 func_dirname_result="${3}"
81518798 else
81568803 # func_basename file
81578804 func_basename ()
81588805 {
8159 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
8806 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81608807 }
81618808
81628809 dnl func_dirname_and_basename
81728819 func_stripname ()
81738820 {
81748821 case ${2} in
8175 .*) func_stripname_result=`$ECHO "X${3}" \
8176 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
8177 *) func_stripname_result=`$ECHO "X${3}" \
8178 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
8822 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8823 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81798824 esac
81808825 }
81818826
81868831 # func_opt_split
81878832 func_opt_split ()
81888833 {
8189 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
8190 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
8834 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
8835 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81918836 }
81928837
81938838 # func_lo2o object
81948839 func_lo2o ()
81958840 {
8196 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
8841 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81978842 }
81988843
81998844 # func_xform libobj-or-source
82008845 func_xform ()
82018846 {
8202 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
8847 func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
82038848 }
82048849
82058850 # func_arith arithmetic-term...
82478892
82488893 # Helper functions for option handling. -*- Autoconf -*-
82498894 #
8250 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
8895 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
8896 # Inc.
82518897 # Written by Gary V. Vaughan, 2004
82528898 #
82538899 # This file is free software; the Free Software Foundation gives
82548900 # unlimited permission to copy and/or distribute it, with or without
82558901 # modifications, as long as this notice is preserved.
82568902
8257 # serial 6 ltoptions.m4
8903 # serial 7 ltoptions.m4
82588904
82598905 # This is to help aclocal find these macros, as it can't see m4_define.
82608906 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
83699015 [enable_win32_dll=yes
83709016
83719017 case $host in
8372 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
9018 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
83739019 AC_CHECK_TOOL(AS, as, false)
83749020 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
83759021 AC_CHECK_TOOL(OBJDUMP, objdump, false)
83779023 esac
83789024
83799025 test -z "$AS" && AS=as
8380 _LT_DECL([], [AS], [0], [Assembler program])dnl
9026 _LT_DECL([], [AS], [1], [Assembler program])dnl
83819027
83829028 test -z "$DLLTOOL" && DLLTOOL=dlltool
8383 _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
9029 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
83849030
83859031 test -z "$OBJDUMP" && OBJDUMP=objdump
8386 _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
9032 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
83879033 ])# win32-dll
83889034
83899035 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
87439389
87449390 # Generated from ltversion.in.
87459391
8746 # serial 3017 ltversion.m4
9392 # serial 3175 ltversion.m4
87479393 # This file is part of GNU Libtool
87489394
8749 m4_define([LT_PACKAGE_VERSION], [2.2.6b])
8750 m4_define([LT_PACKAGE_REVISION], [1.3017])
9395 m4_define([LT_PACKAGE_VERSION], [2.2.10])
9396 m4_define([LT_PACKAGE_REVISION], [1.3175])
87519397
87529398 AC_DEFUN([LTVERSION_VERSION],
8753 [macro_version='2.2.6b'
8754 macro_revision='1.3017'
9399 [macro_version='2.2.10'
9400 macro_revision='1.3175'
87559401 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
87569402 _LT_DECL(, macro_revision, 0)
87579403 ])
87589404
87599405 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
87609406 #
8761 # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
9407 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
87629408 # Written by Scott James Remnant, 2004.
87639409 #
87649410 # This file is free software; the Free Software Foundation gives
87659411 # unlimited permission to copy and/or distribute it, with or without
87669412 # modifications, as long as this notice is preserved.
87679413
8768 # serial 4 lt~obsolete.m4
9414 # serial 5 lt~obsolete.m4
87699415
87709416 # These exist entirely to fool aclocal when bootstrapping libtool.
87719417 #
88359481 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
88369482 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
88379483 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
8838 m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
88399484 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
88409485 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
88419486 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
88489493 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
88499494 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
88509495 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
9496 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
9497 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
9498 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
9499 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
9500 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
9501 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
9502 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
88519503
88529504 # nls.m4 serial 5 (gettext-0.18)
88539505 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
88839535 ])
88849536
88859537 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
9538 # serial 1 (pkg-config-0.24)
88869539 #
88879540 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
88889541 #
89109563 AC_DEFUN([PKG_PROG_PKG_CONFIG],
89119564 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
89129565 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
8913 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
9566 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
9567 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
9568 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
9569
89149570 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
89159571 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
89169572 fi
89239579 AC_MSG_RESULT([no])
89249580 PKG_CONFIG=""
89259581 fi
8926
89279582 fi[]dnl
89289583 ])# PKG_PROG_PKG_CONFIG
89299584
89329587 # Check to see whether a particular set of modules exists. Similar
89339588 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
89349589 #
8935 #
8936 # Similar to PKG_CHECK_MODULES, make sure that the first instance of
8937 # this or PKG_CHECK_MODULES is called, or make sure to call
8938 # PKG_CHECK_EXISTS manually
9590 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
9591 # only at the first occurence in configure.ac, so if the first place
9592 # it's called might be skipped (such as if it is within an "if", you
9593 # have to call PKG_CHECK_EXISTS manually
89399594 # --------------------------------------------------------------
89409595 AC_DEFUN([PKG_CHECK_EXISTS],
89419596 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
89429597 if test -n "$PKG_CONFIG" && \
89439598 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
8944 m4_ifval([$2], [$2], [:])
9599 m4_default([$2], [:])
89459600 m4_ifvaln([$3], [else
89469601 $3])dnl
89479602 fi])
8948
89499603
89509604 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
89519605 # ---------------------------------------------
89999653 See the pkg-config man page for more details.])
90009654
90019655 if test $pkg_failed = yes; then
9656 AC_MSG_RESULT([no])
90029657 _PKG_SHORT_ERRORS_SUPPORTED
90039658 if test $_pkg_short_errors_supported = yes; then
90049659 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
90089663 # Put the nasty error message in config.log where it belongs
90099664 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
90109665
9011 ifelse([$4], , [AC_MSG_ERROR(dnl
9666 m4_default([$4], [AC_MSG_ERROR(
90129667 [Package requirements ($2) were not met:
90139668
90149669 $$1_PKG_ERRORS
90169671 Consider adjusting the PKG_CONFIG_PATH environment variable if you
90179672 installed software in a non-standard prefix.
90189673
9019 _PKG_TEXT
9020 ])],
9021 [AC_MSG_RESULT([no])
9022 $4])
9674 _PKG_TEXT])
9675 ])
90239676 elif test $pkg_failed = untried; then
9024 ifelse([$4], , [AC_MSG_FAILURE(dnl
9677 AC_MSG_RESULT([no])
9678 m4_default([$4], [AC_MSG_FAILURE(
90259679 [The pkg-config script could not be found or is too old. Make sure it
90269680 is in your PATH or set the PKG_CONFIG environment variable to the full
90279681 path to pkg-config.
90289682
90299683 _PKG_TEXT
90309684
9031 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
9032 [$4])
9685 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
9686 ])
90339687 else
90349688 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
90359689 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
90369690 AC_MSG_RESULT([yes])
9037 ifelse([$3], , :, [$3])
9691 $3
90389692 fi[]dnl
90399693 ])# PKG_CHECK_MODULES
90409694
9041 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9695 # Copyright (C) 1995-2002 Free Software Foundation, Inc.
9696 # Copyright (C) 2001-2003,2004 Red Hat, Inc.
90429697 #
9043 # This file is free software; the Free Software Foundation
9044 # gives unlimited permission to copy and/or distribute it,
9045 # with or without modifications, as long as this notice is preserved.
9046
9047 # AM_AUTOMAKE_VERSION(VERSION)
9048 # ----------------------------
9049 # Automake X.Y traces this macro to ensure aclocal.m4 has been
9050 # generated from the m4 files accompanying Automake X.Y.
9051 # (This private macro should not be called outside this file.)
9052 AC_DEFUN([AM_AUTOMAKE_VERSION],
9053 [am__api_version='1.11'
9054 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9055 dnl require some minimum version. Point them to the right macro.
9056 m4_if([$1], [1.11.1], [],
9057 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9058 ])
9059
9060 # _AM_AUTOCONF_VERSION(VERSION)
9061 # -----------------------------
9062 # aclocal traces this macro to find the Autoconf version.
9063 # This is a private macro too. Using m4_define simplifies
9064 # the logic in aclocal, which can simply ignore this definition.
9065 m4_define([_AM_AUTOCONF_VERSION], [])
9066
9067 # AM_SET_CURRENT_AUTOMAKE_VERSION
9068 # -------------------------------
9069 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9070 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9071 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9072 [AM_AUTOMAKE_VERSION([1.11.1])dnl
9073 m4_ifndef([AC_AUTOCONF_VERSION],
9074 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9075 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9076
9077 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9078
9079 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9698 # This file is free software, distributed under the terms of the GNU
9699 # General Public License. As a special exception to the GNU General
9700 # Public License, this file may be distributed as part of a program
9701 # that contains a configuration script generated by Autoconf, under
9702 # the same distribution terms as the rest of that program.
90809703 #
9081 # This file is free software; the Free Software Foundation
9082 # gives unlimited permission to copy and/or distribute it,
9083 # with or without modifications, as long as this notice is preserved.
9084
9085 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9086 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
9087 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
9704 # This file can be copied and used freely without restrictions. It can
9705 # be used in projects which are not available under the GNU Public License
9706 # but which still want to provide support for the GNU gettext functionality.
90889707 #
9089 # Of course, Automake must honor this variable whenever it calls a
9090 # tool from the auxiliary directory. The problem is that $srcdir (and
9091 # therefore $ac_aux_dir as well) can be either absolute or relative,
9092 # depending on how configure is run. This is pretty annoying, since
9093 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
9094 # source directory, any form will work fine, but in subdirectories a
9095 # relative path needs to be adjusted first.
9708 # Macro to add for using GNU gettext.
9709 # Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
90969710 #
9097 # $ac_aux_dir/missing
9098 # fails when called from a subdirectory if $ac_aux_dir is relative
9099 # $top_srcdir/$ac_aux_dir/missing
9100 # fails if $ac_aux_dir is absolute,
9101 # fails when called from a subdirectory in a VPATH build with
9102 # a relative $ac_aux_dir
9711 # Modified to never use included libintl.
9712 # Owen Taylor <otaylor@redhat.com>, 12/15/1998
91039713 #
9104 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9105 # are both prefixed by $srcdir. In an in-source build this is usually
9106 # harmless because $srcdir is `.', but things will broke when you
9107 # start a VPATH build or use an absolute $srcdir.
9714 # Major rework to remove unused code
9715 # Owen Taylor <otaylor@redhat.com>, 12/11/2002
91089716 #
9109 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
9110 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
9111 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
9112 # and then we would define $MISSING as
9113 # MISSING="\${SHELL} $am_aux_dir/missing"
9114 # This will work as long as MISSING is not called from configure, because
9115 # unfortunately $(top_srcdir) has no meaning in configure.
9116 # However there are other variables, like CC, which are often used in
9117 # configure, and could therefore not use this "fixed" $ac_aux_dir.
9717 # Added better handling of ALL_LINGUAS from GNU gettext version
9718 # written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
91189719 #
9119 # Another solution, used here, is to always expand $ac_aux_dir to an
9120 # absolute PATH. The drawback is that using absolute paths prevent a
9121 # configured tree to be moved without reconfiguration.
9122
9123 AC_DEFUN([AM_AUX_DIR_EXPAND],
9124 [dnl Rely on autoconf to set up CDPATH properly.
9125 AC_PREREQ([2.50])dnl
9126 # expand $ac_aux_dir to an absolute path
9127 am_aux_dir=`cd $ac_aux_dir && pwd`
9128 ])
9129
9130 # AM_CONDITIONAL -*- Autoconf -*-
9131
9132 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9133 # Free Software Foundation, Inc.
9720 # Modified to require ngettext
9721 # Matthias Clasen <mclasen@redhat.com> 08/06/2004
91349722 #
9135 # This file is free software; the Free Software Foundation
9136 # gives unlimited permission to copy and/or distribute it,
9137 # with or without modifications, as long as this notice is preserved.
9138
9139 # serial 9
9140
9141 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9142 # -------------------------------------
9143 # Define a conditional.
9144 AC_DEFUN([AM_CONDITIONAL],
9145 [AC_PREREQ(2.52)dnl
9146 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9147 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9148 AC_SUBST([$1_TRUE])dnl
9149 AC_SUBST([$1_FALSE])dnl
9150 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
9151 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
9152 m4_define([_AM_COND_VALUE_$1], [$2])dnl
9153 if $2; then
9154 $1_TRUE=
9155 $1_FALSE='#'
9156 else
9157 $1_TRUE='#'
9158 $1_FALSE=
9159 fi
9160 AC_CONFIG_COMMANDS_PRE(
9161 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9162 AC_MSG_ERROR([[conditional "$1" was never defined.
9163 Usually this means the macro was only invoked conditionally.]])
9164 fi])])
9165
9166 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9167 # Free Software Foundation, Inc.
9168 #
9169 # This file is free software; the Free Software Foundation
9170 # gives unlimited permission to copy and/or distribute it,
9171 # with or without modifications, as long as this notice is preserved.
9172
9173 # serial 10
9174
9175 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9176 # written in clear, in which case automake, when reading aclocal.m4,
9177 # will think it sees a *use*, and therefore will trigger all it's
9178 # C support machinery. Also note that it means that autoscan, seeing
9179 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
9180
9181
9182 # _AM_DEPENDENCIES(NAME)
9183 # ----------------------
9184 # See how the compiler implements dependency checking.
9185 # NAME is "CC", "CXX", "GCJ", or "OBJC".
9186 # We try a few techniques and use that to set a single cache variable.
9187 #
9188 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
9189 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
9190 # dependency, and given that the user is not expected to run this macro,
9191 # just rely on AC_PROG_CC.
9192 AC_DEFUN([_AM_DEPENDENCIES],
9193 [AC_REQUIRE([AM_SET_DEPDIR])dnl
9194 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
9195 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9196 AC_REQUIRE([AM_DEP_TRACK])dnl
9197
9198 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
9199 [$1], CXX, [depcc="$CXX" am_compiler_list=],
9200 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9201 [$1], UPC, [depcc="$UPC" am_compiler_list=],
9202 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9203 [depcc="$$1" am_compiler_list=])
9204
9205 AC_CACHE_CHECK([dependency style of $depcc],
9206 [am_cv_$1_dependencies_compiler_type],
9207 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9208 # We make a subdir and do the tests there. Otherwise we can end up
9209 # making bogus files that we don't know about and never remove. For
9210 # instance it was reported that on HP-UX the gcc test will end up
9211 # making a dummy file named `D' -- because `-MD' means `put the output
9212 # in D'.
9213 mkdir conftest.dir
9214 # Copy depcomp to subdir because otherwise we won't find it if we're
9215 # using a relative directory.
9216 cp "$am_depcomp" conftest.dir
9217 cd conftest.dir
9218 # We will build objects and dependencies in a subdirectory because
9219 # it helps to detect inapplicable dependency modes. For instance
9220 # both Tru64's cc and ICC support -MD to output dependencies as a
9221 # side effect of compilation, but ICC will put the dependencies in
9222 # the current directory while Tru64 will put them in the object
9223 # directory.
9224 mkdir sub
9225
9226 am_cv_$1_dependencies_compiler_type=none
9227 if test "$am_compiler_list" = ""; then
9228 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9229 fi
9230 am__universal=false
9231 m4_case([$1], [CC],
9232 [case " $depcc " in #(
9233 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9234 esac],
9235 [CXX],
9236 [case " $depcc " in #(
9237 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9238 esac])
9239
9240 for depmode in $am_compiler_list; do
9241 # Setup a source with many dependencies, because some compilers
9242 # like to wrap large dependency lists on column 80 (with \), and
9243 # we should not choose a depcomp mode which is confused by this.
9244 #
9245 # We need to recreate these files for each test, as the compiler may
9246 # overwrite some of them when testing with obscure command lines.
9247 # This happens at least with the AIX C compiler.
9248 : > sub/conftest.c
9249 for i in 1 2 3 4 5 6; do
9250 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9251 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9252 # Solaris 8's {/usr,}/bin/sh.
9253 touch sub/conftst$i.h
9254 done
9255 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9256
9257 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9258 # mode. It turns out that the SunPro C++ compiler does not properly
9259 # handle `-M -o', and we need to detect this. Also, some Intel
9260 # versions had trouble with output in subdirs
9261 am__obj=sub/conftest.${OBJEXT-o}
9262 am__minus_obj="-o $am__obj"
9263 case $depmode in
9264 gcc)
9265 # This depmode causes a compiler race in universal mode.
9266 test "$am__universal" = false || continue
9267 ;;
9268 nosideeffect)
9269 # after this tag, mechanisms are not by side-effect, so they'll
9270 # only be used when explicitly requested
9271 if test "x$enable_dependency_tracking" = xyes; then
9272 continue
9273 else
9723 # We need this here as well, since someone might use autoconf-2.5x
9724 # to configure GLib then an older version to configure a package
9725 # using AM_GLIB_GNU_GETTEXT
9726 AC_PREREQ(2.53)
9727
9728 dnl
9729 dnl We go to great lengths to make sure that aclocal won't
9730 dnl try to pull in the installed version of these macros
9731 dnl when running aclocal in the glib directory.
9732 dnl
9733 m4_copy([AC_DEFUN],[glib_DEFUN])
9734 m4_copy([AC_REQUIRE],[glib_REQUIRE])
9735 dnl
9736 dnl At the end, if we're not within glib, we'll define the public
9737 dnl definitions in terms of our private definitions.
9738 dnl
9739
9740 # GLIB_LC_MESSAGES
9741 #--------------------
9742 glib_DEFUN([GLIB_LC_MESSAGES],
9743 [AC_CHECK_HEADERS([locale.h])
9744 if test $ac_cv_header_locale_h = yes; then
9745 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
9746 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
9747 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
9748 if test $am_cv_val_LC_MESSAGES = yes; then
9749 AC_DEFINE(HAVE_LC_MESSAGES, 1,
9750 [Define if your <locale.h> file defines LC_MESSAGES.])
9751 fi
9752 fi])
9753
9754 # GLIB_PATH_PROG_WITH_TEST
9755 #----------------------------
9756 dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
9757 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
9758 glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
9759 [# Extract the first word of "$2", so it can be a program name with args.
9760 set dummy $2; ac_word=[$]2
9761 AC_MSG_CHECKING([for $ac_word])
9762 AC_CACHE_VAL(ac_cv_path_$1,
9763 [case "[$]$1" in
9764 /*)
9765 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
9766 ;;
9767 *)
9768 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9769 for ac_dir in ifelse([$5], , $PATH, [$5]); do
9770 test -z "$ac_dir" && ac_dir=.
9771 if test -f $ac_dir/$ac_word; then
9772 if [$3]; then
9773 ac_cv_path_$1="$ac_dir/$ac_word"
92749774 break
9275 fi
9276 ;;
9277 msvisualcpp | msvcmsys)
9278 # This compiler won't grok `-c -o', but also, the minuso test has
9279 # not run yet. These depmodes are late enough in the game, and
9280 # so weak that their functioning should not be impacted.
9281 am__obj=conftest.${OBJEXT-o}
9282 am__minus_obj=
9283 ;;
9284 none) break ;;
9285 esac
9286 if depmode=$depmode \
9287 source=sub/conftest.c object=$am__obj \
9288 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9289 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9290 >/dev/null 2>conftest.err &&
9291 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9292 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9293 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9294 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9295 # icc doesn't choke on unknown options, it will just issue warnings
9296 # or remarks (even with -Werror). So we grep stderr for any message
9297 # that says an option was ignored or not supported.
9298 # When given -MP, icc 7.0 and 7.1 complain thusly:
9299 # icc: Command line warning: ignoring option '-M'; no argument required
9300 # The diagnosis changed in icc 8.0:
9301 # icc: Command line remark: option '-MP' not supported
9302 if (grep 'ignoring option' conftest.err ||
9303 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9304 am_cv_$1_dependencies_compiler_type=$depmode
9305 break
93069775 fi
93079776 fi
93089777 done
9309
9310 cd ..
9311 rm -rf conftest.dir
9778 IFS="$ac_save_ifs"
9779 dnl If no 4th arg is given, leave the cache variable unset,
9780 dnl so AC_PATH_PROGS will keep looking.
9781 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
9782 ])dnl
9783 ;;
9784 esac])dnl
9785 $1="$ac_cv_path_$1"
9786 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
9787 AC_MSG_RESULT([$]$1)
93129788 else
9313 am_cv_$1_dependencies_compiler_type=none
9789 AC_MSG_RESULT(no)
93149790 fi
9791 AC_SUBST($1)dnl
93159792 ])
9316 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9317 AM_CONDITIONAL([am__fastdep$1], [
9318 test "x$enable_dependency_tracking" != xno \
9319 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
9793
9794 # GLIB_WITH_NLS
9795 #-----------------
9796 glib_DEFUN([GLIB_WITH_NLS],
9797 dnl NLS is obligatory
9798 [USE_NLS=yes
9799 AC_SUBST(USE_NLS)
9800
9801 gt_cv_have_gettext=no
9802
9803 CATOBJEXT=NONE
9804 XGETTEXT=:
9805 INTLLIBS=
9806
9807 AC_CHECK_HEADER(libintl.h,
9808 [gt_cv_func_dgettext_libintl="no"
9809 libintl_extra_libs=""
9810
9811 #
9812 # First check in libc
9813 #
9814 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
9815 [AC_TRY_LINK([
9816 #include <libintl.h>
9817 ],
9818 [return !ngettext ("","", 1)],
9819 gt_cv_func_ngettext_libc=yes,
9820 gt_cv_func_ngettext_libc=no)
9821 ])
9822
9823 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
9824 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
9825 [AC_TRY_LINK([
9826 #include <libintl.h>
9827 ],
9828 [return !dgettext ("","")],
9829 gt_cv_func_dgettext_libc=yes,
9830 gt_cv_func_dgettext_libc=no)
9831 ])
9832 fi
9833
9834 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
9835 AC_CHECK_FUNCS(bind_textdomain_codeset)
9836 fi
9837
9838 #
9839 # If we don't have everything we want, check in libintl
9840 #
9841 if test "$gt_cv_func_dgettext_libc" != "yes" \
9842 || test "$gt_cv_func_ngettext_libc" != "yes" \
9843 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
9844
9845 AC_CHECK_LIB(intl, bindtextdomain,
9846 [AC_CHECK_LIB(intl, ngettext,
9847 [AC_CHECK_LIB(intl, dgettext,
9848 gt_cv_func_dgettext_libintl=yes)])])
9849
9850 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
9851 AC_MSG_CHECKING([if -liconv is needed to use gettext])
9852 AC_MSG_RESULT([])
9853 AC_CHECK_LIB(intl, ngettext,
9854 [AC_CHECK_LIB(intl, dcgettext,
9855 [gt_cv_func_dgettext_libintl=yes
9856 libintl_extra_libs=-liconv],
9857 :,-liconv)],
9858 :,-liconv)
9859 fi
9860
9861 #
9862 # If we found libintl, then check in it for bind_textdomain_codeset();
9863 # we'll prefer libc if neither have bind_textdomain_codeset(),
9864 # and both have dgettext and ngettext
9865 #
9866 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
9867 glib_save_LIBS="$LIBS"
9868 LIBS="$LIBS -lintl $libintl_extra_libs"
9869 unset ac_cv_func_bind_textdomain_codeset
9870 AC_CHECK_FUNCS(bind_textdomain_codeset)
9871 LIBS="$glib_save_LIBS"
9872
9873 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
9874 gt_cv_func_dgettext_libc=no
9875 else
9876 if test "$gt_cv_func_dgettext_libc" = "yes" \
9877 && test "$gt_cv_func_ngettext_libc" = "yes"; then
9878 gt_cv_func_dgettext_libintl=no
9879 fi
9880 fi
9881 fi
9882 fi
9883
9884 if test "$gt_cv_func_dgettext_libc" = "yes" \
9885 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
9886 gt_cv_have_gettext=yes
9887 fi
9888
9889 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
9890 INTLLIBS="-lintl $libintl_extra_libs"
9891 fi
9892
9893 if test "$gt_cv_have_gettext" = "yes"; then
9894 AC_DEFINE(HAVE_GETTEXT,1,
9895 [Define if the GNU gettext() function is already present or preinstalled.])
9896 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
9897 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
9898 if test "$MSGFMT" != "no"; then
9899 glib_save_LIBS="$LIBS"
9900 LIBS="$LIBS $INTLLIBS"
9901 AC_CHECK_FUNCS(dcgettext)
9902 MSGFMT_OPTS=
9903 AC_MSG_CHECKING([if msgfmt accepts -c])
9904 GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
9905 msgid ""
9906 msgstr ""
9907 "Content-Type: text/plain; charset=UTF-8\n"
9908 "Project-Id-Version: test 1.0\n"
9909 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
9910 "Last-Translator: test <foo@bar.xx>\n"
9911 "Language-Team: C <LL@li.org>\n"
9912 "MIME-Version: 1.0\n"
9913 "Content-Transfer-Encoding: 8bit\n"
9914 ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
9915 AC_SUBST(MSGFMT_OPTS)
9916 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
9917 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
9918 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
9919 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
9920 return _nl_msg_cat_cntr],
9921 [CATOBJEXT=.gmo
9922 DATADIRNAME=share],
9923 [case $host in
9924 *-*-solaris*)
9925 dnl On Solaris, if bind_textdomain_codeset is in libc,
9926 dnl GNU format message catalog is always supported,
9927 dnl since both are added to the libc all together.
9928 dnl Hence, we'd like to go with DATADIRNAME=share and
9929 dnl and CATOBJEXT=.gmo in this case.
9930 AC_CHECK_FUNC(bind_textdomain_codeset,
9931 [CATOBJEXT=.gmo
9932 DATADIRNAME=share],
9933 [CATOBJEXT=.mo
9934 DATADIRNAME=lib])
9935 ;;
9936 *)
9937 CATOBJEXT=.mo
9938 DATADIRNAME=lib
9939 ;;
9940 esac])
9941 LIBS="$glib_save_LIBS"
9942 INSTOBJEXT=.mo
9943 else
9944 gt_cv_have_gettext=no
9945 fi
9946 fi
9947 ])
9948
9949 if test "$gt_cv_have_gettext" = "yes" ; then
9950 AC_DEFINE(ENABLE_NLS, 1,
9951 [always defined to indicate that i18n is enabled])
9952 fi
9953
9954 dnl Test whether we really found GNU xgettext.
9955 if test "$XGETTEXT" != ":"; then
9956 dnl If it is not GNU xgettext we define it as : so that the
9957 dnl Makefiles still can work.
9958 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
9959 : ;
9960 else
9961 AC_MSG_RESULT(
9962 [found xgettext program is not GNU xgettext; ignore it])
9963 XGETTEXT=":"
9964 fi
9965 fi
9966
9967 # We need to process the po/ directory.
9968 POSUB=po
9969
9970 AC_OUTPUT_COMMANDS(
9971 [case "$CONFIG_FILES" in *po/Makefile.in*)
9972 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9973 esac])
9974
9975 dnl These rules are solely for the distribution goal. While doing this
9976 dnl we only have to keep exactly one list of the available catalogs
9977 dnl in configure.ac.
9978 for lang in $ALL_LINGUAS; do
9979 GMOFILES="$GMOFILES $lang.gmo"
9980 POFILES="$POFILES $lang.po"
9981 done
9982
9983 dnl Make all variables we use known to autoconf.
9984 AC_SUBST(CATALOGS)
9985 AC_SUBST(CATOBJEXT)
9986 AC_SUBST(DATADIRNAME)
9987 AC_SUBST(GMOFILES)
9988 AC_SUBST(INSTOBJEXT)
9989 AC_SUBST(INTLLIBS)
9990 AC_SUBST(PO_IN_DATADIR_TRUE)
9991 AC_SUBST(PO_IN_DATADIR_FALSE)
9992 AC_SUBST(POFILES)
9993 AC_SUBST(POSUB)
9994 ])
9995
9996 # AM_GLIB_GNU_GETTEXT
9997 # -------------------
9998 # Do checks necessary for use of gettext. If a suitable implementation
9999 # of gettext is found in either in libintl or in the C library,
10000 # it will set INTLLIBS to the libraries needed for use of gettext
10001 # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
10002 # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
10003 # on various variables needed by the Makefile.in.in installed by
10004 # glib-gettextize.
10005 dnl
10006 glib_DEFUN([GLIB_GNU_GETTEXT],
10007 [AC_REQUIRE([AC_PROG_CC])dnl
10008 AC_REQUIRE([AC_HEADER_STDC])dnl
10009
10010 GLIB_LC_MESSAGES
10011 GLIB_WITH_NLS
10012
10013 if test "$gt_cv_have_gettext" = "yes"; then
10014 if test "x$ALL_LINGUAS" = "x"; then
10015 LINGUAS=
10016 else
10017 AC_MSG_CHECKING(for catalogs to be installed)
10018 NEW_LINGUAS=
10019 for presentlang in $ALL_LINGUAS; do
10020 useit=no
10021 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
10022 desiredlanguages="$LINGUAS"
10023 else
10024 desiredlanguages="$ALL_LINGUAS"
10025 fi
10026 for desiredlang in $desiredlanguages; do
10027 # Use the presentlang catalog if desiredlang is
10028 # a. equal to presentlang, or
10029 # b. a variant of presentlang (because in this case,
10030 # presentlang can be used as a fallback for messages
10031 # which are not translated in the desiredlang catalog).
10032 case "$desiredlang" in
10033 "$presentlang"*) useit=yes;;
10034 esac
10035 done
10036 if test $useit = yes; then
10037 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
10038 fi
10039 done
10040 LINGUAS=$NEW_LINGUAS
10041 AC_MSG_RESULT($LINGUAS)
10042 fi
10043
10044 dnl Construct list of names of catalog files to be constructed.
10045 if test -n "$LINGUAS"; then
10046 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
10047 fi
10048 fi
10049
10050 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
10051 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
10052 dnl Try to locate is.
10053 MKINSTALLDIRS=
10054 if test -n "$ac_aux_dir"; then
10055 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
10056 fi
10057 if test -z "$MKINSTALLDIRS"; then
10058 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10059 fi
10060 AC_SUBST(MKINSTALLDIRS)
10061
10062 dnl Generate list of files to be processed by xgettext which will
10063 dnl be included in po/Makefile.
10064 test -d po || mkdir po
10065 if test "x$srcdir" != "x."; then
10066 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
10067 posrcprefix="$srcdir/"
10068 else
10069 posrcprefix="../$srcdir/"
10070 fi
10071 else
10072 posrcprefix="../"
10073 fi
10074 rm -f po/POTFILES
10075 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
10076 < $srcdir/po/POTFILES.in > po/POTFILES
10077 ])
10078
10079 # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
10080 # -------------------------------
10081 # Define VARIABLE to the location where catalog files will
10082 # be installed by po/Makefile.
10083 glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
10084 [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
10085 glib_save_prefix="$prefix"
10086 glib_save_exec_prefix="$exec_prefix"
10087 glib_save_datarootdir="$datarootdir"
10088 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10089 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
10090 datarootdir=`eval echo "${datarootdir}"`
10091 if test "x$CATOBJEXT" = "x.mo" ; then
10092 localedir=`eval echo "${libdir}/locale"`
10093 else
10094 localedir=`eval echo "${datadir}/locale"`
10095 fi
10096 prefix="$glib_save_prefix"
10097 exec_prefix="$glib_save_exec_prefix"
10098 datarootdir="$glib_save_datarootdir"
10099 AC_DEFINE_UNQUOTED($1, "$localedir",
10100 [Define the location where the catalogs will be installed])
932010101 ])
932110102
9322
9323 # AM_SET_DEPDIR
9324 # -------------
9325 # Choose a directory name for dependency files.
9326 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
9327 AC_DEFUN([AM_SET_DEPDIR],
9328 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9329 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
9330 ])
9331
9332
9333 # AM_DEP_TRACK
9334 # ------------
9335 AC_DEFUN([AM_DEP_TRACK],
9336 [AC_ARG_ENABLE(dependency-tracking,
9337 [ --disable-dependency-tracking speeds up one-time build
9338 --enable-dependency-tracking do not reject slow dependency extractors])
9339 if test "x$enable_dependency_tracking" != xno; then
9340 am_depcomp="$ac_aux_dir/depcomp"
9341 AMDEPBACKSLASH='\'
9342 fi
9343 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9344 AC_SUBST([AMDEPBACKSLASH])dnl
9345 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
9346 ])
9347
9348 # Generate code to set up dependency tracking. -*- Autoconf -*-
9349
9350 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9351 # Free Software Foundation, Inc.
9352 #
9353 # This file is free software; the Free Software Foundation
9354 # gives unlimited permission to copy and/or distribute it,
9355 # with or without modifications, as long as this notice is preserved.
9356
9357 #serial 5
9358
9359 # _AM_OUTPUT_DEPENDENCY_COMMANDS
9360 # ------------------------------
9361 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9362 [{
9363 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9364 # are listed without --file. Let's play safe and only enable the eval
9365 # if we detect the quoting.
9366 case $CONFIG_FILES in
9367 *\'*) eval set x "$CONFIG_FILES" ;;
9368 *) set x $CONFIG_FILES ;;
9369 esac
9370 shift
9371 for mf
9372 do
9373 # Strip MF so we end up with the name of the file.
9374 mf=`echo "$mf" | sed -e 's/:.*$//'`
9375 # Check whether this is an Automake generated Makefile or not.
9376 # We used to match only the files named `Makefile.in', but
9377 # some people rename them; so instead we look at the file content.
9378 # Grep'ing the first line is not enough: some people post-process
9379 # each Makefile.in and add a new line on top of each file to say so.
9380 # Grep'ing the whole file is not good either: AIX grep has a line
9381 # limit of 2048, but all sed's we know have understand at least 4000.
9382 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9383 dirpart=`AS_DIRNAME("$mf")`
9384 else
9385 continue
9386 fi
9387 # Extract the definition of DEPDIR, am__include, and am__quote
9388 # from the Makefile without running `make'.
9389 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9390 test -z "$DEPDIR" && continue
9391 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9392 test -z "am__include" && continue
9393 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9394 # When using ansi2knr, U may be empty or an underscore; expand it
9395 U=`sed -n 's/^U = //p' < "$mf"`
9396 # Find all dependency output files, they are included files with
9397 # $(DEPDIR) in their names. We invoke sed twice because it is the
9398 # simplest approach to changing $(DEPDIR) to its actual value in the
9399 # expansion.
9400 for file in `sed -n "
9401 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9402 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9403 # Make sure the directory exists.
9404 test -f "$dirpart/$file" && continue
9405 fdir=`AS_DIRNAME(["$file"])`
9406 AS_MKDIR_P([$dirpart/$fdir])
9407 # echo "creating $dirpart/$file"
9408 echo '# dummy' > "$dirpart/$file"
9409 done
9410 done
9411 }
9412 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9413
9414
9415 # AM_OUTPUT_DEPENDENCY_COMMANDS
9416 # -----------------------------
9417 # This macro should only be invoked once -- use via AC_REQUIRE.
9418 #
9419 # This code is only required when automatic dependency tracking
9420 # is enabled. FIXME. This creates each `.P' file that we will
9421 # need in order to bootstrap the dependency handling code.
9422 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
9423 [AC_CONFIG_COMMANDS([depfiles],
9424 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
9425 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
9426 ])
9427
9428 # Do all the work for Automake. -*- Autoconf -*-
9429
9430 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9431 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9432 #
9433 # This file is free software; the Free Software Foundation
9434 # gives unlimited permission to copy and/or distribute it,
9435 # with or without modifications, as long as this notice is preserved.
9436
9437 # serial 16
9438
9439 # This macro actually does too much. Some checks are only needed if
9440 # your package does certain things. But this isn't really a big deal.
9441
9442 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9443 # AM_INIT_AUTOMAKE([OPTIONS])
9444 # -----------------------------------------------
9445 # The call with PACKAGE and VERSION arguments is the old style
9446 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9447 # and VERSION should now be passed to AC_INIT and removed from
9448 # the call to AM_INIT_AUTOMAKE.
9449 # We support both call styles for the transition. After
9450 # the next Automake release, Autoconf can make the AC_INIT
9451 # arguments mandatory, and then we can depend on a new Autoconf
9452 # release and drop the old call support.
9453 AC_DEFUN([AM_INIT_AUTOMAKE],
9454 [AC_PREREQ([2.62])dnl
9455 dnl Autoconf wants to disallow AM_ names. We explicitly allow
9456 dnl the ones we care about.
9457 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9458 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
9459 AC_REQUIRE([AC_PROG_INSTALL])dnl
9460 if test "`cd $srcdir && pwd`" != "`pwd`"; then
9461 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9462 # is not polluted with repeated "-I."
9463 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9464 # test to see if srcdir already configured
9465 if test -f $srcdir/config.status; then
9466 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
9467 fi
9468 fi
9469
9470 # test whether we have cygpath
9471 if test -z "$CYGPATH_W"; then
9472 if (cygpath --version) >/dev/null 2>/dev/null; then
9473 CYGPATH_W='cygpath -w'
9474 else
9475 CYGPATH_W=echo
9476 fi
9477 fi
9478 AC_SUBST([CYGPATH_W])
9479
9480 # Define the identity of the package.
9481 dnl Distinguish between old-style and new-style calls.
9482 m4_ifval([$2],
9483 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9484 AC_SUBST([PACKAGE], [$1])dnl
9485 AC_SUBST([VERSION], [$2])],
9486 [_AM_SET_OPTIONS([$1])dnl
9487 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9488 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
9489 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
9490 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
9491 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
9492
9493 _AM_IF_OPTION([no-define],,
9494 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
9495 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
9496
9497 # Some tools Automake needs.
9498 AC_REQUIRE([AM_SANITY_CHECK])dnl
9499 AC_REQUIRE([AC_ARG_PROGRAM])dnl
9500 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
9501 AM_MISSING_PROG(AUTOCONF, autoconf)
9502 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9503 AM_MISSING_PROG(AUTOHEADER, autoheader)
9504 AM_MISSING_PROG(MAKEINFO, makeinfo)
9505 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9506 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9507 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9508 # We need awk for the "check" target. The system "awk" is bad on
9509 # some platforms.
9510 AC_REQUIRE([AC_PROG_AWK])dnl
9511 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9512 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9513 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9514 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9515 [_AM_PROG_TAR([v7])])])
9516 _AM_IF_OPTION([no-dependencies],,
9517 [AC_PROVIDE_IFELSE([AC_PROG_CC],
9518 [_AM_DEPENDENCIES(CC)],
9519 [define([AC_PROG_CC],
9520 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9521 AC_PROVIDE_IFELSE([AC_PROG_CXX],
9522 [_AM_DEPENDENCIES(CXX)],
9523 [define([AC_PROG_CXX],
9524 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9525 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9526 [_AM_DEPENDENCIES(OBJC)],
9527 [define([AC_PROG_OBJC],
9528 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9529 ])
9530 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9531 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9532 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9533 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9534 AC_CONFIG_COMMANDS_PRE(dnl
9535 [m4_provide_if([_AM_COMPILER_EXEEXT],
9536 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9537 ])
9538
9539 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9540 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9541 dnl mangled by Autoconf and run in a shell conditional statement.
9542 m4_define([_AC_COMPILER_EXEEXT],
9543 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9544
9545
9546 # When config.status generates a header, we must update the stamp-h file.
9547 # This file resides in the same directory as the config header
9548 # that is generated. The stamp files are numbered to have different names.
9549
9550 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
9551 # loop where config.status creates the headers, so we can generate
9552 # our stamp files there.
9553 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
9554 [# Compute $1's index in $config_headers.
9555 _am_arg=$1
9556 _am_stamp_count=1
9557 for _am_header in $config_headers :; do
9558 case $_am_header in
9559 $_am_arg | $_am_arg:* )
9560 break ;;
9561 * )
9562 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9563 esac
9564 done
9565 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9566
9567 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
9568 #
9569 # This file is free software; the Free Software Foundation
9570 # gives unlimited permission to copy and/or distribute it,
9571 # with or without modifications, as long as this notice is preserved.
9572
9573 # AM_PROG_INSTALL_SH
9574 # ------------------
9575 # Define $install_sh.
9576 AC_DEFUN([AM_PROG_INSTALL_SH],
9577 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9578 if test x"${install_sh}" != xset; then
9579 case $am_aux_dir in
9580 *\ * | *\ *)
9581 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9582 *)
9583 install_sh="\${SHELL} $am_aux_dir/install-sh"
9584 esac
9585 fi
9586 AC_SUBST(install_sh)])
9587
9588 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
9589 #
9590 # This file is free software; the Free Software Foundation
9591 # gives unlimited permission to copy and/or distribute it,
9592 # with or without modifications, as long as this notice is preserved.
9593
9594 # serial 2
9595
9596 # Check whether the underlying file-system supports filenames
9597 # with a leading dot. For instance MS-DOS doesn't.
9598 AC_DEFUN([AM_SET_LEADING_DOT],
9599 [rm -rf .tst 2>/dev/null
9600 mkdir .tst 2>/dev/null
9601 if test -d .tst; then
9602 am__leading_dot=.
9603 else
9604 am__leading_dot=_
9605 fi
9606 rmdir .tst 2>/dev/null
9607 AC_SUBST([am__leading_dot])])
9608
9609 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9610 # From Jim Meyering
9611
9612 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9613 # Free Software Foundation, Inc.
9614 #
9615 # This file is free software; the Free Software Foundation
9616 # gives unlimited permission to copy and/or distribute it,
9617 # with or without modifications, as long as this notice is preserved.
9618
9619 # serial 5
9620
9621 # AM_MAINTAINER_MODE([DEFAULT-MODE])
9622 # ----------------------------------
9623 # Control maintainer-specific portions of Makefiles.
9624 # Default is to disable them, unless `enable' is passed literally.
9625 # For symmetry, `disable' may be passed as well. Anyway, the user
9626 # can override the default with the --enable/--disable switch.
9627 AC_DEFUN([AM_MAINTAINER_MODE],
9628 [m4_case(m4_default([$1], [disable]),
9629 [enable], [m4_define([am_maintainer_other], [disable])],
9630 [disable], [m4_define([am_maintainer_other], [enable])],
9631 [m4_define([am_maintainer_other], [enable])
9632 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9633 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
9634 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9635 AC_ARG_ENABLE([maintainer-mode],
9636 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
9637 (and sometimes confusing) to the casual installer],
9638 [USE_MAINTAINER_MODE=$enableval],
9639 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9640 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9641 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9642 MAINT=$MAINTAINER_MODE_TRUE
9643 AC_SUBST([MAINT])dnl
9644 ]
9645 )
9646
9647 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
9648
9649 # Check to see how 'make' treats includes. -*- Autoconf -*-
9650
9651 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
9652 #
9653 # This file is free software; the Free Software Foundation
9654 # gives unlimited permission to copy and/or distribute it,
9655 # with or without modifications, as long as this notice is preserved.
9656
9657 # serial 4
9658
9659 # AM_MAKE_INCLUDE()
9660 # -----------------
9661 # Check to see how make treats includes.
9662 AC_DEFUN([AM_MAKE_INCLUDE],
9663 [am_make=${MAKE-make}
9664 cat > confinc << 'END'
9665 am__doit:
9666 @echo this is the am__doit target
9667 .PHONY: am__doit
9668 END
9669 # If we don't find an include directive, just comment out the code.
9670 AC_MSG_CHECKING([for style of include used by $am_make])
9671 am__include="#"
9672 am__quote=
9673 _am_result=none
9674 # First try GNU make style include.
9675 echo "include confinc" > confmf
9676 # Ignore all kinds of additional output from `make'.
9677 case `$am_make -s -f confmf 2> /dev/null` in #(
9678 *the\ am__doit\ target*)
9679 am__include=include
9680 am__quote=
9681 _am_result=GNU
9682 ;;
9683 esac
9684 # Now try BSD make style include.
9685 if test "$am__include" = "#"; then
9686 echo '.include "confinc"' > confmf
9687 case `$am_make -s -f confmf 2> /dev/null` in #(
9688 *the\ am__doit\ target*)
9689 am__include=.include
9690 am__quote="\""
9691 _am_result=BSD
9692 ;;
9693 esac
9694 fi
9695 AC_SUBST([am__include])
9696 AC_SUBST([am__quote])
9697 AC_MSG_RESULT([$_am_result])
9698 rm -f confinc confmf
9699 ])
9700
9701 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9702
9703 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9704 # Free Software Foundation, Inc.
9705 #
9706 # This file is free software; the Free Software Foundation
9707 # gives unlimited permission to copy and/or distribute it,
9708 # with or without modifications, as long as this notice is preserved.
9709
9710 # serial 6
9711
9712 # AM_MISSING_PROG(NAME, PROGRAM)
9713 # ------------------------------
9714 AC_DEFUN([AM_MISSING_PROG],
9715 [AC_REQUIRE([AM_MISSING_HAS_RUN])
9716 $1=${$1-"${am_missing_run}$2"}
9717 AC_SUBST($1)])
9718
9719
9720 # AM_MISSING_HAS_RUN
9721 # ------------------
9722 # Define MISSING if not defined so far and test if it supports --run.
9723 # If it does, set am_missing_run to use it, otherwise, to nothing.
9724 AC_DEFUN([AM_MISSING_HAS_RUN],
9725 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9726 AC_REQUIRE_AUX_FILE([missing])dnl
9727 if test x"${MISSING+set}" != xset; then
9728 case $am_aux_dir in
9729 *\ * | *\ *)
9730 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
9731 *)
9732 MISSING="\${SHELL} $am_aux_dir/missing" ;;
9733 esac
9734 fi
9735 # Use eval to expand $SHELL
9736 if eval "$MISSING --run true"; then
9737 am_missing_run="$MISSING --run "
9738 else
9739 am_missing_run=
9740 AC_MSG_WARN([`missing' script is too old or missing])
9741 fi
9742 ])
9743
9744 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9745 #
9746 # This file is free software; the Free Software Foundation
9747 # gives unlimited permission to copy and/or distribute it,
9748 # with or without modifications, as long as this notice is preserved.
9749
9750 # AM_PROG_MKDIR_P
9751 # ---------------
9752 # Check for `mkdir -p'.
9753 AC_DEFUN([AM_PROG_MKDIR_P],
9754 [AC_PREREQ([2.60])dnl
9755 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
9756 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
9757 dnl while keeping a definition of mkdir_p for backward compatibility.
9758 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
9759 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
9760 dnl Makefile.ins that do not define MKDIR_P, so we do our own
9761 dnl adjustment using top_builddir (which is defined more often than
9762 dnl MKDIR_P).
9763 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
9764 case $mkdir_p in
9765 [[\\/$]]* | ?:[[\\/]]*) ;;
9766 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
9767 esac
9768 ])
9769
9770 # Helper functions for option handling. -*- Autoconf -*-
9771
9772 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
9773 #
9774 # This file is free software; the Free Software Foundation
9775 # gives unlimited permission to copy and/or distribute it,
9776 # with or without modifications, as long as this notice is preserved.
9777
9778 # serial 4
9779
9780 # _AM_MANGLE_OPTION(NAME)
9781 # -----------------------
9782 AC_DEFUN([_AM_MANGLE_OPTION],
9783 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9784
9785 # _AM_SET_OPTION(NAME)
9786 # ------------------------------
9787 # Set option NAME. Presently that only means defining a flag for this option.
9788 AC_DEFUN([_AM_SET_OPTION],
9789 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
9790
9791 # _AM_SET_OPTIONS(OPTIONS)
9792 # ----------------------------------
9793 # OPTIONS is a space-separated list of Automake options.
9794 AC_DEFUN([_AM_SET_OPTIONS],
9795 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9796
9797 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9798 # -------------------------------------------
9799 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9800 AC_DEFUN([_AM_IF_OPTION],
9801 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
9802
9803 # Check to make sure that the build environment is sane. -*- Autoconf -*-
9804
9805 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9806 # Free Software Foundation, Inc.
9807 #
9808 # This file is free software; the Free Software Foundation
9809 # gives unlimited permission to copy and/or distribute it,
9810 # with or without modifications, as long as this notice is preserved.
9811
9812 # serial 5
9813
9814 # AM_SANITY_CHECK
9815 # ---------------
9816 AC_DEFUN([AM_SANITY_CHECK],
9817 [AC_MSG_CHECKING([whether build environment is sane])
9818 # Just in case
9819 sleep 1
9820 echo timestamp > conftest.file
9821 # Reject unsafe characters in $srcdir or the absolute working directory
9822 # name. Accept space and tab only in the latter.
9823 am_lf='
9824 '
9825 case `pwd` in
9826 *[[\\\"\#\$\&\'\`$am_lf]]*)
9827 AC_MSG_ERROR([unsafe absolute working directory name]);;
9828 esac
9829 case $srcdir in
9830 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
9831 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
9832 esac
9833
9834 # Do `set' in a subshell so we don't clobber the current shell's
9835 # arguments. Must try -L first in case configure is actually a
9836 # symlink; some systems play weird games with the mod time of symlinks
9837 # (eg FreeBSD returns the mod time of the symlink's containing
9838 # directory).
9839 if (
9840 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9841 if test "$[*]" = "X"; then
9842 # -L didn't work.
9843 set X `ls -t "$srcdir/configure" conftest.file`
9844 fi
9845 rm -f conftest.file
9846 if test "$[*]" != "X $srcdir/configure conftest.file" \
9847 && test "$[*]" != "X conftest.file $srcdir/configure"; then
9848
9849 # If neither matched, then we have a broken ls. This can happen
9850 # if, for instance, CONFIG_SHELL is bash and it inherits a
9851 # broken ls alias from the environment. This has actually
9852 # happened. Such a system could not be considered "sane".
9853 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
9854 alias in your environment])
9855 fi
9856
9857 test "$[2]" = conftest.file
9858 )
9859 then
9860 # Ok.
9861 :
9862 else
9863 AC_MSG_ERROR([newly created file is older than distributed files!
9864 Check your system clock])
9865 fi
9866 AC_MSG_RESULT(yes)])
9867
9868 # Copyright (C) 2009 Free Software Foundation, Inc.
9869 #
9870 # This file is free software; the Free Software Foundation
9871 # gives unlimited permission to copy and/or distribute it,
9872 # with or without modifications, as long as this notice is preserved.
9873
9874 # serial 1
9875
9876 # AM_SILENT_RULES([DEFAULT])
9877 # --------------------------
9878 # Enable less verbose build rules; with the default set to DEFAULT
9879 # (`yes' being less verbose, `no' or empty being verbose).
9880 AC_DEFUN([AM_SILENT_RULES],
9881 [AC_ARG_ENABLE([silent-rules],
9882 [ --enable-silent-rules less verbose build output (undo: `make V=1')
9883 --disable-silent-rules verbose build output (undo: `make V=0')])
9884 case $enable_silent_rules in
9885 yes) AM_DEFAULT_VERBOSITY=0;;
9886 no) AM_DEFAULT_VERBOSITY=1;;
9887 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
9888 esac
9889 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
9890 AM_BACKSLASH='\'
9891 AC_SUBST([AM_BACKSLASH])dnl
9892 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
9893 ])
9894
9895 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9896 #
9897 # This file is free software; the Free Software Foundation
9898 # gives unlimited permission to copy and/or distribute it,
9899 # with or without modifications, as long as this notice is preserved.
9900
9901 # AM_PROG_INSTALL_STRIP
9902 # ---------------------
9903 # One issue with vendor `install' (even GNU) is that you can't
9904 # specify the program used to strip binaries. This is especially
9905 # annoying in cross-compiling environments, where the build's strip
9906 # is unlikely to handle the host's binaries.
9907 # Fortunately install-sh will honor a STRIPPROG variable, so we
9908 # always use install-sh in `make install-strip', and initialize
9909 # STRIPPROG with the value of the STRIP variable (set by the user).
9910 AC_DEFUN([AM_PROG_INSTALL_STRIP],
9911 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9912 # Installed binaries are usually stripped using `strip' when the user
9913 # run `make install-strip'. However `strip' might not be the right
9914 # tool to use in cross-compilation environments, therefore Automake
9915 # will honor the `STRIP' environment variable to overrule this program.
9916 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
9917 if test "$cross_compiling" != no; then
9918 AC_CHECK_TOOL([STRIP], [strip], :)
9919 fi
9920 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9921 AC_SUBST([INSTALL_STRIP_PROGRAM])])
9922
9923 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9924 #
9925 # This file is free software; the Free Software Foundation
9926 # gives unlimited permission to copy and/or distribute it,
9927 # with or without modifications, as long as this notice is preserved.
9928
9929 # serial 2
9930
9931 # _AM_SUBST_NOTMAKE(VARIABLE)
9932 # ---------------------------
9933 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9934 # This macro is traced by Automake.
9935 AC_DEFUN([_AM_SUBST_NOTMAKE])
9936
9937 # AM_SUBST_NOTMAKE(VARIABLE)
9938 # ---------------------------
9939 # Public sister of _AM_SUBST_NOTMAKE.
9940 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9941
9942 # Check how to create a tarball. -*- Autoconf -*-
9943
9944 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
9945 #
9946 # This file is free software; the Free Software Foundation
9947 # gives unlimited permission to copy and/or distribute it,
9948 # with or without modifications, as long as this notice is preserved.
9949
9950 # serial 2
9951
9952 # _AM_PROG_TAR(FORMAT)
9953 # --------------------
9954 # Check how to create a tarball in format FORMAT.
9955 # FORMAT should be one of `v7', `ustar', or `pax'.
9956 #
9957 # Substitute a variable $(am__tar) that is a command
9958 # writing to stdout a FORMAT-tarball containing the directory
9959 # $tardir.
9960 # tardir=directory && $(am__tar) > result.tar
9961 #
9962 # Substitute a variable $(am__untar) that extract such
9963 # a tarball read from stdin.
9964 # $(am__untar) < result.tar
9965 AC_DEFUN([_AM_PROG_TAR],
9966 [# Always define AMTAR for backward compatibility.
9967 AM_MISSING_PROG([AMTAR], [tar])
9968 m4_if([$1], [v7],
9969 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
9970 [m4_case([$1], [ustar],, [pax],,
9971 [m4_fatal([Unknown tar format])])
9972 AC_MSG_CHECKING([how to create a $1 tar archive])
9973 # Loop over all known methods to create a tar archive until one works.
9974 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
9975 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
9976 # Do not fold the above two line into one, because Tru64 sh and
9977 # Solaris sh will not grok spaces in the rhs of `-'.
9978 for _am_tool in $_am_tools
9979 do
9980 case $_am_tool in
9981 gnutar)
9982 for _am_tar in tar gnutar gtar;
9983 do
9984 AM_RUN_LOG([$_am_tar --version]) && break
9985 done
9986 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
9987 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
9988 am__untar="$_am_tar -xf -"
9989 ;;
9990 plaintar)
9991 # Must skip GNU tar: if it does not support --format= it doesn't create
9992 # ustar tarball either.
9993 (tar --version) >/dev/null 2>&1 && continue
9994 am__tar='tar chf - "$$tardir"'
9995 am__tar_='tar chf - "$tardir"'
9996 am__untar='tar xf -'
9997 ;;
9998 pax)
9999 am__tar='pax -L -x $1 -w "$$tardir"'
10000 am__tar_='pax -L -x $1 -w "$tardir"'
10001 am__untar='pax -r'
10002 ;;
10003 cpio)
10004 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10005 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10006 am__untar='cpio -i -H $1 -d'
10007 ;;
10008 none)
10009 am__tar=false
10010 am__tar_=false
10011 am__untar=false
10012 ;;
10013 esac
10014
10015 # If the value was cached, stop now. We just wanted to have am__tar
10016 # and am__untar set.
10017 test -n "${am_cv_prog_tar_$1}" && break
10018
10019 # tar/untar a dummy directory, and stop if the command works
10020 rm -rf conftest.dir
10021 mkdir conftest.dir
10022 echo GrepMe > conftest.dir/file
10023 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
10024 rm -rf conftest.dir
10025 if test -s conftest.tar; then
10026 AM_RUN_LOG([$am__untar <conftest.tar])
10027 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10028 fi
10029 done
10030 rm -rf conftest.dir
10031
10032 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10033 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
10034 AC_SUBST([am__tar])
10035 AC_SUBST([am__untar])
10036 ]) # _AM_PROG_TAR
10037
10103 dnl
10104 dnl Now the definitions that aclocal will find
10105 dnl
10106 ifdef(glib_configure_ac,[],[
10107 AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
10108 AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
10109 ])dnl
10110
10111 # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
10112 #
10113 # Create a temporary file with TEST-FILE as its contents and pass the
10114 # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
10115 # 0 and perform ACTION-IF-FAIL for any other exit status.
10116 AC_DEFUN([GLIB_RUN_PROG],
10117 [cat >conftest.foo <<_ACEOF
10118 $2
10119 _ACEOF
10120 if AC_RUN_LOG([$1 conftest.foo]); then
10121 m4_ifval([$3], [$3], [:])
10122 m4_ifvaln([$4], [else $4])dnl
10123 echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
10124 sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
10125 fi])
10126
10127
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.65 for polkit-gnome 0.99.
2 # Generated by GNU Autoconf 2.66 for polkit-gnome 0.100.
33 #
44 # Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>.
55 #
66 #
77 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9 # Foundation, Inc.
1010 #
1111 #
1212 # This configure script is free software; the Free Software Foundation
172172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
175 test \$(( 1 + 1 )) = 2 || exit 1
176
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
176184 if (eval "$as_required") 2>/dev/null; then :
177185 as_have_required=yes
178186 else
319327 test -d "$as_dir" && break
320328 done
321329 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323331
324332
325333 } # as_fn_mkdir_p
359367 fi # as_fn_arith
360368
361369
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
364372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
374 # script with STATUS, using 1 if that was 0.
367375 as_fn_error ()
368376 {
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373381 fi
374 $as_echo "$as_me: error: $1" >&2
382 $as_echo "$as_me: error: $2" >&2
375383 as_fn_exit $as_status
376384 } # as_fn_error
377385
528536 # Sed expression to map a string onto a valid variable name.
529537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530538
531
532
533 # Check that we are running under the correct shell.
534539 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540 ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
546 shift
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
549 :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
552 :
553 else
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
560 shift
561 cat <<_LT_EOF
562 $*
563 _LT_EOF
564 exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578 then
579 break
580 fi
581 done
582 fi
583
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
587 :
588 else
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
592 #
593 # So, first we look for a working echo in the user's PATH.
594
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
597 IFS="$lt_save_ifs"
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
602 ECHO="$dir/echo"
603 break
604 fi
605 done
606 IFS="$lt_save_ifs"
607
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
614 ECHO='print -r'
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
621 export CONFIG_SHELL
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 else
624 # Try using printf.
625 ECHO='printf %s\n'
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
629 # Cool, printf works
630 :
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636 export CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
638 export SHELL
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
645 else
646 # maybe with a smaller string...
647 prev=:
648
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651 then
652 break
653 fi
654 prev="$cmd"
655 done
656
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 else
662 # Oops. We lost completely, so just stick with echo.
663 ECHO=echo
664 fi
665 fi
666 fi
667 fi
668 fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679540
680541
681542 test -n "$DJDIR" || exec 7<&0 </dev/null
682543 exec 6>&1
683544
684545 # Name of the host.
685 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
546 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686547 # so uname gets run too.
687548 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688549
701562 # Identity of this package.
702563 PACKAGE_NAME='polkit-gnome'
703564 PACKAGE_TARNAME='polkit-gnome'
704 PACKAGE_VERSION='0.99'
705 PACKAGE_STRING='polkit-gnome 0.99'
565 PACKAGE_VERSION='0.100'
566 PACKAGE_STRING='polkit-gnome 0.100'
706567 PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-devel'
707568 PACKAGE_URL=''
708569
810671 POLKIT_AGENT_CFLAGS
811672 GTK_LIBS
812673 GTK_CFLAGS
674 GTK_API_VERSION
813675 DISABLE_DEPRECATED
814676 WARN_CFLAGS
815677 ACLOCAL_AMFLAGS
823685 GTK_DOC_BUILD_HTML_TRUE
824686 ENABLE_GTK_DOC_FALSE
825687 ENABLE_GTK_DOC_TRUE
688 PKG_CONFIG_LIBDIR
689 PKG_CONFIG_PATH
826690 PKG_CONFIG
827691 HTML_DIR
828692 GTKDOC_MKPDF
833697 LIPO
834698 NMEDIT
835699 DSYMUTIL
836 lt_ECHO
837700 RANLIB
838701 AR
839702 OBJDUMP
960823 enable_debug
961824 enable_compile_warnings
962825 enable_iso_c
826 with_gtk
963827 enable_examples
964828 enable_introspection
965829 enable_nls
974838 CPPFLAGS
975839 CPP
976840 PKG_CONFIG
841 PKG_CONFIG_PATH
842 PKG_CONFIG_LIBDIR
977843 GTK_CFLAGS
978844 GTK_LIBS
979845 POLKIT_AGENT_CFLAGS
1090956 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1091957 # Reject names that are not valid shell variable names.
1092958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error "invalid feature name: $ac_useropt"
959 as_fn_error $? "invalid feature name: $ac_useropt"
1094960 ac_useropt_orig=$ac_useropt
1095961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096962 case $ac_user_opts in
1116982 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1117983 # Reject names that are not valid shell variable names.
1118984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error "invalid feature name: $ac_useropt"
985 as_fn_error $? "invalid feature name: $ac_useropt"
1120986 ac_useropt_orig=$ac_useropt
1121987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122988 case $ac_user_opts in
13201186 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
13211187 # Reject names that are not valid shell variable names.
13221188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1323 as_fn_error "invalid package name: $ac_useropt"
1189 as_fn_error $? "invalid package name: $ac_useropt"
13241190 ac_useropt_orig=$ac_useropt
13251191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
13261192 case $ac_user_opts in
13361202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
13371203 # Reject names that are not valid shell variable names.
13381204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339 as_fn_error "invalid package name: $ac_useropt"
1205 as_fn_error $? "invalid package name: $ac_useropt"
13401206 ac_useropt_orig=$ac_useropt
13411207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
13421208 case $ac_user_opts in
13661232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
13671233 x_libraries=$ac_optarg ;;
13681234
1369 -*) as_fn_error "unrecognized option: \`$ac_option'
1370 Try \`$0 --help' for more information."
1235 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information"
13711237 ;;
13721238
13731239 *=*)
13751241 # Reject names that are not valid shell variable names.
13761242 case $ac_envvar in #(
13771243 '' | [0-9]* | *[!_$as_cr_alnum]* )
1378 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1244 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
13791245 esac
13801246 eval $ac_envvar=\$ac_optarg
13811247 export $ac_envvar ;;
13931259
13941260 if test -n "$ac_prev"; then
13951261 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1396 as_fn_error "missing argument to $ac_option"
1262 as_fn_error $? "missing argument to $ac_option"
13971263 fi
13981264
13991265 if test -n "$ac_unrecognized_opts"; then
14001266 case $enable_option_checking in
14011267 no) ;;
1402 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1268 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
14031269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
14041270 esac
14051271 fi
14221288 [\\/$]* | ?:[\\/]* ) continue;;
14231289 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
14241290 esac
1425 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1291 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
14261292 done
14271293
14281294 # There might be people who depend on the old broken behavior: `$host'
14361302 if test "x$host_alias" != x; then
14371303 if test "x$build_alias" = x; then
14381304 cross_compiling=maybe
1439 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1440 If a cross compiler is detected then cross compile mode will be used." >&2
1305 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used" >&2
14411307 elif test "x$build_alias" != "x$host_alias"; then
14421308 cross_compiling=yes
14431309 fi
14521318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
14531319 ac_ls_di=`ls -di .` &&
14541320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1455 as_fn_error "working directory cannot be determined"
1321 as_fn_error $? "working directory cannot be determined"
14561322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1457 as_fn_error "pwd does not report name of working directory"
1323 as_fn_error $? "pwd does not report name of working directory"
14581324
14591325
14601326 # Find the source files, if location was not specified.
14931359 fi
14941360 if test ! -r "$srcdir/$ac_unique_file"; then
14951361 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1496 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1362 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
14971363 fi
14981364 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14991365 ac_abs_confdir=`(
1500 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
15011367 pwd)`
15021368 # When building in place, set srcdir=.
15031369 if test "$ac_abs_confdir" = "$ac_pwd"; then
15231389 # Omit some internal or obsolete options to make the list less imposing.
15241390 # This message is too long to be a string in the A/UX 3.1 sh.
15251391 cat <<_ACEOF
1526 \`configure' configures polkit-gnome 0.99 to adapt to many kinds of systems.
1392 \`configure' configures polkit-gnome 0.100 to adapt to many kinds of systems.
15271393
15281394 Usage: $0 [OPTION]... [VAR=VALUE]...
15291395
15371403 --help=short display options specific to this package
15381404 --help=recursive display the short help of all the included packages
15391405 -V, --version display version information and exit
1540 -q, --quiet, --silent do not print \`checking...' messages
1406 -q, --quiet, --silent do not print \`checking ...' messages
15411407 --cache-file=FILE cache test results in FILE [disabled]
15421408 -C, --config-cache alias for \`--cache-file=config.cache'
15431409 -n, --no-create do not create output files
15931459
15941460 if test -n "$ac_init_help"; then
15951461 case $ac_init_help in
1596 short | recursive ) echo "Configuration of polkit-gnome 0.99:";;
1462 short | recursive ) echo "Configuration of polkit-gnome 0.100:";;
15971463 esac
15981464 cat <<\_ACEOF
15991465
16301496 both]
16311497 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
16321498 --with-html-dir=PATH path to installed docs
1499 --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0)
16331500
16341501 Some influential environment variables:
16351502 CC C compiler command
16411508 you have headers in a nonstandard directory <include dir>
16421509 CPP C preprocessor
16431510 PKG_CONFIG path to pkg-config utility
1511 PKG_CONFIG_PATH
1512 directories to add to pkg-config's search path
1513 PKG_CONFIG_LIBDIR
1514 path overriding pkg-config's built-in search path
16441515 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
16451516 GTK_LIBS linker flags for GTK, overriding pkg-config
16461517 POLKIT_AGENT_CFLAGS
17221593 test -n "$ac_init_help" && exit $ac_status
17231594 if $ac_init_version; then
17241595 cat <<\_ACEOF
1725 polkit-gnome configure 0.99
1726 generated by GNU Autoconf 2.65
1727
1728 Copyright (C) 2009 Free Software Foundation, Inc.
1596 polkit-gnome configure 0.100
1597 generated by GNU Autoconf 2.66
1598
1599 Copyright (C) 2010 Free Software Foundation, Inc.
17291600 This configure script is free software; the Free Software Foundation
17301601 gives unlimited permission to copy, distribute and modify it.
17311602 _ACEOF
19081779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19091780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
19101781 $as_echo_n "checking for $2... " >&6; }
1911 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1782 if eval "test \"\${$3+set}\"" = set; then :
19121783 $as_echo_n "(cached) " >&6
19131784 else
19141785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19391810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
19401811 $as_echo_n "checking for $2... " >&6; }
1941 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812 if eval "test \"\${$3+set}\"" = set; then :
19421813 $as_echo_n "(cached) " >&6
19431814 else
19441815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20051876 ac_fn_c_check_header_mongrel ()
20061877 {
20071878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1879 if eval "test \"\${$3+set}\"" = set; then :
20091880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
20101881 $as_echo_n "checking for $2... " >&6; }
2011 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1882 if eval "test \"\${$3+set}\"" = set; then :
20121883 $as_echo_n "(cached) " >&6
20131884 fi
20141885 eval ac_res=\$$3
20671938 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
20681939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
20691940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2070 ( cat <<\_ASBOX
2071 ## ------------------------------------------------------------------------- ##
1941 ( $as_echo "## ------------------------------------------------------------------------- ##
20721942 ## Report this to http://lists.freedesktop.org/mailman/listinfo/polkit-devel ##
2073 ## ------------------------------------------------------------------------- ##
2074 _ASBOX
1943 ## ------------------------------------------------------------------------- ##"
20751944 ) | sed "s/^/$as_me: WARNING: /" >&2
20761945 ;;
20771946 esac
20781947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
20791948 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1949 if eval "test \"\${$3+set}\"" = set; then :
20811950 $as_echo_n "(cached) " >&6
20821951 else
20831952 eval "$3=\$ac_header_compiler"
20931962 This file contains any messages produced by compilers while
20941963 running configure, to aid debugging if configure makes a mistake.
20951964
2096 It was created by polkit-gnome $as_me 0.99, which was
2097 generated by GNU Autoconf 2.65. Invocation command line was
1965 It was created by polkit-gnome $as_me 0.100, which was
1966 generated by GNU Autoconf 2.66. Invocation command line was
20981967
20991968 $ $0 $@
21001969
22042073 {
22052074 echo
22062075
2207 cat <<\_ASBOX
2208 ## ---------------- ##
2076 $as_echo "## ---------------- ##
22092077 ## Cache variables. ##
2210 ## ---------------- ##
2211 _ASBOX
2078 ## ---------------- ##"
22122079 echo
22132080 # The following way of writing the cache mishandles newlines in values,
22142081 (
22422109 )
22432110 echo
22442111
2245 cat <<\_ASBOX
2246 ## ----------------- ##
2112 $as_echo "## ----------------- ##
22472113 ## Output variables. ##
2248 ## ----------------- ##
2249 _ASBOX
2114 ## ----------------- ##"
22502115 echo
22512116 for ac_var in $ac_subst_vars
22522117 do
22592124 echo
22602125
22612126 if test -n "$ac_subst_files"; then
2262 cat <<\_ASBOX
2263 ## ------------------- ##
2127 $as_echo "## ------------------- ##
22642128 ## File substitutions. ##
2265 ## ------------------- ##
2266 _ASBOX
2129 ## ------------------- ##"
22672130 echo
22682131 for ac_var in $ac_subst_files
22692132 do
22772140 fi
22782141
22792142 if test -s confdefs.h; then
2280 cat <<\_ASBOX
2281 ## ----------- ##
2143 $as_echo "## ----------- ##
22822144 ## confdefs.h. ##
2283 ## ----------- ##
2284 _ASBOX
2145 ## ----------- ##"
22852146 echo
22862147 cat confdefs.h
22872148 echo
23362197 ac_site_file1=NONE
23372198 ac_site_file2=NONE
23382199 if test -n "$CONFIG_SITE"; then
2339 ac_site_file1=$CONFIG_SITE
2200 # We do not want a PATH search for config.site.
2201 case $CONFIG_SITE in #((
2202 -*) ac_site_file1=./$CONFIG_SITE;;
2203 */*) ac_site_file1=$CONFIG_SITE;;
2204 *) ac_site_file1=./$CONFIG_SITE;;
2205 esac
23402206 elif test "x$prefix" != xNONE; then
23412207 ac_site_file1=$prefix/share/config.site
23422208 ac_site_file2=$prefix/etc/config.site
23512217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
23522218 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
23532219 sed 's/^/| /' "$ac_site_file" >&5
2354 . "$ac_site_file"
2220 . "$ac_site_file" \
2221 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 as_fn_error $? "failed to load site script $ac_site_file
2224 See \`config.log' for more details" "$LINENO" 5; }
23552225 fi
23562226 done
23572227
24272297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24282298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
24292299 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2430 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2300 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
24312301 fi
24322302 ## -------------------- ##
24332303 ## Main body of script. ##
24452315
24462316 ac_aux_dir=
24472317 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2448 for ac_t in install-sh install.sh shtool; do
2449 if test -f "$ac_dir/$ac_t"; then
2450 ac_aux_dir=$ac_dir
2451 ac_install_sh="$ac_aux_dir/$ac_t -c"
2452 break 2
2453 fi
2454 done
2318 if test -f "$ac_dir/install-sh"; then
2319 ac_aux_dir=$ac_dir
2320 ac_install_sh="$ac_aux_dir/install-sh -c"
2321 break
2322 elif test -f "$ac_dir/install.sh"; then
2323 ac_aux_dir=$ac_dir
2324 ac_install_sh="$ac_aux_dir/install.sh -c"
2325 break
2326 elif test -f "$ac_dir/shtool"; then
2327 ac_aux_dir=$ac_dir
2328 ac_install_sh="$ac_aux_dir/shtool install -c"
2329 break
2330 fi
24552331 done
24562332 if test -z "$ac_aux_dir"; then
2457 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2333 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
24582334 fi
24592335
24602336 # These three variables are undocumented and unsupported,
25702446 '
25712447 case `pwd` in
25722448 *[\\\"\#\$\&\'\`$am_lf]*)
2573 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2449 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
25742450 esac
25752451 case $srcdir in
25762452 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2577 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2453 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
25782454 esac
25792455
25802456 # Do `set' in a subshell so we don't clobber the current shell's
25962472 # if, for instance, CONFIG_SHELL is bash and it inherits a
25972473 # broken ls alias from the environment. This has actually
25982474 # happened. Such a system could not be considered "sane".
2599 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2475 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
26002476 alias in your environment" "$LINENO" 5
26012477 fi
26022478
26062482 # Ok.
26072483 :
26082484 else
2609 as_fn_error "newly created file is older than distributed files!
2485 as_fn_error $? "newly created file is older than distributed files!
26102486 Check your system clock" "$LINENO" 5
26112487 fi
26122488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28442720 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
28452721 set x ${MAKE-make}
28462722 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2847 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2723 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
28482724 $as_echo_n "(cached) " >&6
28492725 else
28502726 cat >conftest.make <<\_ACEOF
28522728 all:
28532729 @echo '@@@%%%=$(MAKE)=@@@%%%'
28542730 _ACEOF
2855 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2731 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
28562732 case `${MAKE-make} -f conftest.make 2>/dev/null` in
28572733 *@@@%%%=?*=@@@%%%*)
28582734 eval ac_cv_prog_make_${ac_make}_set=yes;;
28862762 am__isrc=' -I$(srcdir)'
28872763 # test to see if srcdir already configured
28882764 if test -f $srcdir/config.status; then
2889 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2765 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
28902766 fi
28912767 fi
28922768
29022778
29032779 # Define the identity of the package.
29042780 PACKAGE='polkit-gnome'
2905 VERSION='0.99'
2781 VERSION='0.100'
29062782
29072783
29082784 cat >>confdefs.h <<_ACEOF
32953171
32963172 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32973173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error "no acceptable C compiler found in \$PATH
3299 See \`config.log' for more details." "$LINENO" 5; }
3174 as_fn_error $? "no acceptable C compiler found in \$PATH
3175 See \`config.log' for more details" "$LINENO" 5; }
33003176
33013177 # Provide some information about the compiler.
33023178 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
34103286
34113287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34123288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 { as_fn_set_status 77
3414 as_fn_error "C compiler cannot create executables
3415 See \`config.log' for more details." "$LINENO" 5; }; }
3289 as_fn_error 77 "C compiler cannot create executables
3290 See \`config.log' for more details" "$LINENO" 5; }
34163291 else
34173292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34183293 $as_echo "yes" >&6; }
34543329 else
34553330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34563331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 as_fn_error "cannot compute suffix of executables: cannot compile and link
3458 See \`config.log' for more details." "$LINENO" 5; }
3332 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3333 See \`config.log' for more details" "$LINENO" 5; }
34593334 fi
34603335 rm -f conftest conftest$ac_cv_exeext
34613336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
35123387 else
35133388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35143389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3515 as_fn_error "cannot run C compiled programs.
3390 as_fn_error $? "cannot run C compiled programs.
35163391 If you meant to cross compile, use \`--host'.
3517 See \`config.log' for more details." "$LINENO" 5; }
3392 See \`config.log' for more details" "$LINENO" 5; }
35183393 fi
35193394 fi
35203395 fi
35653440
35663441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35673442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 as_fn_error "cannot compute suffix of object files: cannot compile
3569 See \`config.log' for more details." "$LINENO" 5; }
3443 as_fn_error $? "cannot compute suffix of object files: cannot compile
3444 See \`config.log' for more details" "$LINENO" 5; }
35703445 fi
35713446 rm -f conftest.$ac_cv_objext conftest.$ac_ext
35723447 fi
41594034 else
41604035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41614036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4163 See \`config.log' for more details." "$LINENO" 5; }
4037 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4038 See \`config.log' for more details" "$LINENO" 5; }
41644039 fi
41654040
41664041 ac_ext=c
42214096 done
42224097 IFS=$as_save_IFS
42234098 if test -z "$ac_cv_path_GREP"; then
4224 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4099 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
42254100 fi
42264101 else
42274102 ac_cv_path_GREP=$GREP
42874162 done
42884163 IFS=$as_save_IFS
42894164 if test -z "$ac_cv_path_EGREP"; then
4290 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4165 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
42914166 fi
42924167 else
42934168 ac_cv_path_EGREP=$EGREP
44204295
44214296
44224297
4423 macro_version='2.2.6b'
4424 macro_revision='1.3017'
4298 macro_version='2.2.10'
4299 macro_revision='1.3175'
44254300
44264301
44274302
44394314
44404315 # Make sure we can run config.sub.
44414316 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4442 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4317 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
44434318
44444319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
44454320 $as_echo_n "checking build system type... " >&6; }
44504325 test "x$ac_build_alias" = x &&
44514326 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
44524327 test "x$ac_build_alias" = x &&
4453 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4328 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
44544329 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4455 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4330 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
44564331
44574332 fi
44584333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
44594334 $as_echo "$ac_cv_build" >&6; }
44604335 case $ac_cv_build in
44614336 *-*-*) ;;
4462 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4337 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
44634338 esac
44644339 build=$ac_cv_build
44654340 ac_save_IFS=$IFS; IFS='-'
44844359 ac_cv_host=$ac_cv_build
44854360 else
44864361 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4487 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4362 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
44884363 fi
44894364
44904365 fi
44924367 $as_echo "$ac_cv_host" >&6; }
44934368 case $ac_cv_host in
44944369 *-*-*) ;;
4495 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4370 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
44964371 esac
44974372 host=$ac_cv_host
44984373 ac_save_IFS=$IFS; IFS='-'
45064381 host_os=$*
45074382 IFS=$ac_save_IFS
45084383 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4384
4385
4386 # Backslashify metacharacters that are still active within
4387 # double-quoted strings.
4388 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4389
4390 # Same as above, but do not quote variable references.
4391 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4392
4393 # Sed substitution to delay expansion of an escaped shell variable in a
4394 # double_quote_subst'ed string.
4395 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4396
4397 # Sed substitution to delay expansion of an escaped single quote.
4398 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4399
4400 # Sed substitution to avoid accidental globbing in evaled expressions
4401 no_glob_subst='s/\*/\\\*/g'
4402
4403 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4404 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4405 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4406
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4408 $as_echo_n "checking how to print strings... " >&6; }
4409 # Test print first, because it will be a builtin if present.
4410 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4411 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4412 ECHO='print -r --'
4413 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4414 ECHO='printf %s\n'
4415 else
4416 # Use this function as a fallback that always works.
4417 func_fallback_echo ()
4418 {
4419 eval 'cat <<_LTECHO_EOF
4420 $1
4421 _LTECHO_EOF'
4422 }
4423 ECHO='func_fallback_echo'
4424 fi
4425
4426 # func_echo_all arg...
4427 # Invoke $ECHO with all args, space-separated.
4428 func_echo_all ()
4429 {
4430 $ECHO ""
4431 }
4432
4433 case "$ECHO" in
4434 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4435 $as_echo "printf" >&6; } ;;
4436 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4437 $as_echo "print -r" >&6; } ;;
4438 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4439 $as_echo "cat" >&6; } ;;
4440 esac
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
45094453
45104454
45114455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
45654509 done
45664510 IFS=$as_save_IFS
45674511 if test -z "$ac_cv_path_SED"; then
4568 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4512 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
45694513 fi
45704514 else
45714515 ac_cv_path_SED=$SED
46444588 done
46454589 IFS=$as_save_IFS
46464590 if test -z "$ac_cv_path_FGREP"; then
4647 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4591 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
46484592 fi
46494593 else
46504594 ac_cv_path_FGREP=$FGREP
47604704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47614705 $as_echo "no" >&6; }
47624706 fi
4763 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4707 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
47644708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
47654709 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
47664710 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
48434787 NM="$lt_cv_path_NM"
48444788 else
48454789 # Didn't find any BSD compatible name lister, look for dumpbin.
4846 if test -n "$ac_tool_prefix"; then
4847 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4790 if test -n "$DUMPBIN"; then :
4791 # Let the user override the test.
4792 else
4793 if test -n "$ac_tool_prefix"; then
4794 for ac_prog in dumpbin "link -dump"
48484795 do
48494796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
48504797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
48884835 fi
48894836 if test -z "$DUMPBIN"; then
48904837 ac_ct_DUMPBIN=$DUMPBIN
4891 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4838 for ac_prog in dumpbin "link -dump"
48924839 do
48934840 # Extract the first word of "$ac_prog", so it can be a program name with args.
48944841 set dummy $ac_prog; ac_word=$2
49434890 fi
49444891 fi
49454892
4893 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4894 *COFF*)
4895 DUMPBIN="$DUMPBIN -symbols"
4896 ;;
4897 *)
4898 DUMPBIN=:
4899 ;;
4900 esac
4901 fi
49464902
49474903 if test "$DUMPBIN" != ":"; then
49484904 NM="$DUMPBIN"
49624918 else
49634919 lt_cv_nm_interface="BSD nm"
49644920 echo "int some_variable = 0;" > conftest.$ac_ext
4965 (eval echo "\"\$as_me:4966: $ac_compile\"" >&5)
4921 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
49664922 (eval "$ac_compile" 2>conftest.err)
49674923 cat conftest.err >&5
4968 (eval echo "\"\$as_me:4969: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4924 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
49694925 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
49704926 cat conftest.err >&5
4971 (eval echo "\"\$as_me:4972: output\"" >&5)
4927 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
49724928 cat conftest.out >&5
49734929 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
49744930 lt_cv_nm_interface="MS dumpbin"
50224978 # the test eventually succeeds (with a max line length of 256k).
50234979 # Instead, let's just punt: use the minimum linelength reported by
50244980 # all of the supported platforms: 8192 (on NT/2K/XP).
4981 lt_cv_sys_max_cmd_len=8192;
4982 ;;
4983
4984 mint*)
4985 # On MiNT this can take a long time and run out of memory.
50254986 lt_cv_sys_max_cmd_len=8192;
50264987 ;;
50274988
50895050 # If test is not a shell built-in, we'll probably end up computing a
50905051 # maximum length that is only half of the actual maximum length, but
50915052 # we can't tell.
5092 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5093 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
50945055 test $i != 17 # 1/2 MB should be enough
50955056 do
50965057 i=`expr $i + 1`
53615322 # Base MSYS/MinGW do not provide the 'file' command needed by
53625323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
53635324 # unless we find 'file', for example because we are cross-compiling.
5364 if ( file / ) >/dev/null 2>&1; then
5325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
53655327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
53665328 lt_cv_file_magic_cmd='func_win32_libid'
53675329 else
5368 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5330 # Keep this pattern in sync with the one in func_win32_libid.
5331 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
53695332 lt_cv_file_magic_cmd='$OBJDUMP -f'
53705333 fi
53715334 ;;
53725335
5373 cegcc)
5336 cegcc*)
53745337 # use the weaker test based on 'objdump'. See mingw*.
53755338 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
53765339 lt_cv_file_magic_cmd='$OBJDUMP -f'
54005363 lt_cv_deplibs_check_method=pass_all
54015364 ;;
54025365
5366 haiku*)
5367 lt_cv_deplibs_check_method=pass_all
5368 ;;
5369
54035370 hpux10.20* | hpux11*)
54045371 lt_cv_file_magic_cmd=/usr/bin/file
54055372 case $host_cpu in
54085375 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
54095376 ;;
54105377 hppa*64*)
5411 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]'
5378 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]'
54125379 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
54135380 ;;
54145381 *)
5415 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5382 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
54165383 lt_cv_file_magic_test_file=/usr/lib/libc.sl
54175384 ;;
54185385 esac
54345401 ;;
54355402
54365403 # This must be Linux ELF.
5437 linux* | k*bsd*-gnu)
5404 linux* | k*bsd*-gnu | kopensolaris*-gnu)
54385405 lt_cv_deplibs_check_method=pass_all
54395406 ;;
54405407
58495816 esac
58505817 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
58515818 fi
5819
5820 case $host_os in
5821 darwin*)
5822 lock_old_archive_extraction=yes ;;
5823 *)
5824 lock_old_archive_extraction=no ;;
5825 esac
5826
5827
5828
5829
5830
58525831
58535832
58545833
60195998 test $ac_status = 0; }; then
60205999 # Now try to grab the symbols.
60216000 nlist=conftest.nm
6022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6023 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6002 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
60246003 ac_status=$?
60256004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60266005 test $ac_status = 0; } && test -s "$nlist"; then
61736152 ;;
61746153 *-*-irix6*)
61756154 # Find out which ABI we are using.
6176 echo '#line 6177 "configure"' > conftest.$ac_ext
6155 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
61776156 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
61786157 (eval $ac_compile) 2>&5
61796158 ac_status=$?
68856864 fi
68866865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
68876866 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6868 $as_echo_n "checking for -force_load linker flag... " >&6; }
6869 if test "${lt_cv_ld_force_load+set}" = set; then :
6870 $as_echo_n "(cached) " >&6
6871 else
6872 lt_cv_ld_force_load=no
6873 cat > conftest.c << _LT_EOF
6874 int forced_loaded() { return 2;}
6875 _LT_EOF
6876 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6877 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6878 echo "$AR cru libconftest.a conftest.o" >&5
6879 $AR cru libconftest.a conftest.o 2>&5
6880 echo "$RANLIB libconftest.a" >&5
6881 $RANLIB libconftest.a 2>&5
6882 cat > conftest.c << _LT_EOF
6883 int main() { return 0;}
6884 _LT_EOF
6885 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6886 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6887 _lt_result=$?
6888 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6889 lt_cv_ld_force_load=yes
6890 else
6891 cat conftest.err >&5
6892 fi
6893 rm -f conftest.err libconftest.a conftest conftest.c
6894 rm -rf conftest.dSYM
6895
6896 fi
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6898 $as_echo "$lt_cv_ld_force_load" >&6; }
68886899 case $host_os in
68896900 rhapsody* | darwin1.[012])
68906901 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
69126923 else
69136924 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
69146925 fi
6915 if test "$DSYMUTIL" != ":"; then
6926 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
69166927 _lt_dsymutil='~$DSYMUTIL $lib || :'
69176928 else
69186929 _lt_dsymutil=
69276938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69286939 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
69296940 "
6930 eval as_val=\$$as_ac_Header
6931 if test "x$as_val" = x""yes; then :
6941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69326942 cat >>confdefs.h <<_ACEOF
69336943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69346944 _ACEOF
69506960 fi
69516961
69526962 done
6963
6964
69536965
69546966
69556967
71057117
71067118
71077119
7120
71087121 test -z "$LN_S" && LN_S="ln -s"
71097122
71107123
71507163 cat >>confdefs.h <<_ACEOF
71517164 #define LT_OBJDIR "$lt_cv_objdir/"
71527165 _ACEOF
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
71667166
71677167
71687168
71797179 ;;
71807180 esac
71817181
7182 # Sed substitution that helps us do robust quoting. It backslashifies
7183 # metacharacters that are still active within double-quoted strings.
7184 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7185
7186 # Same as above, but do not quote variable references.
7187 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7188
7189 # Sed substitution to delay expansion of an escaped shell variable in a
7190 # double_quote_subst'ed string.
7191 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7192
7193 # Sed substitution to delay expansion of an escaped single quote.
7194 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7195
7196 # Sed substitution to avoid accidental globbing in evaled expressions
7197 no_glob_subst='s/\*/\\\*/g'
7198
71997182 # Global variables:
72007183 ofile=libtool
72017184 can_build_shared=yes
72247207 *) break;;
72257208 esac
72267209 done
7227 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7210 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
72287211
72297212
72307213 # Only perform the check for file, if the check method requires it
74297412 lt_prog_compiler_no_builtin_flag=
74307413
74317414 if test "$GCC" = yes; then
7432 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7415 case $cc_basename in
7416 nvcc*)
7417 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7418 *)
7419 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7420 esac
74337421
74347422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
74357423 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
74497437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
74507438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
74517439 -e 's:$: $lt_compiler_flag:'`
7452 (eval echo "\"\$as_me:7453: $lt_compile\"" >&5)
7440 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
74537441 (eval "$lt_compile" 2>conftest.err)
74547442 ac_status=$?
74557443 cat conftest.err >&5
7456 echo "$as_me:7457: \$? = $ac_status" >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577445 if (exit $ac_status) && test -s "$ac_outfile"; then
74587446 # The compiler can only warn and ignore the option if not recognized
74597447 # So say no if there are warnings other than the usual output.
7460 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7448 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
74617449 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
74627450 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
74637451 lt_cv_prog_compiler_rtti_exceptions=yes
75357523 lt_prog_compiler_pic='-fno-common'
75367524 ;;
75377525
7526 haiku*)
7527 # PIC is the default for Haiku.
7528 # The "-static" flag exists, but is broken.
7529 lt_prog_compiler_static=
7530 ;;
7531
75387532 hpux*)
75397533 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
75407534 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
75757569
75767570 *)
75777571 lt_prog_compiler_pic='-fPIC'
7572 ;;
7573 esac
7574
7575 case $cc_basename in
7576 nvcc*) # Cuda Compiler Driver 2.2
7577 lt_prog_compiler_wl='-Xlinker '
7578 lt_prog_compiler_pic='-Xcompiler -fPIC'
75787579 ;;
75797580 esac
75807581 else
76187619 lt_prog_compiler_static='-non_shared'
76197620 ;;
76207621
7621 linux* | k*bsd*-gnu)
7622 linux* | k*bsd*-gnu | kopensolaris*-gnu)
76227623 case $cc_basename in
76237624 # old Intel for x86_64 which still supported -KPIC.
76247625 ecc*)
76397640 lt_prog_compiler_pic='--shared'
76407641 lt_prog_compiler_static='--static'
76417642 ;;
7642 pgcc* | pgf77* | pgf90* | pgf95*)
7643 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
76437644 # Portland Group compilers (*not* the Pentium gcc compiler,
76447645 # which looks to be a dead project)
76457646 lt_prog_compiler_wl='-Wl,'
76517652 # All Alpha code is PIC.
76527653 lt_prog_compiler_static='-non_shared'
76537654 ;;
7654 xl*)
7655 # IBM XL C 8.0/Fortran 10.1 on PPC
7655 xl* | bgxl* | bgf* | mpixl*)
7656 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
76567657 lt_prog_compiler_wl='-Wl,'
76577658 lt_prog_compiler_pic='-qpic'
76587659 lt_prog_compiler_static='-qstaticlink'
76597660 ;;
76607661 *)
76617662 case `$CC -V 2>&1 | sed 5q` in
7663 *Sun\ F* | *Sun*Fortran*)
7664 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7665 lt_prog_compiler_pic='-KPIC'
7666 lt_prog_compiler_static='-Bstatic'
7667 lt_prog_compiler_wl=''
7668 ;;
76627669 *Sun\ C*)
76637670 # Sun C 5.9
76647671 lt_prog_compiler_pic='-KPIC'
76657672 lt_prog_compiler_static='-Bstatic'
76667673 lt_prog_compiler_wl='-Wl,'
76677674 ;;
7668 *Sun\ F*)
7669 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7670 lt_prog_compiler_pic='-KPIC'
7671 lt_prog_compiler_static='-Bstatic'
7672 lt_prog_compiler_wl=''
7673 ;;
76747675 esac
76757676 ;;
76767677 esac
77017702 lt_prog_compiler_pic='-KPIC'
77027703 lt_prog_compiler_static='-Bstatic'
77037704 case $cc_basename in
7704 f77* | f90* | f95*)
7705 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
77057706 lt_prog_compiler_wl='-Qoption ld ';;
77067707 *)
77077708 lt_prog_compiler_wl='-Wl,';;
77887789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
77897790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
77907791 -e 's:$: $lt_compiler_flag:'`
7791 (eval echo "\"\$as_me:7792: $lt_compile\"" >&5)
7792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
77927793 (eval "$lt_compile" 2>conftest.err)
77937794 ac_status=$?
77947795 cat conftest.err >&5
7795 echo "$as_me:7796: \$? = $ac_status" >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77967797 if (exit $ac_status) && test -s "$ac_outfile"; then
77977798 # The compiler can only warn and ignore the option if not recognized
77987799 # So say no if there are warnings other than the usual output.
7799 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7800 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
78007801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78017802 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
78027803 lt_cv_prog_compiler_pic_works=yes
78447845 if test -s conftest.err; then
78457846 # Append any errors to the config.log.
78467847 cat conftest.err 1>&5
7847 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7848 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
78487849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
78497850 if diff conftest.exp conftest.er2 >/dev/null; then
78507851 lt_cv_prog_compiler_static_works=yes
78937894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
78947895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
78957896 -e 's:$: $lt_compiler_flag:'`
7896 (eval echo "\"\$as_me:7897: $lt_compile\"" >&5)
7897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
78977898 (eval "$lt_compile" 2>out/conftest.err)
78987899 ac_status=$?
78997900 cat out/conftest.err >&5
7900 echo "$as_me:7901: \$? = $ac_status" >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79017902 if (exit $ac_status) && test -s out/conftest2.$ac_objext
79027903 then
79037904 # The compiler can only warn and ignore the option if not recognized
79047905 # So say no if there are warnings
7905 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7906 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
79067907 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
79077908 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
79087909 lt_cv_prog_compiler_c_o=yes
79487949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
79497950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
79507951 -e 's:$: $lt_compiler_flag:'`
7951 (eval echo "\"\$as_me:7952: $lt_compile\"" >&5)
7952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
79527953 (eval "$lt_compile" 2>out/conftest.err)
79537954 ac_status=$?
79547955 cat out/conftest.err >&5
7955 echo "$as_me:7956: \$? = $ac_status" >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79567957 if (exit $ac_status) && test -s out/conftest2.$ac_objext
79577958 then
79587959 # The compiler can only warn and ignore the option if not recognized
79597960 # So say no if there are warnings
7960 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7961 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
79617962 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
79627963 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
79637964 lt_cv_prog_compiler_c_o=yes
80708071 esac
80718072
80728073 ld_shlibs=yes
8074
8075 # On some targets, GNU ld is compatible enough with the native linker
8076 # that we're better off using the native interface for both.
8077 lt_use_gnu_ld_interface=no
80738078 if test "$with_gnu_ld" = yes; then
8079 case $host_os in
8080 aix*)
8081 # The AIX port of GNU ld has always aspired to compatibility
8082 # with the native linker. However, as the warning in the GNU ld
8083 # block says, versions before 2.19.5* couldn't really create working
8084 # shared libraries, regardless of the interface used.
8085 case `$LD -v 2>&1` in
8086 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8087 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8088 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8089 *)
8090 lt_use_gnu_ld_interface=yes
8091 ;;
8092 esac
8093 ;;
8094 *)
8095 lt_use_gnu_ld_interface=yes
8096 ;;
8097 esac
8098 fi
8099
8100 if test "$lt_use_gnu_ld_interface" = yes; then
80748101 # If archive_cmds runs LD, not CC, wlarc should be empty
80758102 wlarc='${wl}'
80768103
80888115 fi
80898116 supports_anon_versioning=no
80908117 case `$LD -v 2>&1` in
8118 *GNU\ gold*) supports_anon_versioning=yes ;;
80918119 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
80928120 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
80938121 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
81038131 ld_shlibs=no
81048132 cat <<_LT_EOF 1>&2
81058133
8106 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8134 *** Warning: the GNU linker, at least up to release 2.19, is reported
81078135 *** to be unable to reliably create shared libraries on AIX.
81088136 *** Therefore, libtool is disabling shared libraries support. If you
8109 *** really care for shared libraries, you may want to modify your PATH
8110 *** so that a non-GNU linker is found, and then restart.
8137 *** really care for shared libraries, you may want to install binutils
8138 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8139 *** You will then need to restart the configuration process.
81118140
81128141 _LT_EOF
81138142 fi
81438172 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
81448173 # as there is no search path for DLLs.
81458174 hardcode_libdir_flag_spec='-L$libdir'
8175 export_dynamic_flag_spec='${wl}--export-all-symbols'
81468176 allow_undefined_flag=unsupported
81478177 always_export_symbols=no
81488178 enable_shared_with_static_runtimes=yes
81648194 fi
81658195 ;;
81668196
8197 haiku*)
8198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8199 link_all_deplibs=yes
8200 ;;
8201
81678202 interix[3-9]*)
81688203 hardcode_direct=no
81698204 hardcode_shlibpath_var=no
81798214 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
81808215 ;;
81818216
8182 gnu* | linux* | tpf* | k*bsd*-gnu)
8217 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
81838218 tmp_diet=no
81848219 if test "$host_os" = linux-dietlibc; then
81858220 case $cc_basename in
81938228 tmp_sharedflag='-shared'
81948229 case $cc_basename,$host_cpu in
81958230 pgcc*) # Portland Group C compiler
8196 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8231 whole_archive_flag_spec='${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'
81978232 tmp_addflag=' $pic_flag'
81988233 ;;
8199 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8200 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8234 pgf77* | pgf90* | pgf95* | pgfortran*)
8235 # Portland Group f77 and f90 compilers
8236 whole_archive_flag_spec='${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'
82018237 tmp_addflag=' $pic_flag -Mnomain' ;;
82028238 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
82038239 tmp_addflag=' -i_dynamic' ;;
82088244 lf95*) # Lahey Fortran 8.1
82098245 whole_archive_flag_spec=
82108246 tmp_sharedflag='--shared' ;;
8211 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8247 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
82128248 tmp_sharedflag='-qmkshrobj'
82138249 tmp_addflag= ;;
8250 nvcc*) # Cuda Compiler Driver 2.2
8251 whole_archive_flag_spec='${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'
8252 compiler_needs_object=yes
8253 ;;
82148254 esac
82158255 case `$CC -V 2>&1 | sed 5q` in
82168256 *Sun\ C*) # Sun C 5.9
8217 whole_archive_flag_spec='${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'
8257 whole_archive_flag_spec='${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'
82188258 compiler_needs_object=yes
82198259 tmp_sharedflag='-G' ;;
82208260 *Sun\ F*) # Sun Fortran 8.3
82308270 fi
82318271
82328272 case $cc_basename in
8233 xlf*)
8273 xlf* | bgf* | bgxlf* | mpixlf*)
82348274 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
82358275 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
82368276 hardcode_libdir_flag_spec=
82378277 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8238 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8278 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
82398279 if test "x$supports_anon_versioning" = xyes; then
82408280 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
82418281 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
82428282 echo "local: *; };" >> $output_objdir/$libname.ver~
8243 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8283 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
82448284 fi
82458285 ;;
82468286 esac
83618401 else
83628402 # If we're using GNU nm, then we don't want the "-C" option.
83638403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8404 # Also, AIX nm treats weak defined symbols like other global
8405 # defined symbols, whereas GNU nm marks them as "W".
83648406 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8365 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8407 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
83668408 else
83678409 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
83688410 fi
84808522 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
84818523
84828524 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8483 archive_expsym_cmds='$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"
8525 archive_expsym_cmds='$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"
84848526 else
84858527 if test "$host_cpu" = ia64; then
84868528 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
85248566 # -berok will link without error, but may produce a broken library.
85258567 no_undefined_flag=' ${wl}-bernotok'
85268568 allow_undefined_flag=' ${wl}-berok'
8527 # Exported symbols can be pulled into shared objects from archives
8528 whole_archive_flag_spec='$convenience'
8569 if test "$with_gnu_ld" = yes; then
8570 # We only use this code for GNU lds that support --whole-archive.
8571 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8572 else
8573 # Exported symbols can be pulled into shared objects from archives
8574 whole_archive_flag_spec='$convenience'
8575 fi
85298576 archive_cmds_need_lc=yes
85308577 # This is similar to how AIX traditionally builds its shared libraries.
85318578 archive_expsym_cmds="\$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'
85648611 # Tell ltmain to make .dll files, not .so files.
85658612 shrext_cmds=".dll"
85668613 # FIXME: Setting linknames here is a bad hack.
8567 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8614 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
85688615 # The linker will automatically build a .lib file if we build a DLL.
85698616 old_archive_from_new_cmds='true'
85708617 # FIXME: Should let the user specify the lib program.
85808627 hardcode_direct=no
85818628 hardcode_automatic=yes
85828629 hardcode_shlibpath_var=unsupported
8583 whole_archive_flag_spec=''
8630 if test "$lt_cv_ld_force_load" = "yes"; then
8631 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
8632 else
8633 whole_archive_flag_spec=''
8634 fi
85848635 link_all_deplibs=yes
85858636 allow_undefined_flag="$_lt_dar_allow_undefined"
85868637 case $cc_basename in
85888639 *) _lt_dar_can_shared=$GCC ;;
85898640 esac
85908641 if test "$_lt_dar_can_shared" = "yes"; then
8591 output_verbose_link_cmd=echo
8642 output_verbose_link_cmd=func_echo_all
85928643 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
85938644 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
85948645 archive_expsym_cmds="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}"
86548705 ;;
86558706
86568707 hpux10*)
8657 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8708 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
86588709 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
86598710 else
86608711 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
86738724 ;;
86748725
86758726 hpux11*)
8676 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8727 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
86778728 case $host_cpu in
86788729 hppa*64*)
86798730 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
86948745 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
86958746 ;;
86968747 *)
8697 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8748
8749 # Older versions of the 11.00 compiler do not understand -b yet
8750 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8752 $as_echo_n "checking if $CC understands -b... " >&6; }
8753 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 lt_cv_prog_compiler__b=no
8757 save_LDFLAGS="$LDFLAGS"
8758 LDFLAGS="$LDFLAGS -b"
8759 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8760 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8761 # The linker can only warn and ignore the option if not recognized
8762 # So say no if there are warnings
8763 if test -s conftest.err; then
8764 # Append any errors to the config.log.
8765 cat conftest.err 1>&5
8766 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8767 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8768 if diff conftest.exp conftest.er2 >/dev/null; then
8769 lt_cv_prog_compiler__b=yes
8770 fi
8771 else
8772 lt_cv_prog_compiler__b=yes
8773 fi
8774 fi
8775 $RM -r conftest*
8776 LDFLAGS="$save_LDFLAGS"
8777
8778 fi
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8780 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8781
8782 if test x"$lt_cv_prog_compiler__b" = xyes; then
8783 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8784 else
8785 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8786 fi
8787
86988788 ;;
86998789 esac
87008790 fi
87228812
87238813 irix5* | irix6* | nonstopux*)
87248814 if test "$GCC" = yes; then
8725 archive_cmds='$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'
8815 archive_cmds='$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'
87268816 # Try to use the -exported_symbol ld option, if it does not
87278817 # work, assume that -exports_file does not work either and
87288818 # implicitly export all symbols.
87338823 int foo(void) {}
87348824 _ACEOF
87358825 if ac_fn_c_try_link "$LINENO"; then :
8736 archive_expsym_cmds='$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'
8826 archive_expsym_cmds='$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'
87378827
87388828 fi
87398829 rm -f core conftest.err conftest.$ac_objext \
87408830 conftest$ac_exeext conftest.$ac_ext
87418831 LDFLAGS="$save_LDFLAGS"
87428832 else
8743 archive_cmds='$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'
8744 archive_expsym_cmds='$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'
8833 archive_cmds='$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'
8834 archive_expsym_cmds='$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'
87458835 fi
87468836 archive_cmds_need_lc='no'
87478837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
88038893 hardcode_libdir_flag_spec='-L$libdir'
88048894 hardcode_minus_L=yes
88058895 allow_undefined_flag=unsupported
8806 archive_cmds='$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'
8896 archive_cmds='$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'
88078897 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
88088898 ;;
88098899
88108900 osf3*)
88118901 if test "$GCC" = yes; then
88128902 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8813 archive_cmds='$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'
8903 archive_cmds='$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'
88148904 else
88158905 allow_undefined_flag=' -expect_unresolved \*'
8816 archive_cmds='$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'
8906 archive_cmds='$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'
88178907 fi
88188908 archive_cmds_need_lc='no'
88198909 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
88238913 osf4* | osf5*) # as osf3* with the addition of -msym flag
88248914 if test "$GCC" = yes; then
88258915 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8826 archive_cmds='$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'
8916 archive_cmds='$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'
88278917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
88288918 else
88298919 allow_undefined_flag=' -expect_unresolved \*'
8830 archive_cmds='$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'
8920 archive_cmds='$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'
88318921 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8832 $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'
8922 $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'
88338923
88348924 # Both c and cxx compiler support -rpath directly
88358925 hardcode_libdir_flag_spec='-rpath $libdir'
90329122 # to ld, don't add -lc before -lgcc.
90339123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
90349124 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9035 $RM conftest*
9036 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9037
9038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9125 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9126 $as_echo_n "(cached) " >&6
9127 else
9128 $RM conftest*
9129 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9130
9131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
90399132 (eval $ac_compile) 2>&5
90409133 ac_status=$?
90419134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
90429135 test $ac_status = 0; } 2>conftest.err; then
9043 soname=conftest
9044 lib=conftest
9045 libobjs=conftest.$ac_objext
9046 deplibs=
9047 wl=$lt_prog_compiler_wl
9048 pic_flag=$lt_prog_compiler_pic
9049 compiler_flags=-v
9050 linker_flags=-v
9051 verstring=
9052 output_objdir=.
9053 libname=conftest
9054 lt_save_allow_undefined_flag=$allow_undefined_flag
9055 allow_undefined_flag=
9056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9136 soname=conftest
9137 lib=conftest
9138 libobjs=conftest.$ac_objext
9139 deplibs=
9140 wl=$lt_prog_compiler_wl
9141 pic_flag=$lt_prog_compiler_pic
9142 compiler_flags=-v
9143 linker_flags=-v
9144 verstring=
9145 output_objdir=.
9146 libname=conftest
9147 lt_save_allow_undefined_flag=$allow_undefined_flag
9148 allow_undefined_flag=
9149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
90579150 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
90589151 ac_status=$?
90599152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
90609153 test $ac_status = 0; }
9061 then
9062 archive_cmds_need_lc=no
9063 else
9064 archive_cmds_need_lc=yes
9065 fi
9066 allow_undefined_flag=$lt_save_allow_undefined_flag
9067 else
9068 cat conftest.err 1>&5
9069 fi
9070 $RM conftest*
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9072 $as_echo "$archive_cmds_need_lc" >&6; }
9154 then
9155 lt_cv_archive_cmds_need_lc=no
9156 else
9157 lt_cv_archive_cmds_need_lc=yes
9158 fi
9159 allow_undefined_flag=$lt_save_allow_undefined_flag
9160 else
9161 cat conftest.err 1>&5
9162 fi
9163 $RM conftest*
9164
9165 fi
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9167 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9168 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
90739169 ;;
90749170 esac
90759171 fi
92409336 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
92419337 *) lt_awk_arg="/^libraries:/" ;;
92429338 esac
9243 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9244 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9339 case $host_os in
9340 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9341 *) lt_sed_strip_eq="s,=/,/,g" ;;
9342 esac
9343 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9344 case $lt_search_path_spec in
9345 *\;*)
92459346 # if the path contains ";" then we assume it to be the separator
92469347 # otherwise default to the standard path separator (i.e. ":") - it is
92479348 # assumed that no part of a normal pathname contains ";" but that should
92489349 # okay in the real world where ";" in dirpaths is itself problematic.
9249 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9250 else
9251 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9252 fi
9350 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9351 ;;
9352 *)
9353 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9354 ;;
9355 esac
92539356 # Ok, now we have the path, separated by spaces, we can step through it
92549357 # and add multilib dir if necessary.
92559358 lt_tmp_lt_search_path_spec=
92629365 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
92639366 fi
92649367 done
9265 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9368 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
92669369 BEGIN {RS=" "; FS="/|\n";} {
92679370 lt_foo="";
92689371 lt_count=0;
92829385 if (lt_foo != "") { lt_freq[lt_foo]++; }
92839386 if (lt_freq[lt_foo] == 1) { print lt_foo; }
92849387 }'`
9285 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9388 # AWK program above erroneously prepends '/' to C:/dos/paths
9389 # for these hosts.
9390 case $host_os in
9391 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9392 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9393 esac
9394 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
92869395 else
92879396 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
92889397 fi
93709479 m68k)
93719480 library_names_spec='$libname.ixlibrary $libname.a'
93729481 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9373 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'
9482 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'
93749483 ;;
93759484 esac
93769485 ;;
94239532 cygwin*)
94249533 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
94259534 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9426 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9535
9536 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
94279537 ;;
94289538 mingw* | cegcc*)
94299539 # MinGW DLLs use traditional 'lib' prefix
94309540 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9431 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9432 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9433 # It is most probably a Windows format PATH printed by
9434 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9435 # path with ; separators, and with drive letters. We can handle the
9436 # drive letters (cygwin fileutils understands them), so leave them,
9437 # especially as we might pass files found there to a mingw objdump,
9438 # which wouldn't understand a cygwinified path. Ahh.
9439 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9440 else
9441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9442 fi
94439541 ;;
94449542 pw32*)
94459543 # pw32 DLLs use 'pw' prefix rather than 'lib'
95399637 hardcode_into_libs=yes
95409638 ;;
95419639
9640 haiku*)
9641 version_type=linux
9642 need_lib_prefix=no
9643 need_version=no
9644 dynamic_linker="$host_os runtime_loader"
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9646 soname_spec='${libname}${release}${shared_ext}$major'
9647 shlibpath_var=LIBRARY_PATH
9648 shlibpath_overrides_runpath=yes
9649 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9650 hardcode_into_libs=yes
9651 ;;
9652
95429653 hpux9* | hpux10* | hpux11*)
95439654 # Give a soname corresponding to the major version so that dld.sl refuses to
95449655 # link against other versions.
95819692 soname_spec='${libname}${release}${shared_ext}$major'
95829693 ;;
95839694 esac
9584 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9695 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
95859696 postinstall_cmds='chmod 555 $lib'
9697 # or fails outright, so override atomically:
9698 install_override_mode=555
95869699 ;;
95879700
95889701 interix[3-9]*)
96409753 ;;
96419754
96429755 # This must be Linux ELF.
9643 linux* | k*bsd*-gnu)
9756 linux* | k*bsd*-gnu | kopensolaris*-gnu)
96449757 version_type=linux
96459758 need_lib_prefix=no
96469759 need_version=no
96499762 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
96509763 shlibpath_var=LD_LIBRARY_PATH
96519764 shlibpath_overrides_runpath=no
9765
96529766 # Some binutils ld are patched to set DT_RUNPATH
9653 save_LDFLAGS=$LDFLAGS
9654 save_libdir=$libdir
9655 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9656 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9767 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 lt_cv_shlibpath_overrides_runpath=no
9771 save_LDFLAGS=$LDFLAGS
9772 save_libdir=$libdir
9773 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9774 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96589776 /* end confdefs.h. */
96599777
96609778 int
96679785 _ACEOF
96689786 if ac_fn_c_try_link "$LINENO"; then :
96699787 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9670 shlibpath_overrides_runpath=yes
9788 lt_cv_shlibpath_overrides_runpath=yes
96719789 fi
96729790 fi
96739791 rm -f core conftest.err conftest.$ac_objext \
96749792 conftest$ac_exeext conftest.$ac_ext
9675 LDFLAGS=$save_LDFLAGS
9676 libdir=$save_libdir
9793 LDFLAGS=$save_LDFLAGS
9794 libdir=$save_libdir
9795
9796 fi
9797
9798 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
96779799
96789800 # This implies no fast_install, which is unacceptable.
96799801 # Some rework will be needed to allow for fast_install
96859807
96869808 # Append ld.so.conf contents to the search path
96879809 if test -f /etc/ld.so.conf; then
9688 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' ' '`
9810 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' ' '`
96899811 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9812
96909813 fi
96919814
96929815 # We used to test for /lib/ld.so.1 and disable shared libraries on
998810111
998910112
999010113
10114
10115
10116
10117
10118
999110119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
999210120 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
999310121 hardcode_action=
1031810446 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1031910447 lt_status=$lt_dlunknown
1032010448 cat > conftest.$ac_ext <<_LT_EOF
10321 #line 10322 "configure"
10449 #line $LINENO "configure"
1032210450 #include "confdefs.h"
1032310451
1032410452 #if HAVE_DLFCN_H
1035910487 # endif
1036010488 #endif
1036110489
10362 void fnord() { int i=42;}
10490 /* When -fvisbility=hidden is used, assume the code has been annotated
10491 correspondingly for the symbols needed. */
10492 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10493 void fnord () __attribute__((visibility("default")));
10494 #endif
10495
10496 void fnord () { int i=42; }
1036310497 int main ()
1036410498 {
1036510499 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1036810502 if (self)
1036910503 {
1037010504 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10371 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10505 else
10506 {
10507 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10508 else puts (dlerror ());
10509 }
1037210510 /* dlclose (self); */
1037310511 }
1037410512 else
1041410552 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1041510553 lt_status=$lt_dlunknown
1041610554 cat > conftest.$ac_ext <<_LT_EOF
10417 #line 10418 "configure"
10555 #line $LINENO "configure"
1041810556 #include "confdefs.h"
1041910557
1042010558 #if HAVE_DLFCN_H
1045510593 # endif
1045610594 #endif
1045710595
10458 void fnord() { int i=42;}
10596 /* When -fvisbility=hidden is used, assume the code has been annotated
10597 correspondingly for the symbols needed. */
10598 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10599 void fnord () __attribute__((visibility("default")));
10600 #endif
10601
10602 void fnord () { int i=42; }
1045910603 int main ()
1046010604 {
1046110605 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1046410608 if (self)
1046510609 {
1046610610 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10467 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10611 else
10612 {
10613 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10614 else puts (dlerror ());
10615 }
1046810616 /* dlclose (self); */
1046910617 }
1047010618 else
1064410792
1064510793
1064610794
10795
10796
10797
10798
1064710799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1064810800 if test -n "$ac_tool_prefix"; then
1064910801 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1075610908 $as_echo "no" >&6; }
1075710909 PKG_CONFIG=""
1075810910 fi
10759
1076010911 fi
1076110912
1076210913
1091511066 test $ac_status = 0; }; then
1091611067 :
1091711068 else
10918 as_fn_error "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5
11069 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5
1091911070 fi
1092011071 fi
1092111072
1106011211 fi
1106111212 else
1106211213 if test x$enable_gcov = xyes; then
11063 as_fn_error "--enable-gcov can only be used with gcc" "$LINENO" 5
11214 as_fn_error $? "--enable-gcov can only be used with gcc" "$LINENO" 5
1106411215 fi
1106511216 fi
1106611217
1116111312 fi
1116211313 ;;
1116311314 *)
11164 as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
11315 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
1116511316 ;;
1116611317 esac
1116711318 CFLAGS="$realsave_CFLAGS"
1121711368 # Check for required packages
1121811369 # ***************************
1121911370
11220 GTK_REQUIRED=2.17.1
1122111371 POLKIT_AGENT_REQUIRED=0.97
1122211372 POLKIT_GOBJECT_REQUIRED=0.97
11373
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile against" >&5
11375 $as_echo_n "checking which gtk+ version to compile against... " >&6; }
11376
11377 # Check whether --with-gtk was given.
11378 if test "${with_gtk+set}" = set; then :
11379 withval=$with_gtk; case "$with_gtk" in
11380 2.0|3.0) ;;
11381 *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;;
11382 esac
11383 else
11384 with_gtk=2.0
11385 fi
11386
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
11388 $as_echo "$with_gtk" >&6; }
11389 case "$with_gtk" in
11390 2.0) GTK_API_VERSION=2.0
11391 GTK_REQUIRED=2.17.1
11392 ;;
11393 3.0) GTK_API_VERSION=3.0
11394 GTK_REQUIRED=3.0.0
11395 ;;
11396 esac
11397
11398
1122311399
1122411400
1122511401 pkg_failed=no
1123011406 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
1123111407 elif test -n "$PKG_CONFIG"; then
1123211408 if test -n "$PKG_CONFIG" && \
11233 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\""; } >&5
11234 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5
11409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
11410 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
1123511411 ac_status=$?
1123611412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1123711413 test $ac_status = 0; }; then
11238 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED" 2>/dev/null`
11414 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
1123911415 else
1124011416 pkg_failed=yes
1124111417 fi
1124611422 pkg_cv_GTK_LIBS="$GTK_LIBS"
1124711423 elif test -n "$PKG_CONFIG"; then
1124811424 if test -n "$PKG_CONFIG" && \
11249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\""; } >&5
11250 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5
11425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
11426 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
1125111427 ac_status=$?
1125211428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1125311429 test $ac_status = 0; }; then
11254 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED" 2>/dev/null`
11430 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
1125511431 else
1125611432 pkg_failed=yes
1125711433 fi
1126211438
1126311439
1126411440 if test $pkg_failed = yes; then
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11442 $as_echo "no" >&6; }
1126511443
1126611444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1126711445 _pkg_short_errors_supported=yes
1126911447 _pkg_short_errors_supported=no
1127011448 fi
1127111449 if test $_pkg_short_errors_supported = yes; then
11272 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED" 2>&1`
11450 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
1127311451 else
11274 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED" 2>&1`
11452 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
1127511453 fi
1127611454 # Put the nasty error message in config.log where it belongs
1127711455 echo "$GTK_PKG_ERRORS" >&5
1127811456
11279 as_fn_error "Package requirements (gtk+-2.0 >= $GTK_REQUIRED) were not met:
11457 as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
1128011458
1128111459 $GTK_PKG_ERRORS
1128211460
1128311461 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1128411462 installed software in a non-standard prefix.
11463
11464 Alternatively, you may set the environment variables GTK_CFLAGS
11465 and GTK_LIBS to avoid the need to call pkg-config.
11466 See the pkg-config man page for more details." "$LINENO" 5
11467
11468 elif test $pkg_failed = untried; then
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11470 $as_echo "no" >&6; }
11471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11473 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11474 is in your PATH or set the PKG_CONFIG environment variable to the full
11475 path to pkg-config.
1128511476
1128611477 Alternatively, you may set the environment variables GTK_CFLAGS
1128711478 and GTK_LIBS to avoid the need to call pkg-config.
1128811479 See the pkg-config man page for more details.
11289 " "$LINENO" 5
11290 elif test $pkg_failed = untried; then
11291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11293 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
11294 is in your PATH or set the PKG_CONFIG environment variable to the full
11295 path to pkg-config.
11296
11297 Alternatively, you may set the environment variables GTK_CFLAGS
11298 and GTK_LIBS to avoid the need to call pkg-config.
11299 See the pkg-config man page for more details.
1130011480
1130111481 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11302 See \`config.log' for more details." "$LINENO" 5; }
11482 See \`config.log' for more details" "$LINENO" 5; }
11483
1130311484 else
1130411485 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
1130511486 GTK_LIBS=$pkg_cv_GTK_LIBS
1130611487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1130711488 $as_echo "yes" >&6; }
11308 :
11489
1130911490 fi
1131011491
1131111492
1135111532
1135211533
1135311534 if test $pkg_failed = yes; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536 $as_echo "no" >&6; }
1135411537
1135511538 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1135611539 _pkg_short_errors_supported=yes
1136511548 # Put the nasty error message in config.log where it belongs
1136611549 echo "$POLKIT_AGENT_PKG_ERRORS" >&5
1136711550
11368 as_fn_error "Package requirements (polkit-agent-1 >= $POLKIT_AGENT_REQUIRED) were not met:
11551 as_fn_error $? "Package requirements (polkit-agent-1 >= $POLKIT_AGENT_REQUIRED) were not met:
1136911552
1137011553 $POLKIT_AGENT_PKG_ERRORS
1137111554
1137211555 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1137311556 installed software in a non-standard prefix.
11557
11558 Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS
11559 and POLKIT_AGENT_LIBS to avoid the need to call pkg-config.
11560 See the pkg-config man page for more details." "$LINENO" 5
11561
11562 elif test $pkg_failed = untried; then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11564 $as_echo "no" >&6; }
11565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11567 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11568 is in your PATH or set the PKG_CONFIG environment variable to the full
11569 path to pkg-config.
1137411570
1137511571 Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS
1137611572 and POLKIT_AGENT_LIBS to avoid the need to call pkg-config.
1137711573 See the pkg-config man page for more details.
11378 " "$LINENO" 5
11379 elif test $pkg_failed = untried; then
11380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11382 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
11383 is in your PATH or set the PKG_CONFIG environment variable to the full
11384 path to pkg-config.
11385
11386 Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS
11387 and POLKIT_AGENT_LIBS to avoid the need to call pkg-config.
11388 See the pkg-config man page for more details.
1138911574
1139011575 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11391 See \`config.log' for more details." "$LINENO" 5; }
11576 See \`config.log' for more details" "$LINENO" 5; }
11577
1139211578 else
1139311579 POLKIT_AGENT_CFLAGS=$pkg_cv_POLKIT_AGENT_CFLAGS
1139411580 POLKIT_AGENT_LIBS=$pkg_cv_POLKIT_AGENT_LIBS
1139511581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1139611582 $as_echo "yes" >&6; }
11397 :
11583
1139811584 fi
1139911585
1140011586
1144011626
1144111627
1144211628 if test $pkg_failed = yes; then
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630 $as_echo "no" >&6; }
1144311631
1144411632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1144511633 _pkg_short_errors_supported=yes
1145411642 # Put the nasty error message in config.log where it belongs
1145511643 echo "$POLKIT_GOBJECT_PKG_ERRORS" >&5
1145611644
11457 as_fn_error "Package requirements (polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED) were not met:
11645 as_fn_error $? "Package requirements (polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED) were not met:
1145811646
1145911647 $POLKIT_GOBJECT_PKG_ERRORS
1146011648
1146111649 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1146211650 installed software in a non-standard prefix.
11651
11652 Alternatively, you may set the environment variables POLKIT_GOBJECT_CFLAGS
11653 and POLKIT_GOBJECT_LIBS to avoid the need to call pkg-config.
11654 See the pkg-config man page for more details." "$LINENO" 5
11655
11656 elif test $pkg_failed = untried; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11658 $as_echo "no" >&6; }
11659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11661 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11662 is in your PATH or set the PKG_CONFIG environment variable to the full
11663 path to pkg-config.
1146311664
1146411665 Alternatively, you may set the environment variables POLKIT_GOBJECT_CFLAGS
1146511666 and POLKIT_GOBJECT_LIBS to avoid the need to call pkg-config.
1146611667 See the pkg-config man page for more details.
11467 " "$LINENO" 5
11468 elif test $pkg_failed = untried; then
11469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11471 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
11472 is in your PATH or set the PKG_CONFIG environment variable to the full
11473 path to pkg-config.
11474
11475 Alternatively, you may set the environment variables POLKIT_GOBJECT_CFLAGS
11476 and POLKIT_GOBJECT_LIBS to avoid the need to call pkg-config.
11477 See the pkg-config man page for more details.
1147811668
1147911669 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11480 See \`config.log' for more details." "$LINENO" 5; }
11670 See \`config.log' for more details" "$LINENO" 5; }
11671
1148111672 else
1148211673 POLKIT_GOBJECT_CFLAGS=$pkg_cv_POLKIT_GOBJECT_CFLAGS
1148311674 POLKIT_GOBJECT_LIBS=$pkg_cv_POLKIT_GOBJECT_LIBS
1148411675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1148511676 $as_echo "yes" >&6; }
11486 :
11677
1148711678 fi
1148811679
1148911680
1155611747
1155711748
1155811749 if test $pkg_failed = yes; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
1155911752
1156011753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1156111754 _pkg_short_errors_supported=yes
1157011763 # Put the nasty error message in config.log where it belongs
1157111764 echo "$INTROSPECTION_PKG_ERRORS" >&5
1157211765
11573 as_fn_error "Package requirements (gobject-introspection-1.0 >= 0.6.2) were not met:
11766 as_fn_error $? "Package requirements (gobject-introspection-1.0 >= 0.6.2) were not met:
1157411767
1157511768 $INTROSPECTION_PKG_ERRORS
1157611769
1157711770 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1157811771 installed software in a non-standard prefix.
11772
11773 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
11774 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
11775 See the pkg-config man page for more details." "$LINENO" 5
11776
11777 elif test $pkg_failed = untried; then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11782 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11783 is in your PATH or set the PKG_CONFIG environment variable to the full
11784 path to pkg-config.
1157911785
1158011786 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
1158111787 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
1158211788 See the pkg-config man page for more details.
11583 " "$LINENO" 5
11584 elif test $pkg_failed = untried; then
11585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11587 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
11588 is in your PATH or set the PKG_CONFIG environment variable to the full
11589 path to pkg-config.
11590
11591 Alternatively, you may set the environment variables INTROSPECTION_CFLAGS
11592 and INTROSPECTION_LIBS to avoid the need to call pkg-config.
11593 See the pkg-config man page for more details.
1159411789
1159511790 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11596 See \`config.log' for more details." "$LINENO" 5; }
11791 See \`config.log' for more details" "$LINENO" 5; }
11792
1159711793 else
1159811794 INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS
1159911795 INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS
1160011796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1160111797 $as_echo "yes" >&6; }
11602 :
11798
1160311799 fi
1160411800
1160511801 $as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h
1164811844
1164911845 case "$am__api_version" in
1165011846 1.01234)
11651 as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11847 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
1165211848 ;;
1165311849 *)
1165411850 ;;
1166511861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
1166611862 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
1166711863 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11668 as_fn_error "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
11864 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
1166911865 fi
1167011866
1167111867 # Extract the first word of "intltool-update", so it can be a program name with args.
1178911985
1179011986
1179111987 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11792 as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11988 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
1179311989 fi
1179411990
1179511991 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 $< $@'
1207112267
1207212268
1207312269 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12074 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
12270 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1207512271 fi
1207612272 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
1207712273 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
1207812274 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
1207912275 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12080 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
12276 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1208112277 fi
1208212278
1208312279 # Extract the first word of "perl", so it can be a program name with args.
1212112317
1212212318
1212312319 if test -z "$INTLTOOL_PERL"; then
12124 as_fn_error "perl not found" "$LINENO" 5
12320 as_fn_error $? "perl not found" "$LINENO" 5
1212512321 fi
1212612322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
1212712323 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
1212812324 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
1212912325 if test $? -ne 0; then
12130 as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
12326 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
1213112327 else
1213212328 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
1213312329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
1214012336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1214112337 $as_echo "ok" >&6; }
1214212338 else
12143 as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
12339 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
1214412340 fi
1214512341 fi
1214612342
1299513191
1299613192 ac_libobjs=
1299713193 ac_ltlibobjs=
13194 U=
1299813195 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1299913196 # 1. Remove the extension, and $U if already installed.
1300013197 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1301813215 fi
1301913216
1302013217 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13021 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
13218 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
1302213219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1302313220 fi
1302413221 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13025 as_fn_error "conditional \"AMDEP\" was never defined.
13222 as_fn_error $? "conditional \"AMDEP\" was never defined.
1302613223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1302713224 fi
1302813225 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13029 as_fn_error "conditional \"am__fastdepCC\" was never defined.
13226 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1303013227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1303113228 fi
1303213229 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13033 as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
13230 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
1303413231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1303513232 fi
1303613233 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13037 as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13234 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
1303813235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1303913236 fi
1304013237 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13041 as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13238 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
1304213239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1304313240 fi
1304413241 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13045 as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13242 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
1304613243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1304713244 fi
1304813245 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13049 as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13246 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
1305013247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1305113248 fi
1305213249 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
13053 as_fn_error "conditional \"BUILD_EXAMPLES\" was never defined.
13250 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
1305413251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1305513252 fi
1305613253 if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
13057 as_fn_error "conditional \"ENABLE_INTROSPECTION\" was never defined.
13254 as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
1305813255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1305913256 fi
1306013257
1320813405 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1320913406
1321013407
13211 # as_fn_error ERROR [LINENO LOG_FD]
13212 # ---------------------------------
13408 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13409 # ----------------------------------------
1321313410 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1321413411 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13215 # script with status $?, using 1 if that was 0.
13412 # script with STATUS, using 1 if that was 0.
1321613413 as_fn_error ()
1321713414 {
13218 as_status=$?; test $as_status -eq 0 && as_status=1
13219 if test "$3"; then
13220 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13415 as_status=$1; test $as_status -eq 0 && as_status=1
13416 if test "$4"; then
13417 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1322213419 fi
13223 $as_echo "$as_me: error: $1" >&2
13420 $as_echo "$as_me: error: $2" >&2
1322413421 as_fn_exit $as_status
1322513422 } # as_fn_error
1322613423
1341613613 test -d "$as_dir" && break
1341713614 done
1341813615 test -z "$as_dirs" || eval "mkdir $as_dirs"
13419 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13616 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1342013617
1342113618
1342213619 } # as_fn_mkdir_p
1346913666 # report actual input values of CONFIG_FILES etc. instead of their
1347013667 # values after options handling.
1347113668 ac_log="
13472 This file was extended by polkit-gnome $as_me 0.99, which was
13473 generated by GNU Autoconf 2.65. Invocation command line was
13669 This file was extended by polkit-gnome $as_me 0.100, which was
13670 generated by GNU Autoconf 2.66. Invocation command line was
1347413671
1347513672 CONFIG_FILES = $CONFIG_FILES
1347613673 CONFIG_HEADERS = $CONFIG_HEADERS
1353513732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1353613733 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1353713734 ac_cs_version="\\
13538 polkit-gnome config.status 0.99
13539 configured by $0, generated by GNU Autoconf 2.65,
13735 polkit-gnome config.status 0.100
13736 configured by $0, generated by GNU Autoconf 2.66,
1354013737 with options \\"\$ac_cs_config\\"
1354113738
13542 Copyright (C) 2009 Free Software Foundation, Inc.
13739 Copyright (C) 2010 Free Software Foundation, Inc.
1354313740 This config.status script is free software; the Free Software Foundation
1354413741 gives unlimited permission to copy, distribute and modify it."
1354513742
1359513792 ac_need_defaults=false;;
1359613793 --he | --h)
1359713794 # Conflict between --help and --header
13598 as_fn_error "ambiguous option: \`$1'
13795 as_fn_error $? "ambiguous option: \`$1'
1359913796 Try \`$0 --help' for more information.";;
1360013797 --help | --hel | -h )
1360113798 $as_echo "$ac_cs_usage"; exit ;;
1360413801 ac_cs_silent=: ;;
1360513802
1360613803 # This is an error.
13607 -*) as_fn_error "unrecognized option: \`$1'
13804 -*) as_fn_error $? "unrecognized option: \`$1'
1360813805 Try \`$0 --help' for more information." ;;
1360913806
1361013807 *) as_fn_append ac_config_targets " $1"
1365813855 sed_quote_subst='$sed_quote_subst'
1365913856 double_quote_subst='$double_quote_subst'
1366013857 delay_variable_subst='$delay_variable_subst'
13661 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13662 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13663 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13664 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13665 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13666 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13667 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13668 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13669 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13670 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13671 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13672 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13673 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13674 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13675 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13676 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13677 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13678 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13679 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13680 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13681 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13682 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13683 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13684 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13685 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13686 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13687 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13688 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13689 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13690 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13691 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13692 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13693 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13694 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13695 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13696 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13697 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13698 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13699 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13700 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13701 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13702 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13703 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13704 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13705 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13706 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13707 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13708 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13709 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13710 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13711 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13712 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13713 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13714 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13715 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13716 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13717 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13718 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13719 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13720 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13721 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13722 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13723 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13724 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13725 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13726 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13727 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13728 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13729 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13730 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13731 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13732 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13733 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13734 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13735 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13736 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13737 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13738 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13739 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13740 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13741 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13742 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13743 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13744 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13745 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13746 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13747 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13748 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13749 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13750 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13751 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13752 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13753 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13754 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13755 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13756 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13757 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13758 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13759 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13760 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13761 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13762 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13763 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13764 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13765 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13766 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13767 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13768 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13769 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13770 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13771 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13772 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13773 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13774 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13775 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13776 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13777 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13778 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13858 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13859 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13860 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13861 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13862 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13863 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13864 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13865 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13866 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13867 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13868 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13869 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13870 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13871 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13872 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13873 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13874 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13875 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13876 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13877 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13878 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13879 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13880 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13881 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13882 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13883 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13884 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13885 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13886 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13887 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13888 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13889 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13890 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13891 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13892 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13893 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13894 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13895 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13896 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13897 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13898 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13899 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13900 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13901 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13902 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13903 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13904 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13905 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13906 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13907 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13908 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13909 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13910 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13911 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13912 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13913 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13914 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13915 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13916 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13917 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13918 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13919 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13920 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13921 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13922 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13923 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13924 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13925 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13926 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13927 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13928 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13929 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13930 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13931 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13932 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13933 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13934 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13935 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13936 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13937 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13938 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13939 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13940 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13941 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13942 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13943 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13944 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13945 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13946 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13947 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13948 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13949 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13950 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13951 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13952 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13953 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13954 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13955 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13956 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13957 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13958 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13959 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13960 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13961 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13962 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13963 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13964 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13965 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13966 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13967 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13968 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13969 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13970 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13971 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13972 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13973 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13974 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13975 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13976 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13977 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
1377913978
1378013979 LTCC='$LTCC'
1378113980 LTCFLAGS='$LTCFLAGS'
1378213981 compiler='$compiler_DEFAULT'
1378313982
13983 # A function that is used when there is no print builtin or printf.
13984 func_fallback_echo ()
13985 {
13986 eval 'cat <<_LTECHO_EOF
13987 \$1
13988 _LTECHO_EOF'
13989 }
13990
1378413991 # Quote evaled strings.
13785 for var in SED \
13992 for var in SHELL \
13993 ECHO \
13994 SED \
1378613995 GREP \
1378713996 EGREP \
1378813997 FGREP \
1380614015 lt_cv_sys_global_symbol_to_cdecl \
1380714016 lt_cv_sys_global_symbol_to_c_name_address \
1380814017 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13809 SHELL \
13810 ECHO \
1381114018 lt_prog_compiler_no_builtin_flag \
1381214019 lt_prog_compiler_wl \
1381314020 lt_prog_compiler_pic \
1383714044 libname_spec \
1383814045 library_names_spec \
1383914046 soname_spec \
14047 install_override_mode \
1384014048 finish_eval \
1384114049 old_striplib \
1384214050 striplib; do
13843 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14051 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1384414052 *[\\\\\\\`\\"\\\$]*)
13845 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14053 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1384614054 ;;
1384714055 *)
1384814056 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1386914077 finish_cmds \
1387014078 sys_lib_search_path_spec \
1387114079 sys_lib_dlsearch_path_spec; do
13872 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14080 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1387314081 *[\\\\\\\`\\"\\\$]*)
13874 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14082 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1387514083 ;;
1387614084 *)
1387714085 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1387814086 ;;
1387914087 esac
1388014088 done
13881
13882 # Fix-up fallback echo if it was mangled by the above quoting rules.
13883 case \$lt_ECHO in
13884 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13885 ;;
13886 esac
1388714089
1388814090 ac_aux_dir='$ac_aux_dir'
1388914091 xsi_shell='$xsi_shell'
1392714129 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
1392814130 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
1392914131
13930 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14132 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1393114133 esac
1393214134 done
1393314135
1396514167 {
1396614168 tmp=./conf$$-$RANDOM
1396714169 (umask 077 && mkdir "$tmp")
13968 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14170 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1396914171
1397014172 # Set up the scripts for CONFIG_FILES section.
1397114173 # No need to generate them if there are no CONFIG_FILES.
1398214184 fi
1398314185 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
1398414186 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13985 ac_cs_awk_cr='\r'
14187 ac_cs_awk_cr='\\r'
1398614188 else
1398714189 ac_cs_awk_cr=$ac_cr
1398814190 fi
1399614198 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
1399714199 echo "_ACEOF"
1399814200 } >conf$$subs.sh ||
13999 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14000 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14202 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1400114203 ac_delim='%!_!# '
1400214204 for ac_last_try in false false false false false :; do
1400314205 . ./conf$$subs.sh ||
14004 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14206 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1400514207
1400614208 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
1400714209 if test $ac_delim_n = $ac_delim_num; then
1400814210 break
1400914211 elif $ac_last_try; then
14010 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14212 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1401114213 else
1401214214 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1401314215 fi
1409614298 else
1409714299 cat
1409814300 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14099 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14301 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1410014302 _ACEOF
1410114303
14102 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14103 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14304 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14305 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1410414306 # trailing colons and then remove the whole line if VPATH becomes empty
1410514307 # (actually we leave an empty line to preserve line numbers).
1410614308 if test "x$srcdir" = x.; then
14107 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14108 s/:*\$(srcdir):*/:/
14109 s/:*\${srcdir}:*/:/
14110 s/:*@srcdir@:*/:/
14111 s/^\([^=]*=[ ]*\):*/\1/
14309 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14310 h
14311 s///
14312 s/^/:/
14313 s/[ ]*$/:/
14314 s/:\$(srcdir):/:/g
14315 s/:\${srcdir}:/:/g
14316 s/:@srcdir@:/:/g
14317 s/^:*//
1411214318 s/:*$//
14319 x
14320 s/\(=[ ]*\).*/\1/
14321 G
14322 s/\n//
1411314323 s/^[^=]*=[ ]*$//
1411414324 }'
1411514325 fi
1413714347 if test -z "$ac_t"; then
1413814348 break
1413914349 elif $ac_last_try; then
14140 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14350 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1414114351 else
1414214352 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1414314353 fi
1422214432 _ACAWK
1422314433 _ACEOF
1422414434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14225 as_fn_error "could not setup config headers machinery" "$LINENO" 5
14435 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1422614436 fi # test -n "$CONFIG_HEADERS"
1422714437
1422814438
1423514445 esac
1423614446 case $ac_mode$ac_tag in
1423714447 :[FHL]*:*);;
14238 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14448 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1423914449 :[FH]-) ac_tag=-:-;;
1424014450 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1424114451 esac
1426314473 [\\/$]*) false;;
1426414474 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1426514475 esac ||
14266 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14476 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1426714477 esac
1426814478 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1426914479 as_fn_append ac_file_inputs " '$ac_f'"
1429014500
1429114501 case $ac_tag in
1429214502 *:-:* | *:-) cat >"$tmp/stdin" \
14293 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1429414504 esac
1429514505 ;;
1429614506 esac
1442714637 $ac_datarootdir_hack
1442814638 "
1442914639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14430 || as_fn_error "could not create $ac_file" "$LINENO" 5
14640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1443114641
1443214642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1443314643 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1443414644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1443514645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14436 which seems to be undefined. Please make sure it is defined." >&5
14646 which seems to be undefined. Please make sure it is defined" >&5
1443714647 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14438 which seems to be undefined. Please make sure it is defined." >&2;}
14648 which seems to be undefined. Please make sure it is defined" >&2;}
1443914649
1444014650 rm -f "$tmp/stdin"
1444114651 case $ac_file in
1444214652 -) cat "$tmp/out" && rm -f "$tmp/out";;
1444314653 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1444414654 esac \
14445 || as_fn_error "could not create $ac_file" "$LINENO" 5
14655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1444614656 ;;
1444714657 :H)
1444814658 #
1445314663 $as_echo "/* $configure_input */" \
1445414664 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1445514665 } >"$tmp/config.h" \
14456 || as_fn_error "could not create $ac_file" "$LINENO" 5
14666 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1445714667 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1445814668 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1445914669 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1446014670 else
1446114671 rm -f "$ac_file"
1446214672 mv "$tmp/config.h" "$ac_file" \
14463 || as_fn_error "could not create $ac_file" "$LINENO" 5
14673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1446414674 fi
1446514675 else
1446614676 $as_echo "/* $configure_input */" \
1446714677 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14468 || as_fn_error "could not create -" "$LINENO" 5
14678 || as_fn_error $? "could not create -" "$LINENO" 5
1446914679 fi
1447014680 # Compute "$ac_file"'s index in $config_headers.
1447114681 _am_arg="$ac_file"
1462614836 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1462714837 #
1462814838 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14629 # 2006, 2007, 2008 Free Software Foundation, Inc.
14839 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14840 # Inc.
1463014841 # Written by Gordon Matzigkeit, 1996
1463114842 #
1463214843 # This file is part of GNU Libtool.
1467414885 # Whether or not to optimize for fast installation.
1467514886 fast_install=$enable_fast_install
1467614887
14888 # Shell to use when invoking shell scripts.
14889 SHELL=$lt_SHELL
14890
14891 # An echo program that protects backslashes.
14892 ECHO=$lt_ECHO
14893
1467714894 # The host system.
1467814895 host_alias=$host_alias
1467914896 host=$host
1472314940 # turn newlines into spaces.
1472414941 NL2SP=$lt_lt_NL2SP
1472514942
14726 # How to create reloadable object files.
14727 reload_flag=$lt_reload_flag
14728 reload_cmds=$lt_reload_cmds
14729
1473014943 # An object symbol dumper.
1473114944 OBJDUMP=$lt_OBJDUMP
1473214945
1474814961 old_postinstall_cmds=$lt_old_postinstall_cmds
1474914962 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1475014963
14964 # Whether to use a lock for old archive extraction.
14965 lock_old_archive_extraction=$lock_old_archive_extraction
14966
1475114967 # A C compiler.
1475214968 LTCC=$lt_CC
1475314969
1476814984
1476914985 # The name of the directory that contains temporary libtool files.
1477014986 objdir=$objdir
14771
14772 # Shell to use when invoking shell scripts.
14773 SHELL=$lt_SHELL
14774
14775 # An echo program that does not interpret backslashes.
14776 ECHO=$lt_ECHO
1477714987
1477814988 # Used to examine libraries when file_magic_cmd begins with "file".
1477914989 MAGIC_CMD=$MAGIC_CMD
1483715047 # The coded name of the library, if different from the real name.
1483815048 soname_spec=$lt_soname_spec
1483915049
15050 # Permission mode override for installation of shared libraries.
15051 install_override_mode=$lt_install_override_mode
15052
1484015053 # Command to use after installation of a shared archive.
1484115054 postinstall_cmds=$lt_postinstall_cmds
1484215055
1487515088
1487615089 # The linker used to build libraries.
1487715090 LD=$lt_LD
15091
15092 # How to create reloadable object files.
15093 reload_flag=$lt_reload_flag
15094 reload_cmds=$lt_reload_cmds
1487815095
1487915096 # Commands used to build an old-style archive.
1488015097 old_archive_cmds=$lt_old_archive_cmds
1513515352 func_dirname ()
1513615353 {
1513715354 # Extract subdirectory from the argument.
15138 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15355 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
1513915356 if test "X$func_dirname_result" = "X${1}"; then
1514015357 func_dirname_result="${3}"
1514115358 else
1514615363 # func_basename file
1514715364 func_basename ()
1514815365 {
15149 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15366 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
1515015367 }
1515115368
1515215369
1515915376 func_stripname ()
1516015377 {
1516115378 case ${2} in
15162 .*) func_stripname_result=`$ECHO "X${3}" \
15163 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15164 *) func_stripname_result=`$ECHO "X${3}" \
15165 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15379 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15380 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
1516615381 esac
1516715382 }
1516815383
1517315388 # func_opt_split
1517415389 func_opt_split ()
1517515390 {
15176 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15177 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15391 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15392 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
1517815393 }
1517915394
1518015395 # func_lo2o object
1518115396 func_lo2o ()
1518215397 {
15183 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15398 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
1518415399 }
1518515400
1518615401 # func_xform libobj-or-source
1518715402 func_xform ()
1518815403 {
15189 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15404 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
1519015405 }
1519115406
1519215407 # func_arith arithmetic-term...
1524515460 esac ;;
1524615461 "po/stamp-it":C)
1524715462 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15248 as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15463 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
1524915464 fi
1525015465 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
1525115466 >"po/stamp-it.tmp"
1527315488 ac_clean_files=$ac_clean_files_save
1527415489
1527515490 test $ac_write_fail = 0 ||
15276 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15491 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1527715492
1527815493
1527915494 # configure is writing to config.log, and then calls config.status.
1529415509 exec 5>>config.log
1529515510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
1529615511 # would make configure fail if this is the last instruction.
15297 $ac_cs_success || as_fn_exit $?
15512 $ac_cs_success || as_fn_exit 1
1529815513 fi
1529915514 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1530015515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
0 AC_INIT([polkit-gnome],[0.99],[http://lists.freedesktop.org/mailman/listinfo/polkit-devel],[polkit-gnome])
0 AC_INIT([polkit-gnome],[0.100],[http://lists.freedesktop.org/mailman/listinfo/polkit-devel],[polkit-gnome])
11
22 AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
33
119119 # Check for required packages
120120 # ***************************
121121
122 GTK_REQUIRED=2.17.1
123122 POLKIT_AGENT_REQUIRED=0.97
124123 POLKIT_GOBJECT_REQUIRED=0.97
125124
126 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
125 AC_MSG_CHECKING([which gtk+ version to compile against])
126 AC_ARG_WITH([gtk],
127 [AS_HELP_STRING([--with-gtk=2.0|3.0],[which gtk+ version to compile against (default: 2.0)])],
128 [case "$with_gtk" in
129 2.0|3.0) ;;
130 *) AC_MSG_ERROR([invalid gtk version specified]) ;;
131 esac],
132 [with_gtk=2.0])
133 AC_MSG_RESULT([$with_gtk])
134 case "$with_gtk" in
135 2.0) GTK_API_VERSION=2.0
136 GTK_REQUIRED=2.17.1
137 ;;
138 3.0) GTK_API_VERSION=3.0
139 GTK_REQUIRED=3.0.0
140 ;;
141 esac
142 AC_SUBST(GTK_API_VERSION)
143
144
145 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
127146 AC_SUBST(GTK_CFLAGS)
128147 AC_SUBST(GTK_LIBS)
129148
101101 GTKDOC_CHECK = @GTKDOC_CHECK@
102102 GTKDOC_MKPDF = @GTKDOC_MKPDF@
103103 GTKDOC_REBASE = @GTKDOC_REBASE@
104 GTK_API_VERSION = @GTK_API_VERSION@
104105 GTK_CFLAGS = @GTK_CFLAGS@
105106 GTK_LIBS = @GTK_LIBS@
106107 G_IR_COMPILER = @G_IR_COMPILER@
153154 PACKAGE_VERSION = @PACKAGE_VERSION@
154155 PATH_SEPARATOR = @PATH_SEPARATOR@
155156 PKG_CONFIG = @PKG_CONFIG@
157 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
158 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
156159 POFILES = @POFILES@
157160 POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@
158161 POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@
206209 libexecdir = @libexecdir@
207210 localedir = @localedir@
208211 localstatedir = @localstatedir@
209 lt_ECHO = @lt_ECHO@
210212 mandir = @mandir@
211213 mkdir_p = @mkdir_p@
212214 oldincludedir = @oldincludedir@
+1187
-848
ltmain.sh less more
00 # Generated from ltmain.m4sh.
11
2 # ltmain.sh (GNU libtool) 2.2.6b
2 # libtool (GNU libtool) 2.2.10
33 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
44
5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
67 # This is free software; see the source for copying conditions. There is NO
78 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
89
3132 #
3233 # Provide generalized library-building support services.
3334 #
34 # --config show all configuration variables
35 # --debug enable verbose shell tracing
36 # -n, --dry-run display commands without modifying any files
37 # --features display basic configuration information and exit
38 # --mode=MODE use operation mode MODE
39 # --preserve-dup-deps don't remove duplicate dependency libraries
40 # --quiet, --silent don't print informational messages
41 # --tag=TAG use configuration variables from tag TAG
42 # -v, --verbose print informational messages (default)
43 # --version print version information
44 # -h, --help print short or long help message
35 # --config show all configuration variables
36 # --debug enable verbose shell tracing
37 # -n, --dry-run display commands without modifying any files
38 # --features display basic configuration information and exit
39 # --mode=MODE use operation mode MODE
40 # --preserve-dup-deps don't remove duplicate dependency libraries
41 # --quiet, --silent don't print informational messages
42 # --no-quiet, --no-silent
43 # print informational messages (default)
44 # --tag=TAG use configuration variables from tag TAG
45 # -v, --verbose print more informational messages than default
46 # --no-verbose don't print the extra informational messages
47 # --version print version information
48 # -h, --help, --help-all print short, long, or detailed help message
4549 #
4650 # MODE must be one of the following:
4751 #
48 # clean remove files from the build directory
49 # compile compile a source file into a libtool object
50 # execute automatically set library path, then run a program
51 # finish complete the installation of libtool libraries
52 # install install libraries or executables
53 # link create a library or an executable
54 # uninstall remove libraries from an installed directory
52 # clean remove files from the build directory
53 # compile compile a source file into a libtool object
54 # execute automatically set library path, then run a program
55 # finish complete the installation of libtool libraries
56 # install install libraries or executables
57 # link create a library or an executable
58 # uninstall remove libraries from an installed directory
5559 #
56 # MODE-ARGS vary depending on the MODE.
60 # MODE-ARGS vary depending on the MODE. When passed as first option,
61 # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
5762 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
5863 #
5964 # When reporting a bug, please describe a test case to reproduce it and
6065 # include the following information:
6166 #
62 # host-triplet: $host
63 # shell: $SHELL
64 # compiler: $LTCC
65 # compiler flags: $LTCFLAGS
66 # linker: $LD (gnu? $with_gnu_ld)
67 # $progname: (GNU libtool) 2.2.6b
68 # automake: $automake_version
69 # autoconf: $autoconf_version
67 # host-triplet: $host
68 # shell: $SHELL
69 # compiler: $LTCC
70 # compiler flags: $LTCFLAGS
71 # linker: $LD (gnu? $with_gnu_ld)
72 # $progname: (GNU libtool) 2.2.10
73 # automake: $automake_version
74 # autoconf: $autoconf_version
7075 #
7176 # Report bugs to <bug-libtool@gnu.org>.
7277
73 PROGRAM=ltmain.sh
78 PROGRAM=libtool
7479 PACKAGE=libtool
75 VERSION=2.2.6b
80 VERSION=2.2.10
7681 TIMESTAMP=""
77 package_revision=1.3017
82 package_revision=1.3175
7883
7984 # Be Bourne compatible
8085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9095 BIN_SH=xpg4; export BIN_SH # for Tru64
9196 DUALCASE=1; export DUALCASE # for MKS sh
9297
98 # A function that is used when there is no print builtin or printf.
99 func_fallback_echo ()
100 {
101 eval 'cat <<_LTECHO_EOF
102 $1
103 _LTECHO_EOF'
104 }
105
93106 # NLS nuisances: We save the old values to restore during execute mode.
94 # Only set LANG and LC_ALL to C if already set.
95 # These must not be set unconditionally because not all systems understand
96 # e.g. LANG=C (notably SCO).
97107 lt_user_locale=
98108 lt_safe_locale=
99109 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
106116 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
107117 fi"
108118 done
119 LC_ALL=C
120 LANGUAGE=C
121 export LANGUAGE LC_ALL
109122
110123 $lt_unset CDPATH
111124
112125
126 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
127 # is ksh but when the shell is invoked as "sh" and the current value of
128 # the _XPG environment variable is not equal to 1 (one), the special
129 # positional parameter $0, within a function call, is the name of the
130 # function.
131 progpath="$0"
113132
114133
115134
116135 : ${CP="cp -f"}
117 : ${ECHO="echo"}
136 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
118137 : ${EGREP="/bin/grep -E"}
119138 : ${FGREP="/bin/grep -F"}
120139 : ${GREP="/bin/grep"}
158177 func_dirname_and_basename ()
159178 {
160179 # Extract subdirectory from the argument.
161 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
180 func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
162181 if test "X$func_dirname_result" = "X${1}"; then
163182 func_dirname_result="${3}"
164183 else
165184 func_dirname_result="$func_dirname_result${2}"
166185 fi
167 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
186 func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
168187 }
169188
170189 # Generated shell functions inserted here.
171190
172 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
173 # is ksh but when the shell is invoked as "sh" and the current value of
174 # the _XPG environment variable is not equal to 1 (one), the special
175 # positional parameter $0, within a function call, is the name of the
176 # function.
177 progpath="$0"
191 # These SED scripts presuppose an absolute path with a trailing slash.
192 pathcar='s,^/\([^/]*\).*$,\1,'
193 pathcdr='s,^/[^/]*,,'
194 removedotparts=':dotsl
195 s@/\./@/@g
196 t dotsl
197 s,/\.$,/,'
198 collapseslashes='s@/\{1,\}@/@g'
199 finalslash='s,/*$,/,'
200
201 # func_normal_abspath PATH
202 # Remove doubled-up and trailing slashes, "." path components,
203 # and cancel out any ".." path components in PATH after making
204 # it an absolute path.
205 # value returned in "$func_normal_abspath_result"
206 func_normal_abspath ()
207 {
208 # Start from root dir and reassemble the path.
209 func_normal_abspath_result=
210 func_normal_abspath_tpath=$1
211 func_normal_abspath_altnamespace=
212 case $func_normal_abspath_tpath in
213 "")
214 # Empty path, that just means $cwd.
215 func_stripname '' '/' "`pwd`"
216 func_normal_abspath_result=$func_stripname_result
217 return
218 ;;
219 # The next three entries are used to spot a run of precisely
220 # two leading slashes without using negated character classes;
221 # we take advantage of case's first-match behaviour.
222 ///*)
223 # Unusual form of absolute path, do nothing.
224 ;;
225 //*)
226 # Not necessarily an ordinary path; POSIX reserves leading '//'
227 # and for example Cygwin uses it to access remote file shares
228 # over CIFS/SMB, so we conserve a leading double slash if found.
229 func_normal_abspath_altnamespace=/
230 ;;
231 /*)
232 # Absolute path, do nothing.
233 ;;
234 *)
235 # Relative path, prepend $cwd.
236 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
237 ;;
238 esac
239 # Cancel out all the simple stuff to save iterations. We also want
240 # the path to end with a slash for ease of parsing, so make sure
241 # there is one (and only one) here.
242 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
243 -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
244 while :; do
245 # Processed it all yet?
246 if test "$func_normal_abspath_tpath" = / ; then
247 # If we ascended to the root using ".." the result may be empty now.
248 if test -z "$func_normal_abspath_result" ; then
249 func_normal_abspath_result=/
250 fi
251 break
252 fi
253 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
254 -e "$pathcar"`
255 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
256 -e "$pathcdr"`
257 # Figure out what to do with it
258 case $func_normal_abspath_tcomponent in
259 "")
260 # Trailing empty path component, ignore it.
261 ;;
262 ..)
263 # Parent dir; strip last assembled component from result.
264 func_dirname "$func_normal_abspath_result"
265 func_normal_abspath_result=$func_dirname_result
266 ;;
267 *)
268 # Actual path component, append it.
269 func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
270 ;;
271 esac
272 done
273 # Restore leading double-slash if one was found on entry.
274 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
275 }
276
277 # func_relative_path SRCDIR DSTDIR
278 # generates a relative path from SRCDIR to DSTDIR, with a trailing
279 # slash if non-empty, suitable for immediately appending a filename
280 # without needing to append a separator.
281 # value returned in "$func_relative_path_result"
282 func_relative_path ()
283 {
284 func_relative_path_result=
285 func_normal_abspath "$1"
286 func_relative_path_tlibdir=$func_normal_abspath_result
287 func_normal_abspath "$2"
288 func_relative_path_tbindir=$func_normal_abspath_result
289
290 # Ascend the tree starting from libdir
291 while :; do
292 # check if we have found a prefix of bindir
293 case $func_relative_path_tbindir in
294 $func_relative_path_tlibdir)
295 # found an exact match
296 func_relative_path_tcancelled=
297 break
298 ;;
299 $func_relative_path_tlibdir*)
300 # found a matching prefix
301 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
302 func_relative_path_tcancelled=$func_stripname_result
303 if test -z "$func_relative_path_result"; then
304 func_relative_path_result=.
305 fi
306 break
307 ;;
308 *)
309 func_dirname $func_relative_path_tlibdir
310 func_relative_path_tlibdir=${func_dirname_result}
311 if test "x$func_relative_path_tlibdir" = x ; then
312 # Have to descend all the way to the root!
313 func_relative_path_result=../$func_relative_path_result
314 func_relative_path_tcancelled=$func_relative_path_tbindir
315 break
316 fi
317 func_relative_path_result=../$func_relative_path_result
318 ;;
319 esac
320 done
321
322 # Now calculate path; take care to avoid doubling-up slashes.
323 func_stripname '' '/' "$func_relative_path_result"
324 func_relative_path_result=$func_stripname_result
325 func_stripname '/' '/' "$func_relative_path_tcancelled"
326 if test "x$func_stripname_result" != x ; then
327 func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
328 fi
329
330 # Normalisation. If bindir is libdir, return empty string,
331 # else relative path ending with a slash; either way, target
332 # file name can be directly appended.
333 if test ! -z "$func_relative_path_result"; then
334 func_stripname './' '' "$func_relative_path_result/"
335 func_relative_path_result=$func_stripname_result
336 fi
337 }
178338
179339 # The name of this program:
180 # In the unlikely event $progname began with a '-', it would play havoc with
181 # func_echo (imagine progname=-n), so we prepend ./ in that case:
182340 func_dirname_and_basename "$progpath"
183341 progname=$func_basename_result
184 case $progname in
185 -*) progname=./$progname ;;
186 esac
187342
188343 # Make sure we have an absolute path for reexecution:
189344 case $progpath in
257412 :
258413 }
259414
415 # func_echo_all arg...
416 # Invoke $ECHO with all args, space-separated.
417 func_echo_all ()
418 {
419 $ECHO "$*"
420 }
421
260422 # func_error arg...
261423 # Echo program name prefixed message to standard error.
262424 func_error ()
325487 case $my_directory_path in */*) ;; *) break ;; esac
326488
327489 # ...otherwise throw away the child directory and loop
328 my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
490 my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
329491 done
330 my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
492 my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
331493
332494 save_mkdir_p_IFS="$IFS"; IFS=':'
333495 for my_dir in $my_dir_list; do
377539 func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
378540 fi
379541
380 $ECHO "X$my_tmpdir" | $Xsed
542 $ECHO "$my_tmpdir"
381543 }
382544
383545
391553 {
392554 case $1 in
393555 *[\\\`\"\$]*)
394 func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
556 func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
395557 *)
396558 func_quote_for_eval_unquoted_result="$1" ;;
397559 esac
418580 {
419581 case $1 in
420582 *[\\\`\"]*)
421 my_arg=`$ECHO "X$1" | $Xsed \
583 my_arg=`$ECHO "$1" | $SED \
422584 -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
423585 *)
424586 my_arg="$1" ;;
488650 }
489651
490652
491
492
493
494653 # func_version
495654 # Echo version message to standard output and exit.
496655 func_version ()
497656 {
498 $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
657 $SED -n '/(C)/!b go
658 :more
659 /\./!{
660 N
661 s/\n# / /
662 b more
663 }
664 :go
665 /^# '$PROGRAM' (GNU /,/# warranty; / {
499666 s/^# //
500667 s/^# *$//
501668 s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
508675 # Echo short help message to standard output and exit.
509676 func_usage ()
510677 {
511 $SED -n '/^# Usage:/,/# -h/ {
678 $SED -n '/^# Usage:/,/^# *.*--help/ {
512679 s/^# //
513680 s/^# *$//
514681 s/\$progname/'$progname'/
515682 p
516683 }' < "$progpath"
517 $ECHO
684 echo
518685 $ECHO "run \`$progname --help | more' for full usage"
519686 exit $?
520687 }
521688
522 # func_help
523 # Echo long help message to standard output and exit.
689 # func_help [NOEXIT]
690 # Echo long help message to standard output and exit,
691 # unless 'noexit' is passed as argument.
524692 func_help ()
525693 {
526694 $SED -n '/^# Usage:/,/# Report bugs to/ {
537705 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
538706 p
539707 }' < "$progpath"
540 exit $?
708 ret=$?
709 if test -z "$1"; then
710 exit $ret
711 fi
541712 }
542713
543714 # func_missing_arg argname
545716 # exit_cmd.
546717 func_missing_arg ()
547718 {
548 func_error "missing argument for $1"
719 func_error "missing argument for $1."
549720 exit_cmd=exit
550721 }
551722
555726
556727
557728
558 # Check that we have a working $ECHO.
559 if test "X$1" = X--no-reexec; then
560 # Discard the --no-reexec flag, and continue.
561 shift
562 elif test "X$1" = X--fallback-echo; then
563 # Avoid inline document here, it may be left over
564 :
565 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
566 # Yippee, $ECHO works!
567 :
568 else
569 # Restart under the correct shell, and then maybe $ECHO will work.
570 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
571 fi
572
573 if test "X$1" = X--fallback-echo; then
574 # used as fallback echo
575 shift
576 cat <<EOF
577 $*
578 EOF
579 exit $EXIT_SUCCESS
580 fi
581729
582730 magic="%%%MAGIC variable%%%"
583731 magic_exe="%%%MAGIC EXE variable%%%"
635783 # Display the features supported by this script.
636784 func_features ()
637785 {
638 $ECHO "host: $host"
786 echo "host: $host"
639787 if test "$build_libtool_libs" = yes; then
640 $ECHO "enable shared libraries"
788 echo "enable shared libraries"
641789 else
642 $ECHO "disable shared libraries"
790 echo "disable shared libraries"
643791 fi
644792 if test "$build_old_libs" = yes; then
645 $ECHO "enable static libraries"
793 echo "enable static libraries"
646794 else
647 $ECHO "disable static libraries"
795 echo "disable static libraries"
648796 fi
649797
650798 exit $?
771919
772920 --quiet|--silent) preserve_args="$preserve_args $opt"
773921 opt_silent=:
922 opt_verbose=false
923 ;;
924
925 --no-quiet|--no-silent)
926 preserve_args="$preserve_args $opt"
927 opt_silent=false
774928 ;;
775929
776930 --verbose| -v) preserve_args="$preserve_args $opt"
777931 opt_silent=false
932 opt_verbose=:
933 ;;
934
935 --no-verbose) preserve_args="$preserve_args $opt"
936 opt_verbose=false
778937 ;;
779938
780939 --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
792951
793952 -\?|-h) func_usage ;;
794953 --help) opt_help=: ;;
954 --help-all) opt_help=': help-all' ;;
795955 --version) func_version ;;
796956
797957 -*) func_fatal_help "unrecognized option \`$opt'" ;;
10151175 func_quote_for_eval "$arg"
10161176 CC_quoted="$CC_quoted $func_quote_for_eval_result"
10171177 done
1178 CC_expanded=`func_echo_all $CC`
1179 CC_quoted_expanded=`func_echo_all $CC_quoted`
10181180 case $@ in
10191181 # Blanks in the command may have been stripped by the calling shell,
10201182 # but not from the CC environment variable when configure was run.
1021 " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
1183 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
1184 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
10221185 # Blanks at the start of $base_compile will cause this to fail
10231186 # if we don't check for them as well.
10241187 *)
10321195 func_quote_for_eval "$arg"
10331196 CC_quoted="$CC_quoted $func_quote_for_eval_result"
10341197 done
1198 CC_expanded=`func_echo_all $CC`
1199 CC_quoted_expanded=`func_echo_all $CC_quoted`
10351200 case "$@ " in
1036 " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
1201 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
1202 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
10371203 # The compiler in the base compile command matches
10381204 # the one in the tagged configuration.
10391205 # Assume this is the tagged configuration we want.
12121378 *.[cCFSifmso] | \
12131379 *.ada | *.adb | *.ads | *.asm | \
12141380 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
1215 *.[fF][09]? | *.for | *.java | *.obj | *.sx)
1381 *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
12161382 func_xform "$libobj"
12171383 libobj=$func_xform_result
12181384 ;;
12871453 # Calculate the filename of the output object if compiler does
12881454 # not support -o with -c
12891455 if test "$compiler_c_o" = no; then
1290 output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
1456 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
12911457 lockfile="$output_obj.lock"
12921458 else
12931459 output_obj=
14441610 }
14451611
14461612 $opt_help || {
1447 test "$mode" = compile && func_mode_compile ${1+"$@"}
1613 test "$mode" = compile && func_mode_compile ${1+"$@"}
14481614 }
14491615
14501616 func_mode_help ()
14811647
14821648 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
14831649 -no-suppress do not suppress compiler output for multiple passes
1484 -prefer-pic try to building PIC objects only
1485 -prefer-non-pic try to building non-PIC objects only
1650 -prefer-pic try to build PIC objects only
1651 -prefer-non-pic try to build non-PIC objects only
14861652 -shared do not build a \`.o' file suitable for static linking
14871653 -static only build a \`.o' file suitable for static linking
1654 -Wc,FLAG pass FLAG directly to the compiler
14881655
14891656 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
14901657 from the given SOURCEFILE.
15371704
15381705 The following components of INSTALL-COMMAND are treated specially:
15391706
1540 -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
1707 -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
15411708
15421709 The rest of the components are interpreted as arguments to that command (only
15431710 BSD-compatible install options are recognized)."
15571724
15581725 -all-static do not do any dynamic linking at all
15591726 -avoid-version do not add a version suffix if possible
1727 -bindir BINDIR specify path to binaries directory (for systems where
1728 libraries must be found in the PATH setting at runtime)
15601729 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
15611730 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
15621731 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
15851754 -version-info CURRENT[:REVISION[:AGE]]
15861755 specify library version info [each variable defaults to 0]
15871756 -weak LIBNAME declare that the target provides the LIBNAME interface
1757 -Wc,FLAG
1758 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
1759 -Wl,FLAG
1760 -Xlinker FLAG pass linker-specific FLAG directly to the linker
1761 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
15881762
15891763 All other options (arguments beginning with \`-') are ignored.
15901764
16221796 ;;
16231797 esac
16241798
1625 $ECHO
1799 echo
16261800 $ECHO "Try \`$progname --help' for more information about other modes."
1627
1628 exit $?
16291801 }
16301802
1631 # Now that we've collected a possible --mode arg, show help if necessary
1632 $opt_help && func_mode_help
1803 # Now that we've collected a possible --mode arg, show help if necessary
1804 if $opt_help; then
1805 if test "$opt_help" = :; then
1806 func_mode_help
1807 else
1808 {
1809 func_help noexit
1810 for mode in compile link execute install finish uninstall clean; do
1811 func_mode_help
1812 done
1813 } | sed -n '1p; 2,$s/^Usage:/ or: /p'
1814 {
1815 func_help noexit
1816 for mode in compile link execute install finish uninstall clean; do
1817 echo
1818 func_mode_help
1819 done
1820 } |
1821 sed '1d
1822 /^When reporting/,/^Report/{
1823 H
1824 d
1825 }
1826 $x
1827 /information about other modes/d
1828 /more detailed .*MODE/d
1829 s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
1830 fi
1831 exit $?
1832 fi
16331833
16341834
16351835 # func_mode_execute arg...
17111911 for file
17121912 do
17131913 case $file in
1714 -*) ;;
1914 -* | *.la | *.lo ) ;;
17151915 *)
17161916 # Do a test to see if this is really a libtool program.
17171917 if func_ltwrapper_script_p "$file"; then
17531953 # Display what would be done.
17541954 if test -n "$shlibpath_var"; then
17551955 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
1756 $ECHO "export $shlibpath_var"
1956 echo "export $shlibpath_var"
17571957 fi
17581958 $ECHO "$cmd$args"
17591959 exit $EXIT_SUCCESS
17941994 # Exit here if they wanted silent mode.
17951995 $opt_silent && exit $EXIT_SUCCESS
17961996
1797 $ECHO "X----------------------------------------------------------------------" | $Xsed
1798 $ECHO "Libraries have been installed in:"
1997 echo "----------------------------------------------------------------------"
1998 echo "Libraries have been installed in:"
17991999 for libdir in $libdirs; do
18002000 $ECHO " $libdir"
18012001 done
1802 $ECHO
1803 $ECHO "If you ever happen to want to link against installed libraries"
1804 $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
1805 $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
1806 $ECHO "flag during linking and do at least one of the following:"
2002 echo
2003 echo "If you ever happen to want to link against installed libraries"
2004 echo "in a given directory, LIBDIR, you must either use libtool, and"
2005 echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
2006 echo "flag during linking and do at least one of the following:"
18072007 if test -n "$shlibpath_var"; then
1808 $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
1809 $ECHO " during execution"
2008 echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
2009 echo " during execution"
18102010 fi
18112011 if test -n "$runpath_var"; then
1812 $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
1813 $ECHO " during linking"
2012 echo " - add LIBDIR to the \`$runpath_var' environment variable"
2013 echo " during linking"
18142014 fi
18152015 if test -n "$hardcode_libdir_flag_spec"; then
18162016 libdir=LIBDIR
18222022 $ECHO " - have your system administrator run these commands:$admincmds"
18232023 fi
18242024 if test -f /etc/ld.so.conf; then
1825 $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
2025 echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
18262026 fi
1827 $ECHO
1828
1829 $ECHO "See any operating system documentation about shared libraries for"
2027 echo
2028
2029 echo "See any operating system documentation about shared libraries for"
18302030 case $host in
18312031 solaris2.[6789]|solaris2.1[0-9])
1832 $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
1833 $ECHO "pages."
2032 echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
2033 echo "pages."
18342034 ;;
18352035 *)
1836 $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
2036 echo "more information, such as the ld(1) and ld.so(8) manual pages."
18372037 ;;
18382038 esac
1839 $ECHO "X----------------------------------------------------------------------" | $Xsed
2039 echo "----------------------------------------------------------------------"
18402040 exit $EXIT_SUCCESS
18412041 }
18422042
18512051 # install_prog (especially on Windows NT).
18522052 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
18532053 # Allow the use of GNU shtool's install command.
1854 $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
2054 case $nonopt in *shtool*) :;; *) false;; esac; then
18552055 # Aesthetically quote it.
18562056 func_quote_for_eval "$nonopt"
18572057 install_prog="$func_quote_for_eval_result "
18662066 # Aesthetically quote it.
18672067 func_quote_for_eval "$arg"
18682068 install_prog="$install_prog$func_quote_for_eval_result"
2069 install_shared_prog=$install_prog
2070 case " $install_prog " in
2071 *[\\\ /]cp\ *) install_cp=: ;;
2072 *) install_cp=false ;;
2073 esac
18692074
18702075 # We need to accept at least all the BSD install flags.
18712076 dest=
18752080 install_type=
18762081 isdir=no
18772082 stripme=
2083 no_mode=:
18782084 for arg
18792085 do
2086 arg2=
18802087 if test -n "$dest"; then
18812088 files="$files $dest"
18822089 dest=$arg
18862093 case $arg in
18872094 -d) isdir=yes ;;
18882095 -f)
1889 case " $install_prog " in
1890 *[\\\ /]cp\ *) ;;
1891 *) prev=$arg ;;
1892 esac
2096 if $install_cp; then :; else
2097 prev=$arg
2098 fi
18932099 ;;
18942100 -g | -m | -o)
18952101 prev=$arg
19032109 *)
19042110 # If the previous option needed an argument, then skip it.
19052111 if test -n "$prev"; then
2112 if test "x$prev" = x-m && test -n "$install_override_mode"; then
2113 arg2=$install_override_mode
2114 no_mode=false
2115 fi
19062116 prev=
19072117 else
19082118 dest=$arg
19142124 # Aesthetically quote the argument.
19152125 func_quote_for_eval "$arg"
19162126 install_prog="$install_prog $func_quote_for_eval_result"
2127 if test -n "$arg2"; then
2128 func_quote_for_eval "$arg2"
2129 fi
2130 install_shared_prog="$install_shared_prog $func_quote_for_eval_result"
19172131 done
19182132
19192133 test -z "$install_prog" && \
19212135
19222136 test -n "$prev" && \
19232137 func_fatal_help "the \`$prev' option requires an argument"
2138
2139 if test -n "$install_override_mode" && $no_mode; then
2140 if $install_cp; then :; else
2141 func_quote_for_eval "$install_override_mode"
2142 install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result"
2143 fi
2144 fi
19242145
19252146 if test -z "$files"; then
19262147 if test -z "$dest"; then
20092230
20102231 if test -n "$relink_command"; then
20112232 # Determine the prefix the user has applied to our future dir.
2012 inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
2233 inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
20132234
20142235 # Don't allow the user to place us outside of our expected
20152236 # location b/c this prevents finding dependent libraries that
20222243
20232244 if test -n "$inst_prefix_dir"; then
20242245 # Stick the inst_prefix_dir data into the link command.
2025 relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
2246 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
20262247 else
2027 relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
2248 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
20282249 fi
20292250
20302251 func_warning "relinking \`$file'"
20422263 test -n "$relink_command" && srcname="$realname"T
20432264
20442265 # Install the shared library and build the symlinks.
2045 func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
2266 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
20462267 'exit $?'
20472268 tstripme="$stripme"
20482269 case $host_os in
21822403 if test -f "$lib"; then
21832404 func_source "$lib"
21842405 fi
2185 libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
2406 libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
21862407 if test -n "$libdir" && test ! -f "$libfile"; then
21872408 func_warning "\`$lib' has not been installed in \`$libdir'"
21882409 finalize=no
22012422 file="$func_basename_result"
22022423 outputname="$tmpdir/$file"
22032424 # Replace the output file specification.
2204 relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
2425 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
22052426
22062427 $opt_silent || {
22072428 func_quote_for_expand "$relink_command"
22202441 }
22212442 else
22222443 # Install the binary that we compiled earlier.
2223 file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
2444 file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
22242445 fi
22252446 fi
22262447
23222543 extern \"C\" {
23232544 #endif
23242545
2546 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
2547 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
2548 #endif
2549
23252550 /* External symbol declarations for the compiler. */\
23262551 "
23272552
23312556 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
23322557
23332558 # Add our own program objects to the symbol list.
2334 progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
2559 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
23352560 for progfile in $progfiles; do
23362561 func_verbose "extracting global C symbols from \`$progfile'"
23372562 $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
23702595 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
23712596 eval '$MV "$nlist"T "$nlist"'
23722597 case $host in
2373 *cygwin | *mingw* | *cegcc* )
2598 *cygwin* | *mingw* | *cegcc* )
23742599 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
23752600 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
23762601 ;;
24142639 if test -f "$nlist"S; then
24152640 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
24162641 else
2417 $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
2642 echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
24182643 fi
24192644
2420 $ECHO >> "$output_objdir/$my_dlsyms" "\
2645 echo >> "$output_objdir/$my_dlsyms" "\
24212646
24222647 /* The mapping between symbol names and symbols. */
24232648 typedef struct {
24272652 "
24282653 case $host in
24292654 *cygwin* | *mingw* | *cegcc* )
2430 $ECHO >> "$output_objdir/$my_dlsyms" "\
2655 echo >> "$output_objdir/$my_dlsyms" "\
24312656 /* DATA imports from DLLs on WIN32 con't be const, because
24322657 runtime relocations are performed -- see ld's documentation
24332658 on pseudo-relocs. */"
24402665 lt_dlsym_const=const ;;
24412666 esac
24422667
2443 $ECHO >> "$output_objdir/$my_dlsyms" "\
2668 echo >> "$output_objdir/$my_dlsyms" "\
24442669 extern $lt_dlsym_const lt_dlsymlist
24452670 lt_${my_prefix}_LTX_preloaded_symbols[];
24462671 $lt_dlsym_const lt_dlsymlist
24562681 eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
24572682 ;;
24582683 esac
2459 $ECHO >> "$output_objdir/$my_dlsyms" "\
2684 echo >> "$output_objdir/$my_dlsyms" "\
24602685 {0, (void *) 0}
24612686 };
24622687
25142739 case $host in
25152740 *cygwin* | *mingw* | *cegcc* )
25162741 if test -f "$output_objdir/$my_outputname.def"; then
2517 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2518 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2742 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2743 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
25192744 else
2520 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2521 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2745 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
2746 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
25222747 fi
25232748 ;;
25242749 *)
2525 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2526 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2750 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
2751 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
25272752 ;;
25282753 esac
25292754 ;;
25372762 # really was required.
25382763
25392764 # Nullify the symbol file.
2540 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
2541 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
2765 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
2766 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
25422767 fi
25432768 }
25442769
25482773 # Need a lot of goo to handle *both* DLLs and import libs
25492774 # Has to be a shell function in order to 'eat' the argument
25502775 # that is supplied when $file_magic_command is called.
2776 # Despite the name, also deal with 64 bit binaries.
25512777 func_win32_libid ()
25522778 {
25532779 $opt_debug
25582784 win32_libid_type="x86 archive import"
25592785 ;;
25602786 *ar\ archive*) # could be an import, or static
2787 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
25612788 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
2562 $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
2789 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
25632790 win32_nmres=`eval $NM -f posix -A $1 |
25642791 $SED -n -e '
25652792 1,100{
25972824 $opt_debug
25982825 f_ex_an_ar_dir="$1"; shift
25992826 f_ex_an_ar_oldlib="$1"
2600 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
2827 if test "$lock_old_archive_extraction" = yes; then
2828 lockfile=$f_ex_an_ar_oldlib.lock
2829 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
2830 func_echo "Waiting for $lockfile to be removed"
2831 sleep 2
2832 done
2833 fi
2834 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
2835 'stat=$?; rm -f "$lockfile"; exit $stat'
2836 if test "$lock_old_archive_extraction" = yes; then
2837 $opt_dry_run || rm -f "$lockfile"
2838 fi
26012839 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
26022840 :
26032841 else
26682906 darwin_file=
26692907 darwin_files=
26702908 for darwin_file in $darwin_filelist; do
2671 darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
2909 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
26722910 $LIPO -create -output "$darwin_file" $darwin_files
26732911 done # $darwin_filelist
26742912 $RM -rf unfat-$$
26832921 func_extract_an_archive "$my_xdir" "$my_xabs"
26842922 ;;
26852923 esac
2686 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
2924 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
26872925 done
26882926
26892927 func_extract_archives_result="$my_oldobjs"
26902928 }
2691
2692
2693
2694 # func_emit_wrapper_part1 [arg=no]
2695 #
2696 # Emit the first part of a libtool wrapper script on stdout.
2697 # For more information, see the description associated with
2698 # func_emit_wrapper(), below.
2699 func_emit_wrapper_part1 ()
2700 {
2701 func_emit_wrapper_part1_arg1=no
2702 if test -n "$1" ; then
2703 func_emit_wrapper_part1_arg1=$1
2704 fi
2705
2706 $ECHO "\
2707 #! $SHELL
2708
2709 # $output - temporary wrapper script for $objdir/$outputname
2710 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
2711 #
2712 # The $output program cannot be directly executed until all the libtool
2713 # libraries that it depends on are installed.
2714 #
2715 # This wrapper script should never be moved out of the build directory.
2716 # If it is, it will not operate correctly.
2717
2718 # Sed substitution that helps us do robust quoting. It backslashifies
2719 # metacharacters that are still active within double-quoted strings.
2720 Xsed='${SED} -e 1s/^X//'
2721 sed_quote_subst='$sed_quote_subst'
2722
2723 # Be Bourne compatible
2724 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
2725 emulate sh
2726 NULLCMD=:
2727 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
2728 # is contrary to our usage. Disable this feature.
2729 alias -g '\${1+\"\$@\"}'='\"\$@\"'
2730 setopt NO_GLOB_SUBST
2731 else
2732 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
2733 fi
2734 BIN_SH=xpg4; export BIN_SH # for Tru64
2735 DUALCASE=1; export DUALCASE # for MKS sh
2736
2737 # The HP-UX ksh and POSIX shell print the target directory to stdout
2738 # if CDPATH is set.
2739 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2740
2741 relink_command=\"$relink_command\"
2742
2743 # This environment variable determines our operation mode.
2744 if test \"\$libtool_install_magic\" = \"$magic\"; then
2745 # install mode needs the following variables:
2746 generated_by_libtool_version='$macro_version'
2747 notinst_deplibs='$notinst_deplibs'
2748 else
2749 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2750 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2751 ECHO=\"$qecho\"
2752 file=\"\$0\"
2753 # Make sure echo works.
2754 if test \"X\$1\" = X--no-reexec; then
2755 # Discard the --no-reexec flag, and continue.
2756 shift
2757 elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
2758 # Yippee, \$ECHO works!
2759 :
2760 else
2761 # Restart under the correct shell, and then maybe \$ECHO will work.
2762 exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
2763 fi
2764 fi\
2765 "
2766 $ECHO "\
2767
2768 # Find the directory that this script lives in.
2769 thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
2770 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
2771
2772 # Follow symbolic links until we get to the real thisdir.
2773 file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
2774 while test -n \"\$file\"; do
2775 destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
2776
2777 # If there was a directory component, then change thisdir.
2778 if test \"x\$destdir\" != \"x\$file\"; then
2779 case \"\$destdir\" in
2780 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
2781 *) thisdir=\"\$thisdir/\$destdir\" ;;
2782 esac
2783 fi
2784
2785 file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
2786 file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
2787 done
2788 "
2789 }
2790 # end: func_emit_wrapper_part1
2791
2792 # func_emit_wrapper_part2 [arg=no]
2793 #
2794 # Emit the second part of a libtool wrapper script on stdout.
2795 # For more information, see the description associated with
2796 # func_emit_wrapper(), below.
2797 func_emit_wrapper_part2 ()
2798 {
2799 func_emit_wrapper_part2_arg1=no
2800 if test -n "$1" ; then
2801 func_emit_wrapper_part2_arg1=$1
2802 fi
2803
2804 $ECHO "\
2805
2806 # Usually 'no', except on cygwin/mingw when embedded into
2807 # the cwrapper.
2808 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
2809 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
2810 # special case for '.'
2811 if test \"\$thisdir\" = \".\"; then
2812 thisdir=\`pwd\`
2813 fi
2814 # remove .libs from thisdir
2815 case \"\$thisdir\" in
2816 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
2817 $objdir ) thisdir=. ;;
2818 esac
2819 fi
2820
2821 # Try to get the absolute directory name.
2822 absdir=\`cd \"\$thisdir\" && pwd\`
2823 test -n \"\$absdir\" && thisdir=\"\$absdir\"
2824 "
2825
2826 if test "$fast_install" = yes; then
2827 $ECHO "\
2828 program=lt-'$outputname'$exeext
2829 progdir=\"\$thisdir/$objdir\"
2830
2831 if test ! -f \"\$progdir/\$program\" ||
2832 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
2833 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
2834
2835 file=\"\$\$-\$program\"
2836
2837 if test ! -d \"\$progdir\"; then
2838 $MKDIR \"\$progdir\"
2839 else
2840 $RM \"\$progdir/\$file\"
2841 fi"
2842
2843 $ECHO "\
2844
2845 # relink executable if necessary
2846 if test -n \"\$relink_command\"; then
2847 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
2848 else
2849 $ECHO \"\$relink_command_output\" >&2
2850 $RM \"\$progdir/\$file\"
2851 exit 1
2852 fi
2853 fi
2854
2855 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
2856 { $RM \"\$progdir/\$program\";
2857 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
2858 $RM \"\$progdir/\$file\"
2859 fi"
2860 else
2861 $ECHO "\
2862 program='$outputname'
2863 progdir=\"\$thisdir/$objdir\"
2864 "
2865 fi
2866
2867 $ECHO "\
2868
2869 if test -f \"\$progdir/\$program\"; then"
2870
2871 # Export our shlibpath_var if we have one.
2872 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
2873 $ECHO "\
2874 # Add our own library path to $shlibpath_var
2875 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
2876
2877 # Some systems cannot cope with colon-terminated $shlibpath_var
2878 # The second colon is a workaround for a bug in BeOS R4 sed
2879 $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
2880
2881 export $shlibpath_var
2882 "
2883 fi
2884
2885 # fixup the dll searchpath if we need to.
2886 if test -n "$dllsearchpath"; then
2887 $ECHO "\
2888 # Add the dll search path components to the executable PATH
2889 PATH=$dllsearchpath:\$PATH
2890 "
2891 fi
2892
2893 $ECHO "\
2894 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2895 # Run the actual program with our arguments.
2896 "
2897 case $host in
2898 # Backslashes separate directories on plain windows
2899 *-*-mingw | *-*-os2* | *-cegcc*)
2900 $ECHO "\
2901 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
2902 "
2903 ;;
2904
2905 *)
2906 $ECHO "\
2907 exec \"\$progdir/\$program\" \${1+\"\$@\"}
2908 "
2909 ;;
2910 esac
2911 $ECHO "\
2912 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
2913 exit 1
2914 fi
2915 else
2916 # The program doesn't exist.
2917 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
2918 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
2919 $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
2920 exit 1
2921 fi
2922 fi\
2923 "
2924 }
2925 # end: func_emit_wrapper_part2
29262929
29272930
29282931 # func_emit_wrapper [arg=no]
29412944 # behavior.
29422945 func_emit_wrapper ()
29432946 {
2944 func_emit_wrapper_arg1=no
2945 if test -n "$1" ; then
2946 func_emit_wrapper_arg1=$1
2947 func_emit_wrapper_arg1=${1-no}
2948
2949 $ECHO "\
2950 #! $SHELL
2951
2952 # $output - temporary wrapper script for $objdir/$outputname
2953 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
2954 #
2955 # The $output program cannot be directly executed until all the libtool
2956 # libraries that it depends on are installed.
2957 #
2958 # This wrapper script should never be moved out of the build directory.
2959 # If it is, it will not operate correctly.
2960
2961 # Sed substitution that helps us do robust quoting. It backslashifies
2962 # metacharacters that are still active within double-quoted strings.
2963 sed_quote_subst='$sed_quote_subst'
2964
2965 # Be Bourne compatible
2966 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
2967 emulate sh
2968 NULLCMD=:
2969 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
2970 # is contrary to our usage. Disable this feature.
2971 alias -g '\${1+\"\$@\"}'='\"\$@\"'
2972 setopt NO_GLOB_SUBST
2973 else
2974 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
2975 fi
2976 BIN_SH=xpg4; export BIN_SH # for Tru64
2977 DUALCASE=1; export DUALCASE # for MKS sh
2978
2979 # The HP-UX ksh and POSIX shell print the target directory to stdout
2980 # if CDPATH is set.
2981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2982
2983 relink_command=\"$relink_command\"
2984
2985 # This environment variable determines our operation mode.
2986 if test \"\$libtool_install_magic\" = \"$magic\"; then
2987 # install mode needs the following variables:
2988 generated_by_libtool_version='$macro_version'
2989 notinst_deplibs='$notinst_deplibs'
2990 else
2991 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2992 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2993 file=\"\$0\""
2994
2995 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
2996 $ECHO "\
2997
2998 # A function that is used when there is no print builtin or printf.
2999 func_fallback_echo ()
3000 {
3001 eval 'cat <<_LTECHO_EOF
3002 \$1
3003 _LTECHO_EOF'
3004 }
3005 ECHO=\"$qECHO\"
3006 fi
3007
3008 # Very basic option parsing. These options are (a) specific to
3009 # the libtool wrapper, (b) are identical between the wrapper
3010 # /script/ and the wrapper /executable/ which is used only on
3011 # windows platforms, and (c) all begin with the string "--lt-"
3012 # (application programs are unlikely to have options which match
3013 # this pattern).
3014 #
3015 # There are only two supported options: --lt-debug and
3016 # --lt-dump-script. There is, deliberately, no --lt-help.
3017 #
3018 # The first argument to this parsing function should be the
3019 # script's $0 value, followed by "$@".
3020 lt_option_debug=
3021 func_parse_lt_options ()
3022 {
3023 lt_script_arg0=\$0
3024 shift
3025 for lt_opt
3026 do
3027 case \"\$lt_opt\" in
3028 --lt-debug) lt_option_debug=1 ;;
3029 --lt-dump-script)
3030 lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
3031 test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
3032 lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
3033 cat \"\$lt_dump_D/\$lt_dump_F\"
3034 exit 0
3035 ;;
3036 --lt-*)
3037 \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
3038 exit 1
3039 ;;
3040 esac
3041 done
3042
3043 # Print the debug banner immediately:
3044 if test -n \"\$lt_option_debug\"; then
3045 echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
3046 fi
3047 }
3048
3049 # Used when --lt-debug. Prints its arguments to stdout
3050 # (redirection is the responsibility of the caller)
3051 func_lt_dump_args ()
3052 {
3053 lt_dump_args_N=1;
3054 for lt_arg
3055 do
3056 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
3057 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
3058 done
3059 }
3060
3061 # Core function for launching the target application
3062 func_exec_program_core ()
3063 {
3064 "
3065 case $host in
3066 # Backslashes separate directories on plain windows
3067 *-*-mingw | *-*-os2* | *-cegcc*)
3068 $ECHO "\
3069 if test -n \"\$lt_option_debug\"; then
3070 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
3071 func_lt_dump_args \${1+\"\$@\"} 1>&2
3072 fi
3073 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
3074 "
3075 ;;
3076
3077 *)
3078 $ECHO "\
3079 if test -n \"\$lt_option_debug\"; then
3080 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
3081 func_lt_dump_args \${1+\"\$@\"} 1>&2
3082 fi
3083 exec \"\$progdir/\$program\" \${1+\"\$@\"}
3084 "
3085 ;;
3086 esac
3087 $ECHO "\
3088 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
3089 exit 1
3090 }
3091
3092 # A function to encapsulate launching the target application
3093 # Strips options in the --lt-* namespace from \$@ and
3094 # launches target application with the remaining arguments.
3095 func_exec_program ()
3096 {
3097 for lt_wr_arg
3098 do
3099 case \$lt_wr_arg in
3100 --lt-*) ;;
3101 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
3102 esac
3103 shift
3104 done
3105 func_exec_program_core \${1+\"\$@\"}
3106 }
3107
3108 # Parse options
3109 func_parse_lt_options \"\$0\" \${1+\"\$@\"}
3110
3111 # Find the directory that this script lives in.
3112 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
3113 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
3114
3115 # Follow symbolic links until we get to the real thisdir.
3116 file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
3117 while test -n \"\$file\"; do
3118 destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
3119
3120 # If there was a directory component, then change thisdir.
3121 if test \"x\$destdir\" != \"x\$file\"; then
3122 case \"\$destdir\" in
3123 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
3124 *) thisdir=\"\$thisdir/\$destdir\" ;;
3125 esac
3126 fi
3127
3128 file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
3129 file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
3130 done
3131
3132 # Usually 'no', except on cygwin/mingw when embedded into
3133 # the cwrapper.
3134 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
3135 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
3136 # special case for '.'
3137 if test \"\$thisdir\" = \".\"; then
3138 thisdir=\`pwd\`
3139 fi
3140 # remove .libs from thisdir
3141 case \"\$thisdir\" in
3142 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
3143 $objdir ) thisdir=. ;;
3144 esac
3145 fi
3146
3147 # Try to get the absolute directory name.
3148 absdir=\`cd \"\$thisdir\" && pwd\`
3149 test -n \"\$absdir\" && thisdir=\"\$absdir\"
3150 "
3151
3152 if test "$fast_install" = yes; then
3153 $ECHO "\
3154 program=lt-'$outputname'$exeext
3155 progdir=\"\$thisdir/$objdir\"
3156
3157 if test ! -f \"\$progdir/\$program\" ||
3158 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
3159 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
3160
3161 file=\"\$\$-\$program\"
3162
3163 if test ! -d \"\$progdir\"; then
3164 $MKDIR \"\$progdir\"
3165 else
3166 $RM \"\$progdir/\$file\"
3167 fi"
3168
3169 $ECHO "\
3170
3171 # relink executable if necessary
3172 if test -n \"\$relink_command\"; then
3173 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
3174 else
3175 $ECHO \"\$relink_command_output\" >&2
3176 $RM \"\$progdir/\$file\"
3177 exit 1
3178 fi
3179 fi
3180
3181 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
3182 { $RM \"\$progdir/\$program\";
3183 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
3184 $RM \"\$progdir/\$file\"
3185 fi"
3186 else
3187 $ECHO "\
3188 program='$outputname'
3189 progdir=\"\$thisdir/$objdir\"
3190 "
29473191 fi
29483192
2949 # split this up so that func_emit_cwrapperexe_src
2950 # can call each part independently.
2951 func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
2952 func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
3193 $ECHO "\
3194
3195 if test -f \"\$progdir/\$program\"; then"
3196
3197 # Export our shlibpath_var if we have one.
3198 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
3199 $ECHO "\
3200 # Add our own library path to $shlibpath_var
3201 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
3202
3203 # Some systems cannot cope with colon-terminated $shlibpath_var
3204 # The second colon is a workaround for a bug in BeOS R4 sed
3205 $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
3206
3207 export $shlibpath_var
3208 "
3209 fi
3210
3211 # fixup the dll searchpath if we need to.
3212 if test -n "$dllsearchpath"; then
3213 $ECHO "\
3214 # Add the dll search path components to the executable PATH
3215 PATH=$dllsearchpath:\$PATH
3216 "
3217 fi
3218
3219 $ECHO "\
3220 if test \"\$libtool_execute_magic\" != \"$magic\"; then
3221 # Run the actual program with our arguments.
3222 func_exec_program \${1+\"\$@\"}
3223 fi
3224 else
3225 # The program doesn't exist.
3226 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
3227 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
3228 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
3229 exit 1
3230 fi
3231 fi\
3232 "
29533233 }
29543234
29553235
29773257 func_to_host_path ()
29783258 {
29793259 func_to_host_path_result="$1"
2980 if test -n "$1" ; then
3260 if test -n "$1"; then
29813261 case $host in
29823262 *mingw* )
29833263 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
29843264 case $build in
29853265 *mingw* ) # actually, msys
29863266 # awkward: cmd appends spaces to result
2987 lt_sed_strip_trailing_spaces="s/[ ]*\$//"
2988 func_to_host_path_tmp1=`( cmd //c echo "$1" |\
2989 $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
2990 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
2991 $SED -e "$lt_sed_naive_backslashify"`
3267 func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
3268 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
29923269 ;;
29933270 *cygwin* )
2994 func_to_host_path_tmp1=`cygpath -w "$1"`
2995 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
2996 $SED -e "$lt_sed_naive_backslashify"`
3271 func_to_host_path_result=`cygpath -w "$1" |
3272 $SED -e "$lt_sed_naive_backslashify"`
29973273 ;;
29983274 * )
29993275 # Unfortunately, winepath does not exit with a non-zero
30053281 # the odd construction:
30063282 func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
30073283 if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
3008 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
3284 func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
30093285 $SED -e "$lt_sed_naive_backslashify"`
30103286 else
30113287 # Allow warning below.
3012 func_to_host_path_result=""
3288 func_to_host_path_result=
30133289 fi
30143290 ;;
30153291 esac
30163292 if test -z "$func_to_host_path_result" ; then
30173293 func_error "Could not determine host path corresponding to"
3018 func_error " '$1'"
3294 func_error " \`$1'"
30193295 func_error "Continuing, but uninstalled executables may not work."
30203296 # Fallback:
30213297 func_to_host_path_result="$1"
30483324 func_to_host_pathlist ()
30493325 {
30503326 func_to_host_pathlist_result="$1"
3051 if test -n "$1" ; then
3327 if test -n "$1"; then
30523328 case $host in
30533329 *mingw* )
30543330 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
30553331 # Remove leading and trailing path separator characters from
30563332 # ARG. msys behavior is inconsistent here, cygpath turns them
30573333 # into '.;' and ';.', and winepath ignores them completely.
3058 func_to_host_pathlist_tmp2="$1"
3059 # Once set for this call, this variable should not be
3060 # reassigned. It is used in tha fallback case.
3061 func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
3062 $SED -e 's|^:*||' -e 's|:*$||'`
3334 func_stripname : : "$1"
3335 func_to_host_pathlist_tmp1=$func_stripname_result
30633336 case $build in
30643337 *mingw* ) # Actually, msys.
30653338 # Awkward: cmd appends spaces to result.
3066 lt_sed_strip_trailing_spaces="s/[ ]*\$//"
3067 func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
3068 $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
3069 func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3070 $SED -e "$lt_sed_naive_backslashify"`
3339 func_to_host_pathlist_result=`
3340 ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
3341 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
30713342 ;;
30723343 *cygwin* )
3073 func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
3074 func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3344 func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
30753345 $SED -e "$lt_sed_naive_backslashify"`
30763346 ;;
30773347 * )
30873357 if test -z "$func_to_host_pathlist_result" ; then
30883358 func_to_host_pathlist_result="$func_to_host_path_result"
30893359 else
3090 func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
3360 func_append func_to_host_pathlist_result ";$func_to_host_path_result"
30913361 fi
30923362 fi
30933363 fi
3094 IFS=:
30953364 done
30963365 IFS=$func_to_host_pathlist_oldIFS
30973366 ;;
30983367 esac
3099 if test -z "$func_to_host_pathlist_result" ; then
3368 if test -z "$func_to_host_pathlist_result"; then
31003369 func_error "Could not determine the host path(s) corresponding to"
3101 func_error " '$1'"
3370 func_error " \`$1'"
31023371 func_error "Continuing, but uninstalled executables may not work."
31033372 # Fallback. This may break if $1 contains DOS-style drive
31043373 # specifications. The fix is not to complicate the expression
31153384 ;;
31163385 esac
31173386 case "$1" in
3118 *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
3387 *: ) func_append func_to_host_pathlist_result ";"
31193388 ;;
31203389 esac
31213390 ;;
31403409
31413410 This wrapper executable should never be moved out of the build directory.
31423411 If it is, it will not operate correctly.
3143
3144 Currently, it simply execs the wrapper *script* "$SHELL $output",
3145 but could eventually absorb all of the scripts functionality and
3146 exec $objdir/$outputname directly.
31473412 */
31483413 EOF
31493414 cat <<"EOF"
3415 #ifdef _MSC_VER
3416 # define _CRT_SECURE_NO_DEPRECATE 1
3417 #endif
31503418 #include <stdio.h>
31513419 #include <stdlib.h>
31523420 #ifdef _MSC_VER
31533421 # include <direct.h>
31543422 # include <process.h>
31553423 # include <io.h>
3156 # define setmode _setmode
31573424 #else
31583425 # include <unistd.h>
31593426 # include <stdint.h>
31603427 # ifdef __CYGWIN__
31613428 # include <io.h>
3162 # define HAVE_SETENV
3163 # ifdef __STRICT_ANSI__
3164 char *realpath (const char *, char *);
3165 int putenv (char *);
3166 int setenv (const char *, const char *, int);
3167 # endif
31683429 # endif
31693430 #endif
31703431 #include <malloc.h>
31763437 #include <fcntl.h>
31773438 #include <sys/stat.h>
31783439
3440 /* declarations of non-ANSI functions */
3441 #if defined(__MINGW32__)
3442 # ifdef __STRICT_ANSI__
3443 int _putenv (const char *);
3444 # endif
3445 #elif defined(__CYGWIN__)
3446 # ifdef __STRICT_ANSI__
3447 char *realpath (const char *, char *);
3448 int putenv (char *);
3449 int setenv (const char *, const char *, int);
3450 # endif
3451 /* #elif defined (other platforms) ... */
3452 #endif
3453
3454 /* portability defines, excluding path handling macros */
3455 #if defined(_MSC_VER)
3456 # define setmode _setmode
3457 # define stat _stat
3458 # define chmod _chmod
3459 # define getcwd _getcwd
3460 # define putenv _putenv
3461 # define S_IXUSR _S_IEXEC
3462 # ifndef _INTPTR_T_DEFINED
3463 # define _INTPTR_T_DEFINED
3464 # define intptr_t int
3465 # endif
3466 #elif defined(__MINGW32__)
3467 # define setmode _setmode
3468 # define stat _stat
3469 # define chmod _chmod
3470 # define getcwd _getcwd
3471 # define putenv _putenv
3472 #elif defined(__CYGWIN__)
3473 # define HAVE_SETENV
3474 # define FOPEN_WB "wb"
3475 /* #elif defined (other platforms) ... */
3476 #endif
3477
31793478 #if defined(PATH_MAX)
31803479 # define LT_PATHMAX PATH_MAX
31813480 #elif defined(MAXPATHLEN)
31913490 # define S_IXGRP 0
31923491 #endif
31933492
3194 #ifdef _MSC_VER
3195 # define S_IXUSR _S_IEXEC
3196 # define stat _stat
3197 # ifndef _INTPTR_T_DEFINED
3198 # define intptr_t int
3199 # endif
3200 #endif
3201
3493 /* path handling portability macros */
32023494 #ifndef DIR_SEPARATOR
32033495 # define DIR_SEPARATOR '/'
32043496 # define PATH_SEPARATOR ':'
32293521 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
32303522 #endif /* PATH_SEPARATOR_2 */
32313523
3232 #ifdef __CYGWIN__
3233 # define FOPEN_WB "wb"
3234 #endif
3235
32363524 #ifndef FOPEN_WB
32373525 # define FOPEN_WB "w"
32383526 #endif
32453533 if (stale) { free ((void *) stale); stale = 0; } \
32463534 } while (0)
32473535
3248 #undef LTWRAPPER_DEBUGPRINTF
3249 #if defined DEBUGWRAPPER
3250 # define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
3251 static void
3252 ltwrapper_debugprintf (const char *fmt, ...)
3253 {
3254 va_list args;
3255 va_start (args, fmt);
3256 (void) vfprintf (stderr, fmt, args);
3257 va_end (args);
3258 }
3536 #if defined(LT_DEBUGWRAPPER)
3537 static int lt_debug = 1;
32593538 #else
3260 # define LTWRAPPER_DEBUGPRINTF(args)
3539 static int lt_debug = 0;
32613540 #endif
32623541
3263 const char *program_name = NULL;
3542 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
32643543
32653544 void *xmalloc (size_t num);
32663545 char *xstrdup (const char *string);
32703549 int make_executable (const char *path);
32713550 int check_executable (const char *path);
32723551 char *strendzap (char *str, const char *pat);
3273 void lt_fatal (const char *message, ...);
3552 void lt_debugprintf (const char *file, int line, const char *fmt, ...);
3553 void lt_fatal (const char *file, int line, const char *message, ...);
3554 static const char *nonnull (const char *s);
3555 static const char *nonempty (const char *s);
32743556 void lt_setenv (const char *name, const char *value);
32753557 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
3276 void lt_opt_process_env_set (const char *arg);
3277 void lt_opt_process_env_prepend (const char *arg);
3278 void lt_opt_process_env_append (const char *arg);
3279 int lt_split_name_value (const char *arg, char** name, char** value);
32803558 void lt_update_exe_path (const char *name, const char *value);
32813559 void lt_update_lib_path (const char *name, const char *value);
3282
3283 static const char *script_text_part1 =
3560 char **prepare_spawn (char **argv);
3561 void lt_dump_script (FILE *f);
32843562 EOF
3285
3286 func_emit_wrapper_part1 yes |
3287 $SED -e 's/\([\\"]\)/\\\1/g' \
3288 -e 's/^/ "/' -e 's/$/\\n"/'
3289 echo ";"
3290 cat <<EOF
3291
3292 static const char *script_text_part2 =
3293 EOF
3294 func_emit_wrapper_part2 yes |
3295 $SED -e 's/\([\\"]\)/\\\1/g' \
3296 -e 's/^/ "/' -e 's/$/\\n"/'
3297 echo ";"
32983563
32993564 cat <<EOF
33003565 const char * MAGIC_EXE = "$magic_exe";
33393604 cat <<"EOF"
33403605
33413606 #define LTWRAPPER_OPTION_PREFIX "--lt-"
3342 #define LTWRAPPER_OPTION_PREFIX_LENGTH 5
3343
3344 static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
3607
33453608 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
3346
33473609 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
3348
3349 static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
3350 static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
3351 /* argument is putenv-style "foo=bar", value of foo is set to bar */
3352
3353 static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
3354 static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
3355 /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
3356
3357 static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
3358 static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
3359 /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
3610 static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
33603611
33613612 int
33623613 main (int argc, char *argv[])
33733624 int i;
33743625
33753626 program_name = (char *) xstrdup (base_name (argv[0]));
3376 LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
3377 LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
3378
3379 /* very simple arg parsing; don't want to rely on getopt */
3627 newargz = XMALLOC (char *, argc + 1);
3628
3629 /* very simple arg parsing; don't want to rely on getopt
3630 * also, copy all non cwrapper options to newargz, except
3631 * argz[0], which is handled differently
3632 */
3633 newargc=0;
33803634 for (i = 1; i < argc; i++)
33813635 {
33823636 if (strcmp (argv[i], dumpscript_opt) == 0)
33903644 esac
33913645
33923646 cat <<"EOF"
3393 printf ("%s", script_text_part1);
3394 printf ("%s", script_text_part2);
3647 lt_dump_script (stdout);
33953648 return 0;
33963649 }
3650 if (strcmp (argv[i], debug_opt) == 0)
3651 {
3652 lt_debug = 1;
3653 continue;
3654 }
3655 if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
3656 {
3657 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
3658 namespace, but it is not one of the ones we know about and
3659 have already dealt with, above (inluding dump-script), then
3660 report an error. Otherwise, targets might begin to believe
3661 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
3662 namespace. The first time any user complains about this, we'll
3663 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
3664 or a configure.ac-settable value.
3665 */
3666 lt_fatal (__FILE__, __LINE__,
3667 "unrecognized %s option: '%s'",
3668 ltwrapper_option_prefix, argv[i]);
3669 }
3670 /* otherwise ... */
3671 newargz[++newargc] = xstrdup (argv[i]);
33973672 }
3398
3399 newargz = XMALLOC (char *, argc + 1);
3673 newargz[++newargc] = NULL;
3674
3675 EOF
3676 cat <<EOF
3677 /* The GNU banner must be the first non-error debug message */
3678 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
3679 EOF
3680 cat <<"EOF"
3681 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
3682 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
3683
34003684 tmp_pathspec = find_executable (argv[0]);
34013685 if (tmp_pathspec == NULL)
3402 lt_fatal ("Couldn't find %s", argv[0]);
3403 LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
3404 tmp_pathspec));
3686 lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
3687 lt_debugprintf (__FILE__, __LINE__,
3688 "(main) found exe (before symlink chase) at: %s\n",
3689 tmp_pathspec);
34053690
34063691 actual_cwrapper_path = chase_symlinks (tmp_pathspec);
3407 LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
3408 actual_cwrapper_path));
3692 lt_debugprintf (__FILE__, __LINE__,
3693 "(main) found exe (after symlink chase) at: %s\n",
3694 actual_cwrapper_path);
34093695 XFREE (tmp_pathspec);
34103696
3411 actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
3697 actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
34123698 strendzap (actual_cwrapper_path, actual_cwrapper_name);
34133699
34143700 /* wrapper name transforms */
34263712 target_name = tmp_pathspec;
34273713 tmp_pathspec = 0;
34283714
3429 LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
3430 target_name));
3715 lt_debugprintf (__FILE__, __LINE__,
3716 "(main) libtool target name: %s\n",
3717 target_name);
34313718 EOF
34323719
34333720 cat <<EOF
34803767 lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
34813768 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
34823769
3483 newargc=0;
3484 for (i = 1; i < argc; i++)
3485 {
3486 if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
3487 {
3488 if (argv[i][env_set_opt_len] == '=')
3489 {
3490 const char *p = argv[i] + env_set_opt_len + 1;
3491 lt_opt_process_env_set (p);
3492 }
3493 else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
3494 {
3495 lt_opt_process_env_set (argv[++i]); /* don't copy */
3496 }
3497 else
3498 lt_fatal ("%s missing required argument", env_set_opt);
3499 continue;
3500 }
3501 if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
3502 {
3503 if (argv[i][env_prepend_opt_len] == '=')
3504 {
3505 const char *p = argv[i] + env_prepend_opt_len + 1;
3506 lt_opt_process_env_prepend (p);
3507 }
3508 else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
3509 {
3510 lt_opt_process_env_prepend (argv[++i]); /* don't copy */
3511 }
3512 else
3513 lt_fatal ("%s missing required argument", env_prepend_opt);
3514 continue;
3515 }
3516 if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
3517 {
3518 if (argv[i][env_append_opt_len] == '=')
3519 {
3520 const char *p = argv[i] + env_append_opt_len + 1;
3521 lt_opt_process_env_append (p);
3522 }
3523 else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
3524 {
3525 lt_opt_process_env_append (argv[++i]); /* don't copy */
3526 }
3527 else
3528 lt_fatal ("%s missing required argument", env_append_opt);
3529 continue;
3530 }
3531 if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
3532 {
3533 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
3534 namespace, but it is not one of the ones we know about and
3535 have already dealt with, above (inluding dump-script), then
3536 report an error. Otherwise, targets might begin to believe
3537 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
3538 namespace. The first time any user complains about this, we'll
3539 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
3540 or a configure.ac-settable value.
3541 */
3542 lt_fatal ("Unrecognized option in %s namespace: '%s'",
3543 ltwrapper_option_prefix, argv[i]);
3544 }
3545 /* otherwise ... */
3546 newargz[++newargc] = xstrdup (argv[i]);
3547 }
3548 newargz[++newargc] = NULL;
3549
3550 LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
3770 lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
3771 nonnull (lt_argv_zero));
35513772 for (i = 0; i < newargc; i++)
35523773 {
3553 LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
3774 lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
3775 i, nonnull (newargz[i]));
35543776 }
35553777
35563778 EOF
35593781 mingw*)
35603782 cat <<"EOF"
35613783 /* execv doesn't actually work on mingw as expected on unix */
3784 newargz = prepare_spawn (newargz);
35623785 rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
35633786 if (rval == -1)
35643787 {
35653788 /* failed to start process */
3566 LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
3789 lt_debugprintf (__FILE__, __LINE__,
3790 "(main) failed to launch target \"%s\": %s\n",
3791 lt_argv_zero, nonnull (strerror (errno)));
35673792 return 127;
35683793 }
35693794 return rval;
35853810 {
35863811 void *p = (void *) malloc (num);
35873812 if (!p)
3588 lt_fatal ("Memory exhausted");
3813 lt_fatal (__FILE__, __LINE__, "memory exhausted");
35893814
35903815 return p;
35913816 }
36193844 {
36203845 struct stat st;
36213846
3622 LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
3623 path ? (*path ? path : "EMPTY!") : "NULL!"));
3847 lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
3848 nonempty (path));
36243849 if ((!path) || (!*path))
36253850 return 0;
36263851
36373862 int rval = 0;
36383863 struct stat st;
36393864
3640 LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
3641 path ? (*path ? path : "EMPTY!") : "NULL!"));
3865 lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
3866 nonempty (path));
36423867 if ((!path) || (!*path))
36433868 return 0;
36443869
36643889 int tmp_len;
36653890 char *concat_name;
36663891
3667 LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
3668 wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
3892 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
3893 nonempty (wrapper));
36693894
36703895 if ((wrapper == NULL) || (*wrapper == '\0'))
36713896 return NULL;
37183943 {
37193944 /* empty path: current directory */
37203945 if (getcwd (tmp, LT_PATHMAX) == NULL)
3721 lt_fatal ("getcwd failed");
3946 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
3947 nonnull (strerror (errno)));
37223948 tmp_len = strlen (tmp);
37233949 concat_name =
37243950 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
37433969 }
37443970 /* Relative path | not found in path: prepend cwd */
37453971 if (getcwd (tmp, LT_PATHMAX) == NULL)
3746 lt_fatal ("getcwd failed");
3972 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
3973 nonnull (strerror (errno)));
37473974 tmp_len = strlen (tmp);
37483975 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
37493976 memcpy (concat_name, tmp, tmp_len);
37693996 int has_symlinks = 0;
37703997 while (strlen (tmp_pathspec) && !has_symlinks)
37713998 {
3772 LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
3773 tmp_pathspec));
3999 lt_debugprintf (__FILE__, __LINE__,
4000 "checking path component for symlinks: %s\n",
4001 tmp_pathspec);
37744002 if (lstat (tmp_pathspec, &s) == 0)
37754003 {
37764004 if (S_ISLNK (s.st_mode) != 0)
37924020 }
37934021 else
37944022 {
3795 char *errstr = strerror (errno);
3796 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
4023 lt_fatal (__FILE__, __LINE__,
4024 "error accessing file \"%s\": %s",
4025 tmp_pathspec, nonnull (strerror (errno)));
37974026 }
37984027 }
37994028 XFREE (tmp_pathspec);
38064035 tmp_pathspec = realpath (pathspec, buf);
38074036 if (tmp_pathspec == 0)
38084037 {
3809 lt_fatal ("Could not follow symlinks for %s", pathspec);
4038 lt_fatal (__FILE__, __LINE__,
4039 "could not follow symlinks for %s", pathspec);
38104040 }
38114041 return xstrdup (tmp_pathspec);
38124042 #endif
38324062 return str;
38334063 }
38344064
4065 void
4066 lt_debugprintf (const char *file, int line, const char *fmt, ...)
4067 {
4068 va_list args;
4069 if (lt_debug)
4070 {
4071 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
4072 va_start (args, fmt);
4073 (void) vfprintf (stderr, fmt, args);
4074 va_end (args);
4075 }
4076 }
4077
38354078 static void
3836 lt_error_core (int exit_status, const char *mode,
4079 lt_error_core (int exit_status, const char *file,
4080 int line, const char *mode,
38374081 const char *message, va_list ap)
38384082 {
3839 fprintf (stderr, "%s: %s: ", program_name, mode);
4083 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
38404084 vfprintf (stderr, message, ap);
38414085 fprintf (stderr, ".\n");
38424086
38454089 }
38464090
38474091 void
3848 lt_fatal (const char *message, ...)
4092 lt_fatal (const char *file, int line, const char *message, ...)
38494093 {
38504094 va_list ap;
38514095 va_start (ap, message);
3852 lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
4096 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
38534097 va_end (ap);
4098 }
4099
4100 static const char *
4101 nonnull (const char *s)
4102 {
4103 return s ? s : "(null)";
4104 }
4105
4106 static const char *
4107 nonempty (const char *s)
4108 {
4109 return (s && !*s) ? "(empty)" : nonnull (s);
38544110 }
38554111
38564112 void
38574113 lt_setenv (const char *name, const char *value)
38584114 {
3859 LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
3860 (name ? name : "<NULL>"),
3861 (value ? value : "<NULL>")));
4115 lt_debugprintf (__FILE__, __LINE__,
4116 "(lt_setenv) setting '%s' to '%s'\n",
4117 nonnull (name), nonnull (value));
38624118 {
38634119 #ifdef HAVE_SETENV
38644120 /* always make a copy, for consistency with !HAVE_SETENV */
39034159 return new_value;
39044160 }
39054161
3906 int
3907 lt_split_name_value (const char *arg, char** name, char** value)
3908 {
3909 const char *p;
3910 int len;
3911 if (!arg || !*arg)
3912 return 1;
3913
3914 p = strchr (arg, (int)'=');
3915
3916 if (!p)
3917 return 1;
3918
3919 *value = xstrdup (++p);
3920
3921 len = strlen (arg) - strlen (*value);
3922 *name = XMALLOC (char, len);
3923 strncpy (*name, arg, len-1);
3924 (*name)[len - 1] = '\0';
3925
3926 return 0;
3927 }
3928
3929 void
3930 lt_opt_process_env_set (const char *arg)
3931 {
3932 char *name = NULL;
3933 char *value = NULL;
3934
3935 if (lt_split_name_value (arg, &name, &value) != 0)
3936 {
3937 XFREE (name);
3938 XFREE (value);
3939 lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
3940 }
3941
3942 lt_setenv (name, value);
3943 XFREE (name);
3944 XFREE (value);
3945 }
3946
3947 void
3948 lt_opt_process_env_prepend (const char *arg)
3949 {
3950 char *name = NULL;
3951 char *value = NULL;
3952 char *new_value = NULL;
3953
3954 if (lt_split_name_value (arg, &name, &value) != 0)
3955 {
3956 XFREE (name);
3957 XFREE (value);
3958 lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
3959 }
3960
3961 new_value = lt_extend_str (getenv (name), value, 0);
3962 lt_setenv (name, new_value);
3963 XFREE (new_value);
3964 XFREE (name);
3965 XFREE (value);
3966 }
3967
3968 void
3969 lt_opt_process_env_append (const char *arg)
3970 {
3971 char *name = NULL;
3972 char *value = NULL;
3973 char *new_value = NULL;
3974
3975 if (lt_split_name_value (arg, &name, &value) != 0)
3976 {
3977 XFREE (name);
3978 XFREE (value);
3979 lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
3980 }
3981
3982 new_value = lt_extend_str (getenv (name), value, 1);
3983 lt_setenv (name, new_value);
3984 XFREE (new_value);
3985 XFREE (name);
3986 XFREE (value);
3987 }
3988
39894162 void
39904163 lt_update_exe_path (const char *name, const char *value)
39914164 {
3992 LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
3993 (name ? name : "<NULL>"),
3994 (value ? value : "<NULL>")));
4165 lt_debugprintf (__FILE__, __LINE__,
4166 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
4167 nonnull (name), nonnull (value));
39954168
39964169 if (name && *name && value && *value)
39974170 {
40104183 void
40114184 lt_update_lib_path (const char *name, const char *value)
40124185 {
4013 LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4014 (name ? name : "<NULL>"),
4015 (value ? value : "<NULL>")));
4186 lt_debugprintf (__FILE__, __LINE__,
4187 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4188 nonnull (name), nonnull (value));
40164189
40174190 if (name && *name && value && *value)
40184191 {
40224195 }
40234196 }
40244197
4025
4198 EOF
4199 case $host_os in
4200 mingw*)
4201 cat <<"EOF"
4202
4203 /* Prepares an argument vector before calling spawn().
4204 Note that spawn() does not by itself call the command interpreter
4205 (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
4206 ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
4207 GetVersionEx(&v);
4208 v.dwPlatformId == VER_PLATFORM_WIN32_NT;
4209 }) ? "cmd.exe" : "command.com").
4210 Instead it simply concatenates the arguments, separated by ' ', and calls
4211 CreateProcess(). We must quote the arguments since Win32 CreateProcess()
4212 interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
4213 special way:
4214 - Space and tab are interpreted as delimiters. They are not treated as
4215 delimiters if they are surrounded by double quotes: "...".
4216 - Unescaped double quotes are removed from the input. Their only effect is
4217 that within double quotes, space and tab are treated like normal
4218 characters.
4219 - Backslashes not followed by double quotes are not special.
4220 - But 2*n+1 backslashes followed by a double quote become
4221 n backslashes followed by a double quote (n >= 0):
4222 \" -> "
4223 \\\" -> \"
4224 \\\\\" -> \\"
4225 */
4226 #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
4227 #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
4228 char **
4229 prepare_spawn (char **argv)
4230 {
4231 size_t argc;
4232 char **new_argv;
4233 size_t i;
4234
4235 /* Count number of arguments. */
4236 for (argc = 0; argv[argc] != NULL; argc++)
4237 ;
4238
4239 /* Allocate new argument vector. */
4240 new_argv = XMALLOC (char *, argc + 1);
4241
4242 /* Put quoted arguments into the new argument vector. */
4243 for (i = 0; i < argc; i++)
4244 {
4245 const char *string = argv[i];
4246
4247 if (string[0] == '\0')
4248 new_argv[i] = xstrdup ("\"\"");
4249 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
4250 {
4251 int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
4252 size_t length;
4253 unsigned int backslashes;
4254 const char *s;
4255 char *quoted_string;
4256 char *p;
4257
4258 length = 0;
4259 backslashes = 0;
4260 if (quote_around)
4261 length++;
4262 for (s = string; *s != '\0'; s++)
4263 {
4264 char c = *s;
4265 if (c == '"')
4266 length += backslashes + 1;
4267 length++;
4268 if (c == '\\')
4269 backslashes++;
4270 else
4271 backslashes = 0;
4272 }
4273 if (quote_around)
4274 length += backslashes + 1;
4275
4276 quoted_string = XMALLOC (char, length + 1);
4277
4278 p = quoted_string;
4279 backslashes = 0;
4280 if (quote_around)
4281 *p++ = '"';
4282 for (s = string; *s != '\0'; s++)
4283 {
4284 char c = *s;
4285 if (c == '"')
4286 {
4287 unsigned int j;
4288 for (j = backslashes + 1; j > 0; j--)
4289 *p++ = '\\';
4290 }
4291 *p++ = c;
4292 if (c == '\\')
4293 backslashes++;
4294 else
4295 backslashes = 0;
4296 }
4297 if (quote_around)
4298 {
4299 unsigned int j;
4300 for (j = backslashes; j > 0; j--)
4301 *p++ = '\\';
4302 *p++ = '"';
4303 }
4304 *p = '\0';
4305
4306 new_argv[i] = quoted_string;
4307 }
4308 else
4309 new_argv[i] = (char *) string;
4310 }
4311 new_argv[argc] = NULL;
4312
4313 return new_argv;
4314 }
4315 EOF
4316 ;;
4317 esac
4318
4319 cat <<"EOF"
4320 void lt_dump_script (FILE* f)
4321 {
4322 EOF
4323 func_emit_wrapper yes |
4324 $SED -e 's/\([\\"]\)/\\\1/g' \
4325 -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
4326
4327 cat <<"EOF"
4328 }
40264329 EOF
40274330 }
40284331 # end: func_emit_cwrapperexe_src
4332
4333 # func_win32_import_lib_p ARG
4334 # True if ARG is an import lib, as indicated by $file_magic_cmd
4335 func_win32_import_lib_p ()
4336 {
4337 $opt_debug
4338 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
4339 *import*) : ;;
4340 *) false ;;
4341 esac
4342 }
40294343
40304344 # func_mode_link arg...
40314345 func_mode_link ()
40714385 new_inherited_linker_flags=
40724386
40734387 avoid_version=no
4388 bindir=
40744389 dlfiles=
40754390 dlprefiles=
40764391 dlself=no
41634478 esac
41644479
41654480 case $prev in
4481 bindir)
4482 bindir="$arg"
4483 prev=
4484 continue
4485 ;;
41664486 dlfiles|dlprefiles)
41674487 if test "$preload" = no; then
41684488 # Add the symbol object into the linking commands.
44244744 continue
44254745 ;;
44264746
4747 -bindir)
4748 prev=bindir
4749 continue
4750 ;;
4751
44274752 -dlopen)
44284753 prev=dlfiles
44294754 continue
45024827 esac
45034828 case $host in
45044829 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
4505 testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
4830 testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
45064831 case :$dllsearchpath: in
45074832 *":$dir:"*) ;;
45084833 ::) dllsearchpath=$dir;;
45214846 -l*)
45224847 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
45234848 case $host in
4524 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
4849 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
45254850 # These systems don't actually have a C or math library (as such)
45264851 continue
45274852 ;;
47075032 for flag in $args; do
47085033 IFS="$save_ifs"
47095034 func_quote_for_eval "$flag"
4710 arg="$arg $wl$func_quote_for_eval_result"
5035 arg="$arg $func_quote_for_eval_result"
47115036 compiler_flags="$compiler_flags $func_quote_for_eval_result"
47125037 done
47135038 IFS="$save_ifs"
47535078 arg="$func_quote_for_eval_result"
47545079 ;;
47555080
4756 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
4757 # -r[0-9][0-9]* specifies the processor on the SGI compiler
4758 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
4759 # +DA*, +DD* enable 64-bit mode on the HP compiler
4760 # -q* pass through compiler args for the IBM compiler
4761 # -m*, -t[45]*, -txscale* pass through architecture-specific
4762 # compiler args for GCC
4763 # -F/path gives path to uninstalled frameworks, gcc on darwin
4764 # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
4765 # @file GCC response files
5081 # Flags to be passed through unchanged, with rationale:
5082 # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
5083 # -r[0-9][0-9]* specify processor for the SGI compiler
5084 # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
5085 # +DA*, +DD* enable 64-bit mode for the HP compiler
5086 # -q* compiler args for the IBM compiler
5087 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
5088 # -F/path path to uninstalled frameworks, gcc on darwin
5089 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
5090 # @file GCC response files
5091 # -tp=* Portland pgcc target processor selection
47665092 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
4767 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
5093 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
47685094 func_quote_for_eval "$arg"
47695095 arg="$func_quote_for_eval_result"
47705096 func_append compile_command " $arg"
49245250
49255251 if test -n "$shlibpath_var"; then
49265252 # get the directories listed in $shlibpath_var
4927 eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
5253 eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
49285254 else
49295255 shlib_search_path=
49305256 fi
50475373 # Collect preopened libtool deplibs, except any this library
50485374 # has declared as weak libs
50495375 for deplib in $dependency_libs; do
5050 deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
5376 func_basename "$deplib"
5377 deplib_base=$func_basename_result
50515378 case " $weak_libs " in
50525379 *" $deplib_base "*) ;;
50535380 *) deplibs="$deplibs $deplib" ;;
52265553 match_pattern*)
52275554 set dummy $deplibs_check_method; shift
52285555 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
5229 if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
5556 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
52305557 | $EGREP "$match_pattern_regex" > /dev/null; then
52315558 valid_a_lib=yes
52325559 fi
52365563 ;;
52375564 esac
52385565 if test "$valid_a_lib" != yes; then
5239 $ECHO
5566 echo
52405567 $ECHO "*** Warning: Trying to link with static lib archive $deplib."
5241 $ECHO "*** I have the capability to make that library automatically link in when"
5242 $ECHO "*** you link to this library. But I can only do this if you have a"
5243 $ECHO "*** shared version of the library, which you do not appear to have"
5244 $ECHO "*** because the file extensions .$libext of this argument makes me believe"
5245 $ECHO "*** that it is just a static archive that I should not use here."
5568 echo "*** I have the capability to make that library automatically link in when"
5569 echo "*** you link to this library. But I can only do this if you have a"
5570 echo "*** shared version of the library, which you do not appear to have"
5571 echo "*** because the file extensions .$libext of this argument makes me believe"
5572 echo "*** that it is just a static archive that I should not use here."
52465573 else
5247 $ECHO
5574 echo
52485575 $ECHO "*** Warning: Linking the shared library $output against the"
52495576 $ECHO "*** static library $deplib is not portable!"
52505577 deplibs="$deplib $deplibs"
53175644
53185645 # Convert "-framework foo" to "foo.ltframework"
53195646 if test -n "$inherited_linker_flags"; then
5320 tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
5647 tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
53215648 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
53225649 case " $new_inherited_linker_flags " in
53235650 *" $tmp_inherited_linker_flag "*) ;;
53255652 esac
53265653 done
53275654 fi
5328 dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
5655 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
53295656 if test "$linkmode,$pass" = "lib,link" ||
53305657 test "$linkmode,$pass" = "prog,scan" ||
53315658 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
55795906 fi
55805907 done
55815908 if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
5582 $ECHO
5909 echo
55835910 if test "$linkmode" = prog; then
55845911 $ECHO "*** Warning: Linking the executable $output against the loadable module"
55855912 else
56826009 if test "X$dlopenmodule" != "X$lib"; then
56836010 $ECHO "*** Warning: lib $linklib is a module, not a shared library"
56846011 if test -z "$old_library" ; then
5685 $ECHO
5686 $ECHO "*** And there doesn't seem to be a static archive available"
5687 $ECHO "*** The link will probably fail, sorry"
6012 echo
6013 echo "*** And there doesn't seem to be a static archive available"
6014 echo "*** The link will probably fail, sorry"
56886015 else
56896016 add="$dir/$old_library"
56906017 fi
58246151
58256152 # Just print a warning and add the library to dependency_libs so
58266153 # that the program can be linked against the static library.
5827 $ECHO
6154 echo
58286155 $ECHO "*** Warning: This system can not link to static lib archive $lib."
5829 $ECHO "*** I have the capability to make that library automatically link in when"
5830 $ECHO "*** you link to this library. But I can only do this if you have a"
5831 $ECHO "*** shared version of the library, which you do not appear to have."
6156 echo "*** I have the capability to make that library automatically link in when"
6157 echo "*** you link to this library. But I can only do this if you have a"
6158 echo "*** shared version of the library, which you do not appear to have."
58326159 if test "$module" = yes; then
5833 $ECHO "*** But as you try to build a module library, libtool will still create "
5834 $ECHO "*** a static module, that should work as long as the dlopening application"
5835 $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
6160 echo "*** But as you try to build a module library, libtool will still create "
6161 echo "*** a static module, that should work as long as the dlopening application"
6162 echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
58366163 if test -z "$global_symbol_pipe"; then
5837 $ECHO
5838 $ECHO "*** However, this would only work if libtool was able to extract symbol"
5839 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
5840 $ECHO "*** not find such a program. So, this module is probably useless."
5841 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
6164 echo
6165 echo "*** However, this would only work if libtool was able to extract symbol"
6166 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
6167 echo "*** not find such a program. So, this module is probably useless."
6168 echo "*** \`nm' from GNU binutils and a full rebuild may help."
58426169 fi
58436170 if test "$build_old_libs" = no; then
58446171 build_libtool_libs=module
58926219 if test "$link_all_deplibs" != no; then
58936220 # Add the search paths of all dependency libraries
58946221 for deplib in $dependency_libs; do
6222 path=
58956223 case $deplib in
58966224 -L*) path="$deplib" ;;
58976225 *.la)
59576285 compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
59586286 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
59596287 else
5960 compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6288 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
59616289 fi
59626290 fi
59636291 dependency_libs="$newdependency_libs"
61256453 if test "$deplibs_check_method" != pass_all; then
61266454 func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
61276455 else
6128 $ECHO
6456 echo
61296457 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
61306458 $ECHO "*** objects $objs is not portable!"
61316459 libobjs="$libobjs $objs"
61936521 age="$number_minor"
61946522 revision="$number_revision"
61956523 ;;
6196 freebsd-aout|freebsd-elf|sunos)
6524 freebsd-aout|freebsd-elf|qnx|sunos)
61976525 current="$number_major"
61986526 revision="$number_minor"
61996527 age="0"
64276755 oldlibs="$oldlibs $output_objdir/$libname.$libext"
64286756
64296757 # Transform .lo files to .o files.
6430 oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
6758 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
64316759 fi
64326760
64336761 # Eliminate all temporary directories.
64346762 #for path in $notinst_path; do
6435 # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
6436 # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
6437 # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
6763 # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
6764 # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
6765 # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
64386766 #done
64396767
64406768 if test -n "$xrpath"; then
64756803 if test "$build_libtool_libs" = yes; then
64766804 if test -n "$rpath"; then
64776805 case $host in
6478 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
6806 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
64796807 # these systems don't actually have a c library (as such)!
64806808 ;;
64816809 *-*-rhapsody* | *-*-darwin1.[012])
65606888 newdeplibs="$newdeplibs $i"
65616889 else
65626890 droppeddeps=yes
6563 $ECHO
6891 echo
65646892 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
6565 $ECHO "*** I have the capability to make that library automatically link in when"
6566 $ECHO "*** you link to this library. But I can only do this if you have a"
6567 $ECHO "*** shared version of the library, which I believe you do not have"
6568 $ECHO "*** because a test_compile did reveal that the linker did not use it for"
6569 $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
6893 echo "*** I have the capability to make that library automatically link in when"
6894 echo "*** you link to this library. But I can only do this if you have a"
6895 echo "*** shared version of the library, which I believe you do not have"
6896 echo "*** because a test_compile did reveal that the linker did not use it for"
6897 echo "*** its dynamic dependency list that programs get resolved with at runtime."
65706898 fi
65716899 fi
65726900 ;;
66036931 newdeplibs="$newdeplibs $i"
66046932 else
66056933 droppeddeps=yes
6606 $ECHO
6934 echo
66076935 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
6608 $ECHO "*** I have the capability to make that library automatically link in when"
6609 $ECHO "*** you link to this library. But I can only do this if you have a"
6610 $ECHO "*** shared version of the library, which you do not appear to have"
6611 $ECHO "*** because a test_compile did reveal that the linker did not use this one"
6612 $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
6936 echo "*** I have the capability to make that library automatically link in when"
6937 echo "*** you link to this library. But I can only do this if you have a"
6938 echo "*** shared version of the library, which you do not appear to have"
6939 echo "*** because a test_compile did reveal that the linker did not use this one"
6940 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
66136941 fi
66146942 fi
66156943 else
66166944 droppeddeps=yes
6617 $ECHO
6945 echo
66186946 $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
6619 $ECHO "*** make it link in! You will probably need to install it or some"
6620 $ECHO "*** library that it depends on before this library will be fully"
6621 $ECHO "*** functional. Installing it before continuing would be even better."
6947 echo "*** make it link in! You will probably need to install it or some"
6948 echo "*** library that it depends on before this library will be fully"
6949 echo "*** functional. Installing it before continuing would be even better."
66226950 fi
66236951 ;;
66246952 *)
66646992 potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
66656993 case $potliblink in
66666994 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
6667 *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
6995 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
66686996 esac
66696997 done
66706998 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
66797007 fi
66807008 if test -n "$a_deplib" ; then
66817009 droppeddeps=yes
6682 $ECHO
7010 echo
66837011 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6684 $ECHO "*** I have the capability to make that library automatically link in when"
6685 $ECHO "*** you link to this library. But I can only do this if you have a"
6686 $ECHO "*** shared version of the library, which you do not appear to have"
6687 $ECHO "*** because I did check the linker path looking for a file starting"
7012 echo "*** I have the capability to make that library automatically link in when"
7013 echo "*** you link to this library. But I can only do this if you have a"
7014 echo "*** shared version of the library, which you do not appear to have"
7015 echo "*** because I did check the linker path looking for a file starting"
66887016 if test -z "$potlib" ; then
66897017 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
66907018 else
67227050 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
67237051 for potent_lib in $potential_libs; do
67247052 potlib="$potent_lib" # see symlink-check above in file_magic test
6725 if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
7053 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
67267054 $EGREP "$match_pattern_regex" > /dev/null; then
67277055 newdeplibs="$newdeplibs $a_deplib"
67287056 a_deplib=""
67337061 fi
67347062 if test -n "$a_deplib" ; then
67357063 droppeddeps=yes
6736 $ECHO
7064 echo
67377065 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6738 $ECHO "*** I have the capability to make that library automatically link in when"
6739 $ECHO "*** you link to this library. But I can only do this if you have a"
6740 $ECHO "*** shared version of the library, which you do not appear to have"
6741 $ECHO "*** because I did check the linker path looking for a file starting"
7066 echo "*** I have the capability to make that library automatically link in when"
7067 echo "*** you link to this library. But I can only do this if you have a"
7068 echo "*** shared version of the library, which you do not appear to have"
7069 echo "*** because I did check the linker path looking for a file starting"
67427070 if test -z "$potlib" ; then
67437071 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
67447072 else
67567084 ;;
67577085 none | unknown | *)
67587086 newdeplibs=""
6759 tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
6760 -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
7087 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
67617088 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67627089 for i in $predeps $postdeps ; do
67637090 # can't use Xsed below, because $i might contain '/'
6764 tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
7091 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
67657092 done
67667093 fi
6767 if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
6768 $GREP . >/dev/null; then
6769 $ECHO
7094 case $tmp_deplibs in
7095 *[!\ \ ]*)
7096 echo
67707097 if test "X$deplibs_check_method" = "Xnone"; then
6771 $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
7098 echo "*** Warning: inter-library dependencies are not supported in this platform."
67727099 else
6773 $ECHO "*** Warning: inter-library dependencies are not known to be supported."
7100 echo "*** Warning: inter-library dependencies are not known to be supported."
67747101 fi
6775 $ECHO "*** All declared inter-library dependencies are being dropped."
7102 echo "*** All declared inter-library dependencies are being dropped."
67767103 droppeddeps=yes
6777 fi
7104 ;;
7105 esac
67787106 ;;
67797107 esac
67807108 versuffix=$versuffix_save
67867114 case $host in
67877115 *-*-rhapsody* | *-*-darwin1.[012])
67887116 # On Rhapsody replace the C library with the System framework
6789 newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7117 newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
67907118 ;;
67917119 esac
67927120
67937121 if test "$droppeddeps" = yes; then
67947122 if test "$module" = yes; then
6795 $ECHO
6796 $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
7123 echo
7124 echo "*** Warning: libtool could not satisfy all declared inter-library"
67977125 $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
6798 $ECHO "*** a static module, that should work as long as the dlopening"
6799 $ECHO "*** application is linked with the -dlopen flag."
7126 echo "*** a static module, that should work as long as the dlopening"
7127 echo "*** application is linked with the -dlopen flag."
68007128 if test -z "$global_symbol_pipe"; then
6801 $ECHO
6802 $ECHO "*** However, this would only work if libtool was able to extract symbol"
6803 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
6804 $ECHO "*** not find such a program. So, this module is probably useless."
6805 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
7129 echo
7130 echo "*** However, this would only work if libtool was able to extract symbol"
7131 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
7132 echo "*** not find such a program. So, this module is probably useless."
7133 echo "*** \`nm' from GNU binutils and a full rebuild may help."
68067134 fi
68077135 if test "$build_old_libs" = no; then
68087136 oldlibs="$output_objdir/$libname.$libext"
68127140 build_libtool_libs=no
68137141 fi
68147142 else
6815 $ECHO "*** The inter-library dependencies that have been dropped here will be"
6816 $ECHO "*** automatically added whenever a program is linked with this library"
6817 $ECHO "*** or is declared to -dlopen it."
7143 echo "*** The inter-library dependencies that have been dropped here will be"
7144 echo "*** automatically added whenever a program is linked with this library"
7145 echo "*** or is declared to -dlopen it."
68187146
68197147 if test "$allow_undefined" = no; then
6820 $ECHO
6821 $ECHO "*** Since this library must not contain undefined symbols,"
6822 $ECHO "*** because either the platform does not support them or"
6823 $ECHO "*** it was explicitly requested with -no-undefined,"
6824 $ECHO "*** libtool will only create a static version of it."
7148 echo
7149 echo "*** Since this library must not contain undefined symbols,"
7150 echo "*** because either the platform does not support them or"
7151 echo "*** it was explicitly requested with -no-undefined,"
7152 echo "*** libtool will only create a static version of it."
68257153 if test "$build_old_libs" = no; then
68267154 oldlibs="$output_objdir/$libname.$libext"
68277155 build_libtool_libs=module
68387166 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
68397167 case $host in
68407168 *-*-darwin*)
6841 newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6842 new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6843 deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7169 newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7170 new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7171 deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
68447172 ;;
68457173 esac
68467174
69627290 done
69637291
69647292 # Use standard objects if they are pic
6965 test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7293 test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
69667294 test "X$libobjs" = "X " && libobjs=
69677295
69687296 delfiles=
70287356 if test -n "$export_symbols" && test -n "$include_expsyms"; then
70297357 tmp_export_symbols="$export_symbols"
70307358 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
7031 $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
7359 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
70327360 fi
70337361
70347362 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
71297457 save_libobjs=$libobjs
71307458 fi
71317459 save_output=$output
7132 output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
7460 func_basename "$output"
7461 output_la=$func_basename_result
71337462
71347463 # Clear the reloadable object creation command queue and
71357464 # initialize k to one.
71427471 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
71437472 output=${output_objdir}/${output_la}.lnkscript
71447473 func_verbose "creating GNU ld script: $output"
7145 $ECHO 'INPUT (' > $output
7474 echo 'INPUT (' > $output
71467475 for obj in $save_libobjs
71477476 do
71487477 $ECHO "$obj" >> $output
71497478 done
7150 $ECHO ')' >> $output
7479 echo ')' >> $output
71517480 delfiles="$delfiles $output"
71527481 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
71537482 output=${output_objdir}/${output_la}.lnk
71897518 # command to the queue.
71907519 if test "$k" -eq 1 ; then
71917520 # The first file doesn't have a previous command to add.
7192 eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
7521 reload_objs=$objlist
7522 eval concat_cmds=\"$reload_cmds\"
71937523 else
71947524 # All subsequent reloadable object files will link in
71957525 # the last one created.
7196 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
7526 reload_objs="$objlist $last_robj"
7527 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
71977528 fi
71987529 last_robj=$output_objdir/$output_la-${k}.$objext
71997530 func_arith $k + 1
72007531 k=$func_arith_result
72017532 output=$output_objdir/$output_la-${k}.$objext
7202 objlist=$obj
7533 objlist=" $obj"
72037534 func_len " $last_robj"
72047535 func_arith $len0 + $func_len_result
72057536 len=$func_arith_result
72097540 # reloadable object file. All subsequent reloadable object
72107541 # files will link in the last one created.
72117542 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
7212 eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
7543 reload_objs="$objlist $last_robj"
7544 eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
72137545 if test -n "$last_robj"; then
72147546 eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
72157547 fi
72687600 if test -n "$export_symbols" && test -n "$include_expsyms"; then
72697601 tmp_export_symbols="$export_symbols"
72707602 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
7271 $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
7603 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
72727604 fi
72737605
72747606 if test -n "$orig_export_symbols"; then
74337765 if test -n "$convenience"; then
74347766 if test -n "$whole_archive_flag_spec"; then
74357767 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
7436 reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
7768 reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
74377769 else
74387770 gentop="$output_objdir/${obj}x"
74397771 generated="$generated $gentop"
74447776 fi
74457777
74467778 # Create the old-style object.
7447 reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
7779 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
74487780
74497781 output="$obj"
74507782 func_execute_cmds "$reload_cmds" 'exit $?'
75047836 case $host in
75057837 *-*-rhapsody* | *-*-darwin1.[012])
75067838 # On Rhapsody replace the C library is the System framework
7507 compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7508 finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7839 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
7840 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
75097841 ;;
75107842 esac
75117843
75227854 esac
75237855 fi
75247856 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
7525 compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7526 finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7857 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7858 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
75277859 ;;
75287860 esac
75297861
76607992
76617993 if test -n "$libobjs" && test "$build_old_libs" = yes; then
76627994 # Transform all the library objects into standard objects.
7663 compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7664 finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7995 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
7996 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
76657997 fi
76667998
76677999 func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
76738005
76748006 wrappers_required=yes
76758007 case $host in
8008 *cegcc* | *mingw32ce*)
8009 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
8010 wrappers_required=no
8011 ;;
76768012 *cygwin* | *mingw* )
76778013 if test "$build_libtool_libs" != yes; then
76788014 wrappers_required=no
76798015 fi
7680 ;;
7681 *cegcc)
7682 # Disable wrappers for cegcc, we are cross compiling anyway.
7683 wrappers_required=no
76848016 ;;
76858017 *)
76868018 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
76908022 esac
76918023 if test "$wrappers_required" = no; then
76928024 # Replace the output file specification.
7693 compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8025 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
76948026 link_command="$compile_command$compile_rpath"
76958027
76968028 # We have no uninstalled library dependencies, so finalize right now.
77378069 # We don't need to create a wrapper script.
77388070 link_command="$compile_var$compile_command$compile_rpath"
77398071 # Replace the output file specification.
7740 link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8072 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
77418073 # Delete the old output file.
77428074 $opt_dry_run || $RM $output
77438075 # Link the executable and exit
77568088 if test "$fast_install" != no; then
77578089 link_command="$finalize_var$compile_command$finalize_rpath"
77588090 if test "$fast_install" = yes; then
7759 relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
8091 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
77608092 else
77618093 # fast_install is set to needless
77628094 relink_command=
77688100 fi
77698101
77708102 # Replace the output file specification.
7771 link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
8103 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
77728104
77738105 # Delete the old output files.
77748106 $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
77928124 fi
77938125 done
77948126 relink_command="(cd `pwd`; $relink_command)"
7795 relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
7796 fi
7797
7798 # Quote $ECHO for shipping.
7799 if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
7800 case $progpath in
7801 [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
7802 *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
7803 esac
7804 qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
7805 else
7806 qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
8127 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
78078128 fi
78088129
78098130 # Only actually do things if not in dry run mode.
79248245 done | sort | sort -uc >/dev/null 2>&1); then
79258246 :
79268247 else
7927 $ECHO "copying selected object files to avoid basename conflicts..."
8248 echo "copying selected object files to avoid basename conflicts..."
79288249 gentop="$output_objdir/${outputname}x"
79298250 generated="$generated $gentop"
79308251 func_mkdir_p "$gentop"
80358356 done
80368357 # Quote the link command for shipping.
80378358 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
8038 relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
8359 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
80398360 if test "$hardcode_automatic" = yes ; then
80408361 relink_command=
80418362 fi
81208441 fi
81218442 $RM $output
81228443 # place dlname in correct position for cygwin
8444 # In fact, it would be nice if we could use this code for all target
8445 # systems that can't hard-code library paths into their executables
8446 # and that have no shared library path variable independent of PATH,
8447 # but it turns out we can't easily determine that from inspecting
8448 # libtool variables, so we have to hard-code the OSs to which it
8449 # applies here; at the moment, that means platforms that use the PE
8450 # object format with DLL files. See the long comment at the top of
8451 # tests/bindir.at for full details.
81238452 tdlname=$dlname
81248453 case $host,$output,$installed,$module,$dlname in
8125 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
8454 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
8455 # If a -bindir argument was supplied, place the dll there.
8456 if test "x$bindir" != x ;
8457 then
8458 func_relative_path "$install_libdir" "$bindir"
8459 tdlname=$func_relative_path_result$dlname
8460 else
8461 # Otherwise fall back on heuristic.
8462 tdlname=../bin/$dlname
8463 fi
8464 ;;
81268465 esac
81278466 $ECHO > $output "\
81288467 # $outputname - a libtool library file
33 be
44 bn_IN
55 ca
6 ca@valencia
67 cs
78 da
89 de
3334 ru
3435 sk
3536 sl
37 sr
38 sr@latin
3639 sv
3740 ta
3841 te
3942 th
4043 uk
44 vi
4145 zh_CN
4246 zh_HK
4347 zh_TW
44 src/main.c
55 src/polkitgnomeauthenticationdialog.c
66 src/polkitgnomeauthenticator.c
7 src/polkit-gnome-authentication-agent-1.desktop.in.in
00 polkitgtk/example.c
1 src/polkit-gnome-authentication-agent-1.desktop.in
0 # Catalan translation of PolicyKit-gnome.
1 # Copyright (C) 2007 David Zeuthen
2 # This file is distributed under the same license as the PolicyKit-gnome package.
3 # David Planella Molas <david.planella@gmail.com>, 2008, 2009.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: PolicyKit-gnome\n"
8 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2010-10-29 23:37+0100\n"
10 "PO-Revision-Date: 2009-10-28 08:15+0100\n"
11 "Last-Translator: David Planella <david.planella@gmail.com>\n"
12 "Language-Team: Catalan <tradgnome@softcatala.net>\n"
13 "Language: ca\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #: ../polkitgtk/polkitlockbutton.c:458
19 msgid "Action Identifier"
20 msgstr "Identificador de l'acció"
21
22 #: ../polkitgtk/polkitlockbutton.c:459
23 msgid "The action identifier to use for the button"
24 msgstr "L'identificador de l'acció a utilitzar pel botó"
25
26 #: ../polkitgtk/polkitlockbutton.c:475
27 msgid "Is Authorized"
28 msgstr "És autoritzat"
29
30 #: ../polkitgtk/polkitlockbutton.c:476
31 msgid "Whether the process is authorized"
32 msgstr "Si el procés és autoritzat"
33
34 #: ../polkitgtk/polkitlockbutton.c:491
35 msgid "Is Visible"
36 msgstr "És visible"
37
38 #: ../polkitgtk/polkitlockbutton.c:492
39 msgid "Whether the widget is visible"
40 msgstr "Si el giny és visible"
41
42 #: ../polkitgtk/polkitlockbutton.c:507
43 msgid "Can Obtain"
44 msgstr "Pot obtindre"
45
46 #: ../polkitgtk/polkitlockbutton.c:508
47 msgid "Whether authorization can be obtained"
48 msgstr "Si es pot obtindre l'autorització"
49
50 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
51 msgid "Unlock Text"
52 msgstr "Text de desbloqueig"
53
54 #: ../polkitgtk/polkitlockbutton.c:524
55 msgid "The text to display when prompting the user to unlock."
56 msgstr "El text que es mostrarà a l'usuari per a desbloquejar."
57
58 #: ../polkitgtk/polkitlockbutton.c:525
59 msgid "Click to make changes"
60 msgstr "Feu clic per a fer canvis"
61
62 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
63 msgid "Unlock Tooltip"
64 msgstr "Indicador de funció per a desbloquejar"
65
66 #: ../polkitgtk/polkitlockbutton.c:541
67 msgid "The tooltip to display when prompting the user to unlock."
68 msgstr "L'indicador de funció que es mostrarà a l'usuari per a desbloquejar."
69
70 #: ../polkitgtk/polkitlockbutton.c:542
71 msgid "Authentication is needed to make changes."
72 msgstr "Cal l'autenticació per a realitzar canvis."
73
74 #: ../polkitgtk/polkitlockbutton.c:557
75 msgid "Lock Text"
76 msgstr "Text de bloqueig"
77
78 #: ../polkitgtk/polkitlockbutton.c:558
79 msgid "The text to display when prompting the user to lock."
80 msgstr "El text que es mostrarà a l'usuari per a bloquejar."
81
82 #: ../polkitgtk/polkitlockbutton.c:559
83 msgid "Click to prevent changes"
84 msgstr "Feu clic per a evitar canvis"
85
86 #: ../polkitgtk/polkitlockbutton.c:574
87 msgid "Lock Tooltip"
88 msgstr "Indicador de funció per a bloquejar"
89
90 #: ../polkitgtk/polkitlockbutton.c:575
91 msgid "The tooltip to display when prompting the user to lock."
92 msgstr "L'indicador de funció que es mostrarà a l'usuari per bloquejar."
93
94 #: ../polkitgtk/polkitlockbutton.c:576
95 msgid "To prevent further changes, click the lock."
96 msgstr "Per a evitar més canvis, feu clic a bloquejar."
97
98 #: ../polkitgtk/polkitlockbutton.c:591
99 msgid "Lock Down Text"
100 msgstr "Text de restricció"
101
102 #: ../polkitgtk/polkitlockbutton.c:592
103 msgid ""
104 "The text to display when prompting the user to lock down the action for all "
105 "users."
106 msgstr ""
107 "El text que es mostrarà a l'usuari per a restringir l'acció per a tots els "
108 "usuaris."
109
110 #: ../polkitgtk/polkitlockbutton.c:593
111 msgid "Click to lock down"
112 msgstr "Feu clic per a restringir"
113
114 #: ../polkitgtk/polkitlockbutton.c:608
115 msgid "Lock Down Tooltip"
116 msgstr "Indicador de funció per a restringir"
117
118 #: ../polkitgtk/polkitlockbutton.c:609
119 msgid ""
120 "The tooltip to display when prompting the user to lock down the action for "
121 "all users."
122 msgstr ""
123 "L'indicador de funció que es mostrarà a l'usuari per a restringir l'acció "
124 "per a tots els usuaris."
125
126 #: ../polkitgtk/polkitlockbutton.c:610
127 msgid ""
128 "To prevent users without administrative privileges from making changes, "
129 "click the lock."
130 msgstr ""
131 "Per a evitar que els usuaris sense permisos d'administració facen canvis feu "
132 "clic a restringir."
133
134 #: ../polkitgtk/polkitlockbutton.c:626
135 msgid ""
136 "The text to display when the user cannot obtain authorization through "
137 "authentication."
138 msgstr ""
139 "El text que es mostrarà a l'usuari quan no puga obtindre l'autorització tot "
140 "i autenticar-se."
141
142 #: ../polkitgtk/polkitlockbutton.c:627
143 msgid "Not authorized to make changes"
144 msgstr "No esteu autoritzat a fer canvis"
145
146 #: ../polkitgtk/polkitlockbutton.c:643
147 msgid ""
148 "The tooltip to display when the user cannot obtain authorization through "
149 "authentication."
150 msgstr ""
151 "L'indicador de funció que es mostrarà a l'usuari quan no puga obtindre "
152 "l'autorització tot i autenticar-se."
153
154 #: ../polkitgtk/polkitlockbutton.c:644
155 msgid "System policy prevents changes. Contact your system administator."
156 msgstr ""
157 "La política del sistema impedeix fer canvis. Contacteu amb l'administrador "
158 "del sistema."
159
160 #: ../src/main.c:128
161 msgid "Click the icon to drop all elevated privileges"
162 msgstr "Feu clic a la icona per a treure tots els privilegis"
163
164 #: ../src/polkitgnomeauthenticationdialog.c:159
165 msgid "Select user..."
166 msgstr "Seleccioneu l'usuari..."
167
168 #: ../src/polkitgnomeauthenticationdialog.c:194
169 #, c-format
170 msgid "%s (%s)"
171 msgstr "%s (%s)"
172
173 #: ../src/polkitgnomeauthenticationdialog.c:531
174 msgid "_Authenticate"
175 msgstr "_Autentica"
176
177 #: ../src/polkitgnomeauthenticationdialog.c:571
178 msgid ""
179 "An application is attempting to perform an action that requires privileges. "
180 "Authentication as one of the users below is required to perform this action."
181 msgstr ""
182 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
183 "Cal autenticar-se com a un dels usuaris d'ací sota per a dur a terme l'acció."
184
185 #: ../src/polkitgnomeauthenticationdialog.c:579
186 msgid ""
187 "An application is attempting to perform an action that requires privileges. "
188 "Authentication is required to perform this action."
189 msgstr ""
190 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
191 "Cal autenticar-se per a dur a terme l'acció."
192
193 #: ../src/polkitgnomeauthenticationdialog.c:585
194 msgid ""
195 "An application is attempting to perform an action that requires privileges. "
196 "Authentication as the super user is required to perform this action."
197 msgstr ""
198 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
199 "Cal autenticar-se com a usuari primari per a dur a terme l'acció."
200
201 #: ../src/polkitgnomeauthenticationdialog.c:620
202 #: ../src/polkitgnomeauthenticator.c:298
203 msgid "_Password:"
204 msgstr "_Contrasenya:"
205
206 #. Details
207 #: ../src/polkitgnomeauthenticationdialog.c:638
208 msgid "<small><b>_Details</b></small>"
209 msgstr "<small><b>_Detalls</b></small>"
210
211 #: ../src/polkitgnomeauthenticationdialog.c:691
212 msgid "<small><b>Action:</b></small>"
213 msgstr "<small><b>Acció:</b></small>"
214
215 #: ../src/polkitgnomeauthenticationdialog.c:694
216 #, c-format
217 msgid "Click to edit %s"
218 msgstr "Feu clic per a editar %s"
219
220 #: ../src/polkitgnomeauthenticationdialog.c:708
221 msgid "<small><b>Vendor:</b></small>"
222 msgstr "<small><b>Proveïdor:</b></small>"
223
224 #: ../src/polkitgnomeauthenticationdialog.c:710
225 #, c-format
226 msgid "Click to open %s"
227 msgstr "Feu clic per a obrir %s"
228
229 #: ../src/polkitgnomeauthenticationdialog.c:873
230 msgid "Authenticate"
231 msgstr "Autentica"
232
233 #: ../src/polkitgnomeauthenticator.c:294
234 #, c-format
235 msgid "_Password for %s:"
236 msgstr "_Contrasenya per a %s:"
237
238 #: ../src/polkitgnomeauthenticator.c:454
239 msgid "Authentication Failure"
240 msgstr "Fallada d'autenticació"
241
242 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
243 msgid "PolicyKit Authentication Agent"
244 msgstr "Agent d'autenticació del PolicyKit"
245
246 #~ msgid ""
247 #~ "This button is locked down so only users with administrative privileges "
248 #~ "can unlock it. Right-click the button to remove the lock down."
249 #~ msgstr ""
250 #~ "Aquest botó està restringit de manera que només els usuaris amb permisos "
251 #~ "d'administració poden desbloquejar-lo. Feu clic amb el botó secundari per "
252 #~ "a suprimir la restricció."
253
254 #~ msgid "Authorizations"
255 #~ msgstr "Autoritzacions"
256
257 #~ msgid "Configure authorizations"
258 #~ msgstr "Configura les autoritzacions"
259
260 #~ msgid ""
261 #~ "A list of PolicyKit action where the \"retain authorization\" checkbox "
262 #~ "isn't checked by default; this list is maintained by the authentication "
263 #~ "dialog code itself. For example, if a user unchecks the \"retain "
264 #~ "authorization\" check box for an action and successfully obtains an "
265 #~ "authorization for the action, the action will be added to this list."
266 #~ msgstr ""
267 #~ "Una llista d'accions del PolicyKit en les quals la casella de verificació "
268 #~ "«manté l'autorització» no està activada per defecte. Aquesta llista la "
269 #~ "manté el codi del diàleg d'autenticació mateix. Per exemple, si l'usuari "
270 #~ "desactiva la casella de verificació «manté l'autorització» per a una "
271 #~ "acció i obté una autorització per a l'acció, aquesta opció s'afegirà a la "
272 #~ "llista."
273
274 #~ msgid ""
275 #~ "A list of actions where the \"retain authorization\" checkbox isn't "
276 #~ "checked by default"
277 #~ msgstr ""
278 #~ "Una llista d'accions en les quals la casella de verificació «manté "
279 #~ "l'autorització» no està activada per defecte."
280
281 #~ msgid ""
282 #~ "If set to true, the authentication dialog from PolicyKit-gnome will grab "
283 #~ "the keyboard, so that you will not be able to type in other programs "
284 #~ "while the dialog is active. Use this if your window manager does not "
285 #~ "focus the authentication dialog automatically, and you want to avoid "
286 #~ "accidentally typing passwords in other programs."
287 #~ msgstr ""
288 #~ "Si s'estableix com a cert, el diàleg d'autenticació del PolicyKit-gnome "
289 #~ "capturarà el teclat, de manera que no podreu utilitzar-lo en altres "
290 #~ "programes mentre el diàleg sigui actiu. Utilitzeu aquesta opció si el "
291 #~ "gestor de finestres no mou el focus cap al diàleg d'autenticació de "
292 #~ "manera automàtica i voleu evitar introduir contrasenyes en altres "
293 #~ "programes per accident."
294
295 #~ msgid ""
296 #~ "If set to true, then \"retain authorization\" check box (if present) is "
297 #~ "checked by default in the authentication dialog unless the action is "
298 #~ "mentioned in the \"/desktop/gnome/policykit/"
299 #~ "auth_dialog_retain_authorization_blacklist\" key."
300 #~ msgstr ""
301 #~ "Si s'estableix com a cert, la casella de verificació «manté "
302 #~ "l'autorització» està activada per defecte (si és que està present) en el "
303 #~ "diàleg d'autenticació, a no ser que l'acció aparegui a la clau «/desktop/"
304 #~ "gnome/policykit/auth_dialog_retain_authorization_blacklist»."
305
306 #~ msgid "Whether the authentication dialog should grab the keyboard"
307 #~ msgstr "Si el diàleg d'autenticació ha de capturar el teclat"
308
309 #~ msgid "Whether the retain authorization check box is checked by default"
310 #~ msgstr ""
311 #~ "Si la casella de verificació «manté l'autorització» està activada per "
312 #~ "defecte"
313
314 #~ msgid "Copyright © 2007 David Zeuthen"
315 #~ msgstr "Copyright © 2007 David Zeuthen"
316
317 #~ msgid "PolicyKit-gnome Website"
318 #~ msgstr "Lloc web del PolicyKit-gnome"
319
320 #~ msgid "PolicyKit-gnome demo"
321 #~ msgstr "Demostració del PolicyKit-gnome"
322
323 #~ msgid "PolicyKit for the GNOME desktop"
324 #~ msgstr "PolicyKit per a l'escriptori GNOME"
325
326 #~ msgid "_File"
327 #~ msgstr "_Fitxer"
328
329 #~ msgid "_Actions"
330 #~ msgstr "_Accions"
331
332 #~ msgid "_Help"
333 #~ msgstr "A_juda"
334
335 #~ msgid "_Quit"
336 #~ msgstr "_Surt"
337
338 #~ msgid "Quit"
339 #~ msgstr "Surt"
340
341 #~ msgid "_About"
342 #~ msgstr "_Quant a"
343
344 #~ msgid "About"
345 #~ msgstr "Quant a"
346
347 #~ msgid "Jump!"
348 #~ msgstr "Salta!"
349
350 #~ msgid ""
351 #~ "<i>Tip: try editing /etc/PolicyKit/Policy.conf and see the proxy widgets "
352 #~ "update in real-time.</i>."
353 #~ msgstr ""
354 #~ "<i>Consell: proveu d'editar el fitxer /etc/PolicyKit/Policz.conf i veureu "
355 #~ "com els ginys intermediaris s'actualitzen en temps real.</i>"
356
357 #~ msgid "Toggle"
358 #~ msgstr "Commuta"
359
360 #~ msgid "Authenticating..."
361 #~ msgstr "S'està autenticant..."
362
363 #~ msgid "Don't exit after 30 seconds of inactivity"
364 #~ msgstr "No surtis després de 30 segons d'inactivitat"
365
366 #~ msgid "PolicyKit GNOME session daemon"
367 #~ msgstr "Dimoni de sessió del PolicyKit GNOME"
368
369 #~ msgid "Starting PolicyKit GNOME session daemon version %s"
370 #~ msgstr "S'està iniciant el dimoni de sessió del PolicyKit GNOME, versió %s"
371
372 #~ msgid "_Remember authorization for this session"
373 #~ msgstr "_Recorda l'autorització durant aquesta sessió"
374
375 #~ msgid "_Remember authorization"
376 #~ msgstr "_Recorda l'autorització"
377
378 #~ msgid "For this _session only"
379 #~ msgstr "Només durant aquesta _sessió"
380
381 #~ msgid "<small><b>Application:</b></small>"
382 #~ msgstr "<small><b>Aplicació:</b></small>"
383
384 #~ msgid "(unknown"
385 #~ msgstr "(desconegut"
386
387 #~ msgid "_Password for root:"
388 #~ msgstr "_Contrasenya per a l'usuari primari:"
389
390 #~ msgid "_Password or swipe finger for %s:"
391 #~ msgstr "_Contrasenya o empremta digital per a %s:"
392
393 #~ msgid "_Password or swipe finger for root:"
394 #~ msgstr "_Contrasenya o empremta digital per a l'usuari primari:"
395
396 #~ msgid "_Password or swipe finger:"
397 #~ msgstr "_Contrasenya o empremta digital:"
398
399 #~ msgid "No"
400 #~ msgstr "No"
401
402 #~ msgid "Admin Authentication (one shot)"
403 #~ msgstr "Autenticació d'administrador (només aquesta vegada)"
404
405 #~ msgid "Admin Authentication (keep session)"
406 #~ msgstr "Autenticació d'administrador (manté durant la sessió)"
407
408 #~ msgid "Admin Authentication (keep indefinitely)"
409 #~ msgstr "Autenticació d'administrador (manté indefinidament)"
410
411 #~ msgid "Authentication (one shot)"
412 #~ msgstr "Autenticació (només aquesta vegada)"
413
414 #~ msgid "Authentication (keep session)"
415 #~ msgstr "Autenticació (manté durant la sessió)"
416
417 #~ msgid "Authentication (keep indefinitely)"
418 #~ msgstr "Autenticació (manté indefinidament)"
419
420 #~ msgid "Yes"
421 #~ msgstr "Sí"
422
423 #~ msgid ", "
424 #~ msgstr ", "
425
426 #~ msgid "Must be on console"
427 #~ msgstr "Ha d'estar a la consola"
428
429 #~ msgid "Must be in active session"
430 #~ msgstr "Ha d'estar a la sessió activa"
431
432 #~ msgid "Must be program %s"
433 #~ msgstr "Ha de ser el programa %s"
434
435 #~ msgid "Must be SELinux Context %s"
436 #~ msgstr "Ha de ser el context del SELinux %s"
437
438 #~ msgid "A moment ago"
439 #~ msgstr "Fa un moment"
440
441 #~ msgid "1 minute ago"
442 #~ msgstr "Fa 1 minut"
443
444 #~ msgid "%d minutes ago"
445 #~ msgstr "Fa %d minuts"
446
447 #~ msgid "1 hour ago"
448 #~ msgstr "Fa 1 hora"
449
450 #~ msgid "%d hours ago"
451 #~ msgstr "Fa %d hores"
452
453 #~ msgid "1 day ago"
454 #~ msgstr "Fa 1 dia"
455
456 #~ msgid "%d days ago"
457 #~ msgstr "Fa %d dies"
458
459 #~ msgid "Auth as %s (uid %d)"
460 #~ msgstr "Autenticat com a %s (UID %d)"
461
462 #~ msgid "Auth as uid %d"
463 #~ msgstr "Autenticat com a UID %d"
464
465 #~ msgid "Blocked by %s (uid %d)"
466 #~ msgstr "Blocat per %s (UID %d)"
467
468 #~ msgid "Blocked by uid %d"
469 #~ msgstr "Blocat per l'UID %d"
470
471 #~ msgid "Granted by %s (uid %d)"
472 #~ msgstr "Atorgat per %s (UID %d)"
473
474 #~ msgid "Granted by uid %d"
475 #~ msgstr "Atorgat per l'UID %d"
476
477 #~ msgid "Single shot pid %d (%s)"
478 #~ msgstr "PID %d (%s) una sola vegada"
479
480 #~ msgid "pid %d (%s)"
481 #~ msgstr "PID %d (%s)"
482
483 #~ msgid "This session"
484 #~ msgstr "Durant aquesta sessió"
485
486 #~ msgid "Always"
487 #~ msgstr "Sempre"
488
489 #~ msgid "None"
490 #~ msgstr "Cap"
491
492 #~ msgid "Grant Negative Authorization"
493 #~ msgstr "Atorga una autorització negativa"
494
495 #~ msgid "Grant Authorization"
496 #~ msgstr "Atorga l'autorització"
497
498 #~ msgid ""
499 #~ "<b><big>Granting a negative authorization for the <i>%s</i> action "
500 #~ "requires more information</big></b>"
501 #~ msgstr ""
502 #~ "<b><big>Cal més informació per a poder atorgar l'autorització negativa "
503 #~ "per a l'acció <i>%s</i></big></b>"
504
505 #~ msgid ""
506 #~ "<b><big>Granting an authorization for the <i>%s</i> action requires more "
507 #~ "information</big></b>"
508 #~ msgstr ""
509 #~ "<b><big>Cal més informació per a poder atorgar l'autorització per a "
510 #~ "l'acció <i>%s</i></big></b>"
511
512 #~ msgid ""
513 #~ "Select the user to block for the action and, optionally, any constraints "
514 #~ "on the negative authorization that you are about to grant."
515 #~ msgstr ""
516 #~ "Seleccioneu l'usuari per al qual es blocarà l'acció i, de manera "
517 #~ "opcional, com s'haurà de limitar l'autorització negativa que esteu a punt "
518 #~ "d'atorgar."
519
520 #~ msgid ""
521 #~ "Select the beneficiary and, optionally, how to constrain the "
522 #~ "authorization that you are about to grant."
523 #~ msgstr ""
524 #~ "Seleccioneu el beneficiari i, de manera opcional, com s'haurà de limitar "
525 #~ "l'autorització que esteu a punt d'atorgar."
526
527 #~ msgid "<b>Beneficiary</b>"
528 #~ msgstr "<b>Beneficiari</b>"
529
530 #~ msgid "Select the user that will receive the negative authorization."
531 #~ msgstr "Seleccioneu l'usuari que rebrà l'autorització negativa."
532
533 #~ msgid "Select the user that will receive the authorization."
534 #~ msgstr "Seleccioneu l'usuari que rebrà l'autorització."
535
536 #~ msgid "_Show system users"
537 #~ msgstr "_Mostra els usuaris de sistema"
538
539 #~ msgid "<b>Constraints</b>"
540 #~ msgstr "<b>Restriccions</b>"
541
542 #~ msgid ""
543 #~ "Constraints limits the authorization such that it only applies under "
544 #~ "certain circumstances."
545 #~ msgstr ""
546 #~ "Les restriccions limiten l'autorització de manera que només s'atorgarà "
547 #~ "sota determinades circumstàncies."
548
549 #~ msgid "_None"
550 #~ msgstr "_Cap"
551
552 #~ msgid "Must be _in active session"
553 #~ msgstr "Ha d'estar a la sessió act_iva"
554
555 #~ msgid "Must be on _local console"
556 #~ msgstr "Ha d'estar a la consola _local"
557
558 #~ msgid "Must be in _active session on local console"
559 #~ msgstr "Ha d'estar a la sessió _activa de la consola local"
560
561 #~ msgid "_Block..."
562 #~ msgstr "_Bloca..."
563
564 #~ msgid "_Grant..."
565 #~ msgstr "_Atorga..."
566
567 #~ msgid "Edit Implicit Authorizations"
568 #~ msgstr "Edita les autoritzacions implícites"
569
570 #~ msgid "<b><big>Choose new implicit authorizations</big></b>"
571 #~ msgstr "<b><big>Escolliu les autoritzacions implícites noves</big></b>"
572
573 #~ msgid ""
574 #~ "Implicit authorizations are authorizations that are granted automatically "
575 #~ "to users under certain circumstances. Choose what is required for the "
576 #~ "action <i>%s</i>."
577 #~ msgstr ""
578 #~ "Les autoritzacions implícites són aquelles que s'atorguen automàticament "
579 #~ "als usuaris en determinades circumstàncies. Escolliu què cal per a "
580 #~ "l'acció <i>%s</i>."
581
582 #~ msgid "<i>Anyone:</i>"
583 #~ msgstr "<i>Qualsevol:</i>"
584
585 #~ msgid "<i>Console:</i>"
586 #~ msgstr "<i>Consola:</i>"
587
588 #~ msgid "<i>Active Console:</i>"
589 #~ msgstr "<i>Consola activa:</i>"
590
591 #~ msgid "_Modify..."
592 #~ msgstr "_Modifica..."
593
594 #~ msgid "<b>Action</b>"
595 #~ msgstr "<b>Acció</b>"
596
597 #~ msgid "<i>Description:</i>"
598 #~ msgstr "<i>Descripció:</i>"
599
600 #~ msgid "<i>Vendor:</i>"
601 #~ msgstr "<i>Proveïdor</i>"
602
603 #~ msgid "<b>Implicit Authorizations</b>"
604 #~ msgstr "<b>Autoritzacions implícites</b>"
605
606 #~ msgid ""
607 #~ "Implicit authorizations are authorizations automatically given to users "
608 #~ "based on certain criteria such as if they are on the local console."
609 #~ msgstr ""
610 #~ "Les autoritzacions implícites són aquelles que s'atorguen automàticament "
611 #~ "als usuaris seguint certs criteris, com ara si són a la consola local."
612
613 #~ msgid "_Edit..."
614 #~ msgstr "_Edita..."
615
616 #~ msgid "Revert To _Defaults..."
617 #~ msgstr "Torna als valors _predeterminats..."
618
619 #~ msgid "<b>Explicit Authorizations</b>"
620 #~ msgstr "<b>Autoritzacions explícites</b>"
621
622 #~ msgid ""
623 #~ "This list displays authorizations that are either obtained through "
624 #~ "authentication or specifically given to the entity in question. Blocked "
625 #~ "authorizations are marked with a STOP sign."
626 #~ msgstr ""
627 #~ "Aquesta llista mostra autoritzacions que o bé s'han obtingut a través de "
628 #~ "l'autenticació, o bé s'han atorgat específicament a l'entitat en qüestió. "
629 #~ "Les autoritzacions blocades estan marcades amb un signe d'stop."
630
631 #~ msgid "Entity"
632 #~ msgstr "Entitat"
633
634 #~ msgid "Scope"
635 #~ msgstr "Àmbit"
636
637 #~ msgid "How"
638 #~ msgstr "Com"
639
640 #~ msgid "Constraints"
641 #~ msgstr "Restriccions"
642
643 #~ msgid "_Revoke"
644 #~ msgstr "_Revoca"
645
646 #~ msgid "_Revoke..."
647 #~ msgstr "_Revoca..."
648
649 #~ msgid "_Show authorizations from all users..."
650 #~ msgstr "_Mostra les autoritzacions de tots els usuaris..."
651
652 #~ msgid "_Show authorizations from all users"
653 #~ msgstr "_Mostra les autoritzacions de tots els usuaris"
654
655 #~ msgid "Select an action"
656 #~ msgstr "Seleccioneu una acció"
657
658 #~ msgid "Must be on active console"
659 #~ msgstr "Ha d'estar a la consola activa"
660
661 #~ msgid "Grant"
662 #~ msgstr "Atorga"
+370
-718
po/he.po less more
66 msgstr ""
77 "Project-Id-Version: PolicyKit-gnome\n"
88 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2008-05-12 18:35+0000\n"
10 "PO-Revision-Date: 2008-05-24 16:53+0200\n"
11 "Last-Translator: Mark Krapivner <mark125@gmail.com>\n"
9 "POT-Creation-Date: 2010-09-26 23:27+0200\n"
10 "PO-Revision-Date: 2010-09-26 23:35+0200\n"
11 "Last-Translator: Yaron Shahrabani <sh.yaron@gmail.com>\n"
1212 "Language-Team: \n"
1313 "MIME-Version: 1.0\n"
1414 "Content-Type: text/plain; charset=UTF-8\n"
1616 "X-Poedit-Language: Hebrew\n"
1717 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1818
19 #: ../data/polkit-gnome-authorization.desktop.in.h:1
20 #: ../tools/polkit-gnome-authorization.c:2443
21 msgid "Authorizations"
22 msgstr "הרשאות"
23
24 #: ../data/polkit-gnome-authorization.desktop.in.h:2
25 msgid "Configure authorizations"
26 msgstr "הגדרת הרשאות"
27
28 #: ../data/polkit-gnome.schemas.in.h:1
29 msgid ""
30 "If set to true, the authentication dialog from PolicyKit-gnome will grab the "
31 "keyboard, so that you will not be able to type in other programs while the "
32 "dialog is active. Use this if your window manager does not focus the "
33 "authentication dialog automatically, and you want to avoid accidentally "
34 "typing passwords in other programs."
35 msgstr ""
36
37 #: ../data/polkit-gnome.schemas.in.h:2
38 msgid "Whether the authentication dialog should grab the keyboard"
39 msgstr ""
40
41 #: ../examples/polkit-gnome-example.c:137
42 msgid "Copyright © 2007 David Zeuthen"
43 msgstr "Copyright © 2007 David Zeuthen"
44
45 #: ../examples/polkit-gnome-example.c:138
46 msgid "PolicyKit-gnome Website"
47 msgstr "PolicyKit-gnome Website"
48
49 #: ../examples/polkit-gnome-example.c:140
50 #: ../examples/polkit-gnome-example.c:446
51 msgid "PolicyKit-gnome demo"
52 msgstr "PolicyKit-gnome demo"
53
54 #: ../examples/polkit-gnome-example.c:141
55 msgid "PolicyKit for the GNOME desktop"
56 msgstr "PolicyKit for the GNOME desktop"
57
58 #: ../examples/polkit-gnome-example.c:151
59 msgid "_File"
60 msgstr "_קובץ"
61
62 #. name, stock id, label
63 #: ../examples/polkit-gnome-example.c:152
64 msgid "_Actions"
65 msgstr "_פעולות"
66
67 #. name, stock id, label
68 #: ../examples/polkit-gnome-example.c:153
69 msgid "_Help"
70 msgstr "_עזרה"
71
72 #. name, stock id, label
73 #. name, stock id
74 #: ../examples/polkit-gnome-example.c:156
75 msgid "_Quit"
76 msgstr "י_ציאה"
77
78 #. label, accelerator
79 #: ../examples/polkit-gnome-example.c:157
80 msgid "Quit"
81 msgstr "יציאה"
82
83 #. name, stock id
84 #: ../examples/polkit-gnome-example.c:161
85 msgid "_About"
86 msgstr "_אודות"
87
88 #. label, accelerator
89 #: ../examples/polkit-gnome-example.c:162
90 msgid "About"
91 msgstr "אודות"
92
93 #: ../examples/polkit-gnome-example.c:243
94 msgid ""
95 "Making the helper <b>Frobnicate</b> requires the user to authenticate. The "
96 "authorization is kept for the life time of the process"
97 msgstr ""
98
99 #: ../examples/polkit-gnome-example.c:252
100 msgid "Frobnicate!"
101 msgstr ""
102
103 #: ../examples/polkit-gnome-example.c:267
104 msgid ""
105 "Making the helper <b>Jump</b> requires the user to authenticate. This is a "
106 "one-shot authorization."
107 msgstr ""
108
109 #: ../examples/polkit-gnome-example.c:275
110 msgid "Jump!"
111 msgstr ""
112
113 #: ../examples/polkit-gnome-example.c:290
114 msgid ""
115 "Making the helper <b>Tweak</b> requires a system administrator to "
116 "authenticate. This instance overrides the defaults set in "
117 "polkit_gnome_action_new()."
118 msgstr ""
119
120 #: ../examples/polkit-gnome-example.c:299
121 #: ../examples/polkit-gnome-example.c:320
122 msgid "Tweak!"
123 msgstr ""
124
125 #: ../examples/polkit-gnome-example.c:306
126 #: ../examples/org.gnome.policykit.examples.policy.in.h:17
127 msgid "Tweak"
128 msgstr ""
129
130 #: ../examples/polkit-gnome-example.c:307
131 msgid "Tweak (long)"
132 msgstr ""
133
134 #: ../examples/polkit-gnome-example.c:308
135 msgid "If your admin wasn't annoying, you could do this"
136 msgstr ""
137
138 #: ../examples/polkit-gnome-example.c:313
139 msgid "Tweak..."
140 msgstr ""
141
142 #: ../examples/polkit-gnome-example.c:314
143 msgid "Tweak... (long)"
144 msgstr ""
145
146 #: ../examples/polkit-gnome-example.c:315
147 msgid "Only card carrying tweakers can do this!"
148 msgstr ""
149
150 #: ../examples/polkit-gnome-example.c:321
151 msgid "Tweak! (long)"
152 msgstr ""
153
154 #: ../examples/polkit-gnome-example.c:322
155 msgid "Go ahead, tweak tweak tweak!"
156 msgstr ""
157
158 #: ../examples/polkit-gnome-example.c:339
159 msgid ""
160 "Making the helper <b>Twiddle</b> requires a system administrator to "
161 "authenticate. Once authenticated, this privilege can be retained "
162 "indefinitely."
163 msgstr ""
164
165 #: ../examples/polkit-gnome-example.c:348
166 msgid "Twiddle!"
167 msgstr ""
168
169 #: ../examples/polkit-gnome-example.c:363
170 msgid ""
171 "Making the helper <b>Punch</b> requires the user to authenticate. Once "
172 "authenticated, this privilege can be retained for the remainder of the "
173 "desktop session."
174 msgstr ""
175
176 #: ../examples/polkit-gnome-example.c:372
177 msgid "Punch!"
178 msgstr ""
179
180 #: ../examples/polkit-gnome-example.c:387
181 msgid ""
182 "The <b>Toggle</b> action demonstrates the use of PolicyKit to drive a "
183 "GtkToggleButton; it's an intuitive way to ask users to give up "
184 "authorizations when they are done with them. E.g. the button is 'pressed in' "
185 "exactlywhen the authorization is held. Toggling the button means obtaining "
186 "resp. revoking the authorization in question."
187 msgstr ""
188
189 #: ../examples/polkit-gnome-example.c:401
190 msgid "Click to make changes..."
191 msgstr ""
192
193 #: ../examples/polkit-gnome-example.c:402
19 #: ../polkitgtk/polkitlockbutton.c:458
20 msgid "Action Identifier"
21 msgstr "מזהה פעולה"
22
23 #: ../polkitgtk/polkitlockbutton.c:459
24 msgid "The action identifier to use for the button"
25 msgstr "מזהה הפעולה לשימוש ללחצן"
26
27 #: ../polkitgtk/polkitlockbutton.c:475
28 msgid "Is Authorized"
29 msgstr "מאומת"
30
31 #: ../polkitgtk/polkitlockbutton.c:476
32 msgid "Whether the process is authorized"
33 msgstr "האם התהליך מאומת"
34
35 #: ../polkitgtk/polkitlockbutton.c:491
36 msgid "Is Visible"
37 msgstr "גלוי"
38
39 #: ../polkitgtk/polkitlockbutton.c:492
40 msgid "Whether the widget is visible"
41 msgstr "האם פריט התצוגה גלוי"
42
43 #: ../polkitgtk/polkitlockbutton.c:507
44 msgid "Can Obtain"
45 msgstr "ניתן לקבל"
46
47 #: ../polkitgtk/polkitlockbutton.c:508
48 msgid "Whether authorization can be obtained"
49 msgstr "האם ניתן לקבל אימות"
50
51 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
52 msgid "Unlock Text"
53 msgstr "טקסט שחרור"
54
55 #: ../polkitgtk/polkitlockbutton.c:524
56 msgid "The text to display when prompting the user to unlock."
57 msgstr "הטקסט שיופיע בעת בקשת השחרור מהמשתמש."
58
59 #: ../polkitgtk/polkitlockbutton.c:525
60 msgid "Click to make changes"
61 msgstr "יש ללחוץ כדי לשנות"
62
63 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
64 msgid "Unlock Tooltip"
65 msgstr "עצת השחרור"
66
67 #: ../polkitgtk/polkitlockbutton.c:541
68 msgid "The tooltip to display when prompting the user to unlock."
69 msgstr "חלונית העצה שתופיע בעת בקשת השחרור מהמשתמש."
70
71 #: ../polkitgtk/polkitlockbutton.c:542
72 msgid "Authentication is needed to make changes."
73 msgstr "נדרש אימות כדי לבצע שינויים."
74
75 #: ../polkitgtk/polkitlockbutton.c:557
76 msgid "Lock Text"
77 msgstr "טקסט נעילה"
78
79 #: ../polkitgtk/polkitlockbutton.c:558
80 msgid "The text to display when prompting the user to lock."
81 msgstr "הטקסט שיופיע בעת בקשת הנעילה מהמשתמש."
82
83 #: ../polkitgtk/polkitlockbutton.c:559
19484 msgid "Click to prevent changes"
195 msgstr "לחץ כדי למנוע שינויים"
196
197 #: ../examples/polkit-gnome-example.c:422
198 msgid ""
199 "<i>Tip: try editing /etc/PolicyKit/Policy.conf and see the proxy widgets "
200 "update in real-time.</i>."
201 msgstr ""
202
203 #: ../examples/org.gnome.policykit.examples.policy.in.h:1
204 msgid "Frobnicate"
205 msgstr ""
206
207 #: ../examples/org.gnome.policykit.examples.policy.in.h:2
208 msgid "Jump"
209 msgstr ""
210
211 #: ../examples/org.gnome.policykit.examples.policy.in.h:3
212 msgid "Kick bar"
213 msgstr ""
214
215 #: ../examples/org.gnome.policykit.examples.policy.in.h:4
216 msgid "Kick baz"
217 msgstr ""
218
219 #: ../examples/org.gnome.policykit.examples.policy.in.h:5
220 msgid "Kick foo"
221 msgstr ""
222
223 #: ../examples/org.gnome.policykit.examples.policy.in.h:6
224 msgid "Punch"
225 msgstr ""
226
227 #: ../examples/org.gnome.policykit.examples.policy.in.h:7
228 msgid ""
229 "System policy prevents the PolicyKit-gnome example helper from Frobnicating"
230 msgstr ""
231
232 #: ../examples/org.gnome.policykit.examples.policy.in.h:8
233 msgid "System policy prevents the PolicyKit-gnome example helper from Jumping"
234 msgstr ""
235
236 #: ../examples/org.gnome.policykit.examples.policy.in.h:9
237 msgid ""
238 "System policy prevents the PolicyKit-gnome example helper from Kicking bar"
239 msgstr ""
240
241 #: ../examples/org.gnome.policykit.examples.policy.in.h:10
242 msgid ""
243 "System policy prevents the PolicyKit-gnome example helper from Kicking baz"
244 msgstr ""
245
246 #: ../examples/org.gnome.policykit.examples.policy.in.h:11
247 msgid ""
248 "System policy prevents the PolicyKit-gnome example helper from Kicking foo"
249 msgstr ""
250
251 #: ../examples/org.gnome.policykit.examples.policy.in.h:12
252 msgid "System policy prevents the PolicyKit-gnome example helper from Punching"
253 msgstr ""
254
255 #: ../examples/org.gnome.policykit.examples.policy.in.h:13
256 msgid "System policy prevents the PolicyKit-gnome example helper from Toggling"
257 msgstr ""
258
259 #: ../examples/org.gnome.policykit.examples.policy.in.h:14
260 msgid "System policy prevents the PolicyKit-gnome example helper from Tweaking"
261 msgstr ""
262
263 #: ../examples/org.gnome.policykit.examples.policy.in.h:15
264 msgid ""
265 "System policy prevents the PolicyKit-gnome example helper from Twiddling"
266 msgstr ""
267
268 #: ../examples/org.gnome.policykit.examples.policy.in.h:16
269 msgid "Toggle"
270 msgstr ""
271
272 #: ../examples/org.gnome.policykit.examples.policy.in.h:18
273 msgid "Twiddle"
274 msgstr ""
275
276 #: ../polkit-gnome/polkit-gnome-toggle-action.c:400
277 #: ../polkit-gnome/polkit-gnome-toggle-action.c:401
278 msgid "Authenticating..."
279 msgstr "מאמת..."
280
281 #: ../src/main.c:139
282 msgid "Don't exit after 30 seconds of inactivity"
283 msgstr "Don't exit after 30 seconds of inactivity"
284
285 #: ../src/main.c:148
286 msgid "PolicyKit GNOME session daemon"
287 msgstr "PolicyKit GNOME session daemon"
288
289 #: ../src/main.c:174
290 #, c-format
291 msgid "Starting PolicyKit GNOME session daemon version %s"
292 msgstr "Starting PolicyKit GNOME session daemon version %s"
293
294 #: ../src/polkit-gnome-auth-dialog.c:190
295 #: ../tools/polkit-gnome-authorization.c:649
85 msgstr "יש ללחוץ כדי למנוע שינויים"
86
87 #: ../polkitgtk/polkitlockbutton.c:574
88 msgid "Lock Tooltip"
89 msgstr "עצת הנעילה"
90
91 #: ../polkitgtk/polkitlockbutton.c:575
92 msgid "The tooltip to display when prompting the user to lock."
93 msgstr "חלונית העצה שתופיע בעת בקשת הנעילה מהמשתמש."
94
95 #: ../polkitgtk/polkitlockbutton.c:576
96 msgid "To prevent further changes, click the lock."
97 msgstr "כדי למנוע שינויים נוספים, יש ללחוץ על נעילה."
98
99 #: ../polkitgtk/polkitlockbutton.c:591
100 msgid "Lock Down Text"
101 msgstr "טקסט נעילה כללית"
102
103 #: ../polkitgtk/polkitlockbutton.c:592
104 msgid ""
105 "The text to display when prompting the user to lock down the action for all "
106 "users."
107 msgstr "הטקסט שיופיע בעת בקשת נעילת הפעולות לכל המשתמשים."
108
109 #: ../polkitgtk/polkitlockbutton.c:593
110 msgid "Click to lock down"
111 msgstr "לחיצה לנעילה כללית"
112
113 #: ../polkitgtk/polkitlockbutton.c:608
114 msgid "Lock Down Tooltip"
115 msgstr "עצה לנעילה כללית"
116
117 #: ../polkitgtk/polkitlockbutton.c:609
118 msgid ""
119 "The tooltip to display when prompting the user to lock down the action for "
120 "all users."
121 msgstr "חלונית העצה שתופיע בעת ברשת נעילת הפעולות לכל המשתמשים."
122
123 #: ../polkitgtk/polkitlockbutton.c:610
124 msgid ""
125 "To prevent users without administrative privileges from making changes, "
126 "click the lock."
127 msgstr "כדי למנוע ממשתמשים ללא הרשאות ניהול לבצע שינויים, יש ללחוץ על נעילה."
128
129 #: ../polkitgtk/polkitlockbutton.c:626
130 msgid ""
131 "The text to display when the user cannot obtain authorization through "
132 "authentication."
133 msgstr "הטקסט שיוצר כאשר המשתמש לא יכול להשיג אישור דרך אימות."
134
135 #: ../polkitgtk/polkitlockbutton.c:627
136 msgid "Not authorized to make changes"
137 msgstr "ללא הרשאה לביצוע שינויים"
138
139 #: ../polkitgtk/polkitlockbutton.c:643
140 msgid ""
141 "The tooltip to display when the user cannot obtain authorization through "
142 "authentication."
143 msgstr "חלונית העצה שתוצג כאשר המשתמש לא יכול לקבל אישור באמצעות אימות."
144
145 #: ../polkitgtk/polkitlockbutton.c:644
146 msgid "System policy prevents changes. Contact your system administator."
147 msgstr "מדיניות המערכת מונעת שינויים. נא ליצור קשר עם מנהל המערכת."
148
149 #: ../src/main.c:128
150 msgid "Click the icon to drop all elevated privileges"
151 msgstr "יש ללחוץ על הסמל כדי להשמיט את כל ההרשאות המיוחדות"
152
153 #: ../src/polkitgnomeauthenticationdialog.c:159
296154 msgid "Select user..."
297 msgstr "בחר משתמש"
298
299 #: ../src/polkit-gnome-auth-dialog.c:211
300 #: ../tools/polkit-gnome-authorization.c:665
155 msgstr "בחירת משתמש..."
156
157 #: ../src/polkitgnomeauthenticationdialog.c:194
301158 #, c-format
302159 msgid "%s (%s)"
303160 msgstr "%s (%s)"
304161
305 #: ../src/polkit-gnome-auth-dialog.c:292
306 msgid "_Remember authorization for this session"
307 msgstr "_זכור הרשאה עבור הפעלה זו"
308
309 #: ../src/polkit-gnome-auth-dialog.c:298
310 msgid "_Remember authorization"
311 msgstr "_זכור הרשאה"
312
313 #: ../src/polkit-gnome-auth-dialog.c:313
162 #: ../src/polkitgnomeauthenticationdialog.c:531
163 msgid "_Authenticate"
164 msgstr "_אימות"
165
166 #: ../src/polkitgnomeauthenticationdialog.c:571
314167 msgid ""
315168 "An application is attempting to perform an action that requires privileges. "
316169 "Authentication as one of the users below is required to perform this action."
317170 msgstr ""
318 "היישום מנסה לבצע פעולה שדורשת הרשאות. נדרש אימות כאחד המשתמשים למטה כדי לבצע "
319 "את פעולה זאת."
320
321 #: ../src/polkit-gnome-auth-dialog.c:320
171 "היישום מנסה לבצע פעולה שדורשת הרשאות. נדרש אימות כאחד המשתמשים שלהלן כדי "
172 "לבצע פעולה זאת."
173
174 #: ../src/polkitgnomeauthenticationdialog.c:579
175 msgid ""
176 "An application is attempting to perform an action that requires privileges. "
177 "Authentication is required to perform this action."
178 msgstr "היישום מנסה לבצע פעולה שדורשת הרשאות. נדרש אימות כדי לבצע פעולה זאת."
179
180 #: ../src/polkitgnomeauthenticationdialog.c:585
322181 msgid ""
323182 "An application is attempting to perform an action that requires privileges. "
324183 "Authentication as the super user is required to perform this action."
325184 msgstr ""
326 "היישום מנסה לבצע פעולה שדורשת הרשאות. נדרש אימות של כמנהל המערכת כדי לבצע את "
327 "פעולה זאת."
328
329 #: ../src/polkit-gnome-auth-dialog.c:324
330 msgid ""
331 "An application is attempting to perform an action that requires privileges. "
332 "Authentication is required to perform this action."
333 msgstr ""
334 "היישום מנסה לבצע פעולה שדורשת הרשאות. נדרש אימות כדי לבצע את פעולה זאת."
335
336 #: ../src/polkit-gnome-auth-dialog.c:348
185 "היישום מנסה לבצע פעולה שדורשת הרשאות. נדרש אימות כמנהל המערכת כדי לבצע פעולה "
186 "זאת."
187
188 #: ../src/polkitgnomeauthenticationdialog.c:620
189 #: ../src/polkitgnomeauthenticator.c:298
190 msgid "_Password:"
191 msgstr "_ססמה:"
192
193 #. Details
194 #: ../src/polkitgnomeauthenticationdialog.c:638
195 msgid "<small><b>_Details</b></small>"
196 msgstr "<small><b>_פרטים</b></small>"
197
198 #: ../src/polkitgnomeauthenticationdialog.c:691
199 msgid "<small><b>Action:</b></small>"
200 msgstr "<small><b>פעולה:</b></small>"
201
202 #: ../src/polkitgnomeauthenticationdialog.c:694
337203 #, c-format
338204 msgid "Click to edit %s"
339 msgstr ""
340
341 #: ../src/polkit-gnome-auth-dialog.c:371
342 #: ../tools/polkit-gnome-authorization.c:1391
205 msgstr "יש ללחוץ לעריכת %s"
206
207 #: ../src/polkitgnomeauthenticationdialog.c:708
208 msgid "<small><b>Vendor:</b></small>"
209 msgstr "<small><b>ספק:</b></small>"
210
211 #: ../src/polkitgnomeauthenticationdialog.c:710
343212 #, c-format
344213 msgid "Click to open %s"
345 msgstr ""
346
347 #: ../src/polkit-gnome-auth-dialog.c:600
348 msgid "_Authenticate"
349 msgstr "_אימות"
350
351 #: ../src/polkit-gnome-auth-dialog.c:659 ../src/polkit-gnome-manager.c:686
352 #: ../src/polkit-gnome-manager.c:735
353 msgid "_Password:"
354 msgstr "_סיסמה:"
355
356 #: ../src/polkit-gnome-auth-dialog.c:681
357 msgid "For this _session only"
358 msgstr "עבור _הפעלה נוכחית בלבד"
359
360 #: ../src/polkit-gnome-auth-dialog.c:689
361 msgid "<small><b>_Details</b></small>"
362 msgstr "<small><b>_פרטים</b></small>"
363
364 #: ../src/polkit-gnome-auth-dialog.c:710
365 msgid "<small><b>Application:</b></small>"
366 msgstr "<small><b>יישום:</b></small>"
367
368 #: ../src/polkit-gnome-auth-dialog.c:714
369 msgid "<small><b>Action:</b></small>"
370 msgstr "<small><b>פעולה:</b></small>"
371
372 #: ../src/polkit-gnome-auth-dialog.c:719
373 msgid "<small><b>Vendor:</b></small>"
374 msgstr "<small><b>ספק:</b></small>"
375
376 #: ../src/polkit-gnome-auth-dialog.c:848
214 msgstr "יש ללחוץ לפתיחת %s"
215
216 #: ../src/polkitgnomeauthenticationdialog.c:873
377217 msgid "Authenticate"
378218 msgstr "אימות"
379219
380 #: ../src/polkit-gnome-manager.c:367
381 msgid "(unknown"
382 msgstr ""
383
384 #: ../src/polkit-gnome-manager.c:730
220 #: ../src/polkitgnomeauthenticator.c:294
385221 #, c-format
386222 msgid "_Password for %s:"
387 msgstr "_סיסמה עבור %s:"
388
389 #: ../src/polkit-gnome-manager.c:732
390 msgid "_Password for root:"
391 msgstr "_סיסמה עבור מנהל המערכת:"
392
393 #: ../src/polkit-gnome-manager.c:740
394 #, c-format
395 msgid "_Password or swipe finger for %s:"
396 msgstr ""
397
398 #: ../src/polkit-gnome-manager.c:743
399 msgid "_Password or swipe finger for root:"
400 msgstr ""
401
402 #: ../src/polkit-gnome-manager.c:746
403 msgid "_Password or swipe finger:"
404 msgstr ""
405
406 #: ../tools/polkit-gnome-authorization.c:117
407 msgid "No"
408 msgstr "לא"
409
410 #: ../tools/polkit-gnome-authorization.c:119
411 msgid "Admin Authentication (one shot)"
412 msgstr ""
413
414 #: ../tools/polkit-gnome-authorization.c:120
415 msgid "Admin Authentication"
416 msgstr ""
417
418 #: ../tools/polkit-gnome-authorization.c:121
419 msgid "Admin Authentication (keep session)"
420 msgstr ""
421
422 #: ../tools/polkit-gnome-authorization.c:122
423 msgid "Admin Authentication (keep indefinitely)"
424 msgstr ""
425
426 #: ../tools/polkit-gnome-authorization.c:124
427 msgid "Authentication (one shot)"
428 msgstr ""
429
430 #: ../tools/polkit-gnome-authorization.c:125
431 msgid "Authentication"
432 msgstr ""
433
434 #: ../tools/polkit-gnome-authorization.c:126
435 msgid "Authentication (keep session)"
436 msgstr ""
437
438 #: ../tools/polkit-gnome-authorization.c:127
439 msgid "Authentication (keep indefinitely)"
440 msgstr ""
441
442 #: ../tools/polkit-gnome-authorization.c:129
443 msgid "Yes"
444 msgstr "כן"
445
446 #: ../tools/polkit-gnome-authorization.c:272
447 msgid ", "
448 msgstr ", "
449
450 #: ../tools/polkit-gnome-authorization.c:276
451 msgid "Must be on console"
452 msgstr ""
453
454 #: ../tools/polkit-gnome-authorization.c:279
455 msgid "Must be in active session"
456 msgstr ""
457
458 #: ../tools/polkit-gnome-authorization.c:282
459 #, c-format
460 msgid "Must be program %s"
461 msgstr ""
462
463 #: ../tools/polkit-gnome-authorization.c:286
464 #, c-format
465 msgid "Must be SELinux Context %s"
466 msgstr ""
467
468 #: ../tools/polkit-gnome-authorization.c:344
469 msgid "A moment ago"
470 msgstr "לפני רגע"
471
472 #: ../tools/polkit-gnome-authorization.c:348
473 msgid "1 minute ago"
474 msgstr "לפני דקה אחת"
475
476 #: ../tools/polkit-gnome-authorization.c:350
477 #, c-format
478 msgid "%d minutes ago"
479 msgstr "לפני %d דקות"
480
481 #: ../tools/polkit-gnome-authorization.c:354
482 msgid "1 hour ago"
483 msgstr "לפני שעה אחת"
484
485 #: ../tools/polkit-gnome-authorization.c:356
486 #, c-format
487 msgid "%d hours ago"
488 msgstr "לפני %d שעות"
489
490 #: ../tools/polkit-gnome-authorization.c:360
491 msgid "1 day ago"
492 msgstr "לפני יום אחד"
493
494 #: ../tools/polkit-gnome-authorization.c:362
495 #, c-format
496 msgid "%d days ago"
497 msgstr "לפני %d ימים"
498
499 #: ../tools/polkit-gnome-authorization.c:379
500 #, c-format
501 msgid "Auth as %s (uid %d)"
502 msgstr ""
503
504 #: ../tools/polkit-gnome-authorization.c:381
505 #, c-format
506 msgid "Auth as uid %d"
507 msgstr ""
508
509 #: ../tools/polkit-gnome-authorization.c:387
510 #, c-format
511 msgid "Blocked by %s (uid %d)"
512 msgstr ""
513
514 #: ../tools/polkit-gnome-authorization.c:389
515 #, c-format
516 msgid "Blocked by uid %d"
517 msgstr ""
518
519 #: ../tools/polkit-gnome-authorization.c:392
520 #, c-format
521 msgid "Granted by %s (uid %d)"
522 msgstr ""
523
524 #: ../tools/polkit-gnome-authorization.c:394
525 #, c-format
526 msgid "Granted by uid %d"
527 msgstr ""
528
529 #: ../tools/polkit-gnome-authorization.c:409
530 #, c-format
531 msgid "Single shot pid %d (%s)"
532 msgstr ""
533
534 #: ../tools/polkit-gnome-authorization.c:415
535 #, c-format
536 msgid "pid %d (%s)"
537 msgstr ""
538
539 #: ../tools/polkit-gnome-authorization.c:418
540 msgid "This session"
541 msgstr "הפעלה נוכחית"
542
543 #: ../tools/polkit-gnome-authorization.c:421
544 msgid "Always"
545 msgstr "תמיד"
546
547 #: ../tools/polkit-gnome-authorization.c:431
548 msgid "None"
549 msgstr "ללא"
550
551 #: ../tools/polkit-gnome-authorization.c:827
552 msgid "Grant Negative Authorization"
553 msgstr ""
554
555 #: ../tools/polkit-gnome-authorization.c:827
556 msgid "Grant Authorization"
557 msgstr ""
558
559 #: ../tools/polkit-gnome-authorization.c:850
560 #, c-format
561 msgid ""
562 "<b><big>Granting a negative authorization for the <i>%s</i> action requires "
563 "more information</big></b>"
564 msgstr ""
565
566 #: ../tools/polkit-gnome-authorization.c:851
567 #, c-format
568 msgid ""
569 "<b><big>Granting an authorization for the <i>%s</i> action requires more "
570 "information</big></b>"
571 msgstr ""
572
573 #: ../tools/polkit-gnome-authorization.c:862
574 msgid ""
575 "Select the user to block for the action and, optionally, any constraints on "
576 "the negative authorization that you are about to grant."
577 msgstr ""
578
579 #: ../tools/polkit-gnome-authorization.c:864
580 msgid ""
581 "Select the beneficiary and, optionally, how to constrain the authorization "
582 "that you are about to grant."
583 msgstr ""
584
585 #: ../tools/polkit-gnome-authorization.c:875
586 msgid "<b>Beneficiary</b>"
587 msgstr ""
588
589 #: ../tools/polkit-gnome-authorization.c:887
590 msgid "Select the user that will receive the negative authorization."
591 msgstr ""
592
593 #: ../tools/polkit-gnome-authorization.c:889
594 msgid "Select the user that will receive the authorization."
595 msgstr ""
596
597 #: ../tools/polkit-gnome-authorization.c:898
598 msgid "_Show system users"
599 msgstr "_הצג משתמשי מערכת"
600
601 #: ../tools/polkit-gnome-authorization.c:913
602 msgid "<b>Constraints</b>"
603 msgstr ""
604
605 #: ../tools/polkit-gnome-authorization.c:924
606 msgid ""
607 "Constraints limits the authorization such that it only applies under certain "
608 "circumstances."
609 msgstr ""
610
611 #: ../tools/polkit-gnome-authorization.c:930
612 msgid "_None"
613 msgstr "_ללא"
614
615 #: ../tools/polkit-gnome-authorization.c:932
616 msgid "Must be _in active session"
617 msgstr "חייב להיות _בהפעלה פעילה"
618
619 #: ../tools/polkit-gnome-authorization.c:934
620 msgid "Must be on _local console"
621 msgstr "חייב להיות על מסוף _מקומי"
622
623 #: ../tools/polkit-gnome-authorization.c:936
624 msgid "Must be in _active session on local console"
625 msgstr "חייב להיות בהפעלה _פעילה או על מסוף מקומי"
626
627 #: ../tools/polkit-gnome-authorization.c:957
628 #: ../tools/polkit-gnome-authorization.c:2133
629 msgid "_Block..."
630 msgstr "_חסום..."
631
632 #: ../tools/polkit-gnome-authorization.c:961
633 #: ../tools/polkit-gnome-authorization.c:2126
634 msgid "_Grant..."
635 msgstr "_הענק..."
636
637 #: ../tools/polkit-gnome-authorization.c:1155
638 msgid "Edit Implicit Authorizations"
639 msgstr ""
640
641 #: ../tools/polkit-gnome-authorization.c:1176
642 msgid "<b><big>Choose new implicit authorizations</big></b>"
643 msgstr ""
644
645 #: ../tools/polkit-gnome-authorization.c:1190
646 #, c-format
647 msgid ""
648 "Implicit authorizations are authorizations that are granted automatically to "
649 "users under certain circumstances. Choose what is required for the action <i>"
650 "%s</i>."
651 msgstr ""
652
653 #: ../tools/polkit-gnome-authorization.c:1215
654 #: ../tools/polkit-gnome-authorization.c:1974
655 msgid "<i>Anyone:</i>"
656 msgstr "<i>כל אחד:</i>"
657
658 #: ../tools/polkit-gnome-authorization.c:1222
659 #: ../tools/polkit-gnome-authorization.c:1978
660 msgid "<i>Console:</i>"
661 msgstr "<i>מסוף:</i>"
662
663 #: ../tools/polkit-gnome-authorization.c:1229
664 #: ../tools/polkit-gnome-authorization.c:1982
665 msgid "<i>Active Console:</i>"
666 msgstr "<i>מסוף פעיל:</i>"
667
668 #: ../tools/polkit-gnome-authorization.c:1258
669 msgid "_Modify..."
670 msgstr "_שינוי..."
671
672 #: ../tools/polkit-gnome-authorization.c:1890
673 msgid "<b>Action</b>"
674 msgstr "<b>פעולה</b>"
675
676 #: ../tools/polkit-gnome-authorization.c:1905
677 msgid "<i>Identifier:</i>"
678 msgstr "<i>מזהה:</i>"
679
680 #: ../tools/polkit-gnome-authorization.c:1915
681 msgid "<i>Description:</i>"
682 msgstr "<i>תיאור:</i>"
683
684 #: ../tools/polkit-gnome-authorization.c:1925
685 msgid "<i>Vendor:</i>"
686 msgstr "<i>ספק:</i>"
687
688 #: ../tools/polkit-gnome-authorization.c:1951
689 msgid "<b>Implicit Authorizations</b>"
690 msgstr ""
691
692 #: ../tools/polkit-gnome-authorization.c:1959
693 msgid ""
694 "Implicit authorizations are authorizations automatically given to users "
695 "based on certain criteria such as if they are on the local console."
696 msgstr ""
697
698 #: ../tools/polkit-gnome-authorization.c:2002
699 msgid "_Edit..."
700 msgstr "_ערוך..."
701
702 #: ../tools/polkit-gnome-authorization.c:2009
703 msgid "Revert To _Defaults..."
704 msgstr "החזר ל_ברירת מחדל"
705
706 #: ../tools/polkit-gnome-authorization.c:2032
707 msgid "<b>Explicit Authorizations</b>"
708 msgstr "<b>הרשאות מוגדרות</b>"
709
710 #: ../tools/polkit-gnome-authorization.c:2043
711 msgid ""
712 "This list displays authorizations that are either obtained through "
713 "authentication or specifically given to the entity in question. Blocked "
714 "authorizations are marked with a STOP sign."
715 msgstr ""
716
717 #: ../tools/polkit-gnome-authorization.c:2073
718 msgid "Entity"
719 msgstr "ישות"
720
721 #: ../tools/polkit-gnome-authorization.c:2081
722 msgid "Scope"
723 msgstr "תחום"
724
725 #: ../tools/polkit-gnome-authorization.c:2089
726 msgid "Obtained"
727 msgstr "התקבל"
728
729 #: ../tools/polkit-gnome-authorization.c:2097
730 msgid "How"
731 msgstr "איך"
732
733 #: ../tools/polkit-gnome-authorization.c:2105
734 msgid "Constraints"
735 msgstr "אילוצים"
736
737 #: ../tools/polkit-gnome-authorization.c:2147
738 #: ../tools/polkit-gnome-authorization.c:2161
739 msgid "_Revoke"
740 msgstr "_שלילה"
741
742 #: ../tools/polkit-gnome-authorization.c:2154
743 msgid "_Revoke..."
744 msgstr "_שלילה..."
745
746 #: ../tools/polkit-gnome-authorization.c:2174
747 msgid "_Show authorizations from all users..."
748 msgstr ""
749
750 #: ../tools/polkit-gnome-authorization.c:2175
751 msgid "_Show authorizations from all users"
752 msgstr ""
753
754 #: ../tools/polkit-gnome-authorization.c:2417
755 msgid "Select an action"
756 msgstr "בחר פעולה"
223 msgstr "_ססמה עבור %s:"
224
225 #: ../src/polkitgnomeauthenticator.c:454
226 msgid "Authentication Failure"
227 msgstr "שגיאת אימות"
228
229 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
230 msgid "PolicyKit Authentication Agent"
231 msgstr "סוכן האימות PolicyKit"
232
233 #~ msgid "Authorizations"
234 #~ msgstr "הרשאות"
235
236 #~ msgid "Configure authorizations"
237 #~ msgstr "הגדרת הרשאות"
238
239 #~ msgid "Copyright © 2007 David Zeuthen"
240 #~ msgstr "Copyright © 2007 David Zeuthen"
241
242 #~ msgid "PolicyKit-gnome Website"
243 #~ msgstr "PolicyKit-gnome Website"
244
245 #~ msgid "PolicyKit-gnome demo"
246 #~ msgstr "PolicyKit-gnome demo"
247
248 #~ msgid "PolicyKit for the GNOME desktop"
249 #~ msgstr "PolicyKit for the GNOME desktop"
250
251 #~ msgid "_File"
252 #~ msgstr "_קובץ"
253
254 #~ msgid "_Actions"
255 #~ msgstr "_פעולות"
256
257 #~ msgid "_Help"
258 #~ msgstr "_עזרה"
259
260 #~ msgid "_Quit"
261 #~ msgstr "י_ציאה"
262
263 #~ msgid "Quit"
264 #~ msgstr "יציאה"
265
266 #~ msgid "_About"
267 #~ msgstr "_אודות"
268
269 #~ msgid "About"
270 #~ msgstr "אודות"
271
272 #~ msgid "Authenticating..."
273 #~ msgstr "מאמת..."
274
275 #~ msgid "Don't exit after 30 seconds of inactivity"
276 #~ msgstr "Don't exit after 30 seconds of inactivity"
277
278 #~ msgid "PolicyKit GNOME session daemon"
279 #~ msgstr "PolicyKit GNOME session daemon"
280
281 #~ msgid "Starting PolicyKit GNOME session daemon version %s"
282 #~ msgstr "Starting PolicyKit GNOME session daemon version %s"
283
284 #~ msgid "_Remember authorization for this session"
285 #~ msgstr "_זכור הרשאה עבור הפעלה זו"
286
287 #~ msgid "_Remember authorization"
288 #~ msgstr "_זכור הרשאה"
289
290 #~ msgid "For this _session only"
291 #~ msgstr "עבור _הפעלה נוכחית בלבד"
292
293 #~ msgid "<small><b>Application:</b></small>"
294 #~ msgstr "<small><b>יישום:</b></small>"
295
296 #~ msgid "_Password for root:"
297 #~ msgstr "_סיסמה עבור מנהל המערכת:"
298
299 #~ msgid "No"
300 #~ msgstr "לא"
301
302 #~ msgid "Yes"
303 #~ msgstr "כן"
304
305 #~ msgid ", "
306 #~ msgstr ", "
307
308 #~ msgid "A moment ago"
309 #~ msgstr "לפני רגע"
310
311 #~ msgid "1 minute ago"
312 #~ msgstr "לפני דקה אחת"
313
314 #~ msgid "%d minutes ago"
315 #~ msgstr "לפני %d דקות"
316
317 #~ msgid "1 hour ago"
318 #~ msgstr "לפני שעה אחת"
319
320 #~ msgid "%d hours ago"
321 #~ msgstr "לפני %d שעות"
322
323 #~ msgid "1 day ago"
324 #~ msgstr "לפני יום אחד"
325
326 #~ msgid "%d days ago"
327 #~ msgstr "לפני %d ימים"
328
329 #~ msgid "This session"
330 #~ msgstr "הפעלה נוכחית"
331
332 #~ msgid "Always"
333 #~ msgstr "תמיד"
334
335 #~ msgid "None"
336 #~ msgstr "ללא"
337
338 #~ msgid "_Show system users"
339 #~ msgstr "_הצג משתמשי מערכת"
340
341 #~ msgid "_None"
342 #~ msgstr "_ללא"
343
344 #~ msgid "Must be _in active session"
345 #~ msgstr "חייב להיות _בהפעלה פעילה"
346
347 #~ msgid "Must be on _local console"
348 #~ msgstr "חייב להיות על מסוף _מקומי"
349
350 #~ msgid "Must be in _active session on local console"
351 #~ msgstr "חייב להיות בהפעלה _פעילה או על מסוף מקומי"
352
353 #~ msgid "_Block..."
354 #~ msgstr "_חסום..."
355
356 #~ msgid "_Grant..."
357 #~ msgstr "_הענק..."
358
359 #~ msgid "<i>Anyone:</i>"
360 #~ msgstr "<i>כל אחד:</i>"
361
362 #~ msgid "<i>Console:</i>"
363 #~ msgstr "<i>מסוף:</i>"
364
365 #~ msgid "<i>Active Console:</i>"
366 #~ msgstr "<i>מסוף פעיל:</i>"
367
368 #~ msgid "_Modify..."
369 #~ msgstr "_שינוי..."
370
371 #~ msgid "<b>Action</b>"
372 #~ msgstr "<b>פעולה</b>"
373
374 #~ msgid "<i>Description:</i>"
375 #~ msgstr "<i>תיאור:</i>"
376
377 #~ msgid "<i>Vendor:</i>"
378 #~ msgstr "<i>ספק:</i>"
379
380 #~ msgid "_Edit..."
381 #~ msgstr "_ערוך..."
382
383 #~ msgid "Revert To _Defaults..."
384 #~ msgstr "החזר ל_ברירת מחדל"
385
386 #~ msgid "<b>Explicit Authorizations</b>"
387 #~ msgstr "<b>הרשאות מוגדרות</b>"
388
389 #~ msgid "Entity"
390 #~ msgstr "ישות"
391
392 #~ msgid "Scope"
393 #~ msgstr "תחום"
394
395 #~ msgid "How"
396 #~ msgstr "איך"
397
398 #~ msgid "Constraints"
399 #~ msgstr "אילוצים"
400
401 #~ msgid "_Revoke"
402 #~ msgstr "_שלילה"
403
404 #~ msgid "_Revoke..."
405 #~ msgstr "_שלילה..."
406
407 #~ msgid "Select an action"
408 #~ msgstr "בחר פעולה"
88 msgid ""
99 msgstr ""
1010 "Project-Id-Version: policykit-gnome\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2010-02-04 16:59-0300\n"
11 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
12 "product=policykit-gnome&component=general\n"
13 "POT-Creation-Date: 2010-08-03 18:15+0000\n"
1314 "PO-Revision-Date: 2009-12-30 15:27-0300\n"
1415 "Last-Translator: Enrico Nicoletto <liverig@gmail.com>\n"
15 "Language-Team: Brazilian ortuguese <gnome-pt_br-list@gnome.org>\n"
16 "Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
1617 "MIME-Version: 1.0\n"
1718 "Content-Type: text/plain; charset=UTF-8\n"
1819 "Content-Transfer-Encoding: 8bit\n"
2021 "X-Poedit-Language: Portuguese\n"
2122 "X-Poedit-Country: BRAZIL\n"
2223
23 #: ../polkitgtk/polkitlockbutton.c:460
24 #: ../polkitgtk/polkitlockbutton.c:450
2425 msgid "Action Identifier"
25 msgstr "Identificador da ação"
26
27 #: ../polkitgtk/polkitlockbutton.c:461
26 msgstr "Identificador de ação"
27
28 #: ../polkitgtk/polkitlockbutton.c:451
2829 msgid "The action identifier to use for the button"
2930 msgstr "O identificador de ação a ser usado para o botão"
3031
31 #: ../polkitgtk/polkitlockbutton.c:477
32 #: ../polkitgtk/polkitlockbutton.c:467
3233 msgid "Is Authorized"
3334 msgstr "Está autorizado"
3435
35 #: ../polkitgtk/polkitlockbutton.c:478
36 #: ../polkitgtk/polkitlockbutton.c:468
3637 msgid "Whether the process is authorized"
3738 msgstr "Se o processo está autorizado"
3839
39 #: ../polkitgtk/polkitlockbutton.c:493
40 #: ../polkitgtk/polkitlockbutton.c:483
4041 msgid "Is Visible"
4142 msgstr "Está visível"
4243
43 #: ../polkitgtk/polkitlockbutton.c:494
44 #: ../polkitgtk/polkitlockbutton.c:484
4445 msgid "Whether the widget is visible"
4546 msgstr "Se o widget está visível"
4647
47 #: ../polkitgtk/polkitlockbutton.c:509
48 #: ../polkitgtk/polkitlockbutton.c:499
4849 msgid "Can Obtain"
4950 msgstr "Pode obter"
5051
51 #: ../polkitgtk/polkitlockbutton.c:510
52 #: ../polkitgtk/polkitlockbutton.c:500
5253 msgid "Whether authorization can be obtained"
5354 msgstr "Se é possível obter autorização"
5455
55 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
56 #: ../polkitgtk/polkitlockbutton.c:515 ../polkitgtk/polkitlockbutton.c:617
5657 msgid "Unlock Text"
5758 msgstr "Texto de desbloqueio"
5859
59 #: ../polkitgtk/polkitlockbutton.c:526
60 #: ../polkitgtk/polkitlockbutton.c:516
6061 msgid "The text to display when prompting the user to unlock."
61 msgstr "O texto a ser exibido quando pedir ao usuário para desbloquear."
62
63 #: ../polkitgtk/polkitlockbutton.c:527
62 msgstr "O texto a ser exibido no diálogo de desbloqueio."
63
64 #: ../polkitgtk/polkitlockbutton.c:517
6465 msgid "Click to make changes"
6566 msgstr "Clique para efetuar alterações"
6667
67 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
68 #: ../polkitgtk/polkitlockbutton.c:532 ../polkitgtk/polkitlockbutton.c:634
6869 msgid "Unlock Tooltip"
69 msgstr "Desbloquear dicas de ferramenta"
70
71 #: ../polkitgtk/polkitlockbutton.c:543
70 msgstr "Dica de desbloqueio"
71
72 #: ../polkitgtk/polkitlockbutton.c:533
7273 msgid "The tooltip to display when prompting the user to unlock."
73 msgstr ""
74 "A dica de ferramenta a ser exibida quando pedir ao usuário para desbloquear."
75
76 #: ../polkitgtk/polkitlockbutton.c:544
74 msgstr "A dica a ser exibida no diálogo de desbloqueio."
75
76 #: ../polkitgtk/polkitlockbutton.c:534
7777 msgid "Authentication is needed to make changes."
78 msgstr "É necessária autenticação para realizar as alterações."
79
80 #: ../polkitgtk/polkitlockbutton.c:559
78 msgstr "É necessária autenticação para efetuar alterações."
79
80 #: ../polkitgtk/polkitlockbutton.c:549
8181 msgid "Lock Text"
8282 msgstr "Texto de bloqueio"
8383
84 #: ../polkitgtk/polkitlockbutton.c:560
84 #: ../polkitgtk/polkitlockbutton.c:550
8585 msgid "The text to display when prompting the user to lock."
86 msgstr "O texto a ser exibido quando pedir ao usuário para bloquear."
87
88 #: ../polkitgtk/polkitlockbutton.c:561
86 msgstr "O texto a ser exibido no diálogo de bloqueio."
87
88 #: ../polkitgtk/polkitlockbutton.c:551
8989 msgid "Click to prevent changes"
9090 msgstr "Clique para prevenir alterações"
9191
92 #: ../polkitgtk/polkitlockbutton.c:576
92 #: ../polkitgtk/polkitlockbutton.c:566
9393 msgid "Lock Tooltip"
94 msgstr "Bloquear dicas de ferramenta"
95
96 #: ../polkitgtk/polkitlockbutton.c:577
94 msgstr "Dica de bloqueio"
95
96 #: ../polkitgtk/polkitlockbutton.c:567
9797 msgid "The tooltip to display when prompting the user to lock."
98 msgstr ""
99 "A dica de ferramenta a ser exibida quando pedir ao usuário para bloquear."
100
101 #: ../polkitgtk/polkitlockbutton.c:578
98 msgstr "A dica a ser exibida no diálogo de bloqueio."
99
100 #: ../polkitgtk/polkitlockbutton.c:568
102101 msgid "To prevent further changes, click the lock."
103 msgstr "Para evitar alterações futuras, clique no cadeado."
104
105 #: ../polkitgtk/polkitlockbutton.c:593
102 msgstr "Para prevenir outras alterações, clique na fechadura."
103
104 #: ../polkitgtk/polkitlockbutton.c:583
106105 msgid "Lock Down Text"
107 msgstr "Bloquear texto"
108
109 #: ../polkitgtk/polkitlockbutton.c:594
106 msgstr "Texto de bloqueio seletivo"
107
108 #: ../polkitgtk/polkitlockbutton.c:584
110109 msgid ""
111110 "The text to display when prompting the user to lock down the action for all "
112111 "users."
113112 msgstr ""
114 "O texto a ser exibido quando solicitar ao usuário que bloqueie a ação para "
115 "todos os usuários."
116
117 #: ../polkitgtk/polkitlockbutton.c:595
113 "O texto a ser exibido no diálogo de bloqueio seletivo da ação para todos os "
114 "usuários."
115
116 #: ../polkitgtk/polkitlockbutton.c:585
118117 msgid "Click to lock down"
119 msgstr "Clique para bloquear"
120
121 #: ../polkitgtk/polkitlockbutton.c:610
118 msgstr "Clique para bloquear seletivamente"
119
120 #: ../polkitgtk/polkitlockbutton.c:600
122121 msgid "Lock Down Tooltip"
123 msgstr "Bloquear dicas de ferramenta"
124
125 #: ../polkitgtk/polkitlockbutton.c:611
122 msgstr "Dica de bloqueio seletivo"
123
124 #: ../polkitgtk/polkitlockbutton.c:601
126125 msgid ""
127126 "The tooltip to display when prompting the user to lock down the action for "
128127 "all users."
129128 msgstr ""
130 "A dica de ferramenta a ser exibida quando pedir ao usuário que bloqueie a "
131 "ação para todos os usuários."
132
133 #: ../polkitgtk/polkitlockbutton.c:612
129 "A dica a ser exibida no diálogo de bloqueio seletivo da ação para todos os "
130 "usuários."
131
132 #: ../polkitgtk/polkitlockbutton.c:602
134133 msgid ""
135134 "To prevent users without administrative privileges from making changes, "
136135 "click the lock."
137136 msgstr ""
138 "Para evitar que usuários sem privilégios administrativos realizem "
139 "alterações, clique no cadeado."
140
141 #: ../polkitgtk/polkitlockbutton.c:628
137 "Para prevenir que usuários sem privilégios administrativos façam alterações, "
138 "clique na fechadura."
139
140 #: ../polkitgtk/polkitlockbutton.c:618
142141 msgid ""
143142 "The text to display when the user cannot obtain authorization through "
144143 "authentication."
145144 msgstr ""
146 "O texto a ser exibido quando o usuário não puder obter autorização através "
147 "da autenticação."
148
149 #: ../polkitgtk/polkitlockbutton.c:629
145 "O texto a ser exibido quando o usuário não puder obter autorização através da "
146 "autenticação."
147
148 #: ../polkitgtk/polkitlockbutton.c:619
150149 msgid "Not authorized to make changes"
151150 msgstr "Não autorizado a efetuar alterações"
152151
153 #: ../polkitgtk/polkitlockbutton.c:645
152 #: ../polkitgtk/polkitlockbutton.c:635
154153 msgid ""
155154 "The tooltip to display when the user cannot obtain authorization through "
156155 "authentication."
157156 msgstr ""
158 "O texto a ser exibido quando o usuário não puder obter autorização através "
159 "de autenticação."
160
161 #: ../polkitgtk/polkitlockbutton.c:646
157 "A dica a ser exibida quando o usuário não puder obter autorização através "
158 "da autenticação."
159
160 #: ../polkitgtk/polkitlockbutton.c:636
162161 msgid "System policy prevents changes. Contact your system administator."
163162 msgstr ""
164 "A política do sistema impede alterações. Contate seu administrador de "
165 "sistemas."
166
167 #. Translators: this string is appended to the tooltip if the action is
168 #. * currently locked down
169 #: ../polkitgtk/polkitlockbutton.c:767
170 msgid ""
171 "This button is locked down so only users with administrative privileges can "
172 "unlock it. Right-click the button to remove the lock down."
173 msgstr ""
174 "Este botão está bloqueado, portanto apenas usuário com privilégios "
175 "administrativos podem desbloqueá-lo. Para remover o bloqueio clique com o "
176 "botão direito do mouse sobre ele."
163 "A política do sistema previne alterações. Contate o administrador do seu "
164 "sistema."
177165
178166 #: ../src/main.c:128
179167 msgid "Click the icon to drop all elevated privileges"
180 msgstr "Clique o ícone para descartar todos os privilégios elevados"
168 msgstr "Clique no ícone para descartar todos os privilégios elevados"
181169
182170 #: ../src/polkitgnomeauthenticationdialog.c:159
183171 msgid "Select user..."
188176 msgid "%s (%s)"
189177 msgstr "%s (%s)"
190178
191 #: ../src/polkitgnomeauthenticationdialog.c:529
179 #: ../src/polkitgnomeauthenticationdialog.c:531
192180 msgid "_Authenticate"
193181 msgstr "_Autenticar"
194182
195 #: ../src/polkitgnomeauthenticationdialog.c:566
183 #: ../src/polkitgnomeauthenticationdialog.c:571
196184 msgid ""
197185 "An application is attempting to perform an action that requires privileges. "
198186 "Authentication as one of the users below is required to perform this action."
199187 msgstr ""
200188 "Um aplicativo está tentando executar uma ação que requer privilégios. É "
201 "necessária uma autenticação como um dos usuários abaixo para executar esta "
202 "ação."
203
204 #: ../src/polkitgnomeauthenticationdialog.c:574
189 "necessária autenticação como um dos usuários abaixo para executar essa ação."
190
191 #: ../src/polkitgnomeauthenticationdialog.c:579
205192 msgid ""
206193 "An application is attempting to perform an action that requires privileges. "
207194 "Authentication is required to perform this action."
208195 msgstr ""
209196 "Um aplicativo está tentando executar uma ação que requer privilégios. É "
210 "necessária uma autenticação para executar esta ação."
211
212 #: ../src/polkitgnomeauthenticationdialog.c:580
197 "necessária autenticação para executar esta ação."
198
199 #: ../src/polkitgnomeauthenticationdialog.c:585
213200 msgid ""
214201 "An application is attempting to perform an action that requires privileges. "
215202 "Authentication as the super user is required to perform this action."
216203 msgstr ""
217204 "Um aplicativo está tentando executar uma ação que requer privilégios. É "
218 "necessária uma autenticação como superusuário para executar esta ação."
219
220 #: ../src/polkitgnomeauthenticationdialog.c:615
205 "necessária autenticação como superusuário para executar esta ação."
206
207 #: ../src/polkitgnomeauthenticationdialog.c:620
221208 #: ../src/polkitgnomeauthenticator.c:289
222209 msgid "_Password:"
223210 msgstr "_Senha:"
224211
225212 #. Details
226 #: ../src/polkitgnomeauthenticationdialog.c:633
213 #: ../src/polkitgnomeauthenticationdialog.c:638
227214 msgid "<small><b>_Details</b></small>"
228215 msgstr "<small><b>_Detalhes</b></small>"
229216
230 #: ../src/polkitgnomeauthenticationdialog.c:686
217 #: ../src/polkitgnomeauthenticationdialog.c:691
231218 msgid "<small><b>Action:</b></small>"
232219 msgstr "<small><b>Ação:</b></small>"
233220
234 #: ../src/polkitgnomeauthenticationdialog.c:689
221 #: ../src/polkitgnomeauthenticationdialog.c:694
235222 #, c-format
236223 msgid "Click to edit %s"
237224 msgstr "Clique para editar %s"
238225
239 #: ../src/polkitgnomeauthenticationdialog.c:703
226 #: ../src/polkitgnomeauthenticationdialog.c:708
240227 msgid "<small><b>Vendor:</b></small>"
241228 msgstr "<small><b>Fornecedor:</b></small>"
242229
243 #: ../src/polkitgnomeauthenticationdialog.c:705
230 #: ../src/polkitgnomeauthenticationdialog.c:710
244231 #, c-format
245232 msgid "Click to open %s"
246233 msgstr "Clique para abrir %s"
247234
248 #: ../src/polkitgnomeauthenticationdialog.c:868
235 #: ../src/polkitgnomeauthenticationdialog.c:873
249236 msgid "Authenticate"
250237 msgstr "Autenticar"
251238
252239 #: ../src/polkitgnomeauthenticator.c:285
253240 #, c-format
254241 msgid "_Password for %s:"
255 msgstr "Senha _para %s:"
242 msgstr "_Senha para %s:"
256243
257244 #: ../src/polkitgnomeauthenticator.c:445
258245 msgid "Authentication Failure"
261248 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
262249 msgid "PolicyKit Authentication Agent"
263250 msgstr "Agente de autenticação PolicyKit"
251
0 # Slovenian translations for PoliciKit-gnome
01 # Copyright (C) 2009 PolicyKit-gnome's COPYRIGHT HOLDER
12 # This file is distributed under the same license as the PolicyKit-gnome package.
3 #
24 # Matej Urbančič <mateju@svn.gnome.org>, 2010.
35 #
46 msgid ""
68 "Project-Id-Version: PolicyKit-gnome master\n"
79 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=policykit-gnome&component=general\n"
810 "POT-Creation-Date: 2009-10-17 22:11+0000\n"
9 "PO-Revision-Date: 2010-01-04 07:48+0100\n"
11 "PO-Revision-Date: 2010-05-30 11:09+0100\n"
1012 "Last-Translator: Matej Urbančič <mateju@svn.gnome.org>\n"
1113 "Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
1214 "MIME-Version: 1.0\n"
3133
3234 #: ../polkitgtk/polkitlockbutton.c:478
3335 msgid "Whether the process is authorized"
34 msgstr "Ali je postopek overjen"
36 msgstr "Ali je postopek pooblaščen"
3537
3638 #: ../polkitgtk/polkitlockbutton.c:493
3739 msgid "Is Visible"
217219
218220 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
219221 msgid "PolicyKit Authentication Agent"
220 msgstr "PolicyKit program overjanja"
222 msgstr "PolicyKit program overjanja"
0 # Мирослав Николић <miroslavnikolic@rocketmail.com>, 2010.
1 # Милош Поповић <gpopac@gmail.com>, 2011.
2 #
3 msgid ""
4 msgstr ""
5 "Project-Id-Version: PolicyKit-gnome\n"
6 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
7 "product=policykit-gnome&component=general\n"
8 "POT-Creation-Date: 2011-01-27 18:43+0000\n"
9 "PO-Revision-Date: 2011-01-26 13:35+0100\n"
10 "Last-Translator: Милош Поповић <gpopac@gmail.com>\n"
11 "Language-Team: Serbian <gnom@prevod.org>\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Language: sr\n"
16 "Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : n%"
17 "10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\\n\n"
18 "X-Generator: Virtaal 0.5.2\n"
19 "X-Poedit-Language: Serbian\n"
20 "X-Poedit-Country: SERBIA\n"
21 "X-Poedit-SourceCharset: utf-8\n"
22
23 #: ../polkitgtk/polkitlockbutton.c:458
24 msgid "Action Identifier"
25 msgstr "Идентификатор акције"
26
27 #: ../polkitgtk/polkitlockbutton.c:459
28 msgid "The action identifier to use for the button"
29 msgstr "Идентификатор акције који ће се користити за дугме"
30
31 #: ../polkitgtk/polkitlockbutton.c:475
32 msgid "Is Authorized"
33 msgstr "Овлашћен је"
34
35 #: ../polkitgtk/polkitlockbutton.c:476
36 msgid "Whether the process is authorized"
37 msgstr "Показује да ли је процес овлашћен"
38
39 #: ../polkitgtk/polkitlockbutton.c:491
40 msgid "Is Visible"
41 msgstr "Видљив је"
42
43 #: ../polkitgtk/polkitlockbutton.c:492
44 msgid "Whether the widget is visible"
45 msgstr "Показује да ли је виџет видљив"
46
47 #: ../polkitgtk/polkitlockbutton.c:507
48 msgid "Can Obtain"
49 msgstr "Може добити"
50
51 #: ../polkitgtk/polkitlockbutton.c:508
52 msgid "Whether authorization can be obtained"
53 msgstr "Показује да ли овлашћење може бити добијено"
54
55 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
56 msgid "Unlock Text"
57 msgstr "Текст за откључавање"
58
59 #: ../polkitgtk/polkitlockbutton.c:524
60 msgid "The text to display when prompting the user to unlock."
61 msgstr "Текст који ће бити приказан када се тражи од корисника да откључа."
62
63 #: ../polkitgtk/polkitlockbutton.c:525
64 msgid "Click to make changes"
65 msgstr "Кликните да измените"
66
67 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
68 msgid "Unlock Tooltip"
69 msgstr "Објашњење за откључавање"
70
71 #: ../polkitgtk/polkitlockbutton.c:541
72 msgid "The tooltip to display when prompting the user to unlock."
73 msgstr ""
74 "Објашњење које ће бити приказано када се тражи од корисника да откључа."
75
76 #: ../polkitgtk/polkitlockbutton.c:542
77 msgid "Authentication is needed to make changes."
78 msgstr "Потврђивање идентитета је потребно за уношење измена."
79
80 #: ../polkitgtk/polkitlockbutton.c:557
81 msgid "Lock Text"
82 msgstr "Текст за закључавање"
83
84 #: ../polkitgtk/polkitlockbutton.c:558
85 msgid "The text to display when prompting the user to lock."
86 msgstr "Текст који ће бити приказан када се тражи од корисника да закључа."
87
88 #: ../polkitgtk/polkitlockbutton.c:559
89 msgid "Click to prevent changes"
90 msgstr "Кликните да спречите промене"
91
92 #: ../polkitgtk/polkitlockbutton.c:574
93 msgid "Lock Tooltip"
94 msgstr "Објашњење за закључавање"
95
96 #: ../polkitgtk/polkitlockbutton.c:575
97 msgid "The tooltip to display when prompting the user to lock."
98 msgstr ""
99 "Објашњење које ће бити приказано када се тражи од корисника да закључа."
100
101 #: ../polkitgtk/polkitlockbutton.c:576
102 msgid "To prevent further changes, click the lock."
103 msgstr "Да бисте спречили будуће измене, кликните на дугме за закључавање."
104
105 #: ../polkitgtk/polkitlockbutton.c:591
106 msgid "Lock Down Text"
107 msgstr "Текст за трајно закључавање"
108
109 #: ../polkitgtk/polkitlockbutton.c:592
110 msgid ""
111 "The text to display when prompting the user to lock down the action for all "
112 "users."
113 msgstr ""
114 "Текст који ће бити приказан када се тражи од корисника да трајно закључа "
115 "акцију за све кориснике."
116
117 #: ../polkitgtk/polkitlockbutton.c:593
118 msgid "Click to lock down"
119 msgstr "Кликните да трајно закључате"
120
121 #: ../polkitgtk/polkitlockbutton.c:608
122 msgid "Lock Down Tooltip"
123 msgstr "Објашњење за трајно закључавање"
124
125 #: ../polkitgtk/polkitlockbutton.c:609
126 msgid ""
127 "The tooltip to display when prompting the user to lock down the action for "
128 "all users."
129 msgstr ""
130 "Објашњење које ће бити приказано када се тражи од корисника да закључа "
131 "акцију за све кориснике."
132
133 #: ../polkitgtk/polkitlockbutton.c:610
134 msgid ""
135 "To prevent users without administrative privileges from making changes, "
136 "click the lock."
137 msgstr ""
138 "Да бисте спречили кориснике без администраторских овлашћења да уносе измене, "
139 "кликните на дугме за закључавање."
140
141 #: ../polkitgtk/polkitlockbutton.c:626
142 msgid ""
143 "The text to display when the user cannot obtain authorization through "
144 "authentication."
145 msgstr ""
146 "Текст који ће бити приказан када корисник не може да добије дозволу "
147 "потврђивањем идентитета."
148
149 #: ../polkitgtk/polkitlockbutton.c:627
150 msgid "Not authorized to make changes"
151 msgstr "Нисте овлашћени да уносите измене"
152
153 #: ../polkitgtk/polkitlockbutton.c:643
154 msgid ""
155 "The tooltip to display when the user cannot obtain authorization through "
156 "authentication."
157 msgstr ""
158 "Објашњење које ће бити приказано када корисник не може да добије дозволу "
159 "потврђивањем идентитета."
160
161 #: ../polkitgtk/polkitlockbutton.c:644
162 msgid "System policy prevents changes. Contact your system administator."
163 msgstr ""
164 "Безбедност система спречава измене. Контактирајте администатора система."
165
166 #: ../src/polkitgnomeauthenticationdialog.c:159
167 msgid "Select user..."
168 msgstr "Изаберите корисника..."
169
170 #: ../src/polkitgnomeauthenticationdialog.c:194
171 #, c-format
172 msgid "%s (%s)"
173 msgstr "%s (%s)"
174
175 #: ../src/polkitgnomeauthenticationdialog.c:531
176 msgid "_Authenticate"
177 msgstr "_Потврди идентитет"
178
179 #: ../src/polkitgnomeauthenticationdialog.c:571
180 msgid ""
181 "An application is attempting to perform an action that requires privileges. "
182 "Authentication as one of the users below is required to perform this action."
183 msgstr ""
184 "Једна апликација покушава да изврши радњу која захтева извесна овлашћења. "
185 "Морате да потврдите да сте један од наведених корисника за извршавање ове "
186 "радње."
187
188 #: ../src/polkitgnomeauthenticationdialog.c:579
189 msgid ""
190 "An application is attempting to perform an action that requires privileges. "
191 "Authentication is required to perform this action."
192 msgstr ""
193 "Једна апликација покушава да изврши радњу која захтева извесна овлашћења. "
194 "Морате да потврдите идентитет за извршавање ове радње."
195
196 #: ../src/polkitgnomeauthenticationdialog.c:585
197 msgid ""
198 "An application is attempting to perform an action that requires privileges. "
199 "Authentication as the super user is required to perform this action."
200 msgstr ""
201 "Једна апликација покушава да изврши радњу која захтева извесна овлашћења. "
202 "Морате да се представите као администратор за извршавање ове радње."
203
204 #: ../src/polkitgnomeauthenticationdialog.c:620
205 #: ../src/polkitgnomeauthenticator.c:298
206 msgid "_Password:"
207 msgstr "_Лозинка:"
208
209 #. Details
210 #: ../src/polkitgnomeauthenticationdialog.c:638
211 msgid "<small><b>_Details</b></small>"
212 msgstr "<small><b>_Детаљи</b></small>"
213
214 #: ../src/polkitgnomeauthenticationdialog.c:691
215 msgid "<small><b>Action:</b></small>"
216 msgstr "<small><b>Акција:</b></small>"
217
218 #: ../src/polkitgnomeauthenticationdialog.c:694
219 #, c-format
220 msgid "Click to edit %s"
221 msgstr "Кликните да уредите %s"
222
223 #: ../src/polkitgnomeauthenticationdialog.c:708
224 msgid "<small><b>Vendor:</b></small>"
225 msgstr "<small><b>Произвођач:</b></small>"
226
227 #: ../src/polkitgnomeauthenticationdialog.c:710
228 #, c-format
229 msgid "Click to open %s"
230 msgstr "Кликните да отворите %s"
231
232 #: ../src/polkitgnomeauthenticationdialog.c:873
233 msgid "Authenticate"
234 msgstr "Потврђивање идентитета"
235
236 #: ../src/polkitgnomeauthenticator.c:294
237 #, c-format
238 msgid "_Password for %s:"
239 msgstr "_Лозинка за %s:"
240
241 #: ../src/polkitgnomeauthenticator.c:454
242 msgid "Authentication Failure"
243 msgstr "Потврђивање идентитета није успело"
244
245 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
246 msgid "PolicyKit Authentication Agent"
247 msgstr "ПолисиКит Агент аутентификације"
248
249 #~ msgid "Click the icon to drop all elevated privileges"
250 #~ msgstr "Кликните на иконицу да одбаците све високе повластице"
0 # Miroslav Nikolić <miroslavnikolic@rocketmail.com>, 2010.
1 # Miloš Popović <gpopac@gmail.com>, 2011.
2 #
3 msgid ""
4 msgstr ""
5 "Project-Id-Version: PolicyKit-gnome\n"
6 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
7 "product=policykit-gnome&component=general\n"
8 "POT-Creation-Date: 2011-01-27 18:43+0000\n"
9 "PO-Revision-Date: 2011-01-26 13:35+0100\n"
10 "Last-Translator: Miloš Popović <gpopac@gmail.com>\n"
11 "Language-Team: Serbian <gnom@prevod.org>\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Language: sr\n"
16 "Plural-Forms: nplurals=4; plural=n==1? 3 : n%10==1 && n%100!=11 ? 0 : n%"
17 "10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\\n\n"
18 "X-Generator: Virtaal 0.5.2\n"
19 "X-Poedit-Language: Serbian\n"
20 "X-Poedit-Country: SERBIA\n"
21 "X-Poedit-SourceCharset: utf-8\n"
22
23 #: ../polkitgtk/polkitlockbutton.c:458
24 msgid "Action Identifier"
25 msgstr "Identifikator akcije"
26
27 #: ../polkitgtk/polkitlockbutton.c:459
28 msgid "The action identifier to use for the button"
29 msgstr "Identifikator akcije koji će se koristiti za dugme"
30
31 #: ../polkitgtk/polkitlockbutton.c:475
32 msgid "Is Authorized"
33 msgstr "Ovlašćen je"
34
35 #: ../polkitgtk/polkitlockbutton.c:476
36 msgid "Whether the process is authorized"
37 msgstr "Pokazuje da li je proces ovlašćen"
38
39 #: ../polkitgtk/polkitlockbutton.c:491
40 msgid "Is Visible"
41 msgstr "Vidljiv je"
42
43 #: ../polkitgtk/polkitlockbutton.c:492
44 msgid "Whether the widget is visible"
45 msgstr "Pokazuje da li je vidžet vidljiv"
46
47 #: ../polkitgtk/polkitlockbutton.c:507
48 msgid "Can Obtain"
49 msgstr "Može dobiti"
50
51 #: ../polkitgtk/polkitlockbutton.c:508
52 msgid "Whether authorization can be obtained"
53 msgstr "Pokazuje da li ovlašćenje može biti dobijeno"
54
55 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
56 msgid "Unlock Text"
57 msgstr "Tekst za otključavanje"
58
59 #: ../polkitgtk/polkitlockbutton.c:524
60 msgid "The text to display when prompting the user to unlock."
61 msgstr "Tekst koji će biti prikazan kada se traži od korisnika da otključa."
62
63 #: ../polkitgtk/polkitlockbutton.c:525
64 msgid "Click to make changes"
65 msgstr "Kliknite da izmenite"
66
67 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
68 msgid "Unlock Tooltip"
69 msgstr "Objašnjenje za otključavanje"
70
71 #: ../polkitgtk/polkitlockbutton.c:541
72 msgid "The tooltip to display when prompting the user to unlock."
73 msgstr ""
74 "Objašnjenje koje će biti prikazano kada se traži od korisnika da otključa."
75
76 #: ../polkitgtk/polkitlockbutton.c:542
77 msgid "Authentication is needed to make changes."
78 msgstr "Potvrđivanje identiteta je potrebno za unošenje izmena."
79
80 #: ../polkitgtk/polkitlockbutton.c:557
81 msgid "Lock Text"
82 msgstr "Tekst za zaključavanje"
83
84 #: ../polkitgtk/polkitlockbutton.c:558
85 msgid "The text to display when prompting the user to lock."
86 msgstr "Tekst koji će biti prikazan kada se traži od korisnika da zaključa."
87
88 #: ../polkitgtk/polkitlockbutton.c:559
89 msgid "Click to prevent changes"
90 msgstr "Kliknite da sprečite promene"
91
92 #: ../polkitgtk/polkitlockbutton.c:574
93 msgid "Lock Tooltip"
94 msgstr "Objašnjenje za zaključavanje"
95
96 #: ../polkitgtk/polkitlockbutton.c:575
97 msgid "The tooltip to display when prompting the user to lock."
98 msgstr ""
99 "Objašnjenje koje će biti prikazano kada se traži od korisnika da zaključa."
100
101 #: ../polkitgtk/polkitlockbutton.c:576
102 msgid "To prevent further changes, click the lock."
103 msgstr "Da biste sprečili buduće izmene, kliknite na dugme za zaključavanje."
104
105 #: ../polkitgtk/polkitlockbutton.c:591
106 msgid "Lock Down Text"
107 msgstr "Tekst za trajno zaključavanje"
108
109 #: ../polkitgtk/polkitlockbutton.c:592
110 msgid ""
111 "The text to display when prompting the user to lock down the action for all "
112 "users."
113 msgstr ""
114 "Tekst koji će biti prikazan kada se traži od korisnika da trajno zaključa "
115 "akciju za sve korisnike."
116
117 #: ../polkitgtk/polkitlockbutton.c:593
118 msgid "Click to lock down"
119 msgstr "Kliknite da trajno zaključate"
120
121 #: ../polkitgtk/polkitlockbutton.c:608
122 msgid "Lock Down Tooltip"
123 msgstr "Objašnjenje za trajno zaključavanje"
124
125 #: ../polkitgtk/polkitlockbutton.c:609
126 msgid ""
127 "The tooltip to display when prompting the user to lock down the action for "
128 "all users."
129 msgstr ""
130 "Objašnjenje koje će biti prikazano kada se traži od korisnika da zaključa "
131 "akciju za sve korisnike."
132
133 #: ../polkitgtk/polkitlockbutton.c:610
134 msgid ""
135 "To prevent users without administrative privileges from making changes, "
136 "click the lock."
137 msgstr ""
138 "Da biste sprečili korisnike bez administratorskih ovlašćenja da unose izmene, "
139 "kliknite na dugme za zaključavanje."
140
141 #: ../polkitgtk/polkitlockbutton.c:626
142 msgid ""
143 "The text to display when the user cannot obtain authorization through "
144 "authentication."
145 msgstr ""
146 "Tekst koji će biti prikazan kada korisnik ne može da dobije dozvolu "
147 "potvrđivanjem identiteta."
148
149 #: ../polkitgtk/polkitlockbutton.c:627
150 msgid "Not authorized to make changes"
151 msgstr "Niste ovlašćeni da unosite izmene"
152
153 #: ../polkitgtk/polkitlockbutton.c:643
154 msgid ""
155 "The tooltip to display when the user cannot obtain authorization through "
156 "authentication."
157 msgstr ""
158 "Objašnjenje koje će biti prikazano kada korisnik ne može da dobije dozvolu "
159 "potvrđivanjem identiteta."
160
161 #: ../polkitgtk/polkitlockbutton.c:644
162 msgid "System policy prevents changes. Contact your system administator."
163 msgstr ""
164 "Bezbednost sistema sprečava izmene. Kontaktirajte administatora sistema."
165
166 #: ../src/polkitgnomeauthenticationdialog.c:159
167 msgid "Select user..."
168 msgstr "Izaberite korisnika..."
169
170 #: ../src/polkitgnomeauthenticationdialog.c:194
171 #, c-format
172 msgid "%s (%s)"
173 msgstr "%s (%s)"
174
175 #: ../src/polkitgnomeauthenticationdialog.c:531
176 msgid "_Authenticate"
177 msgstr "_Potvrdi identitet"
178
179 #: ../src/polkitgnomeauthenticationdialog.c:571
180 msgid ""
181 "An application is attempting to perform an action that requires privileges. "
182 "Authentication as one of the users below is required to perform this action."
183 msgstr ""
184 "Jedna aplikacija pokušava da izvrši radnju koja zahteva izvesna ovlašćenja. "
185 "Morate da potvrdite da ste jedan od navedenih korisnika za izvršavanje ove "
186 "radnje."
187
188 #: ../src/polkitgnomeauthenticationdialog.c:579
189 msgid ""
190 "An application is attempting to perform an action that requires privileges. "
191 "Authentication is required to perform this action."
192 msgstr ""
193 "Jedna aplikacija pokušava da izvrši radnju koja zahteva izvesna ovlašćenja. "
194 "Morate da potvrdite identitet za izvršavanje ove radnje."
195
196 #: ../src/polkitgnomeauthenticationdialog.c:585
197 msgid ""
198 "An application is attempting to perform an action that requires privileges. "
199 "Authentication as the super user is required to perform this action."
200 msgstr ""
201 "Jedna aplikacija pokušava da izvrši radnju koja zahteva izvesna ovlašćenja. "
202 "Morate da se predstavite kao administrator za izvršavanje ove radnje."
203
204 #: ../src/polkitgnomeauthenticationdialog.c:620
205 #: ../src/polkitgnomeauthenticator.c:298
206 msgid "_Password:"
207 msgstr "_Lozinka:"
208
209 #. Details
210 #: ../src/polkitgnomeauthenticationdialog.c:638
211 msgid "<small><b>_Details</b></small>"
212 msgstr "<small><b>_Detalji</b></small>"
213
214 #: ../src/polkitgnomeauthenticationdialog.c:691
215 msgid "<small><b>Action:</b></small>"
216 msgstr "<small><b>Akcija:</b></small>"
217
218 #: ../src/polkitgnomeauthenticationdialog.c:694
219 #, c-format
220 msgid "Click to edit %s"
221 msgstr "Kliknite da uredite %s"
222
223 #: ../src/polkitgnomeauthenticationdialog.c:708
224 msgid "<small><b>Vendor:</b></small>"
225 msgstr "<small><b>Proizvođač:</b></small>"
226
227 #: ../src/polkitgnomeauthenticationdialog.c:710
228 #, c-format
229 msgid "Click to open %s"
230 msgstr "Kliknite da otvorite %s"
231
232 #: ../src/polkitgnomeauthenticationdialog.c:873
233 msgid "Authenticate"
234 msgstr "Potvrđivanje identiteta"
235
236 #: ../src/polkitgnomeauthenticator.c:294
237 #, c-format
238 msgid "_Password for %s:"
239 msgstr "_Lozinka za %s:"
240
241 #: ../src/polkitgnomeauthenticator.c:454
242 msgid "Authentication Failure"
243 msgstr "Potvrđivanje identiteta nije uspelo"
244
245 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
246 msgid "PolicyKit Authentication Agent"
247 msgstr "PolisiKit Agent autentifikacije"
248
249 #~ msgid "Click the icon to drop all elevated privileges"
250 #~ msgstr "Kliknite na ikonicu da odbacite sve visoke povlastice"
0 # Vietnamese translation for policykit-1-gnome
1 # Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
2 # This file is distributed under the same license as the policykit-1-gnome package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: policykit-1-gnome\n"
8 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
9 "POT-Creation-Date: 2010-08-30 13:50+0000\n"
10 "PO-Revision-Date: 2010-04-11 01:33+0000\n"
11 "Last-Translator: Lê Kiến Trúc <Unknown>\n"
12 "Language-Team: Vietnamese <vi@li.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "X-Launchpad-Export-Date: 2010-12-19 11:08+0000\n"
17 "X-Generator: Launchpad (build Unknown)\n"
18
19 #: ../polkitgtk/polkitlockbutton.c:459
20 msgid "Action Identifier"
21 msgstr "Hành động nhận dạng"
22
23 #: ../polkitgtk/polkitlockbutton.c:460
24 msgid "The action identifier to use for the button"
25 msgstr "Hành động nhận dạng để sử dụng cho các nút"
26
27 #: ../polkitgtk/polkitlockbutton.c:476
28 msgid "Is Authorized"
29 msgstr "Được ủy quyền"
30
31 #: ../polkitgtk/polkitlockbutton.c:477
32 msgid "Whether the process is authorized"
33 msgstr "Tiến trình có được uỷ quyền hay không"
34
35 #: ../polkitgtk/polkitlockbutton.c:492
36 msgid "Is Visible"
37 msgstr "Được nhìn thấy"
38
39 #: ../polkitgtk/polkitlockbutton.c:493
40 msgid "Whether the widget is visible"
41 msgstr "Ô điều khiển có hiển thị hay không"
42
43 #: ../polkitgtk/polkitlockbutton.c:508
44 msgid "Can Obtain"
45 msgstr "Có thể có được"
46
47 #: ../polkitgtk/polkitlockbutton.c:509
48 msgid "Whether authorization can be obtained"
49 msgstr "Giấy phép xác thực có được lấy hay không"
50
51 #: ../polkitgtk/polkitlockbutton.c:524 ../polkitgtk/polkitlockbutton.c:626
52 msgid "Unlock Text"
53 msgstr "mở khóa văn bản"
54
55 #: ../polkitgtk/polkitlockbutton.c:525
56 msgid "The text to display when prompting the user to unlock."
57 msgstr "Các văn bản để hiển thị khi khiến người sử dụng để mở khóa."
58
59 #: ../polkitgtk/polkitlockbutton.c:526
60 msgid "Click to make changes"
61 msgstr "Nhấn vào đây để thực hiện thay đổi"
62
63 #: ../polkitgtk/polkitlockbutton.c:541 ../polkitgtk/polkitlockbutton.c:643
64 msgid "Unlock Tooltip"
65 msgstr "Hướng dẫn mở khoá"
66
67 #: ../polkitgtk/polkitlockbutton.c:542
68 msgid "The tooltip to display when prompting the user to unlock."
69 msgstr "Hướng dẫn được hiển thị khi yêu cầu người dùng mở khoá"
70
71 #: ../polkitgtk/polkitlockbutton.c:543
72 msgid "Authentication is needed to make changes."
73 msgstr "Cần xác thực để thực hiện thay đổi"
74
75 #: ../polkitgtk/polkitlockbutton.c:558
76 msgid "Lock Text"
77 msgstr "Khóa văn bản"
78
79 #: ../polkitgtk/polkitlockbutton.c:559
80 msgid "The text to display when prompting the user to lock."
81 msgstr "Các văn bản để hiển thị khi khiến người dùng để khóa."
82
83 #: ../polkitgtk/polkitlockbutton.c:560
84 msgid "Click to prevent changes"
85 msgstr "bấm vào để ngăn ngừa những thay đổi"
86
87 #: ../polkitgtk/polkitlockbutton.c:575
88 msgid "Lock Tooltip"
89 msgstr "Hướng dẫn khoá"
90
91 #: ../polkitgtk/polkitlockbutton.c:576
92 msgid "The tooltip to display when prompting the user to lock."
93 msgstr "Hướng dẫn được hiển thị khi yêu cầu người dùng khoá"
94
95 #: ../polkitgtk/polkitlockbutton.c:577
96 msgid "To prevent further changes, click the lock."
97 msgstr "Để tránh những thay đổi sau này, nhấn vào nút khoá"
98
99 #: ../polkitgtk/polkitlockbutton.c:592
100 msgid "Lock Down Text"
101 msgstr "Văn bản khoá cứng"
102
103 #: ../polkitgtk/polkitlockbutton.c:593
104 msgid ""
105 "The text to display when prompting the user to lock down the action for all "
106 "users."
107 msgstr ""
108 "Văn bản được hiển thị khi yêu cầu người dùng khoá cứng hành động này khỏi "
109 "tất cả người dùng."
110
111 #: ../polkitgtk/polkitlockbutton.c:594
112 msgid "Click to lock down"
113 msgstr "Nhấn để khoá cứng"
114
115 #: ../polkitgtk/polkitlockbutton.c:609
116 msgid "Lock Down Tooltip"
117 msgstr "Hướng dẫn khoá cứng"
118
119 #: ../polkitgtk/polkitlockbutton.c:610
120 msgid ""
121 "The tooltip to display when prompting the user to lock down the action for "
122 "all users."
123 msgstr ""
124 "Hướng dẫn được hiển thị khi yêu cầu người dùng khoá cứng hành động này khỏi "
125 "tất cả người dùng."
126
127 #: ../polkitgtk/polkitlockbutton.c:611
128 msgid ""
129 "To prevent users without administrative privileges from making changes, "
130 "click the lock."
131 msgstr ""
132 "Để tránh người dùng không có quyền quản trị thực hiện thay đổi, nhấn vào nút "
133 "khoá"
134
135 #: ../polkitgtk/polkitlockbutton.c:627
136 msgid ""
137 "The text to display when the user cannot obtain authorization through "
138 "authentication."
139 msgstr ""
140 "Các văn bản để hiển thị khi người dùng không thể có được ủy quyền thông qua "
141 "xác thực."
142
143 #: ../polkitgtk/polkitlockbutton.c:628
144 msgid "Not authorized to make changes"
145 msgstr "Không có quyền thực hiện thay đổi"
146
147 #: ../polkitgtk/polkitlockbutton.c:644
148 msgid ""
149 "The tooltip to display when the user cannot obtain authorization through "
150 "authentication."
151 msgstr ""
152 "Hướng dẫn được hiển thị khi người dùng không thể có uỷ quyền thông qua việc "
153 "xác thực."
154
155 #: ../polkitgtk/polkitlockbutton.c:645
156 msgid "System policy prevents changes. Contact your system administator."
157 msgstr ""
158 "Chính sách hệ thống ngăn cản việc thay đổi. Liên lạc với quản trị hệ thống "
159 "của bạn"
160
161 #. Translators: this string is appended to the tooltip if the action is
162 #. * currently locked down
163 #: ../polkitgtk/polkitlockbutton.c:767
164 msgid ""
165 "This button is locked down so only users with administrative privileges can "
166 "unlock it. Right-click the button to remove the lock down."
167 msgstr ""
168 "Nút này đã bị khoá cứng vì vậy chỉ những người dùng có quyền quản trị có thể "
169 "mở khoá chúng. Nhấn chuột phải vào nút để gỡ khoá cứng."
170
171 #: ../src/main.c:151
172 msgid "Drop all elevated privileges"
173 msgstr "Dừng tất cả đặc quyền cấp cao"
174
175 #: ../src/main.c:170
176 msgid "Click the icon to drop all elevated privileges"
177 msgstr "Nhấp vào biểu tượng để dừng tất cả các đặc quyền cấp cao"
178
179 #: ../src/polkitgnomeauthenticationdialog.c:160
180 msgid "Select user..."
181 msgstr "Chọn người sử dụng ..."
182
183 #: ../src/polkitgnomeauthenticationdialog.c:195
184 #, c-format
185 msgid "%s (%s)"
186 msgstr "%s (%s)"
187
188 #: ../src/polkitgnomeauthenticationdialog.c:541
189 msgid "_Authenticate"
190 msgstr "_Xác thực"
191
192 #: ../src/polkitgnomeauthenticationdialog.c:581
193 msgid ""
194 "An application is attempting to perform an action that requires privileges. "
195 "Authentication as one of the users below is required to perform this action."
196 msgstr ""
197 "Một ứng dụng là cố gắng thực hiện một hành động đòi hỏi các đặc quyền. Xác "
198 "thực là một trong những người dùng dưới đây là cần thiết để thực hiện hành "
199 "động này."
200
201 #: ../src/polkitgnomeauthenticationdialog.c:589
202 msgid ""
203 "An application is attempting to perform an action that requires privileges. "
204 "Authentication is required to perform this action."
205 msgstr ""
206 "Một ứng dụng là cố gắng thực hiện một hành động đòi hỏi các đặc quyền. Việc "
207 "xác thực là cần thiết để thực hiện hành động này."
208
209 #: ../src/polkitgnomeauthenticationdialog.c:595
210 msgid ""
211 "An application is attempting to perform an action that requires privileges. "
212 "Authentication as the super user is required to perform this action."
213 msgstr ""
214 "Một ứng dụng là cố gắng thực hiện một hành động đòi hỏi các đặc quyền. Việc "
215 "xác thực như là siêu người dùng được yêu cầu để thực hiện hành động này."
216
217 #: ../src/polkitgnomeauthenticationdialog.c:630
218 #: ../src/polkitgnomeauthenticator.c:298
219 msgid "_Password:"
220 msgstr "_Mật khẩu:"
221
222 #. Details
223 #: ../src/polkitgnomeauthenticationdialog.c:648
224 msgid "<small><b>_Details</b></small>"
225 msgstr "<small><b>_Chi tiết</b></small>"
226
227 #: ../src/polkitgnomeauthenticationdialog.c:705
228 msgid "<small><b>Action:</b></small>"
229 msgstr "<small><b>Hoạt động:</b></small>"
230
231 #: ../src/polkitgnomeauthenticationdialog.c:708
232 #, c-format
233 msgid "Click to edit %s"
234 msgstr "Nhấn vào đây để sửa %s"
235
236 #: ../src/polkitgnomeauthenticationdialog.c:722
237 msgid "<small><b>Vendor:</b></small>"
238 msgstr "<small><b>Nhà cung cấp:</b></small>"
239
240 #: ../src/polkitgnomeauthenticationdialog.c:724
241 #, c-format
242 msgid "Click to open %s"
243 msgstr "Nhấn để mở %s"
244
245 #: ../src/polkitgnomeauthenticationdialog.c:898
246 msgid "Authenticate"
247 msgstr "Xác thực"
248
249 #: ../src/polkitgnomeauthenticator.c:294
250 #, c-format
251 msgid "_Password for %s:"
252 msgstr "_Mật khẩu cho %s:"
253
254 #: ../src/polkitgnomeauthenticator.c:454
255 msgid "Authentication Failure"
256 msgstr "Lỗi xác thực"
257
258 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
259 msgid "PolicyKit Authentication Agent"
260 msgstr "PolicyKit bộ quản lý xác thực"
88 "Project-Id-Version: policykit-gnome VERSION\n"
99 "Report-Msgid-Bugs-To: \n"
1010 "POT-Creation-Date: 2009-10-03 21:55+0800\n"
11 "PO-Revision-Date: 2009-12-02 17:49+0800\n"
11 "PO-Revision-Date: 2010-09-26 00:26+0800\n"
1212 "Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n"
1313 "Language-Team: \n"
1414 "MIME-Version: 1.0\n"
211211
212212 #: ../src/polkitgnomeauthenticationdialog.c:703
213213 msgid "<small><b>Vendor:</b></small>"
214 msgstr "<small><b>厂商:</b></small>"
214 msgstr "<small><b>提供者:</b></small>"
215215
216216 #: ../src/polkitgnomeauthenticationdialog.c:705
217217 #, c-format
00 # Chinese (Hong Kong) translation of policykit-gnome
11 # Copyright (C) 20007 Free Software Foundation, Inc.
22 # Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>, 2008, 2010.
3 # Wei-Lun Chao <chaoweilun@gmail.com>, 2010.
4 #
35 msgid ""
46 msgstr ""
5 "Project-Id-Version: policykit-gnome 0.96\n"
7 "Project-Id-Version: policykit-gnome 0.100\n"
68 "Report-Msgid-Bugs-To: \n"
7 "POT-Creation-Date: 2010-02-27 20:56+0800\n"
8 "PO-Revision-Date: 2010-02-27 20:56+0800\n"
9 "Last-Translator: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>\n"
9 "POT-Creation-Date: 2011-02-05 17:46+0800\n"
10 "PO-Revision-Date: 2011-02-05 17:46+0800\n"
11 "Last-Translator: Wei-Lun Chao <chaoweilun@gmail.com>\n"
1012 "Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
13 "Language: zh_TW\n"
1114 "MIME-Version: 1.0\n"
1215 "Content-Type: text/plain; charset=UTF-8\n"
1316 "Content-Transfer-Encoding: 8bit\n"
14 "Language: zh_TW\n"
1517 "Plural-Forms: nplurals=1; plural=0;\n"
1618 "X-Generator: Virtaal 0.5.2\n"
1719
18 #: ../polkitgtk/polkitlockbutton.c:460
20 #: ../polkitgtk/polkitlockbutton.c:458
1921 msgid "Action Identifier"
2022 msgstr "動作識別碼"
2123
22 #: ../polkitgtk/polkitlockbutton.c:461
24 #: ../polkitgtk/polkitlockbutton.c:459
2325 msgid "The action identifier to use for the button"
2426 msgstr "要用在這個按鈕的動作識別碼"
2527
26 #: ../polkitgtk/polkitlockbutton.c:477
28 #: ../polkitgtk/polkitlockbutton.c:475
2729 msgid "Is Authorized"
2830 msgstr "是否已驗證"
2931
30 #: ../polkitgtk/polkitlockbutton.c:478
32 #: ../polkitgtk/polkitlockbutton.c:476
3133 msgid "Whether the process is authorized"
3234 msgstr "這個程序是否經過驗證"
3335
34 #: ../polkitgtk/polkitlockbutton.c:493
36 #: ../polkitgtk/polkitlockbutton.c:491
3537 msgid "Is Visible"
3638 msgstr "是否顯示"
3739
38 #: ../polkitgtk/polkitlockbutton.c:494
40 #: ../polkitgtk/polkitlockbutton.c:492
3941 msgid "Whether the widget is visible"
4042 msgstr "這個元件是否要顯示"
4143
42 #: ../polkitgtk/polkitlockbutton.c:509
44 #: ../polkitgtk/polkitlockbutton.c:507
4345 msgid "Can Obtain"
4446 msgstr "是否可獲得"
4547
46 #: ../polkitgtk/polkitlockbutton.c:510
48 #: ../polkitgtk/polkitlockbutton.c:508
4749 msgid "Whether authorization can be obtained"
4850 msgstr "是否可獲得驗證"
4951
50 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
52 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
5153 msgid "Unlock Text"
5254 msgstr "解鎖時文字"
5355
54 #: ../polkitgtk/polkitlockbutton.c:526
56 #: ../polkitgtk/polkitlockbutton.c:524
5557 msgid "The text to display when prompting the user to unlock."
5658 msgstr "當提示使用者進行解鎖時顯示的文字。"
5759
58 #: ../polkitgtk/polkitlockbutton.c:527
60 #: ../polkitgtk/polkitlockbutton.c:525
5961 msgid "Click to make changes"
6062 msgstr "請按這裏進行改變"
6163
62 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
64 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
6365 msgid "Unlock Tooltip"
6466 msgstr "解鎖時工具提示"
6567
66 #: ../polkitgtk/polkitlockbutton.c:543
68 #: ../polkitgtk/polkitlockbutton.c:541
6769 msgid "The tooltip to display when prompting the user to unlock."
6870 msgstr "當提示使用者進行解鎖時顯示的工具提示。"
6971
70 #: ../polkitgtk/polkitlockbutton.c:544
72 #: ../polkitgtk/polkitlockbutton.c:542
7173 msgid "Authentication is needed to make changes."
7274 msgstr "需要驗證才能進行改變。"
7375
74 #: ../polkitgtk/polkitlockbutton.c:559
76 #: ../polkitgtk/polkitlockbutton.c:557
7577 msgid "Lock Text"
7678 msgstr "鎖上時文字"
7779
78 #: ../polkitgtk/polkitlockbutton.c:560
80 #: ../polkitgtk/polkitlockbutton.c:558
7981 msgid "The text to display when prompting the user to lock."
8082 msgstr "當提示使用者進行鎖上時顯示的文字。"
8183
82 #: ../polkitgtk/polkitlockbutton.c:561
84 #: ../polkitgtk/polkitlockbutton.c:559
8385 msgid "Click to prevent changes"
8486 msgstr "請按這裏防止改變"
8587
86 #: ../polkitgtk/polkitlockbutton.c:576
88 #: ../polkitgtk/polkitlockbutton.c:574
8789 msgid "Lock Tooltip"
8890 msgstr "鎖上時工具提示"
8991
90 #: ../polkitgtk/polkitlockbutton.c:577
92 #: ../polkitgtk/polkitlockbutton.c:575
9193 msgid "The tooltip to display when prompting the user to lock."
9294 msgstr "當提示使用者進行鎖上時顯示的工具提示。"
9395
94 #: ../polkitgtk/polkitlockbutton.c:578
96 #: ../polkitgtk/polkitlockbutton.c:576
9597 msgid "To prevent further changes, click the lock."
9698 msgstr "要防止進一步的改變,請按這個鎖。"
9799
98 #: ../polkitgtk/polkitlockbutton.c:593
100 #: ../polkitgtk/polkitlockbutton.c:591
99101 msgid "Lock Down Text"
100102 msgstr "鎖定時文字"
101103
102 #: ../polkitgtk/polkitlockbutton.c:594
104 #: ../polkitgtk/polkitlockbutton.c:592
103105 msgid ""
104106 "The text to display when prompting the user to lock down the action for all "
105107 "users."
106108 msgstr "當提示使用者鎖定所有使用者的動作時顯示的文字。"
107109
108 #: ../polkitgtk/polkitlockbutton.c:595
110 #: ../polkitgtk/polkitlockbutton.c:593
109111 msgid "Click to lock down"
110112 msgstr "按這裏鎖定"
111113
112 #: ../polkitgtk/polkitlockbutton.c:610
114 #: ../polkitgtk/polkitlockbutton.c:608
113115 msgid "Lock Down Tooltip"
114116 msgstr "鎖定時工具提示"
115117
116 #: ../polkitgtk/polkitlockbutton.c:611
118 #: ../polkitgtk/polkitlockbutton.c:609
117119 msgid ""
118120 "The tooltip to display when prompting the user to lock down the action for "
119121 "all users."
120122 msgstr "當提示使用者鎖定所有使用者的動作時顯示的工具提示。"
121123
122 #: ../polkitgtk/polkitlockbutton.c:612
124 #: ../polkitgtk/polkitlockbutton.c:610
123125 msgid ""
124126 "To prevent users without administrative privileges from making changes, "
125127 "click the lock."
126128 msgstr "要防止沒有管理者權限的使用者進行更改,請按這個鎖。"
127129
128 #: ../polkitgtk/polkitlockbutton.c:628
130 #: ../polkitgtk/polkitlockbutton.c:626
129131 msgid ""
130132 "The text to display when the user cannot obtain authorization through "
131133 "authentication."
132134 msgstr "當使用者不能透過驗證取得授權時要顯示的文字。"
133135
134 #: ../polkitgtk/polkitlockbutton.c:629
136 #: ../polkitgtk/polkitlockbutton.c:627
135137 msgid "Not authorized to make changes"
136138 msgstr "未獲授權進行改變"
137139
138 #: ../polkitgtk/polkitlockbutton.c:645
140 #: ../polkitgtk/polkitlockbutton.c:643
139141 msgid ""
140142 "The tooltip to display when the user cannot obtain authorization through "
141143 "authentication."
142144 msgstr "當使用者不能透過驗證取得授權時要顯示的工具提示。"
143145
144 #: ../polkitgtk/polkitlockbutton.c:646
146 #: ../polkitgtk/polkitlockbutton.c:644
145147 msgid "System policy prevents changes. Contact your system administator."
146148 msgstr "系統原則阻止了這個更改。請聯絡你的系統管理者。"
147149
148 #. Translators: this string is appended to the tooltip if the action is
149 #. * currently locked down
150 #: ../polkitgtk/polkitlockbutton.c:767
151 msgid ""
152 "This button is locked down so only users with administrative privileges can "
153 "unlock it. Right-click the button to remove the lock down."
154 msgstr "這個按鈕已被鎖定,因此只有具管理者權限的使用者可以解鎖。在這個按鈕上按右鍵可以移除鎖定。"
155
156 #: ../src/main.c:128
157 msgid "Click the icon to drop all elevated privileges"
158 msgstr "按下這個圖示放棄所有已提升的權限"
159
160150 #: ../src/polkitgnomeauthenticationdialog.c:159
161151 msgid "Select user..."
162 msgstr "選擇使用者..."
152 msgstr "選擇使用者…"
163153
164154 #: ../src/polkitgnomeauthenticationdialog.c:194
165155 #, c-format
166156 msgid "%s (%s)"
167157 msgstr "%s (%s)"
168158
169 #: ../src/polkitgnomeauthenticationdialog.c:529
159 #: ../src/polkitgnomeauthenticationdialog.c:531
170160 msgid "_Authenticate"
171161 msgstr "驗證(_A)"
172162
173 #: ../src/polkitgnomeauthenticationdialog.c:566
163 #: ../src/polkitgnomeauthenticationdialog.c:571
174164 msgid ""
175165 "An application is attempting to perform an action that requires privileges. "
176166 "Authentication as one of the users below is required to perform this action."
177167 msgstr "有應用程式試圖進行需要權限的動作。必須授權為下列使用者之一才能進行這個動作。"
178168
179 #: ../src/polkitgnomeauthenticationdialog.c:574
169 #: ../src/polkitgnomeauthenticationdialog.c:579
180170 msgid ""
181171 "An application is attempting to perform an action that requires privileges. "
182172 "Authentication is required to perform this action."
183173 msgstr "有應用程式試圖進行需要權限的動作。必須獲得授權才能進行這個動作。"
184174
185 #: ../src/polkitgnomeauthenticationdialog.c:580
175 #: ../src/polkitgnomeauthenticationdialog.c:585
186176 msgid ""
187177 "An application is attempting to perform an action that requires privileges. "
188178 "Authentication as the super user is required to perform this action."
189179 msgstr "有應用程式試圖進行需要權限的動作。必須授權為超級使用者才能進行這個動作。"
190180
191 #: ../src/polkitgnomeauthenticationdialog.c:615
192 #: ../src/polkitgnomeauthenticator.c:289
181 #: ../src/polkitgnomeauthenticationdialog.c:620
182 #: ../src/polkitgnomeauthenticator.c:298
193183 msgid "_Password:"
194184 msgstr "密碼(_P):"
195185
196186 #. Details
197 #: ../src/polkitgnomeauthenticationdialog.c:633
187 #: ../src/polkitgnomeauthenticationdialog.c:638
198188 msgid "<small><b>_Details</b></small>"
199189 msgstr "<small><b>詳細資料(_D)</b></small>"
200190
201 #: ../src/polkitgnomeauthenticationdialog.c:686
191 #: ../src/polkitgnomeauthenticationdialog.c:691
202192 msgid "<small><b>Action:</b></small>"
203193 msgstr "<small><b>動作:</b></small>"
204194
205 #: ../src/polkitgnomeauthenticationdialog.c:689
195 #: ../src/polkitgnomeauthenticationdialog.c:694
206196 #, c-format
207197 msgid "Click to edit %s"
208198 msgstr "按下這裏編輯 %s"
209199
210 #: ../src/polkitgnomeauthenticationdialog.c:703
200 #: ../src/polkitgnomeauthenticationdialog.c:708
211201 msgid "<small><b>Vendor:</b></small>"
212202 msgstr "<small><b>廠商:</b></small>"
213203
214 #: ../src/polkitgnomeauthenticationdialog.c:705
204 #: ../src/polkitgnomeauthenticationdialog.c:710
215205 #, c-format
216206 msgid "Click to open %s"
217207 msgstr "按一下來開啟 %s"
218208
219 #: ../src/polkitgnomeauthenticationdialog.c:868
209 #: ../src/polkitgnomeauthenticationdialog.c:873
220210 msgid "Authenticate"
221211 msgstr "驗證"
222212
223 #: ../src/polkitgnomeauthenticator.c:285
213 #: ../src/polkitgnomeauthenticator.c:294
224214 #, c-format
225215 msgid "_Password for %s:"
226216 msgstr "%s 的密碼 (_P):"
227217
228 #: ../src/polkitgnomeauthenticator.c:445
218 #: ../src/polkitgnomeauthenticator.c:454
229219 msgid "Authentication Failure"
230220 msgstr "驗證失敗"
231221
232222 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
233223 msgid "PolicyKit Authentication Agent"
234224 msgstr "PolicyKit 驗證代理程式"
225
226 #~ msgid "Click the icon to drop all elevated privileges"
227 #~ msgstr "按下這個圖示放棄所有已提升的權限"
228
229 #~ msgid ""
230 #~ "This button is locked down so only users with administrative privileges "
231 #~ "can unlock it. Right-click the button to remove the lock down."
232 #~ msgstr ""
233 #~ "這個按鈕已被鎖定,因此只有具管理者權限的使用者可以解鎖。在這個按鈕上按右鍵"
234 #~ "可以移除鎖定。"
235235
236236 #~ msgid "Authorizations"
237237 #~ msgstr "授權"
354354 #~ msgstr "如果您的系統管理員不抱怨的話,可以這麼做"
355355
356356 #~ msgid "Tweak..."
357 #~ msgstr "Tweak..."
357 #~ msgstr "Tweak…"
358358
359359 #~ msgid "Tweak... (long)"
360 #~ msgstr "Tweak... (long)"
360 #~ msgstr "Tweak… (long)"
361361
362362 #~ msgid "Only card carrying tweakers can do this!"
363363 #~ msgstr "Only card carrying tweakers can do this!"
438438 #~ msgstr "Twiddle"
439439
440440 #~ msgid "Authenticating..."
441 #~ msgstr "正在驗證..."
441 #~ msgstr "正在驗證…"
442442
443443 #~ msgid "Don't exit after 30 seconds of inactivity"
444444 #~ msgstr "在 30 秒沒有動作後不要強制結束"
504504 #~ msgstr ", "
505505
506506 #~ msgid "Must be on console"
507 #~ msgstr "必須在主控台"
507 #~ msgstr "必須在主控臺"
508508
509509 #~ msgid "Must be in active session"
510510 #~ msgstr "必須在使用中的作業階段"
623623 #~ msgstr "必須在使用中的作業階段(_I)"
624624
625625 #~ msgid "Must be on _local console"
626 #~ msgstr "必須在本地端主控台(_L)"
626 #~ msgstr "必須在本地端主控臺(_L)"
627627
628628 #~ msgid "Must be in _active session on local console"
629 #~ msgstr "必須在使用中作業階段的本地端主控台(_A)"
629 #~ msgstr "必須在使用中作業階段的本地端主控臺(_A)"
630630
631631 #~ msgid "_Block..."
632 #~ msgstr "阻擋(_B)..."
632 #~ msgstr "阻擋(_B)…"
633633
634634 #~ msgid "_Grant..."
635 #~ msgstr "獲得(_G)..."
635 #~ msgstr "獲得(_G)…"
636636
637637 #~ msgid "Edit Implicit Authorizations"
638638 #~ msgstr "編輯隱含授權"
652652 #~ msgstr "<i>任何人:</i>"
653653
654654 #~ msgid "<i>Console:</i>"
655 #~ msgstr "<i>主控台:</i>"
655 #~ msgstr "<i>主控臺:</i>"
656656
657657 #~ msgid "<i>Active Console:</i>"
658 #~ msgstr "<i>使用中的主控台:</i>"
658 #~ msgstr "<i>使用中的主控臺:</i>"
659659
660660 #~ msgid "_Modify..."
661 #~ msgstr "修改(_M)..."
661 #~ msgstr "修改(_M)…"
662662
663663 #~ msgid "<b>Action</b>"
664664 #~ msgstr "<b>動作</b>"
676676 #~ "Implicit authorizations are authorizations automatically given to users "
677677 #~ "based on certain criteria such as if they are on the local console."
678678 #~ msgstr ""
679 #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控台時)可以自動獲得"
679 #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控臺時)可以自動獲得"
680680 #~ "的授權。"
681681
682682 #~ msgid "_Edit..."
683 #~ msgstr "編輯(_E)..."
683 #~ msgstr "編輯(_E)…"
684684
685685 #~ msgid "Revert To _Defaults..."
686 #~ msgstr "重置為預設值(_D)..."
686 #~ msgstr "重置為預設值(_D)…"
687687
688688 #~ msgid "<b>Explicit Authorizations</b>"
689689 #~ msgstr "<b>明確授權</b>"
712712 #~ msgstr "註銷(_R)"
713713
714714 #~ msgid "_Revoke..."
715 #~ msgstr "註銷(_R)..."
715 #~ msgstr "註銷(_R)…"
716716
717717 #~ msgid "_Show authorizations from all users..."
718 #~ msgstr "顯示所有使用者的授權(_S)..."
718 #~ msgstr "顯示所有使用者的授權(_S)…"
719719
720720 #~ msgid "_Show authorizations from all users"
721721 #~ msgstr "顯示所有使用者的授權(_S)"
00 # Chinese (Taiwan) translation of policykit-gnome
11 # Copyright (C) 20007 Free Software Foundation, Inc.
22 # Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>, 2008, 2010.
3 # Wei-Lun Chao <chaoweilun@gmail.com>, 2010.
4 #
35 msgid ""
46 msgstr ""
5 "Project-Id-Version: policykit-gnome 0.96\n"
7 "Project-Id-Version: policykit-gnome 0.100\n"
68 "Report-Msgid-Bugs-To: \n"
7 "POT-Creation-Date: 2010-02-27 20:56+0800\n"
8 "PO-Revision-Date: 2010-02-24 22:47+0800\n"
9 "Last-Translator: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>\n"
9 "POT-Creation-Date: 2011-02-05 17:46+0800\n"
10 "PO-Revision-Date: 2010-10-17 12:00+0800\n"
11 "Last-Translator: Wei-Lun Chao <chaoweilun@gmail.com>\n"
1012 "Language-Team: Chinese (traditional)\n"
13 "Language: zh_TW\n"
1114 "MIME-Version: 1.0\n"
1215 "Content-Type: text/plain; charset=UTF-8\n"
1316 "Content-Transfer-Encoding: 8bit\n"
14 "Language: zh_TW\n"
1517 "Plural-Forms: nplurals=1; plural=0;\n"
1618 "X-Generator: Virtaal 0.5.2\n"
1719
18 #: ../polkitgtk/polkitlockbutton.c:460
20 #: ../polkitgtk/polkitlockbutton.c:458
1921 msgid "Action Identifier"
2022 msgstr "動作識別碼"
2123
22 #: ../polkitgtk/polkitlockbutton.c:461
24 #: ../polkitgtk/polkitlockbutton.c:459
2325 msgid "The action identifier to use for the button"
2426 msgstr "要用在這個按鈕的動作識別碼"
2527
26 #: ../polkitgtk/polkitlockbutton.c:477
28 #: ../polkitgtk/polkitlockbutton.c:475
2729 msgid "Is Authorized"
2830 msgstr "是否已驗證"
2931
30 #: ../polkitgtk/polkitlockbutton.c:478
32 #: ../polkitgtk/polkitlockbutton.c:476
3133 msgid "Whether the process is authorized"
3234 msgstr "這個程序是否經過驗證"
3335
34 #: ../polkitgtk/polkitlockbutton.c:493
36 #: ../polkitgtk/polkitlockbutton.c:491
3537 msgid "Is Visible"
3638 msgstr "是否顯示"
3739
38 #: ../polkitgtk/polkitlockbutton.c:494
40 #: ../polkitgtk/polkitlockbutton.c:492
3941 msgid "Whether the widget is visible"
4042 msgstr "這個元件是否要顯示"
4143
42 #: ../polkitgtk/polkitlockbutton.c:509
44 #: ../polkitgtk/polkitlockbutton.c:507
4345 msgid "Can Obtain"
4446 msgstr "是否可獲得"
4547
46 #: ../polkitgtk/polkitlockbutton.c:510
48 #: ../polkitgtk/polkitlockbutton.c:508
4749 msgid "Whether authorization can be obtained"
4850 msgstr "是否可獲得驗證"
4951
50 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
52 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
5153 msgid "Unlock Text"
5254 msgstr "解鎖時文字"
5355
54 #: ../polkitgtk/polkitlockbutton.c:526
56 #: ../polkitgtk/polkitlockbutton.c:524
5557 msgid "The text to display when prompting the user to unlock."
5658 msgstr "當提示使用者進行解鎖時顯示的文字。"
5759
58 #: ../polkitgtk/polkitlockbutton.c:527
60 #: ../polkitgtk/polkitlockbutton.c:525
5961 msgid "Click to make changes"
6062 msgstr "請按這裡進行改變"
6163
62 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
64 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
6365 msgid "Unlock Tooltip"
6466 msgstr "解鎖時工具提示"
6567
66 #: ../polkitgtk/polkitlockbutton.c:543
68 #: ../polkitgtk/polkitlockbutton.c:541
6769 msgid "The tooltip to display when prompting the user to unlock."
6870 msgstr "當提示使用者進行解鎖時顯示的工具提示。"
6971
70 #: ../polkitgtk/polkitlockbutton.c:544
72 #: ../polkitgtk/polkitlockbutton.c:542
7173 msgid "Authentication is needed to make changes."
7274 msgstr "需要驗證才能進行改變。"
7375
74 #: ../polkitgtk/polkitlockbutton.c:559
76 #: ../polkitgtk/polkitlockbutton.c:557
7577 msgid "Lock Text"
7678 msgstr "鎖上時文字"
7779
78 #: ../polkitgtk/polkitlockbutton.c:560
80 #: ../polkitgtk/polkitlockbutton.c:558
7981 msgid "The text to display when prompting the user to lock."
8082 msgstr "當提示使用者進行鎖上時顯示的文字。"
8183
82 #: ../polkitgtk/polkitlockbutton.c:561
84 #: ../polkitgtk/polkitlockbutton.c:559
8385 msgid "Click to prevent changes"
8486 msgstr "請按這裡防止改變"
8587
86 #: ../polkitgtk/polkitlockbutton.c:576
88 #: ../polkitgtk/polkitlockbutton.c:574
8789 msgid "Lock Tooltip"
8890 msgstr "鎖上時工具提示"
8991
90 #: ../polkitgtk/polkitlockbutton.c:577
92 #: ../polkitgtk/polkitlockbutton.c:575
9193 msgid "The tooltip to display when prompting the user to lock."
9294 msgstr "當提示使用者進行鎖上時顯示的工具提示。"
9395
94 #: ../polkitgtk/polkitlockbutton.c:578
96 #: ../polkitgtk/polkitlockbutton.c:576
9597 msgid "To prevent further changes, click the lock."
9698 msgstr "要防止進一步的改變,請按這個鎖。"
9799
98 #: ../polkitgtk/polkitlockbutton.c:593
100 #: ../polkitgtk/polkitlockbutton.c:591
99101 msgid "Lock Down Text"
100102 msgstr "鎖定時文字"
101103
102 #: ../polkitgtk/polkitlockbutton.c:594
104 #: ../polkitgtk/polkitlockbutton.c:592
103105 msgid ""
104106 "The text to display when prompting the user to lock down the action for all "
105107 "users."
106108 msgstr "當提示使用者鎖定所有使用者的動作時顯示的文字。"
107109
108 #: ../polkitgtk/polkitlockbutton.c:595
110 #: ../polkitgtk/polkitlockbutton.c:593
109111 msgid "Click to lock down"
110112 msgstr "按這裡鎖定"
111113
112 #: ../polkitgtk/polkitlockbutton.c:610
114 #: ../polkitgtk/polkitlockbutton.c:608
113115 msgid "Lock Down Tooltip"
114116 msgstr "鎖定時工具提示"
115117
116 #: ../polkitgtk/polkitlockbutton.c:611
118 #: ../polkitgtk/polkitlockbutton.c:609
117119 msgid ""
118120 "The tooltip to display when prompting the user to lock down the action for "
119121 "all users."
120122 msgstr "當提示使用者鎖定所有使用者的動作時顯示的工具提示。"
121123
122 #: ../polkitgtk/polkitlockbutton.c:612
124 #: ../polkitgtk/polkitlockbutton.c:610
123125 msgid ""
124126 "To prevent users without administrative privileges from making changes, "
125127 "click the lock."
126128 msgstr "要防止沒有管理者權限的使用者進行變更,請按這個鎖。"
127129
128 #: ../polkitgtk/polkitlockbutton.c:628
130 #: ../polkitgtk/polkitlockbutton.c:626
129131 msgid ""
130132 "The text to display when the user cannot obtain authorization through "
131133 "authentication."
132134 msgstr "當使用者不能透過驗證取得授權時要顯示的文字。"
133135
134 #: ../polkitgtk/polkitlockbutton.c:629
136 #: ../polkitgtk/polkitlockbutton.c:627
135137 msgid "Not authorized to make changes"
136138 msgstr "未獲授權進行改變"
137139
138 #: ../polkitgtk/polkitlockbutton.c:645
140 #: ../polkitgtk/polkitlockbutton.c:643
139141 msgid ""
140142 "The tooltip to display when the user cannot obtain authorization through "
141143 "authentication."
142144 msgstr "當使用者不能透過驗證取得授權時要顯示的工具提示。"
143145
144 #: ../polkitgtk/polkitlockbutton.c:646
146 #: ../polkitgtk/polkitlockbutton.c:644
145147 msgid "System policy prevents changes. Contact your system administator."
146148 msgstr "系統原則阻止了這個變更。請聯絡您的系統管理者。"
147149
148 #. Translators: this string is appended to the tooltip if the action is
149 #. * currently locked down
150 #: ../polkitgtk/polkitlockbutton.c:767
151 msgid ""
152 "This button is locked down so only users with administrative privileges can "
153 "unlock it. Right-click the button to remove the lock down."
154 msgstr ""
155 "這個按鈕已被鎖定,因此只有具管理者權限的使用者可以解鎖。在這個按鈕上按右鍵可"
156 "以移除鎖定。"
157
158 #: ../src/main.c:128
159 msgid "Click the icon to drop all elevated privileges"
160 msgstr "按下這個圖示放棄所有已提升的權限"
161
162150 #: ../src/polkitgnomeauthenticationdialog.c:159
163151 msgid "Select user..."
164 msgstr "選擇使用者..."
152 msgstr "選擇使用者…"
165153
166154 #: ../src/polkitgnomeauthenticationdialog.c:194
167155 #, c-format
168156 msgid "%s (%s)"
169157 msgstr "%s (%s)"
170158
171 #: ../src/polkitgnomeauthenticationdialog.c:529
159 #: ../src/polkitgnomeauthenticationdialog.c:531
172160 msgid "_Authenticate"
173161 msgstr "驗證(_A)"
174162
175 #: ../src/polkitgnomeauthenticationdialog.c:566
163 #: ../src/polkitgnomeauthenticationdialog.c:571
176164 msgid ""
177165 "An application is attempting to perform an action that requires privileges. "
178166 "Authentication as one of the users below is required to perform this action."
179167 msgstr ""
180168 "有應用程式試圖進行需要權限的動作。必須授權為下列使用者之一才能進行這個動作。"
181169
182 #: ../src/polkitgnomeauthenticationdialog.c:574
170 #: ../src/polkitgnomeauthenticationdialog.c:579
183171 msgid ""
184172 "An application is attempting to perform an action that requires privileges. "
185173 "Authentication is required to perform this action."
186174 msgstr "有應用程式試圖進行需要權限的動作。必須獲得授權才能進行這個動作。"
187175
188 #: ../src/polkitgnomeauthenticationdialog.c:580
176 #: ../src/polkitgnomeauthenticationdialog.c:585
189177 msgid ""
190178 "An application is attempting to perform an action that requires privileges. "
191179 "Authentication as the super user is required to perform this action."
192180 msgstr ""
193181 "有應用程式試圖進行需要權限的動作。必須授權為超級使用者才能進行這個動作。"
194182
195 #: ../src/polkitgnomeauthenticationdialog.c:615
196 #: ../src/polkitgnomeauthenticator.c:289
183 #: ../src/polkitgnomeauthenticationdialog.c:620
184 #: ../src/polkitgnomeauthenticator.c:298
197185 msgid "_Password:"
198186 msgstr "密碼(_P):"
199187
200188 #. Details
201 #: ../src/polkitgnomeauthenticationdialog.c:633
189 #: ../src/polkitgnomeauthenticationdialog.c:638
202190 msgid "<small><b>_Details</b></small>"
203191 msgstr "<small><b>詳細資料(_D)</b></small>"
204192
205 #: ../src/polkitgnomeauthenticationdialog.c:686
193 #: ../src/polkitgnomeauthenticationdialog.c:691
206194 msgid "<small><b>Action:</b></small>"
207195 msgstr "<small><b>動作:</b></small>"
208196
209 #: ../src/polkitgnomeauthenticationdialog.c:689
197 #: ../src/polkitgnomeauthenticationdialog.c:694
210198 #, c-format
211199 msgid "Click to edit %s"
212200 msgstr "按下這裡編輯 %s"
213201
214 #: ../src/polkitgnomeauthenticationdialog.c:703
202 #: ../src/polkitgnomeauthenticationdialog.c:708
215203 msgid "<small><b>Vendor:</b></small>"
216204 msgstr "<small><b>廠商:</b></small>"
217205
218 #: ../src/polkitgnomeauthenticationdialog.c:705
206 #: ../src/polkitgnomeauthenticationdialog.c:710
219207 #, c-format
220208 msgid "Click to open %s"
221209 msgstr "按一下來開啟 %s"
222210
223 #: ../src/polkitgnomeauthenticationdialog.c:868
211 #: ../src/polkitgnomeauthenticationdialog.c:873
224212 msgid "Authenticate"
225213 msgstr "驗證"
226214
227 #: ../src/polkitgnomeauthenticator.c:285
215 #: ../src/polkitgnomeauthenticator.c:294
228216 #, c-format
229217 msgid "_Password for %s:"
230218 msgstr "%s 的密碼 (_P):"
231219
232 #: ../src/polkitgnomeauthenticator.c:445
220 #: ../src/polkitgnomeauthenticator.c:454
233221 msgid "Authentication Failure"
234222 msgstr "驗證失敗"
235223
236224 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
237225 msgid "PolicyKit Authentication Agent"
238226 msgstr "PolicyKit 驗證代理程式"
227
228 #~ msgid "Click the icon to drop all elevated privileges"
229 #~ msgstr "按下這個圖示放棄所有已提升的權限"
230
231 #~ msgid ""
232 #~ "This button is locked down so only users with administrative privileges "
233 #~ "can unlock it. Right-click the button to remove the lock down."
234 #~ msgstr ""
235 #~ "這個按鈕已被鎖定,因此只有具管理者權限的使用者可以解鎖。在這個按鈕上按右鍵"
236 #~ "可以移除鎖定。"
239237
240238 #~ msgid "Authorizations"
241239 #~ msgstr "授權"
358356 #~ msgstr "如果您的系統管理員不抱怨的話,可以這麼做"
359357
360358 #~ msgid "Tweak..."
361 #~ msgstr "Tweak..."
359 #~ msgstr "Tweak…"
362360
363361 #~ msgid "Tweak... (long)"
364 #~ msgstr "Tweak... (long)"
362 #~ msgstr "Tweak… (long)"
365363
366364 #~ msgid "Only card carrying tweakers can do this!"
367365 #~ msgstr "Only card carrying tweakers can do this!"
442440 #~ msgstr "Twiddle"
443441
444442 #~ msgid "Authenticating..."
445 #~ msgstr "正在驗證..."
443 #~ msgstr "正在驗證…"
446444
447445 #~ msgid "Don't exit after 30 seconds of inactivity"
448446 #~ msgstr "在 30 秒沒有動作後不要強制結束"
508506 #~ msgstr ", "
509507
510508 #~ msgid "Must be on console"
511 #~ msgstr "必須在主控台"
509 #~ msgstr "必須在主控臺"
512510
513511 #~ msgid "Must be in active session"
514512 #~ msgstr "必須在使用中的作業階段"
627625 #~ msgstr "必須在使用中的作業階段(_I)"
628626
629627 #~ msgid "Must be on _local console"
630 #~ msgstr "必須在本地端主控台(_L)"
628 #~ msgstr "必須在本地端主控臺(_L)"
631629
632630 #~ msgid "Must be in _active session on local console"
633 #~ msgstr "必須在使用中作業階段的本地端主控台(_A)"
631 #~ msgstr "必須在使用中作業階段的本地端主控臺(_A)"
634632
635633 #~ msgid "_Block..."
636 #~ msgstr "阻擋(_B)..."
634 #~ msgstr "阻擋(_B)…"
637635
638636 #~ msgid "_Grant..."
639 #~ msgstr "獲得(_G)..."
637 #~ msgstr "獲得(_G)…"
640638
641639 #~ msgid "Edit Implicit Authorizations"
642640 #~ msgstr "編輯隱含授權"
656654 #~ msgstr "<i>任何人:</i>"
657655
658656 #~ msgid "<i>Console:</i>"
659 #~ msgstr "<i>主控台:</i>"
657 #~ msgstr "<i>主控臺:</i>"
660658
661659 #~ msgid "<i>Active Console:</i>"
662 #~ msgstr "<i>使用中的主控台:</i>"
660 #~ msgstr "<i>使用中的主控臺:</i>"
663661
664662 #~ msgid "_Modify..."
665 #~ msgstr "修改(_M)..."
663 #~ msgstr "修改(_M)…"
666664
667665 #~ msgid "<b>Action</b>"
668666 #~ msgstr "<b>動作</b>"
680678 #~ "Implicit authorizations are authorizations automatically given to users "
681679 #~ "based on certain criteria such as if they are on the local console."
682680 #~ msgstr ""
683 #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控台時)可以自動獲得"
681 #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控臺時)可以自動獲得"
684682 #~ "的授權。"
685683
686684 #~ msgid "_Edit..."
687 #~ msgstr "編輯(_E)..."
685 #~ msgstr "編輯(_E)…"
688686
689687 #~ msgid "Revert To _Defaults..."
690 #~ msgstr "重置為預設值(_D)..."
688 #~ msgstr "重置為預設值(_D)…"
691689
692690 #~ msgid "<b>Explicit Authorizations</b>"
693691 #~ msgstr "<b>明確授權</b>"
716714 #~ msgstr "註銷(_R)"
717715
718716 #~ msgid "_Revoke..."
719 #~ msgstr "註銷(_R)..."
717 #~ msgstr "註銷(_R)…"
720718
721719 #~ msgid "_Show authorizations from all users..."
722 #~ msgstr "顯示所有使用者的授權(_S)..."
720 #~ msgstr "顯示所有使用者的授權(_S)…"
723721
724722 #~ msgid "_Show authorizations from all users"
725723 #~ msgstr "顯示所有使用者的授權(_S)"
7979 --namespace PolkitGtk \
8080 --strip-prefix=Polkit \
8181 --nsversion=1.0 \
82 --include=Gtk-2.0 \
82 --include=Gtk-$(GTK_API_VERSION) \
8383 --include=Polkit-1.0 \
8484 --library=polkit-gtk-1 \
8585 --output $@ \
8686 --pkg=polkit-gobject-1 \
87 --pkg=gtk+-2.0 \
87 --pkg=gtk+-$(GTK_API_VERSION) \
8888 --libtool=$(top_builddir)/libtool \
8989 -I$(top_srcdir) \
9090 -DPOLKIT_GTK_COMPILATION \
172172 GTKDOC_CHECK = @GTKDOC_CHECK@
173173 GTKDOC_MKPDF = @GTKDOC_MKPDF@
174174 GTKDOC_REBASE = @GTKDOC_REBASE@
175 GTK_API_VERSION = @GTK_API_VERSION@
175176 GTK_CFLAGS = @GTK_CFLAGS@
176177 GTK_LIBS = @GTK_LIBS@
177178 G_IR_COMPILER = @G_IR_COMPILER@
224225 PACKAGE_VERSION = @PACKAGE_VERSION@
225226 PATH_SEPARATOR = @PATH_SEPARATOR@
226227 PKG_CONFIG = @PKG_CONFIG@
228 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
229 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
227230 POFILES = @POFILES@
228231 POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@
229232 POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@
277280 libexecdir = @libexecdir@
278281 localedir = @localedir@
279282 localstatedir = @localstatedir@
280 lt_ECHO = @lt_ECHO@
281283 mandir = @mandir@
282284 mkdir_p = @mkdir_p@
283285 oldincludedir = @oldincludedir@
801803 @ENABLE_INTROSPECTION_TRUE@ --namespace PolkitGtk \
802804 @ENABLE_INTROSPECTION_TRUE@ --strip-prefix=Polkit \
803805 @ENABLE_INTROSPECTION_TRUE@ --nsversion=1.0 \
804 @ENABLE_INTROSPECTION_TRUE@ --include=Gtk-2.0 \
806 @ENABLE_INTROSPECTION_TRUE@ --include=Gtk-$(GTK_API_VERSION) \
805807 @ENABLE_INTROSPECTION_TRUE@ --include=Polkit-1.0 \
806808 @ENABLE_INTROSPECTION_TRUE@ --library=polkit-gtk-1 \
807809 @ENABLE_INTROSPECTION_TRUE@ --output $@ \
808810 @ENABLE_INTROSPECTION_TRUE@ --pkg=polkit-gobject-1 \
809 @ENABLE_INTROSPECTION_TRUE@ --pkg=gtk+-2.0 \
811 @ENABLE_INTROSPECTION_TRUE@ --pkg=gtk+-$(GTK_API_VERSION) \
810812 @ENABLE_INTROSPECTION_TRUE@ --libtool=$(top_builddir)/libtool \
811813 @ENABLE_INTROSPECTION_TRUE@ -I$(top_srcdir) \
812814 @ENABLE_INTROSPECTION_TRUE@ -DPOLKIT_GTK_COMPILATION \
00
11 FULL_LIBEXECDIR=$(libexecdir)
2
3 desktopdir = $(sysconfdir)/xdg/autostart
4 desktop_DATA = polkit-gnome-authentication-agent-1.desktop
5
6 @INTLTOOL_DESKTOP_RULE@
7
8 polkit-gnome-authentication-agent-1.desktop.in : polkit-gnome-authentication-agent-1.desktop.in.in
9 cat polkit-gnome-authentication-agent-1.desktop.in.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@
102
113 libexec_PROGRAMS = polkit-gnome-authentication-agent-1
124
4436 $(POLKIT_GOBJECT_LIBS) \
4537 $(INTLLIBS)
4638
47 EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in.in
39 EXTRA_DIST =
4840
4941 clean-local :
50 rm -f *~ polkit-gnome-authentication-agent-1.desktop polkit-gnome-authentication-agent-1.desktop.in
42 rm -f *~
1313 # PARTICULAR PURPOSE.
1414
1515 @SET_MAKE@
16
1716
1817 VPATH = @srcdir@
1918 pkgdatadir = $(datadir)/@PACKAGE@
4544 CONFIG_HEADER = $(top_builddir)/config.h
4645 CONFIG_CLEAN_FILES =
4746 CONFIG_CLEAN_VPATH_FILES =
48 am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(desktopdir)"
47 am__installdirs = "$(DESTDIR)$(libexecdir)"
4948 PROGRAMS = $(libexec_PROGRAMS)
5049 am_polkit_gnome_authentication_agent_1_OBJECTS = polkit_gnome_authentication_agent_1-polkitgnomelistener.$(OBJEXT) \
5150 polkit_gnome_authentication_agent_1-polkitgnomeauthenticator.$(OBJEXT) \
9392 am__v_GEN_0 = @echo " GEN " $@;
9493 SOURCES = $(polkit_gnome_authentication_agent_1_SOURCES)
9594 DIST_SOURCES = $(polkit_gnome_authentication_agent_1_SOURCES)
96 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
97 am__vpath_adj = case $$p in \
98 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
99 *) f=$$p;; \
100 esac;
101 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
102 am__install_max = 40
103 am__nobase_strip_setup = \
104 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
105 am__nobase_strip = \
106 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
107 am__nobase_list = $(am__nobase_strip_setup); \
108 for p in $$list; do echo "$$p $$p"; done | \
109 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
110 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
111 if (++n[$$2] == $(am__install_max)) \
112 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
113 END { for (dir in files) print dir, files[dir] }'
114 am__base_list = \
115 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
116 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
117 DATA = $(desktop_DATA)
11895 ETAGS = etags
11996 CTAGS = ctags
12097 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
161138 GTKDOC_CHECK = @GTKDOC_CHECK@
162139 GTKDOC_MKPDF = @GTKDOC_MKPDF@
163140 GTKDOC_REBASE = @GTKDOC_REBASE@
141 GTK_API_VERSION = @GTK_API_VERSION@
164142 GTK_CFLAGS = @GTK_CFLAGS@
165143 GTK_LIBS = @GTK_LIBS@
166144 G_IR_COMPILER = @G_IR_COMPILER@
213191 PACKAGE_VERSION = @PACKAGE_VERSION@
214192 PATH_SEPARATOR = @PATH_SEPARATOR@
215193 PKG_CONFIG = @PKG_CONFIG@
194 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
195 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
216196 POFILES = @POFILES@
217197 POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@
218198 POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@
266246 libexecdir = @libexecdir@
267247 localedir = @localedir@
268248 localstatedir = @localstatedir@
269 lt_ECHO = @lt_ECHO@
270249 mandir = @mandir@
271250 mkdir_p = @mkdir_p@
272251 oldincludedir = @oldincludedir@
283262 top_builddir = @top_builddir@
284263 top_srcdir = @top_srcdir@
285264 FULL_LIBEXECDIR = $(libexecdir)
286 desktopdir = $(sysconfdir)/xdg/autostart
287 desktop_DATA = polkit-gnome-authentication-agent-1.desktop
288265 polkit_gnome_authentication_agent_1_SOURCES = \
289266 polkitgnomelistener.h polkitgnomelistener.c \
290267 polkitgnomeauthenticator.h polkitgnomeauthenticator.c \
319296 $(POLKIT_GOBJECT_LIBS) \
320297 $(INTLLIBS)
321298
322 EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in.in
299 EXTRA_DIST =
323300 all: all-am
324301
325302 .SUFFIXES:
505482
506483 clean-libtool:
507484 -rm -rf .libs _libs
508 install-desktopDATA: $(desktop_DATA)
509 @$(NORMAL_INSTALL)
510 test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)"
511 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
512 for p in $$list; do \
513 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
514 echo "$$d$$p"; \
515 done | $(am__base_list) | \
516 while read files; do \
517 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \
518 $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \
519 done
520
521 uninstall-desktopDATA:
522 @$(NORMAL_UNINSTALL)
523 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
524 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
525 test -n "$$files" || exit 0; \
526 echo " ( cd '$(DESTDIR)$(desktopdir)' && rm -f" $$files ")"; \
527 cd "$(DESTDIR)$(desktopdir)" && rm -f $$files
528485
529486 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
530487 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
610567 done
611568 check-am: all-am
612569 check: check-am
613 all-am: Makefile $(PROGRAMS) $(DATA)
570 all-am: Makefile $(PROGRAMS)
614571 installdirs:
615 for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(desktopdir)"; do \
572 for dir in "$(DESTDIR)$(libexecdir)"; do \
616573 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
617574 done
618575 install: install-am
663620
664621 info-am:
665622
666 install-data-am: install-desktopDATA
623 install-data-am:
667624
668625 install-dvi: install-dvi-am
669626
709666
710667 ps-am:
711668
712 uninstall-am: uninstall-desktopDATA uninstall-libexecPROGRAMS
669 uninstall-am: uninstall-libexecPROGRAMS
713670
714671 .MAKE: install-am install-strip
715672
718675 distclean distclean-compile distclean-generic \
719676 distclean-libtool distclean-tags distdir dvi dvi-am html \
720677 html-am info info-am install install-am install-data \
721 install-data-am install-desktopDATA install-dvi install-dvi-am \
722 install-exec install-exec-am install-html install-html-am \
723 install-info install-info-am install-libexecPROGRAMS \
724 install-man install-pdf install-pdf-am install-ps \
725 install-ps-am install-strip installcheck installcheck-am \
726 installdirs maintainer-clean maintainer-clean-generic \
727 mostlyclean mostlyclean-compile mostlyclean-generic \
728 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
729 uninstall-am uninstall-desktopDATA uninstall-libexecPROGRAMS
730
731
732 @INTLTOOL_DESKTOP_RULE@
733
734 polkit-gnome-authentication-agent-1.desktop.in : polkit-gnome-authentication-agent-1.desktop.in.in
735 cat polkit-gnome-authentication-agent-1.desktop.in.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@
678 install-data-am install-dvi install-dvi-am install-exec \
679 install-exec-am install-html install-html-am install-info \
680 install-info-am install-libexecPROGRAMS install-man \
681 install-pdf install-pdf-am install-ps install-ps-am \
682 install-strip installcheck installcheck-am installdirs \
683 maintainer-clean maintainer-clean-generic mostlyclean \
684 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
685 pdf pdf-am ps ps-am tags uninstall uninstall-am \
686 uninstall-libexecPROGRAMS
687
736688
737689 clean-local :
738 rm -f *~ polkit-gnome-authentication-agent-1.desktop polkit-gnome-authentication-agent-1.desktop.in
690 rm -f *~
739691
740692 # Tell versions [3.59,3.63) of GNU make to not export all variables.
741693 # Otherwise a system limit (for SysV at least) may be exceeded.
3535 /* the session we are servicing */
3636 static PolkitSubject *session = NULL;
3737
38 /* the current set of temporary authorizations */
39 static GList *current_temporary_authorizations = NULL;
40
41 static GtkStatusIcon *status_icon = NULL;
42
43 static void
44 revoke_tmp_authz_cb (GObject *source_object,
45 GAsyncResult *res,
46 gpointer user_data)
47 {
48 GError *error;
49
50 error = NULL;
51 polkit_authority_revoke_temporary_authorizations_finish (POLKIT_AUTHORITY (source_object),
52 res,
53 &error);
54 if (error != NULL)
55 {
56 g_warning ("Error revoking temporary authorizations: %s", error->message);
57 g_error_free (error);
58 }
59 }
60
61 static void
62 revoke_tmp_authz (void)
63 {
64 polkit_authority_revoke_temporary_authorizations (authority,
65 session,
66 NULL,
67 revoke_tmp_authz_cb,
68 NULL);
69 }
70
71 static void
72 on_status_icon_activate (GtkStatusIcon *status_icon,
73 gpointer user_data)
74 {
75 revoke_tmp_authz ();
76 }
77
78 static void
79 on_status_icon_popup_menu (GtkStatusIcon *status_icon,
80 guint button,
81 guint activate_time,
82 gpointer user_data)
83 {
84 revoke_tmp_authz ();
85 }
86
87 static void
88 update_temporary_authorization_icon_real (void)
89 {
90
91 #if 0
92 GList *l;
93 g_debug ("have %d tmp authorizations", g_list_length (current_temporary_authorizations));
94 for (l = current_temporary_authorizations; l != NULL; l = l->next)
95 {
96 PolkitTemporaryAuthorization *authz = POLKIT_TEMPORARY_AUTHORIZATION (l->data);
97
98 g_debug ("have tmp authz for action %s (subject %s) with id %s (obtained %d, expires %d)",
99 polkit_temporary_authorization_get_action_id (authz),
100 polkit_subject_to_string (polkit_temporary_authorization_get_subject (authz)),
101 polkit_temporary_authorization_get_id (authz),
102 (gint) polkit_temporary_authorization_get_time_obtained (authz),
103 (gint) polkit_temporary_authorization_get_time_expires (authz));
104 }
105 #endif
106
107 /* TODO:
108 *
109 * - we could do something fancy like displaying a window with the tmp authz
110 * when the icon is clicked...
111 *
112 * - we could do some work using polkit_subject_exists() to ignore tmp authz
113 * for subjects that no longer exists.. this is because temporary authorizations
114 * are only valid for the subject that trigger the authentication dialog.
115 *
116 * Maybe the authority could do this, would probably involve some polling, but
117 * it seems cleaner to do this server side.
118 */
119
120 if (current_temporary_authorizations != NULL)
121 {
122 /* show icon */
123 if (status_icon == NULL)
124 {
125 status_icon = gtk_status_icon_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION);
126 gtk_status_icon_set_tooltip_text (status_icon,
127 _("Click the icon to drop all elevated privileges"));
128 g_signal_connect (status_icon,
129 "activate",
130 G_CALLBACK (on_status_icon_activate),
131 NULL);
132 g_signal_connect (status_icon,
133 "popup-menu",
134 G_CALLBACK (on_status_icon_popup_menu),
135 NULL);
136 }
137 }
138 else
139 {
140 /* hide icon */
141 if (status_icon != NULL)
142 {
143 gtk_status_icon_set_visible (status_icon, FALSE);
144 g_object_unref (status_icon);
145 status_icon = NULL;
146 }
147 }
148 }
149
150 static void
151 enumerate_temporary_authorizations_cb (GObject *source_object,
152 GAsyncResult *res,
153 gpointer user_data)
154 {
155 PolkitAuthority *authority = POLKIT_AUTHORITY (source_object);
156 GList *temporary_authorizations;
157 GError *error;
158
159 temporary_authorizations = NULL;
160
161 error = NULL;
162 temporary_authorizations = polkit_authority_enumerate_temporary_authorizations_finish (authority,
163 res,
164 &error);
165 if (error != NULL)
166 {
167 g_warning ("Error enumerating temporary authorizations: %s", error->message);
168 g_error_free (error);
169 goto out;
170 }
171
172 g_list_foreach (current_temporary_authorizations, (GFunc) g_object_unref, NULL);
173 g_list_free (current_temporary_authorizations);
174
175 current_temporary_authorizations = temporary_authorizations;
176
177 update_temporary_authorization_icon_real ();
178
179 out:
180 ;
181 }
182
183 static void
184 update_temporary_authorization_icon (PolkitAuthority *authority)
185 {
186 polkit_authority_enumerate_temporary_authorizations (authority,
187 session,
188 NULL,
189 enumerate_temporary_authorizations_cb,
190 NULL);
191 }
192
193 static void
194 on_authority_changed (PolkitAuthority *authority,
195 gpointer user_data)
196 {
197 update_temporary_authorization_icon (authority);
198 }
199
20038 int
20139 main (int argc, char **argv)
20240 {
23068 g_error_free (error);
23169 goto out;
23270 }
233 g_signal_connect (authority,
234 "changed",
235 G_CALLBACK (on_authority_changed),
236 NULL);
23771
23872 listener = polkit_gnome_listener_new ();
23973
25791 goto out;
25892 }
25993
260 update_temporary_authorization_icon (authority);
261
26294 g_main_loop_run (loop);
26395
26496 ret = 0;
+0
-9
src/polkit-gnome-authentication-agent-1.desktop.in.in less more
0 [Desktop Entry]
1 _Name=PolicyKit Authentication Agent
2 _Comment=PolicyKit Authentication Agent
3 Exec=@FULL_LIBEXECDIR@/polkit-gnome-authentication-agent-1
4 Terminal=false
5 Type=Application
6 Categories=
7 NoDisplay=true
8 OnlyShowIn=GNOME;
206206 g_free (path);
207207 }
208208
209 /* fall back to stock_person icon */
209 /* fall back to avatar-default icon */
210210 if (pixbuf == NULL)
211211 {
212212 pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
213 "stock_person",
213 "avatar-default",
214214 GTK_ICON_SIZE_MENU,
215215 0,
216216 NULL);
534534 content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
535535 action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog));
536536
537 gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
538537 gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
539538 gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */
540539 gtk_container_set_border_width (GTK_CONTAINER (action_area), 5);
661660 const gchar *key = keys[n];
662661 const gchar *value;
663662
663 if (g_str_has_prefix (key, "polkit."))
664 continue;
665
664666 value = polkit_details_lookup (dialog->priv->details, key);
665667
666668 label = gtk_label_new (NULL);
995997
996998 response = gtk_dialog_run (GTK_DIALOG (dialog));
997999
998 gtk_widget_hide_all (dialog->priv->table_alignment);
1000 gtk_widget_hide (dialog->priv->table_alignment);
9991001 gtk_widget_set_no_show_all (dialog->priv->table_alignment, TRUE);
10001002
10011003 dialog->priv->is_running = FALSE;