1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
3 |
# Generated by GNU Autoconf 2.63 for pango 1.26.2. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4 |
# |
5 |
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>. |
|
6 |
# |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
7 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
9 |
# This configure script is free software; the Free Software Foundation |
10 |
# gives unlimited permission to copy, distribute and modify it. |
|
11 |
## --------------------- ## |
|
12 |
## M4sh Initialization. ## |
|
13 |
## --------------------- ## |
|
14 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
15 |
# Be more Bourne compatible |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16 |
DUALCASE=1; export DUALCASE # for MKS sh |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
17 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18 |
emulate sh |
|
19 |
NULLCMD=: |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21 |
# is contrary to our usage. Disable this feature. |
22 |
alias -g '${1+"$@"}'='"$@"' |
|
23 |
setopt NO_GLOB_SUBST |
|
24 |
else |
|
25 |
case `(set -o) 2>/dev/null` in |
|
26 |
*posix*) set -o posix ;; |
|
27 |
esac |
|
28 |
||
29 |
fi |
|
30 |
||
31 |
||
32 |
||
33 |
||
34 |
# PATH needs CR |
|
35 |
# Avoid depending upon Character Ranges. |
|
36 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
37 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
38 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
39 |
as_cr_digits='0123456789' |
|
40 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
41 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
42 |
as_nl=' |
43 |
' |
|
44 |
export as_nl |
|
45 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
46 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
47 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
48 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
49 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
50 |
as_echo='printf %s\n' |
|
51 |
as_echo_n='printf %s' |
|
52 |
else |
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
as_echo_n='/usr/ucb/echo -n' |
|
56 |
else |
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
as_echo_n_body='eval |
|
59 |
arg=$1; |
|
60 |
case $arg in |
|
61 |
*"$as_nl"*) |
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
64 |
esac; |
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
66 |
' |
|
67 |
export as_echo_n_body |
|
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
fi |
|
70 |
export as_echo_body |
|
71 |
as_echo='sh -c $as_echo_body as_echo' |
|
72 |
fi |
|
73 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
74 |
# The user is always right. |
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
76 |
PATH_SEPARATOR=: |
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
PATH_SEPARATOR=';' |
|
80 |
} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
81 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
82 |
|
83 |
# Support unset when possible. |
|
84 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
85 |
as_unset=unset |
|
86 |
else |
|
87 |
as_unset=false |
|
88 |
fi |
|
89 |
||
90 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
91 |
# IFS |
92 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
93 |
# there to prevent editors from complaining about space-tab. |
|
94 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
95 |
# splitting by setting IFS to empty value.) |
|
96 |
IFS=" "" $as_nl" |
|
97 |
||
98 |
# Find who we are. Look in the path if we contain no directory separator. |
|
99 |
case $0 in |
|
100 |
*[\\/]* ) as_myself=$0 ;; |
|
101 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
102 |
for as_dir in $PATH |
|
103 |
do |
|
104 |
IFS=$as_save_IFS |
|
105 |
test -z "$as_dir" && as_dir=. |
|
106 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
107 |
done |
|
108 |
IFS=$as_save_IFS |
|
109 |
||
110 |
;; |
|
111 |
esac |
|
112 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
113 |
# in which case we are not to be found in the path. |
|
114 |
if test "x$as_myself" = x; then |
|
115 |
as_myself=$0 |
|
116 |
fi |
|
117 |
if test ! -f "$as_myself"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
118 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
119 |
{ (exit 1); exit 1; } |
120 |
fi |
|
121 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
122 |
# Work around bugs in pre-3.0 UWIN ksh. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
123 |
for as_var in ENV MAIL MAILPATH |
124 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
125 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
126 |
PS1='$ ' |
127 |
PS2='> ' |
|
128 |
PS4='+ ' |
|
129 |
||
130 |
# NLS nuisances. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
131 |
LC_ALL=C |
132 |
export LC_ALL |
|
133 |
LANGUAGE=C |
|
134 |
export LANGUAGE |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
135 |
|
136 |
# Required to use basename. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
137 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
138 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
139 |
as_expr=expr |
140 |
else |
|
141 |
as_expr=false |
|
142 |
fi |
|
143 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
144 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
145 |
as_basename=basename |
146 |
else |
|
147 |
as_basename=false |
|
148 |
fi |
|
149 |
||
150 |
||
151 |
# Name of the executable. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
152 |
as_me=`$as_basename -- "$0" || |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
153 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
154 |
X"$0" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
155 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
156 |
$as_echo X/"$0" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
157 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
158 |
s//\1/ |
|
159 |
q |
|
160 |
} |
|
161 |
/^X\/\(\/\/\)$/{ |
|
162 |
s//\1/ |
|
163 |
q |
|
164 |
} |
|
165 |
/^X\/\(\/\).*/{ |
|
166 |
s//\1/ |
|
167 |
q |
|
168 |
} |
|
169 |
s/.*/./; q'` |
|
170 |
||
171 |
# CDPATH. |
|
172 |
$as_unset CDPATH |
|
173 |
||
174 |
||
175 |
if test "x$CONFIG_SHELL" = x; then |
|
176 |
if (eval ":") 2>/dev/null; then |
|
177 |
as_have_required=yes |
|
178 |
else |
|
179 |
as_have_required=no |
|
180 |
fi |
|
181 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
182 |
if test $as_have_required = yes && (eval ": |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
183 |
(as_func_return () { |
184 |
(exit \$1) |
|
185 |
} |
|
186 |
as_func_success () { |
|
187 |
as_func_return 0 |
|
188 |
} |
|
189 |
as_func_failure () { |
|
190 |
as_func_return 1 |
|
191 |
} |
|
192 |
as_func_ret_success () { |
|
193 |
return 0 |
|
194 |
} |
|
195 |
as_func_ret_failure () { |
|
196 |
return 1 |
|
197 |
} |
|
198 |
||
199 |
exitcode=0 |
|
200 |
if as_func_success; then |
|
201 |
: |
|
202 |
else |
|
203 |
exitcode=1 |
|
204 |
echo as_func_success failed. |
|
205 |
fi |
|
206 |
||
207 |
if as_func_failure; then |
|
208 |
exitcode=1 |
|
209 |
echo as_func_failure succeeded. |
|
210 |
fi |
|
211 |
||
212 |
if as_func_ret_success; then |
|
213 |
: |
|
214 |
else |
|
215 |
exitcode=1 |
|
216 |
echo as_func_ret_success failed. |
|
217 |
fi |
|
218 |
||
219 |
if as_func_ret_failure; then |
|
220 |
exitcode=1 |
|
221 |
echo as_func_ret_failure succeeded. |
|
222 |
fi |
|
223 |
||
224 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
225 |
: |
|
226 |
else |
|
227 |
exitcode=1 |
|
228 |
echo positional parameters were not saved. |
|
229 |
fi |
|
230 |
||
231 |
test \$exitcode = 0) || { (exit 1); exit 1; } |
|
232 |
||
233 |
( |
|
234 |
as_lineno_1=\$LINENO |
|
235 |
as_lineno_2=\$LINENO |
|
236 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
237 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
238 |
") 2> /dev/null; then |
|
239 |
: |
|
240 |
else |
|
241 |
as_candidate_shells= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
242 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
243 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
244 |
do |
|
245 |
IFS=$as_save_IFS |
|
246 |
test -z "$as_dir" && as_dir=. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
247 |
case $as_dir in |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
248 |
/*) |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
249 |
for as_base in sh bash ksh sh5; do |
250 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
251 |
done;; |
|
252 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
253 |
done |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
254 |
IFS=$as_save_IFS |
255 |
||
256 |
||
257 |
for as_shell in $as_candidate_shells $SHELL; do |
|
258 |
# Try only shells that exist, to save several forks. |
|
259 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
260 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
|
261 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
262 |
emulate sh |
|
263 |
NULLCMD=: |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
264 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
265 |
# is contrary to our usage. Disable this feature. |
266 |
alias -g '${1+"$@"}'='"$@"' |
|
267 |
setopt NO_GLOB_SUBST |
|
268 |
else |
|
269 |
case `(set -o) 2>/dev/null` in |
|
270 |
*posix*) set -o posix ;; |
|
271 |
esac |
|
272 |
||
273 |
fi |
|
274 |
||
275 |
||
276 |
: |
|
277 |
_ASEOF |
|
278 |
}; then |
|
279 |
CONFIG_SHELL=$as_shell |
|
280 |
as_have_required=yes |
|
281 |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
282 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
283 |
emulate sh |
|
284 |
NULLCMD=: |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
285 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
286 |
# is contrary to our usage. Disable this feature. |
287 |
alias -g '${1+"$@"}'='"$@"' |
|
288 |
setopt NO_GLOB_SUBST |
|
289 |
else |
|
290 |
case `(set -o) 2>/dev/null` in |
|
291 |
*posix*) set -o posix ;; |
|
292 |
esac |
|
293 |
||
294 |
fi |
|
295 |
||
296 |
||
297 |
: |
|
298 |
(as_func_return () { |
|
299 |
(exit $1) |
|
300 |
} |
|
301 |
as_func_success () { |
|
302 |
as_func_return 0 |
|
303 |
} |
|
304 |
as_func_failure () { |
|
305 |
as_func_return 1 |
|
306 |
} |
|
307 |
as_func_ret_success () { |
|
308 |
return 0 |
|
309 |
} |
|
310 |
as_func_ret_failure () { |
|
311 |
return 1 |
|
312 |
} |
|
313 |
||
314 |
exitcode=0 |
|
315 |
if as_func_success; then |
|
316 |
: |
|
317 |
else |
|
318 |
exitcode=1 |
|
319 |
echo as_func_success failed. |
|
320 |
fi |
|
321 |
||
322 |
if as_func_failure; then |
|
323 |
exitcode=1 |
|
324 |
echo as_func_failure succeeded. |
|
325 |
fi |
|
326 |
||
327 |
if as_func_ret_success; then |
|
328 |
: |
|
329 |
else |
|
330 |
exitcode=1 |
|
331 |
echo as_func_ret_success failed. |
|
332 |
fi |
|
333 |
||
334 |
if as_func_ret_failure; then |
|
335 |
exitcode=1 |
|
336 |
echo as_func_ret_failure succeeded. |
|
337 |
fi |
|
338 |
||
339 |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
340 |
: |
|
341 |
else |
|
342 |
exitcode=1 |
|
343 |
echo positional parameters were not saved. |
|
344 |
fi |
|
345 |
||
346 |
test $exitcode = 0) || { (exit 1); exit 1; } |
|
347 |
||
348 |
( |
|
349 |
as_lineno_1=$LINENO |
|
350 |
as_lineno_2=$LINENO |
|
351 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
352 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|
353 |
||
354 |
_ASEOF |
|
355 |
}; then |
|
356 |
break |
|
357 |
fi |
|
358 |
||
359 |
fi |
|
360 |
||
361 |
done |
|
362 |
||
363 |
if test "x$CONFIG_SHELL" != x; then |
|
364 |
for as_var in BASH_ENV ENV |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
365 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
366 |
done |
|
367 |
export CONFIG_SHELL |
|
368 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
369 |
fi |
370 |
||
371 |
||
372 |
if test $as_have_required = no; then |
|
373 |
echo This script requires a shell more modern than all the |
|
374 |
echo shells that I found on your system. Please install a |
|
375 |
echo modern shell, or manually run the script under such a |
|
376 |
echo shell if you do have one. |
|
377 |
{ (exit 1); exit 1; } |
|
378 |
fi |
|
379 |
||
380 |
||
381 |
fi |
|
382 |
||
383 |
fi |
|
384 |
||
385 |
||
386 |
||
387 |
(eval "as_func_return () { |
|
388 |
(exit \$1) |
|
389 |
} |
|
390 |
as_func_success () { |
|
391 |
as_func_return 0 |
|
392 |
} |
|
393 |
as_func_failure () { |
|
394 |
as_func_return 1 |
|
395 |
} |
|
396 |
as_func_ret_success () { |
|
397 |
return 0 |
|
398 |
} |
|
399 |
as_func_ret_failure () { |
|
400 |
return 1 |
|
401 |
} |
|
402 |
||
403 |
exitcode=0 |
|
404 |
if as_func_success; then |
|
405 |
: |
|
406 |
else |
|
407 |
exitcode=1 |
|
408 |
echo as_func_success failed. |
|
409 |
fi |
|
410 |
||
411 |
if as_func_failure; then |
|
412 |
exitcode=1 |
|
413 |
echo as_func_failure succeeded. |
|
414 |
fi |
|
415 |
||
416 |
if as_func_ret_success; then |
|
417 |
: |
|
418 |
else |
|
419 |
exitcode=1 |
|
420 |
echo as_func_ret_success failed. |
|
421 |
fi |
|
422 |
||
423 |
if as_func_ret_failure; then |
|
424 |
exitcode=1 |
|
425 |
echo as_func_ret_failure succeeded. |
|
426 |
fi |
|
427 |
||
428 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
429 |
: |
|
430 |
else |
|
431 |
exitcode=1 |
|
432 |
echo positional parameters were not saved. |
|
433 |
fi |
|
434 |
||
435 |
test \$exitcode = 0") || { |
|
436 |
echo No shell found that supports shell functions. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
437 |
echo Please tell bug-autoconf@gnu.org about your system, |
438 |
echo including any error possibly output before this message. |
|
439 |
echo This can help us improve future autoconf versions. |
|
440 |
echo Configuration will now proceed without shell functions. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
441 |
} |
442 |
||
443 |
||
444 |
||
445 |
as_lineno_1=$LINENO |
|
446 |
as_lineno_2=$LINENO |
|
447 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
448 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
449 |
|
450 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
451 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
452 |
# line-number line after each line using $LINENO; the second 'sed' |
453 |
# does the real work. The second script uses 'N' to pair each |
|
454 |
# line-number line with the line containing $LINENO, and appends |
|
455 |
# trailing '-' during substitution so that $LINENO is not a special |
|
456 |
# case at line end. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
457 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
458 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
459 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
460 |
sed -n ' |
|
461 |
p |
|
462 |
/[$]LINENO/= |
|
463 |
' <$as_myself | |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
464 |
sed ' |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
465 |
s/[$]LINENO.*/&-/ |
466 |
t lineno |
|
467 |
b |
|
468 |
:lineno |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
469 |
N |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
470 |
:loop |
471 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
472 |
t loop |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
473 |
s/-\n.*// |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
474 |
' >$as_me.lineno && |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
475 |
chmod +x "$as_me.lineno" || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
476 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
477 |
{ (exit 1); exit 1; }; } |
478 |
||
479 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
480 |
# (the dirname of $[0] is not the place where we might find the |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
481 |
# original and so on. Autoconf is especially sensitive to this). |
482 |
. "./$as_me.lineno" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
483 |
# Exit status is that of the last command. |
484 |
exit |
|
485 |
} |
|
486 |
||
487 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
488 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
489 |
as_dirname=dirname |
|
490 |
else |
|
491 |
as_dirname=false |
|
492 |
fi |
|
493 |
||
494 |
ECHO_C= ECHO_N= ECHO_T= |
|
495 |
case `echo -n x` in |
|
496 |
-n*) |
|
497 |
case `echo 'x\c'` in |
|
498 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
499 |
*) ECHO_C='\c';; |
|
500 |
esac;; |
|
501 |
*) |
|
502 |
ECHO_N='-n';; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
503 |
esac |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
504 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
505 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
506 |
as_expr=expr |
507 |
else |
|
508 |
as_expr=false |
|
509 |
fi |
|
510 |
||
511 |
rm -f conf$$ conf$$.exe conf$$.file |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
512 |
if test -d conf$$.dir; then |
513 |
rm -f conf$$.dir/conf$$.file |
|
514 |
else |
|
515 |
rm -f conf$$.dir |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
516 |
mkdir conf$$.dir 2>/dev/null |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
517 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
518 |
if (echo >conf$$.file) 2>/dev/null; then |
519 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
520 |
as_ln_s='ln -s' |
|
521 |
# ... but there are two gotchas: |
|
522 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
523 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
524 |
# In both cases, we have to default to `cp -p'. |
|
525 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
526 |
as_ln_s='cp -p' |
|
527 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
528 |
as_ln_s=ln |
|
529 |
else |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
530 |
as_ln_s='cp -p' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
531 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
532 |
else |
533 |
as_ln_s='cp -p' |
|
534 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
535 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
536 |
rmdir conf$$.dir 2>/dev/null |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
537 |
|
538 |
if mkdir -p . 2>/dev/null; then |
|
539 |
as_mkdir_p=: |
|
540 |
else |
|
541 |
test -d ./-p && rmdir ./-p |
|
542 |
as_mkdir_p=false |
|
543 |
fi |
|
544 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
545 |
if test -x / >/dev/null 2>&1; then |
546 |
as_test_x='test -x' |
|
547 |
else |
|
548 |
if ls -dL / >/dev/null 2>&1; then |
|
549 |
as_ls_L_option=L |
|
550 |
else |
|
551 |
as_ls_L_option= |
|
552 |
fi |
|
553 |
as_test_x=' |
|
554 |
eval sh -c '\'' |
|
555 |
if test -d "$1"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
556 |
test -d "$1/."; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
557 |
else |
558 |
case $1 in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
559 |
-*)set "./$1";; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
560 |
esac; |
561 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
562 |
???[sx]*):;;*)false;;esac;fi |
|
563 |
'\'' sh |
|
564 |
' |
|
565 |
fi |
|
566 |
as_executable_p=$as_test_x |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
567 |
|
568 |
# Sed expression to map a string onto a valid CPP name. |
|
569 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
570 |
||
571 |
# Sed expression to map a string onto a valid variable name. |
|
572 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
573 |
||
574 |
||
575 |
||
576 |
||
577 |
# Check that we are running under the correct shell. |
|
578 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
579 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
580 |
case X$lt_ECHO in |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
581 |
X*--fallback-echo) |
582 |
# Remove one level of quotation (which was required for Make). |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
583 |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
584 |
;; |
585 |
esac |
|
586 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
587 |
ECHO=${lt_ECHO-echo} |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
588 |
if test "X$1" = X--no-reexec; then |
589 |
# Discard the --no-reexec flag, and continue. |
|
590 |
shift |
|
591 |
elif test "X$1" = X--fallback-echo; then |
|
592 |
# Avoid inline document here, it may be left over |
|
593 |
: |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
594 |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
595 |
# Yippee, $ECHO works! |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
596 |
: |
597 |
else |
|
598 |
# Restart under the correct shell. |
|
599 |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
|
600 |
fi |
|
601 |
||
602 |
if test "X$1" = X--fallback-echo; then |
|
603 |
# used as fallback echo |
|
604 |
shift |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
605 |
cat <<_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
606 |
$* |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
607 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
608 |
exit 0 |
609 |
fi |
|
610 |
||
611 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
612 |
# if CDPATH is set. |
|
613 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
614 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
615 |
if test -z "$lt_ECHO"; then |
616 |
if test "X${echo_test_string+set}" != Xset; then |
|
617 |
# find a string as large as possible, as long as the shell can cope with it |
|
618 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
|
619 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
|
620 |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
|
621 |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
|
622 |
then |
|
623 |
break |
|
624 |
fi |
|
625 |
done |
|
626 |
fi |
|
627 |
||
628 |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
|
629 |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
|
630 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
631 |
: |
|
632 |
else |
|
633 |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
|
634 |
# backslashes. This makes it impossible to quote backslashes using |
|
635 |
# echo "$something" | sed 's/\\/\\\\/g' |
|
636 |
# |
|
637 |
# So, first we look for a working echo in the user's PATH. |
|
638 |
||
639 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
640 |
for dir in $PATH /usr/ucb; do |
|
641 |
IFS="$lt_save_ifs" |
|
642 |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
643 |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
644 |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
645 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
646 |
ECHO="$dir/echo" |
|
647 |
break |
|
648 |
fi |
|
649 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
650 |
IFS="$lt_save_ifs" |
651 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
652 |
if test "X$ECHO" = Xecho; then |
653 |
# We didn't find a better echo, so look for alternatives. |
|
654 |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
|
655 |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
|
656 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
657 |
# This shell has a builtin print -r that does the trick. |
|
658 |
ECHO='print -r' |
|
659 |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
|
660 |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
|
661 |
# If we have ksh, try running configure again with it. |
|
662 |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
|
663 |
export ORIGINAL_CONFIG_SHELL |
|
664 |
CONFIG_SHELL=/bin/ksh |
|
665 |
export CONFIG_SHELL |
|
666 |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
667 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
668 |
# Try using printf. |
669 |
ECHO='printf %s\n' |
|
670 |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
|
671 |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
|
672 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
673 |
# Cool, printf works |
|
674 |
: |
|
675 |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
676 |
test "X$echo_testing_string" = 'X\t' && |
|
677 |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
678 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
679 |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
|
680 |
export CONFIG_SHELL |
|
681 |
SHELL="$CONFIG_SHELL" |
|
682 |
export SHELL |
|
683 |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
684 |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
685 |
test "X$echo_testing_string" = 'X\t' && |
|
686 |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
687 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
688 |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
689 |
else |
|
690 |
# maybe with a smaller string... |
|
691 |
prev=: |
|
692 |
||
693 |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
|
694 |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
|
695 |
then |
|
696 |
break |
|
697 |
fi |
|
698 |
prev="$cmd" |
|
699 |
done |
|
700 |
||
701 |
if test "$prev" != 'sed 50q "$0"'; then |
|
702 |
echo_test_string=`eval $prev` |
|
703 |
export echo_test_string |
|
704 |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
705 |
else |
|
706 |
# Oops. We lost completely, so just stick with echo. |
|
707 |
ECHO=echo |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
708 |
fi |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
709 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
710 |
fi |
711 |
fi |
|
712 |
fi |
|
713 |
fi |
|
714 |
||
715 |
# Copy echo and quote the copy suitably for passing to libtool from |
|
716 |
# the Makefile, instead of quoting the original, which is used later. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
717 |
lt_ECHO=$ECHO |
718 |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
|
719 |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
720 |
fi |
721 |
||
722 |
||
723 |
||
724 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
725 |
exec 7<&0 </dev/null 6>&1 |
726 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
727 |
# Name of the host. |
728 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|
729 |
# so uname gets run too. |
|
730 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
731 |
||
732 |
# |
|
733 |
# Initializations. |
|
734 |
# |
|
735 |
ac_default_prefix=/usr/local |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
736 |
ac_clean_files= |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
737 |
ac_config_libobj_dir=. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
738 |
LIBOBJS= |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
739 |
cross_compiling=no |
740 |
subdirs= |
|
741 |
MFLAGS= |
|
742 |
MAKEFLAGS= |
|
743 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
744 |
||
745 |
# Identity of this package. |
|
746 |
PACKAGE_NAME='pango' |
|
747 |
PACKAGE_TARNAME='pango' |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
748 |
PACKAGE_VERSION='1.26.2' |
749 |
PACKAGE_STRING='pango 1.26.2' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
750 |
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pango' |
751 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
752 |
ac_unique_file="pango.pc.in" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
753 |
# Factoring default headers for most tests. |
754 |
ac_includes_default="\ |
|
755 |
#include <stdio.h> |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
756 |
#ifdef HAVE_SYS_TYPES_H |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
757 |
# include <sys/types.h> |
758 |
#endif |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
759 |
#ifdef HAVE_SYS_STAT_H |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
760 |
# include <sys/stat.h> |
761 |
#endif |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
762 |
#ifdef STDC_HEADERS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
763 |
# include <stdlib.h> |
764 |
# include <stddef.h> |
|
765 |
#else |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
766 |
# ifdef HAVE_STDLIB_H |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
767 |
# include <stdlib.h> |
768 |
# endif |
|
769 |
#endif |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
770 |
#ifdef HAVE_STRING_H |
771 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
772 |
# include <memory.h> |
773 |
# endif |
|
774 |
# include <string.h> |
|
775 |
#endif |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
776 |
#ifdef HAVE_STRINGS_H |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
777 |
# include <strings.h> |
778 |
#endif |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
779 |
#ifdef HAVE_INTTYPES_H |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
780 |
# include <inttypes.h> |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
781 |
#endif |
782 |
#ifdef HAVE_STDINT_H |
|
783 |
# include <stdint.h> |
|
784 |
#endif |
|
785 |
#ifdef HAVE_UNISTD_H |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
786 |
# include <unistd.h> |
787 |
#endif" |
|
788 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
789 |
ac_subst_vars='am__EXEEXT_FALSE |
790 |
am__EXEEXT_TRUE |
|
791 |
LTLIBOBJS |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
792 |
LIBOBJS |
793 |
DISABLE_EXPLICIT_DEPS_FALSE |
|
794 |
DISABLE_EXPLICIT_DEPS_TRUE |
|
795 |
PKGCONFIG_CAIRO_REQUIRES |
|
796 |
PKGCONFIG_MATH_LIBS |
|
797 |
MODULE_LIBTOOL_OPTIONS |
|
798 |
LIBRARY_LIBTOOL_OPTIONS |
|
799 |
ENABLE_DOC_CROSS_REFERENCES_FALSE |
|
800 |
ENABLE_DOC_CROSS_REFERENCES_TRUE |
|
801 |
CAIRO_PREFIX |
|
802 |
GLIB_PREFIX |
|
803 |
ENABLE_MAN_FALSE |
|
804 |
ENABLE_MAN_TRUE |
|
805 |
XMLCATALOG |
|
806 |
XML_CATALOG_FILE |
|
807 |
XSLTPROC |
|
808 |
GTK_DOC_USE_LIBTOOL_FALSE |
|
809 |
GTK_DOC_USE_LIBTOOL_TRUE |
|
810 |
ENABLE_GTK_DOC_FALSE |
|
811 |
ENABLE_GTK_DOC_TRUE |
|
812 |
GTKDOC_CHECK |
|
813 |
HTML_DIR |
|
814 |
DYNAMIC_TIBETAN_FC_FALSE |
|
815 |
DYNAMIC_TIBETAN_FC_TRUE |
|
816 |
DYNAMIC_THAI_LANG_FALSE |
|
817 |
DYNAMIC_THAI_LANG_TRUE |
|
818 |
DYNAMIC_THAI_FC_FALSE |
|
819 |
DYNAMIC_THAI_FC_TRUE |
|
820 |
DYNAMIC_SYRIAC_FC_FALSE |
|
821 |
DYNAMIC_SYRIAC_FC_TRUE |
|
822 |
DYNAMIC_KHMER_FC_FALSE |
|
823 |
DYNAMIC_KHMER_FC_TRUE |
|
824 |
DYNAMIC_INDIC_LANG_FALSE |
|
825 |
DYNAMIC_INDIC_LANG_TRUE |
|
826 |
DYNAMIC_INDIC_FC_FALSE |
|
827 |
DYNAMIC_INDIC_FC_TRUE |
|
828 |
DYNAMIC_HEBREW_FC_FALSE |
|
829 |
DYNAMIC_HEBREW_FC_TRUE |
|
830 |
DYNAMIC_HANGUL_FC_FALSE |
|
831 |
DYNAMIC_HANGUL_FC_TRUE |
|
832 |
DYNAMIC_BASIC_ATSUI_FALSE |
|
833 |
DYNAMIC_BASIC_ATSUI_TRUE |
|
834 |
DYNAMIC_BASIC_X_FALSE |
|
835 |
DYNAMIC_BASIC_X_TRUE |
|
836 |
DYNAMIC_BASIC_WIN32_FALSE |
|
837 |
DYNAMIC_BASIC_WIN32_TRUE |
|
838 |
DYNAMIC_BASIC_FC_FALSE |
|
839 |
DYNAMIC_BASIC_FC_TRUE |
|
840 |
DYNAMIC_ARABIC_LANG_FALSE |
|
841 |
DYNAMIC_ARABIC_LANG_TRUE |
|
842 |
DYNAMIC_ARABIC_FC_FALSE |
|
843 |
DYNAMIC_ARABIC_FC_TRUE |
|
844 |
INCLUDE_TIBETAN_FC_FALSE |
|
845 |
INCLUDE_TIBETAN_FC_TRUE |
|
846 |
INCLUDE_THAI_LANG_FALSE |
|
847 |
INCLUDE_THAI_LANG_TRUE |
|
848 |
INCLUDE_THAI_FC_FALSE |
|
849 |
INCLUDE_THAI_FC_TRUE |
|
850 |
INCLUDE_SYRIAC_FC_FALSE |
|
851 |
INCLUDE_SYRIAC_FC_TRUE |
|
852 |
INCLUDE_KHMER_FC_FALSE |
|
853 |
INCLUDE_KHMER_FC_TRUE |
|
854 |
INCLUDE_INDIC_LANG_FALSE |
|
855 |
INCLUDE_INDIC_LANG_TRUE |
|
856 |
INCLUDE_INDIC_FC_FALSE |
|
857 |
INCLUDE_INDIC_FC_TRUE |
|
858 |
INCLUDE_HEBREW_FC_FALSE |
|
859 |
INCLUDE_HEBREW_FC_TRUE |
|
860 |
INCLUDE_HANGUL_FC_FALSE |
|
861 |
INCLUDE_HANGUL_FC_TRUE |
|
862 |
INCLUDE_BASIC_ATSUI_FALSE |
|
863 |
INCLUDE_BASIC_ATSUI_TRUE |
|
864 |
INCLUDE_BASIC_X_FALSE |
|
865 |
INCLUDE_BASIC_X_TRUE |
|
866 |
INCLUDE_BASIC_WIN32_FALSE |
|
867 |
INCLUDE_BASIC_WIN32_TRUE |
|
868 |
INCLUDE_BASIC_FC_FALSE |
|
869 |
INCLUDE_BASIC_FC_TRUE |
|
870 |
INCLUDE_ARABIC_LANG_FALSE |
|
871 |
INCLUDE_ARABIC_LANG_TRUE |
|
872 |
INCLUDE_ARABIC_FC_FALSE |
|
873 |
INCLUDE_ARABIC_FC_TRUE |
|
874 |
INCLUDED_LANG_MODULES |
|
875 |
INCLUDED_ATSUI_MODULES |
|
876 |
INCLUDED_WIN32_MODULES |
|
877 |
INCLUDED_FC_MODULES |
|
878 |
INCLUDED_X_MODULES |
|
879 |
HAVE_DYNAMIC_MODULES_FALSE |
|
880 |
HAVE_DYNAMIC_MODULES_TRUE |
|
881 |
HAVE_INCLUDED_MODULES_FALSE |
|
882 |
HAVE_INCLUDED_MODULES_TRUE |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
883 |
TYPELIBDIR |
884 |
GIRDIR |
|
885 |
G_IR_GENERATE |
|
886 |
G_IR_COMPILER |
|
887 |
G_IR_SCANNER |
|
888 |
HAVE_INTROSPECTION_FALSE |
|
889 |
HAVE_INTROSPECTION_TRUE |
|
890 |
INTROSPECTION_LIBS |
|
891 |
INTROSPECTION_CFLAGS |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
892 |
LIBTHAI_LIBS |
893 |
LIBTHAI_CFLAGS |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
894 |
GLIB_MKENUMS |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
895 |
GLIB_LIBS |
896 |
GLIB_CFLAGS |
|
897 |
HAVE_CAIRO_ATSUI_FALSE |
|
898 |
HAVE_CAIRO_ATSUI_TRUE |
|
899 |
HAVE_CAIRO_FREETYPE_FALSE |
|
900 |
HAVE_CAIRO_FREETYPE_TRUE |
|
901 |
HAVE_CAIRO_WIN32_FALSE |
|
902 |
HAVE_CAIRO_WIN32_TRUE |
|
903 |
HAVE_CAIRO_XLIB_FALSE |
|
904 |
HAVE_CAIRO_XLIB_TRUE |
|
905 |
HAVE_CAIRO_PDF_FALSE |
|
906 |
HAVE_CAIRO_PDF_TRUE |
|
907 |
HAVE_CAIRO_PS_FALSE |
|
908 |
HAVE_CAIRO_PS_TRUE |
|
909 |
HAVE_CAIRO_PNG_FALSE |
|
910 |
HAVE_CAIRO_PNG_TRUE |
|
911 |
HAVE_CAIRO_FALSE |
|
912 |
HAVE_CAIRO_TRUE |
|
913 |
CAIRO_LIBS |
|
914 |
CAIRO_CFLAGS |
|
915 |
HAVE_WIN32_FALSE |
|
916 |
HAVE_WIN32_TRUE |
|
917 |
WIN32_LIBS |
|
918 |
HAVE_XFT_FALSE |
|
919 |
HAVE_XFT_TRUE |
|
920 |
XFT_LIBS |
|
921 |
XFT_CFLAGS |
|
922 |
HAVE_FREETYPE_FALSE |
|
923 |
HAVE_FREETYPE_TRUE |
|
924 |
FREETYPE_LIBS |
|
925 |
FREETYPE_CFLAGS |
|
926 |
FONTCONFIG_LIBS |
|
927 |
FONTCONFIG_CFLAGS |
|
928 |
PKG_CONFIG |
|
929 |
HAVE_X_FALSE |
|
930 |
HAVE_X_TRUE |
|
931 |
X_EXTRA_LIBS |
|
932 |
X_LIBS |
|
933 |
X_PRE_LIBS |
|
934 |
X_CFLAGS |
|
935 |
XMKMF |
|
936 |
CROSS_COMPILING_FALSE |
|
937 |
CROSS_COMPILING_TRUE |
|
938 |
PANGO_DEBUG_FLAGS |
|
939 |
MS_LIB_AVAILABLE_FALSE |
|
940 |
MS_LIB_AVAILABLE_TRUE |
|
941 |
ms_librarian |
|
942 |
WINDRES |
|
943 |
PLATFORM_WIN32_FALSE |
|
944 |
PLATFORM_WIN32_TRUE |
|
945 |
CXXCPP |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
946 |
OTOOL64 |
947 |
OTOOL |
|
948 |
LIPO |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
949 |
NMEDIT |
950 |
DSYMUTIL |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
951 |
lt_ECHO |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
952 |
RANLIB |
953 |
AR |
|
954 |
LN_S |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
955 |
NM |
956 |
ac_ct_DUMPBIN |
|
957 |
DUMPBIN |
|
958 |
LD |
|
959 |
FGREP |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
960 |
SED |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
961 |
LIBTOOL |
962 |
OBJDUMP |
|
963 |
DLLTOOL |
|
964 |
AS |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
965 |
EGREP |
966 |
GREP |
|
967 |
CPP |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
968 |
HAVE_CXX_FALSE |
969 |
HAVE_CXX_TRUE |
|
970 |
am__fastdepCXX_FALSE |
|
971 |
am__fastdepCXX_TRUE |
|
972 |
CXXDEPMODE |
|
973 |
ac_ct_CXX |
|
974 |
CXXFLAGS |
|
975 |
CXX |
|
976 |
am__fastdepCC_FALSE |
|
977 |
am__fastdepCC_TRUE |
|
978 |
CCDEPMODE |
|
979 |
AMDEPBACKSLASH |
|
980 |
AMDEP_FALSE |
|
981 |
AMDEP_TRUE |
|
982 |
am__quote |
|
983 |
am__include |
|
984 |
DEPDIR |
|
985 |
OBJEXT |
|
986 |
EXEEXT |
|
987 |
ac_ct_CC |
|
988 |
CPPFLAGS |
|
989 |
LDFLAGS |
|
990 |
CFLAGS |
|
991 |
CC |
|
992 |
OS_WIN32_FALSE |
|
993 |
OS_WIN32_TRUE |
|
994 |
LIB_EXE_MACHINE_FLAG |
|
995 |
host_os |
|
996 |
host_vendor |
|
997 |
host_cpu |
|
998 |
host |
|
999 |
build_os |
|
1000 |
build_vendor |
|
1001 |
build_cpu |
|
1002 |
build |
|
1003 |
PANGO_CURRENT_MINUS_AGE |
|
1004 |
PANGO_MODULE_VERSION |
|
1005 |
PANGO_BINARY_AGE |
|
1006 |
PANGO_INTERFACE_AGE |
|
1007 |
PANGO_API_VERSION |
|
1008 |
PANGO_VERSION |
|
1009 |
PANGO_VERSION_MICRO |
|
1010 |
PANGO_VERSION_MINOR |
|
1011 |
PANGO_VERSION_MAJOR |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
1012 |
AM_BACKSLASH |
1013 |
AM_DEFAULT_VERBOSITY |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1014 |
am__untar |
1015 |
am__tar |
|
1016 |
AMTAR |
|
1017 |
am__leading_dot |
|
1018 |
SET_MAKE |
|
1019 |
AWK |
|
1020 |
mkdir_p |
|
1021 |
MKDIR_P |
|
1022 |
INSTALL_STRIP_PROGRAM |
|
1023 |
STRIP |
|
1024 |
install_sh |
|
1025 |
MAKEINFO |
|
1026 |
AUTOHEADER |
|
1027 |
AUTOMAKE |
|
1028 |
AUTOCONF |
|
1029 |
ACLOCAL |
|
1030 |
VERSION |
|
1031 |
PACKAGE |
|
1032 |
CYGPATH_W |
|
1033 |
am__isrc |
|
1034 |
INSTALL_DATA |
|
1035 |
INSTALL_SCRIPT |
|
1036 |
INSTALL_PROGRAM |
|
1037 |
target_alias |
|
1038 |
host_alias |
|
1039 |
build_alias |
|
1040 |
LIBS |
|
1041 |
ECHO_T |
|
1042 |
ECHO_N |
|
1043 |
ECHO_C |
|
1044 |
DEFS |
|
1045 |
mandir |
|
1046 |
localedir |
|
1047 |
libdir |
|
1048 |
psdir |
|
1049 |
pdfdir |
|
1050 |
dvidir |
|
1051 |
htmldir |
|
1052 |
infodir |
|
1053 |
docdir |
|
1054 |
oldincludedir |
|
1055 |
includedir |
|
1056 |
localstatedir |
|
1057 |
sharedstatedir |
|
1058 |
sysconfdir |
|
1059 |
datadir |
|
1060 |
datarootdir |
|
1061 |
libexecdir |
|
1062 |
sbindir |
|
1063 |
bindir |
|
1064 |
program_transform_name |
|
1065 |
prefix |
|
1066 |
exec_prefix |
|
1067 |
PACKAGE_BUGREPORT |
|
1068 |
PACKAGE_STRING |
|
1069 |
PACKAGE_VERSION |
|
1070 |
PACKAGE_TARNAME |
|
1071 |
PACKAGE_NAME |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1072 |
PATH_SEPARATOR |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1073 |
SHELL' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1074 |
ac_subst_files='' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1075 |
ac_user_opts=' |
1076 |
enable_option_checking |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
1077 |
enable_silent_rules |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1078 |
enable_dependency_tracking |
1079 |
enable_static |
|
1080 |
enable_shared |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
1081 |
with_pic |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1082 |
enable_fast_install |
1083 |
with_gnu_ld |
|
1084 |
enable_libtool_lock |
|
1085 |
enable_debug |
|
1086 |
enable_rebuilds |
|
1087 |
with_x |
|
1088 |
with_included_modules |
|
1089 |
with_dynamic_modules |
|
1090 |
with_html_dir |
|
1091 |
enable_gtk_doc |
|
1092 |
enable_man |
|
1093 |
with_xml_catalog |
|
1094 |
enable_doc_cross_references |
|
1095 |
enable_explicit_deps |
|
1096 |
' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1097 |
ac_precious_vars='build_alias |
1098 |
host_alias |
|
1099 |
target_alias |
|
1100 |
CC |
|
1101 |
CFLAGS |
|
1102 |
LDFLAGS |
|
1103 |
LIBS |
|
1104 |
CPPFLAGS |
|
1105 |
CXX |
|
1106 |
CXXFLAGS |
|
1107 |
CCC |
|
1108 |
CPP |
|
1109 |
CXXCPP |
|
1110 |
XMKMF |
|
1111 |
PKG_CONFIG |
|
1112 |
FONTCONFIG_CFLAGS |
|
1113 |
FONTCONFIG_LIBS |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
1114 |
FREETYPE_CFLAGS |
1115 |
FREETYPE_LIBS |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1116 |
XFT_CFLAGS |
1117 |
XFT_LIBS |
|
1118 |
CAIRO_CFLAGS |
|
1119 |
CAIRO_LIBS |
|
1120 |
GLIB_CFLAGS |
|
1121 |
GLIB_LIBS |
|
1122 |
LIBTHAI_CFLAGS |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
1123 |
LIBTHAI_LIBS |
1124 |
INTROSPECTION_CFLAGS |
|
1125 |
INTROSPECTION_LIBS' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1126 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1127 |
|
1128 |
# Initialize some variables set by options. |
|
1129 |
ac_init_help= |
|
1130 |
ac_init_version=false |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1131 |
ac_unrecognized_opts= |
1132 |
ac_unrecognized_sep= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1133 |
# The variables have the same names as the options, with |
1134 |
# dashes changed to underlines. |
|
1135 |
cache_file=/dev/null |
|
1136 |
exec_prefix=NONE |
|
1137 |
no_create= |
|
1138 |
no_recursion= |
|
1139 |
prefix=NONE |
|
1140 |
program_prefix=NONE |
|
1141 |
program_suffix=NONE |
|
1142 |
program_transform_name=s,x,x, |
|
1143 |
silent= |
|
1144 |
site= |
|
1145 |
srcdir= |
|
1146 |
verbose= |
|
1147 |
x_includes=NONE |
|
1148 |
x_libraries=NONE |
|
1149 |
||
1150 |
# Installation directory options. |
|
1151 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
1152 |
# and all the variables that are supposed to be based on exec_prefix |
|
1153 |
# by default will actually change. |
|
1154 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1155 |
# (The list follows the same order as the GNU Coding Standards.) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1156 |
bindir='${exec_prefix}/bin' |
1157 |
sbindir='${exec_prefix}/sbin' |
|
1158 |
libexecdir='${exec_prefix}/libexec' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1159 |
datarootdir='${prefix}/share' |
1160 |
datadir='${datarootdir}' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1161 |
sysconfdir='${prefix}/etc' |
1162 |
sharedstatedir='${prefix}/com' |
|
1163 |
localstatedir='${prefix}/var' |
|
1164 |
includedir='${prefix}/include' |
|
1165 |
oldincludedir='/usr/include' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1166 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
1167 |
infodir='${datarootdir}/info' |
|
1168 |
htmldir='${docdir}' |
|
1169 |
dvidir='${docdir}' |
|
1170 |
pdfdir='${docdir}' |
|
1171 |
psdir='${docdir}' |
|
1172 |
libdir='${exec_prefix}/lib' |
|
1173 |
localedir='${datarootdir}/locale' |
|
1174 |
mandir='${datarootdir}/man' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1175 |
|
1176 |
ac_prev= |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1177 |
ac_dashdash= |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1178 |
for ac_option |
1179 |
do |
|
1180 |
# If the previous option needs an argument, assign it. |
|
1181 |
if test -n "$ac_prev"; then |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1182 |
eval $ac_prev=\$ac_option |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1183 |
ac_prev= |
1184 |
continue |
|
1185 |
fi |
|
1186 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1187 |
case $ac_option in |
1188 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
1189 |
*) ac_optarg=yes ;; |
|
1190 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1191 |
|
1192 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
1193 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1194 |
case $ac_dashdash$ac_option in |
1195 |
--) |
|
1196 |
ac_dashdash=yes ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1197 |
|
1198 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
1199 |
ac_prev=bindir ;; |
|
1200 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
1201 |
bindir=$ac_optarg ;; |
|
1202 |
||
1203 |
-build | --build | --buil | --bui | --bu) |
|
1204 |
ac_prev=build_alias ;; |
|
1205 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
1206 |
build_alias=$ac_optarg ;; |
|
1207 |
||
1208 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
1209 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
1210 |
ac_prev=cache_file ;; |
|
1211 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
1212 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
1213 |
cache_file=$ac_optarg ;; |
|
1214 |
||
1215 |
--config-cache | -C) |
|
1216 |
cache_file=config.cache ;; |
|
1217 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1218 |
-datadir | --datadir | --datadi | --datad) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1219 |
ac_prev=datadir ;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1220 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1221 |
datadir=$ac_optarg ;; |
1222 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1223 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
1224 |
| --dataroo | --dataro | --datar) |
|
1225 |
ac_prev=datarootdir ;; |
|
1226 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
1227 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
1228 |
datarootdir=$ac_optarg ;; |
|
1229 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1230 |
-disable-* | --disable-*) |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1231 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1232 |
# Reject names that are not valid shell variable names. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1233 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1234 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1235 |
{ (exit 1); exit 1; }; } |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1236 |
ac_useropt_orig=$ac_useropt |
1237 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1238 |
case $ac_user_opts in |
|
1239 |
*" |
|
1240 |
"enable_$ac_useropt" |
|
1241 |
"*) ;; |
|
1242 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
1243 |
ac_unrecognized_sep=', ';; |
|
1244 |
esac |
|
1245 |
eval enable_$ac_useropt=no ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1246 |
|
1247 |
-docdir | --docdir | --docdi | --doc | --do) |
|
1248 |
ac_prev=docdir ;; |
|
1249 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
1250 |
docdir=$ac_optarg ;; |
|
1251 |
||
1252 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
1253 |
ac_prev=dvidir ;; |
|
1254 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
1255 |
dvidir=$ac_optarg ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1256 |
|
1257 |
-enable-* | --enable-*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1258 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1259 |
# Reject names that are not valid shell variable names. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1260 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1261 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1262 |
{ (exit 1); exit 1; }; } |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1263 |
ac_useropt_orig=$ac_useropt |
1264 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1265 |
case $ac_user_opts in |
|
1266 |
*" |
|
1267 |
"enable_$ac_useropt" |
|
1268 |
"*) ;; |
|
1269 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
1270 |
ac_unrecognized_sep=', ';; |
|
1271 |
esac |
|
1272 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1273 |
|
1274 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
1275 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
1276 |
| --exec | --exe | --ex) |
|
1277 |
ac_prev=exec_prefix ;; |
|
1278 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
1279 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
1280 |
| --exec=* | --exe=* | --ex=*) |
|
1281 |
exec_prefix=$ac_optarg ;; |
|
1282 |
||
1283 |
-gas | --gas | --ga | --g) |
|
1284 |
# Obsolete; use --with-gas. |
|
1285 |
with_gas=yes ;; |
|
1286 |
||
1287 |
-help | --help | --hel | --he | -h) |
|
1288 |
ac_init_help=long ;; |
|
1289 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
1290 |
ac_init_help=recursive ;; |
|
1291 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
1292 |
ac_init_help=short ;; |
|
1293 |
||
1294 |
-host | --host | --hos | --ho) |
|
1295 |
ac_prev=host_alias ;; |
|
1296 |
-host=* | --host=* | --hos=* | --ho=*) |
|
1297 |
host_alias=$ac_optarg ;; |
|
1298 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1299 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1300 |
ac_prev=htmldir ;; |
|
1301 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
1302 |
| --ht=*) |
|
1303 |
htmldir=$ac_optarg ;; |
|
1304 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1305 |
-includedir | --includedir | --includedi | --included | --include \ |
1306 |
| --includ | --inclu | --incl | --inc) |
|
1307 |
ac_prev=includedir ;; |
|
1308 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
1309 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
1310 |
includedir=$ac_optarg ;; |
|
1311 |
||
1312 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
1313 |
ac_prev=infodir ;; |
|
1314 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
1315 |
infodir=$ac_optarg ;; |
|
1316 |
||
1317 |
-libdir | --libdir | --libdi | --libd) |
|
1318 |
ac_prev=libdir ;; |
|
1319 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
1320 |
libdir=$ac_optarg ;; |
|
1321 |
||
1322 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
1323 |
| --libexe | --libex | --libe) |
|
1324 |
ac_prev=libexecdir ;; |
|
1325 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
1326 |
| --libexe=* | --libex=* | --libe=*) |
|
1327 |
libexecdir=$ac_optarg ;; |
|
1328 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1329 |
-localedir | --localedir | --localedi | --localed | --locale) |
1330 |
ac_prev=localedir ;; |
|
1331 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
1332 |
localedir=$ac_optarg ;; |
|
1333 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1334 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1335 |
| --localstate | --localstat | --localsta | --localst | --locals) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1336 |
ac_prev=localstatedir ;; |
1337 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1338 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1339 |
localstatedir=$ac_optarg ;; |
1340 |
||
1341 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1342 |
ac_prev=mandir ;; |
|
1343 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
1344 |
mandir=$ac_optarg ;; |
|
1345 |
||
1346 |
-nfp | --nfp | --nf) |
|
1347 |
# Obsolete; use --without-fp. |
|
1348 |
with_fp=no ;; |
|
1349 |
||
1350 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1351 |
| --no-cr | --no-c | -n) |
|
1352 |
no_create=yes ;; |
|
1353 |
||
1354 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1355 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1356 |
no_recursion=yes ;; |
|
1357 |
||
1358 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1359 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1360 |
| --oldin | --oldi | --old | --ol | --o) |
|
1361 |
ac_prev=oldincludedir ;; |
|
1362 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1363 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1364 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1365 |
oldincludedir=$ac_optarg ;; |
|
1366 |
||
1367 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1368 |
ac_prev=prefix ;; |
|
1369 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1370 |
prefix=$ac_optarg ;; |
|
1371 |
||
1372 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1373 |
| --program-pre | --program-pr | --program-p) |
|
1374 |
ac_prev=program_prefix ;; |
|
1375 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1376 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1377 |
program_prefix=$ac_optarg ;; |
|
1378 |
||
1379 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1380 |
| --program-suf | --program-su | --program-s) |
|
1381 |
ac_prev=program_suffix ;; |
|
1382 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1383 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1384 |
program_suffix=$ac_optarg ;; |
|
1385 |
||
1386 |
-program-transform-name | --program-transform-name \ |
|
1387 |
| --program-transform-nam | --program-transform-na \ |
|
1388 |
| --program-transform-n | --program-transform- \ |
|
1389 |
| --program-transform | --program-transfor \ |
|
1390 |
| --program-transfo | --program-transf \ |
|
1391 |
| --program-trans | --program-tran \ |
|
1392 |
| --progr-tra | --program-tr | --program-t) |
|
1393 |
ac_prev=program_transform_name ;; |
|
1394 |
-program-transform-name=* | --program-transform-name=* \ |
|
1395 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1396 |
| --program-transform-n=* | --program-transform-=* \ |
|
1397 |
| --program-transform=* | --program-transfor=* \ |
|
1398 |
| --program-transfo=* | --program-transf=* \ |
|
1399 |
| --program-trans=* | --program-tran=* \ |
|
1400 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1401 |
program_transform_name=$ac_optarg ;; |
|
1402 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1403 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1404 |
ac_prev=pdfdir ;; |
|
1405 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1406 |
pdfdir=$ac_optarg ;; |
|
1407 |
||
1408 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1409 |
ac_prev=psdir ;; |
|
1410 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1411 |
psdir=$ac_optarg ;; |
|
1412 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1413 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1414 |
| -silent | --silent | --silen | --sile | --sil) |
|
1415 |
silent=yes ;; |
|
1416 |
||
1417 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1418 |
ac_prev=sbindir ;; |
|
1419 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1420 |
| --sbi=* | --sb=*) |
|
1421 |
sbindir=$ac_optarg ;; |
|
1422 |
||
1423 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1424 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1425 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1426 |
| --sha | --sh) |
|
1427 |
ac_prev=sharedstatedir ;; |
|
1428 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1429 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1430 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1431 |
| --sha=* | --sh=*) |
|
1432 |
sharedstatedir=$ac_optarg ;; |
|
1433 |
||
1434 |
-site | --site | --sit) |
|
1435 |
ac_prev=site ;; |
|
1436 |
-site=* | --site=* | --sit=*) |
|
1437 |
site=$ac_optarg ;; |
|
1438 |
||
1439 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1440 |
ac_prev=srcdir ;; |
|
1441 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1442 |
srcdir=$ac_optarg ;; |
|
1443 |
||
1444 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1445 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1446 |
ac_prev=sysconfdir ;; |
|
1447 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1448 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1449 |
sysconfdir=$ac_optarg ;; |
|
1450 |
||
1451 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1452 |
ac_prev=target_alias ;; |
|
1453 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1454 |
target_alias=$ac_optarg ;; |
|
1455 |
||
1456 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1457 |
verbose=yes ;; |
|
1458 |
||
1459 |
-version | --version | --versio | --versi | --vers | -V) |
|
1460 |
ac_init_version=: ;; |
|
1461 |
||
1462 |
-with-* | --with-*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1463 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1464 |
# Reject names that are not valid shell variable names. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1465 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1466 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1467 |
{ (exit 1); exit 1; }; } |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1468 |
ac_useropt_orig=$ac_useropt |
1469 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1470 |
case $ac_user_opts in |
|
1471 |
*" |
|
1472 |
"with_$ac_useropt" |
|
1473 |
"*) ;; |
|
1474 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1475 |
ac_unrecognized_sep=', ';; |
|
1476 |
esac |
|
1477 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1478 |
|
1479 |
-without-* | --without-*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1480 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1481 |
# Reject names that are not valid shell variable names. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1482 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1483 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1484 |
{ (exit 1); exit 1; }; } |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1485 |
ac_useropt_orig=$ac_useropt |
1486 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1487 |
case $ac_user_opts in |
|
1488 |
*" |
|
1489 |
"with_$ac_useropt" |
|
1490 |
"*) ;; |
|
1491 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1492 |
ac_unrecognized_sep=', ';; |
|
1493 |
esac |
|
1494 |
eval with_$ac_useropt=no ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1495 |
|
1496 |
--x) |
|
1497 |
# Obsolete; use --with-x. |
|
1498 |
with_x=yes ;; |
|
1499 |
||
1500 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1501 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1502 |
ac_prev=x_includes ;; |
|
1503 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1504 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1505 |
x_includes=$ac_optarg ;; |
|
1506 |
||
1507 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1508 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1509 |
ac_prev=x_libraries ;; |
|
1510 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1511 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1512 |
x_libraries=$ac_optarg ;; |
|
1513 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1514 |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1515 |
Try \`$0 --help' for more information." >&2 |
1516 |
{ (exit 1); exit 1; }; } |
|
1517 |
;; |
|
1518 |
||
1519 |
*=*) |
|
1520 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1521 |
# Reject names that are not valid shell variable names. |
|
1522 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1523 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1524 |
{ (exit 1); exit 1; }; } |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1525 |
eval $ac_envvar=\$ac_optarg |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1526 |
export $ac_envvar ;; |
1527 |
||
1528 |
*) |
|
1529 |
# FIXME: should be removed in autoconf 3.0. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1530 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1531 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1532 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1533 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1534 |
;; |
|
1535 |
||
1536 |
esac |
|
1537 |
done |
|
1538 |
||
1539 |
if test -n "$ac_prev"; then |
|
1540 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1541 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1542 |
{ (exit 1); exit 1; }; } |
1543 |
fi |
|
1544 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1545 |
if test -n "$ac_unrecognized_opts"; then |
1546 |
case $enable_option_checking in |
|
1547 |
no) ;; |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1548 |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1549 |
{ (exit 1); exit 1; }; } ;; |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1550 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1551 |
esac |
1552 |
fi |
|
1553 |
||
1554 |
# Check all directory arguments for consistency. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1555 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1556 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1557 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1558 |
libdir localedir mandir |
|
1559 |
do |
|
1560 |
eval ac_val=\$$ac_var |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1561 |
# Remove trailing slashes. |
1562 |
case $ac_val in |
|
1563 |
*/ ) |
|
1564 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1565 |
eval $ac_var=\$ac_val;; |
|
1566 |
esac |
|
1567 |
# Be sure to have absolute directory names. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1568 |
case $ac_val in |
1569 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1570 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1571 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1572 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1573 |
{ (exit 1); exit 1; }; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1574 |
done |
1575 |
||
1576 |
# There might be people who depend on the old broken behavior: `$host' |
|
1577 |
# used to hold the argument of --host etc. |
|
1578 |
# FIXME: To remove some day. |
|
1579 |
build=$build_alias |
|
1580 |
host=$host_alias |
|
1581 |
target=$target_alias |
|
1582 |
||
1583 |
# FIXME: To remove some day. |
|
1584 |
if test "x$host_alias" != x; then |
|
1585 |
if test "x$build_alias" = x; then |
|
1586 |
cross_compiling=maybe |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1587 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1588 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1589 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1590 |
cross_compiling=yes |
|
1591 |
fi |
|
1592 |
fi |
|
1593 |
||
1594 |
ac_tool_prefix= |
|
1595 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1596 |
||
1597 |
test "$silent" = yes && exec 6>/dev/null |
|
1598 |
||
1599 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1600 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1601 |
ac_ls_di=`ls -di .` && |
|
1602 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1603 |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1604 |
{ (exit 1); exit 1; }; } |
1605 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1606 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1607 |
{ (exit 1); exit 1; }; } |
1608 |
||
1609 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1610 |
# Find the source files, if location was not specified. |
1611 |
if test -z "$srcdir"; then |
|
1612 |
ac_srcdir_defaulted=yes |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1613 |
# Try the directory containing this script, then the parent directory. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1614 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1615 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1616 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1617 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1618 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1619 |
$as_echo X"$as_myself" | |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1620 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1621 |
s//\1/ |
|
1622 |
q |
|
1623 |
} |
|
1624 |
/^X\(\/\/\)[^/].*/{ |
|
1625 |
s//\1/ |
|
1626 |
q |
|
1627 |
} |
|
1628 |
/^X\(\/\/\)$/{ |
|
1629 |
s//\1/ |
|
1630 |
q |
|
1631 |
} |
|
1632 |
/^X\(\/\).*/{ |
|
1633 |
s//\1/ |
|
1634 |
q |
|
1635 |
} |
|
1636 |
s/.*/./; q'` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1637 |
srcdir=$ac_confdir |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1638 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1639 |
srcdir=.. |
1640 |
fi |
|
1641 |
else |
|
1642 |
ac_srcdir_defaulted=no |
|
1643 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1644 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1645 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1646 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1647 |
{ (exit 1); exit 1; }; } |
1648 |
fi |
|
1649 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1650 |
ac_abs_confdir=`( |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1651 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1652 |
{ (exit 1); exit 1; }; } |
1653 |
pwd)` |
|
1654 |
# When building in place, set srcdir=. |
|
1655 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1656 |
srcdir=. |
|
1657 |
fi |
|
1658 |
# Remove unnecessary trailing slashes from srcdir. |
|
1659 |
# Double slashes in file names in object file debugging info |
|
1660 |
# mess up M-x gdb in Emacs. |
|
1661 |
case $srcdir in |
|
1662 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1663 |
esac |
|
1664 |
for ac_var in $ac_precious_vars; do |
|
1665 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1666 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1667 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1668 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1669 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1670 |
|
1671 |
# |
|
1672 |
# Report the --help message. |
|
1673 |
# |
|
1674 |
if test "$ac_init_help" = "long"; then |
|
1675 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1676 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1677 |
cat <<_ACEOF |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
1678 |
\`configure' configures pango 1.26.2 to adapt to many kinds of systems. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1679 |
|
1680 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1681 |
||
1682 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1683 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1684 |
||
1685 |
Defaults for the options are specified in brackets. |
|
1686 |
||
1687 |
Configuration: |
|
1688 |
-h, --help display this help and exit |
|
1689 |
--help=short display options specific to this package |
|
1690 |
--help=recursive display the short help of all the included packages |
|
1691 |
-V, --version display version information and exit |
|
1692 |
-q, --quiet, --silent do not print \`checking...' messages |
|
1693 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1694 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1695 |
-n, --no-create do not create output files |
|
1696 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1697 |
||
1698 |
Installation directories: |
|
1699 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1700 |
[$ac_default_prefix] |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1701 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1702 |
[PREFIX] |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1703 |
|
1704 |
By default, \`make install' will install all the files in |
|
1705 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1706 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1707 |
for instance \`--prefix=\$HOME'. |
|
1708 |
||
1709 |
For better control, use the options below. |
|
1710 |
||
1711 |
Fine tuning of the installation directories: |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1712 |
--bindir=DIR user executables [EPREFIX/bin] |
1713 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1714 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1715 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1716 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1717 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1718 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1719 |
--includedir=DIR C header files [PREFIX/include] |
|
1720 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1721 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1722 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1723 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1724 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1725 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1726 |
--docdir=DIR documentation root [DATAROOTDIR/doc/pango] |
|
1727 |
--htmldir=DIR html documentation [DOCDIR] |
|
1728 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1729 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1730 |
--psdir=DIR ps documentation [DOCDIR] |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1731 |
_ACEOF |
1732 |
||
1733 |
cat <<\_ACEOF |
|
1734 |
||
1735 |
Program names: |
|
1736 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1737 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1738 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1739 |
||
1740 |
X features: |
|
1741 |
--x-includes=DIR X include files are in DIR |
|
1742 |
--x-libraries=DIR X library files are in DIR |
|
1743 |
||
1744 |
System types: |
|
1745 |
--build=BUILD configure for building on BUILD [guessed] |
|
1746 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1747 |
_ACEOF |
|
1748 |
fi |
|
1749 |
||
1750 |
if test -n "$ac_init_help"; then |
|
1751 |
case $ac_init_help in |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
1752 |
short | recursive ) echo "Configuration of pango 1.26.2:";; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1753 |
esac |
1754 |
cat <<\_ACEOF |
|
1755 |
||
1756 |
Optional Features: |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1757 |
--disable-option-checking ignore unrecognized --enable/--with options |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1758 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1759 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
1760 |
--enable-silent-rules less verbose build output (undo: `make V=1') |
1761 |
--disable-silent-rules verbose build output (undo: `make V=0') |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1762 |
--disable-dependency-tracking speeds up one-time build |
1763 |
--enable-dependency-tracking do not reject slow dependency extractors |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1764 |
--enable-static[=PKGS] build static libraries [default=no] |
1765 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1766 |
--enable-fast-install[=PKGS] |
1767 |
optimize for fast installation [default=yes] |
|
1768 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
1769 |
--enable-debug=[no/minimum/yes] |
|
1.7.1
by Sebastian Dröge
Import upstream version 1.26.0 |
1770 |
turn on debugging [default=minimum] |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1771 |
--disable-rebuilds disable all source autogeneration rules |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
1772 |
--enable-gtk-doc use gtk-doc to build documentation [default=no] |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1773 |
--enable-man regenerate man pages from Docbook [default=no] |
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
1774 |
--disable-doc-cross-references |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1775 |
cross reference glib and cairo symbols [default=yes] |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1776 |
--enable-explicit-deps=[no/auto/yes] |
1777 |
use explicit dependencies in .pc files |
|
1778 |
[default=auto] |
|
1779 |
||
1780 |
Optional Packages: |
|
1781 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1782 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
1783 |
--with-pic try to use only PIC/non-PIC objects [default=use |
|
1784 |
both] |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
1785 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1786 |
--with-x use the X Window System |
1787 |
--with-included-modules=no/yes/MODULE1 MODULE2 ... |
|
1788 |
build the given modules included [default=no] |
|
1789 |
--with-dynamic-modules=no/yes/MODULE1 MODULE2 ... |
|
1790 |
build the given dynamic modules [default=yes] |
|
1791 |
--with-html-dir=PATH path to installed docs |
|
1792 |
--with-xml-catalog=CATALOG |
|
1793 |
path to xml catalog to use |
|
1794 |
||
1795 |
Some influential environment variables: |
|
1796 |
CC C compiler command |
|
1797 |
CFLAGS C compiler flags |
|
1798 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1799 |
nonstandard directory <lib dir> |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1800 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1801 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
|
1802 |
you have headers in a nonstandard directory <include dir> |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1803 |
CXX C++ compiler command |
1804 |
CXXFLAGS C++ compiler flags |
|
1805 |
CPP C preprocessor |
|
1806 |
CXXCPP C++ preprocessor |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1807 |
XMKMF Path to xmkmf, Makefile generator for X Window System |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1808 |
PKG_CONFIG path to pkg-config utility |
1809 |
FONTCONFIG_CFLAGS |
|
1810 |
C compiler flags for FONTCONFIG, overriding pkg-config |
|
1811 |
FONTCONFIG_LIBS |
|
1812 |
linker flags for FONTCONFIG, overriding pkg-config |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
1813 |
FREETYPE_CFLAGS |
1814 |
C compiler flags for FREETYPE, overriding pkg-config |
|
1815 |
FREETYPE_LIBS |
|
1816 |
linker flags for FREETYPE, overriding pkg-config |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1817 |
XFT_CFLAGS C compiler flags for XFT, overriding pkg-config |
1818 |
XFT_LIBS linker flags for XFT, overriding pkg-config |
|
1819 |
CAIRO_CFLAGS |
|
1820 |
C compiler flags for CAIRO, overriding pkg-config |
|
1821 |
CAIRO_LIBS linker flags for CAIRO, overriding pkg-config |
|
1822 |
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
|
1823 |
GLIB_LIBS linker flags for GLIB, overriding pkg-config |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
1824 |
LIBTHAI_CFLAGS |
1825 |
C compiler flags for LIBTHAI, overriding pkg-config |
|
1826 |
LIBTHAI_LIBS |
|
1827 |
linker flags for LIBTHAI, overriding pkg-config |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
1828 |
INTROSPECTION_CFLAGS |
1829 |
C compiler flags for INTROSPECTION, overriding pkg-config |
|
1830 |
INTROSPECTION_LIBS |
|
1831 |
linker flags for INTROSPECTION, overriding pkg-config |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1832 |
|
1833 |
Use these variables to override the choices made by `configure' or to help |
|
1834 |
it to find libraries and programs with nonstandard names/locations. |
|
1835 |
||
1836 |
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pango>. |
|
1837 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1838 |
ac_status=$? |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1839 |
fi |
1840 |
||
1841 |
if test "$ac_init_help" = "recursive"; then |
|
1842 |
# If there are subdirs, report their specific --help. |
|
1843 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1844 |
test -d "$ac_dir" || |
1845 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1846 |
continue |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1847 |
ac_builddir=. |
1848 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1849 |
case "$ac_dir" in |
1850 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1851 |
*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1852 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1853 |
# A ".." for each directory in $ac_dir_suffix. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1854 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1855 |
case $ac_top_builddir_sub in |
1856 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1857 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1858 |
esac ;; |
|
1859 |
esac |
|
1860 |
ac_abs_top_builddir=$ac_pwd |
|
1861 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1862 |
# for backward compatibility: |
|
1863 |
ac_top_builddir=$ac_top_build_prefix |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1864 |
|
1865 |
case $srcdir in |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1866 |
.) # We are building in place. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1867 |
ac_srcdir=. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1868 |
ac_top_srcdir=$ac_top_builddir_sub |
1869 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1870 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1871 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1872 |
ac_top_srcdir=$srcdir |
1873 |
ac_abs_top_srcdir=$srcdir ;; |
|
1874 |
*) # Relative name. |
|
1875 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1876 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1877 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1878 |
esac |
|
1879 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1880 |
||
1881 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1882 |
# Check for guested configure. |
|
1883 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1884 |
echo && |
|
1885 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1886 |
elif test -f "$ac_srcdir/configure"; then |
|
1887 |
echo && |
|
1888 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1889 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1890 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1891 |
fi || ac_status=$? |
1892 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1893 |
done |
1894 |
fi |
|
1895 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1896 |
test -n "$ac_init_help" && exit $ac_status |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1897 |
if $ac_init_version; then |
1898 |
cat <<\_ACEOF |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
1899 |
pango configure 1.26.2 |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1900 |
generated by GNU Autoconf 2.63 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1901 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1902 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1903 |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1904 |
This configure script is free software; the Free Software Foundation |
1905 |
gives unlimited permission to copy, distribute and modify it. |
|
1906 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1907 |
exit |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1908 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1909 |
cat >config.log <<_ACEOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1910 |
This file contains any messages produced by compilers while |
1911 |
running configure, to aid debugging if configure makes a mistake. |
|
1912 |
||
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
1913 |
It was created by pango $as_me 1.26.2, which was |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
1914 |
generated by GNU Autoconf 2.63. Invocation command line was |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1915 |
|
1916 |
$ $0 $@ |
|
1917 |
||
1918 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1919 |
exec 5>>config.log |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1920 |
{ |
1921 |
cat <<_ASUNAME |
|
1922 |
## --------- ## |
|
1923 |
## Platform. ## |
|
1924 |
## --------- ## |
|
1925 |
||
1926 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1927 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1928 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1929 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1930 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1931 |
||
1932 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1933 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1934 |
||
1935 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1936 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1937 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1938 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1939 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1940 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1941 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1942 |
||
1943 |
_ASUNAME |
|
1944 |
||
1945 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1946 |
for as_dir in $PATH |
|
1947 |
do |
|
1948 |
IFS=$as_save_IFS |
|
1949 |
test -z "$as_dir" && as_dir=. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1950 |
$as_echo "PATH: $as_dir" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1951 |
done |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1952 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1953 |
|
1954 |
} >&5 |
|
1955 |
||
1956 |
cat >&5 <<_ACEOF |
|
1957 |
||
1958 |
||
1959 |
## ----------- ## |
|
1960 |
## Core tests. ## |
|
1961 |
## ----------- ## |
|
1962 |
||
1963 |
_ACEOF |
|
1964 |
||
1965 |
||
1966 |
# Keep a trace of the command line. |
|
1967 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
1968 |
# Strip out --silent because we don't want to record it for future runs. |
|
1969 |
# Also quote any args containing shell meta-characters. |
|
1970 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
1971 |
ac_configure_args= |
|
1972 |
ac_configure_args0= |
|
1973 |
ac_configure_args1= |
|
1974 |
ac_must_keep_next=false |
|
1975 |
for ac_pass in 1 2 |
|
1976 |
do |
|
1977 |
for ac_arg |
|
1978 |
do |
|
1979 |
case $ac_arg in |
|
1980 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1981 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1982 |
| -silent | --silent | --silen | --sile | --sil) |
|
1983 |
continue ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
1984 |
*\'*) |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
1985 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
1986 |
esac |
1987 |
case $ac_pass in |
|
1988 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
1989 |
2) |
|
1990 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
1991 |
if test $ac_must_keep_next = true; then |
|
1992 |
ac_must_keep_next=false # Got value, back to normal. |
|
1993 |
else |
|
1994 |
case $ac_arg in |
|
1995 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1996 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1997 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1998 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1999 |
case "$ac_configure_args0 " in |
|
2000 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2001 |
esac |
|
2002 |
;; |
|
2003 |
-* ) ac_must_keep_next=true ;; |
|
2004 |
esac |
|
2005 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2006 |
ac_configure_args="$ac_configure_args '$ac_arg'" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2007 |
;; |
2008 |
esac |
|
2009 |
done |
|
2010 |
done |
|
2011 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
2012 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
2013 |
||
2014 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
2015 |
# config.log. We remove comments because anyway the quotes in there |
|
2016 |
# would cause problems or look ugly. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2017 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
2018 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2019 |
trap 'exit_status=$? |
2020 |
# Save into config.log some information that might help in debugging. |
|
2021 |
{ |
|
2022 |
echo |
|
2023 |
||
2024 |
cat <<\_ASBOX |
|
2025 |
## ---------------- ## |
|
2026 |
## Cache variables. ## |
|
2027 |
## ---------------- ## |
|
2028 |
_ASBOX |
|
2029 |
echo |
|
2030 |
# The following way of writing the cache mishandles newlines in values, |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2031 |
( |
2032 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2033 |
eval ac_val=\$$ac_var |
|
2034 |
case $ac_val in #( |
|
2035 |
*${as_nl}*) |
|
2036 |
case $ac_var in #( |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
2037 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
2038 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2039 |
esac |
2040 |
case $ac_var in #( |
|
2041 |
_ | IFS | as_nl) ;; #( |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2042 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2043 |
*) $as_unset $ac_var ;; |
2044 |
esac ;; |
|
2045 |
esac |
|
2046 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2047 |
(set) 2>&1 | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2048 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2049 |
*${as_nl}ac_space=\ *) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2050 |
sed -n \ |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2051 |
"s/'\''/'\''\\\\'\'''\''/g; |
2052 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2053 |
;; #( |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2054 |
*) |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2055 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2056 |
;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2057 |
esac | |
2058 |
sort |
|
2059 |
) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2060 |
echo |
2061 |
||
2062 |
cat <<\_ASBOX |
|
2063 |
## ----------------- ## |
|
2064 |
## Output variables. ## |
|
2065 |
## ----------------- ## |
|
2066 |
_ASBOX |
|
2067 |
echo |
|
2068 |
for ac_var in $ac_subst_vars |
|
2069 |
do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2070 |
eval ac_val=\$$ac_var |
2071 |
case $ac_val in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2072 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2073 |
esac |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2074 |
$as_echo "$ac_var='\''$ac_val'\''" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2075 |
done | sort |
2076 |
echo |
|
2077 |
||
2078 |
if test -n "$ac_subst_files"; then |
|
2079 |
cat <<\_ASBOX |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2080 |
## ------------------- ## |
2081 |
## File substitutions. ## |
|
2082 |
## ------------------- ## |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2083 |
_ASBOX |
2084 |
echo |
|
2085 |
for ac_var in $ac_subst_files |
|
2086 |
do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2087 |
eval ac_val=\$$ac_var |
2088 |
case $ac_val in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2089 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2090 |
esac |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2091 |
$as_echo "$ac_var='\''$ac_val'\''" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2092 |
done | sort |
2093 |
echo |
|
2094 |
fi |
|
2095 |
||
2096 |
if test -s confdefs.h; then |
|
2097 |
cat <<\_ASBOX |
|
2098 |
## ----------- ## |
|
2099 |
## confdefs.h. ## |
|
2100 |
## ----------- ## |
|
2101 |
_ASBOX |
|
2102 |
echo |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2103 |
cat confdefs.h |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2104 |
echo |
2105 |
fi |
|
2106 |
test "$ac_signal" != 0 && |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2107 |
$as_echo "$as_me: caught signal $ac_signal" |
2108 |
$as_echo "$as_me: exit $exit_status" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2109 |
} >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2110 |
rm -f core *.core core.conftest.* && |
2111 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2112 |
exit $exit_status |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2113 |
' 0 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2114 |
for ac_signal in 1 2 13 15; do |
2115 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
2116 |
done |
|
2117 |
ac_signal=0 |
|
2118 |
||
2119 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2120 |
rm -f -r conftest* confdefs.h |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2121 |
|
2122 |
# Predefined preprocessor variables. |
|
2123 |
||
2124 |
cat >>confdefs.h <<_ACEOF |
|
2125 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
2126 |
_ACEOF |
|
2127 |
||
2128 |
||
2129 |
cat >>confdefs.h <<_ACEOF |
|
2130 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2131 |
_ACEOF |
|
2132 |
||
2133 |
||
2134 |
cat >>confdefs.h <<_ACEOF |
|
2135 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2136 |
_ACEOF |
|
2137 |
||
2138 |
||
2139 |
cat >>confdefs.h <<_ACEOF |
|
2140 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
2141 |
_ACEOF |
|
2142 |
||
2143 |
||
2144 |
cat >>confdefs.h <<_ACEOF |
|
2145 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2146 |
_ACEOF |
|
2147 |
||
2148 |
||
2149 |
# Let the site file select an alternate cache file if it wants to. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2150 |
# Prefer an explicitly selected file to automatically selected ones. |
2151 |
ac_site_file1=NONE |
|
2152 |
ac_site_file2=NONE |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2153 |
if test -n "$CONFIG_SITE"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2154 |
ac_site_file1=$CONFIG_SITE |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2155 |
elif test "x$prefix" != xNONE; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2156 |
ac_site_file1=$prefix/share/config.site |
2157 |
ac_site_file2=$prefix/etc/config.site |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2158 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2159 |
ac_site_file1=$ac_default_prefix/share/config.site |
2160 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2161 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2162 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2163 |
do |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2164 |
test "x$ac_site_file" = xNONE && continue |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2165 |
if test -r "$ac_site_file"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2166 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2167 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2168 |
sed 's/^/| /' "$ac_site_file" >&5 |
2169 |
. "$ac_site_file" |
|
2170 |
fi |
|
2171 |
done |
|
2172 |
||
2173 |
if test -r "$cache_file"; then |
|
2174 |
# Some versions of bash will fail to source /dev/null (special |
|
2175 |
# files actually), so we avoid doing that. |
|
2176 |
if test -f "$cache_file"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2177 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2178 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2179 |
case $cache_file in |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2180 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2181 |
*) . "./$cache_file";; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2182 |
esac |
2183 |
fi |
|
2184 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2185 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2186 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2187 |
>$cache_file |
2188 |
fi |
|
2189 |
||
2190 |
# Check that the precious variables saved in the cache have kept the same |
|
2191 |
# value. |
|
2192 |
ac_cache_corrupted=false |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2193 |
for ac_var in $ac_precious_vars; do |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2194 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2195 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2196 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2197 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2198 |
case $ac_old_set,$ac_new_set in |
2199 |
set,) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2200 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2201 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2202 |
ac_cache_corrupted=: ;; |
2203 |
,set) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2204 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2205 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2206 |
ac_cache_corrupted=: ;; |
2207 |
,);; |
|
2208 |
*) |
|
2209 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2210 |
# differences in whitespace do not lead to failure. |
2211 |
ac_old_val_w=`echo x $ac_old_val` |
|
2212 |
ac_new_val_w=`echo x $ac_new_val` |
|
2213 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2214 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2215 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2216 |
ac_cache_corrupted=: |
|
2217 |
else |
|
2218 |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2219 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2220 |
eval $ac_var=\$ac_old_val |
|
2221 |
fi |
|
2222 |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
|
2223 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2224 |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
|
2225 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2226 |
fi;; |
2227 |
esac |
|
2228 |
# Pass precious variables to config.status. |
|
2229 |
if test "$ac_new_set" = set; then |
|
2230 |
case $ac_new_val in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2231 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2232 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2233 |
esac |
|
2234 |
case " $ac_configure_args " in |
|
2235 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2236 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
2237 |
esac |
|
2238 |
fi |
|
2239 |
done |
|
2240 |
if $ac_cache_corrupted; then |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
2241 |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2242 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2243 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2244 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2245 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
2246 |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2247 |
{ (exit 1); exit 1; }; } |
2248 |
fi |
|
2249 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2250 |
|
2251 |
||
2252 |
||
2253 |
||
2254 |
||
2255 |
||
2256 |
||
2257 |
||
2258 |
||
2259 |
||
2260 |
||
2261 |
||
2262 |
||
2263 |
||
2264 |
||
2265 |
||
2266 |
||
2267 |
||
2268 |
||
2269 |
||
2270 |
||
2271 |
||
2272 |
||
2273 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2274 |
ac_ext=c |
2275 |
ac_cpp='$CPP $CPPFLAGS' |
|
2276 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2277 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2278 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2279 |
||
2280 |
||
2281 |
||
2282 |
||
2283 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
2284 |
am__api_version='1.11' |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2285 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2286 |
ac_aux_dir= |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2287 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2288 |
if test -f "$ac_dir/install-sh"; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2289 |
ac_aux_dir=$ac_dir |
2290 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2291 |
break |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2292 |
elif test -f "$ac_dir/install.sh"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2293 |
ac_aux_dir=$ac_dir |
2294 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2295 |
break |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2296 |
elif test -f "$ac_dir/shtool"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2297 |
ac_aux_dir=$ac_dir |
2298 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2299 |
break |
|
2300 |
fi |
|
2301 |
done |
|
2302 |
if test -z "$ac_aux_dir"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2303 |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2304 |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2305 |
{ (exit 1); exit 1; }; } |
2306 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2307 |
|
2308 |
# These three variables are undocumented and unsupported, |
|
2309 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2310 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2311 |
# whose full name contains unusual characters. |
|
2312 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2313 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2314 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2315 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2316 |
|
2317 |
# Find a good install program. We prefer a C program (faster), |
|
2318 |
# so one script is as good as another. But avoid the broken or |
|
2319 |
# incompatible versions: |
|
2320 |
# SysV /etc/install, /usr/sbin/install |
|
2321 |
# SunOS /usr/etc/install |
|
2322 |
# IRIX /sbin/install |
|
2323 |
# AIX /bin/install |
|
2324 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2325 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2326 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2327 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2328 |
# OS/2's system install, which has a completely different semantic |
|
2329 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2330 |
# Reject install programs that cannot install multiple files. |
2331 |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
2332 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2333 |
if test -z "$INSTALL"; then |
2334 |
if test "${ac_cv_path_install+set}" = set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2335 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2336 |
else |
2337 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2338 |
for as_dir in $PATH |
|
2339 |
do |
|
2340 |
IFS=$as_save_IFS |
|
2341 |
test -z "$as_dir" && as_dir=. |
|
2342 |
# Account for people who put trailing slashes in PATH elements. |
|
2343 |
case $as_dir/ in |
|
2344 |
./ | .// | /cC/* | \ |
|
2345 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2346 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
2347 |
/usr/ucb/* ) ;; |
|
2348 |
*) |
|
2349 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2350 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2351 |
# by default. |
|
2352 |
for ac_prog in ginstall scoinst install; do |
|
2353 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2354 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2355 |
if test $ac_prog = install && |
2356 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2357 |
# AIX install. It has an incompatible calling convention. |
|
2358 |
: |
|
2359 |
elif test $ac_prog = install && |
|
2360 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2361 |
# program-specific install script used by HP pwplus--don't use. |
|
2362 |
: |
|
2363 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2364 |
rm -rf conftest.one conftest.two conftest.dir |
2365 |
echo one > conftest.one |
|
2366 |
echo two > conftest.two |
|
2367 |
mkdir conftest.dir |
|
2368 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2369 |
test -s conftest.one && test -s conftest.two && |
|
2370 |
test -s conftest.dir/conftest.one && |
|
2371 |
test -s conftest.dir/conftest.two |
|
2372 |
then |
|
2373 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2374 |
break 3 |
|
2375 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2376 |
fi |
2377 |
fi |
|
2378 |
done |
|
2379 |
done |
|
2380 |
;; |
|
2381 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2382 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2383 |
done |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2384 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2385 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2386 |
rm -rf conftest.one conftest.two conftest.dir |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2387 |
|
2388 |
fi |
|
2389 |
if test "${ac_cv_path_install+set}" = set; then |
|
2390 |
INSTALL=$ac_cv_path_install |
|
2391 |
else |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2392 |
# As a last resort, use the slow shell script. Don't cache a |
2393 |
# value for INSTALL within a source directory, because that will |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2394 |
# break other packages using the cache if that directory is |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2395 |
# removed, or if the value is a relative name. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2396 |
INSTALL=$ac_install_sh |
2397 |
fi |
|
2398 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2399 |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2400 |
$as_echo "$INSTALL" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2401 |
|
2402 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2403 |
# It thinks the first close brace ends the variable substitution. |
|
2404 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2405 |
||
2406 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2407 |
||
2408 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2409 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2410 |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2411 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2412 |
# Just in case |
2413 |
sleep 1 |
|
2414 |
echo timestamp > conftest.file |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
2415 |
# Reject unsafe characters in $srcdir or the absolute working directory |
2416 |
# name. Accept space and tab only in the latter. |
|
2417 |
am_lf=' |
|
2418 |
' |
|
2419 |
case `pwd` in |
|
2420 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
2421 |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 |
|
2422 |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} |
|
2423 |
{ (exit 1); exit 1; }; };; |
|
2424 |
esac |
|
2425 |
case $srcdir in |
|
2426 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2427 |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 |
|
2428 |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} |
|
2429 |
{ (exit 1); exit 1; }; };; |
|
2430 |
esac |
|
2431 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2432 |
# Do `set' in a subshell so we don't clobber the current shell's |
2433 |
# arguments. Must try -L first in case configure is actually a |
|
2434 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2435 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2436 |
# directory). |
|
2437 |
if ( |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
2438 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2439 |
if test "$*" = "X"; then |
2440 |
# -L didn't work. |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
2441 |
set X `ls -t "$srcdir/configure" conftest.file` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2442 |
fi |
2443 |
rm -f conftest.file |
|
2444 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2445 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2446 |
||
2447 |
# If neither matched, then we have a broken ls. This can happen |
|
2448 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2449 |
# broken ls alias from the environment. This has actually |
|
2450 |
# happened. Such a system could not be considered "sane". |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2451 |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2452 |
alias in your environment" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2453 |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2454 |
alias in your environment" >&2;} |
2455 |
{ (exit 1); exit 1; }; } |
|
2456 |
fi |
|
2457 |
||
2458 |
test "$2" = conftest.file |
|
2459 |
) |
|
2460 |
then |
|
2461 |
# Ok. |
|
2462 |
: |
|
2463 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2464 |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2465 |
Check your system clock" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2466 |
$as_echo "$as_me: error: newly created file is older than distributed files! |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2467 |
Check your system clock" >&2;} |
2468 |
{ (exit 1); exit 1; }; } |
|
2469 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2470 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
2471 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2472 |
test "$program_prefix" != NONE && |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2473 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2474 |
# Use a double $ so make ignores it. |
2475 |
test "$program_suffix" != NONE && |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2476 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2477 |
# Double any \ or $. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2478 |
# By default was `s,x,x', remove it if useless. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2479 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2480 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2481 |
|
2482 |
# expand $ac_aux_dir to an absolute path |
|
2483 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2484 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
2485 |
if test x"${MISSING+set}" != xset; then |
2486 |
case $am_aux_dir in |
|
2487 |
*\ * | *\ *) |
|
2488 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2489 |
*) |
|
2490 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2491 |
esac |
|
2492 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2493 |
# Use eval to expand $SHELL |
2494 |
if eval "$MISSING --run true"; then |
|
2495 |
am_missing_run="$MISSING --run " |
|
2496 |
else |
|
2497 |
am_missing_run= |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2498 |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2499 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2500 |
fi |
2501 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
2502 |
if test x"${install_sh}" != xset; then |
2503 |
case $am_aux_dir in |
|
2504 |
*\ * | *\ *) |
|
2505 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2506 |
*) |
|
2507 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2508 |
esac |
|
2509 |
fi |
|
2510 |
||
2511 |
# Installed binaries are usually stripped using `strip' when the user |
|
2512 |
# run `make install-strip'. However `strip' might not be the right |
|
2513 |
# tool to use in cross-compilation environments, therefore Automake |
|
2514 |
# will honor the `STRIP' environment variable to overrule this program. |
|
2515 |
if test "$cross_compiling" != no; then |
|
2516 |
if test -n "$ac_tool_prefix"; then |
|
2517 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2518 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2519 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2520 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2521 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
|
2522 |
$as_echo_n "(cached) " >&6 |
|
2523 |
else |
|
2524 |
if test -n "$STRIP"; then |
|
2525 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2526 |
else |
|
2527 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2528 |
for as_dir in $PATH |
|
2529 |
do |
|
2530 |
IFS=$as_save_IFS |
|
2531 |
test -z "$as_dir" && as_dir=. |
|
2532 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2533 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2534 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2535 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2536 |
break 2 |
|
2537 |
fi |
|
2538 |
done |
|
2539 |
done |
|
2540 |
IFS=$as_save_IFS |
|
2541 |
||
2542 |
fi |
|
2543 |
fi |
|
2544 |
STRIP=$ac_cv_prog_STRIP |
|
2545 |
if test -n "$STRIP"; then |
|
2546 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
2547 |
$as_echo "$STRIP" >&6; } |
|
2548 |
else |
|
2549 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
2550 |
$as_echo "no" >&6; } |
|
2551 |
fi |
|
2552 |
||
2553 |
||
2554 |
fi |
|
2555 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2556 |
ac_ct_STRIP=$STRIP |
|
2557 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2558 |
set dummy strip; ac_word=$2 |
|
2559 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2560 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2561 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
2562 |
$as_echo_n "(cached) " >&6 |
|
2563 |
else |
|
2564 |
if test -n "$ac_ct_STRIP"; then |
|
2565 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2566 |
else |
|
2567 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2568 |
for as_dir in $PATH |
|
2569 |
do |
|
2570 |
IFS=$as_save_IFS |
|
2571 |
test -z "$as_dir" && as_dir=. |
|
2572 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2573 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2574 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
2575 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2576 |
break 2 |
|
2577 |
fi |
|
2578 |
done |
|
2579 |
done |
|
2580 |
IFS=$as_save_IFS |
|
2581 |
||
2582 |
fi |
|
2583 |
fi |
|
2584 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2585 |
if test -n "$ac_ct_STRIP"; then |
|
2586 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
2587 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
2588 |
else |
|
2589 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
2590 |
$as_echo "no" >&6; } |
|
2591 |
fi |
|
2592 |
||
2593 |
if test "x$ac_ct_STRIP" = x; then |
|
2594 |
STRIP=":" |
|
2595 |
else |
|
2596 |
case $cross_compiling:$ac_tool_warned in |
|
2597 |
yes:) |
|
2598 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2599 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2600 |
ac_tool_warned=yes ;; |
|
2601 |
esac |
|
2602 |
STRIP=$ac_ct_STRIP |
|
2603 |
fi |
|
2604 |
else |
|
2605 |
STRIP="$ac_cv_prog_STRIP" |
|
2606 |
fi |
|
2607 |
||
2608 |
fi |
|
2609 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2610 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2611 |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
2612 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2613 |
if test -z "$MKDIR_P"; then |
2614 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2615 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2616 |
else |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2617 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2618 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2619 |
do |
|
2620 |
IFS=$as_save_IFS |
|
2621 |
test -z "$as_dir" && as_dir=. |
|
2622 |
for ac_prog in mkdir gmkdir; do |
|
2623 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2624 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2625 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2626 |
'mkdir (GNU coreutils) '* | \ |
|
2627 |
'mkdir (coreutils) '* | \ |
|
2628 |
'mkdir (fileutils) '4.1*) |
|
2629 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2630 |
break 3;; |
|
2631 |
esac |
|
2632 |
done |
|
2633 |
done |
|
2634 |
done |
|
2635 |
IFS=$as_save_IFS |
|
2636 |
||
2637 |
fi |
|
2638 |
||
2639 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2640 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2641 |
else |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2642 |
# As a last resort, use the slow shell script. Don't cache a |
2643 |
# value for MKDIR_P within a source directory, because that will |
|
2644 |
# break other packages using the cache if that directory is |
|
2645 |
# removed, or if the value is a relative name. |
|
2646 |
test -d ./--version && rmdir ./--version |
|
2647 |
MKDIR_P="$ac_install_sh -d" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2648 |
fi |
2649 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2650 |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
2651 |
$as_echo "$MKDIR_P" >&6; } |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2652 |
|
2653 |
mkdir_p="$MKDIR_P" |
|
2654 |
case $mkdir_p in |
|
2655 |
[\\/$]* | ?:[\\/]*) ;; |
|
2656 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2657 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2658 |
|
2659 |
for ac_prog in gawk mawk nawk awk |
|
2660 |
do |
|
2661 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2662 |
set dummy $ac_prog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2663 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2664 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2665 |
if test "${ac_cv_prog_AWK+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2666 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2667 |
else |
2668 |
if test -n "$AWK"; then |
|
2669 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2670 |
else |
|
2671 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2672 |
for as_dir in $PATH |
|
2673 |
do |
|
2674 |
IFS=$as_save_IFS |
|
2675 |
test -z "$as_dir" && as_dir=. |
|
2676 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2677 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2678 |
ac_cv_prog_AWK="$ac_prog" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2679 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2680 |
break 2 |
2681 |
fi |
|
2682 |
done |
|
2683 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2684 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2685 |
|
2686 |
fi |
|
2687 |
fi |
|
2688 |
AWK=$ac_cv_prog_AWK |
|
2689 |
if test -n "$AWK"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2690 |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
2691 |
$as_echo "$AWK" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2692 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2693 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2694 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2695 |
fi |
2696 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2697 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2698 |
test -n "$AWK" && break |
2699 |
done |
|
2700 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2701 |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2702 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2703 |
set x ${MAKE-make} |
|
2704 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2705 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2706 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2707 |
else |
2708 |
cat >conftest.make <<\_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2709 |
SHELL = /bin/sh |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2710 |
all: |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2711 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2712 |
_ACEOF |
2713 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2714 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2715 |
*@@@%%%=?*=@@@%%%*) |
|
2716 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2717 |
*) |
|
2718 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2719 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2720 |
rm -f conftest.make |
2721 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2722 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2723 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
2724 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2725 |
SET_MAKE= |
2726 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2727 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2728 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2729 |
SET_MAKE="MAKE=${MAKE-make}" |
2730 |
fi |
|
2731 |
||
2732 |
rm -rf .tst 2>/dev/null |
|
2733 |
mkdir .tst 2>/dev/null |
|
2734 |
if test -d .tst; then |
|
2735 |
am__leading_dot=. |
|
2736 |
else |
|
2737 |
am__leading_dot=_ |
|
2738 |
fi |
|
2739 |
rmdir .tst 2>/dev/null |
|
2740 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2741 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2742 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2743 |
# is not polluted with repeated "-I." |
|
2744 |
am__isrc=' -I$(srcdir)' |
|
2745 |
# test to see if srcdir already configured |
|
2746 |
if test -f $srcdir/config.status; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2747 |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2748 |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2749 |
{ (exit 1); exit 1; }; } |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2750 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2751 |
fi |
2752 |
||
2753 |
# test whether we have cygpath |
|
2754 |
if test -z "$CYGPATH_W"; then |
|
2755 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2756 |
CYGPATH_W='cygpath -w' |
|
2757 |
else |
|
2758 |
CYGPATH_W=echo |
|
2759 |
fi |
|
2760 |
fi |
|
2761 |
||
2762 |
||
2763 |
# Define the identity of the package. |
|
2764 |
PACKAGE='pango' |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2765 |
VERSION='1.26.2' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2766 |
|
2767 |
||
2768 |
cat >>confdefs.h <<_ACEOF |
|
2769 |
#define PACKAGE "$PACKAGE" |
|
2770 |
_ACEOF |
|
2771 |
||
2772 |
||
2773 |
cat >>confdefs.h <<_ACEOF |
|
2774 |
#define VERSION "$VERSION" |
|
2775 |
_ACEOF |
|
2776 |
||
2777 |
# Some tools Automake needs. |
|
2778 |
||
2779 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2780 |
||
2781 |
||
2782 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2783 |
||
2784 |
||
2785 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2786 |
||
2787 |
||
2788 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2789 |
||
2790 |
||
2791 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2792 |
||
2793 |
# We need awk for the "check" target. The system "awk" is bad on |
|
2794 |
# some platforms. |
|
2795 |
# Always define AMTAR for backward compatibility. |
|
2796 |
||
2797 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
2798 |
||
2799 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
2800 |
||
2801 |
||
2802 |
||
2803 |
||
2804 |
||
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
2805 |
# Check whether --enable-silent-rules was given. |
2806 |
if test "${enable_silent_rules+set}" = set; then |
|
2807 |
enableval=$enable_silent_rules; |
|
2808 |
fi |
|
2809 |
||
2810 |
case $enable_silent_rules in |
|
2811 |
yes) AM_DEFAULT_VERBOSITY=0;; |
|
2812 |
no) AM_DEFAULT_VERBOSITY=1;; |
|
1.6.1
by Sebastian Dröge
Import upstream version 1.25.6 |
2813 |
*) AM_DEFAULT_VERBOSITY=0;; |
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
2814 |
esac |
2815 |
AM_BACKSLASH='\' |
|
2816 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2817 |
ac_config_headers="$ac_config_headers config.h" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2818 |
|
2819 |
||
2820 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
2821 |
PANGO_VERSION_MAJOR=1 |
1.7.1
by Sebastian Dröge
Import upstream version 1.26.0 |
2822 |
PANGO_VERSION_MINOR=26 |
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2823 |
PANGO_VERSION_MICRO=2 |
2824 |
PANGO_VERSION=1.26.2 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2825 |
PANGO_API_VERSION=1.0 |
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2826 |
PANGO_INTERFACE_AGE=2 |
2827 |
PANGO_BINARY_AGE=2602 |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
2828 |
PANGO_MODULE_VERSION=1.6.0 |
2829 |
||
2830 |
||
2831 |
||
2832 |
||
2833 |
||
2834 |
||
2835 |
||
2836 |
||
2837 |
||
2838 |
||
2839 |
||
2840 |
cat >>confdefs.h <<\_ACEOF |
|
2841 |
#define MODULE_VERSION "1.6.0" |
|
2842 |
_ACEOF |
|
2843 |
||
2844 |
||
2845 |
cat >>confdefs.h <<\_ACEOF |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2846 |
#define PANGO_BINARY_AGE 2602 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
2847 |
_ACEOF |
2848 |
||
2849 |
||
2850 |
cat >>confdefs.h <<\_ACEOF |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2851 |
#define PANGO_INTERFACE_AGE 2 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
2852 |
_ACEOF |
2853 |
||
2854 |
||
2855 |
cat >>confdefs.h <<\_ACEOF |
|
2856 |
#define PANGO_VERSION_MAJOR 1 |
|
2857 |
_ACEOF |
|
2858 |
||
2859 |
||
2860 |
cat >>confdefs.h <<\_ACEOF |
|
1.7.1
by Sebastian Dröge
Import upstream version 1.26.0 |
2861 |
#define PANGO_VERSION_MINOR 26 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
2862 |
_ACEOF |
2863 |
||
2864 |
||
2865 |
cat >>confdefs.h <<\_ACEOF |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2866 |
#define PANGO_VERSION_MICRO 2 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
2867 |
_ACEOF |
2868 |
||
2869 |
||
2870 |
||
2871 |
||
2872 |
||
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
2873 |
VERSION_INFO="2600:2:2600" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2874 |
PANGO_CURRENT_MINUS_AGE=0 |
2875 |
||
2876 |
||
2877 |
||
2878 |
||
2879 |
# Make sure we can run config.sub. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2880 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2881 |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
2882 |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2883 |
{ (exit 1); exit 1; }; } |
2884 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2885 |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
2886 |
$as_echo_n "checking build system type... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2887 |
if test "${ac_cv_build+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2888 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2889 |
else |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2890 |
ac_build_alias=$build_alias |
2891 |
test "x$ac_build_alias" = x && |
|
2892 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
2893 |
test "x$ac_build_alias" = x && |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2894 |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2895 |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2896 |
{ (exit 1); exit 1; }; } |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2897 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2898 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
2899 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2900 |
{ (exit 1); exit 1; }; } |
2901 |
||
2902 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2903 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2904 |
$as_echo "$ac_cv_build" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2905 |
case $ac_cv_build in |
2906 |
*-*-*) ;; |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2907 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2908 |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2909 |
{ (exit 1); exit 1; }; };; |
2910 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2911 |
build=$ac_cv_build |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2912 |
ac_save_IFS=$IFS; IFS='-' |
2913 |
set x $ac_cv_build |
|
2914 |
shift |
|
2915 |
build_cpu=$1 |
|
2916 |
build_vendor=$2 |
|
2917 |
shift; shift |
|
2918 |
# Remember, the first character of IFS is used to create $*, |
|
2919 |
# except with old shells: |
|
2920 |
build_os=$* |
|
2921 |
IFS=$ac_save_IFS |
|
2922 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
2923 |
||
2924 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2925 |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
2926 |
$as_echo_n "checking host system type... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2927 |
if test "${ac_cv_host+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2928 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2929 |
else |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2930 |
if test "x$host_alias" = x; then |
2931 |
ac_cv_host=$ac_cv_build |
|
2932 |
else |
|
2933 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2934 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
2935 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2936 |
{ (exit 1); exit 1; }; } |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2937 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2938 |
|
2939 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2940 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2941 |
$as_echo "$ac_cv_host" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2942 |
case $ac_cv_host in |
2943 |
*-*-*) ;; |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2944 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2945 |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2946 |
{ (exit 1); exit 1; }; };; |
2947 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2948 |
host=$ac_cv_host |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
2949 |
ac_save_IFS=$IFS; IFS='-' |
2950 |
set x $ac_cv_host |
|
2951 |
shift |
|
2952 |
host_cpu=$1 |
|
2953 |
host_vendor=$2 |
|
2954 |
shift; shift |
|
2955 |
# Remember, the first character of IFS is used to create $*, |
|
2956 |
# except with old shells: |
|
2957 |
host_os=$* |
|
2958 |
IFS=$ac_save_IFS |
|
2959 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
2960 |
||
2961 |
||
2962 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2963 |
{ $as_echo "$as_me:$LINENO: checking for native Win32" >&5 |
2964 |
$as_echo_n "checking for native Win32... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2965 |
case "$host" in |
2966 |
*-*-mingw*) |
|
2967 |
pango_os_win32=yes |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2968 |
case "$host" in |
2969 |
x86_64-*-*) |
|
2970 |
LIB_EXE_MACHINE_FLAG=X64 |
|
2971 |
;; |
|
2972 |
*) |
|
2973 |
LIB_EXE_MACHINE_FLAG=X86 |
|
2974 |
;; |
|
2975 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2976 |
;; |
2977 |
*) |
|
2978 |
pango_os_win32=no |
|
2979 |
;; |
|
2980 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
2981 |
{ $as_echo "$as_me:$LINENO: result: $pango_os_win32" >&5 |
2982 |
$as_echo "$pango_os_win32" >&6; } |
|
2983 |
||
2984 |
||
2985 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
2986 |
if test "$pango_os_win32" = "yes"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
2987 |
OS_WIN32_TRUE= |
2988 |
OS_WIN32_FALSE='#' |
|
2989 |
else |
|
2990 |
OS_WIN32_TRUE='#' |
|
2991 |
OS_WIN32_FALSE= |
|
2992 |
fi |
|
2993 |
||
2994 |
||
2995 |
ac_ext=c |
|
2996 |
ac_cpp='$CPP $CPPFLAGS' |
|
2997 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2998 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2999 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3000 |
if test -n "$ac_tool_prefix"; then |
|
3001 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
3002 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3003 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3004 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3005 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3006 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3007 |
else |
3008 |
if test -n "$CC"; then |
|
3009 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3010 |
else |
|
3011 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3012 |
for as_dir in $PATH |
|
3013 |
do |
|
3014 |
IFS=$as_save_IFS |
|
3015 |
test -z "$as_dir" && as_dir=. |
|
3016 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3017 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3018 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3019 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3020 |
break 2 |
3021 |
fi |
|
3022 |
done |
|
3023 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3024 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3025 |
|
3026 |
fi |
|
3027 |
fi |
|
3028 |
CC=$ac_cv_prog_CC |
|
3029 |
if test -n "$CC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3030 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3031 |
$as_echo "$CC" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3032 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3033 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3034 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3035 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3036 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3037 |
|
3038 |
fi |
|
3039 |
if test -z "$ac_cv_prog_CC"; then |
|
3040 |
ac_ct_CC=$CC |
|
3041 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
3042 |
set dummy gcc; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3043 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3044 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3045 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3046 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3047 |
else |
3048 |
if test -n "$ac_ct_CC"; then |
|
3049 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3050 |
else |
|
3051 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3052 |
for as_dir in $PATH |
|
3053 |
do |
|
3054 |
IFS=$as_save_IFS |
|
3055 |
test -z "$as_dir" && as_dir=. |
|
3056 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3057 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3058 |
ac_cv_prog_ac_ct_CC="gcc" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3059 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3060 |
break 2 |
3061 |
fi |
|
3062 |
done |
|
3063 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3064 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3065 |
|
3066 |
fi |
|
3067 |
fi |
|
3068 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3069 |
if test -n "$ac_ct_CC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3070 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3071 |
$as_echo "$ac_ct_CC" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3072 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3073 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3074 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3075 |
fi |
3076 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3077 |
if test "x$ac_ct_CC" = x; then |
3078 |
CC="" |
|
3079 |
else |
|
3080 |
case $cross_compiling:$ac_tool_warned in |
|
3081 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3082 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3083 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3084 |
ac_tool_warned=yes ;; |
3085 |
esac |
|
3086 |
CC=$ac_ct_CC |
|
3087 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3088 |
else |
3089 |
CC="$ac_cv_prog_CC" |
|
3090 |
fi |
|
3091 |
||
3092 |
if test -z "$CC"; then |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3093 |
if test -n "$ac_tool_prefix"; then |
3094 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3095 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3096 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3097 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3098 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3099 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3100 |
else |
3101 |
if test -n "$CC"; then |
|
3102 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3103 |
else |
|
3104 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3105 |
for as_dir in $PATH |
|
3106 |
do |
|
3107 |
IFS=$as_save_IFS |
|
3108 |
test -z "$as_dir" && as_dir=. |
|
3109 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3110 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3111 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3112 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3113 |
break 2 |
3114 |
fi |
|
3115 |
done |
|
3116 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3117 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3118 |
|
3119 |
fi |
|
3120 |
fi |
|
3121 |
CC=$ac_cv_prog_CC |
|
3122 |
if test -n "$CC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3123 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3124 |
$as_echo "$CC" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3125 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3126 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3127 |
$as_echo "no" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3128 |
fi |
3129 |
||
3130 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3131 |
fi |
3132 |
fi |
|
3133 |
if test -z "$CC"; then |
|
3134 |
# Extract the first word of "cc", so it can be a program name with args. |
|
3135 |
set dummy cc; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3136 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3137 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3138 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3139 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3140 |
else |
3141 |
if test -n "$CC"; then |
|
3142 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3143 |
else |
|
3144 |
ac_prog_rejected=no |
|
3145 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3146 |
for as_dir in $PATH |
|
3147 |
do |
|
3148 |
IFS=$as_save_IFS |
|
3149 |
test -z "$as_dir" && as_dir=. |
|
3150 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3151 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3152 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3153 |
ac_prog_rejected=yes |
|
3154 |
continue |
|
3155 |
fi |
|
3156 |
ac_cv_prog_CC="cc" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3157 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3158 |
break 2 |
3159 |
fi |
|
3160 |
done |
|
3161 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3162 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3163 |
|
3164 |
if test $ac_prog_rejected = yes; then |
|
3165 |
# We found a bogon in the path, so make sure we never use it. |
|
3166 |
set dummy $ac_cv_prog_CC |
|
3167 |
shift |
|
3168 |
if test $# != 0; then |
|
3169 |
# We chose a different compiler from the bogus one. |
|
3170 |
# However, it has the same basename, so the bogon will be chosen |
|
3171 |
# first if we set CC to just the basename; use the full file name. |
|
3172 |
shift |
|
3173 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3174 |
fi |
|
3175 |
fi |
|
3176 |
fi |
|
3177 |
fi |
|
3178 |
CC=$ac_cv_prog_CC |
|
3179 |
if test -n "$CC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3180 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3181 |
$as_echo "$CC" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3182 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3183 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3184 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3185 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3186 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3187 |
|
3188 |
fi |
|
3189 |
if test -z "$CC"; then |
|
3190 |
if test -n "$ac_tool_prefix"; then |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3191 |
for ac_prog in cl.exe |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3192 |
do |
3193 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3194 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3195 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3196 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3197 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3198 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3199 |
else |
3200 |
if test -n "$CC"; then |
|
3201 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3202 |
else |
|
3203 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3204 |
for as_dir in $PATH |
|
3205 |
do |
|
3206 |
IFS=$as_save_IFS |
|
3207 |
test -z "$as_dir" && as_dir=. |
|
3208 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3209 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3210 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3211 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3212 |
break 2 |
3213 |
fi |
|
3214 |
done |
|
3215 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3216 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3217 |
|
3218 |
fi |
|
3219 |
fi |
|
3220 |
CC=$ac_cv_prog_CC |
|
3221 |
if test -n "$CC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3222 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3223 |
$as_echo "$CC" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3224 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3225 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3226 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3227 |
fi |
3228 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3229 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3230 |
test -n "$CC" && break |
3231 |
done |
|
3232 |
fi |
|
3233 |
if test -z "$CC"; then |
|
3234 |
ac_ct_CC=$CC |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3235 |
for ac_prog in cl.exe |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3236 |
do |
3237 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3238 |
set dummy $ac_prog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3239 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3240 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3241 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3242 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3243 |
else |
3244 |
if test -n "$ac_ct_CC"; then |
|
3245 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3246 |
else |
|
3247 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3248 |
for as_dir in $PATH |
|
3249 |
do |
|
3250 |
IFS=$as_save_IFS |
|
3251 |
test -z "$as_dir" && as_dir=. |
|
3252 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3253 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3254 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3255 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3256 |
break 2 |
3257 |
fi |
|
3258 |
done |
|
3259 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3260 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3261 |
|
3262 |
fi |
|
3263 |
fi |
|
3264 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3265 |
if test -n "$ac_ct_CC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3266 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3267 |
$as_echo "$ac_ct_CC" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3268 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3269 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3270 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3271 |
fi |
3272 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3273 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3274 |
test -n "$ac_ct_CC" && break |
3275 |
done |
|
3276 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3277 |
if test "x$ac_ct_CC" = x; then |
3278 |
CC="" |
|
3279 |
else |
|
3280 |
case $cross_compiling:$ac_tool_warned in |
|
3281 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3282 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3283 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3284 |
ac_tool_warned=yes ;; |
3285 |
esac |
|
3286 |
CC=$ac_ct_CC |
|
3287 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3288 |
fi |
3289 |
||
3290 |
fi |
|
3291 |
||
3292 |
||
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3293 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3294 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3295 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3296 |
See \`config.log' for more details." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3297 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3298 |
See \`config.log' for more details." >&2;} |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3299 |
{ (exit 1); exit 1; }; }; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3300 |
|
3301 |
# Provide some information about the compiler. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3302 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3303 |
set X $ac_compile |
|
3304 |
ac_compiler=$2 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3305 |
{ (ac_try="$ac_compiler --version >&5" |
3306 |
case "(($ac_try" in |
|
3307 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3308 |
*) ac_try_echo=$ac_try;; |
|
3309 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3310 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3311 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3312 |
(eval "$ac_compiler --version >&5") 2>&5 |
3313 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3314 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3315 |
(exit $ac_status); } |
3316 |
{ (ac_try="$ac_compiler -v >&5" |
|
3317 |
case "(($ac_try" in |
|
3318 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3319 |
*) ac_try_echo=$ac_try;; |
|
3320 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3321 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3322 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3323 |
(eval "$ac_compiler -v >&5") 2>&5 |
3324 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3325 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3326 |
(exit $ac_status); } |
3327 |
{ (ac_try="$ac_compiler -V >&5" |
|
3328 |
case "(($ac_try" in |
|
3329 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3330 |
*) ac_try_echo=$ac_try;; |
|
3331 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3332 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3333 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3334 |
(eval "$ac_compiler -V >&5") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3335 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3336 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3337 |
(exit $ac_status); } |
3338 |
||
3339 |
cat >conftest.$ac_ext <<_ACEOF |
|
3340 |
/* confdefs.h. */ |
|
3341 |
_ACEOF |
|
3342 |
cat confdefs.h >>conftest.$ac_ext |
|
3343 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3344 |
/* end confdefs.h. */ |
|
3345 |
||
3346 |
int |
|
3347 |
main () |
|
3348 |
{ |
|
3349 |
||
3350 |
; |
|
3351 |
return 0; |
|
3352 |
} |
|
3353 |
_ACEOF |
|
3354 |
ac_clean_files_save=$ac_clean_files |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3355 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3356 |
# Try to create an executable without -o first, disregard a.out. |
3357 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
3358 |
# of exeext. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3359 |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3360 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3361 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3362 |
||
3363 |
# The possible output files: |
|
3364 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3365 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3366 |
ac_rmfiles= |
3367 |
for ac_file in $ac_files |
|
3368 |
do |
|
3369 |
case $ac_file in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3370 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3371 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3372 |
esac |
|
3373 |
done |
|
3374 |
rm -f $ac_rmfiles |
|
3375 |
||
3376 |
if { (ac_try="$ac_link_default" |
|
3377 |
case "(($ac_try" in |
|
3378 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3379 |
*) ac_try_echo=$ac_try;; |
|
3380 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3381 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3382 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3383 |
(eval "$ac_link_default") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3384 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3385 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3386 |
(exit $ac_status); }; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3387 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3388 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3389 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3390 |
# so that the user can short-circuit this test for compilers unknown to |
|
3391 |
# Autoconf. |
|
3392 |
for ac_file in $ac_files '' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3393 |
do |
3394 |
test -f "$ac_file" || continue |
|
3395 |
case $ac_file in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3396 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3397 |
;; |
3398 |
[ab].out ) |
|
3399 |
# We found the default executable, but exeext='' is most |
|
3400 |
# certainly right. |
|
3401 |
break;; |
|
3402 |
*.* ) |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3403 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3404 |
then :; else |
|
3405 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3406 |
fi |
|
3407 |
# We set ac_cv_exeext here because the later test for it is not |
|
3408 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3409 |
# argument, so we may need to know it at that point already. |
|
3410 |
# Even if this section looks crufty: it has the advantage of |
|
3411 |
# actually working. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3412 |
break;; |
3413 |
* ) |
|
3414 |
break;; |
|
3415 |
esac |
|
3416 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3417 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3418 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3419 |
else |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3420 |
ac_file='' |
3421 |
fi |
|
3422 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3423 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3424 |
$as_echo "$ac_file" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3425 |
if test -z "$ac_file"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3426 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3427 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3428 |
||
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3429 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3430 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3431 |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3432 |
See \`config.log' for more details." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3433 |
$as_echo "$as_me: error: C compiler cannot create executables |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3434 |
See \`config.log' for more details." >&2;} |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3435 |
{ (exit 77); exit 77; }; }; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3436 |
fi |
3437 |
||
3438 |
ac_exeext=$ac_cv_exeext |
|
3439 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3440 |
# Check that the compiler produces executables we can run. If not, either |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3441 |
# the compiler is broken, or we cross compile. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3442 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3443 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3444 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3445 |
# If not cross compiling, check that we can run a simple program. |
|
3446 |
if test "$cross_compiling" != yes; then |
|
3447 |
if { ac_try='./$ac_file' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3448 |
{ (case "(($ac_try" in |
3449 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3450 |
*) ac_try_echo=$ac_try;; |
|
3451 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3452 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3453 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3454 |
(eval "$ac_try") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3455 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3456 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3457 |
(exit $ac_status); }; }; then |
3458 |
cross_compiling=no |
|
3459 |
else |
|
3460 |
if test "$cross_compiling" = maybe; then |
|
3461 |
cross_compiling=yes |
|
3462 |
else |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3463 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3464 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3465 |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3466 |
If you meant to cross compile, use \`--host'. |
3467 |
See \`config.log' for more details." >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3468 |
$as_echo "$as_me: error: cannot run C compiled programs. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3469 |
If you meant to cross compile, use \`--host'. |
3470 |
See \`config.log' for more details." >&2;} |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3471 |
{ (exit 1); exit 1; }; }; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3472 |
fi |
3473 |
fi |
|
3474 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3475 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3476 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3477 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3478 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3479 |
ac_clean_files=$ac_clean_files_save |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3480 |
# Check that the compiler produces executables we can run. If not, either |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3481 |
# the compiler is broken, or we cross compile. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3482 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3483 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3484 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
3485 |
$as_echo "$cross_compiling" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3486 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3487 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3488 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3489 |
if { (ac_try="$ac_link" |
3490 |
case "(($ac_try" in |
|
3491 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3492 |
*) ac_try_echo=$ac_try;; |
|
3493 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3494 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3495 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3496 |
(eval "$ac_link") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3497 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3498 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3499 |
(exit $ac_status); }; then |
3500 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3501 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3502 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3503 |
# `rm'. |
|
3504 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3505 |
test -f "$ac_file" || continue |
|
3506 |
case $ac_file in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3507 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3508 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3509 |
break;; |
|
3510 |
* ) break;; |
|
3511 |
esac |
|
3512 |
done |
|
3513 |
else |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3514 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3515 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3516 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3517 |
See \`config.log' for more details." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3518 |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3519 |
See \`config.log' for more details." >&2;} |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3520 |
{ (exit 1); exit 1; }; }; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3521 |
fi |
3522 |
||
3523 |
rm -f conftest$ac_cv_exeext |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3524 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3525 |
$as_echo "$ac_cv_exeext" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3526 |
|
3527 |
rm -f conftest.$ac_ext |
|
3528 |
EXEEXT=$ac_cv_exeext |
|
3529 |
ac_exeext=$EXEEXT |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3530 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3531 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3532 |
if test "${ac_cv_objext+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3533 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3534 |
else |
3535 |
cat >conftest.$ac_ext <<_ACEOF |
|
3536 |
/* confdefs.h. */ |
|
3537 |
_ACEOF |
|
3538 |
cat confdefs.h >>conftest.$ac_ext |
|
3539 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3540 |
/* end confdefs.h. */ |
|
3541 |
||
3542 |
int |
|
3543 |
main () |
|
3544 |
{ |
|
3545 |
||
3546 |
; |
|
3547 |
return 0; |
|
3548 |
} |
|
3549 |
_ACEOF |
|
3550 |
rm -f conftest.o conftest.obj |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3551 |
if { (ac_try="$ac_compile" |
3552 |
case "(($ac_try" in |
|
3553 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3554 |
*) ac_try_echo=$ac_try;; |
|
3555 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3556 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3557 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3558 |
(eval "$ac_compile") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3559 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3560 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3561 |
(exit $ac_status); }; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3562 |
for ac_file in conftest.o conftest.obj conftest.*; do |
3563 |
test -f "$ac_file" || continue; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3564 |
case $ac_file in |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3565 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3566 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3567 |
break;; |
|
3568 |
esac |
|
3569 |
done |
|
3570 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3571 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3572 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3573 |
||
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3574 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3575 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3576 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3577 |
See \`config.log' for more details." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3578 |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3579 |
See \`config.log' for more details." >&2;} |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
3580 |
{ (exit 1); exit 1; }; }; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3581 |
fi |
3582 |
||
3583 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3584 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3585 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3586 |
$as_echo "$ac_cv_objext" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3587 |
OBJEXT=$ac_cv_objext |
3588 |
ac_objext=$OBJEXT |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3589 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3590 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3591 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3592 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3593 |
else |
3594 |
cat >conftest.$ac_ext <<_ACEOF |
|
3595 |
/* confdefs.h. */ |
|
3596 |
_ACEOF |
|
3597 |
cat confdefs.h >>conftest.$ac_ext |
|
3598 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3599 |
/* end confdefs.h. */ |
|
3600 |
||
3601 |
int |
|
3602 |
main () |
|
3603 |
{ |
|
3604 |
#ifndef __GNUC__ |
|
3605 |
choke me |
|
3606 |
#endif |
|
3607 |
||
3608 |
; |
|
3609 |
return 0; |
|
3610 |
} |
|
3611 |
_ACEOF |
|
3612 |
rm -f conftest.$ac_objext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3613 |
if { (ac_try="$ac_compile" |
3614 |
case "(($ac_try" in |
|
3615 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3616 |
*) ac_try_echo=$ac_try;; |
|
3617 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3618 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3619 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3620 |
(eval "$ac_compile") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3621 |
ac_status=$? |
3622 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3623 |
rm -f conftest.er1 |
|
3624 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3625 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3626 |
(exit $ac_status); } && { |
3627 |
test -z "$ac_c_werror_flag" || |
|
3628 |
test ! -s conftest.err |
|
3629 |
} && test -s conftest.$ac_objext; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3630 |
ac_compiler_gnu=yes |
3631 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3632 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3633 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3634 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3635 |
ac_compiler_gnu=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3636 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3637 |
|
3638 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3639 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3640 |
||
3641 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3642 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3643 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3644 |
if test $ac_compiler_gnu = yes; then |
|
3645 |
GCC=yes |
|
3646 |
else |
|
3647 |
GCC= |
|
3648 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3649 |
ac_test_CFLAGS=${CFLAGS+set} |
3650 |
ac_save_CFLAGS=$CFLAGS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3651 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3652 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3653 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3654 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3655 |
else |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3656 |
ac_save_c_werror_flag=$ac_c_werror_flag |
3657 |
ac_c_werror_flag=yes |
|
3658 |
ac_cv_prog_cc_g=no |
|
3659 |
CFLAGS="-g" |
|
3660 |
cat >conftest.$ac_ext <<_ACEOF |
|
3661 |
/* confdefs.h. */ |
|
3662 |
_ACEOF |
|
3663 |
cat confdefs.h >>conftest.$ac_ext |
|
3664 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3665 |
/* end confdefs.h. */ |
|
3666 |
||
3667 |
int |
|
3668 |
main () |
|
3669 |
{ |
|
3670 |
||
3671 |
; |
|
3672 |
return 0; |
|
3673 |
} |
|
3674 |
_ACEOF |
|
3675 |
rm -f conftest.$ac_objext |
|
3676 |
if { (ac_try="$ac_compile" |
|
3677 |
case "(($ac_try" in |
|
3678 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3679 |
*) ac_try_echo=$ac_try;; |
|
3680 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3681 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3682 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3683 |
(eval "$ac_compile") 2>conftest.er1 |
3684 |
ac_status=$? |
|
3685 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3686 |
rm -f conftest.er1 |
|
3687 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3688 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3689 |
(exit $ac_status); } && { |
3690 |
test -z "$ac_c_werror_flag" || |
|
3691 |
test ! -s conftest.err |
|
3692 |
} && test -s conftest.$ac_objext; then |
|
3693 |
ac_cv_prog_cc_g=yes |
|
3694 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3695 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3696 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3697 |
||
3698 |
CFLAGS="" |
|
3699 |
cat >conftest.$ac_ext <<_ACEOF |
|
3700 |
/* confdefs.h. */ |
|
3701 |
_ACEOF |
|
3702 |
cat confdefs.h >>conftest.$ac_ext |
|
3703 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3704 |
/* end confdefs.h. */ |
|
3705 |
||
3706 |
int |
|
3707 |
main () |
|
3708 |
{ |
|
3709 |
||
3710 |
; |
|
3711 |
return 0; |
|
3712 |
} |
|
3713 |
_ACEOF |
|
3714 |
rm -f conftest.$ac_objext |
|
3715 |
if { (ac_try="$ac_compile" |
|
3716 |
case "(($ac_try" in |
|
3717 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3718 |
*) ac_try_echo=$ac_try;; |
|
3719 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3720 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3721 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3722 |
(eval "$ac_compile") 2>conftest.er1 |
3723 |
ac_status=$? |
|
3724 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3725 |
rm -f conftest.er1 |
|
3726 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3727 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3728 |
(exit $ac_status); } && { |
3729 |
test -z "$ac_c_werror_flag" || |
|
3730 |
test ! -s conftest.err |
|
3731 |
} && test -s conftest.$ac_objext; then |
|
3732 |
: |
|
3733 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3734 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3735 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3736 |
||
3737 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3738 |
CFLAGS="-g" |
|
3739 |
cat >conftest.$ac_ext <<_ACEOF |
|
3740 |
/* confdefs.h. */ |
|
3741 |
_ACEOF |
|
3742 |
cat confdefs.h >>conftest.$ac_ext |
|
3743 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3744 |
/* end confdefs.h. */ |
|
3745 |
||
3746 |
int |
|
3747 |
main () |
|
3748 |
{ |
|
3749 |
||
3750 |
; |
|
3751 |
return 0; |
|
3752 |
} |
|
3753 |
_ACEOF |
|
3754 |
rm -f conftest.$ac_objext |
|
3755 |
if { (ac_try="$ac_compile" |
|
3756 |
case "(($ac_try" in |
|
3757 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3758 |
*) ac_try_echo=$ac_try;; |
|
3759 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3760 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3761 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3762 |
(eval "$ac_compile") 2>conftest.er1 |
3763 |
ac_status=$? |
|
3764 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3765 |
rm -f conftest.er1 |
|
3766 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3767 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3768 |
(exit $ac_status); } && { |
3769 |
test -z "$ac_c_werror_flag" || |
|
3770 |
test ! -s conftest.err |
|
3771 |
} && test -s conftest.$ac_objext; then |
|
3772 |
ac_cv_prog_cc_g=yes |
|
3773 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3774 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3775 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3776 |
||
3777 |
||
3778 |
fi |
|
3779 |
||
3780 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3781 |
fi |
|
3782 |
||
3783 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3784 |
fi |
|
3785 |
||
3786 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3787 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3788 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3789 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3790 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3791 |
if test "$ac_test_CFLAGS" = set; then |
3792 |
CFLAGS=$ac_save_CFLAGS |
|
3793 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3794 |
if test "$GCC" = yes; then |
|
3795 |
CFLAGS="-g -O2" |
|
3796 |
else |
|
3797 |
CFLAGS="-g" |
|
3798 |
fi |
|
3799 |
else |
|
3800 |
if test "$GCC" = yes; then |
|
3801 |
CFLAGS="-O2" |
|
3802 |
else |
|
3803 |
CFLAGS= |
|
3804 |
fi |
|
3805 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3806 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3807 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3808 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3809 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3810 |
else |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3811 |
ac_cv_prog_cc_c89=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3812 |
ac_save_CC=$CC |
3813 |
cat >conftest.$ac_ext <<_ACEOF |
|
3814 |
/* confdefs.h. */ |
|
3815 |
_ACEOF |
|
3816 |
cat confdefs.h >>conftest.$ac_ext |
|
3817 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3818 |
/* end confdefs.h. */ |
|
3819 |
#include <stdarg.h> |
|
3820 |
#include <stdio.h> |
|
3821 |
#include <sys/types.h> |
|
3822 |
#include <sys/stat.h> |
|
3823 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3824 |
struct buf { int x; }; |
|
3825 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3826 |
static char *e (p, i) |
|
3827 |
char **p; |
|
3828 |
int i; |
|
3829 |
{ |
|
3830 |
return p[i]; |
|
3831 |
} |
|
3832 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
3833 |
{ |
|
3834 |
char *s; |
|
3835 |
va_list v; |
|
3836 |
va_start (v,p); |
|
3837 |
s = g (p, va_arg (v,int)); |
|
3838 |
va_end (v); |
|
3839 |
return s; |
|
3840 |
} |
|
3841 |
||
3842 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3843 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
3844 |
These don't provoke an error unfortunately, instead are silently treated |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3845 |
as 'x'. The following induces an error, until -std is added to get |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3846 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3847 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3848 |
that's true only with -std. */ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3849 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3850 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3851 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3852 |
inside strings and character constants. */ |
|
3853 |
#define FOO(x) 'x' |
|
3854 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3855 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3856 |
int test (int i, double x); |
3857 |
struct s1 {int (*f) (int a);}; |
|
3858 |
struct s2 {int (*f) (double a);}; |
|
3859 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3860 |
int argc; |
|
3861 |
char **argv; |
|
3862 |
int |
|
3863 |
main () |
|
3864 |
{ |
|
3865 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3866 |
; |
|
3867 |
return 0; |
|
3868 |
} |
|
3869 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3870 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3871 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3872 |
do |
3873 |
CC="$ac_save_CC $ac_arg" |
|
3874 |
rm -f conftest.$ac_objext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3875 |
if { (ac_try="$ac_compile" |
3876 |
case "(($ac_try" in |
|
3877 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3878 |
*) ac_try_echo=$ac_try;; |
|
3879 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3880 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3881 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3882 |
(eval "$ac_compile") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3883 |
ac_status=$? |
3884 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
3885 |
rm -f conftest.er1 |
|
3886 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3887 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3888 |
(exit $ac_status); } && { |
3889 |
test -z "$ac_c_werror_flag" || |
|
3890 |
test ! -s conftest.err |
|
3891 |
} && test -s conftest.$ac_objext; then |
|
3892 |
ac_cv_prog_cc_c89=$ac_arg |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3893 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3894 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3895 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3896 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3897 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3898 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3899 |
|
3900 |
rm -f core conftest.err conftest.$ac_objext |
|
3901 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3902 |
done |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3903 |
rm -f conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3904 |
CC=$ac_save_CC |
3905 |
||
3906 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3907 |
# AC_CACHE_VAL |
3908 |
case "x$ac_cv_prog_cc_c89" in |
|
3909 |
x) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3910 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
3911 |
$as_echo "none needed" >&6; } ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3912 |
xno) |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3913 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
3914 |
$as_echo "unsupported" >&6; } ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3915 |
*) |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3916 |
CC="$CC $ac_cv_prog_cc_c89" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3917 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3918 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3919 |
esac |
3920 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3921 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3922 |
ac_ext=c |
3923 |
ac_cpp='$CPP $CPPFLAGS' |
|
3924 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3925 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3926 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3927 |
DEPDIR="${am__leading_dot}deps" |
|
3928 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3929 |
ac_config_commands="$ac_config_commands depfiles" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3930 |
|
3931 |
||
3932 |
am_make=${MAKE-make} |
|
3933 |
cat > confinc << 'END' |
|
3934 |
am__doit: |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
3935 |
@echo this is the am__doit target |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3936 |
.PHONY: am__doit |
3937 |
END |
|
3938 |
# If we don't find an include directive, just comment out the code. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3939 |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3940 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3941 |
am__include="#" |
3942 |
am__quote= |
|
3943 |
_am_result=none |
|
3944 |
# First try GNU make style include. |
|
3945 |
echo "include confinc" > confmf |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
3946 |
# Ignore all kinds of additional output from `make'. |
3947 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3948 |
*the\ am__doit\ target*) |
|
3949 |
am__include=include |
|
3950 |
am__quote= |
|
3951 |
_am_result=GNU |
|
3952 |
;; |
|
3953 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3954 |
# Now try BSD make style include. |
3955 |
if test "$am__include" = "#"; then |
|
3956 |
echo '.include "confinc"' > confmf |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
3957 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3958 |
*the\ am__doit\ target*) |
|
3959 |
am__include=.include |
|
3960 |
am__quote="\"" |
|
3961 |
_am_result=BSD |
|
3962 |
;; |
|
3963 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3964 |
fi |
3965 |
||
3966 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3967 |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
3968 |
$as_echo "$_am_result" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3969 |
rm -f confinc confmf |
3970 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3971 |
# Check whether --enable-dependency-tracking was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3972 |
if test "${enable_dependency_tracking+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
3973 |
enableval=$enable_dependency_tracking; |
3974 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3975 |
|
3976 |
if test "x$enable_dependency_tracking" != xno; then |
|
3977 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3978 |
AMDEPBACKSLASH='\' |
|
3979 |
fi |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
3980 |
if test "x$enable_dependency_tracking" != xno; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3981 |
AMDEP_TRUE= |
3982 |
AMDEP_FALSE='#' |
|
3983 |
else |
|
3984 |
AMDEP_TRUE='#' |
|
3985 |
AMDEP_FALSE= |
|
3986 |
fi |
|
3987 |
||
3988 |
||
3989 |
||
3990 |
depcc="$CC" am_compiler_list= |
|
3991 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3992 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3993 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3994 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
3995 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
3996 |
else |
3997 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3998 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3999 |
# making bogus files that we don't know about and never remove. For |
|
4000 |
# instance it was reported that on HP-UX the gcc test will end up |
|
4001 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
4002 |
# in D'. |
|
4003 |
mkdir conftest.dir |
|
4004 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
4005 |
# using a relative directory. |
|
4006 |
cp "$am_depcomp" conftest.dir |
|
4007 |
cd conftest.dir |
|
4008 |
# We will build objects and dependencies in a subdirectory because |
|
4009 |
# it helps to detect inapplicable dependency modes. For instance |
|
4010 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
4011 |
# side effect of compilation, but ICC will put the dependencies in |
|
4012 |
# the current directory while Tru64 will put them in the object |
|
4013 |
# directory. |
|
4014 |
mkdir sub |
|
4015 |
||
4016 |
am_cv_CC_dependencies_compiler_type=none |
|
4017 |
if test "$am_compiler_list" = ""; then |
|
4018 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4019 |
fi |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4020 |
am__universal=false |
4021 |
case " $depcc " in #( |
|
4022 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
4023 |
esac |
|
4024 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4025 |
for depmode in $am_compiler_list; do |
4026 |
# Setup a source with many dependencies, because some compilers |
|
4027 |
# like to wrap large dependency lists on column 80 (with \), and |
|
4028 |
# we should not choose a depcomp mode which is confused by this. |
|
4029 |
# |
|
4030 |
# We need to recreate these files for each test, as the compiler may |
|
4031 |
# overwrite some of them when testing with obscure command lines. |
|
4032 |
# This happens at least with the AIX C compiler. |
|
4033 |
: > sub/conftest.c |
|
4034 |
for i in 1 2 3 4 5 6; do |
|
4035 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4036 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
4037 |
# Solaris 8's {/usr,}/bin/sh. |
|
4038 |
touch sub/conftst$i.h |
|
4039 |
done |
|
4040 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4041 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4042 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4043 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
4044 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
4045 |
# versions had trouble with output in subdirs |
|
4046 |
am__obj=sub/conftest.${OBJEXT-o} |
|
4047 |
am__minus_obj="-o $am__obj" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4048 |
case $depmode in |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4049 |
gcc) |
4050 |
# This depmode causes a compiler race in universal mode. |
|
4051 |
test "$am__universal" = false || continue |
|
4052 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4053 |
nosideeffect) |
4054 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
4055 |
# only be used when explicitly requested |
|
4056 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4057 |
continue |
|
4058 |
else |
|
4059 |
break |
|
4060 |
fi |
|
4061 |
;; |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4062 |
msvisualcpp | msvcmsys) |
4063 |
# This compiler won't grok `-c -o', but also, the minuso test has |
|
4064 |
# not run yet. These depmodes are late enough in the game, and |
|
4065 |
# so weak that their functioning should not be impacted. |
|
4066 |
am__obj=conftest.${OBJEXT-o} |
|
4067 |
am__minus_obj= |
|
4068 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4069 |
none) break ;; |
4070 |
esac |
|
4071 |
if depmode=$depmode \ |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4072 |
source=sub/conftest.c object=$am__obj \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4073 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4074 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4075 |
>/dev/null 2>conftest.err && |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
4076 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4077 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4078 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4079 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4080 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
4081 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
4082 |
# that says an option was ignored or not supported. |
|
4083 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4084 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
4085 |
# The diagnosis changed in icc 8.0: |
|
4086 |
# icc: Command line remark: option '-MP' not supported |
|
4087 |
if (grep 'ignoring option' conftest.err || |
|
4088 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4089 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
4090 |
break |
|
4091 |
fi |
|
4092 |
fi |
|
4093 |
done |
|
4094 |
||
4095 |
cd .. |
|
4096 |
rm -rf conftest.dir |
|
4097 |
else |
|
4098 |
am_cv_CC_dependencies_compiler_type=none |
|
4099 |
fi |
|
4100 |
||
4101 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4102 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4103 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4104 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4105 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
4106 |
if |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4107 |
test "x$enable_dependency_tracking" != xno \ |
4108 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
4109 |
am__fastdepCC_TRUE= |
|
4110 |
am__fastdepCC_FALSE='#' |
|
4111 |
else |
|
4112 |
am__fastdepCC_TRUE='#' |
|
4113 |
am__fastdepCC_FALSE= |
|
4114 |
fi |
|
4115 |
||
4116 |
||
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
4117 |
|
4118 |
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
|
4119 |
do |
|
4120 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4121 |
set dummy $ac_prog; ac_word=$2 |
|
4122 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
4123 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4124 |
if test "${ac_cv_prog_CXX+set}" = set; then |
|
4125 |
$as_echo_n "(cached) " >&6 |
|
4126 |
else |
|
4127 |
if test -n "$CXX"; then |
|
4128 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
4129 |
else |
|
4130 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4131 |
for as_dir in $PATH |
|
4132 |
do |
|
4133 |
IFS=$as_save_IFS |
|
4134 |
test -z "$as_dir" && as_dir=. |
|
4135 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4136 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4137 |
ac_cv_prog_CXX="$ac_prog" |
|
4138 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4139 |
break 2 |
|
4140 |
fi |
|
4141 |
done |
|
4142 |
done |
|
4143 |
IFS=$as_save_IFS |
|
4144 |
||
4145 |
fi |
|
4146 |
fi |
|
4147 |
CXX=$ac_cv_prog_CXX |
|
4148 |
if test -n "$CXX"; then |
|
4149 |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
|
4150 |
$as_echo "$CXX" >&6; } |
|
4151 |
else |
|
4152 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
4153 |
$as_echo "no" >&6; } |
|
4154 |
fi |
|
4155 |
||
4156 |
||
4157 |
test -n "$CXX" && break |
|
4158 |
done |
|
4159 |
test -n "$CXX" || CXX="gcc" |
|
4160 |
||
4161 |
||
4162 |
ac_ext=cpp |
|
4163 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
4164 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4165 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4166 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4167 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4168 |
ac_ext=cpp |
4169 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
4170 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4171 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4172 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4173 |
if test -z "$CXX"; then |
|
4174 |
if test -n "$CCC"; then |
|
4175 |
CXX=$CCC |
|
4176 |
else |
|
4177 |
if test -n "$ac_tool_prefix"; then |
|
4178 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4179 |
do |
4180 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4181 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4182 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4183 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4184 |
if test "${ac_cv_prog_CXX+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4185 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4186 |
else |
4187 |
if test -n "$CXX"; then |
|
4188 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
4189 |
else |
|
4190 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4191 |
for as_dir in $PATH |
|
4192 |
do |
|
4193 |
IFS=$as_save_IFS |
|
4194 |
test -z "$as_dir" && as_dir=. |
|
4195 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4196 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4197 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4198 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4199 |
break 2 |
4200 |
fi |
|
4201 |
done |
|
4202 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4203 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4204 |
|
4205 |
fi |
|
4206 |
fi |
|
4207 |
CXX=$ac_cv_prog_CXX |
|
4208 |
if test -n "$CXX"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4209 |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
4210 |
$as_echo "$CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4211 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4212 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4213 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4214 |
fi |
4215 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4216 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4217 |
test -n "$CXX" && break |
4218 |
done |
|
4219 |
fi |
|
4220 |
if test -z "$CXX"; then |
|
4221 |
ac_ct_CXX=$CXX |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4222 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4223 |
do |
4224 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4225 |
set dummy $ac_prog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4226 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4227 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4228 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4229 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4230 |
else |
4231 |
if test -n "$ac_ct_CXX"; then |
|
4232 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
4233 |
else |
|
4234 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4235 |
for as_dir in $PATH |
|
4236 |
do |
|
4237 |
IFS=$as_save_IFS |
|
4238 |
test -z "$as_dir" && as_dir=. |
|
4239 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4240 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4241 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4242 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4243 |
break 2 |
4244 |
fi |
|
4245 |
done |
|
4246 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4247 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4248 |
|
4249 |
fi |
|
4250 |
fi |
|
4251 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
4252 |
if test -n "$ac_ct_CXX"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4253 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4254 |
$as_echo "$ac_ct_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4255 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4256 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4257 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4258 |
fi |
4259 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4260 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4261 |
test -n "$ac_ct_CXX" && break |
4262 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4263 |
|
4264 |
if test "x$ac_ct_CXX" = x; then |
|
4265 |
CXX="g++" |
|
4266 |
else |
|
4267 |
case $cross_compiling:$ac_tool_warned in |
|
4268 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
4269 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
4270 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4271 |
ac_tool_warned=yes ;; |
4272 |
esac |
|
4273 |
CXX=$ac_ct_CXX |
|
4274 |
fi |
|
4275 |
fi |
|
4276 |
||
4277 |
fi |
|
4278 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4279 |
# Provide some information about the compiler. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4280 |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4281 |
set X $ac_compile |
|
4282 |
ac_compiler=$2 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4283 |
{ (ac_try="$ac_compiler --version >&5" |
4284 |
case "(($ac_try" in |
|
4285 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4286 |
*) ac_try_echo=$ac_try;; |
|
4287 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4288 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4289 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4290 |
(eval "$ac_compiler --version >&5") 2>&5 |
4291 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4292 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4293 |
(exit $ac_status); } |
4294 |
{ (ac_try="$ac_compiler -v >&5" |
|
4295 |
case "(($ac_try" in |
|
4296 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4297 |
*) ac_try_echo=$ac_try;; |
|
4298 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4299 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4300 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4301 |
(eval "$ac_compiler -v >&5") 2>&5 |
4302 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4303 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4304 |
(exit $ac_status); } |
4305 |
{ (ac_try="$ac_compiler -V >&5" |
|
4306 |
case "(($ac_try" in |
|
4307 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4308 |
*) ac_try_echo=$ac_try;; |
|
4309 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4310 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4311 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4312 |
(eval "$ac_compiler -V >&5") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4313 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4314 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4315 |
(exit $ac_status); } |
4316 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4317 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
4318 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4319 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4320 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4321 |
else |
4322 |
cat >conftest.$ac_ext <<_ACEOF |
|
4323 |
/* confdefs.h. */ |
|
4324 |
_ACEOF |
|
4325 |
cat confdefs.h >>conftest.$ac_ext |
|
4326 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4327 |
/* end confdefs.h. */ |
|
4328 |
||
4329 |
int |
|
4330 |
main () |
|
4331 |
{ |
|
4332 |
#ifndef __GNUC__ |
|
4333 |
choke me |
|
4334 |
#endif |
|
4335 |
||
4336 |
; |
|
4337 |
return 0; |
|
4338 |
} |
|
4339 |
_ACEOF |
|
4340 |
rm -f conftest.$ac_objext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4341 |
if { (ac_try="$ac_compile" |
4342 |
case "(($ac_try" in |
|
4343 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4344 |
*) ac_try_echo=$ac_try;; |
|
4345 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4346 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4347 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4348 |
(eval "$ac_compile") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4349 |
ac_status=$? |
4350 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4351 |
rm -f conftest.er1 |
|
4352 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4353 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4354 |
(exit $ac_status); } && { |
4355 |
test -z "$ac_cxx_werror_flag" || |
|
4356 |
test ! -s conftest.err |
|
4357 |
} && test -s conftest.$ac_objext; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4358 |
ac_compiler_gnu=yes |
4359 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4360 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4361 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4362 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4363 |
ac_compiler_gnu=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4364 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4365 |
|
4366 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4367 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4368 |
||
4369 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4370 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4371 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
4372 |
if test $ac_compiler_gnu = yes; then |
|
4373 |
GXX=yes |
|
4374 |
else |
|
4375 |
GXX= |
|
4376 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4377 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
4378 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4379 |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4380 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4381 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4382 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4383 |
else |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4384 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4385 |
ac_cxx_werror_flag=yes |
|
4386 |
ac_cv_prog_cxx_g=no |
|
4387 |
CXXFLAGS="-g" |
|
4388 |
cat >conftest.$ac_ext <<_ACEOF |
|
4389 |
/* confdefs.h. */ |
|
4390 |
_ACEOF |
|
4391 |
cat confdefs.h >>conftest.$ac_ext |
|
4392 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4393 |
/* end confdefs.h. */ |
|
4394 |
||
4395 |
int |
|
4396 |
main () |
|
4397 |
{ |
|
4398 |
||
4399 |
; |
|
4400 |
return 0; |
|
4401 |
} |
|
4402 |
_ACEOF |
|
4403 |
rm -f conftest.$ac_objext |
|
4404 |
if { (ac_try="$ac_compile" |
|
4405 |
case "(($ac_try" in |
|
4406 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4407 |
*) ac_try_echo=$ac_try;; |
|
4408 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4409 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4410 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4411 |
(eval "$ac_compile") 2>conftest.er1 |
4412 |
ac_status=$? |
|
4413 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4414 |
rm -f conftest.er1 |
|
4415 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4416 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4417 |
(exit $ac_status); } && { |
4418 |
test -z "$ac_cxx_werror_flag" || |
|
4419 |
test ! -s conftest.err |
|
4420 |
} && test -s conftest.$ac_objext; then |
|
4421 |
ac_cv_prog_cxx_g=yes |
|
4422 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4423 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4424 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4425 |
||
4426 |
CXXFLAGS="" |
|
4427 |
cat >conftest.$ac_ext <<_ACEOF |
|
4428 |
/* confdefs.h. */ |
|
4429 |
_ACEOF |
|
4430 |
cat confdefs.h >>conftest.$ac_ext |
|
4431 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4432 |
/* end confdefs.h. */ |
|
4433 |
||
4434 |
int |
|
4435 |
main () |
|
4436 |
{ |
|
4437 |
||
4438 |
; |
|
4439 |
return 0; |
|
4440 |
} |
|
4441 |
_ACEOF |
|
4442 |
rm -f conftest.$ac_objext |
|
4443 |
if { (ac_try="$ac_compile" |
|
4444 |
case "(($ac_try" in |
|
4445 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4446 |
*) ac_try_echo=$ac_try;; |
|
4447 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4448 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4449 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4450 |
(eval "$ac_compile") 2>conftest.er1 |
4451 |
ac_status=$? |
|
4452 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4453 |
rm -f conftest.er1 |
|
4454 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4455 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4456 |
(exit $ac_status); } && { |
4457 |
test -z "$ac_cxx_werror_flag" || |
|
4458 |
test ! -s conftest.err |
|
4459 |
} && test -s conftest.$ac_objext; then |
|
4460 |
: |
|
4461 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4462 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4463 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4464 |
||
4465 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
4466 |
CXXFLAGS="-g" |
|
4467 |
cat >conftest.$ac_ext <<_ACEOF |
|
4468 |
/* confdefs.h. */ |
|
4469 |
_ACEOF |
|
4470 |
cat confdefs.h >>conftest.$ac_ext |
|
4471 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4472 |
/* end confdefs.h. */ |
|
4473 |
||
4474 |
int |
|
4475 |
main () |
|
4476 |
{ |
|
4477 |
||
4478 |
; |
|
4479 |
return 0; |
|
4480 |
} |
|
4481 |
_ACEOF |
|
4482 |
rm -f conftest.$ac_objext |
|
4483 |
if { (ac_try="$ac_compile" |
|
4484 |
case "(($ac_try" in |
|
4485 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4486 |
*) ac_try_echo=$ac_try;; |
|
4487 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4488 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4489 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4490 |
(eval "$ac_compile") 2>conftest.er1 |
4491 |
ac_status=$? |
|
4492 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4493 |
rm -f conftest.er1 |
|
4494 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4495 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4496 |
(exit $ac_status); } && { |
4497 |
test -z "$ac_cxx_werror_flag" || |
|
4498 |
test ! -s conftest.err |
|
4499 |
} && test -s conftest.$ac_objext; then |
|
4500 |
ac_cv_prog_cxx_g=yes |
|
4501 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4502 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
4503 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4504 |
||
4505 |
||
4506 |
fi |
|
4507 |
||
4508 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4509 |
fi |
|
4510 |
||
4511 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4512 |
fi |
|
4513 |
||
4514 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4515 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
4516 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4517 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4518 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4519 |
if test "$ac_test_CXXFLAGS" = set; then |
4520 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
4521 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
4522 |
if test "$GXX" = yes; then |
|
4523 |
CXXFLAGS="-g -O2" |
|
4524 |
else |
|
4525 |
CXXFLAGS="-g" |
|
4526 |
fi |
|
4527 |
else |
|
4528 |
if test "$GXX" = yes; then |
|
4529 |
CXXFLAGS="-O2" |
|
4530 |
else |
|
4531 |
CXXFLAGS= |
|
4532 |
fi |
|
4533 |
fi |
|
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
4534 |
ac_ext=cpp |
4535 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
4536 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4537 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4538 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4539 |
|
4540 |
depcc="$CXX" am_compiler_list= |
|
4541 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4542 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4543 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4544 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4545 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4546 |
else |
4547 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4548 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
4549 |
# making bogus files that we don't know about and never remove. For |
|
4550 |
# instance it was reported that on HP-UX the gcc test will end up |
|
4551 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
4552 |
# in D'. |
|
4553 |
mkdir conftest.dir |
|
4554 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
4555 |
# using a relative directory. |
|
4556 |
cp "$am_depcomp" conftest.dir |
|
4557 |
cd conftest.dir |
|
4558 |
# We will build objects and dependencies in a subdirectory because |
|
4559 |
# it helps to detect inapplicable dependency modes. For instance |
|
4560 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
4561 |
# side effect of compilation, but ICC will put the dependencies in |
|
4562 |
# the current directory while Tru64 will put them in the object |
|
4563 |
# directory. |
|
4564 |
mkdir sub |
|
4565 |
||
4566 |
am_cv_CXX_dependencies_compiler_type=none |
|
4567 |
if test "$am_compiler_list" = ""; then |
|
4568 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4569 |
fi |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4570 |
am__universal=false |
4571 |
case " $depcc " in #( |
|
4572 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
4573 |
esac |
|
4574 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4575 |
for depmode in $am_compiler_list; do |
4576 |
# Setup a source with many dependencies, because some compilers |
|
4577 |
# like to wrap large dependency lists on column 80 (with \), and |
|
4578 |
# we should not choose a depcomp mode which is confused by this. |
|
4579 |
# |
|
4580 |
# We need to recreate these files for each test, as the compiler may |
|
4581 |
# overwrite some of them when testing with obscure command lines. |
|
4582 |
# This happens at least with the AIX C compiler. |
|
4583 |
: > sub/conftest.c |
|
4584 |
for i in 1 2 3 4 5 6; do |
|
4585 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4586 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
4587 |
# Solaris 8's {/usr,}/bin/sh. |
|
4588 |
touch sub/conftst$i.h |
|
4589 |
done |
|
4590 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4591 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4592 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4593 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
4594 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
4595 |
# versions had trouble with output in subdirs |
|
4596 |
am__obj=sub/conftest.${OBJEXT-o} |
|
4597 |
am__minus_obj="-o $am__obj" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4598 |
case $depmode in |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4599 |
gcc) |
4600 |
# This depmode causes a compiler race in universal mode. |
|
4601 |
test "$am__universal" = false || continue |
|
4602 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4603 |
nosideeffect) |
4604 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
4605 |
# only be used when explicitly requested |
|
4606 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4607 |
continue |
|
4608 |
else |
|
4609 |
break |
|
4610 |
fi |
|
4611 |
;; |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4612 |
msvisualcpp | msvcmsys) |
4613 |
# This compiler won't grok `-c -o', but also, the minuso test has |
|
4614 |
# not run yet. These depmodes are late enough in the game, and |
|
4615 |
# so weak that their functioning should not be impacted. |
|
4616 |
am__obj=conftest.${OBJEXT-o} |
|
4617 |
am__minus_obj= |
|
4618 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4619 |
none) break ;; |
4620 |
esac |
|
4621 |
if depmode=$depmode \ |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4622 |
source=sub/conftest.c object=$am__obj \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4623 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4624 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4625 |
>/dev/null 2>conftest.err && |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
4626 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4627 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
4628 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4629 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4630 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
4631 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
4632 |
# that says an option was ignored or not supported. |
|
4633 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4634 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
4635 |
# The diagnosis changed in icc 8.0: |
|
4636 |
# icc: Command line remark: option '-MP' not supported |
|
4637 |
if (grep 'ignoring option' conftest.err || |
|
4638 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4639 |
am_cv_CXX_dependencies_compiler_type=$depmode |
|
4640 |
break |
|
4641 |
fi |
|
4642 |
fi |
|
4643 |
done |
|
4644 |
||
4645 |
cd .. |
|
4646 |
rm -rf conftest.dir |
|
4647 |
else |
|
4648 |
am_cv_CXX_dependencies_compiler_type=none |
|
4649 |
fi |
|
4650 |
||
4651 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
4652 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4653 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4654 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4655 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
4656 |
if |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4657 |
test "x$enable_dependency_tracking" != xno \ |
4658 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
4659 |
am__fastdepCXX_TRUE= |
|
4660 |
am__fastdepCXX_FALSE='#' |
|
4661 |
else |
|
4662 |
am__fastdepCXX_TRUE='#' |
|
4663 |
am__fastdepCXX_FALSE= |
|
4664 |
fi |
|
4665 |
||
4666 |
||
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
4667 |
|
4668 |
cat >conftest.$ac_ext <<_ACEOF |
|
4669 |
/* confdefs.h. */ |
|
4670 |
_ACEOF |
|
4671 |
cat confdefs.h >>conftest.$ac_ext |
|
4672 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4673 |
/* end confdefs.h. */ |
|
4674 |
||
4675 |
int |
|
4676 |
main () |
|
4677 |
{ |
|
4678 |
class a { int b; } c; |
|
4679 |
; |
|
4680 |
return 0; |
|
4681 |
} |
|
4682 |
_ACEOF |
|
4683 |
rm -f conftest.$ac_objext |
|
4684 |
if { (ac_try="$ac_compile" |
|
4685 |
case "(($ac_try" in |
|
4686 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4687 |
*) ac_try_echo=$ac_try;; |
|
4688 |
esac |
|
4689 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
4690 |
$as_echo "$ac_try_echo") >&5 |
|
4691 |
(eval "$ac_compile") 2>conftest.er1 |
|
4692 |
ac_status=$? |
|
4693 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4694 |
rm -f conftest.er1 |
|
4695 |
cat conftest.err >&5 |
|
4696 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4697 |
(exit $ac_status); } && { |
|
4698 |
test -z "$ac_cxx_werror_flag" || |
|
4699 |
test ! -s conftest.err |
|
4700 |
} && test -s conftest.$ac_objext; then |
|
4701 |
: |
|
4702 |
else |
|
4703 |
$as_echo "$as_me: failed program was:" >&5 |
|
4704 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
4705 |
||
4706 |
CXX= |
|
4707 |
fi |
|
4708 |
||
4709 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
4710 |
if test "$CXX" != ""; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
4711 |
HAVE_CXX_TRUE= |
4712 |
HAVE_CXX_FALSE='#' |
|
4713 |
else |
|
4714 |
HAVE_CXX_TRUE='#' |
|
4715 |
HAVE_CXX_FALSE= |
|
4716 |
fi |
|
4717 |
||
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
4718 |
ac_ext=c |
4719 |
ac_cpp='$CPP $CPPFLAGS' |
|
4720 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4721 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4722 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4723 |
||
4724 |
||
4725 |
# |
|
4726 |
# Checks for HarfBuzz |
|
4727 |
# |
|
4728 |
||
4729 |
ac_ext=cpp |
|
4730 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
4731 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4732 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4733 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4734 |
if test -z "$CXX"; then |
|
4735 |
if test -n "$CCC"; then |
|
4736 |
CXX=$CCC |
|
4737 |
else |
|
4738 |
if test -n "$ac_tool_prefix"; then |
|
4739 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
4740 |
do |
|
4741 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4742 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4743 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
4744 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4745 |
if test "${ac_cv_prog_CXX+set}" = set; then |
|
4746 |
$as_echo_n "(cached) " >&6 |
|
4747 |
else |
|
4748 |
if test -n "$CXX"; then |
|
4749 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
4750 |
else |
|
4751 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4752 |
for as_dir in $PATH |
|
4753 |
do |
|
4754 |
IFS=$as_save_IFS |
|
4755 |
test -z "$as_dir" && as_dir=. |
|
4756 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4757 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4758 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
4759 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4760 |
break 2 |
|
4761 |
fi |
|
4762 |
done |
|
4763 |
done |
|
4764 |
IFS=$as_save_IFS |
|
4765 |
||
4766 |
fi |
|
4767 |
fi |
|
4768 |
CXX=$ac_cv_prog_CXX |
|
4769 |
if test -n "$CXX"; then |
|
4770 |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
|
4771 |
$as_echo "$CXX" >&6; } |
|
4772 |
else |
|
4773 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
4774 |
$as_echo "no" >&6; } |
|
4775 |
fi |
|
4776 |
||
4777 |
||
4778 |
test -n "$CXX" && break |
|
4779 |
done |
|
4780 |
fi |
|
4781 |
if test -z "$CXX"; then |
|
4782 |
ac_ct_CXX=$CXX |
|
4783 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
4784 |
do |
|
4785 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4786 |
set dummy $ac_prog; ac_word=$2 |
|
4787 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
4788 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4789 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
|
4790 |
$as_echo_n "(cached) " >&6 |
|
4791 |
else |
|
4792 |
if test -n "$ac_ct_CXX"; then |
|
4793 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
4794 |
else |
|
4795 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4796 |
for as_dir in $PATH |
|
4797 |
do |
|
4798 |
IFS=$as_save_IFS |
|
4799 |
test -z "$as_dir" && as_dir=. |
|
4800 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4801 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4802 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
4803 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4804 |
break 2 |
|
4805 |
fi |
|
4806 |
done |
|
4807 |
done |
|
4808 |
IFS=$as_save_IFS |
|
4809 |
||
4810 |
fi |
|
4811 |
fi |
|
4812 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
4813 |
if test -n "$ac_ct_CXX"; then |
|
4814 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
|
4815 |
$as_echo "$ac_ct_CXX" >&6; } |
|
4816 |
else |
|
4817 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
4818 |
$as_echo "no" >&6; } |
|
4819 |
fi |
|
4820 |
||
4821 |
||
4822 |
test -n "$ac_ct_CXX" && break |
|
4823 |
done |
|
4824 |
||
4825 |
if test "x$ac_ct_CXX" = x; then |
|
4826 |
CXX="g++" |
|
4827 |
else |
|
4828 |
case $cross_compiling:$ac_tool_warned in |
|
4829 |
yes:) |
|
4830 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4831 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4832 |
ac_tool_warned=yes ;; |
|
4833 |
esac |
|
4834 |
CXX=$ac_ct_CXX |
|
4835 |
fi |
|
4836 |
fi |
|
4837 |
||
4838 |
fi |
|
4839 |
fi |
|
4840 |
# Provide some information about the compiler. |
|
4841 |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
|
4842 |
set X $ac_compile |
|
4843 |
ac_compiler=$2 |
|
4844 |
{ (ac_try="$ac_compiler --version >&5" |
|
4845 |
case "(($ac_try" in |
|
4846 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4847 |
*) ac_try_echo=$ac_try;; |
|
4848 |
esac |
|
4849 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
4850 |
$as_echo "$ac_try_echo") >&5 |
|
4851 |
(eval "$ac_compiler --version >&5") 2>&5 |
|
4852 |
ac_status=$? |
|
4853 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4854 |
(exit $ac_status); } |
|
4855 |
{ (ac_try="$ac_compiler -v >&5" |
|
4856 |
case "(($ac_try" in |
|
4857 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4858 |
*) ac_try_echo=$ac_try;; |
|
4859 |
esac |
|
4860 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
4861 |
$as_echo "$ac_try_echo") >&5 |
|
4862 |
(eval "$ac_compiler -v >&5") 2>&5 |
|
4863 |
ac_status=$? |
|
4864 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4865 |
(exit $ac_status); } |
|
4866 |
{ (ac_try="$ac_compiler -V >&5" |
|
4867 |
case "(($ac_try" in |
|
4868 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4869 |
*) ac_try_echo=$ac_try;; |
|
4870 |
esac |
|
4871 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
4872 |
$as_echo "$ac_try_echo") >&5 |
|
4873 |
(eval "$ac_compiler -V >&5") 2>&5 |
|
4874 |
ac_status=$? |
|
4875 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4876 |
(exit $ac_status); } |
|
4877 |
||
4878 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
|
4879 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
4880 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
|
4881 |
$as_echo_n "(cached) " >&6 |
|
4882 |
else |
|
4883 |
cat >conftest.$ac_ext <<_ACEOF |
|
4884 |
/* confdefs.h. */ |
|
4885 |
_ACEOF |
|
4886 |
cat confdefs.h >>conftest.$ac_ext |
|
4887 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4888 |
/* end confdefs.h. */ |
|
4889 |
||
4890 |
int |
|
4891 |
main () |
|
4892 |
{ |
|
4893 |
#ifndef __GNUC__ |
|
4894 |
choke me |
|
4895 |
#endif |
|
4896 |
||
4897 |
; |
|
4898 |
return 0; |
|
4899 |
} |
|
4900 |
_ACEOF |
|
4901 |
rm -f conftest.$ac_objext |
|
4902 |
if { (ac_try="$ac_compile" |
|
4903 |
case "(($ac_try" in |
|
4904 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4905 |
*) ac_try_echo=$ac_try;; |
|
4906 |
esac |
|
4907 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
4908 |
$as_echo "$ac_try_echo") >&5 |
|
4909 |
(eval "$ac_compile") 2>conftest.er1 |
|
4910 |
ac_status=$? |
|
4911 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4912 |
rm -f conftest.er1 |
|
4913 |
cat conftest.err >&5 |
|
4914 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4915 |
(exit $ac_status); } && { |
|
4916 |
test -z "$ac_cxx_werror_flag" || |
|
4917 |
test ! -s conftest.err |
|
4918 |
} && test -s conftest.$ac_objext; then |
|
4919 |
ac_compiler_gnu=yes |
|
4920 |
else |
|
4921 |
$as_echo "$as_me: failed program was:" >&5 |
|
4922 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
4923 |
||
4924 |
ac_compiler_gnu=no |
|
4925 |
fi |
|
4926 |
||
4927 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4928 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
4929 |
||
4930 |
fi |
|
4931 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
4932 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
4933 |
if test $ac_compiler_gnu = yes; then |
|
4934 |
GXX=yes |
|
4935 |
else |
|
4936 |
GXX= |
|
4937 |
fi |
|
4938 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
4939 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
4940 |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
|
4941 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
4942 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
|
4943 |
$as_echo_n "(cached) " >&6 |
|
4944 |
else |
|
4945 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
4946 |
ac_cxx_werror_flag=yes |
|
4947 |
ac_cv_prog_cxx_g=no |
|
4948 |
CXXFLAGS="-g" |
|
4949 |
cat >conftest.$ac_ext <<_ACEOF |
|
4950 |
/* confdefs.h. */ |
|
4951 |
_ACEOF |
|
4952 |
cat confdefs.h >>conftest.$ac_ext |
|
4953 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4954 |
/* end confdefs.h. */ |
|
4955 |
||
4956 |
int |
|
4957 |
main () |
|
4958 |
{ |
|
4959 |
||
4960 |
; |
|
4961 |
return 0; |
|
4962 |
} |
|
4963 |
_ACEOF |
|
4964 |
rm -f conftest.$ac_objext |
|
4965 |
if { (ac_try="$ac_compile" |
|
4966 |
case "(($ac_try" in |
|
4967 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4968 |
*) ac_try_echo=$ac_try;; |
|
4969 |
esac |
|
4970 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
4971 |
$as_echo "$ac_try_echo") >&5 |
|
4972 |
(eval "$ac_compile") 2>conftest.er1 |
|
4973 |
ac_status=$? |
|
4974 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
4975 |
rm -f conftest.er1 |
|
4976 |
cat conftest.err >&5 |
|
4977 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4978 |
(exit $ac_status); } && { |
|
4979 |
test -z "$ac_cxx_werror_flag" || |
|
4980 |
test ! -s conftest.err |
|
4981 |
} && test -s conftest.$ac_objext; then |
|
4982 |
ac_cv_prog_cxx_g=yes |
|
4983 |
else |
|
4984 |
$as_echo "$as_me: failed program was:" >&5 |
|
4985 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
4986 |
||
4987 |
CXXFLAGS="" |
|
4988 |
cat >conftest.$ac_ext <<_ACEOF |
|
4989 |
/* confdefs.h. */ |
|
4990 |
_ACEOF |
|
4991 |
cat confdefs.h >>conftest.$ac_ext |
|
4992 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4993 |
/* end confdefs.h. */ |
|
4994 |
||
4995 |
int |
|
4996 |
main () |
|
4997 |
{ |
|
4998 |
||
4999 |
; |
|
5000 |
return 0; |
|
5001 |
} |
|
5002 |
_ACEOF |
|
5003 |
rm -f conftest.$ac_objext |
|
5004 |
if { (ac_try="$ac_compile" |
|
5005 |
case "(($ac_try" in |
|
5006 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5007 |
*) ac_try_echo=$ac_try;; |
|
5008 |
esac |
|
5009 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5010 |
$as_echo "$ac_try_echo") >&5 |
|
5011 |
(eval "$ac_compile") 2>conftest.er1 |
|
5012 |
ac_status=$? |
|
5013 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5014 |
rm -f conftest.er1 |
|
5015 |
cat conftest.err >&5 |
|
5016 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5017 |
(exit $ac_status); } && { |
|
5018 |
test -z "$ac_cxx_werror_flag" || |
|
5019 |
test ! -s conftest.err |
|
5020 |
} && test -s conftest.$ac_objext; then |
|
5021 |
: |
|
5022 |
else |
|
5023 |
$as_echo "$as_me: failed program was:" >&5 |
|
5024 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5025 |
||
5026 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
5027 |
CXXFLAGS="-g" |
|
5028 |
cat >conftest.$ac_ext <<_ACEOF |
|
5029 |
/* confdefs.h. */ |
|
5030 |
_ACEOF |
|
5031 |
cat confdefs.h >>conftest.$ac_ext |
|
5032 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5033 |
/* end confdefs.h. */ |
|
5034 |
||
5035 |
int |
|
5036 |
main () |
|
5037 |
{ |
|
5038 |
||
5039 |
; |
|
5040 |
return 0; |
|
5041 |
} |
|
5042 |
_ACEOF |
|
5043 |
rm -f conftest.$ac_objext |
|
5044 |
if { (ac_try="$ac_compile" |
|
5045 |
case "(($ac_try" in |
|
5046 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5047 |
*) ac_try_echo=$ac_try;; |
|
5048 |
esac |
|
5049 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5050 |
$as_echo "$ac_try_echo") >&5 |
|
5051 |
(eval "$ac_compile") 2>conftest.er1 |
|
5052 |
ac_status=$? |
|
5053 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5054 |
rm -f conftest.er1 |
|
5055 |
cat conftest.err >&5 |
|
5056 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5057 |
(exit $ac_status); } && { |
|
5058 |
test -z "$ac_cxx_werror_flag" || |
|
5059 |
test ! -s conftest.err |
|
5060 |
} && test -s conftest.$ac_objext; then |
|
5061 |
ac_cv_prog_cxx_g=yes |
|
5062 |
else |
|
5063 |
$as_echo "$as_me: failed program was:" >&5 |
|
5064 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5065 |
||
5066 |
||
5067 |
fi |
|
5068 |
||
5069 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5070 |
fi |
|
5071 |
||
5072 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5073 |
fi |
|
5074 |
||
5075 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5076 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
5077 |
fi |
|
5078 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
|
5079 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
5080 |
if test "$ac_test_CXXFLAGS" = set; then |
|
5081 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
5082 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
5083 |
if test "$GXX" = yes; then |
|
5084 |
CXXFLAGS="-g -O2" |
|
5085 |
else |
|
5086 |
CXXFLAGS="-g" |
|
5087 |
fi |
|
5088 |
else |
|
5089 |
if test "$GXX" = yes; then |
|
5090 |
CXXFLAGS="-O2" |
|
5091 |
else |
|
5092 |
CXXFLAGS= |
|
5093 |
fi |
|
5094 |
fi |
|
5095 |
ac_ext=c |
|
5096 |
ac_cpp='$CPP $CPPFLAGS' |
|
5097 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5098 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5099 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5100 |
||
5101 |
depcc="$CXX" am_compiler_list= |
|
5102 |
||
5103 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
5104 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
5105 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
|
5106 |
$as_echo_n "(cached) " >&6 |
|
5107 |
else |
|
5108 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
5109 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
5110 |
# making bogus files that we don't know about and never remove. For |
|
5111 |
# instance it was reported that on HP-UX the gcc test will end up |
|
5112 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
5113 |
# in D'. |
|
5114 |
mkdir conftest.dir |
|
5115 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
5116 |
# using a relative directory. |
|
5117 |
cp "$am_depcomp" conftest.dir |
|
5118 |
cd conftest.dir |
|
5119 |
# We will build objects and dependencies in a subdirectory because |
|
5120 |
# it helps to detect inapplicable dependency modes. For instance |
|
5121 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
5122 |
# side effect of compilation, but ICC will put the dependencies in |
|
5123 |
# the current directory while Tru64 will put them in the object |
|
5124 |
# directory. |
|
5125 |
mkdir sub |
|
5126 |
||
5127 |
am_cv_CXX_dependencies_compiler_type=none |
|
5128 |
if test "$am_compiler_list" = ""; then |
|
5129 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
5130 |
fi |
|
5131 |
am__universal=false |
|
5132 |
case " $depcc " in #( |
|
5133 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
5134 |
esac |
|
5135 |
||
5136 |
for depmode in $am_compiler_list; do |
|
5137 |
# Setup a source with many dependencies, because some compilers |
|
5138 |
# like to wrap large dependency lists on column 80 (with \), and |
|
5139 |
# we should not choose a depcomp mode which is confused by this. |
|
5140 |
# |
|
5141 |
# We need to recreate these files for each test, as the compiler may |
|
5142 |
# overwrite some of them when testing with obscure command lines. |
|
5143 |
# This happens at least with the AIX C compiler. |
|
5144 |
: > sub/conftest.c |
|
5145 |
for i in 1 2 3 4 5 6; do |
|
5146 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
5147 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
5148 |
# Solaris 8's {/usr,}/bin/sh. |
|
5149 |
touch sub/conftst$i.h |
|
5150 |
done |
|
5151 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
5152 |
||
5153 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
5154 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
5155 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
5156 |
# versions had trouble with output in subdirs |
|
5157 |
am__obj=sub/conftest.${OBJEXT-o} |
|
5158 |
am__minus_obj="-o $am__obj" |
|
5159 |
case $depmode in |
|
5160 |
gcc) |
|
5161 |
# This depmode causes a compiler race in universal mode. |
|
5162 |
test "$am__universal" = false || continue |
|
5163 |
;; |
|
5164 |
nosideeffect) |
|
5165 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
5166 |
# only be used when explicitly requested |
|
5167 |
if test "x$enable_dependency_tracking" = xyes; then |
|
5168 |
continue |
|
5169 |
else |
|
5170 |
break |
|
5171 |
fi |
|
5172 |
;; |
|
5173 |
msvisualcpp | msvcmsys) |
|
5174 |
# This compiler won't grok `-c -o', but also, the minuso test has |
|
5175 |
# not run yet. These depmodes are late enough in the game, and |
|
5176 |
# so weak that their functioning should not be impacted. |
|
5177 |
am__obj=conftest.${OBJEXT-o} |
|
5178 |
am__minus_obj= |
|
5179 |
;; |
|
5180 |
none) break ;; |
|
5181 |
esac |
|
5182 |
if depmode=$depmode \ |
|
5183 |
source=sub/conftest.c object=$am__obj \ |
|
5184 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
5185 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
5186 |
>/dev/null 2>conftest.err && |
|
5187 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
5188 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
5189 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
5190 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
5191 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
5192 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
5193 |
# that says an option was ignored or not supported. |
|
5194 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
5195 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
5196 |
# The diagnosis changed in icc 8.0: |
|
5197 |
# icc: Command line remark: option '-MP' not supported |
|
5198 |
if (grep 'ignoring option' conftest.err || |
|
5199 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
5200 |
am_cv_CXX_dependencies_compiler_type=$depmode |
|
5201 |
break |
|
5202 |
fi |
|
5203 |
fi |
|
5204 |
done |
|
5205 |
||
5206 |
cd .. |
|
5207 |
rm -rf conftest.dir |
|
5208 |
else |
|
5209 |
am_cv_CXX_dependencies_compiler_type=none |
|
5210 |
fi |
|
5211 |
||
5212 |
fi |
|
5213 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
5214 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
5215 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
5216 |
||
5217 |
if |
|
5218 |
test "x$enable_dependency_tracking" != xno \ |
|
5219 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
5220 |
am__fastdepCXX_TRUE= |
|
5221 |
am__fastdepCXX_FALSE='#' |
|
5222 |
else |
|
5223 |
am__fastdepCXX_TRUE='#' |
|
5224 |
am__fastdepCXX_FALSE= |
|
5225 |
fi |
|
5226 |
||
5227 |
||
5228 |
||
5229 |
||
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
5230 |
|
5231 |
||
5232 |
for ac_func in mprotect sysconf getpagesize |
|
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
5233 |
do |
5234 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
5235 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
5236 |
$as_echo_n "checking for $ac_func... " >&6; } |
|
5237 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5238 |
$as_echo_n "(cached) " >&6 |
|
5239 |
else |
|
5240 |
cat >conftest.$ac_ext <<_ACEOF |
|
5241 |
/* confdefs.h. */ |
|
5242 |
_ACEOF |
|
5243 |
cat confdefs.h >>conftest.$ac_ext |
|
5244 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5245 |
/* end confdefs.h. */ |
|
5246 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
5247 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
5248 |
#define $ac_func innocuous_$ac_func |
|
5249 |
||
5250 |
/* System header to define __stub macros and hopefully few prototypes, |
|
5251 |
which can conflict with char $ac_func (); below. |
|
5252 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5253 |
<limits.h> exists even on freestanding compilers. */ |
|
5254 |
||
5255 |
#ifdef __STDC__ |
|
5256 |
# include <limits.h> |
|
5257 |
#else |
|
5258 |
# include <assert.h> |
|
5259 |
#endif |
|
5260 |
||
5261 |
#undef $ac_func |
|
5262 |
||
5263 |
/* Override any GCC internal prototype to avoid an error. |
|
5264 |
Use char because int might match the return type of a GCC |
|
5265 |
builtin and then its argument prototype would still apply. */ |
|
5266 |
#ifdef __cplusplus |
|
5267 |
extern "C" |
|
5268 |
#endif |
|
5269 |
char $ac_func (); |
|
5270 |
/* The GNU C library defines this for functions which it implements |
|
5271 |
to always fail with ENOSYS. Some functions are actually named |
|
5272 |
something starting with __ and the normal name is an alias. */ |
|
5273 |
#if defined __stub_$ac_func || defined __stub___$ac_func |
|
5274 |
choke me |
|
5275 |
#endif |
|
5276 |
||
5277 |
int |
|
5278 |
main () |
|
5279 |
{ |
|
5280 |
return $ac_func (); |
|
5281 |
; |
|
5282 |
return 0; |
|
5283 |
} |
|
5284 |
_ACEOF |
|
5285 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
5286 |
if { (ac_try="$ac_link" |
|
5287 |
case "(($ac_try" in |
|
5288 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5289 |
*) ac_try_echo=$ac_try;; |
|
5290 |
esac |
|
5291 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5292 |
$as_echo "$ac_try_echo") >&5 |
|
5293 |
(eval "$ac_link") 2>conftest.er1 |
|
5294 |
ac_status=$? |
|
5295 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5296 |
rm -f conftest.er1 |
|
5297 |
cat conftest.err >&5 |
|
5298 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5299 |
(exit $ac_status); } && { |
|
5300 |
test -z "$ac_c_werror_flag" || |
|
5301 |
test ! -s conftest.err |
|
5302 |
} && test -s conftest$ac_exeext && { |
|
5303 |
test "$cross_compiling" = yes || |
|
5304 |
$as_test_x conftest$ac_exeext |
|
5305 |
}; then |
|
5306 |
eval "$as_ac_var=yes" |
|
5307 |
else |
|
5308 |
$as_echo "$as_me: failed program was:" >&5 |
|
5309 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5310 |
||
5311 |
eval "$as_ac_var=no" |
|
5312 |
fi |
|
5313 |
||
5314 |
rm -rf conftest.dSYM |
|
5315 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
5316 |
conftest$ac_exeext conftest.$ac_ext |
|
5317 |
fi |
|
5318 |
ac_res=`eval 'as_val=${'$as_ac_var'} |
|
5319 |
$as_echo "$as_val"'` |
|
5320 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
5321 |
$as_echo "$ac_res" >&6; } |
|
5322 |
as_val=`eval 'as_val=${'$as_ac_var'} |
|
5323 |
$as_echo "$as_val"'` |
|
5324 |
if test "x$as_val" = x""yes; then |
|
5325 |
cat >>confdefs.h <<_ACEOF |
|
5326 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
5327 |
_ACEOF |
|
5328 |
||
5329 |
fi |
|
5330 |
done |
|
5331 |
||
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
5332 |
ac_ext=c |
5333 |
ac_cpp='$CPP $CPPFLAGS' |
|
5334 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5335 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5336 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5337 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
|
5338 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
5339 |
# On Suns, sometimes $CPP names a directory. |
|
5340 |
if test -n "$CPP" && test -d "$CPP"; then |
|
5341 |
CPP= |
|
5342 |
fi |
|
5343 |
if test -z "$CPP"; then |
|
5344 |
if test "${ac_cv_prog_CPP+set}" = set; then |
|
5345 |
$as_echo_n "(cached) " >&6 |
|
5346 |
else |
|
5347 |
# Double quotes because CPP needs to be expanded |
|
5348 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
5349 |
do |
|
5350 |
ac_preproc_ok=false |
|
5351 |
for ac_c_preproc_warn_flag in '' yes |
|
5352 |
do |
|
5353 |
# Use a header file that comes with gcc, so configuring glibc |
|
5354 |
# with a fresh cross-compiler works. |
|
5355 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5356 |
# <limits.h> exists even on freestanding compilers. |
|
5357 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
5358 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
5359 |
cat >conftest.$ac_ext <<_ACEOF |
|
5360 |
/* confdefs.h. */ |
|
5361 |
_ACEOF |
|
5362 |
cat confdefs.h >>conftest.$ac_ext |
|
5363 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5364 |
/* end confdefs.h. */ |
|
5365 |
#ifdef __STDC__ |
|
5366 |
# include <limits.h> |
|
5367 |
#else |
|
5368 |
# include <assert.h> |
|
5369 |
#endif |
|
5370 |
Syntax error |
|
5371 |
_ACEOF |
|
5372 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
5373 |
case "(($ac_try" in |
|
5374 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5375 |
*) ac_try_echo=$ac_try;; |
|
5376 |
esac |
|
5377 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5378 |
$as_echo "$ac_try_echo") >&5 |
|
5379 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
5380 |
ac_status=$? |
|
5381 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5382 |
rm -f conftest.er1 |
|
5383 |
cat conftest.err >&5 |
|
5384 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5385 |
(exit $ac_status); } >/dev/null && { |
|
5386 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5387 |
test ! -s conftest.err |
|
5388 |
}; then |
|
5389 |
: |
|
5390 |
else |
|
5391 |
$as_echo "$as_me: failed program was:" >&5 |
|
5392 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5393 |
||
5394 |
# Broken: fails on valid input. |
|
5395 |
continue |
|
5396 |
fi |
|
5397 |
||
5398 |
rm -f conftest.err conftest.$ac_ext |
|
5399 |
||
5400 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
5401 |
# can be detected and how. |
|
5402 |
cat >conftest.$ac_ext <<_ACEOF |
|
5403 |
/* confdefs.h. */ |
|
5404 |
_ACEOF |
|
5405 |
cat confdefs.h >>conftest.$ac_ext |
|
5406 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5407 |
/* end confdefs.h. */ |
|
5408 |
#include <ac_nonexistent.h> |
|
5409 |
_ACEOF |
|
5410 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
5411 |
case "(($ac_try" in |
|
5412 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5413 |
*) ac_try_echo=$ac_try;; |
|
5414 |
esac |
|
5415 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5416 |
$as_echo "$ac_try_echo") >&5 |
|
5417 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
5418 |
ac_status=$? |
|
5419 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5420 |
rm -f conftest.er1 |
|
5421 |
cat conftest.err >&5 |
|
5422 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5423 |
(exit $ac_status); } >/dev/null && { |
|
5424 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5425 |
test ! -s conftest.err |
|
5426 |
}; then |
|
5427 |
# Broken: success on invalid input. |
|
5428 |
continue |
|
5429 |
else |
|
5430 |
$as_echo "$as_me: failed program was:" >&5 |
|
5431 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5432 |
||
5433 |
# Passes both tests. |
|
5434 |
ac_preproc_ok=: |
|
5435 |
break |
|
5436 |
fi |
|
5437 |
||
5438 |
rm -f conftest.err conftest.$ac_ext |
|
5439 |
||
5440 |
done |
|
5441 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
5442 |
rm -f conftest.err conftest.$ac_ext |
|
5443 |
if $ac_preproc_ok; then |
|
5444 |
break |
|
5445 |
fi |
|
5446 |
||
5447 |
done |
|
5448 |
ac_cv_prog_CPP=$CPP |
|
5449 |
||
5450 |
fi |
|
5451 |
CPP=$ac_cv_prog_CPP |
|
5452 |
else |
|
5453 |
ac_cv_prog_CPP=$CPP |
|
5454 |
fi |
|
5455 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
|
5456 |
$as_echo "$CPP" >&6; } |
|
5457 |
ac_preproc_ok=false |
|
5458 |
for ac_c_preproc_warn_flag in '' yes |
|
5459 |
do |
|
5460 |
# Use a header file that comes with gcc, so configuring glibc |
|
5461 |
# with a fresh cross-compiler works. |
|
5462 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5463 |
# <limits.h> exists even on freestanding compilers. |
|
5464 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
5465 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
5466 |
cat >conftest.$ac_ext <<_ACEOF |
|
5467 |
/* confdefs.h. */ |
|
5468 |
_ACEOF |
|
5469 |
cat confdefs.h >>conftest.$ac_ext |
|
5470 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5471 |
/* end confdefs.h. */ |
|
5472 |
#ifdef __STDC__ |
|
5473 |
# include <limits.h> |
|
5474 |
#else |
|
5475 |
# include <assert.h> |
|
5476 |
#endif |
|
5477 |
Syntax error |
|
5478 |
_ACEOF |
|
5479 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
5480 |
case "(($ac_try" in |
|
5481 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5482 |
*) ac_try_echo=$ac_try;; |
|
5483 |
esac |
|
5484 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5485 |
$as_echo "$ac_try_echo") >&5 |
|
5486 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
5487 |
ac_status=$? |
|
5488 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5489 |
rm -f conftest.er1 |
|
5490 |
cat conftest.err >&5 |
|
5491 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5492 |
(exit $ac_status); } >/dev/null && { |
|
5493 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5494 |
test ! -s conftest.err |
|
5495 |
}; then |
|
5496 |
: |
|
5497 |
else |
|
5498 |
$as_echo "$as_me: failed program was:" >&5 |
|
5499 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5500 |
||
5501 |
# Broken: fails on valid input. |
|
5502 |
continue |
|
5503 |
fi |
|
5504 |
||
5505 |
rm -f conftest.err conftest.$ac_ext |
|
5506 |
||
5507 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
5508 |
# can be detected and how. |
|
5509 |
cat >conftest.$ac_ext <<_ACEOF |
|
5510 |
/* confdefs.h. */ |
|
5511 |
_ACEOF |
|
5512 |
cat confdefs.h >>conftest.$ac_ext |
|
5513 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5514 |
/* end confdefs.h. */ |
|
5515 |
#include <ac_nonexistent.h> |
|
5516 |
_ACEOF |
|
5517 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
5518 |
case "(($ac_try" in |
|
5519 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5520 |
*) ac_try_echo=$ac_try;; |
|
5521 |
esac |
|
5522 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5523 |
$as_echo "$ac_try_echo") >&5 |
|
5524 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
5525 |
ac_status=$? |
|
5526 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5527 |
rm -f conftest.er1 |
|
5528 |
cat conftest.err >&5 |
|
5529 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5530 |
(exit $ac_status); } >/dev/null && { |
|
5531 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
5532 |
test ! -s conftest.err |
|
5533 |
}; then |
|
5534 |
# Broken: success on invalid input. |
|
5535 |
continue |
|
5536 |
else |
|
5537 |
$as_echo "$as_me: failed program was:" >&5 |
|
5538 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5539 |
||
5540 |
# Passes both tests. |
|
5541 |
ac_preproc_ok=: |
|
5542 |
break |
|
5543 |
fi |
|
5544 |
||
5545 |
rm -f conftest.err conftest.$ac_ext |
|
5546 |
||
5547 |
done |
|
5548 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
5549 |
rm -f conftest.err conftest.$ac_ext |
|
5550 |
if $ac_preproc_ok; then |
|
5551 |
: |
|
5552 |
else |
|
5553 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
5554 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
5555 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|
5556 |
See \`config.log' for more details." >&5 |
|
5557 |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|
5558 |
See \`config.log' for more details." >&2;} |
|
5559 |
{ (exit 1); exit 1; }; }; } |
|
5560 |
fi |
|
5561 |
||
5562 |
ac_ext=c |
|
5563 |
ac_cpp='$CPP $CPPFLAGS' |
|
5564 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5565 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5566 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5567 |
||
5568 |
||
5569 |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
|
5570 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
5571 |
if test "${ac_cv_path_GREP+set}" = set; then |
|
5572 |
$as_echo_n "(cached) " >&6 |
|
5573 |
else |
|
5574 |
if test -z "$GREP"; then |
|
5575 |
ac_path_GREP_found=false |
|
5576 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
5577 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5578 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
5579 |
do |
|
5580 |
IFS=$as_save_IFS |
|
5581 |
test -z "$as_dir" && as_dir=. |
|
5582 |
for ac_prog in grep ggrep; do |
|
5583 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5584 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
5585 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
5586 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
5587 |
# Check for GNU $ac_path_GREP |
|
5588 |
case `"$ac_path_GREP" --version 2>&1` in |
|
5589 |
*GNU*) |
|
5590 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
5591 |
*) |
|
5592 |
ac_count=0 |
|
5593 |
$as_echo_n 0123456789 >"conftest.in" |
|
5594 |
while : |
|
5595 |
do |
|
5596 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5597 |
mv "conftest.tmp" "conftest.in" |
|
5598 |
cp "conftest.in" "conftest.nl" |
|
5599 |
$as_echo 'GREP' >> "conftest.nl" |
|
5600 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5601 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5602 |
ac_count=`expr $ac_count + 1` |
|
5603 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
5604 |
# Best one so far, save it but keep looking for a better one |
|
5605 |
ac_cv_path_GREP="$ac_path_GREP" |
|
5606 |
ac_path_GREP_max=$ac_count |
|
5607 |
fi |
|
5608 |
# 10*(2^10) chars as input seems more than enough |
|
5609 |
test $ac_count -gt 10 && break |
|
5610 |
done |
|
5611 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
5612 |
esac |
|
5613 |
||
5614 |
$ac_path_GREP_found && break 3 |
|
5615 |
done |
|
5616 |
done |
|
5617 |
done |
|
5618 |
IFS=$as_save_IFS |
|
5619 |
if test -z "$ac_cv_path_GREP"; then |
|
5620 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
5621 |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
5622 |
{ (exit 1); exit 1; }; } |
|
5623 |
fi |
|
5624 |
else |
|
5625 |
ac_cv_path_GREP=$GREP |
|
5626 |
fi |
|
5627 |
||
5628 |
fi |
|
5629 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
|
5630 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
5631 |
GREP="$ac_cv_path_GREP" |
|
5632 |
||
5633 |
||
5634 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
|
5635 |
$as_echo_n "checking for egrep... " >&6; } |
|
5636 |
if test "${ac_cv_path_EGREP+set}" = set; then |
|
5637 |
$as_echo_n "(cached) " >&6 |
|
5638 |
else |
|
5639 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
5640 |
then ac_cv_path_EGREP="$GREP -E" |
|
5641 |
else |
|
5642 |
if test -z "$EGREP"; then |
|
5643 |
ac_path_EGREP_found=false |
|
5644 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
5645 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5646 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
5647 |
do |
|
5648 |
IFS=$as_save_IFS |
|
5649 |
test -z "$as_dir" && as_dir=. |
|
5650 |
for ac_prog in egrep; do |
|
5651 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5652 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
5653 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
5654 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
5655 |
# Check for GNU $ac_path_EGREP |
|
5656 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
5657 |
*GNU*) |
|
5658 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
5659 |
*) |
|
5660 |
ac_count=0 |
|
5661 |
$as_echo_n 0123456789 >"conftest.in" |
|
5662 |
while : |
|
5663 |
do |
|
5664 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5665 |
mv "conftest.tmp" "conftest.in" |
|
5666 |
cp "conftest.in" "conftest.nl" |
|
5667 |
$as_echo 'EGREP' >> "conftest.nl" |
|
5668 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5669 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5670 |
ac_count=`expr $ac_count + 1` |
|
5671 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
5672 |
# Best one so far, save it but keep looking for a better one |
|
5673 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
5674 |
ac_path_EGREP_max=$ac_count |
|
5675 |
fi |
|
5676 |
# 10*(2^10) chars as input seems more than enough |
|
5677 |
test $ac_count -gt 10 && break |
|
5678 |
done |
|
5679 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
5680 |
esac |
|
5681 |
||
5682 |
$ac_path_EGREP_found && break 3 |
|
5683 |
done |
|
5684 |
done |
|
5685 |
done |
|
5686 |
IFS=$as_save_IFS |
|
5687 |
if test -z "$ac_cv_path_EGREP"; then |
|
5688 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
5689 |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
5690 |
{ (exit 1); exit 1; }; } |
|
5691 |
fi |
|
5692 |
else |
|
5693 |
ac_cv_path_EGREP=$EGREP |
|
5694 |
fi |
|
5695 |
||
5696 |
fi |
|
5697 |
fi |
|
5698 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|
5699 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
5700 |
EGREP="$ac_cv_path_EGREP" |
|
5701 |
||
5702 |
||
5703 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
5704 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
5705 |
if test "${ac_cv_header_stdc+set}" = set; then |
|
5706 |
$as_echo_n "(cached) " >&6 |
|
5707 |
else |
|
5708 |
cat >conftest.$ac_ext <<_ACEOF |
|
5709 |
/* confdefs.h. */ |
|
5710 |
_ACEOF |
|
5711 |
cat confdefs.h >>conftest.$ac_ext |
|
5712 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5713 |
/* end confdefs.h. */ |
|
5714 |
#include <stdlib.h> |
|
5715 |
#include <stdarg.h> |
|
5716 |
#include <string.h> |
|
5717 |
#include <float.h> |
|
5718 |
||
5719 |
int |
|
5720 |
main () |
|
5721 |
{ |
|
5722 |
||
5723 |
; |
|
5724 |
return 0; |
|
5725 |
} |
|
5726 |
_ACEOF |
|
5727 |
rm -f conftest.$ac_objext |
|
5728 |
if { (ac_try="$ac_compile" |
|
5729 |
case "(($ac_try" in |
|
5730 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5731 |
*) ac_try_echo=$ac_try;; |
|
5732 |
esac |
|
5733 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5734 |
$as_echo "$ac_try_echo") >&5 |
|
5735 |
(eval "$ac_compile") 2>conftest.er1 |
|
5736 |
ac_status=$? |
|
5737 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5738 |
rm -f conftest.er1 |
|
5739 |
cat conftest.err >&5 |
|
5740 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5741 |
(exit $ac_status); } && { |
|
5742 |
test -z "$ac_c_werror_flag" || |
|
5743 |
test ! -s conftest.err |
|
5744 |
} && test -s conftest.$ac_objext; then |
|
5745 |
ac_cv_header_stdc=yes |
|
5746 |
else |
|
5747 |
$as_echo "$as_me: failed program was:" >&5 |
|
5748 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5749 |
||
5750 |
ac_cv_header_stdc=no |
|
5751 |
fi |
|
5752 |
||
5753 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5754 |
||
5755 |
if test $ac_cv_header_stdc = yes; then |
|
5756 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
5757 |
cat >conftest.$ac_ext <<_ACEOF |
|
5758 |
/* confdefs.h. */ |
|
5759 |
_ACEOF |
|
5760 |
cat confdefs.h >>conftest.$ac_ext |
|
5761 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5762 |
/* end confdefs.h. */ |
|
5763 |
#include <string.h> |
|
5764 |
||
5765 |
_ACEOF |
|
5766 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5767 |
$EGREP "memchr" >/dev/null 2>&1; then |
|
5768 |
: |
|
5769 |
else |
|
5770 |
ac_cv_header_stdc=no |
|
5771 |
fi |
|
5772 |
rm -f conftest* |
|
5773 |
||
5774 |
fi |
|
5775 |
||
5776 |
if test $ac_cv_header_stdc = yes; then |
|
5777 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
5778 |
cat >conftest.$ac_ext <<_ACEOF |
|
5779 |
/* confdefs.h. */ |
|
5780 |
_ACEOF |
|
5781 |
cat confdefs.h >>conftest.$ac_ext |
|
5782 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5783 |
/* end confdefs.h. */ |
|
5784 |
#include <stdlib.h> |
|
5785 |
||
5786 |
_ACEOF |
|
5787 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5788 |
$EGREP "free" >/dev/null 2>&1; then |
|
5789 |
: |
|
5790 |
else |
|
5791 |
ac_cv_header_stdc=no |
|
5792 |
fi |
|
5793 |
rm -f conftest* |
|
5794 |
||
5795 |
fi |
|
5796 |
||
5797 |
if test $ac_cv_header_stdc = yes; then |
|
5798 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
5799 |
if test "$cross_compiling" = yes; then |
|
5800 |
: |
|
5801 |
else |
|
5802 |
cat >conftest.$ac_ext <<_ACEOF |
|
5803 |
/* confdefs.h. */ |
|
5804 |
_ACEOF |
|
5805 |
cat confdefs.h >>conftest.$ac_ext |
|
5806 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5807 |
/* end confdefs.h. */ |
|
5808 |
#include <ctype.h> |
|
5809 |
#include <stdlib.h> |
|
5810 |
#if ((' ' & 0x0FF) == 0x020) |
|
5811 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
5812 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
5813 |
#else |
|
5814 |
# define ISLOWER(c) \ |
|
5815 |
(('a' <= (c) && (c) <= 'i') \ |
|
5816 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
5817 |
|| ('s' <= (c) && (c) <= 'z')) |
|
5818 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
5819 |
#endif |
|
5820 |
||
5821 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
5822 |
int |
|
5823 |
main () |
|
5824 |
{ |
|
5825 |
int i; |
|
5826 |
for (i = 0; i < 256; i++) |
|
5827 |
if (XOR (islower (i), ISLOWER (i)) |
|
5828 |
|| toupper (i) != TOUPPER (i)) |
|
5829 |
return 2; |
|
5830 |
return 0; |
|
5831 |
} |
|
5832 |
_ACEOF |
|
5833 |
rm -f conftest$ac_exeext |
|
5834 |
if { (ac_try="$ac_link" |
|
5835 |
case "(($ac_try" in |
|
5836 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5837 |
*) ac_try_echo=$ac_try;; |
|
5838 |
esac |
|
5839 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5840 |
$as_echo "$ac_try_echo") >&5 |
|
5841 |
(eval "$ac_link") 2>&5 |
|
5842 |
ac_status=$? |
|
5843 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5844 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
5845 |
{ (case "(($ac_try" in |
|
5846 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5847 |
*) ac_try_echo=$ac_try;; |
|
5848 |
esac |
|
5849 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5850 |
$as_echo "$ac_try_echo") >&5 |
|
5851 |
(eval "$ac_try") 2>&5 |
|
5852 |
ac_status=$? |
|
5853 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5854 |
(exit $ac_status); }; }; then |
|
5855 |
: |
|
5856 |
else |
|
5857 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
5858 |
$as_echo "$as_me: failed program was:" >&5 |
|
5859 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5860 |
||
5861 |
( exit $ac_status ) |
|
5862 |
ac_cv_header_stdc=no |
|
5863 |
fi |
|
5864 |
rm -rf conftest.dSYM |
|
5865 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
5866 |
fi |
|
5867 |
||
5868 |
||
5869 |
fi |
|
5870 |
fi |
|
5871 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
5872 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
5873 |
if test $ac_cv_header_stdc = yes; then |
|
5874 |
||
5875 |
cat >>confdefs.h <<\_ACEOF |
|
5876 |
#define STDC_HEADERS 1 |
|
5877 |
_ACEOF |
|
5878 |
||
5879 |
fi |
|
5880 |
||
5881 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
5882 |
||
5883 |
||
5884 |
||
5885 |
||
5886 |
||
5887 |
||
5888 |
||
5889 |
||
5890 |
||
5891 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
5892 |
inttypes.h stdint.h unistd.h |
|
5893 |
do |
|
5894 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
5895 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
5896 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
5897 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5898 |
$as_echo_n "(cached) " >&6 |
|
5899 |
else |
|
5900 |
cat >conftest.$ac_ext <<_ACEOF |
|
5901 |
/* confdefs.h. */ |
|
5902 |
_ACEOF |
|
5903 |
cat confdefs.h >>conftest.$ac_ext |
|
5904 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5905 |
/* end confdefs.h. */ |
|
5906 |
$ac_includes_default |
|
5907 |
||
5908 |
#include <$ac_header> |
|
5909 |
_ACEOF |
|
5910 |
rm -f conftest.$ac_objext |
|
5911 |
if { (ac_try="$ac_compile" |
|
5912 |
case "(($ac_try" in |
|
5913 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5914 |
*) ac_try_echo=$ac_try;; |
|
5915 |
esac |
|
5916 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5917 |
$as_echo "$ac_try_echo") >&5 |
|
5918 |
(eval "$ac_compile") 2>conftest.er1 |
|
5919 |
ac_status=$? |
|
5920 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5921 |
rm -f conftest.er1 |
|
5922 |
cat conftest.err >&5 |
|
5923 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5924 |
(exit $ac_status); } && { |
|
5925 |
test -z "$ac_c_werror_flag" || |
|
5926 |
test ! -s conftest.err |
|
5927 |
} && test -s conftest.$ac_objext; then |
|
5928 |
eval "$as_ac_Header=yes" |
|
5929 |
else |
|
5930 |
$as_echo "$as_me: failed program was:" >&5 |
|
5931 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
5932 |
||
5933 |
eval "$as_ac_Header=no" |
|
5934 |
fi |
|
5935 |
||
5936 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5937 |
fi |
|
5938 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
5939 |
$as_echo "$as_val"'` |
|
5940 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
5941 |
$as_echo "$ac_res" >&6; } |
|
5942 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
5943 |
$as_echo "$as_val"'` |
|
5944 |
if test "x$as_val" = x""yes; then |
|
5945 |
cat >>confdefs.h <<_ACEOF |
|
5946 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
5947 |
_ACEOF |
|
5948 |
||
5949 |
fi |
|
5950 |
||
5951 |
done |
|
5952 |
||
5953 |
||
5954 |
||
5955 |
||
5956 |
for ac_header in unistd.h sys/mman.h |
|
5957 |
do |
|
5958 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
5959 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5960 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
5961 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
5962 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
5963 |
$as_echo_n "(cached) " >&6 |
|
5964 |
fi |
|
5965 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
5966 |
$as_echo "$as_val"'` |
|
5967 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
5968 |
$as_echo "$ac_res" >&6; } |
|
5969 |
else |
|
5970 |
# Is the header compilable? |
|
5971 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
5972 |
$as_echo_n "checking $ac_header usability... " >&6; } |
|
5973 |
cat >conftest.$ac_ext <<_ACEOF |
|
5974 |
/* confdefs.h. */ |
|
5975 |
_ACEOF |
|
5976 |
cat confdefs.h >>conftest.$ac_ext |
|
5977 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5978 |
/* end confdefs.h. */ |
|
5979 |
$ac_includes_default |
|
5980 |
#include <$ac_header> |
|
5981 |
_ACEOF |
|
5982 |
rm -f conftest.$ac_objext |
|
5983 |
if { (ac_try="$ac_compile" |
|
5984 |
case "(($ac_try" in |
|
5985 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5986 |
*) ac_try_echo=$ac_try;; |
|
5987 |
esac |
|
5988 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
5989 |
$as_echo "$ac_try_echo") >&5 |
|
5990 |
(eval "$ac_compile") 2>conftest.er1 |
|
5991 |
ac_status=$? |
|
5992 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
5993 |
rm -f conftest.er1 |
|
5994 |
cat conftest.err >&5 |
|
5995 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5996 |
(exit $ac_status); } && { |
|
5997 |
test -z "$ac_c_werror_flag" || |
|
5998 |
test ! -s conftest.err |
|
5999 |
} && test -s conftest.$ac_objext; then |
|
6000 |
ac_header_compiler=yes |
|
6001 |
else |
|
6002 |
$as_echo "$as_me: failed program was:" >&5 |
|
6003 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
6004 |
||
6005 |
ac_header_compiler=no |
|
6006 |
fi |
|
6007 |
||
6008 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6009 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
6010 |
$as_echo "$ac_header_compiler" >&6; } |
|
6011 |
||
6012 |
# Is the header present? |
|
6013 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
6014 |
$as_echo_n "checking $ac_header presence... " >&6; } |
|
6015 |
cat >conftest.$ac_ext <<_ACEOF |
|
6016 |
/* confdefs.h. */ |
|
6017 |
_ACEOF |
|
6018 |
cat confdefs.h >>conftest.$ac_ext |
|
6019 |
cat >>conftest.$ac_ext <<_ACEOF |
|
6020 |
/* end confdefs.h. */ |
|
6021 |
#include <$ac_header> |
|
6022 |
_ACEOF |
|
6023 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
6024 |
case "(($ac_try" in |
|
6025 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6026 |
*) ac_try_echo=$ac_try;; |
|
6027 |
esac |
|
6028 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
6029 |
$as_echo "$ac_try_echo") >&5 |
|
6030 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
6031 |
ac_status=$? |
|
6032 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
6033 |
rm -f conftest.er1 |
|
6034 |
cat conftest.err >&5 |
|
6035 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6036 |
(exit $ac_status); } >/dev/null && { |
|
6037 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
6038 |
test ! -s conftest.err |
|
6039 |
}; then |
|
6040 |
ac_header_preproc=yes |
|
6041 |
else |
|
6042 |
$as_echo "$as_me: failed program was:" >&5 |
|
6043 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
6044 |
||
6045 |
ac_header_preproc=no |
|
6046 |
fi |
|
6047 |
||
6048 |
rm -f conftest.err conftest.$ac_ext |
|
6049 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
6050 |
$as_echo "$ac_header_preproc" >&6; } |
|
6051 |
||
6052 |
# So? What about this header? |
|
6053 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
6054 |
yes:no: ) |
|
6055 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
6056 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
6057 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
6058 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
6059 |
ac_header_preproc=yes |
|
6060 |
;; |
|
6061 |
no:yes:* ) |
|
6062 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
6063 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
6064 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
6065 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
6066 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
6067 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
6068 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
6069 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
6070 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
6071 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
6072 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
6073 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
6074 |
( cat <<\_ASBOX |
|
6075 |
## -------------------------------------------------------------------- ## |
|
6076 |
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ## |
|
6077 |
## -------------------------------------------------------------------- ## |
|
6078 |
_ASBOX |
|
6079 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
|
6080 |
;; |
|
6081 |
esac |
|
6082 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
6083 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
6084 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
6085 |
$as_echo_n "(cached) " >&6 |
|
6086 |
else |
|
6087 |
eval "$as_ac_Header=\$ac_header_preproc" |
|
6088 |
fi |
|
6089 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
6090 |
$as_echo "$as_val"'` |
|
6091 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
6092 |
$as_echo "$ac_res" >&6; } |
|
6093 |
||
6094 |
fi |
|
6095 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
6096 |
$as_echo "$as_val"'` |
|
6097 |
if test "x$as_val" = x""yes; then |
|
6098 |
cat >>confdefs.h <<_ACEOF |
|
6099 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
6100 |
_ACEOF |
|
6101 |
||
6102 |
fi |
|
6103 |
||
6104 |
done |
|
6105 |
||
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
6106 |
|
6107 |
# Make sure we don't link to libstdc++ (needs de-gcc-fication) |
|
6108 |
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" |
|
6109 |
||
6110 |
||
6111 |
# |
|
6112 |
# Win32 stuff |
|
6113 |
# |
|
1.6.1
by Sebastian Dröge
Import upstream version 1.25.6 |
6114 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6115 |
enable_win32_dll=yes |
6116 |
||
6117 |
case $host in |
|
6118 |
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) |
|
6119 |
if test -n "$ac_tool_prefix"; then |
|
6120 |
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. |
|
6121 |
set dummy ${ac_tool_prefix}as; ac_word=$2 |
|
6122 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6123 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6124 |
if test "${ac_cv_prog_AS+set}" = set; then |
|
6125 |
$as_echo_n "(cached) " >&6 |
|
6126 |
else |
|
6127 |
if test -n "$AS"; then |
|
6128 |
ac_cv_prog_AS="$AS" # Let the user override the test. |
|
6129 |
else |
|
6130 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6131 |
for as_dir in $PATH |
|
6132 |
do |
|
6133 |
IFS=$as_save_IFS |
|
6134 |
test -z "$as_dir" && as_dir=. |
|
6135 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6136 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6137 |
ac_cv_prog_AS="${ac_tool_prefix}as" |
|
6138 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6139 |
break 2 |
|
6140 |
fi |
|
6141 |
done |
|
6142 |
done |
|
6143 |
IFS=$as_save_IFS |
|
6144 |
||
6145 |
fi |
|
6146 |
fi |
|
6147 |
AS=$ac_cv_prog_AS |
|
6148 |
if test -n "$AS"; then |
|
6149 |
{ $as_echo "$as_me:$LINENO: result: $AS" >&5 |
|
6150 |
$as_echo "$AS" >&6; } |
|
6151 |
else |
|
6152 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6153 |
$as_echo "no" >&6; } |
|
6154 |
fi |
|
6155 |
||
6156 |
||
6157 |
fi |
|
6158 |
if test -z "$ac_cv_prog_AS"; then |
|
6159 |
ac_ct_AS=$AS |
|
6160 |
# Extract the first word of "as", so it can be a program name with args. |
|
6161 |
set dummy as; ac_word=$2 |
|
6162 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6163 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6164 |
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then |
|
6165 |
$as_echo_n "(cached) " >&6 |
|
6166 |
else |
|
6167 |
if test -n "$ac_ct_AS"; then |
|
6168 |
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. |
|
6169 |
else |
|
6170 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6171 |
for as_dir in $PATH |
|
6172 |
do |
|
6173 |
IFS=$as_save_IFS |
|
6174 |
test -z "$as_dir" && as_dir=. |
|
6175 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6176 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6177 |
ac_cv_prog_ac_ct_AS="as" |
|
6178 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6179 |
break 2 |
|
6180 |
fi |
|
6181 |
done |
|
6182 |
done |
|
6183 |
IFS=$as_save_IFS |
|
6184 |
||
6185 |
fi |
|
6186 |
fi |
|
6187 |
ac_ct_AS=$ac_cv_prog_ac_ct_AS |
|
6188 |
if test -n "$ac_ct_AS"; then |
|
6189 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 |
|
6190 |
$as_echo "$ac_ct_AS" >&6; } |
|
6191 |
else |
|
6192 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6193 |
$as_echo "no" >&6; } |
|
6194 |
fi |
|
6195 |
||
6196 |
if test "x$ac_ct_AS" = x; then |
|
6197 |
AS="false" |
|
6198 |
else |
|
6199 |
case $cross_compiling:$ac_tool_warned in |
|
6200 |
yes:) |
|
6201 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6202 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6203 |
ac_tool_warned=yes ;; |
|
6204 |
esac |
|
6205 |
AS=$ac_ct_AS |
|
6206 |
fi |
|
6207 |
else |
|
6208 |
AS="$ac_cv_prog_AS" |
|
6209 |
fi |
|
6210 |
||
6211 |
if test -n "$ac_tool_prefix"; then |
|
6212 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
6213 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
6214 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6215 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6216 |
if test "${ac_cv_prog_DLLTOOL+set}" = set; then |
|
6217 |
$as_echo_n "(cached) " >&6 |
|
6218 |
else |
|
6219 |
if test -n "$DLLTOOL"; then |
|
6220 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
6221 |
else |
|
6222 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6223 |
for as_dir in $PATH |
|
6224 |
do |
|
6225 |
IFS=$as_save_IFS |
|
6226 |
test -z "$as_dir" && as_dir=. |
|
6227 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6228 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6229 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
6230 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6231 |
break 2 |
|
6232 |
fi |
|
6233 |
done |
|
6234 |
done |
|
6235 |
IFS=$as_save_IFS |
|
6236 |
||
6237 |
fi |
|
6238 |
fi |
|
6239 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
6240 |
if test -n "$DLLTOOL"; then |
|
6241 |
{ $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 |
|
6242 |
$as_echo "$DLLTOOL" >&6; } |
|
6243 |
else |
|
6244 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6245 |
$as_echo "no" >&6; } |
|
6246 |
fi |
|
6247 |
||
6248 |
||
6249 |
fi |
|
6250 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
6251 |
ac_ct_DLLTOOL=$DLLTOOL |
|
6252 |
# Extract the first word of "dlltool", so it can be a program name with args. |
|
6253 |
set dummy dlltool; ac_word=$2 |
|
6254 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6255 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6256 |
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then |
|
6257 |
$as_echo_n "(cached) " >&6 |
|
6258 |
else |
|
6259 |
if test -n "$ac_ct_DLLTOOL"; then |
|
6260 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
6261 |
else |
|
6262 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6263 |
for as_dir in $PATH |
|
6264 |
do |
|
6265 |
IFS=$as_save_IFS |
|
6266 |
test -z "$as_dir" && as_dir=. |
|
6267 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6268 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6269 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
6270 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6271 |
break 2 |
|
6272 |
fi |
|
6273 |
done |
|
6274 |
done |
|
6275 |
IFS=$as_save_IFS |
|
6276 |
||
6277 |
fi |
|
6278 |
fi |
|
6279 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
6280 |
if test -n "$ac_ct_DLLTOOL"; then |
|
6281 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 |
|
6282 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
6283 |
else |
|
6284 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6285 |
$as_echo "no" >&6; } |
|
6286 |
fi |
|
6287 |
||
6288 |
if test "x$ac_ct_DLLTOOL" = x; then |
|
6289 |
DLLTOOL="false" |
|
6290 |
else |
|
6291 |
case $cross_compiling:$ac_tool_warned in |
|
6292 |
yes:) |
|
6293 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6294 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6295 |
ac_tool_warned=yes ;; |
|
6296 |
esac |
|
6297 |
DLLTOOL=$ac_ct_DLLTOOL |
|
6298 |
fi |
|
6299 |
else |
|
6300 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
6301 |
fi |
|
6302 |
||
6303 |
if test -n "$ac_tool_prefix"; then |
|
6304 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
6305 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
6306 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6307 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6308 |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
|
6309 |
$as_echo_n "(cached) " >&6 |
|
6310 |
else |
|
6311 |
if test -n "$OBJDUMP"; then |
|
6312 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
6313 |
else |
|
6314 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6315 |
for as_dir in $PATH |
|
6316 |
do |
|
6317 |
IFS=$as_save_IFS |
|
6318 |
test -z "$as_dir" && as_dir=. |
|
6319 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6320 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6321 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
6322 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6323 |
break 2 |
|
6324 |
fi |
|
6325 |
done |
|
6326 |
done |
|
6327 |
IFS=$as_save_IFS |
|
6328 |
||
6329 |
fi |
|
6330 |
fi |
|
6331 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
6332 |
if test -n "$OBJDUMP"; then |
|
6333 |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 |
|
6334 |
$as_echo "$OBJDUMP" >&6; } |
|
6335 |
else |
|
6336 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6337 |
$as_echo "no" >&6; } |
|
6338 |
fi |
|
6339 |
||
6340 |
||
6341 |
fi |
|
6342 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
6343 |
ac_ct_OBJDUMP=$OBJDUMP |
|
6344 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
6345 |
set dummy objdump; ac_word=$2 |
|
6346 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6347 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6348 |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
|
6349 |
$as_echo_n "(cached) " >&6 |
|
6350 |
else |
|
6351 |
if test -n "$ac_ct_OBJDUMP"; then |
|
6352 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
6353 |
else |
|
6354 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6355 |
for as_dir in $PATH |
|
6356 |
do |
|
6357 |
IFS=$as_save_IFS |
|
6358 |
test -z "$as_dir" && as_dir=. |
|
6359 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6360 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6361 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
6362 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6363 |
break 2 |
|
6364 |
fi |
|
6365 |
done |
|
6366 |
done |
|
6367 |
IFS=$as_save_IFS |
|
6368 |
||
6369 |
fi |
|
6370 |
fi |
|
6371 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
6372 |
if test -n "$ac_ct_OBJDUMP"; then |
|
6373 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 |
|
6374 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
6375 |
else |
|
6376 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6377 |
$as_echo "no" >&6; } |
|
6378 |
fi |
|
6379 |
||
6380 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
6381 |
OBJDUMP="false" |
|
6382 |
else |
|
6383 |
case $cross_compiling:$ac_tool_warned in |
|
6384 |
yes:) |
|
6385 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6386 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6387 |
ac_tool_warned=yes ;; |
|
6388 |
esac |
|
6389 |
OBJDUMP=$ac_ct_OBJDUMP |
|
6390 |
fi |
|
6391 |
else |
|
6392 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
6393 |
fi |
|
6394 |
||
6395 |
;; |
|
6396 |
esac |
|
6397 |
||
6398 |
test -z "$AS" && AS=as |
|
6399 |
||
6400 |
||
6401 |
||
6402 |
||
6403 |
||
6404 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
6405 |
||
6406 |
||
6407 |
||
6408 |
||
6409 |
||
6410 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
6411 |
||
6412 |
||
6413 |
||
6414 |
||
6415 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6416 |
|
6417 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6418 |
# Check whether --enable-static was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6419 |
if test "${enable_static+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6420 |
enableval=$enable_static; p=${PACKAGE-default} |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6421 |
case $enableval in |
6422 |
yes) enable_static=yes ;; |
|
6423 |
no) enable_static=no ;; |
|
6424 |
*) |
|
6425 |
enable_static=no |
|
6426 |
# Look at the argument we got. We use all the common list separators. |
|
6427 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
6428 |
for pkg in $enableval; do |
|
6429 |
IFS="$lt_save_ifs" |
|
6430 |
if test "X$pkg" = "X$p"; then |
|
6431 |
enable_static=yes |
|
6432 |
fi |
|
6433 |
done |
|
6434 |
IFS="$lt_save_ifs" |
|
6435 |
;; |
|
6436 |
esac |
|
6437 |
else |
|
6438 |
enable_static=no |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6439 |
fi |
6440 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6441 |
|
6442 |
||
6443 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6444 |
|
6445 |
||
6446 |
||
6447 |
||
6448 |
||
6449 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6450 |
if test "$pango_os_win32" = "yes"; then |
6451 |
if test x$enable_static = xyes -o x$enable_static = x; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6452 |
{ $as_echo "$as_me:$LINENO: WARNING: Disabling static library build, must build as DLL on Windows." >&5 |
6453 |
$as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6454 |
enable_static=no |
6455 |
fi |
|
6456 |
if test x$enable_shared = xno; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6457 |
{ $as_echo "$as_me:$LINENO: WARNING: Enabling shared library build, must build as DLL on Windows." >&5 |
6458 |
$as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6459 |
fi |
6460 |
enable_shared=yes |
|
6461 |
fi |
|
6462 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6463 |
case `pwd` in |
6464 |
*\ * | *\ *) |
|
6465 |
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
6466 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
6467 |
esac |
|
6468 |
||
6469 |
||
6470 |
||
6471 |
macro_version='2.2.6' |
|
6472 |
macro_revision='1.3012' |
|
6473 |
||
6474 |
||
6475 |
||
6476 |
||
6477 |
||
6478 |
||
6479 |
||
6480 |
||
6481 |
||
6482 |
||
6483 |
||
6484 |
||
6485 |
||
6486 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6487 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6488 |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
6489 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6490 |
if test "${ac_cv_path_SED+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6491 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6492 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6493 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
6494 |
for ac_i in 1 2 3 4 5 6 7; do |
|
6495 |
ac_script="$ac_script$as_nl$ac_script" |
|
6496 |
done |
|
6497 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
6498 |
$as_unset ac_script || ac_script= |
|
6499 |
if test -z "$SED"; then |
|
6500 |
ac_path_SED_found=false |
|
6501 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
6502 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6503 |
for as_dir in $PATH |
6504 |
do |
|
6505 |
IFS=$as_save_IFS |
|
6506 |
test -z "$as_dir" && as_dir=. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6507 |
for ac_prog in sed gsed; do |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6508 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6509 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
6510 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
6511 |
# Check for GNU ac_path_SED and select it if it is found. |
|
6512 |
# Check for GNU $ac_path_SED |
|
6513 |
case `"$ac_path_SED" --version 2>&1` in |
|
6514 |
*GNU*) |
|
6515 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
6516 |
*) |
|
6517 |
ac_count=0 |
|
6518 |
$as_echo_n 0123456789 >"conftest.in" |
|
6519 |
while : |
|
6520 |
do |
|
6521 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
6522 |
mv "conftest.tmp" "conftest.in" |
|
6523 |
cp "conftest.in" "conftest.nl" |
|
6524 |
$as_echo '' >> "conftest.nl" |
|
6525 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
6526 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
6527 |
ac_count=`expr $ac_count + 1` |
|
6528 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
6529 |
# Best one so far, save it but keep looking for a better one |
|
6530 |
ac_cv_path_SED="$ac_path_SED" |
|
6531 |
ac_path_SED_max=$ac_count |
|
6532 |
fi |
|
6533 |
# 10*(2^10) chars as input seems more than enough |
|
6534 |
test $ac_count -gt 10 && break |
|
6535 |
done |
|
6536 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
6537 |
esac |
|
6538 |
||
6539 |
$ac_path_SED_found && break 3 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6540 |
done |
6541 |
done |
|
6542 |
done |
|
1.2.28
by Sebastien Bacher
Import upstream version 1.15.6 |
6543 |
IFS=$as_save_IFS |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6544 |
if test -z "$ac_cv_path_SED"; then |
6545 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 |
|
6546 |
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} |
|
6547 |
{ (exit 1); exit 1; }; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6548 |
fi |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6549 |
else |
6550 |
ac_cv_path_SED=$SED |
|
6551 |
fi |
|
6552 |
||
6553 |
fi |
|
6554 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 |
|
6555 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
6556 |
SED="$ac_cv_path_SED" |
|
6557 |
rm -f conftest.sed |
|
6558 |
||
6559 |
test -z "$SED" && SED=sed |
|
6560 |
Xsed="$SED -e 1s/^X//" |
|
6561 |
||
6562 |
||
6563 |
||
6564 |
||
6565 |
||
6566 |
||
6567 |
||
6568 |
||
6569 |
||
6570 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6571 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6572 |
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 |
6573 |
$as_echo_n "checking for fgrep... " >&6; } |
|
6574 |
if test "${ac_cv_path_FGREP+set}" = set; then |
|
6575 |
$as_echo_n "(cached) " >&6 |
|
6576 |
else |
|
6577 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
6578 |
then ac_cv_path_FGREP="$GREP -F" |
|
6579 |
else |
|
6580 |
if test -z "$FGREP"; then |
|
6581 |
ac_path_FGREP_found=false |
|
6582 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
6583 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6584 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
6585 |
do |
|
6586 |
IFS=$as_save_IFS |
|
6587 |
test -z "$as_dir" && as_dir=. |
|
6588 |
for ac_prog in fgrep; do |
|
6589 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6590 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
6591 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
|
6592 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
6593 |
# Check for GNU $ac_path_FGREP |
|
6594 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
6595 |
*GNU*) |
|
6596 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
6597 |
*) |
|
6598 |
ac_count=0 |
|
6599 |
$as_echo_n 0123456789 >"conftest.in" |
|
6600 |
while : |
|
6601 |
do |
|
6602 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
6603 |
mv "conftest.tmp" "conftest.in" |
|
6604 |
cp "conftest.in" "conftest.nl" |
|
6605 |
$as_echo 'FGREP' >> "conftest.nl" |
|
6606 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
6607 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
6608 |
ac_count=`expr $ac_count + 1` |
|
6609 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
6610 |
# Best one so far, save it but keep looking for a better one |
|
6611 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
6612 |
ac_path_FGREP_max=$ac_count |
|
6613 |
fi |
|
6614 |
# 10*(2^10) chars as input seems more than enough |
|
6615 |
test $ac_count -gt 10 && break |
|
6616 |
done |
|
6617 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
6618 |
esac |
|
6619 |
||
6620 |
$ac_path_FGREP_found && break 3 |
|
6621 |
done |
|
6622 |
done |
|
6623 |
done |
|
6624 |
IFS=$as_save_IFS |
|
6625 |
if test -z "$ac_cv_path_FGREP"; then |
|
6626 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
6627 |
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
6628 |
{ (exit 1); exit 1; }; } |
|
6629 |
fi |
|
6630 |
else |
|
6631 |
ac_cv_path_FGREP=$FGREP |
|
6632 |
fi |
|
6633 |
||
6634 |
fi |
|
6635 |
fi |
|
6636 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 |
|
6637 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
6638 |
FGREP="$ac_cv_path_FGREP" |
|
6639 |
||
6640 |
||
6641 |
test -z "$GREP" && GREP=grep |
|
6642 |
||
6643 |
||
6644 |
||
6645 |
||
6646 |
||
6647 |
||
6648 |
||
6649 |
||
6650 |
||
6651 |
||
6652 |
||
6653 |
||
6654 |
||
6655 |
||
6656 |
||
6657 |
||
6658 |
||
6659 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6660 |
|
6661 |
# Check whether --with-gnu-ld was given. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6662 |
if test "${with_gnu_ld+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6663 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6664 |
else |
6665 |
with_gnu_ld=no |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
6666 |
fi |
6667 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6668 |
ac_prog=ld |
6669 |
if test "$GCC" = yes; then |
|
6670 |
# Check if gcc -print-prog-name=ld gives a path. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6671 |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
6672 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6673 |
case $host in |
6674 |
*-*-mingw*) |
|
6675 |
# gcc leaves a trailing carriage return which upsets mingw |
|
6676 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
6677 |
*) |
|
6678 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
6679 |
esac |
|
6680 |
case $ac_prog in |
|
6681 |
# Accept absolute paths. |
|
6682 |
[\\/]* | ?:[\\/]*) |
|
6683 |
re_direlt='/[^/][^/]*/\.\./' |
|
6684 |
# Canonicalize the pathname of ld |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6685 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
6686 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
6687 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6688 |
done |
6689 |
test -z "$LD" && LD="$ac_prog" |
|
6690 |
;; |
|
6691 |
"") |
|
6692 |
# If it fails, then pretend we aren't using GCC. |
|
6693 |
ac_prog=ld |
|
6694 |
;; |
|
6695 |
*) |
|
6696 |
# If it is relative, then search for the first ld in PATH. |
|
6697 |
with_gnu_ld=unknown |
|
6698 |
;; |
|
6699 |
esac |
|
6700 |
elif test "$with_gnu_ld" = yes; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6701 |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
6702 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6703 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6704 |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
6705 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6706 |
fi |
6707 |
if test "${lt_cv_path_LD+set}" = set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6708 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6709 |
else |
6710 |
if test -z "$LD"; then |
|
6711 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
6712 |
for ac_dir in $PATH; do |
|
6713 |
IFS="$lt_save_ifs" |
|
6714 |
test -z "$ac_dir" && ac_dir=. |
|
6715 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
6716 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
6717 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
6718 |
# but apparently some variants of GNU ld only accept -v. |
|
6719 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
6720 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
6721 |
*GNU* | *'with BFD'*) |
|
6722 |
test "$with_gnu_ld" != no && break |
|
6723 |
;; |
|
6724 |
*) |
|
6725 |
test "$with_gnu_ld" != yes && break |
|
6726 |
;; |
|
6727 |
esac |
|
6728 |
fi |
|
6729 |
done |
|
6730 |
IFS="$lt_save_ifs" |
|
6731 |
else |
|
6732 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
6733 |
fi |
|
6734 |
fi |
|
6735 |
||
6736 |
LD="$lt_cv_path_LD" |
|
6737 |
if test -n "$LD"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6738 |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
6739 |
$as_echo "$LD" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6740 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6741 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6742 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6743 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6744 |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
6745 |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6746 |
{ (exit 1); exit 1; }; } |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6747 |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
6748 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6749 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6750 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6751 |
else |
6752 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
6753 |
case `$LD -v 2>&1 </dev/null` in |
|
6754 |
*GNU* | *'with BFD'*) |
|
6755 |
lt_cv_prog_gnu_ld=yes |
|
6756 |
;; |
|
6757 |
*) |
|
6758 |
lt_cv_prog_gnu_ld=no |
|
6759 |
;; |
|
6760 |
esac |
|
6761 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6762 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
6763 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6764 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
6765 |
||
6766 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6767 |
|
6768 |
||
6769 |
||
6770 |
||
6771 |
||
6772 |
||
6773 |
||
6774 |
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
6775 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6776 |
if test "${lt_cv_path_NM+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6777 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6778 |
else |
6779 |
if test -n "$NM"; then |
|
6780 |
# Let the user override the test. |
|
6781 |
lt_cv_path_NM="$NM" |
|
6782 |
else |
|
6783 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
6784 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
6785 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
6786 |
fi |
|
6787 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
6788 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
6789 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
6790 |
IFS="$lt_save_ifs" |
|
6791 |
test -z "$ac_dir" && ac_dir=. |
|
6792 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
6793 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
6794 |
# Check to see if the nm accepts a BSD-compat flag. |
|
6795 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
6796 |
# nm: unknown option "B" ignored |
|
6797 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
6798 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
6799 |
*/dev/null* | *'Invalid file or object type'*) |
|
6800 |
lt_cv_path_NM="$tmp_nm -B" |
|
6801 |
break |
|
6802 |
;; |
|
6803 |
*) |
|
6804 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
6805 |
*/dev/null*) |
|
6806 |
lt_cv_path_NM="$tmp_nm -p" |
|
6807 |
break |
|
6808 |
;; |
|
6809 |
*) |
|
6810 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
6811 |
continue # so that we can try to find one that supports BSD flags |
|
6812 |
;; |
|
6813 |
esac |
|
6814 |
;; |
|
6815 |
esac |
|
6816 |
fi |
|
6817 |
done |
|
6818 |
IFS="$lt_save_ifs" |
|
6819 |
done |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6820 |
: ${lt_cv_path_NM=no} |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6821 |
fi |
6822 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6823 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
6824 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6825 |
if test "$lt_cv_path_NM" != "no"; then |
6826 |
NM="$lt_cv_path_NM" |
|
6827 |
else |
|
6828 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
6829 |
if test -n "$ac_tool_prefix"; then |
|
6830 |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
|
6831 |
do |
|
6832 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
6833 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
6834 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6835 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6836 |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then |
|
6837 |
$as_echo_n "(cached) " >&6 |
|
6838 |
else |
|
6839 |
if test -n "$DUMPBIN"; then |
|
6840 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
6841 |
else |
|
6842 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6843 |
for as_dir in $PATH |
|
6844 |
do |
|
6845 |
IFS=$as_save_IFS |
|
6846 |
test -z "$as_dir" && as_dir=. |
|
6847 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6848 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6849 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
6850 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6851 |
break 2 |
|
6852 |
fi |
|
6853 |
done |
|
6854 |
done |
|
6855 |
IFS=$as_save_IFS |
|
6856 |
||
6857 |
fi |
|
6858 |
fi |
|
6859 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
6860 |
if test -n "$DUMPBIN"; then |
|
6861 |
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 |
|
6862 |
$as_echo "$DUMPBIN" >&6; } |
|
6863 |
else |
|
6864 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6865 |
$as_echo "no" >&6; } |
|
6866 |
fi |
|
6867 |
||
6868 |
||
6869 |
test -n "$DUMPBIN" && break |
|
6870 |
done |
|
6871 |
fi |
|
6872 |
if test -z "$DUMPBIN"; then |
|
6873 |
ac_ct_DUMPBIN=$DUMPBIN |
|
6874 |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
|
6875 |
do |
|
6876 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
6877 |
set dummy $ac_prog; ac_word=$2 |
|
6878 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6879 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6880 |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then |
|
6881 |
$as_echo_n "(cached) " >&6 |
|
6882 |
else |
|
6883 |
if test -n "$ac_ct_DUMPBIN"; then |
|
6884 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
6885 |
else |
|
6886 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6887 |
for as_dir in $PATH |
|
6888 |
do |
|
6889 |
IFS=$as_save_IFS |
|
6890 |
test -z "$as_dir" && as_dir=. |
|
6891 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6892 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6893 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
6894 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6895 |
break 2 |
|
6896 |
fi |
|
6897 |
done |
|
6898 |
done |
|
6899 |
IFS=$as_save_IFS |
|
6900 |
||
6901 |
fi |
|
6902 |
fi |
|
6903 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
6904 |
if test -n "$ac_ct_DUMPBIN"; then |
|
6905 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 |
|
6906 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
6907 |
else |
|
6908 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6909 |
$as_echo "no" >&6; } |
|
6910 |
fi |
|
6911 |
||
6912 |
||
6913 |
test -n "$ac_ct_DUMPBIN" && break |
|
6914 |
done |
|
6915 |
||
6916 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
6917 |
DUMPBIN=":" |
|
6918 |
else |
|
6919 |
case $cross_compiling:$ac_tool_warned in |
|
6920 |
yes:) |
|
6921 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6922 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6923 |
ac_tool_warned=yes ;; |
|
6924 |
esac |
|
6925 |
DUMPBIN=$ac_ct_DUMPBIN |
|
6926 |
fi |
|
6927 |
fi |
|
6928 |
||
6929 |
||
6930 |
if test "$DUMPBIN" != ":"; then |
|
6931 |
NM="$DUMPBIN" |
|
6932 |
fi |
|
6933 |
fi |
|
6934 |
test -z "$NM" && NM=nm |
|
6935 |
||
6936 |
||
6937 |
||
6938 |
||
6939 |
||
6940 |
||
6941 |
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 |
|
6942 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
6943 |
if test "${lt_cv_nm_interface+set}" = set; then |
|
6944 |
$as_echo_n "(cached) " >&6 |
|
6945 |
else |
|
6946 |
lt_cv_nm_interface="BSD nm" |
|
6947 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
6948 |
(eval echo "\"\$as_me:6948: $ac_compile\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6949 |
(eval "$ac_compile" 2>conftest.err) |
6950 |
cat conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
6951 |
(eval echo "\"\$as_me:6951: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6952 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
6953 |
cat conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
6954 |
(eval echo "\"\$as_me:6954: output\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6955 |
cat conftest.out >&5 |
6956 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
6957 |
lt_cv_nm_interface="MS dumpbin" |
|
6958 |
fi |
|
6959 |
rm -f conftest* |
|
6960 |
fi |
|
6961 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 |
|
6962 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6963 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6964 |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
6965 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6966 |
LN_S=$as_ln_s |
6967 |
if test "$LN_S" = "ln -s"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6968 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
6969 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6970 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
6971 |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
6972 |
$as_echo "no, using $LN_S" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
6973 |
fi |
6974 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
6975 |
# find the maximum length of command line arguments |
6976 |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
|
6977 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
6978 |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
|
6979 |
$as_echo_n "(cached) " >&6 |
|
6980 |
else |
|
6981 |
i=0 |
|
6982 |
teststring="ABCD" |
|
6983 |
||
6984 |
case $build_os in |
|
6985 |
msdosdjgpp*) |
|
6986 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
6987 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
6988 |
# during glob expansion). Even if it were fixed, the result of this |
|
6989 |
# check would be larger than it should be. |
|
6990 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
6991 |
;; |
|
6992 |
||
6993 |
gnu*) |
|
6994 |
# Under GNU Hurd, this test is not required because there is |
|
6995 |
# no limit to the length of command line arguments. |
|
6996 |
# Libtool will interpret -1 as no limit whatsoever |
|
6997 |
lt_cv_sys_max_cmd_len=-1; |
|
6998 |
;; |
|
6999 |
||
7000 |
cygwin* | mingw* | cegcc*) |
|
7001 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
7002 |
# about 5 minutes as the teststring grows exponentially. |
|
7003 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
7004 |
# you end up with a "frozen" computer, even though with patience |
|
7005 |
# the test eventually succeeds (with a max line length of 256k). |
|
7006 |
# Instead, let's just punt: use the minimum linelength reported by |
|
7007 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
7008 |
lt_cv_sys_max_cmd_len=8192; |
|
7009 |
;; |
|
7010 |
||
7011 |
amigaos*) |
|
7012 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
7013 |
# So we just punt and use a minimum line length of 8192. |
|
7014 |
lt_cv_sys_max_cmd_len=8192; |
|
7015 |
;; |
|
7016 |
||
7017 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
7018 |
# This has been around since 386BSD, at least. Likely further. |
|
7019 |
if test -x /sbin/sysctl; then |
|
7020 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
7021 |
elif test -x /usr/sbin/sysctl; then |
|
7022 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
7023 |
else |
|
7024 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
7025 |
fi |
|
7026 |
# And add a safety zone |
|
7027 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
7028 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
7029 |
;; |
|
7030 |
||
7031 |
interix*) |
|
7032 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
7033 |
lt_cv_sys_max_cmd_len=196608 |
|
7034 |
;; |
|
7035 |
||
7036 |
osf*) |
|
7037 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
7038 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
7039 |
# nice to cause kernel panics so lets avoid the loop below. |
|
7040 |
# First set a reasonable default. |
|
7041 |
lt_cv_sys_max_cmd_len=16384 |
|
7042 |
# |
|
7043 |
if test -x /sbin/sysconfig; then |
|
7044 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
7045 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
7046 |
esac |
|
7047 |
fi |
|
7048 |
;; |
|
7049 |
sco3.2v5*) |
|
7050 |
lt_cv_sys_max_cmd_len=102400 |
|
7051 |
;; |
|
7052 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
7053 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
7054 |
if test -n "$kargmax"; then |
|
7055 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
7056 |
else |
|
7057 |
lt_cv_sys_max_cmd_len=32768 |
|
7058 |
fi |
|
7059 |
;; |
|
7060 |
*) |
|
7061 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
7062 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
7063 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
7064 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
7065 |
else |
|
7066 |
# Make teststring a little bigger before we do anything with it. |
|
7067 |
# a 1K string should be a reasonable start. |
|
7068 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
7069 |
teststring=$teststring$teststring |
|
7070 |
done |
|
7071 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
7072 |
# If test is not a shell built-in, we'll probably end up computing a |
|
7073 |
# maximum length that is only half of the actual maximum length, but |
|
7074 |
# we can't tell. |
|
7075 |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
|
7076 |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
|
7077 |
test $i != 17 # 1/2 MB should be enough |
|
7078 |
do |
|
7079 |
i=`expr $i + 1` |
|
7080 |
teststring=$teststring$teststring |
|
7081 |
done |
|
7082 |
# Only check the string length outside the loop. |
|
7083 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
7084 |
teststring= |
|
7085 |
# Add a significant safety factor because C++ compilers can tack on |
|
7086 |
# massive amounts of additional arguments before passing them to the |
|
7087 |
# linker. It appears as though 1/2 is a usable value. |
|
7088 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
7089 |
fi |
|
7090 |
;; |
|
7091 |
esac |
|
7092 |
||
7093 |
fi |
|
7094 |
||
7095 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
7096 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
|
7097 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
7098 |
else |
|
7099 |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
|
7100 |
$as_echo "none" >&6; } |
|
7101 |
fi |
|
7102 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
7103 |
||
7104 |
||
7105 |
||
7106 |
||
7107 |
||
7108 |
||
7109 |
: ${CP="cp -f"} |
|
7110 |
: ${MV="mv -f"} |
|
7111 |
: ${RM="rm -f"} |
|
7112 |
||
7113 |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 |
|
7114 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
7115 |
# Try some XSI features |
|
7116 |
xsi_shell=no |
|
7117 |
( _lt_dummy="a/b/c" |
|
7118 |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
|
7119 |
= c,a/b,, \ |
|
7120 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
|
7121 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
7122 |
&& xsi_shell=yes |
|
7123 |
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 |
|
7124 |
$as_echo "$xsi_shell" >&6; } |
|
7125 |
||
7126 |
||
7127 |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 |
|
7128 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
7129 |
lt_shell_append=no |
|
7130 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
7131 |
>/dev/null 2>&1 \ |
|
7132 |
&& lt_shell_append=yes |
|
7133 |
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 |
|
7134 |
$as_echo "$lt_shell_append" >&6; } |
|
7135 |
||
7136 |
||
7137 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
7138 |
lt_unset=unset |
|
7139 |
else |
|
7140 |
lt_unset=false |
|
7141 |
fi |
|
7142 |
||
7143 |
||
7144 |
||
7145 |
||
7146 |
||
7147 |
# test EBCDIC or ASCII |
|
7148 |
case `echo X|tr X '\101'` in |
|
7149 |
A) # ASCII based system |
|
7150 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
7151 |
lt_SP2NL='tr \040 \012' |
|
7152 |
lt_NL2SP='tr \015\012 \040\040' |
|
7153 |
;; |
|
7154 |
*) # EBCDIC based system |
|
7155 |
lt_SP2NL='tr \100 \n' |
|
7156 |
lt_NL2SP='tr \r\n \100\100' |
|
7157 |
;; |
|
7158 |
esac |
|
7159 |
||
7160 |
||
7161 |
||
7162 |
||
7163 |
||
7164 |
||
7165 |
||
7166 |
||
7167 |
||
7168 |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
|
7169 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
7170 |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
|
7171 |
$as_echo_n "(cached) " >&6 |
|
7172 |
else |
|
7173 |
lt_cv_ld_reload_flag='-r' |
|
7174 |
fi |
|
7175 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
|
7176 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
7177 |
reload_flag=$lt_cv_ld_reload_flag |
|
7178 |
case $reload_flag in |
|
7179 |
"" | " "*) ;; |
|
7180 |
*) reload_flag=" $reload_flag" ;; |
|
7181 |
esac |
|
7182 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
7183 |
case $host_os in |
|
7184 |
darwin*) |
|
7185 |
if test "$GCC" = yes; then |
|
7186 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
7187 |
else |
|
7188 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
7189 |
fi |
|
7190 |
;; |
|
7191 |
esac |
|
7192 |
||
7193 |
||
7194 |
||
7195 |
||
7196 |
||
7197 |
||
7198 |
||
7199 |
||
7200 |
||
7201 |
if test -n "$ac_tool_prefix"; then |
|
7202 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
7203 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
7204 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7205 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7206 |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
|
7207 |
$as_echo_n "(cached) " >&6 |
|
7208 |
else |
|
7209 |
if test -n "$OBJDUMP"; then |
|
7210 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
7211 |
else |
|
7212 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7213 |
for as_dir in $PATH |
|
7214 |
do |
|
7215 |
IFS=$as_save_IFS |
|
7216 |
test -z "$as_dir" && as_dir=. |
|
7217 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7218 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7219 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
7220 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7221 |
break 2 |
|
7222 |
fi |
|
7223 |
done |
|
7224 |
done |
|
7225 |
IFS=$as_save_IFS |
|
7226 |
||
7227 |
fi |
|
7228 |
fi |
|
7229 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
7230 |
if test -n "$OBJDUMP"; then |
|
7231 |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 |
|
7232 |
$as_echo "$OBJDUMP" >&6; } |
|
7233 |
else |
|
7234 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7235 |
$as_echo "no" >&6; } |
|
7236 |
fi |
|
7237 |
||
7238 |
||
7239 |
fi |
|
7240 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
7241 |
ac_ct_OBJDUMP=$OBJDUMP |
|
7242 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
7243 |
set dummy objdump; ac_word=$2 |
|
7244 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7245 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7246 |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
|
7247 |
$as_echo_n "(cached) " >&6 |
|
7248 |
else |
|
7249 |
if test -n "$ac_ct_OBJDUMP"; then |
|
7250 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
7251 |
else |
|
7252 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7253 |
for as_dir in $PATH |
|
7254 |
do |
|
7255 |
IFS=$as_save_IFS |
|
7256 |
test -z "$as_dir" && as_dir=. |
|
7257 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7258 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7259 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
7260 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7261 |
break 2 |
|
7262 |
fi |
|
7263 |
done |
|
7264 |
done |
|
7265 |
IFS=$as_save_IFS |
|
7266 |
||
7267 |
fi |
|
7268 |
fi |
|
7269 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
7270 |
if test -n "$ac_ct_OBJDUMP"; then |
|
7271 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 |
|
7272 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
7273 |
else |
|
7274 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7275 |
$as_echo "no" >&6; } |
|
7276 |
fi |
|
7277 |
||
7278 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
7279 |
OBJDUMP="false" |
|
7280 |
else |
|
7281 |
case $cross_compiling:$ac_tool_warned in |
|
7282 |
yes:) |
|
7283 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7284 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7285 |
ac_tool_warned=yes ;; |
|
7286 |
esac |
|
7287 |
OBJDUMP=$ac_ct_OBJDUMP |
|
7288 |
fi |
|
7289 |
else |
|
7290 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
7291 |
fi |
|
7292 |
||
7293 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
7294 |
||
7295 |
||
7296 |
||
7297 |
||
7298 |
||
7299 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7300 |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
7301 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7302 |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7303 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7304 |
else |
7305 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
7306 |
lt_cv_file_magic_test_file= |
|
7307 |
lt_cv_deplibs_check_method='unknown' |
|
7308 |
# Need to set the preceding variable on all platforms that support |
|
7309 |
# interlibrary dependencies. |
|
7310 |
# 'none' -- dependencies not supported. |
|
7311 |
# `unknown' -- same as none, but documents that we really don't know. |
|
7312 |
# 'pass_all' -- all dependencies passed with no checks. |
|
7313 |
# 'test_compile' -- check by making test program. |
|
7314 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
7315 |
# which responds to the $file_magic_cmd with a given extended regex. |
|
7316 |
# If you have `file' or equivalent on your system and you're not sure |
|
7317 |
# whether `pass_all' will *always* work, you probably want this one. |
|
7318 |
||
7319 |
case $host_os in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7320 |
aix[4-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7321 |
lt_cv_deplibs_check_method=pass_all |
7322 |
;; |
|
7323 |
||
7324 |
beos*) |
|
7325 |
lt_cv_deplibs_check_method=pass_all |
|
7326 |
;; |
|
7327 |
||
7328 |
bsdi[45]*) |
|
7329 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
7330 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
7331 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
7332 |
;; |
|
7333 |
||
7334 |
cygwin*) |
|
7335 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
7336 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
7337 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
7338 |
;; |
|
7339 |
||
7340 |
mingw* | pw32*) |
|
7341 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
7342 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
7343 |
# unless we find 'file', for example because we are cross-compiling. |
|
7344 |
if ( file / ) >/dev/null 2>&1; then |
|
7345 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
7346 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
7347 |
else |
|
7348 |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
|
7349 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
7350 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7351 |
;; |
7352 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7353 |
cegcc) |
7354 |
# use the weaker test based on 'objdump'. See mingw*. |
|
7355 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
7356 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
7357 |
;; |
|
7358 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7359 |
darwin* | rhapsody*) |
7360 |
lt_cv_deplibs_check_method=pass_all |
|
7361 |
;; |
|
7362 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
7363 |
freebsd* | dragonfly*) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7364 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7365 |
case $host_cpu in |
7366 |
i*86 ) |
|
7367 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
7368 |
# Let's accept both of them until this is cleared up. |
|
7369 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
7370 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
7371 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
7372 |
;; |
|
7373 |
esac |
|
7374 |
else |
|
7375 |
lt_cv_deplibs_check_method=pass_all |
|
7376 |
fi |
|
7377 |
;; |
|
7378 |
||
7379 |
gnu*) |
|
7380 |
lt_cv_deplibs_check_method=pass_all |
|
7381 |
;; |
|
7382 |
||
7383 |
hpux10.20* | hpux11*) |
|
7384 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
7385 |
case $host_cpu in |
|
7386 |
ia64*) |
|
7387 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
7388 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
7389 |
;; |
|
7390 |
hppa*64*) |
|
7391 |
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]' |
|
7392 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
|
7393 |
;; |
|
7394 |
*) |
|
7395 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
|
7396 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
7397 |
;; |
|
7398 |
esac |
|
7399 |
;; |
|
7400 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
7401 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7402 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
7403 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
7404 |
;; |
|
7405 |
||
7406 |
irix5* | irix6* | nonstopux*) |
|
7407 |
case $LD in |
|
7408 |
*-32|*"-32 ") libmagic=32-bit;; |
|
7409 |
*-n32|*"-n32 ") libmagic=N32;; |
|
7410 |
*-64|*"-64 ") libmagic=64-bit;; |
|
7411 |
*) libmagic=never-match;; |
|
7412 |
esac |
|
7413 |
lt_cv_deplibs_check_method=pass_all |
|
7414 |
;; |
|
7415 |
||
7416 |
# This must be Linux ELF. |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
7417 |
linux* | k*bsd*-gnu) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7418 |
lt_cv_deplibs_check_method=pass_all |
7419 |
;; |
|
7420 |
||
7421 |
netbsd*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7422 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7423 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
7424 |
else |
|
7425 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
7426 |
fi |
|
7427 |
;; |
|
7428 |
||
7429 |
newos6*) |
|
7430 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
7431 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
7432 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
7433 |
;; |
|
7434 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7435 |
*nto* | *qnx*) |
7436 |
lt_cv_deplibs_check_method=pass_all |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7437 |
;; |
7438 |
||
7439 |
openbsd*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7440 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7441 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
7442 |
else |
|
7443 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
7444 |
fi |
|
7445 |
;; |
|
7446 |
||
7447 |
osf3* | osf4* | osf5*) |
|
7448 |
lt_cv_deplibs_check_method=pass_all |
|
7449 |
;; |
|
7450 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
7451 |
rdos*) |
7452 |
lt_cv_deplibs_check_method=pass_all |
|
7453 |
;; |
|
7454 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7455 |
solaris*) |
7456 |
lt_cv_deplibs_check_method=pass_all |
|
7457 |
;; |
|
7458 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7459 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
7460 |
lt_cv_deplibs_check_method=pass_all |
|
7461 |
;; |
|
7462 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7463 |
sysv4 | sysv4.3*) |
7464 |
case $host_vendor in |
|
7465 |
motorola) |
|
7466 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
|
7467 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
7468 |
;; |
|
7469 |
ncr) |
|
7470 |
lt_cv_deplibs_check_method=pass_all |
|
7471 |
;; |
|
7472 |
sequent) |
|
7473 |
lt_cv_file_magic_cmd='/bin/file' |
|
7474 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
7475 |
;; |
|
7476 |
sni) |
|
7477 |
lt_cv_file_magic_cmd='/bin/file' |
|
7478 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
7479 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
7480 |
;; |
|
7481 |
siemens) |
|
7482 |
lt_cv_deplibs_check_method=pass_all |
|
7483 |
;; |
|
7484 |
pc) |
|
7485 |
lt_cv_deplibs_check_method=pass_all |
|
7486 |
;; |
|
7487 |
esac |
|
7488 |
;; |
|
7489 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7490 |
tpf*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7491 |
lt_cv_deplibs_check_method=pass_all |
7492 |
;; |
|
7493 |
esac |
|
7494 |
||
7495 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7496 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
7497 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7498 |
file_magic_cmd=$lt_cv_file_magic_cmd |
7499 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
7500 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
7501 |
||
7502 |
||
7503 |
||
7504 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7505 |
|
7506 |
||
7507 |
||
7508 |
||
7509 |
||
7510 |
||
7511 |
||
7512 |
||
7513 |
if test -n "$ac_tool_prefix"; then |
|
7514 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
7515 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
|
7516 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7517 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7518 |
if test "${ac_cv_prog_AR+set}" = set; then |
|
7519 |
$as_echo_n "(cached) " >&6 |
|
7520 |
else |
|
7521 |
if test -n "$AR"; then |
|
7522 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
7523 |
else |
|
7524 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7525 |
for as_dir in $PATH |
|
7526 |
do |
|
7527 |
IFS=$as_save_IFS |
|
7528 |
test -z "$as_dir" && as_dir=. |
|
7529 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7530 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7531 |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
|
7532 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7533 |
break 2 |
|
7534 |
fi |
|
7535 |
done |
|
7536 |
done |
|
7537 |
IFS=$as_save_IFS |
|
7538 |
||
7539 |
fi |
|
7540 |
fi |
|
7541 |
AR=$ac_cv_prog_AR |
|
7542 |
if test -n "$AR"; then |
|
7543 |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
|
7544 |
$as_echo "$AR" >&6; } |
|
7545 |
else |
|
7546 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7547 |
$as_echo "no" >&6; } |
|
7548 |
fi |
|
7549 |
||
7550 |
||
7551 |
fi |
|
7552 |
if test -z "$ac_cv_prog_AR"; then |
|
7553 |
ac_ct_AR=$AR |
|
7554 |
# Extract the first word of "ar", so it can be a program name with args. |
|
7555 |
set dummy ar; ac_word=$2 |
|
7556 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7557 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7558 |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
|
7559 |
$as_echo_n "(cached) " >&6 |
|
7560 |
else |
|
7561 |
if test -n "$ac_ct_AR"; then |
|
7562 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
7563 |
else |
|
7564 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7565 |
for as_dir in $PATH |
|
7566 |
do |
|
7567 |
IFS=$as_save_IFS |
|
7568 |
test -z "$as_dir" && as_dir=. |
|
7569 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7570 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7571 |
ac_cv_prog_ac_ct_AR="ar" |
|
7572 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7573 |
break 2 |
|
7574 |
fi |
|
7575 |
done |
|
7576 |
done |
|
7577 |
IFS=$as_save_IFS |
|
7578 |
||
7579 |
fi |
|
7580 |
fi |
|
7581 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
7582 |
if test -n "$ac_ct_AR"; then |
|
7583 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
|
7584 |
$as_echo "$ac_ct_AR" >&6; } |
|
7585 |
else |
|
7586 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7587 |
$as_echo "no" >&6; } |
|
7588 |
fi |
|
7589 |
||
7590 |
if test "x$ac_ct_AR" = x; then |
|
7591 |
AR="false" |
|
7592 |
else |
|
7593 |
case $cross_compiling:$ac_tool_warned in |
|
7594 |
yes:) |
|
7595 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7596 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7597 |
ac_tool_warned=yes ;; |
|
7598 |
esac |
|
7599 |
AR=$ac_ct_AR |
|
7600 |
fi |
|
7601 |
else |
|
7602 |
AR="$ac_cv_prog_AR" |
|
7603 |
fi |
|
7604 |
||
7605 |
test -z "$AR" && AR=ar |
|
7606 |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
|
7607 |
||
7608 |
||
7609 |
||
7610 |
||
7611 |
||
7612 |
||
7613 |
||
7614 |
||
7615 |
||
7616 |
||
7617 |
||
7618 |
if test -n "$ac_tool_prefix"; then |
|
7619 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
7620 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
7621 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7622 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7623 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
|
7624 |
$as_echo_n "(cached) " >&6 |
|
7625 |
else |
|
7626 |
if test -n "$STRIP"; then |
|
7627 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
7628 |
else |
|
7629 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7630 |
for as_dir in $PATH |
|
7631 |
do |
|
7632 |
IFS=$as_save_IFS |
|
7633 |
test -z "$as_dir" && as_dir=. |
|
7634 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7635 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7636 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
7637 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7638 |
break 2 |
|
7639 |
fi |
|
7640 |
done |
|
7641 |
done |
|
7642 |
IFS=$as_save_IFS |
|
7643 |
||
7644 |
fi |
|
7645 |
fi |
|
7646 |
STRIP=$ac_cv_prog_STRIP |
|
7647 |
if test -n "$STRIP"; then |
|
7648 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
7649 |
$as_echo "$STRIP" >&6; } |
|
7650 |
else |
|
7651 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7652 |
$as_echo "no" >&6; } |
|
7653 |
fi |
|
7654 |
||
7655 |
||
7656 |
fi |
|
7657 |
if test -z "$ac_cv_prog_STRIP"; then |
|
7658 |
ac_ct_STRIP=$STRIP |
|
7659 |
# Extract the first word of "strip", so it can be a program name with args. |
|
7660 |
set dummy strip; ac_word=$2 |
|
7661 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7662 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7663 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
7664 |
$as_echo_n "(cached) " >&6 |
|
7665 |
else |
|
7666 |
if test -n "$ac_ct_STRIP"; then |
|
7667 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
7668 |
else |
|
7669 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7670 |
for as_dir in $PATH |
|
7671 |
do |
|
7672 |
IFS=$as_save_IFS |
|
7673 |
test -z "$as_dir" && as_dir=. |
|
7674 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7675 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7676 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
7677 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7678 |
break 2 |
|
7679 |
fi |
|
7680 |
done |
|
7681 |
done |
|
7682 |
IFS=$as_save_IFS |
|
7683 |
||
7684 |
fi |
|
7685 |
fi |
|
7686 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
7687 |
if test -n "$ac_ct_STRIP"; then |
|
7688 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
7689 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
7690 |
else |
|
7691 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7692 |
$as_echo "no" >&6; } |
|
7693 |
fi |
|
7694 |
||
7695 |
if test "x$ac_ct_STRIP" = x; then |
|
7696 |
STRIP=":" |
|
7697 |
else |
|
7698 |
case $cross_compiling:$ac_tool_warned in |
|
7699 |
yes:) |
|
7700 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7701 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7702 |
ac_tool_warned=yes ;; |
|
7703 |
esac |
|
7704 |
STRIP=$ac_ct_STRIP |
|
7705 |
fi |
|
7706 |
else |
|
7707 |
STRIP="$ac_cv_prog_STRIP" |
|
7708 |
fi |
|
7709 |
||
7710 |
test -z "$STRIP" && STRIP=: |
|
7711 |
||
7712 |
||
7713 |
||
7714 |
||
7715 |
||
7716 |
||
7717 |
if test -n "$ac_tool_prefix"; then |
|
7718 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
7719 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
7720 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7721 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7722 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
|
7723 |
$as_echo_n "(cached) " >&6 |
|
7724 |
else |
|
7725 |
if test -n "$RANLIB"; then |
|
7726 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
7727 |
else |
|
7728 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7729 |
for as_dir in $PATH |
|
7730 |
do |
|
7731 |
IFS=$as_save_IFS |
|
7732 |
test -z "$as_dir" && as_dir=. |
|
7733 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7734 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7735 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
7736 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7737 |
break 2 |
|
7738 |
fi |
|
7739 |
done |
|
7740 |
done |
|
7741 |
IFS=$as_save_IFS |
|
7742 |
||
7743 |
fi |
|
7744 |
fi |
|
7745 |
RANLIB=$ac_cv_prog_RANLIB |
|
7746 |
if test -n "$RANLIB"; then |
|
7747 |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
7748 |
$as_echo "$RANLIB" >&6; } |
|
7749 |
else |
|
7750 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7751 |
$as_echo "no" >&6; } |
|
7752 |
fi |
|
7753 |
||
7754 |
||
7755 |
fi |
|
7756 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
7757 |
ac_ct_RANLIB=$RANLIB |
|
7758 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
7759 |
set dummy ranlib; ac_word=$2 |
|
7760 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7761 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7762 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
7763 |
$as_echo_n "(cached) " >&6 |
|
7764 |
else |
|
7765 |
if test -n "$ac_ct_RANLIB"; then |
|
7766 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
7767 |
else |
|
7768 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7769 |
for as_dir in $PATH |
|
7770 |
do |
|
7771 |
IFS=$as_save_IFS |
|
7772 |
test -z "$as_dir" && as_dir=. |
|
7773 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7774 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7775 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
7776 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7777 |
break 2 |
|
7778 |
fi |
|
7779 |
done |
|
7780 |
done |
|
7781 |
IFS=$as_save_IFS |
|
7782 |
||
7783 |
fi |
|
7784 |
fi |
|
7785 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
7786 |
if test -n "$ac_ct_RANLIB"; then |
|
7787 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
7788 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
7789 |
else |
|
7790 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7791 |
$as_echo "no" >&6; } |
|
7792 |
fi |
|
7793 |
||
7794 |
if test "x$ac_ct_RANLIB" = x; then |
|
7795 |
RANLIB=":" |
|
7796 |
else |
|
7797 |
case $cross_compiling:$ac_tool_warned in |
|
7798 |
yes:) |
|
7799 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7800 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7801 |
ac_tool_warned=yes ;; |
|
7802 |
esac |
|
7803 |
RANLIB=$ac_ct_RANLIB |
|
7804 |
fi |
|
7805 |
else |
|
7806 |
RANLIB="$ac_cv_prog_RANLIB" |
|
7807 |
fi |
|
7808 |
||
7809 |
test -z "$RANLIB" && RANLIB=: |
|
7810 |
||
7811 |
||
7812 |
||
7813 |
||
7814 |
||
7815 |
||
7816 |
# Determine commands to create old-style static archives. |
|
7817 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
7818 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
7819 |
old_postuninstall_cmds= |
|
7820 |
||
7821 |
if test -n "$RANLIB"; then |
|
7822 |
case $host_os in |
|
7823 |
openbsd*) |
|
7824 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
|
7825 |
;; |
|
7826 |
*) |
|
7827 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
|
7828 |
;; |
|
7829 |
esac |
|
7830 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
7831 |
fi |
|
7832 |
||
7833 |
||
7834 |
||
7835 |
||
7836 |
||
7837 |
||
7838 |
||
7839 |
||
7840 |
||
7841 |
||
7842 |
||
7843 |
||
7844 |
||
7845 |
||
7846 |
||
7847 |
||
7848 |
||
7849 |
||
7850 |
||
7851 |
||
7852 |
||
7853 |
||
7854 |
||
7855 |
||
7856 |
||
7857 |
||
7858 |
||
7859 |
||
7860 |
||
7861 |
||
7862 |
||
7863 |
||
7864 |
||
7865 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7866 |
# If no C compiler was specified, use CC. |
7867 |
LTCC=${LTCC-"$CC"} |
|
7868 |
||
7869 |
# If no C compiler flags were specified, use CFLAGS. |
|
7870 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
7871 |
||
7872 |
# Allow CC to be a program name with arguments. |
|
7873 |
compiler=$CC |
|
7874 |
||
7875 |
||
7876 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7877 |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
7878 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7879 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7880 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7881 |
else |
7882 |
||
7883 |
# These are sane defaults that work on at least a few old systems. |
|
7884 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
7885 |
||
7886 |
# Character class describing NM global symbol codes. |
|
7887 |
symcode='[BCDEGRST]' |
|
7888 |
||
7889 |
# Regexp to match symbols that can be accessed directly from C. |
|
7890 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
7891 |
||
7892 |
# Define system-specific variables. |
|
7893 |
case $host_os in |
|
7894 |
aix*) |
|
7895 |
symcode='[BCDT]' |
|
7896 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7897 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7898 |
symcode='[ABCDGISTW]' |
7899 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7900 |
hpux*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7901 |
if test "$host_cpu" = ia64; then |
7902 |
symcode='[ABCDEGRST]' |
|
7903 |
fi |
|
7904 |
;; |
|
7905 |
irix* | nonstopux*) |
|
7906 |
symcode='[BCDEGRST]' |
|
7907 |
;; |
|
7908 |
osf*) |
|
7909 |
symcode='[BCDEGQRST]' |
|
7910 |
;; |
|
7911 |
solaris*) |
|
7912 |
symcode='[BDRT]' |
|
7913 |
;; |
|
7914 |
sco3.2v5*) |
|
7915 |
symcode='[DT]' |
|
7916 |
;; |
|
7917 |
sysv4.2uw2*) |
|
7918 |
symcode='[DT]' |
|
7919 |
;; |
|
7920 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
7921 |
symcode='[ABDT]' |
|
7922 |
;; |
|
7923 |
sysv4) |
|
7924 |
symcode='[DFNSTU]' |
|
7925 |
;; |
|
7926 |
esac |
|
7927 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7928 |
# If we're using GNU nm, then use its standard symbol codes. |
7929 |
case `$NM -V 2>&1` in |
|
7930 |
*GNU* | *'with BFD'*) |
|
7931 |
symcode='[ABCDGIRSTW]' ;; |
|
7932 |
esac |
|
7933 |
||
7934 |
# Transform an extracted symbol line into a proper C declaration. |
|
7935 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
7936 |
# so use this general approach. |
|
7937 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
7938 |
||
7939 |
# Transform an extracted symbol line into symbol name and symbol address |
|
7940 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
|
7941 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
|
7942 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7943 |
# Handle CRLF in mingw tool chain |
7944 |
opt_cr= |
|
7945 |
case $build_os in |
|
7946 |
mingw*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7947 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7948 |
;; |
7949 |
esac |
|
7950 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7951 |
# Try without a prefix underscore, then with it. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7952 |
for ac_symprfx in "" "_"; do |
7953 |
||
7954 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
7955 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
7956 |
||
7957 |
# Write the raw and C identifiers. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7958 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
7959 |
# Fake it for dumpbin and say T for any non-static function |
|
7960 |
# and D for any global variable. |
|
7961 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
7962 |
# which start with @ or ?. |
|
7963 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
7964 |
" {last_section=section; section=\$ 3};"\ |
|
7965 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
|
7966 |
" \$ 0!~/External *\|/{next};"\ |
|
7967 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
7968 |
" {if(hide[section]) next};"\ |
|
7969 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
7970 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
7971 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
7972 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
7973 |
" ' prfx=^$ac_symprfx" |
|
7974 |
else |
|
7975 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
7976 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7977 |
|
7978 |
# Check to see that the pipe works correctly. |
|
7979 |
pipe_works=no |
|
7980 |
||
7981 |
rm -f conftest* |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7982 |
cat > conftest.$ac_ext <<_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7983 |
#ifdef __cplusplus |
7984 |
extern "C" { |
|
7985 |
#endif |
|
7986 |
char nm_test_var; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7987 |
void nm_test_func(void); |
7988 |
void nm_test_func(void){} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7989 |
#ifdef __cplusplus |
7990 |
} |
|
7991 |
#endif |
|
7992 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
7993 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7994 |
|
7995 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
7996 |
(eval $ac_compile) 2>&5 |
|
7997 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
7998 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
7999 |
(exit $ac_status); }; then |
8000 |
# Now try to grab the symbols. |
|
8001 |
nlist=conftest.nm |
|
8002 |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
|
8003 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
|
8004 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8005 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8006 |
(exit $ac_status); } && test -s "$nlist"; then |
8007 |
# Try sorting and uniquifying the output. |
|
8008 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
8009 |
mv -f "$nlist"T "$nlist" |
|
8010 |
else |
|
8011 |
rm -f "$nlist"T |
|
8012 |
fi |
|
8013 |
||
8014 |
# Make sure that we snagged all the symbols we need. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8015 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
8016 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
8017 |
cat <<_LT_EOF > conftest.$ac_ext |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8018 |
#ifdef __cplusplus |
8019 |
extern "C" { |
|
8020 |
#endif |
|
8021 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8022 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8023 |
# Now generate the symbol file. |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8024 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
8025 |
||
8026 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
8027 |
||
8028 |
/* The mapping between symbol names and symbols. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8029 |
const struct { |
8030 |
const char *name; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8031 |
void *address; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8032 |
} |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8033 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8034 |
{ |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8035 |
{ "@PROGRAM@", (void *) 0 }, |
8036 |
_LT_EOF |
|
8037 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
8038 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
8039 |
{0, (void *) 0} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8040 |
}; |
8041 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8042 |
/* This works around a problem in FreeBSD linker */ |
8043 |
#ifdef FREEBSD_WORKAROUND |
|
8044 |
static const void *lt_preloaded_setup() { |
|
8045 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
8046 |
} |
|
8047 |
#endif |
|
8048 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8049 |
#ifdef __cplusplus |
8050 |
} |
|
8051 |
#endif |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8052 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8053 |
# Now try linking the two files. |
8054 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
8055 |
lt_save_LIBS="$LIBS" |
|
8056 |
lt_save_CFLAGS="$CFLAGS" |
|
8057 |
LIBS="conftstm.$ac_objext" |
|
8058 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
8059 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
8060 |
(eval $ac_link) 2>&5 |
|
8061 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8062 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8063 |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
8064 |
pipe_works=yes |
|
8065 |
fi |
|
8066 |
LIBS="$lt_save_LIBS" |
|
8067 |
CFLAGS="$lt_save_CFLAGS" |
|
8068 |
else |
|
8069 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
8070 |
fi |
|
8071 |
else |
|
8072 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
8073 |
fi |
|
8074 |
else |
|
8075 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
8076 |
fi |
|
8077 |
else |
|
8078 |
echo "$progname: failed program was:" >&5 |
|
8079 |
cat conftest.$ac_ext >&5 |
|
8080 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8081 |
rm -rf conftest* conftst* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8082 |
|
8083 |
# Do not use the global_symbol_pipe unless it works. |
|
8084 |
if test "$pipe_works" = yes; then |
|
8085 |
break |
|
8086 |
else |
|
8087 |
lt_cv_sys_global_symbol_pipe= |
|
8088 |
fi |
|
8089 |
done |
|
8090 |
||
8091 |
fi |
|
8092 |
||
8093 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
8094 |
lt_cv_sys_global_symbol_to_cdecl= |
|
8095 |
fi |
|
8096 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8097 |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
8098 |
$as_echo "failed" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8099 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8100 |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
8101 |
$as_echo "ok" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8102 |
fi |
8103 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8104 |
|
8105 |
||
8106 |
||
8107 |
||
8108 |
||
8109 |
||
8110 |
||
8111 |
||
8112 |
||
8113 |
||
8114 |
||
8115 |
||
8116 |
||
8117 |
||
8118 |
||
8119 |
||
8120 |
||
8121 |
||
8122 |
||
8123 |
||
8124 |
||
8125 |
# Check whether --enable-libtool-lock was given. |
|
8126 |
if test "${enable_libtool_lock+set}" = set; then |
|
8127 |
enableval=$enable_libtool_lock; |
|
8128 |
fi |
|
8129 |
||
8130 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
8131 |
||
8132 |
# Some flags need to be propagated to the compiler or linker for good |
|
8133 |
# libtool support. |
|
8134 |
case $host in |
|
8135 |
ia64-*-hpux*) |
|
8136 |
# Find out which ABI we are using. |
|
8137 |
echo 'int i;' > conftest.$ac_ext |
|
8138 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
8139 |
(eval $ac_compile) 2>&5 |
|
8140 |
ac_status=$? |
|
8141 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8142 |
(exit $ac_status); }; then |
|
8143 |
case `/usr/bin/file conftest.$ac_objext` in |
|
8144 |
*ELF-32*) |
|
8145 |
HPUX_IA64_MODE="32" |
|
8146 |
;; |
|
8147 |
*ELF-64*) |
|
8148 |
HPUX_IA64_MODE="64" |
|
8149 |
;; |
|
8150 |
esac |
|
8151 |
fi |
|
8152 |
rm -rf conftest* |
|
8153 |
;; |
|
8154 |
*-*-irix6*) |
|
8155 |
# Find out which ABI we are using. |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
8156 |
echo '#line 8156 "configure"' > conftest.$ac_ext |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8157 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8158 |
(eval $ac_compile) 2>&5 |
|
8159 |
ac_status=$? |
|
8160 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8161 |
(exit $ac_status); }; then |
|
8162 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
8163 |
case `/usr/bin/file conftest.$ac_objext` in |
|
8164 |
*32-bit*) |
|
8165 |
LD="${LD-ld} -melf32bsmip" |
|
8166 |
;; |
|
8167 |
*N32*) |
|
8168 |
LD="${LD-ld} -melf32bmipn32" |
|
8169 |
;; |
|
8170 |
*64-bit*) |
|
8171 |
LD="${LD-ld} -melf64bmip" |
|
8172 |
;; |
|
8173 |
esac |
|
8174 |
else |
|
8175 |
case `/usr/bin/file conftest.$ac_objext` in |
|
8176 |
*32-bit*) |
|
8177 |
LD="${LD-ld} -32" |
|
8178 |
;; |
|
8179 |
*N32*) |
|
8180 |
LD="${LD-ld} -n32" |
|
8181 |
;; |
|
8182 |
*64-bit*) |
|
8183 |
LD="${LD-ld} -64" |
|
8184 |
;; |
|
8185 |
esac |
|
8186 |
fi |
|
8187 |
fi |
|
8188 |
rm -rf conftest* |
|
8189 |
;; |
|
8190 |
||
8191 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
8192 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
8193 |
# Find out which ABI we are using. |
|
8194 |
echo 'int i;' > conftest.$ac_ext |
|
8195 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
8196 |
(eval $ac_compile) 2>&5 |
|
8197 |
ac_status=$? |
|
8198 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8199 |
(exit $ac_status); }; then |
|
8200 |
case `/usr/bin/file conftest.o` in |
|
8201 |
*32-bit*) |
|
8202 |
case $host in |
|
8203 |
x86_64-*kfreebsd*-gnu) |
|
8204 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
8205 |
;; |
|
8206 |
x86_64-*linux*) |
|
8207 |
LD="${LD-ld} -m elf_i386" |
|
8208 |
;; |
|
8209 |
ppc64-*linux*|powerpc64-*linux*) |
|
8210 |
LD="${LD-ld} -m elf32ppclinux" |
|
8211 |
;; |
|
8212 |
s390x-*linux*) |
|
8213 |
LD="${LD-ld} -m elf_s390" |
|
8214 |
;; |
|
8215 |
sparc64-*linux*) |
|
8216 |
LD="${LD-ld} -m elf32_sparc" |
|
8217 |
;; |
|
8218 |
esac |
|
8219 |
;; |
|
8220 |
*64-bit*) |
|
8221 |
case $host in |
|
8222 |
x86_64-*kfreebsd*-gnu) |
|
8223 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
8224 |
;; |
|
8225 |
x86_64-*linux*) |
|
8226 |
LD="${LD-ld} -m elf_x86_64" |
|
8227 |
;; |
|
8228 |
ppc*-*linux*|powerpc*-*linux*) |
|
8229 |
LD="${LD-ld} -m elf64ppc" |
|
8230 |
;; |
|
8231 |
s390*-*linux*|s390*-*tpf*) |
|
8232 |
LD="${LD-ld} -m elf64_s390" |
|
8233 |
;; |
|
8234 |
sparc*-*linux*) |
|
8235 |
LD="${LD-ld} -m elf64_sparc" |
|
8236 |
;; |
|
8237 |
esac |
|
8238 |
;; |
|
8239 |
esac |
|
8240 |
fi |
|
8241 |
rm -rf conftest* |
|
8242 |
;; |
|
8243 |
||
8244 |
*-*-sco3.2v5*) |
|
8245 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
8246 |
SAVE_CFLAGS="$CFLAGS" |
|
8247 |
CFLAGS="$CFLAGS -belf" |
|
8248 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
|
8249 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
8250 |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
|
8251 |
$as_echo_n "(cached) " >&6 |
|
8252 |
else |
|
8253 |
ac_ext=c |
|
8254 |
ac_cpp='$CPP $CPPFLAGS' |
|
8255 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
8256 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
8257 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
8258 |
||
8259 |
cat >conftest.$ac_ext <<_ACEOF |
|
8260 |
/* confdefs.h. */ |
|
8261 |
_ACEOF |
|
8262 |
cat confdefs.h >>conftest.$ac_ext |
|
8263 |
cat >>conftest.$ac_ext <<_ACEOF |
|
8264 |
/* end confdefs.h. */ |
|
8265 |
||
8266 |
int |
|
8267 |
main () |
|
8268 |
{ |
|
8269 |
||
8270 |
; |
|
8271 |
return 0; |
|
8272 |
} |
|
8273 |
_ACEOF |
|
8274 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
8275 |
if { (ac_try="$ac_link" |
|
8276 |
case "(($ac_try" in |
|
8277 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
8278 |
*) ac_try_echo=$ac_try;; |
|
8279 |
esac |
|
8280 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
8281 |
$as_echo "$ac_try_echo") >&5 |
|
8282 |
(eval "$ac_link") 2>conftest.er1 |
|
8283 |
ac_status=$? |
|
8284 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
8285 |
rm -f conftest.er1 |
|
8286 |
cat conftest.err >&5 |
|
8287 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8288 |
(exit $ac_status); } && { |
|
8289 |
test -z "$ac_c_werror_flag" || |
|
8290 |
test ! -s conftest.err |
|
8291 |
} && test -s conftest$ac_exeext && { |
|
8292 |
test "$cross_compiling" = yes || |
|
8293 |
$as_test_x conftest$ac_exeext |
|
8294 |
}; then |
|
8295 |
lt_cv_cc_needs_belf=yes |
|
8296 |
else |
|
8297 |
$as_echo "$as_me: failed program was:" >&5 |
|
8298 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
8299 |
||
8300 |
lt_cv_cc_needs_belf=no |
|
8301 |
fi |
|
8302 |
||
8303 |
rm -rf conftest.dSYM |
|
8304 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
8305 |
conftest$ac_exeext conftest.$ac_ext |
|
8306 |
ac_ext=c |
|
8307 |
ac_cpp='$CPP $CPPFLAGS' |
|
8308 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
8309 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
8310 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
8311 |
||
8312 |
fi |
|
8313 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
|
8314 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
8315 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
8316 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
8317 |
CFLAGS="$SAVE_CFLAGS" |
|
8318 |
fi |
|
8319 |
;; |
|
8320 |
sparc*-*solaris*) |
|
8321 |
# Find out which ABI we are using. |
|
8322 |
echo 'int i;' > conftest.$ac_ext |
|
8323 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
8324 |
(eval $ac_compile) 2>&5 |
|
8325 |
ac_status=$? |
|
8326 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8327 |
(exit $ac_status); }; then |
|
8328 |
case `/usr/bin/file conftest.o` in |
|
8329 |
*64-bit*) |
|
8330 |
case $lt_cv_prog_gnu_ld in |
|
8331 |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
8332 |
*) |
|
8333 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
8334 |
LD="${LD-ld} -64" |
|
8335 |
fi |
|
8336 |
;; |
|
8337 |
esac |
|
8338 |
;; |
|
8339 |
esac |
|
8340 |
fi |
|
8341 |
rm -rf conftest* |
|
8342 |
;; |
|
8343 |
esac |
|
8344 |
||
8345 |
need_locks="$enable_libtool_lock" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
8346 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8347 |
|
8348 |
case $host_os in |
|
8349 |
rhapsody* | darwin*) |
|
8350 |
if test -n "$ac_tool_prefix"; then |
|
8351 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
8352 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
8353 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8354 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8355 |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then |
|
8356 |
$as_echo_n "(cached) " >&6 |
|
8357 |
else |
|
8358 |
if test -n "$DSYMUTIL"; then |
|
8359 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
8360 |
else |
|
8361 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8362 |
for as_dir in $PATH |
|
8363 |
do |
|
8364 |
IFS=$as_save_IFS |
|
8365 |
test -z "$as_dir" && as_dir=. |
|
8366 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8367 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8368 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
8369 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8370 |
break 2 |
|
8371 |
fi |
|
8372 |
done |
|
8373 |
done |
|
8374 |
IFS=$as_save_IFS |
|
8375 |
||
8376 |
fi |
|
8377 |
fi |
|
8378 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
8379 |
if test -n "$DSYMUTIL"; then |
|
8380 |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
|
8381 |
$as_echo "$DSYMUTIL" >&6; } |
|
8382 |
else |
|
8383 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8384 |
$as_echo "no" >&6; } |
|
8385 |
fi |
|
8386 |
||
8387 |
||
8388 |
fi |
|
8389 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
8390 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
8391 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
8392 |
set dummy dsymutil; ac_word=$2 |
|
8393 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8394 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8395 |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then |
|
8396 |
$as_echo_n "(cached) " >&6 |
|
8397 |
else |
|
8398 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
8399 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
8400 |
else |
|
8401 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8402 |
for as_dir in $PATH |
|
8403 |
do |
|
8404 |
IFS=$as_save_IFS |
|
8405 |
test -z "$as_dir" && as_dir=. |
|
8406 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8407 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8408 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
8409 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8410 |
break 2 |
|
8411 |
fi |
|
8412 |
done |
|
8413 |
done |
|
8414 |
IFS=$as_save_IFS |
|
8415 |
||
8416 |
fi |
|
8417 |
fi |
|
8418 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
8419 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
8420 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
|
8421 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
8422 |
else |
|
8423 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8424 |
$as_echo "no" >&6; } |
|
8425 |
fi |
|
8426 |
||
8427 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
8428 |
DSYMUTIL=":" |
|
8429 |
else |
|
8430 |
case $cross_compiling:$ac_tool_warned in |
|
8431 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
8432 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
8433 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8434 |
ac_tool_warned=yes ;; |
8435 |
esac |
|
8436 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
8437 |
fi |
|
8438 |
else |
|
8439 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
8440 |
fi |
|
8441 |
||
8442 |
if test -n "$ac_tool_prefix"; then |
|
8443 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
8444 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
8445 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8446 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8447 |
if test "${ac_cv_prog_NMEDIT+set}" = set; then |
|
8448 |
$as_echo_n "(cached) " >&6 |
|
8449 |
else |
|
8450 |
if test -n "$NMEDIT"; then |
|
8451 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
8452 |
else |
|
8453 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8454 |
for as_dir in $PATH |
|
8455 |
do |
|
8456 |
IFS=$as_save_IFS |
|
8457 |
test -z "$as_dir" && as_dir=. |
|
8458 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8459 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8460 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
8461 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8462 |
break 2 |
|
8463 |
fi |
|
8464 |
done |
|
8465 |
done |
|
8466 |
IFS=$as_save_IFS |
|
8467 |
||
8468 |
fi |
|
8469 |
fi |
|
8470 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
8471 |
if test -n "$NMEDIT"; then |
|
8472 |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
|
8473 |
$as_echo "$NMEDIT" >&6; } |
|
8474 |
else |
|
8475 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8476 |
$as_echo "no" >&6; } |
|
8477 |
fi |
|
8478 |
||
8479 |
||
8480 |
fi |
|
8481 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
8482 |
ac_ct_NMEDIT=$NMEDIT |
|
8483 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
8484 |
set dummy nmedit; ac_word=$2 |
|
8485 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8486 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8487 |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then |
|
8488 |
$as_echo_n "(cached) " >&6 |
|
8489 |
else |
|
8490 |
if test -n "$ac_ct_NMEDIT"; then |
|
8491 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
8492 |
else |
|
8493 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8494 |
for as_dir in $PATH |
|
8495 |
do |
|
8496 |
IFS=$as_save_IFS |
|
8497 |
test -z "$as_dir" && as_dir=. |
|
8498 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8499 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8500 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
8501 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8502 |
break 2 |
|
8503 |
fi |
|
8504 |
done |
|
8505 |
done |
|
8506 |
IFS=$as_save_IFS |
|
8507 |
||
8508 |
fi |
|
8509 |
fi |
|
8510 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
8511 |
if test -n "$ac_ct_NMEDIT"; then |
|
8512 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
|
8513 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
8514 |
else |
|
8515 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8516 |
$as_echo "no" >&6; } |
|
8517 |
fi |
|
8518 |
||
8519 |
if test "x$ac_ct_NMEDIT" = x; then |
|
8520 |
NMEDIT=":" |
|
8521 |
else |
|
8522 |
case $cross_compiling:$ac_tool_warned in |
|
8523 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
8524 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
8525 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8526 |
ac_tool_warned=yes ;; |
8527 |
esac |
|
8528 |
NMEDIT=$ac_ct_NMEDIT |
|
8529 |
fi |
|
8530 |
else |
|
8531 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
8532 |
fi |
|
8533 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8534 |
if test -n "$ac_tool_prefix"; then |
8535 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
8536 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
8537 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8538 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8539 |
if test "${ac_cv_prog_LIPO+set}" = set; then |
|
8540 |
$as_echo_n "(cached) " >&6 |
|
8541 |
else |
|
8542 |
if test -n "$LIPO"; then |
|
8543 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
8544 |
else |
|
8545 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8546 |
for as_dir in $PATH |
|
8547 |
do |
|
8548 |
IFS=$as_save_IFS |
|
8549 |
test -z "$as_dir" && as_dir=. |
|
8550 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8551 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8552 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
8553 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8554 |
break 2 |
|
8555 |
fi |
|
8556 |
done |
|
8557 |
done |
|
8558 |
IFS=$as_save_IFS |
|
8559 |
||
8560 |
fi |
|
8561 |
fi |
|
8562 |
LIPO=$ac_cv_prog_LIPO |
|
8563 |
if test -n "$LIPO"; then |
|
8564 |
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5 |
|
8565 |
$as_echo "$LIPO" >&6; } |
|
8566 |
else |
|
8567 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8568 |
$as_echo "no" >&6; } |
|
8569 |
fi |
|
8570 |
||
8571 |
||
8572 |
fi |
|
8573 |
if test -z "$ac_cv_prog_LIPO"; then |
|
8574 |
ac_ct_LIPO=$LIPO |
|
8575 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
8576 |
set dummy lipo; ac_word=$2 |
|
8577 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8578 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8579 |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then |
|
8580 |
$as_echo_n "(cached) " >&6 |
|
8581 |
else |
|
8582 |
if test -n "$ac_ct_LIPO"; then |
|
8583 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
8584 |
else |
|
8585 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8586 |
for as_dir in $PATH |
|
8587 |
do |
|
8588 |
IFS=$as_save_IFS |
|
8589 |
test -z "$as_dir" && as_dir=. |
|
8590 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8591 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8592 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
8593 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8594 |
break 2 |
|
8595 |
fi |
|
8596 |
done |
|
8597 |
done |
|
8598 |
IFS=$as_save_IFS |
|
8599 |
||
8600 |
fi |
|
8601 |
fi |
|
8602 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
8603 |
if test -n "$ac_ct_LIPO"; then |
|
8604 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 |
|
8605 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
8606 |
else |
|
8607 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8608 |
$as_echo "no" >&6; } |
|
8609 |
fi |
|
8610 |
||
8611 |
if test "x$ac_ct_LIPO" = x; then |
|
8612 |
LIPO=":" |
|
8613 |
else |
|
8614 |
case $cross_compiling:$ac_tool_warned in |
|
8615 |
yes:) |
|
8616 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8617 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8618 |
ac_tool_warned=yes ;; |
|
8619 |
esac |
|
8620 |
LIPO=$ac_ct_LIPO |
|
8621 |
fi |
|
8622 |
else |
|
8623 |
LIPO="$ac_cv_prog_LIPO" |
|
8624 |
fi |
|
8625 |
||
8626 |
if test -n "$ac_tool_prefix"; then |
|
8627 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
8628 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
8629 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8630 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8631 |
if test "${ac_cv_prog_OTOOL+set}" = set; then |
|
8632 |
$as_echo_n "(cached) " >&6 |
|
8633 |
else |
|
8634 |
if test -n "$OTOOL"; then |
|
8635 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
8636 |
else |
|
8637 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8638 |
for as_dir in $PATH |
|
8639 |
do |
|
8640 |
IFS=$as_save_IFS |
|
8641 |
test -z "$as_dir" && as_dir=. |
|
8642 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8643 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8644 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
8645 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8646 |
break 2 |
|
8647 |
fi |
|
8648 |
done |
|
8649 |
done |
|
8650 |
IFS=$as_save_IFS |
|
8651 |
||
8652 |
fi |
|
8653 |
fi |
|
8654 |
OTOOL=$ac_cv_prog_OTOOL |
|
8655 |
if test -n "$OTOOL"; then |
|
8656 |
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 |
|
8657 |
$as_echo "$OTOOL" >&6; } |
|
8658 |
else |
|
8659 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8660 |
$as_echo "no" >&6; } |
|
8661 |
fi |
|
8662 |
||
8663 |
||
8664 |
fi |
|
8665 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
8666 |
ac_ct_OTOOL=$OTOOL |
|
8667 |
# Extract the first word of "otool", so it can be a program name with args. |
|
8668 |
set dummy otool; ac_word=$2 |
|
8669 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8670 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8671 |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then |
|
8672 |
$as_echo_n "(cached) " >&6 |
|
8673 |
else |
|
8674 |
if test -n "$ac_ct_OTOOL"; then |
|
8675 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
8676 |
else |
|
8677 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8678 |
for as_dir in $PATH |
|
8679 |
do |
|
8680 |
IFS=$as_save_IFS |
|
8681 |
test -z "$as_dir" && as_dir=. |
|
8682 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8683 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8684 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
8685 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8686 |
break 2 |
|
8687 |
fi |
|
8688 |
done |
|
8689 |
done |
|
8690 |
IFS=$as_save_IFS |
|
8691 |
||
8692 |
fi |
|
8693 |
fi |
|
8694 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
8695 |
if test -n "$ac_ct_OTOOL"; then |
|
8696 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 |
|
8697 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
8698 |
else |
|
8699 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8700 |
$as_echo "no" >&6; } |
|
8701 |
fi |
|
8702 |
||
8703 |
if test "x$ac_ct_OTOOL" = x; then |
|
8704 |
OTOOL=":" |
|
8705 |
else |
|
8706 |
case $cross_compiling:$ac_tool_warned in |
|
8707 |
yes:) |
|
8708 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8709 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8710 |
ac_tool_warned=yes ;; |
|
8711 |
esac |
|
8712 |
OTOOL=$ac_ct_OTOOL |
|
8713 |
fi |
|
8714 |
else |
|
8715 |
OTOOL="$ac_cv_prog_OTOOL" |
|
8716 |
fi |
|
8717 |
||
8718 |
if test -n "$ac_tool_prefix"; then |
|
8719 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
8720 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
8721 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8722 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8723 |
if test "${ac_cv_prog_OTOOL64+set}" = set; then |
|
8724 |
$as_echo_n "(cached) " >&6 |
|
8725 |
else |
|
8726 |
if test -n "$OTOOL64"; then |
|
8727 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
8728 |
else |
|
8729 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8730 |
for as_dir in $PATH |
|
8731 |
do |
|
8732 |
IFS=$as_save_IFS |
|
8733 |
test -z "$as_dir" && as_dir=. |
|
8734 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8735 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8736 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
8737 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8738 |
break 2 |
|
8739 |
fi |
|
8740 |
done |
|
8741 |
done |
|
8742 |
IFS=$as_save_IFS |
|
8743 |
||
8744 |
fi |
|
8745 |
fi |
|
8746 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
8747 |
if test -n "$OTOOL64"; then |
|
8748 |
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 |
|
8749 |
$as_echo "$OTOOL64" >&6; } |
|
8750 |
else |
|
8751 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8752 |
$as_echo "no" >&6; } |
|
8753 |
fi |
|
8754 |
||
8755 |
||
8756 |
fi |
|
8757 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
8758 |
ac_ct_OTOOL64=$OTOOL64 |
|
8759 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
8760 |
set dummy otool64; ac_word=$2 |
|
8761 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
8762 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
8763 |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then |
|
8764 |
$as_echo_n "(cached) " >&6 |
|
8765 |
else |
|
8766 |
if test -n "$ac_ct_OTOOL64"; then |
|
8767 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
8768 |
else |
|
8769 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
8770 |
for as_dir in $PATH |
|
8771 |
do |
|
8772 |
IFS=$as_save_IFS |
|
8773 |
test -z "$as_dir" && as_dir=. |
|
8774 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
8775 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
8776 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
8777 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
8778 |
break 2 |
|
8779 |
fi |
|
8780 |
done |
|
8781 |
done |
|
8782 |
IFS=$as_save_IFS |
|
8783 |
||
8784 |
fi |
|
8785 |
fi |
|
8786 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
8787 |
if test -n "$ac_ct_OTOOL64"; then |
|
8788 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 |
|
8789 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
8790 |
else |
|
8791 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8792 |
$as_echo "no" >&6; } |
|
8793 |
fi |
|
8794 |
||
8795 |
if test "x$ac_ct_OTOOL64" = x; then |
|
8796 |
OTOOL64=":" |
|
8797 |
else |
|
8798 |
case $cross_compiling:$ac_tool_warned in |
|
8799 |
yes:) |
|
8800 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
8801 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
8802 |
ac_tool_warned=yes ;; |
|
8803 |
esac |
|
8804 |
OTOOL64=$ac_ct_OTOOL64 |
|
8805 |
fi |
|
8806 |
else |
|
8807 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
8808 |
fi |
|
8809 |
||
8810 |
||
8811 |
||
8812 |
||
8813 |
||
8814 |
||
8815 |
||
8816 |
||
8817 |
||
8818 |
||
8819 |
||
8820 |
||
8821 |
||
8822 |
||
8823 |
||
8824 |
||
8825 |
||
8826 |
||
8827 |
||
8828 |
||
8829 |
||
8830 |
||
8831 |
||
8832 |
||
8833 |
||
8834 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8835 |
|
8836 |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
|
8837 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
8838 |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
|
8839 |
$as_echo_n "(cached) " >&6 |
|
8840 |
else |
|
8841 |
lt_cv_apple_cc_single_mod=no |
|
8842 |
if test -z "${LT_MULTI_MODULE}"; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8843 |
# By default we will add the -single_module flag. You can override |
8844 |
# by either setting the environment variable LT_MULTI_MODULE |
|
8845 |
# non-empty at configure time, or by adding -multi_module to the |
|
8846 |
# link flags. |
|
8847 |
rm -rf libconftest.dylib* |
|
8848 |
echo "int foo(void){return 1;}" > conftest.c |
|
8849 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
8850 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
8851 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
8852 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
8853 |
_lt_result=$? |
|
8854 |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
|
8855 |
lt_cv_apple_cc_single_mod=yes |
|
8856 |
else |
|
8857 |
cat conftest.err >&5 |
|
8858 |
fi |
|
8859 |
rm -rf libconftest.dylib* |
|
8860 |
rm -f conftest.* |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8861 |
fi |
8862 |
fi |
|
8863 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
|
8864 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
8865 |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
|
8866 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
8867 |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
|
8868 |
$as_echo_n "(cached) " >&6 |
|
8869 |
else |
|
8870 |
lt_cv_ld_exported_symbols_list=no |
|
8871 |
save_LDFLAGS=$LDFLAGS |
|
8872 |
echo "_main" > conftest.sym |
|
8873 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
8874 |
cat >conftest.$ac_ext <<_ACEOF |
|
8875 |
/* confdefs.h. */ |
|
8876 |
_ACEOF |
|
8877 |
cat confdefs.h >>conftest.$ac_ext |
|
8878 |
cat >>conftest.$ac_ext <<_ACEOF |
|
8879 |
/* end confdefs.h. */ |
|
8880 |
||
8881 |
int |
|
8882 |
main () |
|
8883 |
{ |
|
8884 |
||
8885 |
; |
|
8886 |
return 0; |
|
8887 |
} |
|
8888 |
_ACEOF |
|
8889 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
8890 |
if { (ac_try="$ac_link" |
|
8891 |
case "(($ac_try" in |
|
8892 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
8893 |
*) ac_try_echo=$ac_try;; |
|
8894 |
esac |
|
8895 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
8896 |
$as_echo "$ac_try_echo") >&5 |
|
8897 |
(eval "$ac_link") 2>conftest.er1 |
|
8898 |
ac_status=$? |
|
8899 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
8900 |
rm -f conftest.er1 |
|
8901 |
cat conftest.err >&5 |
|
8902 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8903 |
(exit $ac_status); } && { |
|
8904 |
test -z "$ac_c_werror_flag" || |
|
8905 |
test ! -s conftest.err |
|
8906 |
} && test -s conftest$ac_exeext && { |
|
8907 |
test "$cross_compiling" = yes || |
|
8908 |
$as_test_x conftest$ac_exeext |
|
8909 |
}; then |
|
8910 |
lt_cv_ld_exported_symbols_list=yes |
|
8911 |
else |
|
8912 |
$as_echo "$as_me: failed program was:" >&5 |
|
8913 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
8914 |
||
8915 |
lt_cv_ld_exported_symbols_list=no |
|
8916 |
fi |
|
8917 |
||
8918 |
rm -rf conftest.dSYM |
|
8919 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
8920 |
conftest$ac_exeext conftest.$ac_ext |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8921 |
LDFLAGS="$save_LDFLAGS" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8922 |
|
8923 |
fi |
|
8924 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
8925 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
8926 |
case $host_os in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8927 |
rhapsody* | darwin1.[012]) |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8928 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
8929 |
darwin1.*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8930 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
8931 |
darwin*) # darwin 5.x on |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8932 |
# if running on 10.5 or later, the deployment target defaults |
8933 |
# to the OS version, if on x86, and 10.4, the deployment |
|
8934 |
# target defaults to 10.4. Don't you love it? |
|
8935 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8936 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
8937 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
8938 |
10.[012]*) |
|
8939 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
8940 |
10.*) |
|
8941 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8942 |
esac |
8943 |
;; |
|
8944 |
esac |
|
8945 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
8946 |
_lt_dar_single_mod='$single_module' |
|
8947 |
fi |
|
8948 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
8949 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
8950 |
else |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8951 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8952 |
fi |
8953 |
if test "$DSYMUTIL" != ":"; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8954 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
8955 |
else |
8956 |
_lt_dsymutil= |
|
8957 |
fi |
|
8958 |
;; |
|
8959 |
esac |
|
8960 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
8961 |
|
8962 |
for ac_header in dlfcn.h |
|
8963 |
do |
|
8964 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
8965 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
8966 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
8967 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
8968 |
$as_echo_n "(cached) " >&6 |
|
8969 |
else |
|
8970 |
cat >conftest.$ac_ext <<_ACEOF |
|
8971 |
/* confdefs.h. */ |
|
8972 |
_ACEOF |
|
8973 |
cat confdefs.h >>conftest.$ac_ext |
|
8974 |
cat >>conftest.$ac_ext <<_ACEOF |
|
8975 |
/* end confdefs.h. */ |
|
8976 |
$ac_includes_default |
|
8977 |
||
8978 |
#include <$ac_header> |
|
8979 |
_ACEOF |
|
8980 |
rm -f conftest.$ac_objext |
|
8981 |
if { (ac_try="$ac_compile" |
|
8982 |
case "(($ac_try" in |
|
8983 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
8984 |
*) ac_try_echo=$ac_try;; |
|
8985 |
esac |
|
8986 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
8987 |
$as_echo "$ac_try_echo") >&5 |
|
8988 |
(eval "$ac_compile") 2>conftest.er1 |
|
8989 |
ac_status=$? |
|
8990 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
8991 |
rm -f conftest.er1 |
|
8992 |
cat conftest.err >&5 |
|
8993 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8994 |
(exit $ac_status); } && { |
|
8995 |
test -z "$ac_c_werror_flag" || |
|
8996 |
test ! -s conftest.err |
|
8997 |
} && test -s conftest.$ac_objext; then |
|
8998 |
eval "$as_ac_Header=yes" |
|
8999 |
else |
|
9000 |
$as_echo "$as_me: failed program was:" >&5 |
|
9001 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9002 |
||
9003 |
eval "$as_ac_Header=no" |
|
9004 |
fi |
|
9005 |
||
9006 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
9007 |
fi |
|
9008 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
9009 |
$as_echo "$as_val"'` |
|
9010 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
9011 |
$as_echo "$ac_res" >&6; } |
|
9012 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
9013 |
$as_echo "$as_val"'` |
|
9014 |
if test "x$as_val" = x""yes; then |
|
9015 |
cat >>confdefs.h <<_ACEOF |
|
9016 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
9017 |
_ACEOF |
|
9018 |
||
9019 |
fi |
|
9020 |
||
9021 |
done |
|
9022 |
||
9023 |
||
9024 |
||
9025 |
ac_ext=cpp |
|
9026 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
9027 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
9028 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
9029 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
9030 |
if test -z "$CXX"; then |
|
9031 |
if test -n "$CCC"; then |
|
9032 |
CXX=$CCC |
|
9033 |
else |
|
9034 |
if test -n "$ac_tool_prefix"; then |
|
9035 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
9036 |
do |
|
9037 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
9038 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
9039 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
9040 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9041 |
if test "${ac_cv_prog_CXX+set}" = set; then |
|
9042 |
$as_echo_n "(cached) " >&6 |
|
9043 |
else |
|
9044 |
if test -n "$CXX"; then |
|
9045 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
9046 |
else |
|
9047 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9048 |
for as_dir in $PATH |
|
9049 |
do |
|
9050 |
IFS=$as_save_IFS |
|
9051 |
test -z "$as_dir" && as_dir=. |
|
9052 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9053 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9054 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
9055 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9056 |
break 2 |
|
9057 |
fi |
|
9058 |
done |
|
9059 |
done |
|
9060 |
IFS=$as_save_IFS |
|
9061 |
||
9062 |
fi |
|
9063 |
fi |
|
9064 |
CXX=$ac_cv_prog_CXX |
|
9065 |
if test -n "$CXX"; then |
|
9066 |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
|
9067 |
$as_echo "$CXX" >&6; } |
|
9068 |
else |
|
9069 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
9070 |
$as_echo "no" >&6; } |
|
9071 |
fi |
|
9072 |
||
9073 |
||
9074 |
test -n "$CXX" && break |
|
9075 |
done |
|
9076 |
fi |
|
9077 |
if test -z "$CXX"; then |
|
9078 |
ac_ct_CXX=$CXX |
|
9079 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
9080 |
do |
|
9081 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
9082 |
set dummy $ac_prog; ac_word=$2 |
|
9083 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
9084 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
9085 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
|
9086 |
$as_echo_n "(cached) " >&6 |
|
9087 |
else |
|
9088 |
if test -n "$ac_ct_CXX"; then |
|
9089 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
9090 |
else |
|
9091 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
9092 |
for as_dir in $PATH |
|
9093 |
do |
|
9094 |
IFS=$as_save_IFS |
|
9095 |
test -z "$as_dir" && as_dir=. |
|
9096 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
9097 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
9098 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
9099 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
9100 |
break 2 |
|
9101 |
fi |
|
9102 |
done |
|
9103 |
done |
|
9104 |
IFS=$as_save_IFS |
|
9105 |
||
9106 |
fi |
|
9107 |
fi |
|
9108 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
9109 |
if test -n "$ac_ct_CXX"; then |
|
9110 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
|
9111 |
$as_echo "$ac_ct_CXX" >&6; } |
|
9112 |
else |
|
9113 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
9114 |
$as_echo "no" >&6; } |
|
9115 |
fi |
|
9116 |
||
9117 |
||
9118 |
test -n "$ac_ct_CXX" && break |
|
9119 |
done |
|
9120 |
||
9121 |
if test "x$ac_ct_CXX" = x; then |
|
9122 |
CXX="g++" |
|
9123 |
else |
|
9124 |
case $cross_compiling:$ac_tool_warned in |
|
9125 |
yes:) |
|
9126 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
9127 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
9128 |
ac_tool_warned=yes ;; |
|
9129 |
esac |
|
9130 |
CXX=$ac_ct_CXX |
|
9131 |
fi |
|
9132 |
fi |
|
9133 |
||
9134 |
fi |
|
9135 |
fi |
|
9136 |
# Provide some information about the compiler. |
|
9137 |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
|
9138 |
set X $ac_compile |
|
9139 |
ac_compiler=$2 |
|
9140 |
{ (ac_try="$ac_compiler --version >&5" |
|
9141 |
case "(($ac_try" in |
|
9142 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9143 |
*) ac_try_echo=$ac_try;; |
|
9144 |
esac |
|
9145 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9146 |
$as_echo "$ac_try_echo") >&5 |
|
9147 |
(eval "$ac_compiler --version >&5") 2>&5 |
|
9148 |
ac_status=$? |
|
9149 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9150 |
(exit $ac_status); } |
|
9151 |
{ (ac_try="$ac_compiler -v >&5" |
|
9152 |
case "(($ac_try" in |
|
9153 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9154 |
*) ac_try_echo=$ac_try;; |
|
9155 |
esac |
|
9156 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9157 |
$as_echo "$ac_try_echo") >&5 |
|
9158 |
(eval "$ac_compiler -v >&5") 2>&5 |
|
9159 |
ac_status=$? |
|
9160 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9161 |
(exit $ac_status); } |
|
9162 |
{ (ac_try="$ac_compiler -V >&5" |
|
9163 |
case "(($ac_try" in |
|
9164 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9165 |
*) ac_try_echo=$ac_try;; |
|
9166 |
esac |
|
9167 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9168 |
$as_echo "$ac_try_echo") >&5 |
|
9169 |
(eval "$ac_compiler -V >&5") 2>&5 |
|
9170 |
ac_status=$? |
|
9171 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9172 |
(exit $ac_status); } |
|
9173 |
||
9174 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
|
9175 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
9176 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
|
9177 |
$as_echo_n "(cached) " >&6 |
|
9178 |
else |
|
9179 |
cat >conftest.$ac_ext <<_ACEOF |
|
9180 |
/* confdefs.h. */ |
|
9181 |
_ACEOF |
|
9182 |
cat confdefs.h >>conftest.$ac_ext |
|
9183 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9184 |
/* end confdefs.h. */ |
|
9185 |
||
9186 |
int |
|
9187 |
main () |
|
9188 |
{ |
|
9189 |
#ifndef __GNUC__ |
|
9190 |
choke me |
|
9191 |
#endif |
|
9192 |
||
9193 |
; |
|
9194 |
return 0; |
|
9195 |
} |
|
9196 |
_ACEOF |
|
9197 |
rm -f conftest.$ac_objext |
|
9198 |
if { (ac_try="$ac_compile" |
|
9199 |
case "(($ac_try" in |
|
9200 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9201 |
*) ac_try_echo=$ac_try;; |
|
9202 |
esac |
|
9203 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9204 |
$as_echo "$ac_try_echo") >&5 |
|
9205 |
(eval "$ac_compile") 2>conftest.er1 |
|
9206 |
ac_status=$? |
|
9207 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9208 |
rm -f conftest.er1 |
|
9209 |
cat conftest.err >&5 |
|
9210 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9211 |
(exit $ac_status); } && { |
|
9212 |
test -z "$ac_cxx_werror_flag" || |
|
9213 |
test ! -s conftest.err |
|
9214 |
} && test -s conftest.$ac_objext; then |
|
9215 |
ac_compiler_gnu=yes |
|
9216 |
else |
|
9217 |
$as_echo "$as_me: failed program was:" >&5 |
|
9218 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9219 |
||
9220 |
ac_compiler_gnu=no |
|
9221 |
fi |
|
9222 |
||
9223 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
9224 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
9225 |
||
9226 |
fi |
|
9227 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
9228 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
9229 |
if test $ac_compiler_gnu = yes; then |
|
9230 |
GXX=yes |
|
9231 |
else |
|
9232 |
GXX= |
|
9233 |
fi |
|
9234 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
9235 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
9236 |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
|
9237 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
9238 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
|
9239 |
$as_echo_n "(cached) " >&6 |
|
9240 |
else |
|
9241 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
9242 |
ac_cxx_werror_flag=yes |
|
9243 |
ac_cv_prog_cxx_g=no |
|
9244 |
CXXFLAGS="-g" |
|
9245 |
cat >conftest.$ac_ext <<_ACEOF |
|
9246 |
/* confdefs.h. */ |
|
9247 |
_ACEOF |
|
9248 |
cat confdefs.h >>conftest.$ac_ext |
|
9249 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9250 |
/* end confdefs.h. */ |
|
9251 |
||
9252 |
int |
|
9253 |
main () |
|
9254 |
{ |
|
9255 |
||
9256 |
; |
|
9257 |
return 0; |
|
9258 |
} |
|
9259 |
_ACEOF |
|
9260 |
rm -f conftest.$ac_objext |
|
9261 |
if { (ac_try="$ac_compile" |
|
9262 |
case "(($ac_try" in |
|
9263 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9264 |
*) ac_try_echo=$ac_try;; |
|
9265 |
esac |
|
9266 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9267 |
$as_echo "$ac_try_echo") >&5 |
|
9268 |
(eval "$ac_compile") 2>conftest.er1 |
|
9269 |
ac_status=$? |
|
9270 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9271 |
rm -f conftest.er1 |
|
9272 |
cat conftest.err >&5 |
|
9273 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9274 |
(exit $ac_status); } && { |
|
9275 |
test -z "$ac_cxx_werror_flag" || |
|
9276 |
test ! -s conftest.err |
|
9277 |
} && test -s conftest.$ac_objext; then |
|
9278 |
ac_cv_prog_cxx_g=yes |
|
9279 |
else |
|
9280 |
$as_echo "$as_me: failed program was:" >&5 |
|
9281 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9282 |
||
9283 |
CXXFLAGS="" |
|
9284 |
cat >conftest.$ac_ext <<_ACEOF |
|
9285 |
/* confdefs.h. */ |
|
9286 |
_ACEOF |
|
9287 |
cat confdefs.h >>conftest.$ac_ext |
|
9288 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9289 |
/* end confdefs.h. */ |
|
9290 |
||
9291 |
int |
|
9292 |
main () |
|
9293 |
{ |
|
9294 |
||
9295 |
; |
|
9296 |
return 0; |
|
9297 |
} |
|
9298 |
_ACEOF |
|
9299 |
rm -f conftest.$ac_objext |
|
9300 |
if { (ac_try="$ac_compile" |
|
9301 |
case "(($ac_try" in |
|
9302 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9303 |
*) ac_try_echo=$ac_try;; |
|
9304 |
esac |
|
9305 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9306 |
$as_echo "$ac_try_echo") >&5 |
|
9307 |
(eval "$ac_compile") 2>conftest.er1 |
|
9308 |
ac_status=$? |
|
9309 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9310 |
rm -f conftest.er1 |
|
9311 |
cat conftest.err >&5 |
|
9312 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9313 |
(exit $ac_status); } && { |
|
9314 |
test -z "$ac_cxx_werror_flag" || |
|
9315 |
test ! -s conftest.err |
|
9316 |
} && test -s conftest.$ac_objext; then |
|
9317 |
: |
|
9318 |
else |
|
9319 |
$as_echo "$as_me: failed program was:" >&5 |
|
9320 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9321 |
||
9322 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
9323 |
CXXFLAGS="-g" |
|
9324 |
cat >conftest.$ac_ext <<_ACEOF |
|
9325 |
/* confdefs.h. */ |
|
9326 |
_ACEOF |
|
9327 |
cat confdefs.h >>conftest.$ac_ext |
|
9328 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9329 |
/* end confdefs.h. */ |
|
9330 |
||
9331 |
int |
|
9332 |
main () |
|
9333 |
{ |
|
9334 |
||
9335 |
; |
|
9336 |
return 0; |
|
9337 |
} |
|
9338 |
_ACEOF |
|
9339 |
rm -f conftest.$ac_objext |
|
9340 |
if { (ac_try="$ac_compile" |
|
9341 |
case "(($ac_try" in |
|
9342 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9343 |
*) ac_try_echo=$ac_try;; |
|
9344 |
esac |
|
9345 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9346 |
$as_echo "$ac_try_echo") >&5 |
|
9347 |
(eval "$ac_compile") 2>conftest.er1 |
|
9348 |
ac_status=$? |
|
9349 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9350 |
rm -f conftest.er1 |
|
9351 |
cat conftest.err >&5 |
|
9352 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9353 |
(exit $ac_status); } && { |
|
9354 |
test -z "$ac_cxx_werror_flag" || |
|
9355 |
test ! -s conftest.err |
|
9356 |
} && test -s conftest.$ac_objext; then |
|
9357 |
ac_cv_prog_cxx_g=yes |
|
9358 |
else |
|
9359 |
$as_echo "$as_me: failed program was:" >&5 |
|
9360 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9361 |
||
9362 |
||
9363 |
fi |
|
9364 |
||
9365 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
9366 |
fi |
|
9367 |
||
9368 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
9369 |
fi |
|
9370 |
||
9371 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
9372 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
9373 |
fi |
|
9374 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
|
9375 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
9376 |
if test "$ac_test_CXXFLAGS" = set; then |
|
9377 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
9378 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
9379 |
if test "$GXX" = yes; then |
|
9380 |
CXXFLAGS="-g -O2" |
|
9381 |
else |
|
9382 |
CXXFLAGS="-g" |
|
9383 |
fi |
|
9384 |
else |
|
9385 |
if test "$GXX" = yes; then |
|
9386 |
CXXFLAGS="-O2" |
|
9387 |
else |
|
9388 |
CXXFLAGS= |
|
9389 |
fi |
|
9390 |
fi |
|
9391 |
ac_ext=c |
|
9392 |
ac_cpp='$CPP $CPPFLAGS' |
|
9393 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
9394 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
9395 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
9396 |
||
9397 |
depcc="$CXX" am_compiler_list= |
|
9398 |
||
9399 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
9400 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
9401 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
|
9402 |
$as_echo_n "(cached) " >&6 |
|
9403 |
else |
|
9404 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
9405 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
9406 |
# making bogus files that we don't know about and never remove. For |
|
9407 |
# instance it was reported that on HP-UX the gcc test will end up |
|
9408 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
9409 |
# in D'. |
|
9410 |
mkdir conftest.dir |
|
9411 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
9412 |
# using a relative directory. |
|
9413 |
cp "$am_depcomp" conftest.dir |
|
9414 |
cd conftest.dir |
|
9415 |
# We will build objects and dependencies in a subdirectory because |
|
9416 |
# it helps to detect inapplicable dependency modes. For instance |
|
9417 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
9418 |
# side effect of compilation, but ICC will put the dependencies in |
|
9419 |
# the current directory while Tru64 will put them in the object |
|
9420 |
# directory. |
|
9421 |
mkdir sub |
|
9422 |
||
9423 |
am_cv_CXX_dependencies_compiler_type=none |
|
9424 |
if test "$am_compiler_list" = ""; then |
|
9425 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
9426 |
fi |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9427 |
am__universal=false |
9428 |
case " $depcc " in #( |
|
9429 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
9430 |
esac |
|
9431 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9432 |
for depmode in $am_compiler_list; do |
9433 |
# Setup a source with many dependencies, because some compilers |
|
9434 |
# like to wrap large dependency lists on column 80 (with \), and |
|
9435 |
# we should not choose a depcomp mode which is confused by this. |
|
9436 |
# |
|
9437 |
# We need to recreate these files for each test, as the compiler may |
|
9438 |
# overwrite some of them when testing with obscure command lines. |
|
9439 |
# This happens at least with the AIX C compiler. |
|
9440 |
: > sub/conftest.c |
|
9441 |
for i in 1 2 3 4 5 6; do |
|
9442 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
9443 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
9444 |
# Solaris 8's {/usr,}/bin/sh. |
|
9445 |
touch sub/conftst$i.h |
|
9446 |
done |
|
9447 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
9448 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9449 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
9450 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
9451 |
# handle `-M -o', and we need to detect this. Also, some Intel |
|
9452 |
# versions had trouble with output in subdirs |
|
9453 |
am__obj=sub/conftest.${OBJEXT-o} |
|
9454 |
am__minus_obj="-o $am__obj" |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9455 |
case $depmode in |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9456 |
gcc) |
9457 |
# This depmode causes a compiler race in universal mode. |
|
9458 |
test "$am__universal" = false || continue |
|
9459 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9460 |
nosideeffect) |
9461 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
9462 |
# only be used when explicitly requested |
|
9463 |
if test "x$enable_dependency_tracking" = xyes; then |
|
9464 |
continue |
|
9465 |
else |
|
9466 |
break |
|
9467 |
fi |
|
9468 |
;; |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9469 |
msvisualcpp | msvcmsys) |
9470 |
# This compiler won't grok `-c -o', but also, the minuso test has |
|
9471 |
# not run yet. These depmodes are late enough in the game, and |
|
9472 |
# so weak that their functioning should not be impacted. |
|
9473 |
am__obj=conftest.${OBJEXT-o} |
|
9474 |
am__minus_obj= |
|
9475 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9476 |
none) break ;; |
9477 |
esac |
|
9478 |
if depmode=$depmode \ |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9479 |
source=sub/conftest.c object=$am__obj \ |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9480 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9481 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9482 |
>/dev/null 2>conftest.err && |
9483 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
9484 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
9485 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9486 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
9487 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
9488 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
9489 |
# that says an option was ignored or not supported. |
|
9490 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
9491 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
9492 |
# The diagnosis changed in icc 8.0: |
|
9493 |
# icc: Command line remark: option '-MP' not supported |
|
9494 |
if (grep 'ignoring option' conftest.err || |
|
9495 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
9496 |
am_cv_CXX_dependencies_compiler_type=$depmode |
|
9497 |
break |
|
9498 |
fi |
|
9499 |
fi |
|
9500 |
done |
|
9501 |
||
9502 |
cd .. |
|
9503 |
rm -rf conftest.dir |
|
9504 |
else |
|
9505 |
am_cv_CXX_dependencies_compiler_type=none |
|
9506 |
fi |
|
9507 |
||
9508 |
fi |
|
9509 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
9510 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
9511 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
9512 |
||
9513 |
if |
|
9514 |
test "x$enable_dependency_tracking" != xno \ |
|
9515 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
9516 |
am__fastdepCXX_TRUE= |
|
9517 |
am__fastdepCXX_FALSE='#' |
|
9518 |
else |
|
9519 |
am__fastdepCXX_TRUE='#' |
|
9520 |
am__fastdepCXX_FALSE= |
|
9521 |
fi |
|
9522 |
||
9523 |
||
9524 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
9525 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
9526 |
(test "X$CXX" != "Xg++"))) ; then |
|
9527 |
ac_ext=cpp |
|
9528 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
9529 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
9530 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
9531 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
9532 |
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
9533 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
|
9534 |
if test -z "$CXXCPP"; then |
|
9535 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
9536 |
$as_echo_n "(cached) " >&6 |
|
9537 |
else |
|
9538 |
# Double quotes because CXXCPP needs to be expanded |
|
9539 |
for CXXCPP in "$CXX -E" "/lib/cpp" |
|
9540 |
do |
|
9541 |
ac_preproc_ok=false |
|
9542 |
for ac_cxx_preproc_warn_flag in '' yes |
|
9543 |
do |
|
9544 |
# Use a header file that comes with gcc, so configuring glibc |
|
9545 |
# with a fresh cross-compiler works. |
|
9546 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
9547 |
# <limits.h> exists even on freestanding compilers. |
|
9548 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
9549 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
9550 |
cat >conftest.$ac_ext <<_ACEOF |
|
9551 |
/* confdefs.h. */ |
|
9552 |
_ACEOF |
|
9553 |
cat confdefs.h >>conftest.$ac_ext |
|
9554 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9555 |
/* end confdefs.h. */ |
|
9556 |
#ifdef __STDC__ |
|
9557 |
# include <limits.h> |
|
9558 |
#else |
|
9559 |
# include <assert.h> |
|
9560 |
#endif |
|
9561 |
Syntax error |
|
9562 |
_ACEOF |
|
9563 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
9564 |
case "(($ac_try" in |
|
9565 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9566 |
*) ac_try_echo=$ac_try;; |
|
9567 |
esac |
|
9568 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9569 |
$as_echo "$ac_try_echo") >&5 |
|
9570 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
9571 |
ac_status=$? |
|
9572 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9573 |
rm -f conftest.er1 |
|
9574 |
cat conftest.err >&5 |
|
9575 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9576 |
(exit $ac_status); } >/dev/null && { |
|
9577 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
9578 |
test ! -s conftest.err |
|
9579 |
}; then |
|
9580 |
: |
|
9581 |
else |
|
9582 |
$as_echo "$as_me: failed program was:" >&5 |
|
9583 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9584 |
||
9585 |
# Broken: fails on valid input. |
|
9586 |
continue |
|
9587 |
fi |
|
9588 |
||
9589 |
rm -f conftest.err conftest.$ac_ext |
|
9590 |
||
9591 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
9592 |
# can be detected and how. |
|
9593 |
cat >conftest.$ac_ext <<_ACEOF |
|
9594 |
/* confdefs.h. */ |
|
9595 |
_ACEOF |
|
9596 |
cat confdefs.h >>conftest.$ac_ext |
|
9597 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9598 |
/* end confdefs.h. */ |
|
9599 |
#include <ac_nonexistent.h> |
|
9600 |
_ACEOF |
|
9601 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
9602 |
case "(($ac_try" in |
|
9603 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9604 |
*) ac_try_echo=$ac_try;; |
|
9605 |
esac |
|
9606 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9607 |
$as_echo "$ac_try_echo") >&5 |
|
9608 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
9609 |
ac_status=$? |
|
9610 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9611 |
rm -f conftest.er1 |
|
9612 |
cat conftest.err >&5 |
|
9613 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9614 |
(exit $ac_status); } >/dev/null && { |
|
9615 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
9616 |
test ! -s conftest.err |
|
9617 |
}; then |
|
9618 |
# Broken: success on invalid input. |
|
9619 |
continue |
|
9620 |
else |
|
9621 |
$as_echo "$as_me: failed program was:" >&5 |
|
9622 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9623 |
||
9624 |
# Passes both tests. |
|
9625 |
ac_preproc_ok=: |
|
9626 |
break |
|
9627 |
fi |
|
9628 |
||
9629 |
rm -f conftest.err conftest.$ac_ext |
|
9630 |
||
9631 |
done |
|
9632 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
9633 |
rm -f conftest.err conftest.$ac_ext |
|
9634 |
if $ac_preproc_ok; then |
|
9635 |
break |
|
9636 |
fi |
|
9637 |
||
9638 |
done |
|
9639 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
9640 |
||
9641 |
fi |
|
9642 |
CXXCPP=$ac_cv_prog_CXXCPP |
|
9643 |
else |
|
9644 |
ac_cv_prog_CXXCPP=$CXXCPP |
|
9645 |
fi |
|
9646 |
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
9647 |
$as_echo "$CXXCPP" >&6; } |
|
9648 |
ac_preproc_ok=false |
|
9649 |
for ac_cxx_preproc_warn_flag in '' yes |
|
9650 |
do |
|
9651 |
# Use a header file that comes with gcc, so configuring glibc |
|
9652 |
# with a fresh cross-compiler works. |
|
9653 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
9654 |
# <limits.h> exists even on freestanding compilers. |
|
9655 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
9656 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
9657 |
cat >conftest.$ac_ext <<_ACEOF |
|
9658 |
/* confdefs.h. */ |
|
9659 |
_ACEOF |
|
9660 |
cat confdefs.h >>conftest.$ac_ext |
|
9661 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9662 |
/* end confdefs.h. */ |
|
9663 |
#ifdef __STDC__ |
|
9664 |
# include <limits.h> |
|
9665 |
#else |
|
9666 |
# include <assert.h> |
|
9667 |
#endif |
|
9668 |
Syntax error |
|
9669 |
_ACEOF |
|
9670 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
9671 |
case "(($ac_try" in |
|
9672 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9673 |
*) ac_try_echo=$ac_try;; |
|
9674 |
esac |
|
9675 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9676 |
$as_echo "$ac_try_echo") >&5 |
|
9677 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
9678 |
ac_status=$? |
|
9679 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9680 |
rm -f conftest.er1 |
|
9681 |
cat conftest.err >&5 |
|
9682 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9683 |
(exit $ac_status); } >/dev/null && { |
|
9684 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
9685 |
test ! -s conftest.err |
|
9686 |
}; then |
|
9687 |
: |
|
9688 |
else |
|
9689 |
$as_echo "$as_me: failed program was:" >&5 |
|
9690 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9691 |
||
9692 |
# Broken: fails on valid input. |
|
9693 |
continue |
|
9694 |
fi |
|
9695 |
||
9696 |
rm -f conftest.err conftest.$ac_ext |
|
9697 |
||
9698 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
9699 |
# can be detected and how. |
|
9700 |
cat >conftest.$ac_ext <<_ACEOF |
|
9701 |
/* confdefs.h. */ |
|
9702 |
_ACEOF |
|
9703 |
cat confdefs.h >>conftest.$ac_ext |
|
9704 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9705 |
/* end confdefs.h. */ |
|
9706 |
#include <ac_nonexistent.h> |
|
9707 |
_ACEOF |
|
9708 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
9709 |
case "(($ac_try" in |
|
9710 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9711 |
*) ac_try_echo=$ac_try;; |
|
9712 |
esac |
|
9713 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9714 |
$as_echo "$ac_try_echo") >&5 |
|
9715 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
9716 |
ac_status=$? |
|
9717 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
9718 |
rm -f conftest.er1 |
|
9719 |
cat conftest.err >&5 |
|
9720 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9721 |
(exit $ac_status); } >/dev/null && { |
|
9722 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
9723 |
test ! -s conftest.err |
|
9724 |
}; then |
|
9725 |
# Broken: success on invalid input. |
|
9726 |
continue |
|
9727 |
else |
|
9728 |
$as_echo "$as_me: failed program was:" >&5 |
|
9729 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9730 |
||
9731 |
# Passes both tests. |
|
9732 |
ac_preproc_ok=: |
|
9733 |
break |
|
9734 |
fi |
|
9735 |
||
9736 |
rm -f conftest.err conftest.$ac_ext |
|
9737 |
||
9738 |
done |
|
9739 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
9740 |
rm -f conftest.err conftest.$ac_ext |
|
9741 |
if $ac_preproc_ok; then |
|
9742 |
: |
|
9743 |
else |
|
9744 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
9745 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
9746 |
_lt_caught_CXX_error=yes; } |
|
9747 |
fi |
|
9748 |
||
9749 |
ac_ext=c |
|
9750 |
ac_cpp='$CPP $CPPFLAGS' |
|
9751 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
9752 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
9753 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
9754 |
||
9755 |
else |
|
9756 |
_lt_caught_CXX_error=yes |
|
9757 |
fi |
|
9758 |
||
9759 |
||
9760 |
||
9761 |
||
9762 |
# Set options |
|
9763 |
||
9764 |
||
9765 |
||
9766 |
enable_dlopen=no |
|
9767 |
||
9768 |
||
9769 |
||
9770 |
# Check whether --enable-shared was given. |
|
9771 |
if test "${enable_shared+set}" = set; then |
|
9772 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
9773 |
case $enableval in |
|
9774 |
yes) enable_shared=yes ;; |
|
9775 |
no) enable_shared=no ;; |
|
9776 |
*) |
|
9777 |
enable_shared=no |
|
9778 |
# Look at the argument we got. We use all the common list separators. |
|
9779 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
9780 |
for pkg in $enableval; do |
|
9781 |
IFS="$lt_save_ifs" |
|
9782 |
if test "X$pkg" = "X$p"; then |
|
9783 |
enable_shared=yes |
|
9784 |
fi |
|
9785 |
done |
|
9786 |
IFS="$lt_save_ifs" |
|
9787 |
;; |
|
9788 |
esac |
|
9789 |
else |
|
9790 |
enable_shared=yes |
|
9791 |
fi |
|
9792 |
||
9793 |
||
9794 |
||
9795 |
||
9796 |
||
9797 |
||
9798 |
||
9799 |
||
9800 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
9801 |
|
9802 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
9803 |
# Check whether --with-pic was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
9804 |
if test "${with_pic+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
9805 |
withval=$with_pic; pic_mode="$withval" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
9806 |
else |
9807 |
pic_mode=default |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
9808 |
fi |
9809 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9810 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
9811 |
test -z "$pic_mode" && pic_mode=default |
9812 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
9813 |
|
9814 |
||
9815 |
||
9816 |
||
9817 |
||
9818 |
||
9819 |
# Check whether --enable-fast-install was given. |
|
9820 |
if test "${enable_fast_install+set}" = set; then |
|
9821 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
9822 |
case $enableval in |
|
9823 |
yes) enable_fast_install=yes ;; |
|
9824 |
no) enable_fast_install=no ;; |
|
9825 |
*) |
|
9826 |
enable_fast_install=no |
|
9827 |
# Look at the argument we got. We use all the common list separators. |
|
9828 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
9829 |
for pkg in $enableval; do |
|
9830 |
IFS="$lt_save_ifs" |
|
9831 |
if test "X$pkg" = "X$p"; then |
|
9832 |
enable_fast_install=yes |
|
9833 |
fi |
|
9834 |
done |
|
9835 |
IFS="$lt_save_ifs" |
|
9836 |
;; |
|
9837 |
esac |
|
9838 |
else |
|
9839 |
enable_fast_install=yes |
|
9840 |
fi |
|
9841 |
||
9842 |
||
9843 |
||
9844 |
||
9845 |
||
9846 |
||
9847 |
||
9848 |
||
9849 |
||
9850 |
||
9851 |
||
9852 |
# This can be used to rebuild libtool when needed |
|
9853 |
LIBTOOL_DEPS="$ltmain" |
|
9854 |
||
9855 |
# Always use our own libtool. |
|
9856 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
9857 |
||
9858 |
||
9859 |
||
9860 |
||
9861 |
||
9862 |
||
9863 |
||
9864 |
||
9865 |
||
9866 |
||
9867 |
||
9868 |
||
9869 |
||
9870 |
||
9871 |
||
9872 |
||
9873 |
||
9874 |
||
9875 |
||
9876 |
||
9877 |
||
9878 |
||
9879 |
||
9880 |
||
9881 |
||
9882 |
test -z "$LN_S" && LN_S="ln -s" |
|
9883 |
||
9884 |
||
9885 |
||
9886 |
||
9887 |
||
9888 |
||
9889 |
||
9890 |
||
9891 |
||
9892 |
||
9893 |
||
9894 |
||
9895 |
||
9896 |
||
9897 |
if test -n "${ZSH_VERSION+set}" ; then |
|
9898 |
setopt NO_GLOB_SUBST |
|
9899 |
fi |
|
9900 |
||
9901 |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 |
|
9902 |
$as_echo_n "checking for objdir... " >&6; } |
|
9903 |
if test "${lt_cv_objdir+set}" = set; then |
|
9904 |
$as_echo_n "(cached) " >&6 |
|
9905 |
else |
|
9906 |
rm -f .libs 2>/dev/null |
|
9907 |
mkdir .libs 2>/dev/null |
|
9908 |
if test -d .libs; then |
|
9909 |
lt_cv_objdir=.libs |
|
9910 |
else |
|
9911 |
# MS-DOS does not allow filenames that begin with a dot. |
|
9912 |
lt_cv_objdir=_libs |
|
9913 |
fi |
|
9914 |
rmdir .libs 2>/dev/null |
|
9915 |
fi |
|
9916 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
|
9917 |
$as_echo "$lt_cv_objdir" >&6; } |
|
9918 |
objdir=$lt_cv_objdir |
|
9919 |
||
9920 |
||
9921 |
||
9922 |
||
9923 |
||
9924 |
cat >>confdefs.h <<_ACEOF |
|
9925 |
#define LT_OBJDIR "$lt_cv_objdir/" |
|
9926 |
_ACEOF |
|
9927 |
||
9928 |
||
9929 |
||
9930 |
||
9931 |
||
9932 |
||
9933 |
||
9934 |
||
9935 |
||
9936 |
||
9937 |
||
9938 |
||
9939 |
||
9940 |
||
9941 |
||
9942 |
||
9943 |
||
9944 |
case $host_os in |
|
9945 |
aix3*) |
|
9946 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
9947 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
9948 |
# vanish in a puff of smoke. |
|
9949 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
9950 |
COLLECT_NAMES= |
|
9951 |
export COLLECT_NAMES |
|
9952 |
fi |
|
9953 |
;; |
|
9954 |
esac |
|
9955 |
||
9956 |
# Sed substitution that helps us do robust quoting. It backslashifies |
|
9957 |
# metacharacters that are still active within double-quoted strings. |
|
9958 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
9959 |
||
9960 |
# Same as above, but do not quote variable references. |
|
9961 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
9962 |
||
9963 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
9964 |
# double_quote_subst'ed string. |
|
9965 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
9966 |
||
9967 |
# Sed substitution to delay expansion of an escaped single quote. |
|
9968 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
9969 |
||
9970 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
9971 |
no_glob_subst='s/\*/\\\*/g' |
|
9972 |
||
9973 |
# Global variables: |
|
9974 |
ofile=libtool |
|
9975 |
can_build_shared=yes |
|
9976 |
||
9977 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
|
9978 |
# which needs '.lib'). |
|
9979 |
libext=a |
|
9980 |
||
9981 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
9982 |
||
9983 |
old_CC="$CC" |
|
9984 |
old_CFLAGS="$CFLAGS" |
|
9985 |
||
9986 |
# Set sane defaults for various variables |
|
9987 |
test -z "$CC" && CC=cc |
|
9988 |
test -z "$LTCC" && LTCC=$CC |
|
9989 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
9990 |
test -z "$LD" && LD=ld |
|
9991 |
test -z "$ac_objext" && ac_objext=o |
|
9992 |
||
9993 |
for cc_temp in $compiler""; do |
|
9994 |
case $cc_temp in |
|
9995 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
9996 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
9997 |
\-*) ;; |
|
9998 |
*) break;; |
|
9999 |
esac |
|
10000 |
done |
|
10001 |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
10002 |
||
10003 |
||
10004 |
# Only perform the check for file, if the check method requires it |
|
10005 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
10006 |
case $deplibs_check_method in |
|
10007 |
file_magic*) |
|
10008 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
10009 |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
|
10010 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
10011 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
10012 |
$as_echo_n "(cached) " >&6 |
|
10013 |
else |
|
10014 |
case $MAGIC_CMD in |
|
10015 |
[\\/*] | ?:[\\/]*) |
|
10016 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
10017 |
;; |
|
10018 |
*) |
|
10019 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
10020 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
10021 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
10022 |
for ac_dir in $ac_dummy; do |
|
10023 |
IFS="$lt_save_ifs" |
|
10024 |
test -z "$ac_dir" && ac_dir=. |
|
10025 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
10026 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
10027 |
if test -n "$file_magic_test_file"; then |
|
10028 |
case $deplibs_check_method in |
|
10029 |
"file_magic "*) |
|
10030 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
10031 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
10032 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
10033 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
10034 |
: |
|
10035 |
else |
|
10036 |
cat <<_LT_EOF 1>&2 |
|
10037 |
||
10038 |
*** Warning: the command libtool uses to detect shared libraries, |
|
10039 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
10040 |
*** The result is that libtool may fail to recognize shared libraries |
|
10041 |
*** as such. This will affect the creation of libtool libraries that |
|
10042 |
*** depend on shared libraries, but programs linked with such libtool |
|
10043 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
10044 |
*** may want to report the problem to your system manager and/or to |
|
10045 |
*** bug-libtool@gnu.org |
|
10046 |
||
10047 |
_LT_EOF |
|
10048 |
fi ;; |
|
10049 |
esac |
|
10050 |
fi |
|
10051 |
break |
|
10052 |
fi |
|
10053 |
done |
|
10054 |
IFS="$lt_save_ifs" |
|
10055 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
10056 |
;; |
|
10057 |
esac |
|
10058 |
fi |
|
10059 |
||
10060 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
10061 |
if test -n "$MAGIC_CMD"; then |
|
10062 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
10063 |
$as_echo "$MAGIC_CMD" >&6; } |
|
10064 |
else |
|
10065 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
10066 |
$as_echo "no" >&6; } |
|
10067 |
fi |
|
10068 |
||
10069 |
||
10070 |
||
10071 |
||
10072 |
||
10073 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
10074 |
if test -n "$ac_tool_prefix"; then |
|
10075 |
{ $as_echo "$as_me:$LINENO: checking for file" >&5 |
|
10076 |
$as_echo_n "checking for file... " >&6; } |
|
10077 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
10078 |
$as_echo_n "(cached) " >&6 |
|
10079 |
else |
|
10080 |
case $MAGIC_CMD in |
|
10081 |
[\\/*] | ?:[\\/]*) |
|
10082 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
10083 |
;; |
|
10084 |
*) |
|
10085 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
10086 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
10087 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
10088 |
for ac_dir in $ac_dummy; do |
|
10089 |
IFS="$lt_save_ifs" |
|
10090 |
test -z "$ac_dir" && ac_dir=. |
|
10091 |
if test -f $ac_dir/file; then |
|
10092 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
10093 |
if test -n "$file_magic_test_file"; then |
|
10094 |
case $deplibs_check_method in |
|
10095 |
"file_magic "*) |
|
10096 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
10097 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
10098 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
10099 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
10100 |
: |
|
10101 |
else |
|
10102 |
cat <<_LT_EOF 1>&2 |
|
10103 |
||
10104 |
*** Warning: the command libtool uses to detect shared libraries, |
|
10105 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
10106 |
*** The result is that libtool may fail to recognize shared libraries |
|
10107 |
*** as such. This will affect the creation of libtool libraries that |
|
10108 |
*** depend on shared libraries, but programs linked with such libtool |
|
10109 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
10110 |
*** may want to report the problem to your system manager and/or to |
|
10111 |
*** bug-libtool@gnu.org |
|
10112 |
||
10113 |
_LT_EOF |
|
10114 |
fi ;; |
|
10115 |
esac |
|
10116 |
fi |
|
10117 |
break |
|
10118 |
fi |
|
10119 |
done |
|
10120 |
IFS="$lt_save_ifs" |
|
10121 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
10122 |
;; |
|
10123 |
esac |
|
10124 |
fi |
|
10125 |
||
10126 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
10127 |
if test -n "$MAGIC_CMD"; then |
|
10128 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
10129 |
$as_echo "$MAGIC_CMD" >&6; } |
|
10130 |
else |
|
10131 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
10132 |
$as_echo "no" >&6; } |
|
10133 |
fi |
|
10134 |
||
10135 |
||
10136 |
else |
|
10137 |
MAGIC_CMD=: |
|
10138 |
fi |
|
10139 |
fi |
|
10140 |
||
10141 |
fi |
|
10142 |
;; |
|
10143 |
esac |
|
10144 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10145 |
# Use C for the default configuration in the libtool script |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10146 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10147 |
lt_save_CC="$CC" |
10148 |
ac_ext=c |
|
10149 |
ac_cpp='$CPP $CPPFLAGS' |
|
10150 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
10151 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
10152 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
10153 |
||
10154 |
||
10155 |
# Source file extension for C test sources. |
|
10156 |
ac_ext=c |
|
10157 |
||
10158 |
# Object file extension for compiled C test sources. |
|
10159 |
objext=o |
|
10160 |
objext=$objext |
|
10161 |
||
10162 |
# Code to be used in simple compile tests |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10163 |
lt_simple_compile_test_code="int some_variable = 0;" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10164 |
|
10165 |
# Code to be used in simple link tests |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10166 |
lt_simple_link_test_code='int main(){return(0);}' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10167 |
|
10168 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10169 |
|
10170 |
||
10171 |
||
10172 |
||
10173 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10174 |
# If no C compiler was specified, use CC. |
10175 |
LTCC=${LTCC-"$CC"} |
|
10176 |
||
10177 |
# If no C compiler flags were specified, use CFLAGS. |
|
10178 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
10179 |
||
10180 |
# Allow CC to be a program name with arguments. |
|
10181 |
compiler=$CC |
|
10182 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10183 |
# Save the default compiler, since it gets overwritten when the other |
10184 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
10185 |
compiler_DEFAULT=$CC |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10186 |
|
10187 |
# save warnings/boilerplate of simple test code |
|
10188 |
ac_outfile=conftest.$ac_objext |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10189 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10190 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
10191 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10192 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10193 |
|
10194 |
ac_outfile=conftest.$ac_objext |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10195 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10196 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
10197 |
_lt_linker_boilerplate=`cat conftest.err` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10198 |
$RM -r conftest* |
10199 |
||
10200 |
||
10201 |
if test -n "$compiler"; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10202 |
|
10203 |
lt_prog_compiler_no_builtin_flag= |
|
10204 |
||
10205 |
if test "$GCC" = yes; then |
|
10206 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
|
10207 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10208 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10209 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10210 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10211 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10212 |
else |
10213 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10214 |
ac_outfile=conftest.$ac_objext |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10215 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10216 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
10217 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
10218 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
10219 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
10220 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
10221 |
# The option is referenced via a variable to avoid confusing sed. |
|
10222 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
10223 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
10224 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
10225 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10226 |
(eval echo "\"\$as_me:10226: $lt_compile\"" >&5) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10227 |
(eval "$lt_compile" 2>conftest.err) |
10228 |
ac_status=$? |
|
10229 |
cat conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10230 |
echo "$as_me:10230: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10231 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
10232 |
# The compiler can only warn and ignore the option if not recognized |
|
10233 |
# So say no if there are warnings other than the usual output. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10234 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10235 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
10236 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
10237 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
10238 |
fi |
|
10239 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10240 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10241 |
|
10242 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10243 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
10244 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10245 |
|
10246 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
10247 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
10248 |
else |
|
10249 |
: |
|
10250 |
fi |
|
10251 |
||
10252 |
fi |
|
10253 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10254 |
|
10255 |
||
10256 |
||
10257 |
||
10258 |
||
10259 |
lt_prog_compiler_wl= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10260 |
lt_prog_compiler_pic= |
10261 |
lt_prog_compiler_static= |
|
10262 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10263 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
10264 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10265 |
|
10266 |
if test "$GCC" = yes; then |
|
10267 |
lt_prog_compiler_wl='-Wl,' |
|
10268 |
lt_prog_compiler_static='-static' |
|
10269 |
||
10270 |
case $host_os in |
|
10271 |
aix*) |
|
10272 |
# All AIX code is PIC. |
|
10273 |
if test "$host_cpu" = ia64; then |
|
10274 |
# AIX 5 now supports IA64 processor |
|
10275 |
lt_prog_compiler_static='-Bstatic' |
|
10276 |
fi |
|
10277 |
;; |
|
10278 |
||
10279 |
amigaos*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10280 |
case $host_cpu in |
10281 |
powerpc) |
|
10282 |
# see comment about AmigaOS4 .so support |
|
10283 |
lt_prog_compiler_pic='-fPIC' |
|
10284 |
;; |
|
10285 |
m68k) |
|
10286 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
10287 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
10288 |
# like `-m68040'. |
|
10289 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
10290 |
;; |
|
10291 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10292 |
;; |
10293 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10294 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10295 |
# PIC is the default for these OSes. |
10296 |
;; |
|
10297 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10298 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10299 |
# This hack is so that the source file can tell whether it is being |
10300 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10301 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
10302 |
# (--disable-auto-import) libraries |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10303 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
10304 |
;; |
|
10305 |
||
10306 |
darwin* | rhapsody*) |
|
10307 |
# PIC is the default on this platform |
|
10308 |
# Common symbols not allowed in MH_DYLIB files |
|
10309 |
lt_prog_compiler_pic='-fno-common' |
|
10310 |
;; |
|
10311 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10312 |
hpux*) |
10313 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
10314 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
10315 |
# sets the default TLS model and affects inlining. |
|
10316 |
case $host_cpu in |
|
10317 |
hppa*64*) |
|
10318 |
# +Z the default |
|
10319 |
;; |
|
10320 |
*) |
|
10321 |
lt_prog_compiler_pic='-fPIC' |
|
10322 |
;; |
|
10323 |
esac |
|
10324 |
;; |
|
10325 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10326 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10327 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
10328 |
# Instead, we relocate shared libraries at runtime. |
|
10329 |
;; |
|
10330 |
||
10331 |
msdosdjgpp*) |
|
10332 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
10333 |
# on systems that don't support them. |
|
10334 |
lt_prog_compiler_can_build_shared=no |
|
10335 |
enable_shared=no |
|
10336 |
;; |
|
10337 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10338 |
*nto* | *qnx*) |
10339 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
10340 |
# it will coredump. |
|
10341 |
lt_prog_compiler_pic='-fPIC -shared' |
|
10342 |
;; |
|
10343 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10344 |
sysv4*MP*) |
10345 |
if test -d /usr/nec; then |
|
10346 |
lt_prog_compiler_pic=-Kconform_pic |
|
10347 |
fi |
|
10348 |
;; |
|
10349 |
||
10350 |
*) |
|
10351 |
lt_prog_compiler_pic='-fPIC' |
|
10352 |
;; |
|
10353 |
esac |
|
10354 |
else |
|
10355 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
10356 |
case $host_os in |
|
10357 |
aix*) |
|
10358 |
lt_prog_compiler_wl='-Wl,' |
|
10359 |
if test "$host_cpu" = ia64; then |
|
10360 |
# AIX 5 now supports IA64 processor |
|
10361 |
lt_prog_compiler_static='-Bstatic' |
|
10362 |
else |
|
10363 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
10364 |
fi |
|
10365 |
;; |
|
10366 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10367 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10368 |
# This hack is so that the source file can tell whether it is being |
10369 |
# built for inclusion in a dll (and should export symbols for example). |
|
10370 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
10371 |
;; |
|
10372 |
||
10373 |
hpux9* | hpux10* | hpux11*) |
|
10374 |
lt_prog_compiler_wl='-Wl,' |
|
10375 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
10376 |
# not for PA HP-UX. |
|
10377 |
case $host_cpu in |
|
10378 |
hppa*64*|ia64*) |
|
10379 |
# +Z the default |
|
10380 |
;; |
|
10381 |
*) |
|
10382 |
lt_prog_compiler_pic='+Z' |
|
10383 |
;; |
|
10384 |
esac |
|
10385 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
10386 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
10387 |
;; |
|
10388 |
||
10389 |
irix5* | irix6* | nonstopux*) |
|
10390 |
lt_prog_compiler_wl='-Wl,' |
|
10391 |
# PIC (with -KPIC) is the default. |
|
10392 |
lt_prog_compiler_static='-non_shared' |
|
10393 |
;; |
|
10394 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10395 |
linux* | k*bsd*-gnu) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10396 |
case $cc_basename in |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10397 |
# old Intel for x86_64 which still supported -KPIC. |
10398 |
ecc*) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10399 |
lt_prog_compiler_wl='-Wl,' |
10400 |
lt_prog_compiler_pic='-KPIC' |
|
10401 |
lt_prog_compiler_static='-static' |
|
10402 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10403 |
# icc used to be incompatible with GCC. |
10404 |
# ICC 10 doesn't accept -KPIC any more. |
|
10405 |
icc* | ifort*) |
|
10406 |
lt_prog_compiler_wl='-Wl,' |
|
10407 |
lt_prog_compiler_pic='-fPIC' |
|
10408 |
lt_prog_compiler_static='-static' |
|
10409 |
;; |
|
10410 |
# Lahey Fortran 8.1. |
|
10411 |
lf95*) |
|
10412 |
lt_prog_compiler_wl='-Wl,' |
|
10413 |
lt_prog_compiler_pic='--shared' |
|
10414 |
lt_prog_compiler_static='--static' |
|
10415 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10416 |
pgcc* | pgf77* | pgf90* | pgf95*) |
10417 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
10418 |
# which looks to be a dead project) |
|
10419 |
lt_prog_compiler_wl='-Wl,' |
|
10420 |
lt_prog_compiler_pic='-fpic' |
|
10421 |
lt_prog_compiler_static='-Bstatic' |
|
10422 |
;; |
|
10423 |
ccc*) |
|
10424 |
lt_prog_compiler_wl='-Wl,' |
|
10425 |
# All Alpha code is PIC. |
|
10426 |
lt_prog_compiler_static='-non_shared' |
|
10427 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10428 |
xl*) |
10429 |
# IBM XL C 8.0/Fortran 10.1 on PPC |
|
10430 |
lt_prog_compiler_wl='-Wl,' |
|
10431 |
lt_prog_compiler_pic='-qpic' |
|
10432 |
lt_prog_compiler_static='-qstaticlink' |
|
10433 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10434 |
*) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10435 |
case `$CC -V 2>&1 | sed 5q` in |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10436 |
*Sun\ C*) |
10437 |
# Sun C 5.9 |
|
10438 |
lt_prog_compiler_pic='-KPIC' |
|
10439 |
lt_prog_compiler_static='-Bstatic' |
|
10440 |
lt_prog_compiler_wl='-Wl,' |
|
10441 |
;; |
|
10442 |
*Sun\ F*) |
|
10443 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
10444 |
lt_prog_compiler_pic='-KPIC' |
|
10445 |
lt_prog_compiler_static='-Bstatic' |
|
10446 |
lt_prog_compiler_wl='' |
|
10447 |
;; |
|
10448 |
esac |
|
10449 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10450 |
esac |
10451 |
;; |
|
10452 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10453 |
newsos6) |
10454 |
lt_prog_compiler_pic='-KPIC' |
|
10455 |
lt_prog_compiler_static='-Bstatic' |
|
10456 |
;; |
|
10457 |
||
10458 |
*nto* | *qnx*) |
|
10459 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
10460 |
# it will coredump. |
|
10461 |
lt_prog_compiler_pic='-fPIC -shared' |
|
10462 |
;; |
|
10463 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10464 |
osf3* | osf4* | osf5*) |
10465 |
lt_prog_compiler_wl='-Wl,' |
|
10466 |
# All OSF/1 code is PIC. |
|
10467 |
lt_prog_compiler_static='-non_shared' |
|
10468 |
;; |
|
10469 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10470 |
rdos*) |
10471 |
lt_prog_compiler_static='-non_shared' |
|
10472 |
;; |
|
10473 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10474 |
solaris*) |
10475 |
lt_prog_compiler_pic='-KPIC' |
|
10476 |
lt_prog_compiler_static='-Bstatic' |
|
10477 |
case $cc_basename in |
|
10478 |
f77* | f90* | f95*) |
|
10479 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
10480 |
*) |
|
10481 |
lt_prog_compiler_wl='-Wl,';; |
|
10482 |
esac |
|
10483 |
;; |
|
10484 |
||
10485 |
sunos4*) |
|
10486 |
lt_prog_compiler_wl='-Qoption ld ' |
|
10487 |
lt_prog_compiler_pic='-PIC' |
|
10488 |
lt_prog_compiler_static='-Bstatic' |
|
10489 |
;; |
|
10490 |
||
10491 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
10492 |
lt_prog_compiler_wl='-Wl,' |
|
10493 |
lt_prog_compiler_pic='-KPIC' |
|
10494 |
lt_prog_compiler_static='-Bstatic' |
|
10495 |
;; |
|
10496 |
||
10497 |
sysv4*MP*) |
|
10498 |
if test -d /usr/nec ;then |
|
10499 |
lt_prog_compiler_pic='-Kconform_pic' |
|
10500 |
lt_prog_compiler_static='-Bstatic' |
|
10501 |
fi |
|
10502 |
;; |
|
10503 |
||
10504 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
10505 |
lt_prog_compiler_wl='-Wl,' |
|
10506 |
lt_prog_compiler_pic='-KPIC' |
|
10507 |
lt_prog_compiler_static='-Bstatic' |
|
10508 |
;; |
|
10509 |
||
10510 |
unicos*) |
|
10511 |
lt_prog_compiler_wl='-Wl,' |
|
10512 |
lt_prog_compiler_can_build_shared=no |
|
10513 |
;; |
|
10514 |
||
10515 |
uts4*) |
|
10516 |
lt_prog_compiler_pic='-pic' |
|
10517 |
lt_prog_compiler_static='-Bstatic' |
|
10518 |
;; |
|
10519 |
||
10520 |
*) |
|
10521 |
lt_prog_compiler_can_build_shared=no |
|
10522 |
;; |
|
10523 |
esac |
|
10524 |
fi |
|
10525 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10526 |
case $host_os in |
10527 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
10528 |
*djgpp*) |
|
10529 |
lt_prog_compiler_pic= |
|
10530 |
;; |
|
10531 |
*) |
|
10532 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
10533 |
;; |
|
10534 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10535 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
10536 |
$as_echo "$lt_prog_compiler_pic" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10537 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10538 |
|
10539 |
||
10540 |
||
10541 |
||
10542 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10543 |
# |
10544 |
# Check to make sure the PIC flag actually works. |
|
10545 |
# |
|
10546 |
if test -n "$lt_prog_compiler_pic"; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10547 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10548 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
10549 |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
|
10550 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10551 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10552 |
lt_cv_prog_compiler_pic_works=no |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10553 |
ac_outfile=conftest.$ac_objext |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10554 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10555 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
10556 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
10557 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
10558 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
10559 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
10560 |
# The option is referenced via a variable to avoid confusing sed. |
|
10561 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
10562 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
10563 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
10564 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10565 |
(eval echo "\"\$as_me:10565: $lt_compile\"" >&5) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10566 |
(eval "$lt_compile" 2>conftest.err) |
10567 |
ac_status=$? |
|
10568 |
cat conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10569 |
echo "$as_me:10569: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10570 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
10571 |
# The compiler can only warn and ignore the option if not recognized |
|
10572 |
# So say no if there are warnings other than the usual output. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10573 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10574 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
10575 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10576 |
lt_cv_prog_compiler_pic_works=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10577 |
fi |
10578 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10579 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10580 |
|
10581 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10582 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
10583 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10584 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10585 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10586 |
case $lt_prog_compiler_pic in |
10587 |
"" | " "*) ;; |
|
10588 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
10589 |
esac |
|
10590 |
else |
|
10591 |
lt_prog_compiler_pic= |
|
10592 |
lt_prog_compiler_can_build_shared=no |
|
10593 |
fi |
|
10594 |
||
10595 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10596 |
|
10597 |
||
10598 |
||
10599 |
||
10600 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10601 |
|
10602 |
# |
|
10603 |
# Check to make sure the static flag actually works. |
|
10604 |
# |
|
10605 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10606 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
10607 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
10608 |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
|
10609 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10610 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10611 |
lt_cv_prog_compiler_static_works=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10612 |
save_LDFLAGS="$LDFLAGS" |
10613 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10614 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10615 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
10616 |
# The linker can only warn and ignore the option if not recognized |
|
10617 |
# So say no if there are warnings |
|
10618 |
if test -s conftest.err; then |
|
10619 |
# Append any errors to the config.log. |
|
10620 |
cat conftest.err 1>&5 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10621 |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10622 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
10623 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10624 |
lt_cv_prog_compiler_static_works=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10625 |
fi |
10626 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10627 |
lt_cv_prog_compiler_static_works=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10628 |
fi |
10629 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10630 |
$RM -r conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10631 |
LDFLAGS="$save_LDFLAGS" |
10632 |
||
10633 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10634 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
10635 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10636 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10637 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10638 |
: |
10639 |
else |
|
10640 |
lt_prog_compiler_static= |
|
10641 |
fi |
|
10642 |
||
10643 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10644 |
|
10645 |
||
10646 |
||
10647 |
||
10648 |
||
10649 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
10650 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
10651 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
10652 |
$as_echo_n "(cached) " >&6 |
|
10653 |
else |
|
10654 |
lt_cv_prog_compiler_c_o=no |
|
10655 |
$RM -r conftest 2>/dev/null |
|
10656 |
mkdir conftest |
|
10657 |
cd conftest |
|
10658 |
mkdir out |
|
10659 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
10660 |
||
10661 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
10662 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
10663 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
10664 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
10665 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
10666 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
10667 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
10668 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
10669 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10670 |
(eval echo "\"\$as_me:10670: $lt_compile\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10671 |
(eval "$lt_compile" 2>out/conftest.err) |
10672 |
ac_status=$? |
|
10673 |
cat out/conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10674 |
echo "$as_me:10674: \$? = $ac_status" >&5 |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10675 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10676 |
then |
|
10677 |
# The compiler can only warn and ignore the option if not recognized |
|
10678 |
# So say no if there are warnings |
|
10679 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
10680 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
10681 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
10682 |
lt_cv_prog_compiler_c_o=yes |
|
10683 |
fi |
|
10684 |
fi |
|
10685 |
chmod u+w . 2>&5 |
|
10686 |
$RM conftest* |
|
10687 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
10688 |
# template instantiation |
|
10689 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
10690 |
$RM out/* && rmdir out |
|
10691 |
cd .. |
|
10692 |
$RM -r conftest |
|
10693 |
$RM conftest* |
|
10694 |
||
10695 |
fi |
|
10696 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
10697 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
10698 |
||
10699 |
||
10700 |
||
10701 |
||
10702 |
||
10703 |
||
10704 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
10705 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
10706 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
10707 |
$as_echo_n "(cached) " >&6 |
|
10708 |
else |
|
10709 |
lt_cv_prog_compiler_c_o=no |
|
10710 |
$RM -r conftest 2>/dev/null |
|
10711 |
mkdir conftest |
|
10712 |
cd conftest |
|
10713 |
mkdir out |
|
10714 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
10715 |
||
10716 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
10717 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
10718 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
10719 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
10720 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
10721 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
10722 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
10723 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
10724 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10725 |
(eval echo "\"\$as_me:10725: $lt_compile\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10726 |
(eval "$lt_compile" 2>out/conftest.err) |
10727 |
ac_status=$? |
|
10728 |
cat out/conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
10729 |
echo "$as_me:10729: \$? = $ac_status" >&5 |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10730 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10731 |
then |
|
10732 |
# The compiler can only warn and ignore the option if not recognized |
|
10733 |
# So say no if there are warnings |
|
10734 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
10735 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
10736 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
10737 |
lt_cv_prog_compiler_c_o=yes |
|
10738 |
fi |
|
10739 |
fi |
|
10740 |
chmod u+w . 2>&5 |
|
10741 |
$RM conftest* |
|
10742 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
10743 |
# template instantiation |
|
10744 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
10745 |
$RM out/* && rmdir out |
|
10746 |
cd .. |
|
10747 |
$RM -r conftest |
|
10748 |
$RM conftest* |
|
10749 |
||
10750 |
fi |
|
10751 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
10752 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
10753 |
||
10754 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10755 |
|
10756 |
||
10757 |
hard_links="nottested" |
|
10758 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
10759 |
# do not overwrite the value of need_locks provided by the user |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10760 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
10761 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10762 |
hard_links=yes |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10763 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10764 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
10765 |
touch conftest.a |
|
10766 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
10767 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10768 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
10769 |
$as_echo "$hard_links" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10770 |
if test "$hard_links" = no; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10771 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
10772 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10773 |
need_locks=warn |
10774 |
fi |
|
10775 |
else |
|
10776 |
need_locks=no |
|
10777 |
fi |
|
10778 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10779 |
|
10780 |
||
10781 |
||
10782 |
||
10783 |
||
10784 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10785 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10786 |
|
10787 |
runpath_var= |
|
10788 |
allow_undefined_flag= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10789 |
always_export_symbols=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10790 |
archive_cmds= |
10791 |
archive_expsym_cmds= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10792 |
compiler_needs_object=no |
10793 |
enable_shared_with_static_runtimes=no |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10794 |
export_dynamic_flag_spec= |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10795 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
10796 |
hardcode_automatic=no |
|
10797 |
hardcode_direct=no |
|
10798 |
hardcode_direct_absolute=no |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10799 |
hardcode_libdir_flag_spec= |
10800 |
hardcode_libdir_flag_spec_ld= |
|
10801 |
hardcode_libdir_separator= |
|
10802 |
hardcode_minus_L=no |
|
10803 |
hardcode_shlibpath_var=unsupported |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10804 |
inherit_rpath=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10805 |
link_all_deplibs=unknown |
10806 |
module_cmds= |
|
10807 |
module_expsym_cmds= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10808 |
old_archive_from_new_cmds= |
10809 |
old_archive_from_expsyms_cmds= |
|
10810 |
thread_safe_flag_spec= |
|
10811 |
whole_archive_flag_spec= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10812 |
# include_expsyms should be a list of space-separated symbols to be *always* |
10813 |
# included in the symbol list |
|
10814 |
include_expsyms= |
|
10815 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
10816 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
10817 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
10818 |
# as well as any symbol that contains `d'. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10819 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10820 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
10821 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
10822 |
# the symbol is explicitly referenced. Since portable code cannot |
|
10823 |
# rely on this symbol name, it's probably fine to never include it in |
|
10824 |
# preloaded symbol tables. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10825 |
# Exclude shared library initialization/finalization symbols. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10826 |
extract_expsyms_cmds= |
10827 |
||
10828 |
case $host_os in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10829 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10830 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
10831 |
# When not using gcc, we currently assume that we are using |
|
10832 |
# Microsoft Visual C++. |
|
10833 |
if test "$GCC" != yes; then |
|
10834 |
with_gnu_ld=no |
|
10835 |
fi |
|
10836 |
;; |
|
10837 |
interix*) |
|
10838 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
10839 |
with_gnu_ld=yes |
|
10840 |
;; |
|
10841 |
openbsd*) |
|
10842 |
with_gnu_ld=no |
|
10843 |
;; |
|
10844 |
esac |
|
10845 |
||
10846 |
ld_shlibs=yes |
|
10847 |
if test "$with_gnu_ld" = yes; then |
|
10848 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
10849 |
wlarc='${wl}' |
|
10850 |
||
10851 |
# Set some defaults for GNU ld with shared library support. These |
|
10852 |
# are reset later if shared libraries are not supported. Putting them |
|
10853 |
# here allows them to be overridden if necessary. |
|
10854 |
runpath_var=LD_RUN_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10855 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10856 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
10857 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10858 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
10859 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
10860 |
else |
|
10861 |
whole_archive_flag_spec= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10862 |
fi |
10863 |
supports_anon_versioning=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10864 |
case `$LD -v 2>&1` in |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10865 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
10866 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
10867 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
10868 |
*\ 2.11.*) ;; # other 2.11 versions |
|
10869 |
*) supports_anon_versioning=yes ;; |
|
10870 |
esac |
|
10871 |
||
10872 |
# See if GNU ld supports shared libraries. |
|
10873 |
case $host_os in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
10874 |
aix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10875 |
# On AIX/PPC, the GNU linker is very broken |
10876 |
if test "$host_cpu" != ia64; then |
|
10877 |
ld_shlibs=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10878 |
cat <<_LT_EOF 1>&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10879 |
|
10880 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
10881 |
*** to be unable to reliably create shared libraries on AIX. |
|
10882 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
10883 |
*** really care for shared libraries, you may want to modify your PATH |
|
10884 |
*** so that a non-GNU linker is found, and then restart. |
|
10885 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10886 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10887 |
fi |
10888 |
;; |
|
10889 |
||
10890 |
amigaos*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10891 |
case $host_cpu in |
10892 |
powerpc) |
|
10893 |
# see comment about AmigaOS4 .so support |
|
10894 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
10895 |
archive_expsym_cmds='' |
|
10896 |
;; |
|
10897 |
m68k) |
|
10898 |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
10899 |
hardcode_libdir_flag_spec='-L$libdir' |
|
10900 |
hardcode_minus_L=yes |
|
10901 |
;; |
|
10902 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10903 |
;; |
10904 |
||
10905 |
beos*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10906 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10907 |
allow_undefined_flag=unsupported |
10908 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
10909 |
# support --undefined. This deserves some investigation. FIXME |
|
10910 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
10911 |
else |
|
10912 |
ld_shlibs=no |
|
10913 |
fi |
|
10914 |
;; |
|
10915 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10916 |
cygwin* | mingw* | pw32* | cegcc*) |
10917 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10918 |
# as there is no search path for DLLs. |
10919 |
hardcode_libdir_flag_spec='-L$libdir' |
|
10920 |
allow_undefined_flag=unsupported |
|
10921 |
always_export_symbols=no |
|
10922 |
enable_shared_with_static_runtimes=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10923 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10924 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10925 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10926 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
10927 |
# If the export-symbols file already is a .def file (1st line |
|
10928 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
10929 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
10930 |
cp $export_symbols $output_objdir/$soname.def; |
|
10931 |
else |
|
10932 |
echo EXPORTS > $output_objdir/$soname.def; |
|
10933 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
10934 |
fi~ |
|
10935 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
10936 |
else |
|
10937 |
ld_shlibs=no |
|
10938 |
fi |
|
10939 |
;; |
|
10940 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10941 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10942 |
hardcode_direct=no |
10943 |
hardcode_shlibpath_var=no |
|
10944 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
10945 |
export_dynamic_flag_spec='${wl}-E' |
|
10946 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
10947 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
10948 |
# default) and relocated if they conflict, which is a slow very memory |
|
10949 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
10950 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
10951 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
10952 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
10953 |
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' |
|
10954 |
;; |
|
10955 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10956 |
gnu* | linux* | tpf* | k*bsd*-gnu) |
10957 |
tmp_diet=no |
|
10958 |
if test "$host_os" = linux-dietlibc; then |
|
10959 |
case $cc_basename in |
|
10960 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
10961 |
esac |
|
10962 |
fi |
|
10963 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
10964 |
&& test "$tmp_diet" = no |
|
10965 |
then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10966 |
tmp_addflag= |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10967 |
tmp_sharedflag='-shared' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10968 |
case $cc_basename,$host_cpu in |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10969 |
pgcc*) # Portland Group C compiler |
10970 |
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' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10971 |
tmp_addflag=' $pic_flag' |
10972 |
;; |
|
10973 |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10974 |
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' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10975 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10976 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10977 |
tmp_addflag=' -i_dynamic' ;; |
10978 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
10979 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
10980 |
ifc* | ifort*) # Intel Fortran compiler |
|
10981 |
tmp_addflag=' -nofor_main' ;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10982 |
lf95*) # Lahey Fortran 8.1 |
10983 |
whole_archive_flag_spec= |
|
10984 |
tmp_sharedflag='--shared' ;; |
|
10985 |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
10986 |
tmp_sharedflag='-qmkshrobj' |
|
10987 |
tmp_addflag= ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10988 |
esac |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10989 |
case `$CC -V 2>&1 | sed 5q` in |
10990 |
*Sun\ C*) # Sun C 5.9 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10991 |
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' |
10992 |
compiler_needs_object=yes |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
10993 |
tmp_sharedflag='-G' ;; |
10994 |
*Sun\ F*) # Sun Fortran 8.3 |
|
10995 |
tmp_sharedflag='-G' ;; |
|
10996 |
esac |
|
10997 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
10998 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
10999 |
if test "x$supports_anon_versioning" = xyes; then |
11000 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
11001 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
11002 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
11003 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
11004 |
fi |
|
11005 |
||
11006 |
case $cc_basename in |
|
11007 |
xlf*) |
|
11008 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
11009 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
11010 |
hardcode_libdir_flag_spec= |
|
11011 |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
|
11012 |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
|
11013 |
if test "x$supports_anon_versioning" = xyes; then |
|
11014 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
11015 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
11016 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
11017 |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
11018 |
fi |
|
11019 |
;; |
|
11020 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11021 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11022 |
ld_shlibs=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11023 |
fi |
11024 |
;; |
|
11025 |
||
11026 |
netbsd*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11027 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11028 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
11029 |
wlarc= |
|
11030 |
else |
|
11031 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11032 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11033 |
fi |
|
11034 |
;; |
|
11035 |
||
11036 |
solaris*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11037 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11038 |
ld_shlibs=no |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11039 |
cat <<_LT_EOF 1>&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11040 |
|
11041 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
11042 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
11043 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
11044 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
11045 |
*** your PATH or compiler configuration so that the native linker is |
|
11046 |
*** used, and then restart. |
|
11047 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11048 |
_LT_EOF |
11049 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11050 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11051 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11052 |
else |
|
11053 |
ld_shlibs=no |
|
11054 |
fi |
|
11055 |
;; |
|
11056 |
||
11057 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
11058 |
case `$LD -v 2>&1` in |
|
11059 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
11060 |
ld_shlibs=no |
|
11061 |
cat <<_LT_EOF 1>&2 |
|
11062 |
||
11063 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
11064 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
11065 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
11066 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
11067 |
*** your PATH or compiler configuration so that the native linker is |
|
11068 |
*** used, and then restart. |
|
11069 |
||
11070 |
_LT_EOF |
|
11071 |
;; |
|
11072 |
*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11073 |
# For security reasons, it is highly recommended that you always |
11074 |
# use absolute paths for naming shared libraries, and exclude the |
|
11075 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
11076 |
# requires that you compile everything twice, which is a pain. |
|
11077 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
11078 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
11079 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11080 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11081 |
else |
11082 |
ld_shlibs=no |
|
11083 |
fi |
|
11084 |
;; |
|
11085 |
esac |
|
11086 |
;; |
|
11087 |
||
11088 |
sunos4*) |
|
11089 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
11090 |
wlarc= |
|
11091 |
hardcode_direct=yes |
|
11092 |
hardcode_shlibpath_var=no |
|
11093 |
;; |
|
11094 |
||
11095 |
*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11096 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11097 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11098 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11099 |
else |
|
11100 |
ld_shlibs=no |
|
11101 |
fi |
|
11102 |
;; |
|
11103 |
esac |
|
11104 |
||
11105 |
if test "$ld_shlibs" = no; then |
|
11106 |
runpath_var= |
|
11107 |
hardcode_libdir_flag_spec= |
|
11108 |
export_dynamic_flag_spec= |
|
11109 |
whole_archive_flag_spec= |
|
11110 |
fi |
|
11111 |
else |
|
11112 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
11113 |
case $host_os in |
|
11114 |
aix3*) |
|
11115 |
allow_undefined_flag=unsupported |
|
11116 |
always_export_symbols=yes |
|
11117 |
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
11118 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
11119 |
# are no directories specified by -L. |
|
11120 |
hardcode_minus_L=yes |
|
11121 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
11122 |
# Neither direct hardcoding nor static linking is supported with a |
|
11123 |
# broken collect2. |
|
11124 |
hardcode_direct=unsupported |
|
11125 |
fi |
|
11126 |
;; |
|
11127 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11128 |
aix[4-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11129 |
if test "$host_cpu" = ia64; then |
11130 |
# On IA64, the linker does run time linking by default, so we don't |
|
11131 |
# have to do anything special. |
|
11132 |
aix_use_runtimelinking=no |
|
11133 |
exp_sym_flag='-Bexport' |
|
11134 |
no_entry_flag="" |
|
11135 |
else |
|
11136 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
11137 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11138 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
11139 |
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' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11140 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11141 |
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' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11142 |
fi |
11143 |
aix_use_runtimelinking=no |
|
11144 |
||
11145 |
# Test if we are trying to use run time linking or normal |
|
11146 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
11147 |
# need to do runtime linking. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11148 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11149 |
for ld_flag in $LDFLAGS; do |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11150 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
11151 |
aix_use_runtimelinking=yes |
|
11152 |
break |
|
11153 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11154 |
done |
11155 |
;; |
|
11156 |
esac |
|
11157 |
||
11158 |
exp_sym_flag='-bexport' |
|
11159 |
no_entry_flag='-bnoentry' |
|
11160 |
fi |
|
11161 |
||
11162 |
# When large executables or shared objects are built, AIX ld can |
|
11163 |
# have problems creating the table of contents. If linking a library |
|
11164 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
11165 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
11166 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
11167 |
||
11168 |
archive_cmds='' |
|
11169 |
hardcode_direct=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11170 |
hardcode_direct_absolute=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11171 |
hardcode_libdir_separator=':' |
11172 |
link_all_deplibs=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11173 |
file_list_spec='${wl}-f,' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11174 |
|
11175 |
if test "$GCC" = yes; then |
|
11176 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
11177 |
# We only want to do this on AIX 4.2 and lower, the check |
|
11178 |
# below for broken collect2 doesn't work under 4.3+ |
|
11179 |
collect2name=`${CC} -print-prog-name=collect2` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11180 |
if test -f "$collect2name" && |
11181 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11182 |
then |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11183 |
# We have reworked collect2 |
11184 |
: |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11185 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11186 |
# We have old collect2 |
11187 |
hardcode_direct=unsupported |
|
11188 |
# It fails to find uninstalled libraries when the uninstalled |
|
11189 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
11190 |
# to unsupported forces relinking |
|
11191 |
hardcode_minus_L=yes |
|
11192 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11193 |
hardcode_libdir_separator= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11194 |
fi |
11195 |
;; |
|
11196 |
esac |
|
11197 |
shared_flag='-shared' |
|
11198 |
if test "$aix_use_runtimelinking" = yes; then |
|
11199 |
shared_flag="$shared_flag "'${wl}-G' |
|
11200 |
fi |
|
11201 |
else |
|
11202 |
# not using gcc |
|
11203 |
if test "$host_cpu" = ia64; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11204 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
11205 |
# chokes on -Wl,-G. The following line is correct: |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11206 |
shared_flag='-G' |
11207 |
else |
|
11208 |
if test "$aix_use_runtimelinking" = yes; then |
|
11209 |
shared_flag='${wl}-G' |
|
11210 |
else |
|
11211 |
shared_flag='${wl}-bM:SRE' |
|
11212 |
fi |
|
11213 |
fi |
|
11214 |
fi |
|
11215 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11216 |
export_dynamic_flag_spec='${wl}-bexpall' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11217 |
# It seems that -bexpall does not export symbols beginning with |
11218 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
11219 |
always_export_symbols=yes |
|
11220 |
if test "$aix_use_runtimelinking" = yes; then |
|
11221 |
# Warning - without using the other runtime loading flags (-brtl), |
|
11222 |
# -berok will link without error, but may produce a broken library. |
|
11223 |
allow_undefined_flag='-berok' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11224 |
# Determine the default libpath from the value encoded in an |
11225 |
# empty executable. |
|
11226 |
cat >conftest.$ac_ext <<_ACEOF |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11227 |
/* confdefs.h. */ |
11228 |
_ACEOF |
|
11229 |
cat confdefs.h >>conftest.$ac_ext |
|
11230 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11231 |
/* end confdefs.h. */ |
|
11232 |
||
11233 |
int |
|
11234 |
main () |
|
11235 |
{ |
|
11236 |
||
11237 |
; |
|
11238 |
return 0; |
|
11239 |
} |
|
11240 |
_ACEOF |
|
11241 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11242 |
if { (ac_try="$ac_link" |
11243 |
case "(($ac_try" in |
|
11244 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11245 |
*) ac_try_echo=$ac_try;; |
|
11246 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11247 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11248 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11249 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11250 |
ac_status=$? |
11251 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
11252 |
rm -f conftest.er1 |
|
11253 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11254 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11255 |
(exit $ac_status); } && { |
11256 |
test -z "$ac_c_werror_flag" || |
|
11257 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11258 |
} && test -s conftest$ac_exeext && { |
11259 |
test "$cross_compiling" = yes || |
|
11260 |
$as_test_x conftest$ac_exeext |
|
11261 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11262 |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11263 |
lt_aix_libpath_sed=' |
11264 |
/Import File Strings/,/^$/ { |
|
11265 |
/^0/ { |
|
11266 |
s/^0 *\(.*\)$/\1/ |
|
11267 |
p |
|
11268 |
} |
|
11269 |
}' |
|
11270 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11271 |
# Check for a 64-bit object if we didn't find anything. |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11272 |
if test -z "$aix_libpath"; then |
11273 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11274 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11275 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11276 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11277 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11278 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11279 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11280 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11281 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11282 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11283 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11284 |
conftest$ac_exeext conftest.$ac_ext |
11285 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
11286 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11287 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
11288 |
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" |
|
11289 |
else |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11290 |
if test "$host_cpu" = ia64; then |
11291 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
11292 |
allow_undefined_flag="-z nodefs" |
|
11293 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
11294 |
else |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11295 |
# Determine the default libpath from the value encoded in an |
11296 |
# empty executable. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11297 |
cat >conftest.$ac_ext <<_ACEOF |
11298 |
/* confdefs.h. */ |
|
11299 |
_ACEOF |
|
11300 |
cat confdefs.h >>conftest.$ac_ext |
|
11301 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11302 |
/* end confdefs.h. */ |
|
11303 |
||
11304 |
int |
|
11305 |
main () |
|
11306 |
{ |
|
11307 |
||
11308 |
; |
|
11309 |
return 0; |
|
11310 |
} |
|
11311 |
_ACEOF |
|
11312 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11313 |
if { (ac_try="$ac_link" |
11314 |
case "(($ac_try" in |
|
11315 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11316 |
*) ac_try_echo=$ac_try;; |
|
11317 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11318 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11319 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11320 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11321 |
ac_status=$? |
11322 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
11323 |
rm -f conftest.er1 |
|
11324 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11325 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11326 |
(exit $ac_status); } && { |
11327 |
test -z "$ac_c_werror_flag" || |
|
11328 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11329 |
} && test -s conftest$ac_exeext && { |
11330 |
test "$cross_compiling" = yes || |
|
11331 |
$as_test_x conftest$ac_exeext |
|
11332 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11333 |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11334 |
lt_aix_libpath_sed=' |
11335 |
/Import File Strings/,/^$/ { |
|
11336 |
/^0/ { |
|
11337 |
s/^0 *\(.*\)$/\1/ |
|
11338 |
p |
|
11339 |
} |
|
11340 |
}' |
|
11341 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11342 |
# Check for a 64-bit object if we didn't find anything. |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11343 |
if test -z "$aix_libpath"; then |
11344 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11345 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11346 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11347 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11348 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11349 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11350 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11351 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11352 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11353 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
11354 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11355 |
conftest$ac_exeext conftest.$ac_ext |
11356 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
11357 |
||
11358 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11359 |
# Warning - without using the other run time loading flags, |
|
11360 |
# -berok will link without error, but may produce a broken library. |
|
11361 |
no_undefined_flag=' ${wl}-bernotok' |
|
11362 |
allow_undefined_flag=' ${wl}-berok' |
|
11363 |
# Exported symbols can be pulled into shared objects from archives |
|
11364 |
whole_archive_flag_spec='$convenience' |
|
11365 |
archive_cmds_need_lc=yes |
|
11366 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
11367 |
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' |
|
11368 |
fi |
|
11369 |
fi |
|
11370 |
;; |
|
11371 |
||
11372 |
amigaos*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11373 |
case $host_cpu in |
11374 |
powerpc) |
|
11375 |
# see comment about AmigaOS4 .so support |
|
11376 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11377 |
archive_expsym_cmds='' |
|
11378 |
;; |
|
11379 |
m68k) |
|
11380 |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
11381 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11382 |
hardcode_minus_L=yes |
|
11383 |
;; |
|
11384 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11385 |
;; |
11386 |
||
11387 |
bsdi[45]*) |
|
11388 |
export_dynamic_flag_spec=-rdynamic |
|
11389 |
;; |
|
11390 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11391 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11392 |
# When not using gcc, we currently assume that we are using |
11393 |
# Microsoft Visual C++. |
|
11394 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
11395 |
# no search path for DLLs. |
|
11396 |
hardcode_libdir_flag_spec=' ' |
|
11397 |
allow_undefined_flag=unsupported |
|
11398 |
# Tell ltmain to make .lib files, not .a files. |
|
11399 |
libext=lib |
|
11400 |
# Tell ltmain to make .dll files, not .so files. |
|
11401 |
shrext_cmds=".dll" |
|
11402 |
# FIXME: Setting linknames here is a bad hack. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11403 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11404 |
# The linker will automatically build a .lib file if we build a DLL. |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11405 |
old_archive_from_new_cmds='true' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11406 |
# FIXME: Should let the user specify the lib program. |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11407 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11408 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
11409 |
enable_shared_with_static_runtimes=yes |
|
11410 |
;; |
|
11411 |
||
11412 |
darwin* | rhapsody*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11413 |
|
11414 |
||
11415 |
archive_cmds_need_lc=no |
|
11416 |
hardcode_direct=no |
|
11417 |
hardcode_automatic=yes |
|
11418 |
hardcode_shlibpath_var=unsupported |
|
11419 |
whole_archive_flag_spec='' |
|
11420 |
link_all_deplibs=yes |
|
11421 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
11422 |
case $cc_basename in |
|
11423 |
ifort*) _lt_dar_can_shared=yes ;; |
|
11424 |
*) _lt_dar_can_shared=$GCC ;; |
|
11425 |
esac |
|
11426 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
11427 |
output_verbose_link_cmd=echo |
|
11428 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
11429 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
11430 |
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}" |
|
11431 |
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
|
11432 |
||
11433 |
else |
|
11434 |
ld_shlibs=no |
|
11435 |
fi |
|
11436 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11437 |
;; |
11438 |
||
11439 |
dgux*) |
|
11440 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11441 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11442 |
hardcode_shlibpath_var=no |
|
11443 |
;; |
|
11444 |
||
11445 |
freebsd1*) |
|
11446 |
ld_shlibs=no |
|
11447 |
;; |
|
11448 |
||
11449 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
11450 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
11451 |
# does not break anything, and helps significantly (at the cost of a little |
|
11452 |
# extra space). |
|
11453 |
freebsd2.2*) |
|
11454 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
11455 |
hardcode_libdir_flag_spec='-R$libdir' |
|
11456 |
hardcode_direct=yes |
|
11457 |
hardcode_shlibpath_var=no |
|
11458 |
;; |
|
11459 |
||
11460 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
11461 |
freebsd2*) |
|
11462 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
11463 |
hardcode_direct=yes |
|
11464 |
hardcode_minus_L=yes |
|
11465 |
hardcode_shlibpath_var=no |
|
11466 |
;; |
|
11467 |
||
11468 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11469 |
freebsd* | dragonfly*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11470 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
11471 |
hardcode_libdir_flag_spec='-R$libdir' |
|
11472 |
hardcode_direct=yes |
|
11473 |
hardcode_shlibpath_var=no |
|
11474 |
;; |
|
11475 |
||
11476 |
hpux9*) |
|
11477 |
if test "$GCC" = yes; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11478 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11479 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11480 |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11481 |
fi |
11482 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
11483 |
hardcode_libdir_separator=: |
|
11484 |
hardcode_direct=yes |
|
11485 |
||
11486 |
# hardcode_minus_L: Not really in the search PATH, |
|
11487 |
# but as the default location of the library. |
|
11488 |
hardcode_minus_L=yes |
|
11489 |
export_dynamic_flag_spec='${wl}-E' |
|
11490 |
;; |
|
11491 |
||
11492 |
hpux10*) |
|
11493 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
11494 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
11495 |
else |
|
11496 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
11497 |
fi |
|
11498 |
if test "$with_gnu_ld" = no; then |
|
11499 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11500 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11501 |
hardcode_libdir_separator=: |
11502 |
hardcode_direct=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11503 |
hardcode_direct_absolute=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11504 |
export_dynamic_flag_spec='${wl}-E' |
11505 |
# hardcode_minus_L: Not really in the search PATH, |
|
11506 |
# but as the default location of the library. |
|
11507 |
hardcode_minus_L=yes |
|
11508 |
fi |
|
11509 |
;; |
|
11510 |
||
11511 |
hpux11*) |
|
11512 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
11513 |
case $host_cpu in |
|
11514 |
hppa*64*) |
|
11515 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11516 |
;; |
|
11517 |
ia64*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11518 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11519 |
;; |
11520 |
*) |
|
11521 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
11522 |
;; |
|
11523 |
esac |
|
11524 |
else |
|
11525 |
case $host_cpu in |
|
11526 |
hppa*64*) |
|
11527 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11528 |
;; |
|
11529 |
ia64*) |
|
11530 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
11531 |
;; |
|
11532 |
*) |
|
11533 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
11534 |
;; |
|
11535 |
esac |
|
11536 |
fi |
|
11537 |
if test "$with_gnu_ld" = no; then |
|
11538 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
11539 |
hardcode_libdir_separator=: |
|
11540 |
||
11541 |
case $host_cpu in |
|
11542 |
hppa*64*|ia64*) |
|
11543 |
hardcode_direct=no |
|
11544 |
hardcode_shlibpath_var=no |
|
11545 |
;; |
|
11546 |
*) |
|
11547 |
hardcode_direct=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11548 |
hardcode_direct_absolute=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11549 |
export_dynamic_flag_spec='${wl}-E' |
11550 |
||
11551 |
# hardcode_minus_L: Not really in the search PATH, |
|
11552 |
# but as the default location of the library. |
|
11553 |
hardcode_minus_L=yes |
|
11554 |
;; |
|
11555 |
esac |
|
11556 |
fi |
|
11557 |
;; |
|
11558 |
||
11559 |
irix5* | irix6* | nonstopux*) |
|
11560 |
if test "$GCC" = yes; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11561 |
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' |
11562 |
# Try to use the -exported_symbol ld option, if it does not |
|
11563 |
# work, assume that -exports_file does not work either and |
|
11564 |
# implicitly export all symbols. |
|
11565 |
save_LDFLAGS="$LDFLAGS" |
|
11566 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
11567 |
cat >conftest.$ac_ext <<_ACEOF |
|
11568 |
int foo(void) {} |
|
11569 |
_ACEOF |
|
11570 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11571 |
if { (ac_try="$ac_link" |
|
11572 |
case "(($ac_try" in |
|
11573 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11574 |
*) ac_try_echo=$ac_try;; |
|
11575 |
esac |
|
11576 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
11577 |
$as_echo "$ac_try_echo") >&5 |
|
11578 |
(eval "$ac_link") 2>conftest.er1 |
|
11579 |
ac_status=$? |
|
11580 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
11581 |
rm -f conftest.er1 |
|
11582 |
cat conftest.err >&5 |
|
11583 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11584 |
(exit $ac_status); } && { |
|
11585 |
test -z "$ac_c_werror_flag" || |
|
11586 |
test ! -s conftest.err |
|
11587 |
} && test -s conftest$ac_exeext && { |
|
11588 |
test "$cross_compiling" = yes || |
|
11589 |
$as_test_x conftest$ac_exeext |
|
11590 |
}; then |
|
11591 |
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' |
|
11592 |
||
11593 |
else |
|
11594 |
$as_echo "$as_me: failed program was:" >&5 |
|
11595 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
11596 |
||
11597 |
||
11598 |
fi |
|
11599 |
||
11600 |
rm -rf conftest.dSYM |
|
11601 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
11602 |
conftest$ac_exeext conftest.$ac_ext |
|
11603 |
LDFLAGS="$save_LDFLAGS" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11604 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11605 |
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' |
11606 |
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' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11607 |
fi |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11608 |
archive_cmds_need_lc='no' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11609 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11610 |
hardcode_libdir_separator=: |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11611 |
inherit_rpath=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11612 |
link_all_deplibs=yes |
11613 |
;; |
|
11614 |
||
11615 |
netbsd*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11616 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11617 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
11618 |
else |
|
11619 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
11620 |
fi |
|
11621 |
hardcode_libdir_flag_spec='-R$libdir' |
|
11622 |
hardcode_direct=yes |
|
11623 |
hardcode_shlibpath_var=no |
|
11624 |
;; |
|
11625 |
||
11626 |
newsos6) |
|
11627 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11628 |
hardcode_direct=yes |
|
11629 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
11630 |
hardcode_libdir_separator=: |
|
11631 |
hardcode_shlibpath_var=no |
|
11632 |
;; |
|
11633 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11634 |
*nto* | *qnx*) |
11635 |
;; |
|
11636 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11637 |
openbsd*) |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11638 |
if test -f /usr/libexec/ld.so; then |
11639 |
hardcode_direct=yes |
|
11640 |
hardcode_shlibpath_var=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11641 |
hardcode_direct_absolute=yes |
11642 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11643 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
11644 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
11645 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
11646 |
export_dynamic_flag_spec='${wl}-E' |
|
11647 |
else |
|
11648 |
case $host_os in |
|
11649 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
11650 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
11651 |
hardcode_libdir_flag_spec='-R$libdir' |
|
11652 |
;; |
|
11653 |
*) |
|
11654 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
11655 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
11656 |
;; |
|
11657 |
esac |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11658 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11659 |
else |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11660 |
ld_shlibs=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11661 |
fi |
11662 |
;; |
|
11663 |
||
11664 |
os2*) |
|
11665 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11666 |
hardcode_minus_L=yes |
|
11667 |
allow_undefined_flag=unsupported |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11668 |
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' |
11669 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11670 |
;; |
11671 |
||
11672 |
osf3*) |
|
11673 |
if test "$GCC" = yes; then |
|
11674 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11675 |
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' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11676 |
else |
11677 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11678 |
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' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11679 |
fi |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11680 |
archive_cmds_need_lc='no' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11681 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11682 |
hardcode_libdir_separator=: |
|
11683 |
;; |
|
11684 |
||
11685 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
11686 |
if test "$GCC" = yes; then |
|
11687 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11688 |
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' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11689 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11690 |
else |
|
11691 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11692 |
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' |
11693 |
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~ |
|
11694 |
$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' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11695 |
|
11696 |
# Both c and cxx compiler support -rpath directly |
|
11697 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
11698 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11699 |
archive_cmds_need_lc='no' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11700 |
hardcode_libdir_separator=: |
11701 |
;; |
|
11702 |
||
11703 |
solaris*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11704 |
no_undefined_flag=' -z defs' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11705 |
if test "$GCC" = yes; then |
11706 |
wlarc='${wl}' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11707 |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
11708 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
11709 |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11710 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11711 |
case `$CC -V 2>&1` in |
11712 |
*"Compilers 5.0"*) |
|
11713 |
wlarc='' |
|
11714 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11715 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
11716 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
11717 |
;; |
|
11718 |
*) |
|
11719 |
wlarc='${wl}' |
|
11720 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11721 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
11722 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
11723 |
;; |
|
11724 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11725 |
fi |
11726 |
hardcode_libdir_flag_spec='-R$libdir' |
|
11727 |
hardcode_shlibpath_var=no |
|
11728 |
case $host_os in |
|
11729 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
11730 |
*) |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11731 |
# The compiler driver will combine and reorder linker options, |
11732 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
11733 |
# but is careful enough not to reorder. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11734 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11735 |
if test "$GCC" = yes; then |
11736 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
11737 |
else |
|
11738 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
11739 |
fi |
|
11740 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11741 |
esac |
11742 |
link_all_deplibs=yes |
|
11743 |
;; |
|
11744 |
||
11745 |
sunos4*) |
|
11746 |
if test "x$host_vendor" = xsequent; then |
|
11747 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
11748 |
# files that make .init and .fini sections work. |
|
11749 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11750 |
else |
|
11751 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
11752 |
fi |
|
11753 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11754 |
hardcode_direct=yes |
|
11755 |
hardcode_minus_L=yes |
|
11756 |
hardcode_shlibpath_var=no |
|
11757 |
;; |
|
11758 |
||
11759 |
sysv4) |
|
11760 |
case $host_vendor in |
|
11761 |
sni) |
|
11762 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11763 |
hardcode_direct=yes # is this really true??? |
|
11764 |
;; |
|
11765 |
siemens) |
|
11766 |
## LD is ld it makes a PLAMLIB |
|
11767 |
## CC just makes a GrossModule. |
|
11768 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
11769 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
11770 |
hardcode_direct=no |
|
11771 |
;; |
|
11772 |
motorola) |
|
11773 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11774 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
11775 |
;; |
|
11776 |
esac |
|
11777 |
runpath_var='LD_RUN_PATH' |
|
11778 |
hardcode_shlibpath_var=no |
|
11779 |
;; |
|
11780 |
||
11781 |
sysv4.3*) |
|
11782 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11783 |
hardcode_shlibpath_var=no |
|
11784 |
export_dynamic_flag_spec='-Bexport' |
|
11785 |
;; |
|
11786 |
||
11787 |
sysv4*MP*) |
|
11788 |
if test -d /usr/nec; then |
|
11789 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11790 |
hardcode_shlibpath_var=no |
|
11791 |
runpath_var=LD_RUN_PATH |
|
11792 |
hardcode_runpath_var=yes |
|
11793 |
ld_shlibs=yes |
|
11794 |
fi |
|
11795 |
;; |
|
11796 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11797 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11798 |
no_undefined_flag='${wl}-z,text' |
11799 |
archive_cmds_need_lc=no |
|
11800 |
hardcode_shlibpath_var=no |
|
11801 |
runpath_var='LD_RUN_PATH' |
|
11802 |
||
11803 |
if test "$GCC" = yes; then |
|
11804 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11805 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11806 |
else |
|
11807 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11808 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
11809 |
fi |
|
11810 |
;; |
|
11811 |
||
11812 |
sysv5* | sco3.2v5* | sco5v6*) |
|
11813 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
11814 |
# link with -lc, and that would cause any symbols used from libc to |
|
11815 |
# always be unresolved, which means just about no library would |
|
11816 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
11817 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
11818 |
# as -z defs. |
|
11819 |
no_undefined_flag='${wl}-z,text' |
|
11820 |
allow_undefined_flag='${wl}-z,nodefs' |
|
11821 |
archive_cmds_need_lc=no |
|
11822 |
hardcode_shlibpath_var=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11823 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11824 |
hardcode_libdir_separator=':' |
11825 |
link_all_deplibs=yes |
|
11826 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
11827 |
runpath_var='LD_RUN_PATH' |
|
11828 |
||
11829 |
if test "$GCC" = yes; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11830 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11831 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11832 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11833 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11834 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11835 |
fi |
11836 |
;; |
|
11837 |
||
11838 |
uts4*) |
|
11839 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
11840 |
hardcode_libdir_flag_spec='-L$libdir' |
|
11841 |
hardcode_shlibpath_var=no |
|
11842 |
;; |
|
11843 |
||
11844 |
*) |
|
11845 |
ld_shlibs=no |
|
11846 |
;; |
|
11847 |
esac |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11848 |
|
11849 |
if test x$host_vendor = xsni; then |
|
11850 |
case $host in |
|
11851 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
11852 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
11853 |
;; |
|
11854 |
esac |
|
11855 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11856 |
fi |
11857 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11858 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
11859 |
$as_echo "$ld_shlibs" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11860 |
test "$ld_shlibs" = no && can_build_shared=no |
11861 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11862 |
with_gnu_ld=$with_gnu_ld |
11863 |
||
11864 |
||
11865 |
||
11866 |
||
11867 |
||
11868 |
||
11869 |
||
11870 |
||
11871 |
||
11872 |
||
11873 |
||
11874 |
||
11875 |
||
11876 |
||
11877 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11878 |
# |
11879 |
# Do we need to explicitly link libc? |
|
11880 |
# |
|
11881 |
case "x$archive_cmds_need_lc" in |
|
11882 |
x|xyes) |
|
11883 |
# Assume -lc should be added |
|
11884 |
archive_cmds_need_lc=yes |
|
11885 |
||
11886 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
11887 |
case $archive_cmds in |
|
11888 |
*'~'*) |
|
11889 |
# FIXME: we may have to deal with multi-command sequences. |
|
11890 |
;; |
|
11891 |
'$CC '*) |
|
11892 |
# Test whether the compiler implicitly links with -lc since on some |
|
11893 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
11894 |
# to ld, don't add -lc before -lgcc. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11895 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
11896 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11897 |
$RM conftest* |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
11898 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11899 |
|
11900 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
11901 |
(eval $ac_compile) 2>&5 |
|
11902 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11903 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11904 |
(exit $ac_status); } 2>conftest.err; then |
11905 |
soname=conftest |
|
11906 |
lib=conftest |
|
11907 |
libobjs=conftest.$ac_objext |
|
11908 |
deplibs= |
|
11909 |
wl=$lt_prog_compiler_wl |
|
11910 |
pic_flag=$lt_prog_compiler_pic |
|
11911 |
compiler_flags=-v |
|
11912 |
linker_flags=-v |
|
11913 |
verstring= |
|
11914 |
output_objdir=. |
|
11915 |
libname=conftest |
|
11916 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
11917 |
allow_undefined_flag= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11918 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
11919 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11920 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11921 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11922 |
(exit $ac_status); } |
11923 |
then |
|
11924 |
archive_cmds_need_lc=no |
|
11925 |
else |
|
11926 |
archive_cmds_need_lc=yes |
|
11927 |
fi |
|
11928 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
11929 |
else |
|
11930 |
cat conftest.err 1>&5 |
|
11931 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11932 |
$RM conftest* |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
11933 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
11934 |
$as_echo "$archive_cmds_need_lc" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
11935 |
;; |
11936 |
esac |
|
11937 |
fi |
|
11938 |
;; |
|
11939 |
esac |
|
11940 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
11941 |
|
11942 |
||
11943 |
||
11944 |
||
11945 |
||
11946 |
||
11947 |
||
11948 |
||
11949 |
||
11950 |
||
11951 |
||
11952 |
||
11953 |
||
11954 |
||
11955 |
||
11956 |
||
11957 |
||
11958 |
||
11959 |
||
11960 |
||
11961 |
||
11962 |
||
11963 |
||
11964 |
||
11965 |
||
11966 |
||
11967 |
||
11968 |
||
11969 |
||
11970 |
||
11971 |
||
11972 |
||
11973 |
||
11974 |
||
11975 |
||
11976 |
||
11977 |
||
11978 |
||
11979 |
||
11980 |
||
11981 |
||
11982 |
||
11983 |
||
11984 |
||
11985 |
||
11986 |
||
11987 |
||
11988 |
||
11989 |
||
11990 |
||
11991 |
||
11992 |
||
11993 |
||
11994 |
||
11995 |
||
11996 |
||
11997 |
||
11998 |
||
11999 |
||
12000 |
||
12001 |
||
12002 |
||
12003 |
||
12004 |
||
12005 |
||
12006 |
||
12007 |
||
12008 |
||
12009 |
||
12010 |
||
12011 |
||
12012 |
||
12013 |
||
12014 |
||
12015 |
||
12016 |
||
12017 |
||
12018 |
||
12019 |
||
12020 |
||
12021 |
||
12022 |
||
12023 |
||
12024 |
||
12025 |
||
12026 |
||
12027 |
||
12028 |
||
12029 |
||
12030 |
||
12031 |
||
12032 |
||
12033 |
||
12034 |
||
12035 |
||
12036 |
||
12037 |
||
12038 |
||
12039 |
||
12040 |
||
12041 |
||
12042 |
||
12043 |
||
12044 |
||
12045 |
||
12046 |
||
12047 |
||
12048 |
||
12049 |
||
12050 |
||
12051 |
||
12052 |
||
12053 |
||
12054 |
||
12055 |
||
12056 |
||
12057 |
||
12058 |
||
12059 |
||
12060 |
||
12061 |
||
12062 |
||
12063 |
||
12064 |
||
12065 |
||
12066 |
||
12067 |
||
12068 |
||
12069 |
||
12070 |
||
12071 |
||
12072 |
||
12073 |
||
12074 |
||
12075 |
||
12076 |
||
12077 |
||
12078 |
||
12079 |
||
12080 |
||
12081 |
||
12082 |
||
12083 |
||
12084 |
||
12085 |
||
12086 |
||
12087 |
||
12088 |
||
12089 |
||
12090 |
||
12091 |
||
12092 |
||
12093 |
||
12094 |
||
12095 |
||
12096 |
||
12097 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12098 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12099 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12100 |
if test "$GCC" = yes; then |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12101 |
case $host_os in |
12102 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
12103 |
*) lt_awk_arg="/^libraries:/" ;; |
|
12104 |
esac |
|
12105 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12106 |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12107 |
# if the path contains ";" then we assume it to be the separator |
12108 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
12109 |
# assumed that no part of a normal pathname contains ";" but that should |
|
12110 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12111 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12112 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12113 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12114 |
fi |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12115 |
# Ok, now we have the path, separated by spaces, we can step through it |
12116 |
# and add multilib dir if necessary. |
|
12117 |
lt_tmp_lt_search_path_spec= |
|
12118 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
12119 |
for lt_sys_path in $lt_search_path_spec; do |
|
12120 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
12121 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
12122 |
else |
|
12123 |
test -d "$lt_sys_path" && \ |
|
12124 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
12125 |
fi |
|
12126 |
done |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12127 |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12128 |
BEGIN {RS=" "; FS="/|\n";} { |
12129 |
lt_foo=""; |
|
12130 |
lt_count=0; |
|
12131 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
12132 |
if ($lt_i != "" && $lt_i != ".") { |
|
12133 |
if ($lt_i == "..") { |
|
12134 |
lt_count++; |
|
12135 |
} else { |
|
12136 |
if (lt_count == 0) { |
|
12137 |
lt_foo="/" $lt_i lt_foo; |
|
12138 |
} else { |
|
12139 |
lt_count--; |
|
12140 |
} |
|
12141 |
} |
|
12142 |
} |
|
12143 |
} |
|
12144 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
12145 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
12146 |
}'` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12147 |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12148 |
else |
12149 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
12150 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12151 |
library_names_spec= |
12152 |
libname_spec='lib$name' |
|
12153 |
soname_spec= |
|
12154 |
shrext_cmds=".so" |
|
12155 |
postinstall_cmds= |
|
12156 |
postuninstall_cmds= |
|
12157 |
finish_cmds= |
|
12158 |
finish_eval= |
|
12159 |
shlibpath_var= |
|
12160 |
shlibpath_overrides_runpath=unknown |
|
12161 |
version_type=none |
|
12162 |
dynamic_linker="$host_os ld.so" |
|
12163 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12164 |
need_lib_prefix=unknown |
12165 |
hardcode_into_libs=no |
|
12166 |
||
12167 |
# when you set need_version to no, make sure it does not cause -set_version |
|
12168 |
# flags to be left without arguments |
|
12169 |
need_version=unknown |
|
12170 |
||
12171 |
case $host_os in |
|
12172 |
aix3*) |
|
12173 |
version_type=linux |
|
12174 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
12175 |
shlibpath_var=LIBPATH |
|
12176 |
||
12177 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
12178 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12179 |
;; |
|
12180 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12181 |
aix[4-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12182 |
version_type=linux |
12183 |
need_lib_prefix=no |
|
12184 |
need_version=no |
|
12185 |
hardcode_into_libs=yes |
|
12186 |
if test "$host_cpu" = ia64; then |
|
12187 |
# AIX 5 supports IA64 |
|
12188 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
12189 |
shlibpath_var=LD_LIBRARY_PATH |
|
12190 |
else |
|
12191 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
12192 |
# for dependence libraries. The import file would start with |
|
12193 |
# the line `#! .'. This would cause the generated library to |
|
12194 |
# depend on `.', always an invalid library. This was fixed in |
|
12195 |
# development snapshots of GCC prior to 3.0. |
|
12196 |
case $host_os in |
|
12197 |
aix4 | aix4.[01] | aix4.[01].*) |
|
12198 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
12199 |
echo ' yes ' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12200 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12201 |
: |
12202 |
else |
|
12203 |
can_build_shared=no |
|
12204 |
fi |
|
12205 |
;; |
|
12206 |
esac |
|
12207 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
12208 |
# soname into executable. Probably we can add versioning support to |
|
12209 |
# collect2, so additional links can be useful in future. |
|
12210 |
if test "$aix_use_runtimelinking" = yes; then |
|
12211 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
12212 |
# instead of lib<name>.a to let people know that these are not |
|
12213 |
# typical AIX shared libraries. |
|
12214 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12215 |
else |
|
12216 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
12217 |
# and later when we are not doing run time linking. |
|
12218 |
library_names_spec='${libname}${release}.a $libname.a' |
|
12219 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12220 |
fi |
|
12221 |
shlibpath_var=LIBPATH |
|
12222 |
fi |
|
12223 |
;; |
|
12224 |
||
12225 |
amigaos*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12226 |
case $host_cpu in |
12227 |
powerpc) |
|
12228 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
12229 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
12230 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12231 |
;; |
|
12232 |
m68k) |
|
12233 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
12234 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
12235 |
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' |
|
12236 |
;; |
|
12237 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12238 |
;; |
12239 |
||
12240 |
beos*) |
|
12241 |
library_names_spec='${libname}${shared_ext}' |
|
12242 |
dynamic_linker="$host_os ld.so" |
|
12243 |
shlibpath_var=LIBRARY_PATH |
|
12244 |
;; |
|
12245 |
||
12246 |
bsdi[45]*) |
|
12247 |
version_type=linux |
|
12248 |
need_version=no |
|
12249 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12250 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12251 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
12252 |
shlibpath_var=LD_LIBRARY_PATH |
|
12253 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
12254 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
12255 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
12256 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
12257 |
# libtool to hard-code these into programs |
|
12258 |
;; |
|
12259 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12260 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12261 |
version_type=windows |
12262 |
shrext_cmds=".dll" |
|
12263 |
need_version=no |
|
12264 |
need_lib_prefix=no |
|
12265 |
||
12266 |
case $GCC,$host_os in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12267 |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12268 |
library_names_spec='$libname.dll.a' |
12269 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
12270 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12271 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12272 |
dldir=$destdir/`dirname \$dlpath`~ |
12273 |
test -d \$dldir || mkdir -p \$dldir~ |
|
12274 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12275 |
chmod a+x \$dldir/$dlname~ |
12276 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
12277 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
12278 |
fi' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12279 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
12280 |
dlpath=$dir/\$dldll~ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12281 |
$RM \$dlpath' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12282 |
shlibpath_overrides_runpath=yes |
12283 |
||
12284 |
case $host_os in |
|
12285 |
cygwin*) |
|
12286 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
12287 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
12288 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
12289 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12290 |
mingw* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12291 |
# MinGW DLLs use traditional 'lib' prefix |
12292 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12293 |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
12294 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12295 |
# It is most probably a Windows format PATH printed by |
12296 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
12297 |
# path with ; separators, and with drive letters. We can handle the |
|
12298 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
12299 |
# especially as we might pass files found there to a mingw objdump, |
|
12300 |
# which wouldn't understand a cygwinified path. Ahh. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12301 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12302 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12303 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12304 |
fi |
12305 |
;; |
|
12306 |
pw32*) |
|
12307 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
12308 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
12309 |
;; |
|
12310 |
esac |
|
12311 |
;; |
|
12312 |
||
12313 |
*) |
|
12314 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
12315 |
;; |
|
12316 |
esac |
|
12317 |
dynamic_linker='Win32 ld.exe' |
|
12318 |
# FIXME: first we should search . and the directory the executable is in |
|
12319 |
shlibpath_var=PATH |
|
12320 |
;; |
|
12321 |
||
12322 |
darwin* | rhapsody*) |
|
12323 |
dynamic_linker="$host_os dyld" |
|
12324 |
version_type=darwin |
|
12325 |
need_lib_prefix=no |
|
12326 |
need_version=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12327 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12328 |
soname_spec='${libname}${release}${major}$shared_ext' |
12329 |
shlibpath_overrides_runpath=yes |
|
12330 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
12331 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12332 |
|
12333 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12334 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
12335 |
;; |
|
12336 |
||
12337 |
dgux*) |
|
12338 |
version_type=linux |
|
12339 |
need_lib_prefix=no |
|
12340 |
need_version=no |
|
12341 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
12342 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12343 |
shlibpath_var=LD_LIBRARY_PATH |
|
12344 |
;; |
|
12345 |
||
12346 |
freebsd1*) |
|
12347 |
dynamic_linker=no |
|
12348 |
;; |
|
12349 |
||
12350 |
freebsd* | dragonfly*) |
|
12351 |
# DragonFly does not have aout. When/if they implement a new |
|
12352 |
# versioning mechanism, adjust this. |
|
12353 |
if test -x /usr/bin/objformat; then |
|
12354 |
objformat=`/usr/bin/objformat` |
|
12355 |
else |
|
12356 |
case $host_os in |
|
12357 |
freebsd[123]*) objformat=aout ;; |
|
12358 |
*) objformat=elf ;; |
|
12359 |
esac |
|
12360 |
fi |
|
12361 |
version_type=freebsd-$objformat |
|
12362 |
case $version_type in |
|
12363 |
freebsd-elf*) |
|
12364 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
12365 |
need_version=no |
|
12366 |
need_lib_prefix=no |
|
12367 |
;; |
|
12368 |
freebsd-*) |
|
12369 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
12370 |
need_version=yes |
|
12371 |
;; |
|
12372 |
esac |
|
12373 |
shlibpath_var=LD_LIBRARY_PATH |
|
12374 |
case $host_os in |
|
12375 |
freebsd2*) |
|
12376 |
shlibpath_overrides_runpath=yes |
|
12377 |
;; |
|
12378 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
12379 |
shlibpath_overrides_runpath=yes |
|
12380 |
hardcode_into_libs=yes |
|
12381 |
;; |
|
12382 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
12383 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
12384 |
shlibpath_overrides_runpath=no |
|
12385 |
hardcode_into_libs=yes |
|
12386 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12387 |
*) # from 4.6 on, and DragonFly |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12388 |
shlibpath_overrides_runpath=yes |
12389 |
hardcode_into_libs=yes |
|
12390 |
;; |
|
12391 |
esac |
|
12392 |
;; |
|
12393 |
||
12394 |
gnu*) |
|
12395 |
version_type=linux |
|
12396 |
need_lib_prefix=no |
|
12397 |
need_version=no |
|
12398 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
12399 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12400 |
shlibpath_var=LD_LIBRARY_PATH |
|
12401 |
hardcode_into_libs=yes |
|
12402 |
;; |
|
12403 |
||
12404 |
hpux9* | hpux10* | hpux11*) |
|
12405 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
12406 |
# link against other versions. |
|
12407 |
version_type=sunos |
|
12408 |
need_lib_prefix=no |
|
12409 |
need_version=no |
|
12410 |
case $host_cpu in |
|
12411 |
ia64*) |
|
12412 |
shrext_cmds='.so' |
|
12413 |
hardcode_into_libs=yes |
|
12414 |
dynamic_linker="$host_os dld.so" |
|
12415 |
shlibpath_var=LD_LIBRARY_PATH |
|
12416 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
12417 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12418 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12419 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
12420 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
12421 |
else |
|
12422 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
12423 |
fi |
|
12424 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
12425 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12426 |
hppa*64*) |
12427 |
shrext_cmds='.sl' |
|
12428 |
hardcode_into_libs=yes |
|
12429 |
dynamic_linker="$host_os dld.sl" |
|
12430 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
12431 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
12432 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12433 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12434 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
12435 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
12436 |
;; |
|
12437 |
*) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12438 |
shrext_cmds='.sl' |
12439 |
dynamic_linker="$host_os dld.sl" |
|
12440 |
shlibpath_var=SHLIB_PATH |
|
12441 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
12442 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12443 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12444 |
;; |
|
12445 |
esac |
|
12446 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
12447 |
postinstall_cmds='chmod 555 $lib' |
|
12448 |
;; |
|
12449 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12450 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12451 |
version_type=linux |
12452 |
need_lib_prefix=no |
|
12453 |
need_version=no |
|
12454 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
12455 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12456 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
12457 |
shlibpath_var=LD_LIBRARY_PATH |
|
12458 |
shlibpath_overrides_runpath=no |
|
12459 |
hardcode_into_libs=yes |
|
12460 |
;; |
|
12461 |
||
12462 |
irix5* | irix6* | nonstopux*) |
|
12463 |
case $host_os in |
|
12464 |
nonstopux*) version_type=nonstopux ;; |
|
12465 |
*) |
|
12466 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
12467 |
version_type=linux |
|
12468 |
else |
|
12469 |
version_type=irix |
|
12470 |
fi ;; |
|
12471 |
esac |
|
12472 |
need_lib_prefix=no |
|
12473 |
need_version=no |
|
12474 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12475 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
12476 |
case $host_os in |
|
12477 |
irix5* | nonstopux*) |
|
12478 |
libsuff= shlibsuff= |
|
12479 |
;; |
|
12480 |
*) |
|
12481 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
12482 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
12483 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
12484 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
12485 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
12486 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
12487 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
12488 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
12489 |
esac |
|
12490 |
;; |
|
12491 |
esac |
|
12492 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
12493 |
shlibpath_overrides_runpath=no |
|
12494 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
12495 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
12496 |
hardcode_into_libs=yes |
|
12497 |
;; |
|
12498 |
||
12499 |
# No shared lib support for Linux oldld, aout, or coff. |
|
12500 |
linux*oldld* | linux*aout* | linux*coff*) |
|
12501 |
dynamic_linker=no |
|
12502 |
;; |
|
12503 |
||
12504 |
# This must be Linux ELF. |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12505 |
linux* | k*bsd*-gnu) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12506 |
version_type=linux |
12507 |
need_lib_prefix=no |
|
12508 |
need_version=no |
|
12509 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12510 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12511 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
12512 |
shlibpath_var=LD_LIBRARY_PATH |
|
12513 |
shlibpath_overrides_runpath=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12514 |
# Some binutils ld are patched to set DT_RUNPATH |
12515 |
save_LDFLAGS=$LDFLAGS |
|
12516 |
save_libdir=$libdir |
|
12517 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
12518 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
12519 |
cat >conftest.$ac_ext <<_ACEOF |
|
12520 |
/* confdefs.h. */ |
|
12521 |
_ACEOF |
|
12522 |
cat confdefs.h >>conftest.$ac_ext |
|
12523 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12524 |
/* end confdefs.h. */ |
|
12525 |
||
12526 |
int |
|
12527 |
main () |
|
12528 |
{ |
|
12529 |
||
12530 |
; |
|
12531 |
return 0; |
|
12532 |
} |
|
12533 |
_ACEOF |
|
12534 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
12535 |
if { (ac_try="$ac_link" |
|
12536 |
case "(($ac_try" in |
|
12537 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12538 |
*) ac_try_echo=$ac_try;; |
|
12539 |
esac |
|
12540 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
12541 |
$as_echo "$ac_try_echo") >&5 |
|
12542 |
(eval "$ac_link") 2>conftest.er1 |
|
12543 |
ac_status=$? |
|
12544 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
12545 |
rm -f conftest.er1 |
|
12546 |
cat conftest.err >&5 |
|
12547 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
12548 |
(exit $ac_status); } && { |
|
12549 |
test -z "$ac_c_werror_flag" || |
|
12550 |
test ! -s conftest.err |
|
12551 |
} && test -s conftest$ac_exeext && { |
|
12552 |
test "$cross_compiling" = yes || |
|
12553 |
$as_test_x conftest$ac_exeext |
|
12554 |
}; then |
|
12555 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then |
|
12556 |
shlibpath_overrides_runpath=yes |
|
12557 |
fi |
|
12558 |
||
12559 |
else |
|
12560 |
$as_echo "$as_me: failed program was:" >&5 |
|
12561 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
12562 |
||
12563 |
||
12564 |
fi |
|
12565 |
||
12566 |
rm -rf conftest.dSYM |
|
12567 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
12568 |
conftest$ac_exeext conftest.$ac_ext |
|
12569 |
LDFLAGS=$save_LDFLAGS |
|
12570 |
libdir=$save_libdir |
|
12571 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12572 |
# This implies no fast_install, which is unacceptable. |
12573 |
# Some rework will be needed to allow for fast_install |
|
12574 |
# before this can be enabled. |
|
12575 |
hardcode_into_libs=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12576 |
|
12577 |
# Add ABI-specific directories to the system library path. |
|
12578 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12579 |
|
12580 |
# Append ld.so.conf contents to the search path |
|
12581 |
if test -f /etc/ld.so.conf; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12582 |
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' ' '` |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12583 |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12584 |
fi |
12585 |
||
12586 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
12587 |
# powerpc, because MkLinux only supported shared libraries with the |
|
12588 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
12589 |
# most powerpc-linux boxes support dynamic linking these days and |
|
12590 |
# people can always --disable-shared, the test was removed, and we |
|
12591 |
# assume the GNU/Linux dynamic linker is in use. |
|
12592 |
dynamic_linker='GNU/Linux ld.so' |
|
12593 |
;; |
|
12594 |
||
12595 |
netbsd*) |
|
12596 |
version_type=sunos |
|
12597 |
need_lib_prefix=no |
|
12598 |
need_version=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12599 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12600 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12601 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
12602 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
12603 |
else |
|
12604 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
12605 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12606 |
dynamic_linker='NetBSD ld.elf_so' |
|
12607 |
fi |
|
12608 |
shlibpath_var=LD_LIBRARY_PATH |
|
12609 |
shlibpath_overrides_runpath=yes |
|
12610 |
hardcode_into_libs=yes |
|
12611 |
;; |
|
12612 |
||
12613 |
newsos6) |
|
12614 |
version_type=linux |
|
12615 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12616 |
shlibpath_var=LD_LIBRARY_PATH |
|
12617 |
shlibpath_overrides_runpath=yes |
|
12618 |
;; |
|
12619 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12620 |
*nto* | *qnx*) |
12621 |
version_type=qnx |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12622 |
need_lib_prefix=no |
12623 |
need_version=no |
|
12624 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12625 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12626 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12627 |
shlibpath_overrides_runpath=no |
12628 |
hardcode_into_libs=yes |
|
12629 |
dynamic_linker='ldqnx.so' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12630 |
;; |
12631 |
||
12632 |
openbsd*) |
|
12633 |
version_type=sunos |
|
12634 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
12635 |
need_lib_prefix=no |
|
12636 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
12637 |
case $host_os in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12638 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
12639 |
*) need_version=no ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12640 |
esac |
12641 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
12642 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
12643 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12644 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12645 |
case $host_os in |
12646 |
openbsd2.[89] | openbsd2.[89].*) |
|
12647 |
shlibpath_overrides_runpath=no |
|
12648 |
;; |
|
12649 |
*) |
|
12650 |
shlibpath_overrides_runpath=yes |
|
12651 |
;; |
|
12652 |
esac |
|
12653 |
else |
|
12654 |
shlibpath_overrides_runpath=yes |
|
12655 |
fi |
|
12656 |
;; |
|
12657 |
||
12658 |
os2*) |
|
12659 |
libname_spec='$name' |
|
12660 |
shrext_cmds=".dll" |
|
12661 |
need_lib_prefix=no |
|
12662 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
12663 |
dynamic_linker='OS/2 ld.exe' |
|
12664 |
shlibpath_var=LIBPATH |
|
12665 |
;; |
|
12666 |
||
12667 |
osf3* | osf4* | osf5*) |
|
12668 |
version_type=osf |
|
12669 |
need_lib_prefix=no |
|
12670 |
need_version=no |
|
12671 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12672 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12673 |
shlibpath_var=LD_LIBRARY_PATH |
|
12674 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
12675 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
12676 |
;; |
|
12677 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
12678 |
rdos*) |
12679 |
dynamic_linker=no |
|
12680 |
;; |
|
12681 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12682 |
solaris*) |
12683 |
version_type=linux |
|
12684 |
need_lib_prefix=no |
|
12685 |
need_version=no |
|
12686 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12687 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12688 |
shlibpath_var=LD_LIBRARY_PATH |
|
12689 |
shlibpath_overrides_runpath=yes |
|
12690 |
hardcode_into_libs=yes |
|
12691 |
# ldd complains unless libraries are executable |
|
12692 |
postinstall_cmds='chmod +x $lib' |
|
12693 |
;; |
|
12694 |
||
12695 |
sunos4*) |
|
12696 |
version_type=sunos |
|
12697 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
12698 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
12699 |
shlibpath_var=LD_LIBRARY_PATH |
|
12700 |
shlibpath_overrides_runpath=yes |
|
12701 |
if test "$with_gnu_ld" = yes; then |
|
12702 |
need_lib_prefix=no |
|
12703 |
fi |
|
12704 |
need_version=yes |
|
12705 |
;; |
|
12706 |
||
12707 |
sysv4 | sysv4.3*) |
|
12708 |
version_type=linux |
|
12709 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12710 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12711 |
shlibpath_var=LD_LIBRARY_PATH |
|
12712 |
case $host_vendor in |
|
12713 |
sni) |
|
12714 |
shlibpath_overrides_runpath=no |
|
12715 |
need_lib_prefix=no |
|
12716 |
runpath_var=LD_RUN_PATH |
|
12717 |
;; |
|
12718 |
siemens) |
|
12719 |
need_lib_prefix=no |
|
12720 |
;; |
|
12721 |
motorola) |
|
12722 |
need_lib_prefix=no |
|
12723 |
need_version=no |
|
12724 |
shlibpath_overrides_runpath=no |
|
12725 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
12726 |
;; |
|
12727 |
esac |
|
12728 |
;; |
|
12729 |
||
12730 |
sysv4*MP*) |
|
12731 |
if test -d /usr/nec ;then |
|
12732 |
version_type=linux |
|
12733 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
12734 |
soname_spec='$libname${shared_ext}.$major' |
|
12735 |
shlibpath_var=LD_LIBRARY_PATH |
|
12736 |
fi |
|
12737 |
;; |
|
12738 |
||
12739 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
12740 |
version_type=freebsd-elf |
|
12741 |
need_lib_prefix=no |
|
12742 |
need_version=no |
|
12743 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
12744 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12745 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12746 |
shlibpath_overrides_runpath=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12747 |
hardcode_into_libs=yes |
12748 |
if test "$with_gnu_ld" = yes; then |
|
12749 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
12750 |
else |
|
12751 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
12752 |
case $host_os in |
|
12753 |
sco3.2v5*) |
|
12754 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
12755 |
;; |
|
12756 |
esac |
|
12757 |
fi |
|
12758 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
12759 |
;; |
|
12760 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12761 |
tpf*) |
12762 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
12763 |
version_type=linux |
|
12764 |
need_lib_prefix=no |
|
12765 |
need_version=no |
|
12766 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12767 |
shlibpath_var=LD_LIBRARY_PATH |
|
12768 |
shlibpath_overrides_runpath=no |
|
12769 |
hardcode_into_libs=yes |
|
12770 |
;; |
|
12771 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12772 |
uts4*) |
12773 |
version_type=linux |
|
12774 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
12775 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
12776 |
shlibpath_var=LD_LIBRARY_PATH |
|
12777 |
;; |
|
12778 |
||
12779 |
*) |
|
12780 |
dynamic_linker=no |
|
12781 |
;; |
|
12782 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12783 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
12784 |
$as_echo "$dynamic_linker" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12785 |
test "$dynamic_linker" = no && can_build_shared=no |
12786 |
||
12787 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
12788 |
if test "$GCC" = yes; then |
|
12789 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
12790 |
fi |
|
12791 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12792 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
12793 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
12794 |
fi |
|
12795 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
12796 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
12797 |
fi |
|
12798 |
||
12799 |
||
12800 |
||
12801 |
||
12802 |
||
12803 |
||
12804 |
||
12805 |
||
12806 |
||
12807 |
||
12808 |
||
12809 |
||
12810 |
||
12811 |
||
12812 |
||
12813 |
||
12814 |
||
12815 |
||
12816 |
||
12817 |
||
12818 |
||
12819 |
||
12820 |
||
12821 |
||
12822 |
||
12823 |
||
12824 |
||
12825 |
||
12826 |
||
12827 |
||
12828 |
||
12829 |
||
12830 |
||
12831 |
||
12832 |
||
12833 |
||
12834 |
||
12835 |
||
12836 |
||
12837 |
||
12838 |
||
12839 |
||
12840 |
||
12841 |
||
12842 |
||
12843 |
||
12844 |
||
12845 |
||
12846 |
||
12847 |
||
12848 |
||
12849 |
||
12850 |
||
12851 |
||
12852 |
||
12853 |
||
12854 |
||
12855 |
||
12856 |
||
12857 |
||
12858 |
||
12859 |
||
12860 |
||
12861 |
||
12862 |
||
12863 |
||
12864 |
||
12865 |
||
12866 |
||
12867 |
||
12868 |
||
12869 |
||
12870 |
||
12871 |
||
12872 |
||
12873 |
||
12874 |
||
12875 |
||
12876 |
||
12877 |
||
12878 |
||
12879 |
||
12880 |
||
12881 |
||
12882 |
||
12883 |
||
12884 |
||
12885 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12886 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12887 |
hardcode_action= |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12888 |
if test -n "$hardcode_libdir_flag_spec" || |
12889 |
test -n "$runpath_var" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12890 |
test "X$hardcode_automatic" = "Xyes" ; then |
12891 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12892 |
# We can hardcode non-existent directories. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12893 |
if test "$hardcode_direct" != no && |
12894 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
12895 |
# have to relink, otherwise we might link with an installed library |
|
12896 |
# when we should be linking with a yet-to-be-installed one |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12897 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12898 |
test "$hardcode_minus_L" != no; then |
12899 |
# Linking always hardcodes the temporary library directory. |
|
12900 |
hardcode_action=relink |
|
12901 |
else |
|
12902 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
12903 |
hardcode_action=immediate |
|
12904 |
fi |
|
12905 |
else |
|
12906 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
12907 |
# directories. |
|
12908 |
hardcode_action=unsupported |
|
12909 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12910 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
12911 |
$as_echo "$hardcode_action" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12912 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12913 |
if test "$hardcode_action" = relink || |
12914 |
test "$inherit_rpath" = yes; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12915 |
# Fast installation is not supported |
12916 |
enable_fast_install=no |
|
12917 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
12918 |
test "$enable_shared" = no; then |
|
12919 |
# Fast installation is not necessary |
|
12920 |
enable_fast_install=needless |
|
12921 |
fi |
|
12922 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12923 |
|
12924 |
||
12925 |
||
12926 |
||
12927 |
||
12928 |
if test "x$enable_dlopen" != xyes; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12929 |
enable_dlopen=unknown |
12930 |
enable_dlopen_self=unknown |
|
12931 |
enable_dlopen_self_static=unknown |
|
12932 |
else |
|
12933 |
lt_cv_dlopen=no |
|
12934 |
lt_cv_dlopen_libs= |
|
12935 |
||
12936 |
case $host_os in |
|
12937 |
beos*) |
|
12938 |
lt_cv_dlopen="load_add_on" |
|
12939 |
lt_cv_dlopen_libs= |
|
12940 |
lt_cv_dlopen_self=yes |
|
12941 |
;; |
|
12942 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12943 |
mingw* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12944 |
lt_cv_dlopen="LoadLibrary" |
12945 |
lt_cv_dlopen_libs= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12946 |
;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12947 |
|
12948 |
cygwin*) |
|
12949 |
lt_cv_dlopen="dlopen" |
|
12950 |
lt_cv_dlopen_libs= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
12951 |
;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12952 |
|
12953 |
darwin*) |
|
12954 |
# if libdl is installed we need to link against it |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12955 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
12956 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12957 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12958 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12959 |
else |
12960 |
ac_check_lib_save_LIBS=$LIBS |
|
12961 |
LIBS="-ldl $LIBS" |
|
12962 |
cat >conftest.$ac_ext <<_ACEOF |
|
12963 |
/* confdefs.h. */ |
|
12964 |
_ACEOF |
|
12965 |
cat confdefs.h >>conftest.$ac_ext |
|
12966 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12967 |
/* end confdefs.h. */ |
|
12968 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
12969 |
/* Override any GCC internal prototype to avoid an error. |
12970 |
Use char because int might match the return type of a GCC |
|
12971 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12972 |
#ifdef __cplusplus |
12973 |
extern "C" |
|
12974 |
#endif |
|
12975 |
char dlopen (); |
|
12976 |
int |
|
12977 |
main () |
|
12978 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
12979 |
return dlopen (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12980 |
; |
12981 |
return 0; |
|
12982 |
} |
|
12983 |
_ACEOF |
|
12984 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
12985 |
if { (ac_try="$ac_link" |
12986 |
case "(($ac_try" in |
|
12987 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12988 |
*) ac_try_echo=$ac_try;; |
|
12989 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12990 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12991 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
12992 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
12993 |
ac_status=$? |
12994 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
12995 |
rm -f conftest.er1 |
|
12996 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
12997 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
12998 |
(exit $ac_status); } && { |
12999 |
test -z "$ac_c_werror_flag" || |
|
13000 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13001 |
} && test -s conftest$ac_exeext && { |
13002 |
test "$cross_compiling" = yes || |
|
13003 |
$as_test_x conftest$ac_exeext |
|
13004 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13005 |
ac_cv_lib_dl_dlopen=yes |
13006 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13007 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13008 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13009 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13010 |
ac_cv_lib_dl_dlopen=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13011 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13012 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13013 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13014 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13015 |
conftest$ac_exeext conftest.$ac_ext |
13016 |
LIBS=$ac_check_lib_save_LIBS |
|
13017 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13018 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
13019 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13020 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13021 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
13022 |
else |
|
13023 |
||
13024 |
lt_cv_dlopen="dyld" |
|
13025 |
lt_cv_dlopen_libs= |
|
13026 |
lt_cv_dlopen_self=yes |
|
13027 |
||
13028 |
fi |
|
13029 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13030 |
;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13031 |
|
13032 |
*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13033 |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
13034 |
$as_echo_n "checking for shl_load... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13035 |
if test "${ac_cv_func_shl_load+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13036 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13037 |
else |
13038 |
cat >conftest.$ac_ext <<_ACEOF |
|
13039 |
/* confdefs.h. */ |
|
13040 |
_ACEOF |
|
13041 |
cat confdefs.h >>conftest.$ac_ext |
|
13042 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13043 |
/* end confdefs.h. */ |
|
13044 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
13045 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
13046 |
#define shl_load innocuous_shl_load |
|
13047 |
||
13048 |
/* System header to define __stub macros and hopefully few prototypes, |
|
13049 |
which can conflict with char shl_load (); below. |
|
13050 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
13051 |
<limits.h> exists even on freestanding compilers. */ |
|
13052 |
||
13053 |
#ifdef __STDC__ |
|
13054 |
# include <limits.h> |
|
13055 |
#else |
|
13056 |
# include <assert.h> |
|
13057 |
#endif |
|
13058 |
||
13059 |
#undef shl_load |
|
13060 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13061 |
/* Override any GCC internal prototype to avoid an error. |
13062 |
Use char because int might match the return type of a GCC |
|
13063 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13064 |
#ifdef __cplusplus |
13065 |
extern "C" |
|
13066 |
#endif |
|
13067 |
char shl_load (); |
|
13068 |
/* The GNU C library defines this for functions which it implements |
|
13069 |
to always fail with ENOSYS. Some functions are actually named |
|
13070 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13071 |
#if defined __stub_shl_load || defined __stub___shl_load |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13072 |
choke me |
13073 |
#endif |
|
13074 |
||
13075 |
int |
|
13076 |
main () |
|
13077 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13078 |
return shl_load (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13079 |
; |
13080 |
return 0; |
|
13081 |
} |
|
13082 |
_ACEOF |
|
13083 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13084 |
if { (ac_try="$ac_link" |
13085 |
case "(($ac_try" in |
|
13086 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13087 |
*) ac_try_echo=$ac_try;; |
|
13088 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13089 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13090 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13091 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13092 |
ac_status=$? |
13093 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
13094 |
rm -f conftest.er1 |
|
13095 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13096 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13097 |
(exit $ac_status); } && { |
13098 |
test -z "$ac_c_werror_flag" || |
|
13099 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13100 |
} && test -s conftest$ac_exeext && { |
13101 |
test "$cross_compiling" = yes || |
|
13102 |
$as_test_x conftest$ac_exeext |
|
13103 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13104 |
ac_cv_func_shl_load=yes |
13105 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13106 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13107 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13108 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13109 |
ac_cv_func_shl_load=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13110 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13111 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13112 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13113 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13114 |
conftest$ac_exeext conftest.$ac_ext |
13115 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13116 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
13117 |
$as_echo "$ac_cv_func_shl_load" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13118 |
if test "x$ac_cv_func_shl_load" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13119 |
lt_cv_dlopen="shl_load" |
13120 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13121 |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
13122 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13123 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13124 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13125 |
else |
13126 |
ac_check_lib_save_LIBS=$LIBS |
|
13127 |
LIBS="-ldld $LIBS" |
|
13128 |
cat >conftest.$ac_ext <<_ACEOF |
|
13129 |
/* confdefs.h. */ |
|
13130 |
_ACEOF |
|
13131 |
cat confdefs.h >>conftest.$ac_ext |
|
13132 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13133 |
/* end confdefs.h. */ |
|
13134 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13135 |
/* Override any GCC internal prototype to avoid an error. |
13136 |
Use char because int might match the return type of a GCC |
|
13137 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13138 |
#ifdef __cplusplus |
13139 |
extern "C" |
|
13140 |
#endif |
|
13141 |
char shl_load (); |
|
13142 |
int |
|
13143 |
main () |
|
13144 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13145 |
return shl_load (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13146 |
; |
13147 |
return 0; |
|
13148 |
} |
|
13149 |
_ACEOF |
|
13150 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13151 |
if { (ac_try="$ac_link" |
13152 |
case "(($ac_try" in |
|
13153 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13154 |
*) ac_try_echo=$ac_try;; |
|
13155 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13156 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13157 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13158 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13159 |
ac_status=$? |
13160 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
13161 |
rm -f conftest.er1 |
|
13162 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13163 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13164 |
(exit $ac_status); } && { |
13165 |
test -z "$ac_c_werror_flag" || |
|
13166 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13167 |
} && test -s conftest$ac_exeext && { |
13168 |
test "$cross_compiling" = yes || |
|
13169 |
$as_test_x conftest$ac_exeext |
|
13170 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13171 |
ac_cv_lib_dld_shl_load=yes |
13172 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13173 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13174 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13175 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13176 |
ac_cv_lib_dld_shl_load=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13177 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13178 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13179 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13180 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13181 |
conftest$ac_exeext conftest.$ac_ext |
13182 |
LIBS=$ac_check_lib_save_LIBS |
|
13183 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13184 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
13185 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13186 |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13187 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13188 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13189 |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 |
13190 |
$as_echo_n "checking for dlopen... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13191 |
if test "${ac_cv_func_dlopen+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13192 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13193 |
else |
13194 |
cat >conftest.$ac_ext <<_ACEOF |
|
13195 |
/* confdefs.h. */ |
|
13196 |
_ACEOF |
|
13197 |
cat confdefs.h >>conftest.$ac_ext |
|
13198 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13199 |
/* end confdefs.h. */ |
|
13200 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
13201 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
13202 |
#define dlopen innocuous_dlopen |
|
13203 |
||
13204 |
/* System header to define __stub macros and hopefully few prototypes, |
|
13205 |
which can conflict with char dlopen (); below. |
|
13206 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
13207 |
<limits.h> exists even on freestanding compilers. */ |
|
13208 |
||
13209 |
#ifdef __STDC__ |
|
13210 |
# include <limits.h> |
|
13211 |
#else |
|
13212 |
# include <assert.h> |
|
13213 |
#endif |
|
13214 |
||
13215 |
#undef dlopen |
|
13216 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13217 |
/* Override any GCC internal prototype to avoid an error. |
13218 |
Use char because int might match the return type of a GCC |
|
13219 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13220 |
#ifdef __cplusplus |
13221 |
extern "C" |
|
13222 |
#endif |
|
13223 |
char dlopen (); |
|
13224 |
/* The GNU C library defines this for functions which it implements |
|
13225 |
to always fail with ENOSYS. Some functions are actually named |
|
13226 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13227 |
#if defined __stub_dlopen || defined __stub___dlopen |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13228 |
choke me |
13229 |
#endif |
|
13230 |
||
13231 |
int |
|
13232 |
main () |
|
13233 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13234 |
return dlopen (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13235 |
; |
13236 |
return 0; |
|
13237 |
} |
|
13238 |
_ACEOF |
|
13239 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13240 |
if { (ac_try="$ac_link" |
13241 |
case "(($ac_try" in |
|
13242 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13243 |
*) ac_try_echo=$ac_try;; |
|
13244 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13245 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13246 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13247 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13248 |
ac_status=$? |
13249 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
13250 |
rm -f conftest.er1 |
|
13251 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13252 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13253 |
(exit $ac_status); } && { |
13254 |
test -z "$ac_c_werror_flag" || |
|
13255 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13256 |
} && test -s conftest$ac_exeext && { |
13257 |
test "$cross_compiling" = yes || |
|
13258 |
$as_test_x conftest$ac_exeext |
|
13259 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13260 |
ac_cv_func_dlopen=yes |
13261 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13262 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13263 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13264 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13265 |
ac_cv_func_dlopen=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13266 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13267 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13268 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13269 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13270 |
conftest$ac_exeext conftest.$ac_ext |
13271 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13272 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
13273 |
$as_echo "$ac_cv_func_dlopen" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13274 |
if test "x$ac_cv_func_dlopen" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13275 |
lt_cv_dlopen="dlopen" |
13276 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13277 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
13278 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13279 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13280 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13281 |
else |
13282 |
ac_check_lib_save_LIBS=$LIBS |
|
13283 |
LIBS="-ldl $LIBS" |
|
13284 |
cat >conftest.$ac_ext <<_ACEOF |
|
13285 |
/* confdefs.h. */ |
|
13286 |
_ACEOF |
|
13287 |
cat confdefs.h >>conftest.$ac_ext |
|
13288 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13289 |
/* end confdefs.h. */ |
|
13290 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13291 |
/* Override any GCC internal prototype to avoid an error. |
13292 |
Use char because int might match the return type of a GCC |
|
13293 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13294 |
#ifdef __cplusplus |
13295 |
extern "C" |
|
13296 |
#endif |
|
13297 |
char dlopen (); |
|
13298 |
int |
|
13299 |
main () |
|
13300 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13301 |
return dlopen (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13302 |
; |
13303 |
return 0; |
|
13304 |
} |
|
13305 |
_ACEOF |
|
13306 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13307 |
if { (ac_try="$ac_link" |
13308 |
case "(($ac_try" in |
|
13309 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13310 |
*) ac_try_echo=$ac_try;; |
|
13311 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13312 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13313 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13314 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13315 |
ac_status=$? |
13316 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
13317 |
rm -f conftest.er1 |
|
13318 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13319 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13320 |
(exit $ac_status); } && { |
13321 |
test -z "$ac_c_werror_flag" || |
|
13322 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13323 |
} && test -s conftest$ac_exeext && { |
13324 |
test "$cross_compiling" = yes || |
|
13325 |
$as_test_x conftest$ac_exeext |
|
13326 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13327 |
ac_cv_lib_dl_dlopen=yes |
13328 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13329 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13330 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13331 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13332 |
ac_cv_lib_dl_dlopen=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13333 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13334 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13335 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13336 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13337 |
conftest$ac_exeext conftest.$ac_ext |
13338 |
LIBS=$ac_check_lib_save_LIBS |
|
13339 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13340 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
13341 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13342 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13343 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
13344 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13345 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
13346 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13347 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13348 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13349 |
else |
13350 |
ac_check_lib_save_LIBS=$LIBS |
|
13351 |
LIBS="-lsvld $LIBS" |
|
13352 |
cat >conftest.$ac_ext <<_ACEOF |
|
13353 |
/* confdefs.h. */ |
|
13354 |
_ACEOF |
|
13355 |
cat confdefs.h >>conftest.$ac_ext |
|
13356 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13357 |
/* end confdefs.h. */ |
|
13358 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13359 |
/* Override any GCC internal prototype to avoid an error. |
13360 |
Use char because int might match the return type of a GCC |
|
13361 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13362 |
#ifdef __cplusplus |
13363 |
extern "C" |
|
13364 |
#endif |
|
13365 |
char dlopen (); |
|
13366 |
int |
|
13367 |
main () |
|
13368 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13369 |
return dlopen (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13370 |
; |
13371 |
return 0; |
|
13372 |
} |
|
13373 |
_ACEOF |
|
13374 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13375 |
if { (ac_try="$ac_link" |
13376 |
case "(($ac_try" in |
|
13377 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13378 |
*) ac_try_echo=$ac_try;; |
|
13379 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13380 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13381 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13382 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13383 |
ac_status=$? |
13384 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
13385 |
rm -f conftest.er1 |
|
13386 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13387 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13388 |
(exit $ac_status); } && { |
13389 |
test -z "$ac_c_werror_flag" || |
|
13390 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13391 |
} && test -s conftest$ac_exeext && { |
13392 |
test "$cross_compiling" = yes || |
|
13393 |
$as_test_x conftest$ac_exeext |
|
13394 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13395 |
ac_cv_lib_svld_dlopen=yes |
13396 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13397 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13398 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13399 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13400 |
ac_cv_lib_svld_dlopen=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13401 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13402 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13403 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13404 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13405 |
conftest$ac_exeext conftest.$ac_ext |
13406 |
LIBS=$ac_check_lib_save_LIBS |
|
13407 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13408 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
13409 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13410 |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13411 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
13412 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13413 |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
13414 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13415 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13416 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13417 |
else |
13418 |
ac_check_lib_save_LIBS=$LIBS |
|
13419 |
LIBS="-ldld $LIBS" |
|
13420 |
cat >conftest.$ac_ext <<_ACEOF |
|
13421 |
/* confdefs.h. */ |
|
13422 |
_ACEOF |
|
13423 |
cat confdefs.h >>conftest.$ac_ext |
|
13424 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13425 |
/* end confdefs.h. */ |
|
13426 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13427 |
/* Override any GCC internal prototype to avoid an error. |
13428 |
Use char because int might match the return type of a GCC |
|
13429 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13430 |
#ifdef __cplusplus |
13431 |
extern "C" |
|
13432 |
#endif |
|
13433 |
char dld_link (); |
|
13434 |
int |
|
13435 |
main () |
|
13436 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13437 |
return dld_link (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13438 |
; |
13439 |
return 0; |
|
13440 |
} |
|
13441 |
_ACEOF |
|
13442 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13443 |
if { (ac_try="$ac_link" |
13444 |
case "(($ac_try" in |
|
13445 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13446 |
*) ac_try_echo=$ac_try;; |
|
13447 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13448 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13449 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13450 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13451 |
ac_status=$? |
13452 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
13453 |
rm -f conftest.er1 |
|
13454 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13455 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13456 |
(exit $ac_status); } && { |
13457 |
test -z "$ac_c_werror_flag" || |
|
13458 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13459 |
} && test -s conftest$ac_exeext && { |
13460 |
test "$cross_compiling" = yes || |
|
13461 |
$as_test_x conftest$ac_exeext |
|
13462 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13463 |
ac_cv_lib_dld_dld_link=yes |
13464 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13465 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13466 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13467 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13468 |
ac_cv_lib_dld_dld_link=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13469 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13470 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13471 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13472 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13473 |
conftest$ac_exeext conftest.$ac_ext |
13474 |
LIBS=$ac_check_lib_save_LIBS |
|
13475 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13476 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
13477 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
13478 |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13479 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13480 |
fi |
13481 |
||
13482 |
||
13483 |
fi |
|
13484 |
||
13485 |
||
13486 |
fi |
|
13487 |
||
13488 |
||
13489 |
fi |
|
13490 |
||
13491 |
||
13492 |
fi |
|
13493 |
||
13494 |
||
13495 |
fi |
|
13496 |
||
13497 |
;; |
|
13498 |
esac |
|
13499 |
||
13500 |
if test "x$lt_cv_dlopen" != xno; then |
|
13501 |
enable_dlopen=yes |
|
13502 |
else |
|
13503 |
enable_dlopen=no |
|
13504 |
fi |
|
13505 |
||
13506 |
case $lt_cv_dlopen in |
|
13507 |
dlopen) |
|
13508 |
save_CPPFLAGS="$CPPFLAGS" |
|
13509 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
13510 |
||
13511 |
save_LDFLAGS="$LDFLAGS" |
|
13512 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
13513 |
||
13514 |
save_LIBS="$LIBS" |
|
13515 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
13516 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13517 |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
13518 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13519 |
if test "${lt_cv_dlopen_self+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13520 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13521 |
else |
13522 |
if test "$cross_compiling" = yes; then : |
|
13523 |
lt_cv_dlopen_self=cross |
|
13524 |
else |
|
13525 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
13526 |
lt_status=$lt_dlunknown |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13527 |
cat > conftest.$ac_ext <<_LT_EOF |
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
13528 |
#line 13528 "configure" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13529 |
#include "confdefs.h" |
13530 |
||
13531 |
#if HAVE_DLFCN_H |
|
13532 |
#include <dlfcn.h> |
|
13533 |
#endif |
|
13534 |
||
13535 |
#include <stdio.h> |
|
13536 |
||
13537 |
#ifdef RTLD_GLOBAL |
|
13538 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
13539 |
#else |
|
13540 |
# ifdef DL_GLOBAL |
|
13541 |
# define LT_DLGLOBAL DL_GLOBAL |
|
13542 |
# else |
|
13543 |
# define LT_DLGLOBAL 0 |
|
13544 |
# endif |
|
13545 |
#endif |
|
13546 |
||
13547 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
13548 |
find out it does not work in some platform. */ |
|
13549 |
#ifndef LT_DLLAZY_OR_NOW |
|
13550 |
# ifdef RTLD_LAZY |
|
13551 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
13552 |
# else |
|
13553 |
# ifdef DL_LAZY |
|
13554 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
13555 |
# else |
|
13556 |
# ifdef RTLD_NOW |
|
13557 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
13558 |
# else |
|
13559 |
# ifdef DL_NOW |
|
13560 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
13561 |
# else |
|
13562 |
# define LT_DLLAZY_OR_NOW 0 |
|
13563 |
# endif |
|
13564 |
# endif |
|
13565 |
# endif |
|
13566 |
# endif |
|
13567 |
#endif |
|
13568 |
||
13569 |
void fnord() { int i=42;} |
|
13570 |
int main () |
|
13571 |
{ |
|
13572 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
13573 |
int status = $lt_dlunknown; |
|
13574 |
||
13575 |
if (self) |
|
13576 |
{ |
|
13577 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
13578 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
13579 |
/* dlclose (self); */ |
|
13580 |
} |
|
13581 |
else |
|
13582 |
puts (dlerror ()); |
|
13583 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13584 |
return status; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13585 |
} |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13586 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13587 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13588 |
(eval $ac_link) 2>&5 |
|
13589 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13590 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13591 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
13592 |
(./conftest; exit; ) >&5 2>/dev/null |
|
13593 |
lt_status=$? |
|
13594 |
case x$lt_status in |
|
13595 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
13596 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
13597 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
13598 |
esac |
|
13599 |
else : |
|
13600 |
# compilation failed |
|
13601 |
lt_cv_dlopen_self=no |
|
13602 |
fi |
|
13603 |
fi |
|
13604 |
rm -fr conftest* |
|
13605 |
||
13606 |
||
13607 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13608 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
13609 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13610 |
|
13611 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
13612 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13613 |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
13614 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13615 |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13616 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13617 |
else |
13618 |
if test "$cross_compiling" = yes; then : |
|
13619 |
lt_cv_dlopen_self_static=cross |
|
13620 |
else |
|
13621 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
13622 |
lt_status=$lt_dlunknown |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13623 |
cat > conftest.$ac_ext <<_LT_EOF |
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
13624 |
#line 13624 "configure" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13625 |
#include "confdefs.h" |
13626 |
||
13627 |
#if HAVE_DLFCN_H |
|
13628 |
#include <dlfcn.h> |
|
13629 |
#endif |
|
13630 |
||
13631 |
#include <stdio.h> |
|
13632 |
||
13633 |
#ifdef RTLD_GLOBAL |
|
13634 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
13635 |
#else |
|
13636 |
# ifdef DL_GLOBAL |
|
13637 |
# define LT_DLGLOBAL DL_GLOBAL |
|
13638 |
# else |
|
13639 |
# define LT_DLGLOBAL 0 |
|
13640 |
# endif |
|
13641 |
#endif |
|
13642 |
||
13643 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
13644 |
find out it does not work in some platform. */ |
|
13645 |
#ifndef LT_DLLAZY_OR_NOW |
|
13646 |
# ifdef RTLD_LAZY |
|
13647 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
13648 |
# else |
|
13649 |
# ifdef DL_LAZY |
|
13650 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
13651 |
# else |
|
13652 |
# ifdef RTLD_NOW |
|
13653 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
13654 |
# else |
|
13655 |
# ifdef DL_NOW |
|
13656 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
13657 |
# else |
|
13658 |
# define LT_DLLAZY_OR_NOW 0 |
|
13659 |
# endif |
|
13660 |
# endif |
|
13661 |
# endif |
|
13662 |
# endif |
|
13663 |
#endif |
|
13664 |
||
13665 |
void fnord() { int i=42;} |
|
13666 |
int main () |
|
13667 |
{ |
|
13668 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
13669 |
int status = $lt_dlunknown; |
|
13670 |
||
13671 |
if (self) |
|
13672 |
{ |
|
13673 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
13674 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
13675 |
/* dlclose (self); */ |
|
13676 |
} |
|
13677 |
else |
|
13678 |
puts (dlerror ()); |
|
13679 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13680 |
return status; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13681 |
} |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13682 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13683 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13684 |
(eval $ac_link) 2>&5 |
|
13685 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13686 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13687 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
13688 |
(./conftest; exit; ) >&5 2>/dev/null |
|
13689 |
lt_status=$? |
|
13690 |
case x$lt_status in |
|
13691 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
13692 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
13693 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
13694 |
esac |
|
13695 |
else : |
|
13696 |
# compilation failed |
|
13697 |
lt_cv_dlopen_self_static=no |
|
13698 |
fi |
|
13699 |
fi |
|
13700 |
rm -fr conftest* |
|
13701 |
||
13702 |
||
13703 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13704 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
13705 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13706 |
fi |
13707 |
||
13708 |
CPPFLAGS="$save_CPPFLAGS" |
|
13709 |
LDFLAGS="$save_LDFLAGS" |
|
13710 |
LIBS="$save_LIBS" |
|
13711 |
;; |
|
13712 |
esac |
|
13713 |
||
13714 |
case $lt_cv_dlopen_self in |
|
13715 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
13716 |
*) enable_dlopen_self=unknown ;; |
|
13717 |
esac |
|
13718 |
||
13719 |
case $lt_cv_dlopen_self_static in |
|
13720 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
13721 |
*) enable_dlopen_self_static=unknown ;; |
|
13722 |
esac |
|
13723 |
fi |
|
13724 |
||
13725 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13726 |
|
13727 |
||
13728 |
||
13729 |
||
13730 |
||
13731 |
||
13732 |
||
13733 |
||
13734 |
||
13735 |
||
13736 |
||
13737 |
||
13738 |
||
13739 |
||
13740 |
||
13741 |
striplib= |
|
13742 |
old_striplib= |
|
13743 |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
13744 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
13745 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
13746 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
13747 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
13748 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
13749 |
$as_echo "yes" >&6; } |
|
13750 |
else |
|
13751 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
13752 |
case $host_os in |
|
13753 |
darwin*) |
|
13754 |
if test -n "$STRIP" ; then |
|
13755 |
striplib="$STRIP -x" |
|
13756 |
old_striplib="$STRIP -S" |
|
13757 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
13758 |
$as_echo "yes" >&6; } |
|
13759 |
else |
|
13760 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
13761 |
$as_echo "no" >&6; } |
|
13762 |
fi |
|
13763 |
;; |
|
13764 |
*) |
|
13765 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
13766 |
$as_echo "no" >&6; } |
|
13767 |
;; |
|
13768 |
esac |
|
13769 |
fi |
|
13770 |
||
13771 |
||
13772 |
||
13773 |
||
13774 |
||
13775 |
||
13776 |
||
13777 |
||
13778 |
||
13779 |
||
13780 |
||
13781 |
||
13782 |
# Report which library types will actually be built |
|
13783 |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13784 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13785 |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13786 |
$as_echo "$can_build_shared" >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13787 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13788 |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13789 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13790 |
test "$can_build_shared" = "no" && enable_shared=no |
13791 |
||
13792 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
13793 |
# are all built from PIC. |
|
13794 |
case $host_os in |
|
13795 |
aix3*) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13796 |
test "$enable_shared" = yes && enable_static=no |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13797 |
if test -n "$RANLIB"; then |
13798 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
13799 |
postinstall_cmds='$RANLIB $lib' |
|
13800 |
fi |
|
13801 |
;; |
|
13802 |
||
13803 |
aix[4-9]*) |
|
13804 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
13805 |
test "$enable_shared" = yes && enable_static=no |
|
13806 |
fi |
|
13807 |
;; |
|
13808 |
esac |
|
13809 |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13810 |
$as_echo "$enable_shared" >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13811 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13812 |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13813 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13814 |
# Make sure either enable_shared or enable_static is yes. |
13815 |
test "$enable_shared" = yes || enable_static=yes |
|
13816 |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13817 |
$as_echo "$enable_static" >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13818 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13819 |
|
13820 |
||
13821 |
||
13822 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13823 |
ac_ext=c |
13824 |
ac_cpp='$CPP $CPPFLAGS' |
|
13825 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
13826 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
13827 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
13828 |
||
13829 |
CC="$lt_save_CC" |
|
13830 |
||
13831 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13832 |
ac_ext=cpp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13833 |
ac_cpp='$CXXCPP $CPPFLAGS' |
13834 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
13835 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
13836 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
13837 |
||
13838 |
archive_cmds_need_lc_CXX=no |
|
13839 |
allow_undefined_flag_CXX= |
|
13840 |
always_export_symbols_CXX=no |
|
13841 |
archive_expsym_cmds_CXX= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13842 |
compiler_needs_object_CXX=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13843 |
export_dynamic_flag_spec_CXX= |
13844 |
hardcode_direct_CXX=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13845 |
hardcode_direct_absolute_CXX=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13846 |
hardcode_libdir_flag_spec_CXX= |
13847 |
hardcode_libdir_flag_spec_ld_CXX= |
|
13848 |
hardcode_libdir_separator_CXX= |
|
13849 |
hardcode_minus_L_CXX=no |
|
13850 |
hardcode_shlibpath_var_CXX=unsupported |
|
13851 |
hardcode_automatic_CXX=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13852 |
inherit_rpath_CXX=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13853 |
module_cmds_CXX= |
13854 |
module_expsym_cmds_CXX= |
|
13855 |
link_all_deplibs_CXX=unknown |
|
13856 |
old_archive_cmds_CXX=$old_archive_cmds |
|
13857 |
no_undefined_flag_CXX= |
|
13858 |
whole_archive_flag_spec_CXX= |
|
13859 |
enable_shared_with_static_runtimes_CXX=no |
|
13860 |
||
13861 |
# Source file extension for C++ test sources. |
|
13862 |
ac_ext=cpp |
|
13863 |
||
13864 |
# Object file extension for compiled C++ test sources. |
|
13865 |
objext=o |
|
13866 |
objext_CXX=$objext |
|
13867 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13868 |
# No sense in running all these tests if we already determined that |
13869 |
# the CXX compiler isn't working. Some variables (like enable_shared) |
|
13870 |
# are currently assumed to apply to all compilers on this platform, |
|
13871 |
# and will be corrupted by setting them based on a non-working compiler. |
|
13872 |
if test "$_lt_caught_CXX_error" != yes; then |
|
13873 |
# Code to be used in simple compile tests |
|
13874 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
13875 |
||
13876 |
# Code to be used in simple link tests |
|
13877 |
lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
|
13878 |
||
13879 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
13880 |
||
13881 |
||
13882 |
||
13883 |
||
13884 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13885 |
|
13886 |
# If no C compiler was specified, use CC. |
|
13887 |
LTCC=${LTCC-"$CC"} |
|
13888 |
||
13889 |
# If no C compiler flags were specified, use CFLAGS. |
|
13890 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
13891 |
||
13892 |
# Allow CC to be a program name with arguments. |
|
13893 |
compiler=$CC |
|
13894 |
||
13895 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13896 |
# save warnings/boilerplate of simple test code |
13897 |
ac_outfile=conftest.$ac_objext |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
13898 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13899 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
13900 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13901 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13902 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13903 |
ac_outfile=conftest.$ac_objext |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
13904 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13905 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
13906 |
_lt_linker_boilerplate=`cat conftest.err` |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13907 |
$RM -r conftest* |
13908 |
||
13909 |
||
13910 |
# Allow CC to be a program name with arguments. |
|
13911 |
lt_save_CC=$CC |
|
13912 |
lt_save_LD=$LD |
|
13913 |
lt_save_GCC=$GCC |
|
13914 |
GCC=$GXX |
|
13915 |
lt_save_with_gnu_ld=$with_gnu_ld |
|
13916 |
lt_save_path_LD=$lt_cv_path_LD |
|
13917 |
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
|
13918 |
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
|
13919 |
else |
|
13920 |
$as_unset lt_cv_prog_gnu_ld |
|
13921 |
fi |
|
13922 |
if test -n "${lt_cv_path_LDCXX+set}"; then |
|
13923 |
lt_cv_path_LD=$lt_cv_path_LDCXX |
|
13924 |
else |
|
13925 |
$as_unset lt_cv_path_LD |
|
13926 |
fi |
|
13927 |
test -z "${LDCXX+set}" || LD=$LDCXX |
|
13928 |
CC=${CXX-"c++"} |
|
13929 |
compiler=$CC |
|
13930 |
compiler_CXX=$CC |
|
13931 |
for cc_temp in $compiler""; do |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13932 |
case $cc_temp in |
13933 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
13934 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
13935 |
\-*) ;; |
|
13936 |
*) break;; |
|
13937 |
esac |
|
13938 |
done |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13939 |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13940 |
||
13941 |
||
13942 |
if test -n "$compiler"; then |
|
13943 |
# We don't want -fno-exception when compiling C++ code, so set the |
|
13944 |
# no_builtin_flag separately |
|
13945 |
if test "$GXX" = yes; then |
|
13946 |
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
|
13947 |
else |
|
13948 |
lt_prog_compiler_no_builtin_flag_CXX= |
|
13949 |
fi |
|
13950 |
||
13951 |
if test "$GXX" = yes; then |
|
13952 |
# Set up default GNU C++ configuration |
|
13953 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13954 |
|
13955 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13956 |
# Check whether --with-gnu-ld was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13957 |
if test "${with_gnu_ld+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13958 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13959 |
else |
13960 |
with_gnu_ld=no |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
13961 |
fi |
13962 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13963 |
ac_prog=ld |
13964 |
if test "$GCC" = yes; then |
|
13965 |
# Check if gcc -print-prog-name=ld gives a path. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13966 |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
13967 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13968 |
case $host in |
13969 |
*-*-mingw*) |
|
13970 |
# gcc leaves a trailing carriage return which upsets mingw |
|
13971 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
13972 |
*) |
|
13973 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
13974 |
esac |
|
13975 |
case $ac_prog in |
|
13976 |
# Accept absolute paths. |
|
13977 |
[\\/]* | ?:[\\/]*) |
|
13978 |
re_direlt='/[^/][^/]*/\.\./' |
|
13979 |
# Canonicalize the pathname of ld |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
13980 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
13981 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
13982 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13983 |
done |
13984 |
test -z "$LD" && LD="$ac_prog" |
|
13985 |
;; |
|
13986 |
"") |
|
13987 |
# If it fails, then pretend we aren't using GCC. |
|
13988 |
ac_prog=ld |
|
13989 |
;; |
|
13990 |
*) |
|
13991 |
# If it is relative, then search for the first ld in PATH. |
|
13992 |
with_gnu_ld=unknown |
|
13993 |
;; |
|
13994 |
esac |
|
13995 |
elif test "$with_gnu_ld" = yes; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13996 |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
13997 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
13998 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
13999 |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
14000 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14001 |
fi |
14002 |
if test "${lt_cv_path_LD+set}" = set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14003 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14004 |
else |
14005 |
if test -z "$LD"; then |
|
14006 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
14007 |
for ac_dir in $PATH; do |
|
14008 |
IFS="$lt_save_ifs" |
|
14009 |
test -z "$ac_dir" && ac_dir=. |
|
14010 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
14011 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
14012 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
14013 |
# but apparently some variants of GNU ld only accept -v. |
|
14014 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
14015 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
14016 |
*GNU* | *'with BFD'*) |
|
14017 |
test "$with_gnu_ld" != no && break |
|
14018 |
;; |
|
14019 |
*) |
|
14020 |
test "$with_gnu_ld" != yes && break |
|
14021 |
;; |
|
14022 |
esac |
|
14023 |
fi |
|
14024 |
done |
|
14025 |
IFS="$lt_save_ifs" |
|
14026 |
else |
|
14027 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
14028 |
fi |
|
14029 |
fi |
|
14030 |
||
14031 |
LD="$lt_cv_path_LD" |
|
14032 |
if test -n "$LD"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14033 |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
14034 |
$as_echo "$LD" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14035 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14036 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
14037 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14038 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14039 |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
14040 |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14041 |
{ (exit 1); exit 1; }; } |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14042 |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
14043 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14044 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14045 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14046 |
else |
14047 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
14048 |
case `$LD -v 2>&1 </dev/null` in |
|
14049 |
*GNU* | *'with BFD'*) |
|
14050 |
lt_cv_prog_gnu_ld=yes |
|
14051 |
;; |
|
14052 |
*) |
|
14053 |
lt_cv_prog_gnu_ld=no |
|
14054 |
;; |
|
14055 |
esac |
|
14056 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
14057 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
14058 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14059 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
14060 |
||
14061 |
||
14062 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
14063 |
|
14064 |
||
14065 |
||
14066 |
||
14067 |
# Check if GNU C++ uses GNU ld as the underlying linker, since the |
|
14068 |
# archiving commands below assume that GNU ld is being used. |
|
14069 |
if test "$with_gnu_ld" = yes; then |
|
14070 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14071 |
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14072 |
||
14073 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
14074 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
14075 |
||
14076 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
14077 |
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
|
14078 |
# investigate it a little bit more. (MM) |
|
14079 |
wlarc='${wl}' |
|
14080 |
||
14081 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
14082 |
if eval "`$CC -print-prog-name=ld` --help 2>&1" | |
|
14083 |
$GREP 'no-whole-archive' > /dev/null; then |
|
14084 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
14085 |
else |
|
14086 |
whole_archive_flag_spec_CXX= |
|
14087 |
fi |
|
14088 |
else |
|
14089 |
with_gnu_ld=no |
|
14090 |
wlarc= |
|
14091 |
||
14092 |
# A generic and very simple default shared library creation |
|
14093 |
# command for GNU C++ for the case where it uses the native |
|
14094 |
# linker, instead of GNU ld. If possible, this setting should |
|
14095 |
# overridden to take advantage of the native linker features on |
|
14096 |
# the platform it is being used on. |
|
14097 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
14098 |
fi |
|
14099 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14100 |
# Commands to make compiler produce verbose output that lists |
14101 |
# what "hidden" libraries, object files and flags are used when |
|
14102 |
# linking a shared library. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
14103 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
14104 |
||
14105 |
else |
|
14106 |
GXX=no |
|
14107 |
with_gnu_ld=no |
|
14108 |
wlarc= |
|
14109 |
fi |
|
14110 |
||
14111 |
# PORTME: fill in a description of your system's C++ link characteristics |
|
14112 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
14113 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
14114 |
ld_shlibs_CXX=yes |
|
14115 |
case $host_os in |
|
14116 |
aix3*) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14117 |
# FIXME: insert proper C++ library support |
14118 |
ld_shlibs_CXX=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
14119 |
;; |
14120 |
aix[4-9]*) |
|
14121 |
if test "$host_cpu" = ia64; then |
|
14122 |
# On IA64, the linker does run time linking by default, so we don't |
|
14123 |
# have to do anything special. |
|
14124 |
aix_use_runtimelinking=no |
|
14125 |
exp_sym_flag='-Bexport' |
|
14126 |
no_entry_flag="" |
|
14127 |
else |
|
14128 |
aix_use_runtimelinking=no |
|
14129 |
||
14130 |
# Test if we are trying to use run time linking or normal |
|
14131 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
14132 |
# need to do runtime linking. |
|
14133 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
14134 |
for ld_flag in $LDFLAGS; do |
|
14135 |
case $ld_flag in |
|
14136 |
*-brtl*) |
|
14137 |
aix_use_runtimelinking=yes |
|
14138 |
break |
|
14139 |
;; |
|
14140 |
esac |
|
14141 |
done |
|
14142 |
;; |
|
14143 |
esac |
|
14144 |
||
14145 |
exp_sym_flag='-bexport' |
|
14146 |
no_entry_flag='-bnoentry' |
|
14147 |
fi |
|
14148 |
||
14149 |
# When large executables or shared objects are built, AIX ld can |
|
14150 |
# have problems creating the table of contents. If linking a library |
|
14151 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
14152 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
14153 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
14154 |
||
14155 |
archive_cmds_CXX='' |
|
14156 |
hardcode_direct_CXX=yes |
|
14157 |
hardcode_direct_absolute_CXX=yes |
|
14158 |
hardcode_libdir_separator_CXX=':' |
|
14159 |
link_all_deplibs_CXX=yes |
|
14160 |
file_list_spec_CXX='${wl}-f,' |
|
14161 |
||
14162 |
if test "$GXX" = yes; then |
|
14163 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
14164 |
# We only want to do this on AIX 4.2 and lower, the check |
|
14165 |
# below for broken collect2 doesn't work under 4.3+ |
|
14166 |
collect2name=`${CC} -print-prog-name=collect2` |
|
14167 |
if test -f "$collect2name" && |
|
14168 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
14169 |
then |
|
14170 |
# We have reworked collect2 |
|
14171 |
: |
|
14172 |
else |
|
14173 |
# We have old collect2 |
|
14174 |
hardcode_direct_CXX=unsupported |
|
14175 |
# It fails to find uninstalled libraries when the uninstalled |
|
14176 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
14177 |
# to unsupported forces relinking |
|
14178 |
hardcode_minus_L_CXX=yes |
|
14179 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
14180 |
hardcode_libdir_separator_CXX= |
|
14181 |
fi |
|
14182 |
esac |
|
14183 |
shared_flag='-shared' |
|
14184 |
if test "$aix_use_runtimelinking" = yes; then |
|
14185 |
shared_flag="$shared_flag "'${wl}-G' |
|
14186 |
fi |
|
14187 |
else |
|
14188 |
# not using gcc |
|
14189 |
if test "$host_cpu" = ia64; then |
|
14190 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
14191 |
# chokes on -Wl,-G. The following line is correct: |
|
14192 |
shared_flag='-G' |
|
14193 |
else |
|
14194 |
if test "$aix_use_runtimelinking" = yes; then |
|
14195 |
shared_flag='${wl}-G' |
|
14196 |
else |
|
14197 |
shared_flag='${wl}-bM:SRE' |
|
14198 |
fi |
|
14199 |
fi |
|
14200 |
fi |
|
14201 |
||
14202 |
export_dynamic_flag_spec_CXX='${wl}-bexpall' |
|
14203 |
# It seems that -bexpall does not export symbols beginning with |
|
14204 |
# underscore (_), so it is better to generate a list of symbols to |
|
14205 |
# export. |
|
14206 |
always_export_symbols_CXX=yes |
|
14207 |
if test "$aix_use_runtimelinking" = yes; then |
|
14208 |
# Warning - without using the other runtime loading flags (-brtl), |
|
14209 |
# -berok will link without error, but may produce a broken library. |
|
14210 |
allow_undefined_flag_CXX='-berok' |
|
14211 |
# Determine the default libpath from the value encoded in an empty |
|
14212 |
# executable. |
|
14213 |
cat >conftest.$ac_ext <<_ACEOF |
|
14214 |
/* confdefs.h. */ |
|
14215 |
_ACEOF |
|
14216 |
cat confdefs.h >>conftest.$ac_ext |
|
14217 |
cat >>conftest.$ac_ext <<_ACEOF |
|
14218 |
/* end confdefs.h. */ |
|
14219 |
||
14220 |
int |
|
14221 |
main () |
|
14222 |
{ |
|
14223 |
||
14224 |
; |
|
14225 |
return 0; |
|
14226 |
} |
|
14227 |
_ACEOF |
|
14228 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
14229 |
if { (ac_try="$ac_link" |
|
14230 |
case "(($ac_try" in |
|
14231 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
14232 |
*) ac_try_echo=$ac_try;; |
|
14233 |
esac |
|
14234 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
14235 |
$as_echo "$ac_try_echo") >&5 |
|
14236 |
(eval "$ac_link") 2>conftest.er1 |
|
14237 |
ac_status=$? |
|
14238 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
14239 |
rm -f conftest.er1 |
|
14240 |
cat conftest.err >&5 |
|
14241 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
14242 |
(exit $ac_status); } && { |
|
14243 |
test -z "$ac_cxx_werror_flag" || |
|
14244 |
test ! -s conftest.err |
|
14245 |
} && test -s conftest$ac_exeext && { |
|
14246 |
test "$cross_compiling" = yes || |
|
14247 |
$as_test_x conftest$ac_exeext |
|
14248 |
}; then |
|
14249 |
||
14250 |
lt_aix_libpath_sed=' |
|
14251 |
/Import File Strings/,/^$/ { |
|
14252 |
/^0/ { |
|
14253 |
s/^0 *\(.*\)$/\1/ |
|
14254 |
p |
|
14255 |
} |
|
14256 |
}' |
|
14257 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14258 |
# Check for a 64-bit object if we didn't find anything. |
|
14259 |
if test -z "$aix_libpath"; then |
|
14260 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14261 |
fi |
|
14262 |
else |
|
14263 |
$as_echo "$as_me: failed program was:" >&5 |
|
14264 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
14265 |
||
14266 |
||
14267 |
fi |
|
14268 |
||
14269 |
rm -rf conftest.dSYM |
|
14270 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
14271 |
conftest$ac_exeext conftest.$ac_ext |
|
14272 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
14273 |
||
14274 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
14275 |
||
14276 |
archive_expsym_cmds_CXX='$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" |
|
14277 |
else |
|
14278 |
if test "$host_cpu" = ia64; then |
|
14279 |
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
|
14280 |
allow_undefined_flag_CXX="-z nodefs" |
|
14281 |
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
14282 |
else |
|
14283 |
# Determine the default libpath from the value encoded in an |
|
14284 |
# empty executable. |
|
14285 |
cat >conftest.$ac_ext <<_ACEOF |
|
14286 |
/* confdefs.h. */ |
|
14287 |
_ACEOF |
|
14288 |
cat confdefs.h >>conftest.$ac_ext |
|
14289 |
cat >>conftest.$ac_ext <<_ACEOF |
|
14290 |
/* end confdefs.h. */ |
|
14291 |
||
14292 |
int |
|
14293 |
main () |
|
14294 |
{ |
|
14295 |
||
14296 |
; |
|
14297 |
return 0; |
|
14298 |
} |
|
14299 |
_ACEOF |
|
14300 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
14301 |
if { (ac_try="$ac_link" |
|
14302 |
case "(($ac_try" in |
|
14303 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
14304 |
*) ac_try_echo=$ac_try;; |
|
14305 |
esac |
|
14306 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
14307 |
$as_echo "$ac_try_echo") >&5 |
|
14308 |
(eval "$ac_link") 2>conftest.er1 |
|
14309 |
ac_status=$? |
|
14310 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
14311 |
rm -f conftest.er1 |
|
14312 |
cat conftest.err >&5 |
|
14313 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
14314 |
(exit $ac_status); } && { |
|
14315 |
test -z "$ac_cxx_werror_flag" || |
|
14316 |
test ! -s conftest.err |
|
14317 |
} && test -s conftest$ac_exeext && { |
|
14318 |
test "$cross_compiling" = yes || |
|
14319 |
$as_test_x conftest$ac_exeext |
|
14320 |
}; then |
|
14321 |
||
14322 |
lt_aix_libpath_sed=' |
|
14323 |
/Import File Strings/,/^$/ { |
|
14324 |
/^0/ { |
|
14325 |
s/^0 *\(.*\)$/\1/ |
|
14326 |
p |
|
14327 |
} |
|
14328 |
}' |
|
14329 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14330 |
# Check for a 64-bit object if we didn't find anything. |
|
14331 |
if test -z "$aix_libpath"; then |
|
14332 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
14333 |
fi |
|
14334 |
else |
|
14335 |
$as_echo "$as_me: failed program was:" >&5 |
|
14336 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
14337 |
||
14338 |
||
14339 |
fi |
|
14340 |
||
14341 |
rm -rf conftest.dSYM |
|
14342 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
14343 |
conftest$ac_exeext conftest.$ac_ext |
|
14344 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
14345 |
||
14346 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
14347 |
# Warning - without using the other run time loading flags, |
|
14348 |
# -berok will link without error, but may produce a broken library. |
|
14349 |
no_undefined_flag_CXX=' ${wl}-bernotok' |
|
14350 |
allow_undefined_flag_CXX=' ${wl}-berok' |
|
14351 |
# Exported symbols can be pulled into shared objects from archives |
|
14352 |
whole_archive_flag_spec_CXX='$convenience' |
|
14353 |
archive_cmds_need_lc_CXX=yes |
|
14354 |
# This is similar to how AIX traditionally builds its shared |
|
14355 |
# libraries. |
|
14356 |
archive_expsym_cmds_CXX="\$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' |
|
14357 |
fi |
|
14358 |
fi |
|
14359 |
;; |
|
14360 |
||
14361 |
beos*) |
|
14362 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
14363 |
allow_undefined_flag_CXX=unsupported |
|
14364 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
14365 |
# support --undefined. This deserves some investigation. FIXME |
|
14366 |
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14367 |
else |
|
14368 |
ld_shlibs_CXX=no |
|
14369 |
fi |
|
14370 |
;; |
|
14371 |
||
14372 |
chorus*) |
|
14373 |
case $cc_basename in |
|
14374 |
*) |
|
14375 |
# FIXME: insert proper C++ library support |
|
14376 |
ld_shlibs_CXX=no |
|
14377 |
;; |
|
14378 |
esac |
|
14379 |
;; |
|
14380 |
||
14381 |
cygwin* | mingw* | pw32* | cegcc*) |
|
14382 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
|
14383 |
# as there is no search path for DLLs. |
|
14384 |
hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
14385 |
allow_undefined_flag_CXX=unsupported |
|
14386 |
always_export_symbols_CXX=no |
|
14387 |
enable_shared_with_static_runtimes_CXX=yes |
|
14388 |
||
14389 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
14390 |
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
14391 |
# If the export-symbols file already is a .def file (1st line |
|
14392 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
14393 |
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
14394 |
cp $export_symbols $output_objdir/$soname.def; |
|
14395 |
else |
|
14396 |
echo EXPORTS > $output_objdir/$soname.def; |
|
14397 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
14398 |
fi~ |
|
14399 |
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
14400 |
else |
|
14401 |
ld_shlibs_CXX=no |
|
14402 |
fi |
|
14403 |
;; |
|
14404 |
darwin* | rhapsody*) |
|
14405 |
||
14406 |
||
14407 |
archive_cmds_need_lc_CXX=no |
|
14408 |
hardcode_direct_CXX=no |
|
14409 |
hardcode_automatic_CXX=yes |
|
14410 |
hardcode_shlibpath_var_CXX=unsupported |
|
14411 |
whole_archive_flag_spec_CXX='' |
|
14412 |
link_all_deplibs_CXX=yes |
|
14413 |
allow_undefined_flag_CXX="$_lt_dar_allow_undefined" |
|
14414 |
case $cc_basename in |
|
14415 |
ifort*) _lt_dar_can_shared=yes ;; |
|
14416 |
*) _lt_dar_can_shared=$GCC ;; |
|
14417 |
esac |
|
14418 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
14419 |
output_verbose_link_cmd=echo |
|
14420 |
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
14421 |
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
14422 |
archive_expsym_cmds_CXX="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}" |
|
14423 |
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
|
14424 |
if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
|
14425 |
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" |
|
14426 |
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
|
14427 |
fi |
|
14428 |
||
14429 |
else |
|
14430 |
ld_shlibs_CXX=no |
|
14431 |
fi |
|
14432 |
||
14433 |
;; |
|
14434 |
||
14435 |
dgux*) |
|
14436 |
case $cc_basename in |
|
14437 |
ec++*) |
|
14438 |
# FIXME: insert proper C++ library support |
|
14439 |
ld_shlibs_CXX=no |
|
14440 |
;; |
|
14441 |
ghcx*) |
|
14442 |
# Green Hills C++ Compiler |
|
14443 |
# FIXME: insert proper C++ library support |
|
14444 |
ld_shlibs_CXX=no |
|
14445 |
;; |
|
14446 |
*) |
|
14447 |
# FIXME: insert proper C++ library support |
|
14448 |
ld_shlibs_CXX=no |
|
14449 |
;; |
|
14450 |
esac |
|
14451 |
;; |
|
14452 |
||
14453 |
freebsd[12]*) |
|
14454 |
# C++ shared libraries reported to be fairly broken before |
|
14455 |
# switch to ELF |
|
14456 |
ld_shlibs_CXX=no |
|
14457 |
;; |
|
14458 |
||
14459 |
freebsd-elf*) |
|
14460 |
archive_cmds_need_lc_CXX=no |
|
14461 |
;; |
|
14462 |
||
14463 |
freebsd* | dragonfly*) |
|
14464 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
|
14465 |
# conventions |
|
14466 |
ld_shlibs_CXX=yes |
|
14467 |
;; |
|
14468 |
||
14469 |
gnu*) |
|
14470 |
;; |
|
14471 |
||
14472 |
hpux9*) |
|
14473 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
14474 |
hardcode_libdir_separator_CXX=: |
|
14475 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
14476 |
hardcode_direct_CXX=yes |
|
14477 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
14478 |
# but as the default |
|
14479 |
# location of the library. |
|
14480 |
||
14481 |
case $cc_basename in |
|
14482 |
CC*) |
|
14483 |
# FIXME: insert proper C++ library support |
|
14484 |
ld_shlibs_CXX=no |
|
14485 |
;; |
|
14486 |
aCC*) |
|
14487 |
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
14488 |
# Commands to make compiler produce verbose output that lists |
|
14489 |
# what "hidden" libraries, object files and flags are used when |
|
14490 |
# linking a shared library. |
|
14491 |
# |
|
14492 |
# There doesn't appear to be a way to prevent this compiler from |
|
14493 |
# explicitly linking system object files so we need to strip them |
|
14494 |
# from the output so that they don't get included in the library |
|
14495 |
# dependencies. |
|
14496 |
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' |
|
14497 |
;; |
|
14498 |
*) |
|
14499 |
if test "$GXX" = yes; then |
|
14500 |
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
14501 |
else |
|
14502 |
# FIXME: insert proper C++ library support |
|
14503 |
ld_shlibs_CXX=no |
|
14504 |
fi |
|
14505 |
;; |
|
14506 |
esac |
|
14507 |
;; |
|
14508 |
||
14509 |
hpux10*|hpux11*) |
|
14510 |
if test $with_gnu_ld = no; then |
|
14511 |
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
14512 |
hardcode_libdir_separator_CXX=: |
|
14513 |
||
14514 |
case $host_cpu in |
|
14515 |
hppa*64*|ia64*) |
|
14516 |
;; |
|
14517 |
*) |
|
14518 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
14519 |
;; |
|
14520 |
esac |
|
14521 |
fi |
|
14522 |
case $host_cpu in |
|
14523 |
hppa*64*|ia64*) |
|
14524 |
hardcode_direct_CXX=no |
|
14525 |
hardcode_shlibpath_var_CXX=no |
|
14526 |
;; |
|
14527 |
*) |
|
14528 |
hardcode_direct_CXX=yes |
|
14529 |
hardcode_direct_absolute_CXX=yes |
|
14530 |
hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
14531 |
# but as the default |
|
14532 |
# location of the library. |
|
14533 |
;; |
|
14534 |
esac |
|
14535 |
||
14536 |
case $cc_basename in |
|
14537 |
CC*) |
|
14538 |
# FIXME: insert proper C++ library support |
|
14539 |
ld_shlibs_CXX=no |
|
14540 |
;; |
|
14541 |
aCC*) |
|
14542 |
case $host_cpu in |
|
14543 |
hppa*64*) |
|
14544 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14545 |
;; |
|
14546 |
ia64*) |
|
14547 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14548 |
;; |
|
14549 |
*) |
|
14550 |
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14551 |
;; |
|
14552 |
esac |
|
14553 |
# Commands to make compiler produce verbose output that lists |
|
14554 |
# what "hidden" libraries, object files and flags are used when |
|
14555 |
# linking a shared library. |
|
14556 |
# |
|
14557 |
# There doesn't appear to be a way to prevent this compiler from |
|
14558 |
# explicitly linking system object files so we need to strip them |
|
14559 |
# from the output so that they don't get included in the library |
|
14560 |
# dependencies. |
|
14561 |
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' |
|
14562 |
;; |
|
14563 |
*) |
|
14564 |
if test "$GXX" = yes; then |
|
14565 |
if test $with_gnu_ld = no; then |
|
14566 |
case $host_cpu in |
|
14567 |
hppa*64*) |
|
14568 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14569 |
;; |
|
14570 |
ia64*) |
|
14571 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14572 |
;; |
|
14573 |
*) |
|
14574 |
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14575 |
;; |
|
14576 |
esac |
|
14577 |
fi |
|
14578 |
else |
|
14579 |
# FIXME: insert proper C++ library support |
|
14580 |
ld_shlibs_CXX=no |
|
14581 |
fi |
|
14582 |
;; |
|
14583 |
esac |
|
14584 |
;; |
|
14585 |
||
14586 |
interix[3-9]*) |
|
14587 |
hardcode_direct_CXX=no |
|
14588 |
hardcode_shlibpath_var_CXX=no |
|
14589 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
14590 |
export_dynamic_flag_spec_CXX='${wl}-E' |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
14591 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
14592 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
14593 |
# default) and relocated if they conflict, which is a slow very memory |
|
14594 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
14595 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
14596 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
14597 |
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
14598 |
archive_expsym_cmds_CXX='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' |
|
14599 |
;; |
|
14600 |
irix5* | irix6*) |
|
14601 |
case $cc_basename in |
|
14602 |
CC*) |
|
14603 |
# SGI C++ |
|
14604 |
archive_cmds_CXX='$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' |
|
14605 |
||
14606 |
# Archives containing C++ object files must be created using |
|
14607 |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
|
14608 |
# necessary to make sure instantiated templates are included |
|
14609 |
# in the archive. |
|
14610 |
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
|
14611 |
;; |
|
14612 |
*) |
|
14613 |
if test "$GXX" = yes; then |
|
14614 |
if test "$with_gnu_ld" = no; then |
|
14615 |
archive_cmds_CXX='$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' |
|
14616 |
else |
|
14617 |
archive_cmds_CXX='$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' |
|
14618 |
fi |
|
14619 |
fi |
|
14620 |
link_all_deplibs_CXX=yes |
|
14621 |
;; |
|
14622 |
esac |
|
14623 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
14624 |
hardcode_libdir_separator_CXX=: |
|
14625 |
inherit_rpath_CXX=yes |
|
14626 |
;; |
|
14627 |
||
14628 |
linux* | k*bsd*-gnu) |
|
14629 |
case $cc_basename in |
|
14630 |
KCC*) |
|
14631 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
|
14632 |
||
14633 |
# KCC will only create a shared library if the output file |
|
14634 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
14635 |
# to its proper name (with version) after linking. |
|
14636 |
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
14637 |
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' |
|
14638 |
# Commands to make compiler produce verbose output that lists |
|
14639 |
# what "hidden" libraries, object files and flags are used when |
|
14640 |
# linking a shared library. |
|
14641 |
# |
|
14642 |
# There doesn't appear to be a way to prevent this compiler from |
|
14643 |
# explicitly linking system object files so we need to strip them |
|
14644 |
# from the output so that they don't get included in the library |
|
14645 |
# dependencies. |
|
14646 |
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' |
|
14647 |
||
14648 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
14649 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
14650 |
||
14651 |
# Archives containing C++ object files must be created using |
|
14652 |
# "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
14653 |
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
14654 |
;; |
|
14655 |
icpc* | ecpc* ) |
|
14656 |
# Intel C++ |
|
14657 |
with_gnu_ld=yes |
|
14658 |
# version 8.0 and above of icpc choke on multiply defined symbols |
|
14659 |
# if we add $predep_objects and $postdep_objects, however 7.1 and |
|
14660 |
# earlier do not add the objects themselves. |
|
14661 |
case `$CC -V 2>&1` in |
|
14662 |
*"Version 7."*) |
|
14663 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14664 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14665 |
;; |
|
14666 |
*) # Version 8.0 or newer |
|
14667 |
tmp_idyn= |
|
14668 |
case $host_cpu in |
|
14669 |
ia64*) tmp_idyn=' -i_dynamic';; |
|
14670 |
esac |
|
14671 |
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14672 |
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14673 |
;; |
|
14674 |
esac |
|
14675 |
archive_cmds_need_lc_CXX=no |
|
14676 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
14677 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
14678 |
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
14679 |
;; |
|
14680 |
pgCC* | pgcpp*) |
|
14681 |
# Portland Group C++ compiler |
|
14682 |
case `$CC -V` in |
|
14683 |
*pgCC\ [1-5]* | *pgcpp\ [1-5]*) |
|
14684 |
prelink_cmds_CXX='tpldir=Template.dir~ |
|
14685 |
rm -rf $tpldir~ |
|
14686 |
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
|
14687 |
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' |
|
14688 |
old_archive_cmds_CXX='tpldir=Template.dir~ |
|
14689 |
rm -rf $tpldir~ |
|
14690 |
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
|
14691 |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ |
|
14692 |
$RANLIB $oldlib' |
|
14693 |
archive_cmds_CXX='tpldir=Template.dir~ |
|
14694 |
rm -rf $tpldir~ |
|
14695 |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
|
14696 |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
14697 |
archive_expsym_cmds_CXX='tpldir=Template.dir~ |
|
14698 |
rm -rf $tpldir~ |
|
14699 |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
|
14700 |
$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' |
|
14701 |
;; |
|
14702 |
*) # Version 6 will use weak symbols |
|
14703 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
14704 |
archive_expsym_cmds_CXX='$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' |
|
14705 |
;; |
|
14706 |
esac |
|
14707 |
||
14708 |
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
14709 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
14710 |
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
|
14711 |
;; |
|
14712 |
cxx*) |
|
14713 |
# Compaq C++ |
|
14714 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14715 |
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' |
|
14716 |
||
14717 |
runpath_var=LD_RUN_PATH |
|
14718 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
14719 |
hardcode_libdir_separator_CXX=: |
|
14720 |
||
14721 |
# Commands to make compiler produce verbose output that lists |
|
14722 |
# what "hidden" libraries, object files and flags are used when |
|
14723 |
# linking a shared library. |
|
14724 |
# |
|
14725 |
# There doesn't appear to be a way to prevent this compiler from |
|
14726 |
# explicitly linking system object files so we need to strip them |
|
14727 |
# from the output so that they don't get included in the library |
|
14728 |
# dependencies. |
|
14729 |
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' |
|
14730 |
;; |
|
14731 |
xl*) |
|
14732 |
# IBM XL 8.0 on PPC, with GNU ld |
|
14733 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
14734 |
export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
14735 |
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14736 |
if test "x$supports_anon_versioning" = xyes; then |
|
14737 |
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ |
|
14738 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
14739 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
14740 |
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
14741 |
fi |
|
14742 |
;; |
|
14743 |
*) |
|
14744 |
case `$CC -V 2>&1 | sed 5q` in |
|
14745 |
*Sun\ C*) |
|
14746 |
# Sun C++ 5.9 |
|
14747 |
no_undefined_flag_CXX=' -zdefs' |
|
14748 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14749 |
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' |
|
14750 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
14751 |
whole_archive_flag_spec_CXX='${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' |
|
14752 |
compiler_needs_object_CXX=yes |
|
14753 |
||
14754 |
# Not sure whether something based on |
|
14755 |
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
|
14756 |
# would be better. |
|
14757 |
output_verbose_link_cmd='echo' |
|
14758 |
||
14759 |
# Archives containing C++ object files must be created using |
|
14760 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
14761 |
# necessary to make sure instantiated templates are included |
|
14762 |
# in the archive. |
|
14763 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
14764 |
;; |
|
14765 |
esac |
|
14766 |
;; |
|
14767 |
esac |
|
14768 |
;; |
|
14769 |
||
14770 |
lynxos*) |
|
14771 |
# FIXME: insert proper C++ library support |
|
14772 |
ld_shlibs_CXX=no |
|
14773 |
;; |
|
14774 |
||
14775 |
m88k*) |
|
14776 |
# FIXME: insert proper C++ library support |
|
14777 |
ld_shlibs_CXX=no |
|
14778 |
;; |
|
14779 |
||
14780 |
mvs*) |
|
14781 |
case $cc_basename in |
|
14782 |
cxx*) |
|
14783 |
# FIXME: insert proper C++ library support |
|
14784 |
ld_shlibs_CXX=no |
|
14785 |
;; |
|
14786 |
*) |
|
14787 |
# FIXME: insert proper C++ library support |
|
14788 |
ld_shlibs_CXX=no |
|
14789 |
;; |
|
14790 |
esac |
|
14791 |
;; |
|
14792 |
||
14793 |
netbsd*) |
|
14794 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
14795 |
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
|
14796 |
wlarc= |
|
14797 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
14798 |
hardcode_direct_CXX=yes |
|
14799 |
hardcode_shlibpath_var_CXX=no |
|
14800 |
fi |
|
14801 |
# Workaround some broken pre-1.5 toolchains |
|
14802 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
|
14803 |
;; |
|
14804 |
||
14805 |
*nto* | *qnx*) |
|
14806 |
ld_shlibs_CXX=yes |
|
14807 |
;; |
|
14808 |
||
14809 |
openbsd2*) |
|
14810 |
# C++ shared libraries are fairly broken |
|
14811 |
ld_shlibs_CXX=no |
|
14812 |
;; |
|
14813 |
||
14814 |
openbsd*) |
|
14815 |
if test -f /usr/libexec/ld.so; then |
|
14816 |
hardcode_direct_CXX=yes |
|
14817 |
hardcode_shlibpath_var_CXX=no |
|
14818 |
hardcode_direct_absolute_CXX=yes |
|
14819 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
14820 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
14821 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
14822 |
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
14823 |
export_dynamic_flag_spec_CXX='${wl}-E' |
|
14824 |
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
14825 |
fi |
|
14826 |
output_verbose_link_cmd=echo |
|
14827 |
else |
|
14828 |
ld_shlibs_CXX=no |
|
14829 |
fi |
|
14830 |
;; |
|
14831 |
||
14832 |
osf3* | osf4* | osf5*) |
|
14833 |
case $cc_basename in |
|
14834 |
KCC*) |
|
14835 |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
|
14836 |
||
14837 |
# KCC will only create a shared library if the output file |
|
14838 |
# ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
14839 |
# to its proper name (with version) after linking. |
|
14840 |
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
14841 |
||
14842 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
14843 |
hardcode_libdir_separator_CXX=: |
|
14844 |
||
14845 |
# Archives containing C++ object files must be created using |
|
14846 |
# the KAI C++ compiler. |
|
14847 |
case $host in |
|
14848 |
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; |
|
14849 |
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; |
|
14850 |
esac |
|
14851 |
;; |
|
14852 |
RCC*) |
|
14853 |
# Rational C++ 2.4.1 |
|
14854 |
# FIXME: insert proper C++ library support |
|
14855 |
ld_shlibs_CXX=no |
|
14856 |
;; |
|
14857 |
cxx*) |
|
14858 |
case $host in |
|
14859 |
osf3*) |
|
14860 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
14861 |
archive_cmds_CXX='$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' |
|
14862 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
14863 |
;; |
|
14864 |
*) |
|
14865 |
allow_undefined_flag_CXX=' -expect_unresolved \*' |
|
14866 |
archive_cmds_CXX='$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' |
|
14867 |
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
|
14868 |
echo "-hidden">> $lib.exp~ |
|
14869 |
$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~ |
|
14870 |
$RM $lib.exp' |
|
14871 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
14872 |
;; |
|
14873 |
esac |
|
14874 |
||
14875 |
hardcode_libdir_separator_CXX=: |
|
14876 |
||
14877 |
# Commands to make compiler produce verbose output that lists |
|
14878 |
# what "hidden" libraries, object files and flags are used when |
|
14879 |
# linking a shared library. |
|
14880 |
# |
|
14881 |
# There doesn't appear to be a way to prevent this compiler from |
|
14882 |
# explicitly linking system object files so we need to strip them |
|
14883 |
# from the output so that they don't get included in the library |
|
14884 |
# dependencies. |
|
14885 |
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' |
|
14886 |
;; |
|
14887 |
*) |
|
14888 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
14889 |
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
14890 |
case $host in |
|
14891 |
osf3*) |
|
14892 |
archive_cmds_CXX='$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' |
|
14893 |
;; |
|
14894 |
*) |
|
14895 |
archive_cmds_CXX='$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' |
|
14896 |
;; |
|
14897 |
esac |
|
14898 |
||
14899 |
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
14900 |
hardcode_libdir_separator_CXX=: |
|
14901 |
||
14902 |
# Commands to make compiler produce verbose output that lists |
|
14903 |
# what "hidden" libraries, object files and flags are used when |
|
14904 |
# linking a shared library. |
|
14905 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
|
14906 |
||
14907 |
else |
|
14908 |
# FIXME: insert proper C++ library support |
|
14909 |
ld_shlibs_CXX=no |
|
14910 |
fi |
|
14911 |
;; |
|
14912 |
esac |
|
14913 |
;; |
|
14914 |
||
14915 |
psos*) |
|
14916 |
# FIXME: insert proper C++ library support |
|
14917 |
ld_shlibs_CXX=no |
|
14918 |
;; |
|
14919 |
||
14920 |
sunos4*) |
|
14921 |
case $cc_basename in |
|
14922 |
CC*) |
|
14923 |
# Sun C++ 4.x |
|
14924 |
# FIXME: insert proper C++ library support |
|
14925 |
ld_shlibs_CXX=no |
|
14926 |
;; |
|
14927 |
lcc*) |
|
14928 |
# Lucid |
|
14929 |
# FIXME: insert proper C++ library support |
|
14930 |
ld_shlibs_CXX=no |
|
14931 |
;; |
|
14932 |
*) |
|
14933 |
# FIXME: insert proper C++ library support |
|
14934 |
ld_shlibs_CXX=no |
|
14935 |
;; |
|
14936 |
esac |
|
14937 |
;; |
|
14938 |
||
14939 |
solaris*) |
|
14940 |
case $cc_basename in |
|
14941 |
CC*) |
|
14942 |
# Sun C++ 4.2, 5.x and Centerline C++ |
|
14943 |
archive_cmds_need_lc_CXX=yes |
|
14944 |
no_undefined_flag_CXX=' -zdefs' |
|
14945 |
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
14946 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
14947 |
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
14948 |
||
14949 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
14950 |
hardcode_shlibpath_var_CXX=no |
|
14951 |
case $host_os in |
|
14952 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
14953 |
*) |
|
14954 |
# The compiler driver will combine and reorder linker options, |
|
14955 |
# but understands `-z linker_flag'. |
|
14956 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
14957 |
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
|
14958 |
;; |
|
14959 |
esac |
|
14960 |
link_all_deplibs_CXX=yes |
|
14961 |
||
14962 |
output_verbose_link_cmd='echo' |
|
14963 |
||
14964 |
# Archives containing C++ object files must be created using |
|
14965 |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
14966 |
# necessary to make sure instantiated templates are included |
|
14967 |
# in the archive. |
|
14968 |
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
14969 |
;; |
|
14970 |
gcx*) |
|
14971 |
# Green Hills C++ Compiler |
|
14972 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
14973 |
||
14974 |
# The C++ compiler must be used to create the archive. |
|
14975 |
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
|
14976 |
;; |
|
14977 |
*) |
|
14978 |
# GNU C++ compiler with Solaris linker |
|
14979 |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
14980 |
no_undefined_flag_CXX=' ${wl}-z ${wl}defs' |
|
14981 |
if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
|
14982 |
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
14983 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
14984 |
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
14985 |
||
14986 |
# Commands to make compiler produce verbose output that lists |
|
14987 |
# what "hidden" libraries, object files and flags are used when |
|
14988 |
# linking a shared library. |
|
14989 |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
|
14990 |
else |
|
14991 |
# g++ 2.7 appears to require `-G' NOT `-shared' on this |
|
14992 |
# platform. |
|
14993 |
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
14994 |
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
14995 |
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
14996 |
||
14997 |
# Commands to make compiler produce verbose output that lists |
|
14998 |
# what "hidden" libraries, object files and flags are used when |
|
14999 |
# linking a shared library. |
|
15000 |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
|
15001 |
fi |
|
15002 |
||
15003 |
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
|
15004 |
case $host_os in |
|
15005 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
15006 |
*) |
|
15007 |
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
15008 |
;; |
|
15009 |
esac |
|
15010 |
fi |
|
15011 |
;; |
|
15012 |
esac |
|
15013 |
;; |
|
15014 |
||
15015 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
15016 |
no_undefined_flag_CXX='${wl}-z,text' |
|
15017 |
archive_cmds_need_lc_CXX=no |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15018 |
hardcode_shlibpath_var_CXX=no |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15019 |
runpath_var='LD_RUN_PATH' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15020 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15021 |
case $cc_basename in |
15022 |
CC*) |
|
15023 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15024 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15025 |
;; |
15026 |
*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15027 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
15028 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15029 |
;; |
|
15030 |
esac |
|
15031 |
;; |
|
15032 |
||
15033 |
sysv5* | sco3.2v5* | sco5v6*) |
|
15034 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
15035 |
# link with -lc, and that would cause any symbols used from libc to |
|
15036 |
# always be unresolved, which means just about no library would |
|
15037 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
15038 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
15039 |
# as -z defs. |
|
15040 |
no_undefined_flag_CXX='${wl}-z,text' |
|
15041 |
allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15042 |
archive_cmds_need_lc_CXX=no |
15043 |
hardcode_shlibpath_var_CXX=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15044 |
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' |
15045 |
hardcode_libdir_separator_CXX=':' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15046 |
link_all_deplibs_CXX=yes |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15047 |
export_dynamic_flag_spec_CXX='${wl}-Bexport' |
15048 |
runpath_var='LD_RUN_PATH' |
|
15049 |
||
15050 |
case $cc_basename in |
|
15051 |
CC*) |
|
15052 |
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15053 |
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15054 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15055 |
*) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15056 |
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
15057 |
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15058 |
;; |
|
15059 |
esac |
|
15060 |
;; |
|
15061 |
||
15062 |
tandem*) |
|
15063 |
case $cc_basename in |
|
15064 |
NCC*) |
|
15065 |
# NonStop-UX NCC 3.20 |
|
15066 |
# FIXME: insert proper C++ library support |
|
15067 |
ld_shlibs_CXX=no |
|
15068 |
;; |
|
15069 |
*) |
|
15070 |
# FIXME: insert proper C++ library support |
|
15071 |
ld_shlibs_CXX=no |
|
15072 |
;; |
|
15073 |
esac |
|
15074 |
;; |
|
15075 |
||
15076 |
vxworks*) |
|
15077 |
# FIXME: insert proper C++ library support |
|
15078 |
ld_shlibs_CXX=no |
|
15079 |
;; |
|
15080 |
||
15081 |
*) |
|
15082 |
# FIXME: insert proper C++ library support |
|
15083 |
ld_shlibs_CXX=no |
|
15084 |
;; |
|
15085 |
esac |
|
15086 |
||
15087 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15088 |
$as_echo "$ld_shlibs_CXX" >&6; } |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15089 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
15090 |
||
15091 |
GCC_CXX="$GXX" |
|
15092 |
LD_CXX="$LD" |
|
15093 |
||
15094 |
## CAVEAT EMPTOR: |
|
15095 |
## There is no encapsulation within the following macros, do not change |
|
15096 |
## the running order or otherwise move them around unless you know exactly |
|
15097 |
## what you are doing... |
|
15098 |
# Dependencies to place before and after the object being linked: |
|
15099 |
predep_objects_CXX= |
|
15100 |
postdep_objects_CXX= |
|
15101 |
predeps_CXX= |
|
15102 |
postdeps_CXX= |
|
15103 |
compiler_lib_search_path_CXX= |
|
15104 |
||
15105 |
cat > conftest.$ac_ext <<_LT_EOF |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15106 |
class Foo |
15107 |
{ |
|
15108 |
public: |
|
15109 |
Foo (void) { a = 0; } |
|
15110 |
private: |
|
15111 |
int a; |
|
15112 |
}; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15113 |
_LT_EOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15114 |
|
15115 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
15116 |
(eval $ac_compile) 2>&5 |
|
15117 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15118 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15119 |
(exit $ac_status); }; then |
15120 |
# Parse the compiler output and extract the necessary |
|
15121 |
# objects, libraries and library flags. |
|
15122 |
||
15123 |
# Sentinel used to keep track of whether or not we are before |
|
15124 |
# the conftest object file. |
|
15125 |
pre_test_object_deps_done=no |
|
15126 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15127 |
for p in `eval "$output_verbose_link_cmd"`; do |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15128 |
case $p in |
15129 |
||
15130 |
-L* | -R* | -l*) |
|
15131 |
# Some compilers place space between "-{L,R}" and the path. |
|
15132 |
# Remove the space. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15133 |
if test $p = "-L" || |
15134 |
test $p = "-R"; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15135 |
prev=$p |
15136 |
continue |
|
15137 |
else |
|
15138 |
prev= |
|
15139 |
fi |
|
15140 |
||
15141 |
if test "$pre_test_object_deps_done" = no; then |
|
15142 |
case $p in |
|
15143 |
-L* | -R*) |
|
15144 |
# Internal compiler library paths should come after those |
|
15145 |
# provided the user. The postdeps already come after the |
|
15146 |
# user supplied libs so there is no need to process them. |
|
15147 |
if test -z "$compiler_lib_search_path_CXX"; then |
|
15148 |
compiler_lib_search_path_CXX="${prev}${p}" |
|
15149 |
else |
|
15150 |
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" |
|
15151 |
fi |
|
15152 |
;; |
|
15153 |
# The "-l" case would never come before the object being |
|
15154 |
# linked, so don't bother handling this case. |
|
15155 |
esac |
|
15156 |
else |
|
15157 |
if test -z "$postdeps_CXX"; then |
|
15158 |
postdeps_CXX="${prev}${p}" |
|
15159 |
else |
|
15160 |
postdeps_CXX="${postdeps_CXX} ${prev}${p}" |
|
15161 |
fi |
|
15162 |
fi |
|
15163 |
;; |
|
15164 |
||
15165 |
*.$objext) |
|
15166 |
# This assumes that the test object file only shows up |
|
15167 |
# once in the compiler output. |
|
15168 |
if test "$p" = "conftest.$objext"; then |
|
15169 |
pre_test_object_deps_done=yes |
|
15170 |
continue |
|
15171 |
fi |
|
15172 |
||
15173 |
if test "$pre_test_object_deps_done" = no; then |
|
15174 |
if test -z "$predep_objects_CXX"; then |
|
15175 |
predep_objects_CXX="$p" |
|
15176 |
else |
|
15177 |
predep_objects_CXX="$predep_objects_CXX $p" |
|
15178 |
fi |
|
15179 |
else |
|
15180 |
if test -z "$postdep_objects_CXX"; then |
|
15181 |
postdep_objects_CXX="$p" |
|
15182 |
else |
|
15183 |
postdep_objects_CXX="$postdep_objects_CXX $p" |
|
15184 |
fi |
|
15185 |
fi |
|
15186 |
;; |
|
15187 |
||
15188 |
*) ;; # Ignore the rest. |
|
15189 |
||
15190 |
esac |
|
15191 |
done |
|
15192 |
||
15193 |
# Clean up. |
|
15194 |
rm -f a.out a.exe |
|
15195 |
else |
|
15196 |
echo "libtool.m4: error: problem compiling CXX test program" |
|
15197 |
fi |
|
15198 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15199 |
$RM -f confest.$objext |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15200 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15201 |
# PORTME: override above test on systems where it is broken |
15202 |
case $host_os in |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15203 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15204 |
# Interix 3.5 installs completely hosed .la files for C++, so rather than |
15205 |
# hack all around it, let's just trust "g++" to DTRT. |
|
15206 |
predep_objects_CXX= |
|
15207 |
postdep_objects_CXX= |
|
15208 |
postdeps_CXX= |
|
15209 |
;; |
|
15210 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15211 |
linux*) |
15212 |
case `$CC -V 2>&1 | sed 5q` in |
|
15213 |
*Sun\ C*) |
|
15214 |
# Sun C++ 5.9 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15215 |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15216 |
# The more standards-conforming stlport4 library is |
15217 |
# incompatible with the Cstd library. Avoid specifying |
|
15218 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
15219 |
# -library=stlport4 depends on it. |
|
15220 |
case " $CXX $CXXFLAGS " in |
|
15221 |
*" -library=stlport4 "*) |
|
15222 |
solaris_use_stlport4=yes |
|
15223 |
;; |
|
15224 |
esac |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15225 |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15226 |
if test "$solaris_use_stlport4" != yes; then |
15227 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
15228 |
fi |
|
15229 |
;; |
|
15230 |
esac |
|
15231 |
;; |
|
15232 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15233 |
solaris*) |
15234 |
case $cc_basename in |
|
15235 |
CC*) |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15236 |
# The more standards-conforming stlport4 library is |
15237 |
# incompatible with the Cstd library. Avoid specifying |
|
15238 |
# it if it's in CXXFLAGS. Ignore libCrun as |
|
15239 |
# -library=stlport4 depends on it. |
|
15240 |
case " $CXX $CXXFLAGS " in |
|
15241 |
*" -library=stlport4 "*) |
|
15242 |
solaris_use_stlport4=yes |
|
15243 |
;; |
|
15244 |
esac |
|
15245 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15246 |
# Adding this requires a known-good setup of shared libraries for |
15247 |
# Sun compiler versions before 5.6, else PIC objects from an old |
|
15248 |
# archive will be linked into the output, leading to subtle bugs. |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15249 |
if test "$solaris_use_stlport4" != yes; then |
15250 |
postdeps_CXX='-library=Cstd -library=Crun' |
|
15251 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15252 |
;; |
15253 |
esac |
|
15254 |
;; |
|
15255 |
esac |
|
15256 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15257 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15258 |
case " $postdeps_CXX " in |
15259 |
*" -lc "*) archive_cmds_need_lc_CXX=no ;; |
|
15260 |
esac |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15261 |
compiler_lib_search_dirs_CXX= |
15262 |
if test -n "${compiler_lib_search_path_CXX}"; then |
|
15263 |
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
|
15264 |
fi |
|
15265 |
||
15266 |
||
15267 |
||
15268 |
||
15269 |
||
15270 |
||
15271 |
||
15272 |
||
15273 |
||
15274 |
||
15275 |
||
15276 |
||
15277 |
||
15278 |
||
15279 |
||
15280 |
||
15281 |
||
15282 |
||
15283 |
||
15284 |
||
15285 |
||
15286 |
||
15287 |
||
15288 |
||
15289 |
||
15290 |
||
15291 |
||
15292 |
||
15293 |
||
15294 |
||
15295 |
||
15296 |
lt_prog_compiler_wl_CXX= |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15297 |
lt_prog_compiler_pic_CXX= |
15298 |
lt_prog_compiler_static_CXX= |
|
15299 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15300 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
15301 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15302 |
|
15303 |
# C++ specific cases for pic, static, wl, etc. |
|
15304 |
if test "$GXX" = yes; then |
|
15305 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15306 |
lt_prog_compiler_static_CXX='-static' |
|
15307 |
||
15308 |
case $host_os in |
|
15309 |
aix*) |
|
15310 |
# All AIX code is PIC. |
|
15311 |
if test "$host_cpu" = ia64; then |
|
15312 |
# AIX 5 now supports IA64 processor |
|
15313 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15314 |
fi |
|
15315 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15316 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15317 |
amigaos*) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15318 |
case $host_cpu in |
15319 |
powerpc) |
|
15320 |
# see comment about AmigaOS4 .so support |
|
15321 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
15322 |
;; |
|
15323 |
m68k) |
|
15324 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
15325 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
15326 |
# like `-m68040'. |
|
15327 |
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
|
15328 |
;; |
|
15329 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15330 |
;; |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15331 |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15332 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15333 |
# PIC is the default for these OSes. |
15334 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15335 |
mingw* | cygwin* | os2* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15336 |
# This hack is so that the source file can tell whether it is being |
15337 |
# built for inclusion in a dll (and should export symbols for example). |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15338 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
15339 |
# (--disable-auto-import) libraries |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15340 |
lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
15341 |
;; |
|
15342 |
darwin* | rhapsody*) |
|
15343 |
# PIC is the default on this platform |
|
15344 |
# Common symbols not allowed in MH_DYLIB files |
|
15345 |
lt_prog_compiler_pic_CXX='-fno-common' |
|
15346 |
;; |
|
15347 |
*djgpp*) |
|
15348 |
# DJGPP does not support shared libraries at all |
|
15349 |
lt_prog_compiler_pic_CXX= |
|
15350 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15351 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15352 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
15353 |
# Instead, we relocate shared libraries at runtime. |
|
15354 |
;; |
|
15355 |
sysv4*MP*) |
|
15356 |
if test -d /usr/nec; then |
|
15357 |
lt_prog_compiler_pic_CXX=-Kconform_pic |
|
15358 |
fi |
|
15359 |
;; |
|
15360 |
hpux*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15361 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
15362 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
15363 |
# sets the default TLS model and affects inlining. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15364 |
case $host_cpu in |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15365 |
hppa*64*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15366 |
;; |
15367 |
*) |
|
15368 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
15369 |
;; |
|
15370 |
esac |
|
15371 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15372 |
*qnx* | *nto*) |
15373 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
15374 |
# it will coredump. |
|
15375 |
lt_prog_compiler_pic_CXX='-fPIC -shared' |
|
15376 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15377 |
*) |
15378 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
15379 |
;; |
|
15380 |
esac |
|
15381 |
else |
|
15382 |
case $host_os in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15383 |
aix[4-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15384 |
# All AIX code is PIC. |
15385 |
if test "$host_cpu" = ia64; then |
|
15386 |
# AIX 5 now supports IA64 processor |
|
15387 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15388 |
else |
|
15389 |
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
|
15390 |
fi |
|
15391 |
;; |
|
15392 |
chorus*) |
|
15393 |
case $cc_basename in |
|
15394 |
cxch68*) |
|
15395 |
# Green Hills C++ Compiler |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15396 |
# _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15397 |
;; |
15398 |
esac |
|
15399 |
;; |
|
15400 |
dgux*) |
|
15401 |
case $cc_basename in |
|
15402 |
ec++*) |
|
15403 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
15404 |
;; |
|
15405 |
ghcx*) |
|
15406 |
# Green Hills C++ Compiler |
|
15407 |
lt_prog_compiler_pic_CXX='-pic' |
|
15408 |
;; |
|
15409 |
*) |
|
15410 |
;; |
|
15411 |
esac |
|
15412 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15413 |
freebsd* | dragonfly*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15414 |
# FreeBSD uses GNU C++ |
15415 |
;; |
|
15416 |
hpux9* | hpux10* | hpux11*) |
|
15417 |
case $cc_basename in |
|
15418 |
CC*) |
|
15419 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15420 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
|
15421 |
if test "$host_cpu" != ia64; then |
|
15422 |
lt_prog_compiler_pic_CXX='+Z' |
|
15423 |
fi |
|
15424 |
;; |
|
15425 |
aCC*) |
|
15426 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15427 |
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
|
15428 |
case $host_cpu in |
|
15429 |
hppa*64*|ia64*) |
|
15430 |
# +Z the default |
|
15431 |
;; |
|
15432 |
*) |
|
15433 |
lt_prog_compiler_pic_CXX='+Z' |
|
15434 |
;; |
|
15435 |
esac |
|
15436 |
;; |
|
15437 |
*) |
|
15438 |
;; |
|
15439 |
esac |
|
15440 |
;; |
|
15441 |
interix*) |
|
15442 |
# This is c89, which is MS Visual C++ (no shared libs) |
|
15443 |
# Anyone wants to do a port? |
|
15444 |
;; |
|
15445 |
irix5* | irix6* | nonstopux*) |
|
15446 |
case $cc_basename in |
|
15447 |
CC*) |
|
15448 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15449 |
lt_prog_compiler_static_CXX='-non_shared' |
|
15450 |
# CC pic flag -KPIC is the default. |
|
15451 |
;; |
|
15452 |
*) |
|
15453 |
;; |
|
15454 |
esac |
|
15455 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15456 |
linux* | k*bsd*-gnu) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15457 |
case $cc_basename in |
15458 |
KCC*) |
|
15459 |
# KAI C++ Compiler |
|
15460 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
15461 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
15462 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15463 |
ecpc* ) |
15464 |
# old Intel C++ for x86_64 which still supported -KPIC. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15465 |
lt_prog_compiler_wl_CXX='-Wl,' |
15466 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
15467 |
lt_prog_compiler_static_CXX='-static' |
|
15468 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15469 |
icpc* ) |
15470 |
# Intel C++, used to be incompatible with GCC. |
|
15471 |
# ICC 10 doesn't accept -KPIC any more. |
|
15472 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15473 |
lt_prog_compiler_pic_CXX='-fPIC' |
|
15474 |
lt_prog_compiler_static_CXX='-static' |
|
15475 |
;; |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15476 |
pgCC* | pgcpp*) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15477 |
# Portland Group C++ compiler |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15478 |
lt_prog_compiler_wl_CXX='-Wl,' |
15479 |
lt_prog_compiler_pic_CXX='-fpic' |
|
15480 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15481 |
;; |
|
15482 |
cxx*) |
|
15483 |
# Compaq C++ |
|
15484 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
15485 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
15486 |
lt_prog_compiler_pic_CXX= |
|
15487 |
lt_prog_compiler_static_CXX='-non_shared' |
|
15488 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15489 |
xlc* | xlC*) |
15490 |
# IBM XL 8.0 on PPC |
|
15491 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15492 |
lt_prog_compiler_pic_CXX='-qpic' |
|
15493 |
lt_prog_compiler_static_CXX='-qstaticlink' |
|
15494 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15495 |
*) |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15496 |
case `$CC -V 2>&1 | sed 5q` in |
15497 |
*Sun\ C*) |
|
15498 |
# Sun C++ 5.9 |
|
15499 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
15500 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15501 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
15502 |
;; |
|
15503 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15504 |
;; |
15505 |
esac |
|
15506 |
;; |
|
15507 |
lynxos*) |
|
15508 |
;; |
|
15509 |
m88k*) |
|
15510 |
;; |
|
15511 |
mvs*) |
|
15512 |
case $cc_basename in |
|
15513 |
cxx*) |
|
15514 |
lt_prog_compiler_pic_CXX='-W c,exportall' |
|
15515 |
;; |
|
15516 |
*) |
|
15517 |
;; |
|
15518 |
esac |
|
15519 |
;; |
|
15520 |
netbsd*) |
|
15521 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15522 |
*qnx* | *nto*) |
15523 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
15524 |
# it will coredump. |
|
15525 |
lt_prog_compiler_pic_CXX='-fPIC -shared' |
|
15526 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15527 |
osf3* | osf4* | osf5*) |
15528 |
case $cc_basename in |
|
15529 |
KCC*) |
|
15530 |
lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
15531 |
;; |
|
15532 |
RCC*) |
|
15533 |
# Rational C++ 2.4.1 |
|
15534 |
lt_prog_compiler_pic_CXX='-pic' |
|
15535 |
;; |
|
15536 |
cxx*) |
|
15537 |
# Digital/Compaq C++ |
|
15538 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15539 |
# Make sure the PIC flag is empty. It appears that all Alpha |
|
15540 |
# Linux and Compaq Tru64 Unix objects are PIC. |
|
15541 |
lt_prog_compiler_pic_CXX= |
|
15542 |
lt_prog_compiler_static_CXX='-non_shared' |
|
15543 |
;; |
|
15544 |
*) |
|
15545 |
;; |
|
15546 |
esac |
|
15547 |
;; |
|
15548 |
psos*) |
|
15549 |
;; |
|
15550 |
solaris*) |
|
15551 |
case $cc_basename in |
|
15552 |
CC*) |
|
15553 |
# Sun C++ 4.2, 5.x and Centerline C++ |
|
15554 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
15555 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15556 |
lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
15557 |
;; |
|
15558 |
gcx*) |
|
15559 |
# Green Hills C++ Compiler |
|
15560 |
lt_prog_compiler_pic_CXX='-PIC' |
|
15561 |
;; |
|
15562 |
*) |
|
15563 |
;; |
|
15564 |
esac |
|
15565 |
;; |
|
15566 |
sunos4*) |
|
15567 |
case $cc_basename in |
|
15568 |
CC*) |
|
15569 |
# Sun C++ 4.x |
|
15570 |
lt_prog_compiler_pic_CXX='-pic' |
|
15571 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15572 |
;; |
|
15573 |
lcc*) |
|
15574 |
# Lucid |
|
15575 |
lt_prog_compiler_pic_CXX='-pic' |
|
15576 |
;; |
|
15577 |
*) |
|
15578 |
;; |
|
15579 |
esac |
|
15580 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15581 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
15582 |
case $cc_basename in |
|
15583 |
CC*) |
|
15584 |
lt_prog_compiler_wl_CXX='-Wl,' |
|
15585 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
15586 |
lt_prog_compiler_static_CXX='-Bstatic' |
|
15587 |
;; |
|
15588 |
esac |
|
15589 |
;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15590 |
tandem*) |
15591 |
case $cc_basename in |
|
15592 |
NCC*) |
|
15593 |
# NonStop-UX NCC 3.20 |
|
15594 |
lt_prog_compiler_pic_CXX='-KPIC' |
|
15595 |
;; |
|
15596 |
*) |
|
15597 |
;; |
|
15598 |
esac |
|
15599 |
;; |
|
15600 |
vxworks*) |
|
15601 |
;; |
|
15602 |
*) |
|
15603 |
lt_prog_compiler_can_build_shared_CXX=no |
|
15604 |
;; |
|
15605 |
esac |
|
15606 |
fi |
|
15607 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15608 |
case $host_os in |
15609 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
15610 |
*djgpp*) |
|
15611 |
lt_prog_compiler_pic_CXX= |
|
15612 |
;; |
|
15613 |
*) |
|
15614 |
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
|
15615 |
;; |
|
15616 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15617 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
15618 |
$as_echo "$lt_prog_compiler_pic_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15619 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15620 |
|
15621 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15622 |
# |
15623 |
# Check to make sure the PIC flag actually works. |
|
15624 |
# |
|
15625 |
if test -n "$lt_prog_compiler_pic_CXX"; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15626 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15627 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } |
15628 |
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then |
|
15629 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15630 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15631 |
lt_cv_prog_compiler_pic_works_CXX=no |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15632 |
ac_outfile=conftest.$ac_objext |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15633 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15634 |
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" |
15635 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
15636 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
15637 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
15638 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
15639 |
# The option is referenced via a variable to avoid confusing sed. |
|
15640 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
15641 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
15642 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
15643 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
15644 |
(eval echo "\"\$as_me:15644: $lt_compile\"" >&5) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15645 |
(eval "$lt_compile" 2>conftest.err) |
15646 |
ac_status=$? |
|
15647 |
cat conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
15648 |
echo "$as_me:15648: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15649 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15650 |
# The compiler can only warn and ignore the option if not recognized |
|
15651 |
# So say no if there are warnings other than the usual output. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15652 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15653 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
15654 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15655 |
lt_cv_prog_compiler_pic_works_CXX=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15656 |
fi |
15657 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15658 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15659 |
|
15660 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15661 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 |
15662 |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15663 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15664 |
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15665 |
case $lt_prog_compiler_pic_CXX in |
15666 |
"" | " "*) ;; |
|
15667 |
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
|
15668 |
esac |
|
15669 |
else |
|
15670 |
lt_prog_compiler_pic_CXX= |
|
15671 |
lt_prog_compiler_can_build_shared_CXX=no |
|
15672 |
fi |
|
15673 |
||
15674 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15675 |
|
15676 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15677 |
|
15678 |
# |
|
15679 |
# Check to make sure the static flag actually works. |
|
15680 |
# |
|
15681 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15682 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
15683 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
15684 |
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then |
|
15685 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15686 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15687 |
lt_cv_prog_compiler_static_works_CXX=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15688 |
save_LDFLAGS="$LDFLAGS" |
15689 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15690 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15691 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
15692 |
# The linker can only warn and ignore the option if not recognized |
|
15693 |
# So say no if there are warnings |
|
15694 |
if test -s conftest.err; then |
|
15695 |
# Append any errors to the config.log. |
|
15696 |
cat conftest.err 1>&5 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15697 |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15698 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
15699 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15700 |
lt_cv_prog_compiler_static_works_CXX=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15701 |
fi |
15702 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15703 |
lt_cv_prog_compiler_static_works_CXX=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15704 |
fi |
15705 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15706 |
$RM -r conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15707 |
LDFLAGS="$save_LDFLAGS" |
15708 |
||
15709 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15710 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 |
15711 |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15712 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15713 |
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15714 |
: |
15715 |
else |
|
15716 |
lt_prog_compiler_static_CXX= |
|
15717 |
fi |
|
15718 |
||
15719 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15720 |
|
15721 |
||
15722 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
15723 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
15724 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
|
15725 |
$as_echo_n "(cached) " >&6 |
|
15726 |
else |
|
15727 |
lt_cv_prog_compiler_c_o_CXX=no |
|
15728 |
$RM -r conftest 2>/dev/null |
|
15729 |
mkdir conftest |
|
15730 |
cd conftest |
|
15731 |
mkdir out |
|
15732 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
15733 |
||
15734 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
15735 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
15736 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
15737 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
15738 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
15739 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
15740 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
15741 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
15742 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
15743 |
(eval echo "\"\$as_me:15743: $lt_compile\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15744 |
(eval "$lt_compile" 2>out/conftest.err) |
15745 |
ac_status=$? |
|
15746 |
cat out/conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
15747 |
echo "$as_me:15747: \$? = $ac_status" >&5 |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15748 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15749 |
then |
|
15750 |
# The compiler can only warn and ignore the option if not recognized |
|
15751 |
# So say no if there are warnings |
|
15752 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
15753 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
15754 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
15755 |
lt_cv_prog_compiler_c_o_CXX=yes |
|
15756 |
fi |
|
15757 |
fi |
|
15758 |
chmod u+w . 2>&5 |
|
15759 |
$RM conftest* |
|
15760 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
15761 |
# template instantiation |
|
15762 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
15763 |
$RM out/* && rmdir out |
|
15764 |
cd .. |
|
15765 |
$RM -r conftest |
|
15766 |
$RM conftest* |
|
15767 |
||
15768 |
fi |
|
15769 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
15770 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
15771 |
||
15772 |
||
15773 |
||
15774 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
15775 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
15776 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
|
15777 |
$as_echo_n "(cached) " >&6 |
|
15778 |
else |
|
15779 |
lt_cv_prog_compiler_c_o_CXX=no |
|
15780 |
$RM -r conftest 2>/dev/null |
|
15781 |
mkdir conftest |
|
15782 |
cd conftest |
|
15783 |
mkdir out |
|
15784 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
15785 |
||
15786 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
15787 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
15788 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
15789 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
15790 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
15791 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
15792 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
15793 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
15794 |
-e 's:$: $lt_compiler_flag:'` |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
15795 |
(eval echo "\"\$as_me:15795: $lt_compile\"" >&5) |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15796 |
(eval "$lt_compile" 2>out/conftest.err) |
15797 |
ac_status=$? |
|
15798 |
cat out/conftest.err >&5 |
|
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
15799 |
echo "$as_me:15799: \$? = $ac_status" >&5 |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15800 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15801 |
then |
|
15802 |
# The compiler can only warn and ignore the option if not recognized |
|
15803 |
# So say no if there are warnings |
|
15804 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
15805 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
15806 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
15807 |
lt_cv_prog_compiler_c_o_CXX=yes |
|
15808 |
fi |
|
15809 |
fi |
|
15810 |
chmod u+w . 2>&5 |
|
15811 |
$RM conftest* |
|
15812 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
15813 |
# template instantiation |
|
15814 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
15815 |
$RM out/* && rmdir out |
|
15816 |
cd .. |
|
15817 |
$RM -r conftest |
|
15818 |
$RM conftest* |
|
15819 |
||
15820 |
fi |
|
15821 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
15822 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
15823 |
||
15824 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15825 |
|
15826 |
||
15827 |
hard_links="nottested" |
|
15828 |
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
|
15829 |
# do not overwrite the value of need_locks provided by the user |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15830 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
15831 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15832 |
hard_links=yes |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15833 |
$RM conftest* |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15834 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
15835 |
touch conftest.a |
|
15836 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
15837 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15838 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
15839 |
$as_echo "$hard_links" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15840 |
if test "$hard_links" = no; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15841 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
15842 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15843 |
need_locks=warn |
15844 |
fi |
|
15845 |
else |
|
15846 |
need_locks=no |
|
15847 |
fi |
|
15848 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15849 |
|
15850 |
||
15851 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15852 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15853 |
|
15854 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
15855 |
case $host_os in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15856 |
aix[4-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15857 |
# If we're using GNU nm, then we don't want the "-C" option. |
15858 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15859 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
15860 |
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15861 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15862 |
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15863 |
fi |
15864 |
;; |
|
15865 |
pw32*) |
|
15866 |
export_symbols_cmds_CXX="$ltdll_cmds" |
|
15867 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15868 |
cygwin* | mingw* | cegcc*) |
15869 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15870 |
;; |
15871 |
*) |
|
15872 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
15873 |
;; |
|
15874 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15875 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15876 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15877 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
15878 |
$as_echo "$ld_shlibs_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15879 |
test "$ld_shlibs_CXX" = no && can_build_shared=no |
15880 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15881 |
with_gnu_ld_CXX=$with_gnu_ld |
15882 |
||
15883 |
||
15884 |
||
15885 |
||
15886 |
||
15887 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15888 |
# |
15889 |
# Do we need to explicitly link libc? |
|
15890 |
# |
|
15891 |
case "x$archive_cmds_need_lc_CXX" in |
|
15892 |
x|xyes) |
|
15893 |
# Assume -lc should be added |
|
15894 |
archive_cmds_need_lc_CXX=yes |
|
15895 |
||
15896 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
15897 |
case $archive_cmds_CXX in |
|
15898 |
*'~'*) |
|
15899 |
# FIXME: we may have to deal with multi-command sequences. |
|
15900 |
;; |
|
15901 |
'$CC '*) |
|
15902 |
# Test whether the compiler implicitly links with -lc since on some |
|
15903 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
15904 |
# to ld, don't add -lc before -lgcc. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15905 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
15906 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15907 |
$RM conftest* |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
15908 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15909 |
|
15910 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
15911 |
(eval $ac_compile) 2>&5 |
|
15912 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15913 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15914 |
(exit $ac_status); } 2>conftest.err; then |
15915 |
soname=conftest |
|
15916 |
lib=conftest |
|
15917 |
libobjs=conftest.$ac_objext |
|
15918 |
deplibs= |
|
15919 |
wl=$lt_prog_compiler_wl_CXX |
|
15920 |
pic_flag=$lt_prog_compiler_pic_CXX |
|
15921 |
compiler_flags=-v |
|
15922 |
linker_flags=-v |
|
15923 |
verstring= |
|
15924 |
output_objdir=. |
|
15925 |
libname=conftest |
|
15926 |
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
|
15927 |
allow_undefined_flag_CXX= |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15928 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
15929 |
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15930 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15931 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15932 |
(exit $ac_status); } |
15933 |
then |
|
15934 |
archive_cmds_need_lc_CXX=no |
|
15935 |
else |
|
15936 |
archive_cmds_need_lc_CXX=yes |
|
15937 |
fi |
|
15938 |
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
|
15939 |
else |
|
15940 |
cat conftest.err 1>&5 |
|
15941 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15942 |
$RM conftest* |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
15943 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
15944 |
$as_echo "$archive_cmds_need_lc_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
15945 |
;; |
15946 |
esac |
|
15947 |
fi |
|
15948 |
;; |
|
15949 |
esac |
|
15950 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
15951 |
|
15952 |
||
15953 |
||
15954 |
||
15955 |
||
15956 |
||
15957 |
||
15958 |
||
15959 |
||
15960 |
||
15961 |
||
15962 |
||
15963 |
||
15964 |
||
15965 |
||
15966 |
||
15967 |
||
15968 |
||
15969 |
||
15970 |
||
15971 |
||
15972 |
||
15973 |
||
15974 |
||
15975 |
||
15976 |
||
15977 |
||
15978 |
||
15979 |
||
15980 |
||
15981 |
||
15982 |
||
15983 |
||
15984 |
||
15985 |
||
15986 |
||
15987 |
||
15988 |
||
15989 |
||
15990 |
||
15991 |
||
15992 |
||
15993 |
||
15994 |
||
15995 |
||
15996 |
||
15997 |
||
15998 |
||
15999 |
||
16000 |
||
16001 |
||
16002 |
||
16003 |
||
16004 |
||
16005 |
||
16006 |
||
16007 |
||
16008 |
||
16009 |
||
16010 |
||
16011 |
||
16012 |
||
16013 |
||
16014 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
16015 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16016 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16017 |
library_names_spec= |
16018 |
libname_spec='lib$name' |
|
16019 |
soname_spec= |
|
16020 |
shrext_cmds=".so" |
|
16021 |
postinstall_cmds= |
|
16022 |
postuninstall_cmds= |
|
16023 |
finish_cmds= |
|
16024 |
finish_eval= |
|
16025 |
shlibpath_var= |
|
16026 |
shlibpath_overrides_runpath=unknown |
|
16027 |
version_type=none |
|
16028 |
dynamic_linker="$host_os ld.so" |
|
16029 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
16030 |
need_lib_prefix=unknown |
|
16031 |
hardcode_into_libs=no |
|
16032 |
||
16033 |
# when you set need_version to no, make sure it does not cause -set_version |
|
16034 |
# flags to be left without arguments |
|
16035 |
need_version=unknown |
|
16036 |
||
16037 |
case $host_os in |
|
16038 |
aix3*) |
|
16039 |
version_type=linux |
|
16040 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
16041 |
shlibpath_var=LIBPATH |
|
16042 |
||
16043 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
16044 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16045 |
;; |
|
16046 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
16047 |
aix[4-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16048 |
version_type=linux |
16049 |
need_lib_prefix=no |
|
16050 |
need_version=no |
|
16051 |
hardcode_into_libs=yes |
|
16052 |
if test "$host_cpu" = ia64; then |
|
16053 |
# AIX 5 supports IA64 |
|
16054 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
16055 |
shlibpath_var=LD_LIBRARY_PATH |
|
16056 |
else |
|
16057 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
16058 |
# for dependence libraries. The import file would start with |
|
16059 |
# the line `#! .'. This would cause the generated library to |
|
16060 |
# depend on `.', always an invalid library. This was fixed in |
|
16061 |
# development snapshots of GCC prior to 3.0. |
|
16062 |
case $host_os in |
|
16063 |
aix4 | aix4.[01] | aix4.[01].*) |
|
16064 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
16065 |
echo ' yes ' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16066 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16067 |
: |
16068 |
else |
|
16069 |
can_build_shared=no |
|
16070 |
fi |
|
16071 |
;; |
|
16072 |
esac |
|
16073 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
16074 |
# soname into executable. Probably we can add versioning support to |
|
16075 |
# collect2, so additional links can be useful in future. |
|
16076 |
if test "$aix_use_runtimelinking" = yes; then |
|
16077 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
16078 |
# instead of lib<name>.a to let people know that these are not |
|
16079 |
# typical AIX shared libraries. |
|
16080 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16081 |
else |
|
16082 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
16083 |
# and later when we are not doing run time linking. |
|
16084 |
library_names_spec='${libname}${release}.a $libname.a' |
|
16085 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16086 |
fi |
|
16087 |
shlibpath_var=LIBPATH |
|
16088 |
fi |
|
16089 |
;; |
|
16090 |
||
16091 |
amigaos*) |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16092 |
case $host_cpu in |
16093 |
powerpc) |
|
16094 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
16095 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
16096 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16097 |
;; |
|
16098 |
m68k) |
|
16099 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
16100 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
16101 |
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' |
|
16102 |
;; |
|
16103 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16104 |
;; |
16105 |
||
16106 |
beos*) |
|
16107 |
library_names_spec='${libname}${shared_ext}' |
|
16108 |
dynamic_linker="$host_os ld.so" |
|
16109 |
shlibpath_var=LIBRARY_PATH |
|
16110 |
;; |
|
16111 |
||
16112 |
bsdi[45]*) |
|
16113 |
version_type=linux |
|
16114 |
need_version=no |
|
16115 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16116 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16117 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
16118 |
shlibpath_var=LD_LIBRARY_PATH |
|
16119 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
16120 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
16121 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
16122 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
16123 |
# libtool to hard-code these into programs |
|
16124 |
;; |
|
16125 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16126 |
cygwin* | mingw* | pw32* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16127 |
version_type=windows |
16128 |
shrext_cmds=".dll" |
|
16129 |
need_version=no |
|
16130 |
need_lib_prefix=no |
|
16131 |
||
16132 |
case $GCC,$host_os in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16133 |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16134 |
library_names_spec='$libname.dll.a' |
16135 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
16136 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16137 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16138 |
dldir=$destdir/`dirname \$dlpath`~ |
16139 |
test -d \$dldir || mkdir -p \$dldir~ |
|
16140 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16141 |
chmod a+x \$dldir/$dlname~ |
16142 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
16143 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
16144 |
fi' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16145 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
16146 |
dlpath=$dir/\$dldll~ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16147 |
$RM \$dlpath' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16148 |
shlibpath_overrides_runpath=yes |
16149 |
||
16150 |
case $host_os in |
|
16151 |
cygwin*) |
|
16152 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
16153 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
16154 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
16155 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16156 |
mingw* | cegcc*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16157 |
# MinGW DLLs use traditional 'lib' prefix |
16158 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16159 |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
16160 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16161 |
# It is most probably a Windows format PATH printed by |
16162 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
16163 |
# path with ; separators, and with drive letters. We can handle the |
|
16164 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
16165 |
# especially as we might pass files found there to a mingw objdump, |
|
16166 |
# which wouldn't understand a cygwinified path. Ahh. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16167 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16168 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16169 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16170 |
fi |
16171 |
;; |
|
16172 |
pw32*) |
|
16173 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
16174 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
16175 |
;; |
|
16176 |
esac |
|
16177 |
;; |
|
16178 |
||
16179 |
*) |
|
16180 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
16181 |
;; |
|
16182 |
esac |
|
16183 |
dynamic_linker='Win32 ld.exe' |
|
16184 |
# FIXME: first we should search . and the directory the executable is in |
|
16185 |
shlibpath_var=PATH |
|
16186 |
;; |
|
16187 |
||
16188 |
darwin* | rhapsody*) |
|
16189 |
dynamic_linker="$host_os dyld" |
|
16190 |
version_type=darwin |
|
16191 |
need_lib_prefix=no |
|
16192 |
need_version=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16193 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16194 |
soname_spec='${libname}${release}${major}$shared_ext' |
16195 |
shlibpath_overrides_runpath=yes |
|
16196 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
16197 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
16198 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16199 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
16200 |
;; |
|
16201 |
||
16202 |
dgux*) |
|
16203 |
version_type=linux |
|
16204 |
need_lib_prefix=no |
|
16205 |
need_version=no |
|
16206 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
16207 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16208 |
shlibpath_var=LD_LIBRARY_PATH |
|
16209 |
;; |
|
16210 |
||
16211 |
freebsd1*) |
|
16212 |
dynamic_linker=no |
|
16213 |
;; |
|
16214 |
||
16215 |
freebsd* | dragonfly*) |
|
16216 |
# DragonFly does not have aout. When/if they implement a new |
|
16217 |
# versioning mechanism, adjust this. |
|
16218 |
if test -x /usr/bin/objformat; then |
|
16219 |
objformat=`/usr/bin/objformat` |
|
16220 |
else |
|
16221 |
case $host_os in |
|
16222 |
freebsd[123]*) objformat=aout ;; |
|
16223 |
*) objformat=elf ;; |
|
16224 |
esac |
|
16225 |
fi |
|
16226 |
version_type=freebsd-$objformat |
|
16227 |
case $version_type in |
|
16228 |
freebsd-elf*) |
|
16229 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
16230 |
need_version=no |
|
16231 |
need_lib_prefix=no |
|
16232 |
;; |
|
16233 |
freebsd-*) |
|
16234 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
16235 |
need_version=yes |
|
16236 |
;; |
|
16237 |
esac |
|
16238 |
shlibpath_var=LD_LIBRARY_PATH |
|
16239 |
case $host_os in |
|
16240 |
freebsd2*) |
|
16241 |
shlibpath_overrides_runpath=yes |
|
16242 |
;; |
|
16243 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
16244 |
shlibpath_overrides_runpath=yes |
|
16245 |
hardcode_into_libs=yes |
|
16246 |
;; |
|
16247 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
16248 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
16249 |
shlibpath_overrides_runpath=no |
|
16250 |
hardcode_into_libs=yes |
|
16251 |
;; |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
16252 |
*) # from 4.6 on, and DragonFly |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16253 |
shlibpath_overrides_runpath=yes |
16254 |
hardcode_into_libs=yes |
|
16255 |
;; |
|
16256 |
esac |
|
16257 |
;; |
|
16258 |
||
16259 |
gnu*) |
|
16260 |
version_type=linux |
|
16261 |
need_lib_prefix=no |
|
16262 |
need_version=no |
|
16263 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
16264 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16265 |
shlibpath_var=LD_LIBRARY_PATH |
|
16266 |
hardcode_into_libs=yes |
|
16267 |
;; |
|
16268 |
||
16269 |
hpux9* | hpux10* | hpux11*) |
|
16270 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
16271 |
# link against other versions. |
|
16272 |
version_type=sunos |
|
16273 |
need_lib_prefix=no |
|
16274 |
need_version=no |
|
16275 |
case $host_cpu in |
|
16276 |
ia64*) |
|
16277 |
shrext_cmds='.so' |
|
16278 |
hardcode_into_libs=yes |
|
16279 |
dynamic_linker="$host_os dld.so" |
|
16280 |
shlibpath_var=LD_LIBRARY_PATH |
|
16281 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
16282 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16283 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16284 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
16285 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
16286 |
else |
|
16287 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
16288 |
fi |
|
16289 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
16290 |
;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16291 |
hppa*64*) |
16292 |
shrext_cmds='.sl' |
|
16293 |
hardcode_into_libs=yes |
|
16294 |
dynamic_linker="$host_os dld.sl" |
|
16295 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
16296 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
16297 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16298 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16299 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
16300 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
16301 |
;; |
|
16302 |
*) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16303 |
shrext_cmds='.sl' |
16304 |
dynamic_linker="$host_os dld.sl" |
|
16305 |
shlibpath_var=SHLIB_PATH |
|
16306 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
16307 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16308 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16309 |
;; |
|
16310 |
esac |
|
16311 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
16312 |
postinstall_cmds='chmod 555 $lib' |
|
16313 |
;; |
|
16314 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
16315 |
interix[3-9]*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16316 |
version_type=linux |
16317 |
need_lib_prefix=no |
|
16318 |
need_version=no |
|
16319 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
16320 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16321 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
16322 |
shlibpath_var=LD_LIBRARY_PATH |
|
16323 |
shlibpath_overrides_runpath=no |
|
16324 |
hardcode_into_libs=yes |
|
16325 |
;; |
|
16326 |
||
16327 |
irix5* | irix6* | nonstopux*) |
|
16328 |
case $host_os in |
|
16329 |
nonstopux*) version_type=nonstopux ;; |
|
16330 |
*) |
|
16331 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
16332 |
version_type=linux |
|
16333 |
else |
|
16334 |
version_type=irix |
|
16335 |
fi ;; |
|
16336 |
esac |
|
16337 |
need_lib_prefix=no |
|
16338 |
need_version=no |
|
16339 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16340 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
16341 |
case $host_os in |
|
16342 |
irix5* | nonstopux*) |
|
16343 |
libsuff= shlibsuff= |
|
16344 |
;; |
|
16345 |
*) |
|
16346 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
16347 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
16348 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
16349 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
16350 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
16351 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
16352 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
16353 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
16354 |
esac |
|
16355 |
;; |
|
16356 |
esac |
|
16357 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
16358 |
shlibpath_overrides_runpath=no |
|
16359 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
16360 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
16361 |
hardcode_into_libs=yes |
|
16362 |
;; |
|
16363 |
||
16364 |
# No shared lib support for Linux oldld, aout, or coff. |
|
16365 |
linux*oldld* | linux*aout* | linux*coff*) |
|
16366 |
dynamic_linker=no |
|
16367 |
;; |
|
16368 |
||
16369 |
# This must be Linux ELF. |
|
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
16370 |
linux* | k*bsd*-gnu) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16371 |
version_type=linux |
16372 |
need_lib_prefix=no |
|
16373 |
need_version=no |
|
16374 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16375 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16376 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
16377 |
shlibpath_var=LD_LIBRARY_PATH |
|
16378 |
shlibpath_overrides_runpath=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16379 |
# Some binutils ld are patched to set DT_RUNPATH |
16380 |
save_LDFLAGS=$LDFLAGS |
|
16381 |
save_libdir=$libdir |
|
16382 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ |
|
16383 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" |
|
16384 |
cat >conftest.$ac_ext <<_ACEOF |
|
16385 |
/* confdefs.h. */ |
|
16386 |
_ACEOF |
|
16387 |
cat confdefs.h >>conftest.$ac_ext |
|
16388 |
cat >>conftest.$ac_ext <<_ACEOF |
|
16389 |
/* end confdefs.h. */ |
|
16390 |
||
16391 |
int |
|
16392 |
main () |
|
16393 |
{ |
|
16394 |
||
16395 |
; |
|
16396 |
return 0; |
|
16397 |
} |
|
16398 |
_ACEOF |
|
16399 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
16400 |
if { (ac_try="$ac_link" |
|
16401 |
case "(($ac_try" in |
|
16402 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
16403 |
*) ac_try_echo=$ac_try;; |
|
16404 |
esac |
|
16405 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
16406 |
$as_echo "$ac_try_echo") >&5 |
|
16407 |
(eval "$ac_link") 2>conftest.er1 |
|
16408 |
ac_status=$? |
|
16409 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
16410 |
rm -f conftest.er1 |
|
16411 |
cat conftest.err >&5 |
|
16412 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
16413 |
(exit $ac_status); } && { |
|
16414 |
test -z "$ac_cxx_werror_flag" || |
|
16415 |
test ! -s conftest.err |
|
16416 |
} && test -s conftest$ac_exeext && { |
|
16417 |
test "$cross_compiling" = yes || |
|
16418 |
$as_test_x conftest$ac_exeext |
|
16419 |
}; then |
|
16420 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then |
|
16421 |
shlibpath_overrides_runpath=yes |
|
16422 |
fi |
|
16423 |
||
16424 |
else |
|
16425 |
$as_echo "$as_me: failed program was:" >&5 |
|
16426 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
16427 |
||
16428 |
||
16429 |
fi |
|
16430 |
||
16431 |
rm -rf conftest.dSYM |
|
16432 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
16433 |
conftest$ac_exeext conftest.$ac_ext |
|
16434 |
LDFLAGS=$save_LDFLAGS |
|
16435 |
libdir=$save_libdir |
|
16436 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16437 |
# This implies no fast_install, which is unacceptable. |
16438 |
# Some rework will be needed to allow for fast_install |
|
16439 |
# before this can be enabled. |
|
16440 |
hardcode_into_libs=yes |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16441 |
|
16442 |
# Add ABI-specific directories to the system library path. |
|
16443 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16444 |
|
16445 |
# Append ld.so.conf contents to the search path |
|
16446 |
if test -f /etc/ld.so.conf; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16447 |
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' ' '` |
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
16448 |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16449 |
fi |
16450 |
||
16451 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
16452 |
# powerpc, because MkLinux only supported shared libraries with the |
|
16453 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
16454 |
# most powerpc-linux boxes support dynamic linking these days and |
|
16455 |
# people can always --disable-shared, the test was removed, and we |
|
16456 |
# assume the GNU/Linux dynamic linker is in use. |
|
16457 |
dynamic_linker='GNU/Linux ld.so' |
|
16458 |
;; |
|
16459 |
||
16460 |
netbsd*) |
|
16461 |
version_type=sunos |
|
16462 |
need_lib_prefix=no |
|
16463 |
need_version=no |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16464 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16465 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
16466 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
16467 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
16468 |
else |
|
16469 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
16470 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16471 |
dynamic_linker='NetBSD ld.elf_so' |
|
16472 |
fi |
|
16473 |
shlibpath_var=LD_LIBRARY_PATH |
|
16474 |
shlibpath_overrides_runpath=yes |
|
16475 |
hardcode_into_libs=yes |
|
16476 |
;; |
|
16477 |
||
16478 |
newsos6) |
|
16479 |
version_type=linux |
|
16480 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16481 |
shlibpath_var=LD_LIBRARY_PATH |
|
16482 |
shlibpath_overrides_runpath=yes |
|
16483 |
;; |
|
16484 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16485 |
*nto* | *qnx*) |
16486 |
version_type=qnx |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16487 |
need_lib_prefix=no |
16488 |
need_version=no |
|
16489 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16490 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16491 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16492 |
shlibpath_overrides_runpath=no |
16493 |
hardcode_into_libs=yes |
|
16494 |
dynamic_linker='ldqnx.so' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16495 |
;; |
16496 |
||
16497 |
openbsd*) |
|
16498 |
version_type=sunos |
|
16499 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
16500 |
need_lib_prefix=no |
|
16501 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
16502 |
case $host_os in |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16503 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
16504 |
*) need_version=no ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16505 |
esac |
16506 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16507 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
16508 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16509 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16510 |
case $host_os in |
16511 |
openbsd2.[89] | openbsd2.[89].*) |
|
16512 |
shlibpath_overrides_runpath=no |
|
16513 |
;; |
|
16514 |
*) |
|
16515 |
shlibpath_overrides_runpath=yes |
|
16516 |
;; |
|
16517 |
esac |
|
16518 |
else |
|
16519 |
shlibpath_overrides_runpath=yes |
|
16520 |
fi |
|
16521 |
;; |
|
16522 |
||
16523 |
os2*) |
|
16524 |
libname_spec='$name' |
|
16525 |
shrext_cmds=".dll" |
|
16526 |
need_lib_prefix=no |
|
16527 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
16528 |
dynamic_linker='OS/2 ld.exe' |
|
16529 |
shlibpath_var=LIBPATH |
|
16530 |
;; |
|
16531 |
||
16532 |
osf3* | osf4* | osf5*) |
|
16533 |
version_type=osf |
|
16534 |
need_lib_prefix=no |
|
16535 |
need_version=no |
|
16536 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16537 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16538 |
shlibpath_var=LD_LIBRARY_PATH |
|
16539 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
16540 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
16541 |
;; |
|
16542 |
||
1.2.43
by Loic Minier
Import upstream version 1.19.1 |
16543 |
rdos*) |
16544 |
dynamic_linker=no |
|
16545 |
;; |
|
16546 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16547 |
solaris*) |
16548 |
version_type=linux |
|
16549 |
need_lib_prefix=no |
|
16550 |
need_version=no |
|
16551 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16552 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16553 |
shlibpath_var=LD_LIBRARY_PATH |
|
16554 |
shlibpath_overrides_runpath=yes |
|
16555 |
hardcode_into_libs=yes |
|
16556 |
# ldd complains unless libraries are executable |
|
16557 |
postinstall_cmds='chmod +x $lib' |
|
16558 |
;; |
|
16559 |
||
16560 |
sunos4*) |
|
16561 |
version_type=sunos |
|
16562 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16563 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
16564 |
shlibpath_var=LD_LIBRARY_PATH |
|
16565 |
shlibpath_overrides_runpath=yes |
|
16566 |
if test "$with_gnu_ld" = yes; then |
|
16567 |
need_lib_prefix=no |
|
16568 |
fi |
|
16569 |
need_version=yes |
|
16570 |
;; |
|
16571 |
||
16572 |
sysv4 | sysv4.3*) |
|
16573 |
version_type=linux |
|
16574 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16575 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16576 |
shlibpath_var=LD_LIBRARY_PATH |
|
16577 |
case $host_vendor in |
|
16578 |
sni) |
|
16579 |
shlibpath_overrides_runpath=no |
|
16580 |
need_lib_prefix=no |
|
16581 |
runpath_var=LD_RUN_PATH |
|
16582 |
;; |
|
16583 |
siemens) |
|
16584 |
need_lib_prefix=no |
|
16585 |
;; |
|
16586 |
motorola) |
|
16587 |
need_lib_prefix=no |
|
16588 |
need_version=no |
|
16589 |
shlibpath_overrides_runpath=no |
|
16590 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
16591 |
;; |
|
16592 |
esac |
|
16593 |
;; |
|
16594 |
||
16595 |
sysv4*MP*) |
|
16596 |
if test -d /usr/nec ;then |
|
16597 |
version_type=linux |
|
16598 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
16599 |
soname_spec='$libname${shared_ext}.$major' |
|
16600 |
shlibpath_var=LD_LIBRARY_PATH |
|
16601 |
fi |
|
16602 |
;; |
|
16603 |
||
16604 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
16605 |
version_type=freebsd-elf |
|
16606 |
need_lib_prefix=no |
|
16607 |
need_version=no |
|
16608 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
16609 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16610 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16611 |
shlibpath_overrides_runpath=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16612 |
hardcode_into_libs=yes |
16613 |
if test "$with_gnu_ld" = yes; then |
|
16614 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
16615 |
else |
|
16616 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
16617 |
case $host_os in |
|
16618 |
sco3.2v5*) |
|
16619 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
16620 |
;; |
|
16621 |
esac |
|
16622 |
fi |
|
16623 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
16624 |
;; |
|
16625 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16626 |
tpf*) |
16627 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
16628 |
version_type=linux |
|
16629 |
need_lib_prefix=no |
|
16630 |
need_version=no |
|
16631 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16632 |
shlibpath_var=LD_LIBRARY_PATH |
|
16633 |
shlibpath_overrides_runpath=no |
|
16634 |
hardcode_into_libs=yes |
|
16635 |
;; |
|
16636 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16637 |
uts4*) |
16638 |
version_type=linux |
|
16639 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16640 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
16641 |
shlibpath_var=LD_LIBRARY_PATH |
|
16642 |
;; |
|
16643 |
||
16644 |
*) |
|
16645 |
dynamic_linker=no |
|
16646 |
;; |
|
16647 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
16648 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
16649 |
$as_echo "$dynamic_linker" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16650 |
test "$dynamic_linker" = no && can_build_shared=no |
16651 |
||
16652 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
16653 |
if test "$GCC" = yes; then |
|
16654 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
16655 |
fi |
|
16656 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16657 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
16658 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
16659 |
fi |
|
16660 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
16661 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
16662 |
fi |
|
16663 |
||
16664 |
||
16665 |
||
16666 |
||
16667 |
||
16668 |
||
16669 |
||
16670 |
||
16671 |
||
16672 |
||
16673 |
||
16674 |
||
16675 |
||
16676 |
||
16677 |
||
16678 |
||
16679 |
||
16680 |
||
16681 |
||
16682 |
||
16683 |
||
16684 |
||
16685 |
||
16686 |
||
16687 |
||
16688 |
||
16689 |
||
16690 |
||
16691 |
||
16692 |
||
16693 |
||
16694 |
||
16695 |
||
16696 |
||
16697 |
||
16698 |
||
16699 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
16700 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16701 |
hardcode_action_CXX= |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16702 |
if test -n "$hardcode_libdir_flag_spec_CXX" || |
16703 |
test -n "$runpath_var_CXX" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16704 |
test "X$hardcode_automatic_CXX" = "Xyes" ; then |
16705 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16706 |
# We can hardcode non-existent directories. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16707 |
if test "$hardcode_direct_CXX" != no && |
16708 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
16709 |
# have to relink, otherwise we might link with an installed library |
|
16710 |
# when we should be linking with a yet-to-be-installed one |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16711 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16712 |
test "$hardcode_minus_L_CXX" != no; then |
16713 |
# Linking always hardcodes the temporary library directory. |
|
16714 |
hardcode_action_CXX=relink |
|
16715 |
else |
|
16716 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
16717 |
hardcode_action_CXX=immediate |
|
16718 |
fi |
|
16719 |
else |
|
16720 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
16721 |
# directories. |
|
16722 |
hardcode_action_CXX=unsupported |
|
16723 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
16724 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
16725 |
$as_echo "$hardcode_action_CXX" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16726 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16727 |
if test "$hardcode_action_CXX" = relink || |
16728 |
test "$inherit_rpath_CXX" = yes; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
16729 |
# Fast installation is not supported |
16730 |
enable_fast_install=no |
|
16731 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
16732 |
test "$enable_shared" = no; then |
|
16733 |
# Fast installation is not necessary |
|
16734 |
enable_fast_install=needless |
|
16735 |
fi |
|
16736 |
||
16737 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
16738 |
|
16739 |
||
16740 |
||
16741 |
||
16742 |
||
16743 |
fi # test -n "$compiler" |
|
16744 |
||
16745 |
CC=$lt_save_CC |
|
16746 |
LDCXX=$LD |
|
16747 |
LD=$lt_save_LD |
|
16748 |
GCC=$lt_save_GCC |
|
16749 |
with_gnu_ld=$lt_save_with_gnu_ld |
|
16750 |
lt_cv_path_LDCXX=$lt_cv_path_LD |
|
16751 |
lt_cv_path_LD=$lt_save_path_LD |
|
16752 |
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
|
16753 |
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
|
16754 |
fi # test "$_lt_caught_CXX_error" != yes |
|
16755 |
||
16756 |
ac_ext=c |
|
16757 |
ac_cpp='$CPP $CPPFLAGS' |
|
16758 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
16759 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
16760 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
16761 |
||
16762 |
||
16763 |
||
16764 |
||
16765 |
||
16766 |
||
16767 |
||
16768 |
||
16769 |
||
16770 |
||
16771 |
||
16772 |
||
16773 |
||
16774 |
ac_config_commands="$ac_config_commands libtool" |
|
16775 |
||
16776 |
||
16777 |
||
16778 |
||
16779 |
# Only expand once: |
|
16780 |
||
16781 |
||
16782 |
: ${CONFIG_LT=./config.lt} |
|
16783 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_LT" >&5 |
|
16784 |
$as_echo "$as_me: creating $CONFIG_LT" >&6;} |
|
16785 |
cat >"$CONFIG_LT" <<_LTEOF |
|
16786 |
#! $SHELL |
|
16787 |
# Generated by $as_me. |
|
16788 |
# Run this file to recreate a libtool stub with the current configuration. |
|
16789 |
||
16790 |
lt_cl_silent=false |
|
16791 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
16792 |
_LTEOF |
|
16793 |
||
16794 |
cat >>"$CONFIG_LT" <<\_LTEOF |
|
16795 |
## --------------------- ## |
|
16796 |
## M4sh Initialization. ## |
|
16797 |
## --------------------- ## |
|
16798 |
||
16799 |
# Be more Bourne compatible |
|
16800 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
16801 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
16802 |
emulate sh |
|
16803 |
NULLCMD=: |
|
16804 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
16805 |
# is contrary to our usage. Disable this feature. |
|
16806 |
alias -g '${1+"$@"}'='"$@"' |
|
16807 |
setopt NO_GLOB_SUBST |
|
16808 |
else |
|
16809 |
case `(set -o) 2>/dev/null` in |
|
16810 |
*posix*) set -o posix ;; |
|
16811 |
esac |
|
16812 |
||
16813 |
fi |
|
16814 |
||
16815 |
||
16816 |
||
16817 |
||
16818 |
# PATH needs CR |
|
16819 |
# Avoid depending upon Character Ranges. |
|
16820 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
16821 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
16822 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
16823 |
as_cr_digits='0123456789' |
|
16824 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
16825 |
||
16826 |
as_nl=' |
|
16827 |
' |
|
16828 |
export as_nl |
|
16829 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
16830 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
16831 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
16832 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
16833 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
16834 |
as_echo='printf %s\n' |
|
16835 |
as_echo_n='printf %s' |
|
16836 |
else |
|
16837 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
16838 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
16839 |
as_echo_n='/usr/ucb/echo -n' |
|
16840 |
else |
|
16841 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
16842 |
as_echo_n_body='eval |
|
16843 |
arg=$1; |
|
16844 |
case $arg in |
|
16845 |
*"$as_nl"*) |
|
16846 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
16847 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
16848 |
esac; |
|
16849 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
16850 |
' |
|
16851 |
export as_echo_n_body |
|
16852 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
16853 |
fi |
|
16854 |
export as_echo_body |
|
16855 |
as_echo='sh -c $as_echo_body as_echo' |
|
16856 |
fi |
|
16857 |
||
16858 |
# The user is always right. |
|
16859 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
16860 |
PATH_SEPARATOR=: |
|
16861 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
16862 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
16863 |
PATH_SEPARATOR=';' |
|
16864 |
} |
|
16865 |
fi |
|
16866 |
||
16867 |
# Support unset when possible. |
|
16868 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
16869 |
as_unset=unset |
|
16870 |
else |
|
16871 |
as_unset=false |
|
16872 |
fi |
|
16873 |
||
16874 |
||
16875 |
# IFS |
|
16876 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
16877 |
# there to prevent editors from complaining about space-tab. |
|
16878 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
16879 |
# splitting by setting IFS to empty value.) |
|
16880 |
IFS=" "" $as_nl" |
|
16881 |
||
16882 |
# Find who we are. Look in the path if we contain no directory separator. |
|
16883 |
case $0 in |
|
16884 |
*[\\/]* ) as_myself=$0 ;; |
|
16885 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
16886 |
for as_dir in $PATH |
|
16887 |
do |
|
16888 |
IFS=$as_save_IFS |
|
16889 |
test -z "$as_dir" && as_dir=. |
|
16890 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
16891 |
done |
|
16892 |
IFS=$as_save_IFS |
|
16893 |
||
16894 |
;; |
|
16895 |
esac |
|
16896 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
16897 |
# in which case we are not to be found in the path. |
|
16898 |
if test "x$as_myself" = x; then |
|
16899 |
as_myself=$0 |
|
16900 |
fi |
|
16901 |
if test ! -f "$as_myself"; then |
|
16902 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
16903 |
{ (exit 1); exit 1; } |
|
16904 |
fi |
|
16905 |
||
16906 |
# Work around bugs in pre-3.0 UWIN ksh. |
|
16907 |
for as_var in ENV MAIL MAILPATH |
|
16908 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
16909 |
done |
|
16910 |
PS1='$ ' |
|
16911 |
PS2='> ' |
|
16912 |
PS4='+ ' |
|
16913 |
||
16914 |
# NLS nuisances. |
|
16915 |
LC_ALL=C |
|
16916 |
export LC_ALL |
|
16917 |
LANGUAGE=C |
|
16918 |
export LANGUAGE |
|
16919 |
||
16920 |
# Required to use basename. |
|
16921 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
16922 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
16923 |
as_expr=expr |
|
16924 |
else |
|
16925 |
as_expr=false |
|
16926 |
fi |
|
16927 |
||
16928 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
16929 |
as_basename=basename |
|
16930 |
else |
|
16931 |
as_basename=false |
|
16932 |
fi |
|
16933 |
||
16934 |
||
16935 |
# Name of the executable. |
|
16936 |
as_me=`$as_basename -- "$0" || |
|
16937 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
16938 |
X"$0" : 'X\(//\)$' \| \ |
|
16939 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
16940 |
$as_echo X/"$0" | |
|
16941 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
16942 |
s//\1/ |
|
16943 |
q |
|
16944 |
} |
|
16945 |
/^X\/\(\/\/\)$/{ |
|
16946 |
s//\1/ |
|
16947 |
q |
|
16948 |
} |
|
16949 |
/^X\/\(\/\).*/{ |
|
16950 |
s//\1/ |
|
16951 |
q |
|
16952 |
} |
|
16953 |
s/.*/./; q'` |
|
16954 |
||
16955 |
# CDPATH. |
|
16956 |
$as_unset CDPATH |
|
16957 |
||
16958 |
||
16959 |
||
16960 |
as_lineno_1=$LINENO |
|
16961 |
as_lineno_2=$LINENO |
|
16962 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
16963 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
16964 |
||
16965 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
16966 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
16967 |
# line-number line after each line using $LINENO; the second 'sed' |
|
16968 |
# does the real work. The second script uses 'N' to pair each |
|
16969 |
# line-number line with the line containing $LINENO, and appends |
|
16970 |
# trailing '-' during substitution so that $LINENO is not a special |
|
16971 |
# case at line end. |
|
16972 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
16973 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
|
16974 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
16975 |
sed -n ' |
|
16976 |
p |
|
16977 |
/[$]LINENO/= |
|
16978 |
' <$as_myself | |
|
16979 |
sed ' |
|
16980 |
s/[$]LINENO.*/&-/ |
|
16981 |
t lineno |
|
16982 |
b |
|
16983 |
:lineno |
|
16984 |
N |
|
16985 |
:loop |
|
16986 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
16987 |
t loop |
|
16988 |
s/-\n.*// |
|
16989 |
' >$as_me.lineno && |
|
16990 |
chmod +x "$as_me.lineno" || |
|
16991 |
{ { $as_echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
16992 |
$as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
|
16993 |
{ (exit 1); exit 1; }; } |
|
16994 |
||
16995 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
16996 |
# (the dirname of $[0] is not the place where we might find the |
|
16997 |
# original and so on. Autoconf is especially sensitive to this). |
|
16998 |
. "./$as_me.lineno" |
|
16999 |
# Exit status is that of the last command. |
|
17000 |
exit |
|
17001 |
} |
|
17002 |
||
17003 |
||
17004 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
17005 |
as_dirname=dirname |
|
17006 |
else |
|
17007 |
as_dirname=false |
|
17008 |
fi |
|
17009 |
||
17010 |
ECHO_C= ECHO_N= ECHO_T= |
|
17011 |
case `echo -n x` in |
|
17012 |
-n*) |
|
17013 |
case `echo 'x\c'` in |
|
17014 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
17015 |
*) ECHO_C='\c';; |
|
17016 |
esac;; |
|
17017 |
*) |
|
17018 |
ECHO_N='-n';; |
|
17019 |
esac |
|
17020 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
17021 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
17022 |
as_expr=expr |
|
17023 |
else |
|
17024 |
as_expr=false |
|
17025 |
fi |
|
17026 |
||
17027 |
rm -f conf$$ conf$$.exe conf$$.file |
|
17028 |
if test -d conf$$.dir; then |
|
17029 |
rm -f conf$$.dir/conf$$.file |
|
17030 |
else |
|
17031 |
rm -f conf$$.dir |
|
17032 |
mkdir conf$$.dir 2>/dev/null |
|
17033 |
fi |
|
17034 |
if (echo >conf$$.file) 2>/dev/null; then |
|
17035 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
17036 |
as_ln_s='ln -s' |
|
17037 |
# ... but there are two gotchas: |
|
17038 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
17039 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
17040 |
# In both cases, we have to default to `cp -p'. |
|
17041 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
17042 |
as_ln_s='cp -p' |
|
17043 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
17044 |
as_ln_s=ln |
|
17045 |
else |
|
17046 |
as_ln_s='cp -p' |
|
17047 |
fi |
|
17048 |
else |
|
17049 |
as_ln_s='cp -p' |
|
17050 |
fi |
|
17051 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
17052 |
rmdir conf$$.dir 2>/dev/null |
|
17053 |
||
17054 |
if mkdir -p . 2>/dev/null; then |
|
17055 |
as_mkdir_p=: |
|
17056 |
else |
|
17057 |
test -d ./-p && rmdir ./-p |
|
17058 |
as_mkdir_p=false |
|
17059 |
fi |
|
17060 |
||
17061 |
if test -x / >/dev/null 2>&1; then |
|
17062 |
as_test_x='test -x' |
|
17063 |
else |
|
17064 |
if ls -dL / >/dev/null 2>&1; then |
|
17065 |
as_ls_L_option=L |
|
17066 |
else |
|
17067 |
as_ls_L_option= |
|
17068 |
fi |
|
17069 |
as_test_x=' |
|
17070 |
eval sh -c '\'' |
|
17071 |
if test -d "$1"; then |
|
17072 |
test -d "$1/."; |
|
17073 |
else |
|
17074 |
case $1 in |
|
17075 |
-*)set "./$1";; |
|
17076 |
esac; |
|
17077 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
17078 |
???[sx]*):;;*)false;;esac;fi |
|
17079 |
'\'' sh |
|
17080 |
' |
|
17081 |
fi |
|
17082 |
as_executable_p=$as_test_x |
|
17083 |
||
17084 |
# Sed expression to map a string onto a valid CPP name. |
|
17085 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
17086 |
||
17087 |
# Sed expression to map a string onto a valid variable name. |
|
17088 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
17089 |
||
17090 |
||
17091 |
||
17092 |
exec 6>&1 |
|
17093 |
exec 5>>config.log |
|
17094 |
{ |
|
17095 |
echo |
|
17096 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
17097 |
## Running $as_me. ## |
|
17098 |
_ASBOX |
|
17099 |
} >&5 |
|
17100 |
||
17101 |
lt_cl_help="\ |
|
17102 |
\`$as_me' creates a local libtool stub from the current configuration, |
|
17103 |
for use in further configure time tests before the real libtool is |
|
17104 |
generated. |
|
17105 |
||
17106 |
Usage: $0 [OPTIONS] |
|
17107 |
||
17108 |
-h, --help print this help, then exit |
|
17109 |
-V, --version print version number, then exit |
|
17110 |
-q, --quiet do not print progress messages |
|
17111 |
-d, --debug don't remove temporary files |
|
17112 |
||
17113 |
Report bugs to <bug-libtool@gnu.org>." |
|
17114 |
||
17115 |
lt_cl_version="\ |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
17116 |
pango config.lt 1.26.2 |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17117 |
configured by $0, generated by GNU Autoconf 2.63. |
17118 |
||
17119 |
Copyright (C) 2008 Free Software Foundation, Inc. |
|
17120 |
This config.lt script is free software; the Free Software Foundation |
|
17121 |
gives unlimited permision to copy, distribute and modify it." |
|
17122 |
||
17123 |
while test $# != 0 |
|
17124 |
do |
|
17125 |
case $1 in |
|
17126 |
--version | --v* | -V ) |
|
17127 |
echo "$lt_cl_version"; exit 0 ;; |
|
17128 |
--help | --h* | -h ) |
|
17129 |
echo "$lt_cl_help"; exit 0 ;; |
|
17130 |
--debug | --d* | -d ) |
|
17131 |
debug=: ;; |
|
17132 |
--quiet | --q* | --silent | --s* | -q ) |
|
17133 |
lt_cl_silent=: ;; |
|
17134 |
||
17135 |
-*) { { $as_echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
17136 |
Try \`$0 --help' for more information." >&5 |
|
17137 |
$as_echo "$as_me: error: unrecognized option: $1 |
|
17138 |
Try \`$0 --help' for more information." >&2;} |
|
17139 |
{ (exit 1); exit 1; }; } ;; |
|
17140 |
||
17141 |
*) { { $as_echo "$as_me:$LINENO: error: unrecognized argument: $1 |
|
17142 |
Try \`$0 --help' for more information." >&5 |
|
17143 |
$as_echo "$as_me: error: unrecognized argument: $1 |
|
17144 |
Try \`$0 --help' for more information." >&2;} |
|
17145 |
{ (exit 1); exit 1; }; } ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17146 |
esac |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17147 |
shift |
17148 |
done |
|
17149 |
||
17150 |
if $lt_cl_silent; then |
|
17151 |
exec 6>/dev/null |
|
17152 |
fi |
|
17153 |
_LTEOF |
|
17154 |
||
17155 |
cat >>"$CONFIG_LT" <<_LTEOF |
|
17156 |
||
17157 |
||
17158 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
17159 |
# if CDPATH is set. |
|
17160 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
17161 |
||
17162 |
sed_quote_subst='$sed_quote_subst' |
|
17163 |
double_quote_subst='$double_quote_subst' |
|
17164 |
delay_variable_subst='$delay_variable_subst' |
|
17165 |
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' |
|
17166 |
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
|
17167 |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
|
17168 |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
17169 |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
17170 |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
|
17171 |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
|
17172 |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
|
17173 |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
|
17174 |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
17175 |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
|
17176 |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
|
17177 |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
17178 |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
|
17179 |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
|
17180 |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
|
17181 |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
|
17182 |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
17183 |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
17184 |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
17185 |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
|
17186 |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
|
17187 |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
|
17188 |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
|
17189 |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
|
17190 |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
|
17191 |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
|
17192 |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
|
17193 |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
|
17194 |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
17195 |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17196 |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
|
17197 |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
|
17198 |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
|
17199 |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
17200 |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
|
17201 |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
|
17202 |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17203 |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17204 |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17205 |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
|
17206 |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
17207 |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
|
17208 |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
|
17209 |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
|
17210 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
|
17211 |
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"`' |
|
17212 |
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"`' |
|
17213 |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
|
17214 |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
|
17215 |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
|
17216 |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
|
17217 |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
17218 |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
|
17219 |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
|
17220 |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
17221 |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
|
17222 |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
|
17223 |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
|
17224 |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
|
17225 |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
|
17226 |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
|
17227 |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
|
17228 |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
|
17229 |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17230 |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17231 |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
|
17232 |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
|
17233 |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17234 |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17235 |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
|
17236 |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17237 |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17238 |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17239 |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17240 |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17241 |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17242 |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
17243 |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
17244 |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
17245 |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17246 |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
17247 |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
|
17248 |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
|
17249 |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
|
17250 |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
|
17251 |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
17252 |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
|
17253 |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
17254 |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
|
17255 |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
|
17256 |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
|
17257 |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17258 |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
17259 |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
17260 |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17261 |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17262 |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
|
17263 |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
|
17264 |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
17265 |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
|
17266 |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
17267 |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
17268 |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
17269 |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17270 |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17271 |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17272 |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17273 |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17274 |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
17275 |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
|
17276 |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
|
17277 |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17278 |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
17279 |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
|
17280 |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
|
17281 |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
|
17282 |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
17283 |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
17284 |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
17285 |
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' |
|
17286 |
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' |
|
17287 |
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' |
|
17288 |
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' |
|
17289 |
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' |
|
17290 |
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' |
|
17291 |
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17292 |
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17293 |
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17294 |
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17295 |
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17296 |
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17297 |
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17298 |
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17299 |
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17300 |
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17301 |
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17302 |
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17303 |
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17304 |
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17305 |
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17306 |
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17307 |
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17308 |
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17309 |
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17310 |
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17311 |
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17312 |
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17313 |
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17314 |
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17315 |
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17316 |
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17317 |
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17318 |
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17319 |
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17320 |
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17321 |
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17322 |
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17323 |
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17324 |
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17325 |
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17326 |
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17327 |
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17328 |
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17329 |
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17330 |
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17331 |
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17332 |
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17333 |
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17334 |
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17335 |
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17336 |
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17337 |
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
17338 |
||
17339 |
LTCC='$LTCC' |
|
17340 |
LTCFLAGS='$LTCFLAGS' |
|
17341 |
compiler='$compiler_DEFAULT' |
|
17342 |
||
17343 |
# Quote evaled strings. |
|
17344 |
for var in SED \ |
|
17345 |
GREP \ |
|
17346 |
EGREP \ |
|
17347 |
FGREP \ |
|
17348 |
LD \ |
|
17349 |
NM \ |
|
17350 |
LN_S \ |
|
17351 |
lt_SP2NL \ |
|
17352 |
lt_NL2SP \ |
|
17353 |
reload_flag \ |
|
17354 |
deplibs_check_method \ |
|
17355 |
file_magic_cmd \ |
|
17356 |
AR \ |
|
17357 |
AR_FLAGS \ |
|
17358 |
STRIP \ |
|
17359 |
RANLIB \ |
|
17360 |
CC \ |
|
17361 |
CFLAGS \ |
|
17362 |
compiler \ |
|
17363 |
lt_cv_sys_global_symbol_pipe \ |
|
17364 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
17365 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
17366 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
17367 |
SHELL \ |
|
17368 |
ECHO \ |
|
17369 |
lt_prog_compiler_no_builtin_flag \ |
|
17370 |
lt_prog_compiler_wl \ |
|
17371 |
lt_prog_compiler_pic \ |
|
17372 |
lt_prog_compiler_static \ |
|
17373 |
lt_cv_prog_compiler_c_o \ |
|
17374 |
need_locks \ |
|
17375 |
DSYMUTIL \ |
|
17376 |
NMEDIT \ |
|
17377 |
LIPO \ |
|
17378 |
OTOOL \ |
|
17379 |
OTOOL64 \ |
|
17380 |
shrext_cmds \ |
|
17381 |
export_dynamic_flag_spec \ |
|
17382 |
whole_archive_flag_spec \ |
|
17383 |
compiler_needs_object \ |
|
17384 |
with_gnu_ld \ |
|
17385 |
allow_undefined_flag \ |
|
17386 |
no_undefined_flag \ |
|
17387 |
hardcode_libdir_flag_spec \ |
|
17388 |
hardcode_libdir_flag_spec_ld \ |
|
17389 |
hardcode_libdir_separator \ |
|
17390 |
fix_srcfile_path \ |
|
17391 |
exclude_expsyms \ |
|
17392 |
include_expsyms \ |
|
17393 |
file_list_spec \ |
|
17394 |
variables_saved_for_relink \ |
|
17395 |
libname_spec \ |
|
17396 |
library_names_spec \ |
|
17397 |
soname_spec \ |
|
17398 |
finish_eval \ |
|
17399 |
old_striplib \ |
|
17400 |
striplib \ |
|
17401 |
compiler_lib_search_dirs \ |
|
17402 |
predep_objects \ |
|
17403 |
postdep_objects \ |
|
17404 |
predeps \ |
|
17405 |
postdeps \ |
|
17406 |
compiler_lib_search_path \ |
|
17407 |
LD_CXX \ |
|
17408 |
compiler_CXX \ |
|
17409 |
lt_prog_compiler_no_builtin_flag_CXX \ |
|
17410 |
lt_prog_compiler_wl_CXX \ |
|
17411 |
lt_prog_compiler_pic_CXX \ |
|
17412 |
lt_prog_compiler_static_CXX \ |
|
17413 |
lt_cv_prog_compiler_c_o_CXX \ |
|
17414 |
export_dynamic_flag_spec_CXX \ |
|
17415 |
whole_archive_flag_spec_CXX \ |
|
17416 |
compiler_needs_object_CXX \ |
|
17417 |
with_gnu_ld_CXX \ |
|
17418 |
allow_undefined_flag_CXX \ |
|
17419 |
no_undefined_flag_CXX \ |
|
17420 |
hardcode_libdir_flag_spec_CXX \ |
|
17421 |
hardcode_libdir_flag_spec_ld_CXX \ |
|
17422 |
hardcode_libdir_separator_CXX \ |
|
17423 |
fix_srcfile_path_CXX \ |
|
17424 |
exclude_expsyms_CXX \ |
|
17425 |
include_expsyms_CXX \ |
|
17426 |
file_list_spec_CXX \ |
|
17427 |
compiler_lib_search_dirs_CXX \ |
|
17428 |
predep_objects_CXX \ |
|
17429 |
postdep_objects_CXX \ |
|
17430 |
predeps_CXX \ |
|
17431 |
postdeps_CXX \ |
|
17432 |
compiler_lib_search_path_CXX; do |
|
17433 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
|
17434 |
*[\\\\\\\`\\"\\\$]*) |
|
17435 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
|
17436 |
;; |
|
17437 |
*) |
|
17438 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
17439 |
;; |
|
17440 |
esac |
|
17441 |
done |
|
17442 |
||
17443 |
# Double-quote double-evaled strings. |
|
17444 |
for var in reload_cmds \ |
|
17445 |
old_postinstall_cmds \ |
|
17446 |
old_postuninstall_cmds \ |
|
17447 |
old_archive_cmds \ |
|
17448 |
extract_expsyms_cmds \ |
|
17449 |
old_archive_from_new_cmds \ |
|
17450 |
old_archive_from_expsyms_cmds \ |
|
17451 |
archive_cmds \ |
|
17452 |
archive_expsym_cmds \ |
|
17453 |
module_cmds \ |
|
17454 |
module_expsym_cmds \ |
|
17455 |
export_symbols_cmds \ |
|
17456 |
prelink_cmds \ |
|
17457 |
postinstall_cmds \ |
|
17458 |
postuninstall_cmds \ |
|
17459 |
finish_cmds \ |
|
17460 |
sys_lib_search_path_spec \ |
|
17461 |
sys_lib_dlsearch_path_spec \ |
|
17462 |
old_archive_cmds_CXX \ |
|
17463 |
old_archive_from_new_cmds_CXX \ |
|
17464 |
old_archive_from_expsyms_cmds_CXX \ |
|
17465 |
archive_cmds_CXX \ |
|
17466 |
archive_expsym_cmds_CXX \ |
|
17467 |
module_cmds_CXX \ |
|
17468 |
module_expsym_cmds_CXX \ |
|
17469 |
export_symbols_cmds_CXX \ |
|
17470 |
prelink_cmds_CXX; do |
|
17471 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
|
17472 |
*[\\\\\\\`\\"\\\$]*) |
|
17473 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
|
17474 |
;; |
|
17475 |
*) |
|
17476 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
17477 |
;; |
|
17478 |
esac |
|
17479 |
done |
|
17480 |
||
17481 |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
|
17482 |
case \$lt_ECHO in |
|
17483 |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
|
17484 |
;; |
|
17485 |
esac |
|
17486 |
||
17487 |
ac_aux_dir='$ac_aux_dir' |
|
17488 |
xsi_shell='$xsi_shell' |
|
17489 |
lt_shell_append='$lt_shell_append' |
|
17490 |
||
17491 |
# See if we are running on zsh, and set the options which allow our |
|
17492 |
# commands through without removal of \ escapes INIT. |
|
17493 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
17494 |
setopt NO_GLOB_SUBST |
|
17495 |
fi |
|
17496 |
||
17497 |
||
17498 |
PACKAGE='$PACKAGE' |
|
17499 |
VERSION='$VERSION' |
|
17500 |
TIMESTAMP='$TIMESTAMP' |
|
17501 |
RM='$RM' |
|
17502 |
ofile='$ofile' |
|
17503 |
||
17504 |
||
17505 |
||
17506 |
||
17507 |
||
17508 |
_LTEOF |
|
17509 |
||
17510 |
cat >>"$CONFIG_LT" <<\_LTEOF |
|
17511 |
{ $as_echo "$as_me:$LINENO: creating $ofile" >&5 |
|
17512 |
$as_echo "$as_me: creating $ofile" >&6;} |
|
17513 |
||
17514 |
||
17515 |
# See if we are running on zsh, and set the options which allow our |
|
17516 |
# commands through without removal of \ escapes. |
|
17517 |
if test -n "${ZSH_VERSION+set}" ; then |
|
17518 |
setopt NO_GLOB_SUBST |
|
17519 |
fi |
|
17520 |
||
17521 |
cfgfile="${ofile}T" |
|
17522 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
17523 |
$RM "$cfgfile" |
|
17524 |
||
17525 |
cat <<_LT_EOF >> "$cfgfile" |
|
17526 |
#! $SHELL |
|
17527 |
||
17528 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
17529 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17530 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17531 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
17532 |
# |
|
17533 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
17534 |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
|
17535 |
# Written by Gordon Matzigkeit, 1996 |
|
17536 |
# |
|
17537 |
# This file is part of GNU Libtool. |
|
17538 |
# |
|
17539 |
# GNU Libtool is free software; you can redistribute it and/or |
|
17540 |
# modify it under the terms of the GNU General Public License as |
|
17541 |
# published by the Free Software Foundation; either version 2 of |
|
17542 |
# the License, or (at your option) any later version. |
|
17543 |
# |
|
17544 |
# As a special exception to the GNU General Public License, |
|
17545 |
# if you distribute this file as part of a program or library that |
|
17546 |
# is built using GNU Libtool, you may include this file under the |
|
17547 |
# same distribution terms that you use for the rest of that program. |
|
17548 |
# |
|
17549 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
17550 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17551 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17552 |
# GNU General Public License for more details. |
|
17553 |
# |
|
17554 |
# You should have received a copy of the GNU General Public License |
|
17555 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
17556 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
17557 |
# obtained by writing to the Free Software Foundation, Inc., |
|
17558 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17559 |
||
17560 |
||
17561 |
# The names of the tagged configurations supported by this script. |
|
17562 |
available_tags="CXX " |
|
17563 |
||
17564 |
# ### BEGIN LIBTOOL CONFIG |
|
17565 |
||
17566 |
# Assembler program. |
|
17567 |
AS=$AS |
|
17568 |
||
17569 |
# DLL creation program. |
|
17570 |
DLLTOOL=$DLLTOOL |
|
17571 |
||
17572 |
# Object dumper program. |
|
17573 |
OBJDUMP=$OBJDUMP |
|
17574 |
||
17575 |
# Whether or not to build static libraries. |
|
17576 |
build_old_libs=$enable_static |
|
17577 |
||
17578 |
# Which release of libtool.m4 was used? |
|
17579 |
macro_version=$macro_version |
|
17580 |
macro_revision=$macro_revision |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17581 |
|
17582 |
# Whether or not to build shared libraries. |
|
17583 |
build_libtool_libs=$enable_shared |
|
17584 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17585 |
# What type of objects to build. |
17586 |
pic_mode=$pic_mode |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17587 |
|
17588 |
# Whether or not to optimize for fast installation. |
|
17589 |
fast_install=$enable_fast_install |
|
17590 |
||
17591 |
# The host system. |
|
17592 |
host_alias=$host_alias |
|
17593 |
host=$host |
|
17594 |
host_os=$host_os |
|
17595 |
||
17596 |
# The build system. |
|
17597 |
build_alias=$build_alias |
|
17598 |
build=$build |
|
17599 |
build_os=$build_os |
|
17600 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17601 |
# A sed program that does not truncate output. |
17602 |
SED=$lt_SED |
|
17603 |
||
17604 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
17605 |
Xsed="\$SED -e 1s/^X//" |
|
17606 |
||
17607 |
# A grep program that handles long lines. |
|
17608 |
GREP=$lt_GREP |
|
17609 |
||
17610 |
# An ERE matcher. |
|
17611 |
EGREP=$lt_EGREP |
|
17612 |
||
17613 |
# A literal string matcher. |
|
17614 |
FGREP=$lt_FGREP |
|
17615 |
||
17616 |
# A BSD- or MS-compatible name lister. |
|
17617 |
NM=$lt_NM |
|
17618 |
||
17619 |
# Whether we need soft or hard links. |
|
17620 |
LN_S=$lt_LN_S |
|
17621 |
||
17622 |
# What is the maximum length of a command? |
|
17623 |
max_cmd_len=$max_cmd_len |
|
17624 |
||
17625 |
# Object file suffix (normally "o"). |
|
17626 |
objext=$ac_objext |
|
17627 |
||
17628 |
# Executable file suffix (normally ""). |
|
17629 |
exeext=$exeext |
|
17630 |
||
17631 |
# whether the shell understands "unset". |
|
17632 |
lt_unset=$lt_unset |
|
17633 |
||
17634 |
# turn spaces into newlines. |
|
17635 |
SP2NL=$lt_lt_SP2NL |
|
17636 |
||
17637 |
# turn newlines into spaces. |
|
17638 |
NL2SP=$lt_lt_NL2SP |
|
17639 |
||
17640 |
# How to create reloadable object files. |
|
17641 |
reload_flag=$lt_reload_flag |
|
17642 |
reload_cmds=$lt_reload_cmds |
|
17643 |
||
17644 |
# Method to check whether dependent libraries are shared objects. |
|
17645 |
deplibs_check_method=$lt_deplibs_check_method |
|
17646 |
||
17647 |
# Command to use when deplibs_check_method == "file_magic". |
|
17648 |
file_magic_cmd=$lt_file_magic_cmd |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17649 |
|
17650 |
# The archiver. |
|
17651 |
AR=$lt_AR |
|
17652 |
AR_FLAGS=$lt_AR_FLAGS |
|
17653 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17654 |
# A symbol stripping program. |
17655 |
STRIP=$lt_STRIP |
|
17656 |
||
17657 |
# Commands used to install an old-style archive. |
|
17658 |
RANLIB=$lt_RANLIB |
|
17659 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
17660 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
17661 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17662 |
# A C compiler. |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17663 |
LTCC=$lt_CC |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
17664 |
|
17665 |
# LTCC compiler flags. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
17666 |
LTCFLAGS=$lt_CFLAGS |
17667 |
||
17668 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
17669 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
17670 |
||
17671 |
# Transform the output of nm in a proper C declaration. |
|
17672 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
17673 |
||
17674 |
# Transform the output of nm in a C name address pair. |
|
17675 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
17676 |
||
17677 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
17678 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
17679 |
||
17680 |
# The name of the directory that contains temporary libtool files. |
|
17681 |
objdir=$objdir |
|
17682 |
||
17683 |
# Shell to use when invoking shell scripts. |
|
17684 |
SHELL=$lt_SHELL |
|
17685 |
||
17686 |
# An echo program that does not interpret backslashes. |
|
17687 |
ECHO=$lt_ECHO |
|
17688 |
||
17689 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
17690 |
MAGIC_CMD=$MAGIC_CMD |
|
17691 |
||
17692 |
# Must we lock files when doing compilation? |
|
17693 |
need_locks=$lt_need_locks |
|
17694 |
||
17695 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
|
17696 |
DSYMUTIL=$lt_DSYMUTIL |
|
17697 |
||
17698 |
# Tool to change global to local symbols on Mac OS X. |
|
17699 |
NMEDIT=$lt_NMEDIT |
|
17700 |
||
17701 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
17702 |
LIPO=$lt_LIPO |
|
17703 |
||
17704 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
17705 |
OTOOL=$lt_OTOOL |
|
17706 |
||
17707 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
17708 |
OTOOL64=$lt_OTOOL64 |
|
17709 |
||
17710 |
# Old archive suffix (normally "a"). |
|
17711 |
libext=$libext |
|
17712 |
||
17713 |
# Shared library suffix (normally ".so"). |
|
17714 |
shrext_cmds=$lt_shrext_cmds |
|
17715 |
||
17716 |
# The commands to extract the exported symbol list from a shared archive. |
|
17717 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
17718 |
||
17719 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
17720 |
# restored at link time. |
|
17721 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
17722 |
||
17723 |
# Do we need the "lib" prefix for modules? |
|
17724 |
need_lib_prefix=$need_lib_prefix |
|
17725 |
||
17726 |
# Do we need a version for libraries? |
|
17727 |
need_version=$need_version |
|
17728 |
||
17729 |
# Library versioning type. |
|
17730 |
version_type=$version_type |
|
17731 |
||
17732 |
# Shared library runtime path variable. |
|
17733 |
runpath_var=$runpath_var |
|
17734 |
||
17735 |
# Shared library path variable. |
|
17736 |
shlibpath_var=$shlibpath_var |
|
17737 |
||
17738 |
# Is shlibpath searched before the hard-coded library search path? |
|
17739 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
17740 |
||
17741 |
# Format of library name prefix. |
|
17742 |
libname_spec=$lt_libname_spec |
|
17743 |
||
17744 |
# List of archive names. First name is the real one, the rest are links. |
|
17745 |
# The last name is the one that the linker finds with -lNAME |
|
17746 |
library_names_spec=$lt_library_names_spec |
|
17747 |
||
17748 |
# The coded name of the library, if different from the real name. |
|
17749 |
soname_spec=$lt_soname_spec |
|
17750 |
||
17751 |
# Command to use after installation of a shared archive. |
|
17752 |
postinstall_cmds=$lt_postinstall_cmds |
|
17753 |
||
17754 |
# Command to use after uninstallation of a shared archive. |
|
17755 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
17756 |
||
17757 |
# Commands used to finish a libtool library installation in a directory. |
|
17758 |
finish_cmds=$lt_finish_cmds |
|
17759 |
||
17760 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
17761 |
# not shown. |
|
17762 |
finish_eval=$lt_finish_eval |
|
17763 |
||
17764 |
# Whether we should hardcode library paths into libraries. |
|
17765 |
hardcode_into_libs=$hardcode_into_libs |
|
17766 |
||
17767 |
# Compile-time system search path for libraries. |
|
17768 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
17769 |
||
17770 |
# Run-time system search path for libraries. |
|
17771 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
17772 |
||
17773 |
# Whether dlopen is supported. |
|
17774 |
dlopen_support=$enable_dlopen |
|
17775 |
||
17776 |
# Whether dlopen of programs is supported. |
|
17777 |
dlopen_self=$enable_dlopen_self |
|
17778 |
||
17779 |
# Whether dlopen of statically linked programs is supported. |
|
17780 |
dlopen_self_static=$enable_dlopen_self_static |
|
17781 |
||
17782 |
# Commands to strip libraries. |
|
17783 |
old_striplib=$lt_old_striplib |
|
17784 |
striplib=$lt_striplib |
|
17785 |
||
17786 |
||
17787 |
# The linker used to build libraries. |
|
17788 |
LD=$lt_LD |
|
17789 |
||
17790 |
# Commands used to build an old-style archive. |
|
17791 |
old_archive_cmds=$lt_old_archive_cmds |
|
17792 |
||
17793 |
# A language specific compiler. |
|
17794 |
CC=$lt_compiler |
|
17795 |
||
17796 |
# Is the compiler the GNU compiler? |
|
17797 |
with_gcc=$GCC |
|
17798 |
||
17799 |
# Compiler flag to turn off builtin functions. |
|
17800 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
17801 |
||
17802 |
# How to pass a linker flag through the compiler. |
|
17803 |
wl=$lt_lt_prog_compiler_wl |
|
17804 |
||
17805 |
# Additional compiler flags for building library objects. |
|
17806 |
pic_flag=$lt_lt_prog_compiler_pic |
|
17807 |
||
17808 |
# Compiler flag to prevent dynamic linking. |
|
17809 |
link_static_flag=$lt_lt_prog_compiler_static |
|
17810 |
||
17811 |
# Does compiler simultaneously support -c and -o options? |
|
17812 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
17813 |
||
17814 |
# Whether or not to add -lc for building shared libraries. |
|
17815 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
17816 |
||
17817 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
17818 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
17819 |
||
17820 |
# Compiler flag to allow reflexive dlopens. |
|
17821 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
17822 |
||
17823 |
# Compiler flag to generate shared objects directly from archives. |
|
17824 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
17825 |
||
17826 |
# Whether the compiler copes with passing no objects directly. |
|
17827 |
compiler_needs_object=$lt_compiler_needs_object |
|
17828 |
||
17829 |
# Create an old-style archive from a shared archive. |
|
17830 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
17831 |
||
17832 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
17833 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
17834 |
||
17835 |
# Commands used to build a shared archive. |
|
17836 |
archive_cmds=$lt_archive_cmds |
|
17837 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
17838 |
||
17839 |
# Commands used to build a loadable module if different from building |
|
17840 |
# a shared archive. |
|
17841 |
module_cmds=$lt_module_cmds |
|
17842 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
17843 |
||
17844 |
# Whether we are building with GNU ld or not. |
|
17845 |
with_gnu_ld=$lt_with_gnu_ld |
|
17846 |
||
17847 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
17848 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
17849 |
||
17850 |
# Flag that enforces no undefined symbols. |
|
17851 |
no_undefined_flag=$lt_no_undefined_flag |
|
17852 |
||
17853 |
# Flag to hardcode \$libdir into a binary during linking. |
|
17854 |
# This must work even if \$libdir does not exist |
|
17855 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
17856 |
||
17857 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
17858 |
# during linking. This must work even if \$libdir does not exist. |
|
17859 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
17860 |
||
17861 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
17862 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
17863 |
||
17864 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17865 |
# DIR into the resulting binary. |
|
17866 |
hardcode_direct=$hardcode_direct |
|
17867 |
||
17868 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
17869 |
# DIR into the resulting binary and the resulting library dependency is |
|
17870 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
17871 |
# library is relocated. |
|
17872 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
17873 |
||
17874 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
17875 |
# into the resulting binary. |
|
17876 |
hardcode_minus_L=$hardcode_minus_L |
|
17877 |
||
17878 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
17879 |
# into the resulting binary. |
|
17880 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
17881 |
||
17882 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
17883 |
# into the library and all subsequent libraries and executables linked |
|
17884 |
# against it. |
|
17885 |
hardcode_automatic=$hardcode_automatic |
|
17886 |
||
17887 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
17888 |
# to runtime path list. |
|
17889 |
inherit_rpath=$inherit_rpath |
|
17890 |
||
17891 |
# Whether libtool must link a program against all its dependency libraries. |
|
17892 |
link_all_deplibs=$link_all_deplibs |
|
17893 |
||
17894 |
# Fix the shell variable \$srcfile for the compiler. |
|
17895 |
fix_srcfile_path=$lt_fix_srcfile_path |
|
17896 |
||
17897 |
# Set to "yes" if exported symbols are required. |
|
17898 |
always_export_symbols=$always_export_symbols |
|
17899 |
||
17900 |
# The commands to list exported symbols. |
|
17901 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
17902 |
||
17903 |
# Symbols that should not be listed in the preloaded symbols. |
|
17904 |
exclude_expsyms=$lt_exclude_expsyms |
|
17905 |
||
17906 |
# Symbols that must always be exported. |
|
17907 |
include_expsyms=$lt_include_expsyms |
|
17908 |
||
17909 |
# Commands necessary for linking programs (against libraries) with templates. |
|
17910 |
prelink_cmds=$lt_prelink_cmds |
|
17911 |
||
17912 |
# Specify filename containing input files. |
|
17913 |
file_list_spec=$lt_file_list_spec |
|
17914 |
||
17915 |
# How to hardcode a shared library path into an executable. |
|
17916 |
hardcode_action=$hardcode_action |
|
17917 |
||
17918 |
# The directories searched by this compiler when creating a shared library. |
|
17919 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
|
17920 |
||
17921 |
# Dependencies to place before and after the objects being linked to |
|
17922 |
# create a shared library. |
|
17923 |
predep_objects=$lt_predep_objects |
|
17924 |
postdep_objects=$lt_postdep_objects |
|
17925 |
predeps=$lt_predeps |
|
17926 |
postdeps=$lt_postdeps |
|
17927 |
||
17928 |
# The library search path used internally by the compiler when linking |
|
17929 |
# a shared library. |
|
17930 |
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
17931 |
||
17932 |
# ### END LIBTOOL CONFIG |
|
17933 |
||
17934 |
_LT_EOF |
|
17935 |
||
17936 |
case $host_os in |
|
17937 |
aix3*) |
|
17938 |
cat <<\_LT_EOF >> "$cfgfile" |
|
17939 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
17940 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
17941 |
# vanish in a puff of smoke. |
|
17942 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
17943 |
COLLECT_NAMES= |
|
17944 |
export COLLECT_NAMES |
|
17945 |
fi |
|
17946 |
_LT_EOF |
|
17947 |
;; |
|
17948 |
esac |
|
17949 |
||
17950 |
||
17951 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
17952 |
||
17953 |
||
17954 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
17955 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
17956 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
17957 |
# is reportedly fixed, but why not run on old versions too? |
|
17958 |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
|
17959 |
|| (rm -f "$cfgfile"; exit 1) |
|
17960 |
||
17961 |
case $xsi_shell in |
|
17962 |
yes) |
|
17963 |
cat << \_LT_EOF >> "$cfgfile" |
|
17964 |
||
17965 |
# func_dirname file append nondir_replacement |
|
17966 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
17967 |
# otherwise set result to NONDIR_REPLACEMENT. |
|
17968 |
func_dirname () |
|
17969 |
{ |
|
17970 |
case ${1} in |
|
17971 |
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
17972 |
* ) func_dirname_result="${3}" ;; |
|
17973 |
esac |
|
17974 |
} |
|
17975 |
||
17976 |
# func_basename file |
|
17977 |
func_basename () |
|
17978 |
{ |
|
17979 |
func_basename_result="${1##*/}" |
|
17980 |
} |
|
17981 |
||
17982 |
# func_dirname_and_basename file append nondir_replacement |
|
17983 |
# perform func_basename and func_dirname in a single function |
|
17984 |
# call: |
|
17985 |
# dirname: Compute the dirname of FILE. If nonempty, |
|
17986 |
# add APPEND to the result, otherwise set result |
|
17987 |
# to NONDIR_REPLACEMENT. |
|
17988 |
# value returned in "$func_dirname_result" |
|
17989 |
# basename: Compute filename of FILE. |
|
17990 |
# value retuned in "$func_basename_result" |
|
17991 |
# Implementation must be kept synchronized with func_dirname |
|
17992 |
# and func_basename. For efficiency, we do not delegate to |
|
17993 |
# those functions but instead duplicate the functionality here. |
|
17994 |
func_dirname_and_basename () |
|
17995 |
{ |
|
17996 |
case ${1} in |
|
17997 |
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
17998 |
* ) func_dirname_result="${3}" ;; |
|
17999 |
esac |
|
18000 |
func_basename_result="${1##*/}" |
|
18001 |
} |
|
18002 |
||
18003 |
# func_stripname prefix suffix name |
|
18004 |
# strip PREFIX and SUFFIX off of NAME. |
|
18005 |
# PREFIX and SUFFIX must not contain globbing or regex special |
|
18006 |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
|
18007 |
# dot (in which case that matches only a dot). |
|
18008 |
func_stripname () |
|
18009 |
{ |
|
18010 |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
|
18011 |
# positional parameters, so assign one to ordinary parameter first. |
|
18012 |
func_stripname_result=${3} |
|
18013 |
func_stripname_result=${func_stripname_result#"${1}"} |
|
18014 |
func_stripname_result=${func_stripname_result%"${2}"} |
|
18015 |
} |
|
18016 |
||
18017 |
# func_opt_split |
|
18018 |
func_opt_split () |
|
18019 |
{ |
|
18020 |
func_opt_split_opt=${1%%=*} |
|
18021 |
func_opt_split_arg=${1#*=} |
|
18022 |
} |
|
18023 |
||
18024 |
# func_lo2o object |
|
18025 |
func_lo2o () |
|
18026 |
{ |
|
18027 |
case ${1} in |
|
18028 |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
|
18029 |
*) func_lo2o_result=${1} ;; |
|
18030 |
esac |
|
18031 |
} |
|
18032 |
||
18033 |
# func_xform libobj-or-source |
|
18034 |
func_xform () |
|
18035 |
{ |
|
18036 |
func_xform_result=${1%.*}.lo |
|
18037 |
} |
|
18038 |
||
18039 |
# func_arith arithmetic-term... |
|
18040 |
func_arith () |
|
18041 |
{ |
|
18042 |
func_arith_result=$(( $* )) |
|
18043 |
} |
|
18044 |
||
18045 |
# func_len string |
|
18046 |
# STRING may not start with a hyphen. |
|
18047 |
func_len () |
|
18048 |
{ |
|
18049 |
func_len_result=${#1} |
|
18050 |
} |
|
18051 |
||
18052 |
_LT_EOF |
|
18053 |
;; |
|
18054 |
*) # Bourne compatible functions. |
|
18055 |
cat << \_LT_EOF >> "$cfgfile" |
|
18056 |
||
18057 |
# func_dirname file append nondir_replacement |
|
18058 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
18059 |
# otherwise set result to NONDIR_REPLACEMENT. |
|
18060 |
func_dirname () |
|
18061 |
{ |
|
18062 |
# Extract subdirectory from the argument. |
|
18063 |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
|
18064 |
if test "X$func_dirname_result" = "X${1}"; then |
|
18065 |
func_dirname_result="${3}" |
|
18066 |
else |
|
18067 |
func_dirname_result="$func_dirname_result${2}" |
|
18068 |
fi |
|
18069 |
} |
|
18070 |
||
18071 |
# func_basename file |
|
18072 |
func_basename () |
|
18073 |
{ |
|
18074 |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
|
18075 |
} |
|
18076 |
||
18077 |
||
18078 |
# func_stripname prefix suffix name |
|
18079 |
# strip PREFIX and SUFFIX off of NAME. |
|
18080 |
# PREFIX and SUFFIX must not contain globbing or regex special |
|
18081 |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
|
18082 |
# dot (in which case that matches only a dot). |
|
18083 |
# func_strip_suffix prefix name |
|
18084 |
func_stripname () |
|
18085 |
{ |
|
18086 |
case ${2} in |
|
18087 |
.*) func_stripname_result=`$ECHO "X${3}" \ |
|
18088 |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
|
18089 |
*) func_stripname_result=`$ECHO "X${3}" \ |
|
18090 |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
|
18091 |
esac |
|
18092 |
} |
|
18093 |
||
18094 |
# sed scripts: |
|
18095 |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
|
18096 |
my_sed_long_arg='1s/^-[^=]*=//' |
|
18097 |
||
18098 |
# func_opt_split |
|
18099 |
func_opt_split () |
|
18100 |
{ |
|
18101 |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
|
18102 |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
|
18103 |
} |
|
18104 |
||
18105 |
# func_lo2o object |
|
18106 |
func_lo2o () |
|
18107 |
{ |
|
18108 |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
|
18109 |
} |
|
18110 |
||
18111 |
# func_xform libobj-or-source |
|
18112 |
func_xform () |
|
18113 |
{ |
|
18114 |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
|
18115 |
} |
|
18116 |
||
18117 |
# func_arith arithmetic-term... |
|
18118 |
func_arith () |
|
18119 |
{ |
|
18120 |
func_arith_result=`expr "$@"` |
|
18121 |
} |
|
18122 |
||
18123 |
# func_len string |
|
18124 |
# STRING may not start with a hyphen. |
|
18125 |
func_len () |
|
18126 |
{ |
|
18127 |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
|
18128 |
} |
|
18129 |
||
18130 |
_LT_EOF |
|
18131 |
esac |
|
18132 |
||
18133 |
case $lt_shell_append in |
|
18134 |
yes) |
|
18135 |
cat << \_LT_EOF >> "$cfgfile" |
|
18136 |
||
18137 |
# func_append var value |
|
18138 |
# Append VALUE to the end of shell variable VAR. |
|
18139 |
func_append () |
|
18140 |
{ |
|
18141 |
eval "$1+=\$2" |
|
18142 |
} |
|
18143 |
_LT_EOF |
|
18144 |
;; |
|
18145 |
*) |
|
18146 |
cat << \_LT_EOF >> "$cfgfile" |
|
18147 |
||
18148 |
# func_append var value |
|
18149 |
# Append VALUE to the end of shell variable VAR. |
|
18150 |
func_append () |
|
18151 |
{ |
|
18152 |
eval "$1=\$$1\$2" |
|
18153 |
} |
|
18154 |
||
18155 |
_LT_EOF |
|
18156 |
;; |
|
18157 |
esac |
|
18158 |
||
18159 |
||
18160 |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
|
18161 |
|| (rm -f "$cfgfile"; exit 1) |
|
18162 |
||
18163 |
mv -f "$cfgfile" "$ofile" || |
|
18164 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
18165 |
chmod +x "$ofile" |
|
18166 |
||
18167 |
||
18168 |
cat <<_LT_EOF >> "$ofile" |
|
18169 |
||
18170 |
# ### BEGIN LIBTOOL TAG CONFIG: CXX |
|
18171 |
||
18172 |
# The linker used to build libraries. |
|
18173 |
LD=$lt_LD_CXX |
|
18174 |
||
18175 |
# Commands used to build an old-style archive. |
|
18176 |
old_archive_cmds=$lt_old_archive_cmds_CXX |
|
18177 |
||
18178 |
# A language specific compiler. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18179 |
CC=$lt_compiler_CXX |
18180 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18181 |
# Is the compiler the GNU compiler? |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18182 |
with_gcc=$GCC_CXX |
18183 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18184 |
# Compiler flag to turn off builtin functions. |
18185 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18186 |
|
18187 |
# How to pass a linker flag through the compiler. |
|
18188 |
wl=$lt_lt_prog_compiler_wl_CXX |
|
18189 |
||
18190 |
# Additional compiler flags for building library objects. |
|
18191 |
pic_flag=$lt_lt_prog_compiler_pic_CXX |
|
18192 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18193 |
# Compiler flag to prevent dynamic linking. |
18194 |
link_static_flag=$lt_lt_prog_compiler_static_CXX |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18195 |
|
18196 |
# Does compiler simultaneously support -c and -o options? |
|
18197 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
|
18198 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18199 |
# Whether or not to add -lc for building shared libraries. |
18200 |
build_libtool_need_lc=$archive_cmds_need_lc_CXX |
|
18201 |
||
18202 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
18203 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18204 |
|
18205 |
# Compiler flag to allow reflexive dlopens. |
|
18206 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
|
18207 |
||
18208 |
# Compiler flag to generate shared objects directly from archives. |
|
18209 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
|
18210 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18211 |
# Whether the compiler copes with passing no objects directly. |
18212 |
compiler_needs_object=$lt_compiler_needs_object_CXX |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18213 |
|
18214 |
# Create an old-style archive from a shared archive. |
|
18215 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
|
18216 |
||
18217 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
18218 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
|
18219 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18220 |
# Commands used to build a shared archive. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18221 |
archive_cmds=$lt_archive_cmds_CXX |
18222 |
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
|
18223 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18224 |
# Commands used to build a loadable module if different from building |
18225 |
# a shared archive. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18226 |
module_cmds=$lt_module_cmds_CXX |
18227 |
module_expsym_cmds=$lt_module_expsym_cmds_CXX |
|
18228 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18229 |
# Whether we are building with GNU ld or not. |
18230 |
with_gnu_ld=$lt_with_gnu_ld_CXX |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18231 |
|
18232 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
18233 |
allow_undefined_flag=$lt_allow_undefined_flag_CXX |
|
18234 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18235 |
# Flag that enforces no undefined symbols. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18236 |
no_undefined_flag=$lt_no_undefined_flag_CXX |
18237 |
||
18238 |
# Flag to hardcode \$libdir into a binary during linking. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18239 |
# This must work even if \$libdir does not exist |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18240 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
18241 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18242 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
18243 |
# during linking. This must work even if \$libdir does not exist. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18244 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX |
18245 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18246 |
# Whether we need a single "-rpath" flag with a separated argument. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18247 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
18248 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18249 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
18250 |
# DIR into the resulting binary. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18251 |
hardcode_direct=$hardcode_direct_CXX |
18252 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18253 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
18254 |
# DIR into the resulting binary and the resulting library dependency is |
|
18255 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
18256 |
# library is relocated. |
|
18257 |
hardcode_direct_absolute=$hardcode_direct_absolute_CXX |
|
18258 |
||
18259 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
18260 |
# into the resulting binary. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18261 |
hardcode_minus_L=$hardcode_minus_L_CXX |
18262 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18263 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
18264 |
# into the resulting binary. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18265 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
18266 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18267 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
18268 |
# into the library and all subsequent libraries and executables linked |
|
18269 |
# against it. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18270 |
hardcode_automatic=$hardcode_automatic_CXX |
18271 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18272 |
# Set to yes if linker adds runtime paths of dependent libraries |
18273 |
# to runtime path list. |
|
18274 |
inherit_rpath=$inherit_rpath_CXX |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18275 |
|
18276 |
# Whether libtool must link a program against all its dependency libraries. |
|
18277 |
link_all_deplibs=$link_all_deplibs_CXX |
|
18278 |
||
18279 |
# Fix the shell variable \$srcfile for the compiler. |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18280 |
fix_srcfile_path=$lt_fix_srcfile_path_CXX |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18281 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18282 |
# Set to "yes" if exported symbols are required. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18283 |
always_export_symbols=$always_export_symbols_CXX |
18284 |
||
18285 |
# The commands to list exported symbols. |
|
18286 |
export_symbols_cmds=$lt_export_symbols_cmds_CXX |
|
18287 |
||
18288 |
# Symbols that should not be listed in the preloaded symbols. |
|
18289 |
exclude_expsyms=$lt_exclude_expsyms_CXX |
|
18290 |
||
18291 |
# Symbols that must always be exported. |
|
18292 |
include_expsyms=$lt_include_expsyms_CXX |
|
18293 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
18294 |
# Commands necessary for linking programs (against libraries) with templates. |
18295 |
prelink_cmds=$lt_prelink_cmds_CXX |
|
18296 |
||
18297 |
# Specify filename containing input files. |
|
18298 |
file_list_spec=$lt_file_list_spec_CXX |
|
18299 |
||
18300 |
# How to hardcode a shared library path into an executable. |
|
18301 |
hardcode_action=$hardcode_action_CXX |
|
18302 |
||
18303 |
# The directories searched by this compiler when creating a shared library. |
|
18304 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
|
18305 |
||
18306 |
# Dependencies to place before and after the objects being linked to |
|
18307 |
# create a shared library. |
|
18308 |
predep_objects=$lt_predep_objects_CXX |
|
18309 |
postdep_objects=$lt_postdep_objects_CXX |
|
18310 |
predeps=$lt_predeps_CXX |
|
18311 |
postdeps=$lt_postdeps_CXX |
|
18312 |
||
18313 |
# The library search path used internally by the compiler when linking |
|
18314 |
# a shared library. |
|
18315 |
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
|
18316 |
||
18317 |
# ### END LIBTOOL TAG CONFIG: CXX |
|
18318 |
_LT_EOF |
|
18319 |
||
18320 |
||
18321 |
{ (exit 0); exit 0; } |
|
18322 |
_LTEOF |
|
18323 |
chmod +x "$CONFIG_LT" |
|
18324 |
||
18325 |
# configure is writing to config.log, but config.lt does its own redirection, |
|
18326 |
# appending to config.log, which fails on DOS, as config.log is still kept |
|
18327 |
# open by configure. Here we exec the FD to /dev/null, effectively closing |
|
18328 |
# config.log, so it can be properly (re)opened and appended to by config.lt. |
|
18329 |
if test "$no_create" != yes; then |
|
18330 |
lt_cl_success=: |
|
18331 |
test "$silent" = yes && |
|
18332 |
lt_config_lt_args="$lt_config_lt_args --quiet" |
|
18333 |
exec 5>/dev/null |
|
18334 |
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
|
18335 |
exec 5>>config.log |
|
18336 |
$lt_cl_success || { (exit 1); exit 1; } |
|
18337 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18338 |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
18339 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18340 |
{ $as_echo "$as_me:$LINENO: checking for some Win32 platform" >&5 |
18341 |
$as_echo_n "checking for some Win32 platform... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18342 |
case "$host" in |
18343 |
*-*-mingw*|*-*-cygwin*) |
|
18344 |
pango_platform_win32=yes |
|
18345 |
;; |
|
18346 |
*) |
|
18347 |
pango_platform_win32=no |
|
18348 |
;; |
|
18349 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18350 |
{ $as_echo "$as_me:$LINENO: result: $pango_platform_win32" >&5 |
18351 |
$as_echo "$pango_platform_win32" >&6; } |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
18352 |
if test "$pango_platform_win32" = "yes"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18353 |
PLATFORM_WIN32_TRUE= |
18354 |
PLATFORM_WIN32_FALSE='#' |
|
18355 |
else |
|
18356 |
PLATFORM_WIN32_TRUE='#' |
|
18357 |
PLATFORM_WIN32_FALSE= |
|
18358 |
fi |
|
18359 |
||
18360 |
||
1.5.2
by Sebastien Bacher
Import upstream version 1.25.1 |
18361 |
if test "$pango_platform_win32" = "yes"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18362 |
if test -n "$ac_tool_prefix"; then |
18363 |
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. |
|
18364 |
set dummy ${ac_tool_prefix}windres; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18365 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
18366 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18367 |
if test "${ac_cv_prog_WINDRES+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18368 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18369 |
else |
18370 |
if test -n "$WINDRES"; then |
|
18371 |
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. |
|
18372 |
else |
|
18373 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
18374 |
for as_dir in $PATH |
|
18375 |
do |
|
18376 |
IFS=$as_save_IFS |
|
18377 |
test -z "$as_dir" && as_dir=. |
|
18378 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18379 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18380 |
ac_cv_prog_WINDRES="${ac_tool_prefix}windres" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18381 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18382 |
break 2 |
18383 |
fi |
|
18384 |
done |
|
18385 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18386 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18387 |
|
18388 |
fi |
|
18389 |
fi |
|
18390 |
WINDRES=$ac_cv_prog_WINDRES |
|
18391 |
if test -n "$WINDRES"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18392 |
{ $as_echo "$as_me:$LINENO: result: $WINDRES" >&5 |
18393 |
$as_echo "$WINDRES" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18394 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18395 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
18396 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18397 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18398 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18399 |
|
18400 |
fi |
|
18401 |
if test -z "$ac_cv_prog_WINDRES"; then |
|
18402 |
ac_ct_WINDRES=$WINDRES |
|
18403 |
# Extract the first word of "windres", so it can be a program name with args. |
|
18404 |
set dummy windres; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18405 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
18406 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18407 |
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18408 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18409 |
else |
18410 |
if test -n "$ac_ct_WINDRES"; then |
|
18411 |
ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. |
|
18412 |
else |
|
18413 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
18414 |
for as_dir in $PATH |
|
18415 |
do |
|
18416 |
IFS=$as_save_IFS |
|
18417 |
test -z "$as_dir" && as_dir=. |
|
18418 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18419 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18420 |
ac_cv_prog_ac_ct_WINDRES="windres" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18421 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18422 |
break 2 |
18423 |
fi |
|
18424 |
done |
|
18425 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18426 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18427 |
|
18428 |
fi |
|
18429 |
fi |
|
18430 |
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES |
|
18431 |
if test -n "$ac_ct_WINDRES"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18432 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5 |
18433 |
$as_echo "$ac_ct_WINDRES" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18434 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18435 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
18436 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18437 |
fi |
18438 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18439 |
if test "x$ac_ct_WINDRES" = x; then |
18440 |
WINDRES="no" |
|
18441 |
else |
|
18442 |
case $cross_compiling:$ac_tool_warned in |
|
18443 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
18444 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
18445 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18446 |
ac_tool_warned=yes ;; |
18447 |
esac |
|
18448 |
WINDRES=$ac_ct_WINDRES |
|
18449 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18450 |
else |
18451 |
WINDRES="$ac_cv_prog_WINDRES" |
|
18452 |
fi |
|
18453 |
||
18454 |
if test "$WINDRES" = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18455 |
{ { $as_echo "$as_me:$LINENO: error: *** Could not find an implementation of windres in your PATH." >&5 |
18456 |
$as_echo "$as_me: error: *** Could not find an implementation of windres in your PATH." >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18457 |
{ (exit 1); exit 1; }; } |
18458 |
fi |
|
18459 |
# Extract the first word of "lib.exe", so it can be a program name with args. |
|
18460 |
set dummy lib.exe; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18461 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
18462 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18463 |
if test "${ac_cv_prog_ms_librarian+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18464 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18465 |
else |
18466 |
if test -n "$ms_librarian"; then |
|
18467 |
ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test. |
|
18468 |
else |
|
18469 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
18470 |
for as_dir in $PATH |
|
18471 |
do |
|
18472 |
IFS=$as_save_IFS |
|
18473 |
test -z "$as_dir" && as_dir=. |
|
18474 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18475 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18476 |
ac_cv_prog_ms_librarian="yes" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18477 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18478 |
break 2 |
18479 |
fi |
|
18480 |
done |
|
18481 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18482 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18483 |
|
18484 |
test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no" |
|
18485 |
fi |
|
18486 |
fi |
|
18487 |
ms_librarian=$ac_cv_prog_ms_librarian |
|
18488 |
if test -n "$ms_librarian"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18489 |
{ $as_echo "$as_me:$LINENO: result: $ms_librarian" >&5 |
18490 |
$as_echo "$ms_librarian" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18491 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18492 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
18493 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18494 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18495 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18496 |
|
18497 |
fi |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
18498 |
if test x$ms_librarian = xyes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18499 |
MS_LIB_AVAILABLE_TRUE= |
18500 |
MS_LIB_AVAILABLE_FALSE='#' |
|
18501 |
else |
|
18502 |
MS_LIB_AVAILABLE_TRUE='#' |
|
18503 |
MS_LIB_AVAILABLE_FALSE= |
|
18504 |
fi |
|
18505 |
||
18506 |
||
18507 |
if test "x$GCC" = "xyes"; then |
|
18508 |
case " $CFLAGS " in |
|
18509 |
*[\ \ ]-Wall[\ \ ]*) ;; |
|
18510 |
*) CFLAGS="$CFLAGS -Wall" ;; |
|
18511 |
esac |
|
18512 |
fi |
|
18513 |
||
18514 |
||
18515 |
||
18516 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18517 |
# Check whether --enable-debug was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18518 |
if test "${enable_debug+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18519 |
enableval=$enable_debug; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18520 |
else |
1.7.1
by Sebastian Dröge
Import upstream version 1.26.0 |
18521 |
enable_debug=minimum |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18522 |
fi |
18523 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18524 |
|
18525 |
if test "x$enable_debug" = "xyes"; then |
|
18526 |
PANGO_DEBUG_FLAGS="-DPANGO_ENABLE_DEBUG" |
|
18527 |
else |
|
18528 |
PANGO_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS" |
|
18529 |
||
18530 |
if test "x$enable_debug" = "xno"; then |
|
18531 |
PANGO_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS $PANGO_DEBUG_FLAGS" |
|
18532 |
fi |
|
18533 |
fi |
|
18534 |
||
18535 |
||
18536 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18537 |
# Check whether --enable-rebuilds was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18538 |
if test "${enable_rebuilds+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18539 |
enableval=$enable_rebuilds; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18540 |
else |
18541 |
enable_rebuilds=yes |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18542 |
fi |
18543 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18544 |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
18545 |
if test $cross_compiling = yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18546 |
CROSS_COMPILING_TRUE= |
18547 |
CROSS_COMPILING_FALSE='#' |
|
18548 |
else |
|
18549 |
CROSS_COMPILING_TRUE='#' |
|
18550 |
CROSS_COMPILING_FALSE= |
|
18551 |
fi |
|
18552 |
||
18553 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
18554 |
have_x=false |
18555 |
if test "x$pango_os_win32" != xyes; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18556 |
{ $as_echo "$as_me:$LINENO: checking for X" >&5 |
18557 |
$as_echo_n "checking for X... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18558 |
|
18559 |
||
18560 |
# Check whether --with-x was given. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18561 |
if test "${with_x+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18562 |
withval=$with_x; |
18563 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18564 |
|
18565 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
|
18566 |
if test "x$with_x" = xno; then |
|
18567 |
# The user explicitly disabled X. |
|
18568 |
have_x=disabled |
|
18569 |
else |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18570 |
case $x_includes,$x_libraries in #( |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
18571 |
*\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 |
18572 |
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18573 |
{ (exit 1); exit 1; }; };; #( |
18574 |
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18575 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18576 |
else |
18577 |
# One or both of the vars are not set, and there is no cached value. |
|
18578 |
ac_x_includes=no ac_x_libraries=no |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18579 |
rm -f -r conftest.dir |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18580 |
if mkdir conftest.dir; then |
18581 |
cd conftest.dir |
|
18582 |
cat >Imakefile <<'_ACEOF' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18583 |
incroot: |
18584 |
@echo incroot='${INCROOT}' |
|
18585 |
usrlibdir: |
|
18586 |
@echo usrlibdir='${USRLIBDIR}' |
|
18587 |
libdir: |
|
18588 |
@echo libdir='${LIBDIR}' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18589 |
_ACEOF |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18590 |
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18591 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18592 |
for ac_var in incroot usrlibdir libdir; do |
18593 |
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
|
18594 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18595 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18596 |
for ac_extension in a so sl dylib la dll; do |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18597 |
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
18598 |
test -f "$ac_im_libdir/libX11.$ac_extension"; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18599 |
ac_im_usrlibdir=$ac_im_libdir; break |
18600 |
fi |
|
18601 |
done |
|
18602 |
# Screen out bogus values from the imake configuration. They are |
|
18603 |
# bogus both because they are the default anyway, and because |
|
18604 |
# using them would break gcc on systems where it needs fixed includes. |
|
18605 |
case $ac_im_incroot in |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18606 |
/usr/include) ac_x_includes= ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18607 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
18608 |
esac |
|
18609 |
case $ac_im_usrlibdir in |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
18610 |
/usr/lib | /usr/lib64 | /lib | /lib64) ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18611 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
18612 |
esac |
|
18613 |
fi |
|
18614 |
cd .. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18615 |
rm -f -r conftest.dir |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18616 |
fi |
18617 |
||
18618 |
# Standard set of common directories for X headers. |
|
18619 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
|
18620 |
ac_x_header_dirs=' |
|
18621 |
/usr/X11/include |
|
18622 |
/usr/X11R6/include |
|
18623 |
/usr/X11R5/include |
|
18624 |
/usr/X11R4/include |
|
18625 |
||
18626 |
/usr/include/X11 |
|
18627 |
/usr/include/X11R6 |
|
18628 |
/usr/include/X11R5 |
|
18629 |
/usr/include/X11R4 |
|
18630 |
||
18631 |
/usr/local/X11/include |
|
18632 |
/usr/local/X11R6/include |
|
18633 |
/usr/local/X11R5/include |
|
18634 |
/usr/local/X11R4/include |
|
18635 |
||
18636 |
/usr/local/include/X11 |
|
18637 |
/usr/local/include/X11R6 |
|
18638 |
/usr/local/include/X11R5 |
|
18639 |
/usr/local/include/X11R4 |
|
18640 |
||
18641 |
/usr/X386/include |
|
18642 |
/usr/x386/include |
|
18643 |
/usr/XFree86/include/X11 |
|
18644 |
||
18645 |
/usr/include |
|
18646 |
/usr/local/include |
|
18647 |
/usr/unsupported/include |
|
18648 |
/usr/athena/include |
|
18649 |
/usr/local/x11r5/include |
|
18650 |
/usr/lpp/Xamples/include |
|
18651 |
||
18652 |
/usr/openwin/include |
|
18653 |
/usr/openwin/share/include' |
|
18654 |
||
18655 |
if test "$ac_x_includes" = no; then |
|
18656 |
# Guess where to find include files, by looking for Xlib.h. |
|
18657 |
# First, try using that file with no special directory specified. |
|
18658 |
cat >conftest.$ac_ext <<_ACEOF |
|
18659 |
/* confdefs.h. */ |
|
18660 |
_ACEOF |
|
18661 |
cat confdefs.h >>conftest.$ac_ext |
|
18662 |
cat >>conftest.$ac_ext <<_ACEOF |
|
18663 |
/* end confdefs.h. */ |
|
18664 |
#include <X11/Xlib.h> |
|
18665 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18666 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
18667 |
case "(($ac_try" in |
|
18668 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
18669 |
*) ac_try_echo=$ac_try;; |
|
18670 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18671 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18672 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18673 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18674 |
ac_status=$? |
18675 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
18676 |
rm -f conftest.er1 |
|
18677 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18678 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18679 |
(exit $ac_status); } >/dev/null && { |
18680 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
18681 |
test ! -s conftest.err |
|
18682 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18683 |
# We can compile using X headers with no special include directory. |
18684 |
ac_x_includes= |
|
18685 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18686 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18687 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18688 |
||
18689 |
for ac_dir in $ac_x_header_dirs; do |
|
18690 |
if test -r "$ac_dir/X11/Xlib.h"; then |
|
18691 |
ac_x_includes=$ac_dir |
|
18692 |
break |
|
18693 |
fi |
|
18694 |
done |
|
18695 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18696 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18697 |
rm -f conftest.err conftest.$ac_ext |
18698 |
fi # $ac_x_includes = no |
|
18699 |
||
18700 |
if test "$ac_x_libraries" = no; then |
|
18701 |
# Check for the libraries. |
|
18702 |
# See if we find them without any special options. |
|
18703 |
# Don't add to $LIBS permanently. |
|
18704 |
ac_save_LIBS=$LIBS |
|
1.2.28
by Sebastien Bacher
Import upstream version 1.15.6 |
18705 |
LIBS="-lX11 $LIBS" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18706 |
cat >conftest.$ac_ext <<_ACEOF |
18707 |
/* confdefs.h. */ |
|
18708 |
_ACEOF |
|
18709 |
cat confdefs.h >>conftest.$ac_ext |
|
18710 |
cat >>conftest.$ac_ext <<_ACEOF |
|
18711 |
/* end confdefs.h. */ |
|
18712 |
#include <X11/Xlib.h> |
|
18713 |
int |
|
18714 |
main () |
|
18715 |
{ |
|
18716 |
XrmInitialize () |
|
18717 |
; |
|
18718 |
return 0; |
|
18719 |
} |
|
18720 |
_ACEOF |
|
18721 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18722 |
if { (ac_try="$ac_link" |
18723 |
case "(($ac_try" in |
|
18724 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
18725 |
*) ac_try_echo=$ac_try;; |
|
18726 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18727 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18728 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18729 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18730 |
ac_status=$? |
18731 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
18732 |
rm -f conftest.er1 |
|
18733 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18734 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18735 |
(exit $ac_status); } && { |
18736 |
test -z "$ac_c_werror_flag" || |
|
18737 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18738 |
} && test -s conftest$ac_exeext && { |
18739 |
test "$cross_compiling" = yes || |
|
18740 |
$as_test_x conftest$ac_exeext |
|
18741 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18742 |
LIBS=$ac_save_LIBS |
18743 |
# We can link X programs with no special library path. |
|
18744 |
ac_x_libraries= |
|
18745 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18746 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18747 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18748 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18749 |
LIBS=$ac_save_LIBS |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18750 |
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18751 |
do |
18752 |
# Don't even attempt the hair of trying to link an X program! |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18753 |
for ac_extension in a so sl dylib la dll; do |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18754 |
if test -r "$ac_dir/libX11.$ac_extension"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18755 |
ac_x_libraries=$ac_dir |
18756 |
break 2 |
|
18757 |
fi |
|
18758 |
done |
|
18759 |
done |
|
18760 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18761 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18762 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18763 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18764 |
conftest$ac_exeext conftest.$ac_ext |
18765 |
fi # $ac_x_libraries = no |
|
18766 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18767 |
case $ac_x_includes,$ac_x_libraries in #( |
18768 |
no,* | *,no | *\'*) |
|
18769 |
# Didn't find X, or a directory has "'" in its name. |
|
18770 |
ac_cv_have_x="have_x=no";; #( |
|
18771 |
*) |
|
18772 |
# Record where we found X for the cache. |
|
18773 |
ac_cv_have_x="have_x=yes\ |
|
18774 |
ac_x_includes='$ac_x_includes'\ |
|
18775 |
ac_x_libraries='$ac_x_libraries'" |
|
18776 |
esac |
|
18777 |
fi |
|
18778 |
;; #( |
|
18779 |
*) have_x=yes;; |
|
18780 |
esac |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18781 |
eval "$ac_cv_have_x" |
18782 |
fi # $with_x != no |
|
18783 |
||
18784 |
if test "$have_x" != yes; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18785 |
{ $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
18786 |
$as_echo "$have_x" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18787 |
no_x=yes |
18788 |
else |
|
18789 |
# If each of the values was on the command line, it overrides each guess. |
|
18790 |
test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
|
18791 |
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
|
18792 |
# Update the cache value to reflect the command line values. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18793 |
ac_cv_have_x="have_x=yes\ |
18794 |
ac_x_includes='$x_includes'\ |
|
18795 |
ac_x_libraries='$x_libraries'" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18796 |
{ $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
18797 |
$as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18798 |
fi |
18799 |
||
18800 |
if test "$no_x" = yes; then |
|
18801 |
# Not all programs may use this symbol, but it does not hurt to define it. |
|
18802 |
||
18803 |
cat >>confdefs.h <<\_ACEOF |
|
18804 |
#define X_DISPLAY_MISSING 1 |
|
18805 |
_ACEOF |
|
18806 |
||
18807 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
|
18808 |
else |
|
18809 |
if test -n "$x_includes"; then |
|
18810 |
X_CFLAGS="$X_CFLAGS -I$x_includes" |
|
18811 |
fi |
|
18812 |
||
18813 |
# It would also be nice to do this for all -L options, not just this one. |
|
18814 |
if test -n "$x_libraries"; then |
|
18815 |
X_LIBS="$X_LIBS -L$x_libraries" |
|
18816 |
# For Solaris; some versions of Sun CC require a space after -R and |
|
18817 |
# others require no space. Words are not sufficient . . . . |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18818 |
{ $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
18819 |
$as_echo_n "checking whether -R must be followed by a space... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18820 |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
18821 |
ac_xsave_c_werror_flag=$ac_c_werror_flag |
|
18822 |
ac_c_werror_flag=yes |
|
18823 |
cat >conftest.$ac_ext <<_ACEOF |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18824 |
/* confdefs.h. */ |
18825 |
_ACEOF |
|
18826 |
cat confdefs.h >>conftest.$ac_ext |
|
18827 |
cat >>conftest.$ac_ext <<_ACEOF |
|
18828 |
/* end confdefs.h. */ |
|
18829 |
||
18830 |
int |
|
18831 |
main () |
|
18832 |
{ |
|
18833 |
||
18834 |
; |
|
18835 |
return 0; |
|
18836 |
} |
|
18837 |
_ACEOF |
|
18838 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18839 |
if { (ac_try="$ac_link" |
18840 |
case "(($ac_try" in |
|
18841 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
18842 |
*) ac_try_echo=$ac_try;; |
|
18843 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18844 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18845 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18846 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18847 |
ac_status=$? |
18848 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
18849 |
rm -f conftest.er1 |
|
18850 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18851 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18852 |
(exit $ac_status); } && { |
18853 |
test -z "$ac_c_werror_flag" || |
|
18854 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18855 |
} && test -s conftest$ac_exeext && { |
18856 |
test "$cross_compiling" = yes || |
|
18857 |
$as_test_x conftest$ac_exeext |
|
18858 |
}; then |
|
18859 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
18860 |
$as_echo "no" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18861 |
X_LIBS="$X_LIBS -R$x_libraries" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18862 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18863 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18864 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18865 |
||
18866 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18867 |
cat >conftest.$ac_ext <<_ACEOF |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18868 |
/* confdefs.h. */ |
18869 |
_ACEOF |
|
18870 |
cat confdefs.h >>conftest.$ac_ext |
|
18871 |
cat >>conftest.$ac_ext <<_ACEOF |
|
18872 |
/* end confdefs.h. */ |
|
18873 |
||
18874 |
int |
|
18875 |
main () |
|
18876 |
{ |
|
18877 |
||
18878 |
; |
|
18879 |
return 0; |
|
18880 |
} |
|
18881 |
_ACEOF |
|
18882 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18883 |
if { (ac_try="$ac_link" |
18884 |
case "(($ac_try" in |
|
18885 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
18886 |
*) ac_try_echo=$ac_try;; |
|
18887 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18888 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18889 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18890 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18891 |
ac_status=$? |
18892 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
18893 |
rm -f conftest.er1 |
|
18894 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18895 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18896 |
(exit $ac_status); } && { |
18897 |
test -z "$ac_c_werror_flag" || |
|
18898 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18899 |
} && test -s conftest$ac_exeext && { |
18900 |
test "$cross_compiling" = yes || |
|
18901 |
$as_test_x conftest$ac_exeext |
|
18902 |
}; then |
|
18903 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
18904 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18905 |
X_LIBS="$X_LIBS -R $x_libraries" |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18906 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18907 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18908 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18909 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18910 |
{ $as_echo "$as_me:$LINENO: result: neither works" >&5 |
18911 |
$as_echo "neither works" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18912 |
fi |
18913 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18914 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18915 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
18916 |
conftest$ac_exeext conftest.$ac_ext |
|
18917 |
fi |
|
18918 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18919 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18920 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
18921 |
conftest$ac_exeext conftest.$ac_ext |
|
18922 |
ac_c_werror_flag=$ac_xsave_c_werror_flag |
|
18923 |
LIBS=$ac_xsave_LIBS |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18924 |
fi |
18925 |
||
18926 |
# Check for system-dependent libraries X programs must link with. |
|
18927 |
# Do this before checking for the system-independent R6 libraries |
|
18928 |
# (-lICE), since we may need -lsocket or whatever for X linking. |
|
18929 |
||
18930 |
if test "$ISC" = yes; then |
|
18931 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
|
18932 |
else |
|
18933 |
# Martyn Johnson says this is needed for Ultrix, if the X |
|
18934 |
# libraries were built with DECnet support. And Karl Berry says |
|
18935 |
# the Alpha needs dnet_stub (dnet does not exist). |
|
18936 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
|
18937 |
cat >conftest.$ac_ext <<_ACEOF |
|
18938 |
/* confdefs.h. */ |
|
18939 |
_ACEOF |
|
18940 |
cat confdefs.h >>conftest.$ac_ext |
|
18941 |
cat >>conftest.$ac_ext <<_ACEOF |
|
18942 |
/* end confdefs.h. */ |
|
18943 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18944 |
/* Override any GCC internal prototype to avoid an error. |
18945 |
Use char because int might match the return type of a GCC |
|
18946 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18947 |
#ifdef __cplusplus |
18948 |
extern "C" |
|
18949 |
#endif |
|
18950 |
char XOpenDisplay (); |
|
18951 |
int |
|
18952 |
main () |
|
18953 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18954 |
return XOpenDisplay (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18955 |
; |
18956 |
return 0; |
|
18957 |
} |
|
18958 |
_ACEOF |
|
18959 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18960 |
if { (ac_try="$ac_link" |
18961 |
case "(($ac_try" in |
|
18962 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
18963 |
*) ac_try_echo=$ac_try;; |
|
18964 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18965 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18966 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18967 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18968 |
ac_status=$? |
18969 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
18970 |
rm -f conftest.er1 |
|
18971 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18972 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18973 |
(exit $ac_status); } && { |
18974 |
test -z "$ac_c_werror_flag" || |
|
18975 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18976 |
} && test -s conftest$ac_exeext && { |
18977 |
test "$cross_compiling" = yes || |
|
18978 |
$as_test_x conftest$ac_exeext |
|
18979 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18980 |
: |
18981 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18982 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18983 |
sed 's/^/| /' conftest.$ac_ext >&5 |
18984 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18985 |
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
18986 |
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18987 |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
18988 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
18989 |
else |
18990 |
ac_check_lib_save_LIBS=$LIBS |
|
18991 |
LIBS="-ldnet $LIBS" |
|
18992 |
cat >conftest.$ac_ext <<_ACEOF |
|
18993 |
/* confdefs.h. */ |
|
18994 |
_ACEOF |
|
18995 |
cat confdefs.h >>conftest.$ac_ext |
|
18996 |
cat >>conftest.$ac_ext <<_ACEOF |
|
18997 |
/* end confdefs.h. */ |
|
18998 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
18999 |
/* Override any GCC internal prototype to avoid an error. |
19000 |
Use char because int might match the return type of a GCC |
|
19001 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19002 |
#ifdef __cplusplus |
19003 |
extern "C" |
|
19004 |
#endif |
|
19005 |
char dnet_ntoa (); |
|
19006 |
int |
|
19007 |
main () |
|
19008 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19009 |
return dnet_ntoa (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19010 |
; |
19011 |
return 0; |
|
19012 |
} |
|
19013 |
_ACEOF |
|
19014 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19015 |
if { (ac_try="$ac_link" |
19016 |
case "(($ac_try" in |
|
19017 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19018 |
*) ac_try_echo=$ac_try;; |
|
19019 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19020 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19021 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19022 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19023 |
ac_status=$? |
19024 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19025 |
rm -f conftest.er1 |
|
19026 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19027 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19028 |
(exit $ac_status); } && { |
19029 |
test -z "$ac_c_werror_flag" || |
|
19030 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19031 |
} && test -s conftest$ac_exeext && { |
19032 |
test "$cross_compiling" = yes || |
|
19033 |
$as_test_x conftest$ac_exeext |
|
19034 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19035 |
ac_cv_lib_dnet_dnet_ntoa=yes |
19036 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19037 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19038 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19039 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19040 |
ac_cv_lib_dnet_dnet_ntoa=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19041 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19042 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19043 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19044 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19045 |
conftest$ac_exeext conftest.$ac_ext |
19046 |
LIBS=$ac_check_lib_save_LIBS |
|
19047 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19048 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
19049 |
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19050 |
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19051 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
19052 |
fi |
|
19053 |
||
19054 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19055 |
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
19056 |
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19057 |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19058 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19059 |
else |
19060 |
ac_check_lib_save_LIBS=$LIBS |
|
19061 |
LIBS="-ldnet_stub $LIBS" |
|
19062 |
cat >conftest.$ac_ext <<_ACEOF |
|
19063 |
/* confdefs.h. */ |
|
19064 |
_ACEOF |
|
19065 |
cat confdefs.h >>conftest.$ac_ext |
|
19066 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19067 |
/* end confdefs.h. */ |
|
19068 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19069 |
/* Override any GCC internal prototype to avoid an error. |
19070 |
Use char because int might match the return type of a GCC |
|
19071 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19072 |
#ifdef __cplusplus |
19073 |
extern "C" |
|
19074 |
#endif |
|
19075 |
char dnet_ntoa (); |
|
19076 |
int |
|
19077 |
main () |
|
19078 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19079 |
return dnet_ntoa (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19080 |
; |
19081 |
return 0; |
|
19082 |
} |
|
19083 |
_ACEOF |
|
19084 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19085 |
if { (ac_try="$ac_link" |
19086 |
case "(($ac_try" in |
|
19087 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19088 |
*) ac_try_echo=$ac_try;; |
|
19089 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19090 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19091 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19092 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19093 |
ac_status=$? |
19094 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19095 |
rm -f conftest.er1 |
|
19096 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19097 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19098 |
(exit $ac_status); } && { |
19099 |
test -z "$ac_c_werror_flag" || |
|
19100 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19101 |
} && test -s conftest$ac_exeext && { |
19102 |
test "$cross_compiling" = yes || |
|
19103 |
$as_test_x conftest$ac_exeext |
|
19104 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19105 |
ac_cv_lib_dnet_stub_dnet_ntoa=yes |
19106 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19107 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19108 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19109 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19110 |
ac_cv_lib_dnet_stub_dnet_ntoa=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19111 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19112 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19113 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19114 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19115 |
conftest$ac_exeext conftest.$ac_ext |
19116 |
LIBS=$ac_check_lib_save_LIBS |
|
19117 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19118 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
19119 |
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19120 |
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19121 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
19122 |
fi |
|
19123 |
||
19124 |
fi |
|
19125 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19126 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19127 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19128 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19129 |
conftest$ac_exeext conftest.$ac_ext |
19130 |
LIBS="$ac_xsave_LIBS" |
|
19131 |
||
19132 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
|
19133 |
# to get the SysV transport functions. |
|
19134 |
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
|
19135 |
# needs -lnsl. |
|
19136 |
# The nsl library prevents programs from opening the X display |
|
19137 |
# on Irix 5.2, according to T.E. Dickey. |
|
19138 |
# The functions gethostbyname, getservbyname, and inet_addr are |
|
19139 |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19140 |
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
19141 |
$as_echo_n "checking for gethostbyname... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19142 |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19143 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19144 |
else |
19145 |
cat >conftest.$ac_ext <<_ACEOF |
|
19146 |
/* confdefs.h. */ |
|
19147 |
_ACEOF |
|
19148 |
cat confdefs.h >>conftest.$ac_ext |
|
19149 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19150 |
/* end confdefs.h. */ |
|
19151 |
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
19152 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
19153 |
#define gethostbyname innocuous_gethostbyname |
|
19154 |
||
19155 |
/* System header to define __stub macros and hopefully few prototypes, |
|
19156 |
which can conflict with char gethostbyname (); below. |
|
19157 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
19158 |
<limits.h> exists even on freestanding compilers. */ |
|
19159 |
||
19160 |
#ifdef __STDC__ |
|
19161 |
# include <limits.h> |
|
19162 |
#else |
|
19163 |
# include <assert.h> |
|
19164 |
#endif |
|
19165 |
||
19166 |
#undef gethostbyname |
|
19167 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19168 |
/* Override any GCC internal prototype to avoid an error. |
19169 |
Use char because int might match the return type of a GCC |
|
19170 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19171 |
#ifdef __cplusplus |
19172 |
extern "C" |
|
19173 |
#endif |
|
19174 |
char gethostbyname (); |
|
19175 |
/* The GNU C library defines this for functions which it implements |
|
19176 |
to always fail with ENOSYS. Some functions are actually named |
|
19177 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19178 |
#if defined __stub_gethostbyname || defined __stub___gethostbyname |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19179 |
choke me |
19180 |
#endif |
|
19181 |
||
19182 |
int |
|
19183 |
main () |
|
19184 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19185 |
return gethostbyname (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19186 |
; |
19187 |
return 0; |
|
19188 |
} |
|
19189 |
_ACEOF |
|
19190 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19191 |
if { (ac_try="$ac_link" |
19192 |
case "(($ac_try" in |
|
19193 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19194 |
*) ac_try_echo=$ac_try;; |
|
19195 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19196 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19197 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19198 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19199 |
ac_status=$? |
19200 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19201 |
rm -f conftest.er1 |
|
19202 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19203 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19204 |
(exit $ac_status); } && { |
19205 |
test -z "$ac_c_werror_flag" || |
|
19206 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19207 |
} && test -s conftest$ac_exeext && { |
19208 |
test "$cross_compiling" = yes || |
|
19209 |
$as_test_x conftest$ac_exeext |
|
19210 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19211 |
ac_cv_func_gethostbyname=yes |
19212 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19213 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19214 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19215 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19216 |
ac_cv_func_gethostbyname=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19217 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19218 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19219 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19220 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19221 |
conftest$ac_exeext conftest.$ac_ext |
19222 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19223 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
19224 |
$as_echo "$ac_cv_func_gethostbyname" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19225 |
|
19226 |
if test $ac_cv_func_gethostbyname = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19227 |
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
19228 |
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19229 |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19230 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19231 |
else |
19232 |
ac_check_lib_save_LIBS=$LIBS |
|
19233 |
LIBS="-lnsl $LIBS" |
|
19234 |
cat >conftest.$ac_ext <<_ACEOF |
|
19235 |
/* confdefs.h. */ |
|
19236 |
_ACEOF |
|
19237 |
cat confdefs.h >>conftest.$ac_ext |
|
19238 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19239 |
/* end confdefs.h. */ |
|
19240 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19241 |
/* Override any GCC internal prototype to avoid an error. |
19242 |
Use char because int might match the return type of a GCC |
|
19243 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19244 |
#ifdef __cplusplus |
19245 |
extern "C" |
|
19246 |
#endif |
|
19247 |
char gethostbyname (); |
|
19248 |
int |
|
19249 |
main () |
|
19250 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19251 |
return gethostbyname (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19252 |
; |
19253 |
return 0; |
|
19254 |
} |
|
19255 |
_ACEOF |
|
19256 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19257 |
if { (ac_try="$ac_link" |
19258 |
case "(($ac_try" in |
|
19259 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19260 |
*) ac_try_echo=$ac_try;; |
|
19261 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19262 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19263 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19264 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19265 |
ac_status=$? |
19266 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19267 |
rm -f conftest.er1 |
|
19268 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19269 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19270 |
(exit $ac_status); } && { |
19271 |
test -z "$ac_c_werror_flag" || |
|
19272 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19273 |
} && test -s conftest$ac_exeext && { |
19274 |
test "$cross_compiling" = yes || |
|
19275 |
$as_test_x conftest$ac_exeext |
|
19276 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19277 |
ac_cv_lib_nsl_gethostbyname=yes |
19278 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19279 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19280 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19281 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19282 |
ac_cv_lib_nsl_gethostbyname=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19283 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19284 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19285 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19286 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19287 |
conftest$ac_exeext conftest.$ac_ext |
19288 |
LIBS=$ac_check_lib_save_LIBS |
|
19289 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19290 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
19291 |
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19292 |
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19293 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
19294 |
fi |
|
19295 |
||
19296 |
if test $ac_cv_lib_nsl_gethostbyname = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19297 |
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
19298 |
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19299 |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19300 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19301 |
else |
19302 |
ac_check_lib_save_LIBS=$LIBS |
|
19303 |
LIBS="-lbsd $LIBS" |
|
19304 |
cat >conftest.$ac_ext <<_ACEOF |
|
19305 |
/* confdefs.h. */ |
|
19306 |
_ACEOF |
|
19307 |
cat confdefs.h >>conftest.$ac_ext |
|
19308 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19309 |
/* end confdefs.h. */ |
|
19310 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19311 |
/* Override any GCC internal prototype to avoid an error. |
19312 |
Use char because int might match the return type of a GCC |
|
19313 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19314 |
#ifdef __cplusplus |
19315 |
extern "C" |
|
19316 |
#endif |
|
19317 |
char gethostbyname (); |
|
19318 |
int |
|
19319 |
main () |
|
19320 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19321 |
return gethostbyname (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19322 |
; |
19323 |
return 0; |
|
19324 |
} |
|
19325 |
_ACEOF |
|
19326 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19327 |
if { (ac_try="$ac_link" |
19328 |
case "(($ac_try" in |
|
19329 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19330 |
*) ac_try_echo=$ac_try;; |
|
19331 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19332 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19333 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19334 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19335 |
ac_status=$? |
19336 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19337 |
rm -f conftest.er1 |
|
19338 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19339 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19340 |
(exit $ac_status); } && { |
19341 |
test -z "$ac_c_werror_flag" || |
|
19342 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19343 |
} && test -s conftest$ac_exeext && { |
19344 |
test "$cross_compiling" = yes || |
|
19345 |
$as_test_x conftest$ac_exeext |
|
19346 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19347 |
ac_cv_lib_bsd_gethostbyname=yes |
19348 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19349 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19350 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19351 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19352 |
ac_cv_lib_bsd_gethostbyname=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19353 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19354 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19355 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19356 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19357 |
conftest$ac_exeext conftest.$ac_ext |
19358 |
LIBS=$ac_check_lib_save_LIBS |
|
19359 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19360 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
19361 |
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19362 |
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19363 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
19364 |
fi |
|
19365 |
||
19366 |
fi |
|
19367 |
fi |
|
19368 |
||
19369 |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
|
19370 |
# socket/setsockopt and other routines are undefined under SCO ODT |
|
19371 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
|
19372 |
# on later versions), says Simon Leinen: it contains gethostby* |
|
19373 |
# variants that don't use the name server (or something). -lsocket |
|
19374 |
# must be given before -lnsl if both are needed. We assume that |
|
19375 |
# if connect needs -lnsl, so does gethostbyname. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19376 |
{ $as_echo "$as_me:$LINENO: checking for connect" >&5 |
19377 |
$as_echo_n "checking for connect... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19378 |
if test "${ac_cv_func_connect+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19379 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19380 |
else |
19381 |
cat >conftest.$ac_ext <<_ACEOF |
|
19382 |
/* confdefs.h. */ |
|
19383 |
_ACEOF |
|
19384 |
cat confdefs.h >>conftest.$ac_ext |
|
19385 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19386 |
/* end confdefs.h. */ |
|
19387 |
/* Define connect to an innocuous variant, in case <limits.h> declares connect. |
|
19388 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
19389 |
#define connect innocuous_connect |
|
19390 |
||
19391 |
/* System header to define __stub macros and hopefully few prototypes, |
|
19392 |
which can conflict with char connect (); below. |
|
19393 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
19394 |
<limits.h> exists even on freestanding compilers. */ |
|
19395 |
||
19396 |
#ifdef __STDC__ |
|
19397 |
# include <limits.h> |
|
19398 |
#else |
|
19399 |
# include <assert.h> |
|
19400 |
#endif |
|
19401 |
||
19402 |
#undef connect |
|
19403 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19404 |
/* Override any GCC internal prototype to avoid an error. |
19405 |
Use char because int might match the return type of a GCC |
|
19406 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19407 |
#ifdef __cplusplus |
19408 |
extern "C" |
|
19409 |
#endif |
|
19410 |
char connect (); |
|
19411 |
/* The GNU C library defines this for functions which it implements |
|
19412 |
to always fail with ENOSYS. Some functions are actually named |
|
19413 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19414 |
#if defined __stub_connect || defined __stub___connect |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19415 |
choke me |
19416 |
#endif |
|
19417 |
||
19418 |
int |
|
19419 |
main () |
|
19420 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19421 |
return connect (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19422 |
; |
19423 |
return 0; |
|
19424 |
} |
|
19425 |
_ACEOF |
|
19426 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19427 |
if { (ac_try="$ac_link" |
19428 |
case "(($ac_try" in |
|
19429 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19430 |
*) ac_try_echo=$ac_try;; |
|
19431 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19432 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19433 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19434 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19435 |
ac_status=$? |
19436 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19437 |
rm -f conftest.er1 |
|
19438 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19439 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19440 |
(exit $ac_status); } && { |
19441 |
test -z "$ac_c_werror_flag" || |
|
19442 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19443 |
} && test -s conftest$ac_exeext && { |
19444 |
test "$cross_compiling" = yes || |
|
19445 |
$as_test_x conftest$ac_exeext |
|
19446 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19447 |
ac_cv_func_connect=yes |
19448 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19449 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19450 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19451 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19452 |
ac_cv_func_connect=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19453 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19454 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19455 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19456 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19457 |
conftest$ac_exeext conftest.$ac_ext |
19458 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19459 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
19460 |
$as_echo "$ac_cv_func_connect" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19461 |
|
19462 |
if test $ac_cv_func_connect = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19463 |
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
19464 |
$as_echo_n "checking for connect in -lsocket... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19465 |
if test "${ac_cv_lib_socket_connect+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19466 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19467 |
else |
19468 |
ac_check_lib_save_LIBS=$LIBS |
|
19469 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
|
19470 |
cat >conftest.$ac_ext <<_ACEOF |
|
19471 |
/* confdefs.h. */ |
|
19472 |
_ACEOF |
|
19473 |
cat confdefs.h >>conftest.$ac_ext |
|
19474 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19475 |
/* end confdefs.h. */ |
|
19476 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19477 |
/* Override any GCC internal prototype to avoid an error. |
19478 |
Use char because int might match the return type of a GCC |
|
19479 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19480 |
#ifdef __cplusplus |
19481 |
extern "C" |
|
19482 |
#endif |
|
19483 |
char connect (); |
|
19484 |
int |
|
19485 |
main () |
|
19486 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19487 |
return connect (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19488 |
; |
19489 |
return 0; |
|
19490 |
} |
|
19491 |
_ACEOF |
|
19492 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19493 |
if { (ac_try="$ac_link" |
19494 |
case "(($ac_try" in |
|
19495 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19496 |
*) ac_try_echo=$ac_try;; |
|
19497 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19498 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19499 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19500 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19501 |
ac_status=$? |
19502 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19503 |
rm -f conftest.er1 |
|
19504 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19505 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19506 |
(exit $ac_status); } && { |
19507 |
test -z "$ac_c_werror_flag" || |
|
19508 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19509 |
} && test -s conftest$ac_exeext && { |
19510 |
test "$cross_compiling" = yes || |
|
19511 |
$as_test_x conftest$ac_exeext |
|
19512 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19513 |
ac_cv_lib_socket_connect=yes |
19514 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19515 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19516 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19517 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19518 |
ac_cv_lib_socket_connect=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19519 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19520 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19521 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19522 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19523 |
conftest$ac_exeext conftest.$ac_ext |
19524 |
LIBS=$ac_check_lib_save_LIBS |
|
19525 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19526 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
19527 |
$as_echo "$ac_cv_lib_socket_connect" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19528 |
if test "x$ac_cv_lib_socket_connect" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19529 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
19530 |
fi |
|
19531 |
||
19532 |
fi |
|
19533 |
||
19534 |
# Guillermo Gomez says -lposix is necessary on A/UX. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19535 |
{ $as_echo "$as_me:$LINENO: checking for remove" >&5 |
19536 |
$as_echo_n "checking for remove... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19537 |
if test "${ac_cv_func_remove+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19538 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19539 |
else |
19540 |
cat >conftest.$ac_ext <<_ACEOF |
|
19541 |
/* confdefs.h. */ |
|
19542 |
_ACEOF |
|
19543 |
cat confdefs.h >>conftest.$ac_ext |
|
19544 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19545 |
/* end confdefs.h. */ |
|
19546 |
/* Define remove to an innocuous variant, in case <limits.h> declares remove. |
|
19547 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
19548 |
#define remove innocuous_remove |
|
19549 |
||
19550 |
/* System header to define __stub macros and hopefully few prototypes, |
|
19551 |
which can conflict with char remove (); below. |
|
19552 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
19553 |
<limits.h> exists even on freestanding compilers. */ |
|
19554 |
||
19555 |
#ifdef __STDC__ |
|
19556 |
# include <limits.h> |
|
19557 |
#else |
|
19558 |
# include <assert.h> |
|
19559 |
#endif |
|
19560 |
||
19561 |
#undef remove |
|
19562 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19563 |
/* Override any GCC internal prototype to avoid an error. |
19564 |
Use char because int might match the return type of a GCC |
|
19565 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19566 |
#ifdef __cplusplus |
19567 |
extern "C" |
|
19568 |
#endif |
|
19569 |
char remove (); |
|
19570 |
/* The GNU C library defines this for functions which it implements |
|
19571 |
to always fail with ENOSYS. Some functions are actually named |
|
19572 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19573 |
#if defined __stub_remove || defined __stub___remove |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19574 |
choke me |
19575 |
#endif |
|
19576 |
||
19577 |
int |
|
19578 |
main () |
|
19579 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19580 |
return remove (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19581 |
; |
19582 |
return 0; |
|
19583 |
} |
|
19584 |
_ACEOF |
|
19585 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19586 |
if { (ac_try="$ac_link" |
19587 |
case "(($ac_try" in |
|
19588 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19589 |
*) ac_try_echo=$ac_try;; |
|
19590 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19591 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19592 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19593 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19594 |
ac_status=$? |
19595 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19596 |
rm -f conftest.er1 |
|
19597 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19598 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19599 |
(exit $ac_status); } && { |
19600 |
test -z "$ac_c_werror_flag" || |
|
19601 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19602 |
} && test -s conftest$ac_exeext && { |
19603 |
test "$cross_compiling" = yes || |
|
19604 |
$as_test_x conftest$ac_exeext |
|
19605 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19606 |
ac_cv_func_remove=yes |
19607 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19608 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19609 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19610 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19611 |
ac_cv_func_remove=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19612 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19613 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19614 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19615 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19616 |
conftest$ac_exeext conftest.$ac_ext |
19617 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19618 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
19619 |
$as_echo "$ac_cv_func_remove" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19620 |
|
19621 |
if test $ac_cv_func_remove = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19622 |
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
19623 |
$as_echo_n "checking for remove in -lposix... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19624 |
if test "${ac_cv_lib_posix_remove+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19625 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19626 |
else |
19627 |
ac_check_lib_save_LIBS=$LIBS |
|
19628 |
LIBS="-lposix $LIBS" |
|
19629 |
cat >conftest.$ac_ext <<_ACEOF |
|
19630 |
/* confdefs.h. */ |
|
19631 |
_ACEOF |
|
19632 |
cat confdefs.h >>conftest.$ac_ext |
|
19633 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19634 |
/* end confdefs.h. */ |
|
19635 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19636 |
/* Override any GCC internal prototype to avoid an error. |
19637 |
Use char because int might match the return type of a GCC |
|
19638 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19639 |
#ifdef __cplusplus |
19640 |
extern "C" |
|
19641 |
#endif |
|
19642 |
char remove (); |
|
19643 |
int |
|
19644 |
main () |
|
19645 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19646 |
return remove (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19647 |
; |
19648 |
return 0; |
|
19649 |
} |
|
19650 |
_ACEOF |
|
19651 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19652 |
if { (ac_try="$ac_link" |
19653 |
case "(($ac_try" in |
|
19654 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19655 |
*) ac_try_echo=$ac_try;; |
|
19656 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19657 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19658 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19659 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19660 |
ac_status=$? |
19661 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19662 |
rm -f conftest.er1 |
|
19663 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19664 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19665 |
(exit $ac_status); } && { |
19666 |
test -z "$ac_c_werror_flag" || |
|
19667 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19668 |
} && test -s conftest$ac_exeext && { |
19669 |
test "$cross_compiling" = yes || |
|
19670 |
$as_test_x conftest$ac_exeext |
|
19671 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19672 |
ac_cv_lib_posix_remove=yes |
19673 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19674 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19675 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19676 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19677 |
ac_cv_lib_posix_remove=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19678 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19679 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19680 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19681 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19682 |
conftest$ac_exeext conftest.$ac_ext |
19683 |
LIBS=$ac_check_lib_save_LIBS |
|
19684 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19685 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
19686 |
$as_echo "$ac_cv_lib_posix_remove" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19687 |
if test "x$ac_cv_lib_posix_remove" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19688 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
19689 |
fi |
|
19690 |
||
19691 |
fi |
|
19692 |
||
19693 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19694 |
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5 |
19695 |
$as_echo_n "checking for shmat... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19696 |
if test "${ac_cv_func_shmat+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19697 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19698 |
else |
19699 |
cat >conftest.$ac_ext <<_ACEOF |
|
19700 |
/* confdefs.h. */ |
|
19701 |
_ACEOF |
|
19702 |
cat confdefs.h >>conftest.$ac_ext |
|
19703 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19704 |
/* end confdefs.h. */ |
|
19705 |
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat. |
|
19706 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
19707 |
#define shmat innocuous_shmat |
|
19708 |
||
19709 |
/* System header to define __stub macros and hopefully few prototypes, |
|
19710 |
which can conflict with char shmat (); below. |
|
19711 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
19712 |
<limits.h> exists even on freestanding compilers. */ |
|
19713 |
||
19714 |
#ifdef __STDC__ |
|
19715 |
# include <limits.h> |
|
19716 |
#else |
|
19717 |
# include <assert.h> |
|
19718 |
#endif |
|
19719 |
||
19720 |
#undef shmat |
|
19721 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19722 |
/* Override any GCC internal prototype to avoid an error. |
19723 |
Use char because int might match the return type of a GCC |
|
19724 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19725 |
#ifdef __cplusplus |
19726 |
extern "C" |
|
19727 |
#endif |
|
19728 |
char shmat (); |
|
19729 |
/* The GNU C library defines this for functions which it implements |
|
19730 |
to always fail with ENOSYS. Some functions are actually named |
|
19731 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19732 |
#if defined __stub_shmat || defined __stub___shmat |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19733 |
choke me |
19734 |
#endif |
|
19735 |
||
19736 |
int |
|
19737 |
main () |
|
19738 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19739 |
return shmat (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19740 |
; |
19741 |
return 0; |
|
19742 |
} |
|
19743 |
_ACEOF |
|
19744 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19745 |
if { (ac_try="$ac_link" |
19746 |
case "(($ac_try" in |
|
19747 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19748 |
*) ac_try_echo=$ac_try;; |
|
19749 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19750 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19751 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19752 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19753 |
ac_status=$? |
19754 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19755 |
rm -f conftest.er1 |
|
19756 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19757 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19758 |
(exit $ac_status); } && { |
19759 |
test -z "$ac_c_werror_flag" || |
|
19760 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19761 |
} && test -s conftest$ac_exeext && { |
19762 |
test "$cross_compiling" = yes || |
|
19763 |
$as_test_x conftest$ac_exeext |
|
19764 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19765 |
ac_cv_func_shmat=yes |
19766 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19767 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19768 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19769 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19770 |
ac_cv_func_shmat=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19771 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19772 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19773 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19774 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19775 |
conftest$ac_exeext conftest.$ac_ext |
19776 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19777 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
19778 |
$as_echo "$ac_cv_func_shmat" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19779 |
|
19780 |
if test $ac_cv_func_shmat = no; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19781 |
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
19782 |
$as_echo_n "checking for shmat in -lipc... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19783 |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19784 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19785 |
else |
19786 |
ac_check_lib_save_LIBS=$LIBS |
|
19787 |
LIBS="-lipc $LIBS" |
|
19788 |
cat >conftest.$ac_ext <<_ACEOF |
|
19789 |
/* confdefs.h. */ |
|
19790 |
_ACEOF |
|
19791 |
cat confdefs.h >>conftest.$ac_ext |
|
19792 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19793 |
/* end confdefs.h. */ |
|
19794 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19795 |
/* Override any GCC internal prototype to avoid an error. |
19796 |
Use char because int might match the return type of a GCC |
|
19797 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19798 |
#ifdef __cplusplus |
19799 |
extern "C" |
|
19800 |
#endif |
|
19801 |
char shmat (); |
|
19802 |
int |
|
19803 |
main () |
|
19804 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19805 |
return shmat (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19806 |
; |
19807 |
return 0; |
|
19808 |
} |
|
19809 |
_ACEOF |
|
19810 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19811 |
if { (ac_try="$ac_link" |
19812 |
case "(($ac_try" in |
|
19813 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19814 |
*) ac_try_echo=$ac_try;; |
|
19815 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19816 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19817 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19818 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19819 |
ac_status=$? |
19820 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19821 |
rm -f conftest.er1 |
|
19822 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19823 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19824 |
(exit $ac_status); } && { |
19825 |
test -z "$ac_c_werror_flag" || |
|
19826 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19827 |
} && test -s conftest$ac_exeext && { |
19828 |
test "$cross_compiling" = yes || |
|
19829 |
$as_test_x conftest$ac_exeext |
|
19830 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19831 |
ac_cv_lib_ipc_shmat=yes |
19832 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19833 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19834 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19835 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19836 |
ac_cv_lib_ipc_shmat=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19837 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19838 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19839 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19840 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19841 |
conftest$ac_exeext conftest.$ac_ext |
19842 |
LIBS=$ac_check_lib_save_LIBS |
|
19843 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19844 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
19845 |
$as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19846 |
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19847 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
19848 |
fi |
|
19849 |
||
19850 |
fi |
|
19851 |
fi |
|
19852 |
||
19853 |
# Check for libraries that X11R6 Xt/Xaw programs need. |
|
19854 |
ac_save_LDFLAGS=$LDFLAGS |
|
19855 |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
|
19856 |
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
|
19857 |
# check for ICE first), but we must link in the order -lSM -lICE or |
|
19858 |
# we get undefined symbols. So assume we have SM if we have ICE. |
|
19859 |
# These have to be linked with before -lX11, unlike the other |
|
19860 |
# libraries we check for below, so use a different variable. |
|
19861 |
# John Interrante, Karl Berry |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19862 |
{ $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
19863 |
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19864 |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19865 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19866 |
else |
19867 |
ac_check_lib_save_LIBS=$LIBS |
|
19868 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
|
19869 |
cat >conftest.$ac_ext <<_ACEOF |
|
19870 |
/* confdefs.h. */ |
|
19871 |
_ACEOF |
|
19872 |
cat confdefs.h >>conftest.$ac_ext |
|
19873 |
cat >>conftest.$ac_ext <<_ACEOF |
|
19874 |
/* end confdefs.h. */ |
|
19875 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19876 |
/* Override any GCC internal prototype to avoid an error. |
19877 |
Use char because int might match the return type of a GCC |
|
19878 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19879 |
#ifdef __cplusplus |
19880 |
extern "C" |
|
19881 |
#endif |
|
19882 |
char IceConnectionNumber (); |
|
19883 |
int |
|
19884 |
main () |
|
19885 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19886 |
return IceConnectionNumber (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19887 |
; |
19888 |
return 0; |
|
19889 |
} |
|
19890 |
_ACEOF |
|
19891 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19892 |
if { (ac_try="$ac_link" |
19893 |
case "(($ac_try" in |
|
19894 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
19895 |
*) ac_try_echo=$ac_try;; |
|
19896 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19897 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19898 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19899 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19900 |
ac_status=$? |
19901 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
19902 |
rm -f conftest.er1 |
|
19903 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19904 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19905 |
(exit $ac_status); } && { |
19906 |
test -z "$ac_c_werror_flag" || |
|
19907 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19908 |
} && test -s conftest$ac_exeext && { |
19909 |
test "$cross_compiling" = yes || |
|
19910 |
$as_test_x conftest$ac_exeext |
|
19911 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19912 |
ac_cv_lib_ICE_IceConnectionNumber=yes |
19913 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19914 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19915 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19916 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19917 |
ac_cv_lib_ICE_IceConnectionNumber=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19918 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19919 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19920 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19921 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19922 |
conftest$ac_exeext conftest.$ac_ext |
19923 |
LIBS=$ac_check_lib_save_LIBS |
|
19924 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19925 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
19926 |
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
19927 |
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19928 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
19929 |
fi |
|
19930 |
||
19931 |
LDFLAGS=$ac_save_LDFLAGS |
|
19932 |
||
19933 |
fi |
|
19934 |
||
19935 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
19936 |
if test x$no_x = xyes ; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19937 |
{ $as_echo "$as_me:$LINENO: WARNING: X development libraries not found" >&5 |
19938 |
$as_echo "$as_me: WARNING: X development libraries not found" >&2;} |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
19939 |
have_x=false |
19940 |
else |
|
19941 |
X_LIBS="$X_LIBS -lX11" |
|
19942 |
have_x=true |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19943 |
|
19944 |
cat >>confdefs.h <<\_ACEOF |
|
19945 |
#define HAVE_X 1 |
|
19946 |
_ACEOF |
|
19947 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
19948 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19949 |
fi |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
19950 |
if $have_x; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19951 |
HAVE_X_TRUE= |
19952 |
HAVE_X_FALSE='#' |
|
19953 |
else |
|
19954 |
HAVE_X_TRUE='#' |
|
19955 |
HAVE_X_FALSE= |
|
19956 |
fi |
|
19957 |
||
19958 |
||
19959 |
have_fontconfig=false |
|
19960 |
have_freetype=false |
|
19961 |
have_xft=false |
|
19962 |
||
19963 |
# |
|
19964 |
# Check for fontconfig |
|
19965 |
# |
|
19966 |
||
19967 |
||
19968 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
|
19969 |
if test -n "$ac_tool_prefix"; then |
|
19970 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|
19971 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19972 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
19973 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19974 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19975 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19976 |
else |
19977 |
case $PKG_CONFIG in |
|
19978 |
[\\/]* | ?:[\\/]*) |
|
19979 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
19980 |
;; |
|
19981 |
*) |
|
19982 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
19983 |
for as_dir in $PATH |
|
19984 |
do |
|
19985 |
IFS=$as_save_IFS |
|
19986 |
test -z "$as_dir" && as_dir=. |
|
19987 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19988 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19989 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
19990 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19991 |
break 2 |
19992 |
fi |
|
19993 |
done |
|
19994 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
19995 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
19996 |
|
19997 |
;; |
|
19998 |
esac |
|
19999 |
fi |
|
20000 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
20001 |
if test -n "$PKG_CONFIG"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20002 |
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
20003 |
$as_echo "$PKG_CONFIG" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20004 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20005 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20006 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20007 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20008 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20009 |
|
20010 |
fi |
|
20011 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
20012 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
20013 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
|
20014 |
set dummy pkg-config; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20015 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
20016 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20017 |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20018 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20019 |
else |
20020 |
case $ac_pt_PKG_CONFIG in |
|
20021 |
[\\/]* | ?:[\\/]*) |
|
20022 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
20023 |
;; |
|
20024 |
*) |
|
20025 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
20026 |
for as_dir in $PATH |
|
20027 |
do |
|
20028 |
IFS=$as_save_IFS |
|
20029 |
test -z "$as_dir" && as_dir=. |
|
20030 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20031 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20032 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20033 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20034 |
break 2 |
20035 |
fi |
|
20036 |
done |
|
20037 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20038 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20039 |
|
20040 |
;; |
|
20041 |
esac |
|
20042 |
fi |
|
20043 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
20044 |
if test -n "$ac_pt_PKG_CONFIG"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20045 |
{ $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
20046 |
$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20047 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20048 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20049 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20050 |
fi |
20051 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20052 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
20053 |
PKG_CONFIG="" |
|
20054 |
else |
|
20055 |
case $cross_compiling:$ac_tool_warned in |
|
20056 |
yes:) |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
20057 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
20058 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20059 |
ac_tool_warned=yes ;; |
20060 |
esac |
|
20061 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
20062 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20063 |
else |
20064 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
20065 |
fi |
|
20066 |
||
20067 |
fi |
|
20068 |
if test -n "$PKG_CONFIG"; then |
|
20069 |
_pkg_min_version=0.9.0 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20070 |
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
20071 |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20072 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20073 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
20074 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20075 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20076 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20077 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20078 |
PKG_CONFIG="" |
20079 |
fi |
|
20080 |
||
20081 |
fi |
|
20082 |
||
20083 |
pkg_failed=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20084 |
{ $as_echo "$as_me:$LINENO: checking for FONTCONFIG" >&5 |
20085 |
$as_echo_n "checking for FONTCONFIG... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20086 |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20087 |
if test -n "$FONTCONFIG_CFLAGS"; then |
20088 |
pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS" |
|
20089 |
elif test -n "$PKG_CONFIG"; then |
|
20090 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
20091 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\"") >&5 |
20092 |
($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20093 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20094 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20095 |
(exit $ac_status); }; then |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
20096 |
pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20097 |
else |
20098 |
pkg_failed=yes |
|
20099 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20100 |
else |
20101 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20102 |
fi |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20103 |
if test -n "$FONTCONFIG_LIBS"; then |
20104 |
pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS" |
|
20105 |
elif test -n "$PKG_CONFIG"; then |
|
20106 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
20107 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\"") >&5 |
20108 |
($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20109 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20110 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20111 |
(exit $ac_status); }; then |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
20112 |
pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20113 |
else |
20114 |
pkg_failed=yes |
|
20115 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20116 |
else |
20117 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20118 |
fi |
20119 |
||
20120 |
||
20121 |
||
20122 |
if test $pkg_failed = yes; then |
|
20123 |
||
20124 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
20125 |
_pkg_short_errors_supported=yes |
|
20126 |
else |
|
20127 |
_pkg_short_errors_supported=no |
|
20128 |
fi |
|
20129 |
if test $_pkg_short_errors_supported = yes; then |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
20130 |
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20131 |
else |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
20132 |
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20133 |
fi |
20134 |
# Put the nasty error message in config.log where it belongs |
|
20135 |
echo "$FONTCONFIG_PKG_ERRORS" >&5 |
|
20136 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20137 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20138 |
$as_echo "no" >&6; } |
|
20139 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
20140 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20141 |
elif test $pkg_failed = untried; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20142 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20143 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20144 |
else |
20145 |
FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS |
|
20146 |
FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20147 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
20148 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20149 |
have_fontconfig=true |
20150 |
fi |
|
20151 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20152 |
# |
20153 |
# Checks for FreeType |
|
20154 |
# |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20155 |
if $have_fontconfig ; then |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20156 |
# The first version of freetype with a .pc file is 2.1.5. That's recent |
20157 |
# enough for all the functions we use I guess. No version check needed. |
|
20158 |
||
20159 |
pkg_failed=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20160 |
{ $as_echo "$as_me:$LINENO: checking for FREETYPE" >&5 |
20161 |
$as_echo_n "checking for FREETYPE... " >&6; } |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20162 |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20163 |
if test -n "$FREETYPE_CFLAGS"; then |
20164 |
pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" |
|
20165 |
elif test -n "$PKG_CONFIG"; then |
|
20166 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20167 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20168 |
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 |
20169 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20170 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20171 |
(exit $ac_status); }; then |
20172 |
pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` |
|
20173 |
else |
|
20174 |
pkg_failed=yes |
|
20175 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20176 |
else |
20177 |
pkg_failed=untried |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20178 |
fi |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20179 |
if test -n "$FREETYPE_LIBS"; then |
20180 |
pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" |
|
20181 |
elif test -n "$PKG_CONFIG"; then |
|
20182 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20183 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20184 |
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 |
20185 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20186 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20187 |
(exit $ac_status); }; then |
20188 |
pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` |
|
20189 |
else |
|
20190 |
pkg_failed=yes |
|
20191 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20192 |
else |
20193 |
pkg_failed=untried |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20194 |
fi |
20195 |
||
20196 |
||
20197 |
||
20198 |
if test $pkg_failed = yes; then |
|
20199 |
||
20200 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
20201 |
_pkg_short_errors_supported=yes |
|
20202 |
else |
|
20203 |
_pkg_short_errors_supported=no |
|
20204 |
fi |
|
20205 |
if test $_pkg_short_errors_supported = yes; then |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20206 |
FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1` |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20207 |
else |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20208 |
FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1` |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20209 |
fi |
20210 |
# Put the nasty error message in config.log where it belongs |
|
20211 |
echo "$FREETYPE_PKG_ERRORS" >&5 |
|
20212 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20213 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20214 |
$as_echo "no" >&6; } |
|
20215 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
20216 |
$as_echo "no" >&6; } |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20217 |
elif test $pkg_failed = untried; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20218 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20219 |
$as_echo "no" >&6; } |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20220 |
else |
20221 |
FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS |
|
20222 |
FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20223 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
20224 |
$as_echo "yes" >&6; } |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20225 |
have_freetype=true |
20226 |
fi |
|
20227 |
fi |
|
20228 |
if $have_freetype ; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20229 |
|
20230 |
cat >>confdefs.h <<\_ACEOF |
|
20231 |
#define HAVE_FREETYPE 1 |
|
20232 |
_ACEOF |
|
20233 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20234 |
# By freetype, we really always mean freetype+fontconfig |
20235 |
FREETYPE_CFLAGS="$FREETYPE_CFLAGS $FONTCONFIG_CFLAGS" |
|
20236 |
FREETYPE_LIBS="$FREETYPE_LIBS $FONTCONFIG_LIBS" |
|
20237 |
fi |
|
20238 |
if $have_freetype; then |
|
20239 |
HAVE_FREETYPE_TRUE= |
|
20240 |
HAVE_FREETYPE_FALSE='#' |
|
20241 |
else |
|
20242 |
HAVE_FREETYPE_TRUE='#' |
|
20243 |
HAVE_FREETYPE_FALSE= |
|
20244 |
fi |
|
20245 |
||
20246 |
||
20247 |
# |
|
20248 |
# Checks for Xft/XRender |
|
20249 |
# |
|
20250 |
if $have_x && $have_freetype ; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20251 |
|
20252 |
pkg_failed=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20253 |
{ $as_echo "$as_me:$LINENO: checking for XFT" >&5 |
20254 |
$as_echo_n "checking for XFT... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20255 |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20256 |
if test -n "$XFT_CFLAGS"; then |
20257 |
pkg_cv_XFT_CFLAGS="$XFT_CFLAGS" |
|
20258 |
elif test -n "$PKG_CONFIG"; then |
|
20259 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20260 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\"") >&5 |
1.2.29
by Sebastien Bacher
Import upstream version 1.16.0 |
20261 |
($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20262 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20263 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20264 |
(exit $ac_status); }; then |
1.2.29
by Sebastien Bacher
Import upstream version 1.16.0 |
20265 |
pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 2.0.0 xrender" 2>/dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20266 |
else |
20267 |
pkg_failed=yes |
|
20268 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20269 |
else |
20270 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20271 |
fi |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20272 |
if test -n "$XFT_LIBS"; then |
20273 |
pkg_cv_XFT_LIBS="$XFT_LIBS" |
|
20274 |
elif test -n "$PKG_CONFIG"; then |
|
20275 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20276 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 2.0.0 xrender\"") >&5 |
1.2.29
by Sebastien Bacher
Import upstream version 1.16.0 |
20277 |
($PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20278 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20279 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20280 |
(exit $ac_status); }; then |
1.2.29
by Sebastien Bacher
Import upstream version 1.16.0 |
20281 |
pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft >= 2.0.0 xrender" 2>/dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20282 |
else |
20283 |
pkg_failed=yes |
|
20284 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20285 |
else |
20286 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20287 |
fi |
20288 |
||
20289 |
||
20290 |
||
20291 |
if test $pkg_failed = yes; then |
|
20292 |
||
20293 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
20294 |
_pkg_short_errors_supported=yes |
|
20295 |
else |
|
20296 |
_pkg_short_errors_supported=no |
|
20297 |
fi |
|
20298 |
if test $_pkg_short_errors_supported = yes; then |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20299 |
XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xft >= 2.0.0 xrender" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20300 |
else |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20301 |
XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft >= 2.0.0 xrender" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20302 |
fi |
20303 |
# Put the nasty error message in config.log where it belongs |
|
20304 |
echo "$XFT_PKG_ERRORS" >&5 |
|
20305 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20306 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20307 |
$as_echo "no" >&6; } |
|
20308 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
20309 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20310 |
elif test $pkg_failed = untried; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20311 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20312 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20313 |
else |
20314 |
XFT_CFLAGS=$pkg_cv_XFT_CFLAGS |
|
20315 |
XFT_LIBS=$pkg_cv_XFT_LIBS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20316 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
20317 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20318 |
have_xft=true |
20319 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20320 |
fi |
20321 |
if $have_xft ; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20322 |
|
20323 |
cat >>confdefs.h <<\_ACEOF |
|
20324 |
#define HAVE_XFT 1 |
|
20325 |
_ACEOF |
|
20326 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20327 |
fi |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20328 |
if $have_xft; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20329 |
HAVE_XFT_TRUE= |
20330 |
HAVE_XFT_FALSE='#' |
|
20331 |
else |
|
20332 |
HAVE_XFT_TRUE='#' |
|
20333 |
HAVE_XFT_FALSE= |
|
20334 |
fi |
|
20335 |
||
20336 |
||
20337 |
# |
|
20338 |
# Checks for Win32 GDI |
|
20339 |
# |
|
20340 |
have_win32=false |
|
20341 |
WIN32_LIBS="" |
|
20342 |
WIN32_CFLAGS="" |
|
20343 |
# The following doesn't work with autoconf-2.13, so we check $host instead |
|
20344 |
# AC_CHECK_LIB(gdi32, GetTextMetricsA@8, have_win32=true, : ) |
|
20345 |
case "$host" in |
|
20346 |
*-*-mingw*|*-*-cygwin*) have_win32=true ;; |
|
20347 |
esac |
|
20348 |
||
20349 |
||
20350 |
if test $have_win32 = true; then |
|
20351 |
WIN32_LIBS="-lgdi32" |
|
20352 |
fi |
|
20353 |
||
20354 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20355 |
if $have_win32; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20356 |
HAVE_WIN32_TRUE= |
20357 |
HAVE_WIN32_FALSE='#' |
|
20358 |
else |
|
20359 |
HAVE_WIN32_TRUE='#' |
|
20360 |
HAVE_WIN32_FALSE= |
|
20361 |
fi |
|
20362 |
||
20363 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20364 |
# Ensure MSVC-compatible struct packing convention is used when |
20365 |
# compiling for Win32 with gcc. |
|
20366 |
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while |
|
20367 |
# gcc2 uses "-fnative-struct". |
|
20368 |
if test "$pango_os_win32" = "yes"; then |
|
20369 |
if test x"$GCC" = xyes; then |
|
20370 |
msnative_struct='' |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20371 |
{ $as_echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5 |
20372 |
$as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; } |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20373 |
if test -z "$ac_cv_prog_CC"; then |
20374 |
our_gcc="$CC" |
|
20375 |
else |
|
20376 |
our_gcc="$ac_cv_prog_CC" |
|
20377 |
fi |
|
20378 |
case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in |
|
20379 |
2.) |
|
20380 |
if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then |
|
20381 |
msnative_struct='-fnative-struct' |
|
20382 |
fi |
|
20383 |
;; |
|
20384 |
*) |
|
20385 |
if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then |
|
20386 |
msnative_struct='-mms-bitfields' |
|
20387 |
fi |
|
20388 |
;; |
|
20389 |
esac |
|
20390 |
if test x"$msnative_struct" = x ; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20391 |
{ $as_echo "$as_me:$LINENO: result: no way" >&5 |
20392 |
$as_echo "no way" >&6; } |
|
20393 |
{ $as_echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5 |
|
20394 |
$as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;} |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20395 |
else |
20396 |
CFLAGS="$CFLAGS $msnative_struct" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20397 |
{ $as_echo "$as_me:$LINENO: result: ${msnative_struct}" >&5 |
20398 |
$as_echo "${msnative_struct}" >&6; } |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20399 |
fi |
20400 |
fi |
|
20401 |
fi |
|
20402 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20403 |
# |
20404 |
# Checks for ATSUI |
|
20405 |
# |
|
20406 |
if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20407 |
{ $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
20408 |
$as_echo_n "checking for Carbon/Carbon.h... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20409 |
if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20410 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20411 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20412 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
20413 |
$as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20414 |
else |
20415 |
# Is the header compilable? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20416 |
{ $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 |
20417 |
$as_echo_n "checking Carbon/Carbon.h usability... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20418 |
cat >conftest.$ac_ext <<_ACEOF |
20419 |
/* confdefs.h. */ |
|
20420 |
_ACEOF |
|
20421 |
cat confdefs.h >>conftest.$ac_ext |
|
20422 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20423 |
/* end confdefs.h. */ |
|
20424 |
$ac_includes_default |
|
20425 |
#include <Carbon/Carbon.h> |
|
20426 |
_ACEOF |
|
20427 |
rm -f conftest.$ac_objext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20428 |
if { (ac_try="$ac_compile" |
20429 |
case "(($ac_try" in |
|
20430 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20431 |
*) ac_try_echo=$ac_try;; |
|
20432 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20433 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20434 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20435 |
(eval "$ac_compile") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20436 |
ac_status=$? |
20437 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20438 |
rm -f conftest.er1 |
|
20439 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20440 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20441 |
(exit $ac_status); } && { |
20442 |
test -z "$ac_c_werror_flag" || |
|
20443 |
test ! -s conftest.err |
|
20444 |
} && test -s conftest.$ac_objext; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20445 |
ac_header_compiler=yes |
20446 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20447 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20448 |
sed 's/^/| /' conftest.$ac_ext >&5 |
20449 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20450 |
ac_header_compiler=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20451 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20452 |
|
20453 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20454 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20455 |
$as_echo "$ac_header_compiler" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20456 |
|
20457 |
# Is the header present? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20458 |
{ $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 |
20459 |
$as_echo_n "checking Carbon/Carbon.h presence... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20460 |
cat >conftest.$ac_ext <<_ACEOF |
20461 |
/* confdefs.h. */ |
|
20462 |
_ACEOF |
|
20463 |
cat confdefs.h >>conftest.$ac_ext |
|
20464 |
cat >>conftest.$ac_ext <<_ACEOF |
|
20465 |
/* end confdefs.h. */ |
|
20466 |
#include <Carbon/Carbon.h> |
|
20467 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20468 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
20469 |
case "(($ac_try" in |
|
20470 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
20471 |
*) ac_try_echo=$ac_try;; |
|
20472 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20473 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20474 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20475 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20476 |
ac_status=$? |
20477 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
20478 |
rm -f conftest.er1 |
|
20479 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20480 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20481 |
(exit $ac_status); } >/dev/null && { |
20482 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
20483 |
test ! -s conftest.err |
|
20484 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20485 |
ac_header_preproc=yes |
20486 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20487 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20488 |
sed 's/^/| /' conftest.$ac_ext >&5 |
20489 |
||
20490 |
ac_header_preproc=no |
|
20491 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20492 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20493 |
rm -f conftest.err conftest.$ac_ext |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20494 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20495 |
$as_echo "$ac_header_preproc" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20496 |
|
20497 |
# So? What about this header? |
|
20498 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
20499 |
yes:no: ) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20500 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
20501 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
20502 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5 |
|
20503 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20504 |
ac_header_preproc=yes |
20505 |
;; |
|
20506 |
no:yes:* ) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20507 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5 |
20508 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;} |
|
20509 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5 |
|
20510 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;} |
|
20511 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5 |
|
20512 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;} |
|
20513 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
20514 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
20515 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 |
|
20516 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} |
|
20517 |
{ $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 |
|
20518 |
$as_echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20519 |
( cat <<\_ASBOX |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20520 |
## -------------------------------------------------------------------- ## |
20521 |
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ## |
|
20522 |
## -------------------------------------------------------------------- ## |
|
20523 |
_ASBOX |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
20524 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20525 |
;; |
20526 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20527 |
{ $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
20528 |
$as_echo_n "checking for Carbon/Carbon.h... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20529 |
if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20530 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20531 |
else |
20532 |
ac_cv_header_Carbon_Carbon_h=$ac_header_preproc |
|
20533 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20534 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
20535 |
$as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20536 |
|
20537 |
fi |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
20538 |
if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20539 |
have_atsui=true |
20540 |
else |
|
1.2.48
by Sebastian Dröge
Import upstream version 1.20.1 |
20541 |
have_atsui=false |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20542 |
fi |
20543 |
||
20544 |
||
20545 |
||
20546 |
# |
|
20547 |
# Checks for Cairo |
|
20548 |
# |
|
20549 |
have_cairo=false |
|
20550 |
have_cairo_png=false |
|
20551 |
have_cairo_ps=false |
|
20552 |
have_cairo_pdf=false |
|
20553 |
have_cairo_xlib=false |
|
20554 |
have_cairo_freetype=false |
|
20555 |
have_cairo_win32=false |
|
20556 |
have_cairo_atsui=false |
|
1.2.53
by Sebastien Bacher
Import upstream version 1.22.0 |
20557 |
cairo_required=1.7.6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20558 |
|
20559 |
||
20560 |
pkg_failed=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20561 |
{ $as_echo "$as_me:$LINENO: checking for CAIRO" >&5 |
20562 |
$as_echo_n "checking for CAIRO... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20563 |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20564 |
if test -n "$CAIRO_CFLAGS"; then |
20565 |
pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" |
|
20566 |
elif test -n "$PKG_CONFIG"; then |
|
20567 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20568 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\"") >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20569 |
($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20570 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20571 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20572 |
(exit $ac_status); }; then |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20573 |
pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $cairo_required" 2>/dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20574 |
else |
20575 |
pkg_failed=yes |
|
20576 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20577 |
else |
20578 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20579 |
fi |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20580 |
if test -n "$CAIRO_LIBS"; then |
20581 |
pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" |
|
20582 |
elif test -n "$PKG_CONFIG"; then |
|
20583 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20584 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= \$cairo_required\"") >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20585 |
($PKG_CONFIG --exists --print-errors "cairo >= $cairo_required") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20586 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20587 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20588 |
(exit $ac_status); }; then |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20589 |
pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $cairo_required" 2>/dev/null` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20590 |
else |
20591 |
pkg_failed=yes |
|
20592 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20593 |
else |
20594 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20595 |
fi |
20596 |
||
20597 |
||
20598 |
||
20599 |
if test $pkg_failed = yes; then |
|
20600 |
||
20601 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
20602 |
_pkg_short_errors_supported=yes |
|
20603 |
else |
|
20604 |
_pkg_short_errors_supported=no |
|
20605 |
fi |
|
20606 |
if test $_pkg_short_errors_supported = yes; then |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20607 |
CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo >= $cairo_required" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20608 |
else |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20609 |
CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo >= $cairo_required" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20610 |
fi |
20611 |
# Put the nasty error message in config.log where it belongs |
|
20612 |
echo "$CAIRO_PKG_ERRORS" >&5 |
|
20613 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20614 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20615 |
$as_echo "no" >&6; } |
|
20616 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
20617 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20618 |
elif test $pkg_failed = untried; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20619 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20620 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20621 |
else |
20622 |
CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS |
|
20623 |
CAIRO_LIBS=$pkg_cv_CAIRO_LIBS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20624 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
20625 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20626 |
have_cairo=true |
20627 |
fi |
|
20628 |
||
20629 |
if $have_cairo ; then |
|
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20630 |
pango_save_libs=$LIBS |
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
20631 |
LIBS="$LIBS $CAIRO_LIBS" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20632 |
pango_save_ldflags=$LDFLAGS |
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
20633 |
LDFLAGS="$LDFLAGS $CAIRO_LIBS" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20634 |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20635 |
have_cairo=false |
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20636 |
cairo_font_backends="" |
20637 |
||
20638 |
if $have_freetype; then |
|
20639 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20640 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ft >= \$cairo_required\"") >&5 |
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20641 |
($PKG_CONFIG --exists --print-errors "cairo-ft >= $cairo_required") 2>&5 |
20642 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20643 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20644 |
(exit $ac_status); }; then |
20645 |
have_cairo_freetype=true |
|
20646 |
else |
|
20647 |
: |
|
20648 |
fi |
|
20649 |
fi |
|
20650 |
if $have_cairo_freetype; then |
|
20651 |
||
20652 |
cat >>confdefs.h <<\_ACEOF |
|
20653 |
#define HAVE_CAIRO_FREETYPE 1 |
|
20654 |
_ACEOF |
|
20655 |
||
20656 |
cairo_font_backends="freetype $cairo_font_backends" |
|
20657 |
have_cairo=true |
|
20658 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20659 |
|
20660 |
if $have_win32; then |
|
20661 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20662 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-win32 >= \$cairo_required\"") >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20663 |
($PKG_CONFIG --exists --print-errors "cairo-win32 >= $cairo_required") 2>&5 |
20664 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20665 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20666 |
(exit $ac_status); }; then |
20667 |
have_cairo_win32=true |
|
20668 |
else |
|
20669 |
: |
|
20670 |
fi |
|
20671 |
fi |
|
20672 |
if $have_cairo_win32; then |
|
20673 |
||
20674 |
cat >>confdefs.h <<\_ACEOF |
|
20675 |
#define HAVE_CAIRO_WIN32 1 |
|
20676 |
_ACEOF |
|
20677 |
||
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20678 |
cairo_font_backends="win32 $cairo_font_backends" |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20679 |
have_cairo=true |
20680 |
fi |
|
20681 |
||
20682 |
if $have_atsui; then |
|
1.2.48
by Sebastian Dröge
Import upstream version 1.20.1 |
20683 |
if test -n "$PKG_CONFIG" && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20684 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-quartz-font >= \$cairo_required\"") >&5 |
1.2.48
by Sebastian Dröge
Import upstream version 1.20.1 |
20685 |
($PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required") 2>&5 |
20686 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20687 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.48
by Sebastian Dröge
Import upstream version 1.20.1 |
20688 |
(exit $ac_status); }; then |
20689 |
have_cairo_atsui=true |
|
20690 |
else |
|
20691 |
: |
|
20692 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20693 |
fi |
20694 |
if $have_cairo_atsui; then |
|
20695 |
||
20696 |
cat >>confdefs.h <<\_ACEOF |
|
20697 |
#define HAVE_CAIRO_ATSUI 1 |
|
20698 |
_ACEOF |
|
20699 |
||
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20700 |
cairo_font_backends="quartz $cairo_font_backends" |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20701 |
have_cairo=true |
20702 |
fi |
|
20703 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20704 |
{ $as_echo "$as_me:$LINENO: checking which cairo font backends could be used" >&5 |
20705 |
$as_echo_n "checking which cairo font backends could be used... " >&6; } |
|
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20706 |
if $have_cairo ; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20707 |
{ $as_echo "$as_me:$LINENO: result: $cairo_font_backends" >&5 |
20708 |
$as_echo "$cairo_font_backends" >&6; } |
|
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20709 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20710 |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
20711 |
$as_echo "none" >&6; } |
|
20712 |
{ $as_echo "$as_me:$LINENO: Disabling cairo support" >&5 |
|
20713 |
$as_echo "$as_me: Disabling cairo support" >&6;} |
|
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
20714 |
fi |
20715 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20716 |
if $have_cairo ; then |
20717 |
||
20718 |
cat >>confdefs.h <<\_ACEOF |
|
20719 |
#define HAVE_CAIRO 1 |
|
20720 |
_ACEOF |
|
20721 |
||
20722 |
||
20723 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20724 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-png >= \$cairo_required\"") >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20725 |
($PKG_CONFIG --exists --print-errors "cairo-png >= $cairo_required") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20726 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20727 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20728 |
(exit $ac_status); }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20729 |
have_cairo_png=true |
20730 |
else |
|
20731 |
: |
|
20732 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20733 |
if $have_cairo_png; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20734 |
|
20735 |
cat >>confdefs.h <<\_ACEOF |
|
20736 |
#define HAVE_CAIRO_PNG 1 |
|
20737 |
_ACEOF |
|
20738 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20739 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20740 |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20741 |
if test -n "$PKG_CONFIG" && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20742 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-ps >= \$cairo_required\"") >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20743 |
($PKG_CONFIG --exists --print-errors "cairo-ps >= $cairo_required") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20744 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20745 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20746 |
(exit $ac_status); }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20747 |
have_cairo_ps=true |
20748 |
else |
|
20749 |
: |
|
20750 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20751 |
if $have_cairo_ps; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20752 |
|
20753 |
cat >>confdefs.h <<\_ACEOF |
|
20754 |
#define HAVE_CAIRO_PS 1 |
|
20755 |
_ACEOF |
|
20756 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20757 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20758 |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20759 |
if test -n "$PKG_CONFIG" && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20760 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= \$cairo_required\"") >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20761 |
($PKG_CONFIG --exists --print-errors "cairo-pdf >= $cairo_required") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20762 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20763 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20764 |
(exit $ac_status); }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20765 |
have_cairo_pdf=true |
20766 |
else |
|
20767 |
: |
|
20768 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20769 |
if $have_cairo_pdf; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20770 |
|
20771 |
cat >>confdefs.h <<\_ACEOF |
|
20772 |
#define HAVE_CAIRO_PDF 1 |
|
20773 |
_ACEOF |
|
20774 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20775 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20776 |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20777 |
if test -n "$PKG_CONFIG" && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20778 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-xlib >= \$cairo_required\"") >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20779 |
($PKG_CONFIG --exists --print-errors "cairo-xlib >= $cairo_required") 2>&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20780 |
ac_status=$? |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20781 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20782 |
(exit $ac_status); }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20783 |
have_cairo_xlib=true |
20784 |
else |
|
20785 |
: |
|
20786 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20787 |
if $have_cairo_xlib; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20788 |
|
20789 |
cat >>confdefs.h <<\_ACEOF |
|
20790 |
#define HAVE_CAIRO_XLIB 1 |
|
20791 |
_ACEOF |
|
20792 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20793 |
fi |
1.2.36
by Sebastien Bacher
Import upstream version 1.17.3 |
20794 |
fi |
20795 |
||
1.2.44
by Loic Minier
Import upstream version 1.19.2 |
20796 |
LIBS=$pango_save_libs |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20797 |
LDFLAGS=$pango_save_ldflags |
20798 |
fi |
|
20799 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20800 |
if $have_cairo; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20801 |
HAVE_CAIRO_TRUE= |
20802 |
HAVE_CAIRO_FALSE='#' |
|
20803 |
else |
|
20804 |
HAVE_CAIRO_TRUE='#' |
|
20805 |
HAVE_CAIRO_FALSE= |
|
20806 |
fi |
|
20807 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20808 |
if $have_cairo_png; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20809 |
HAVE_CAIRO_PNG_TRUE= |
20810 |
HAVE_CAIRO_PNG_FALSE='#' |
|
20811 |
else |
|
20812 |
HAVE_CAIRO_PNG_TRUE='#' |
|
20813 |
HAVE_CAIRO_PNG_FALSE= |
|
20814 |
fi |
|
20815 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20816 |
if $have_cairo_ps; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20817 |
HAVE_CAIRO_PS_TRUE= |
20818 |
HAVE_CAIRO_PS_FALSE='#' |
|
20819 |
else |
|
20820 |
HAVE_CAIRO_PS_TRUE='#' |
|
20821 |
HAVE_CAIRO_PS_FALSE= |
|
20822 |
fi |
|
20823 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20824 |
if $have_cairo_pdf; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20825 |
HAVE_CAIRO_PDF_TRUE= |
20826 |
HAVE_CAIRO_PDF_FALSE='#' |
|
20827 |
else |
|
20828 |
HAVE_CAIRO_PDF_TRUE='#' |
|
20829 |
HAVE_CAIRO_PDF_FALSE= |
|
20830 |
fi |
|
20831 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
20832 |
if $have_cairo_xlib; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20833 |
HAVE_CAIRO_XLIB_TRUE= |
20834 |
HAVE_CAIRO_XLIB_FALSE='#' |
|
20835 |
else |
|
20836 |
HAVE_CAIRO_XLIB_TRUE='#' |
|
20837 |
HAVE_CAIRO_XLIB_FALSE= |
|
20838 |
fi |
|
20839 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20840 |
if $have_cairo_win32; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20841 |
HAVE_CAIRO_WIN32_TRUE= |
20842 |
HAVE_CAIRO_WIN32_FALSE='#' |
|
20843 |
else |
|
20844 |
HAVE_CAIRO_WIN32_TRUE='#' |
|
20845 |
HAVE_CAIRO_WIN32_FALSE= |
|
20846 |
fi |
|
20847 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20848 |
if $have_cairo_freetype; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20849 |
HAVE_CAIRO_FREETYPE_TRUE= |
20850 |
HAVE_CAIRO_FREETYPE_FALSE='#' |
|
20851 |
else |
|
20852 |
HAVE_CAIRO_FREETYPE_TRUE='#' |
|
20853 |
HAVE_CAIRO_FREETYPE_FALSE= |
|
20854 |
fi |
|
20855 |
||
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
20856 |
if $have_cairo_atsui; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20857 |
HAVE_CAIRO_ATSUI_TRUE= |
20858 |
HAVE_CAIRO_ATSUI_FALSE='#' |
|
20859 |
else |
|
20860 |
HAVE_CAIRO_ATSUI_TRUE='#' |
|
20861 |
HAVE_CAIRO_ATSUI_FALSE= |
|
20862 |
fi |
|
20863 |
||
20864 |
||
20865 |
# |
|
20866 |
# We must have some backend defined, in order for the pango-querymodules |
|
20867 |
# rule in pango/Makefile.am to work correctly. If you are up to writing |
|
20868 |
# a new Pango backend outside of Pango, you are up to sending the necessary |
|
20869 |
# patch to fix that rule. :-) |
|
20870 |
# |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20871 |
if $have_freetype || $have_x || $have_xft || $have_cairo || $have_win32 ; then : ; else |
20872 |
{ { $as_echo "$as_me:$LINENO: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backends. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20873 |
*** Must have at least one backend to build Pango." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20874 |
$as_echo "$as_me: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backends. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20875 |
*** Must have at least one backend to build Pango." >&2;} |
20876 |
{ (exit 1); exit 1; }; } |
|
20877 |
fi |
|
20878 |
||
20879 |
# |
|
20880 |
# Checks for GLib |
|
20881 |
# |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20882 |
GLIB_REQUIRED_VERSION=2.17.3 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20883 |
GLIB_MODULES="glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-no-export-2.0" |
20884 |
||
20885 |
||
20886 |
pkg_failed=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20887 |
{ $as_echo "$as_me:$LINENO: checking for GLIB" >&5 |
20888 |
$as_echo_n "checking for GLIB... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20889 |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20890 |
if test -n "$GLIB_CFLAGS"; then |
20891 |
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
|
20892 |
elif test -n "$PKG_CONFIG"; then |
|
20893 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20894 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\"") >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20895 |
($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5 |
20896 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20897 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20898 |
(exit $ac_status); }; then |
20899 |
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$GLIB_MODULES" 2>/dev/null` |
|
20900 |
else |
|
20901 |
pkg_failed=yes |
|
20902 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20903 |
else |
20904 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20905 |
fi |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20906 |
if test -n "$GLIB_LIBS"; then |
20907 |
pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
|
20908 |
elif test -n "$PKG_CONFIG"; then |
|
20909 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20910 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GLIB_MODULES\"") >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20911 |
($PKG_CONFIG --exists --print-errors "$GLIB_MODULES") 2>&5 |
20912 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20913 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20914 |
(exit $ac_status); }; then |
20915 |
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$GLIB_MODULES" 2>/dev/null` |
|
20916 |
else |
|
20917 |
pkg_failed=yes |
|
20918 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20919 |
else |
20920 |
pkg_failed=untried |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20921 |
fi |
20922 |
||
20923 |
||
20924 |
||
20925 |
if test $pkg_failed = yes; then |
|
20926 |
||
20927 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
20928 |
_pkg_short_errors_supported=yes |
|
20929 |
else |
|
20930 |
_pkg_short_errors_supported=no |
|
20931 |
fi |
|
20932 |
if test $_pkg_short_errors_supported = yes; then |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20933 |
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GLIB_MODULES" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20934 |
else |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20935 |
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GLIB_MODULES" 2>&1` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20936 |
fi |
20937 |
# Put the nasty error message in config.log where it belongs |
|
20938 |
echo "$GLIB_PKG_ERRORS" >&5 |
|
20939 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20940 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
20941 |
$as_echo "no" >&6; } |
|
20942 |
{ { $as_echo "$as_me:$LINENO: error: |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20943 |
*** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of |
20944 |
*** Glib is always available from ftp://ftp.gtk.org/." >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20945 |
$as_echo "$as_me: error: |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20946 |
*** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of |
20947 |
*** Glib is always available from ftp://ftp.gtk.org/." >&2;} |
|
20948 |
{ (exit 1); exit 1; }; } |
|
20949 |
elif test $pkg_failed = untried; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20950 |
{ { $as_echo "$as_me:$LINENO: error: |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20951 |
*** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of |
20952 |
*** Glib is always available from ftp://ftp.gtk.org/." >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20953 |
$as_echo "$as_me: error: |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20954 |
*** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of |
20955 |
*** Glib is always available from ftp://ftp.gtk.org/." >&2;} |
|
20956 |
{ (exit 1); exit 1; }; } |
|
20957 |
else |
|
20958 |
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
|
20959 |
GLIB_LIBS=$pkg_cv_GLIB_LIBS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20960 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
20961 |
$as_echo "yes" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20962 |
: |
20963 |
fi |
|
20964 |
||
1.7.2
by Sebastian Dröge
Import upstream version 1.26.1 |
20965 |
# Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled. |
20966 |
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` |
|
20967 |
||
20968 |
||
20969 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
20970 |
# Add in gthread-2.0 to CFLAGS but not to LIBS so we get any |
20971 |
# necesary defines for thread-safety. |
|
20972 |
GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0` |
|
20973 |
||
20974 |
# See if it's safe to turn G_DISABLE_DEPRECATED on. |
|
20975 |
GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.[^.]*\$//"` |
|
20976 |
GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo $GLIB_REQUIRED_VERSION | sed "s/\.[^.]*\$//"` |
|
20977 |
if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then |
|
20978 |
GLIB_CFLAGS="-DG_DISABLE_DEPRECATED $GLIB_CFLAGS" |
|
20979 |
fi |
|
20980 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20981 |
# |
20982 |
# Checks for LibThai |
|
20983 |
# |
|
20984 |
have_libthai=false |
|
1.2.41
by Sebastien Bacher
Import upstream version 1.18.2 |
20985 |
LIBTHAI_REQUIRED_VERSION=0.1.9 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20986 |
|
20987 |
pkg_failed=no |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20988 |
{ $as_echo "$as_me:$LINENO: checking for LIBTHAI" >&5 |
20989 |
$as_echo_n "checking for LIBTHAI... " >&6; } |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20990 |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
20991 |
if test -n "$LIBTHAI_CFLAGS"; then |
20992 |
pkg_cv_LIBTHAI_CFLAGS="$LIBTHAI_CFLAGS" |
|
20993 |
elif test -n "$PKG_CONFIG"; then |
|
20994 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20995 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\"") >&5 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20996 |
($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5 |
20997 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
20998 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
20999 |
(exit $ac_status); }; then |
21000 |
pkg_cv_LIBTHAI_CFLAGS=`$PKG_CONFIG --cflags "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null` |
|
21001 |
else |
|
21002 |
pkg_failed=yes |
|
21003 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
21004 |
else |
21005 |
pkg_failed=untried |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21006 |
fi |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
21007 |
if test -n "$LIBTHAI_LIBS"; then |
21008 |
pkg_cv_LIBTHAI_LIBS="$LIBTHAI_LIBS" |
|
21009 |
elif test -n "$PKG_CONFIG"; then |
|
21010 |
if test -n "$PKG_CONFIG" && \ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21011 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libthai >= \$LIBTHAI_REQUIRED_VERSION\"") >&5 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21012 |
($PKG_CONFIG --exists --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION") 2>&5 |
21013 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21014 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21015 |
(exit $ac_status); }; then |
21016 |
pkg_cv_LIBTHAI_LIBS=`$PKG_CONFIG --libs "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>/dev/null` |
|
21017 |
else |
|
21018 |
pkg_failed=yes |
|
21019 |
fi |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
21020 |
else |
21021 |
pkg_failed=untried |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21022 |
fi |
21023 |
||
21024 |
||
21025 |
||
21026 |
if test $pkg_failed = yes; then |
|
21027 |
||
21028 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
21029 |
_pkg_short_errors_supported=yes |
|
21030 |
else |
|
21031 |
_pkg_short_errors_supported=no |
|
21032 |
fi |
|
21033 |
if test $_pkg_short_errors_supported = yes; then |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
21034 |
LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>&1` |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21035 |
else |
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
21036 |
LIBTHAI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libthai >= $LIBTHAI_REQUIRED_VERSION" 2>&1` |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21037 |
fi |
21038 |
# Put the nasty error message in config.log where it belongs |
|
21039 |
echo "$LIBTHAI_PKG_ERRORS" >&5 |
|
21040 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21041 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
21042 |
$as_echo "no" >&6; } |
|
21043 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
21044 |
$as_echo "no" >&6; } |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21045 |
elif test $pkg_failed = untried; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21046 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
21047 |
$as_echo "no" >&6; } |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21048 |
else |
21049 |
LIBTHAI_CFLAGS=$pkg_cv_LIBTHAI_CFLAGS |
|
21050 |
LIBTHAI_LIBS=$pkg_cv_LIBTHAI_LIBS |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21051 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
21052 |
$as_echo "yes" >&6; } |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21053 |
have_libthai=true |
21054 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21055 |
|
21056 |
# |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21057 |
# Checks for GObject Introspection |
21058 |
# |
|
21059 |
have_introspection=false |
|
21060 |
||
21061 |
pkg_failed=no |
|
21062 |
{ $as_echo "$as_me:$LINENO: checking for INTROSPECTION" >&5 |
|
21063 |
$as_echo_n "checking for INTROSPECTION... " >&6; } |
|
21064 |
||
21065 |
if test -n "$INTROSPECTION_CFLAGS"; then |
|
21066 |
pkg_cv_INTROSPECTION_CFLAGS="$INTROSPECTION_CFLAGS" |
|
21067 |
elif test -n "$PKG_CONFIG"; then |
|
21068 |
if test -n "$PKG_CONFIG" && \ |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
21069 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5 |
21070 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21071 |
ac_status=$? |
21072 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
21073 |
(exit $ac_status); }; then |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
21074 |
pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= 0.6.4" 2>/dev/null` |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21075 |
else |
21076 |
pkg_failed=yes |
|
21077 |
fi |
|
21078 |
else |
|
21079 |
pkg_failed=untried |
|
21080 |
fi |
|
21081 |
if test -n "$INTROSPECTION_LIBS"; then |
|
21082 |
pkg_cv_INTROSPECTION_LIBS="$INTROSPECTION_LIBS" |
|
21083 |
elif test -n "$PKG_CONFIG"; then |
|
21084 |
if test -n "$PKG_CONFIG" && \ |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
21085 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5 |
21086 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5 |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21087 |
ac_status=$? |
21088 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
21089 |
(exit $ac_status); }; then |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
21090 |
pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= 0.6.4" 2>/dev/null` |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21091 |
else |
21092 |
pkg_failed=yes |
|
21093 |
fi |
|
21094 |
else |
|
21095 |
pkg_failed=untried |
|
21096 |
fi |
|
21097 |
||
21098 |
||
21099 |
||
21100 |
if test $pkg_failed = yes; then |
|
21101 |
||
21102 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
21103 |
_pkg_short_errors_supported=yes |
|
21104 |
else |
|
21105 |
_pkg_short_errors_supported=no |
|
21106 |
fi |
|
21107 |
if test $_pkg_short_errors_supported = yes; then |
|
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
21108 |
INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-introspection-1.0 >= 0.6.4" 2>&1` |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21109 |
else |
1.5.5
by Robert Ancell
Import upstream version 1.25.5 |
21110 |
INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-introspection-1.0 >= 0.6.4" 2>&1` |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
21111 |
fi |
21112 |
# Put the nasty error message in config.log where it belongs |
|
21113 |
echo "$INTROSPECTION_PKG_ERRORS" >&5 |
|
21114 |
||
21115 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
21116 |
$as_echo "no" >&6; } |
|
21117 |
have_introspection=false |
|
21118 |
elif test $pkg_failed = untried; then |
|
21119 |
have_introspection=false |
|
21120 |
else |
|
21121 |
INTROSPECTION_CFLAGS=$pkg_cv_INTROSPECTION_CFLAGS |
|
21122 |
INTROSPECTION_LIBS=$pkg_cv_INTROSPECTION_LIBS |
|
21123 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
21124 |
$as_echo "yes" >&6; } |
|
21125 |
have_introspection=true |
|
21126 |
fi |
|
21127 |
if $have_introspection; then |
|
21128 |
HAVE_INTROSPECTION_TRUE= |
|
21129 |
HAVE_INTROSPECTION_FALSE='#' |
|
21130 |
else |
|
21131 |
HAVE_INTROSPECTION_TRUE='#' |
|
21132 |
HAVE_INTROSPECTION_FALSE= |
|
21133 |
fi |
|
21134 |
||
21135 |
||
21136 |
G_IR_SCANNER= |
|
21137 |
G_IR_COMPILER= |
|
21138 |
G_IR_GENERATE= |
|
21139 |
GIRDIR= |
|
21140 |
TYPELIBDIR= |
|
21141 |
if $have_introspection; then |
|
21142 |
G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` |
|
21143 |
G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` |
|
21144 |
G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` |
|
21145 |
GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` |
|
21146 |
TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" |
|
21147 |
fi |
|
21148 |
||
21149 |
||
21150 |
||
21151 |
||
21152 |
||
21153 |
||
21154 |
# |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21155 |
# Modules to build |
21156 |
# |
|
21157 |
arabic_modules="arabic-fc,arabic-lang" |
|
21158 |
basic_modules="basic-fc,basic-win32,basic-x,basic-atsui" |
|
21159 |
hangul_modules="hangul-fc" |
|
21160 |
hebrew_modules="hebrew-fc" |
|
21161 |
indic_modules="indic-fc,indic-lang" |
|
21162 |
khmer_modules="khmer-fc" |
|
21163 |
syriac_modules="syriac-fc" |
|
21164 |
thai_modules="thai-fc" |
|
21165 |
tibetan_modules="tibetan-fc" |
|
21166 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21167 |
if $have_libthai ; then |
21168 |
thai_modules="$thai_modules,thai-lang" |
|
21169 |
fi |
|
21170 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21171 |
all_modules="$arabic_modules,$basic_modules,$hangul_modules,$hebrew_modules,$indic_modules,$khmer_modules,$syriac_modules,$thai_modules,$tibetan_modules" |
21172 |
||
21173 |
# |
|
21174 |
# Allow building some or all modules included |
|
21175 |
# |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21176 |
{ $as_echo "$as_me:$LINENO: checking modules to link statically" >&5 |
21177 |
$as_echo_n "checking modules to link statically... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21178 |
|
21179 |
||
21180 |
# Check whether --with-included_modules was given. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21181 |
if test "${with_included_modules+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21182 |
withval=$with_included_modules; |
21183 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21184 |
|
21185 |
||
21186 |
included_modules="" |
|
21187 |
case x$with_included_modules in |
|
21188 |
xyes) included_modules=$all_modules ;; |
|
21189 |
xno|x) included_modules="" ;; |
|
21190 |
*) included_modules=$with_included_modules ;; |
|
21191 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21192 |
{ $as_echo "$as_me:$LINENO: result: $included_modules" >&5 |
21193 |
$as_echo "$included_modules" >&6; } |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21194 |
if test "x$included_modules" != x; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21195 |
HAVE_INCLUDED_MODULES_TRUE= |
21196 |
HAVE_INCLUDED_MODULES_FALSE='#' |
|
21197 |
else |
|
21198 |
HAVE_INCLUDED_MODULES_TRUE='#' |
|
21199 |
HAVE_INCLUDED_MODULES_FALSE= |
|
21200 |
fi |
|
21201 |
||
21202 |
||
21203 |
# |
|
21204 |
# Allow building only some or none of modules dynamic |
|
21205 |
# |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21206 |
{ $as_echo "$as_me:$LINENO: checking dynamic modules to build" >&5 |
21207 |
$as_echo_n "checking dynamic modules to build... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21208 |
|
21209 |
||
21210 |
# Check whether --with-dynamic_modules was given. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21211 |
if test "${with_dynamic_modules+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21212 |
withval=$with_dynamic_modules; |
21213 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21214 |
|
21215 |
||
21216 |
dynamic_modules="" |
|
21217 |
case x$with_dynamic_modules in |
|
21218 |
xyes|x) dynamic_modules=$all_modules ;; |
|
21219 |
xno) dynamic_modules="" ;; |
|
21220 |
*) dynamic_modules=$with_dynamic_modules ;; |
|
21221 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21222 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_modules (those built into Pango will be excluded)" >&5 |
21223 |
$as_echo "$dynamic_modules (those built into Pango will be excluded)" >&6; } |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21224 |
if test "x$dynamic_modules" != x; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21225 |
HAVE_DYNAMIC_MODULES_TRUE= |
21226 |
HAVE_DYNAMIC_MODULES_FALSE='#' |
|
21227 |
else |
|
21228 |
HAVE_DYNAMIC_MODULES_TRUE='#' |
|
21229 |
HAVE_DYNAMIC_MODULES_FALSE= |
|
21230 |
fi |
|
21231 |
||
21232 |
||
21233 |
||
21234 |
INCLUDED_X_MODULES= |
|
21235 |
INCLUDED_FC_MODULES= |
|
21236 |
INCLUDED_WIN32_MODULES= |
|
21237 |
INCLUDED_ATSUI_MODULES= |
|
21238 |
INCLUDED_LANG_MODULES= |
|
21239 |
||
21240 |
||
21241 |
||
21242 |
||
21243 |
||
21244 |
||
21245 |
||
21246 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS=", " |
|
21247 |
for module in $included_modules; do |
|
21248 |
case $indic_modules in |
|
21249 |
*$module*) dir=indic ;; |
|
21250 |
*) dir=`echo $module | sed "s/-.*//"` ;; |
|
21251 |
esac |
|
21252 |
included_path="\$(top_builddir)/modules/$dir/libpango-$module.la" |
|
21253 |
||
21254 |
case $module in |
|
21255 |
*-x) INCLUDED_X_MODULES="$INCLUDED_X_MODULES $included_path" ;; |
|
21256 |
*-fc) INCLUDED_FC_MODULES="$INCLUDED_FC_MODULES $included_path" ;; |
|
21257 |
*-win32) INCLUDED_WIN32_MODULES="$INCLUDED_WIN32_MODULES $included_path" ;; |
|
21258 |
*-atsui) INCLUDED_ATSUI_MODULES="$INCLUDED_ATSUI_MODULES $included_path" ;; |
|
21259 |
*-lang) INCLUDED_LANG_MODULES="$INCLUDED_LANG_MODULES $included_path" ;; |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21260 |
*) { { $as_echo "$as_me:$LINENO: error: specified module $module not recognized" >&5 |
21261 |
$as_echo "$as_me: error: specified module $module not recognized" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21262 |
{ (exit 1); exit 1; }; } ;; |
21263 |
esac |
|
21264 |
done |
|
21265 |
IFS="$pango_save_ifs" |
|
21266 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21267 |
if echo $included_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21268 |
INCLUDE_ARABIC_FC_TRUE= |
21269 |
INCLUDE_ARABIC_FC_FALSE='#' |
|
21270 |
else |
|
21271 |
INCLUDE_ARABIC_FC_TRUE='#' |
|
21272 |
INCLUDE_ARABIC_FC_FALSE= |
|
21273 |
fi |
|
21274 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21275 |
if echo $included_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21276 |
INCLUDE_ARABIC_LANG_TRUE= |
21277 |
INCLUDE_ARABIC_LANG_FALSE='#' |
|
21278 |
else |
|
21279 |
INCLUDE_ARABIC_LANG_TRUE='#' |
|
21280 |
INCLUDE_ARABIC_LANG_FALSE= |
|
21281 |
fi |
|
21282 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21283 |
if echo $included_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21284 |
INCLUDE_BASIC_FC_TRUE= |
21285 |
INCLUDE_BASIC_FC_FALSE='#' |
|
21286 |
else |
|
21287 |
INCLUDE_BASIC_FC_TRUE='#' |
|
21288 |
INCLUDE_BASIC_FC_FALSE= |
|
21289 |
fi |
|
21290 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21291 |
if echo $included_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21292 |
INCLUDE_BASIC_WIN32_TRUE= |
21293 |
INCLUDE_BASIC_WIN32_FALSE='#' |
|
21294 |
else |
|
21295 |
INCLUDE_BASIC_WIN32_TRUE='#' |
|
21296 |
INCLUDE_BASIC_WIN32_FALSE= |
|
21297 |
fi |
|
21298 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21299 |
if echo $included_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21300 |
INCLUDE_BASIC_X_TRUE= |
21301 |
INCLUDE_BASIC_X_FALSE='#' |
|
21302 |
else |
|
21303 |
INCLUDE_BASIC_X_TRUE='#' |
|
21304 |
INCLUDE_BASIC_X_FALSE= |
|
21305 |
fi |
|
21306 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21307 |
if echo $included_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21308 |
INCLUDE_BASIC_ATSUI_TRUE= |
21309 |
INCLUDE_BASIC_ATSUI_FALSE='#' |
|
21310 |
else |
|
21311 |
INCLUDE_BASIC_ATSUI_TRUE='#' |
|
21312 |
INCLUDE_BASIC_ATSUI_FALSE= |
|
21313 |
fi |
|
21314 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21315 |
if echo $included_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21316 |
INCLUDE_HANGUL_FC_TRUE= |
21317 |
INCLUDE_HANGUL_FC_FALSE='#' |
|
21318 |
else |
|
21319 |
INCLUDE_HANGUL_FC_TRUE='#' |
|
21320 |
INCLUDE_HANGUL_FC_FALSE= |
|
21321 |
fi |
|
21322 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21323 |
if echo $included_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21324 |
INCLUDE_HEBREW_FC_TRUE= |
21325 |
INCLUDE_HEBREW_FC_FALSE='#' |
|
21326 |
else |
|
21327 |
INCLUDE_HEBREW_FC_TRUE='#' |
|
21328 |
INCLUDE_HEBREW_FC_FALSE= |
|
21329 |
fi |
|
21330 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21331 |
if echo $included_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21332 |
INCLUDE_INDIC_FC_TRUE= |
21333 |
INCLUDE_INDIC_FC_FALSE='#' |
|
21334 |
else |
|
21335 |
INCLUDE_INDIC_FC_TRUE='#' |
|
21336 |
INCLUDE_INDIC_FC_FALSE= |
|
21337 |
fi |
|
21338 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21339 |
if echo $included_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21340 |
INCLUDE_INDIC_LANG_TRUE= |
21341 |
INCLUDE_INDIC_LANG_FALSE='#' |
|
21342 |
else |
|
21343 |
INCLUDE_INDIC_LANG_TRUE='#' |
|
21344 |
INCLUDE_INDIC_LANG_FALSE= |
|
21345 |
fi |
|
21346 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21347 |
if echo $included_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21348 |
INCLUDE_KHMER_FC_TRUE= |
21349 |
INCLUDE_KHMER_FC_FALSE='#' |
|
21350 |
else |
|
21351 |
INCLUDE_KHMER_FC_TRUE='#' |
|
21352 |
INCLUDE_KHMER_FC_FALSE= |
|
21353 |
fi |
|
21354 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21355 |
if echo $included_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21356 |
INCLUDE_SYRIAC_FC_TRUE= |
21357 |
INCLUDE_SYRIAC_FC_FALSE='#' |
|
21358 |
else |
|
21359 |
INCLUDE_SYRIAC_FC_TRUE='#' |
|
21360 |
INCLUDE_SYRIAC_FC_FALSE= |
|
21361 |
fi |
|
21362 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21363 |
if echo $included_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21364 |
INCLUDE_THAI_FC_TRUE= |
21365 |
INCLUDE_THAI_FC_FALSE='#' |
|
21366 |
else |
|
21367 |
INCLUDE_THAI_FC_TRUE='#' |
|
21368 |
INCLUDE_THAI_FC_FALSE= |
|
21369 |
fi |
|
21370 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21371 |
if echo $included_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21372 |
INCLUDE_THAI_LANG_TRUE= |
21373 |
INCLUDE_THAI_LANG_FALSE='#' |
|
21374 |
else |
|
21375 |
INCLUDE_THAI_LANG_TRUE='#' |
|
21376 |
INCLUDE_THAI_LANG_FALSE= |
|
21377 |
fi |
|
21378 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21379 |
if echo $included_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21380 |
INCLUDE_TIBETAN_FC_TRUE= |
21381 |
INCLUDE_TIBETAN_FC_FALSE='#' |
|
21382 |
else |
|
21383 |
INCLUDE_TIBETAN_FC_TRUE='#' |
|
21384 |
INCLUDE_TIBETAN_FC_FALSE= |
|
21385 |
fi |
|
21386 |
||
21387 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21388 |
if echo $dynamic_modules | egrep '(^|,)arabic-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21389 |
DYNAMIC_ARABIC_FC_TRUE= |
21390 |
DYNAMIC_ARABIC_FC_FALSE='#' |
|
21391 |
else |
|
21392 |
DYNAMIC_ARABIC_FC_TRUE='#' |
|
21393 |
DYNAMIC_ARABIC_FC_FALSE= |
|
21394 |
fi |
|
21395 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21396 |
if echo $dynamic_modules | egrep '(^|,)arabic-lang($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21397 |
DYNAMIC_ARABIC_LANG_TRUE= |
21398 |
DYNAMIC_ARABIC_LANG_FALSE='#' |
|
21399 |
else |
|
21400 |
DYNAMIC_ARABIC_LANG_TRUE='#' |
|
21401 |
DYNAMIC_ARABIC_LANG_FALSE= |
|
21402 |
fi |
|
21403 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21404 |
if echo $dynamic_modules | egrep '(^|,)basic-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21405 |
DYNAMIC_BASIC_FC_TRUE= |
21406 |
DYNAMIC_BASIC_FC_FALSE='#' |
|
21407 |
else |
|
21408 |
DYNAMIC_BASIC_FC_TRUE='#' |
|
21409 |
DYNAMIC_BASIC_FC_FALSE= |
|
21410 |
fi |
|
21411 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21412 |
if echo $dynamic_modules | egrep '(^|,)basic-win32($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21413 |
DYNAMIC_BASIC_WIN32_TRUE= |
21414 |
DYNAMIC_BASIC_WIN32_FALSE='#' |
|
21415 |
else |
|
21416 |
DYNAMIC_BASIC_WIN32_TRUE='#' |
|
21417 |
DYNAMIC_BASIC_WIN32_FALSE= |
|
21418 |
fi |
|
21419 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21420 |
if echo $dynamic_modules | egrep '(^|,)basic-x($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21421 |
DYNAMIC_BASIC_X_TRUE= |
21422 |
DYNAMIC_BASIC_X_FALSE='#' |
|
21423 |
else |
|
21424 |
DYNAMIC_BASIC_X_TRUE='#' |
|
21425 |
DYNAMIC_BASIC_X_FALSE= |
|
21426 |
fi |
|
21427 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21428 |
if echo $dynamic_modules | egrep '(^|,)basic-atsui($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21429 |
DYNAMIC_BASIC_ATSUI_TRUE= |
21430 |
DYNAMIC_BASIC_ATSUI_FALSE='#' |
|
21431 |
else |
|
21432 |
DYNAMIC_BASIC_ATSUI_TRUE='#' |
|
21433 |
DYNAMIC_BASIC_ATSUI_FALSE= |
|
21434 |
fi |
|
21435 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21436 |
if echo $dynamic_modules | egrep '(^|,)hangul-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21437 |
DYNAMIC_HANGUL_FC_TRUE= |
21438 |
DYNAMIC_HANGUL_FC_FALSE='#' |
|
21439 |
else |
|
21440 |
DYNAMIC_HANGUL_FC_TRUE='#' |
|
21441 |
DYNAMIC_HANGUL_FC_FALSE= |
|
21442 |
fi |
|
21443 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21444 |
if echo $dynamic_modules | egrep '(^|,)hebrew-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21445 |
DYNAMIC_HEBREW_FC_TRUE= |
21446 |
DYNAMIC_HEBREW_FC_FALSE='#' |
|
21447 |
else |
|
21448 |
DYNAMIC_HEBREW_FC_TRUE='#' |
|
21449 |
DYNAMIC_HEBREW_FC_FALSE= |
|
21450 |
fi |
|
21451 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21452 |
if echo $dynamic_modules | egrep '(^|,)indic-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21453 |
DYNAMIC_INDIC_FC_TRUE= |
21454 |
DYNAMIC_INDIC_FC_FALSE='#' |
|
21455 |
else |
|
21456 |
DYNAMIC_INDIC_FC_TRUE='#' |
|
21457 |
DYNAMIC_INDIC_FC_FALSE= |
|
21458 |
fi |
|
21459 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21460 |
if echo $dynamic_modules | egrep '(^|,)indic-lang($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21461 |
DYNAMIC_INDIC_LANG_TRUE= |
21462 |
DYNAMIC_INDIC_LANG_FALSE='#' |
|
21463 |
else |
|
21464 |
DYNAMIC_INDIC_LANG_TRUE='#' |
|
21465 |
DYNAMIC_INDIC_LANG_FALSE= |
|
21466 |
fi |
|
21467 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21468 |
if echo $dynamic_modules | egrep '(^|,)khmer-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21469 |
DYNAMIC_KHMER_FC_TRUE= |
21470 |
DYNAMIC_KHMER_FC_FALSE='#' |
|
21471 |
else |
|
21472 |
DYNAMIC_KHMER_FC_TRUE='#' |
|
21473 |
DYNAMIC_KHMER_FC_FALSE= |
|
21474 |
fi |
|
21475 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21476 |
if echo $dynamic_modules | egrep '(^|,)syriac-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21477 |
DYNAMIC_SYRIAC_FC_TRUE= |
21478 |
DYNAMIC_SYRIAC_FC_FALSE='#' |
|
21479 |
else |
|
21480 |
DYNAMIC_SYRIAC_FC_TRUE='#' |
|
21481 |
DYNAMIC_SYRIAC_FC_FALSE= |
|
21482 |
fi |
|
21483 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21484 |
if echo $dynamic_modules | egrep '(^|,)thai-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21485 |
DYNAMIC_THAI_FC_TRUE= |
21486 |
DYNAMIC_THAI_FC_FALSE='#' |
|
21487 |
else |
|
21488 |
DYNAMIC_THAI_FC_TRUE='#' |
|
21489 |
DYNAMIC_THAI_FC_FALSE= |
|
21490 |
fi |
|
21491 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21492 |
if echo $dynamic_modules | egrep '(^|,)thai-lang($|,)' > /dev/null; then |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21493 |
DYNAMIC_THAI_LANG_TRUE= |
21494 |
DYNAMIC_THAI_LANG_FALSE='#' |
|
21495 |
else |
|
21496 |
DYNAMIC_THAI_LANG_TRUE='#' |
|
21497 |
DYNAMIC_THAI_LANG_FALSE= |
|
21498 |
fi |
|
21499 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21500 |
if echo $dynamic_modules | egrep '(^|,)tibetan-fc($|,)' > /dev/null; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21501 |
DYNAMIC_TIBETAN_FC_TRUE= |
21502 |
DYNAMIC_TIBETAN_FC_FALSE='#' |
|
21503 |
else |
|
21504 |
DYNAMIC_TIBETAN_FC_TRUE='#' |
|
21505 |
DYNAMIC_TIBETAN_FC_FALSE= |
|
21506 |
fi |
|
21507 |
||
21508 |
||
21509 |
# |
|
21510 |
# We use flockfile to implement pango_getline() - should be moved to GLib |
|
21511 |
# strtok_r isn't present on some systems |
|
21512 |
# |
|
21513 |
||
21514 |
||
21515 |
for ac_func in flockfile strtok_r |
|
21516 |
do |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21517 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21518 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
21519 |
$as_echo_n "checking for $ac_func... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21520 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21521 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21522 |
else |
21523 |
cat >conftest.$ac_ext <<_ACEOF |
|
21524 |
/* confdefs.h. */ |
|
21525 |
_ACEOF |
|
21526 |
cat confdefs.h >>conftest.$ac_ext |
|
21527 |
cat >>conftest.$ac_ext <<_ACEOF |
|
21528 |
/* end confdefs.h. */ |
|
21529 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
21530 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
21531 |
#define $ac_func innocuous_$ac_func |
|
21532 |
||
21533 |
/* System header to define __stub macros and hopefully few prototypes, |
|
21534 |
which can conflict with char $ac_func (); below. |
|
21535 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
21536 |
<limits.h> exists even on freestanding compilers. */ |
|
21537 |
||
21538 |
#ifdef __STDC__ |
|
21539 |
# include <limits.h> |
|
21540 |
#else |
|
21541 |
# include <assert.h> |
|
21542 |
#endif |
|
21543 |
||
21544 |
#undef $ac_func |
|
21545 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21546 |
/* Override any GCC internal prototype to avoid an error. |
21547 |
Use char because int might match the return type of a GCC |
|
21548 |
builtin and then its argument prototype would still apply. */ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21549 |
#ifdef __cplusplus |
21550 |
extern "C" |
|
21551 |
#endif |
|
21552 |
char $ac_func (); |
|
21553 |
/* The GNU C library defines this for functions which it implements |
|
21554 |
to always fail with ENOSYS. Some functions are actually named |
|
21555 |
something starting with __ and the normal name is an alias. */ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21556 |
#if defined __stub_$ac_func || defined __stub___$ac_func |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21557 |
choke me |
21558 |
#endif |
|
21559 |
||
21560 |
int |
|
21561 |
main () |
|
21562 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21563 |
return $ac_func (); |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21564 |
; |
21565 |
return 0; |
|
21566 |
} |
|
21567 |
_ACEOF |
|
21568 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21569 |
if { (ac_try="$ac_link" |
21570 |
case "(($ac_try" in |
|
21571 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
21572 |
*) ac_try_echo=$ac_try;; |
|
21573 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21574 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21575 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21576 |
(eval "$ac_link") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21577 |
ac_status=$? |
21578 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
21579 |
rm -f conftest.er1 |
|
21580 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21581 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21582 |
(exit $ac_status); } && { |
21583 |
test -z "$ac_c_werror_flag" || |
|
21584 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21585 |
} && test -s conftest$ac_exeext && { |
21586 |
test "$cross_compiling" = yes || |
|
21587 |
$as_test_x conftest$ac_exeext |
|
21588 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21589 |
eval "$as_ac_var=yes" |
21590 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21591 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21592 |
sed 's/^/| /' conftest.$ac_ext >&5 |
21593 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21594 |
eval "$as_ac_var=no" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21595 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21596 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21597 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21598 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21599 |
conftest$ac_exeext conftest.$ac_ext |
21600 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21601 |
ac_res=`eval 'as_val=${'$as_ac_var'} |
21602 |
$as_echo "$as_val"'` |
|
21603 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
21604 |
$as_echo "$ac_res" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
21605 |
as_val=`eval 'as_val=${'$as_ac_var'} |
21606 |
$as_echo "$as_val"'` |
|
21607 |
if test "x$as_val" = x""yes; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21608 |
cat >>confdefs.h <<_ACEOF |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21609 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21610 |
_ACEOF |
21611 |
||
21612 |
fi |
|
21613 |
done |
|
21614 |
||
21615 |
||
21616 |
||
21617 |
if $have_cairo ; then : ; else |
|
21618 |
if test x$enable_gtk_doc = xyes ; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21619 |
{ $as_echo "$as_me:$LINENO: WARNING: Cairo not present, disabling doc building" >&5 |
21620 |
$as_echo "$as_me: WARNING: Cairo not present, disabling doc building" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21621 |
enable_gtk_doc=no |
21622 |
fi |
|
21623 |
fi |
|
21624 |
||
21625 |
||
21626 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21627 |
# Check whether --with-html-dir was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21628 |
if test "${with_html_dir+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21629 |
withval=$with_html_dir; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21630 |
else |
21631 |
with_html_dir='${datadir}/gtk-doc/html' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21632 |
fi |
21633 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21634 |
HTML_DIR="$with_html_dir" |
21635 |
||
21636 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21637 |
# Check whether --enable-gtk-doc was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21638 |
if test "${enable_gtk_doc+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21639 |
enableval=$enable_gtk_doc; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21640 |
else |
21641 |
enable_gtk_doc=no |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21642 |
fi |
21643 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21644 |
|
21645 |
if test x$enable_gtk_doc = xyes; then |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21646 |
if test -n "$PKG_CONFIG" && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21647 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21648 |
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 |
21649 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21650 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21651 |
(exit $ac_status); }; then |
21652 |
: |
|
21653 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21654 |
{ { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&5 |
21655 |
$as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build gtk-doc" >&2;} |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21656 |
{ (exit 1); exit 1; }; } |
21657 |
fi |
|
21658 |
fi |
|
21659 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21660 |
{ $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5 |
21661 |
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } |
|
21662 |
{ $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5 |
|
21663 |
$as_echo "$enable_gtk_doc" >&6; } |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21664 |
|
21665 |
for ac_prog in gtkdoc-check |
|
21666 |
do |
|
21667 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
21668 |
set dummy $ac_prog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21669 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21670 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21671 |
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21672 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21673 |
else |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21674 |
case $GTKDOC_CHECK in |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21675 |
[\\/]* | ?:[\\/]*) |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21676 |
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21677 |
;; |
21678 |
*) |
|
21679 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
21680 |
for as_dir in $PATH |
|
21681 |
do |
|
21682 |
IFS=$as_save_IFS |
|
21683 |
test -z "$as_dir" && as_dir=. |
|
21684 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21685 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21686 |
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21687 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21688 |
break 2 |
21689 |
fi |
|
21690 |
done |
|
21691 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21692 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21693 |
|
21694 |
;; |
|
21695 |
esac |
|
21696 |
fi |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21697 |
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK |
21698 |
if test -n "$GTKDOC_CHECK"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21699 |
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5 |
21700 |
$as_echo "$GTKDOC_CHECK" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21701 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21702 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
21703 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21704 |
fi |
21705 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21706 |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21707 |
test -n "$GTKDOC_CHECK" && break |
21708 |
done |
|
21709 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21710 |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21711 |
if test x$enable_gtk_doc = xyes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21712 |
ENABLE_GTK_DOC_TRUE= |
21713 |
ENABLE_GTK_DOC_FALSE='#' |
|
21714 |
else |
|
21715 |
ENABLE_GTK_DOC_TRUE='#' |
|
21716 |
ENABLE_GTK_DOC_FALSE= |
|
21717 |
fi |
|
21718 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21719 |
if test -n "$LIBTOOL"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21720 |
GTK_DOC_USE_LIBTOOL_TRUE= |
21721 |
GTK_DOC_USE_LIBTOOL_FALSE='#' |
|
21722 |
else |
|
21723 |
GTK_DOC_USE_LIBTOOL_TRUE='#' |
|
21724 |
GTK_DOC_USE_LIBTOOL_FALSE= |
|
21725 |
fi |
|
21726 |
||
21727 |
||
21728 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21729 |
# Check whether --enable-man was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21730 |
if test "${enable_man+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21731 |
enableval=$enable_man; enable_man=yes |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21732 |
else |
21733 |
enable_man=no |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21734 |
fi |
21735 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21736 |
|
21737 |
if test "x$enable_man" != xno ; then |
|
21738 |
# Extract the first word of "xsltproc", so it can be a program name with args. |
|
21739 |
set dummy xsltproc; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21740 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21741 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21742 |
if test "${ac_cv_path_XSLTPROC+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21743 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21744 |
else |
21745 |
case $XSLTPROC in |
|
21746 |
[\\/]* | ?:[\\/]*) |
|
21747 |
ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. |
|
21748 |
;; |
|
21749 |
*) |
|
21750 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
21751 |
for as_dir in $PATH |
|
21752 |
do |
|
21753 |
IFS=$as_save_IFS |
|
21754 |
test -z "$as_dir" && as_dir=. |
|
21755 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21756 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21757 |
ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21758 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21759 |
break 2 |
21760 |
fi |
|
21761 |
done |
|
21762 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21763 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21764 |
|
21765 |
;; |
|
21766 |
esac |
|
21767 |
fi |
|
21768 |
XSLTPROC=$ac_cv_path_XSLTPROC |
|
21769 |
if test -n "$XSLTPROC"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21770 |
{ $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5 |
21771 |
$as_echo "$XSLTPROC" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21772 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21773 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
21774 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21775 |
fi |
21776 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21777 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21778 |
if test -z "$XSLTPROC"; then |
21779 |
enable_man=no |
|
21780 |
fi |
|
21781 |
fi |
|
21782 |
||
21783 |
if test "x$enable_man" != xno ; then |
|
21784 |
||
21785 |
# check for the presence of the XML catalog |
|
21786 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21787 |
# Check whether --with-xml-catalog was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21788 |
if test "${with_xml_catalog+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21789 |
withval=$with_xml_catalog; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21790 |
else |
21791 |
with_xml_catalog=/etc/xml/catalog |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21792 |
fi |
21793 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21794 |
jh_found_xmlcatalog=true |
21795 |
XML_CATALOG_FILE="$with_xml_catalog" |
|
21796 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21797 |
{ $as_echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5 |
21798 |
$as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21799 |
if test -f "$XML_CATALOG_FILE"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21800 |
{ $as_echo "$as_me:$LINENO: result: found" >&5 |
21801 |
$as_echo "found" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21802 |
else |
21803 |
jh_found_xmlcatalog=false |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21804 |
{ $as_echo "$as_me:$LINENO: result: not found" >&5 |
21805 |
$as_echo "not found" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21806 |
fi |
21807 |
||
21808 |
# check for the xmlcatalog program |
|
21809 |
# Extract the first word of "xmlcatalog", so it can be a program name with args. |
|
21810 |
set dummy xmlcatalog; ac_word=$2 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21811 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21812 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21813 |
if test "${ac_cv_path_XMLCATALOG+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21814 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21815 |
else |
21816 |
case $XMLCATALOG in |
|
21817 |
[\\/]* | ?:[\\/]*) |
|
21818 |
ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path. |
|
21819 |
;; |
|
21820 |
*) |
|
21821 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
21822 |
for as_dir in $PATH |
|
21823 |
do |
|
21824 |
IFS=$as_save_IFS |
|
21825 |
test -z "$as_dir" && as_dir=. |
|
21826 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21827 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21828 |
ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21829 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21830 |
break 2 |
21831 |
fi |
|
21832 |
done |
|
21833 |
done |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21834 |
IFS=$as_save_IFS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21835 |
|
21836 |
test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no" |
|
21837 |
;; |
|
21838 |
esac |
|
21839 |
fi |
|
21840 |
XMLCATALOG=$ac_cv_path_XMLCATALOG |
|
21841 |
if test -n "$XMLCATALOG"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21842 |
{ $as_echo "$as_me:$LINENO: result: $XMLCATALOG" >&5 |
21843 |
$as_echo "$XMLCATALOG" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21844 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21845 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
21846 |
$as_echo "no" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21847 |
fi |
21848 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21849 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21850 |
if test "x$XMLCATALOG" = xno; then |
21851 |
jh_found_xmlcatalog=false |
|
21852 |
fi |
|
21853 |
||
21854 |
if $jh_found_xmlcatalog; then |
|
21855 |
: |
|
21856 |
else |
|
21857 |
: |
|
21858 |
fi |
|
21859 |
||
21860 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21861 |
{ $as_echo "$as_me:$LINENO: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5 |
21862 |
$as_echo_n "checking for DocBook XML DTD V4.1.2 in XML catalog... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21863 |
if $jh_found_xmlcatalog && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21864 |
{ ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2") >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21865 |
($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5 |
21866 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21867 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21868 |
(exit $ac_status); }; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21869 |
{ $as_echo "$as_me:$LINENO: result: found" >&5 |
21870 |
$as_echo "found" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21871 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21872 |
{ $as_echo "$as_me:$LINENO: result: not found" >&5 |
21873 |
$as_echo "not found" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21874 |
enable_man=no |
21875 |
fi |
|
21876 |
||
21877 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21878 |
{ $as_echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5 |
21879 |
$as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21880 |
if $jh_found_xmlcatalog && \ |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21881 |
{ ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2") >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21882 |
($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5 |
21883 |
ac_status=$? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21884 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21885 |
(exit $ac_status); }; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21886 |
{ $as_echo "$as_me:$LINENO: result: found" >&5 |
21887 |
$as_echo "found" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21888 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21889 |
{ $as_echo "$as_me:$LINENO: result: not found" >&5 |
21890 |
$as_echo "not found" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21891 |
enable_man=no |
21892 |
fi |
|
21893 |
||
21894 |
fi |
|
21895 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21896 |
if test x$enable_man != xno; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21897 |
ENABLE_MAN_TRUE= |
21898 |
ENABLE_MAN_FALSE='#' |
|
21899 |
else |
|
21900 |
ENABLE_MAN_TRUE='#' |
|
21901 |
ENABLE_MAN_FALSE= |
|
21902 |
fi |
|
21903 |
||
21904 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21905 |
# Check whether --enable-doc-cross-references was given. |
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
21906 |
if test "${enable_doc_cross_references+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21907 |
enableval=$enable_doc_cross_references; enable_doc_cross_references=$enableval |
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
21908 |
else |
21909 |
enable_doc_cross_references=yes |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21910 |
fi |
21911 |
||
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
21912 |
|
21913 |
if test "x$enable_doc_cross_references" != xno ; then |
|
21914 |
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" |
|
21915 |
CAIRO_PREFIX="`pkg-config --variable=prefix cairo`" |
|
21916 |
||
21917 |
||
21918 |
fi |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
21919 |
if test x$enable_doc_cross_references != xno; then |
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
21920 |
ENABLE_DOC_CROSS_REFERENCES_TRUE= |
21921 |
ENABLE_DOC_CROSS_REFERENCES_FALSE='#' |
|
21922 |
else |
|
21923 |
ENABLE_DOC_CROSS_REFERENCES_TRUE='#' |
|
21924 |
ENABLE_DOC_CROSS_REFERENCES_FALSE= |
|
21925 |
fi |
|
1.2.29
by Sebastien Bacher
Import upstream version 1.16.0 |
21926 |
|
21927 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21928 |
|
21929 |
# Note that -module isn't included here since automake needs to see it to know |
|
21930 |
# that something like pango-arabic-fc.la is a valid libtool archive |
|
21931 |
# |
|
21932 |
LIBRARY_LIBTOOL_OPTIONS="-version-info $VERSION_INFO" |
|
21933 |
MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version" |
|
1.5.2
by Sebastien Bacher
Import upstream version 1.25.1 |
21934 |
if test "$pango_platform_win32" = yes; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21935 |
# We currently use .def files on Windows |
21936 |
true |
|
21937 |
LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS -no-undefined" |
|
21938 |
MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS -no-undefined" |
|
21939 |
else |
|
21940 |
# libtool option to control which symbols are exported |
|
21941 |
# right now, symbols starting with '_' are not exported |
|
21942 |
LIBRARY_LIBTOOL_OPTIONS="$LIBRARY_LIBTOOL_OPTIONS "'-export-symbols-regex "^pango_.*"' |
|
21943 |
MODULE_LIBTOOL_OPTIONS="$MODULE_LIBTOOL_OPTIONS "'-export-symbols-regex "^script_engine_.*"' |
|
21944 |
fi |
|
21945 |
||
21946 |
||
21947 |
||
21948 |
||
21949 |
use_la_modules=false |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
21950 |
|
21951 |
# is there any platform that we have to use .la files? |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21952 |
|
21953 |
if $use_la_modules ; then |
|
21954 |
||
21955 |
cat >>confdefs.h <<\_ACEOF |
|
21956 |
#define USE_LA_MODULES 1 |
|
21957 |
_ACEOF |
|
21958 |
||
21959 |
fi |
|
21960 |
||
21961 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21962 |
# Check whether --enable-explicit-deps was given. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21963 |
if test "${enable_explicit_deps+set}" = set; then |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21964 |
enableval=$enable_explicit_deps; enable_explicit_deps="$enableval" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21965 |
else |
21966 |
enable_explicit_deps=auto |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
21967 |
fi |
21968 |
||
21969 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21970 |
{ $as_echo "$as_me:$LINENO: checking Whether to write dependencies into .pc files" >&5 |
21971 |
$as_echo_n "checking Whether to write dependencies into .pc files... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21972 |
case $enable_explicit_deps in |
21973 |
auto) |
|
1.2.30
by Sebastien Bacher
Import upstream version 1.16.1 |
21974 |
export SED |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
21975 |
deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21976 |
if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then |
21977 |
enable_explicit_deps=yes |
|
21978 |
else |
|
21979 |
enable_explicit_deps=no |
|
21980 |
fi |
|
21981 |
;; |
|
21982 |
yes|no) |
|
21983 |
;; |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21984 |
*) { { $as_echo "$as_me:$LINENO: error: Value given to --enable-explicit-deps must be one of yes, no or auto" >&5 |
21985 |
$as_echo "$as_me: error: Value given to --enable-explicit-deps must be one of yes, no or auto" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21986 |
{ (exit 1); exit 1; }; } |
21987 |
;; |
|
21988 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
21989 |
{ $as_echo "$as_me:$LINENO: result: $enable_explicit_deps" >&5 |
21990 |
$as_echo "$enable_explicit_deps" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21991 |
|
21992 |
PKGCONFIG_MATH_LIBS= |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21993 |
PKGCONFIG_CAIRO_REQUIRES= |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
21994 |
|
21995 |
if test $enable_explicit_deps = yes ; then |
|
21996 |
PKGCONFIG_MATH_LIBS=-lm |
|
1.2.46
by Loic Minier
Import upstream version 1.19.4 |
21997 |
|
21998 |
X_LIBS="$X_LIBS $X_EXTRA_LIBS" |
|
21999 |
||
22000 |
if $have_cairo_freetype; then |
|
22001 |
PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangoft2" |
|
22002 |
fi |
|
22003 |
if $have_cairo_win32; then |
|
22004 |
PKGCONFIG_CAIRO_REQUIRES="$PKGCONFIG_CAIRO_REQUIRES pangowin32" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22005 |
fi |
22006 |
fi |
|
22007 |
||
22008 |
||
22009 |
||
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
22010 |
if test $enable_explicit_deps = no; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22011 |
DISABLE_EXPLICIT_DEPS_TRUE= |
22012 |
DISABLE_EXPLICIT_DEPS_FALSE='#' |
|
22013 |
else |
|
22014 |
DISABLE_EXPLICIT_DEPS_TRUE='#' |
|
22015 |
DISABLE_EXPLICIT_DEPS_FALSE= |
|
22016 |
fi |
|
22017 |
||
22018 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22019 |
ac_config_commands="$ac_config_commands pango/module-defs.h" |
22020 |
||
22021 |
||
22022 |
ac_config_commands="$ac_config_commands pango/module-defs-x.c" |
|
22023 |
||
22024 |
||
22025 |
ac_config_commands="$ac_config_commands pango/module-defs-fc.c" |
|
22026 |
||
22027 |
||
22028 |
ac_config_commands="$ac_config_commands pango/module-defs-win32.c" |
|
22029 |
||
22030 |
||
22031 |
ac_config_commands="$ac_config_commands pango/module-defs-atsui.c" |
|
22032 |
||
22033 |
||
22034 |
ac_config_commands="$ac_config_commands pango/module-defs-lang.c" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22035 |
|
22036 |
||
22037 |
||
22038 |
||
22039 |
||
22040 |
||
22041 |
||
22042 |
||
22043 |
ac_header_dirent=no |
|
22044 |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22045 |
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
22046 |
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
|
22047 |
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22048 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22049 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22050 |
else |
22051 |
cat >conftest.$ac_ext <<_ACEOF |
|
22052 |
/* confdefs.h. */ |
|
22053 |
_ACEOF |
|
22054 |
cat confdefs.h >>conftest.$ac_ext |
|
22055 |
cat >>conftest.$ac_ext <<_ACEOF |
|
22056 |
/* end confdefs.h. */ |
|
22057 |
#include <sys/types.h> |
|
22058 |
#include <$ac_hdr> |
|
22059 |
||
22060 |
int |
|
22061 |
main () |
|
22062 |
{ |
|
22063 |
if ((DIR *) 0) |
|
22064 |
return 0; |
|
22065 |
; |
|
22066 |
return 0; |
|
22067 |
} |
|
22068 |
_ACEOF |
|
22069 |
rm -f conftest.$ac_objext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22070 |
if { (ac_try="$ac_compile" |
22071 |
case "(($ac_try" in |
|
22072 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
22073 |
*) ac_try_echo=$ac_try;; |
|
22074 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22075 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22076 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22077 |
(eval "$ac_compile") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22078 |
ac_status=$? |
22079 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
22080 |
rm -f conftest.er1 |
|
22081 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22082 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22083 |
(exit $ac_status); } && { |
22084 |
test -z "$ac_c_werror_flag" || |
|
22085 |
test ! -s conftest.err |
|
22086 |
} && test -s conftest.$ac_objext; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22087 |
eval "$as_ac_Header=yes" |
22088 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22089 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22090 |
sed 's/^/| /' conftest.$ac_ext >&5 |
22091 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22092 |
eval "$as_ac_Header=no" |
22093 |
fi |
|
22094 |
||
22095 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
22096 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22097 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
22098 |
$as_echo "$as_val"'` |
|
22099 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
22100 |
$as_echo "$ac_res" >&6; } |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
22101 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
22102 |
$as_echo "$as_val"'` |
|
22103 |
if test "x$as_val" = x""yes; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22104 |
cat >>confdefs.h <<_ACEOF |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22105 |
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22106 |
_ACEOF |
22107 |
||
22108 |
ac_header_dirent=$ac_hdr; break |
|
22109 |
fi |
|
22110 |
||
22111 |
done |
|
22112 |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
|
22113 |
if test $ac_header_dirent = dirent.h; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22114 |
{ $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
22115 |
$as_echo_n "checking for library containing opendir... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22116 |
if test "${ac_cv_search_opendir+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22117 |
$as_echo_n "(cached) " >&6 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22118 |
else |
22119 |
ac_func_search_save_LIBS=$LIBS |
|
22120 |
cat >conftest.$ac_ext <<_ACEOF |
|
22121 |
/* confdefs.h. */ |
|
22122 |
_ACEOF |
|
22123 |
cat confdefs.h >>conftest.$ac_ext |
|
22124 |
cat >>conftest.$ac_ext <<_ACEOF |
|
22125 |
/* end confdefs.h. */ |
|
22126 |
||
22127 |
/* Override any GCC internal prototype to avoid an error. |
|
22128 |
Use char because int might match the return type of a GCC |
|
22129 |
builtin and then its argument prototype would still apply. */ |
|
22130 |
#ifdef __cplusplus |
|
22131 |
extern "C" |
|
22132 |
#endif |
|
22133 |
char opendir (); |
|
22134 |
int |
|
22135 |
main () |
|
22136 |
{ |
|
22137 |
return opendir (); |
|
22138 |
; |
|
22139 |
return 0; |
|
22140 |
} |
|
22141 |
_ACEOF |
|
22142 |
for ac_lib in '' dir; do |
|
22143 |
if test -z "$ac_lib"; then |
|
22144 |
ac_res="none required" |
|
22145 |
else |
|
22146 |
ac_res=-l$ac_lib |
|
22147 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
22148 |
fi |
|
22149 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
22150 |
if { (ac_try="$ac_link" |
|
22151 |
case "(($ac_try" in |
|
22152 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
22153 |
*) ac_try_echo=$ac_try;; |
|
22154 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22155 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22156 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22157 |
(eval "$ac_link") 2>conftest.er1 |
22158 |
ac_status=$? |
|
22159 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
22160 |
rm -f conftest.er1 |
|
22161 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22162 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22163 |
(exit $ac_status); } && { |
22164 |
test -z "$ac_c_werror_flag" || |
|
22165 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22166 |
} && test -s conftest$ac_exeext && { |
22167 |
test "$cross_compiling" = yes || |
|
22168 |
$as_test_x conftest$ac_exeext |
|
22169 |
}; then |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22170 |
ac_cv_search_opendir=$ac_res |
22171 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22172 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22173 |
sed 's/^/| /' conftest.$ac_ext >&5 |
22174 |
||
22175 |
||
22176 |
fi |
|
22177 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22178 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22179 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22180 |
conftest$ac_exeext |
|
22181 |
if test "${ac_cv_search_opendir+set}" = set; then |
|
22182 |
break |
|
22183 |
fi |
|
22184 |
done |
|
22185 |
if test "${ac_cv_search_opendir+set}" = set; then |
|
22186 |
: |
|
22187 |
else |
|
22188 |
ac_cv_search_opendir=no |
|
22189 |
fi |
|
22190 |
rm conftest.$ac_ext |
|
22191 |
LIBS=$ac_func_search_save_LIBS |
|
22192 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22193 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
22194 |
$as_echo "$ac_cv_search_opendir" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22195 |
ac_res=$ac_cv_search_opendir |
22196 |
if test "$ac_res" != no; then |
|
22197 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
22198 |
||
22199 |
fi |
|
22200 |
||
22201 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22202 |
{ $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
22203 |
$as_echo_n "checking for library containing opendir... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22204 |
if test "${ac_cv_search_opendir+set}" = set; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22205 |
$as_echo_n "(cached) " >&6 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22206 |
else |
22207 |
ac_func_search_save_LIBS=$LIBS |
|
22208 |
cat >conftest.$ac_ext <<_ACEOF |
|
22209 |
/* confdefs.h. */ |
|
22210 |
_ACEOF |
|
22211 |
cat confdefs.h >>conftest.$ac_ext |
|
22212 |
cat >>conftest.$ac_ext <<_ACEOF |
|
22213 |
/* end confdefs.h. */ |
|
22214 |
||
22215 |
/* Override any GCC internal prototype to avoid an error. |
|
22216 |
Use char because int might match the return type of a GCC |
|
22217 |
builtin and then its argument prototype would still apply. */ |
|
22218 |
#ifdef __cplusplus |
|
22219 |
extern "C" |
|
22220 |
#endif |
|
22221 |
char opendir (); |
|
22222 |
int |
|
22223 |
main () |
|
22224 |
{ |
|
22225 |
return opendir (); |
|
22226 |
; |
|
22227 |
return 0; |
|
22228 |
} |
|
22229 |
_ACEOF |
|
22230 |
for ac_lib in '' x; do |
|
22231 |
if test -z "$ac_lib"; then |
|
22232 |
ac_res="none required" |
|
22233 |
else |
|
22234 |
ac_res=-l$ac_lib |
|
22235 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
22236 |
fi |
|
22237 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
22238 |
if { (ac_try="$ac_link" |
|
22239 |
case "(($ac_try" in |
|
22240 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
22241 |
*) ac_try_echo=$ac_try;; |
|
22242 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22243 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22244 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22245 |
(eval "$ac_link") 2>conftest.er1 |
22246 |
ac_status=$? |
|
22247 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
22248 |
rm -f conftest.er1 |
|
22249 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22250 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22251 |
(exit $ac_status); } && { |
22252 |
test -z "$ac_c_werror_flag" || |
|
22253 |
test ! -s conftest.err |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22254 |
} && test -s conftest$ac_exeext && { |
22255 |
test "$cross_compiling" = yes || |
|
22256 |
$as_test_x conftest$ac_exeext |
|
22257 |
}; then |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22258 |
ac_cv_search_opendir=$ac_res |
22259 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22260 |
$as_echo "$as_me: failed program was:" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22261 |
sed 's/^/| /' conftest.$ac_ext >&5 |
22262 |
||
22263 |
||
22264 |
fi |
|
22265 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22266 |
rm -rf conftest.dSYM |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22267 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22268 |
conftest$ac_exeext |
|
22269 |
if test "${ac_cv_search_opendir+set}" = set; then |
|
22270 |
break |
|
22271 |
fi |
|
22272 |
done |
|
22273 |
if test "${ac_cv_search_opendir+set}" = set; then |
|
22274 |
: |
|
22275 |
else |
|
22276 |
ac_cv_search_opendir=no |
|
22277 |
fi |
|
22278 |
rm conftest.$ac_ext |
|
22279 |
LIBS=$ac_func_search_save_LIBS |
|
22280 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22281 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
22282 |
$as_echo "$ac_cv_search_opendir" >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22283 |
ac_res=$ac_cv_search_opendir |
22284 |
if test "$ac_res" != no; then |
|
22285 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22286 |
|
22287 |
fi |
|
22288 |
||
22289 |
fi |
|
22290 |
||
22291 |
||
22292 |
for ac_header in unistd.h |
|
22293 |
do |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22294 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22295 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
22296 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
22297 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
22298 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
22299 |
$as_echo_n "(cached) " >&6 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22300 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22301 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
22302 |
$as_echo "$as_val"'` |
|
22303 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
22304 |
$as_echo "$ac_res" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22305 |
else |
22306 |
# Is the header compilable? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22307 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
22308 |
$as_echo_n "checking $ac_header usability... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22309 |
cat >conftest.$ac_ext <<_ACEOF |
22310 |
/* confdefs.h. */ |
|
22311 |
_ACEOF |
|
22312 |
cat confdefs.h >>conftest.$ac_ext |
|
22313 |
cat >>conftest.$ac_ext <<_ACEOF |
|
22314 |
/* end confdefs.h. */ |
|
22315 |
$ac_includes_default |
|
22316 |
#include <$ac_header> |
|
22317 |
_ACEOF |
|
22318 |
rm -f conftest.$ac_objext |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22319 |
if { (ac_try="$ac_compile" |
22320 |
case "(($ac_try" in |
|
22321 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
22322 |
*) ac_try_echo=$ac_try;; |
|
22323 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22324 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22325 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22326 |
(eval "$ac_compile") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22327 |
ac_status=$? |
22328 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
22329 |
rm -f conftest.er1 |
|
22330 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22331 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22332 |
(exit $ac_status); } && { |
22333 |
test -z "$ac_c_werror_flag" || |
|
22334 |
test ! -s conftest.err |
|
22335 |
} && test -s conftest.$ac_objext; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22336 |
ac_header_compiler=yes |
22337 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22338 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22339 |
sed 's/^/| /' conftest.$ac_ext >&5 |
22340 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22341 |
ac_header_compiler=no |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22342 |
fi |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22343 |
|
22344 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22345 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22346 |
$as_echo "$ac_header_compiler" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22347 |
|
22348 |
# Is the header present? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22349 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
22350 |
$as_echo_n "checking $ac_header presence... " >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22351 |
cat >conftest.$ac_ext <<_ACEOF |
22352 |
/* confdefs.h. */ |
|
22353 |
_ACEOF |
|
22354 |
cat confdefs.h >>conftest.$ac_ext |
|
22355 |
cat >>conftest.$ac_ext <<_ACEOF |
|
22356 |
/* end confdefs.h. */ |
|
22357 |
#include <$ac_header> |
|
22358 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22359 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
22360 |
case "(($ac_try" in |
|
22361 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
22362 |
*) ac_try_echo=$ac_try;; |
|
22363 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22364 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22365 |
$as_echo "$ac_try_echo") >&5 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22366 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22367 |
ac_status=$? |
22368 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
22369 |
rm -f conftest.er1 |
|
22370 |
cat conftest.err >&5 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22371 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22372 |
(exit $ac_status); } >/dev/null && { |
22373 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
22374 |
test ! -s conftest.err |
|
22375 |
}; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22376 |
ac_header_preproc=yes |
22377 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22378 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22379 |
sed 's/^/| /' conftest.$ac_ext >&5 |
22380 |
||
22381 |
ac_header_preproc=no |
|
22382 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22383 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22384 |
rm -f conftest.err conftest.$ac_ext |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22385 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
22386 |
$as_echo "$ac_header_preproc" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22387 |
|
22388 |
# So? What about this header? |
|
22389 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
22390 |
yes:no: ) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22391 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
22392 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
22393 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
22394 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22395 |
ac_header_preproc=yes |
22396 |
;; |
|
22397 |
no:yes:* ) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22398 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
22399 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
22400 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
22401 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
22402 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
22403 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
22404 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
22405 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
22406 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
22407 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
22408 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
22409 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22410 |
( cat <<\_ASBOX |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22411 |
## -------------------------------------------------------------------- ## |
22412 |
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=pango ## |
|
22413 |
## -------------------------------------------------------------------- ## |
|
22414 |
_ASBOX |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22415 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22416 |
;; |
22417 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22418 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22419 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22420 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22421 |
$as_echo_n "(cached) " >&6 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22422 |
else |
22423 |
eval "$as_ac_Header=\$ac_header_preproc" |
|
22424 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22425 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
22426 |
$as_echo "$as_val"'` |
|
22427 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
22428 |
$as_echo "$ac_res" >&6; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22429 |
|
22430 |
fi |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
22431 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
22432 |
$as_echo "$as_val"'` |
|
22433 |
if test "x$as_val" = x""yes; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22434 |
cat >>confdefs.h <<_ACEOF |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22435 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22436 |
_ACEOF |
22437 |
||
22438 |
fi |
|
22439 |
||
22440 |
done |
|
22441 |
||
22442 |
||
22443 |
# Honor aclocal flags |
|
22444 |
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22445 |
ac_config_commands="$ac_config_commands pango/pango-features.h" |
22446 |
||
22447 |
||
1.5.2
by Sebastien Bacher
Import upstream version 1.25.1 |
22448 |
ac_config_files="$ac_config_files Makefile pango/Makefile pango/mini-fribidi/Makefile pango/opentype/Makefile pango/pango.rc pango/pangoft2.rc pango/pangowin32.rc pango/pangox.rc pango/pangoxft.rc pango-view/Makefile modules/Makefile modules/arabic/Makefile modules/basic/Makefile modules/hangul/Makefile modules/hebrew/Makefile modules/indic/Makefile modules/khmer/Makefile modules/syriac/Makefile modules/thai/Makefile modules/tibetan/Makefile examples/Makefile docs/Makefile docs/version.xml tools/Makefile tests/Makefile pango.pc pangox.pc pangowin32.pc pangoft2.pc pangoxft.pc pangocairo.pc pango-uninstalled.pc pangox-uninstalled.pc pangowin32-uninstalled.pc pangoft2-uninstalled.pc pangoxft-uninstalled.pc pangocairo-uninstalled.pc pango-zip.sh" |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22449 |
|
22450 |
||
22451 |
ac_config_files="$ac_config_files tests/runtests.sh" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22452 |
|
22453 |
||
22454 |
cat >confcache <<\_ACEOF |
|
22455 |
# This file is a shell script that caches the results of configure |
|
22456 |
# tests run on this system so they can be shared between configure |
|
22457 |
# scripts and configure runs, see configure's option --config-cache. |
|
22458 |
# It is not useful on other systems. If it contains results you don't |
|
22459 |
# want to keep, you may remove or edit it. |
|
22460 |
# |
|
22461 |
# config.status only pays attention to the cache file if you give it |
|
22462 |
# the --recheck option to rerun configure. |
|
22463 |
# |
|
22464 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
22465 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
22466 |
# following values. |
|
22467 |
||
22468 |
_ACEOF |
|
22469 |
||
22470 |
# The following way of writing the cache mishandles newlines in values, |
|
22471 |
# but we know of no workaround that is simple, portable, and efficient. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22472 |
# So, we kill variables containing newlines. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22473 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
22474 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22475 |
( |
22476 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
22477 |
eval ac_val=\$$ac_var |
|
22478 |
case $ac_val in #( |
|
22479 |
*${as_nl}*) |
|
22480 |
case $ac_var in #( |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
22481 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
22482 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22483 |
esac |
22484 |
case $ac_var in #( |
|
22485 |
_ | IFS | as_nl) ;; #( |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22486 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22487 |
*) $as_unset $ac_var ;; |
22488 |
esac ;; |
|
22489 |
esac |
|
22490 |
done |
|
22491 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22492 |
(set) 2>&1 | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22493 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
22494 |
*${as_nl}ac_space=\ *) |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22495 |
# `set' does not quote correctly, so add quotes (double-quote |
22496 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
|
22497 |
sed -n \ |
|
22498 |
"s/'/'\\\\''/g; |
|
22499 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22500 |
;; #( |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22501 |
*) |
22502 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22503 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22504 |
;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22505 |
esac | |
22506 |
sort |
|
22507 |
) | |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22508 |
sed ' |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22509 |
/^ac_cv_env_/b end |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22510 |
t clear |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22511 |
:clear |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22512 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
22513 |
t end |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22514 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
22515 |
:end' >>confcache |
|
22516 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
22517 |
if test -w "$cache_file"; then |
|
22518 |
test "x$cache_file" != "x/dev/null" && |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22519 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
22520 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22521 |
cat confcache >$cache_file |
22522 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22523 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
22524 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22525 |
fi |
22526 |
fi |
|
22527 |
rm -f confcache |
|
22528 |
||
22529 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
22530 |
# Let make expand exec_prefix. |
|
22531 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
22532 |
||
22533 |
DEFS=-DHAVE_CONFIG_H |
|
22534 |
||
22535 |
ac_libobjs= |
|
22536 |
ac_ltlibobjs= |
|
22537 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
22538 |
# 1. Remove the extension, and $U if already installed. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22539 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22540 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
22541 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
22542 |
# will be set to the directory where LIBOBJS objects are built. |
|
22543 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
22544 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22545 |
done |
22546 |
LIBOBJS=$ac_libobjs |
|
22547 |
||
22548 |
LTLIBOBJS=$ac_ltlibobjs |
|
22549 |
||
22550 |
||
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
22551 |
if test -n "$EXEEXT"; then |
22552 |
am__EXEEXT_TRUE= |
|
22553 |
am__EXEEXT_FALSE='#' |
|
22554 |
else |
|
22555 |
am__EXEEXT_TRUE='#' |
|
22556 |
am__EXEEXT_FALSE= |
|
22557 |
fi |
|
22558 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22559 |
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22560 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22561 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22562 |
$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22563 |
Usually this means the macro was only invoked conditionally." >&2;} |
22564 |
{ (exit 1); exit 1; }; } |
|
22565 |
fi |
|
22566 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22567 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22568 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22569 |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22570 |
Usually this means the macro was only invoked conditionally." >&2;} |
22571 |
{ (exit 1); exit 1; }; } |
|
22572 |
fi |
|
22573 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22574 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22575 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22576 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22577 |
Usually this means the macro was only invoked conditionally." >&2;} |
22578 |
{ (exit 1); exit 1; }; } |
|
22579 |
fi |
|
22580 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22581 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22582 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22583 |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22584 |
Usually this means the macro was only invoked conditionally." >&2;} |
22585 |
{ (exit 1); exit 1; }; } |
|
22586 |
fi |
|
22587 |
if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22588 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CXX\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22589 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22590 |
$as_echo "$as_me: error: conditional \"HAVE_CXX\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22591 |
Usually this means the macro was only invoked conditionally." >&2;} |
22592 |
{ (exit 1); exit 1; }; } |
|
22593 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
22594 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
22595 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
|
22596 |
Usually this means the macro was only invoked conditionally." >&5 |
|
22597 |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
22598 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
22599 |
{ (exit 1); exit 1; }; } |
|
22600 |
fi |
|
1.5.4
by Sebastien Bacher
Import upstream version 1.25.3 |
22601 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
22602 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
|
22603 |
Usually this means the macro was only invoked conditionally." >&5 |
|
22604 |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
22605 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
22606 |
{ (exit 1); exit 1; }; } |
|
22607 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22608 |
if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22609 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22610 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22611 |
$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22612 |
Usually this means the macro was only invoked conditionally." >&2;} |
22613 |
{ (exit 1); exit 1; }; } |
|
22614 |
fi |
|
22615 |
if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22616 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"MS_LIB_AVAILABLE\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22617 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22618 |
$as_echo "$as_me: error: conditional \"MS_LIB_AVAILABLE\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22619 |
Usually this means the macro was only invoked conditionally." >&2;} |
22620 |
{ (exit 1); exit 1; }; } |
|
22621 |
fi |
|
22622 |
if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22623 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"CROSS_COMPILING\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22624 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22625 |
$as_echo "$as_me: error: conditional \"CROSS_COMPILING\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22626 |
Usually this means the macro was only invoked conditionally." >&2;} |
22627 |
{ (exit 1); exit 1; }; } |
|
22628 |
fi |
|
22629 |
if test -z "${HAVE_X_TRUE}" && test -z "${HAVE_X_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22630 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_X\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22631 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22632 |
$as_echo "$as_me: error: conditional \"HAVE_X\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22633 |
Usually this means the macro was only invoked conditionally." >&2;} |
22634 |
{ (exit 1); exit 1; }; } |
|
22635 |
fi |
|
22636 |
if test -z "${HAVE_FREETYPE_TRUE}" && test -z "${HAVE_FREETYPE_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22637 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_FREETYPE\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22638 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22639 |
$as_echo "$as_me: error: conditional \"HAVE_FREETYPE\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22640 |
Usually this means the macro was only invoked conditionally." >&2;} |
22641 |
{ (exit 1); exit 1; }; } |
|
22642 |
fi |
|
22643 |
if test -z "${HAVE_XFT_TRUE}" && test -z "${HAVE_XFT_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22644 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XFT\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22645 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22646 |
$as_echo "$as_me: error: conditional \"HAVE_XFT\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22647 |
Usually this means the macro was only invoked conditionally." >&2;} |
22648 |
{ (exit 1); exit 1; }; } |
|
22649 |
fi |
|
22650 |
if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22651 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22652 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22653 |
$as_echo "$as_me: error: conditional \"HAVE_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22654 |
Usually this means the macro was only invoked conditionally." >&2;} |
22655 |
{ (exit 1); exit 1; }; } |
|
22656 |
fi |
|
22657 |
if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22658 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22659 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22660 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22661 |
Usually this means the macro was only invoked conditionally." >&2;} |
22662 |
{ (exit 1); exit 1; }; } |
|
22663 |
fi |
|
22664 |
if test -z "${HAVE_CAIRO_PNG_TRUE}" && test -z "${HAVE_CAIRO_PNG_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22665 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PNG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22666 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22667 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_PNG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22668 |
Usually this means the macro was only invoked conditionally." >&2;} |
22669 |
{ (exit 1); exit 1; }; } |
|
22670 |
fi |
|
22671 |
if test -z "${HAVE_CAIRO_PS_TRUE}" && test -z "${HAVE_CAIRO_PS_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22672 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PS\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22673 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22674 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_PS\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22675 |
Usually this means the macro was only invoked conditionally." >&2;} |
22676 |
{ (exit 1); exit 1; }; } |
|
22677 |
fi |
|
22678 |
if test -z "${HAVE_CAIRO_PDF_TRUE}" && test -z "${HAVE_CAIRO_PDF_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22679 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_PDF\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22680 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22681 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_PDF\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22682 |
Usually this means the macro was only invoked conditionally." >&2;} |
22683 |
{ (exit 1); exit 1; }; } |
|
22684 |
fi |
|
22685 |
if test -z "${HAVE_CAIRO_XLIB_TRUE}" && test -z "${HAVE_CAIRO_XLIB_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22686 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_XLIB\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22687 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22688 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_XLIB\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22689 |
Usually this means the macro was only invoked conditionally." >&2;} |
22690 |
{ (exit 1); exit 1; }; } |
|
22691 |
fi |
|
22692 |
if test -z "${HAVE_CAIRO_WIN32_TRUE}" && test -z "${HAVE_CAIRO_WIN32_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22693 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22694 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22695 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22696 |
Usually this means the macro was only invoked conditionally." >&2;} |
22697 |
{ (exit 1); exit 1; }; } |
|
22698 |
fi |
|
22699 |
if test -z "${HAVE_CAIRO_FREETYPE_TRUE}" && test -z "${HAVE_CAIRO_FREETYPE_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22700 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22701 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22702 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_FREETYPE\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22703 |
Usually this means the macro was only invoked conditionally." >&2;} |
22704 |
{ (exit 1); exit 1; }; } |
|
22705 |
fi |
|
22706 |
if test -z "${HAVE_CAIRO_ATSUI_TRUE}" && test -z "${HAVE_CAIRO_ATSUI_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22707 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CAIRO_ATSUI\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22708 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22709 |
$as_echo "$as_me: error: conditional \"HAVE_CAIRO_ATSUI\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22710 |
Usually this means the macro was only invoked conditionally." >&2;} |
22711 |
{ (exit 1); exit 1; }; } |
|
22712 |
fi |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
22713 |
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then |
22714 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_INTROSPECTION\" was never defined. |
|
22715 |
Usually this means the macro was only invoked conditionally." >&5 |
|
22716 |
$as_echo "$as_me: error: conditional \"HAVE_INTROSPECTION\" was never defined. |
|
22717 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
22718 |
{ (exit 1); exit 1; }; } |
|
22719 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22720 |
if test -z "${HAVE_INCLUDED_MODULES_TRUE}" && test -z "${HAVE_INCLUDED_MODULES_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22721 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_INCLUDED_MODULES\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22722 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22723 |
$as_echo "$as_me: error: conditional \"HAVE_INCLUDED_MODULES\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22724 |
Usually this means the macro was only invoked conditionally." >&2;} |
22725 |
{ (exit 1); exit 1; }; } |
|
22726 |
fi |
|
22727 |
if test -z "${HAVE_DYNAMIC_MODULES_TRUE}" && test -z "${HAVE_DYNAMIC_MODULES_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22728 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DYNAMIC_MODULES\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22729 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22730 |
$as_echo "$as_me: error: conditional \"HAVE_DYNAMIC_MODULES\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22731 |
Usually this means the macro was only invoked conditionally." >&2;} |
22732 |
{ (exit 1); exit 1; }; } |
|
22733 |
fi |
|
22734 |
if test -z "${INCLUDE_ARABIC_FC_TRUE}" && test -z "${INCLUDE_ARABIC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22735 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_ARABIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22736 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22737 |
$as_echo "$as_me: error: conditional \"INCLUDE_ARABIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22738 |
Usually this means the macro was only invoked conditionally." >&2;} |
22739 |
{ (exit 1); exit 1; }; } |
|
22740 |
fi |
|
22741 |
if test -z "${INCLUDE_ARABIC_LANG_TRUE}" && test -z "${INCLUDE_ARABIC_LANG_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22742 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_ARABIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22743 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22744 |
$as_echo "$as_me: error: conditional \"INCLUDE_ARABIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22745 |
Usually this means the macro was only invoked conditionally." >&2;} |
22746 |
{ (exit 1); exit 1; }; } |
|
22747 |
fi |
|
22748 |
if test -z "${INCLUDE_BASIC_FC_TRUE}" && test -z "${INCLUDE_BASIC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22749 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22750 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22751 |
$as_echo "$as_me: error: conditional \"INCLUDE_BASIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22752 |
Usually this means the macro was only invoked conditionally." >&2;} |
22753 |
{ (exit 1); exit 1; }; } |
|
22754 |
fi |
|
22755 |
if test -z "${INCLUDE_BASIC_WIN32_TRUE}" && test -z "${INCLUDE_BASIC_WIN32_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22756 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22757 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22758 |
$as_echo "$as_me: error: conditional \"INCLUDE_BASIC_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22759 |
Usually this means the macro was only invoked conditionally." >&2;} |
22760 |
{ (exit 1); exit 1; }; } |
|
22761 |
fi |
|
22762 |
if test -z "${INCLUDE_BASIC_X_TRUE}" && test -z "${INCLUDE_BASIC_X_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22763 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_X\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22764 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22765 |
$as_echo "$as_me: error: conditional \"INCLUDE_BASIC_X\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22766 |
Usually this means the macro was only invoked conditionally." >&2;} |
22767 |
{ (exit 1); exit 1; }; } |
|
22768 |
fi |
|
22769 |
if test -z "${INCLUDE_BASIC_ATSUI_TRUE}" && test -z "${INCLUDE_BASIC_ATSUI_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22770 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_BASIC_ATSUI\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22771 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22772 |
$as_echo "$as_me: error: conditional \"INCLUDE_BASIC_ATSUI\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22773 |
Usually this means the macro was only invoked conditionally." >&2;} |
22774 |
{ (exit 1); exit 1; }; } |
|
22775 |
fi |
|
22776 |
if test -z "${INCLUDE_HANGUL_FC_TRUE}" && test -z "${INCLUDE_HANGUL_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22777 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_HANGUL_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22778 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22779 |
$as_echo "$as_me: error: conditional \"INCLUDE_HANGUL_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22780 |
Usually this means the macro was only invoked conditionally." >&2;} |
22781 |
{ (exit 1); exit 1; }; } |
|
22782 |
fi |
|
22783 |
if test -z "${INCLUDE_HEBREW_FC_TRUE}" && test -z "${INCLUDE_HEBREW_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22784 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_HEBREW_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22785 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22786 |
$as_echo "$as_me: error: conditional \"INCLUDE_HEBREW_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22787 |
Usually this means the macro was only invoked conditionally." >&2;} |
22788 |
{ (exit 1); exit 1; }; } |
|
22789 |
fi |
|
22790 |
if test -z "${INCLUDE_INDIC_FC_TRUE}" && test -z "${INCLUDE_INDIC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22791 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_INDIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22792 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22793 |
$as_echo "$as_me: error: conditional \"INCLUDE_INDIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22794 |
Usually this means the macro was only invoked conditionally." >&2;} |
22795 |
{ (exit 1); exit 1; }; } |
|
22796 |
fi |
|
22797 |
if test -z "${INCLUDE_INDIC_LANG_TRUE}" && test -z "${INCLUDE_INDIC_LANG_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22798 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_INDIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22799 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22800 |
$as_echo "$as_me: error: conditional \"INCLUDE_INDIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22801 |
Usually this means the macro was only invoked conditionally." >&2;} |
22802 |
{ (exit 1); exit 1; }; } |
|
22803 |
fi |
|
22804 |
if test -z "${INCLUDE_KHMER_FC_TRUE}" && test -z "${INCLUDE_KHMER_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22805 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_KHMER_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22806 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22807 |
$as_echo "$as_me: error: conditional \"INCLUDE_KHMER_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22808 |
Usually this means the macro was only invoked conditionally." >&2;} |
22809 |
{ (exit 1); exit 1; }; } |
|
22810 |
fi |
|
22811 |
if test -z "${INCLUDE_SYRIAC_FC_TRUE}" && test -z "${INCLUDE_SYRIAC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22812 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_SYRIAC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22813 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22814 |
$as_echo "$as_me: error: conditional \"INCLUDE_SYRIAC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22815 |
Usually this means the macro was only invoked conditionally." >&2;} |
22816 |
{ (exit 1); exit 1; }; } |
|
22817 |
fi |
|
22818 |
if test -z "${INCLUDE_THAI_FC_TRUE}" && test -z "${INCLUDE_THAI_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22819 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_THAI_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22820 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22821 |
$as_echo "$as_me: error: conditional \"INCLUDE_THAI_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22822 |
Usually this means the macro was only invoked conditionally." >&2;} |
22823 |
{ (exit 1); exit 1; }; } |
|
22824 |
fi |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
22825 |
if test -z "${INCLUDE_THAI_LANG_TRUE}" && test -z "${INCLUDE_THAI_LANG_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22826 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_THAI_LANG\" was never defined. |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
22827 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22828 |
$as_echo "$as_me: error: conditional \"INCLUDE_THAI_LANG\" was never defined. |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
22829 |
Usually this means the macro was only invoked conditionally." >&2;} |
22830 |
{ (exit 1); exit 1; }; } |
|
22831 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22832 |
if test -z "${INCLUDE_TIBETAN_FC_TRUE}" && test -z "${INCLUDE_TIBETAN_FC_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22833 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TIBETAN_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22834 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22835 |
$as_echo "$as_me: error: conditional \"INCLUDE_TIBETAN_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22836 |
Usually this means the macro was only invoked conditionally." >&2;} |
22837 |
{ (exit 1); exit 1; }; } |
|
22838 |
fi |
|
22839 |
if test -z "${DYNAMIC_ARABIC_FC_TRUE}" && test -z "${DYNAMIC_ARABIC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22840 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_ARABIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22841 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22842 |
$as_echo "$as_me: error: conditional \"DYNAMIC_ARABIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22843 |
Usually this means the macro was only invoked conditionally." >&2;} |
22844 |
{ (exit 1); exit 1; }; } |
|
22845 |
fi |
|
22846 |
if test -z "${DYNAMIC_ARABIC_LANG_TRUE}" && test -z "${DYNAMIC_ARABIC_LANG_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22847 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_ARABIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22848 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22849 |
$as_echo "$as_me: error: conditional \"DYNAMIC_ARABIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22850 |
Usually this means the macro was only invoked conditionally." >&2;} |
22851 |
{ (exit 1); exit 1; }; } |
|
22852 |
fi |
|
22853 |
if test -z "${DYNAMIC_BASIC_FC_TRUE}" && test -z "${DYNAMIC_BASIC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22854 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22855 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22856 |
$as_echo "$as_me: error: conditional \"DYNAMIC_BASIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22857 |
Usually this means the macro was only invoked conditionally." >&2;} |
22858 |
{ (exit 1); exit 1; }; } |
|
22859 |
fi |
|
22860 |
if test -z "${DYNAMIC_BASIC_WIN32_TRUE}" && test -z "${DYNAMIC_BASIC_WIN32_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22861 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22862 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22863 |
$as_echo "$as_me: error: conditional \"DYNAMIC_BASIC_WIN32\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22864 |
Usually this means the macro was only invoked conditionally." >&2;} |
22865 |
{ (exit 1); exit 1; }; } |
|
22866 |
fi |
|
22867 |
if test -z "${DYNAMIC_BASIC_X_TRUE}" && test -z "${DYNAMIC_BASIC_X_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22868 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_X\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22869 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22870 |
$as_echo "$as_me: error: conditional \"DYNAMIC_BASIC_X\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22871 |
Usually this means the macro was only invoked conditionally." >&2;} |
22872 |
{ (exit 1); exit 1; }; } |
|
22873 |
fi |
|
22874 |
if test -z "${DYNAMIC_BASIC_ATSUI_TRUE}" && test -z "${DYNAMIC_BASIC_ATSUI_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22875 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_BASIC_ATSUI\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22876 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22877 |
$as_echo "$as_me: error: conditional \"DYNAMIC_BASIC_ATSUI\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22878 |
Usually this means the macro was only invoked conditionally." >&2;} |
22879 |
{ (exit 1); exit 1; }; } |
|
22880 |
fi |
|
22881 |
if test -z "${DYNAMIC_HANGUL_FC_TRUE}" && test -z "${DYNAMIC_HANGUL_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22882 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_HANGUL_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22883 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22884 |
$as_echo "$as_me: error: conditional \"DYNAMIC_HANGUL_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22885 |
Usually this means the macro was only invoked conditionally." >&2;} |
22886 |
{ (exit 1); exit 1; }; } |
|
22887 |
fi |
|
22888 |
if test -z "${DYNAMIC_HEBREW_FC_TRUE}" && test -z "${DYNAMIC_HEBREW_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22889 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_HEBREW_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22890 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22891 |
$as_echo "$as_me: error: conditional \"DYNAMIC_HEBREW_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22892 |
Usually this means the macro was only invoked conditionally." >&2;} |
22893 |
{ (exit 1); exit 1; }; } |
|
22894 |
fi |
|
22895 |
if test -z "${DYNAMIC_INDIC_FC_TRUE}" && test -z "${DYNAMIC_INDIC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22896 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_INDIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22897 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22898 |
$as_echo "$as_me: error: conditional \"DYNAMIC_INDIC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22899 |
Usually this means the macro was only invoked conditionally." >&2;} |
22900 |
{ (exit 1); exit 1; }; } |
|
22901 |
fi |
|
22902 |
if test -z "${DYNAMIC_INDIC_LANG_TRUE}" && test -z "${DYNAMIC_INDIC_LANG_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22903 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_INDIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22904 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22905 |
$as_echo "$as_me: error: conditional \"DYNAMIC_INDIC_LANG\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22906 |
Usually this means the macro was only invoked conditionally." >&2;} |
22907 |
{ (exit 1); exit 1; }; } |
|
22908 |
fi |
|
22909 |
if test -z "${DYNAMIC_KHMER_FC_TRUE}" && test -z "${DYNAMIC_KHMER_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22910 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_KHMER_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22911 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22912 |
$as_echo "$as_me: error: conditional \"DYNAMIC_KHMER_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22913 |
Usually this means the macro was only invoked conditionally." >&2;} |
22914 |
{ (exit 1); exit 1; }; } |
|
22915 |
fi |
|
22916 |
if test -z "${DYNAMIC_SYRIAC_FC_TRUE}" && test -z "${DYNAMIC_SYRIAC_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22917 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_SYRIAC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22918 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22919 |
$as_echo "$as_me: error: conditional \"DYNAMIC_SYRIAC_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22920 |
Usually this means the macro was only invoked conditionally." >&2;} |
22921 |
{ (exit 1); exit 1; }; } |
|
22922 |
fi |
|
22923 |
if test -z "${DYNAMIC_THAI_FC_TRUE}" && test -z "${DYNAMIC_THAI_FC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22924 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_THAI_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22925 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22926 |
$as_echo "$as_me: error: conditional \"DYNAMIC_THAI_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22927 |
Usually this means the macro was only invoked conditionally." >&2;} |
22928 |
{ (exit 1); exit 1; }; } |
|
22929 |
fi |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
22930 |
if test -z "${DYNAMIC_THAI_LANG_TRUE}" && test -z "${DYNAMIC_THAI_LANG_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22931 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_THAI_LANG\" was never defined. |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
22932 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22933 |
$as_echo "$as_me: error: conditional \"DYNAMIC_THAI_LANG\" was never defined. |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
22934 |
Usually this means the macro was only invoked conditionally." >&2;} |
22935 |
{ (exit 1); exit 1; }; } |
|
22936 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22937 |
if test -z "${DYNAMIC_TIBETAN_FC_TRUE}" && test -z "${DYNAMIC_TIBETAN_FC_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22938 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DYNAMIC_TIBETAN_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22939 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22940 |
$as_echo "$as_me: error: conditional \"DYNAMIC_TIBETAN_FC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22941 |
Usually this means the macro was only invoked conditionally." >&2;} |
22942 |
{ (exit 1); exit 1; }; } |
|
22943 |
fi |
|
22944 |
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22945 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22946 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22947 |
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22948 |
Usually this means the macro was only invoked conditionally." >&2;} |
22949 |
{ (exit 1); exit 1; }; } |
|
22950 |
fi |
|
22951 |
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22952 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22953 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22954 |
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22955 |
Usually this means the macro was only invoked conditionally." >&2;} |
22956 |
{ (exit 1); exit 1; }; } |
|
22957 |
fi |
|
22958 |
if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22959 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MAN\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22960 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22961 |
$as_echo "$as_me: error: conditional \"ENABLE_MAN\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22962 |
Usually this means the macro was only invoked conditionally." >&2;} |
22963 |
{ (exit 1); exit 1; }; } |
|
22964 |
fi |
|
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
22965 |
if test -z "${ENABLE_DOC_CROSS_REFERENCES_TRUE}" && test -z "${ENABLE_DOC_CROSS_REFERENCES_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22966 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined. |
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
22967 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22968 |
$as_echo "$as_me: error: conditional \"ENABLE_DOC_CROSS_REFERENCES\" was never defined. |
1.2.32
by Sebastien Bacher
Import upstream version 1.16.4 |
22969 |
Usually this means the macro was only invoked conditionally." >&2;} |
22970 |
{ (exit 1); exit 1; }; } |
|
22971 |
fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22972 |
if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22973 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"DISABLE_EXPLICIT_DEPS\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22974 |
Usually this means the macro was only invoked conditionally." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22975 |
$as_echo "$as_me: error: conditional \"DISABLE_EXPLICIT_DEPS\" was never defined. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22976 |
Usually this means the macro was only invoked conditionally." >&2;} |
22977 |
{ (exit 1); exit 1; }; } |
|
22978 |
fi |
|
22979 |
||
22980 |
: ${CONFIG_STATUS=./config.status} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22981 |
ac_write_fail=0 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22982 |
ac_clean_files_save=$ac_clean_files |
22983 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22984 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
22985 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
22986 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
22987 |
#! $SHELL |
22988 |
# Generated by $as_me. |
|
22989 |
# Run this file to recreate the current configuration. |
|
22990 |
# Compiler output produced by configure, useful for debugging |
|
22991 |
# configure, is in config.log if it exists. |
|
22992 |
||
22993 |
debug=false |
|
22994 |
ac_cs_recheck=false |
|
22995 |
ac_cs_silent=false |
|
22996 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
22997 |
_ACEOF |
|
22998 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
22999 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23000 |
## --------------------- ## |
23001 |
## M4sh Initialization. ## |
|
23002 |
## --------------------- ## |
|
23003 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23004 |
# Be more Bourne compatible |
23005 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23006 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
23007 |
emulate sh |
|
23008 |
NULLCMD=: |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23009 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23010 |
# is contrary to our usage. Disable this feature. |
23011 |
alias -g '${1+"$@"}'='"$@"' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23012 |
setopt NO_GLOB_SUBST |
23013 |
else |
|
23014 |
case `(set -o) 2>/dev/null` in |
|
23015 |
*posix*) set -o posix ;; |
|
23016 |
esac |
|
23017 |
||
23018 |
fi |
|
23019 |
||
23020 |
||
23021 |
||
23022 |
||
23023 |
# PATH needs CR |
|
23024 |
# Avoid depending upon Character Ranges. |
|
23025 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
23026 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
23027 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
23028 |
as_cr_digits='0123456789' |
|
23029 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
23030 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23031 |
as_nl=' |
23032 |
' |
|
23033 |
export as_nl |
|
23034 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
23035 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
23036 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
23037 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
23038 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
23039 |
as_echo='printf %s\n' |
|
23040 |
as_echo_n='printf %s' |
|
23041 |
else |
|
23042 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
23043 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
23044 |
as_echo_n='/usr/ucb/echo -n' |
|
23045 |
else |
|
23046 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
23047 |
as_echo_n_body='eval |
|
23048 |
arg=$1; |
|
23049 |
case $arg in |
|
23050 |
*"$as_nl"*) |
|
23051 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
23052 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
23053 |
esac; |
|
23054 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
23055 |
' |
|
23056 |
export as_echo_n_body |
|
23057 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
23058 |
fi |
|
23059 |
export as_echo_body |
|
23060 |
as_echo='sh -c $as_echo_body as_echo' |
|
23061 |
fi |
|
23062 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23063 |
# The user is always right. |
23064 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23065 |
PATH_SEPARATOR=: |
23066 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
23067 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
23068 |
PATH_SEPARATOR=';' |
|
23069 |
} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23070 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23071 |
|
23072 |
# Support unset when possible. |
|
23073 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
23074 |
as_unset=unset |
|
23075 |
else |
|
23076 |
as_unset=false |
|
23077 |
fi |
|
23078 |
||
23079 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23080 |
# IFS |
23081 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
23082 |
# there to prevent editors from complaining about space-tab. |
|
23083 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
23084 |
# splitting by setting IFS to empty value.) |
|
23085 |
IFS=" "" $as_nl" |
|
23086 |
||
23087 |
# Find who we are. Look in the path if we contain no directory separator. |
|
23088 |
case $0 in |
|
23089 |
*[\\/]* ) as_myself=$0 ;; |
|
23090 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
23091 |
for as_dir in $PATH |
|
23092 |
do |
|
23093 |
IFS=$as_save_IFS |
|
23094 |
test -z "$as_dir" && as_dir=. |
|
23095 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
23096 |
done |
|
23097 |
IFS=$as_save_IFS |
|
23098 |
||
23099 |
;; |
|
23100 |
esac |
|
23101 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
23102 |
# in which case we are not to be found in the path. |
|
23103 |
if test "x$as_myself" = x; then |
|
23104 |
as_myself=$0 |
|
23105 |
fi |
|
23106 |
if test ! -f "$as_myself"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23107 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23108 |
{ (exit 1); exit 1; } |
23109 |
fi |
|
23110 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23111 |
# Work around bugs in pre-3.0 UWIN ksh. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23112 |
for as_var in ENV MAIL MAILPATH |
23113 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
23114 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23115 |
PS1='$ ' |
23116 |
PS2='> ' |
|
23117 |
PS4='+ ' |
|
23118 |
||
23119 |
# NLS nuisances. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23120 |
LC_ALL=C |
23121 |
export LC_ALL |
|
23122 |
LANGUAGE=C |
|
23123 |
export LANGUAGE |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23124 |
|
23125 |
# Required to use basename. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23126 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
23127 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23128 |
as_expr=expr |
23129 |
else |
|
23130 |
as_expr=false |
|
23131 |
fi |
|
23132 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23133 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23134 |
as_basename=basename |
23135 |
else |
|
23136 |
as_basename=false |
|
23137 |
fi |
|
23138 |
||
23139 |
||
23140 |
# Name of the executable. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23141 |
as_me=`$as_basename -- "$0" || |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23142 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
23143 |
X"$0" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23144 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23145 |
$as_echo X/"$0" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23146 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
23147 |
s//\1/ |
|
23148 |
q |
|
23149 |
} |
|
23150 |
/^X\/\(\/\/\)$/{ |
|
23151 |
s//\1/ |
|
23152 |
q |
|
23153 |
} |
|
23154 |
/^X\/\(\/\).*/{ |
|
23155 |
s//\1/ |
|
23156 |
q |
|
23157 |
} |
|
23158 |
s/.*/./; q'` |
|
23159 |
||
23160 |
# CDPATH. |
|
23161 |
$as_unset CDPATH |
|
23162 |
||
23163 |
||
23164 |
||
23165 |
as_lineno_1=$LINENO |
|
23166 |
as_lineno_2=$LINENO |
|
23167 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
23168 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23169 |
|
23170 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
23171 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23172 |
# line-number line after each line using $LINENO; the second 'sed' |
23173 |
# does the real work. The second script uses 'N' to pair each |
|
23174 |
# line-number line with the line containing $LINENO, and appends |
|
23175 |
# trailing '-' during substitution so that $LINENO is not a special |
|
23176 |
# case at line end. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23177 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23178 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
23179 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
23180 |
sed -n ' |
|
23181 |
p |
|
23182 |
/[$]LINENO/= |
|
23183 |
' <$as_myself | |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23184 |
sed ' |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23185 |
s/[$]LINENO.*/&-/ |
23186 |
t lineno |
|
23187 |
b |
|
23188 |
:lineno |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23189 |
N |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23190 |
:loop |
23191 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23192 |
t loop |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23193 |
s/-\n.*// |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23194 |
' >$as_me.lineno && |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23195 |
chmod +x "$as_me.lineno" || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23196 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23197 |
{ (exit 1); exit 1; }; } |
23198 |
||
23199 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
23200 |
# (the dirname of $[0] is not the place where we might find the |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23201 |
# original and so on. Autoconf is especially sensitive to this). |
23202 |
. "./$as_me.lineno" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23203 |
# Exit status is that of the last command. |
23204 |
exit |
|
23205 |
} |
|
23206 |
||
23207 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23208 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
23209 |
as_dirname=dirname |
|
23210 |
else |
|
23211 |
as_dirname=false |
|
23212 |
fi |
|
23213 |
||
23214 |
ECHO_C= ECHO_N= ECHO_T= |
|
23215 |
case `echo -n x` in |
|
23216 |
-n*) |
|
23217 |
case `echo 'x\c'` in |
|
23218 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
23219 |
*) ECHO_C='\c';; |
|
23220 |
esac;; |
|
23221 |
*) |
|
23222 |
ECHO_N='-n';; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23223 |
esac |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23224 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
23225 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23226 |
as_expr=expr |
23227 |
else |
|
23228 |
as_expr=false |
|
23229 |
fi |
|
23230 |
||
23231 |
rm -f conf$$ conf$$.exe conf$$.file |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23232 |
if test -d conf$$.dir; then |
23233 |
rm -f conf$$.dir/conf$$.file |
|
23234 |
else |
|
23235 |
rm -f conf$$.dir |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23236 |
mkdir conf$$.dir 2>/dev/null |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23237 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23238 |
if (echo >conf$$.file) 2>/dev/null; then |
23239 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
23240 |
as_ln_s='ln -s' |
|
23241 |
# ... but there are two gotchas: |
|
23242 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
23243 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
23244 |
# In both cases, we have to default to `cp -p'. |
|
23245 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
23246 |
as_ln_s='cp -p' |
|
23247 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
23248 |
as_ln_s=ln |
|
23249 |
else |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23250 |
as_ln_s='cp -p' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23251 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23252 |
else |
23253 |
as_ln_s='cp -p' |
|
23254 |
fi |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23255 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
23256 |
rmdir conf$$.dir 2>/dev/null |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23257 |
|
23258 |
if mkdir -p . 2>/dev/null; then |
|
23259 |
as_mkdir_p=: |
|
23260 |
else |
|
23261 |
test -d ./-p && rmdir ./-p |
|
23262 |
as_mkdir_p=false |
|
23263 |
fi |
|
23264 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23265 |
if test -x / >/dev/null 2>&1; then |
23266 |
as_test_x='test -x' |
|
23267 |
else |
|
23268 |
if ls -dL / >/dev/null 2>&1; then |
|
23269 |
as_ls_L_option=L |
|
23270 |
else |
|
23271 |
as_ls_L_option= |
|
23272 |
fi |
|
23273 |
as_test_x=' |
|
23274 |
eval sh -c '\'' |
|
23275 |
if test -d "$1"; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23276 |
test -d "$1/."; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23277 |
else |
23278 |
case $1 in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23279 |
-*)set "./$1";; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23280 |
esac; |
23281 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
23282 |
???[sx]*):;;*)false;;esac;fi |
|
23283 |
'\'' sh |
|
23284 |
' |
|
23285 |
fi |
|
23286 |
as_executable_p=$as_test_x |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23287 |
|
23288 |
# Sed expression to map a string onto a valid CPP name. |
|
23289 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
23290 |
||
23291 |
# Sed expression to map a string onto a valid variable name. |
|
23292 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
23293 |
||
23294 |
||
23295 |
exec 6>&1 |
|
23296 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23297 |
# Save the log message, to keep $[0] and so on meaningful, and to |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23298 |
# report actual input values of CONFIG_FILES etc. instead of their |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23299 |
# values after options handling. |
23300 |
ac_log=" |
|
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
23301 |
This file was extended by pango $as_me 1.26.2, which was |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23302 |
generated by GNU Autoconf 2.63. Invocation command line was |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23303 |
|
23304 |
CONFIG_FILES = $CONFIG_FILES |
|
23305 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
23306 |
CONFIG_LINKS = $CONFIG_LINKS |
|
23307 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
23308 |
$ $0 $@ |
|
23309 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23310 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
23311 |
" |
|
23312 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23313 |
_ACEOF |
23314 |
||
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23315 |
case $ac_config_files in *" |
23316 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
23317 |
esac |
|
23318 |
||
23319 |
case $ac_config_headers in *" |
|
23320 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
23321 |
esac |
|
23322 |
||
23323 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23324 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23325 |
# Files that config.status was made for. |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23326 |
config_files="$ac_config_files" |
23327 |
config_headers="$ac_config_headers" |
|
23328 |
config_commands="$ac_config_commands" |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23329 |
|
23330 |
_ACEOF |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23331 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23332 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23333 |
ac_cs_usage="\ |
23334 |
\`$as_me' instantiates files from templates according to the |
|
23335 |
current configuration. |
|
23336 |
||
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23337 |
Usage: $0 [OPTION]... [FILE]... |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23338 |
|
23339 |
-h, --help print this help, then exit |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23340 |
-V, --version print version number and configuration settings, then exit |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23341 |
-q, --quiet, --silent |
23342 |
do not print progress messages |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23343 |
-d, --debug don't remove temporary files |
23344 |
--recheck update $as_me by reconfiguring in the same conditions |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23345 |
--file=FILE[:TEMPLATE] |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23346 |
instantiate the configuration file FILE |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23347 |
--header=FILE[:TEMPLATE] |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23348 |
instantiate the configuration header FILE |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23349 |
|
23350 |
Configuration files: |
|
23351 |
$config_files |
|
23352 |
||
23353 |
Configuration headers: |
|
23354 |
$config_headers |
|
23355 |
||
23356 |
Configuration commands: |
|
23357 |
$config_commands |
|
23358 |
||
23359 |
Report bugs to <bug-autoconf@gnu.org>." |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23360 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23361 |
_ACEOF |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23362 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23363 |
ac_cs_version="\\ |
1.5.9
by Sebastian Dröge
Import upstream version 1.26.2 |
23364 |
pango config.status 1.26.2 |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23365 |
configured by $0, generated by GNU Autoconf 2.63, |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23366 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23367 |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23368 |
Copyright (C) 2008 Free Software Foundation, Inc. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23369 |
This config.status script is free software; the Free Software Foundation |
23370 |
gives unlimited permission to copy, distribute and modify it." |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23371 |
|
23372 |
ac_pwd='$ac_pwd' |
|
23373 |
srcdir='$srcdir' |
|
23374 |
INSTALL='$INSTALL' |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
23375 |
MKDIR_P='$MKDIR_P' |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23376 |
AWK='$AWK' |
23377 |
test -n "\$AWK" || AWK=awk |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23378 |
_ACEOF |
23379 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23380 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23381 |
# The default lists apply if the user does not specify any file. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23382 |
ac_need_defaults=: |
23383 |
while test $# != 0 |
|
23384 |
do |
|
23385 |
case $1 in |
|
23386 |
--*=*) |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23387 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
23388 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23389 |
ac_shift=: |
23390 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23391 |
*) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23392 |
ac_option=$1 |
23393 |
ac_optarg=$2 |
|
23394 |
ac_shift=shift |
|
23395 |
;; |
|
23396 |
esac |
|
23397 |
||
23398 |
case $ac_option in |
|
23399 |
# Handling of the options. |
|
23400 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
23401 |
ac_cs_recheck=: ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23402 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23403 |
$as_echo "$ac_cs_version"; exit ;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23404 |
--debug | --debu | --deb | --de | --d | -d ) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23405 |
debug=: ;; |
23406 |
--file | --fil | --fi | --f ) |
|
23407 |
$ac_shift |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23408 |
case $ac_optarg in |
23409 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
23410 |
esac |
|
23411 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23412 |
ac_need_defaults=false;; |
23413 |
--header | --heade | --head | --hea ) |
|
23414 |
$ac_shift |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23415 |
case $ac_optarg in |
23416 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
23417 |
esac |
|
23418 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23419 |
ac_need_defaults=false;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23420 |
--he | --h) |
23421 |
# Conflict between --help and --header |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23422 |
{ $as_echo "$as_me: error: ambiguous option: $1 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23423 |
Try \`$0 --help' for more information." >&2 |
23424 |
{ (exit 1); exit 1; }; };; |
|
23425 |
--help | --hel | -h ) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23426 |
$as_echo "$ac_cs_usage"; exit ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23427 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
23428 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
23429 |
ac_cs_silent=: ;; |
|
23430 |
||
23431 |
# This is an error. |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23432 |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23433 |
Try \`$0 --help' for more information." >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23434 |
{ (exit 1); exit 1; }; } ;; |
23435 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23436 |
*) ac_config_targets="$ac_config_targets $1" |
23437 |
ac_need_defaults=false ;; |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23438 |
|
23439 |
esac |
|
23440 |
shift |
|
23441 |
done |
|
23442 |
||
23443 |
ac_configure_extra_args= |
|
23444 |
||
23445 |
if $ac_cs_silent; then |
|
23446 |
exec 6>/dev/null |
|
23447 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
23448 |
fi |
|
23449 |
||
23450 |
_ACEOF |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23451 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23452 |
if \$ac_cs_recheck; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23453 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
23454 |
shift |
|
23455 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
23456 |
CONFIG_SHELL='$SHELL' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23457 |
export CONFIG_SHELL |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23458 |
exec "\$@" |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23459 |
fi |
23460 |
||
23461 |
_ACEOF |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23462 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23463 |
exec 5>>config.log |
23464 |
{ |
|
23465 |
echo |
|
23466 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
23467 |
## Running $as_me. ## |
|
23468 |
_ASBOX |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23469 |
$as_echo "$ac_log" |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23470 |
} >&5 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23471 |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23472 |
_ACEOF |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23473 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23474 |
# |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23475 |
# INIT-COMMANDS |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23476 |
# |
23477 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
23478 |
||
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
23479 |
|
23480 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
23481 |
# if CDPATH is set. |
|
23482 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
23483 |
||
23484 |
sed_quote_subst='$sed_quote_subst' |
|
23485 |
double_quote_subst='$double_quote_subst' |
|
23486 |
delay_variable_subst='$delay_variable_subst' |
|
23487 |
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' |
|
23488 |
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
|
23489 |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
|
23490 |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
23491 |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
23492 |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
|
23493 |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
|
23494 |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
|
23495 |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
|
23496 |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
23497 |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
|
23498 |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
|
23499 |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
23500 |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
|
23501 |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
|
23502 |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
|
23503 |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
|
23504 |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
23505 |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
23506 |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
23507 |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
|
23508 |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
|
23509 |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
|
23510 |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
|
23511 |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
|
23512 |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
|
23513 |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
|
23514 |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
|
23515 |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
|
23516 |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
23517 |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23518 |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
|
23519 |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
|
23520 |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
|
23521 |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
23522 |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
|
23523 |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
|
23524 |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23525 |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23526 |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23527 |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
|
23528 |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
23529 |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
|
23530 |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
|
23531 |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
|
23532 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
|
23533 |
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"`' |
|
23534 |
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"`' |
|
23535 |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
|
23536 |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
|
23537 |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
|
23538 |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
|
23539 |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
23540 |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
|
23541 |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
|
23542 |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
23543 |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
|
23544 |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
|
23545 |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
|
23546 |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
|
23547 |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
|
23548 |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
|
23549 |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
|
23550 |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
|
23551 |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23552 |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23553 |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
|
23554 |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
|
23555 |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23556 |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23557 |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
|
23558 |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23559 |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23560 |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23561 |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23562 |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23563 |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23564 |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
23565 |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
23566 |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
23567 |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23568 |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
23569 |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
|
23570 |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
|
23571 |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
|
23572 |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
|
23573 |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
23574 |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
|
23575 |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
23576 |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
|
23577 |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
|
23578 |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
|
23579 |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23580 |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
23581 |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
23582 |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23583 |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23584 |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
|
23585 |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
|
23586 |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
23587 |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
|
23588 |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
23589 |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
23590 |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
23591 |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23592 |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23593 |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23594 |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23595 |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23596 |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
23597 |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
|
23598 |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
|
23599 |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23600 |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
23601 |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
|
23602 |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
|
23603 |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
|
23604 |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
23605 |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
23606 |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
23607 |
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' |
|
23608 |
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' |
|
23609 |
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' |
|
23610 |
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' |
|
23611 |
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' |
|
23612 |
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' |
|
23613 |
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23614 |
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23615 |
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23616 |
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23617 |
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23618 |
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23619 |
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23620 |
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23621 |
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23622 |
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23623 |
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23624 |
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23625 |
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23626 |
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23627 |
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23628 |
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23629 |
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23630 |
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23631 |
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23632 |
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23633 |
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23634 |
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23635 |
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23636 |
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23637 |
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23638 |
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23639 |
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23640 |
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23641 |
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23642 |
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23643 |
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23644 |
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23645 |
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23646 |
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23647 |
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23648 |
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23649 |
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23650 |
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23651 |
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23652 |
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23653 |
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23654 |
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23655 |
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23656 |
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23657 |
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23658 |
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23659 |
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' |
|
23660 |
||
23661 |
LTCC='$LTCC' |
|
23662 |
LTCFLAGS='$LTCFLAGS' |
|
23663 |
compiler='$compiler_DEFAULT' |
|
23664 |
||
23665 |
# Quote evaled strings. |
|
23666 |
for var in SED \ |
|
23667 |
GREP \ |
|
23668 |
EGREP \ |
|
23669 |
FGREP \ |
|
23670 |
LD \ |
|
23671 |
NM \ |
|
23672 |
LN_S \ |
|
23673 |
lt_SP2NL \ |
|
23674 |
lt_NL2SP \ |
|
23675 |
reload_flag \ |
|
23676 |
deplibs_check_method \ |
|
23677 |
file_magic_cmd \ |
|
23678 |
AR \ |
|
23679 |
AR_FLAGS \ |
|
23680 |
STRIP \ |
|
23681 |
RANLIB \ |
|
23682 |
CC \ |
|
23683 |
CFLAGS \ |
|
23684 |
compiler \ |
|
23685 |
lt_cv_sys_global_symbol_pipe \ |
|
23686 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
23687 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
23688 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
23689 |
SHELL \ |
|
23690 |
ECHO \ |
|
23691 |
lt_prog_compiler_no_builtin_flag \ |
|
23692 |
lt_prog_compiler_wl \ |
|
23693 |
lt_prog_compiler_pic \ |
|
23694 |
lt_prog_compiler_static \ |
|
23695 |
lt_cv_prog_compiler_c_o \ |
|
23696 |
need_locks \ |
|
23697 |
DSYMUTIL \ |
|
23698 |
NMEDIT \ |
|
23699 |
LIPO \ |
|
23700 |
OTOOL \ |
|
23701 |
OTOOL64 \ |
|
23702 |
shrext_cmds \ |
|
23703 |
export_dynamic_flag_spec \ |
|
23704 |
whole_archive_flag_spec \ |
|
23705 |
compiler_needs_object \ |
|
23706 |
with_gnu_ld \ |
|
23707 |
allow_undefined_flag \ |
|
23708 |
no_undefined_flag \ |
|
23709 |
hardcode_libdir_flag_spec \ |
|
23710 |
hardcode_libdir_flag_spec_ld \ |
|
23711 |
hardcode_libdir_separator \ |
|
23712 |
fix_srcfile_path \ |
|
23713 |
exclude_expsyms \ |
|
23714 |
include_expsyms \ |
|
23715 |
file_list_spec \ |
|
23716 |
variables_saved_for_relink \ |
|
23717 |
libname_spec \ |
|
23718 |
library_names_spec \ |
|
23719 |
soname_spec \ |
|
23720 |
finish_eval \ |
|
23721 |
old_striplib \ |
|
23722 |
striplib \ |
|
23723 |
compiler_lib_search_dirs \ |
|
23724 |
predep_objects \ |
|
23725 |
postdep_objects \ |
|
23726 |
predeps \ |
|
23727 |
postdeps \ |
|
23728 |
compiler_lib_search_path \ |
|
23729 |
LD_CXX \ |
|
23730 |
compiler_CXX \ |
|
23731 |
lt_prog_compiler_no_builtin_flag_CXX \ |
|
23732 |
lt_prog_compiler_wl_CXX \ |
|
23733 |
lt_prog_compiler_pic_CXX \ |
|
23734 |
lt_prog_compiler_static_CXX \ |
|
23735 |
lt_cv_prog_compiler_c_o_CXX \ |
|
23736 |
export_dynamic_flag_spec_CXX \ |
|
23737 |
whole_archive_flag_spec_CXX \ |
|
23738 |
compiler_needs_object_CXX \ |
|
23739 |
with_gnu_ld_CXX \ |
|
23740 |
allow_undefined_flag_CXX \ |
|
23741 |
no_undefined_flag_CXX \ |
|
23742 |
hardcode_libdir_flag_spec_CXX \ |
|
23743 |
hardcode_libdir_flag_spec_ld_CXX \ |
|
23744 |
hardcode_libdir_separator_CXX \ |
|
23745 |
fix_srcfile_path_CXX \ |
|
23746 |
exclude_expsyms_CXX \ |
|
23747 |
include_expsyms_CXX \ |
|
23748 |
file_list_spec_CXX \ |
|
23749 |
compiler_lib_search_dirs_CXX \ |
|
23750 |
predep_objects_CXX \ |
|
23751 |
postdep_objects_CXX \ |
|
23752 |
predeps_CXX \ |
|
23753 |
postdeps_CXX \ |
|
23754 |
compiler_lib_search_path_CXX; do |
|
23755 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
|
23756 |
*[\\\\\\\`\\"\\\$]*) |
|
23757 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
|
23758 |
;; |
|
23759 |
*) |
|
23760 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
23761 |
;; |
|
23762 |
esac |
|
23763 |
done |
|
23764 |
||
23765 |
# Double-quote double-evaled strings. |
|
23766 |
for var in reload_cmds \ |
|
23767 |
old_postinstall_cmds \ |
|
23768 |
old_postuninstall_cmds \ |
|
23769 |
old_archive_cmds \ |
|
23770 |
extract_expsyms_cmds \ |
|
23771 |
old_archive_from_new_cmds \ |
|
23772 |
old_archive_from_expsyms_cmds \ |
|
23773 |
archive_cmds \ |
|
23774 |
archive_expsym_cmds \ |
|
23775 |
module_cmds \ |
|
23776 |
module_expsym_cmds \ |
|
23777 |
export_symbols_cmds \ |
|
23778 |
prelink_cmds \ |
|
23779 |
postinstall_cmds \ |
|
23780 |
postuninstall_cmds \ |
|
23781 |
finish_cmds \ |
|
23782 |
sys_lib_search_path_spec \ |
|
23783 |
sys_lib_dlsearch_path_spec \ |
|
23784 |
old_archive_cmds_CXX \ |
|
23785 |
old_archive_from_new_cmds_CXX \ |
|
23786 |
old_archive_from_expsyms_cmds_CXX \ |
|
23787 |
archive_cmds_CXX \ |
|
23788 |
archive_expsym_cmds_CXX \ |
|
23789 |
module_cmds_CXX \ |
|
23790 |
module_expsym_cmds_CXX \ |
|
23791 |
export_symbols_cmds_CXX \ |
|
23792 |
prelink_cmds_CXX; do |
|
23793 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
|
23794 |
*[\\\\\\\`\\"\\\$]*) |
|
23795 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
|
23796 |
;; |
|
23797 |
*) |
|
23798 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
23799 |
;; |
|
23800 |
esac |
|
23801 |
done |
|
23802 |
||
23803 |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
|
23804 |
case \$lt_ECHO in |
|
23805 |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
|
23806 |
;; |
|
23807 |
esac |
|
23808 |
||
23809 |
ac_aux_dir='$ac_aux_dir' |
|
23810 |
xsi_shell='$xsi_shell' |
|
23811 |
lt_shell_append='$lt_shell_append' |
|
23812 |
||
23813 |
# See if we are running on zsh, and set the options which allow our |
|
23814 |
# commands through without removal of \ escapes INIT. |
|
23815 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
23816 |
setopt NO_GLOB_SUBST |
|
23817 |
fi |
|
23818 |
||
23819 |
||
23820 |
PACKAGE='$PACKAGE' |
|
23821 |
VERSION='$VERSION' |
|
23822 |
TIMESTAMP='$TIMESTAMP' |
|
23823 |
RM='$RM' |
|
23824 |
ofile='$ofile' |
|
23825 |
||
23826 |
||
23827 |
||
23828 |
ac_aux_dir='$ac_aux_dir' |
|
23829 |
||
23830 |
||
23831 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23832 |
included_modules=$included_modules |
23833 |
||
23834 |
||
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
23835 |
PANGO_VERSION_MAJOR=$PANGO_VERSION_MAJOR |
23836 |
PANGO_VERSION_MINOR=$PANGO_VERSION_MINOR |
|
23837 |
PANGO_VERSION_MICRO=$PANGO_VERSION_MICRO |
|
23838 |
||
23839 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23840 |
_ACEOF |
23841 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23842 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23843 |
|
23844 |
# Handling of arguments. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23845 |
for ac_config_target in $ac_config_targets |
23846 |
do |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23847 |
case $ac_config_target in |
23848 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
23849 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
23850 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23851 |
"pango/module-defs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs.h" ;; |
23852 |
"pango/module-defs-x.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-x.c" ;; |
|
23853 |
"pango/module-defs-fc.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-fc.c" ;; |
|
23854 |
"pango/module-defs-win32.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-win32.c" ;; |
|
23855 |
"pango/module-defs-atsui.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-atsui.c" ;; |
|
23856 |
"pango/module-defs-lang.c") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/module-defs-lang.c" ;; |
|
23857 |
"pango/pango-features.h") CONFIG_COMMANDS="$CONFIG_COMMANDS pango/pango-features.h" ;; |
|
23858 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
23859 |
"pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;; |
|
23860 |
"pango/mini-fribidi/Makefile") CONFIG_FILES="$CONFIG_FILES pango/mini-fribidi/Makefile" ;; |
|
23861 |
"pango/opentype/Makefile") CONFIG_FILES="$CONFIG_FILES pango/opentype/Makefile" ;; |
|
23862 |
"pango/pango.rc") CONFIG_FILES="$CONFIG_FILES pango/pango.rc" ;; |
|
23863 |
"pango/pangoft2.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoft2.rc" ;; |
|
23864 |
"pango/pangowin32.rc") CONFIG_FILES="$CONFIG_FILES pango/pangowin32.rc" ;; |
|
1.5.2
by Sebastien Bacher
Import upstream version 1.25.1 |
23865 |
"pango/pangox.rc") CONFIG_FILES="$CONFIG_FILES pango/pangox.rc" ;; |
23866 |
"pango/pangoxft.rc") CONFIG_FILES="$CONFIG_FILES pango/pangoxft.rc" ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23867 |
"pango-view/Makefile") CONFIG_FILES="$CONFIG_FILES pango-view/Makefile" ;; |
23868 |
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
|
23869 |
"modules/arabic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/arabic/Makefile" ;; |
|
23870 |
"modules/basic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/basic/Makefile" ;; |
|
23871 |
"modules/hangul/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hangul/Makefile" ;; |
|
23872 |
"modules/hebrew/Makefile") CONFIG_FILES="$CONFIG_FILES modules/hebrew/Makefile" ;; |
|
23873 |
"modules/indic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/indic/Makefile" ;; |
|
23874 |
"modules/khmer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/khmer/Makefile" ;; |
|
23875 |
"modules/syriac/Makefile") CONFIG_FILES="$CONFIG_FILES modules/syriac/Makefile" ;; |
|
23876 |
"modules/thai/Makefile") CONFIG_FILES="$CONFIG_FILES modules/thai/Makefile" ;; |
|
23877 |
"modules/tibetan/Makefile") CONFIG_FILES="$CONFIG_FILES modules/tibetan/Makefile" ;; |
|
23878 |
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; |
|
23879 |
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
|
23880 |
"docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;; |
|
23881 |
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
|
23882 |
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
|
23883 |
"pango.pc") CONFIG_FILES="$CONFIG_FILES pango.pc" ;; |
|
23884 |
"pangox.pc") CONFIG_FILES="$CONFIG_FILES pangox.pc" ;; |
|
23885 |
"pangowin32.pc") CONFIG_FILES="$CONFIG_FILES pangowin32.pc" ;; |
|
23886 |
"pangoft2.pc") CONFIG_FILES="$CONFIG_FILES pangoft2.pc" ;; |
|
23887 |
"pangoxft.pc") CONFIG_FILES="$CONFIG_FILES pangoxft.pc" ;; |
|
23888 |
"pangocairo.pc") CONFIG_FILES="$CONFIG_FILES pangocairo.pc" ;; |
|
23889 |
"pango-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pango-uninstalled.pc" ;; |
|
23890 |
"pangox-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangox-uninstalled.pc" ;; |
|
23891 |
"pangowin32-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangowin32-uninstalled.pc" ;; |
|
23892 |
"pangoft2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoft2-uninstalled.pc" ;; |
|
23893 |
"pangoxft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangoxft-uninstalled.pc" ;; |
|
23894 |
"pangocairo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pangocairo-uninstalled.pc" ;; |
|
23895 |
"pango-zip.sh") CONFIG_FILES="$CONFIG_FILES pango-zip.sh" ;; |
|
23896 |
"tests/runtests.sh") CONFIG_FILES="$CONFIG_FILES tests/runtests.sh" ;; |
|
23897 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23898 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
23899 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23900 |
{ (exit 1); exit 1; }; };; |
23901 |
esac |
|
23902 |
done |
|
23903 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23904 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23905 |
# If the user did not use the arguments to specify the items to instantiate, |
23906 |
# then the envvar interface is used. Set only those that are not. |
|
23907 |
# We use the long form for the default assignment because of an extremely |
|
23908 |
# bizarre bug on SunOS 4.1.3. |
|
23909 |
if $ac_need_defaults; then |
|
23910 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
23911 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
23912 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
23913 |
fi |
|
23914 |
||
23915 |
# Have a temporary directory for convenience. Make it in the build tree |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23916 |
# simply because there is no reason against having it here, and in addition, |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23917 |
# creating and moving files from /tmp can sometimes cause problems. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23918 |
# Hook for its removal unless debugging. |
23919 |
# Note that there is a small window in which the directory will not be cleaned: |
|
23920 |
# after its creation but before its name has been assigned to `$tmp'. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23921 |
$debug || |
23922 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23923 |
tmp= |
23924 |
trap 'exit_status=$? |
|
23925 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
23926 |
' 0 |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23927 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
23928 |
} |
|
23929 |
# Create a (secure) tmp directory for tmp files. |
|
23930 |
||
23931 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23932 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23933 |
test -n "$tmp" && test -d "$tmp" |
23934 |
} || |
|
23935 |
{ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23936 |
tmp=./conf$$-$RANDOM |
23937 |
(umask 077 && mkdir "$tmp") |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23938 |
} || |
23939 |
{ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23940 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
23941 |
{ (exit 1); exit 1; } |
23942 |
} |
|
23943 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23944 |
# Set up the scripts for CONFIG_FILES section. |
23945 |
# No need to generate them if there are no CONFIG_FILES. |
|
23946 |
# This happens for instance with `./config.status config.h'. |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
23947 |
if test -n "$CONFIG_FILES"; then |
23948 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23949 |
|
23950 |
ac_cr=' ' |
|
23951 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
23952 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
23953 |
ac_cs_awk_cr='\\r' |
|
23954 |
else |
|
23955 |
ac_cs_awk_cr=$ac_cr |
|
23956 |
fi |
|
23957 |
||
23958 |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
|
23959 |
_ACEOF |
|
23960 |
||
23961 |
||
23962 |
{ |
|
23963 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
23964 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
23965 |
echo "_ACEOF" |
|
23966 |
} >conf$$subs.sh || |
|
23967 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
23968 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
23969 |
{ (exit 1); exit 1; }; } |
|
23970 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
|
23971 |
ac_delim='%!_!# ' |
|
23972 |
for ac_last_try in false false false false false :; do |
|
23973 |
. ./conf$$subs.sh || |
|
23974 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
23975 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
23976 |
{ (exit 1); exit 1; }; } |
|
23977 |
||
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
23978 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
23979 |
if test $ac_delim_n = $ac_delim_num; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
23980 |
break |
23981 |
elif $ac_last_try; then |
|
23982 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
23983 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
23984 |
{ (exit 1); exit 1; }; } |
|
23985 |
else |
|
23986 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
23987 |
fi |
|
23988 |
done |
|
23989 |
rm -f conf$$subs.sh |
|
23990 |
||
23991 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
23992 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
|
23993 |
_ACEOF |
|
23994 |
sed -n ' |
|
23995 |
h |
|
23996 |
s/^/S["/; s/!.*/"]=/ |
|
23997 |
p |
|
23998 |
g |
|
23999 |
s/^[^!]*!// |
|
24000 |
:repl |
|
24001 |
t repl |
|
24002 |
s/'"$ac_delim"'$// |
|
24003 |
t delim |
|
24004 |
:nl |
|
24005 |
h |
|
24006 |
s/\(.\{148\}\).*/\1/ |
|
24007 |
t more1 |
|
24008 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
24009 |
p |
|
24010 |
n |
|
24011 |
b repl |
|
24012 |
:more1 |
|
24013 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
24014 |
p |
|
24015 |
g |
|
24016 |
s/.\{148\}// |
|
24017 |
t nl |
|
24018 |
:delim |
|
24019 |
h |
|
24020 |
s/\(.\{148\}\).*/\1/ |
|
24021 |
t more2 |
|
24022 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
24023 |
p |
|
24024 |
b |
|
24025 |
:more2 |
|
24026 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
24027 |
p |
|
24028 |
g |
|
24029 |
s/.\{148\}// |
|
24030 |
t delim |
|
24031 |
' <conf$$subs.awk | sed ' |
|
24032 |
/^[^""]/{ |
|
24033 |
N |
|
24034 |
s/\n// |
|
24035 |
} |
|
24036 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
24037 |
rm -f conf$$subs.awk |
|
24038 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
24039 |
_ACAWK |
|
24040 |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|
24041 |
for (key in S) S_is_set[key] = 1 |
|
24042 |
FS = "" |
|
24043 |
||
24044 |
} |
|
24045 |
{ |
|
24046 |
line = $ 0 |
|
24047 |
nfields = split(line, field, "@") |
|
24048 |
substed = 0 |
|
24049 |
len = length(field[1]) |
|
24050 |
for (i = 2; i < nfields; i++) { |
|
24051 |
key = field[i] |
|
24052 |
keylen = length(key) |
|
24053 |
if (S_is_set[key]) { |
|
24054 |
value = S[key] |
|
24055 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
24056 |
len += length(value) + length(field[++i]) |
|
24057 |
substed = 1 |
|
24058 |
} else |
|
24059 |
len += 1 + keylen |
|
24060 |
} |
|
24061 |
||
24062 |
print line |
|
24063 |
} |
|
24064 |
||
24065 |
_ACAWK |
|
24066 |
_ACEOF |
|
24067 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
24068 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
24069 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
24070 |
else |
|
24071 |
cat |
|
24072 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
|
24073 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
|
24074 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
|
24075 |
{ (exit 1); exit 1; }; } |
|
24076 |
_ACEOF |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24077 |
|
24078 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
24079 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
24080 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
24081 |
# (actually we leave an empty line to preserve line numbers). |
|
24082 |
if test "x$srcdir" = x.; then |
|
24083 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
24084 |
s/:*\$(srcdir):*/:/ |
|
24085 |
s/:*\${srcdir}:*/:/ |
|
24086 |
s/:*@srcdir@:*/:/ |
|
24087 |
s/^\([^=]*=[ ]*\):*/\1/ |
|
24088 |
s/:*$// |
|
24089 |
s/^[^=]*=[ ]*$// |
|
24090 |
}' |
|
24091 |
fi |
|
24092 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24093 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24094 |
fi # test -n "$CONFIG_FILES" |
24095 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24096 |
# Set up the scripts for CONFIG_HEADERS section. |
24097 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
24098 |
# This happens for instance with `./config.status Makefile'. |
|
24099 |
if test -n "$CONFIG_HEADERS"; then |
|
24100 |
cat >"$tmp/defines.awk" <<\_ACAWK || |
|
24101 |
BEGIN { |
|
24102 |
_ACEOF |
|
24103 |
||
24104 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
24105 |
# here-document in config.status, that substitutes the proper values into |
|
24106 |
# config.h.in to produce config.h. |
|
24107 |
||
24108 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
24109 |
# handling of long lines. |
|
24110 |
ac_delim='%!_!# ' |
|
24111 |
for ac_last_try in false false :; do |
|
24112 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
24113 |
if test -z "$ac_t"; then |
|
24114 |
break |
|
24115 |
elif $ac_last_try; then |
|
24116 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
|
24117 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
|
24118 |
{ (exit 1); exit 1; }; } |
|
24119 |
else |
|
24120 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
24121 |
fi |
|
24122 |
done |
|
24123 |
||
24124 |
# For the awk script, D is an array of macro values keyed by name, |
|
24125 |
# likewise P contains macro parameters if any. Preserve backslash |
|
24126 |
# newline sequences. |
|
24127 |
||
24128 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
24129 |
sed -n ' |
|
24130 |
s/.\{148\}/&'"$ac_delim"'/g |
|
24131 |
t rset |
|
24132 |
:rset |
|
24133 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
24134 |
t def |
|
24135 |
d |
|
24136 |
:def |
|
24137 |
s/\\$// |
|
24138 |
t bsnl |
|
24139 |
s/["\\]/\\&/g |
|
24140 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
24141 |
D["\1"]=" \3"/p |
|
24142 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
24143 |
d |
|
24144 |
:bsnl |
|
24145 |
s/["\\]/\\&/g |
|
24146 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
24147 |
D["\1"]=" \3\\\\\\n"\\/p |
|
24148 |
t cont |
|
24149 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
24150 |
t cont |
|
24151 |
d |
|
24152 |
:cont |
|
24153 |
n |
|
24154 |
s/.\{148\}/&'"$ac_delim"'/g |
|
24155 |
t clear |
|
24156 |
:clear |
|
24157 |
s/\\$// |
|
24158 |
t bsnlc |
|
24159 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
24160 |
d |
|
24161 |
:bsnlc |
|
24162 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
24163 |
b cont |
|
24164 |
' <confdefs.h | sed ' |
|
24165 |
s/'"$ac_delim"'/"\\\ |
|
24166 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
24167 |
||
24168 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
24169 |
for (key in D) D_is_set[key] = 1 |
|
24170 |
FS = "" |
|
24171 |
} |
|
24172 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
24173 |
line = \$ 0 |
|
24174 |
split(line, arg, " ") |
|
24175 |
if (arg[1] == "#") { |
|
24176 |
defundef = arg[2] |
|
24177 |
mac1 = arg[3] |
|
24178 |
} else { |
|
24179 |
defundef = substr(arg[1], 2) |
|
24180 |
mac1 = arg[2] |
|
24181 |
} |
|
24182 |
split(mac1, mac2, "(") #) |
|
24183 |
macro = mac2[1] |
|
24184 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
24185 |
if (D_is_set[macro]) { |
|
24186 |
# Preserve the white space surrounding the "#". |
|
24187 |
print prefix "define", macro P[macro] D[macro] |
|
24188 |
next |
|
24189 |
} else { |
|
24190 |
# Replace #undef with comments. This is necessary, for example, |
|
24191 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
24192 |
# on some systems where configure will not decide to define it. |
|
24193 |
if (defundef == "undef") { |
|
24194 |
print "/*", prefix defundef, macro, "*/" |
|
24195 |
next |
|
24196 |
} |
|
24197 |
} |
|
24198 |
} |
|
24199 |
{ print } |
|
24200 |
_ACAWK |
|
24201 |
_ACEOF |
|
24202 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
24203 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
|
24204 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
|
24205 |
{ (exit 1); exit 1; }; } |
|
24206 |
fi # test -n "$CONFIG_HEADERS" |
|
24207 |
||
24208 |
||
24209 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
24210 |
shift |
|
24211 |
for ac_tag |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24212 |
do |
24213 |
case $ac_tag in |
|
24214 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
24215 |
esac |
|
24216 |
case $ac_mode$ac_tag in |
|
24217 |
:[FHL]*:*);; |
|
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
24218 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
24219 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24220 |
{ (exit 1); exit 1; }; };; |
24221 |
:[FH]-) ac_tag=-:-;; |
|
24222 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
24223 |
esac |
|
24224 |
ac_save_IFS=$IFS |
|
24225 |
IFS=: |
|
24226 |
set x $ac_tag |
|
24227 |
IFS=$ac_save_IFS |
|
24228 |
shift |
|
24229 |
ac_file=$1 |
|
24230 |
shift |
|
24231 |
||
24232 |
case $ac_mode in |
|
24233 |
:L) ac_source=$1;; |
|
24234 |
:[FH]) |
|
24235 |
ac_file_inputs= |
|
24236 |
for ac_f |
|
24237 |
do |
|
24238 |
case $ac_f in |
|
24239 |
-) ac_f="$tmp/stdin";; |
|
24240 |
*) # Look for the file first in the build tree, then in the source tree |
|
24241 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
24242 |
# because $ac_f cannot contain `:'. |
|
24243 |
test -f "$ac_f" || |
|
24244 |
case $ac_f in |
|
24245 |
[\\/$]*) false;; |
|
24246 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
24247 |
esac || |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24248 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
24249 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24250 |
{ (exit 1); exit 1; }; };; |
24251 |
esac |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24252 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
24253 |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24254 |
done |
24255 |
||
24256 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
24257 |
# use $as_me), people would be surprised to read: |
|
24258 |
# /* config.h. Generated by config.status. */ |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24259 |
configure_input='Generated from '` |
24260 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
24261 |
`' by configure.' |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24262 |
if test x"$ac_file" != x-; then |
24263 |
configure_input="$ac_file. $configure_input" |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24264 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
24265 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24266 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24267 |
# Neutralize special characters interpreted by sed in replacement strings. |
24268 |
case $configure_input in #( |
|
24269 |
*\&* | *\|* | *\\* ) |
|
24270 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
24271 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
24272 |
*) ac_sed_conf_input=$configure_input;; |
|
24273 |
esac |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24274 |
|
24275 |
case $ac_tag in |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24276 |
*:-:* | *:-) cat >"$tmp/stdin" \ |
24277 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
24278 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
24279 |
{ (exit 1); exit 1; }; } ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24280 |
esac |
24281 |
;; |
|
24282 |
esac |
|
24283 |
||
24284 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24285 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24286 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
24287 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24288 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24289 |
$as_echo X"$ac_file" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24290 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24291 |
s//\1/ |
|
24292 |
q |
|
24293 |
} |
|
24294 |
/^X\(\/\/\)[^/].*/{ |
|
24295 |
s//\1/ |
|
24296 |
q |
|
24297 |
} |
|
24298 |
/^X\(\/\/\)$/{ |
|
24299 |
s//\1/ |
|
24300 |
q |
|
24301 |
} |
|
24302 |
/^X\(\/\).*/{ |
|
24303 |
s//\1/ |
|
24304 |
q |
|
24305 |
} |
|
24306 |
s/.*/./; q'` |
|
24307 |
{ as_dir="$ac_dir" |
|
24308 |
case $as_dir in #( |
|
24309 |
-*) as_dir=./$as_dir;; |
|
24310 |
esac |
|
24311 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24312 |
as_dirs= |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24313 |
while :; do |
24314 |
case $as_dir in #( |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24315 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24316 |
*) as_qdir=$as_dir;; |
24317 |
esac |
|
24318 |
as_dirs="'$as_qdir' $as_dirs" |
|
24319 |
as_dir=`$as_dirname -- "$as_dir" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24320 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24321 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
24322 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24323 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24324 |
$as_echo X"$as_dir" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24325 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24326 |
s//\1/ |
|
24327 |
q |
|
24328 |
} |
|
24329 |
/^X\(\/\/\)[^/].*/{ |
|
24330 |
s//\1/ |
|
24331 |
q |
|
24332 |
} |
|
24333 |
/^X\(\/\/\)$/{ |
|
24334 |
s//\1/ |
|
24335 |
q |
|
24336 |
} |
|
24337 |
/^X\(\/\).*/{ |
|
24338 |
s//\1/ |
|
24339 |
q |
|
24340 |
} |
|
24341 |
s/.*/./; q'` |
|
24342 |
test -d "$as_dir" && break |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24343 |
done |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24344 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24345 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
24346 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24347 |
{ (exit 1); exit 1; }; }; } |
24348 |
ac_builddir=. |
|
24349 |
||
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24350 |
case "$ac_dir" in |
24351 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
24352 |
*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24353 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24354 |
# A ".." for each directory in $ac_dir_suffix. |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24355 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24356 |
case $ac_top_builddir_sub in |
24357 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
24358 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
24359 |
esac ;; |
|
24360 |
esac |
|
24361 |
ac_abs_top_builddir=$ac_pwd |
|
24362 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
24363 |
# for backward compatibility: |
|
24364 |
ac_top_builddir=$ac_top_build_prefix |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24365 |
|
24366 |
case $srcdir in |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24367 |
.) # We are building in place. |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24368 |
ac_srcdir=. |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24369 |
ac_top_srcdir=$ac_top_builddir_sub |
24370 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
24371 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24372 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24373 |
ac_top_srcdir=$srcdir |
24374 |
ac_abs_top_srcdir=$srcdir ;; |
|
24375 |
*) # Relative name. |
|
24376 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
24377 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
24378 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
24379 |
esac |
|
24380 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
24381 |
||
24382 |
||
24383 |
case $ac_mode in |
|
24384 |
:F) |
|
24385 |
# |
|
24386 |
# CONFIG_FILE |
|
24387 |
# |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24388 |
|
24389 |
case $INSTALL in |
|
24390 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24391 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24392 |
esac |
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
24393 |
ac_MKDIR_P=$MKDIR_P |
24394 |
case $MKDIR_P in |
|
24395 |
[\\/$]* | ?:[\\/]* ) ;; |
|
24396 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
24397 |
esac |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24398 |
_ACEOF |
24399 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24400 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24401 |
# If the template does not know about datarootdir, expand it. |
24402 |
# FIXME: This hack should be removed a few years after 2.60. |
|
24403 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
24404 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24405 |
ac_sed_dataroot=' |
24406 |
/datarootdir/ { |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24407 |
p |
24408 |
q |
|
24409 |
} |
|
24410 |
/@datadir@/p |
|
24411 |
/@docdir@/p |
|
24412 |
/@infodir@/p |
|
24413 |
/@localedir@/p |
|
24414 |
/@mandir@/p |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24415 |
' |
24416 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24417 |
*datarootdir*) ac_datarootdir_seen=yes;; |
24418 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24419 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
24420 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24421 |
_ACEOF |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24422 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24423 |
ac_datarootdir_hack=' |
24424 |
s&@datadir@&$datadir&g |
|
24425 |
s&@docdir@&$docdir&g |
|
24426 |
s&@infodir@&$infodir&g |
|
24427 |
s&@localedir@&$localedir&g |
|
24428 |
s&@mandir@&$mandir&g |
|
24429 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
24430 |
esac |
|
24431 |
_ACEOF |
|
24432 |
||
24433 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
24434 |
# Shell code in configure.ac might set extrasub. |
|
24435 |
# FIXME: do we really want to maintain this feature? |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24436 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
24437 |
ac_sed_extra="$ac_vpsub |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24438 |
$extrasub |
24439 |
_ACEOF |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24440 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24441 |
:t |
24442 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24443 |
s|@configure_input@|$ac_sed_conf_input|;t t |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24444 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24445 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24446 |
s&@srcdir@&$ac_srcdir&;t t |
24447 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
24448 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
24449 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
24450 |
s&@builddir@&$ac_builddir&;t t |
|
24451 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
24452 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
24453 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
1.2.38
by Sebastien Bacher
Import upstream version 1.17.5 |
24454 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24455 |
$ac_datarootdir_hack |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24456 |
" |
24457 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|
24458 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
24459 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
24460 |
{ (exit 1); exit 1; }; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24461 |
|
24462 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
24463 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
24464 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24465 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24466 |
which seems to be undefined. Please make sure it is defined." >&5 |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24467 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24468 |
which seems to be undefined. Please make sure it is defined." >&2;} |
24469 |
||
24470 |
rm -f "$tmp/stdin" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24471 |
case $ac_file in |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24472 |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
24473 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
|
24474 |
esac \ |
|
24475 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
24476 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
24477 |
{ (exit 1); exit 1; }; } |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24478 |
;; |
24479 |
:H) |
|
24480 |
# |
|
24481 |
# CONFIG_HEADER |
|
24482 |
# |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24483 |
if test x"$ac_file" != x-; then |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24484 |
{ |
24485 |
$as_echo "/* $configure_input */" \ |
|
24486 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
|
24487 |
} >"$tmp/config.h" \ |
|
24488 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
24489 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
24490 |
{ (exit 1); exit 1; }; } |
|
24491 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
|
24492 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
24493 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24494 |
else |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24495 |
rm -f "$ac_file" |
24496 |
mv "$tmp/config.h" "$ac_file" \ |
|
24497 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
24498 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
24499 |
{ (exit 1); exit 1; }; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24500 |
fi |
24501 |
else |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24502 |
$as_echo "/* $configure_input */" \ |
24503 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
|
24504 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
|
24505 |
$as_echo "$as_me: error: could not create -" >&2;} |
|
24506 |
{ (exit 1); exit 1; }; } |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24507 |
fi |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24508 |
# Compute "$ac_file"'s index in $config_headers. |
24509 |
_am_arg="$ac_file" |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24510 |
_am_stamp_count=1 |
24511 |
for _am_header in $config_headers :; do |
|
24512 |
case $_am_header in |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
24513 |
$_am_arg | $_am_arg:* ) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24514 |
break ;; |
24515 |
* ) |
|
24516 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
24517 |
esac |
|
24518 |
done |
|
1.2.50
by Josselin Mouette
Import upstream version 1.20.3 |
24519 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
24520 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
24521 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
24522 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
24523 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24524 |
$as_echo X"$_am_arg" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24525 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24526 |
s//\1/ |
|
24527 |
q |
|
24528 |
} |
|
24529 |
/^X\(\/\/\)[^/].*/{ |
|
24530 |
s//\1/ |
|
24531 |
q |
|
24532 |
} |
|
24533 |
/^X\(\/\/\)$/{ |
|
24534 |
s//\1/ |
|
24535 |
q |
|
24536 |
} |
|
24537 |
/^X\(\/\).*/{ |
|
24538 |
s//\1/ |
|
24539 |
q |
|
24540 |
} |
|
24541 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
24542 |
;; |
|
24543 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24544 |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
24545 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24546 |
;; |
24547 |
esac |
|
24548 |
||
24549 |
||
24550 |
case $ac_file$ac_mode in |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
24551 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
24552 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
24553 |
# are listed without --file. Let's play safe and only enable the eval |
|
24554 |
# if we detect the quoting. |
|
24555 |
case $CONFIG_FILES in |
|
24556 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
24557 |
*) set x $CONFIG_FILES ;; |
|
24558 |
esac |
|
24559 |
shift |
|
24560 |
for mf |
|
24561 |
do |
|
24562 |
# Strip MF so we end up with the name of the file. |
|
24563 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
24564 |
# Check whether this is an Automake generated Makefile or not. |
|
24565 |
# We used to match only the files named `Makefile.in', but |
|
24566 |
# some people rename them; so instead we look at the file content. |
|
24567 |
# Grep'ing the first line is not enough: some people post-process |
|
24568 |
# each Makefile.in and add a new line on top of each file to say so. |
|
24569 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
24570 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
24571 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
24572 |
dirpart=`$as_dirname -- "$mf" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24573 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24574 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
24575 |
X"$mf" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24576 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24577 |
$as_echo X"$mf" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24578 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24579 |
s//\1/ |
|
24580 |
q |
|
24581 |
} |
|
24582 |
/^X\(\/\/\)[^/].*/{ |
|
24583 |
s//\1/ |
|
24584 |
q |
|
24585 |
} |
|
24586 |
/^X\(\/\/\)$/{ |
|
24587 |
s//\1/ |
|
24588 |
q |
|
24589 |
} |
|
24590 |
/^X\(\/\).*/{ |
|
24591 |
s//\1/ |
|
24592 |
q |
|
24593 |
} |
|
24594 |
s/.*/./; q'` |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
24595 |
else |
24596 |
continue |
|
24597 |
fi |
|
24598 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
24599 |
# from the Makefile without running `make'. |
|
24600 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
24601 |
test -z "$DEPDIR" && continue |
|
24602 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
24603 |
test -z "am__include" && continue |
|
24604 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
24605 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
24606 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
24607 |
# Find all dependency output files, they are included files with |
|
24608 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
24609 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
24610 |
# expansion. |
|
24611 |
for file in `sed -n " |
|
24612 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
24613 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
24614 |
# Make sure the directory exists. |
|
24615 |
test -f "$dirpart/$file" && continue |
|
24616 |
fdir=`$as_dirname -- "$file" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24617 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24618 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
24619 |
X"$file" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24620 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24621 |
$as_echo X"$file" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24622 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24623 |
s//\1/ |
|
24624 |
q |
|
24625 |
} |
|
24626 |
/^X\(\/\/\)[^/].*/{ |
|
24627 |
s//\1/ |
|
24628 |
q |
|
24629 |
} |
|
24630 |
/^X\(\/\/\)$/{ |
|
24631 |
s//\1/ |
|
24632 |
q |
|
24633 |
} |
|
24634 |
/^X\(\/\).*/{ |
|
24635 |
s//\1/ |
|
24636 |
q |
|
24637 |
} |
|
24638 |
s/.*/./; q'` |
|
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
24639 |
{ as_dir=$dirpart/$fdir |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24640 |
case $as_dir in #( |
24641 |
-*) as_dir=./$as_dir;; |
|
24642 |
esac |
|
24643 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24644 |
as_dirs= |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24645 |
while :; do |
24646 |
case $as_dir in #( |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24647 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24648 |
*) as_qdir=$as_dir;; |
24649 |
esac |
|
24650 |
as_dirs="'$as_qdir' $as_dirs" |
|
24651 |
as_dir=`$as_dirname -- "$as_dir" || |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24652 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24653 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
24654 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24655 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24656 |
$as_echo X"$as_dir" | |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24657 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24658 |
s//\1/ |
|
24659 |
q |
|
24660 |
} |
|
24661 |
/^X\(\/\/\)[^/].*/{ |
|
24662 |
s//\1/ |
|
24663 |
q |
|
24664 |
} |
|
24665 |
/^X\(\/\/\)$/{ |
|
24666 |
s//\1/ |
|
24667 |
q |
|
24668 |
} |
|
24669 |
/^X\(\/\).*/{ |
|
24670 |
s//\1/ |
|
24671 |
q |
|
24672 |
} |
|
24673 |
s/.*/./; q'` |
|
24674 |
test -d "$as_dir" && break |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24675 |
done |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
24676 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
24677 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
24678 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24679 |
{ (exit 1); exit 1; }; }; } |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
24680 |
# echo "creating $dirpart/$file" |
24681 |
echo '# dummy' > "$dirpart/$file" |
|
24682 |
done |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24683 |
done |
1.2.62
by Josselin Mouette
Import upstream version 1.24.4 |
24684 |
} |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
24685 |
;; |
1.2.58
by Sebastian Dröge
Import upstream version 1.24.0 |
24686 |
"libtool":C) |
24687 |
||
24688 |
# See if we are running on zsh, and set the options which allow our |
|
24689 |
# commands through without removal of \ escapes. |
|
24690 |
if test -n "${ZSH_VERSION+set}" ; then |
|
24691 |
setopt NO_GLOB_SUBST |
|
24692 |
fi |
|
24693 |
||
24694 |
cfgfile="${ofile}T" |
|
24695 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
24696 |
$RM "$cfgfile" |
|
24697 |
||
24698 |
cat <<_LT_EOF >> "$cfgfile" |
|
24699 |
#! $SHELL |
|
24700 |
||
24701 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
24702 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
24703 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
24704 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
24705 |
# |
|
24706 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
24707 |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
|
24708 |
# Written by Gordon Matzigkeit, 1996 |
|
24709 |
# |
|
24710 |
# This file is part of GNU Libtool. |
|
24711 |
# |
|
24712 |
# GNU Libtool is free software; you can redistribute it and/or |
|
24713 |
# modify it under the terms of the GNU General Public License as |
|
24714 |
# published by the Free Software Foundation; either version 2 of |
|
24715 |
# the License, or (at your option) any later version. |
|
24716 |
# |
|
24717 |
# As a special exception to the GNU General Public License, |
|
24718 |
# if you distribute this file as part of a program or library that |
|
24719 |
# is built using GNU Libtool, you may include this file under the |
|
24720 |
# same distribution terms that you use for the rest of that program. |
|
24721 |
# |
|
24722 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
24723 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
24724 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
24725 |
# GNU General Public License for more details. |
|
24726 |
# |
|
24727 |
# You should have received a copy of the GNU General Public License |
|
24728 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
24729 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
24730 |
# obtained by writing to the Free Software Foundation, Inc., |
|
24731 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
24732 |
||
24733 |
||
24734 |
# The names of the tagged configurations supported by this script. |
|
24735 |
available_tags="CXX " |
|
24736 |
||
24737 |
# ### BEGIN LIBTOOL CONFIG |
|
24738 |
||
24739 |
# Assembler program. |
|
24740 |
AS=$AS |
|
24741 |
||
24742 |
# DLL creation program. |
|
24743 |
DLLTOOL=$DLLTOOL |
|
24744 |
||
24745 |
# Object dumper program. |
|
24746 |
OBJDUMP=$OBJDUMP |
|
24747 |
||
24748 |
# Whether or not to build static libraries. |
|
24749 |
build_old_libs=$enable_static |
|
24750 |
||
24751 |
# Which release of libtool.m4 was used? |
|
24752 |
macro_version=$macro_version |
|
24753 |
macro_revision=$macro_revision |
|
24754 |
||
24755 |
# Whether or not to build shared libraries. |
|
24756 |
build_libtool_libs=$enable_shared |
|
24757 |
||
24758 |
# What type of objects to build. |
|
24759 |
pic_mode=$pic_mode |
|
24760 |
||
24761 |
# Whether or not to optimize for fast installation. |
|
24762 |
fast_install=$enable_fast_install |
|
24763 |
||
24764 |
# The host system. |
|
24765 |
host_alias=$host_alias |
|
24766 |
host=$host |
|
24767 |
host_os=$host_os |
|
24768 |
||
24769 |
# The build system. |
|
24770 |
build_alias=$build_alias |
|
24771 |
build=$build |
|
24772 |
build_os=$build_os |
|
24773 |
||
24774 |
# A sed program that does not truncate output. |
|
24775 |
SED=$lt_SED |
|
24776 |
||
24777 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
24778 |
Xsed="\$SED -e 1s/^X//" |
|
24779 |
||
24780 |
# A grep program that handles long lines. |
|
24781 |
GREP=$lt_GREP |
|
24782 |
||
24783 |
# An ERE matcher. |
|
24784 |
EGREP=$lt_EGREP |
|
24785 |
||
24786 |
# A literal string matcher. |
|
24787 |
FGREP=$lt_FGREP |
|
24788 |
||
24789 |
# A BSD- or MS-compatible name lister. |
|
24790 |
NM=$lt_NM |
|
24791 |
||
24792 |
# Whether we need soft or hard links. |
|
24793 |
LN_S=$lt_LN_S |
|
24794 |
||
24795 |
# What is the maximum length of a command? |
|
24796 |
max_cmd_len=$max_cmd_len |
|
24797 |
||
24798 |
# Object file suffix (normally "o"). |
|
24799 |
objext=$ac_objext |
|
24800 |
||
24801 |
# Executable file suffix (normally ""). |
|
24802 |
exeext=$exeext |
|
24803 |
||
24804 |
# whether the shell understands "unset". |
|
24805 |
lt_unset=$lt_unset |
|
24806 |
||
24807 |
# turn spaces into newlines. |
|
24808 |
SP2NL=$lt_lt_SP2NL |
|
24809 |
||
24810 |
# turn newlines into spaces. |
|
24811 |
NL2SP=$lt_lt_NL2SP |
|
24812 |
||
24813 |
# How to create reloadable object files. |
|
24814 |
reload_flag=$lt_reload_flag |
|
24815 |
reload_cmds=$lt_reload_cmds |
|
24816 |
||
24817 |
# Method to check whether dependent libraries are shared objects. |
|
24818 |
deplibs_check_method=$lt_deplibs_check_method |
|
24819 |
||
24820 |
# Command to use when deplibs_check_method == "file_magic". |
|
24821 |
file_magic_cmd=$lt_file_magic_cmd |
|
24822 |
||
24823 |
# The archiver. |
|
24824 |
AR=$lt_AR |
|
24825 |
AR_FLAGS=$lt_AR_FLAGS |
|
24826 |
||
24827 |
# A symbol stripping program. |
|
24828 |
STRIP=$lt_STRIP |
|
24829 |
||
24830 |
# Commands used to install an old-style archive. |
|
24831 |
RANLIB=$lt_RANLIB |
|
24832 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
24833 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
24834 |
||
24835 |
# A C compiler. |
|
24836 |
LTCC=$lt_CC |
|
24837 |
||
24838 |
# LTCC compiler flags. |
|
24839 |
LTCFLAGS=$lt_CFLAGS |
|
24840 |
||
24841 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
24842 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
24843 |
||
24844 |
# Transform the output of nm in a proper C declaration. |
|
24845 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
24846 |
||
24847 |
# Transform the output of nm in a C name address pair. |
|
24848 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
24849 |
||
24850 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
24851 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
24852 |
||
24853 |
# The name of the directory that contains temporary libtool files. |
|
24854 |
objdir=$objdir |
|
24855 |
||
24856 |
# Shell to use when invoking shell scripts. |
|
24857 |
SHELL=$lt_SHELL |
|
24858 |
||
24859 |
# An echo program that does not interpret backslashes. |
|
24860 |
ECHO=$lt_ECHO |
|
24861 |
||
24862 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
24863 |
MAGIC_CMD=$MAGIC_CMD |
|
24864 |
||
24865 |
# Must we lock files when doing compilation? |
|
24866 |
need_locks=$lt_need_locks |
|
24867 |
||
24868 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
|
24869 |
DSYMUTIL=$lt_DSYMUTIL |
|
24870 |
||
24871 |
# Tool to change global to local symbols on Mac OS X. |
|
24872 |
NMEDIT=$lt_NMEDIT |
|
24873 |
||
24874 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
24875 |
LIPO=$lt_LIPO |
|
24876 |
||
24877 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
24878 |
OTOOL=$lt_OTOOL |
|
24879 |
||
24880 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
24881 |
OTOOL64=$lt_OTOOL64 |
|
24882 |
||
24883 |
# Old archive suffix (normally "a"). |
|
24884 |
libext=$libext |
|
24885 |
||
24886 |
# Shared library suffix (normally ".so"). |
|
24887 |
shrext_cmds=$lt_shrext_cmds |
|
24888 |
||
24889 |
# The commands to extract the exported symbol list from a shared archive. |
|
24890 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
24891 |
||
24892 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
24893 |
# restored at link time. |
|
24894 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
24895 |
||
24896 |
# Do we need the "lib" prefix for modules? |
|
24897 |
need_lib_prefix=$need_lib_prefix |
|
24898 |
||
24899 |
# Do we need a version for libraries? |
|
24900 |
need_version=$need_version |
|
24901 |
||
24902 |
# Library versioning type. |
|
24903 |
version_type=$version_type |
|
24904 |
||
24905 |
# Shared library runtime path variable. |
|
24906 |
runpath_var=$runpath_var |
|
24907 |
||
24908 |
# Shared library path variable. |
|
24909 |
shlibpath_var=$shlibpath_var |
|
24910 |
||
24911 |
# Is shlibpath searched before the hard-coded library search path? |
|
24912 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
24913 |
||
24914 |
# Format of library name prefix. |
|
24915 |
libname_spec=$lt_libname_spec |
|
24916 |
||
24917 |
# List of archive names. First name is the real one, the rest are links. |
|
24918 |
# The last name is the one that the linker finds with -lNAME |
|
24919 |
library_names_spec=$lt_library_names_spec |
|
24920 |
||
24921 |
# The coded name of the library, if different from the real name. |
|
24922 |
soname_spec=$lt_soname_spec |
|
24923 |
||
24924 |
# Command to use after installation of a shared archive. |
|
24925 |
postinstall_cmds=$lt_postinstall_cmds |
|
24926 |
||
24927 |
# Command to use after uninstallation of a shared archive. |
|
24928 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
24929 |
||
24930 |
# Commands used to finish a libtool library installation in a directory. |
|
24931 |
finish_cmds=$lt_finish_cmds |
|
24932 |
||
24933 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
24934 |
# not shown. |
|
24935 |
finish_eval=$lt_finish_eval |
|
24936 |
||
24937 |
# Whether we should hardcode library paths into libraries. |
|
24938 |
hardcode_into_libs=$hardcode_into_libs |
|
24939 |
||
24940 |
# Compile-time system search path for libraries. |
|
24941 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
24942 |
||
24943 |
# Run-time system search path for libraries. |
|
24944 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
24945 |
||
24946 |
# Whether dlopen is supported. |
|
24947 |
dlopen_support=$enable_dlopen |
|
24948 |
||
24949 |
# Whether dlopen of programs is supported. |
|
24950 |
dlopen_self=$enable_dlopen_self |
|
24951 |
||
24952 |
# Whether dlopen of statically linked programs is supported. |
|
24953 |
dlopen_self_static=$enable_dlopen_self_static |
|
24954 |
||
24955 |
# Commands to strip libraries. |
|
24956 |
old_striplib=$lt_old_striplib |
|
24957 |
striplib=$lt_striplib |
|
24958 |
||
24959 |
||
24960 |
# The linker used to build libraries. |
|
24961 |
LD=$lt_LD |
|
24962 |
||
24963 |
# Commands used to build an old-style archive. |
|
24964 |
old_archive_cmds=$lt_old_archive_cmds |
|
24965 |
||
24966 |
# A language specific compiler. |
|
24967 |
CC=$lt_compiler |
|
24968 |
||
24969 |
# Is the compiler the GNU compiler? |
|
24970 |
with_gcc=$GCC |
|
24971 |
||
24972 |
# Compiler flag to turn off builtin functions. |
|
24973 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
24974 |
||
24975 |
# How to pass a linker flag through the compiler. |
|
24976 |
wl=$lt_lt_prog_compiler_wl |
|
24977 |
||
24978 |
# Additional compiler flags for building library objects. |
|
24979 |
pic_flag=$lt_lt_prog_compiler_pic |
|
24980 |
||
24981 |
# Compiler flag to prevent dynamic linking. |
|
24982 |
link_static_flag=$lt_lt_prog_compiler_static |
|
24983 |
||
24984 |
# Does compiler simultaneously support -c and -o options? |
|
24985 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
24986 |
||
24987 |
# Whether or not to add -lc for building shared libraries. |
|
24988 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
24989 |
||
24990 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
24991 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
24992 |
||
24993 |
# Compiler flag to allow reflexive dlopens. |
|
24994 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
24995 |
||
24996 |
# Compiler flag to generate shared objects directly from archives. |
|
24997 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
24998 |
||
24999 |
# Whether the compiler copes with passing no objects directly. |
|
25000 |
compiler_needs_object=$lt_compiler_needs_object |
|
25001 |
||
25002 |
# Create an old-style archive from a shared archive. |
|
25003 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
25004 |
||
25005 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
25006 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
25007 |
||
25008 |
# Commands used to build a shared archive. |
|
25009 |
archive_cmds=$lt_archive_cmds |
|
25010 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
25011 |
||
25012 |
# Commands used to build a loadable module if different from building |
|
25013 |
# a shared archive. |
|
25014 |
module_cmds=$lt_module_cmds |
|
25015 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
25016 |
||
25017 |
# Whether we are building with GNU ld or not. |
|
25018 |
with_gnu_ld=$lt_with_gnu_ld |
|
25019 |
||
25020 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
25021 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
25022 |
||
25023 |
# Flag that enforces no undefined symbols. |
|
25024 |
no_undefined_flag=$lt_no_undefined_flag |
|
25025 |
||
25026 |
# Flag to hardcode \$libdir into a binary during linking. |
|
25027 |
# This must work even if \$libdir does not exist |
|
25028 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
25029 |
||
25030 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
25031 |
# during linking. This must work even if \$libdir does not exist. |
|
25032 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
25033 |
||
25034 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
25035 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
25036 |
||
25037 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
25038 |
# DIR into the resulting binary. |
|
25039 |
hardcode_direct=$hardcode_direct |
|
25040 |
||
25041 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
25042 |
# DIR into the resulting binary and the resulting library dependency is |
|
25043 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
25044 |
# library is relocated. |
|
25045 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
25046 |
||
25047 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
25048 |
# into the resulting binary. |
|
25049 |
hardcode_minus_L=$hardcode_minus_L |
|
25050 |
||
25051 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
25052 |
# into the resulting binary. |
|
25053 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
25054 |
||
25055 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
25056 |
# into the library and all subsequent libraries and executables linked |
|
25057 |
# against it. |
|
25058 |
hardcode_automatic=$hardcode_automatic |
|
25059 |
||
25060 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
25061 |
# to runtime path list. |
|
25062 |
inherit_rpath=$inherit_rpath |
|
25063 |
||
25064 |
# Whether libtool must link a program against all its dependency libraries. |
|
25065 |
link_all_deplibs=$link_all_deplibs |
|
25066 |
||
25067 |
# Fix the shell variable \$srcfile for the compiler. |
|
25068 |
fix_srcfile_path=$lt_fix_srcfile_path |
|
25069 |
||
25070 |
# Set to "yes" if exported symbols are required. |
|
25071 |
always_export_symbols=$always_export_symbols |
|
25072 |
||
25073 |
# The commands to list exported symbols. |
|
25074 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
25075 |
||
25076 |
# Symbols that should not be listed in the preloaded symbols. |
|
25077 |
exclude_expsyms=$lt_exclude_expsyms |
|
25078 |
||
25079 |
# Symbols that must always be exported. |
|
25080 |
include_expsyms=$lt_include_expsyms |
|
25081 |
||
25082 |
# Commands necessary for linking programs (against libraries) with templates. |
|
25083 |
prelink_cmds=$lt_prelink_cmds |
|
25084 |
||
25085 |
# Specify filename containing input files. |
|
25086 |
file_list_spec=$lt_file_list_spec |
|
25087 |
||
25088 |
# How to hardcode a shared library path into an executable. |
|
25089 |
hardcode_action=$hardcode_action |
|
25090 |
||
25091 |
# The directories searched by this compiler when creating a shared library. |
|
25092 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
|
25093 |
||
25094 |
# Dependencies to place before and after the objects being linked to |
|
25095 |
# create a shared library. |
|
25096 |
predep_objects=$lt_predep_objects |
|
25097 |
postdep_objects=$lt_postdep_objects |
|
25098 |
predeps=$lt_predeps |
|
25099 |
postdeps=$lt_postdeps |
|
25100 |
||
25101 |
# The library search path used internally by the compiler when linking |
|
25102 |
# a shared library. |
|
25103 |
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
25104 |
||
25105 |
# ### END LIBTOOL CONFIG |
|
25106 |
||
25107 |
_LT_EOF |
|
25108 |
||
25109 |
case $host_os in |
|
25110 |
aix3*) |
|
25111 |
cat <<\_LT_EOF >> "$cfgfile" |
|
25112 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
25113 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
25114 |
# vanish in a puff of smoke. |
|
25115 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
25116 |
COLLECT_NAMES= |
|
25117 |
export COLLECT_NAMES |
|
25118 |
fi |
|
25119 |
_LT_EOF |
|
25120 |
;; |
|
25121 |
esac |
|
25122 |
||
25123 |
||
25124 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
25125 |
||
25126 |
||
25127 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
25128 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
25129 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
25130 |
# is reportedly fixed, but why not run on old versions too? |
|
25131 |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
|
25132 |
|| (rm -f "$cfgfile"; exit 1) |
|
25133 |
||
25134 |
case $xsi_shell in |
|
25135 |
yes) |
|
25136 |
cat << \_LT_EOF >> "$cfgfile" |
|
25137 |
||
25138 |
# func_dirname file append nondir_replacement |
|
25139 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
25140 |
# otherwise set result to NONDIR_REPLACEMENT. |
|
25141 |
func_dirname () |
|
25142 |
{ |
|
25143 |
case ${1} in |
|
25144 |
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
25145 |
* ) func_dirname_result="${3}" ;; |
|
25146 |
esac |
|
25147 |
} |
|
25148 |
||
25149 |
# func_basename file |
|
25150 |
func_basename () |
|
25151 |
{ |
|
25152 |
func_basename_result="${1##*/}" |
|
25153 |
} |
|
25154 |
||
25155 |
# func_dirname_and_basename file append nondir_replacement |
|
25156 |
# perform func_basename and func_dirname in a single function |
|
25157 |
# call: |
|
25158 |
# dirname: Compute the dirname of FILE. If nonempty, |
|
25159 |
# add APPEND to the result, otherwise set result |
|
25160 |
# to NONDIR_REPLACEMENT. |
|
25161 |
# value returned in "$func_dirname_result" |
|
25162 |
# basename: Compute filename of FILE. |
|
25163 |
# value retuned in "$func_basename_result" |
|
25164 |
# Implementation must be kept synchronized with func_dirname |
|
25165 |
# and func_basename. For efficiency, we do not delegate to |
|
25166 |
# those functions but instead duplicate the functionality here. |
|
25167 |
func_dirname_and_basename () |
|
25168 |
{ |
|
25169 |
case ${1} in |
|
25170 |
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
25171 |
* ) func_dirname_result="${3}" ;; |
|
25172 |
esac |
|
25173 |
func_basename_result="${1##*/}" |
|
25174 |
} |
|
25175 |
||
25176 |
# func_stripname prefix suffix name |
|
25177 |
# strip PREFIX and SUFFIX off of NAME. |
|
25178 |
# PREFIX and SUFFIX must not contain globbing or regex special |
|
25179 |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
|
25180 |
# dot (in which case that matches only a dot). |
|
25181 |
func_stripname () |
|
25182 |
{ |
|
25183 |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
|
25184 |
# positional parameters, so assign one to ordinary parameter first. |
|
25185 |
func_stripname_result=${3} |
|
25186 |
func_stripname_result=${func_stripname_result#"${1}"} |
|
25187 |
func_stripname_result=${func_stripname_result%"${2}"} |
|
25188 |
} |
|
25189 |
||
25190 |
# func_opt_split |
|
25191 |
func_opt_split () |
|
25192 |
{ |
|
25193 |
func_opt_split_opt=${1%%=*} |
|
25194 |
func_opt_split_arg=${1#*=} |
|
25195 |
} |
|
25196 |
||
25197 |
# func_lo2o object |
|
25198 |
func_lo2o () |
|
25199 |
{ |
|
25200 |
case ${1} in |
|
25201 |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
|
25202 |
*) func_lo2o_result=${1} ;; |
|
25203 |
esac |
|
25204 |
} |
|
25205 |
||
25206 |
# func_xform libobj-or-source |
|
25207 |
func_xform () |
|
25208 |
{ |
|
25209 |
func_xform_result=${1%.*}.lo |
|
25210 |
} |
|
25211 |
||
25212 |
# func_arith arithmetic-term... |
|
25213 |
func_arith () |
|
25214 |
{ |
|
25215 |
func_arith_result=$(( $* )) |
|
25216 |
} |
|
25217 |
||
25218 |
# func_len string |
|
25219 |
# STRING may not start with a hyphen. |
|
25220 |
func_len () |
|
25221 |
{ |
|
25222 |
func_len_result=${#1} |
|
25223 |
} |
|
25224 |
||
25225 |
_LT_EOF |
|
25226 |
;; |
|
25227 |
*) # Bourne compatible functions. |
|
25228 |
cat << \_LT_EOF >> "$cfgfile" |
|
25229 |
||
25230 |
# func_dirname file append nondir_replacement |
|
25231 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
25232 |
# otherwise set result to NONDIR_REPLACEMENT. |
|
25233 |
func_dirname () |
|
25234 |
{ |
|
25235 |
# Extract subdirectory from the argument. |
|
25236 |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
|
25237 |
if test "X$func_dirname_result" = "X${1}"; then |
|
25238 |
func_dirname_result="${3}" |
|
25239 |
else |
|
25240 |
func_dirname_result="$func_dirname_result${2}" |
|
25241 |
fi |
|
25242 |
} |
|
25243 |
||
25244 |
# func_basename file |
|
25245 |
func_basename () |
|
25246 |
{ |
|
25247 |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
|
25248 |
} |
|
25249 |
||
25250 |
||
25251 |
# func_stripname prefix suffix name |
|
25252 |
# strip PREFIX and SUFFIX off of NAME. |
|
25253 |
# PREFIX and SUFFIX must not contain globbing or regex special |
|
25254 |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
|
25255 |
# dot (in which case that matches only a dot). |
|
25256 |
# func_strip_suffix prefix name |
|
25257 |
func_stripname () |
|
25258 |
{ |
|
25259 |
case ${2} in |
|
25260 |
.*) func_stripname_result=`$ECHO "X${3}" \ |
|
25261 |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
|
25262 |
*) func_stripname_result=`$ECHO "X${3}" \ |
|
25263 |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
|
25264 |
esac |
|
25265 |
} |
|
25266 |
||
25267 |
# sed scripts: |
|
25268 |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
|
25269 |
my_sed_long_arg='1s/^-[^=]*=//' |
|
25270 |
||
25271 |
# func_opt_split |
|
25272 |
func_opt_split () |
|
25273 |
{ |
|
25274 |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
|
25275 |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
|
25276 |
} |
|
25277 |
||
25278 |
# func_lo2o object |
|
25279 |
func_lo2o () |
|
25280 |
{ |
|
25281 |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
|
25282 |
} |
|
25283 |
||
25284 |
# func_xform libobj-or-source |
|
25285 |
func_xform () |
|
25286 |
{ |
|
25287 |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
|
25288 |
} |
|
25289 |
||
25290 |
# func_arith arithmetic-term... |
|
25291 |
func_arith () |
|
25292 |
{ |
|
25293 |
func_arith_result=`expr "$@"` |
|
25294 |
} |
|
25295 |
||
25296 |
# func_len string |
|
25297 |
# STRING may not start with a hyphen. |
|
25298 |
func_len () |
|
25299 |
{ |
|
25300 |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
|
25301 |
} |
|
25302 |
||
25303 |
_LT_EOF |
|
25304 |
esac |
|
25305 |
||
25306 |
case $lt_shell_append in |
|
25307 |
yes) |
|
25308 |
cat << \_LT_EOF >> "$cfgfile" |
|
25309 |
||
25310 |
# func_append var value |
|
25311 |
# Append VALUE to the end of shell variable VAR. |
|
25312 |
func_append () |
|
25313 |
{ |
|
25314 |
eval "$1+=\$2" |
|
25315 |
} |
|
25316 |
_LT_EOF |
|
25317 |
;; |
|
25318 |
*) |
|
25319 |
cat << \_LT_EOF >> "$cfgfile" |
|
25320 |
||
25321 |
# func_append var value |
|
25322 |
# Append VALUE to the end of shell variable VAR. |
|
25323 |
func_append () |
|
25324 |
{ |
|
25325 |
eval "$1=\$$1\$2" |
|
25326 |
} |
|
25327 |
||
25328 |
_LT_EOF |
|
25329 |
;; |
|
25330 |
esac |
|
25331 |
||
25332 |
||
25333 |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
|
25334 |
|| (rm -f "$cfgfile"; exit 1) |
|
25335 |
||
25336 |
mv -f "$cfgfile" "$ofile" || |
|
25337 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
25338 |
chmod +x "$ofile" |
|
25339 |
||
25340 |
||
25341 |
cat <<_LT_EOF >> "$ofile" |
|
25342 |
||
25343 |
# ### BEGIN LIBTOOL TAG CONFIG: CXX |
|
25344 |
||
25345 |
# The linker used to build libraries. |
|
25346 |
LD=$lt_LD_CXX |
|
25347 |
||
25348 |
# Commands used to build an old-style archive. |
|
25349 |
old_archive_cmds=$lt_old_archive_cmds_CXX |
|
25350 |
||
25351 |
# A language specific compiler. |
|
25352 |
CC=$lt_compiler_CXX |
|
25353 |
||
25354 |
# Is the compiler the GNU compiler? |
|
25355 |
with_gcc=$GCC_CXX |
|
25356 |
||
25357 |
# Compiler flag to turn off builtin functions. |
|
25358 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
|
25359 |
||
25360 |
# How to pass a linker flag through the compiler. |
|
25361 |
wl=$lt_lt_prog_compiler_wl_CXX |
|
25362 |
||
25363 |
# Additional compiler flags for building library objects. |
|
25364 |
pic_flag=$lt_lt_prog_compiler_pic_CXX |
|
25365 |
||
25366 |
# Compiler flag to prevent dynamic linking. |
|
25367 |
link_static_flag=$lt_lt_prog_compiler_static_CXX |
|
25368 |
||
25369 |
# Does compiler simultaneously support -c and -o options? |
|
25370 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
|
25371 |
||
25372 |
# Whether or not to add -lc for building shared libraries. |
|
25373 |
build_libtool_need_lc=$archive_cmds_need_lc_CXX |
|
25374 |
||
25375 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
25376 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
|
25377 |
||
25378 |
# Compiler flag to allow reflexive dlopens. |
|
25379 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
|
25380 |
||
25381 |
# Compiler flag to generate shared objects directly from archives. |
|
25382 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
|
25383 |
||
25384 |
# Whether the compiler copes with passing no objects directly. |
|
25385 |
compiler_needs_object=$lt_compiler_needs_object_CXX |
|
25386 |
||
25387 |
# Create an old-style archive from a shared archive. |
|
25388 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
|
25389 |
||
25390 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
25391 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
|
25392 |
||
25393 |
# Commands used to build a shared archive. |
|
25394 |
archive_cmds=$lt_archive_cmds_CXX |
|
25395 |
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
|
25396 |
||
25397 |
# Commands used to build a loadable module if different from building |
|
25398 |
# a shared archive. |
|
25399 |
module_cmds=$lt_module_cmds_CXX |
|
25400 |
module_expsym_cmds=$lt_module_expsym_cmds_CXX |
|
25401 |
||
25402 |
# Whether we are building with GNU ld or not. |
|
25403 |
with_gnu_ld=$lt_with_gnu_ld_CXX |
|
25404 |
||
25405 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
25406 |
allow_undefined_flag=$lt_allow_undefined_flag_CXX |
|
25407 |
||
25408 |
# Flag that enforces no undefined symbols. |
|
25409 |
no_undefined_flag=$lt_no_undefined_flag_CXX |
|
25410 |
||
25411 |
# Flag to hardcode \$libdir into a binary during linking. |
|
25412 |
# This must work even if \$libdir does not exist |
|
25413 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
|
25414 |
||
25415 |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
25416 |
# during linking. This must work even if \$libdir does not exist. |
|
25417 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX |
|
25418 |
||
25419 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
25420 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
|
25421 |
||
25422 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
25423 |
# DIR into the resulting binary. |
|
25424 |
hardcode_direct=$hardcode_direct_CXX |
|
25425 |
||
25426 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
25427 |
# DIR into the resulting binary and the resulting library dependency is |
|
25428 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
25429 |
# library is relocated. |
|
25430 |
hardcode_direct_absolute=$hardcode_direct_absolute_CXX |
|
25431 |
||
25432 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
25433 |
# into the resulting binary. |
|
25434 |
hardcode_minus_L=$hardcode_minus_L_CXX |
|
25435 |
||
25436 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
25437 |
# into the resulting binary. |
|
25438 |
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
|
25439 |
||
25440 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
25441 |
# into the library and all subsequent libraries and executables linked |
|
25442 |
# against it. |
|
25443 |
hardcode_automatic=$hardcode_automatic_CXX |
|
25444 |
||
25445 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
25446 |
# to runtime path list. |
|
25447 |
inherit_rpath=$inherit_rpath_CXX |
|
25448 |
||
25449 |
# Whether libtool must link a program against all its dependency libraries. |
|
25450 |
link_all_deplibs=$link_all_deplibs_CXX |
|
25451 |
||
25452 |
# Fix the shell variable \$srcfile for the compiler. |
|
25453 |
fix_srcfile_path=$lt_fix_srcfile_path_CXX |
|
25454 |
||
25455 |
# Set to "yes" if exported symbols are required. |
|
25456 |
always_export_symbols=$always_export_symbols_CXX |
|
25457 |
||
25458 |
# The commands to list exported symbols. |
|
25459 |
export_symbols_cmds=$lt_export_symbols_cmds_CXX |
|
25460 |
||
25461 |
# Symbols that should not be listed in the preloaded symbols. |
|
25462 |
exclude_expsyms=$lt_exclude_expsyms_CXX |
|
25463 |
||
25464 |
# Symbols that must always be exported. |
|
25465 |
include_expsyms=$lt_include_expsyms_CXX |
|
25466 |
||
25467 |
# Commands necessary for linking programs (against libraries) with templates. |
|
25468 |
prelink_cmds=$lt_prelink_cmds_CXX |
|
25469 |
||
25470 |
# Specify filename containing input files. |
|
25471 |
file_list_spec=$lt_file_list_spec_CXX |
|
25472 |
||
25473 |
# How to hardcode a shared library path into an executable. |
|
25474 |
hardcode_action=$hardcode_action_CXX |
|
25475 |
||
25476 |
# The directories searched by this compiler when creating a shared library. |
|
25477 |
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX |
|
25478 |
||
25479 |
# Dependencies to place before and after the objects being linked to |
|
25480 |
# create a shared library. |
|
25481 |
predep_objects=$lt_predep_objects_CXX |
|
25482 |
postdep_objects=$lt_postdep_objects_CXX |
|
25483 |
predeps=$lt_predeps_CXX |
|
25484 |
postdeps=$lt_postdeps_CXX |
|
25485 |
||
25486 |
# The library search path used internally by the compiler when linking |
|
25487 |
# a shared library. |
|
25488 |
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
|
25489 |
||
25490 |
# ### END LIBTOOL TAG CONFIG: CXX |
|
25491 |
_LT_EOF |
|
25492 |
||
25493 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25494 |
"pango/module-defs.h":C) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25495 |
cat > pango/module-defs.h <<EOTEXT |
25496 |
/* Autogenerated by configure. Do not edit */ |
|
25497 |
||
25498 |
#include "modules.h" |
|
25499 |
||
25500 |
EOTEXT |
|
25501 |
||
25502 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS="," |
|
25503 |
for module in $included_modules; do |
|
25504 |
module_c=`echo $module | sed s/-/_/` |
|
25505 |
cat >> pango/module-defs.h <<EOTEXT |
|
25506 |
extern void _pango_${module_c}_script_engine_list (PangoEngineInfo **engines, int *n_engines); |
|
25507 |
extern PangoEngine *_pango_${module_c}_script_engine_init (GTypeModule *module); |
|
25508 |
extern void _pango_${module_c}_script_engine_exit (void); |
|
25509 |
extern void _pango_${module_c}_script_engine_create (const char *id); |
|
25510 |
||
25511 |
EOTEXT |
|
25512 |
done |
|
25513 |
||
25514 |
IFS="$pango_save_ifs" |
|
25515 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25516 |
"pango/module-defs-x.c":C) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25517 |
### X modules |
25518 |
cat > pango/module-defs-x.c <<EOTEXT |
|
25519 |
/* Autogenerated by configure. Do not edit */ |
|
25520 |
||
25521 |
#include "module-defs.h" |
|
25522 |
||
25523 |
PangoIncludedModule _pango_included_x_modules[] = { |
|
25524 |
EOTEXT |
|
25525 |
||
25526 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS="," |
|
25527 |
for module in $included_modules; do |
|
25528 |
if echo $module | egrep -- "-x($|,)" > /dev/null; then |
|
25529 |
module_c=`echo $module | sed s/-/_/` |
|
25530 |
cat >> pango/module-defs-x.c <<EOTEXT |
|
25531 |
{ _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create }, |
|
25532 |
EOTEXT |
|
25533 |
fi |
|
25534 |
done |
|
25535 |
||
25536 |
IFS="$pango_save_ifs" |
|
25537 |
||
25538 |
cat >> pango/module-defs-x.c <<EOTEXT |
|
25539 |
{ NULL, NULL, NULL, NULL }, |
|
25540 |
}; |
|
25541 |
EOTEXT |
|
25542 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25543 |
"pango/module-defs-fc.c":C) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25544 |
### FC modules |
25545 |
cat > pango/module-defs-fc.c <<EOTEXT |
|
25546 |
/* Autogenerated by configure. Do not edit */ |
|
25547 |
||
25548 |
#include "module-defs.h" |
|
25549 |
||
25550 |
PangoIncludedModule _pango_included_fc_modules[] = { |
|
25551 |
EOTEXT |
|
25552 |
||
25553 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS="," |
|
25554 |
for module in $included_modules; do |
|
25555 |
if echo $module | egrep -- "-fc($|,)" > /dev/null; then |
|
25556 |
module_c=`echo $module | sed s/-/_/` |
|
25557 |
cat >> pango/module-defs-fc.c <<EOTEXT |
|
25558 |
{ _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create }, |
|
25559 |
EOTEXT |
|
25560 |
fi |
|
25561 |
done |
|
25562 |
||
25563 |
IFS="$pango_save_ifs" |
|
25564 |
||
25565 |
cat >> pango/module-defs-fc.c <<EOTEXT |
|
25566 |
{ NULL, NULL, NULL, NULL }, |
|
25567 |
}; |
|
25568 |
EOTEXT |
|
25569 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25570 |
"pango/module-defs-win32.c":C) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25571 |
### Win32 modules |
25572 |
cat > pango/module-defs-win32.c <<EOTEXT |
|
25573 |
/* Autogenerated by configure. Do not edit */ |
|
25574 |
||
25575 |
#include "module-defs.h" |
|
25576 |
||
25577 |
PangoIncludedModule _pango_included_win32_modules[] = { |
|
25578 |
EOTEXT |
|
25579 |
||
25580 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS="," |
|
25581 |
for module in $included_modules; do |
|
25582 |
if echo $module | egrep -- "-win32($|,)" > /dev/null; then |
|
25583 |
module_c=`echo $module | sed s/-/_/` |
|
25584 |
cat >> pango/module-defs-win32.c <<EOTEXT |
|
25585 |
{ _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create }, |
|
25586 |
EOTEXT |
|
25587 |
fi |
|
25588 |
done |
|
25589 |
||
25590 |
IFS="$pango_save_ifs" |
|
25591 |
||
25592 |
cat >> pango/module-defs-win32.c <<EOTEXT |
|
25593 |
{ NULL, NULL, NULL, NULL }, |
|
25594 |
}; |
|
25595 |
EOTEXT |
|
25596 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25597 |
"pango/module-defs-atsui.c":C) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25598 |
### ATSUI modules |
25599 |
cat > pango/module-defs-atsui.c <<EOTEXT |
|
25600 |
/* Autogenerated by configure. Do not edit */ |
|
25601 |
||
25602 |
#include "module-defs.h" |
|
25603 |
||
25604 |
PangoIncludedModule _pango_included_atsui_modules[] = { |
|
25605 |
EOTEXT |
|
25606 |
||
25607 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS="," |
|
25608 |
for module in $included_modules; do |
|
25609 |
if echo $module | egrep -- "-atsui($|,)" > /dev/null; then |
|
25610 |
module_c=`echo $module | sed s/-/_/` |
|
25611 |
cat >> pango/module-defs-atsui.c <<EOTEXT |
|
25612 |
{ _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create }, |
|
25613 |
EOTEXT |
|
25614 |
fi |
|
25615 |
done |
|
25616 |
||
25617 |
IFS="$pango_save_ifs" |
|
25618 |
||
25619 |
cat >> pango/module-defs-atsui.c <<EOTEXT |
|
25620 |
{ NULL, NULL, NULL, NULL }, |
|
25621 |
}; |
|
25622 |
EOTEXT |
|
25623 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25624 |
"pango/module-defs-lang.c":C) |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25625 |
### lang modules |
25626 |
cat > pango/module-defs-lang.c <<EOTEXT |
|
25627 |
/* Autogenerated by configure. Do not edit */ |
|
25628 |
||
25629 |
#include "module-defs.h" |
|
25630 |
||
25631 |
PangoIncludedModule _pango_included_lang_modules[] = { |
|
25632 |
EOTEXT |
|
25633 |
||
25634 |
IFS="${IFS= }"; pango_save_ifs="$IFS"; IFS="," |
|
25635 |
for module in $included_modules; do |
|
25636 |
if echo $module | egrep -- "-lang($|,)" > /dev/null; then |
|
25637 |
module_c=`echo $module | sed s/-/_/` |
|
25638 |
cat >> pango/module-defs-lang.c <<EOTEXT |
|
25639 |
{ _pango_${module_c}_script_engine_list, _pango_${module_c}_script_engine_init, _pango_${module_c}_script_engine_exit, _pango_${module_c}_script_engine_create }, |
|
25640 |
EOTEXT |
|
25641 |
fi |
|
25642 |
done |
|
25643 |
||
25644 |
IFS="$pango_save_ifs" |
|
25645 |
||
25646 |
cat >> pango/module-defs-lang.c <<EOTEXT |
|
25647 |
{ NULL, NULL, NULL, NULL }, |
|
25648 |
}; |
|
25649 |
EOTEXT |
|
25650 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25651 |
"pango/pango-features.h":C) featuresfile=pango/pango-features.h |
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
25652 |
outfile=$featuresfile.tmp |
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
25653 |
{ $as_echo "$as_me:$LINENO: creating $featuresfile" >&5 |
25654 |
$as_echo "$as_me: creating $featuresfile" >&6;} |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
25655 |
cat >$outfile <<_EOF |
25656 |
/* Generated by configure. Do not edit */ |
|
25657 |
#ifndef PANGO_FEATURES_H |
|
25658 |
#define PANGO_FEATURES_H |
|
25659 |
||
25660 |
#define PANGO_VERSION_MAJOR $PANGO_VERSION_MAJOR |
|
25661 |
#define PANGO_VERSION_MINOR $PANGO_VERSION_MINOR |
|
25662 |
#define PANGO_VERSION_MICRO $PANGO_VERSION_MICRO |
|
25663 |
||
25664 |
#define PANGO_VERSION_STRING "$PANGO_VERSION_MAJOR.$PANGO_VERSION_MINOR.$PANGO_VERSION_MICRO" |
|
25665 |
||
25666 |
_EOF |
|
25667 |
# TODO: define macros for enabled features/backends here |
|
25668 |
||
25669 |
echo '' >>$outfile |
|
25670 |
echo '#endif' >>$outfile |
|
25671 |
||
25672 |
if cmp -s $outfile $featuresfile; then |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
25673 |
{ $as_echo "$as_me:$LINENO: $featuresfile is unchanged" >&5 |
25674 |
$as_echo "$as_me: $featuresfile is unchanged" >&6;} |
|
1.2.26
by Sebastien Bacher
Import upstream version 1.15.4 |
25675 |
rm -f $outfile |
25676 |
else |
|
25677 |
mv $outfile $featuresfile |
|
25678 |
fi |
|
25679 |
;; |
|
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25680 |
"tests/runtests.sh":F) chmod +x tests/runtests.sh ;; |
25681 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25682 |
esac |
1.2.37
by Sebastien Bacher
Import upstream version 1.17.4 |
25683 |
done # for ac_tag |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25684 |
|
25685 |
||
25686 |
{ (exit 0); exit 0; } |
|
25687 |
_ACEOF |
|
25688 |
chmod +x $CONFIG_STATUS |
|
25689 |
ac_clean_files=$ac_clean_files_save |
|
25690 |
||
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
25691 |
test $ac_write_fail = 0 || |
25692 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|
25693 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|
25694 |
{ (exit 1); exit 1; }; } |
|
25695 |
||
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25696 |
|
25697 |
# configure is writing to config.log, and then calls config.status. |
|
25698 |
# config.status does its own redirection, appending to config.log. |
|
25699 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
25700 |
# by configure, so config.status won't be able to write to it; its |
|
25701 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
25702 |
# effectively closing config.log, so it can be properly (re)opened and |
|
25703 |
# appended to by config.status. When coming back to configure, we |
|
25704 |
# need to make the FD available again. |
|
25705 |
if test "$no_create" != yes; then |
|
25706 |
ac_cs_success=: |
|
25707 |
ac_config_status_args= |
|
25708 |
test "$silent" = yes && |
|
25709 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
25710 |
exec 5>/dev/null |
|
25711 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
25712 |
exec 5>>config.log |
|
25713 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
25714 |
# would make configure fail if this is the last instruction. |
|
25715 |
$ac_cs_success || { (exit 1); exit 1; } |
|
25716 |
fi |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
25717 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
1.2.54
by Sebastien Bacher
Import upstream version 1.22.1 |
25718 |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
25719 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
1.2.52
by Loic Minier
Import upstream version 1.21.6 |
25720 |
fi |
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25721 |
|
25722 |
||
25723 |
backends="" |
|
1.2.51
by Sebastien Bacher
Import upstream version 1.21.3 |
25724 |
if $have_cairo ; then backends="$backends Cairo"; fi |
25725 |
if $have_win32 ; then backends="$backends Win32"; fi |
|
25726 |
if $have_xft ; then backends="$backends Xft"; fi |
|
1.1.2
by Loic Minier
Import upstream version 1.14.8 |
25727 |
if $have_freetype && $have_fontconfig ; then backends="$backends FreeType"; fi |
25728 |
if $have_x ; then backends="$backends X"; fi |
|
25729 |
||
25730 |
echo "configuration: |
|
25731 |
backends:$backends" |