Imported Upstream version 0.100
Michael Biebl
13 years ago
4 | 4 | TODO \ |
5 | 5 | HACKING |
6 | 6 | |
7 | DISTCHECK_CONFIGURE_FLAGS=--disable-introspection | |
8 | ||
7 | 9 | clean-local : |
8 | 10 | rm -f *~ po/*~ |
149 | 149 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
150 | 150 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
151 | 151 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
152 | GTK_API_VERSION = @GTK_API_VERSION@ | |
152 | 153 | GTK_CFLAGS = @GTK_CFLAGS@ |
153 | 154 | GTK_LIBS = @GTK_LIBS@ |
154 | 155 | G_IR_COMPILER = @G_IR_COMPILER@ |
201 | 202 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
202 | 203 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
203 | 204 | PKG_CONFIG = @PKG_CONFIG@ |
205 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | |
206 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | |
204 | 207 | POFILES = @POFILES@ |
205 | 208 | POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@ |
206 | 209 | POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@ |
254 | 257 | libexecdir = @libexecdir@ |
255 | 258 | localedir = @localedir@ |
256 | 259 | localstatedir = @localstatedir@ |
257 | lt_ECHO = @lt_ECHO@ | |
258 | 260 | mandir = @mandir@ |
259 | 261 | mkdir_p = @mkdir_p@ |
260 | 262 | oldincludedir = @oldincludedir@ |
276 | 278 | TODO \ |
277 | 279 | HACKING |
278 | 280 | |
281 | DISTCHECK_CONFIGURE_FLAGS = --disable-introspection | |
279 | 282 | all: config.h |
280 | 283 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
281 | 284 |
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 | ||
0 | 34 | ========== |
1 | 35 | polkit-gnome 0.99 |
2 | 36 | ========== |
8 | 42 | polkit >= 0.97 |
9 | 43 | gtk+-2.0 >= 2.17.1 |
10 | 44 | |
11 | Changes since 0.97: | |
45 | Changes since 0.98: | |
12 | 46 | |
13 | 47 | David Zeuthen (5): |
14 | 48 | Post-release version bump to 0.98 |
12 | 12 | |
13 | 13 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 14 | [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. | |
17 | 17 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 18 | If you have problems, you may need to regenerate the build system entirely. |
19 | 19 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
20 | 20 | |
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. | |
23 | 22 | # |
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. | |
29 | 60 | # |
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/../..'. | |
33 | 68 | # |
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. | |
36 | 76 | # |
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 | |
39 | 83 | # |
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. | |
42 | 88 | # |
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. | |
45 | 98 | # |
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. | |
48 | 114 | # |
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 | |
100 | 254 | 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 | |
101 | 286 | fi |
102 | 287 | fi |
103 | 288 | 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 | |
109 | 662 | ;; |
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 " | |
114 | 718 | else |
115 | AC_MSG_RESULT(no) | |
719 | am_missing_run= | |
720 | AC_MSG_WARN([`missing' script is too old or missing]) | |
116 | 721 | fi |
117 | AC_SUBST($1)dnl | |
118 | 722 | ]) |
119 | 723 | |
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 | |
307 | 965 | 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 | |
453 | 1017 | |
454 | 1018 | # gnome-common.m4 |
455 | 1019 | # |
903 | 1467 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
904 | 1468 | # |
905 | 1469 | # 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. | |
907 | 1472 | # Written by Gordon Matzigkeit, 1996 |
908 | 1473 | # |
909 | 1474 | # This file is free software; the Free Software Foundation gives |
912 | 1477 | |
913 | 1478 | m4_define([_LT_COPYING], [dnl |
914 | 1479 | # 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. | |
916 | 1482 | # Written by Gordon Matzigkeit, 1996 |
917 | 1483 | # |
918 | 1484 | # This file is part of GNU Libtool. |
939 | 1505 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
940 | 1506 | ]) |
941 | 1507 | |
942 | # serial 56 LT_INIT | |
1508 | # serial 57 LT_INIT | |
943 | 1509 | |
944 | 1510 | |
945 | 1511 | # LT_PREREQ(VERSION) |
968 | 1534 | # ------------------ |
969 | 1535 | AC_DEFUN([LT_INIT], |
970 | 1536 | [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
1537 | AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | |
971 | 1538 | AC_BEFORE([$0], [LT_LANG])dnl |
972 | 1539 | AC_BEFORE([$0], [LT_OUTPUT])dnl |
973 | 1540 | AC_BEFORE([$0], [LTDL_INIT])dnl |
983 | 1550 | AC_REQUIRE([LTVERSION_VERSION])dnl |
984 | 1551 | AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
985 | 1552 | m4_require([_LT_PROG_LTMAIN])dnl |
1553 | ||
1554 | _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) | |
986 | 1555 | |
987 | 1556 | dnl Parse OPTIONS |
988 | 1557 | _LT_SET_OPTIONS([$0], [$1]) |
1020 | 1589 | *) break;; |
1021 | 1590 | esac |
1022 | 1591 | 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-%%"` | |
1024 | 1593 | ]) |
1025 | 1594 | |
1026 | 1595 | |
1040 | 1609 | m4_defun([_LT_SETUP], |
1041 | 1610 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
1042 | 1611 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
1612 | AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl | |
1613 | AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl | |
1614 | ||
1043 | 1615 | _LT_DECL([], [host_alias], [0], [The host system])dnl |
1044 | 1616 | _LT_DECL([], [host], [0])dnl |
1045 | 1617 | _LT_DECL([], [host_os], [0])dnl |
1081 | 1653 | _LT_CHECK_OBJDIR |
1082 | 1654 | |
1083 | 1655 | m4_require([_LT_TAG_COMPILER])dnl |
1084 | _LT_PROG_ECHO_BACKSLASH | |
1085 | 1656 | |
1086 | 1657 | case $host_os in |
1087 | 1658 | aix3*) |
1095 | 1666 | ;; |
1096 | 1667 | esac |
1097 | 1668 | |
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 | ||
1115 | 1669 | # Global variables: |
1116 | 1670 | ofile=libtool |
1117 | 1671 | can_build_shared=yes |
1151 | 1705 | _LT_CONFIG_COMMANDS |
1152 | 1706 | ])# _LT_SETUP |
1153 | 1707 | |
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 | ]) | |
1154 | 1730 | |
1155 | 1731 | # _LT_PROG_LTMAIN |
1156 | 1732 | # --------------- |
1304 | 1880 | # declaration there will have the same value as in `configure'. VARNAME |
1305 | 1881 | # must have a single quote delimited value for this to work. |
1306 | 1882 | 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"`']) | |
1308 | 1884 | |
1309 | 1885 | |
1310 | 1886 | # _LT_CONFIG_STATUS_DECLARATIONS |
1314 | 1890 | # embedded single quotes properly. In configure, this macro expands |
1315 | 1891 | # each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
1316 | 1892 | # |
1317 | # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' | |
1893 | # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' | |
1318 | 1894 | m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
1319 | 1895 | [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
1320 | 1896 | [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
1413 | 1989 | LTCFLAGS='$LTCFLAGS' |
1414 | 1990 | compiler='$compiler_DEFAULT' |
1415 | 1991 | |
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 | ||
1416 | 2000 | # Quote evaled strings. |
1417 | 2001 | for var in lt_decl_all_varnames([[ \ |
1418 | 2002 | ]], lt_decl_quote_varnames); do |
1419 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
2003 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
1420 | 2004 | *[[\\\\\\\`\\"\\\$]]*) |
1421 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
2005 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
1422 | 2006 | ;; |
1423 | 2007 | *) |
1424 | 2008 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
1429 | 2013 | # Double-quote double-evaled strings. |
1430 | 2014 | for var in lt_decl_all_varnames([[ \ |
1431 | 2015 | ]], lt_decl_dquote_varnames); do |
1432 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
2016 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
1433 | 2017 | *[[\\\\\\\`\\"\\\$]]*) |
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\\"\\\`\\\\\\"" | |
1435 | 2019 | ;; |
1436 | 2020 | *) |
1437 | 2021 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
1439 | 2023 | esac |
1440 | 2024 | done |
1441 | 2025 | |
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 | ||
1449 | 2026 | _LT_OUTPUT_LIBTOOL_INIT |
1450 | 2027 | ]) |
1451 | 2028 | |
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 | |
1452 | 2058 | |
1453 | 2059 | # LT_OUTPUT |
1454 | 2060 | # --------- |
1458 | 2064 | AC_DEFUN([LT_OUTPUT], |
1459 | 2065 | [: ${CONFIG_LT=./config.lt} |
1460 | 2066 | 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 | |
1466 | 2071 | 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 | |
1475 | 2072 | exec AS_MESSAGE_LOG_FD>>config.log |
1476 | 2073 | { |
1477 | 2074 | echo |
1497 | 2094 | m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
1498 | 2095 | configured by $[0], generated by m4_PACKAGE_STRING. |
1499 | 2096 | |
1500 | Copyright (C) 2008 Free Software Foundation, Inc. | |
2097 | Copyright (C) 2010 Free Software Foundation, Inc. | |
1501 | 2098 | This config.lt script is free software; the Free Software Foundation |
1502 | 2099 | gives unlimited permision to copy, distribute and modify it." |
1503 | 2100 | |
1542 | 2139 | # appending to config.log, which fails on DOS, as config.log is still kept |
1543 | 2140 | # open by configure. Here we exec the FD to /dev/null, effectively closing |
1544 | 2141 | # 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) | |
1554 | 2149 | ])# LT_OUTPUT |
1555 | 2150 | |
1556 | 2151 | |
1727 | 2322 | AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
1728 | 2323 | AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
1729 | 2324 | AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
2325 | AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) | |
1730 | 2326 | dnl aclocal-1.4 backwards compatibility: |
1731 | 2327 | dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
1732 | 2328 | dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
1733 | 2329 | dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
1734 | 2330 | dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
2331 | dnl AC_DEFUN([AC_LIBTOOL_RC], []) | |
1735 | 2332 | |
1736 | 2333 | |
1737 | 2334 | # _LT_TAG_COMPILER |
1836 | 2433 | [lt_cv_ld_exported_symbols_list=no]) |
1837 | 2434 | LDFLAGS="$save_LDFLAGS" |
1838 | 2435 | ]) |
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 | ]) | |
1839 | 2461 | case $host_os in |
1840 | 2462 | rhapsody* | darwin1.[[012]]) |
1841 | 2463 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
1863 | 2485 | else |
1864 | 2486 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
1865 | 2487 | fi |
1866 | if test "$DSYMUTIL" != ":"; then | |
2488 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
1867 | 2489 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
1868 | 2490 | else |
1869 | 2491 | _lt_dsymutil= |
1883 | 2505 | _LT_TAGVAR(hardcode_direct, $1)=no |
1884 | 2506 | _LT_TAGVAR(hardcode_automatic, $1)=yes |
1885 | 2507 | _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 | |
1887 | 2513 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
1888 | 2514 | _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
1889 | 2515 | case $cc_basename in |
1891 | 2517 | *) _lt_dar_can_shared=$GCC ;; |
1892 | 2518 | esac |
1893 | 2519 | if test "$_lt_dar_can_shared" = "yes"; then |
1894 | output_verbose_link_cmd=echo | |
2520 | output_verbose_link_cmd=func_echo_all | |
1895 | 2521 | _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}" |
1896 | 2522 | _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
1897 | 2523 | _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}" |
1937 | 2563 | # _LT_SHELL_INIT(ARG) |
1938 | 2564 | # ------------------- |
1939 | 2565 | 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 | ||
1946 | 2569 | |
1947 | 2570 | |
1948 | 2571 | # _LT_PROG_ECHO_BACKSLASH |
1949 | 2572 | # ----------------------- |
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). | |
1952 | 2577 | 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]) ;; | |
1962 | 2611 | esac |
1963 | 2612 | |
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 | ||
2101 | 2623 | _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]) | |
2104 | 2625 | ])# _LT_PROG_ECHO_BACKSLASH |
2105 | 2626 | |
2106 | 2627 | |
2132 | 2653 | ;; |
2133 | 2654 | *-*-irix6*) |
2134 | 2655 | # Find out which ABI we are using. |
2135 | echo '[#]line __oline__ "configure"' > conftest.$ac_ext | |
2656 | echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext | |
2136 | 2657 | if AC_TRY_EVAL(ac_compile); then |
2137 | 2658 | if test "$lt_cv_prog_gnu_ld" = yes; then |
2138 | 2659 | case `/usr/bin/file conftest.$ac_objext` in |
2284 | 2805 | esac |
2285 | 2806 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
2286 | 2807 | fi |
2808 | ||
2809 | case $host_os in | |
2810 | darwin*) | |
2811 | lock_old_archive_extraction=yes ;; | |
2812 | *) | |
2813 | lock_old_archive_extraction=no ;; | |
2814 | esac | |
2287 | 2815 | _LT_DECL([], [old_postinstall_cmds], [2]) |
2288 | 2816 | _LT_DECL([], [old_postuninstall_cmds], [2]) |
2289 | 2817 | _LT_TAGDECL([], [old_archive_cmds], [2], |
2290 | 2818 | [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]) | |
2291 | 2821 | ])# _LT_CMD_OLD_ARCHIVE |
2292 | 2822 | |
2293 | 2823 | |
2312 | 2842 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2313 | 2843 | -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
2314 | 2844 | -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) | |
2316 | 2846 | (eval "$lt_compile" 2>conftest.err) |
2317 | 2847 | ac_status=$? |
2318 | 2848 | 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 | |
2320 | 2850 | if (exit $ac_status) && test -s "$ac_outfile"; then |
2321 | 2851 | # The compiler can only warn and ignore the option if not recognized |
2322 | 2852 | # 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 | |
2324 | 2854 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
2325 | 2855 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
2326 | 2856 | $2=yes |
2360 | 2890 | if test -s conftest.err; then |
2361 | 2891 | # Append any errors to the config.log. |
2362 | 2892 | 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 | |
2364 | 2894 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
2365 | 2895 | if diff conftest.exp conftest.er2 >/dev/null; then |
2366 | 2896 | $2=yes |
2420 | 2950 | # the test eventually succeeds (with a max line length of 256k). |
2421 | 2951 | # Instead, let's just punt: use the minimum linelength reported by |
2422 | 2952 | # 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. | |
2423 | 2958 | lt_cv_sys_max_cmd_len=8192; |
2424 | 2959 | ;; |
2425 | 2960 | |
2487 | 3022 | # If test is not a shell built-in, we'll probably end up computing a |
2488 | 3023 | # maximum length that is only half of the actual maximum length, but |
2489 | 3024 | # 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 && | |
2492 | 3027 | test $i != 17 # 1/2 MB should be enough |
2493 | 3028 | do |
2494 | 3029 | i=`expr $i + 1` |
2539 | 3074 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
2540 | 3075 | lt_status=$lt_dlunknown |
2541 | 3076 | cat > conftest.$ac_ext <<_LT_EOF |
2542 | [#line __oline__ "configure" | |
3077 | [#line $LINENO "configure" | |
2543 | 3078 | #include "confdefs.h" |
2544 | 3079 | |
2545 | 3080 | #if HAVE_DLFCN_H |
2580 | 3115 | # endif |
2581 | 3116 | #endif |
2582 | 3117 | |
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; } | |
2584 | 3125 | int main () |
2585 | 3126 | { |
2586 | 3127 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
2589 | 3130 | if (self) |
2590 | 3131 | { |
2591 | 3132 | 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 | } | |
2593 | 3138 | /* dlclose (self); */ |
2594 | 3139 | } |
2595 | 3140 | else |
2765 | 3310 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2766 | 3311 | -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
2767 | 3312 | -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) | |
2769 | 3314 | (eval "$lt_compile" 2>out/conftest.err) |
2770 | 3315 | ac_status=$? |
2771 | 3316 | 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 | |
2773 | 3318 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
2774 | 3319 | then |
2775 | 3320 | # The compiler can only warn and ignore the option if not recognized |
2776 | 3321 | # 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 | |
2778 | 3323 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
2779 | 3324 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
2780 | 3325 | _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
2933 | 3478 | m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
2934 | 3479 | m4_require([_LT_DECL_OBJDUMP])dnl |
2935 | 3480 | m4_require([_LT_DECL_SED])dnl |
3481 | m4_require([_LT_CHECK_SHELL_FEATURES])dnl | |
2936 | 3482 | AC_MSG_CHECKING([dynamic linker characteristics]) |
2937 | 3483 | m4_if([$1], |
2938 | 3484 | [], [ |
2941 | 3487 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
2942 | 3488 | *) lt_awk_arg="/^libraries:/" ;; |
2943 | 3489 | 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 | *\;*) | |
2946 | 3497 | # if the path contains ";" then we assume it to be the separator |
2947 | 3498 | # otherwise default to the standard path separator (i.e. ":") - it is |
2948 | 3499 | # assumed that no part of a normal pathname contains ";" but that should |
2949 | 3500 | # 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 | |
2954 | 3507 | # Ok, now we have the path, separated by spaces, we can step through it |
2955 | 3508 | # and add multilib dir if necessary. |
2956 | 3509 | lt_tmp_lt_search_path_spec= |
2963 | 3516 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
2964 | 3517 | fi |
2965 | 3518 | 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 ' | |
2967 | 3520 | BEGIN {RS=" "; FS="/|\n";} { |
2968 | 3521 | lt_foo=""; |
2969 | 3522 | lt_count=0; |
2983 | 3536 | if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
2984 | 3537 | if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
2985 | 3538 | }'` |
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` | |
2987 | 3546 | else |
2988 | 3547 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
2989 | 3548 | fi]) |
3071 | 3630 | m68k) |
3072 | 3631 | library_names_spec='$libname.ixlibrary $libname.a' |
3073 | 3632 | # 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' | |
3075 | 3634 | ;; |
3076 | 3635 | esac |
3077 | 3636 | ;; |
3124 | 3683 | cygwin*) |
3125 | 3684 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
3126 | 3685 | 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"]) | |
3128 | 3688 | ;; |
3129 | 3689 | mingw* | cegcc*) |
3130 | 3690 | # MinGW DLLs use traditional 'lib' prefix |
3131 | 3691 | 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 | |
3144 | 3692 | ;; |
3145 | 3693 | pw32*) |
3146 | 3694 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
3237 | 3785 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
3238 | 3786 | soname_spec='${libname}${release}${shared_ext}$major' |
3239 | 3787 | 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' | |
3240 | 3801 | hardcode_into_libs=yes |
3241 | 3802 | ;; |
3242 | 3803 | |
3282 | 3843 | soname_spec='${libname}${release}${shared_ext}$major' |
3283 | 3844 | ;; |
3284 | 3845 | 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, ... | |
3286 | 3847 | postinstall_cmds='chmod 555 $lib' |
3848 | # or fails outright, so override atomically: | |
3849 | install_override_mode=555 | |
3287 | 3850 | ;; |
3288 | 3851 | |
3289 | 3852 | interix[[3-9]]*) |
3341 | 3904 | ;; |
3342 | 3905 | |
3343 | 3906 | # This must be Linux ELF. |
3344 | linux* | k*bsd*-gnu) | |
3907 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
3345 | 3908 | version_type=linux |
3346 | 3909 | need_lib_prefix=no |
3347 | 3910 | need_version=no |
3350 | 3913 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
3351 | 3914 | shlibpath_var=LD_LIBRARY_PATH |
3352 | 3915 | shlibpath_overrides_runpath=no |
3916 | ||
3353 | 3917 | # 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 | |
3363 | 3931 | |
3364 | 3932 | # This implies no fast_install, which is unacceptable. |
3365 | 3933 | # Some rework will be needed to allow for fast_install |
3371 | 3939 | |
3372 | 3940 | # Append ld.so.conf contents to the search path |
3373 | 3941 | 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' ' '` | |
3375 | 3943 | sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
3944 | ||
3376 | 3945 | fi |
3377 | 3946 | |
3378 | 3947 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
3604 | 4173 | The last name is the one that the linker finds with -lNAME]]) |
3605 | 4174 | _LT_DECL([], [soname_spec], [1], |
3606 | 4175 | [[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]) | |
3607 | 4178 | _LT_DECL([], [postinstall_cmds], [2], |
3608 | 4179 | [Command to use after installation of a shared archive]) |
3609 | 4180 | _LT_DECL([], [postuninstall_cmds], [2], |
3716 | 4287 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
3717 | 4288 | m4_require([_LT_DECL_SED])dnl |
3718 | 4289 | m4_require([_LT_DECL_EGREP])dnl |
4290 | m4_require([_LT_PROG_ECHO_BACKSLASH])dnl | |
3719 | 4291 | |
3720 | 4292 | AC_ARG_WITH([gnu-ld], |
3721 | 4293 | [AS_HELP_STRING([--with-gnu-ld], |
3845 | 4417 | fi |
3846 | 4418 | ;; |
3847 | 4419 | 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 | |
3850 | 4422 | ])# _LT_CMD_RELOAD |
3851 | 4423 | |
3852 | 4424 | |
3898 | 4470 | # Base MSYS/MinGW do not provide the 'file' command needed by |
3899 | 4471 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
3900 | 4472 | # 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 | |
3902 | 4475 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
3903 | 4476 | lt_cv_file_magic_cmd='func_win32_libid' |
3904 | 4477 | 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)' | |
3906 | 4480 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
3907 | 4481 | fi |
3908 | 4482 | ;; |
3909 | 4483 | |
3910 | cegcc) | |
4484 | cegcc*) | |
3911 | 4485 | # use the weaker test based on 'objdump'. See mingw*. |
3912 | 4486 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
3913 | 4487 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
3937 | 4511 | lt_cv_deplibs_check_method=pass_all |
3938 | 4512 | ;; |
3939 | 4513 | |
4514 | haiku*) | |
4515 | lt_cv_deplibs_check_method=pass_all | |
4516 | ;; | |
4517 | ||
3940 | 4518 | hpux10.20* | hpux11*) |
3941 | 4519 | lt_cv_file_magic_cmd=/usr/bin/file |
3942 | 4520 | case $host_cpu in |
3945 | 4523 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
3946 | 4524 | ;; |
3947 | 4525 | 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]'] | |
3949 | 4527 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
3950 | 4528 | ;; |
3951 | 4529 | *) |
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' | |
3953 | 4531 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
3954 | 4532 | ;; |
3955 | 4533 | esac |
3971 | 4549 | ;; |
3972 | 4550 | |
3973 | 4551 | # This must be Linux ELF. |
3974 | linux* | k*bsd*-gnu) | |
4552 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
3975 | 4553 | lt_cv_deplibs_check_method=pass_all |
3976 | 4554 | ;; |
3977 | 4555 | |
4113 | 4691 | NM="$lt_cv_path_NM" |
4114 | 4692 | else |
4115 | 4693 | # 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 | |
4117 | 4707 | AC_SUBST([DUMPBIN]) |
4118 | 4708 | if test "$DUMPBIN" != ":"; then |
4119 | 4709 | NM="$DUMPBIN" |
4126 | 4716 | AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
4127 | 4717 | [lt_cv_nm_interface="BSD nm" |
4128 | 4718 | 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) | |
4130 | 4720 | (eval "$ac_compile" 2>conftest.err) |
4131 | 4721 | 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) | |
4133 | 4723 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
4134 | 4724 | 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) | |
4136 | 4726 | cat conftest.out >&AS_MESSAGE_LOG_FD |
4137 | 4727 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
4138 | 4728 | lt_cv_nm_interface="MS dumpbin" |
4155 | 4745 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4156 | 4746 | LIBM= |
4157 | 4747 | case $host in |
4158 | *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) | |
4748 | *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) | |
4159 | 4749 | # These system don't have libm, or don't need it |
4160 | 4750 | ;; |
4161 | 4751 | *-ncr-sysv4.3*) |
4183 | 4773 | _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
4184 | 4774 | |
4185 | 4775 | 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 | |
4187 | 4782 | |
4188 | 4783 | _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], |
4189 | 4784 | lt_cv_prog_compiler_rtti_exceptions, |
4200 | 4795 | m4_defun([_LT_CMD_GLOBAL_SYMBOLS], |
4201 | 4796 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
4202 | 4797 | AC_REQUIRE([AC_PROG_CC])dnl |
4798 | AC_REQUIRE([AC_PROG_AWK])dnl | |
4203 | 4799 | AC_REQUIRE([LT_PATH_NM])dnl |
4204 | 4800 | AC_REQUIRE([LT_PATH_LD])dnl |
4205 | 4801 | m4_require([_LT_DECL_SED])dnl |
4325 | 4921 | if AC_TRY_EVAL(ac_compile); then |
4326 | 4922 | # Now try to grab the symbols. |
4327 | 4923 | 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 | |
4329 | 4925 | # Try sorting and uniquifying the output. |
4330 | 4926 | if sort "$nlist" | uniq > "$nlist"T; then |
4331 | 4927 | mv -f "$nlist"T "$nlist" |
4486 | 5082 | *djgpp*) |
4487 | 5083 | # DJGPP does not support shared libraries at all |
4488 | 5084 | _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)= | |
4489 | 5090 | ;; |
4490 | 5091 | interix[[3-9]]*) |
4491 | 5092 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
4592 | 5193 | ;; |
4593 | 5194 | esac |
4594 | 5195 | ;; |
4595 | linux* | k*bsd*-gnu) | |
5196 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
4596 | 5197 | case $cc_basename in |
4597 | 5198 | KCC*) |
4598 | 5199 | # KAI C++ Compiler |
4625 | 5226 | _LT_TAGVAR(lt_prog_compiler_pic, $1)= |
4626 | 5227 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
4627 | 5228 | ;; |
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 | |
4630 | 5231 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4631 | 5232 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
4632 | 5233 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
4688 | 5289 | ;; |
4689 | 5290 | solaris*) |
4690 | 5291 | case $cc_basename in |
4691 | CC*) | |
5292 | CC* | sunCC*) | |
4692 | 5293 | # Sun C++ 4.2, 5.x and Centerline C++ |
4693 | 5294 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4694 | 5295 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4792 | 5393 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
4793 | 5394 | ;; |
4794 | 5395 | |
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 | ||
4795 | 5402 | hpux*) |
4796 | 5403 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
4797 | 5404 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
4832 | 5439 | |
4833 | 5440 | *) |
4834 | 5441 | _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' | |
4835 | 5449 | ;; |
4836 | 5450 | esac |
4837 | 5451 | else |
4876 | 5490 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
4877 | 5491 | ;; |
4878 | 5492 | |
4879 | linux* | k*bsd*-gnu) | |
5493 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
4880 | 5494 | case $cc_basename in |
4881 | 5495 | # old Intel for x86_64 which still supported -KPIC. |
4882 | 5496 | ecc*) |
4897 | 5511 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' |
4898 | 5512 | _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' |
4899 | 5513 | ;; |
4900 | pgcc* | pgf77* | pgf90* | pgf95*) | |
5514 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
4901 | 5515 | # Portland Group compilers (*not* the Pentium gcc compiler, |
4902 | 5516 | # which looks to be a dead project) |
4903 | 5517 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4909 | 5523 | # All Alpha code is PIC. |
4910 | 5524 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
4911 | 5525 | ;; |
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 | |
4914 | 5528 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4915 | 5529 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
4916 | 5530 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
4917 | 5531 | ;; |
4918 | 5532 | *) |
4919 | 5533 | 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 | ;; | |
4920 | 5540 | *Sun\ C*) |
4921 | 5541 | # Sun C 5.9 |
4922 | 5542 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4923 | 5543 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4924 | 5544 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4925 | 5545 | ;; |
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 | ;; | |
4932 | 5546 | esac |
4933 | 5547 | ;; |
4934 | 5548 | esac |
4959 | 5573 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4960 | 5574 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
4961 | 5575 | case $cc_basename in |
4962 | f77* | f90* | f95*) | |
5576 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
4963 | 5577 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; |
4964 | 5578 | *) |
4965 | 5579 | _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; |
5069 | 5683 | aix[[4-9]]*) |
5070 | 5684 | # If we're using GNU nm, then we don't want the "-C" option. |
5071 | 5685 | # -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". | |
5072 | 5688 | 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' | |
5074 | 5690 | else |
5075 | 5691 | _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' |
5076 | 5692 | fi |
5148 | 5764 | esac |
5149 | 5765 | |
5150 | 5766 | _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 | |
5151 | 5771 | 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 | |
5152 | 5794 | # If archive_cmds runs LD, not CC, wlarc should be empty |
5153 | 5795 | wlarc='${wl}' |
5154 | 5796 | |
5166 | 5808 | fi |
5167 | 5809 | supports_anon_versioning=no |
5168 | 5810 | case `$LD -v 2>&1` in |
5811 | *GNU\ gold*) supports_anon_versioning=yes ;; | |
5169 | 5812 | *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
5170 | 5813 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
5171 | 5814 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
5181 | 5824 | _LT_TAGVAR(ld_shlibs, $1)=no |
5182 | 5825 | cat <<_LT_EOF 1>&2 |
5183 | 5826 | |
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 | |
5185 | 5828 | *** to be unable to reliably create shared libraries on AIX. |
5186 | 5829 | *** 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. | |
5189 | 5833 | |
5190 | 5834 | _LT_EOF |
5191 | 5835 | fi |
5221 | 5865 | # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
5222 | 5866 | # as there is no search path for DLLs. |
5223 | 5867 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
5868 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' | |
5224 | 5869 | _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
5225 | 5870 | _LT_TAGVAR(always_export_symbols, $1)=no |
5226 | 5871 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
5242 | 5887 | fi |
5243 | 5888 | ;; |
5244 | 5889 | |
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 | ||
5245 | 5895 | interix[[3-9]]*) |
5246 | 5896 | _LT_TAGVAR(hardcode_direct, $1)=no |
5247 | 5897 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
5257 | 5907 | _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' |
5258 | 5908 | ;; |
5259 | 5909 | |
5260 | gnu* | linux* | tpf* | k*bsd*-gnu) | |
5910 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
5261 | 5911 | tmp_diet=no |
5262 | 5912 | if test "$host_os" = linux-dietlibc; then |
5263 | 5913 | case $cc_basename in |
5271 | 5921 | tmp_sharedflag='-shared' |
5272 | 5922 | case $cc_basename,$host_cpu in |
5273 | 5923 | 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' | |
5275 | 5925 | tmp_addflag=' $pic_flag' |
5276 | 5926 | ;; |
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' | |
5279 | 5930 | tmp_addflag=' $pic_flag -Mnomain' ;; |
5280 | 5931 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
5281 | 5932 | tmp_addflag=' -i_dynamic' ;; |
5286 | 5937 | lf95*) # Lahey Fortran 8.1 |
5287 | 5938 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
5288 | 5939 | 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) | |
5290 | 5941 | tmp_sharedflag='-qmkshrobj' |
5291 | 5942 | 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 | ;; | |
5292 | 5947 | esac |
5293 | 5948 | case `$CC -V 2>&1 | sed 5q` in |
5294 | 5949 | *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' | |
5296 | 5951 | _LT_TAGVAR(compiler_needs_object, $1)=yes |
5297 | 5952 | tmp_sharedflag='-G' ;; |
5298 | 5953 | *Sun\ F*) # Sun Fortran 8.3 |
5308 | 5963 | fi |
5309 | 5964 | |
5310 | 5965 | case $cc_basename in |
5311 | xlf*) | |
5966 | xlf* | bgf* | bgxlf* | mpixlf*) | |
5312 | 5967 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
5313 | 5968 | _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' |
5314 | 5969 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
5315 | 5970 | _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' | |
5317 | 5972 | if test "x$supports_anon_versioning" = xyes; then |
5318 | 5973 | _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
5319 | 5974 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
5320 | 5975 | 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' | |
5322 | 5977 | fi |
5323 | 5978 | ;; |
5324 | 5979 | esac |
5439 | 6094 | else |
5440 | 6095 | # If we're using GNU nm, then we don't want the "-C" option. |
5441 | 6096 | # -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". | |
5442 | 6099 | 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' | |
5444 | 6101 | else |
5445 | 6102 | _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' |
5446 | 6103 | fi |
5529 | 6186 | # empty executable. |
5530 | 6187 | _LT_SYS_MODULE_PATH_AIX |
5531 | 6188 | _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" | |
5533 | 6190 | else |
5534 | 6191 | if test "$host_cpu" = ia64; then |
5535 | 6192 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
5544 | 6201 | # -berok will link without error, but may produce a broken library. |
5545 | 6202 | _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
5546 | 6203 | _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 | |
5549 | 6211 | _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
5550 | 6212 | # This is similar to how AIX traditionally builds its shared libraries. |
5551 | 6213 | _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' |
5584 | 6246 | # Tell ltmain to make .dll files, not .so files. |
5585 | 6247 | shrext_cmds=".dll" |
5586 | 6248 | # 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=' | |
5588 | 6250 | # The linker will automatically build a .lib file if we build a DLL. |
5589 | 6251 | _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
5590 | 6252 | # FIXME: Should let the user specify the lib program. |
5651 | 6313 | ;; |
5652 | 6314 | |
5653 | 6315 | hpux10*) |
5654 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
6316 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
5655 | 6317 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
5656 | 6318 | else |
5657 | 6319 | _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
5670 | 6332 | ;; |
5671 | 6333 | |
5672 | 6334 | hpux11*) |
5673 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
6335 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
5674 | 6336 | case $host_cpu in |
5675 | 6337 | hppa*64*) |
5676 | 6338 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
5691 | 6353 | _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
5692 | 6354 | ;; |
5693 | 6355 | *) |
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']) | |
5695 | 6364 | ;; |
5696 | 6365 | esac |
5697 | 6366 | fi |
5719 | 6388 | |
5720 | 6389 | irix5* | irix6* | nonstopux*) |
5721 | 6390 | 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' | |
5723 | 6392 | # Try to use the -exported_symbol ld option, if it does not |
5724 | 6393 | # work, assume that -exports_file does not work either and |
5725 | 6394 | # implicitly export all symbols. |
5726 | 6395 | save_LDFLAGS="$LDFLAGS" |
5727 | 6396 | LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
5728 | 6397 | 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' | |
5730 | 6399 | ) |
5731 | 6400 | LDFLAGS="$save_LDFLAGS" |
5732 | 6401 | 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' | |
5735 | 6404 | fi |
5736 | 6405 | _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
5737 | 6406 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
5793 | 6462 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
5794 | 6463 | _LT_TAGVAR(hardcode_minus_L, $1)=yes |
5795 | 6464 | _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' | |
5797 | 6466 | _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
5798 | 6467 | ;; |
5799 | 6468 | |
5800 | 6469 | osf3*) |
5801 | 6470 | if test "$GCC" = yes; then |
5802 | 6471 | _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' | |
5804 | 6473 | else |
5805 | 6474 | _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' | |
5807 | 6476 | fi |
5808 | 6477 | _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
5809 | 6478 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
5813 | 6482 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
5814 | 6483 | if test "$GCC" = yes; then |
5815 | 6484 | _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' | |
5817 | 6486 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
5818 | 6487 | else |
5819 | 6488 | _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' | |
5821 | 6490 | _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' | |
5823 | 6492 | |
5824 | 6493 | # Both c and cxx compiler support -rpath directly |
5825 | 6494 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
6010 | 6679 | # Test whether the compiler implicitly links with -lc since on some |
6011 | 6680 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
6012 | 6681 | # 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) | |
6043 | 6714 | ;; |
6044 | 6715 | esac |
6045 | 6716 | fi |
6205 | 6876 | ])# _LT_LANG_C_CONFIG |
6206 | 6877 | |
6207 | 6878 | |
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 | |
6216 | 6887 | if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
6217 | 6888 | ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
6218 | 6889 | (test "X$CXX" != "Xg++"))) ; then |
6220 | 6891 | else |
6221 | 6892 | _lt_caught_CXX_error=yes |
6222 | 6893 | 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 | |
6239 | 6894 | |
6240 | 6895 | AC_LANG_PUSH(C++) |
6241 | 6896 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
6257 | 6912 | _LT_TAGVAR(module_expsym_cmds, $1)= |
6258 | 6913 | _LT_TAGVAR(link_all_deplibs, $1)=unknown |
6259 | 6914 | _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 | |
6260 | 6917 | _LT_TAGVAR(no_undefined_flag, $1)= |
6261 | 6918 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
6262 | 6919 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
6359 | 7016 | # Commands to make compiler produce verbose output that lists |
6360 | 7017 | # what "hidden" libraries, object files and flags are used when |
6361 | 7018 | # 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"' | |
6363 | 7020 | |
6364 | 7021 | else |
6365 | 7022 | GXX=no |
6471 | 7128 | _LT_SYS_MODULE_PATH_AIX |
6472 | 7129 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
6473 | 7130 | |
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" | |
6475 | 7132 | else |
6476 | 7133 | if test "$host_cpu" = ia64; then |
6477 | 7134 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
6486 | 7143 | # -berok will link without error, but may produce a broken library. |
6487 | 7144 | _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
6488 | 7145 | _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 | |
6491 | 7153 | _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
6492 | 7154 | # This is similar to how AIX traditionally builds its shared |
6493 | 7155 | # libraries. |
6520 | 7182 | # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
6521 | 7183 | # as there is no search path for DLLs. |
6522 | 7184 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
7185 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' | |
6523 | 7186 | _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
6524 | 7187 | _LT_TAGVAR(always_export_symbols, $1)=no |
6525 | 7188 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
6580 | 7243 | gnu*) |
6581 | 7244 | ;; |
6582 | 7245 | |
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 | ||
6583 | 7251 | hpux9*) |
6584 | 7252 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
6585 | 7253 | _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
6604 | 7272 | # explicitly linking system object files so we need to strip them |
6605 | 7273 | # from the output so that they don't get included in the library |
6606 | 7274 | # 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"' | |
6608 | 7276 | ;; |
6609 | 7277 | *) |
6610 | 7278 | if test "$GXX" = yes; then |
6669 | 7337 | # explicitly linking system object files so we need to strip them |
6670 | 7338 | # from the output so that they don't get included in the library |
6671 | 7339 | # 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"' | |
6673 | 7341 | ;; |
6674 | 7342 | *) |
6675 | 7343 | if test "$GXX" = yes; then |
6712 | 7380 | case $cc_basename in |
6713 | 7381 | CC*) |
6714 | 7382 | # 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' | |
6716 | 7384 | |
6717 | 7385 | # Archives containing C++ object files must be created using |
6718 | 7386 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
6723 | 7391 | *) |
6724 | 7392 | if test "$GXX" = yes; then |
6725 | 7393 | 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' | |
6727 | 7395 | 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' | |
6729 | 7397 | fi |
6730 | 7398 | fi |
6731 | 7399 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
6736 | 7404 | _LT_TAGVAR(inherit_rpath, $1)=yes |
6737 | 7405 | ;; |
6738 | 7406 | |
6739 | linux* | k*bsd*-gnu) | |
7407 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
6740 | 7408 | case $cc_basename in |
6741 | 7409 | KCC*) |
6742 | 7410 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
6754 | 7422 | # explicitly linking system object files so we need to strip them |
6755 | 7423 | # from the output so that they don't get included in the library |
6756 | 7424 | # 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"' | |
6758 | 7426 | |
6759 | 7427 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
6760 | 7428 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
6791 | 7459 | pgCC* | pgcpp*) |
6792 | 7460 | # Portland Group C++ compiler |
6793 | 7461 | case `$CC -V` in |
6794 | *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) | |
7462 | *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) | |
6795 | 7463 | _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ |
6796 | 7464 | rm -rf $tpldir~ |
6797 | 7465 | $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`"' | |
6799 | 7467 | _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ |
6800 | 7468 | rm -rf $tpldir~ |
6801 | 7469 | $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`~ | |
6803 | 7471 | $RANLIB $oldlib' |
6804 | 7472 | _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ |
6805 | 7473 | rm -rf $tpldir~ |
6806 | 7474 | $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' | |
6808 | 7476 | _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ |
6809 | 7477 | rm -rf $tpldir~ |
6810 | 7478 | $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' | |
6812 | 7480 | ;; |
6813 | *) # Version 6 will use weak symbols | |
7481 | *) # Version 6 and above use weak symbols | |
6814 | 7482 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
6815 | 7483 | _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' |
6816 | 7484 | ;; |
6818 | 7486 | |
6819 | 7487 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
6820 | 7488 | _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' | |
6822 | 7490 | ;; |
6823 | 7491 | cxx*) |
6824 | 7492 | # Compaq C++ |
6837 | 7505 | # explicitly linking system object files so we need to strip them |
6838 | 7506 | # from the output so that they don't get included in the library |
6839 | 7507 | # 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' | |
6841 | 7509 | ;; |
6842 | xl*) | |
7510 | xl* | mpixl* | bgxl*) | |
6843 | 7511 | # IBM XL 8.0 on PPC, with GNU ld |
6844 | 7512 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
6845 | 7513 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
6859 | 7527 | _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
6860 | 7528 | _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' |
6861 | 7529 | _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' | |
6863 | 7531 | _LT_TAGVAR(compiler_needs_object, $1)=yes |
6864 | 7532 | |
6865 | 7533 | # Not sure whether something based on |
6866 | 7534 | # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
6867 | 7535 | # would be better. |
6868 | output_verbose_link_cmd='echo' | |
7536 | output_verbose_link_cmd='func_echo_all' | |
6869 | 7537 | |
6870 | 7538 | # Archives containing C++ object files must be created using |
6871 | 7539 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
6934 | 7602 | _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
6935 | 7603 | _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
6936 | 7604 | fi |
6937 | output_verbose_link_cmd=echo | |
7605 | output_verbose_link_cmd=func_echo_all | |
6938 | 7606 | else |
6939 | 7607 | _LT_TAGVAR(ld_shlibs, $1)=no |
6940 | 7608 | fi |
6969 | 7637 | case $host in |
6970 | 7638 | osf3*) |
6971 | 7639 | _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' | |
6973 | 7641 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
6974 | 7642 | ;; |
6975 | 7643 | *) |
6976 | 7644 | _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' | |
6978 | 7646 | _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
6979 | 7647 | 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~ | |
6981 | 7649 | $RM $lib.exp' |
6982 | 7650 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
6983 | 7651 | ;; |
6993 | 7661 | # explicitly linking system object files so we need to strip them |
6994 | 7662 | # from the output so that they don't get included in the library |
6995 | 7663 | # 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"' | |
6997 | 7665 | ;; |
6998 | 7666 | *) |
6999 | 7667 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
7000 | 7668 | _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
7001 | 7669 | case $host in |
7002 | 7670 | 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' | |
7004 | 7672 | ;; |
7005 | 7673 | *) |
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' | |
7007 | 7675 | ;; |
7008 | 7676 | esac |
7009 | 7677 | |
7013 | 7681 | # Commands to make compiler produce verbose output that lists |
7014 | 7682 | # what "hidden" libraries, object files and flags are used when |
7015 | 7683 | # 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"' | |
7017 | 7685 | |
7018 | 7686 | else |
7019 | 7687 | # FIXME: insert proper C++ library support |
7049 | 7717 | |
7050 | 7718 | solaris*) |
7051 | 7719 | case $cc_basename in |
7052 | CC*) | |
7720 | CC* | sunCC*) | |
7053 | 7721 | # Sun C++ 4.2, 5.x and Centerline C++ |
7054 | 7722 | _LT_TAGVAR(archive_cmds_need_lc,$1)=yes |
7055 | 7723 | _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
7070 | 7738 | esac |
7071 | 7739 | _LT_TAGVAR(link_all_deplibs, $1)=yes |
7072 | 7740 | |
7073 | output_verbose_link_cmd='echo' | |
7741 | output_verbose_link_cmd='func_echo_all' | |
7074 | 7742 | |
7075 | 7743 | # Archives containing C++ object files must be created using |
7076 | 7744 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
7097 | 7765 | # Commands to make compiler produce verbose output that lists |
7098 | 7766 | # what "hidden" libraries, object files and flags are used when |
7099 | 7767 | # 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"' | |
7101 | 7769 | else |
7102 | 7770 | # g++ 2.7 appears to require `-G' NOT `-shared' on this |
7103 | 7771 | # platform. |
7108 | 7776 | # Commands to make compiler produce verbose output that lists |
7109 | 7777 | # what "hidden" libraries, object files and flags are used when |
7110 | 7778 | # 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"' | |
7112 | 7780 | fi |
7113 | 7781 | |
7114 | 7782 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' |
7162 | 7830 | CC*) |
7163 | 7831 | _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
7164 | 7832 | _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)" | |
7165 | 7837 | ;; |
7166 | 7838 | *) |
7167 | 7839 | _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
7408 | 8080 | |
7409 | 8081 | solaris*) |
7410 | 8082 | case $cc_basename in |
7411 | CC*) | |
8083 | CC* | sunCC*) | |
7412 | 8084 | # The more standards-conforming stlport4 library is |
7413 | 8085 | # incompatible with the Cstd library. Avoid specifying |
7414 | 8086 | # it if it's in CXXFLAGS. Ignore libCrun as |
7452 | 8124 | ])# _LT_SYS_HIDDEN_LIBDEPS |
7453 | 8125 | |
7454 | 8126 | |
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 | ||
7473 | 8127 | # _LT_LANG_F77_CONFIG([TAG]) |
7474 | 8128 | # -------------------------- |
7475 | 8129 | # Ensure that the configuration variables for a Fortran 77 compiler are |
7476 | 8130 | # suitably defined. These variables are subsequently used by _LT_CONFIG |
7477 | 8131 | # to write the compiler configuration to `libtool'. |
7478 | 8132 | 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 | |
7481 | 8137 | |
7482 | 8138 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
7483 | 8139 | _LT_TAGVAR(allow_undefined_flag, $1)= |
7496 | 8152 | _LT_TAGVAR(module_expsym_cmds, $1)= |
7497 | 8153 | _LT_TAGVAR(link_all_deplibs, $1)=unknown |
7498 | 8154 | _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 | |
7499 | 8157 | _LT_TAGVAR(no_undefined_flag, $1)= |
7500 | 8158 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
7501 | 8159 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
7595 | 8253 | ])# _LT_LANG_F77_CONFIG |
7596 | 8254 | |
7597 | 8255 | |
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 | ||
7616 | 8256 | # _LT_LANG_FC_CONFIG([TAG]) |
7617 | 8257 | # ------------------------- |
7618 | 8258 | # Ensure that the configuration variables for a Fortran compiler are |
7619 | 8259 | # suitably defined. These variables are subsequently used by _LT_CONFIG |
7620 | 8260 | # to write the compiler configuration to `libtool'. |
7621 | 8261 | 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 | |
7624 | 8267 | |
7625 | 8268 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
7626 | 8269 | _LT_TAGVAR(allow_undefined_flag, $1)= |
7639 | 8282 | _LT_TAGVAR(module_expsym_cmds, $1)= |
7640 | 8283 | _LT_TAGVAR(link_all_deplibs, $1)=unknown |
7641 | 8284 | _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 | |
7642 | 8287 | _LT_TAGVAR(no_undefined_flag, $1)= |
7643 | 8288 | _LT_TAGVAR(whole_archive_flag_spec, $1)= |
7644 | 8289 | _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
7784 | 8429 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
7785 | 8430 | |
7786 | 8431 | _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 | |
7787 | 8434 | |
7788 | 8435 | if test -n "$compiler"; then |
7789 | 8436 | _LT_COMPILER_NO_RTTI($1) |
8145 | 8792 | func_dirname () |
8146 | 8793 | { |
8147 | 8794 | # Extract subdirectory from the argument. |
8148 | func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` | |
8795 | func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` | |
8149 | 8796 | if test "X$func_dirname_result" = "X${1}"; then |
8150 | 8797 | func_dirname_result="${3}" |
8151 | 8798 | else |
8156 | 8803 | # func_basename file |
8157 | 8804 | func_basename () |
8158 | 8805 | { |
8159 | func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | |
8806 | func_basename_result=`$ECHO "${1}" | $SED "$basename"` | |
8160 | 8807 | } |
8161 | 8808 | |
8162 | 8809 | dnl func_dirname_and_basename |
8172 | 8819 | func_stripname () |
8173 | 8820 | { |
8174 | 8821 | 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}\$%%"`;; | |
8179 | 8824 | esac |
8180 | 8825 | } |
8181 | 8826 | |
8186 | 8831 | # func_opt_split |
8187 | 8832 | func_opt_split () |
8188 | 8833 | { |
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"` | |
8191 | 8836 | } |
8192 | 8837 | |
8193 | 8838 | # func_lo2o object |
8194 | 8839 | func_lo2o () |
8195 | 8840 | { |
8196 | func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` | |
8841 | func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` | |
8197 | 8842 | } |
8198 | 8843 | |
8199 | 8844 | # func_xform libobj-or-source |
8200 | 8845 | func_xform () |
8201 | 8846 | { |
8202 | func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` | |
8847 | func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'` | |
8203 | 8848 | } |
8204 | 8849 | |
8205 | 8850 | # func_arith arithmetic-term... |
8247 | 8892 | |
8248 | 8893 | # Helper functions for option handling. -*- Autoconf -*- |
8249 | 8894 | # |
8250 | # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. | |
8895 | # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, | |
8896 | # Inc. | |
8251 | 8897 | # Written by Gary V. Vaughan, 2004 |
8252 | 8898 | # |
8253 | 8899 | # This file is free software; the Free Software Foundation gives |
8254 | 8900 | # unlimited permission to copy and/or distribute it, with or without |
8255 | 8901 | # modifications, as long as this notice is preserved. |
8256 | 8902 | |
8257 | # serial 6 ltoptions.m4 | |
8903 | # serial 7 ltoptions.m4 | |
8258 | 8904 | |
8259 | 8905 | # This is to help aclocal find these macros, as it can't see m4_define. |
8260 | 8906 | AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
8369 | 9015 | [enable_win32_dll=yes |
8370 | 9016 | |
8371 | 9017 | case $host in |
8372 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) | |
9018 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | |
8373 | 9019 | AC_CHECK_TOOL(AS, as, false) |
8374 | 9020 | AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
8375 | 9021 | AC_CHECK_TOOL(OBJDUMP, objdump, false) |
8377 | 9023 | esac |
8378 | 9024 | |
8379 | 9025 | test -z "$AS" && AS=as |
8380 | _LT_DECL([], [AS], [0], [Assembler program])dnl | |
9026 | _LT_DECL([], [AS], [1], [Assembler program])dnl | |
8381 | 9027 | |
8382 | 9028 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
8383 | _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl | |
9029 | _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl | |
8384 | 9030 | |
8385 | 9031 | test -z "$OBJDUMP" && OBJDUMP=objdump |
8386 | _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl | |
9032 | _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl | |
8387 | 9033 | ])# win32-dll |
8388 | 9034 | |
8389 | 9035 | AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |
8743 | 9389 | |
8744 | 9390 | # Generated from ltversion.in. |
8745 | 9391 | |
8746 | # serial 3017 ltversion.m4 | |
9392 | # serial 3175 ltversion.m4 | |
8747 | 9393 | # This file is part of GNU Libtool |
8748 | 9394 | |
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]) | |
8751 | 9397 | |
8752 | 9398 | 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' | |
8755 | 9401 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
8756 | 9402 | _LT_DECL(, macro_revision, 0) |
8757 | 9403 | ]) |
8758 | 9404 | |
8759 | 9405 | # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
8760 | 9406 | # |
8761 | # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. | |
9407 | # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. | |
8762 | 9408 | # Written by Scott James Remnant, 2004. |
8763 | 9409 | # |
8764 | 9410 | # This file is free software; the Free Software Foundation gives |
8765 | 9411 | # unlimited permission to copy and/or distribute it, with or without |
8766 | 9412 | # modifications, as long as this notice is preserved. |
8767 | 9413 | |
8768 | # serial 4 lt~obsolete.m4 | |
9414 | # serial 5 lt~obsolete.m4 | |
8769 | 9415 | |
8770 | 9416 | # These exist entirely to fool aclocal when bootstrapping libtool. |
8771 | 9417 | # |
8835 | 9481 | m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) |
8836 | 9482 | m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) |
8837 | 9483 | m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) |
8838 | m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) | |
8839 | 9484 | m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) |
8840 | 9485 | m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) |
8841 | 9486 | m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) |
8848 | 9493 | m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) |
8849 | 9494 | m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
8850 | 9495 | 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])]) | |
8851 | 9503 | |
8852 | 9504 | # nls.m4 serial 5 (gettext-0.18) |
8853 | 9505 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, |
8883 | 9535 | ]) |
8884 | 9536 | |
8885 | 9537 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
9538 | # serial 1 (pkg-config-0.24) | |
8886 | 9539 | # |
8887 | 9540 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
8888 | 9541 | # |
8910 | 9563 | AC_DEFUN([PKG_PROG_PKG_CONFIG], |
8911 | 9564 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
8912 | 9565 | 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 | ||
8914 | 9570 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
8915 | 9571 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
8916 | 9572 | fi |
8923 | 9579 | AC_MSG_RESULT([no]) |
8924 | 9580 | PKG_CONFIG="" |
8925 | 9581 | fi |
8926 | ||
8927 | 9582 | fi[]dnl |
8928 | 9583 | ])# PKG_PROG_PKG_CONFIG |
8929 | 9584 | |
8932 | 9587 | # Check to see whether a particular set of modules exists. Similar |
8933 | 9588 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. |
8934 | 9589 | # |
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 | |
8939 | 9594 | # -------------------------------------------------------------- |
8940 | 9595 | AC_DEFUN([PKG_CHECK_EXISTS], |
8941 | 9596 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
8942 | 9597 | if test -n "$PKG_CONFIG" && \ |
8943 | 9598 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
8944 | m4_ifval([$2], [$2], [:]) | |
9599 | m4_default([$2], [:]) | |
8945 | 9600 | m4_ifvaln([$3], [else |
8946 | 9601 | $3])dnl |
8947 | 9602 | fi]) |
8948 | ||
8949 | 9603 | |
8950 | 9604 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
8951 | 9605 | # --------------------------------------------- |
8999 | 9653 | See the pkg-config man page for more details.]) |
9000 | 9654 | |
9001 | 9655 | if test $pkg_failed = yes; then |
9656 | AC_MSG_RESULT([no]) | |
9002 | 9657 | _PKG_SHORT_ERRORS_SUPPORTED |
9003 | 9658 | if test $_pkg_short_errors_supported = yes; then |
9004 | 9659 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` |
9008 | 9663 | # Put the nasty error message in config.log where it belongs |
9009 | 9664 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
9010 | 9665 | |
9011 | ifelse([$4], , [AC_MSG_ERROR(dnl | |
9666 | m4_default([$4], [AC_MSG_ERROR( | |
9012 | 9667 | [Package requirements ($2) were not met: |
9013 | 9668 | |
9014 | 9669 | $$1_PKG_ERRORS |
9016 | 9671 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
9017 | 9672 | installed software in a non-standard prefix. |
9018 | 9673 | |
9019 | _PKG_TEXT | |
9020 | ])], | |
9021 | [AC_MSG_RESULT([no]) | |
9022 | $4]) | |
9674 | _PKG_TEXT]) | |
9675 | ]) | |
9023 | 9676 | 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( | |
9025 | 9679 | [The pkg-config script could not be found or is too old. Make sure it |
9026 | 9680 | is in your PATH or set the PKG_CONFIG environment variable to the full |
9027 | 9681 | path to pkg-config. |
9028 | 9682 | |
9029 | 9683 | _PKG_TEXT |
9030 | 9684 | |
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 | ]) | |
9033 | 9687 | else |
9034 | 9688 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
9035 | 9689 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
9036 | 9690 | AC_MSG_RESULT([yes]) |
9037 | ifelse([$3], , :, [$3]) | |
9691 | $3 | |
9038 | 9692 | fi[]dnl |
9039 | 9693 | ])# PKG_CHECK_MODULES |
9040 | 9694 | |
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. | |
9042 | 9697 | # |
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. | |
9080 | 9703 | # |
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. | |
9088 | 9707 | # |
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 | |
9096 | 9710 | # |
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 | |
9103 | 9713 | # |
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 | |
9108 | 9716 | # |
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 | |
9118 | 9719 | # |
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 | |
9134 | 9722 | # |
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" | |
9274 | 9774 | 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 | |
9306 | 9775 | fi |
9307 | 9776 | fi |
9308 | 9777 | 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) | |
9312 | 9788 | else |
9313 | am_cv_$1_dependencies_compiler_type=none | |
9789 | AC_MSG_RESULT(no) | |
9314 | 9790 | fi |
9791 | AC_SUBST($1)dnl | |
9315 | 9792 | ]) |
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]) | |
9320 | 10101 | ]) |
9321 | 10102 | |
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 |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>. |
5 | 5 | # |
6 | 6 | # |
7 | 7 | # 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. | |
10 | 10 | # |
11 | 11 | # |
12 | 12 | # This configure script is free software; the Free Software Foundation |
172 | 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 | 174 | 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" | |
176 | 184 | if (eval "$as_required") 2>/dev/null; then : |
177 | 185 | as_have_required=yes |
178 | 186 | else |
319 | 327 | test -d "$as_dir" && break |
320 | 328 | done |
321 | 329 | 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" | |
323 | 331 | |
324 | 332 | |
325 | 333 | } # as_fn_mkdir_p |
359 | 367 | fi # as_fn_arith |
360 | 368 | |
361 | 369 | |
362 | # as_fn_error ERROR [LINENO LOG_FD] | |
363 | # --------------------------------- | |
370 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
371 | # ---------------------------------------- | |
364 | 372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
365 | 373 | # 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. | |
367 | 375 | as_fn_error () |
368 | 376 | { |
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 | |
373 | 381 | fi |
374 | $as_echo "$as_me: error: $1" >&2 | |
382 | $as_echo "$as_me: error: $2" >&2 | |
375 | 383 | as_fn_exit $as_status |
376 | 384 | } # as_fn_error |
377 | 385 | |
528 | 536 | # Sed expression to map a string onto a valid variable name. |
529 | 537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
530 | 538 | |
531 | ||
532 | ||
533 | # Check that we are running under the correct shell. | |
534 | 539 | 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 | ||
679 | 540 | |
680 | 541 | |
681 | 542 | test -n "$DJDIR" || exec 7<&0 </dev/null |
682 | 543 | exec 6>&1 |
683 | 544 | |
684 | 545 | # 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, | |
686 | 547 | # so uname gets run too. |
687 | 548 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
688 | 549 | |
701 | 562 | # Identity of this package. |
702 | 563 | PACKAGE_NAME='polkit-gnome' |
703 | 564 | 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' | |
706 | 567 | PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-devel' |
707 | 568 | PACKAGE_URL='' |
708 | 569 | |
810 | 671 | POLKIT_AGENT_CFLAGS |
811 | 672 | GTK_LIBS |
812 | 673 | GTK_CFLAGS |
674 | GTK_API_VERSION | |
813 | 675 | DISABLE_DEPRECATED |
814 | 676 | WARN_CFLAGS |
815 | 677 | ACLOCAL_AMFLAGS |
823 | 685 | GTK_DOC_BUILD_HTML_TRUE |
824 | 686 | ENABLE_GTK_DOC_FALSE |
825 | 687 | ENABLE_GTK_DOC_TRUE |
688 | PKG_CONFIG_LIBDIR | |
689 | PKG_CONFIG_PATH | |
826 | 690 | PKG_CONFIG |
827 | 691 | HTML_DIR |
828 | 692 | GTKDOC_MKPDF |
833 | 697 | LIPO |
834 | 698 | NMEDIT |
835 | 699 | DSYMUTIL |
836 | lt_ECHO | |
837 | 700 | RANLIB |
838 | 701 | AR |
839 | 702 | OBJDUMP |
960 | 823 | enable_debug |
961 | 824 | enable_compile_warnings |
962 | 825 | enable_iso_c |
826 | with_gtk | |
963 | 827 | enable_examples |
964 | 828 | enable_introspection |
965 | 829 | enable_nls |
974 | 838 | CPPFLAGS |
975 | 839 | CPP |
976 | 840 | PKG_CONFIG |
841 | PKG_CONFIG_PATH | |
842 | PKG_CONFIG_LIBDIR | |
977 | 843 | GTK_CFLAGS |
978 | 844 | GTK_LIBS |
979 | 845 | POLKIT_AGENT_CFLAGS |
1090 | 956 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1091 | 957 | # Reject names that are not valid shell variable names. |
1092 | 958 | 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" | |
1094 | 960 | ac_useropt_orig=$ac_useropt |
1095 | 961 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1096 | 962 | case $ac_user_opts in |
1116 | 982 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1117 | 983 | # Reject names that are not valid shell variable names. |
1118 | 984 | 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" | |
1120 | 986 | ac_useropt_orig=$ac_useropt |
1121 | 987 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1122 | 988 | case $ac_user_opts in |
1320 | 1186 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1321 | 1187 | # Reject names that are not valid shell variable names. |
1322 | 1188 | 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" | |
1324 | 1190 | ac_useropt_orig=$ac_useropt |
1325 | 1191 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1326 | 1192 | case $ac_user_opts in |
1336 | 1202 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1337 | 1203 | # Reject names that are not valid shell variable names. |
1338 | 1204 | 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" | |
1340 | 1206 | ac_useropt_orig=$ac_useropt |
1341 | 1207 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1342 | 1208 | case $ac_user_opts in |
1366 | 1232 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1367 | 1233 | x_libraries=$ac_optarg ;; |
1368 | 1234 | |
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" | |
1371 | 1237 | ;; |
1372 | 1238 | |
1373 | 1239 | *=*) |
1375 | 1241 | # Reject names that are not valid shell variable names. |
1376 | 1242 | case $ac_envvar in #( |
1377 | 1243 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1378 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1244 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1379 | 1245 | esac |
1380 | 1246 | eval $ac_envvar=\$ac_optarg |
1381 | 1247 | export $ac_envvar ;; |
1393 | 1259 | |
1394 | 1260 | if test -n "$ac_prev"; then |
1395 | 1261 | 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" | |
1397 | 1263 | fi |
1398 | 1264 | |
1399 | 1265 | if test -n "$ac_unrecognized_opts"; then |
1400 | 1266 | case $enable_option_checking in |
1401 | 1267 | no) ;; |
1402 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1268 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1403 | 1269 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1404 | 1270 | esac |
1405 | 1271 | fi |
1422 | 1288 | [\\/$]* | ?:[\\/]* ) continue;; |
1423 | 1289 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1424 | 1290 | 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" | |
1426 | 1292 | done |
1427 | 1293 | |
1428 | 1294 | # There might be people who depend on the old broken behavior: `$host' |
1436 | 1302 | if test "x$host_alias" != x; then |
1437 | 1303 | if test "x$build_alias" = x; then |
1438 | 1304 | 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 | |
1441 | 1307 | elif test "x$build_alias" != "x$host_alias"; then |
1442 | 1308 | cross_compiling=yes |
1443 | 1309 | fi |
1452 | 1318 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1453 | 1319 | ac_ls_di=`ls -di .` && |
1454 | 1320 | 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" | |
1456 | 1322 | 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" | |
1458 | 1324 | |
1459 | 1325 | |
1460 | 1326 | # Find the source files, if location was not specified. |
1493 | 1359 | fi |
1494 | 1360 | if test ! -r "$srcdir/$ac_unique_file"; then |
1495 | 1361 | 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" | |
1497 | 1363 | fi |
1498 | 1364 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1499 | 1365 | 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" | |
1501 | 1367 | pwd)` |
1502 | 1368 | # When building in place, set srcdir=. |
1503 | 1369 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1523 | 1389 | # Omit some internal or obsolete options to make the list less imposing. |
1524 | 1390 | # This message is too long to be a string in the A/UX 3.1 sh. |
1525 | 1391 | 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. | |
1527 | 1393 | |
1528 | 1394 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1529 | 1395 | |
1537 | 1403 | --help=short display options specific to this package |
1538 | 1404 | --help=recursive display the short help of all the included packages |
1539 | 1405 | -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 | |
1541 | 1407 | --cache-file=FILE cache test results in FILE [disabled] |
1542 | 1408 | -C, --config-cache alias for \`--cache-file=config.cache' |
1543 | 1409 | -n, --no-create do not create output files |
1593 | 1459 | |
1594 | 1460 | if test -n "$ac_init_help"; then |
1595 | 1461 | 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:";; | |
1597 | 1463 | esac |
1598 | 1464 | cat <<\_ACEOF |
1599 | 1465 | |
1630 | 1496 | both] |
1631 | 1497 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1632 | 1498 | --with-html-dir=PATH path to installed docs |
1499 | --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0) | |
1633 | 1500 | |
1634 | 1501 | Some influential environment variables: |
1635 | 1502 | CC C compiler command |
1641 | 1508 | you have headers in a nonstandard directory <include dir> |
1642 | 1509 | CPP C preprocessor |
1643 | 1510 | 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 | |
1644 | 1515 | GTK_CFLAGS C compiler flags for GTK, overriding pkg-config |
1645 | 1516 | GTK_LIBS linker flags for GTK, overriding pkg-config |
1646 | 1517 | POLKIT_AGENT_CFLAGS |
1722 | 1593 | test -n "$ac_init_help" && exit $ac_status |
1723 | 1594 | if $ac_init_version; then |
1724 | 1595 | 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. | |
1729 | 1600 | This configure script is free software; the Free Software Foundation |
1730 | 1601 | gives unlimited permission to copy, distribute and modify it. |
1731 | 1602 | _ACEOF |
1908 | 1779 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1909 | 1780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1910 | 1781 | $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 : | |
1912 | 1783 | $as_echo_n "(cached) " >&6 |
1913 | 1784 | else |
1914 | 1785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1938 | 1809 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1939 | 1810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1940 | 1811 | $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 : | |
1942 | 1813 | $as_echo_n "(cached) " >&6 |
1943 | 1814 | else |
1944 | 1815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2005 | 1876 | ac_fn_c_check_header_mongrel () |
2006 | 1877 | { |
2007 | 1878 | 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 : | |
2009 | 1880 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2010 | 1881 | $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 : | |
2012 | 1883 | $as_echo_n "(cached) " >&6 |
2013 | 1884 | fi |
2014 | 1885 | eval ac_res=\$$3 |
2067 | 1938 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2068 | 1939 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2069 | 1940 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2070 | ( cat <<\_ASBOX | |
2071 | ## ------------------------------------------------------------------------- ## | |
1941 | ( $as_echo "## ------------------------------------------------------------------------- ## | |
2072 | 1942 | ## Report this to http://lists.freedesktop.org/mailman/listinfo/polkit-devel ## |
2073 | ## ------------------------------------------------------------------------- ## | |
2074 | _ASBOX | |
1943 | ## ------------------------------------------------------------------------- ##" | |
2075 | 1944 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
2076 | 1945 | ;; |
2077 | 1946 | esac |
2078 | 1947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2079 | 1948 | $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 : | |
2081 | 1950 | $as_echo_n "(cached) " >&6 |
2082 | 1951 | else |
2083 | 1952 | eval "$3=\$ac_header_compiler" |
2093 | 1962 | This file contains any messages produced by compilers while |
2094 | 1963 | running configure, to aid debugging if configure makes a mistake. |
2095 | 1964 | |
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 | |
2098 | 1967 | |
2099 | 1968 | $ $0 $@ |
2100 | 1969 | |
2204 | 2073 | { |
2205 | 2074 | echo |
2206 | 2075 | |
2207 | cat <<\_ASBOX | |
2208 | ## ---------------- ## | |
2076 | $as_echo "## ---------------- ## | |
2209 | 2077 | ## Cache variables. ## |
2210 | ## ---------------- ## | |
2211 | _ASBOX | |
2078 | ## ---------------- ##" | |
2212 | 2079 | echo |
2213 | 2080 | # The following way of writing the cache mishandles newlines in values, |
2214 | 2081 | ( |
2242 | 2109 | ) |
2243 | 2110 | echo |
2244 | 2111 | |
2245 | cat <<\_ASBOX | |
2246 | ## ----------------- ## | |
2112 | $as_echo "## ----------------- ## | |
2247 | 2113 | ## Output variables. ## |
2248 | ## ----------------- ## | |
2249 | _ASBOX | |
2114 | ## ----------------- ##" | |
2250 | 2115 | echo |
2251 | 2116 | for ac_var in $ac_subst_vars |
2252 | 2117 | do |
2259 | 2124 | echo |
2260 | 2125 | |
2261 | 2126 | if test -n "$ac_subst_files"; then |
2262 | cat <<\_ASBOX | |
2263 | ## ------------------- ## | |
2127 | $as_echo "## ------------------- ## | |
2264 | 2128 | ## File substitutions. ## |
2265 | ## ------------------- ## | |
2266 | _ASBOX | |
2129 | ## ------------------- ##" | |
2267 | 2130 | echo |
2268 | 2131 | for ac_var in $ac_subst_files |
2269 | 2132 | do |
2277 | 2140 | fi |
2278 | 2141 | |
2279 | 2142 | if test -s confdefs.h; then |
2280 | cat <<\_ASBOX | |
2281 | ## ----------- ## | |
2143 | $as_echo "## ----------- ## | |
2282 | 2144 | ## confdefs.h. ## |
2283 | ## ----------- ## | |
2284 | _ASBOX | |
2145 | ## ----------- ##" | |
2285 | 2146 | echo |
2286 | 2147 | cat confdefs.h |
2287 | 2148 | echo |
2336 | 2197 | ac_site_file1=NONE |
2337 | 2198 | ac_site_file2=NONE |
2338 | 2199 | 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 | |
2340 | 2206 | elif test "x$prefix" != xNONE; then |
2341 | 2207 | ac_site_file1=$prefix/share/config.site |
2342 | 2208 | ac_site_file2=$prefix/etc/config.site |
2351 | 2217 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2352 | 2218 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2353 | 2219 | 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; } | |
2355 | 2225 | fi |
2356 | 2226 | done |
2357 | 2227 | |
2427 | 2297 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2428 | 2298 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2429 | 2299 | $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 | |
2431 | 2301 | fi |
2432 | 2302 | ## -------------------- ## |
2433 | 2303 | ## Main body of script. ## |
2445 | 2315 | |
2446 | 2316 | ac_aux_dir= |
2447 | 2317 | 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 | |
2455 | 2331 | done |
2456 | 2332 | 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 | |
2458 | 2334 | fi |
2459 | 2335 | |
2460 | 2336 | # These three variables are undocumented and unsupported, |
2570 | 2446 | ' |
2571 | 2447 | case `pwd` in |
2572 | 2448 | *[\\\"\#\$\&\'\`$am_lf]*) |
2573 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
2449 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2574 | 2450 | esac |
2575 | 2451 | case $srcdir in |
2576 | 2452 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2577 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2453 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2578 | 2454 | esac |
2579 | 2455 | |
2580 | 2456 | # Do `set' in a subshell so we don't clobber the current shell's |
2596 | 2472 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2597 | 2473 | # broken ls alias from the environment. This has actually |
2598 | 2474 | # 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 | |
2600 | 2476 | alias in your environment" "$LINENO" 5 |
2601 | 2477 | fi |
2602 | 2478 | |
2606 | 2482 | # Ok. |
2607 | 2483 | : |
2608 | 2484 | 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! | |
2610 | 2486 | Check your system clock" "$LINENO" 5 |
2611 | 2487 | fi |
2612 | 2488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2844 | 2720 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2845 | 2721 | set x ${MAKE-make} |
2846 | 2722 | 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 : | |
2848 | 2724 | $as_echo_n "(cached) " >&6 |
2849 | 2725 | else |
2850 | 2726 | cat >conftest.make <<\_ACEOF |
2852 | 2728 | all: |
2853 | 2729 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2854 | 2730 | _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. | |
2856 | 2732 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2857 | 2733 | *@@@%%%=?*=@@@%%%*) |
2858 | 2734 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2886 | 2762 | am__isrc=' -I$(srcdir)' |
2887 | 2763 | # test to see if srcdir already configured |
2888 | 2764 | 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 | |
2890 | 2766 | fi |
2891 | 2767 | fi |
2892 | 2768 | |
2902 | 2778 | |
2903 | 2779 | # Define the identity of the package. |
2904 | 2780 | PACKAGE='polkit-gnome' |
2905 | VERSION='0.99' | |
2781 | VERSION='0.100' | |
2906 | 2782 | |
2907 | 2783 | |
2908 | 2784 | cat >>confdefs.h <<_ACEOF |
3295 | 3171 | |
3296 | 3172 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3297 | 3173 | $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; } | |
3300 | 3176 | |
3301 | 3177 | # Provide some information about the compiler. |
3302 | 3178 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3410 | 3286 | |
3411 | 3287 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3412 | 3288 | $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; } | |
3416 | 3291 | else |
3417 | 3292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3418 | 3293 | $as_echo "yes" >&6; } |
3454 | 3329 | else |
3455 | 3330 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3456 | 3331 | $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; } | |
3459 | 3334 | fi |
3460 | 3335 | rm -f conftest conftest$ac_cv_exeext |
3461 | 3336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3512 | 3387 | else |
3513 | 3388 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3514 | 3389 | $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. | |
3516 | 3391 | 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; } | |
3518 | 3393 | fi |
3519 | 3394 | fi |
3520 | 3395 | fi |
3565 | 3440 | |
3566 | 3441 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3567 | 3442 | $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; } | |
3570 | 3445 | fi |
3571 | 3446 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3572 | 3447 | fi |
4159 | 4034 | else |
4160 | 4035 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4161 | 4036 | $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; } | |
4164 | 4039 | fi |
4165 | 4040 | |
4166 | 4041 | ac_ext=c |
4221 | 4096 | done |
4222 | 4097 | IFS=$as_save_IFS |
4223 | 4098 | 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 | |
4225 | 4100 | fi |
4226 | 4101 | else |
4227 | 4102 | ac_cv_path_GREP=$GREP |
4287 | 4162 | done |
4288 | 4163 | IFS=$as_save_IFS |
4289 | 4164 | 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 | |
4291 | 4166 | fi |
4292 | 4167 | else |
4293 | 4168 | ac_cv_path_EGREP=$EGREP |
4420 | 4295 | |
4421 | 4296 | |
4422 | 4297 | |
4423 | macro_version='2.2.6b' | |
4424 | macro_revision='1.3017' | |
4298 | macro_version='2.2.10' | |
4299 | macro_revision='1.3175' | |
4425 | 4300 | |
4426 | 4301 | |
4427 | 4302 | |
4439 | 4314 | |
4440 | 4315 | # Make sure we can run config.sub. |
4441 | 4316 | $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 | |
4443 | 4318 | |
4444 | 4319 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4445 | 4320 | $as_echo_n "checking build system type... " >&6; } |
4450 | 4325 | test "x$ac_build_alias" = x && |
4451 | 4326 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4452 | 4327 | 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 | |
4454 | 4329 | 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 | |
4456 | 4331 | |
4457 | 4332 | fi |
4458 | 4333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4459 | 4334 | $as_echo "$ac_cv_build" >&6; } |
4460 | 4335 | case $ac_cv_build in |
4461 | 4336 | *-*-*) ;; |
4462 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | |
4337 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
4463 | 4338 | esac |
4464 | 4339 | build=$ac_cv_build |
4465 | 4340 | ac_save_IFS=$IFS; IFS='-' |
4484 | 4359 | ac_cv_host=$ac_cv_build |
4485 | 4360 | else |
4486 | 4361 | 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 | |
4488 | 4363 | fi |
4489 | 4364 | |
4490 | 4365 | fi |
4492 | 4367 | $as_echo "$ac_cv_host" >&6; } |
4493 | 4368 | case $ac_cv_host in |
4494 | 4369 | *-*-*) ;; |
4495 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | |
4370 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
4496 | 4371 | esac |
4497 | 4372 | host=$ac_cv_host |
4498 | 4373 | ac_save_IFS=$IFS; IFS='-' |
4506 | 4381 | host_os=$* |
4507 | 4382 | IFS=$ac_save_IFS |
4508 | 4383 | 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 | ||
4509 | 4453 | |
4510 | 4454 | |
4511 | 4455 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4565 | 4509 | done |
4566 | 4510 | IFS=$as_save_IFS |
4567 | 4511 | 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 | |
4569 | 4513 | fi |
4570 | 4514 | else |
4571 | 4515 | ac_cv_path_SED=$SED |
4644 | 4588 | done |
4645 | 4589 | IFS=$as_save_IFS |
4646 | 4590 | 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 | |
4648 | 4592 | fi |
4649 | 4593 | else |
4650 | 4594 | ac_cv_path_FGREP=$FGREP |
4760 | 4704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4761 | 4705 | $as_echo "no" >&6; } |
4762 | 4706 | 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 | |
4764 | 4708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4765 | 4709 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4766 | 4710 | if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
4843 | 4787 | NM="$lt_cv_path_NM" |
4844 | 4788 | else |
4845 | 4789 | # 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" | |
4848 | 4795 | do |
4849 | 4796 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4850 | 4797 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4888 | 4835 | fi |
4889 | 4836 | if test -z "$DUMPBIN"; then |
4890 | 4837 | ac_ct_DUMPBIN=$DUMPBIN |
4891 | for ac_prog in "dumpbin -symbols" "link -dump -symbols" | |
4838 | for ac_prog in dumpbin "link -dump" | |
4892 | 4839 | do |
4893 | 4840 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4894 | 4841 | set dummy $ac_prog; ac_word=$2 |
4943 | 4890 | fi |
4944 | 4891 | fi |
4945 | 4892 | |
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 | |
4946 | 4902 | |
4947 | 4903 | if test "$DUMPBIN" != ":"; then |
4948 | 4904 | NM="$DUMPBIN" |
4962 | 4918 | else |
4963 | 4919 | lt_cv_nm_interface="BSD nm" |
4964 | 4920 | 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) | |
4966 | 4922 | (eval "$ac_compile" 2>conftest.err) |
4967 | 4923 | 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) | |
4969 | 4925 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
4970 | 4926 | cat conftest.err >&5 |
4971 | (eval echo "\"\$as_me:4972: output\"" >&5) | |
4927 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) | |
4972 | 4928 | cat conftest.out >&5 |
4973 | 4929 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
4974 | 4930 | lt_cv_nm_interface="MS dumpbin" |
5022 | 4978 | # the test eventually succeeds (with a max line length of 256k). |
5023 | 4979 | # Instead, let's just punt: use the minimum linelength reported by |
5024 | 4980 | # 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. | |
5025 | 4986 | lt_cv_sys_max_cmd_len=8192; |
5026 | 4987 | ;; |
5027 | 4988 | |
5089 | 5050 | # If test is not a shell built-in, we'll probably end up computing a |
5090 | 5051 | # maximum length that is only half of the actual maximum length, but |
5091 | 5052 | # 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 && | |
5094 | 5055 | test $i != 17 # 1/2 MB should be enough |
5095 | 5056 | do |
5096 | 5057 | i=`expr $i + 1` |
5361 | 5322 | # Base MSYS/MinGW do not provide the 'file' command needed by |
5362 | 5323 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
5363 | 5324 | # 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 | |
5365 | 5327 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5366 | 5328 | lt_cv_file_magic_cmd='func_win32_libid' |
5367 | 5329 | 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)' | |
5369 | 5332 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
5370 | 5333 | fi |
5371 | 5334 | ;; |
5372 | 5335 | |
5373 | cegcc) | |
5336 | cegcc*) | |
5374 | 5337 | # use the weaker test based on 'objdump'. See mingw*. |
5375 | 5338 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5376 | 5339 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
5400 | 5363 | lt_cv_deplibs_check_method=pass_all |
5401 | 5364 | ;; |
5402 | 5365 | |
5366 | haiku*) | |
5367 | lt_cv_deplibs_check_method=pass_all | |
5368 | ;; | |
5369 | ||
5403 | 5370 | hpux10.20* | hpux11*) |
5404 | 5371 | lt_cv_file_magic_cmd=/usr/bin/file |
5405 | 5372 | case $host_cpu in |
5408 | 5375 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5409 | 5376 | ;; |
5410 | 5377 | 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]' | |
5412 | 5379 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5413 | 5380 | ;; |
5414 | 5381 | *) |
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' | |
5416 | 5383 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5417 | 5384 | ;; |
5418 | 5385 | esac |
5434 | 5401 | ;; |
5435 | 5402 | |
5436 | 5403 | # This must be Linux ELF. |
5437 | linux* | k*bsd*-gnu) | |
5404 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
5438 | 5405 | lt_cv_deplibs_check_method=pass_all |
5439 | 5406 | ;; |
5440 | 5407 | |
5849 | 5816 | esac |
5850 | 5817 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
5851 | 5818 | 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 | ||
5852 | 5831 | |
5853 | 5832 | |
5854 | 5833 | |
6019 | 5998 | test $ac_status = 0; }; then |
6020 | 5999 | # Now try to grab the symbols. |
6021 | 6000 | 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 | |
6024 | 6003 | ac_status=$? |
6025 | 6004 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6026 | 6005 | test $ac_status = 0; } && test -s "$nlist"; then |
6173 | 6152 | ;; |
6174 | 6153 | *-*-irix6*) |
6175 | 6154 | # Find out which ABI we are using. |
6176 | echo '#line 6177 "configure"' > conftest.$ac_ext | |
6155 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
6177 | 6156 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6178 | 6157 | (eval $ac_compile) 2>&5 |
6179 | 6158 | ac_status=$? |
6885 | 6864 | fi |
6886 | 6865 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
6887 | 6866 | $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; } | |
6888 | 6899 | case $host_os in |
6889 | 6900 | rhapsody* | darwin1.[012]) |
6890 | 6901 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
6912 | 6923 | else |
6913 | 6924 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
6914 | 6925 | fi |
6915 | if test "$DSYMUTIL" != ":"; then | |
6926 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
6916 | 6927 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
6917 | 6928 | else |
6918 | 6929 | _lt_dsymutil= |
6927 | 6938 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6928 | 6939 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
6929 | 6940 | " |
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 : | |
6932 | 6942 | cat >>confdefs.h <<_ACEOF |
6933 | 6943 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6934 | 6944 | _ACEOF |
6950 | 6960 | fi |
6951 | 6961 | |
6952 | 6962 | done |
6963 | ||
6964 | ||
6953 | 6965 | |
6954 | 6966 | |
6955 | 6967 | |
7105 | 7117 | |
7106 | 7118 | |
7107 | 7119 | |
7120 | ||
7108 | 7121 | test -z "$LN_S" && LN_S="ln -s" |
7109 | 7122 | |
7110 | 7123 | |
7150 | 7163 | cat >>confdefs.h <<_ACEOF |
7151 | 7164 | #define LT_OBJDIR "$lt_cv_objdir/" |
7152 | 7165 | _ACEOF |
7153 | ||
7154 | ||
7155 | ||
7156 | ||
7157 | ||
7158 | ||
7159 | ||
7160 | ||
7161 | ||
7162 | ||
7163 | ||
7164 | ||
7165 | ||
7166 | 7166 | |
7167 | 7167 | |
7168 | 7168 | |
7179 | 7179 | ;; |
7180 | 7180 | esac |
7181 | 7181 | |
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 | ||
7199 | 7182 | # Global variables: |
7200 | 7183 | ofile=libtool |
7201 | 7184 | can_build_shared=yes |
7224 | 7207 | *) break;; |
7225 | 7208 | esac |
7226 | 7209 | 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-%%"` | |
7228 | 7211 | |
7229 | 7212 | |
7230 | 7213 | # Only perform the check for file, if the check method requires it |
7429 | 7412 | lt_prog_compiler_no_builtin_flag= |
7430 | 7413 | |
7431 | 7414 | 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 | |
7433 | 7421 | |
7434 | 7422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7435 | 7423 | $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
7449 | 7437 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7450 | 7438 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7451 | 7439 | -e 's:$: $lt_compiler_flag:'` |
7452 | (eval echo "\"\$as_me:7453: $lt_compile\"" >&5) | |
7440 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
7453 | 7441 | (eval "$lt_compile" 2>conftest.err) |
7454 | 7442 | ac_status=$? |
7455 | 7443 | cat conftest.err >&5 |
7456 | echo "$as_me:7457: \$? = $ac_status" >&5 | |
7444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7457 | 7445 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7458 | 7446 | # The compiler can only warn and ignore the option if not recognized |
7459 | 7447 | # 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 | |
7461 | 7449 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
7462 | 7450 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
7463 | 7451 | lt_cv_prog_compiler_rtti_exceptions=yes |
7535 | 7523 | lt_prog_compiler_pic='-fno-common' |
7536 | 7524 | ;; |
7537 | 7525 | |
7526 | haiku*) | |
7527 | # PIC is the default for Haiku. | |
7528 | # The "-static" flag exists, but is broken. | |
7529 | lt_prog_compiler_static= | |
7530 | ;; | |
7531 | ||
7538 | 7532 | hpux*) |
7539 | 7533 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
7540 | 7534 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
7575 | 7569 | |
7576 | 7570 | *) |
7577 | 7571 | 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' | |
7578 | 7579 | ;; |
7579 | 7580 | esac |
7580 | 7581 | else |
7618 | 7619 | lt_prog_compiler_static='-non_shared' |
7619 | 7620 | ;; |
7620 | 7621 | |
7621 | linux* | k*bsd*-gnu) | |
7622 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
7622 | 7623 | case $cc_basename in |
7623 | 7624 | # old Intel for x86_64 which still supported -KPIC. |
7624 | 7625 | ecc*) |
7639 | 7640 | lt_prog_compiler_pic='--shared' |
7640 | 7641 | lt_prog_compiler_static='--static' |
7641 | 7642 | ;; |
7642 | pgcc* | pgf77* | pgf90* | pgf95*) | |
7643 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
7643 | 7644 | # Portland Group compilers (*not* the Pentium gcc compiler, |
7644 | 7645 | # which looks to be a dead project) |
7645 | 7646 | lt_prog_compiler_wl='-Wl,' |
7651 | 7652 | # All Alpha code is PIC. |
7652 | 7653 | lt_prog_compiler_static='-non_shared' |
7653 | 7654 | ;; |
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 | |
7656 | 7657 | lt_prog_compiler_wl='-Wl,' |
7657 | 7658 | lt_prog_compiler_pic='-qpic' |
7658 | 7659 | lt_prog_compiler_static='-qstaticlink' |
7659 | 7660 | ;; |
7660 | 7661 | *) |
7661 | 7662 | 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 | ;; | |
7662 | 7669 | *Sun\ C*) |
7663 | 7670 | # Sun C 5.9 |
7664 | 7671 | lt_prog_compiler_pic='-KPIC' |
7665 | 7672 | lt_prog_compiler_static='-Bstatic' |
7666 | 7673 | lt_prog_compiler_wl='-Wl,' |
7667 | 7674 | ;; |
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 | ;; | |
7674 | 7675 | esac |
7675 | 7676 | ;; |
7676 | 7677 | esac |
7701 | 7702 | lt_prog_compiler_pic='-KPIC' |
7702 | 7703 | lt_prog_compiler_static='-Bstatic' |
7703 | 7704 | case $cc_basename in |
7704 | f77* | f90* | f95*) | |
7705 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
7705 | 7706 | lt_prog_compiler_wl='-Qoption ld ';; |
7706 | 7707 | *) |
7707 | 7708 | lt_prog_compiler_wl='-Wl,';; |
7788 | 7789 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7789 | 7790 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7790 | 7791 | -e 's:$: $lt_compiler_flag:'` |
7791 | (eval echo "\"\$as_me:7792: $lt_compile\"" >&5) | |
7792 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
7792 | 7793 | (eval "$lt_compile" 2>conftest.err) |
7793 | 7794 | ac_status=$? |
7794 | 7795 | cat conftest.err >&5 |
7795 | echo "$as_me:7796: \$? = $ac_status" >&5 | |
7796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7796 | 7797 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7797 | 7798 | # The compiler can only warn and ignore the option if not recognized |
7798 | 7799 | # 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 | |
7800 | 7801 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
7801 | 7802 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
7802 | 7803 | lt_cv_prog_compiler_pic_works=yes |
7844 | 7845 | if test -s conftest.err; then |
7845 | 7846 | # Append any errors to the config.log. |
7846 | 7847 | 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 | |
7848 | 7849 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
7849 | 7850 | if diff conftest.exp conftest.er2 >/dev/null; then |
7850 | 7851 | lt_cv_prog_compiler_static_works=yes |
7893 | 7894 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7894 | 7895 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7895 | 7896 | -e 's:$: $lt_compiler_flag:'` |
7896 | (eval echo "\"\$as_me:7897: $lt_compile\"" >&5) | |
7897 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
7897 | 7898 | (eval "$lt_compile" 2>out/conftest.err) |
7898 | 7899 | ac_status=$? |
7899 | 7900 | cat out/conftest.err >&5 |
7900 | echo "$as_me:7901: \$? = $ac_status" >&5 | |
7901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7901 | 7902 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7902 | 7903 | then |
7903 | 7904 | # The compiler can only warn and ignore the option if not recognized |
7904 | 7905 | # 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 | |
7906 | 7907 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
7907 | 7908 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
7908 | 7909 | lt_cv_prog_compiler_c_o=yes |
7948 | 7949 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7949 | 7950 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7950 | 7951 | -e 's:$: $lt_compiler_flag:'` |
7951 | (eval echo "\"\$as_me:7952: $lt_compile\"" >&5) | |
7952 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
7952 | 7953 | (eval "$lt_compile" 2>out/conftest.err) |
7953 | 7954 | ac_status=$? |
7954 | 7955 | cat out/conftest.err >&5 |
7955 | echo "$as_me:7956: \$? = $ac_status" >&5 | |
7956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7956 | 7957 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7957 | 7958 | then |
7958 | 7959 | # The compiler can only warn and ignore the option if not recognized |
7959 | 7960 | # 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 | |
7961 | 7962 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
7962 | 7963 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
7963 | 7964 | lt_cv_prog_compiler_c_o=yes |
8070 | 8071 | esac |
8071 | 8072 | |
8072 | 8073 | 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 | |
8073 | 8078 | 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 | |
8074 | 8101 | # If archive_cmds runs LD, not CC, wlarc should be empty |
8075 | 8102 | wlarc='${wl}' |
8076 | 8103 | |
8088 | 8115 | fi |
8089 | 8116 | supports_anon_versioning=no |
8090 | 8117 | case `$LD -v 2>&1` in |
8118 | *GNU\ gold*) supports_anon_versioning=yes ;; | |
8091 | 8119 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
8092 | 8120 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
8093 | 8121 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
8103 | 8131 | ld_shlibs=no |
8104 | 8132 | cat <<_LT_EOF 1>&2 |
8105 | 8133 | |
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 | |
8107 | 8135 | *** to be unable to reliably create shared libraries on AIX. |
8108 | 8136 | *** 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. | |
8111 | 8140 | |
8112 | 8141 | _LT_EOF |
8113 | 8142 | fi |
8143 | 8172 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
8144 | 8173 | # as there is no search path for DLLs. |
8145 | 8174 | hardcode_libdir_flag_spec='-L$libdir' |
8175 | export_dynamic_flag_spec='${wl}--export-all-symbols' | |
8146 | 8176 | allow_undefined_flag=unsupported |
8147 | 8177 | always_export_symbols=no |
8148 | 8178 | enable_shared_with_static_runtimes=yes |
8164 | 8194 | fi |
8165 | 8195 | ;; |
8166 | 8196 | |
8197 | haiku*) | |
8198 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
8199 | link_all_deplibs=yes | |
8200 | ;; | |
8201 | ||
8167 | 8202 | interix[3-9]*) |
8168 | 8203 | hardcode_direct=no |
8169 | 8204 | hardcode_shlibpath_var=no |
8179 | 8214 | 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' |
8180 | 8215 | ;; |
8181 | 8216 | |
8182 | gnu* | linux* | tpf* | k*bsd*-gnu) | |
8217 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
8183 | 8218 | tmp_diet=no |
8184 | 8219 | if test "$host_os" = linux-dietlibc; then |
8185 | 8220 | case $cc_basename in |
8193 | 8228 | tmp_sharedflag='-shared' |
8194 | 8229 | case $cc_basename,$host_cpu in |
8195 | 8230 | 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' | |
8197 | 8232 | tmp_addflag=' $pic_flag' |
8198 | 8233 | ;; |
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' | |
8201 | 8237 | tmp_addflag=' $pic_flag -Mnomain' ;; |
8202 | 8238 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
8203 | 8239 | tmp_addflag=' -i_dynamic' ;; |
8208 | 8244 | lf95*) # Lahey Fortran 8.1 |
8209 | 8245 | whole_archive_flag_spec= |
8210 | 8246 | 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) | |
8212 | 8248 | tmp_sharedflag='-qmkshrobj' |
8213 | 8249 | 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 | ;; | |
8214 | 8254 | esac |
8215 | 8255 | case `$CC -V 2>&1 | sed 5q` in |
8216 | 8256 | *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' | |
8218 | 8258 | compiler_needs_object=yes |
8219 | 8259 | tmp_sharedflag='-G' ;; |
8220 | 8260 | *Sun\ F*) # Sun Fortran 8.3 |
8230 | 8270 | fi |
8231 | 8271 | |
8232 | 8272 | case $cc_basename in |
8233 | xlf*) | |
8273 | xlf* | bgf* | bgxlf* | mpixlf*) | |
8234 | 8274 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
8235 | 8275 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
8236 | 8276 | hardcode_libdir_flag_spec= |
8237 | 8277 | 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' | |
8239 | 8279 | if test "x$supports_anon_versioning" = xyes; then |
8240 | 8280 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
8241 | 8281 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
8242 | 8282 | 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' | |
8244 | 8284 | fi |
8245 | 8285 | ;; |
8246 | 8286 | esac |
8361 | 8401 | else |
8362 | 8402 | # If we're using GNU nm, then we don't want the "-C" option. |
8363 | 8403 | # -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". | |
8364 | 8406 | 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' | |
8366 | 8408 | else |
8367 | 8409 | 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' |
8368 | 8410 | fi |
8480 | 8522 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8481 | 8523 | |
8482 | 8524 | 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" | |
8484 | 8526 | else |
8485 | 8527 | if test "$host_cpu" = ia64; then |
8486 | 8528 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
8524 | 8566 | # -berok will link without error, but may produce a broken library. |
8525 | 8567 | no_undefined_flag=' ${wl}-bernotok' |
8526 | 8568 | 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 | |
8529 | 8576 | archive_cmds_need_lc=yes |
8530 | 8577 | # This is similar to how AIX traditionally builds its shared libraries. |
8531 | 8578 | 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' |
8564 | 8611 | # Tell ltmain to make .dll files, not .so files. |
8565 | 8612 | shrext_cmds=".dll" |
8566 | 8613 | # 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=' | |
8568 | 8615 | # The linker will automatically build a .lib file if we build a DLL. |
8569 | 8616 | old_archive_from_new_cmds='true' |
8570 | 8617 | # FIXME: Should let the user specify the lib program. |
8580 | 8627 | hardcode_direct=no |
8581 | 8628 | hardcode_automatic=yes |
8582 | 8629 | 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 | |
8584 | 8635 | link_all_deplibs=yes |
8585 | 8636 | allow_undefined_flag="$_lt_dar_allow_undefined" |
8586 | 8637 | case $cc_basename in |
8588 | 8639 | *) _lt_dar_can_shared=$GCC ;; |
8589 | 8640 | esac |
8590 | 8641 | if test "$_lt_dar_can_shared" = "yes"; then |
8591 | output_verbose_link_cmd=echo | |
8642 | output_verbose_link_cmd=func_echo_all | |
8592 | 8643 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
8593 | 8644 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
8594 | 8645 | 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}" |
8654 | 8705 | ;; |
8655 | 8706 | |
8656 | 8707 | hpux10*) |
8657 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
8708 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
8658 | 8709 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
8659 | 8710 | else |
8660 | 8711 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
8673 | 8724 | ;; |
8674 | 8725 | |
8675 | 8726 | hpux11*) |
8676 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
8727 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
8677 | 8728 | case $host_cpu in |
8678 | 8729 | hppa*64*) |
8679 | 8730 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8694 | 8745 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
8695 | 8746 | ;; |
8696 | 8747 | *) |
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 | ||
8698 | 8788 | ;; |
8699 | 8789 | esac |
8700 | 8790 | fi |
8722 | 8812 | |
8723 | 8813 | irix5* | irix6* | nonstopux*) |
8724 | 8814 | 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' | |
8726 | 8816 | # Try to use the -exported_symbol ld option, if it does not |
8727 | 8817 | # work, assume that -exports_file does not work either and |
8728 | 8818 | # implicitly export all symbols. |
8733 | 8823 | int foo(void) {} |
8734 | 8824 | _ACEOF |
8735 | 8825 | 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' | |
8737 | 8827 | |
8738 | 8828 | fi |
8739 | 8829 | rm -f core conftest.err conftest.$ac_objext \ |
8740 | 8830 | conftest$ac_exeext conftest.$ac_ext |
8741 | 8831 | LDFLAGS="$save_LDFLAGS" |
8742 | 8832 | 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' | |
8745 | 8835 | fi |
8746 | 8836 | archive_cmds_need_lc='no' |
8747 | 8837 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
8803 | 8893 | hardcode_libdir_flag_spec='-L$libdir' |
8804 | 8894 | hardcode_minus_L=yes |
8805 | 8895 | 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' | |
8807 | 8897 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
8808 | 8898 | ;; |
8809 | 8899 | |
8810 | 8900 | osf3*) |
8811 | 8901 | if test "$GCC" = yes; then |
8812 | 8902 | 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' | |
8814 | 8904 | else |
8815 | 8905 | 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' | |
8817 | 8907 | fi |
8818 | 8908 | archive_cmds_need_lc='no' |
8819 | 8909 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
8823 | 8913 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
8824 | 8914 | if test "$GCC" = yes; then |
8825 | 8915 | 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' | |
8827 | 8917 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
8828 | 8918 | else |
8829 | 8919 | 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' | |
8831 | 8921 | 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' | |
8833 | 8923 | |
8834 | 8924 | # Both c and cxx compiler support -rpath directly |
8835 | 8925 | hardcode_libdir_flag_spec='-rpath $libdir' |
9032 | 9122 | # to ld, don't add -lc before -lgcc. |
9033 | 9123 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
9034 | 9124 | $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 | |
9039 | 9132 | (eval $ac_compile) 2>&5 |
9040 | 9133 | ac_status=$? |
9041 | 9134 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
9042 | 9135 | 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 | |
9057 | 9150 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
9058 | 9151 | ac_status=$? |
9059 | 9152 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
9060 | 9153 | 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 | |
9073 | 9169 | ;; |
9074 | 9170 | esac |
9075 | 9171 | fi |
9240 | 9336 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
9241 | 9337 | *) lt_awk_arg="/^libraries:/" ;; |
9242 | 9338 | 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 | *\;*) | |
9245 | 9346 | # if the path contains ";" then we assume it to be the separator |
9246 | 9347 | # otherwise default to the standard path separator (i.e. ":") - it is |
9247 | 9348 | # assumed that no part of a normal pathname contains ";" but that should |
9248 | 9349 | # 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 | |
9253 | 9356 | # Ok, now we have the path, separated by spaces, we can step through it |
9254 | 9357 | # and add multilib dir if necessary. |
9255 | 9358 | lt_tmp_lt_search_path_spec= |
9262 | 9365 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
9263 | 9366 | fi |
9264 | 9367 | 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 ' | |
9266 | 9369 | BEGIN {RS=" "; FS="/|\n";} { |
9267 | 9370 | lt_foo=""; |
9268 | 9371 | lt_count=0; |
9282 | 9385 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
9283 | 9386 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
9284 | 9387 | }'` |
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` | |
9286 | 9395 | else |
9287 | 9396 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
9288 | 9397 | fi |
9370 | 9479 | m68k) |
9371 | 9480 | library_names_spec='$libname.ixlibrary $libname.a' |
9372 | 9481 | # 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' | |
9374 | 9483 | ;; |
9375 | 9484 | esac |
9376 | 9485 | ;; |
9423 | 9532 | cygwin*) |
9424 | 9533 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
9425 | 9534 | 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" | |
9427 | 9537 | ;; |
9428 | 9538 | mingw* | cegcc*) |
9429 | 9539 | # MinGW DLLs use traditional 'lib' prefix |
9430 | 9540 | 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 | |
9443 | 9541 | ;; |
9444 | 9542 | pw32*) |
9445 | 9543 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
9539 | 9637 | hardcode_into_libs=yes |
9540 | 9638 | ;; |
9541 | 9639 | |
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 | ||
9542 | 9653 | hpux9* | hpux10* | hpux11*) |
9543 | 9654 | # Give a soname corresponding to the major version so that dld.sl refuses to |
9544 | 9655 | # link against other versions. |
9581 | 9692 | soname_spec='${libname}${release}${shared_ext}$major' |
9582 | 9693 | ;; |
9583 | 9694 | 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, ... | |
9585 | 9696 | postinstall_cmds='chmod 555 $lib' |
9697 | # or fails outright, so override atomically: | |
9698 | install_override_mode=555 | |
9586 | 9699 | ;; |
9587 | 9700 | |
9588 | 9701 | interix[3-9]*) |
9640 | 9753 | ;; |
9641 | 9754 | |
9642 | 9755 | # This must be Linux ELF. |
9643 | linux* | k*bsd*-gnu) | |
9756 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
9644 | 9757 | version_type=linux |
9645 | 9758 | need_lib_prefix=no |
9646 | 9759 | need_version=no |
9649 | 9762 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
9650 | 9763 | shlibpath_var=LD_LIBRARY_PATH |
9651 | 9764 | shlibpath_overrides_runpath=no |
9765 | ||
9652 | 9766 | # 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 | |
9658 | 9776 | /* end confdefs.h. */ |
9659 | 9777 | |
9660 | 9778 | int |
9667 | 9785 | _ACEOF |
9668 | 9786 | if ac_fn_c_try_link "$LINENO"; then : |
9669 | 9787 | 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 | |
9671 | 9789 | fi |
9672 | 9790 | fi |
9673 | 9791 | rm -f core conftest.err conftest.$ac_objext \ |
9674 | 9792 | 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 | |
9677 | 9799 | |
9678 | 9800 | # This implies no fast_install, which is unacceptable. |
9679 | 9801 | # Some rework will be needed to allow for fast_install |
9685 | 9807 | |
9686 | 9808 | # Append ld.so.conf contents to the search path |
9687 | 9809 | 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' ' '` | |
9689 | 9811 | sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
9812 | ||
9690 | 9813 | fi |
9691 | 9814 | |
9692 | 9815 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
9988 | 10111 | |
9989 | 10112 | |
9990 | 10113 | |
10114 | ||
10115 | ||
10116 | ||
10117 | ||
10118 | ||
9991 | 10119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
9992 | 10120 | $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
9993 | 10121 | hardcode_action= |
10318 | 10446 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10319 | 10447 | lt_status=$lt_dlunknown |
10320 | 10448 | cat > conftest.$ac_ext <<_LT_EOF |
10321 | #line 10322 "configure" | |
10449 | #line $LINENO "configure" | |
10322 | 10450 | #include "confdefs.h" |
10323 | 10451 | |
10324 | 10452 | #if HAVE_DLFCN_H |
10359 | 10487 | # endif |
10360 | 10488 | #endif |
10361 | 10489 | |
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; } | |
10363 | 10497 | int main () |
10364 | 10498 | { |
10365 | 10499 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
10368 | 10502 | if (self) |
10369 | 10503 | { |
10370 | 10504 | 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 | } | |
10372 | 10510 | /* dlclose (self); */ |
10373 | 10511 | } |
10374 | 10512 | else |
10414 | 10552 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10415 | 10553 | lt_status=$lt_dlunknown |
10416 | 10554 | cat > conftest.$ac_ext <<_LT_EOF |
10417 | #line 10418 "configure" | |
10555 | #line $LINENO "configure" | |
10418 | 10556 | #include "confdefs.h" |
10419 | 10557 | |
10420 | 10558 | #if HAVE_DLFCN_H |
10455 | 10593 | # endif |
10456 | 10594 | #endif |
10457 | 10595 | |
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; } | |
10459 | 10603 | int main () |
10460 | 10604 | { |
10461 | 10605 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
10464 | 10608 | if (self) |
10465 | 10609 | { |
10466 | 10610 | 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 | } | |
10468 | 10616 | /* dlclose (self); */ |
10469 | 10617 | } |
10470 | 10618 | else |
10644 | 10792 | |
10645 | 10793 | |
10646 | 10794 | |
10795 | ||
10796 | ||
10797 | ||
10798 | ||
10647 | 10799 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
10648 | 10800 | if test -n "$ac_tool_prefix"; then |
10649 | 10801 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
10756 | 10908 | $as_echo "no" >&6; } |
10757 | 10909 | PKG_CONFIG="" |
10758 | 10910 | fi |
10759 | ||
10760 | 10911 | fi |
10761 | 10912 | |
10762 | 10913 | |
10915 | 11066 | test $ac_status = 0; }; then |
10916 | 11067 | : |
10917 | 11068 | 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 | |
10919 | 11070 | fi |
10920 | 11071 | fi |
10921 | 11072 | |
11060 | 11211 | fi |
11061 | 11212 | else |
11062 | 11213 | 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 | |
11064 | 11215 | fi |
11065 | 11216 | fi |
11066 | 11217 | |
11161 | 11312 | fi |
11162 | 11313 | ;; |
11163 | 11314 | *) |
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 | |
11165 | 11316 | ;; |
11166 | 11317 | esac |
11167 | 11318 | CFLAGS="$realsave_CFLAGS" |
11217 | 11368 | # Check for required packages |
11218 | 11369 | # *************************** |
11219 | 11370 | |
11220 | GTK_REQUIRED=2.17.1 | |
11221 | 11371 | POLKIT_AGENT_REQUIRED=0.97 |
11222 | 11372 | 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 | ||
11223 | 11399 | |
11224 | 11400 | |
11225 | 11401 | pkg_failed=no |
11230 | 11406 | pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" |
11231 | 11407 | elif test -n "$PKG_CONFIG"; then |
11232 | 11408 | 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 | |
11235 | 11411 | ac_status=$? |
11236 | 11412 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11237 | 11413 | 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` | |
11239 | 11415 | else |
11240 | 11416 | pkg_failed=yes |
11241 | 11417 | fi |
11246 | 11422 | pkg_cv_GTK_LIBS="$GTK_LIBS" |
11247 | 11423 | elif test -n "$PKG_CONFIG"; then |
11248 | 11424 | 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 | |
11251 | 11427 | ac_status=$? |
11252 | 11428 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11253 | 11429 | 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` | |
11255 | 11431 | else |
11256 | 11432 | pkg_failed=yes |
11257 | 11433 | fi |
11262 | 11438 | |
11263 | 11439 | |
11264 | 11440 | if test $pkg_failed = yes; then |
11441 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
11442 | $as_echo "no" >&6; } | |
11265 | 11443 | |
11266 | 11444 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
11267 | 11445 | _pkg_short_errors_supported=yes |
11269 | 11447 | _pkg_short_errors_supported=no |
11270 | 11448 | fi |
11271 | 11449 | 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` | |
11273 | 11451 | 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` | |
11275 | 11453 | fi |
11276 | 11454 | # Put the nasty error message in config.log where it belongs |
11277 | 11455 | echo "$GTK_PKG_ERRORS" >&5 |
11278 | 11456 | |
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: | |
11280 | 11458 | |
11281 | 11459 | $GTK_PKG_ERRORS |
11282 | 11460 | |
11283 | 11461 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
11284 | 11462 | 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. | |
11285 | 11476 | |
11286 | 11477 | Alternatively, you may set the environment variables GTK_CFLAGS |
11287 | 11478 | and GTK_LIBS to avoid the need to call pkg-config. |
11288 | 11479 | 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. | |
11300 | 11480 | |
11301 | 11481 | 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 | ||
11303 | 11484 | else |
11304 | 11485 | GTK_CFLAGS=$pkg_cv_GTK_CFLAGS |
11305 | 11486 | GTK_LIBS=$pkg_cv_GTK_LIBS |
11306 | 11487 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11307 | 11488 | $as_echo "yes" >&6; } |
11308 | : | |
11489 | ||
11309 | 11490 | fi |
11310 | 11491 | |
11311 | 11492 | |
11351 | 11532 | |
11352 | 11533 | |
11353 | 11534 | if test $pkg_failed = yes; then |
11535 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
11536 | $as_echo "no" >&6; } | |
11354 | 11537 | |
11355 | 11538 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
11356 | 11539 | _pkg_short_errors_supported=yes |
11365 | 11548 | # Put the nasty error message in config.log where it belongs |
11366 | 11549 | echo "$POLKIT_AGENT_PKG_ERRORS" >&5 |
11367 | 11550 | |
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: | |
11369 | 11552 | |
11370 | 11553 | $POLKIT_AGENT_PKG_ERRORS |
11371 | 11554 | |
11372 | 11555 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
11373 | 11556 | 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. | |
11374 | 11570 | |
11375 | 11571 | Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS |
11376 | 11572 | and POLKIT_AGENT_LIBS to avoid the need to call pkg-config. |
11377 | 11573 | 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. | |
11389 | 11574 | |
11390 | 11575 | 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 | ||
11392 | 11578 | else |
11393 | 11579 | POLKIT_AGENT_CFLAGS=$pkg_cv_POLKIT_AGENT_CFLAGS |
11394 | 11580 | POLKIT_AGENT_LIBS=$pkg_cv_POLKIT_AGENT_LIBS |
11395 | 11581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11396 | 11582 | $as_echo "yes" >&6; } |
11397 | : | |
11583 | ||
11398 | 11584 | fi |
11399 | 11585 | |
11400 | 11586 | |
11440 | 11626 | |
11441 | 11627 | |
11442 | 11628 | if test $pkg_failed = yes; then |
11629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
11630 | $as_echo "no" >&6; } | |
11443 | 11631 | |
11444 | 11632 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
11445 | 11633 | _pkg_short_errors_supported=yes |
11454 | 11642 | # Put the nasty error message in config.log where it belongs |
11455 | 11643 | echo "$POLKIT_GOBJECT_PKG_ERRORS" >&5 |
11456 | 11644 | |
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: | |
11458 | 11646 | |
11459 | 11647 | $POLKIT_GOBJECT_PKG_ERRORS |
11460 | 11648 | |
11461 | 11649 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
11462 | 11650 | 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. | |
11463 | 11664 | |
11464 | 11665 | Alternatively, you may set the environment variables POLKIT_GOBJECT_CFLAGS |
11465 | 11666 | and POLKIT_GOBJECT_LIBS to avoid the need to call pkg-config. |
11466 | 11667 | 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. | |
11478 | 11668 | |
11479 | 11669 | 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 | ||
11481 | 11672 | else |
11482 | 11673 | POLKIT_GOBJECT_CFLAGS=$pkg_cv_POLKIT_GOBJECT_CFLAGS |
11483 | 11674 | POLKIT_GOBJECT_LIBS=$pkg_cv_POLKIT_GOBJECT_LIBS |
11484 | 11675 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11485 | 11676 | $as_echo "yes" >&6; } |
11486 | : | |
11677 | ||
11487 | 11678 | fi |
11488 | 11679 | |
11489 | 11680 | |
11556 | 11747 | |
11557 | 11748 | |
11558 | 11749 | if test $pkg_failed = yes; then |
11750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
11751 | $as_echo "no" >&6; } | |
11559 | 11752 | |
11560 | 11753 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
11561 | 11754 | _pkg_short_errors_supported=yes |
11570 | 11763 | # Put the nasty error message in config.log where it belongs |
11571 | 11764 | echo "$INTROSPECTION_PKG_ERRORS" >&5 |
11572 | 11765 | |
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: | |
11574 | 11767 | |
11575 | 11768 | $INTROSPECTION_PKG_ERRORS |
11576 | 11769 | |
11577 | 11770 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
11578 | 11771 | 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. | |
11579 | 11785 | |
11580 | 11786 | Alternatively, you may set the environment variables INTROSPECTION_CFLAGS |
11581 | 11787 | and INTROSPECTION_LIBS to avoid the need to call pkg-config. |
11582 | 11788 | 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. | |
11594 | 11789 | |
11595 | 11790 | 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 | ||
11597 | 11793 | else |
11598 | 11794 | INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS |
11599 | 11795 | INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS |
11600 | 11796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11601 | 11797 | $as_echo "yes" >&6; } |
11602 | : | |
11798 | ||
11603 | 11799 | fi |
11604 | 11800 | |
11605 | 11801 | $as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h |
11648 | 11844 | |
11649 | 11845 | case "$am__api_version" in |
11650 | 11846 | 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 | |
11652 | 11848 | ;; |
11653 | 11849 | *) |
11654 | 11850 | ;; |
11665 | 11861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
11666 | 11862 | $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } |
11667 | 11863 | 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 | |
11669 | 11865 | fi |
11670 | 11866 | |
11671 | 11867 | # Extract the first word of "intltool-update", so it can be a program name with args. |
11789 | 11985 | |
11790 | 11986 | |
11791 | 11987 | 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 | |
11793 | 11989 | fi |
11794 | 11990 | |
11795 | 11991 | 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 $< $@' |
12071 | 12267 | |
12072 | 12268 | |
12073 | 12269 | 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 | |
12075 | 12271 | fi |
12076 | 12272 | xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
12077 | 12273 | mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
12078 | 12274 | mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
12079 | 12275 | 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 | |
12081 | 12277 | fi |
12082 | 12278 | |
12083 | 12279 | # Extract the first word of "perl", so it can be a program name with args. |
12121 | 12317 | |
12122 | 12318 | |
12123 | 12319 | if test -z "$INTLTOOL_PERL"; then |
12124 | as_fn_error "perl not found" "$LINENO" 5 | |
12320 | as_fn_error $? "perl not found" "$LINENO" 5 | |
12125 | 12321 | fi |
12126 | 12322 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 |
12127 | 12323 | $as_echo_n "checking for perl >= 5.8.1... " >&6; } |
12128 | 12324 | $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 |
12129 | 12325 | 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 | |
12131 | 12327 | else |
12132 | 12328 | IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" |
12133 | 12329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 |
12140 | 12336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
12141 | 12337 | $as_echo "ok" >&6; } |
12142 | 12338 | 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 | |
12144 | 12340 | fi |
12145 | 12341 | fi |
12146 | 12342 | |
12995 | 13191 | |
12996 | 13192 | ac_libobjs= |
12997 | 13193 | ac_ltlibobjs= |
13194 | U= | |
12998 | 13195 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
12999 | 13196 | # 1. Remove the extension, and $U if already installed. |
13000 | 13197 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
13018 | 13215 | fi |
13019 | 13216 | |
13020 | 13217 | 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. | |
13022 | 13219 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13023 | 13220 | fi |
13024 | 13221 | 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. | |
13026 | 13223 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13027 | 13224 | fi |
13028 | 13225 | 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. | |
13030 | 13227 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13031 | 13228 | fi |
13032 | 13229 | 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. | |
13034 | 13231 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13035 | 13232 | fi |
13036 | 13233 | 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. | |
13038 | 13235 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13039 | 13236 | fi |
13040 | 13237 | 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. | |
13042 | 13239 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13043 | 13240 | fi |
13044 | 13241 | 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. | |
13046 | 13243 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13047 | 13244 | fi |
13048 | 13245 | 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. | |
13050 | 13247 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13051 | 13248 | fi |
13052 | 13249 | 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. | |
13054 | 13251 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13055 | 13252 | fi |
13056 | 13253 | 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. | |
13058 | 13255 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13059 | 13256 | fi |
13060 | 13257 | |
13208 | 13405 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
13209 | 13406 | |
13210 | 13407 | |
13211 | # as_fn_error ERROR [LINENO LOG_FD] | |
13212 | # --------------------------------- | |
13408 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
13409 | # ---------------------------------------- | |
13213 | 13410 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
13214 | 13411 | # 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. | |
13216 | 13413 | as_fn_error () |
13217 | 13414 | { |
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 | |
13222 | 13419 | fi |
13223 | $as_echo "$as_me: error: $1" >&2 | |
13420 | $as_echo "$as_me: error: $2" >&2 | |
13224 | 13421 | as_fn_exit $as_status |
13225 | 13422 | } # as_fn_error |
13226 | 13423 | |
13416 | 13613 | test -d "$as_dir" && break |
13417 | 13614 | done |
13418 | 13615 | 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" | |
13420 | 13617 | |
13421 | 13618 | |
13422 | 13619 | } # as_fn_mkdir_p |
13469 | 13666 | # report actual input values of CONFIG_FILES etc. instead of their |
13470 | 13667 | # values after options handling. |
13471 | 13668 | 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 | |
13474 | 13671 | |
13475 | 13672 | CONFIG_FILES = $CONFIG_FILES |
13476 | 13673 | CONFIG_HEADERS = $CONFIG_HEADERS |
13535 | 13732 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13536 | 13733 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
13537 | 13734 | 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, | |
13540 | 13737 | with options \\"\$ac_cs_config\\" |
13541 | 13738 | |
13542 | Copyright (C) 2009 Free Software Foundation, Inc. | |
13739 | Copyright (C) 2010 Free Software Foundation, Inc. | |
13543 | 13740 | This config.status script is free software; the Free Software Foundation |
13544 | 13741 | gives unlimited permission to copy, distribute and modify it." |
13545 | 13742 | |
13595 | 13792 | ac_need_defaults=false;; |
13596 | 13793 | --he | --h) |
13597 | 13794 | # Conflict between --help and --header |
13598 | as_fn_error "ambiguous option: \`$1' | |
13795 | as_fn_error $? "ambiguous option: \`$1' | |
13599 | 13796 | Try \`$0 --help' for more information.";; |
13600 | 13797 | --help | --hel | -h ) |
13601 | 13798 | $as_echo "$ac_cs_usage"; exit ;; |
13604 | 13801 | ac_cs_silent=: ;; |
13605 | 13802 | |
13606 | 13803 | # This is an error. |
13607 | -*) as_fn_error "unrecognized option: \`$1' | |
13804 | -*) as_fn_error $? "unrecognized option: \`$1' | |
13608 | 13805 | Try \`$0 --help' for more information." ;; |
13609 | 13806 | |
13610 | 13807 | *) as_fn_append ac_config_targets " $1" |
13658 | 13855 | sed_quote_subst='$sed_quote_subst' |
13659 | 13856 | double_quote_subst='$double_quote_subst' |
13660 | 13857 | 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"`' | |
13779 | 13978 | |
13780 | 13979 | LTCC='$LTCC' |
13781 | 13980 | LTCFLAGS='$LTCFLAGS' |
13782 | 13981 | compiler='$compiler_DEFAULT' |
13783 | 13982 | |
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 | ||
13784 | 13991 | # Quote evaled strings. |
13785 | for var in SED \ | |
13992 | for var in SHELL \ | |
13993 | ECHO \ | |
13994 | SED \ | |
13786 | 13995 | GREP \ |
13787 | 13996 | EGREP \ |
13788 | 13997 | FGREP \ |
13806 | 14015 | lt_cv_sys_global_symbol_to_cdecl \ |
13807 | 14016 | lt_cv_sys_global_symbol_to_c_name_address \ |
13808 | 14017 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
13809 | SHELL \ | |
13810 | ECHO \ | |
13811 | 14018 | lt_prog_compiler_no_builtin_flag \ |
13812 | 14019 | lt_prog_compiler_wl \ |
13813 | 14020 | lt_prog_compiler_pic \ |
13837 | 14044 | libname_spec \ |
13838 | 14045 | library_names_spec \ |
13839 | 14046 | soname_spec \ |
14047 | install_override_mode \ | |
13840 | 14048 | finish_eval \ |
13841 | 14049 | old_striplib \ |
13842 | 14050 | striplib; do |
13843 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
14051 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
13844 | 14052 | *[\\\\\\\`\\"\\\$]*) |
13845 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
14053 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
13846 | 14054 | ;; |
13847 | 14055 | *) |
13848 | 14056 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
13869 | 14077 | finish_cmds \ |
13870 | 14078 | sys_lib_search_path_spec \ |
13871 | 14079 | sys_lib_dlsearch_path_spec; do |
13872 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | |
14080 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
13873 | 14081 | *[\\\\\\\`\\"\\\$]*) |
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\\"\\\`\\\\\\"" | |
13875 | 14083 | ;; |
13876 | 14084 | *) |
13877 | 14085 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
13878 | 14086 | ;; |
13879 | 14087 | esac |
13880 | 14088 | 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 | |
13887 | 14089 | |
13888 | 14090 | ac_aux_dir='$ac_aux_dir' |
13889 | 14091 | xsi_shell='$xsi_shell' |
13927 | 14129 | "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
13928 | 14130 | "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; |
13929 | 14131 | |
13930 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
14132 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
13931 | 14133 | esac |
13932 | 14134 | done |
13933 | 14135 | |
13965 | 14167 | { |
13966 | 14168 | tmp=./conf$$-$RANDOM |
13967 | 14169 | (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 | |
13969 | 14171 | |
13970 | 14172 | # Set up the scripts for CONFIG_FILES section. |
13971 | 14173 | # No need to generate them if there are no CONFIG_FILES. |
13982 | 14184 | fi |
13983 | 14185 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
13984 | 14186 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
13985 | ac_cs_awk_cr='\r' | |
14187 | ac_cs_awk_cr='\\r' | |
13986 | 14188 | else |
13987 | 14189 | ac_cs_awk_cr=$ac_cr |
13988 | 14190 | fi |
13996 | 14198 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
13997 | 14199 | echo "_ACEOF" |
13998 | 14200 | } >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 '^'` | |
14001 | 14203 | ac_delim='%!_!# ' |
14002 | 14204 | for ac_last_try in false false false false false :; do |
14003 | 14205 | . ./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 | |
14005 | 14207 | |
14006 | 14208 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
14007 | 14209 | if test $ac_delim_n = $ac_delim_num; then |
14008 | 14210 | break |
14009 | 14211 | 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 | |
14011 | 14213 | else |
14012 | 14214 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14013 | 14215 | fi |
14096 | 14298 | else |
14097 | 14299 | cat |
14098 | 14300 | 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 | |
14100 | 14302 | _ACEOF |
14101 | 14303 | |
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 | |
14104 | 14306 | # trailing colons and then remove the whole line if VPATH becomes empty |
14105 | 14307 | # (actually we leave an empty line to preserve line numbers). |
14106 | 14308 | 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/^:*// | |
14112 | 14318 | s/:*$// |
14319 | x | |
14320 | s/\(=[ ]*\).*/\1/ | |
14321 | G | |
14322 | s/\n// | |
14113 | 14323 | s/^[^=]*=[ ]*$// |
14114 | 14324 | }' |
14115 | 14325 | fi |
14137 | 14347 | if test -z "$ac_t"; then |
14138 | 14348 | break |
14139 | 14349 | 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 | |
14141 | 14351 | else |
14142 | 14352 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14143 | 14353 | fi |
14222 | 14432 | _ACAWK |
14223 | 14433 | _ACEOF |
14224 | 14434 | 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 | |
14226 | 14436 | fi # test -n "$CONFIG_HEADERS" |
14227 | 14437 | |
14228 | 14438 | |
14235 | 14445 | esac |
14236 | 14446 | case $ac_mode$ac_tag in |
14237 | 14447 | :[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;; | |
14239 | 14449 | :[FH]-) ac_tag=-:-;; |
14240 | 14450 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
14241 | 14451 | esac |
14263 | 14473 | [\\/$]*) false;; |
14264 | 14474 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
14265 | 14475 | 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;; | |
14267 | 14477 | esac |
14268 | 14478 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
14269 | 14479 | as_fn_append ac_file_inputs " '$ac_f'" |
14290 | 14500 | |
14291 | 14501 | case $ac_tag in |
14292 | 14502 | *:-:* | *:-) 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 ;; | |
14294 | 14504 | esac |
14295 | 14505 | ;; |
14296 | 14506 | esac |
14427 | 14637 | $ac_datarootdir_hack |
14428 | 14638 | " |
14429 | 14639 | 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 | |
14431 | 14641 | |
14432 | 14642 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14433 | 14643 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14434 | 14644 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14435 | 14645 | { $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 | |
14437 | 14647 | $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;} | |
14439 | 14649 | |
14440 | 14650 | rm -f "$tmp/stdin" |
14441 | 14651 | case $ac_file in |
14442 | 14652 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
14443 | 14653 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
14444 | 14654 | esac \ |
14445 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
14655 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
14446 | 14656 | ;; |
14447 | 14657 | :H) |
14448 | 14658 | # |
14453 | 14663 | $as_echo "/* $configure_input */" \ |
14454 | 14664 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
14455 | 14665 | } >"$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 | |
14457 | 14667 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
14458 | 14668 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
14459 | 14669 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
14460 | 14670 | else |
14461 | 14671 | rm -f "$ac_file" |
14462 | 14672 | 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 | |
14464 | 14674 | fi |
14465 | 14675 | else |
14466 | 14676 | $as_echo "/* $configure_input */" \ |
14467 | 14677 | && 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 | |
14469 | 14679 | fi |
14470 | 14680 | # Compute "$ac_file"'s index in $config_headers. |
14471 | 14681 | _am_arg="$ac_file" |
14626 | 14836 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
14627 | 14837 | # |
14628 | 14838 | # 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. | |
14630 | 14841 | # Written by Gordon Matzigkeit, 1996 |
14631 | 14842 | # |
14632 | 14843 | # This file is part of GNU Libtool. |
14674 | 14885 | # Whether or not to optimize for fast installation. |
14675 | 14886 | fast_install=$enable_fast_install |
14676 | 14887 | |
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 | ||
14677 | 14894 | # The host system. |
14678 | 14895 | host_alias=$host_alias |
14679 | 14896 | host=$host |
14723 | 14940 | # turn newlines into spaces. |
14724 | 14941 | NL2SP=$lt_lt_NL2SP |
14725 | 14942 | |
14726 | # How to create reloadable object files. | |
14727 | reload_flag=$lt_reload_flag | |
14728 | reload_cmds=$lt_reload_cmds | |
14729 | ||
14730 | 14943 | # An object symbol dumper. |
14731 | 14944 | OBJDUMP=$lt_OBJDUMP |
14732 | 14945 | |
14748 | 14961 | old_postinstall_cmds=$lt_old_postinstall_cmds |
14749 | 14962 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
14750 | 14963 | |
14964 | # Whether to use a lock for old archive extraction. | |
14965 | lock_old_archive_extraction=$lock_old_archive_extraction | |
14966 | ||
14751 | 14967 | # A C compiler. |
14752 | 14968 | LTCC=$lt_CC |
14753 | 14969 | |
14768 | 14984 | |
14769 | 14985 | # The name of the directory that contains temporary libtool files. |
14770 | 14986 | 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 | |
14777 | 14987 | |
14778 | 14988 | # Used to examine libraries when file_magic_cmd begins with "file". |
14779 | 14989 | MAGIC_CMD=$MAGIC_CMD |
14837 | 15047 | # The coded name of the library, if different from the real name. |
14838 | 15048 | soname_spec=$lt_soname_spec |
14839 | 15049 | |
15050 | # Permission mode override for installation of shared libraries. | |
15051 | install_override_mode=$lt_install_override_mode | |
15052 | ||
14840 | 15053 | # Command to use after installation of a shared archive. |
14841 | 15054 | postinstall_cmds=$lt_postinstall_cmds |
14842 | 15055 | |
14875 | 15088 | |
14876 | 15089 | # The linker used to build libraries. |
14877 | 15090 | LD=$lt_LD |
15091 | ||
15092 | # How to create reloadable object files. | |
15093 | reload_flag=$lt_reload_flag | |
15094 | reload_cmds=$lt_reload_cmds | |
14878 | 15095 | |
14879 | 15096 | # Commands used to build an old-style archive. |
14880 | 15097 | old_archive_cmds=$lt_old_archive_cmds |
15135 | 15352 | func_dirname () |
15136 | 15353 | { |
15137 | 15354 | # Extract subdirectory from the argument. |
15138 | func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` | |
15355 | func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` | |
15139 | 15356 | if test "X$func_dirname_result" = "X${1}"; then |
15140 | 15357 | func_dirname_result="${3}" |
15141 | 15358 | else |
15146 | 15363 | # func_basename file |
15147 | 15364 | func_basename () |
15148 | 15365 | { |
15149 | func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | |
15366 | func_basename_result=`$ECHO "${1}" | $SED "$basename"` | |
15150 | 15367 | } |
15151 | 15368 | |
15152 | 15369 | |
15159 | 15376 | func_stripname () |
15160 | 15377 | { |
15161 | 15378 | 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}\$%%"`;; | |
15166 | 15381 | esac |
15167 | 15382 | } |
15168 | 15383 | |
15173 | 15388 | # func_opt_split |
15174 | 15389 | func_opt_split () |
15175 | 15390 | { |
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"` | |
15178 | 15393 | } |
15179 | 15394 | |
15180 | 15395 | # func_lo2o object |
15181 | 15396 | func_lo2o () |
15182 | 15397 | { |
15183 | func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` | |
15398 | func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` | |
15184 | 15399 | } |
15185 | 15400 | |
15186 | 15401 | # func_xform libobj-or-source |
15187 | 15402 | func_xform () |
15188 | 15403 | { |
15189 | func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` | |
15404 | func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` | |
15190 | 15405 | } |
15191 | 15406 | |
15192 | 15407 | # func_arith arithmetic-term... |
15245 | 15460 | esac ;; |
15246 | 15461 | "po/stamp-it":C) |
15247 | 15462 | 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 | |
15249 | 15464 | fi |
15250 | 15465 | rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" |
15251 | 15466 | >"po/stamp-it.tmp" |
15273 | 15488 | ac_clean_files=$ac_clean_files_save |
15274 | 15489 | |
15275 | 15490 | 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 | |
15277 | 15492 | |
15278 | 15493 | |
15279 | 15494 | # configure is writing to config.log, and then calls config.status. |
15294 | 15509 | exec 5>>config.log |
15295 | 15510 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15296 | 15511 | # 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 | |
15298 | 15513 | fi |
15299 | 15514 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15300 | 15515 | { $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]) | |
1 | 1 | |
2 | 2 | AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip]) |
3 | 3 | |
119 | 119 | # Check for required packages |
120 | 120 | # *************************** |
121 | 121 | |
122 | GTK_REQUIRED=2.17.1 | |
123 | 122 | POLKIT_AGENT_REQUIRED=0.97 |
124 | 123 | POLKIT_GOBJECT_REQUIRED=0.97 |
125 | 124 | |
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) | |
127 | 146 | AC_SUBST(GTK_CFLAGS) |
128 | 147 | AC_SUBST(GTK_LIBS) |
129 | 148 |
101 | 101 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
102 | 102 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
103 | 103 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
104 | GTK_API_VERSION = @GTK_API_VERSION@ | |
104 | 105 | GTK_CFLAGS = @GTK_CFLAGS@ |
105 | 106 | GTK_LIBS = @GTK_LIBS@ |
106 | 107 | G_IR_COMPILER = @G_IR_COMPILER@ |
153 | 154 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
154 | 155 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
155 | 156 | PKG_CONFIG = @PKG_CONFIG@ |
157 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | |
158 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | |
156 | 159 | POFILES = @POFILES@ |
157 | 160 | POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@ |
158 | 161 | POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@ |
206 | 209 | libexecdir = @libexecdir@ |
207 | 210 | localedir = @localedir@ |
208 | 211 | localstatedir = @localstatedir@ |
209 | lt_ECHO = @lt_ECHO@ | |
210 | 212 | mandir = @mandir@ |
211 | 213 | mkdir_p = @mkdir_p@ |
212 | 214 | oldincludedir = @oldincludedir@ |
0 | 0 | # Generated from ltmain.m4sh. |
1 | 1 | |
2 | # ltmain.sh (GNU libtool) 2.2.6b | |
2 | # libtool (GNU libtool) 2.2.10 | |
3 | 3 | # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
4 | 4 | |
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. | |
6 | 7 | # This is free software; see the source for copying conditions. There is NO |
7 | 8 | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
8 | 9 | |
31 | 32 | # |
32 | 33 | # Provide generalized library-building support services. |
33 | 34 | # |
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 | |
45 | 49 | # |
46 | 50 | # MODE must be one of the following: |
47 | 51 | # |
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 | |
55 | 59 | # |
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. | |
57 | 62 | # Try `$progname --help --mode=MODE' for a more detailed description of MODE. |
58 | 63 | # |
59 | 64 | # When reporting a bug, please describe a test case to reproduce it and |
60 | 65 | # include the following information: |
61 | 66 | # |
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 | |
70 | 75 | # |
71 | 76 | # Report bugs to <bug-libtool@gnu.org>. |
72 | 77 | |
73 | PROGRAM=ltmain.sh | |
78 | PROGRAM=libtool | |
74 | 79 | PACKAGE=libtool |
75 | VERSION=2.2.6b | |
80 | VERSION=2.2.10 | |
76 | 81 | TIMESTAMP="" |
77 | package_revision=1.3017 | |
82 | package_revision=1.3175 | |
78 | 83 | |
79 | 84 | # Be Bourne compatible |
80 | 85 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
90 | 95 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
91 | 96 | DUALCASE=1; export DUALCASE # for MKS sh |
92 | 97 | |
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 | ||
93 | 106 | # 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). | |
97 | 107 | lt_user_locale= |
98 | 108 | lt_safe_locale= |
99 | 109 | for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES |
106 | 116 | lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" |
107 | 117 | fi" |
108 | 118 | done |
119 | LC_ALL=C | |
120 | LANGUAGE=C | |
121 | export LANGUAGE LC_ALL | |
109 | 122 | |
110 | 123 | $lt_unset CDPATH |
111 | 124 | |
112 | 125 | |
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" | |
113 | 132 | |
114 | 133 | |
115 | 134 | |
116 | 135 | : ${CP="cp -f"} |
117 | : ${ECHO="echo"} | |
136 | test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} | |
118 | 137 | : ${EGREP="/bin/grep -E"} |
119 | 138 | : ${FGREP="/bin/grep -F"} |
120 | 139 | : ${GREP="/bin/grep"} |
158 | 177 | func_dirname_and_basename () |
159 | 178 | { |
160 | 179 | # Extract subdirectory from the argument. |
161 | func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` | |
180 | func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` | |
162 | 181 | if test "X$func_dirname_result" = "X${1}"; then |
163 | 182 | func_dirname_result="${3}" |
164 | 183 | else |
165 | 184 | func_dirname_result="$func_dirname_result${2}" |
166 | 185 | fi |
167 | func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` | |
186 | func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` | |
168 | 187 | } |
169 | 188 | |
170 | 189 | # Generated shell functions inserted here. |
171 | 190 | |
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 | } | |
178 | 338 | |
179 | 339 | # 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: | |
182 | 340 | func_dirname_and_basename "$progpath" |
183 | 341 | progname=$func_basename_result |
184 | case $progname in | |
185 | -*) progname=./$progname ;; | |
186 | esac | |
187 | 342 | |
188 | 343 | # Make sure we have an absolute path for reexecution: |
189 | 344 | case $progpath in |
257 | 412 | : |
258 | 413 | } |
259 | 414 | |
415 | # func_echo_all arg... | |
416 | # Invoke $ECHO with all args, space-separated. | |
417 | func_echo_all () | |
418 | { | |
419 | $ECHO "$*" | |
420 | } | |
421 | ||
260 | 422 | # func_error arg... |
261 | 423 | # Echo program name prefixed message to standard error. |
262 | 424 | func_error () |
325 | 487 | case $my_directory_path in */*) ;; *) break ;; esac |
326 | 488 | |
327 | 489 | # ...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"` | |
329 | 491 | done |
330 | my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` | |
492 | my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` | |
331 | 493 | |
332 | 494 | save_mkdir_p_IFS="$IFS"; IFS=':' |
333 | 495 | for my_dir in $my_dir_list; do |
377 | 539 | func_fatal_error "cannot create temporary directory \`$my_tmpdir'" |
378 | 540 | fi |
379 | 541 | |
380 | $ECHO "X$my_tmpdir" | $Xsed | |
542 | $ECHO "$my_tmpdir" | |
381 | 543 | } |
382 | 544 | |
383 | 545 | |
391 | 553 | { |
392 | 554 | case $1 in |
393 | 555 | *[\\\`\"\$]*) |
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"` ;; | |
395 | 557 | *) |
396 | 558 | func_quote_for_eval_unquoted_result="$1" ;; |
397 | 559 | esac |
418 | 580 | { |
419 | 581 | case $1 in |
420 | 582 | *[\\\`\"]*) |
421 | my_arg=`$ECHO "X$1" | $Xsed \ | |
583 | my_arg=`$ECHO "$1" | $SED \ | |
422 | 584 | -e "$double_quote_subst" -e "$sed_double_backslash"` ;; |
423 | 585 | *) |
424 | 586 | my_arg="$1" ;; |
488 | 650 | } |
489 | 651 | |
490 | 652 | |
491 | ||
492 | ||
493 | ||
494 | 653 | # func_version |
495 | 654 | # Echo version message to standard output and exit. |
496 | 655 | func_version () |
497 | 656 | { |
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; / { | |
499 | 666 | s/^# // |
500 | 667 | s/^# *$// |
501 | 668 | s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ |
508 | 675 | # Echo short help message to standard output and exit. |
509 | 676 | func_usage () |
510 | 677 | { |
511 | $SED -n '/^# Usage:/,/# -h/ { | |
678 | $SED -n '/^# Usage:/,/^# *.*--help/ { | |
512 | 679 | s/^# // |
513 | 680 | s/^# *$// |
514 | 681 | s/\$progname/'$progname'/ |
515 | 682 | p |
516 | 683 | }' < "$progpath" |
517 | $ECHO | |
684 | echo | |
518 | 685 | $ECHO "run \`$progname --help | more' for full usage" |
519 | 686 | exit $? |
520 | 687 | } |
521 | 688 | |
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. | |
524 | 692 | func_help () |
525 | 693 | { |
526 | 694 | $SED -n '/^# Usage:/,/# Report bugs to/ { |
537 | 705 | s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ |
538 | 706 | p |
539 | 707 | }' < "$progpath" |
540 | exit $? | |
708 | ret=$? | |
709 | if test -z "$1"; then | |
710 | exit $ret | |
711 | fi | |
541 | 712 | } |
542 | 713 | |
543 | 714 | # func_missing_arg argname |
545 | 716 | # exit_cmd. |
546 | 717 | func_missing_arg () |
547 | 718 | { |
548 | func_error "missing argument for $1" | |
719 | func_error "missing argument for $1." | |
549 | 720 | exit_cmd=exit |
550 | 721 | } |
551 | 722 | |
555 | 726 | |
556 | 727 | |
557 | 728 | |
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 | |
581 | 729 | |
582 | 730 | magic="%%%MAGIC variable%%%" |
583 | 731 | magic_exe="%%%MAGIC EXE variable%%%" |
635 | 783 | # Display the features supported by this script. |
636 | 784 | func_features () |
637 | 785 | { |
638 | $ECHO "host: $host" | |
786 | echo "host: $host" | |
639 | 787 | if test "$build_libtool_libs" = yes; then |
640 | $ECHO "enable shared libraries" | |
788 | echo "enable shared libraries" | |
641 | 789 | else |
642 | $ECHO "disable shared libraries" | |
790 | echo "disable shared libraries" | |
643 | 791 | fi |
644 | 792 | if test "$build_old_libs" = yes; then |
645 | $ECHO "enable static libraries" | |
793 | echo "enable static libraries" | |
646 | 794 | else |
647 | $ECHO "disable static libraries" | |
795 | echo "disable static libraries" | |
648 | 796 | fi |
649 | 797 | |
650 | 798 | exit $? |
771 | 919 | |
772 | 920 | --quiet|--silent) preserve_args="$preserve_args $opt" |
773 | 921 | opt_silent=: |
922 | opt_verbose=false | |
923 | ;; | |
924 | ||
925 | --no-quiet|--no-silent) | |
926 | preserve_args="$preserve_args $opt" | |
927 | opt_silent=false | |
774 | 928 | ;; |
775 | 929 | |
776 | 930 | --verbose| -v) preserve_args="$preserve_args $opt" |
777 | 931 | opt_silent=false |
932 | opt_verbose=: | |
933 | ;; | |
934 | ||
935 | --no-verbose) preserve_args="$preserve_args $opt" | |
936 | opt_verbose=false | |
778 | 937 | ;; |
779 | 938 | |
780 | 939 | --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break |
792 | 951 | |
793 | 952 | -\?|-h) func_usage ;; |
794 | 953 | --help) opt_help=: ;; |
954 | --help-all) opt_help=': help-all' ;; | |
795 | 955 | --version) func_version ;; |
796 | 956 | |
797 | 957 | -*) func_fatal_help "unrecognized option \`$opt'" ;; |
1015 | 1175 | func_quote_for_eval "$arg" |
1016 | 1176 | CC_quoted="$CC_quoted $func_quote_for_eval_result" |
1017 | 1177 | done |
1178 | CC_expanded=`func_echo_all $CC` | |
1179 | CC_quoted_expanded=`func_echo_all $CC_quoted` | |
1018 | 1180 | case $@ in |
1019 | 1181 | # Blanks in the command may have been stripped by the calling shell, |
1020 | 1182 | # 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 "*) ;; | |
1022 | 1185 | # Blanks at the start of $base_compile will cause this to fail |
1023 | 1186 | # if we don't check for them as well. |
1024 | 1187 | *) |
1032 | 1195 | func_quote_for_eval "$arg" |
1033 | 1196 | CC_quoted="$CC_quoted $func_quote_for_eval_result" |
1034 | 1197 | done |
1198 | CC_expanded=`func_echo_all $CC` | |
1199 | CC_quoted_expanded=`func_echo_all $CC_quoted` | |
1035 | 1200 | 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 "*) | |
1037 | 1203 | # The compiler in the base compile command matches |
1038 | 1204 | # the one in the tagged configuration. |
1039 | 1205 | # Assume this is the tagged configuration we want. |
1212 | 1378 | *.[cCFSifmso] | \ |
1213 | 1379 | *.ada | *.adb | *.ads | *.asm | \ |
1214 | 1380 | *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ |
1215 | *.[fF][09]? | *.for | *.java | *.obj | *.sx) | |
1381 | *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) | |
1216 | 1382 | func_xform "$libobj" |
1217 | 1383 | libobj=$func_xform_result |
1218 | 1384 | ;; |
1287 | 1453 | # Calculate the filename of the output object if compiler does |
1288 | 1454 | # not support -o with -c |
1289 | 1455 | 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} | |
1291 | 1457 | lockfile="$output_obj.lock" |
1292 | 1458 | else |
1293 | 1459 | output_obj= |
1444 | 1610 | } |
1445 | 1611 | |
1446 | 1612 | $opt_help || { |
1447 | test "$mode" = compile && func_mode_compile ${1+"$@"} | |
1613 | test "$mode" = compile && func_mode_compile ${1+"$@"} | |
1448 | 1614 | } |
1449 | 1615 | |
1450 | 1616 | func_mode_help () |
1481 | 1647 | |
1482 | 1648 | -o OUTPUT-FILE set the output file name to OUTPUT-FILE |
1483 | 1649 | -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 | |
1486 | 1652 | -shared do not build a \`.o' file suitable for static linking |
1487 | 1653 | -static only build a \`.o' file suitable for static linking |
1654 | -Wc,FLAG pass FLAG directly to the compiler | |
1488 | 1655 | |
1489 | 1656 | COMPILE-COMMAND is a command to be used in creating a \`standard' object file |
1490 | 1657 | from the given SOURCEFILE. |
1537 | 1704 | |
1538 | 1705 | The following components of INSTALL-COMMAND are treated specially: |
1539 | 1706 | |
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 | |
1541 | 1708 | |
1542 | 1709 | The rest of the components are interpreted as arguments to that command (only |
1543 | 1710 | BSD-compatible install options are recognized)." |
1557 | 1724 | |
1558 | 1725 | -all-static do not do any dynamic linking at all |
1559 | 1726 | -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) | |
1560 | 1729 | -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime |
1561 | 1730 | -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols |
1562 | 1731 | -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) |
1585 | 1754 | -version-info CURRENT[:REVISION[:AGE]] |
1586 | 1755 | specify library version info [each variable defaults to 0] |
1587 | 1756 | -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) | |
1588 | 1762 | |
1589 | 1763 | All other options (arguments beginning with \`-') are ignored. |
1590 | 1764 | |
1622 | 1796 | ;; |
1623 | 1797 | esac |
1624 | 1798 | |
1625 | $ECHO | |
1799 | echo | |
1626 | 1800 | $ECHO "Try \`$progname --help' for more information about other modes." |
1627 | ||
1628 | exit $? | |
1629 | 1801 | } |
1630 | 1802 | |
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 | |
1633 | 1833 | |
1634 | 1834 | |
1635 | 1835 | # func_mode_execute arg... |
1711 | 1911 | for file |
1712 | 1912 | do |
1713 | 1913 | case $file in |
1714 | -*) ;; | |
1914 | -* | *.la | *.lo ) ;; | |
1715 | 1915 | *) |
1716 | 1916 | # Do a test to see if this is really a libtool program. |
1717 | 1917 | if func_ltwrapper_script_p "$file"; then |
1753 | 1953 | # Display what would be done. |
1754 | 1954 | if test -n "$shlibpath_var"; then |
1755 | 1955 | eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" |
1756 | $ECHO "export $shlibpath_var" | |
1956 | echo "export $shlibpath_var" | |
1757 | 1957 | fi |
1758 | 1958 | $ECHO "$cmd$args" |
1759 | 1959 | exit $EXIT_SUCCESS |
1794 | 1994 | # Exit here if they wanted silent mode. |
1795 | 1995 | $opt_silent && exit $EXIT_SUCCESS |
1796 | 1996 | |
1797 | $ECHO "X----------------------------------------------------------------------" | $Xsed | |
1798 | $ECHO "Libraries have been installed in:" | |
1997 | echo "----------------------------------------------------------------------" | |
1998 | echo "Libraries have been installed in:" | |
1799 | 1999 | for libdir in $libdirs; do |
1800 | 2000 | $ECHO " $libdir" |
1801 | 2001 | 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:" | |
1807 | 2007 | 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" | |
1810 | 2010 | fi |
1811 | 2011 | 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" | |
1814 | 2014 | fi |
1815 | 2015 | if test -n "$hardcode_libdir_flag_spec"; then |
1816 | 2016 | libdir=LIBDIR |
1822 | 2022 | $ECHO " - have your system administrator run these commands:$admincmds" |
1823 | 2023 | fi |
1824 | 2024 | 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'" | |
1826 | 2026 | 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" | |
1830 | 2030 | case $host in |
1831 | 2031 | 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." | |
1834 | 2034 | ;; |
1835 | 2035 | *) |
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." | |
1837 | 2037 | ;; |
1838 | 2038 | esac |
1839 | $ECHO "X----------------------------------------------------------------------" | $Xsed | |
2039 | echo "----------------------------------------------------------------------" | |
1840 | 2040 | exit $EXIT_SUCCESS |
1841 | 2041 | } |
1842 | 2042 | |
1851 | 2051 | # install_prog (especially on Windows NT). |
1852 | 2052 | if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || |
1853 | 2053 | # 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 | |
1855 | 2055 | # Aesthetically quote it. |
1856 | 2056 | func_quote_for_eval "$nonopt" |
1857 | 2057 | install_prog="$func_quote_for_eval_result " |
1866 | 2066 | # Aesthetically quote it. |
1867 | 2067 | func_quote_for_eval "$arg" |
1868 | 2068 | 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 | |
1869 | 2074 | |
1870 | 2075 | # We need to accept at least all the BSD install flags. |
1871 | 2076 | dest= |
1875 | 2080 | install_type= |
1876 | 2081 | isdir=no |
1877 | 2082 | stripme= |
2083 | no_mode=: | |
1878 | 2084 | for arg |
1879 | 2085 | do |
2086 | arg2= | |
1880 | 2087 | if test -n "$dest"; then |
1881 | 2088 | files="$files $dest" |
1882 | 2089 | dest=$arg |
1886 | 2093 | case $arg in |
1887 | 2094 | -d) isdir=yes ;; |
1888 | 2095 | -f) |
1889 | case " $install_prog " in | |
1890 | *[\\\ /]cp\ *) ;; | |
1891 | *) prev=$arg ;; | |
1892 | esac | |
2096 | if $install_cp; then :; else | |
2097 | prev=$arg | |
2098 | fi | |
1893 | 2099 | ;; |
1894 | 2100 | -g | -m | -o) |
1895 | 2101 | prev=$arg |
1903 | 2109 | *) |
1904 | 2110 | # If the previous option needed an argument, then skip it. |
1905 | 2111 | 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 | |
1906 | 2116 | prev= |
1907 | 2117 | else |
1908 | 2118 | dest=$arg |
1914 | 2124 | # Aesthetically quote the argument. |
1915 | 2125 | func_quote_for_eval "$arg" |
1916 | 2126 | 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" | |
1917 | 2131 | done |
1918 | 2132 | |
1919 | 2133 | test -z "$install_prog" && \ |
1921 | 2135 | |
1922 | 2136 | test -n "$prev" && \ |
1923 | 2137 | 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 | |
1924 | 2145 | |
1925 | 2146 | if test -z "$files"; then |
1926 | 2147 | if test -z "$dest"; then |
2009 | 2230 | |
2010 | 2231 | if test -n "$relink_command"; then |
2011 | 2232 | # 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\$%%"` | |
2013 | 2234 | |
2014 | 2235 | # Don't allow the user to place us outside of our expected |
2015 | 2236 | # location b/c this prevents finding dependent libraries that |
2022 | 2243 | |
2023 | 2244 | if test -n "$inst_prefix_dir"; then |
2024 | 2245 | # 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%"` | |
2026 | 2247 | 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@%%"` | |
2028 | 2249 | fi |
2029 | 2250 | |
2030 | 2251 | func_warning "relinking \`$file'" |
2042 | 2263 | test -n "$relink_command" && srcname="$realname"T |
2043 | 2264 | |
2044 | 2265 | # 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" \ | |
2046 | 2267 | 'exit $?' |
2047 | 2268 | tstripme="$stripme" |
2048 | 2269 | case $host_os in |
2182 | 2403 | if test -f "$lib"; then |
2183 | 2404 | func_source "$lib" |
2184 | 2405 | 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 | |
2186 | 2407 | if test -n "$libdir" && test ! -f "$libfile"; then |
2187 | 2408 | func_warning "\`$lib' has not been installed in \`$libdir'" |
2188 | 2409 | finalize=no |
2201 | 2422 | file="$func_basename_result" |
2202 | 2423 | outputname="$tmpdir/$file" |
2203 | 2424 | # 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'` | |
2205 | 2426 | |
2206 | 2427 | $opt_silent || { |
2207 | 2428 | func_quote_for_expand "$relink_command" |
2220 | 2441 | } |
2221 | 2442 | else |
2222 | 2443 | # 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%"` | |
2224 | 2445 | fi |
2225 | 2446 | fi |
2226 | 2447 | |
2322 | 2543 | extern \"C\" { |
2323 | 2544 | #endif |
2324 | 2545 | |
2546 | #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) | |
2547 | #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" | |
2548 | #endif | |
2549 | ||
2325 | 2550 | /* External symbol declarations for the compiler. */\ |
2326 | 2551 | " |
2327 | 2552 | |
2331 | 2556 | $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" |
2332 | 2557 | |
2333 | 2558 | # 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` | |
2335 | 2560 | for progfile in $progfiles; do |
2336 | 2561 | func_verbose "extracting global C symbols from \`$progfile'" |
2337 | 2562 | $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" |
2370 | 2595 | eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' |
2371 | 2596 | eval '$MV "$nlist"T "$nlist"' |
2372 | 2597 | case $host in |
2373 | *cygwin | *mingw* | *cegcc* ) | |
2598 | *cygwin* | *mingw* | *cegcc* ) | |
2374 | 2599 | eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' |
2375 | 2600 | eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' |
2376 | 2601 | ;; |
2414 | 2639 | if test -f "$nlist"S; then |
2415 | 2640 | eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' |
2416 | 2641 | else |
2417 | $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" | |
2642 | echo '/* NONE */' >> "$output_objdir/$my_dlsyms" | |
2418 | 2643 | fi |
2419 | 2644 | |
2420 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2645 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2421 | 2646 | |
2422 | 2647 | /* The mapping between symbol names and symbols. */ |
2423 | 2648 | typedef struct { |
2427 | 2652 | " |
2428 | 2653 | case $host in |
2429 | 2654 | *cygwin* | *mingw* | *cegcc* ) |
2430 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2655 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2431 | 2656 | /* DATA imports from DLLs on WIN32 con't be const, because |
2432 | 2657 | runtime relocations are performed -- see ld's documentation |
2433 | 2658 | on pseudo-relocs. */" |
2440 | 2665 | lt_dlsym_const=const ;; |
2441 | 2666 | esac |
2442 | 2667 | |
2443 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2668 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2444 | 2669 | extern $lt_dlsym_const lt_dlsymlist |
2445 | 2670 | lt_${my_prefix}_LTX_preloaded_symbols[]; |
2446 | 2671 | $lt_dlsym_const lt_dlsymlist |
2456 | 2681 | eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" |
2457 | 2682 | ;; |
2458 | 2683 | esac |
2459 | $ECHO >> "$output_objdir/$my_dlsyms" "\ | |
2684 | echo >> "$output_objdir/$my_dlsyms" "\ | |
2460 | 2685 | {0, (void *) 0} |
2461 | 2686 | }; |
2462 | 2687 | |
2514 | 2739 | case $host in |
2515 | 2740 | *cygwin* | *mingw* | *cegcc* ) |
2516 | 2741 | 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%"` | |
2519 | 2744 | 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%"` | |
2522 | 2747 | fi |
2523 | 2748 | ;; |
2524 | 2749 | *) |
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%"` | |
2527 | 2752 | ;; |
2528 | 2753 | esac |
2529 | 2754 | ;; |
2537 | 2762 | # really was required. |
2538 | 2763 | |
2539 | 2764 | # 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@%%"` | |
2542 | 2767 | fi |
2543 | 2768 | } |
2544 | 2769 | |
2548 | 2773 | # Need a lot of goo to handle *both* DLLs and import libs |
2549 | 2774 | # Has to be a shell function in order to 'eat' the argument |
2550 | 2775 | # that is supplied when $file_magic_command is called. |
2776 | # Despite the name, also deal with 64 bit binaries. | |
2551 | 2777 | func_win32_libid () |
2552 | 2778 | { |
2553 | 2779 | $opt_debug |
2558 | 2784 | win32_libid_type="x86 archive import" |
2559 | 2785 | ;; |
2560 | 2786 | *ar\ archive*) # could be an import, or static |
2787 | # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. | |
2561 | 2788 | 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 | |
2563 | 2790 | win32_nmres=`eval $NM -f posix -A $1 | |
2564 | 2791 | $SED -n -e ' |
2565 | 2792 | 1,100{ |
2597 | 2824 | $opt_debug |
2598 | 2825 | f_ex_an_ar_dir="$1"; shift |
2599 | 2826 | 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 | |
2601 | 2839 | if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then |
2602 | 2840 | : |
2603 | 2841 | else |
2668 | 2906 | darwin_file= |
2669 | 2907 | darwin_files= |
2670 | 2908 | 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` | |
2672 | 2910 | $LIPO -create -output "$darwin_file" $darwin_files |
2673 | 2911 | done # $darwin_filelist |
2674 | 2912 | $RM -rf unfat-$$ |
2683 | 2921 | func_extract_an_archive "$my_xdir" "$my_xabs" |
2684 | 2922 | ;; |
2685 | 2923 | 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` | |
2687 | 2925 | done |
2688 | 2926 | |
2689 | 2927 | func_extract_archives_result="$my_oldobjs" |
2690 | 2928 | } |
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 | |
2926 | 2929 | |
2927 | 2930 | |
2928 | 2931 | # func_emit_wrapper [arg=no] |
2941 | 2944 | # behavior. |
2942 | 2945 | func_emit_wrapper () |
2943 | 2946 | { |
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 | " | |
2947 | 3191 | fi |
2948 | 3192 | |
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 | " | |
2953 | 3233 | } |
2954 | 3234 | |
2955 | 3235 | |
2977 | 3257 | func_to_host_path () |
2978 | 3258 | { |
2979 | 3259 | func_to_host_path_result="$1" |
2980 | if test -n "$1" ; then | |
3260 | if test -n "$1"; then | |
2981 | 3261 | case $host in |
2982 | 3262 | *mingw* ) |
2983 | 3263 | lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' |
2984 | 3264 | case $build in |
2985 | 3265 | *mingw* ) # actually, msys |
2986 | 3266 | # 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"` | |
2992 | 3269 | ;; |
2993 | 3270 | *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"` | |
2997 | 3273 | ;; |
2998 | 3274 | * ) |
2999 | 3275 | # Unfortunately, winepath does not exit with a non-zero |
3005 | 3281 | # the odd construction: |
3006 | 3282 | func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` |
3007 | 3283 | 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" | | |
3009 | 3285 | $SED -e "$lt_sed_naive_backslashify"` |
3010 | 3286 | else |
3011 | 3287 | # Allow warning below. |
3012 | func_to_host_path_result="" | |
3288 | func_to_host_path_result= | |
3013 | 3289 | fi |
3014 | 3290 | ;; |
3015 | 3291 | esac |
3016 | 3292 | if test -z "$func_to_host_path_result" ; then |
3017 | 3293 | func_error "Could not determine host path corresponding to" |
3018 | func_error " '$1'" | |
3294 | func_error " \`$1'" | |
3019 | 3295 | func_error "Continuing, but uninstalled executables may not work." |
3020 | 3296 | # Fallback: |
3021 | 3297 | func_to_host_path_result="$1" |
3048 | 3324 | func_to_host_pathlist () |
3049 | 3325 | { |
3050 | 3326 | func_to_host_pathlist_result="$1" |
3051 | if test -n "$1" ; then | |
3327 | if test -n "$1"; then | |
3052 | 3328 | case $host in |
3053 | 3329 | *mingw* ) |
3054 | 3330 | lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' |
3055 | 3331 | # Remove leading and trailing path separator characters from |
3056 | 3332 | # ARG. msys behavior is inconsistent here, cygpath turns them |
3057 | 3333 | # 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 | |
3063 | 3336 | case $build in |
3064 | 3337 | *mingw* ) # Actually, msys. |
3065 | 3338 | # 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"` | |
3071 | 3342 | ;; |
3072 | 3343 | *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" | | |
3075 | 3345 | $SED -e "$lt_sed_naive_backslashify"` |
3076 | 3346 | ;; |
3077 | 3347 | * ) |
3087 | 3357 | if test -z "$func_to_host_pathlist_result" ; then |
3088 | 3358 | func_to_host_pathlist_result="$func_to_host_path_result" |
3089 | 3359 | 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" | |
3091 | 3361 | fi |
3092 | 3362 | fi |
3093 | 3363 | fi |
3094 | IFS=: | |
3095 | 3364 | done |
3096 | 3365 | IFS=$func_to_host_pathlist_oldIFS |
3097 | 3366 | ;; |
3098 | 3367 | esac |
3099 | if test -z "$func_to_host_pathlist_result" ; then | |
3368 | if test -z "$func_to_host_pathlist_result"; then | |
3100 | 3369 | func_error "Could not determine the host path(s) corresponding to" |
3101 | func_error " '$1'" | |
3370 | func_error " \`$1'" | |
3102 | 3371 | func_error "Continuing, but uninstalled executables may not work." |
3103 | 3372 | # Fallback. This may break if $1 contains DOS-style drive |
3104 | 3373 | # specifications. The fix is not to complicate the expression |
3115 | 3384 | ;; |
3116 | 3385 | esac |
3117 | 3386 | case "$1" in |
3118 | *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" | |
3387 | *: ) func_append func_to_host_pathlist_result ";" | |
3119 | 3388 | ;; |
3120 | 3389 | esac |
3121 | 3390 | ;; |
3140 | 3409 | |
3141 | 3410 | This wrapper executable should never be moved out of the build directory. |
3142 | 3411 | 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. | |
3147 | 3412 | */ |
3148 | 3413 | EOF |
3149 | 3414 | cat <<"EOF" |
3415 | #ifdef _MSC_VER | |
3416 | # define _CRT_SECURE_NO_DEPRECATE 1 | |
3417 | #endif | |
3150 | 3418 | #include <stdio.h> |
3151 | 3419 | #include <stdlib.h> |
3152 | 3420 | #ifdef _MSC_VER |
3153 | 3421 | # include <direct.h> |
3154 | 3422 | # include <process.h> |
3155 | 3423 | # include <io.h> |
3156 | # define setmode _setmode | |
3157 | 3424 | #else |
3158 | 3425 | # include <unistd.h> |
3159 | 3426 | # include <stdint.h> |
3160 | 3427 | # ifdef __CYGWIN__ |
3161 | 3428 | # 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 | |
3168 | 3429 | # endif |
3169 | 3430 | #endif |
3170 | 3431 | #include <malloc.h> |
3176 | 3437 | #include <fcntl.h> |
3177 | 3438 | #include <sys/stat.h> |
3178 | 3439 | |
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 | ||
3179 | 3478 | #if defined(PATH_MAX) |
3180 | 3479 | # define LT_PATHMAX PATH_MAX |
3181 | 3480 | #elif defined(MAXPATHLEN) |
3191 | 3490 | # define S_IXGRP 0 |
3192 | 3491 | #endif |
3193 | 3492 | |
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 */ | |
3202 | 3494 | #ifndef DIR_SEPARATOR |
3203 | 3495 | # define DIR_SEPARATOR '/' |
3204 | 3496 | # define PATH_SEPARATOR ':' |
3229 | 3521 | # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) |
3230 | 3522 | #endif /* PATH_SEPARATOR_2 */ |
3231 | 3523 | |
3232 | #ifdef __CYGWIN__ | |
3233 | # define FOPEN_WB "wb" | |
3234 | #endif | |
3235 | ||
3236 | 3524 | #ifndef FOPEN_WB |
3237 | 3525 | # define FOPEN_WB "w" |
3238 | 3526 | #endif |
3245 | 3533 | if (stale) { free ((void *) stale); stale = 0; } \ |
3246 | 3534 | } while (0) |
3247 | 3535 | |
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; | |
3259 | 3538 | #else |
3260 | # define LTWRAPPER_DEBUGPRINTF(args) | |
3539 | static int lt_debug = 0; | |
3261 | 3540 | #endif |
3262 | 3541 | |
3263 | const char *program_name = NULL; | |
3542 | const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ | |
3264 | 3543 | |
3265 | 3544 | void *xmalloc (size_t num); |
3266 | 3545 | char *xstrdup (const char *string); |
3270 | 3549 | int make_executable (const char *path); |
3271 | 3550 | int check_executable (const char *path); |
3272 | 3551 | 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); | |
3274 | 3556 | void lt_setenv (const char *name, const char *value); |
3275 | 3557 | 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); | |
3280 | 3558 | void lt_update_exe_path (const char *name, const char *value); |
3281 | 3559 | 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); | |
3284 | 3562 | 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 ";" | |
3298 | 3563 | |
3299 | 3564 | cat <<EOF |
3300 | 3565 | const char * MAGIC_EXE = "$magic_exe"; |
3339 | 3604 | cat <<"EOF" |
3340 | 3605 | |
3341 | 3606 | #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 | ||
3345 | 3608 | static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; |
3346 | ||
3347 | 3609 | 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"; | |
3360 | 3611 | |
3361 | 3612 | int |
3362 | 3613 | main (int argc, char *argv[]) |
3373 | 3624 | int i; |
3374 | 3625 | |
3375 | 3626 | 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; | |
3380 | 3634 | for (i = 1; i < argc; i++) |
3381 | 3635 | { |
3382 | 3636 | if (strcmp (argv[i], dumpscript_opt) == 0) |
3390 | 3644 | esac |
3391 | 3645 | |
3392 | 3646 | cat <<"EOF" |
3393 | printf ("%s", script_text_part1); | |
3394 | printf ("%s", script_text_part2); | |
3647 | lt_dump_script (stdout); | |
3395 | 3648 | return 0; |
3396 | 3649 | } |
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]); | |
3397 | 3672 | } |
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 | ||
3400 | 3684 | tmp_pathspec = find_executable (argv[0]); |
3401 | 3685 | 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); | |
3405 | 3690 | |
3406 | 3691 | 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); | |
3409 | 3695 | XFREE (tmp_pathspec); |
3410 | 3696 | |
3411 | actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path)); | |
3697 | actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); | |
3412 | 3698 | strendzap (actual_cwrapper_path, actual_cwrapper_name); |
3413 | 3699 | |
3414 | 3700 | /* wrapper name transforms */ |
3426 | 3712 | target_name = tmp_pathspec; |
3427 | 3713 | tmp_pathspec = 0; |
3428 | 3714 | |
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); | |
3431 | 3718 | EOF |
3432 | 3719 | |
3433 | 3720 | cat <<EOF |
3480 | 3767 | lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); |
3481 | 3768 | lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); |
3482 | 3769 | |
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)); | |
3551 | 3772 | for (i = 0; i < newargc; i++) |
3552 | 3773 | { |
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])); | |
3554 | 3776 | } |
3555 | 3777 | |
3556 | 3778 | EOF |
3559 | 3781 | mingw*) |
3560 | 3782 | cat <<"EOF" |
3561 | 3783 | /* execv doesn't actually work on mingw as expected on unix */ |
3784 | newargz = prepare_spawn (newargz); | |
3562 | 3785 | rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); |
3563 | 3786 | if (rval == -1) |
3564 | 3787 | { |
3565 | 3788 | /* 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))); | |
3567 | 3792 | return 127; |
3568 | 3793 | } |
3569 | 3794 | return rval; |
3585 | 3810 | { |
3586 | 3811 | void *p = (void *) malloc (num); |
3587 | 3812 | if (!p) |
3588 | lt_fatal ("Memory exhausted"); | |
3813 | lt_fatal (__FILE__, __LINE__, "memory exhausted"); | |
3589 | 3814 | |
3590 | 3815 | return p; |
3591 | 3816 | } |
3619 | 3844 | { |
3620 | 3845 | struct stat st; |
3621 | 3846 | |
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)); | |
3624 | 3849 | if ((!path) || (!*path)) |
3625 | 3850 | return 0; |
3626 | 3851 | |
3637 | 3862 | int rval = 0; |
3638 | 3863 | struct stat st; |
3639 | 3864 | |
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)); | |
3642 | 3867 | if ((!path) || (!*path)) |
3643 | 3868 | return 0; |
3644 | 3869 | |
3664 | 3889 | int tmp_len; |
3665 | 3890 | char *concat_name; |
3666 | 3891 | |
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)); | |
3669 | 3894 | |
3670 | 3895 | if ((wrapper == NULL) || (*wrapper == '\0')) |
3671 | 3896 | return NULL; |
3718 | 3943 | { |
3719 | 3944 | /* empty path: current directory */ |
3720 | 3945 | if (getcwd (tmp, LT_PATHMAX) == NULL) |
3721 | lt_fatal ("getcwd failed"); | |
3946 | lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", | |
3947 | nonnull (strerror (errno))); | |
3722 | 3948 | tmp_len = strlen (tmp); |
3723 | 3949 | concat_name = |
3724 | 3950 | XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); |
3743 | 3969 | } |
3744 | 3970 | /* Relative path | not found in path: prepend cwd */ |
3745 | 3971 | if (getcwd (tmp, LT_PATHMAX) == NULL) |
3746 | lt_fatal ("getcwd failed"); | |
3972 | lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", | |
3973 | nonnull (strerror (errno))); | |
3747 | 3974 | tmp_len = strlen (tmp); |
3748 | 3975 | concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); |
3749 | 3976 | memcpy (concat_name, tmp, tmp_len); |
3769 | 3996 | int has_symlinks = 0; |
3770 | 3997 | while (strlen (tmp_pathspec) && !has_symlinks) |
3771 | 3998 | { |
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); | |
3774 | 4002 | if (lstat (tmp_pathspec, &s) == 0) |
3775 | 4003 | { |
3776 | 4004 | if (S_ISLNK (s.st_mode) != 0) |
3792 | 4020 | } |
3793 | 4021 | else |
3794 | 4022 | { |
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))); | |
3797 | 4026 | } |
3798 | 4027 | } |
3799 | 4028 | XFREE (tmp_pathspec); |
3806 | 4035 | tmp_pathspec = realpath (pathspec, buf); |
3807 | 4036 | if (tmp_pathspec == 0) |
3808 | 4037 | { |
3809 | lt_fatal ("Could not follow symlinks for %s", pathspec); | |
4038 | lt_fatal (__FILE__, __LINE__, | |
4039 | "could not follow symlinks for %s", pathspec); | |
3810 | 4040 | } |
3811 | 4041 | return xstrdup (tmp_pathspec); |
3812 | 4042 | #endif |
3832 | 4062 | return str; |
3833 | 4063 | } |
3834 | 4064 | |
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 | ||
3835 | 4078 | 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, | |
3837 | 4081 | const char *message, va_list ap) |
3838 | 4082 | { |
3839 | fprintf (stderr, "%s: %s: ", program_name, mode); | |
4083 | fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); | |
3840 | 4084 | vfprintf (stderr, message, ap); |
3841 | 4085 | fprintf (stderr, ".\n"); |
3842 | 4086 | |
3845 | 4089 | } |
3846 | 4090 | |
3847 | 4091 | void |
3848 | lt_fatal (const char *message, ...) | |
4092 | lt_fatal (const char *file, int line, const char *message, ...) | |
3849 | 4093 | { |
3850 | 4094 | va_list ap; |
3851 | 4095 | va_start (ap, message); |
3852 | lt_error_core (EXIT_FAILURE, "FATAL", message, ap); | |
4096 | lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); | |
3853 | 4097 | 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); | |
3854 | 4110 | } |
3855 | 4111 | |
3856 | 4112 | void |
3857 | 4113 | lt_setenv (const char *name, const char *value) |
3858 | 4114 | { |
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)); | |
3862 | 4118 | { |
3863 | 4119 | #ifdef HAVE_SETENV |
3864 | 4120 | /* always make a copy, for consistency with !HAVE_SETENV */ |
3903 | 4159 | return new_value; |
3904 | 4160 | } |
3905 | 4161 | |
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 | ||
3989 | 4162 | void |
3990 | 4163 | lt_update_exe_path (const char *name, const char *value) |
3991 | 4164 | { |
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)); | |
3995 | 4168 | |
3996 | 4169 | if (name && *name && value && *value) |
3997 | 4170 | { |
4010 | 4183 | void |
4011 | 4184 | lt_update_lib_path (const char *name, const char *value) |
4012 | 4185 | { |
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)); | |
4016 | 4189 | |
4017 | 4190 | if (name && *name && value && *value) |
4018 | 4191 | { |
4022 | 4195 | } |
4023 | 4196 | } |
4024 | 4197 | |
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 | } | |
4026 | 4329 | EOF |
4027 | 4330 | } |
4028 | 4331 | # 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 | } | |
4029 | 4343 | |
4030 | 4344 | # func_mode_link arg... |
4031 | 4345 | func_mode_link () |
4071 | 4385 | new_inherited_linker_flags= |
4072 | 4386 | |
4073 | 4387 | avoid_version=no |
4388 | bindir= | |
4074 | 4389 | dlfiles= |
4075 | 4390 | dlprefiles= |
4076 | 4391 | dlself=no |
4163 | 4478 | esac |
4164 | 4479 | |
4165 | 4480 | case $prev in |
4481 | bindir) | |
4482 | bindir="$arg" | |
4483 | prev= | |
4484 | continue | |
4485 | ;; | |
4166 | 4486 | dlfiles|dlprefiles) |
4167 | 4487 | if test "$preload" = no; then |
4168 | 4488 | # Add the symbol object into the linking commands. |
4424 | 4744 | continue |
4425 | 4745 | ;; |
4426 | 4746 | |
4747 | -bindir) | |
4748 | prev=bindir | |
4749 | continue | |
4750 | ;; | |
4751 | ||
4427 | 4752 | -dlopen) |
4428 | 4753 | prev=dlfiles |
4429 | 4754 | continue |
4502 | 4827 | esac |
4503 | 4828 | case $host in |
4504 | 4829 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) |
4505 | testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` | |
4830 | testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` | |
4506 | 4831 | case :$dllsearchpath: in |
4507 | 4832 | *":$dir:"*) ;; |
4508 | 4833 | ::) dllsearchpath=$dir;; |
4521 | 4846 | -l*) |
4522 | 4847 | if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then |
4523 | 4848 | case $host in |
4524 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) | |
4849 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) | |
4525 | 4850 | # These systems don't actually have a C or math library (as such) |
4526 | 4851 | continue |
4527 | 4852 | ;; |
4707 | 5032 | for flag in $args; do |
4708 | 5033 | IFS="$save_ifs" |
4709 | 5034 | func_quote_for_eval "$flag" |
4710 | arg="$arg $wl$func_quote_for_eval_result" | |
5035 | arg="$arg $func_quote_for_eval_result" | |
4711 | 5036 | compiler_flags="$compiler_flags $func_quote_for_eval_result" |
4712 | 5037 | done |
4713 | 5038 | IFS="$save_ifs" |
4753 | 5078 | arg="$func_quote_for_eval_result" |
4754 | 5079 | ;; |
4755 | 5080 | |
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 | |
4766 | 5092 | -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=*) | |
4768 | 5094 | func_quote_for_eval "$arg" |
4769 | 5095 | arg="$func_quote_for_eval_result" |
4770 | 5096 | func_append compile_command " $arg" |
4924 | 5250 | |
4925 | 5251 | if test -n "$shlibpath_var"; then |
4926 | 5252 | # 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\'\` | |
4928 | 5254 | else |
4929 | 5255 | shlib_search_path= |
4930 | 5256 | fi |
5047 | 5373 | # Collect preopened libtool deplibs, except any this library |
5048 | 5374 | # has declared as weak libs |
5049 | 5375 | 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 | |
5051 | 5378 | case " $weak_libs " in |
5052 | 5379 | *" $deplib_base "*) ;; |
5053 | 5380 | *) deplibs="$deplibs $deplib" ;; |
5226 | 5553 | match_pattern*) |
5227 | 5554 | set dummy $deplibs_check_method; shift |
5228 | 5555 | 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 \ | |
5230 | 5557 | | $EGREP "$match_pattern_regex" > /dev/null; then |
5231 | 5558 | valid_a_lib=yes |
5232 | 5559 | fi |
5236 | 5563 | ;; |
5237 | 5564 | esac |
5238 | 5565 | if test "$valid_a_lib" != yes; then |
5239 | $ECHO | |
5566 | echo | |
5240 | 5567 | $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." | |
5246 | 5573 | else |
5247 | $ECHO | |
5574 | echo | |
5248 | 5575 | $ECHO "*** Warning: Linking the shared library $output against the" |
5249 | 5576 | $ECHO "*** static library $deplib is not portable!" |
5250 | 5577 | deplibs="$deplib $deplibs" |
5317 | 5644 | |
5318 | 5645 | # Convert "-framework foo" to "foo.ltframework" |
5319 | 5646 | 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'` | |
5321 | 5648 | for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do |
5322 | 5649 | case " $new_inherited_linker_flags " in |
5323 | 5650 | *" $tmp_inherited_linker_flag "*) ;; |
5325 | 5652 | esac |
5326 | 5653 | done |
5327 | 5654 | 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'` | |
5329 | 5656 | if test "$linkmode,$pass" = "lib,link" || |
5330 | 5657 | test "$linkmode,$pass" = "prog,scan" || |
5331 | 5658 | { test "$linkmode" != prog && test "$linkmode" != lib; }; then |
5579 | 5906 | fi |
5580 | 5907 | done |
5581 | 5908 | if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then |
5582 | $ECHO | |
5909 | echo | |
5583 | 5910 | if test "$linkmode" = prog; then |
5584 | 5911 | $ECHO "*** Warning: Linking the executable $output against the loadable module" |
5585 | 5912 | else |
5682 | 6009 | if test "X$dlopenmodule" != "X$lib"; then |
5683 | 6010 | $ECHO "*** Warning: lib $linklib is a module, not a shared library" |
5684 | 6011 | 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" | |
5688 | 6015 | else |
5689 | 6016 | add="$dir/$old_library" |
5690 | 6017 | fi |
5824 | 6151 | |
5825 | 6152 | # Just print a warning and add the library to dependency_libs so |
5826 | 6153 | # that the program can be linked against the static library. |
5827 | $ECHO | |
6154 | echo | |
5828 | 6155 | $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." | |
5832 | 6159 | 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." | |
5836 | 6163 | 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." | |
5842 | 6169 | fi |
5843 | 6170 | if test "$build_old_libs" = no; then |
5844 | 6171 | build_libtool_libs=module |
5892 | 6219 | if test "$link_all_deplibs" != no; then |
5893 | 6220 | # Add the search paths of all dependency libraries |
5894 | 6221 | for deplib in $dependency_libs; do |
6222 | path= | |
5895 | 6223 | case $deplib in |
5896 | 6224 | -L*) path="$deplib" ;; |
5897 | 6225 | *.la) |
5957 | 6285 | compile_deplibs="$new_inherited_linker_flags $compile_deplibs" |
5958 | 6286 | finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" |
5959 | 6287 | 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'` | |
5961 | 6289 | fi |
5962 | 6290 | fi |
5963 | 6291 | dependency_libs="$newdependency_libs" |
6125 | 6453 | if test "$deplibs_check_method" != pass_all; then |
6126 | 6454 | func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" |
6127 | 6455 | else |
6128 | $ECHO | |
6456 | echo | |
6129 | 6457 | $ECHO "*** Warning: Linking the shared library $output against the non-libtool" |
6130 | 6458 | $ECHO "*** objects $objs is not portable!" |
6131 | 6459 | libobjs="$libobjs $objs" |
6193 | 6521 | age="$number_minor" |
6194 | 6522 | revision="$number_revision" |
6195 | 6523 | ;; |
6196 | freebsd-aout|freebsd-elf|sunos) | |
6524 | freebsd-aout|freebsd-elf|qnx|sunos) | |
6197 | 6525 | current="$number_major" |
6198 | 6526 | revision="$number_minor" |
6199 | 6527 | age="0" |
6427 | 6755 | oldlibs="$oldlibs $output_objdir/$libname.$libext" |
6428 | 6756 | |
6429 | 6757 | # 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` | |
6431 | 6759 | fi |
6432 | 6760 | |
6433 | 6761 | # Eliminate all temporary directories. |
6434 | 6762 | #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"` | |
6438 | 6766 | #done |
6439 | 6767 | |
6440 | 6768 | if test -n "$xrpath"; then |
6475 | 6803 | if test "$build_libtool_libs" = yes; then |
6476 | 6804 | if test -n "$rpath"; then |
6477 | 6805 | case $host in |
6478 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) | |
6806 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) | |
6479 | 6807 | # these systems don't actually have a c library (as such)! |
6480 | 6808 | ;; |
6481 | 6809 | *-*-rhapsody* | *-*-darwin1.[012]) |
6560 | 6888 | newdeplibs="$newdeplibs $i" |
6561 | 6889 | else |
6562 | 6890 | droppeddeps=yes |
6563 | $ECHO | |
6891 | echo | |
6564 | 6892 | $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." | |
6570 | 6898 | fi |
6571 | 6899 | fi |
6572 | 6900 | ;; |
6603 | 6931 | newdeplibs="$newdeplibs $i" |
6604 | 6932 | else |
6605 | 6933 | droppeddeps=yes |
6606 | $ECHO | |
6934 | echo | |
6607 | 6935 | $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." | |
6613 | 6941 | fi |
6614 | 6942 | fi |
6615 | 6943 | else |
6616 | 6944 | droppeddeps=yes |
6617 | $ECHO | |
6945 | echo | |
6618 | 6946 | $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." | |
6622 | 6950 | fi |
6623 | 6951 | ;; |
6624 | 6952 | *) |
6664 | 6992 | potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` |
6665 | 6993 | case $potliblink in |
6666 | 6994 | [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; |
6667 | *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; | |
6995 | *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; | |
6668 | 6996 | esac |
6669 | 6997 | done |
6670 | 6998 | if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | |
6679 | 7007 | fi |
6680 | 7008 | if test -n "$a_deplib" ; then |
6681 | 7009 | droppeddeps=yes |
6682 | $ECHO | |
7010 | echo | |
6683 | 7011 | $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" | |
6688 | 7016 | if test -z "$potlib" ; then |
6689 | 7017 | $ECHO "*** with $libname but no candidates were found. (...for file magic test)" |
6690 | 7018 | else |
6722 | 7050 | potential_libs=`ls $i/$libname[.-]* 2>/dev/null` |
6723 | 7051 | for potent_lib in $potential_libs; do |
6724 | 7052 | 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 | \ | |
6726 | 7054 | $EGREP "$match_pattern_regex" > /dev/null; then |
6727 | 7055 | newdeplibs="$newdeplibs $a_deplib" |
6728 | 7056 | a_deplib="" |
6733 | 7061 | fi |
6734 | 7062 | if test -n "$a_deplib" ; then |
6735 | 7063 | droppeddeps=yes |
6736 | $ECHO | |
7064 | echo | |
6737 | 7065 | $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" | |
6742 | 7070 | if test -z "$potlib" ; then |
6743 | 7071 | $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" |
6744 | 7072 | else |
6756 | 7084 | ;; |
6757 | 7085 | none | unknown | *) |
6758 | 7086 | 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'` | |
6761 | 7088 | if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then |
6762 | 7089 | for i in $predeps $postdeps ; do |
6763 | 7090 | # 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,,"` | |
6765 | 7092 | done |
6766 | 7093 | 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 | |
6770 | 7097 | 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." | |
6772 | 7099 | 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." | |
6774 | 7101 | fi |
6775 | $ECHO "*** All declared inter-library dependencies are being dropped." | |
7102 | echo "*** All declared inter-library dependencies are being dropped." | |
6776 | 7103 | droppeddeps=yes |
6777 | fi | |
7104 | ;; | |
7105 | esac | |
6778 | 7106 | ;; |
6779 | 7107 | esac |
6780 | 7108 | versuffix=$versuffix_save |
6786 | 7114 | case $host in |
6787 | 7115 | *-*-rhapsody* | *-*-darwin1.[012]) |
6788 | 7116 | # 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 /'` | |
6790 | 7118 | ;; |
6791 | 7119 | esac |
6792 | 7120 | |
6793 | 7121 | if test "$droppeddeps" = yes; then |
6794 | 7122 | 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" | |
6797 | 7125 | $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." | |
6800 | 7128 | 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." | |
6806 | 7134 | fi |
6807 | 7135 | if test "$build_old_libs" = no; then |
6808 | 7136 | oldlibs="$output_objdir/$libname.$libext" |
6812 | 7140 | build_libtool_libs=no |
6813 | 7141 | fi |
6814 | 7142 | 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." | |
6818 | 7146 | |
6819 | 7147 | 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." | |
6825 | 7153 | if test "$build_old_libs" = no; then |
6826 | 7154 | oldlibs="$output_objdir/$libname.$libext" |
6827 | 7155 | build_libtool_libs=module |
6838 | 7166 | # Time to change all our "foo.ltframework" stuff back to "-framework foo" |
6839 | 7167 | case $host in |
6840 | 7168 | *-*-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'` | |
6844 | 7172 | ;; |
6845 | 7173 | esac |
6846 | 7174 | |
6962 | 7290 | done |
6963 | 7291 | |
6964 | 7292 | # 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` | |
6966 | 7294 | test "X$libobjs" = "X " && libobjs= |
6967 | 7295 | |
6968 | 7296 | delfiles= |
7028 | 7356 | if test -n "$export_symbols" && test -n "$include_expsyms"; then |
7029 | 7357 | tmp_export_symbols="$export_symbols" |
7030 | 7358 | 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"' | |
7032 | 7360 | fi |
7033 | 7361 | |
7034 | 7362 | if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then |
7129 | 7457 | save_libobjs=$libobjs |
7130 | 7458 | fi |
7131 | 7459 | save_output=$output |
7132 | output_la=`$ECHO "X$output" | $Xsed -e "$basename"` | |
7460 | func_basename "$output" | |
7461 | output_la=$func_basename_result | |
7133 | 7462 | |
7134 | 7463 | # Clear the reloadable object creation command queue and |
7135 | 7464 | # initialize k to one. |
7142 | 7471 | if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then |
7143 | 7472 | output=${output_objdir}/${output_la}.lnkscript |
7144 | 7473 | func_verbose "creating GNU ld script: $output" |
7145 | $ECHO 'INPUT (' > $output | |
7474 | echo 'INPUT (' > $output | |
7146 | 7475 | for obj in $save_libobjs |
7147 | 7476 | do |
7148 | 7477 | $ECHO "$obj" >> $output |
7149 | 7478 | done |
7150 | $ECHO ')' >> $output | |
7479 | echo ')' >> $output | |
7151 | 7480 | delfiles="$delfiles $output" |
7152 | 7481 | elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then |
7153 | 7482 | output=${output_objdir}/${output_la}.lnk |
7189 | 7518 | # command to the queue. |
7190 | 7519 | if test "$k" -eq 1 ; then |
7191 | 7520 | # 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\" | |
7193 | 7523 | else |
7194 | 7524 | # All subsequent reloadable object files will link in |
7195 | 7525 | # 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\" | |
7197 | 7528 | fi |
7198 | 7529 | last_robj=$output_objdir/$output_la-${k}.$objext |
7199 | 7530 | func_arith $k + 1 |
7200 | 7531 | k=$func_arith_result |
7201 | 7532 | output=$output_objdir/$output_la-${k}.$objext |
7202 | objlist=$obj | |
7533 | objlist=" $obj" | |
7203 | 7534 | func_len " $last_robj" |
7204 | 7535 | func_arith $len0 + $func_len_result |
7205 | 7536 | len=$func_arith_result |
7209 | 7540 | # reloadable object file. All subsequent reloadable object |
7210 | 7541 | # files will link in the last one created. |
7211 | 7542 | 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\" | |
7213 | 7545 | if test -n "$last_robj"; then |
7214 | 7546 | eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" |
7215 | 7547 | fi |
7268 | 7600 | if test -n "$export_symbols" && test -n "$include_expsyms"; then |
7269 | 7601 | tmp_export_symbols="$export_symbols" |
7270 | 7602 | 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"' | |
7272 | 7604 | fi |
7273 | 7605 | |
7274 | 7606 | if test -n "$orig_export_symbols"; then |
7433 | 7765 | if test -n "$convenience"; then |
7434 | 7766 | if test -n "$whole_archive_flag_spec"; then |
7435 | 7767 | 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'` | |
7437 | 7769 | else |
7438 | 7770 | gentop="$output_objdir/${obj}x" |
7439 | 7771 | generated="$generated $gentop" |
7444 | 7776 | fi |
7445 | 7777 | |
7446 | 7778 | # 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 | |
7448 | 7780 | |
7449 | 7781 | output="$obj" |
7450 | 7782 | func_execute_cmds "$reload_cmds" 'exit $?' |
7504 | 7836 | case $host in |
7505 | 7837 | *-*-rhapsody* | *-*-darwin1.[012]) |
7506 | 7838 | # 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 /'` | |
7509 | 7841 | ;; |
7510 | 7842 | esac |
7511 | 7843 | |
7522 | 7854 | esac |
7523 | 7855 | fi |
7524 | 7856 | # 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'` | |
7527 | 7859 | ;; |
7528 | 7860 | esac |
7529 | 7861 | |
7660 | 7992 | |
7661 | 7993 | if test -n "$libobjs" && test "$build_old_libs" = yes; then |
7662 | 7994 | # 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` | |
7665 | 7997 | fi |
7666 | 7998 | |
7667 | 7999 | func_generate_dlsyms "$outputname" "@PROGRAM@" "no" |
7673 | 8005 | |
7674 | 8006 | wrappers_required=yes |
7675 | 8007 | case $host in |
8008 | *cegcc* | *mingw32ce*) | |
8009 | # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. | |
8010 | wrappers_required=no | |
8011 | ;; | |
7676 | 8012 | *cygwin* | *mingw* ) |
7677 | 8013 | if test "$build_libtool_libs" != yes; then |
7678 | 8014 | wrappers_required=no |
7679 | 8015 | fi |
7680 | ;; | |
7681 | *cegcc) | |
7682 | # Disable wrappers for cegcc, we are cross compiling anyway. | |
7683 | wrappers_required=no | |
7684 | 8016 | ;; |
7685 | 8017 | *) |
7686 | 8018 | if test "$need_relink" = no || test "$build_libtool_libs" != yes; then |
7690 | 8022 | esac |
7691 | 8023 | if test "$wrappers_required" = no; then |
7692 | 8024 | # 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'` | |
7694 | 8026 | link_command="$compile_command$compile_rpath" |
7695 | 8027 | |
7696 | 8028 | # We have no uninstalled library dependencies, so finalize right now. |
7737 | 8069 | # We don't need to create a wrapper script. |
7738 | 8070 | link_command="$compile_var$compile_command$compile_rpath" |
7739 | 8071 | # 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'` | |
7741 | 8073 | # Delete the old output file. |
7742 | 8074 | $opt_dry_run || $RM $output |
7743 | 8075 | # Link the executable and exit |
7756 | 8088 | if test "$fast_install" != no; then |
7757 | 8089 | link_command="$finalize_var$compile_command$finalize_rpath" |
7758 | 8090 | 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'` | |
7760 | 8092 | else |
7761 | 8093 | # fast_install is set to needless |
7762 | 8094 | relink_command= |
7768 | 8100 | fi |
7769 | 8101 | |
7770 | 8102 | # 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'` | |
7772 | 8104 | |
7773 | 8105 | # Delete the old output files. |
7774 | 8106 | $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname |
7792 | 8124 | fi |
7793 | 8125 | done |
7794 | 8126 | 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"` | |
7807 | 8128 | fi |
7808 | 8129 | |
7809 | 8130 | # Only actually do things if not in dry run mode. |
7924 | 8245 | done | sort | sort -uc >/dev/null 2>&1); then |
7925 | 8246 | : |
7926 | 8247 | else |
7927 | $ECHO "copying selected object files to avoid basename conflicts..." | |
8248 | echo "copying selected object files to avoid basename conflicts..." | |
7928 | 8249 | gentop="$output_objdir/${outputname}x" |
7929 | 8250 | generated="$generated $gentop" |
7930 | 8251 | func_mkdir_p "$gentop" |
8035 | 8356 | done |
8036 | 8357 | # Quote the link command for shipping. |
8037 | 8358 | 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"` | |
8039 | 8360 | if test "$hardcode_automatic" = yes ; then |
8040 | 8361 | relink_command= |
8041 | 8362 | fi |
8120 | 8441 | fi |
8121 | 8442 | $RM $output |
8122 | 8443 | # 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. | |
8123 | 8452 | tdlname=$dlname |
8124 | 8453 | 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 | ;; | |
8126 | 8465 | esac |
8127 | 8466 | $ECHO > $output "\ |
8128 | 8467 | # $outputname - a libtool library file |
3 | 3 | be |
4 | 4 | bn_IN |
5 | 5 | ca |
6 | ca@valencia | |
6 | 7 | cs |
7 | 8 | da |
8 | 9 | de |
33 | 34 | ru |
34 | 35 | sk |
35 | 36 | sl |
37 | sr | |
38 | sr@latin | |
36 | 39 | sv |
37 | 40 | ta |
38 | 41 | te |
39 | 42 | th |
40 | 43 | uk |
44 | vi | |
41 | 45 | zh_CN |
42 | 46 | zh_HK |
43 | 47 | zh_TW |
4 | 4 | src/main.c |
5 | 5 | src/polkitgnomeauthenticationdialog.c |
6 | 6 | src/polkitgnomeauthenticator.c |
7 | src/polkit-gnome-authentication-agent-1.desktop.in.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" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: PolicyKit-gnome\n" |
8 | 8 | "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" | |
12 | 12 | "Language-Team: \n" |
13 | 13 | "MIME-Version: 1.0\n" |
14 | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 16 | "X-Poedit-Language: Hebrew\n" |
17 | 17 | "Plural-Forms: nplurals=2; plural=n != 1;\n" |
18 | 18 | |
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 | |
194 | 84 | 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 | |
296 | 154 | 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 | |
301 | 158 | #, c-format |
302 | 159 | msgid "%s (%s)" |
303 | 160 | msgstr "%s (%s)" |
304 | 161 | |
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 | |
314 | 167 | msgid "" |
315 | 168 | "An application is attempting to perform an action that requires privileges. " |
316 | 169 | "Authentication as one of the users below is required to perform this action." |
317 | 170 | 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 | |
322 | 181 | msgid "" |
323 | 182 | "An application is attempting to perform an action that requires privileges. " |
324 | 183 | "Authentication as the super user is required to perform this action." |
325 | 184 | 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 | |
337 | 203 | #, c-format |
338 | 204 | 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 | |
343 | 212 | #, c-format |
344 | 213 | 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 | |
377 | 217 | msgid "Authenticate" |
378 | 218 | msgstr "אימות" |
379 | 219 | |
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 | |
385 | 221 | #, c-format |
386 | 222 | 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 "בחר פעולה" |
8 | 8 | msgid "" |
9 | 9 | msgstr "" |
10 | 10 | "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" | |
13 | 14 | "PO-Revision-Date: 2009-12-30 15:27-0300\n" |
14 | 15 | "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" | |
16 | 17 | "MIME-Version: 1.0\n" |
17 | 18 | "Content-Type: text/plain; charset=UTF-8\n" |
18 | 19 | "Content-Transfer-Encoding: 8bit\n" |
20 | 21 | "X-Poedit-Language: Portuguese\n" |
21 | 22 | "X-Poedit-Country: BRAZIL\n" |
22 | 23 | |
23 | #: ../polkitgtk/polkitlockbutton.c:460 | |
24 | #: ../polkitgtk/polkitlockbutton.c:450 | |
24 | 25 | 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 | |
28 | 29 | msgid "The action identifier to use for the button" |
29 | 30 | msgstr "O identificador de ação a ser usado para o botão" |
30 | 31 | |
31 | #: ../polkitgtk/polkitlockbutton.c:477 | |
32 | #: ../polkitgtk/polkitlockbutton.c:467 | |
32 | 33 | msgid "Is Authorized" |
33 | 34 | msgstr "Está autorizado" |
34 | 35 | |
35 | #: ../polkitgtk/polkitlockbutton.c:478 | |
36 | #: ../polkitgtk/polkitlockbutton.c:468 | |
36 | 37 | msgid "Whether the process is authorized" |
37 | 38 | msgstr "Se o processo está autorizado" |
38 | 39 | |
39 | #: ../polkitgtk/polkitlockbutton.c:493 | |
40 | #: ../polkitgtk/polkitlockbutton.c:483 | |
40 | 41 | msgid "Is Visible" |
41 | 42 | msgstr "Está visível" |
42 | 43 | |
43 | #: ../polkitgtk/polkitlockbutton.c:494 | |
44 | #: ../polkitgtk/polkitlockbutton.c:484 | |
44 | 45 | msgid "Whether the widget is visible" |
45 | 46 | msgstr "Se o widget está visível" |
46 | 47 | |
47 | #: ../polkitgtk/polkitlockbutton.c:509 | |
48 | #: ../polkitgtk/polkitlockbutton.c:499 | |
48 | 49 | msgid "Can Obtain" |
49 | 50 | msgstr "Pode obter" |
50 | 51 | |
51 | #: ../polkitgtk/polkitlockbutton.c:510 | |
52 | #: ../polkitgtk/polkitlockbutton.c:500 | |
52 | 53 | msgid "Whether authorization can be obtained" |
53 | 54 | msgstr "Se é possível obter autorização" |
54 | 55 | |
55 | #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627 | |
56 | #: ../polkitgtk/polkitlockbutton.c:515 ../polkitgtk/polkitlockbutton.c:617 | |
56 | 57 | msgid "Unlock Text" |
57 | 58 | msgstr "Texto de desbloqueio" |
58 | 59 | |
59 | #: ../polkitgtk/polkitlockbutton.c:526 | |
60 | #: ../polkitgtk/polkitlockbutton.c:516 | |
60 | 61 | 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 | |
64 | 65 | msgid "Click to make changes" |
65 | 66 | msgstr "Clique para efetuar alterações" |
66 | 67 | |
67 | #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644 | |
68 | #: ../polkitgtk/polkitlockbutton.c:532 ../polkitgtk/polkitlockbutton.c:634 | |
68 | 69 | 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 | |
72 | 73 | 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 | |
77 | 77 | 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 | |
81 | 81 | msgid "Lock Text" |
82 | 82 | msgstr "Texto de bloqueio" |
83 | 83 | |
84 | #: ../polkitgtk/polkitlockbutton.c:560 | |
84 | #: ../polkitgtk/polkitlockbutton.c:550 | |
85 | 85 | 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 | |
89 | 89 | msgid "Click to prevent changes" |
90 | 90 | msgstr "Clique para prevenir alterações" |
91 | 91 | |
92 | #: ../polkitgtk/polkitlockbutton.c:576 | |
92 | #: ../polkitgtk/polkitlockbutton.c:566 | |
93 | 93 | 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 | |
97 | 97 | 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 | |
102 | 101 | 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 | |
106 | 105 | 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 | |
110 | 109 | msgid "" |
111 | 110 | "The text to display when prompting the user to lock down the action for all " |
112 | 111 | "users." |
113 | 112 | 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 | |
118 | 117 | 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 | |
122 | 121 | 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 | |
126 | 125 | msgid "" |
127 | 126 | "The tooltip to display when prompting the user to lock down the action for " |
128 | 127 | "all users." |
129 | 128 | 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 | |
134 | 133 | msgid "" |
135 | 134 | "To prevent users without administrative privileges from making changes, " |
136 | 135 | "click the lock." |
137 | 136 | 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 | |
142 | 141 | msgid "" |
143 | 142 | "The text to display when the user cannot obtain authorization through " |
144 | 143 | "authentication." |
145 | 144 | 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 | |
150 | 149 | msgid "Not authorized to make changes" |
151 | 150 | msgstr "Não autorizado a efetuar alterações" |
152 | 151 | |
153 | #: ../polkitgtk/polkitlockbutton.c:645 | |
152 | #: ../polkitgtk/polkitlockbutton.c:635 | |
154 | 153 | msgid "" |
155 | 154 | "The tooltip to display when the user cannot obtain authorization through " |
156 | 155 | "authentication." |
157 | 156 | 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 | |
162 | 161 | msgid "System policy prevents changes. Contact your system administator." |
163 | 162 | 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." | |
177 | 165 | |
178 | 166 | #: ../src/main.c:128 |
179 | 167 | 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" | |
181 | 169 | |
182 | 170 | #: ../src/polkitgnomeauthenticationdialog.c:159 |
183 | 171 | msgid "Select user..." |
188 | 176 | msgid "%s (%s)" |
189 | 177 | msgstr "%s (%s)" |
190 | 178 | |
191 | #: ../src/polkitgnomeauthenticationdialog.c:529 | |
179 | #: ../src/polkitgnomeauthenticationdialog.c:531 | |
192 | 180 | msgid "_Authenticate" |
193 | 181 | msgstr "_Autenticar" |
194 | 182 | |
195 | #: ../src/polkitgnomeauthenticationdialog.c:566 | |
183 | #: ../src/polkitgnomeauthenticationdialog.c:571 | |
196 | 184 | msgid "" |
197 | 185 | "An application is attempting to perform an action that requires privileges. " |
198 | 186 | "Authentication as one of the users below is required to perform this action." |
199 | 187 | msgstr "" |
200 | 188 | "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 | |
205 | 192 | msgid "" |
206 | 193 | "An application is attempting to perform an action that requires privileges. " |
207 | 194 | "Authentication is required to perform this action." |
208 | 195 | msgstr "" |
209 | 196 | "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 | |
213 | 200 | msgid "" |
214 | 201 | "An application is attempting to perform an action that requires privileges. " |
215 | 202 | "Authentication as the super user is required to perform this action." |
216 | 203 | msgstr "" |
217 | 204 | "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 | |
221 | 208 | #: ../src/polkitgnomeauthenticator.c:289 |
222 | 209 | msgid "_Password:" |
223 | 210 | msgstr "_Senha:" |
224 | 211 | |
225 | 212 | #. Details |
226 | #: ../src/polkitgnomeauthenticationdialog.c:633 | |
213 | #: ../src/polkitgnomeauthenticationdialog.c:638 | |
227 | 214 | msgid "<small><b>_Details</b></small>" |
228 | 215 | msgstr "<small><b>_Detalhes</b></small>" |
229 | 216 | |
230 | #: ../src/polkitgnomeauthenticationdialog.c:686 | |
217 | #: ../src/polkitgnomeauthenticationdialog.c:691 | |
231 | 218 | msgid "<small><b>Action:</b></small>" |
232 | 219 | msgstr "<small><b>Ação:</b></small>" |
233 | 220 | |
234 | #: ../src/polkitgnomeauthenticationdialog.c:689 | |
221 | #: ../src/polkitgnomeauthenticationdialog.c:694 | |
235 | 222 | #, c-format |
236 | 223 | msgid "Click to edit %s" |
237 | 224 | msgstr "Clique para editar %s" |
238 | 225 | |
239 | #: ../src/polkitgnomeauthenticationdialog.c:703 | |
226 | #: ../src/polkitgnomeauthenticationdialog.c:708 | |
240 | 227 | msgid "<small><b>Vendor:</b></small>" |
241 | 228 | msgstr "<small><b>Fornecedor:</b></small>" |
242 | 229 | |
243 | #: ../src/polkitgnomeauthenticationdialog.c:705 | |
230 | #: ../src/polkitgnomeauthenticationdialog.c:710 | |
244 | 231 | #, c-format |
245 | 232 | msgid "Click to open %s" |
246 | 233 | msgstr "Clique para abrir %s" |
247 | 234 | |
248 | #: ../src/polkitgnomeauthenticationdialog.c:868 | |
235 | #: ../src/polkitgnomeauthenticationdialog.c:873 | |
249 | 236 | msgid "Authenticate" |
250 | 237 | msgstr "Autenticar" |
251 | 238 | |
252 | 239 | #: ../src/polkitgnomeauthenticator.c:285 |
253 | 240 | #, c-format |
254 | 241 | msgid "_Password for %s:" |
255 | msgstr "Senha _para %s:" | |
242 | msgstr "_Senha para %s:" | |
256 | 243 | |
257 | 244 | #: ../src/polkitgnomeauthenticator.c:445 |
258 | 245 | msgid "Authentication Failure" |
261 | 248 | #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1 |
262 | 249 | msgid "PolicyKit Authentication Agent" |
263 | 250 | msgstr "Agente de autenticação PolicyKit" |
251 |
0 | # Slovenian translations for PoliciKit-gnome | |
0 | 1 | # Copyright (C) 2009 PolicyKit-gnome's COPYRIGHT HOLDER |
1 | 2 | # This file is distributed under the same license as the PolicyKit-gnome package. |
3 | # | |
2 | 4 | # Matej Urbančič <mateju@svn.gnome.org>, 2010. |
3 | 5 | # |
4 | 6 | msgid "" |
6 | 8 | "Project-Id-Version: PolicyKit-gnome master\n" |
7 | 9 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=policykit-gnome&component=general\n" |
8 | 10 | "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" | |
10 | 12 | "Last-Translator: Matej Urbančič <mateju@svn.gnome.org>\n" |
11 | 13 | "Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n" |
12 | 14 | "MIME-Version: 1.0\n" |
31 | 33 | |
32 | 34 | #: ../polkitgtk/polkitlockbutton.c:478 |
33 | 35 | msgid "Whether the process is authorized" |
34 | msgstr "Ali je postopek overjen" | |
36 | msgstr "Ali je postopek pooblaščen" | |
35 | 37 | |
36 | 38 | #: ../polkitgtk/polkitlockbutton.c:493 |
37 | 39 | msgid "Is Visible" |
217 | 219 | |
218 | 220 | #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1 |
219 | 221 | 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" |
8 | 8 | "Project-Id-Version: policykit-gnome VERSION\n" |
9 | 9 | "Report-Msgid-Bugs-To: \n" |
10 | 10 | "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" | |
12 | 12 | "Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n" |
13 | 13 | "Language-Team: \n" |
14 | 14 | "MIME-Version: 1.0\n" |
211 | 211 | |
212 | 212 | #: ../src/polkitgnomeauthenticationdialog.c:703 |
213 | 213 | msgid "<small><b>Vendor:</b></small>" |
214 | msgstr "<small><b>厂商:</b></small>" | |
214 | msgstr "<small><b>提供者:</b></small>" | |
215 | 215 | |
216 | 216 | #: ../src/polkitgnomeauthenticationdialog.c:705 |
217 | 217 | #, c-format |
0 | 0 | # Chinese (Hong Kong) translation of policykit-gnome |
1 | 1 | # Copyright (C) 20007 Free Software Foundation, Inc. |
2 | 2 | # Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>, 2008, 2010. |
3 | # Wei-Lun Chao <chaoweilun@gmail.com>, 2010. | |
4 | # | |
3 | 5 | msgid "" |
4 | 6 | msgstr "" |
5 | "Project-Id-Version: policykit-gnome 0.96\n" | |
7 | "Project-Id-Version: policykit-gnome 0.100\n" | |
6 | 8 | "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" | |
10 | 12 | "Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n" |
13 | "Language: zh_TW\n" | |
11 | 14 | "MIME-Version: 1.0\n" |
12 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
13 | 16 | "Content-Transfer-Encoding: 8bit\n" |
14 | "Language: zh_TW\n" | |
15 | 17 | "Plural-Forms: nplurals=1; plural=0;\n" |
16 | 18 | "X-Generator: Virtaal 0.5.2\n" |
17 | 19 | |
18 | #: ../polkitgtk/polkitlockbutton.c:460 | |
20 | #: ../polkitgtk/polkitlockbutton.c:458 | |
19 | 21 | msgid "Action Identifier" |
20 | 22 | msgstr "動作識別碼" |
21 | 23 | |
22 | #: ../polkitgtk/polkitlockbutton.c:461 | |
24 | #: ../polkitgtk/polkitlockbutton.c:459 | |
23 | 25 | msgid "The action identifier to use for the button" |
24 | 26 | msgstr "要用在這個按鈕的動作識別碼" |
25 | 27 | |
26 | #: ../polkitgtk/polkitlockbutton.c:477 | |
28 | #: ../polkitgtk/polkitlockbutton.c:475 | |
27 | 29 | msgid "Is Authorized" |
28 | 30 | msgstr "是否已驗證" |
29 | 31 | |
30 | #: ../polkitgtk/polkitlockbutton.c:478 | |
32 | #: ../polkitgtk/polkitlockbutton.c:476 | |
31 | 33 | msgid "Whether the process is authorized" |
32 | 34 | msgstr "這個程序是否經過驗證" |
33 | 35 | |
34 | #: ../polkitgtk/polkitlockbutton.c:493 | |
36 | #: ../polkitgtk/polkitlockbutton.c:491 | |
35 | 37 | msgid "Is Visible" |
36 | 38 | msgstr "是否顯示" |
37 | 39 | |
38 | #: ../polkitgtk/polkitlockbutton.c:494 | |
40 | #: ../polkitgtk/polkitlockbutton.c:492 | |
39 | 41 | msgid "Whether the widget is visible" |
40 | 42 | msgstr "這個元件是否要顯示" |
41 | 43 | |
42 | #: ../polkitgtk/polkitlockbutton.c:509 | |
44 | #: ../polkitgtk/polkitlockbutton.c:507 | |
43 | 45 | msgid "Can Obtain" |
44 | 46 | msgstr "是否可獲得" |
45 | 47 | |
46 | #: ../polkitgtk/polkitlockbutton.c:510 | |
48 | #: ../polkitgtk/polkitlockbutton.c:508 | |
47 | 49 | msgid "Whether authorization can be obtained" |
48 | 50 | msgstr "是否可獲得驗證" |
49 | 51 | |
50 | #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627 | |
52 | #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625 | |
51 | 53 | msgid "Unlock Text" |
52 | 54 | msgstr "解鎖時文字" |
53 | 55 | |
54 | #: ../polkitgtk/polkitlockbutton.c:526 | |
56 | #: ../polkitgtk/polkitlockbutton.c:524 | |
55 | 57 | msgid "The text to display when prompting the user to unlock." |
56 | 58 | msgstr "當提示使用者進行解鎖時顯示的文字。" |
57 | 59 | |
58 | #: ../polkitgtk/polkitlockbutton.c:527 | |
60 | #: ../polkitgtk/polkitlockbutton.c:525 | |
59 | 61 | msgid "Click to make changes" |
60 | 62 | msgstr "請按這裏進行改變" |
61 | 63 | |
62 | #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644 | |
64 | #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642 | |
63 | 65 | msgid "Unlock Tooltip" |
64 | 66 | msgstr "解鎖時工具提示" |
65 | 67 | |
66 | #: ../polkitgtk/polkitlockbutton.c:543 | |
68 | #: ../polkitgtk/polkitlockbutton.c:541 | |
67 | 69 | msgid "The tooltip to display when prompting the user to unlock." |
68 | 70 | msgstr "當提示使用者進行解鎖時顯示的工具提示。" |
69 | 71 | |
70 | #: ../polkitgtk/polkitlockbutton.c:544 | |
72 | #: ../polkitgtk/polkitlockbutton.c:542 | |
71 | 73 | msgid "Authentication is needed to make changes." |
72 | 74 | msgstr "需要驗證才能進行改變。" |
73 | 75 | |
74 | #: ../polkitgtk/polkitlockbutton.c:559 | |
76 | #: ../polkitgtk/polkitlockbutton.c:557 | |
75 | 77 | msgid "Lock Text" |
76 | 78 | msgstr "鎖上時文字" |
77 | 79 | |
78 | #: ../polkitgtk/polkitlockbutton.c:560 | |
80 | #: ../polkitgtk/polkitlockbutton.c:558 | |
79 | 81 | msgid "The text to display when prompting the user to lock." |
80 | 82 | msgstr "當提示使用者進行鎖上時顯示的文字。" |
81 | 83 | |
82 | #: ../polkitgtk/polkitlockbutton.c:561 | |
84 | #: ../polkitgtk/polkitlockbutton.c:559 | |
83 | 85 | msgid "Click to prevent changes" |
84 | 86 | msgstr "請按這裏防止改變" |
85 | 87 | |
86 | #: ../polkitgtk/polkitlockbutton.c:576 | |
88 | #: ../polkitgtk/polkitlockbutton.c:574 | |
87 | 89 | msgid "Lock Tooltip" |
88 | 90 | msgstr "鎖上時工具提示" |
89 | 91 | |
90 | #: ../polkitgtk/polkitlockbutton.c:577 | |
92 | #: ../polkitgtk/polkitlockbutton.c:575 | |
91 | 93 | msgid "The tooltip to display when prompting the user to lock." |
92 | 94 | msgstr "當提示使用者進行鎖上時顯示的工具提示。" |
93 | 95 | |
94 | #: ../polkitgtk/polkitlockbutton.c:578 | |
96 | #: ../polkitgtk/polkitlockbutton.c:576 | |
95 | 97 | msgid "To prevent further changes, click the lock." |
96 | 98 | msgstr "要防止進一步的改變,請按這個鎖。" |
97 | 99 | |
98 | #: ../polkitgtk/polkitlockbutton.c:593 | |
100 | #: ../polkitgtk/polkitlockbutton.c:591 | |
99 | 101 | msgid "Lock Down Text" |
100 | 102 | msgstr "鎖定時文字" |
101 | 103 | |
102 | #: ../polkitgtk/polkitlockbutton.c:594 | |
104 | #: ../polkitgtk/polkitlockbutton.c:592 | |
103 | 105 | msgid "" |
104 | 106 | "The text to display when prompting the user to lock down the action for all " |
105 | 107 | "users." |
106 | 108 | msgstr "當提示使用者鎖定所有使用者的動作時顯示的文字。" |
107 | 109 | |
108 | #: ../polkitgtk/polkitlockbutton.c:595 | |
110 | #: ../polkitgtk/polkitlockbutton.c:593 | |
109 | 111 | msgid "Click to lock down" |
110 | 112 | msgstr "按這裏鎖定" |
111 | 113 | |
112 | #: ../polkitgtk/polkitlockbutton.c:610 | |
114 | #: ../polkitgtk/polkitlockbutton.c:608 | |
113 | 115 | msgid "Lock Down Tooltip" |
114 | 116 | msgstr "鎖定時工具提示" |
115 | 117 | |
116 | #: ../polkitgtk/polkitlockbutton.c:611 | |
118 | #: ../polkitgtk/polkitlockbutton.c:609 | |
117 | 119 | msgid "" |
118 | 120 | "The tooltip to display when prompting the user to lock down the action for " |
119 | 121 | "all users." |
120 | 122 | msgstr "當提示使用者鎖定所有使用者的動作時顯示的工具提示。" |
121 | 123 | |
122 | #: ../polkitgtk/polkitlockbutton.c:612 | |
124 | #: ../polkitgtk/polkitlockbutton.c:610 | |
123 | 125 | msgid "" |
124 | 126 | "To prevent users without administrative privileges from making changes, " |
125 | 127 | "click the lock." |
126 | 128 | msgstr "要防止沒有管理者權限的使用者進行更改,請按這個鎖。" |
127 | 129 | |
128 | #: ../polkitgtk/polkitlockbutton.c:628 | |
130 | #: ../polkitgtk/polkitlockbutton.c:626 | |
129 | 131 | msgid "" |
130 | 132 | "The text to display when the user cannot obtain authorization through " |
131 | 133 | "authentication." |
132 | 134 | msgstr "當使用者不能透過驗證取得授權時要顯示的文字。" |
133 | 135 | |
134 | #: ../polkitgtk/polkitlockbutton.c:629 | |
136 | #: ../polkitgtk/polkitlockbutton.c:627 | |
135 | 137 | msgid "Not authorized to make changes" |
136 | 138 | msgstr "未獲授權進行改變" |
137 | 139 | |
138 | #: ../polkitgtk/polkitlockbutton.c:645 | |
140 | #: ../polkitgtk/polkitlockbutton.c:643 | |
139 | 141 | msgid "" |
140 | 142 | "The tooltip to display when the user cannot obtain authorization through " |
141 | 143 | "authentication." |
142 | 144 | msgstr "當使用者不能透過驗證取得授權時要顯示的工具提示。" |
143 | 145 | |
144 | #: ../polkitgtk/polkitlockbutton.c:646 | |
146 | #: ../polkitgtk/polkitlockbutton.c:644 | |
145 | 147 | msgid "System policy prevents changes. Contact your system administator." |
146 | 148 | msgstr "系統原則阻止了這個更改。請聯絡你的系統管理者。" |
147 | 149 | |
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 | ||
160 | 150 | #: ../src/polkitgnomeauthenticationdialog.c:159 |
161 | 151 | msgid "Select user..." |
162 | msgstr "選擇使用者..." | |
152 | msgstr "選擇使用者…" | |
163 | 153 | |
164 | 154 | #: ../src/polkitgnomeauthenticationdialog.c:194 |
165 | 155 | #, c-format |
166 | 156 | msgid "%s (%s)" |
167 | 157 | msgstr "%s (%s)" |
168 | 158 | |
169 | #: ../src/polkitgnomeauthenticationdialog.c:529 | |
159 | #: ../src/polkitgnomeauthenticationdialog.c:531 | |
170 | 160 | msgid "_Authenticate" |
171 | 161 | msgstr "驗證(_A)" |
172 | 162 | |
173 | #: ../src/polkitgnomeauthenticationdialog.c:566 | |
163 | #: ../src/polkitgnomeauthenticationdialog.c:571 | |
174 | 164 | msgid "" |
175 | 165 | "An application is attempting to perform an action that requires privileges. " |
176 | 166 | "Authentication as one of the users below is required to perform this action." |
177 | 167 | msgstr "有應用程式試圖進行需要權限的動作。必須授權為下列使用者之一才能進行這個動作。" |
178 | 168 | |
179 | #: ../src/polkitgnomeauthenticationdialog.c:574 | |
169 | #: ../src/polkitgnomeauthenticationdialog.c:579 | |
180 | 170 | msgid "" |
181 | 171 | "An application is attempting to perform an action that requires privileges. " |
182 | 172 | "Authentication is required to perform this action." |
183 | 173 | msgstr "有應用程式試圖進行需要權限的動作。必須獲得授權才能進行這個動作。" |
184 | 174 | |
185 | #: ../src/polkitgnomeauthenticationdialog.c:580 | |
175 | #: ../src/polkitgnomeauthenticationdialog.c:585 | |
186 | 176 | msgid "" |
187 | 177 | "An application is attempting to perform an action that requires privileges. " |
188 | 178 | "Authentication as the super user is required to perform this action." |
189 | 179 | msgstr "有應用程式試圖進行需要權限的動作。必須授權為超級使用者才能進行這個動作。" |
190 | 180 | |
191 | #: ../src/polkitgnomeauthenticationdialog.c:615 | |
192 | #: ../src/polkitgnomeauthenticator.c:289 | |
181 | #: ../src/polkitgnomeauthenticationdialog.c:620 | |
182 | #: ../src/polkitgnomeauthenticator.c:298 | |
193 | 183 | msgid "_Password:" |
194 | 184 | msgstr "密碼(_P):" |
195 | 185 | |
196 | 186 | #. Details |
197 | #: ../src/polkitgnomeauthenticationdialog.c:633 | |
187 | #: ../src/polkitgnomeauthenticationdialog.c:638 | |
198 | 188 | msgid "<small><b>_Details</b></small>" |
199 | 189 | msgstr "<small><b>詳細資料(_D)</b></small>" |
200 | 190 | |
201 | #: ../src/polkitgnomeauthenticationdialog.c:686 | |
191 | #: ../src/polkitgnomeauthenticationdialog.c:691 | |
202 | 192 | msgid "<small><b>Action:</b></small>" |
203 | 193 | msgstr "<small><b>動作:</b></small>" |
204 | 194 | |
205 | #: ../src/polkitgnomeauthenticationdialog.c:689 | |
195 | #: ../src/polkitgnomeauthenticationdialog.c:694 | |
206 | 196 | #, c-format |
207 | 197 | msgid "Click to edit %s" |
208 | 198 | msgstr "按下這裏編輯 %s" |
209 | 199 | |
210 | #: ../src/polkitgnomeauthenticationdialog.c:703 | |
200 | #: ../src/polkitgnomeauthenticationdialog.c:708 | |
211 | 201 | msgid "<small><b>Vendor:</b></small>" |
212 | 202 | msgstr "<small><b>廠商:</b></small>" |
213 | 203 | |
214 | #: ../src/polkitgnomeauthenticationdialog.c:705 | |
204 | #: ../src/polkitgnomeauthenticationdialog.c:710 | |
215 | 205 | #, c-format |
216 | 206 | msgid "Click to open %s" |
217 | 207 | msgstr "按一下來開啟 %s" |
218 | 208 | |
219 | #: ../src/polkitgnomeauthenticationdialog.c:868 | |
209 | #: ../src/polkitgnomeauthenticationdialog.c:873 | |
220 | 210 | msgid "Authenticate" |
221 | 211 | msgstr "驗證" |
222 | 212 | |
223 | #: ../src/polkitgnomeauthenticator.c:285 | |
213 | #: ../src/polkitgnomeauthenticator.c:294 | |
224 | 214 | #, c-format |
225 | 215 | msgid "_Password for %s:" |
226 | 216 | msgstr "%s 的密碼 (_P):" |
227 | 217 | |
228 | #: ../src/polkitgnomeauthenticator.c:445 | |
218 | #: ../src/polkitgnomeauthenticator.c:454 | |
229 | 219 | msgid "Authentication Failure" |
230 | 220 | msgstr "驗證失敗" |
231 | 221 | |
232 | 222 | #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1 |
233 | 223 | msgid "PolicyKit Authentication Agent" |
234 | 224 | 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 | #~ "可以移除鎖定。" | |
235 | 235 | |
236 | 236 | #~ msgid "Authorizations" |
237 | 237 | #~ msgstr "授權" |
354 | 354 | #~ msgstr "如果您的系統管理員不抱怨的話,可以這麼做" |
355 | 355 | |
356 | 356 | #~ msgid "Tweak..." |
357 | #~ msgstr "Tweak..." | |
357 | #~ msgstr "Tweak…" | |
358 | 358 | |
359 | 359 | #~ msgid "Tweak... (long)" |
360 | #~ msgstr "Tweak... (long)" | |
360 | #~ msgstr "Tweak… (long)" | |
361 | 361 | |
362 | 362 | #~ msgid "Only card carrying tweakers can do this!" |
363 | 363 | #~ msgstr "Only card carrying tweakers can do this!" |
438 | 438 | #~ msgstr "Twiddle" |
439 | 439 | |
440 | 440 | #~ msgid "Authenticating..." |
441 | #~ msgstr "正在驗證..." | |
441 | #~ msgstr "正在驗證…" | |
442 | 442 | |
443 | 443 | #~ msgid "Don't exit after 30 seconds of inactivity" |
444 | 444 | #~ msgstr "在 30 秒沒有動作後不要強制結束" |
504 | 504 | #~ msgstr ", " |
505 | 505 | |
506 | 506 | #~ msgid "Must be on console" |
507 | #~ msgstr "必須在主控台" | |
507 | #~ msgstr "必須在主控臺" | |
508 | 508 | |
509 | 509 | #~ msgid "Must be in active session" |
510 | 510 | #~ msgstr "必須在使用中的作業階段" |
623 | 623 | #~ msgstr "必須在使用中的作業階段(_I)" |
624 | 624 | |
625 | 625 | #~ msgid "Must be on _local console" |
626 | #~ msgstr "必須在本地端主控台(_L)" | |
626 | #~ msgstr "必須在本地端主控臺(_L)" | |
627 | 627 | |
628 | 628 | #~ msgid "Must be in _active session on local console" |
629 | #~ msgstr "必須在使用中作業階段的本地端主控台(_A)" | |
629 | #~ msgstr "必須在使用中作業階段的本地端主控臺(_A)" | |
630 | 630 | |
631 | 631 | #~ msgid "_Block..." |
632 | #~ msgstr "阻擋(_B)..." | |
632 | #~ msgstr "阻擋(_B)…" | |
633 | 633 | |
634 | 634 | #~ msgid "_Grant..." |
635 | #~ msgstr "獲得(_G)..." | |
635 | #~ msgstr "獲得(_G)…" | |
636 | 636 | |
637 | 637 | #~ msgid "Edit Implicit Authorizations" |
638 | 638 | #~ msgstr "編輯隱含授權" |
652 | 652 | #~ msgstr "<i>任何人:</i>" |
653 | 653 | |
654 | 654 | #~ msgid "<i>Console:</i>" |
655 | #~ msgstr "<i>主控台:</i>" | |
655 | #~ msgstr "<i>主控臺:</i>" | |
656 | 656 | |
657 | 657 | #~ msgid "<i>Active Console:</i>" |
658 | #~ msgstr "<i>使用中的主控台:</i>" | |
658 | #~ msgstr "<i>使用中的主控臺:</i>" | |
659 | 659 | |
660 | 660 | #~ msgid "_Modify..." |
661 | #~ msgstr "修改(_M)..." | |
661 | #~ msgstr "修改(_M)…" | |
662 | 662 | |
663 | 663 | #~ msgid "<b>Action</b>" |
664 | 664 | #~ msgstr "<b>動作</b>" |
676 | 676 | #~ "Implicit authorizations are authorizations automatically given to users " |
677 | 677 | #~ "based on certain criteria such as if they are on the local console." |
678 | 678 | #~ msgstr "" |
679 | #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控台時)可以自動獲得" | |
679 | #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控臺時)可以自動獲得" | |
680 | 680 | #~ "的授權。" |
681 | 681 | |
682 | 682 | #~ msgid "_Edit..." |
683 | #~ msgstr "編輯(_E)..." | |
683 | #~ msgstr "編輯(_E)…" | |
684 | 684 | |
685 | 685 | #~ msgid "Revert To _Defaults..." |
686 | #~ msgstr "重置為預設值(_D)..." | |
686 | #~ msgstr "重置為預設值(_D)…" | |
687 | 687 | |
688 | 688 | #~ msgid "<b>Explicit Authorizations</b>" |
689 | 689 | #~ msgstr "<b>明確授權</b>" |
712 | 712 | #~ msgstr "註銷(_R)" |
713 | 713 | |
714 | 714 | #~ msgid "_Revoke..." |
715 | #~ msgstr "註銷(_R)..." | |
715 | #~ msgstr "註銷(_R)…" | |
716 | 716 | |
717 | 717 | #~ msgid "_Show authorizations from all users..." |
718 | #~ msgstr "顯示所有使用者的授權(_S)..." | |
718 | #~ msgstr "顯示所有使用者的授權(_S)…" | |
719 | 719 | |
720 | 720 | #~ msgid "_Show authorizations from all users" |
721 | 721 | #~ msgstr "顯示所有使用者的授權(_S)" |
0 | 0 | # Chinese (Taiwan) translation of policykit-gnome |
1 | 1 | # Copyright (C) 20007 Free Software Foundation, Inc. |
2 | 2 | # Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>, 2008, 2010. |
3 | # Wei-Lun Chao <chaoweilun@gmail.com>, 2010. | |
4 | # | |
3 | 5 | msgid "" |
4 | 6 | msgstr "" |
5 | "Project-Id-Version: policykit-gnome 0.96\n" | |
7 | "Project-Id-Version: policykit-gnome 0.100\n" | |
6 | 8 | "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" | |
10 | 12 | "Language-Team: Chinese (traditional)\n" |
13 | "Language: zh_TW\n" | |
11 | 14 | "MIME-Version: 1.0\n" |
12 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
13 | 16 | "Content-Transfer-Encoding: 8bit\n" |
14 | "Language: zh_TW\n" | |
15 | 17 | "Plural-Forms: nplurals=1; plural=0;\n" |
16 | 18 | "X-Generator: Virtaal 0.5.2\n" |
17 | 19 | |
18 | #: ../polkitgtk/polkitlockbutton.c:460 | |
20 | #: ../polkitgtk/polkitlockbutton.c:458 | |
19 | 21 | msgid "Action Identifier" |
20 | 22 | msgstr "動作識別碼" |
21 | 23 | |
22 | #: ../polkitgtk/polkitlockbutton.c:461 | |
24 | #: ../polkitgtk/polkitlockbutton.c:459 | |
23 | 25 | msgid "The action identifier to use for the button" |
24 | 26 | msgstr "要用在這個按鈕的動作識別碼" |
25 | 27 | |
26 | #: ../polkitgtk/polkitlockbutton.c:477 | |
28 | #: ../polkitgtk/polkitlockbutton.c:475 | |
27 | 29 | msgid "Is Authorized" |
28 | 30 | msgstr "是否已驗證" |
29 | 31 | |
30 | #: ../polkitgtk/polkitlockbutton.c:478 | |
32 | #: ../polkitgtk/polkitlockbutton.c:476 | |
31 | 33 | msgid "Whether the process is authorized" |
32 | 34 | msgstr "這個程序是否經過驗證" |
33 | 35 | |
34 | #: ../polkitgtk/polkitlockbutton.c:493 | |
36 | #: ../polkitgtk/polkitlockbutton.c:491 | |
35 | 37 | msgid "Is Visible" |
36 | 38 | msgstr "是否顯示" |
37 | 39 | |
38 | #: ../polkitgtk/polkitlockbutton.c:494 | |
40 | #: ../polkitgtk/polkitlockbutton.c:492 | |
39 | 41 | msgid "Whether the widget is visible" |
40 | 42 | msgstr "這個元件是否要顯示" |
41 | 43 | |
42 | #: ../polkitgtk/polkitlockbutton.c:509 | |
44 | #: ../polkitgtk/polkitlockbutton.c:507 | |
43 | 45 | msgid "Can Obtain" |
44 | 46 | msgstr "是否可獲得" |
45 | 47 | |
46 | #: ../polkitgtk/polkitlockbutton.c:510 | |
48 | #: ../polkitgtk/polkitlockbutton.c:508 | |
47 | 49 | msgid "Whether authorization can be obtained" |
48 | 50 | msgstr "是否可獲得驗證" |
49 | 51 | |
50 | #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627 | |
52 | #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625 | |
51 | 53 | msgid "Unlock Text" |
52 | 54 | msgstr "解鎖時文字" |
53 | 55 | |
54 | #: ../polkitgtk/polkitlockbutton.c:526 | |
56 | #: ../polkitgtk/polkitlockbutton.c:524 | |
55 | 57 | msgid "The text to display when prompting the user to unlock." |
56 | 58 | msgstr "當提示使用者進行解鎖時顯示的文字。" |
57 | 59 | |
58 | #: ../polkitgtk/polkitlockbutton.c:527 | |
60 | #: ../polkitgtk/polkitlockbutton.c:525 | |
59 | 61 | msgid "Click to make changes" |
60 | 62 | msgstr "請按這裡進行改變" |
61 | 63 | |
62 | #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644 | |
64 | #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642 | |
63 | 65 | msgid "Unlock Tooltip" |
64 | 66 | msgstr "解鎖時工具提示" |
65 | 67 | |
66 | #: ../polkitgtk/polkitlockbutton.c:543 | |
68 | #: ../polkitgtk/polkitlockbutton.c:541 | |
67 | 69 | msgid "The tooltip to display when prompting the user to unlock." |
68 | 70 | msgstr "當提示使用者進行解鎖時顯示的工具提示。" |
69 | 71 | |
70 | #: ../polkitgtk/polkitlockbutton.c:544 | |
72 | #: ../polkitgtk/polkitlockbutton.c:542 | |
71 | 73 | msgid "Authentication is needed to make changes." |
72 | 74 | msgstr "需要驗證才能進行改變。" |
73 | 75 | |
74 | #: ../polkitgtk/polkitlockbutton.c:559 | |
76 | #: ../polkitgtk/polkitlockbutton.c:557 | |
75 | 77 | msgid "Lock Text" |
76 | 78 | msgstr "鎖上時文字" |
77 | 79 | |
78 | #: ../polkitgtk/polkitlockbutton.c:560 | |
80 | #: ../polkitgtk/polkitlockbutton.c:558 | |
79 | 81 | msgid "The text to display when prompting the user to lock." |
80 | 82 | msgstr "當提示使用者進行鎖上時顯示的文字。" |
81 | 83 | |
82 | #: ../polkitgtk/polkitlockbutton.c:561 | |
84 | #: ../polkitgtk/polkitlockbutton.c:559 | |
83 | 85 | msgid "Click to prevent changes" |
84 | 86 | msgstr "請按這裡防止改變" |
85 | 87 | |
86 | #: ../polkitgtk/polkitlockbutton.c:576 | |
88 | #: ../polkitgtk/polkitlockbutton.c:574 | |
87 | 89 | msgid "Lock Tooltip" |
88 | 90 | msgstr "鎖上時工具提示" |
89 | 91 | |
90 | #: ../polkitgtk/polkitlockbutton.c:577 | |
92 | #: ../polkitgtk/polkitlockbutton.c:575 | |
91 | 93 | msgid "The tooltip to display when prompting the user to lock." |
92 | 94 | msgstr "當提示使用者進行鎖上時顯示的工具提示。" |
93 | 95 | |
94 | #: ../polkitgtk/polkitlockbutton.c:578 | |
96 | #: ../polkitgtk/polkitlockbutton.c:576 | |
95 | 97 | msgid "To prevent further changes, click the lock." |
96 | 98 | msgstr "要防止進一步的改變,請按這個鎖。" |
97 | 99 | |
98 | #: ../polkitgtk/polkitlockbutton.c:593 | |
100 | #: ../polkitgtk/polkitlockbutton.c:591 | |
99 | 101 | msgid "Lock Down Text" |
100 | 102 | msgstr "鎖定時文字" |
101 | 103 | |
102 | #: ../polkitgtk/polkitlockbutton.c:594 | |
104 | #: ../polkitgtk/polkitlockbutton.c:592 | |
103 | 105 | msgid "" |
104 | 106 | "The text to display when prompting the user to lock down the action for all " |
105 | 107 | "users." |
106 | 108 | msgstr "當提示使用者鎖定所有使用者的動作時顯示的文字。" |
107 | 109 | |
108 | #: ../polkitgtk/polkitlockbutton.c:595 | |
110 | #: ../polkitgtk/polkitlockbutton.c:593 | |
109 | 111 | msgid "Click to lock down" |
110 | 112 | msgstr "按這裡鎖定" |
111 | 113 | |
112 | #: ../polkitgtk/polkitlockbutton.c:610 | |
114 | #: ../polkitgtk/polkitlockbutton.c:608 | |
113 | 115 | msgid "Lock Down Tooltip" |
114 | 116 | msgstr "鎖定時工具提示" |
115 | 117 | |
116 | #: ../polkitgtk/polkitlockbutton.c:611 | |
118 | #: ../polkitgtk/polkitlockbutton.c:609 | |
117 | 119 | msgid "" |
118 | 120 | "The tooltip to display when prompting the user to lock down the action for " |
119 | 121 | "all users." |
120 | 122 | msgstr "當提示使用者鎖定所有使用者的動作時顯示的工具提示。" |
121 | 123 | |
122 | #: ../polkitgtk/polkitlockbutton.c:612 | |
124 | #: ../polkitgtk/polkitlockbutton.c:610 | |
123 | 125 | msgid "" |
124 | 126 | "To prevent users without administrative privileges from making changes, " |
125 | 127 | "click the lock." |
126 | 128 | msgstr "要防止沒有管理者權限的使用者進行變更,請按這個鎖。" |
127 | 129 | |
128 | #: ../polkitgtk/polkitlockbutton.c:628 | |
130 | #: ../polkitgtk/polkitlockbutton.c:626 | |
129 | 131 | msgid "" |
130 | 132 | "The text to display when the user cannot obtain authorization through " |
131 | 133 | "authentication." |
132 | 134 | msgstr "當使用者不能透過驗證取得授權時要顯示的文字。" |
133 | 135 | |
134 | #: ../polkitgtk/polkitlockbutton.c:629 | |
136 | #: ../polkitgtk/polkitlockbutton.c:627 | |
135 | 137 | msgid "Not authorized to make changes" |
136 | 138 | msgstr "未獲授權進行改變" |
137 | 139 | |
138 | #: ../polkitgtk/polkitlockbutton.c:645 | |
140 | #: ../polkitgtk/polkitlockbutton.c:643 | |
139 | 141 | msgid "" |
140 | 142 | "The tooltip to display when the user cannot obtain authorization through " |
141 | 143 | "authentication." |
142 | 144 | msgstr "當使用者不能透過驗證取得授權時要顯示的工具提示。" |
143 | 145 | |
144 | #: ../polkitgtk/polkitlockbutton.c:646 | |
146 | #: ../polkitgtk/polkitlockbutton.c:644 | |
145 | 147 | msgid "System policy prevents changes. Contact your system administator." |
146 | 148 | msgstr "系統原則阻止了這個變更。請聯絡您的系統管理者。" |
147 | 149 | |
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 | ||
162 | 150 | #: ../src/polkitgnomeauthenticationdialog.c:159 |
163 | 151 | msgid "Select user..." |
164 | msgstr "選擇使用者..." | |
152 | msgstr "選擇使用者…" | |
165 | 153 | |
166 | 154 | #: ../src/polkitgnomeauthenticationdialog.c:194 |
167 | 155 | #, c-format |
168 | 156 | msgid "%s (%s)" |
169 | 157 | msgstr "%s (%s)" |
170 | 158 | |
171 | #: ../src/polkitgnomeauthenticationdialog.c:529 | |
159 | #: ../src/polkitgnomeauthenticationdialog.c:531 | |
172 | 160 | msgid "_Authenticate" |
173 | 161 | msgstr "驗證(_A)" |
174 | 162 | |
175 | #: ../src/polkitgnomeauthenticationdialog.c:566 | |
163 | #: ../src/polkitgnomeauthenticationdialog.c:571 | |
176 | 164 | msgid "" |
177 | 165 | "An application is attempting to perform an action that requires privileges. " |
178 | 166 | "Authentication as one of the users below is required to perform this action." |
179 | 167 | msgstr "" |
180 | 168 | "有應用程式試圖進行需要權限的動作。必須授權為下列使用者之一才能進行這個動作。" |
181 | 169 | |
182 | #: ../src/polkitgnomeauthenticationdialog.c:574 | |
170 | #: ../src/polkitgnomeauthenticationdialog.c:579 | |
183 | 171 | msgid "" |
184 | 172 | "An application is attempting to perform an action that requires privileges. " |
185 | 173 | "Authentication is required to perform this action." |
186 | 174 | msgstr "有應用程式試圖進行需要權限的動作。必須獲得授權才能進行這個動作。" |
187 | 175 | |
188 | #: ../src/polkitgnomeauthenticationdialog.c:580 | |
176 | #: ../src/polkitgnomeauthenticationdialog.c:585 | |
189 | 177 | msgid "" |
190 | 178 | "An application is attempting to perform an action that requires privileges. " |
191 | 179 | "Authentication as the super user is required to perform this action." |
192 | 180 | msgstr "" |
193 | 181 | "有應用程式試圖進行需要權限的動作。必須授權為超級使用者才能進行這個動作。" |
194 | 182 | |
195 | #: ../src/polkitgnomeauthenticationdialog.c:615 | |
196 | #: ../src/polkitgnomeauthenticator.c:289 | |
183 | #: ../src/polkitgnomeauthenticationdialog.c:620 | |
184 | #: ../src/polkitgnomeauthenticator.c:298 | |
197 | 185 | msgid "_Password:" |
198 | 186 | msgstr "密碼(_P):" |
199 | 187 | |
200 | 188 | #. Details |
201 | #: ../src/polkitgnomeauthenticationdialog.c:633 | |
189 | #: ../src/polkitgnomeauthenticationdialog.c:638 | |
202 | 190 | msgid "<small><b>_Details</b></small>" |
203 | 191 | msgstr "<small><b>詳細資料(_D)</b></small>" |
204 | 192 | |
205 | #: ../src/polkitgnomeauthenticationdialog.c:686 | |
193 | #: ../src/polkitgnomeauthenticationdialog.c:691 | |
206 | 194 | msgid "<small><b>Action:</b></small>" |
207 | 195 | msgstr "<small><b>動作:</b></small>" |
208 | 196 | |
209 | #: ../src/polkitgnomeauthenticationdialog.c:689 | |
197 | #: ../src/polkitgnomeauthenticationdialog.c:694 | |
210 | 198 | #, c-format |
211 | 199 | msgid "Click to edit %s" |
212 | 200 | msgstr "按下這裡編輯 %s" |
213 | 201 | |
214 | #: ../src/polkitgnomeauthenticationdialog.c:703 | |
202 | #: ../src/polkitgnomeauthenticationdialog.c:708 | |
215 | 203 | msgid "<small><b>Vendor:</b></small>" |
216 | 204 | msgstr "<small><b>廠商:</b></small>" |
217 | 205 | |
218 | #: ../src/polkitgnomeauthenticationdialog.c:705 | |
206 | #: ../src/polkitgnomeauthenticationdialog.c:710 | |
219 | 207 | #, c-format |
220 | 208 | msgid "Click to open %s" |
221 | 209 | msgstr "按一下來開啟 %s" |
222 | 210 | |
223 | #: ../src/polkitgnomeauthenticationdialog.c:868 | |
211 | #: ../src/polkitgnomeauthenticationdialog.c:873 | |
224 | 212 | msgid "Authenticate" |
225 | 213 | msgstr "驗證" |
226 | 214 | |
227 | #: ../src/polkitgnomeauthenticator.c:285 | |
215 | #: ../src/polkitgnomeauthenticator.c:294 | |
228 | 216 | #, c-format |
229 | 217 | msgid "_Password for %s:" |
230 | 218 | msgstr "%s 的密碼 (_P):" |
231 | 219 | |
232 | #: ../src/polkitgnomeauthenticator.c:445 | |
220 | #: ../src/polkitgnomeauthenticator.c:454 | |
233 | 221 | msgid "Authentication Failure" |
234 | 222 | msgstr "驗證失敗" |
235 | 223 | |
236 | 224 | #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1 |
237 | 225 | msgid "PolicyKit Authentication Agent" |
238 | 226 | 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 | #~ "可以移除鎖定。" | |
239 | 237 | |
240 | 238 | #~ msgid "Authorizations" |
241 | 239 | #~ msgstr "授權" |
358 | 356 | #~ msgstr "如果您的系統管理員不抱怨的話,可以這麼做" |
359 | 357 | |
360 | 358 | #~ msgid "Tweak..." |
361 | #~ msgstr "Tweak..." | |
359 | #~ msgstr "Tweak…" | |
362 | 360 | |
363 | 361 | #~ msgid "Tweak... (long)" |
364 | #~ msgstr "Tweak... (long)" | |
362 | #~ msgstr "Tweak… (long)" | |
365 | 363 | |
366 | 364 | #~ msgid "Only card carrying tweakers can do this!" |
367 | 365 | #~ msgstr "Only card carrying tweakers can do this!" |
442 | 440 | #~ msgstr "Twiddle" |
443 | 441 | |
444 | 442 | #~ msgid "Authenticating..." |
445 | #~ msgstr "正在驗證..." | |
443 | #~ msgstr "正在驗證…" | |
446 | 444 | |
447 | 445 | #~ msgid "Don't exit after 30 seconds of inactivity" |
448 | 446 | #~ msgstr "在 30 秒沒有動作後不要強制結束" |
508 | 506 | #~ msgstr ", " |
509 | 507 | |
510 | 508 | #~ msgid "Must be on console" |
511 | #~ msgstr "必須在主控台" | |
509 | #~ msgstr "必須在主控臺" | |
512 | 510 | |
513 | 511 | #~ msgid "Must be in active session" |
514 | 512 | #~ msgstr "必須在使用中的作業階段" |
627 | 625 | #~ msgstr "必須在使用中的作業階段(_I)" |
628 | 626 | |
629 | 627 | #~ msgid "Must be on _local console" |
630 | #~ msgstr "必須在本地端主控台(_L)" | |
628 | #~ msgstr "必須在本地端主控臺(_L)" | |
631 | 629 | |
632 | 630 | #~ msgid "Must be in _active session on local console" |
633 | #~ msgstr "必須在使用中作業階段的本地端主控台(_A)" | |
631 | #~ msgstr "必須在使用中作業階段的本地端主控臺(_A)" | |
634 | 632 | |
635 | 633 | #~ msgid "_Block..." |
636 | #~ msgstr "阻擋(_B)..." | |
634 | #~ msgstr "阻擋(_B)…" | |
637 | 635 | |
638 | 636 | #~ msgid "_Grant..." |
639 | #~ msgstr "獲得(_G)..." | |
637 | #~ msgstr "獲得(_G)…" | |
640 | 638 | |
641 | 639 | #~ msgid "Edit Implicit Authorizations" |
642 | 640 | #~ msgstr "編輯隱含授權" |
656 | 654 | #~ msgstr "<i>任何人:</i>" |
657 | 655 | |
658 | 656 | #~ msgid "<i>Console:</i>" |
659 | #~ msgstr "<i>主控台:</i>" | |
657 | #~ msgstr "<i>主控臺:</i>" | |
660 | 658 | |
661 | 659 | #~ msgid "<i>Active Console:</i>" |
662 | #~ msgstr "<i>使用中的主控台:</i>" | |
660 | #~ msgstr "<i>使用中的主控臺:</i>" | |
663 | 661 | |
664 | 662 | #~ msgid "_Modify..." |
665 | #~ msgstr "修改(_M)..." | |
663 | #~ msgstr "修改(_M)…" | |
666 | 664 | |
667 | 665 | #~ msgid "<b>Action</b>" |
668 | 666 | #~ msgstr "<b>動作</b>" |
680 | 678 | #~ "Implicit authorizations are authorizations automatically given to users " |
681 | 679 | #~ "based on certain criteria such as if they are on the local console." |
682 | 680 | #~ msgstr "" |
683 | #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控台時)可以自動獲得" | |
681 | #~ "隱含授權是指使用者在特定條件下(像是當他們使用本地端主控臺時)可以自動獲得" | |
684 | 682 | #~ "的授權。" |
685 | 683 | |
686 | 684 | #~ msgid "_Edit..." |
687 | #~ msgstr "編輯(_E)..." | |
685 | #~ msgstr "編輯(_E)…" | |
688 | 686 | |
689 | 687 | #~ msgid "Revert To _Defaults..." |
690 | #~ msgstr "重置為預設值(_D)..." | |
688 | #~ msgstr "重置為預設值(_D)…" | |
691 | 689 | |
692 | 690 | #~ msgid "<b>Explicit Authorizations</b>" |
693 | 691 | #~ msgstr "<b>明確授權</b>" |
716 | 714 | #~ msgstr "註銷(_R)" |
717 | 715 | |
718 | 716 | #~ msgid "_Revoke..." |
719 | #~ msgstr "註銷(_R)..." | |
717 | #~ msgstr "註銷(_R)…" | |
720 | 718 | |
721 | 719 | #~ msgid "_Show authorizations from all users..." |
722 | #~ msgstr "顯示所有使用者的授權(_S)..." | |
720 | #~ msgstr "顯示所有使用者的授權(_S)…" | |
723 | 721 | |
724 | 722 | #~ msgid "_Show authorizations from all users" |
725 | 723 | #~ msgstr "顯示所有使用者的授權(_S)" |
79 | 79 | --namespace PolkitGtk \ |
80 | 80 | --strip-prefix=Polkit \ |
81 | 81 | --nsversion=1.0 \ |
82 | --include=Gtk-2.0 \ | |
82 | --include=Gtk-$(GTK_API_VERSION) \ | |
83 | 83 | --include=Polkit-1.0 \ |
84 | 84 | --library=polkit-gtk-1 \ |
85 | 85 | --output $@ \ |
86 | 86 | --pkg=polkit-gobject-1 \ |
87 | --pkg=gtk+-2.0 \ | |
87 | --pkg=gtk+-$(GTK_API_VERSION) \ | |
88 | 88 | --libtool=$(top_builddir)/libtool \ |
89 | 89 | -I$(top_srcdir) \ |
90 | 90 | -DPOLKIT_GTK_COMPILATION \ |
172 | 172 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
173 | 173 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
174 | 174 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
175 | GTK_API_VERSION = @GTK_API_VERSION@ | |
175 | 176 | GTK_CFLAGS = @GTK_CFLAGS@ |
176 | 177 | GTK_LIBS = @GTK_LIBS@ |
177 | 178 | G_IR_COMPILER = @G_IR_COMPILER@ |
224 | 225 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
225 | 226 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
226 | 227 | PKG_CONFIG = @PKG_CONFIG@ |
228 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | |
229 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | |
227 | 230 | POFILES = @POFILES@ |
228 | 231 | POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@ |
229 | 232 | POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@ |
277 | 280 | libexecdir = @libexecdir@ |
278 | 281 | localedir = @localedir@ |
279 | 282 | localstatedir = @localstatedir@ |
280 | lt_ECHO = @lt_ECHO@ | |
281 | 283 | mandir = @mandir@ |
282 | 284 | mkdir_p = @mkdir_p@ |
283 | 285 | oldincludedir = @oldincludedir@ |
801 | 803 | @ENABLE_INTROSPECTION_TRUE@ --namespace PolkitGtk \ |
802 | 804 | @ENABLE_INTROSPECTION_TRUE@ --strip-prefix=Polkit \ |
803 | 805 | @ENABLE_INTROSPECTION_TRUE@ --nsversion=1.0 \ |
804 | @ENABLE_INTROSPECTION_TRUE@ --include=Gtk-2.0 \ | |
806 | @ENABLE_INTROSPECTION_TRUE@ --include=Gtk-$(GTK_API_VERSION) \ | |
805 | 807 | @ENABLE_INTROSPECTION_TRUE@ --include=Polkit-1.0 \ |
806 | 808 | @ENABLE_INTROSPECTION_TRUE@ --library=polkit-gtk-1 \ |
807 | 809 | @ENABLE_INTROSPECTION_TRUE@ --output $@ \ |
808 | 810 | @ENABLE_INTROSPECTION_TRUE@ --pkg=polkit-gobject-1 \ |
809 | @ENABLE_INTROSPECTION_TRUE@ --pkg=gtk+-2.0 \ | |
811 | @ENABLE_INTROSPECTION_TRUE@ --pkg=gtk+-$(GTK_API_VERSION) \ | |
810 | 812 | @ENABLE_INTROSPECTION_TRUE@ --libtool=$(top_builddir)/libtool \ |
811 | 813 | @ENABLE_INTROSPECTION_TRUE@ -I$(top_srcdir) \ |
812 | 814 | @ENABLE_INTROSPECTION_TRUE@ -DPOLKIT_GTK_COMPILATION \ |
0 | 0 | |
1 | 1 | 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),' > $@ | |
10 | 2 | |
11 | 3 | libexec_PROGRAMS = polkit-gnome-authentication-agent-1 |
12 | 4 | |
44 | 36 | $(POLKIT_GOBJECT_LIBS) \ |
45 | 37 | $(INTLLIBS) |
46 | 38 | |
47 | EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in.in | |
39 | EXTRA_DIST = | |
48 | 40 | |
49 | 41 | clean-local : |
50 | rm -f *~ polkit-gnome-authentication-agent-1.desktop polkit-gnome-authentication-agent-1.desktop.in | |
42 | rm -f *~ |
13 | 13 | # PARTICULAR PURPOSE. |
14 | 14 | |
15 | 15 | @SET_MAKE@ |
16 | ||
17 | 16 | |
18 | 17 | VPATH = @srcdir@ |
19 | 18 | pkgdatadir = $(datadir)/@PACKAGE@ |
45 | 44 | CONFIG_HEADER = $(top_builddir)/config.h |
46 | 45 | CONFIG_CLEAN_FILES = |
47 | 46 | CONFIG_CLEAN_VPATH_FILES = |
48 | am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(desktopdir)" | |
47 | am__installdirs = "$(DESTDIR)$(libexecdir)" | |
49 | 48 | PROGRAMS = $(libexec_PROGRAMS) |
50 | 49 | am_polkit_gnome_authentication_agent_1_OBJECTS = polkit_gnome_authentication_agent_1-polkitgnomelistener.$(OBJEXT) \ |
51 | 50 | polkit_gnome_authentication_agent_1-polkitgnomeauthenticator.$(OBJEXT) \ |
93 | 92 | am__v_GEN_0 = @echo " GEN " $@; |
94 | 93 | SOURCES = $(polkit_gnome_authentication_agent_1_SOURCES) |
95 | 94 | 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) | |
118 | 95 | ETAGS = etags |
119 | 96 | CTAGS = ctags |
120 | 97 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
161 | 138 | GTKDOC_CHECK = @GTKDOC_CHECK@ |
162 | 139 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
163 | 140 | GTKDOC_REBASE = @GTKDOC_REBASE@ |
141 | GTK_API_VERSION = @GTK_API_VERSION@ | |
164 | 142 | GTK_CFLAGS = @GTK_CFLAGS@ |
165 | 143 | GTK_LIBS = @GTK_LIBS@ |
166 | 144 | G_IR_COMPILER = @G_IR_COMPILER@ |
213 | 191 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
214 | 192 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
215 | 193 | PKG_CONFIG = @PKG_CONFIG@ |
194 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | |
195 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | |
216 | 196 | POFILES = @POFILES@ |
217 | 197 | POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@ |
218 | 198 | POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@ |
266 | 246 | libexecdir = @libexecdir@ |
267 | 247 | localedir = @localedir@ |
268 | 248 | localstatedir = @localstatedir@ |
269 | lt_ECHO = @lt_ECHO@ | |
270 | 249 | mandir = @mandir@ |
271 | 250 | mkdir_p = @mkdir_p@ |
272 | 251 | oldincludedir = @oldincludedir@ |
283 | 262 | top_builddir = @top_builddir@ |
284 | 263 | top_srcdir = @top_srcdir@ |
285 | 264 | FULL_LIBEXECDIR = $(libexecdir) |
286 | desktopdir = $(sysconfdir)/xdg/autostart | |
287 | desktop_DATA = polkit-gnome-authentication-agent-1.desktop | |
288 | 265 | polkit_gnome_authentication_agent_1_SOURCES = \ |
289 | 266 | polkitgnomelistener.h polkitgnomelistener.c \ |
290 | 267 | polkitgnomeauthenticator.h polkitgnomeauthenticator.c \ |
319 | 296 | $(POLKIT_GOBJECT_LIBS) \ |
320 | 297 | $(INTLLIBS) |
321 | 298 | |
322 | EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in.in | |
299 | EXTRA_DIST = | |
323 | 300 | all: all-am |
324 | 301 | |
325 | 302 | .SUFFIXES: |
505 | 482 | |
506 | 483 | clean-libtool: |
507 | 484 | -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 | |
528 | 485 | |
529 | 486 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
530 | 487 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
610 | 567 | done |
611 | 568 | check-am: all-am |
612 | 569 | check: check-am |
613 | all-am: Makefile $(PROGRAMS) $(DATA) | |
570 | all-am: Makefile $(PROGRAMS) | |
614 | 571 | installdirs: |
615 | for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(desktopdir)"; do \ | |
572 | for dir in "$(DESTDIR)$(libexecdir)"; do \ | |
616 | 573 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
617 | 574 | done |
618 | 575 | install: install-am |
663 | 620 | |
664 | 621 | info-am: |
665 | 622 | |
666 | install-data-am: install-desktopDATA | |
623 | install-data-am: | |
667 | 624 | |
668 | 625 | install-dvi: install-dvi-am |
669 | 626 | |
709 | 666 | |
710 | 667 | ps-am: |
711 | 668 | |
712 | uninstall-am: uninstall-desktopDATA uninstall-libexecPROGRAMS | |
669 | uninstall-am: uninstall-libexecPROGRAMS | |
713 | 670 | |
714 | 671 | .MAKE: install-am install-strip |
715 | 672 | |
718 | 675 | distclean distclean-compile distclean-generic \ |
719 | 676 | distclean-libtool distclean-tags distdir dvi dvi-am html \ |
720 | 677 | 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 | ||
736 | 688 | |
737 | 689 | clean-local : |
738 | rm -f *~ polkit-gnome-authentication-agent-1.desktop polkit-gnome-authentication-agent-1.desktop.in | |
690 | rm -f *~ | |
739 | 691 | |
740 | 692 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
741 | 693 | # Otherwise a system limit (for SysV at least) may be exceeded. |
35 | 35 | /* the session we are servicing */ |
36 | 36 | static PolkitSubject *session = NULL; |
37 | 37 | |
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 | ||
200 | 38 | int |
201 | 39 | main (int argc, char **argv) |
202 | 40 | { |
230 | 68 | g_error_free (error); |
231 | 69 | goto out; |
232 | 70 | } |
233 | g_signal_connect (authority, | |
234 | "changed", | |
235 | G_CALLBACK (on_authority_changed), | |
236 | NULL); | |
237 | 71 | |
238 | 72 | listener = polkit_gnome_listener_new (); |
239 | 73 | |
257 | 91 | goto out; |
258 | 92 | } |
259 | 93 | |
260 | update_temporary_authorization_icon (authority); | |
261 | ||
262 | 94 | g_main_loop_run (loop); |
263 | 95 | |
264 | 96 | ret = 0; |
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; |
206 | 206 | g_free (path); |
207 | 207 | } |
208 | 208 | |
209 | /* fall back to stock_person icon */ | |
209 | /* fall back to avatar-default icon */ | |
210 | 210 | if (pixbuf == NULL) |
211 | 211 | { |
212 | 212 | pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), |
213 | "stock_person", | |
213 | "avatar-default", | |
214 | 214 | GTK_ICON_SIZE_MENU, |
215 | 215 | 0, |
216 | 216 | NULL); |
534 | 534 | content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); |
535 | 535 | action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog)); |
536 | 536 | |
537 | gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); | |
538 | 537 | gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); |
539 | 538 | gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */ |
540 | 539 | gtk_container_set_border_width (GTK_CONTAINER (action_area), 5); |
661 | 660 | const gchar *key = keys[n]; |
662 | 661 | const gchar *value; |
663 | 662 | |
663 | if (g_str_has_prefix (key, "polkit.")) | |
664 | continue; | |
665 | ||
664 | 666 | value = polkit_details_lookup (dialog->priv->details, key); |
665 | 667 | |
666 | 668 | label = gtk_label_new (NULL); |
995 | 997 | |
996 | 998 | response = gtk_dialog_run (GTK_DIALOG (dialog)); |
997 | 999 | |
998 | gtk_widget_hide_all (dialog->priv->table_alignment); | |
1000 | gtk_widget_hide (dialog->priv->table_alignment); | |
999 | 1001 | gtk_widget_set_no_show_all (dialog->priv->table_alignment, TRUE); |
1000 | 1002 | |
1001 | 1003 | dialog->priv->is_running = FALSE; |