1
by Steve Kowalik
Import upstream version 0.4.0 |
1 |
#! /bin/sh
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
3 |
# Generated by GNU Autoconf 2.63 for desktop-switcher 0.4.6.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4 |
#
|
5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7 |
# This configure script is free software; the Free Software Foundation
|
8 |
# gives unlimited permission to copy, distribute and modify it.
|
|
9 |
## --------------------- ##
|
|
10 |
## M4sh Initialization. ##
|
|
11 |
## --------------------- ##
|
|
12 |
||
13 |
# Be more Bourne compatible
|
|
14 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
15 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
16 |
emulate sh |
|
17 |
NULLCMD=: |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
18 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
19 |
# is contrary to our usage. Disable this feature.
|
20 |
alias -g '${1+"$@"}'='"$@"' |
|
21 |
setopt NO_GLOB_SUBST |
|
22 |
else
|
|
23 |
case `(set -o) 2>/dev/null` in |
|
24 |
*posix*) set -o posix ;; |
|
25 |
esac
|
|
26 |
||
27 |
fi
|
|
28 |
||
29 |
||
30 |
||
31 |
||
32 |
# PATH needs CR
|
|
33 |
# Avoid depending upon Character Ranges.
|
|
34 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
35 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
36 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
37 |
as_cr_digits='0123456789' |
|
38 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
39 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
40 |
as_nl=' |
41 |
'
|
|
42 |
export as_nl
|
|
43 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
44 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
45 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
46 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
47 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
48 |
as_echo='printf %s\n' |
|
49 |
as_echo_n='printf %s' |
|
50 |
else
|
|
51 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
52 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
53 |
as_echo_n='/usr/ucb/echo -n' |
|
54 |
else
|
|
55 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
56 |
as_echo_n_body='eval |
|
57 |
arg=$1;
|
|
58 |
case $arg in
|
|
59 |
*"$as_nl"*)
|
|
60 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
61 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
62 |
esac;
|
|
63 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
64 |
'
|
|
65 |
export as_echo_n_body
|
|
66 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
67 |
fi
|
|
68 |
export as_echo_body
|
|
69 |
as_echo='sh -c $as_echo_body as_echo' |
|
70 |
fi
|
|
71 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
72 |
# The user is always right.
|
73 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
74 |
PATH_SEPARATOR=: |
75 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
77 |
PATH_SEPARATOR=';' |
|
78 |
}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
79 |
fi
|
80 |
||
81 |
# Support unset when possible.
|
|
82 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
83 |
as_unset=unset |
|
84 |
else
|
|
85 |
as_unset=false |
|
86 |
fi
|
|
87 |
||
88 |
||
89 |
# IFS
|
|
90 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
91 |
# there to prevent editors from complaining about space-tab.
|
|
92 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
93 |
# splitting by setting IFS to empty value.)
|
|
94 |
IFS=" "" $as_nl" |
|
95 |
||
96 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
97 |
case $0 in |
|
98 |
*[\\/]* ) as_myself=$0 ;; |
|
99 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
100 |
for as_dir in $PATH |
|
101 |
do
|
|
102 |
IFS=$as_save_IFS |
|
103 |
test -z "$as_dir" && as_dir=. |
|
104 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
105 |
done
|
|
106 |
IFS=$as_save_IFS |
|
107 |
||
108 |
;;
|
|
109 |
esac
|
|
110 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
111 |
# in which case we are not to be found in the path.
|
|
112 |
if test "x$as_myself" = x; then |
|
113 |
as_myself=$0 |
|
114 |
fi
|
|
115 |
if test ! -f "$as_myself"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
116 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
117 |
{ (exit 1); exit 1; } |
118 |
fi
|
|
119 |
||
120 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
121 |
for as_var in ENV MAIL MAILPATH
|
|
122 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
123 |
done
|
|
124 |
PS1='$ ' |
|
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
||
128 |
# NLS nuisances.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
129 |
LC_ALL=C |
130 |
export LC_ALL
|
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
133 |
|
134 |
# Required to use basename.
|
|
135 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
136 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
137 |
as_expr=expr |
|
138 |
else
|
|
139 |
as_expr=false |
|
140 |
fi
|
|
141 |
||
142 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
143 |
as_basename=basename |
|
144 |
else
|
|
145 |
as_basename=false |
|
146 |
fi
|
|
147 |
||
148 |
||
149 |
# Name of the executable.
|
|
150 |
as_me=`$as_basename -- "$0" || |
|
151 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
152 |
X"$0" : 'X\(//\)$' \| \ |
|
153 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
154 |
$as_echo X/"$0" | |
1
by Steve Kowalik
Import upstream version 0.4.0 |
155 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
156 |
s//\1/
|
|
157 |
q
|
|
158 |
}
|
|
159 |
/^X\/\(\/\/\)$/{
|
|
160 |
s//\1/
|
|
161 |
q
|
|
162 |
}
|
|
163 |
/^X\/\(\/\).*/{
|
|
164 |
s//\1/
|
|
165 |
q
|
|
166 |
}
|
|
167 |
s/.*/./; q'` |
|
168 |
||
169 |
# CDPATH.
|
|
170 |
$as_unset CDPATH
|
|
171 |
||
172 |
||
173 |
if test "x$CONFIG_SHELL" = x; then |
|
174 |
if (eval ":") 2>/dev/null; then |
|
175 |
as_have_required=yes |
|
176 |
else
|
|
177 |
as_have_required=no |
|
178 |
fi
|
|
179 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
180 |
if test $as_have_required = yes && (eval ": |
1
by Steve Kowalik
Import upstream version 0.4.0 |
181 |
(as_func_return () {
|
182 |
(exit \$1)
|
|
183 |
}
|
|
184 |
as_func_success () {
|
|
185 |
as_func_return 0
|
|
186 |
}
|
|
187 |
as_func_failure () {
|
|
188 |
as_func_return 1
|
|
189 |
}
|
|
190 |
as_func_ret_success () {
|
|
191 |
return 0
|
|
192 |
}
|
|
193 |
as_func_ret_failure () {
|
|
194 |
return 1
|
|
195 |
}
|
|
196 |
||
197 |
exitcode=0
|
|
198 |
if as_func_success; then
|
|
199 |
:
|
|
200 |
else
|
|
201 |
exitcode=1
|
|
202 |
echo as_func_success failed.
|
|
203 |
fi
|
|
204 |
||
205 |
if as_func_failure; then
|
|
206 |
exitcode=1
|
|
207 |
echo as_func_failure succeeded.
|
|
208 |
fi
|
|
209 |
||
210 |
if as_func_ret_success; then
|
|
211 |
:
|
|
212 |
else
|
|
213 |
exitcode=1
|
|
214 |
echo as_func_ret_success failed.
|
|
215 |
fi
|
|
216 |
||
217 |
if as_func_ret_failure; then
|
|
218 |
exitcode=1
|
|
219 |
echo as_func_ret_failure succeeded.
|
|
220 |
fi
|
|
221 |
||
222 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
223 |
:
|
|
224 |
else
|
|
225 |
exitcode=1
|
|
226 |
echo positional parameters were not saved.
|
|
227 |
fi
|
|
228 |
||
229 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
230 |
||
231 |
(
|
|
232 |
as_lineno_1=\$LINENO
|
|
233 |
as_lineno_2=\$LINENO
|
|
234 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
235 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
236 |
") 2> /dev/null; then |
|
237 |
: |
|
238 |
else
|
|
239 |
as_candidate_shells= |
|
240 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
241 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
242 |
do
|
|
243 |
IFS=$as_save_IFS |
|
244 |
test -z "$as_dir" && as_dir=. |
|
245 |
case $as_dir in |
|
246 |
/*)
|
|
247 |
for as_base in sh bash ksh sh5; do |
|
248 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
249 |
done;; |
|
250 |
esac
|
|
251 |
done
|
|
252 |
IFS=$as_save_IFS |
|
253 |
||
254 |
||
255 |
for as_shell in $as_candidate_shells $SHELL; do |
|
256 |
# Try only shells that exist, to save several forks.
|
|
257 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
258 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
|
259 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
260 |
emulate sh
|
|
261 |
NULLCMD=:
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
262 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
263 |
# is contrary to our usage. Disable this feature.
|
264 |
alias -g '${1+"$@"}'='"$@"'
|
|
265 |
setopt NO_GLOB_SUBST
|
|
266 |
else
|
|
267 |
case `(set -o) 2>/dev/null` in
|
|
268 |
*posix*) set -o posix ;;
|
|
269 |
esac
|
|
270 |
||
271 |
fi
|
|
272 |
||
273 |
||
274 |
:
|
|
275 |
_ASEOF
|
|
276 |
}; then |
|
277 |
CONFIG_SHELL=$as_shell |
|
278 |
as_have_required=yes |
|
279 |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
280 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
281 |
emulate sh
|
|
282 |
NULLCMD=:
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
283 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
284 |
# is contrary to our usage. Disable this feature.
|
285 |
alias -g '${1+"$@"}'='"$@"'
|
|
286 |
setopt NO_GLOB_SUBST
|
|
287 |
else
|
|
288 |
case `(set -o) 2>/dev/null` in
|
|
289 |
*posix*) set -o posix ;;
|
|
290 |
esac
|
|
291 |
||
292 |
fi
|
|
293 |
||
294 |
||
295 |
:
|
|
296 |
(as_func_return () {
|
|
297 |
(exit $1)
|
|
298 |
}
|
|
299 |
as_func_success () {
|
|
300 |
as_func_return 0
|
|
301 |
}
|
|
302 |
as_func_failure () {
|
|
303 |
as_func_return 1
|
|
304 |
}
|
|
305 |
as_func_ret_success () {
|
|
306 |
return 0
|
|
307 |
}
|
|
308 |
as_func_ret_failure () {
|
|
309 |
return 1
|
|
310 |
}
|
|
311 |
||
312 |
exitcode=0
|
|
313 |
if as_func_success; then
|
|
314 |
:
|
|
315 |
else
|
|
316 |
exitcode=1
|
|
317 |
echo as_func_success failed.
|
|
318 |
fi
|
|
319 |
||
320 |
if as_func_failure; then
|
|
321 |
exitcode=1
|
|
322 |
echo as_func_failure succeeded.
|
|
323 |
fi
|
|
324 |
||
325 |
if as_func_ret_success; then
|
|
326 |
:
|
|
327 |
else
|
|
328 |
exitcode=1
|
|
329 |
echo as_func_ret_success failed.
|
|
330 |
fi
|
|
331 |
||
332 |
if as_func_ret_failure; then
|
|
333 |
exitcode=1
|
|
334 |
echo as_func_ret_failure succeeded.
|
|
335 |
fi
|
|
336 |
||
337 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
338 |
:
|
|
339 |
else
|
|
340 |
exitcode=1
|
|
341 |
echo positional parameters were not saved.
|
|
342 |
fi
|
|
343 |
||
344 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
345 |
||
346 |
(
|
|
347 |
as_lineno_1=$LINENO
|
|
348 |
as_lineno_2=$LINENO
|
|
349 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
350 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
351 |
||
352 |
_ASEOF
|
|
353 |
}; then |
|
354 |
break
|
|
355 |
fi
|
|
356 |
||
357 |
fi
|
|
358 |
||
359 |
done
|
|
360 |
||
361 |
if test "x$CONFIG_SHELL" != x; then |
|
362 |
for as_var in BASH_ENV ENV
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
363 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
364 |
done
|
|
365 |
export CONFIG_SHELL
|
|
366 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
367 |
fi
|
368 |
||
369 |
||
370 |
if test $as_have_required = no; then |
|
371 |
echo This script requires a shell more modern than all the
|
|
372 |
echo shells that I found on your system. Please install a
|
|
373 |
echo modern shell, or manually run the script under such a
|
|
374 |
echo shell if you do have one. |
|
375 |
{ (exit 1); exit 1; } |
|
376 |
fi
|
|
377 |
||
378 |
||
379 |
fi
|
|
380 |
||
381 |
fi
|
|
382 |
||
383 |
||
384 |
||
385 |
(eval "as_func_return () { |
|
386 |
(exit \$1)
|
|
387 |
}
|
|
388 |
as_func_success () {
|
|
389 |
as_func_return 0
|
|
390 |
}
|
|
391 |
as_func_failure () {
|
|
392 |
as_func_return 1
|
|
393 |
}
|
|
394 |
as_func_ret_success () {
|
|
395 |
return 0
|
|
396 |
}
|
|
397 |
as_func_ret_failure () {
|
|
398 |
return 1
|
|
399 |
}
|
|
400 |
||
401 |
exitcode=0
|
|
402 |
if as_func_success; then
|
|
403 |
:
|
|
404 |
else
|
|
405 |
exitcode=1
|
|
406 |
echo as_func_success failed.
|
|
407 |
fi
|
|
408 |
||
409 |
if as_func_failure; then
|
|
410 |
exitcode=1
|
|
411 |
echo as_func_failure succeeded.
|
|
412 |
fi
|
|
413 |
||
414 |
if as_func_ret_success; then
|
|
415 |
:
|
|
416 |
else
|
|
417 |
exitcode=1
|
|
418 |
echo as_func_ret_success failed.
|
|
419 |
fi
|
|
420 |
||
421 |
if as_func_ret_failure; then
|
|
422 |
exitcode=1
|
|
423 |
echo as_func_ret_failure succeeded.
|
|
424 |
fi
|
|
425 |
||
426 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
427 |
:
|
|
428 |
else
|
|
429 |
exitcode=1
|
|
430 |
echo positional parameters were not saved.
|
|
431 |
fi
|
|
432 |
||
433 |
test \$exitcode = 0") || { |
|
434 |
echo No shell found that supports shell functions.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
435 |
echo Please tell bug-autoconf@gnu.org about your system,
|
436 |
echo including any error possibly output before this message.
|
|
437 |
echo This can help us improve future autoconf versions. |
|
438 |
echo Configuration will now proceed without shell functions.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
439 |
}
|
440 |
||
441 |
||
442 |
||
443 |
as_lineno_1=$LINENO |
|
444 |
as_lineno_2=$LINENO |
|
445 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
446 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
447 |
||
448 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
449 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
450 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
451 |
# does the real work. The second script uses 'N' to pair each
|
|
452 |
# line-number line with the line containing $LINENO, and appends
|
|
453 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
454 |
# case at line end.
|
|
455 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
456 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
457 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
458 |
sed -n '
|
|
459 |
p
|
|
460 |
/[$]LINENO/=
|
|
461 |
' <$as_myself | |
|
462 |
sed '
|
|
463 |
s/[$]LINENO.*/&-/
|
|
464 |
t lineno
|
|
465 |
b
|
|
466 |
:lineno
|
|
467 |
N
|
|
468 |
:loop
|
|
469 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
470 |
t loop
|
|
471 |
s/-\n.*//
|
|
472 |
' >$as_me.lineno && |
|
473 |
chmod +x "$as_me.lineno" || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
474 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
475 |
{ (exit 1); exit 1; }; } |
476 |
||
477 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
478 |
# (the dirname of $[0] is not the place where we might find the
|
|
479 |
# original and so on. Autoconf is especially sensitive to this).
|
|
480 |
. "./$as_me.lineno" |
|
481 |
# Exit status is that of the last command.
|
|
482 |
exit
|
|
483 |
}
|
|
484 |
||
485 |
||
486 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
487 |
as_dirname=dirname |
|
488 |
else
|
|
489 |
as_dirname=false |
|
490 |
fi
|
|
491 |
||
492 |
ECHO_C= ECHO_N= ECHO_T= |
|
493 |
case `echo -n x` in |
|
494 |
-n*)
|
|
495 |
case `echo 'x\c'` in |
|
496 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
497 |
*) ECHO_C='\c';; |
|
498 |
esac;; |
|
499 |
*)
|
|
500 |
ECHO_N='-n';; |
|
501 |
esac
|
|
502 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
503 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
504 |
as_expr=expr |
|
505 |
else
|
|
506 |
as_expr=false |
|
507 |
fi
|
|
508 |
||
509 |
rm -f conf$$ conf$$.exe conf$$.file |
|
510 |
if test -d conf$$.dir; then |
|
511 |
rm -f conf$$.dir/conf$$.file |
|
512 |
else
|
|
513 |
rm -f conf$$.dir
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
514 |
mkdir conf$$.dir 2>/dev/null |
1
by Steve Kowalik
Import upstream version 0.4.0 |
515 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
516 |
if (echo >conf$$.file) 2>/dev/null; then |
517 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
518 |
as_ln_s='ln -s' |
|
519 |
# ... but there are two gotchas:
|
|
520 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
521 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
522 |
# In both cases, we have to default to `cp -p'.
|
|
523 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
524 |
as_ln_s='cp -p' |
|
525 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
526 |
as_ln_s=ln |
|
527 |
else
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
528 |
as_ln_s='cp -p' |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
529 |
fi
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
530 |
else
|
531 |
as_ln_s='cp -p' |
|
532 |
fi
|
|
533 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
534 |
rmdir conf$$.dir 2>/dev/null |
|
535 |
||
536 |
if mkdir -p . 2>/dev/null; then |
|
537 |
as_mkdir_p=: |
|
538 |
else
|
|
539 |
test -d ./-p && rmdir ./-p |
|
540 |
as_mkdir_p=false |
|
541 |
fi
|
|
542 |
||
543 |
if test -x / >/dev/null 2>&1; then |
|
544 |
as_test_x='test -x' |
|
545 |
else
|
|
546 |
if ls -dL / >/dev/null 2>&1; then |
|
547 |
as_ls_L_option=L |
|
548 |
else
|
|
549 |
as_ls_L_option= |
|
550 |
fi
|
|
551 |
as_test_x=' |
|
552 |
eval sh -c '\'' |
|
553 |
if test -d "$1"; then
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
554 |
test -d "$1/.";
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
555 |
else
|
556 |
case $1 in
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
557 |
-*)set "./$1";;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
558 |
esac;
|
559 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
560 |
???[sx]*):;;*)false;;esac;fi
|
|
561 |
'\'' sh |
|
562 |
'
|
|
563 |
fi
|
|
564 |
as_executable_p=$as_test_x |
|
565 |
||
566 |
# Sed expression to map a string onto a valid CPP name.
|
|
567 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
568 |
||
569 |
# Sed expression to map a string onto a valid variable name.
|
|
570 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
571 |
||
572 |
||
573 |
||
574 |
||
575 |
# Check that we are running under the correct shell.
|
|
576 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
577 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
578 |
case X$lt_ECHO in |
1
by Steve Kowalik
Import upstream version 0.4.0 |
579 |
X*--fallback-echo)
|
580 |
# Remove one level of quotation (which was required for Make).
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
581 |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
582 |
;;
|
583 |
esac
|
|
584 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
585 |
ECHO=${lt_ECHO-echo} |
1
by Steve Kowalik
Import upstream version 0.4.0 |
586 |
if test "X$1" = X--no-reexec; then |
587 |
# Discard the --no-reexec flag, and continue.
|
|
588 |
shift
|
|
589 |
elif test "X$1" = X--fallback-echo; then |
|
590 |
# Avoid inline document here, it may be left over
|
|
591 |
: |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
592 |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
593 |
# Yippee, $ECHO works!
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
594 |
: |
595 |
else
|
|
596 |
# Restart under the correct shell.
|
|
597 |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
|
598 |
fi
|
|
599 |
||
600 |
if test "X$1" = X--fallback-echo; then |
|
601 |
# used as fallback echo
|
|
602 |
shift
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
603 |
cat <<_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
604 |
$*
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
605 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
606 |
exit 0 |
607 |
fi
|
|
608 |
||
609 |
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
610 |
# if CDPATH is set.
|
|
611 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
612 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
613 |
if test -z "$lt_ECHO"; then |
614 |
if test "X${echo_test_string+set}" != Xset; then |
|
615 |
# find a string as large as possible, as long as the shell can cope with it
|
|
616 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
|
617 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
|
|
618 |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
|
619 |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
|
620 |
then
|
|
621 |
break
|
|
622 |
fi
|
|
623 |
done
|
|
624 |
fi
|
|
625 |
||
626 |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
|
627 |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
|
628 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
629 |
: |
|
630 |
else
|
|
631 |
# The Solaris, AIX, and Digital Unix default echo programs unquote
|
|
632 |
# backslashes. This makes it impossible to quote backslashes using
|
|
633 |
# echo "$something" | sed 's/\\/\\\\/g'
|
|
634 |
#
|
|
635 |
# So, first we look for a working echo in the user's PATH.
|
|
636 |
||
637 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
638 |
for dir in $PATH /usr/ucb; do |
|
639 |
IFS="$lt_save_ifs" |
|
640 |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
641 |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
642 |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
643 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
644 |
ECHO="$dir/echo" |
|
645 |
break
|
|
646 |
fi
|
|
647 |
done
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
648 |
IFS="$lt_save_ifs" |
649 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
650 |
if test "X$ECHO" = Xecho; then |
651 |
# We didn't find a better echo, so look for alternatives.
|
|
652 |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
|
653 |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
|
654 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
655 |
# This shell has a builtin print -r that does the trick.
|
|
656 |
ECHO='print -r' |
|
657 |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
|
658 |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
|
659 |
# If we have ksh, try running configure again with it.
|
|
660 |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
|
661 |
export ORIGINAL_CONFIG_SHELL
|
|
662 |
CONFIG_SHELL=/bin/ksh |
|
663 |
export CONFIG_SHELL
|
|
664 |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
665 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
666 |
# Try using printf.
|
667 |
ECHO='printf %s\n' |
|
668 |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
|
669 |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
|
670 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
671 |
# Cool, printf works
|
|
672 |
: |
|
673 |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
674 |
test "X$echo_testing_string" = 'X\t' && |
|
675 |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
676 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
677 |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
|
678 |
export CONFIG_SHELL
|
|
679 |
SHELL="$CONFIG_SHELL" |
|
680 |
export SHELL
|
|
681 |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
682 |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
683 |
test "X$echo_testing_string" = 'X\t' && |
|
684 |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
685 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
686 |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
687 |
else
|
|
688 |
# maybe with a smaller string...
|
|
689 |
prev=: |
|
690 |
||
691 |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
|
692 |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
|
693 |
then
|
|
694 |
break
|
|
695 |
fi
|
|
696 |
prev="$cmd" |
|
697 |
done
|
|
698 |
||
699 |
if test "$prev" != 'sed 50q "$0"'; then |
|
700 |
echo_test_string=`eval $prev` |
|
701 |
export echo_test_string
|
|
702 |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
703 |
else
|
|
704 |
# Oops. We lost completely, so just stick with echo.
|
|
705 |
ECHO=echo |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
706 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
707 |
fi
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
708 |
fi
|
709 |
fi
|
|
710 |
fi
|
|
711 |
fi
|
|
712 |
||
713 |
# Copy echo and quote the copy suitably for passing to libtool from
|
|
714 |
# the Makefile, instead of quoting the original, which is used later.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
715 |
lt_ECHO=$ECHO |
716 |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
|
717 |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
718 |
fi
|
719 |
||
720 |
||
721 |
||
722 |
||
723 |
exec 7<&0 </dev/null 6>&1 |
|
724 |
||
725 |
# Name of the host.
|
|
726 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
727 |
# so uname gets run too.
|
|
728 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
729 |
||
730 |
#
|
|
731 |
# Initializations.
|
|
732 |
#
|
|
733 |
ac_default_prefix=/usr/local |
|
734 |
ac_clean_files= |
|
735 |
ac_config_libobj_dir=. |
|
736 |
LIBOBJS= |
|
737 |
cross_compiling=no |
|
738 |
subdirs= |
|
739 |
MFLAGS= |
|
740 |
MAKEFLAGS= |
|
741 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
742 |
||
743 |
# Identity of this package.
|
|
744 |
PACKAGE_NAME='desktop-switcher' |
|
745 |
PACKAGE_TARNAME='desktop-switcher' |
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
746 |
PACKAGE_VERSION='0.4.6' |
747 |
PACKAGE_STRING='desktop-switcher 0.4.6' |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
748 |
PACKAGE_BUGREPORT='' |
749 |
||
750 |
ac_unique_file="src/main.c" |
|
751 |
# Factoring default headers for most tests.
|
|
752 |
ac_includes_default="\ |
|
753 |
#include <stdio.h>
|
|
754 |
#ifdef HAVE_SYS_TYPES_H
|
|
755 |
# include <sys/types.h>
|
|
756 |
#endif
|
|
757 |
#ifdef HAVE_SYS_STAT_H
|
|
758 |
# include <sys/stat.h>
|
|
759 |
#endif
|
|
760 |
#ifdef STDC_HEADERS
|
|
761 |
# include <stdlib.h>
|
|
762 |
# include <stddef.h>
|
|
763 |
#else
|
|
764 |
# ifdef HAVE_STDLIB_H
|
|
765 |
# include <stdlib.h>
|
|
766 |
# endif
|
|
767 |
#endif
|
|
768 |
#ifdef HAVE_STRING_H
|
|
769 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
|
770 |
# include <memory.h>
|
|
771 |
# endif
|
|
772 |
# include <string.h>
|
|
773 |
#endif
|
|
774 |
#ifdef HAVE_STRINGS_H
|
|
775 |
# include <strings.h>
|
|
776 |
#endif
|
|
777 |
#ifdef HAVE_INTTYPES_H
|
|
778 |
# include <inttypes.h>
|
|
779 |
#endif
|
|
780 |
#ifdef HAVE_STDINT_H
|
|
781 |
# include <stdint.h>
|
|
782 |
#endif
|
|
783 |
#ifdef HAVE_UNISTD_H
|
|
784 |
# include <unistd.h>
|
|
785 |
#endif"
|
|
786 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
787 |
ac_subst_vars='LTLIBOBJS |
788 |
LIBOBJS
|
|
789 |
GCONF_SCHEMAS_INSTALL_FALSE
|
|
790 |
GCONF_SCHEMAS_INSTALL_TRUE
|
|
791 |
GCONF_SCHEMA_FILE_DIR
|
|
792 |
GCONF_SCHEMA_CONFIG_SOURCE
|
|
793 |
GCONFTOOL
|
|
794 |
DEPS_LIBS
|
|
795 |
DEPS_CFLAGS
|
|
796 |
PKG_CONFIG
|
|
797 |
GCC_FLAGS
|
|
798 |
MKINSTALLDIRS
|
|
799 |
POSUB
|
|
800 |
POFILES
|
|
801 |
PO_IN_DATADIR_FALSE
|
|
802 |
PO_IN_DATADIR_TRUE
|
|
803 |
INTLLIBS
|
|
804 |
INSTOBJEXT
|
|
805 |
GMOFILES
|
|
806 |
CATOBJEXT
|
|
807 |
CATALOGS
|
|
808 |
MSGFMT_OPTS
|
|
809 |
GETTEXT_PACKAGE
|
|
810 |
DATADIRNAME
|
|
811 |
ALL_LINGUAS
|
|
812 |
INTLTOOL_PERL
|
|
813 |
GMSGFMT
|
|
814 |
MSGFMT
|
|
815 |
MSGMERGE
|
|
816 |
XGETTEXT
|
|
817 |
INTLTOOL_POLICY_RULE
|
|
818 |
INTLTOOL_SERVICE_RULE
|
|
819 |
INTLTOOL_THEME_RULE
|
|
820 |
INTLTOOL_SCHEMAS_RULE
|
|
821 |
INTLTOOL_CAVES_RULE
|
|
822 |
INTLTOOL_XML_NOMERGE_RULE
|
|
823 |
INTLTOOL_XML_RULE
|
|
824 |
INTLTOOL_KBD_RULE
|
|
825 |
INTLTOOL_XAM_RULE
|
|
826 |
INTLTOOL_UI_RULE
|
|
827 |
INTLTOOL_SOUNDLIST_RULE
|
|
828 |
INTLTOOL_SHEET_RULE
|
|
829 |
INTLTOOL_SERVER_RULE
|
|
830 |
INTLTOOL_PONG_RULE
|
|
831 |
INTLTOOL_OAF_RULE
|
|
832 |
INTLTOOL_PROP_RULE
|
|
833 |
INTLTOOL_KEYS_RULE
|
|
834 |
INTLTOOL_DIRECTORY_RULE
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
835 |
INTLTOOL_DESKTOP_RULE
|
836 |
INTLTOOL_EXTRACT
|
|
837 |
INTLTOOL_MERGE
|
|
838 |
INTLTOOL_UPDATE
|
|
839 |
USE_NLS
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
840 |
OTOOL64
|
841 |
OTOOL
|
|
842 |
LIPO
|
|
843 |
NMEDIT
|
|
844 |
DSYMUTIL
|
|
845 |
lt_ECHO
|
|
846 |
RANLIB
|
|
847 |
AR
|
|
848 |
OBJDUMP
|
|
849 |
LN_S
|
|
850 |
NM
|
|
851 |
ac_ct_DUMPBIN
|
|
852 |
DUMPBIN
|
|
853 |
LD
|
|
854 |
FGREP
|
|
855 |
SED
|
|
856 |
host_os
|
|
857 |
host_vendor
|
|
858 |
host_cpu
|
|
859 |
host
|
|
860 |
build_os
|
|
861 |
build_vendor
|
|
862 |
build_cpu
|
|
863 |
build
|
|
864 |
LIBTOOL
|
|
865 |
EGREP
|
|
866 |
GREP
|
|
867 |
CPP
|
|
868 |
am__fastdepCC_FALSE
|
|
869 |
am__fastdepCC_TRUE
|
|
870 |
CCDEPMODE
|
|
871 |
AMDEPBACKSLASH
|
|
872 |
AMDEP_FALSE
|
|
873 |
AMDEP_TRUE
|
|
874 |
am__quote
|
|
875 |
am__include
|
|
876 |
DEPDIR
|
|
877 |
OBJEXT
|
|
878 |
EXEEXT
|
|
879 |
ac_ct_CC
|
|
880 |
CPPFLAGS
|
|
881 |
LDFLAGS
|
|
882 |
CFLAGS
|
|
883 |
CC
|
|
884 |
MAINT
|
|
885 |
MAINTAINER_MODE_FALSE
|
|
886 |
MAINTAINER_MODE_TRUE
|
|
887 |
am__untar
|
|
888 |
am__tar
|
|
889 |
AMTAR
|
|
890 |
am__leading_dot
|
|
891 |
SET_MAKE
|
|
892 |
AWK
|
|
893 |
mkdir_p
|
|
894 |
MKDIR_P
|
|
895 |
INSTALL_STRIP_PROGRAM
|
|
896 |
STRIP
|
|
897 |
install_sh
|
|
898 |
MAKEINFO
|
|
899 |
AUTOHEADER
|
|
900 |
AUTOMAKE
|
|
901 |
AUTOCONF
|
|
902 |
ACLOCAL
|
|
903 |
VERSION
|
|
904 |
PACKAGE
|
|
905 |
CYGPATH_W
|
|
906 |
am__isrc
|
|
907 |
INSTALL_DATA
|
|
908 |
INSTALL_SCRIPT
|
|
909 |
INSTALL_PROGRAM
|
|
910 |
target_alias
|
|
911 |
host_alias
|
|
912 |
build_alias
|
|
913 |
LIBS
|
|
914 |
ECHO_T
|
|
915 |
ECHO_N
|
|
916 |
ECHO_C
|
|
917 |
DEFS
|
|
918 |
mandir
|
|
919 |
localedir
|
|
920 |
libdir
|
|
921 |
psdir
|
|
922 |
pdfdir
|
|
923 |
dvidir
|
|
924 |
htmldir
|
|
925 |
infodir
|
|
926 |
docdir
|
|
927 |
oldincludedir
|
|
928 |
includedir
|
|
929 |
localstatedir
|
|
930 |
sharedstatedir
|
|
931 |
sysconfdir
|
|
932 |
datadir
|
|
933 |
datarootdir
|
|
934 |
libexecdir
|
|
935 |
sbindir
|
|
936 |
bindir
|
|
937 |
program_transform_name
|
|
938 |
prefix
|
|
939 |
exec_prefix
|
|
940 |
PACKAGE_BUGREPORT
|
|
941 |
PACKAGE_STRING
|
|
942 |
PACKAGE_VERSION
|
|
943 |
PACKAGE_TARNAME
|
|
944 |
PACKAGE_NAME
|
|
945 |
PATH_SEPARATOR
|
|
946 |
SHELL'
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
947 |
ac_subst_files='' |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
948 |
ac_user_opts=' |
949 |
enable_option_checking
|
|
950 |
enable_maintainer_mode
|
|
951 |
enable_dependency_tracking
|
|
952 |
enable_shared
|
|
953 |
enable_static
|
|
954 |
with_pic
|
|
955 |
enable_fast_install
|
|
956 |
with_gnu_ld
|
|
957 |
enable_libtool_lock
|
|
958 |
enable_nls
|
|
959 |
with_gconf_source
|
|
960 |
with_gconf_schema_file_dir
|
|
961 |
enable_schemas_install
|
|
962 |
'
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
963 |
ac_precious_vars='build_alias |
964 |
host_alias
|
|
965 |
target_alias
|
|
966 |
CC
|
|
967 |
CFLAGS
|
|
968 |
LDFLAGS
|
|
969 |
LIBS
|
|
970 |
CPPFLAGS
|
|
971 |
CPP
|
|
972 |
PKG_CONFIG
|
|
973 |
DEPS_CFLAGS
|
|
974 |
DEPS_LIBS'
|
|
975 |
||
976 |
||
977 |
# Initialize some variables set by options.
|
|
978 |
ac_init_help= |
|
979 |
ac_init_version=false |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
980 |
ac_unrecognized_opts= |
981 |
ac_unrecognized_sep= |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
982 |
# The variables have the same names as the options, with
|
983 |
# dashes changed to underlines.
|
|
984 |
cache_file=/dev/null |
|
985 |
exec_prefix=NONE |
|
986 |
no_create= |
|
987 |
no_recursion= |
|
988 |
prefix=NONE |
|
989 |
program_prefix=NONE |
|
990 |
program_suffix=NONE |
|
991 |
program_transform_name=s,x,x, |
|
992 |
silent= |
|
993 |
site= |
|
994 |
srcdir= |
|
995 |
verbose= |
|
996 |
x_includes=NONE |
|
997 |
x_libraries=NONE |
|
998 |
||
999 |
# Installation directory options.
|
|
1000 |
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
1001 |
# and all the variables that are supposed to be based on exec_prefix
|
|
1002 |
# by default will actually change.
|
|
1003 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
1004 |
# (The list follows the same order as the GNU Coding Standards.)
|
|
1005 |
bindir='${exec_prefix}/bin' |
|
1006 |
sbindir='${exec_prefix}/sbin' |
|
1007 |
libexecdir='${exec_prefix}/libexec' |
|
1008 |
datarootdir='${prefix}/share' |
|
1009 |
datadir='${datarootdir}' |
|
1010 |
sysconfdir='${prefix}/etc' |
|
1011 |
sharedstatedir='${prefix}/com' |
|
1012 |
localstatedir='${prefix}/var' |
|
1013 |
includedir='${prefix}/include' |
|
1014 |
oldincludedir='/usr/include' |
|
1015 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
1016 |
infodir='${datarootdir}/info' |
|
1017 |
htmldir='${docdir}' |
|
1018 |
dvidir='${docdir}' |
|
1019 |
pdfdir='${docdir}' |
|
1020 |
psdir='${docdir}' |
|
1021 |
libdir='${exec_prefix}/lib' |
|
1022 |
localedir='${datarootdir}/locale' |
|
1023 |
mandir='${datarootdir}/man' |
|
1024 |
||
1025 |
ac_prev= |
|
1026 |
ac_dashdash= |
|
1027 |
for ac_option
|
|
1028 |
do
|
|
1029 |
# If the previous option needs an argument, assign it.
|
|
1030 |
if test -n "$ac_prev"; then |
|
1031 |
eval $ac_prev=\$ac_option |
|
1032 |
ac_prev= |
|
1033 |
continue
|
|
1034 |
fi
|
|
1035 |
||
1036 |
case $ac_option in |
|
1037 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
1038 |
*) ac_optarg=yes ;; |
|
1039 |
esac
|
|
1040 |
||
1041 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
1042 |
||
1043 |
case $ac_dashdash$ac_option in |
|
1044 |
--)
|
|
1045 |
ac_dashdash=yes ;; |
|
1046 |
||
1047 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
1048 |
ac_prev=bindir ;; |
|
1049 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
1050 |
bindir=$ac_optarg ;; |
|
1051 |
||
1052 |
-build | --build | --buil | --bui | --bu) |
|
1053 |
ac_prev=build_alias ;; |
|
1054 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
1055 |
build_alias=$ac_optarg ;; |
|
1056 |
||
1057 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
1058 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
1059 |
ac_prev=cache_file ;; |
|
1060 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
1061 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
1062 |
cache_file=$ac_optarg ;; |
|
1063 |
||
1064 |
--config-cache | -C) |
|
1065 |
cache_file=config.cache ;; |
|
1066 |
||
1067 |
-datadir | --datadir | --datadi | --datad) |
|
1068 |
ac_prev=datadir ;; |
|
1069 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
1070 |
datadir=$ac_optarg ;; |
|
1071 |
||
1072 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
1073 |
| --dataroo | --dataro | --datar) |
|
1074 |
ac_prev=datarootdir ;; |
|
1075 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
1076 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
1077 |
datarootdir=$ac_optarg ;; |
|
1078 |
||
1079 |
-disable-* | --disable-*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1080 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1081 |
# Reject names that are not valid shell variable names.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1082 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1083 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1084 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1085 |
ac_useropt_orig=$ac_useropt |
1086 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1087 |
case $ac_user_opts in |
|
1088 |
*"
|
|
1089 |
"enable_$ac_useropt" |
|
1090 |
"*) ;; |
|
1091 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
1092 |
ac_unrecognized_sep=', ';; |
|
1093 |
esac
|
|
1094 |
eval enable_$ac_useropt=no ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1095 |
|
1096 |
-docdir | --docdir | --docdi | --doc | --do) |
|
1097 |
ac_prev=docdir ;; |
|
1098 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
1099 |
docdir=$ac_optarg ;; |
|
1100 |
||
1101 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
1102 |
ac_prev=dvidir ;; |
|
1103 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
1104 |
dvidir=$ac_optarg ;; |
|
1105 |
||
1106 |
-enable-* | --enable-*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1107 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1108 |
# Reject names that are not valid shell variable names.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1109 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1110 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1111 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1112 |
ac_useropt_orig=$ac_useropt |
1113 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1114 |
case $ac_user_opts in |
|
1115 |
*"
|
|
1116 |
"enable_$ac_useropt" |
|
1117 |
"*) ;; |
|
1118 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
1119 |
ac_unrecognized_sep=', ';; |
|
1120 |
esac
|
|
1121 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1122 |
|
1123 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
1124 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
1125 |
| --exec | --exe | --ex) |
|
1126 |
ac_prev=exec_prefix ;; |
|
1127 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
1128 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
1129 |
| --exec=* | --exe=* | --ex=*) |
|
1130 |
exec_prefix=$ac_optarg ;; |
|
1131 |
||
1132 |
-gas | --gas | --ga | --g) |
|
1133 |
# Obsolete; use --with-gas.
|
|
1134 |
with_gas=yes ;; |
|
1135 |
||
1136 |
-help | --help | --hel | --he | -h) |
|
1137 |
ac_init_help=long ;; |
|
1138 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
1139 |
ac_init_help=recursive ;; |
|
1140 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
1141 |
ac_init_help=short ;; |
|
1142 |
||
1143 |
-host | --host | --hos | --ho) |
|
1144 |
ac_prev=host_alias ;; |
|
1145 |
-host=* | --host=* | --hos=* | --ho=*) |
|
1146 |
host_alias=$ac_optarg ;; |
|
1147 |
||
1148 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
1149 |
ac_prev=htmldir ;; |
|
1150 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
1151 |
| --ht=*) |
|
1152 |
htmldir=$ac_optarg ;; |
|
1153 |
||
1154 |
-includedir | --includedir | --includedi | --included | --include \ |
|
1155 |
| --includ | --inclu | --incl | --inc) |
|
1156 |
ac_prev=includedir ;; |
|
1157 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
1158 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
1159 |
includedir=$ac_optarg ;; |
|
1160 |
||
1161 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
1162 |
ac_prev=infodir ;; |
|
1163 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
1164 |
infodir=$ac_optarg ;; |
|
1165 |
||
1166 |
-libdir | --libdir | --libdi | --libd) |
|
1167 |
ac_prev=libdir ;; |
|
1168 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
1169 |
libdir=$ac_optarg ;; |
|
1170 |
||
1171 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
1172 |
| --libexe | --libex | --libe) |
|
1173 |
ac_prev=libexecdir ;; |
|
1174 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
1175 |
| --libexe=* | --libex=* | --libe=*) |
|
1176 |
libexecdir=$ac_optarg ;; |
|
1177 |
||
1178 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
1179 |
ac_prev=localedir ;; |
|
1180 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
1181 |
localedir=$ac_optarg ;; |
|
1182 |
||
1183 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
1184 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
1185 |
ac_prev=localstatedir ;; |
|
1186 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
1187 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
1188 |
localstatedir=$ac_optarg ;; |
|
1189 |
||
1190 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1191 |
ac_prev=mandir ;; |
|
1192 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
1193 |
mandir=$ac_optarg ;; |
|
1194 |
||
1195 |
-nfp | --nfp | --nf) |
|
1196 |
# Obsolete; use --without-fp.
|
|
1197 |
with_fp=no ;; |
|
1198 |
||
1199 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1200 |
| --no-cr | --no-c | -n) |
|
1201 |
no_create=yes ;; |
|
1202 |
||
1203 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1204 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1205 |
no_recursion=yes ;; |
|
1206 |
||
1207 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1208 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1209 |
| --oldin | --oldi | --old | --ol | --o) |
|
1210 |
ac_prev=oldincludedir ;; |
|
1211 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1212 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1213 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1214 |
oldincludedir=$ac_optarg ;; |
|
1215 |
||
1216 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1217 |
ac_prev=prefix ;; |
|
1218 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1219 |
prefix=$ac_optarg ;; |
|
1220 |
||
1221 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1222 |
| --program-pre | --program-pr | --program-p) |
|
1223 |
ac_prev=program_prefix ;; |
|
1224 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1225 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1226 |
program_prefix=$ac_optarg ;; |
|
1227 |
||
1228 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1229 |
| --program-suf | --program-su | --program-s) |
|
1230 |
ac_prev=program_suffix ;; |
|
1231 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1232 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1233 |
program_suffix=$ac_optarg ;; |
|
1234 |
||
1235 |
-program-transform-name | --program-transform-name \ |
|
1236 |
| --program-transform-nam | --program-transform-na \ |
|
1237 |
| --program-transform-n | --program-transform- \ |
|
1238 |
| --program-transform | --program-transfor \ |
|
1239 |
| --program-transfo | --program-transf \ |
|
1240 |
| --program-trans | --program-tran \ |
|
1241 |
| --progr-tra | --program-tr | --program-t) |
|
1242 |
ac_prev=program_transform_name ;; |
|
1243 |
-program-transform-name=* | --program-transform-name=* \ |
|
1244 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1245 |
| --program-transform-n=* | --program-transform-=* \ |
|
1246 |
| --program-transform=* | --program-transfor=* \ |
|
1247 |
| --program-transfo=* | --program-transf=* \ |
|
1248 |
| --program-trans=* | --program-tran=* \ |
|
1249 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1250 |
program_transform_name=$ac_optarg ;; |
|
1251 |
||
1252 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1253 |
ac_prev=pdfdir ;; |
|
1254 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1255 |
pdfdir=$ac_optarg ;; |
|
1256 |
||
1257 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1258 |
ac_prev=psdir ;; |
|
1259 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1260 |
psdir=$ac_optarg ;; |
|
1261 |
||
1262 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1263 |
| -silent | --silent | --silen | --sile | --sil) |
|
1264 |
silent=yes ;; |
|
1265 |
||
1266 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1267 |
ac_prev=sbindir ;; |
|
1268 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1269 |
| --sbi=* | --sb=*) |
|
1270 |
sbindir=$ac_optarg ;; |
|
1271 |
||
1272 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1273 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1274 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1275 |
| --sha | --sh) |
|
1276 |
ac_prev=sharedstatedir ;; |
|
1277 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1278 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1279 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1280 |
| --sha=* | --sh=*) |
|
1281 |
sharedstatedir=$ac_optarg ;; |
|
1282 |
||
1283 |
-site | --site | --sit) |
|
1284 |
ac_prev=site ;; |
|
1285 |
-site=* | --site=* | --sit=*) |
|
1286 |
site=$ac_optarg ;; |
|
1287 |
||
1288 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1289 |
ac_prev=srcdir ;; |
|
1290 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1291 |
srcdir=$ac_optarg ;; |
|
1292 |
||
1293 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1294 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1295 |
ac_prev=sysconfdir ;; |
|
1296 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1297 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1298 |
sysconfdir=$ac_optarg ;; |
|
1299 |
||
1300 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1301 |
ac_prev=target_alias ;; |
|
1302 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1303 |
target_alias=$ac_optarg ;; |
|
1304 |
||
1305 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1306 |
verbose=yes ;; |
|
1307 |
||
1308 |
-version | --version | --versio | --versi | --vers | -V) |
|
1309 |
ac_init_version=: ;; |
|
1310 |
||
1311 |
-with-* | --with-*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1312 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1313 |
# Reject names that are not valid shell variable names.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1314 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1315 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1316 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1317 |
ac_useropt_orig=$ac_useropt |
1318 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1319 |
case $ac_user_opts in |
|
1320 |
*"
|
|
1321 |
"with_$ac_useropt" |
|
1322 |
"*) ;; |
|
1323 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1324 |
ac_unrecognized_sep=', ';; |
|
1325 |
esac
|
|
1326 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1327 |
|
1328 |
-without-* | --without-*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1329 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1330 |
# Reject names that are not valid shell variable names.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1331 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1332 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1333 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1334 |
ac_useropt_orig=$ac_useropt |
1335 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1336 |
case $ac_user_opts in |
|
1337 |
*"
|
|
1338 |
"with_$ac_useropt" |
|
1339 |
"*) ;; |
|
1340 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1341 |
ac_unrecognized_sep=', ';; |
|
1342 |
esac
|
|
1343 |
eval with_$ac_useropt=no ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1344 |
|
1345 |
--x)
|
|
1346 |
# Obsolete; use --with-x.
|
|
1347 |
with_x=yes ;; |
|
1348 |
||
1349 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1350 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1351 |
ac_prev=x_includes ;; |
|
1352 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1353 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1354 |
x_includes=$ac_optarg ;; |
|
1355 |
||
1356 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1357 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1358 |
ac_prev=x_libraries ;; |
|
1359 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1360 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1361 |
x_libraries=$ac_optarg ;; |
|
1362 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1363 |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1364 |
Try \`$0 --help' for more information." >&2 |
1365 |
{ (exit 1); exit 1; }; } |
|
1366 |
;;
|
|
1367 |
||
1368 |
*=*) |
|
1369 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1370 |
# Reject names that are not valid shell variable names.
|
|
1371 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1372 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1373 |
{ (exit 1); exit 1; }; } |
1374 |
eval $ac_envvar=\$ac_optarg |
|
1375 |
export $ac_envvar ;; |
|
1376 |
||
1377 |
*)
|
|
1378 |
# FIXME: should be removed in autoconf 3.0.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1379 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1380 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1381 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1382 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1383 |
;;
|
|
1384 |
||
1385 |
esac
|
|
1386 |
done
|
|
1387 |
||
1388 |
if test -n "$ac_prev"; then |
|
1389 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1390 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1391 |
{ (exit 1); exit 1; }; } |
1392 |
fi
|
|
1393 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1394 |
if test -n "$ac_unrecognized_opts"; then |
1395 |
case $enable_option_checking in |
|
1396 |
no) ;; |
|
1397 |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
|
1398 |
{ (exit 1); exit 1; }; } ;; |
|
1399 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1400 |
esac
|
|
1401 |
fi
|
|
1402 |
||
1403 |
# Check all directory arguments for consistency.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1404 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1405 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1406 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1407 |
libdir localedir mandir |
|
1408 |
do
|
|
1409 |
eval ac_val=\$$ac_var |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1410 |
# Remove trailing slashes.
|
1411 |
case $ac_val in |
|
1412 |
*/ )
|
|
1413 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1414 |
eval $ac_var=\$ac_val;; |
|
1415 |
esac
|
|
1416 |
# Be sure to have absolute directory names.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1417 |
case $ac_val in |
1418 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1419 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1420 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1421 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1422 |
{ (exit 1); exit 1; }; } |
1423 |
done
|
|
1424 |
||
1425 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1426 |
# used to hold the argument of --host etc.
|
|
1427 |
# FIXME: To remove some day.
|
|
1428 |
build=$build_alias |
|
1429 |
host=$host_alias |
|
1430 |
target=$target_alias |
|
1431 |
||
1432 |
# FIXME: To remove some day.
|
|
1433 |
if test "x$host_alias" != x; then |
|
1434 |
if test "x$build_alias" = x; then |
|
1435 |
cross_compiling=maybe |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1436 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1437 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1438 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1439 |
cross_compiling=yes |
|
1440 |
fi
|
|
1441 |
fi
|
|
1442 |
||
1443 |
ac_tool_prefix= |
|
1444 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1445 |
||
1446 |
test "$silent" = yes && exec 6>/dev/null |
|
1447 |
||
1448 |
||
1449 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1450 |
ac_ls_di=`ls -di .` && |
|
1451 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1452 |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1453 |
{ (exit 1); exit 1; }; } |
1454 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1455 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1456 |
{ (exit 1); exit 1; }; } |
1457 |
||
1458 |
||
1459 |
# Find the source files, if location was not specified.
|
|
1460 |
if test -z "$srcdir"; then |
|
1461 |
ac_srcdir_defaulted=yes |
|
1462 |
# Try the directory containing this script, then the parent directory.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1463 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1464 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1465 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1466 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1467 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1468 |
$as_echo X"$as_myself" | |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1469 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1470 |
s//\1/
|
|
1471 |
q
|
|
1472 |
}
|
|
1473 |
/^X\(\/\/\)[^/].*/{
|
|
1474 |
s//\1/
|
|
1475 |
q
|
|
1476 |
}
|
|
1477 |
/^X\(\/\/\)$/{
|
|
1478 |
s//\1/
|
|
1479 |
q
|
|
1480 |
}
|
|
1481 |
/^X\(\/\).*/{
|
|
1482 |
s//\1/
|
|
1483 |
q
|
|
1484 |
}
|
|
1485 |
s/.*/./; q'` |
|
1486 |
srcdir=$ac_confdir |
|
1487 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1488 |
srcdir=.. |
|
1489 |
fi
|
|
1490 |
else
|
|
1491 |
ac_srcdir_defaulted=no |
|
1492 |
fi
|
|
1493 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1494 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1495 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1496 |
{ (exit 1); exit 1; }; } |
1497 |
fi
|
|
1498 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1499 |
ac_abs_confdir=`( |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1500 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1501 |
{ (exit 1); exit 1; }; } |
1502 |
pwd)` |
|
1503 |
# When building in place, set srcdir=.
|
|
1504 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1505 |
srcdir=. |
|
1506 |
fi
|
|
1507 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1508 |
# Double slashes in file names in object file debugging info
|
|
1509 |
# mess up M-x gdb in Emacs.
|
|
1510 |
case $srcdir in |
|
1511 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1512 |
esac
|
|
1513 |
for ac_var in $ac_precious_vars; do |
|
1514 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1515 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1516 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1517 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1518 |
done
|
|
1519 |
||
1520 |
#
|
|
1521 |
# Report the --help message.
|
|
1522 |
#
|
|
1523 |
if test "$ac_init_help" = "long"; then |
|
1524 |
# Omit some internal or obsolete options to make the list less imposing.
|
|
1525 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
1526 |
cat <<_ACEOF
|
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
1527 |
\`configure' configures desktop-switcher 0.4.6 to adapt to many kinds of systems.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1528 |
|
1529 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
1530 |
||
1531 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
1532 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
1533 |
||
1534 |
Defaults for the options are specified in brackets.
|
|
1535 |
||
1536 |
Configuration:
|
|
1537 |
-h, --help display this help and exit
|
|
1538 |
--help=short display options specific to this package
|
|
1539 |
--help=recursive display the short help of all the included packages
|
|
1540 |
-V, --version display version information and exit
|
|
1541 |
-q, --quiet, --silent do not print \`checking...' messages
|
|
1542 |
--cache-file=FILE cache test results in FILE [disabled]
|
|
1543 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
|
1544 |
-n, --no-create do not create output files
|
|
1545 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
1546 |
||
1547 |
Installation directories:
|
|
1548 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1549 |
[$ac_default_prefix]
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1550 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1551 |
[PREFIX]
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1552 |
|
1553 |
By default, \`make install' will install all the files in
|
|
1554 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1555 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
1556 |
for instance \`--prefix=\$HOME'.
|
|
1557 |
||
1558 |
For better control, use the options below.
|
|
1559 |
||
1560 |
Fine tuning of the installation directories:
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1561 |
--bindir=DIR user executables [EPREFIX/bin]
|
1562 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1563 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1564 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1565 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1566 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1567 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1568 |
--includedir=DIR C header files [PREFIX/include]
|
|
1569 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1570 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1571 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1572 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1573 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1574 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1575 |
--docdir=DIR documentation root
|
|
1576 |
[DATAROOTDIR/doc/desktop-switcher]
|
|
1577 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1578 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1579 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1580 |
--psdir=DIR ps documentation [DOCDIR]
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1581 |
_ACEOF
|
1582 |
||
1583 |
cat <<\_ACEOF
|
|
1584 |
||
1585 |
Program names:
|
|
1586 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
1587 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
1588 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
1589 |
||
1590 |
System types:
|
|
1591 |
--build=BUILD configure for building on BUILD [guessed]
|
|
1592 |
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|
1593 |
_ACEOF
|
|
1594 |
fi
|
|
1595 |
||
1596 |
if test -n "$ac_init_help"; then |
|
1597 |
case $ac_init_help in |
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
1598 |
short | recursive ) echo "Configuration of desktop-switcher 0.4.6:";; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1599 |
esac
|
1600 |
cat <<\_ACEOF
|
|
1601 |
||
1602 |
Optional Features:
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1603 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1604 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1605 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
1606 |
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
1607 |
(and sometimes confusing) to the casual installer
|
|
1608 |
--disable-dependency-tracking speeds up one-time build
|
|
1609 |
--enable-dependency-tracking do not reject slow dependency extractors
|
|
1610 |
--enable-shared[=PKGS] build shared libraries [default=yes]
|
|
1611 |
--enable-static[=PKGS] build static libraries [default=yes]
|
|
1612 |
--enable-fast-install[=PKGS]
|
|
1613 |
optimize for fast installation [default=yes]
|
|
1614 |
--disable-libtool-lock avoid locking (might break parallel builds)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1615 |
--disable-nls do not use Native Language Support
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1616 |
--disable-schemas-install Disable the schemas installation
|
1617 |
||
1618 |
Optional Packages:
|
|
1619 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
1620 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
1621 |
--with-pic try to use only PIC/non-PIC objects [default=use
|
|
1622 |
both]
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1623 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
1624 |
--with-gconf-source=sourceaddress
|
|
1625 |
Config database for installing schema files.
|
|
1626 |
--with-gconf-schema-file-dir=dir
|
|
1627 |
Directory for installing schema files.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1628 |
|
1629 |
Some influential environment variables:
|
|
1630 |
CC C compiler command
|
|
1631 |
CFLAGS C compiler flags
|
|
1632 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
1633 |
nonstandard directory <lib dir>
|
|
1634 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
1635 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1636 |
you have headers in a nonstandard directory <include dir>
|
|
1637 |
CPP C preprocessor
|
|
1638 |
PKG_CONFIG path to pkg-config utility
|
|
1639 |
DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
|
|
1640 |
DEPS_LIBS linker flags for DEPS, overriding pkg-config
|
|
1641 |
||
1642 |
Use these variables to override the choices made by `configure' or to help
|
|
1643 |
it to find libraries and programs with nonstandard names/locations.
|
|
1644 |
||
1645 |
_ACEOF
|
|
1646 |
ac_status=$? |
|
1647 |
fi
|
|
1648 |
||
1649 |
if test "$ac_init_help" = "recursive"; then |
|
1650 |
# If there are subdirs, report their specific --help.
|
|
1651 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1652 |
test -d "$ac_dir" || |
1653 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1654 |
continue
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1655 |
ac_builddir=. |
1656 |
||
1657 |
case "$ac_dir" in |
|
1658 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1659 |
*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1660 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1661 |
# A ".." for each directory in $ac_dir_suffix.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1662 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1663 |
case $ac_top_builddir_sub in |
1664 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1665 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1666 |
esac ;; |
|
1667 |
esac
|
|
1668 |
ac_abs_top_builddir=$ac_pwd |
|
1669 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1670 |
# for backward compatibility:
|
|
1671 |
ac_top_builddir=$ac_top_build_prefix |
|
1672 |
||
1673 |
case $srcdir in |
|
1674 |
.) # We are building in place. |
|
1675 |
ac_srcdir=. |
|
1676 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1677 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1678 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1679 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1680 |
ac_top_srcdir=$srcdir |
|
1681 |
ac_abs_top_srcdir=$srcdir ;; |
|
1682 |
*) # Relative name. |
|
1683 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1684 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1685 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1686 |
esac
|
|
1687 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1688 |
||
1689 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1690 |
# Check for guested configure.
|
|
1691 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1692 |
echo && |
|
1693 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1694 |
elif test -f "$ac_srcdir/configure"; then |
|
1695 |
echo && |
|
1696 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1697 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1698 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1699 |
fi || ac_status=$? |
1700 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1701 |
done
|
|
1702 |
fi
|
|
1703 |
||
1704 |
test -n "$ac_init_help" && exit $ac_status |
|
1705 |
if $ac_init_version; then |
|
1706 |
cat <<\_ACEOF
|
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
1707 |
desktop-switcher configure 0.4.6
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1708 |
generated by GNU Autoconf 2.63
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1709 |
|
1710 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1711 |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1712 |
This configure script is free software; the Free Software Foundation
|
1713 |
gives unlimited permission to copy, distribute and modify it.
|
|
1714 |
_ACEOF
|
|
1715 |
exit
|
|
1716 |
fi
|
|
1717 |
cat >config.log <<_ACEOF
|
|
1718 |
This file contains any messages produced by compilers while
|
|
1719 |
running configure, to aid debugging if configure makes a mistake.
|
|
1720 |
||
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
1721 |
It was created by desktop-switcher $as_me 0.4.6, which was
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1722 |
generated by GNU Autoconf 2.63. Invocation command line was
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1723 |
|
1724 |
$ $0 $@
|
|
1725 |
||
1726 |
_ACEOF
|
|
1727 |
exec 5>>config.log |
|
1728 |
{
|
|
1729 |
cat <<_ASUNAME
|
|
1730 |
## --------- ##
|
|
1731 |
## Platform. ##
|
|
1732 |
## --------- ##
|
|
1733 |
||
1734 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
1735 |
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
1736 |
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
1737 |
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
1738 |
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
1739 |
||
1740 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
1741 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
1742 |
||
1743 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
1744 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
1745 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
1746 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
|
1747 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
|
1748 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
1749 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1750 |
||
1751 |
_ASUNAME
|
|
1752 |
||
1753 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1754 |
for as_dir in $PATH |
|
1755 |
do
|
|
1756 |
IFS=$as_save_IFS |
|
1757 |
test -z "$as_dir" && as_dir=. |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1758 |
$as_echo "PATH: $as_dir" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1759 |
done
|
1760 |
IFS=$as_save_IFS |
|
1761 |
||
1762 |
} >&5 |
|
1763 |
||
1764 |
cat >&5 <<_ACEOF |
|
1765 |
||
1766 |
||
1767 |
## ----------- ##
|
|
1768 |
## Core tests. ##
|
|
1769 |
## ----------- ##
|
|
1770 |
||
1771 |
_ACEOF
|
|
1772 |
||
1773 |
||
1774 |
# Keep a trace of the command line.
|
|
1775 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
1776 |
# Strip out --silent because we don't want to record it for future runs.
|
|
1777 |
# Also quote any args containing shell meta-characters.
|
|
1778 |
# Make two passes to allow for proper duplicate-argument suppression.
|
|
1779 |
ac_configure_args= |
|
1780 |
ac_configure_args0= |
|
1781 |
ac_configure_args1= |
|
1782 |
ac_must_keep_next=false |
|
1783 |
for ac_pass in 1 2 |
|
1784 |
do
|
|
1785 |
for ac_arg
|
|
1786 |
do
|
|
1787 |
case $ac_arg in |
|
1788 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1789 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1790 |
| -silent | --silent | --silen | --sile | --sil) |
|
1791 |
continue ;; |
|
1792 |
*\'*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1793 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1794 |
esac
|
1795 |
case $ac_pass in |
|
1796 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
1797 |
2) |
|
1798 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
1799 |
if test $ac_must_keep_next = true; then |
|
1800 |
ac_must_keep_next=false # Got value, back to normal. |
|
1801 |
else
|
|
1802 |
case $ac_arg in |
|
1803 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1804 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1805 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1806 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1807 |
case "$ac_configure_args0 " in |
|
1808 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1809 |
esac
|
|
1810 |
;;
|
|
1811 |
-* ) ac_must_keep_next=true ;; |
|
1812 |
esac
|
|
1813 |
fi
|
|
1814 |
ac_configure_args="$ac_configure_args '$ac_arg'" |
|
1815 |
;;
|
|
1816 |
esac
|
|
1817 |
done
|
|
1818 |
done
|
|
1819 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
1820 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
1821 |
||
1822 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
|
1823 |
# config.log. We remove comments because anyway the quotes in there
|
|
1824 |
# would cause problems or look ugly.
|
|
1825 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
1826 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|
1827 |
trap 'exit_status=$? |
|
1828 |
# Save into config.log some information that might help in debugging.
|
|
1829 |
{
|
|
1830 |
echo
|
|
1831 |
||
1832 |
cat <<\_ASBOX
|
|
1833 |
## ---------------- ##
|
|
1834 |
## Cache variables. ##
|
|
1835 |
## ---------------- ##
|
|
1836 |
_ASBOX
|
|
1837 |
echo
|
|
1838 |
# The following way of writing the cache mishandles newlines in values,
|
|
1839 |
(
|
|
1840 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1841 |
eval ac_val=\$$ac_var
|
|
1842 |
case $ac_val in #(
|
|
1843 |
*${as_nl}*)
|
|
1844 |
case $ac_var in #(
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1845 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
1846 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1847 |
esac
|
1848 |
case $ac_var in #(
|
|
1849 |
_ | IFS | as_nl) ;; #(
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1850 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1851 |
*) $as_unset $ac_var ;;
|
1852 |
esac ;;
|
|
1853 |
esac
|
|
1854 |
done
|
|
1855 |
(set) 2>&1 |
|
|
1856 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
1857 |
*${as_nl}ac_space=\ *)
|
|
1858 |
sed -n \
|
|
1859 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
1860 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1861 |
;; #(
|
|
1862 |
*)
|
|
1863 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|
1864 |
;;
|
|
1865 |
esac |
|
|
1866 |
sort
|
|
1867 |
)
|
|
1868 |
echo
|
|
1869 |
||
1870 |
cat <<\_ASBOX
|
|
1871 |
## ----------------- ##
|
|
1872 |
## Output variables. ##
|
|
1873 |
## ----------------- ##
|
|
1874 |
_ASBOX
|
|
1875 |
echo
|
|
1876 |
for ac_var in $ac_subst_vars
|
|
1877 |
do
|
|
1878 |
eval ac_val=\$$ac_var
|
|
1879 |
case $ac_val in
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1880 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1881 |
esac
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1882 |
$as_echo "$ac_var='\''$ac_val'\''" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1883 |
done | sort
|
1884 |
echo
|
|
1885 |
||
1886 |
if test -n "$ac_subst_files"; then
|
|
1887 |
cat <<\_ASBOX
|
|
1888 |
## ------------------- ##
|
|
1889 |
## File substitutions. ##
|
|
1890 |
## ------------------- ##
|
|
1891 |
_ASBOX
|
|
1892 |
echo
|
|
1893 |
for ac_var in $ac_subst_files
|
|
1894 |
do
|
|
1895 |
eval ac_val=\$$ac_var
|
|
1896 |
case $ac_val in
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1897 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1898 |
esac
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1899 |
$as_echo "$ac_var='\''$ac_val'\''" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1900 |
done | sort
|
1901 |
echo
|
|
1902 |
fi
|
|
1903 |
||
1904 |
if test -s confdefs.h; then
|
|
1905 |
cat <<\_ASBOX
|
|
1906 |
## ----------- ##
|
|
1907 |
## confdefs.h. ##
|
|
1908 |
## ----------- ##
|
|
1909 |
_ASBOX
|
|
1910 |
echo
|
|
1911 |
cat confdefs.h
|
|
1912 |
echo
|
|
1913 |
fi
|
|
1914 |
test "$ac_signal" != 0 &&
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1915 |
$as_echo "$as_me: caught signal $ac_signal"
|
1916 |
$as_echo "$as_me: exit $exit_status"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1917 |
} >&5
|
1918 |
rm -f core *.core core.conftest.* &&
|
|
1919 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1920 |
exit $exit_status
|
|
1921 |
' 0 |
|
1922 |
for ac_signal in 1 2 13 15; do |
|
1923 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
1924 |
done
|
|
1925 |
ac_signal=0 |
|
1926 |
||
1927 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
1928 |
rm -f -r conftest* confdefs.h |
|
1929 |
||
1930 |
# Predefined preprocessor variables.
|
|
1931 |
||
1932 |
cat >>confdefs.h <<_ACEOF
|
|
1933 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
|
1934 |
_ACEOF
|
|
1935 |
||
1936 |
||
1937 |
cat >>confdefs.h <<_ACEOF
|
|
1938 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|
1939 |
_ACEOF
|
|
1940 |
||
1941 |
||
1942 |
cat >>confdefs.h <<_ACEOF
|
|
1943 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|
1944 |
_ACEOF
|
|
1945 |
||
1946 |
||
1947 |
cat >>confdefs.h <<_ACEOF
|
|
1948 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
|
1949 |
_ACEOF
|
|
1950 |
||
1951 |
||
1952 |
cat >>confdefs.h <<_ACEOF
|
|
1953 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
1954 |
_ACEOF
|
|
1955 |
||
1956 |
||
1957 |
# Let the site file select an alternate cache file if it wants to.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1958 |
# Prefer an explicitly selected file to automatically selected ones.
|
1959 |
ac_site_file1=NONE |
|
1960 |
ac_site_file2=NONE |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1961 |
if test -n "$CONFIG_SITE"; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1962 |
ac_site_file1=$CONFIG_SITE |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1963 |
elif test "x$prefix" != xNONE; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1964 |
ac_site_file1=$prefix/share/config.site |
1965 |
ac_site_file2=$prefix/etc/config.site |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1966 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1967 |
ac_site_file1=$ac_default_prefix/share/config.site |
1968 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1969 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1970 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1971 |
do
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1972 |
test "x$ac_site_file" = xNONE && continue |
1
by Steve Kowalik
Import upstream version 0.4.0 |
1973 |
if test -r "$ac_site_file"; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1974 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1975 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1976 |
sed 's/^/| /' "$ac_site_file" >&5 |
1977 |
. "$ac_site_file" |
|
1978 |
fi
|
|
1979 |
done
|
|
1980 |
||
1981 |
if test -r "$cache_file"; then |
|
1982 |
# Some versions of bash will fail to source /dev/null (special
|
|
1983 |
# files actually), so we avoid doing that.
|
|
1984 |
if test -f "$cache_file"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1985 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1986 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1987 |
case $cache_file in |
1988 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
1989 |
*) . "./$cache_file";; |
|
1990 |
esac
|
|
1991 |
fi
|
|
1992 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
1993 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1994 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
1995 |
>$cache_file
|
1996 |
fi
|
|
1997 |
||
1998 |
# Check that the precious variables saved in the cache have kept the same
|
|
1999 |
# value.
|
|
2000 |
ac_cache_corrupted=false |
|
2001 |
for ac_var in $ac_precious_vars; do |
|
2002 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2003 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2004 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2005 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2006 |
case $ac_old_set,$ac_new_set in |
|
2007 |
set,)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2008 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2009 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2010 |
ac_cache_corrupted=: ;; |
2011 |
,set)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2012 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2013 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2014 |
ac_cache_corrupted=: ;; |
2015 |
,);; |
|
2016 |
*)
|
|
2017 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2018 |
# differences in whitespace do not lead to failure.
|
2019 |
ac_old_val_w=`echo x $ac_old_val` |
|
2020 |
ac_new_val_w=`echo x $ac_new_val` |
|
2021 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2022 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2023 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2024 |
ac_cache_corrupted=: |
|
2025 |
else
|
|
2026 |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2027 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2028 |
eval $ac_var=\$ac_old_val |
|
2029 |
fi
|
|
2030 |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
|
2031 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2032 |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
|
2033 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2034 |
fi;; |
2035 |
esac
|
|
2036 |
# Pass precious variables to config.status.
|
|
2037 |
if test "$ac_new_set" = set; then |
|
2038 |
case $ac_new_val in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2039 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2040 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2041 |
esac
|
|
2042 |
case " $ac_configure_args " in |
|
2043 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2044 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
2045 |
esac
|
|
2046 |
fi
|
|
2047 |
done
|
|
2048 |
if $ac_cache_corrupted; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2049 |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2050 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2051 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
2052 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2053 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
2054 |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2055 |
{ (exit 1); exit 1; }; } |
2056 |
fi
|
|
2057 |
||
2058 |
||
2059 |
||
2060 |
||
2061 |
||
2062 |
||
2063 |
||
2064 |
||
2065 |
||
2066 |
||
2067 |
||
2068 |
||
2069 |
||
2070 |
||
2071 |
||
2072 |
||
2073 |
||
2074 |
||
2075 |
||
2076 |
||
2077 |
||
2078 |
||
2079 |
||
2080 |
||
2081 |
||
2082 |
ac_ext=c |
|
2083 |
ac_cpp='$CPP $CPPFLAGS' |
|
2084 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2085 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2086 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2087 |
||
2088 |
||
2089 |
am__api_version='1.10' |
|
2090 |
||
2091 |
ac_aux_dir= |
|
2092 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2093 |
if test -f "$ac_dir/install-sh"; then |
|
2094 |
ac_aux_dir=$ac_dir |
|
2095 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2096 |
break
|
|
2097 |
elif test -f "$ac_dir/install.sh"; then |
|
2098 |
ac_aux_dir=$ac_dir |
|
2099 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2100 |
break
|
|
2101 |
elif test -f "$ac_dir/shtool"; then |
|
2102 |
ac_aux_dir=$ac_dir |
|
2103 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2104 |
break
|
|
2105 |
fi
|
|
2106 |
done
|
|
2107 |
if test -z "$ac_aux_dir"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2108 |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2109 |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2110 |
{ (exit 1); exit 1; }; } |
2111 |
fi
|
|
2112 |
||
2113 |
# These three variables are undocumented and unsupported,
|
|
2114 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2115 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2116 |
# whose full name contains unusual characters.
|
|
2117 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2118 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2119 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2120 |
||
2121 |
||
2122 |
# Find a good install program. We prefer a C program (faster),
|
|
2123 |
# so one script is as good as another. But avoid the broken or
|
|
2124 |
# incompatible versions:
|
|
2125 |
# SysV /etc/install, /usr/sbin/install
|
|
2126 |
# SunOS /usr/etc/install
|
|
2127 |
# IRIX /sbin/install
|
|
2128 |
# AIX /bin/install
|
|
2129 |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
2130 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
2131 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
2132 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
2133 |
# OS/2's system install, which has a completely different semantic
|
|
2134 |
# ./install, which can be erroneously created by make from ./install.sh.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2135 |
# Reject install programs that cannot install multiple files.
|
2136 |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
2137 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2138 |
if test -z "$INSTALL"; then |
2139 |
if test "${ac_cv_path_install+set}" = set; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2140 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2141 |
else
|
2142 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2143 |
for as_dir in $PATH |
|
2144 |
do
|
|
2145 |
IFS=$as_save_IFS |
|
2146 |
test -z "$as_dir" && as_dir=. |
|
2147 |
# Account for people who put trailing slashes in PATH elements.
|
|
2148 |
case $as_dir/ in |
|
2149 |
./ | .// | /cC/* | \ |
|
2150 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2151 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
2152 |
/usr/ucb/* ) ;; |
|
2153 |
*)
|
|
2154 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2155 |
# Don't use installbsd from OSF since it installs stuff as root
|
|
2156 |
# by default.
|
|
2157 |
for ac_prog in ginstall scoinst install; do |
|
2158 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2159 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
2160 |
if test $ac_prog = install && |
|
2161 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2162 |
# AIX install. It has an incompatible calling convention.
|
|
2163 |
: |
|
2164 |
elif test $ac_prog = install && |
|
2165 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2166 |
# program-specific install script used by HP pwplus--don't use.
|
|
2167 |
: |
|
2168 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2169 |
rm -rf conftest.one conftest.two conftest.dir |
2170 |
echo one > conftest.one
|
|
2171 |
echo two > conftest.two
|
|
2172 |
mkdir conftest.dir |
|
2173 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2174 |
test -s conftest.one && test -s conftest.two && |
|
2175 |
test -s conftest.dir/conftest.one && |
|
2176 |
test -s conftest.dir/conftest.two
|
|
2177 |
then
|
|
2178 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2179 |
break 3 |
|
2180 |
fi
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2181 |
fi
|
2182 |
fi
|
|
2183 |
done
|
|
2184 |
done
|
|
2185 |
;;
|
|
2186 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2187 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2188 |
done
|
2189 |
IFS=$as_save_IFS |
|
2190 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2191 |
rm -rf conftest.one conftest.two conftest.dir |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2192 |
|
2193 |
fi
|
|
2194 |
if test "${ac_cv_path_install+set}" = set; then |
|
2195 |
INSTALL=$ac_cv_path_install |
|
2196 |
else
|
|
2197 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2198 |
# value for INSTALL within a source directory, because that will
|
|
2199 |
# break other packages using the cache if that directory is
|
|
2200 |
# removed, or if the value is a relative name.
|
|
2201 |
INSTALL=$ac_install_sh |
|
2202 |
fi
|
|
2203 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2204 |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2205 |
$as_echo "$INSTALL" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2206 |
|
2207 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2208 |
# It thinks the first close brace ends the variable substitution.
|
|
2209 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2210 |
||
2211 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2212 |
||
2213 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2214 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2215 |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2216 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2217 |
# Just in case
|
2218 |
sleep 1
|
|
2219 |
echo timestamp > conftest.file
|
|
2220 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
2221 |
# arguments. Must try -L first in case configure is actually a
|
|
2222 |
# symlink; some systems play weird games with the mod time of symlinks
|
|
2223 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
2224 |
# directory).
|
|
2225 |
if ( |
|
2226 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|
2227 |
if test "$*" = "X"; then |
|
2228 |
# -L didn't work.
|
|
2229 |
set X `ls -t $srcdir/configure conftest.file` |
|
2230 |
fi
|
|
2231 |
rm -f conftest.file |
|
2232 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2233 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2234 |
||
2235 |
# If neither matched, then we have a broken ls. This can happen
|
|
2236 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
2237 |
# broken ls alias from the environment. This has actually
|
|
2238 |
# happened. Such a system could not be considered "sane".
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2239 |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2240 |
alias in your environment" >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2241 |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2242 |
alias in your environment" >&2;} |
2243 |
{ (exit 1); exit 1; }; } |
|
2244 |
fi
|
|
2245 |
||
2246 |
test "$2" = conftest.file |
|
2247 |
)
|
|
2248 |
then
|
|
2249 |
# Ok.
|
|
2250 |
: |
|
2251 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2252 |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2253 |
Check your system clock" >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2254 |
$as_echo "$as_me: error: newly created file is older than distributed files! |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2255 |
Check your system clock" >&2;} |
2256 |
{ (exit 1); exit 1; }; } |
|
2257 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2258 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
2259 |
$as_echo "yes" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2260 |
test "$program_prefix" != NONE && |
2261 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2262 |
# Use a double $ so make ignores it.
|
|
2263 |
test "$program_suffix" != NONE && |
|
2264 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2265 |
# Double any \ or $.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2266 |
# By default was `s,x,x', remove it if useless.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2267 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2268 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2269 |
|
2270 |
# expand $ac_aux_dir to an absolute path
|
|
2271 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2272 |
||
2273 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|
2274 |
# Use eval to expand $SHELL
|
|
2275 |
if eval "$MISSING --run true"; then |
|
2276 |
am_missing_run="$MISSING --run " |
|
2277 |
else
|
|
2278 |
am_missing_run= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2279 |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2280 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2281 |
fi
|
2282 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2283 |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
2284 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2285 |
if test -z "$MKDIR_P"; then |
2286 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2287 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2288 |
else
|
2289 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2290 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2291 |
do
|
|
2292 |
IFS=$as_save_IFS |
|
2293 |
test -z "$as_dir" && as_dir=. |
|
2294 |
for ac_prog in mkdir gmkdir; do |
|
2295 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2296 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
2297 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2298 |
'mkdir (GNU coreutils) '* | \ |
|
2299 |
'mkdir (coreutils) '* | \ |
|
2300 |
'mkdir (fileutils) '4.1*) |
|
2301 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2302 |
break 3;; |
|
2303 |
esac
|
|
2304 |
done
|
|
2305 |
done
|
|
2306 |
done
|
|
2307 |
IFS=$as_save_IFS |
|
2308 |
||
2309 |
fi
|
|
2310 |
||
2311 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2312 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2313 |
else
|
|
2314 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2315 |
# value for MKDIR_P within a source directory, because that will
|
|
2316 |
# break other packages using the cache if that directory is
|
|
2317 |
# removed, or if the value is a relative name.
|
|
2318 |
test -d ./--version && rmdir ./--version |
|
2319 |
MKDIR_P="$ac_install_sh -d" |
|
2320 |
fi
|
|
2321 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2322 |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
2323 |
$as_echo "$MKDIR_P" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2324 |
|
2325 |
mkdir_p="$MKDIR_P" |
|
2326 |
case $mkdir_p in |
|
2327 |
[\\/$]* | ?:[\\/]*) ;; |
|
2328 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
2329 |
esac
|
|
2330 |
||
2331 |
for ac_prog in gawk mawk nawk awk
|
|
2332 |
do
|
|
2333 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2334 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2335 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2336 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2337 |
if test "${ac_cv_prog_AWK+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2338 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2339 |
else
|
2340 |
if test -n "$AWK"; then |
|
2341 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2342 |
else
|
|
2343 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2344 |
for as_dir in $PATH |
|
2345 |
do
|
|
2346 |
IFS=$as_save_IFS |
|
2347 |
test -z "$as_dir" && as_dir=. |
|
2348 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2349 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2350 |
ac_cv_prog_AWK="$ac_prog" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2351 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2352 |
break 2 |
2353 |
fi
|
|
2354 |
done
|
|
2355 |
done
|
|
2356 |
IFS=$as_save_IFS |
|
2357 |
||
2358 |
fi
|
|
2359 |
fi
|
|
2360 |
AWK=$ac_cv_prog_AWK |
|
2361 |
if test -n "$AWK"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2362 |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
2363 |
$as_echo "$AWK" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2364 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2365 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2366 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2367 |
fi
|
2368 |
||
2369 |
||
2370 |
test -n "$AWK" && break |
|
2371 |
done
|
|
2372 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2373 |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2374 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2375 |
set x ${MAKE-make} |
|
2376 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2377 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2378 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2379 |
else
|
2380 |
cat >conftest.make <<\_ACEOF
|
|
2381 |
SHELL = /bin/sh
|
|
2382 |
all:
|
|
2383 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
2384 |
_ACEOF
|
|
2385 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2386 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2387 |
*@@@%%%=?*=@@@%%%*) |
|
2388 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2389 |
*)
|
|
2390 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2391 |
esac
|
|
2392 |
rm -f conftest.make |
|
2393 |
fi
|
|
2394 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2395 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
2396 |
$as_echo "yes" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2397 |
SET_MAKE= |
2398 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2399 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2400 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2401 |
SET_MAKE="MAKE=${MAKE-make}" |
2402 |
fi
|
|
2403 |
||
2404 |
rm -rf .tst 2>/dev/null
|
|
2405 |
mkdir .tst 2>/dev/null
|
|
2406 |
if test -d .tst; then |
|
2407 |
am__leading_dot=. |
|
2408 |
else
|
|
2409 |
am__leading_dot=_ |
|
2410 |
fi
|
|
2411 |
rmdir .tst 2>/dev/null
|
|
2412 |
||
2413 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2414 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2415 |
# is not polluted with repeated "-I."
|
|
2416 |
am__isrc=' -I$(srcdir)' |
|
2417 |
# test to see if srcdir already configured
|
|
2418 |
if test -f $srcdir/config.status; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2419 |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2420 |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2421 |
{ (exit 1); exit 1; }; } |
2422 |
fi
|
|
2423 |
fi
|
|
2424 |
||
2425 |
# test whether we have cygpath
|
|
2426 |
if test -z "$CYGPATH_W"; then |
|
2427 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2428 |
CYGPATH_W='cygpath -w' |
|
2429 |
else
|
|
2430 |
CYGPATH_W=echo |
|
2431 |
fi
|
|
2432 |
fi
|
|
2433 |
||
2434 |
||
2435 |
# Define the identity of the package.
|
|
2436 |
PACKAGE='desktop-switcher' |
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
2437 |
VERSION='0.4.6' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2438 |
|
2439 |
||
2440 |
cat >>confdefs.h <<_ACEOF
|
|
2441 |
#define PACKAGE "$PACKAGE"
|
|
2442 |
_ACEOF
|
|
2443 |
||
2444 |
||
2445 |
cat >>confdefs.h <<_ACEOF
|
|
2446 |
#define VERSION "$VERSION"
|
|
2447 |
_ACEOF
|
|
2448 |
||
2449 |
# Some tools Automake needs.
|
|
2450 |
||
2451 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2452 |
||
2453 |
||
2454 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2455 |
||
2456 |
||
2457 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2458 |
||
2459 |
||
2460 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2461 |
||
2462 |
||
2463 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2464 |
||
2465 |
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
|
2466 |
||
2467 |
# Installed binaries are usually stripped using `strip' when the user
|
|
2468 |
# run `make install-strip'. However `strip' might not be the right
|
|
2469 |
# tool to use in cross-compilation environments, therefore Automake
|
|
2470 |
# will honor the `STRIP' environment variable to overrule this program.
|
|
2471 |
if test "$cross_compiling" != no; then |
|
2472 |
if test -n "$ac_tool_prefix"; then |
|
2473 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2474 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2475 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2476 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2477 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2478 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2479 |
else
|
2480 |
if test -n "$STRIP"; then |
|
2481 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2482 |
else
|
|
2483 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2484 |
for as_dir in $PATH |
|
2485 |
do
|
|
2486 |
IFS=$as_save_IFS |
|
2487 |
test -z "$as_dir" && as_dir=. |
|
2488 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2489 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2490 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2491 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2492 |
break 2 |
2493 |
fi
|
|
2494 |
done
|
|
2495 |
done
|
|
2496 |
IFS=$as_save_IFS |
|
2497 |
||
2498 |
fi
|
|
2499 |
fi
|
|
2500 |
STRIP=$ac_cv_prog_STRIP |
|
2501 |
if test -n "$STRIP"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2502 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
2503 |
$as_echo "$STRIP" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2504 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2505 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2506 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2507 |
fi
|
2508 |
||
2509 |
||
2510 |
fi
|
|
2511 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2512 |
ac_ct_STRIP=$STRIP |
|
2513 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
2514 |
set dummy strip; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2515 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2516 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2517 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2518 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2519 |
else
|
2520 |
if test -n "$ac_ct_STRIP"; then |
|
2521 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2522 |
else
|
|
2523 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2524 |
for as_dir in $PATH |
|
2525 |
do
|
|
2526 |
IFS=$as_save_IFS |
|
2527 |
test -z "$as_dir" && as_dir=. |
|
2528 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2529 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2530 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2531 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2532 |
break 2 |
2533 |
fi
|
|
2534 |
done
|
|
2535 |
done
|
|
2536 |
IFS=$as_save_IFS |
|
2537 |
||
2538 |
fi
|
|
2539 |
fi
|
|
2540 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2541 |
if test -n "$ac_ct_STRIP"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2542 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2543 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2544 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2545 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2546 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2547 |
fi
|
2548 |
||
2549 |
if test "x$ac_ct_STRIP" = x; then |
|
2550 |
STRIP=":" |
|
2551 |
else
|
|
2552 |
case $cross_compiling:$ac_tool_warned in |
|
2553 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2554 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2555 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2556 |
ac_tool_warned=yes ;; |
2557 |
esac
|
|
2558 |
STRIP=$ac_ct_STRIP |
|
2559 |
fi
|
|
2560 |
else
|
|
2561 |
STRIP="$ac_cv_prog_STRIP" |
|
2562 |
fi
|
|
2563 |
||
2564 |
fi
|
|
2565 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2566 |
||
2567 |
# We need awk for the "check" target. The system "awk" is bad on
|
|
2568 |
# some platforms.
|
|
2569 |
# Always define AMTAR for backward compatibility.
|
|
2570 |
||
2571 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
2572 |
||
2573 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
2574 |
||
2575 |
||
2576 |
||
2577 |
||
2578 |
||
2579 |
||
2580 |
ac_config_headers="$ac_config_headers config.h" |
|
2581 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2582 |
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
2583 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2584 |
# Check whether --enable-maintainer-mode was given.
|
2585 |
if test "${enable_maintainer_mode+set}" = set; then |
|
2586 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
|
2587 |
else
|
|
2588 |
USE_MAINTAINER_MODE=no |
|
2589 |
fi
|
|
2590 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2591 |
{ $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
2592 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2593 |
if test $USE_MAINTAINER_MODE = yes; then |
2594 |
MAINTAINER_MODE_TRUE= |
|
2595 |
MAINTAINER_MODE_FALSE='#' |
|
2596 |
else
|
|
2597 |
MAINTAINER_MODE_TRUE='#' |
|
2598 |
MAINTAINER_MODE_FALSE= |
|
2599 |
fi
|
|
2600 |
||
2601 |
MAINT=$MAINTAINER_MODE_TRUE |
|
2602 |
||
2603 |
||
2604 |
||
2605 |
DEPDIR="${am__leading_dot}deps" |
|
2606 |
||
2607 |
ac_config_commands="$ac_config_commands depfiles" |
|
2608 |
||
2609 |
||
2610 |
am_make=${MAKE-make} |
|
2611 |
cat > confinc << 'END'
|
|
2612 |
am__doit:
|
|
2613 |
@echo done
|
|
2614 |
.PHONY: am__doit
|
|
2615 |
END
|
|
2616 |
# If we don't find an include directive, just comment out the code.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2617 |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2618 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2619 |
am__include="#" |
2620 |
am__quote= |
|
2621 |
_am_result=none |
|
2622 |
# First try GNU make style include.
|
|
2623 |
echo "include confinc" > confmf |
|
2624 |
# We grep out `Entering directory' and `Leaving directory'
|
|
2625 |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
|
2626 |
# In particular we don't look at `^make:' because GNU make might
|
|
2627 |
# be invoked under some other name (usually "gmake"), in which
|
|
2628 |
# case it prints its new name instead of `make'.
|
|
2629 |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
|
2630 |
am__include=include |
|
2631 |
am__quote= |
|
2632 |
_am_result=GNU |
|
2633 |
fi
|
|
2634 |
# Now try BSD make style include.
|
|
2635 |
if test "$am__include" = "#"; then |
|
2636 |
echo '.include "confinc"' > confmf |
|
2637 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|
2638 |
am__include=.include |
|
2639 |
am__quote="\"" |
|
2640 |
_am_result=BSD |
|
2641 |
fi
|
|
2642 |
fi
|
|
2643 |
||
2644 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2645 |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
2646 |
$as_echo "$_am_result" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2647 |
rm -f confinc confmf |
2648 |
||
2649 |
# Check whether --enable-dependency-tracking was given.
|
|
2650 |
if test "${enable_dependency_tracking+set}" = set; then |
|
2651 |
enableval=$enable_dependency_tracking; |
|
2652 |
fi
|
|
2653 |
||
2654 |
if test "x$enable_dependency_tracking" != xno; then |
|
2655 |
am_depcomp="$ac_aux_dir/depcomp" |
|
2656 |
AMDEPBACKSLASH='\' |
|
2657 |
fi
|
|
2658 |
if test "x$enable_dependency_tracking" != xno; then |
|
2659 |
AMDEP_TRUE= |
|
2660 |
AMDEP_FALSE='#' |
|
2661 |
else
|
|
2662 |
AMDEP_TRUE='#' |
|
2663 |
AMDEP_FALSE= |
|
2664 |
fi
|
|
2665 |
||
2666 |
||
2667 |
ac_ext=c |
|
2668 |
ac_cpp='$CPP $CPPFLAGS' |
|
2669 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2670 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2671 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2672 |
if test -n "$ac_tool_prefix"; then |
|
2673 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
2674 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2675 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2676 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2677 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2678 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2679 |
else
|
2680 |
if test -n "$CC"; then |
|
2681 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2682 |
else
|
|
2683 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2684 |
for as_dir in $PATH |
|
2685 |
do
|
|
2686 |
IFS=$as_save_IFS |
|
2687 |
test -z "$as_dir" && as_dir=. |
|
2688 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2689 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2690 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2691 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2692 |
break 2 |
2693 |
fi
|
|
2694 |
done
|
|
2695 |
done
|
|
2696 |
IFS=$as_save_IFS |
|
2697 |
||
2698 |
fi
|
|
2699 |
fi
|
|
2700 |
CC=$ac_cv_prog_CC |
|
2701 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2702 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2703 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2704 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2705 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2706 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2707 |
fi
|
2708 |
||
2709 |
||
2710 |
fi
|
|
2711 |
if test -z "$ac_cv_prog_CC"; then |
|
2712 |
ac_ct_CC=$CC |
|
2713 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
2714 |
set dummy gcc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2715 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2716 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2717 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2718 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2719 |
else
|
2720 |
if test -n "$ac_ct_CC"; then |
|
2721 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2722 |
else
|
|
2723 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2724 |
for as_dir in $PATH |
|
2725 |
do
|
|
2726 |
IFS=$as_save_IFS |
|
2727 |
test -z "$as_dir" && as_dir=. |
|
2728 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2729 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2730 |
ac_cv_prog_ac_ct_CC="gcc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2731 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2732 |
break 2 |
2733 |
fi
|
|
2734 |
done
|
|
2735 |
done
|
|
2736 |
IFS=$as_save_IFS |
|
2737 |
||
2738 |
fi
|
|
2739 |
fi
|
|
2740 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2741 |
if test -n "$ac_ct_CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2742 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2743 |
$as_echo "$ac_ct_CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2744 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2745 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2746 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2747 |
fi
|
2748 |
||
2749 |
if test "x$ac_ct_CC" = x; then |
|
2750 |
CC="" |
|
2751 |
else
|
|
2752 |
case $cross_compiling:$ac_tool_warned in |
|
2753 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2754 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2755 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2756 |
ac_tool_warned=yes ;; |
2757 |
esac
|
|
2758 |
CC=$ac_ct_CC |
|
2759 |
fi
|
|
2760 |
else
|
|
2761 |
CC="$ac_cv_prog_CC" |
|
2762 |
fi
|
|
2763 |
||
2764 |
if test -z "$CC"; then |
|
2765 |
if test -n "$ac_tool_prefix"; then |
|
2766 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2767 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2768 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2769 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2770 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2771 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2772 |
else
|
2773 |
if test -n "$CC"; then |
|
2774 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2775 |
else
|
|
2776 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2777 |
for as_dir in $PATH |
|
2778 |
do
|
|
2779 |
IFS=$as_save_IFS |
|
2780 |
test -z "$as_dir" && as_dir=. |
|
2781 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2782 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2783 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2784 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2785 |
break 2 |
2786 |
fi
|
|
2787 |
done
|
|
2788 |
done
|
|
2789 |
IFS=$as_save_IFS |
|
2790 |
||
2791 |
fi
|
|
2792 |
fi
|
|
2793 |
CC=$ac_cv_prog_CC |
|
2794 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2795 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2796 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2797 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2798 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2799 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2800 |
fi
|
2801 |
||
2802 |
||
2803 |
fi
|
|
2804 |
fi
|
|
2805 |
if test -z "$CC"; then |
|
2806 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
2807 |
set dummy cc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2808 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2809 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2810 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2811 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2812 |
else
|
2813 |
if test -n "$CC"; then |
|
2814 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2815 |
else
|
|
2816 |
ac_prog_rejected=no |
|
2817 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2818 |
for as_dir in $PATH |
|
2819 |
do
|
|
2820 |
IFS=$as_save_IFS |
|
2821 |
test -z "$as_dir" && as_dir=. |
|
2822 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2823 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2824 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
2825 |
ac_prog_rejected=yes |
|
2826 |
continue
|
|
2827 |
fi
|
|
2828 |
ac_cv_prog_CC="cc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2829 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2830 |
break 2 |
2831 |
fi
|
|
2832 |
done
|
|
2833 |
done
|
|
2834 |
IFS=$as_save_IFS |
|
2835 |
||
2836 |
if test $ac_prog_rejected = yes; then |
|
2837 |
# We found a bogon in the path, so make sure we never use it.
|
|
2838 |
set dummy $ac_cv_prog_CC |
|
2839 |
shift
|
|
2840 |
if test $# != 0; then |
|
2841 |
# We chose a different compiler from the bogus one.
|
|
2842 |
# However, it has the same basename, so the bogon will be chosen
|
|
2843 |
# first if we set CC to just the basename; use the full file name.
|
|
2844 |
shift
|
|
2845 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
2846 |
fi
|
|
2847 |
fi
|
|
2848 |
fi
|
|
2849 |
fi
|
|
2850 |
CC=$ac_cv_prog_CC |
|
2851 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2852 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2853 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2854 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2855 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2856 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2857 |
fi
|
2858 |
||
2859 |
||
2860 |
fi
|
|
2861 |
if test -z "$CC"; then |
|
2862 |
if test -n "$ac_tool_prefix"; then |
|
2863 |
for ac_prog in cl.exe
|
|
2864 |
do
|
|
2865 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
2866 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2867 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2868 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2869 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2870 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2871 |
else
|
2872 |
if test -n "$CC"; then |
|
2873 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2874 |
else
|
|
2875 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2876 |
for as_dir in $PATH |
|
2877 |
do
|
|
2878 |
IFS=$as_save_IFS |
|
2879 |
test -z "$as_dir" && as_dir=. |
|
2880 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2881 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2882 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2883 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2884 |
break 2 |
2885 |
fi
|
|
2886 |
done
|
|
2887 |
done
|
|
2888 |
IFS=$as_save_IFS |
|
2889 |
||
2890 |
fi
|
|
2891 |
fi
|
|
2892 |
CC=$ac_cv_prog_CC |
|
2893 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2894 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2895 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2896 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2897 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2898 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2899 |
fi
|
2900 |
||
2901 |
||
2902 |
test -n "$CC" && break |
|
2903 |
done
|
|
2904 |
fi
|
|
2905 |
if test -z "$CC"; then |
|
2906 |
ac_ct_CC=$CC |
|
2907 |
for ac_prog in cl.exe
|
|
2908 |
do
|
|
2909 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2910 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2911 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2912 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2913 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2914 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2915 |
else
|
2916 |
if test -n "$ac_ct_CC"; then |
|
2917 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2918 |
else
|
|
2919 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2920 |
for as_dir in $PATH |
|
2921 |
do
|
|
2922 |
IFS=$as_save_IFS |
|
2923 |
test -z "$as_dir" && as_dir=. |
|
2924 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2925 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
2926 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2927 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2928 |
break 2 |
2929 |
fi
|
|
2930 |
done
|
|
2931 |
done
|
|
2932 |
IFS=$as_save_IFS |
|
2933 |
||
2934 |
fi
|
|
2935 |
fi
|
|
2936 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2937 |
if test -n "$ac_ct_CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2938 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2939 |
$as_echo "$ac_ct_CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2940 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2941 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2942 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2943 |
fi
|
2944 |
||
2945 |
||
2946 |
test -n "$ac_ct_CC" && break |
|
2947 |
done
|
|
2948 |
||
2949 |
if test "x$ac_ct_CC" = x; then |
|
2950 |
CC="" |
|
2951 |
else
|
|
2952 |
case $cross_compiling:$ac_tool_warned in |
|
2953 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2954 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2955 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2956 |
ac_tool_warned=yes ;; |
2957 |
esac
|
|
2958 |
CC=$ac_ct_CC |
|
2959 |
fi
|
|
2960 |
fi
|
|
2961 |
||
2962 |
fi
|
|
2963 |
||
2964 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2965 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2966 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2967 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2968 |
See \`config.log' for more details." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2969 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2970 |
See \`config.log' for more details." >&2;} |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2971 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2972 |
|
2973 |
# Provide some information about the compiler.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2974 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2975 |
set X $ac_compile |
|
2976 |
ac_compiler=$2 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2977 |
{ (ac_try="$ac_compiler --version >&5" |
2978 |
case "(($ac_try" in |
|
2979 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2980 |
*) ac_try_echo=$ac_try;; |
|
2981 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2982 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2983 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2984 |
(eval "$ac_compiler --version >&5") 2>&5 |
2985 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2986 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2987 |
(exit $ac_status); } |
2988 |
{ (ac_try="$ac_compiler -v >&5" |
|
2989 |
case "(($ac_try" in |
|
2990 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2991 |
*) ac_try_echo=$ac_try;; |
|
2992 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2993 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2994 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
2995 |
(eval "$ac_compiler -v >&5") 2>&5 |
2996 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
2997 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
2998 |
(exit $ac_status); } |
2999 |
{ (ac_try="$ac_compiler -V >&5" |
|
3000 |
case "(($ac_try" in |
|
3001 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3002 |
*) ac_try_echo=$ac_try;; |
|
3003 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3004 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3005 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3006 |
(eval "$ac_compiler -V >&5") 2>&5 |
3007 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3008 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3009 |
(exit $ac_status); } |
3010 |
||
3011 |
cat >conftest.$ac_ext <<_ACEOF |
|
3012 |
/* confdefs.h. */
|
|
3013 |
_ACEOF
|
|
3014 |
cat confdefs.h >>conftest.$ac_ext
|
|
3015 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3016 |
/* end confdefs.h. */
|
|
3017 |
||
3018 |
int
|
|
3019 |
main ()
|
|
3020 |
{
|
|
3021 |
||
3022 |
;
|
|
3023 |
return 0;
|
|
3024 |
}
|
|
3025 |
_ACEOF
|
|
3026 |
ac_clean_files_save=$ac_clean_files |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3027 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3028 |
# Try to create an executable without -o first, disregard a.out.
|
3029 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
3030 |
# of exeext.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3031 |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3032 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3033 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3034 |
||
3035 |
# The possible output files:
|
|
3036 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3037 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
3038 |
ac_rmfiles= |
3039 |
for ac_file in $ac_files |
|
3040 |
do
|
|
3041 |
case $ac_file in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3042 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3043 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3044 |
esac
|
|
3045 |
done
|
|
3046 |
rm -f $ac_rmfiles
|
|
3047 |
||
3048 |
if { (ac_try="$ac_link_default" |
|
3049 |
case "(($ac_try" in |
|
3050 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3051 |
*) ac_try_echo=$ac_try;; |
|
3052 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3053 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3054 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3055 |
(eval "$ac_link_default") 2>&5 |
3056 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3057 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3058 |
(exit $ac_status); }; then |
3059 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
|
3060 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
3061 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3062 |
# so that the user can short-circuit this test for compilers unknown to
|
|
3063 |
# Autoconf.
|
|
3064 |
for ac_file in $ac_files '' |
|
3065 |
do
|
|
3066 |
test -f "$ac_file" || continue |
|
3067 |
case $ac_file in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3068 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3069 |
;;
|
3070 |
[ab].out ) |
|
3071 |
# We found the default executable, but exeext='' is most
|
|
3072 |
# certainly right.
|
|
3073 |
break;;
|
|
3074 |
*.* )
|
|
3075 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3076 |
then :; else |
|
3077 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3078 |
fi
|
|
3079 |
# We set ac_cv_exeext here because the later test for it is not
|
|
3080 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
3081 |
# argument, so we may need to know it at that point already.
|
|
3082 |
# Even if this section looks crufty: it has the advantage of
|
|
3083 |
# actually working.
|
|
3084 |
break;;
|
|
3085 |
* )
|
|
3086 |
break;;
|
|
3087 |
esac
|
|
3088 |
done
|
|
3089 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3090 |
||
3091 |
else
|
|
3092 |
ac_file='' |
|
3093 |
fi
|
|
3094 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3095 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3096 |
$as_echo "$ac_file" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3097 |
if test -z "$ac_file"; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3098 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3099 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3100 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3101 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3102 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3103 |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3104 |
See \`config.log' for more details." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3105 |
$as_echo "$as_me: error: C compiler cannot create executables |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3106 |
See \`config.log' for more details." >&2;} |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3107 |
{ (exit 77); exit 77; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3108 |
fi
|
3109 |
||
3110 |
ac_exeext=$ac_cv_exeext |
|
3111 |
||
3112 |
# Check that the compiler produces executables we can run. If not, either
|
|
3113 |
# the compiler is broken, or we cross compile.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3114 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3115 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3116 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
3117 |
# If not cross compiling, check that we can run a simple program.
|
|
3118 |
if test "$cross_compiling" != yes; then |
|
3119 |
if { ac_try='./$ac_file' |
|
3120 |
{ (case "(($ac_try" in |
|
3121 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3122 |
*) ac_try_echo=$ac_try;; |
|
3123 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3124 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3125 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3126 |
(eval "$ac_try") 2>&5 |
3127 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3128 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3129 |
(exit $ac_status); }; }; then |
3130 |
cross_compiling=no |
|
3131 |
else
|
|
3132 |
if test "$cross_compiling" = maybe; then |
|
3133 |
cross_compiling=yes |
|
3134 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3135 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3136 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3137 |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3138 |
If you meant to cross compile, use \`--host'.
|
3139 |
See \`config.log' for more details." >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3140 |
$as_echo "$as_me: error: cannot run C compiled programs. |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3141 |
If you meant to cross compile, use \`--host'.
|
3142 |
See \`config.log' for more details." >&2;} |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3143 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3144 |
fi
|
3145 |
fi
|
|
3146 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3147 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3148 |
$as_echo "yes" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3149 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3150 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3151 |
ac_clean_files=$ac_clean_files_save |
3152 |
# Check that the compiler produces executables we can run. If not, either
|
|
3153 |
# the compiler is broken, or we cross compile.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3154 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3155 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3156 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
3157 |
$as_echo "$cross_compiling" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3158 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3159 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3160 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3161 |
if { (ac_try="$ac_link" |
3162 |
case "(($ac_try" in |
|
3163 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3164 |
*) ac_try_echo=$ac_try;; |
|
3165 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3166 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3167 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3168 |
(eval "$ac_link") 2>&5 |
3169 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3170 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3171 |
(exit $ac_status); }; then |
3172 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
|
3173 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
3174 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3175 |
# `rm'.
|
|
3176 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3177 |
test -f "$ac_file" || continue |
|
3178 |
case $ac_file in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3179 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3180 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3181 |
break;;
|
|
3182 |
* ) break;; |
|
3183 |
esac
|
|
3184 |
done
|
|
3185 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3186 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3187 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3188 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3189 |
See \`config.log' for more details." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3190 |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3191 |
See \`config.log' for more details." >&2;} |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3192 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3193 |
fi
|
3194 |
||
3195 |
rm -f conftest$ac_cv_exeext
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3196 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3197 |
$as_echo "$ac_cv_exeext" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3198 |
|
3199 |
rm -f conftest.$ac_ext
|
|
3200 |
EXEEXT=$ac_cv_exeext |
|
3201 |
ac_exeext=$EXEEXT |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3202 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3203 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3204 |
if test "${ac_cv_objext+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3205 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3206 |
else
|
3207 |
cat >conftest.$ac_ext <<_ACEOF |
|
3208 |
/* confdefs.h. */
|
|
3209 |
_ACEOF
|
|
3210 |
cat confdefs.h >>conftest.$ac_ext
|
|
3211 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3212 |
/* end confdefs.h. */
|
|
3213 |
||
3214 |
int
|
|
3215 |
main ()
|
|
3216 |
{
|
|
3217 |
||
3218 |
;
|
|
3219 |
return 0;
|
|
3220 |
}
|
|
3221 |
_ACEOF
|
|
3222 |
rm -f conftest.o conftest.obj |
|
3223 |
if { (ac_try="$ac_compile" |
|
3224 |
case "(($ac_try" in |
|
3225 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3226 |
*) ac_try_echo=$ac_try;; |
|
3227 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3228 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3229 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3230 |
(eval "$ac_compile") 2>&5 |
3231 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3232 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3233 |
(exit $ac_status); }; then |
3234 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3235 |
test -f "$ac_file" || continue; |
|
3236 |
case $ac_file in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3237 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3238 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3239 |
break;;
|
|
3240 |
esac
|
|
3241 |
done
|
|
3242 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3243 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3244 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3245 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3246 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3247 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3248 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3249 |
See \`config.log' for more details." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3250 |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3251 |
See \`config.log' for more details." >&2;} |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3252 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3253 |
fi
|
3254 |
||
3255 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3256 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3257 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3258 |
$as_echo "$ac_cv_objext" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3259 |
OBJEXT=$ac_cv_objext |
3260 |
ac_objext=$OBJEXT |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3261 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3262 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3263 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3264 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3265 |
else
|
3266 |
cat >conftest.$ac_ext <<_ACEOF |
|
3267 |
/* confdefs.h. */
|
|
3268 |
_ACEOF
|
|
3269 |
cat confdefs.h >>conftest.$ac_ext
|
|
3270 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3271 |
/* end confdefs.h. */
|
|
3272 |
||
3273 |
int
|
|
3274 |
main ()
|
|
3275 |
{
|
|
3276 |
#ifndef __GNUC__
|
|
3277 |
choke me
|
|
3278 |
#endif
|
|
3279 |
||
3280 |
;
|
|
3281 |
return 0;
|
|
3282 |
}
|
|
3283 |
_ACEOF
|
|
3284 |
rm -f conftest.$ac_objext
|
|
3285 |
if { (ac_try="$ac_compile" |
|
3286 |
case "(($ac_try" in |
|
3287 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3288 |
*) ac_try_echo=$ac_try;; |
|
3289 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3290 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3291 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3292 |
(eval "$ac_compile") 2>conftest.er1 |
3293 |
ac_status=$? |
|
3294 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3295 |
rm -f conftest.er1 |
|
3296 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3297 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3298 |
(exit $ac_status); } && { |
3299 |
test -z "$ac_c_werror_flag" || |
|
3300 |
test ! -s conftest.err
|
|
3301 |
} && test -s conftest.$ac_objext; then |
|
3302 |
ac_compiler_gnu=yes |
|
3303 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3304 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3305 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3306 |
||
3307 |
ac_compiler_gnu=no |
|
3308 |
fi
|
|
3309 |
||
3310 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3311 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3312 |
||
3313 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3314 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3315 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3316 |
if test $ac_compiler_gnu = yes; then |
|
3317 |
GCC=yes |
|
3318 |
else
|
|
3319 |
GCC= |
|
3320 |
fi
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3321 |
ac_test_CFLAGS=${CFLAGS+set} |
3322 |
ac_save_CFLAGS=$CFLAGS |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3323 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3324 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3325 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3326 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3327 |
else
|
3328 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
3329 |
ac_c_werror_flag=yes |
|
3330 |
ac_cv_prog_cc_g=no |
|
3331 |
CFLAGS="-g" |
|
3332 |
cat >conftest.$ac_ext <<_ACEOF |
|
3333 |
/* confdefs.h. */
|
|
3334 |
_ACEOF
|
|
3335 |
cat confdefs.h >>conftest.$ac_ext
|
|
3336 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3337 |
/* end confdefs.h. */
|
|
3338 |
||
3339 |
int
|
|
3340 |
main ()
|
|
3341 |
{
|
|
3342 |
||
3343 |
;
|
|
3344 |
return 0;
|
|
3345 |
}
|
|
3346 |
_ACEOF
|
|
3347 |
rm -f conftest.$ac_objext
|
|
3348 |
if { (ac_try="$ac_compile" |
|
3349 |
case "(($ac_try" in |
|
3350 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3351 |
*) ac_try_echo=$ac_try;; |
|
3352 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3353 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3354 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3355 |
(eval "$ac_compile") 2>conftest.er1 |
3356 |
ac_status=$? |
|
3357 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3358 |
rm -f conftest.er1 |
|
3359 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3360 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3361 |
(exit $ac_status); } && { |
3362 |
test -z "$ac_c_werror_flag" || |
|
3363 |
test ! -s conftest.err
|
|
3364 |
} && test -s conftest.$ac_objext; then |
|
3365 |
ac_cv_prog_cc_g=yes |
|
3366 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3367 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3368 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3369 |
||
3370 |
CFLAGS="" |
|
3371 |
cat >conftest.$ac_ext <<_ACEOF |
|
3372 |
/* confdefs.h. */
|
|
3373 |
_ACEOF
|
|
3374 |
cat confdefs.h >>conftest.$ac_ext
|
|
3375 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3376 |
/* end confdefs.h. */
|
|
3377 |
||
3378 |
int
|
|
3379 |
main ()
|
|
3380 |
{
|
|
3381 |
||
3382 |
;
|
|
3383 |
return 0;
|
|
3384 |
}
|
|
3385 |
_ACEOF
|
|
3386 |
rm -f conftest.$ac_objext
|
|
3387 |
if { (ac_try="$ac_compile" |
|
3388 |
case "(($ac_try" in |
|
3389 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3390 |
*) ac_try_echo=$ac_try;; |
|
3391 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3392 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3393 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3394 |
(eval "$ac_compile") 2>conftest.er1 |
3395 |
ac_status=$? |
|
3396 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3397 |
rm -f conftest.er1 |
|
3398 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3399 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3400 |
(exit $ac_status); } && { |
3401 |
test -z "$ac_c_werror_flag" || |
|
3402 |
test ! -s conftest.err
|
|
3403 |
} && test -s conftest.$ac_objext; then |
|
3404 |
: |
|
3405 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3406 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3407 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3408 |
||
3409 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3410 |
CFLAGS="-g" |
|
3411 |
cat >conftest.$ac_ext <<_ACEOF |
|
3412 |
/* confdefs.h. */
|
|
3413 |
_ACEOF
|
|
3414 |
cat confdefs.h >>conftest.$ac_ext
|
|
3415 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3416 |
/* end confdefs.h. */
|
|
3417 |
||
3418 |
int
|
|
3419 |
main ()
|
|
3420 |
{
|
|
3421 |
||
3422 |
;
|
|
3423 |
return 0;
|
|
3424 |
}
|
|
3425 |
_ACEOF
|
|
3426 |
rm -f conftest.$ac_objext
|
|
3427 |
if { (ac_try="$ac_compile" |
|
3428 |
case "(($ac_try" in |
|
3429 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3430 |
*) ac_try_echo=$ac_try;; |
|
3431 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3432 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3433 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3434 |
(eval "$ac_compile") 2>conftest.er1 |
3435 |
ac_status=$? |
|
3436 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3437 |
rm -f conftest.er1 |
|
3438 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3439 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3440 |
(exit $ac_status); } && { |
3441 |
test -z "$ac_c_werror_flag" || |
|
3442 |
test ! -s conftest.err
|
|
3443 |
} && test -s conftest.$ac_objext; then |
|
3444 |
ac_cv_prog_cc_g=yes |
|
3445 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3446 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3447 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3448 |
||
3449 |
||
3450 |
fi
|
|
3451 |
||
3452 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3453 |
fi
|
|
3454 |
||
3455 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3456 |
fi
|
|
3457 |
||
3458 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3459 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3460 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3461 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3462 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3463 |
if test "$ac_test_CFLAGS" = set; then |
3464 |
CFLAGS=$ac_save_CFLAGS |
|
3465 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3466 |
if test "$GCC" = yes; then |
|
3467 |
CFLAGS="-g -O2" |
|
3468 |
else
|
|
3469 |
CFLAGS="-g" |
|
3470 |
fi
|
|
3471 |
else
|
|
3472 |
if test "$GCC" = yes; then |
|
3473 |
CFLAGS="-O2" |
|
3474 |
else
|
|
3475 |
CFLAGS= |
|
3476 |
fi
|
|
3477 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3478 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3479 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3480 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3481 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3482 |
else
|
3483 |
ac_cv_prog_cc_c89=no |
|
3484 |
ac_save_CC=$CC |
|
3485 |
cat >conftest.$ac_ext <<_ACEOF |
|
3486 |
/* confdefs.h. */
|
|
3487 |
_ACEOF
|
|
3488 |
cat confdefs.h >>conftest.$ac_ext
|
|
3489 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3490 |
/* end confdefs.h. */
|
|
3491 |
#include <stdarg.h>
|
|
3492 |
#include <stdio.h>
|
|
3493 |
#include <sys/types.h>
|
|
3494 |
#include <sys/stat.h>
|
|
3495 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
3496 |
struct buf { int x; };
|
|
3497 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3498 |
static char *e (p, i)
|
|
3499 |
char **p;
|
|
3500 |
int i;
|
|
3501 |
{
|
|
3502 |
return p[i];
|
|
3503 |
}
|
|
3504 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
3505 |
{
|
|
3506 |
char *s;
|
|
3507 |
va_list v;
|
|
3508 |
va_start (v,p);
|
|
3509 |
s = g (p, va_arg (v,int));
|
|
3510 |
va_end (v);
|
|
3511 |
return s;
|
|
3512 |
}
|
|
3513 |
||
3514 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
3515 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
3516 |
These don't provoke an error unfortunately, instead are silently treated
|
|
3517 |
as 'x'. The following induces an error, until -std is added to get
|
|
3518 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
3519 |
array size at least. It's necessary to write '\x00'==0 to get something
|
|
3520 |
that's true only with -std. */
|
|
3521 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
3522 |
||
3523 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
3524 |
inside strings and character constants. */
|
|
3525 |
#define FOO(x) 'x'
|
|
3526 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
3527 |
||
3528 |
int test (int i, double x);
|
|
3529 |
struct s1 {int (*f) (int a);};
|
|
3530 |
struct s2 {int (*f) (double a);};
|
|
3531 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
3532 |
int argc;
|
|
3533 |
char **argv;
|
|
3534 |
int
|
|
3535 |
main ()
|
|
3536 |
{
|
|
3537 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
3538 |
;
|
|
3539 |
return 0;
|
|
3540 |
}
|
|
3541 |
_ACEOF
|
|
3542 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
3543 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3544 |
do
|
|
3545 |
CC="$ac_save_CC $ac_arg" |
|
3546 |
rm -f conftest.$ac_objext
|
|
3547 |
if { (ac_try="$ac_compile" |
|
3548 |
case "(($ac_try" in |
|
3549 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3550 |
*) ac_try_echo=$ac_try;; |
|
3551 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3552 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3553 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3554 |
(eval "$ac_compile") 2>conftest.er1 |
3555 |
ac_status=$? |
|
3556 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3557 |
rm -f conftest.er1 |
|
3558 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3559 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3560 |
(exit $ac_status); } && { |
3561 |
test -z "$ac_c_werror_flag" || |
|
3562 |
test ! -s conftest.err
|
|
3563 |
} && test -s conftest.$ac_objext; then |
|
3564 |
ac_cv_prog_cc_c89=$ac_arg |
|
3565 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3566 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3567 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3568 |
||
3569 |
||
3570 |
fi
|
|
3571 |
||
3572 |
rm -f core conftest.err conftest.$ac_objext
|
|
3573 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
3574 |
done
|
|
3575 |
rm -f conftest.$ac_ext
|
|
3576 |
CC=$ac_save_CC |
|
3577 |
||
3578 |
fi
|
|
3579 |
# AC_CACHE_VAL
|
|
3580 |
case "x$ac_cv_prog_cc_c89" in |
|
3581 |
x)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3582 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
3583 |
$as_echo "none needed" >&6; } ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3584 |
xno)
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3585 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
3586 |
$as_echo "unsupported" >&6; } ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3587 |
*)
|
3588 |
CC="$CC $ac_cv_prog_cc_c89" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3589 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3590 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3591 |
esac
|
3592 |
||
3593 |
||
3594 |
ac_ext=c |
|
3595 |
ac_cpp='$CPP $CPPFLAGS' |
|
3596 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3597 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3598 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3599 |
||
3600 |
depcc="$CC" am_compiler_list= |
|
3601 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3602 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3603 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3604 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3605 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3606 |
else
|
3607 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3608 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
3609 |
# making bogus files that we don't know about and never remove. For
|
|
3610 |
# instance it was reported that on HP-UX the gcc test will end up
|
|
3611 |
# making a dummy file named `D' -- because `-MD' means `put the output
|
|
3612 |
# in D'.
|
|
3613 |
mkdir conftest.dir |
|
3614 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
3615 |
# using a relative directory.
|
|
3616 |
cp "$am_depcomp" conftest.dir |
|
3617 |
cd conftest.dir
|
|
3618 |
# We will build objects and dependencies in a subdirectory because
|
|
3619 |
# it helps to detect inapplicable dependency modes. For instance
|
|
3620 |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
3621 |
# side effect of compilation, but ICC will put the dependencies in
|
|
3622 |
# the current directory while Tru64 will put them in the object
|
|
3623 |
# directory.
|
|
3624 |
mkdir sub |
|
3625 |
||
3626 |
am_cv_CC_dependencies_compiler_type=none |
|
3627 |
if test "$am_compiler_list" = ""; then |
|
3628 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3629 |
fi
|
|
3630 |
for depmode in $am_compiler_list; do |
|
3631 |
# Setup a source with many dependencies, because some compilers
|
|
3632 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
3633 |
# we should not choose a depcomp mode which is confused by this.
|
|
3634 |
#
|
|
3635 |
# We need to recreate these files for each test, as the compiler may
|
|
3636 |
# overwrite some of them when testing with obscure command lines.
|
|
3637 |
# This happens at least with the AIX C compiler.
|
|
3638 |
: > sub/conftest.c |
|
3639 |
for i in 1 2 3 4 5 6; do |
|
3640 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3641 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
3642 |
# Solaris 8's {/usr,}/bin/sh.
|
|
3643 |
touch sub/conftst$i.h
|
|
3644 |
done
|
|
3645 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3646 |
||
3647 |
case $depmode in |
|
3648 |
nosideeffect)
|
|
3649 |
# after this tag, mechanisms are not by side-effect, so they'll
|
|
3650 |
# only be used when explicitly requested
|
|
3651 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3652 |
continue
|
|
3653 |
else
|
|
3654 |
break
|
|
3655 |
fi
|
|
3656 |
;;
|
|
3657 |
none) break ;; |
|
3658 |
esac
|
|
3659 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3660 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
3661 |
# handle `-M -o', and we need to detect this.
|
|
3662 |
if depmode=$depmode \ |
|
3663 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
3664 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3665 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
3666 |
>/dev/null 2>conftest.err && |
|
3667 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3668 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3669 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
3670 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3671 |
# icc doesn't choke on unknown options, it will just issue warnings
|
|
3672 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
3673 |
# that says an option was ignored or not supported.
|
|
3674 |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
3675 |
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
3676 |
# The diagnosis changed in icc 8.0:
|
|
3677 |
# icc: Command line remark: option '-MP' not supported
|
|
3678 |
if (grep 'ignoring option' conftest.err || |
|
3679 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3680 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
3681 |
break
|
|
3682 |
fi
|
|
3683 |
fi
|
|
3684 |
done
|
|
3685 |
||
3686 |
cd ..
|
|
3687 |
rm -rf conftest.dir |
|
3688 |
else
|
|
3689 |
am_cv_CC_dependencies_compiler_type=none |
|
3690 |
fi
|
|
3691 |
||
3692 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3693 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3694 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3695 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3696 |
||
3697 |
if
|
|
3698 |
test "x$enable_dependency_tracking" != xno \ |
|
3699 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3700 |
am__fastdepCC_TRUE= |
|
3701 |
am__fastdepCC_FALSE='#' |
|
3702 |
else
|
|
3703 |
am__fastdepCC_TRUE='#' |
|
3704 |
am__fastdepCC_FALSE= |
|
3705 |
fi
|
|
3706 |
||
3707 |
||
3708 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3709 |
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3710 |
$as_echo_n "checking for library containing strerror... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3711 |
if test "${ac_cv_search_strerror+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3712 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3713 |
else
|
3714 |
ac_func_search_save_LIBS=$LIBS |
|
3715 |
cat >conftest.$ac_ext <<_ACEOF |
|
3716 |
/* confdefs.h. */
|
|
3717 |
_ACEOF
|
|
3718 |
cat confdefs.h >>conftest.$ac_ext
|
|
3719 |
cat >>conftest.$ac_ext <<_ACEOF |
|
3720 |
/* end confdefs.h. */
|
|
3721 |
||
3722 |
/* Override any GCC internal prototype to avoid an error.
|
|
3723 |
Use char because int might match the return type of a GCC
|
|
3724 |
builtin and then its argument prototype would still apply. */
|
|
3725 |
#ifdef __cplusplus
|
|
3726 |
extern "C"
|
|
3727 |
#endif
|
|
3728 |
char strerror ();
|
|
3729 |
int
|
|
3730 |
main ()
|
|
3731 |
{
|
|
3732 |
return strerror ();
|
|
3733 |
;
|
|
3734 |
return 0;
|
|
3735 |
}
|
|
3736 |
_ACEOF
|
|
3737 |
for ac_lib in '' cposix; do |
|
3738 |
if test -z "$ac_lib"; then |
|
3739 |
ac_res="none required" |
|
3740 |
else
|
|
3741 |
ac_res=-l$ac_lib |
|
3742 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3743 |
fi
|
|
3744 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
3745 |
if { (ac_try="$ac_link" |
|
3746 |
case "(($ac_try" in |
|
3747 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3748 |
*) ac_try_echo=$ac_try;; |
|
3749 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3750 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3751 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3752 |
(eval "$ac_link") 2>conftest.er1 |
3753 |
ac_status=$? |
|
3754 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3755 |
rm -f conftest.er1 |
|
3756 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3757 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3758 |
(exit $ac_status); } && { |
3759 |
test -z "$ac_c_werror_flag" || |
|
3760 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3761 |
} && test -s conftest$ac_exeext && { |
3762 |
test "$cross_compiling" = yes || |
|
3763 |
$as_test_x conftest$ac_exeext |
|
3764 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3765 |
ac_cv_search_strerror=$ac_res |
3766 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3767 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3768 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3769 |
||
3770 |
||
3771 |
fi
|
|
3772 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3773 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3774 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3775 |
conftest$ac_exeext
|
|
3776 |
if test "${ac_cv_search_strerror+set}" = set; then |
|
3777 |
break
|
|
3778 |
fi
|
|
3779 |
done
|
|
3780 |
if test "${ac_cv_search_strerror+set}" = set; then |
|
3781 |
: |
|
3782 |
else
|
|
3783 |
ac_cv_search_strerror=no |
|
3784 |
fi
|
|
3785 |
rm conftest.$ac_ext
|
|
3786 |
LIBS=$ac_func_search_save_LIBS |
|
3787 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3788 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3789 |
$as_echo "$ac_cv_search_strerror" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3790 |
ac_res=$ac_cv_search_strerror |
3791 |
if test "$ac_res" != no; then |
|
3792 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
3793 |
||
3794 |
fi
|
|
3795 |
||
3796 |
ac_ext=c |
|
3797 |
ac_cpp='$CPP $CPPFLAGS' |
|
3798 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3799 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3800 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3801 |
if test -n "$ac_tool_prefix"; then |
|
3802 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
3803 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3804 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3805 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3806 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3807 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3808 |
else
|
3809 |
if test -n "$CC"; then |
|
3810 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3811 |
else
|
|
3812 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3813 |
for as_dir in $PATH |
|
3814 |
do
|
|
3815 |
IFS=$as_save_IFS |
|
3816 |
test -z "$as_dir" && as_dir=. |
|
3817 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3818 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3819 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3820 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3821 |
break 2 |
3822 |
fi
|
|
3823 |
done
|
|
3824 |
done
|
|
3825 |
IFS=$as_save_IFS |
|
3826 |
||
3827 |
fi
|
|
3828 |
fi
|
|
3829 |
CC=$ac_cv_prog_CC |
|
3830 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3831 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3832 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3833 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3834 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3835 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3836 |
fi
|
3837 |
||
3838 |
||
3839 |
fi
|
|
3840 |
if test -z "$ac_cv_prog_CC"; then |
|
3841 |
ac_ct_CC=$CC |
|
3842 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
3843 |
set dummy gcc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3844 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3845 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3846 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3847 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3848 |
else
|
3849 |
if test -n "$ac_ct_CC"; then |
|
3850 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3851 |
else
|
|
3852 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3853 |
for as_dir in $PATH |
|
3854 |
do
|
|
3855 |
IFS=$as_save_IFS |
|
3856 |
test -z "$as_dir" && as_dir=. |
|
3857 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3858 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3859 |
ac_cv_prog_ac_ct_CC="gcc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3860 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3861 |
break 2 |
3862 |
fi
|
|
3863 |
done
|
|
3864 |
done
|
|
3865 |
IFS=$as_save_IFS |
|
3866 |
||
3867 |
fi
|
|
3868 |
fi
|
|
3869 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3870 |
if test -n "$ac_ct_CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3871 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3872 |
$as_echo "$ac_ct_CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3873 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3874 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3875 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3876 |
fi
|
3877 |
||
3878 |
if test "x$ac_ct_CC" = x; then |
|
3879 |
CC="" |
|
3880 |
else
|
|
3881 |
case $cross_compiling:$ac_tool_warned in |
|
3882 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3883 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3884 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3885 |
ac_tool_warned=yes ;; |
3886 |
esac
|
|
3887 |
CC=$ac_ct_CC |
|
3888 |
fi
|
|
3889 |
else
|
|
3890 |
CC="$ac_cv_prog_CC" |
|
3891 |
fi
|
|
3892 |
||
3893 |
if test -z "$CC"; then |
|
3894 |
if test -n "$ac_tool_prefix"; then |
|
3895 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
3896 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3897 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3898 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3899 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3900 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3901 |
else
|
3902 |
if test -n "$CC"; then |
|
3903 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3904 |
else
|
|
3905 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3906 |
for as_dir in $PATH |
|
3907 |
do
|
|
3908 |
IFS=$as_save_IFS |
|
3909 |
test -z "$as_dir" && as_dir=. |
|
3910 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3911 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3912 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3913 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3914 |
break 2 |
3915 |
fi
|
|
3916 |
done
|
|
3917 |
done
|
|
3918 |
IFS=$as_save_IFS |
|
3919 |
||
3920 |
fi
|
|
3921 |
fi
|
|
3922 |
CC=$ac_cv_prog_CC |
|
3923 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3924 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3925 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3926 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3927 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3928 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3929 |
fi
|
3930 |
||
3931 |
||
3932 |
fi
|
|
3933 |
fi
|
|
3934 |
if test -z "$CC"; then |
|
3935 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
3936 |
set dummy cc; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3937 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3938 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3939 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3940 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3941 |
else
|
3942 |
if test -n "$CC"; then |
|
3943 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3944 |
else
|
|
3945 |
ac_prog_rejected=no |
|
3946 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3947 |
for as_dir in $PATH |
|
3948 |
do
|
|
3949 |
IFS=$as_save_IFS |
|
3950 |
test -z "$as_dir" && as_dir=. |
|
3951 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3952 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
3953 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3954 |
ac_prog_rejected=yes |
|
3955 |
continue
|
|
3956 |
fi
|
|
3957 |
ac_cv_prog_CC="cc" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3958 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
3959 |
break 2 |
3960 |
fi
|
|
3961 |
done
|
|
3962 |
done
|
|
3963 |
IFS=$as_save_IFS |
|
3964 |
||
3965 |
if test $ac_prog_rejected = yes; then |
|
3966 |
# We found a bogon in the path, so make sure we never use it.
|
|
3967 |
set dummy $ac_cv_prog_CC |
|
3968 |
shift
|
|
3969 |
if test $# != 0; then |
|
3970 |
# We chose a different compiler from the bogus one.
|
|
3971 |
# However, it has the same basename, so the bogon will be chosen
|
|
3972 |
# first if we set CC to just the basename; use the full file name.
|
|
3973 |
shift
|
|
3974 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3975 |
fi
|
|
3976 |
fi
|
|
3977 |
fi
|
|
3978 |
fi
|
|
3979 |
CC=$ac_cv_prog_CC |
|
3980 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3981 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3982 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3983 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3984 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3985 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3986 |
fi
|
3987 |
||
3988 |
||
3989 |
fi
|
|
3990 |
if test -z "$CC"; then |
|
3991 |
if test -n "$ac_tool_prefix"; then |
|
3992 |
for ac_prog in cl.exe
|
|
3993 |
do
|
|
3994 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
3995 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3996 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3997 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
3998 |
if test "${ac_cv_prog_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
3999 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4000 |
else
|
4001 |
if test -n "$CC"; then |
|
4002 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
4003 |
else
|
|
4004 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4005 |
for as_dir in $PATH |
|
4006 |
do
|
|
4007 |
IFS=$as_save_IFS |
|
4008 |
test -z "$as_dir" && as_dir=. |
|
4009 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4010 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4011 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4012 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4013 |
break 2 |
4014 |
fi
|
|
4015 |
done
|
|
4016 |
done
|
|
4017 |
IFS=$as_save_IFS |
|
4018 |
||
4019 |
fi
|
|
4020 |
fi
|
|
4021 |
CC=$ac_cv_prog_CC |
|
4022 |
if test -n "$CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4023 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
4024 |
$as_echo "$CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4025 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4026 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4027 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4028 |
fi
|
4029 |
||
4030 |
||
4031 |
test -n "$CC" && break |
|
4032 |
done
|
|
4033 |
fi
|
|
4034 |
if test -z "$CC"; then |
|
4035 |
ac_ct_CC=$CC |
|
4036 |
for ac_prog in cl.exe
|
|
4037 |
do
|
|
4038 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
4039 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4040 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4041 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4042 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4043 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4044 |
else
|
4045 |
if test -n "$ac_ct_CC"; then |
|
4046 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
4047 |
else
|
|
4048 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4049 |
for as_dir in $PATH |
|
4050 |
do
|
|
4051 |
IFS=$as_save_IFS |
|
4052 |
test -z "$as_dir" && as_dir=. |
|
4053 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4054 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
4055 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4056 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4057 |
break 2 |
4058 |
fi
|
|
4059 |
done
|
|
4060 |
done
|
|
4061 |
IFS=$as_save_IFS |
|
4062 |
||
4063 |
fi
|
|
4064 |
fi
|
|
4065 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
4066 |
if test -n "$ac_ct_CC"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4067 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4068 |
$as_echo "$ac_ct_CC" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4069 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4070 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4071 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4072 |
fi
|
4073 |
||
4074 |
||
4075 |
test -n "$ac_ct_CC" && break |
|
4076 |
done
|
|
4077 |
||
4078 |
if test "x$ac_ct_CC" = x; then |
|
4079 |
CC="" |
|
4080 |
else
|
|
4081 |
case $cross_compiling:$ac_tool_warned in |
|
4082 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4083 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
4084 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4085 |
ac_tool_warned=yes ;; |
4086 |
esac
|
|
4087 |
CC=$ac_ct_CC |
|
4088 |
fi
|
|
4089 |
fi
|
|
4090 |
||
4091 |
fi
|
|
4092 |
||
4093 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4094 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4095 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4096 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4097 |
See \`config.log' for more details." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4098 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4099 |
See \`config.log' for more details." >&2;} |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4100 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4101 |
|
4102 |
# Provide some information about the compiler.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4103 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
4104 |
set X $ac_compile |
|
4105 |
ac_compiler=$2 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4106 |
{ (ac_try="$ac_compiler --version >&5" |
4107 |
case "(($ac_try" in |
|
4108 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4109 |
*) ac_try_echo=$ac_try;; |
|
4110 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4111 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4112 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4113 |
(eval "$ac_compiler --version >&5") 2>&5 |
4114 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4115 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4116 |
(exit $ac_status); } |
4117 |
{ (ac_try="$ac_compiler -v >&5" |
|
4118 |
case "(($ac_try" in |
|
4119 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4120 |
*) ac_try_echo=$ac_try;; |
|
4121 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4122 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4123 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4124 |
(eval "$ac_compiler -v >&5") 2>&5 |
4125 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4126 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4127 |
(exit $ac_status); } |
4128 |
{ (ac_try="$ac_compiler -V >&5" |
|
4129 |
case "(($ac_try" in |
|
4130 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4131 |
*) ac_try_echo=$ac_try;; |
|
4132 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4133 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4134 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4135 |
(eval "$ac_compiler -V >&5") 2>&5 |
4136 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4137 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4138 |
(exit $ac_status); } |
4139 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4140 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4141 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4142 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4143 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4144 |
else
|
4145 |
cat >conftest.$ac_ext <<_ACEOF |
|
4146 |
/* confdefs.h. */
|
|
4147 |
_ACEOF
|
|
4148 |
cat confdefs.h >>conftest.$ac_ext
|
|
4149 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4150 |
/* end confdefs.h. */
|
|
4151 |
||
4152 |
int
|
|
4153 |
main ()
|
|
4154 |
{
|
|
4155 |
#ifndef __GNUC__
|
|
4156 |
choke me
|
|
4157 |
#endif
|
|
4158 |
||
4159 |
;
|
|
4160 |
return 0;
|
|
4161 |
}
|
|
4162 |
_ACEOF
|
|
4163 |
rm -f conftest.$ac_objext
|
|
4164 |
if { (ac_try="$ac_compile" |
|
4165 |
case "(($ac_try" in |
|
4166 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4167 |
*) ac_try_echo=$ac_try;; |
|
4168 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4169 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4170 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4171 |
(eval "$ac_compile") 2>conftest.er1 |
4172 |
ac_status=$? |
|
4173 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4174 |
rm -f conftest.er1 |
|
4175 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4176 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4177 |
(exit $ac_status); } && { |
4178 |
test -z "$ac_c_werror_flag" || |
|
4179 |
test ! -s conftest.err
|
|
4180 |
} && test -s conftest.$ac_objext; then |
|
4181 |
ac_compiler_gnu=yes |
|
4182 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4183 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4184 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4185 |
||
4186 |
ac_compiler_gnu=no |
|
4187 |
fi
|
|
4188 |
||
4189 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4190 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
4191 |
||
4192 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4193 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4194 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
4195 |
if test $ac_compiler_gnu = yes; then |
|
4196 |
GCC=yes |
|
4197 |
else
|
|
4198 |
GCC= |
|
4199 |
fi
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4200 |
ac_test_CFLAGS=${CFLAGS+set} |
4201 |
ac_save_CFLAGS=$CFLAGS |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4202 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4203 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4204 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4205 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4206 |
else
|
4207 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
4208 |
ac_c_werror_flag=yes |
|
4209 |
ac_cv_prog_cc_g=no |
|
4210 |
CFLAGS="-g" |
|
4211 |
cat >conftest.$ac_ext <<_ACEOF |
|
4212 |
/* confdefs.h. */
|
|
4213 |
_ACEOF
|
|
4214 |
cat confdefs.h >>conftest.$ac_ext
|
|
4215 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4216 |
/* end confdefs.h. */
|
|
4217 |
||
4218 |
int
|
|
4219 |
main ()
|
|
4220 |
{
|
|
4221 |
||
4222 |
;
|
|
4223 |
return 0;
|
|
4224 |
}
|
|
4225 |
_ACEOF
|
|
4226 |
rm -f conftest.$ac_objext
|
|
4227 |
if { (ac_try="$ac_compile" |
|
4228 |
case "(($ac_try" in |
|
4229 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4230 |
*) ac_try_echo=$ac_try;; |
|
4231 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4232 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4233 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4234 |
(eval "$ac_compile") 2>conftest.er1 |
4235 |
ac_status=$? |
|
4236 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4237 |
rm -f conftest.er1 |
|
4238 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4239 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4240 |
(exit $ac_status); } && { |
4241 |
test -z "$ac_c_werror_flag" || |
|
4242 |
test ! -s conftest.err
|
|
4243 |
} && test -s conftest.$ac_objext; then |
|
4244 |
ac_cv_prog_cc_g=yes |
|
4245 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4246 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4247 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4248 |
||
4249 |
CFLAGS="" |
|
4250 |
cat >conftest.$ac_ext <<_ACEOF |
|
4251 |
/* confdefs.h. */
|
|
4252 |
_ACEOF
|
|
4253 |
cat confdefs.h >>conftest.$ac_ext
|
|
4254 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4255 |
/* end confdefs.h. */
|
|
4256 |
||
4257 |
int
|
|
4258 |
main ()
|
|
4259 |
{
|
|
4260 |
||
4261 |
;
|
|
4262 |
return 0;
|
|
4263 |
}
|
|
4264 |
_ACEOF
|
|
4265 |
rm -f conftest.$ac_objext
|
|
4266 |
if { (ac_try="$ac_compile" |
|
4267 |
case "(($ac_try" in |
|
4268 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4269 |
*) ac_try_echo=$ac_try;; |
|
4270 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4271 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4272 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4273 |
(eval "$ac_compile") 2>conftest.er1 |
4274 |
ac_status=$? |
|
4275 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4276 |
rm -f conftest.er1 |
|
4277 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4278 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4279 |
(exit $ac_status); } && { |
4280 |
test -z "$ac_c_werror_flag" || |
|
4281 |
test ! -s conftest.err
|
|
4282 |
} && test -s conftest.$ac_objext; then |
|
4283 |
: |
|
4284 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4285 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4286 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4287 |
||
4288 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4289 |
CFLAGS="-g" |
|
4290 |
cat >conftest.$ac_ext <<_ACEOF |
|
4291 |
/* confdefs.h. */
|
|
4292 |
_ACEOF
|
|
4293 |
cat confdefs.h >>conftest.$ac_ext
|
|
4294 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4295 |
/* end confdefs.h. */
|
|
4296 |
||
4297 |
int
|
|
4298 |
main ()
|
|
4299 |
{
|
|
4300 |
||
4301 |
;
|
|
4302 |
return 0;
|
|
4303 |
}
|
|
4304 |
_ACEOF
|
|
4305 |
rm -f conftest.$ac_objext
|
|
4306 |
if { (ac_try="$ac_compile" |
|
4307 |
case "(($ac_try" in |
|
4308 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4309 |
*) ac_try_echo=$ac_try;; |
|
4310 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4311 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4312 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4313 |
(eval "$ac_compile") 2>conftest.er1 |
4314 |
ac_status=$? |
|
4315 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4316 |
rm -f conftest.er1 |
|
4317 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4318 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4319 |
(exit $ac_status); } && { |
4320 |
test -z "$ac_c_werror_flag" || |
|
4321 |
test ! -s conftest.err
|
|
4322 |
} && test -s conftest.$ac_objext; then |
|
4323 |
ac_cv_prog_cc_g=yes |
|
4324 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4325 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4326 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4327 |
||
4328 |
||
4329 |
fi
|
|
4330 |
||
4331 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4332 |
fi
|
|
4333 |
||
4334 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4335 |
fi
|
|
4336 |
||
4337 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4338 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4339 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4340 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4341 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4342 |
if test "$ac_test_CFLAGS" = set; then |
4343 |
CFLAGS=$ac_save_CFLAGS |
|
4344 |
elif test $ac_cv_prog_cc_g = yes; then |
|
4345 |
if test "$GCC" = yes; then |
|
4346 |
CFLAGS="-g -O2" |
|
4347 |
else
|
|
4348 |
CFLAGS="-g" |
|
4349 |
fi
|
|
4350 |
else
|
|
4351 |
if test "$GCC" = yes; then |
|
4352 |
CFLAGS="-O2" |
|
4353 |
else
|
|
4354 |
CFLAGS= |
|
4355 |
fi
|
|
4356 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4357 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4358 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4359 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4360 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4361 |
else
|
4362 |
ac_cv_prog_cc_c89=no |
|
4363 |
ac_save_CC=$CC |
|
4364 |
cat >conftest.$ac_ext <<_ACEOF |
|
4365 |
/* confdefs.h. */
|
|
4366 |
_ACEOF
|
|
4367 |
cat confdefs.h >>conftest.$ac_ext
|
|
4368 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4369 |
/* end confdefs.h. */
|
|
4370 |
#include <stdarg.h>
|
|
4371 |
#include <stdio.h>
|
|
4372 |
#include <sys/types.h>
|
|
4373 |
#include <sys/stat.h>
|
|
4374 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
4375 |
struct buf { int x; };
|
|
4376 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
4377 |
static char *e (p, i)
|
|
4378 |
char **p;
|
|
4379 |
int i;
|
|
4380 |
{
|
|
4381 |
return p[i];
|
|
4382 |
}
|
|
4383 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
4384 |
{
|
|
4385 |
char *s;
|
|
4386 |
va_list v;
|
|
4387 |
va_start (v,p);
|
|
4388 |
s = g (p, va_arg (v,int));
|
|
4389 |
va_end (v);
|
|
4390 |
return s;
|
|
4391 |
}
|
|
4392 |
||
4393 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
4394 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
4395 |
These don't provoke an error unfortunately, instead are silently treated
|
|
4396 |
as 'x'. The following induces an error, until -std is added to get
|
|
4397 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
4398 |
array size at least. It's necessary to write '\x00'==0 to get something
|
|
4399 |
that's true only with -std. */
|
|
4400 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
4401 |
||
4402 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
4403 |
inside strings and character constants. */
|
|
4404 |
#define FOO(x) 'x'
|
|
4405 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
4406 |
||
4407 |
int test (int i, double x);
|
|
4408 |
struct s1 {int (*f) (int a);};
|
|
4409 |
struct s2 {int (*f) (double a);};
|
|
4410 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
4411 |
int argc;
|
|
4412 |
char **argv;
|
|
4413 |
int
|
|
4414 |
main ()
|
|
4415 |
{
|
|
4416 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
4417 |
;
|
|
4418 |
return 0;
|
|
4419 |
}
|
|
4420 |
_ACEOF
|
|
4421 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
4422 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
4423 |
do
|
|
4424 |
CC="$ac_save_CC $ac_arg" |
|
4425 |
rm -f conftest.$ac_objext
|
|
4426 |
if { (ac_try="$ac_compile" |
|
4427 |
case "(($ac_try" in |
|
4428 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4429 |
*) ac_try_echo=$ac_try;; |
|
4430 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4431 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4432 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4433 |
(eval "$ac_compile") 2>conftest.er1 |
4434 |
ac_status=$? |
|
4435 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4436 |
rm -f conftest.er1 |
|
4437 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4438 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4439 |
(exit $ac_status); } && { |
4440 |
test -z "$ac_c_werror_flag" || |
|
4441 |
test ! -s conftest.err
|
|
4442 |
} && test -s conftest.$ac_objext; then |
|
4443 |
ac_cv_prog_cc_c89=$ac_arg |
|
4444 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4445 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4446 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4447 |
||
4448 |
||
4449 |
fi
|
|
4450 |
||
4451 |
rm -f core conftest.err conftest.$ac_objext
|
|
4452 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
4453 |
done
|
|
4454 |
rm -f conftest.$ac_ext
|
|
4455 |
CC=$ac_save_CC |
|
4456 |
||
4457 |
fi
|
|
4458 |
# AC_CACHE_VAL
|
|
4459 |
case "x$ac_cv_prog_cc_c89" in |
|
4460 |
x)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4461 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
4462 |
$as_echo "none needed" >&6; } ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4463 |
xno)
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4464 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
4465 |
$as_echo "unsupported" >&6; } ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4466 |
*)
|
4467 |
CC="$CC $ac_cv_prog_cc_c89" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4468 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4469 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4470 |
esac
|
4471 |
||
4472 |
||
4473 |
ac_ext=c |
|
4474 |
ac_cpp='$CPP $CPPFLAGS' |
|
4475 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4476 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4477 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4478 |
||
4479 |
depcc="$CC" am_compiler_list= |
|
4480 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4481 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4482 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4483 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4484 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4485 |
else
|
4486 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4487 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
4488 |
# making bogus files that we don't know about and never remove. For
|
|
4489 |
# instance it was reported that on HP-UX the gcc test will end up
|
|
4490 |
# making a dummy file named `D' -- because `-MD' means `put the output
|
|
4491 |
# in D'.
|
|
4492 |
mkdir conftest.dir |
|
4493 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
4494 |
# using a relative directory.
|
|
4495 |
cp "$am_depcomp" conftest.dir |
|
4496 |
cd conftest.dir
|
|
4497 |
# We will build objects and dependencies in a subdirectory because
|
|
4498 |
# it helps to detect inapplicable dependency modes. For instance
|
|
4499 |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
4500 |
# side effect of compilation, but ICC will put the dependencies in
|
|
4501 |
# the current directory while Tru64 will put them in the object
|
|
4502 |
# directory.
|
|
4503 |
mkdir sub |
|
4504 |
||
4505 |
am_cv_CC_dependencies_compiler_type=none |
|
4506 |
if test "$am_compiler_list" = ""; then |
|
4507 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4508 |
fi
|
|
4509 |
for depmode in $am_compiler_list; do |
|
4510 |
# Setup a source with many dependencies, because some compilers
|
|
4511 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
4512 |
# we should not choose a depcomp mode which is confused by this.
|
|
4513 |
#
|
|
4514 |
# We need to recreate these files for each test, as the compiler may
|
|
4515 |
# overwrite some of them when testing with obscure command lines.
|
|
4516 |
# This happens at least with the AIX C compiler.
|
|
4517 |
: > sub/conftest.c |
|
4518 |
for i in 1 2 3 4 5 6; do |
|
4519 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4520 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
4521 |
# Solaris 8's {/usr,}/bin/sh.
|
|
4522 |
touch sub/conftst$i.h
|
|
4523 |
done
|
|
4524 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4525 |
||
4526 |
case $depmode in |
|
4527 |
nosideeffect)
|
|
4528 |
# after this tag, mechanisms are not by side-effect, so they'll
|
|
4529 |
# only be used when explicitly requested
|
|
4530 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4531 |
continue
|
|
4532 |
else
|
|
4533 |
break
|
|
4534 |
fi
|
|
4535 |
;;
|
|
4536 |
none) break ;; |
|
4537 |
esac
|
|
4538 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
4539 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
4540 |
# handle `-M -o', and we need to detect this.
|
|
4541 |
if depmode=$depmode \ |
|
4542 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
4543 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
4544 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
4545 |
>/dev/null 2>conftest.err && |
|
4546 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
4547 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
4548 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
4549 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
4550 |
# icc doesn't choke on unknown options, it will just issue warnings
|
|
4551 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
4552 |
# that says an option was ignored or not supported.
|
|
4553 |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
4554 |
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
4555 |
# The diagnosis changed in icc 8.0:
|
|
4556 |
# icc: Command line remark: option '-MP' not supported
|
|
4557 |
if (grep 'ignoring option' conftest.err || |
|
4558 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4559 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
4560 |
break
|
|
4561 |
fi
|
|
4562 |
fi
|
|
4563 |
done
|
|
4564 |
||
4565 |
cd ..
|
|
4566 |
rm -rf conftest.dir |
|
4567 |
else
|
|
4568 |
am_cv_CC_dependencies_compiler_type=none |
|
4569 |
fi
|
|
4570 |
||
4571 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4572 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4573 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4574 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4575 |
||
4576 |
if
|
|
4577 |
test "x$enable_dependency_tracking" != xno \ |
|
4578 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
4579 |
am__fastdepCC_TRUE= |
|
4580 |
am__fastdepCC_FALSE='#' |
|
4581 |
else
|
|
4582 |
am__fastdepCC_TRUE='#' |
|
4583 |
am__fastdepCC_FALSE= |
|
4584 |
fi
|
|
4585 |
||
4586 |
||
4587 |
ac_ext=c |
|
4588 |
ac_cpp='$CPP $CPPFLAGS' |
|
4589 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4590 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4591 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4592 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4593 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4594 |
# On Suns, sometimes $CPP names a directory.
|
4595 |
if test -n "$CPP" && test -d "$CPP"; then |
|
4596 |
CPP= |
|
4597 |
fi
|
|
4598 |
if test -z "$CPP"; then |
|
4599 |
if test "${ac_cv_prog_CPP+set}" = set; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4600 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4601 |
else
|
4602 |
# Double quotes because CPP needs to be expanded
|
|
4603 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4604 |
do
|
|
4605 |
ac_preproc_ok=false |
|
4606 |
for ac_c_preproc_warn_flag in '' yes |
|
4607 |
do
|
|
4608 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4609 |
# with a fresh cross-compiler works.
|
|
4610 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4611 |
# <limits.h> exists even on freestanding compilers.
|
|
4612 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4613 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
4614 |
cat >conftest.$ac_ext <<_ACEOF |
|
4615 |
/* confdefs.h. */
|
|
4616 |
_ACEOF
|
|
4617 |
cat confdefs.h >>conftest.$ac_ext
|
|
4618 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4619 |
/* end confdefs.h. */
|
|
4620 |
#ifdef __STDC__
|
|
4621 |
# include <limits.h>
|
|
4622 |
#else
|
|
4623 |
# include <assert.h>
|
|
4624 |
#endif
|
|
4625 |
Syntax error
|
|
4626 |
_ACEOF
|
|
4627 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
4628 |
case "(($ac_try" in |
|
4629 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4630 |
*) ac_try_echo=$ac_try;; |
|
4631 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4632 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4633 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4634 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4635 |
ac_status=$? |
|
4636 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4637 |
rm -f conftest.er1 |
|
4638 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4639 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4640 |
(exit $ac_status); } >/dev/null && { |
4641 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
4642 |
test ! -s conftest.err
|
|
4643 |
}; then |
|
4644 |
: |
|
4645 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4646 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4647 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4648 |
||
4649 |
# Broken: fails on valid input.
|
|
4650 |
continue
|
|
4651 |
fi
|
|
4652 |
||
4653 |
rm -f conftest.err conftest.$ac_ext
|
|
4654 |
||
4655 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
4656 |
# can be detected and how.
|
|
4657 |
cat >conftest.$ac_ext <<_ACEOF |
|
4658 |
/* confdefs.h. */
|
|
4659 |
_ACEOF
|
|
4660 |
cat confdefs.h >>conftest.$ac_ext
|
|
4661 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4662 |
/* end confdefs.h. */
|
|
4663 |
#include <ac_nonexistent.h>
|
|
4664 |
_ACEOF
|
|
4665 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
4666 |
case "(($ac_try" in |
|
4667 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4668 |
*) ac_try_echo=$ac_try;; |
|
4669 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4670 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4671 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4672 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4673 |
ac_status=$? |
|
4674 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4675 |
rm -f conftest.er1 |
|
4676 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4677 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4678 |
(exit $ac_status); } >/dev/null && { |
4679 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
4680 |
test ! -s conftest.err
|
|
4681 |
}; then |
|
4682 |
# Broken: success on invalid input.
|
|
4683 |
continue
|
|
4684 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4685 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4686 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4687 |
||
4688 |
# Passes both tests.
|
|
4689 |
ac_preproc_ok=: |
|
4690 |
break
|
|
4691 |
fi
|
|
4692 |
||
4693 |
rm -f conftest.err conftest.$ac_ext
|
|
4694 |
||
4695 |
done
|
|
4696 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
4697 |
rm -f conftest.err conftest.$ac_ext
|
|
4698 |
if $ac_preproc_ok; then |
|
4699 |
break
|
|
4700 |
fi
|
|
4701 |
||
4702 |
done
|
|
4703 |
ac_cv_prog_CPP=$CPP |
|
4704 |
||
4705 |
fi
|
|
4706 |
CPP=$ac_cv_prog_CPP |
|
4707 |
else
|
|
4708 |
ac_cv_prog_CPP=$CPP |
|
4709 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4710 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
4711 |
$as_echo "$CPP" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4712 |
ac_preproc_ok=false |
4713 |
for ac_c_preproc_warn_flag in '' yes |
|
4714 |
do
|
|
4715 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4716 |
# with a fresh cross-compiler works.
|
|
4717 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4718 |
# <limits.h> exists even on freestanding compilers.
|
|
4719 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4720 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
4721 |
cat >conftest.$ac_ext <<_ACEOF |
|
4722 |
/* confdefs.h. */
|
|
4723 |
_ACEOF
|
|
4724 |
cat confdefs.h >>conftest.$ac_ext
|
|
4725 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4726 |
/* end confdefs.h. */
|
|
4727 |
#ifdef __STDC__
|
|
4728 |
# include <limits.h>
|
|
4729 |
#else
|
|
4730 |
# include <assert.h>
|
|
4731 |
#endif
|
|
4732 |
Syntax error
|
|
4733 |
_ACEOF
|
|
4734 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
4735 |
case "(($ac_try" in |
|
4736 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4737 |
*) ac_try_echo=$ac_try;; |
|
4738 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4739 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4740 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4741 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4742 |
ac_status=$? |
|
4743 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4744 |
rm -f conftest.er1 |
|
4745 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4746 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4747 |
(exit $ac_status); } >/dev/null && { |
4748 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
4749 |
test ! -s conftest.err
|
|
4750 |
}; then |
|
4751 |
: |
|
4752 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4753 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4754 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4755 |
||
4756 |
# Broken: fails on valid input.
|
|
4757 |
continue
|
|
4758 |
fi
|
|
4759 |
||
4760 |
rm -f conftest.err conftest.$ac_ext
|
|
4761 |
||
4762 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
4763 |
# can be detected and how.
|
|
4764 |
cat >conftest.$ac_ext <<_ACEOF |
|
4765 |
/* confdefs.h. */
|
|
4766 |
_ACEOF
|
|
4767 |
cat confdefs.h >>conftest.$ac_ext
|
|
4768 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4769 |
/* end confdefs.h. */
|
|
4770 |
#include <ac_nonexistent.h>
|
|
4771 |
_ACEOF
|
|
4772 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
4773 |
case "(($ac_try" in |
|
4774 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4775 |
*) ac_try_echo=$ac_try;; |
|
4776 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4777 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4778 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4779 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4780 |
ac_status=$? |
|
4781 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4782 |
rm -f conftest.er1 |
|
4783 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4784 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4785 |
(exit $ac_status); } >/dev/null && { |
4786 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
4787 |
test ! -s conftest.err
|
|
4788 |
}; then |
|
4789 |
# Broken: success on invalid input.
|
|
4790 |
continue
|
|
4791 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4792 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4793 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4794 |
||
4795 |
# Passes both tests.
|
|
4796 |
ac_preproc_ok=: |
|
4797 |
break
|
|
4798 |
fi
|
|
4799 |
||
4800 |
rm -f conftest.err conftest.$ac_ext
|
|
4801 |
||
4802 |
done
|
|
4803 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
4804 |
rm -f conftest.err conftest.$ac_ext
|
|
4805 |
if $ac_preproc_ok; then |
|
4806 |
: |
|
4807 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4808 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4809 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4810 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4811 |
See \`config.log' for more details." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4812 |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4813 |
See \`config.log' for more details." >&2;} |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4814 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4815 |
fi
|
4816 |
||
4817 |
ac_ext=c |
|
4818 |
ac_cpp='$CPP $CPPFLAGS' |
|
4819 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4820 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4821 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4822 |
||
4823 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4824 |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4825 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
4826 |
if test "${ac_cv_path_GREP+set}" = set; then |
|
4827 |
$as_echo_n "(cached) " >&6 |
|
4828 |
else
|
|
4829 |
if test -z "$GREP"; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4830 |
ac_path_GREP_found=false |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4831 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4832 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4833 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4834 |
do
|
|
4835 |
IFS=$as_save_IFS |
|
4836 |
test -z "$as_dir" && as_dir=. |
|
4837 |
for ac_prog in grep ggrep; do |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4838 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4839 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4840 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
4841 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4842 |
# Check for GNU $ac_path_GREP
|
4843 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4844 |
*GNU*)
|
|
4845 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4846 |
*)
|
|
4847 |
ac_count=0 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4848 |
$as_echo_n 0123456789 >"conftest.in" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4849 |
while :
|
4850 |
do
|
|
4851 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4852 |
mv "conftest.tmp" "conftest.in" |
|
4853 |
cp "conftest.in" "conftest.nl" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4854 |
$as_echo 'GREP' >> "conftest.nl" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4855 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4856 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4857 |
ac_count=`expr $ac_count + 1` |
|
4858 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
4859 |
# Best one so far, save it but keep looking for a better one
|
|
4860 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4861 |
ac_path_GREP_max=$ac_count |
|
4862 |
fi
|
|
4863 |
# 10*(2^10) chars as input seems more than enough
|
|
4864 |
test $ac_count -gt 10 && break |
|
4865 |
done
|
|
4866 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4867 |
esac
|
|
4868 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4869 |
$ac_path_GREP_found && break 3 |
4870 |
done
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4871 |
done
|
4872 |
done
|
|
4873 |
IFS=$as_save_IFS |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4874 |
if test -z "$ac_cv_path_GREP"; then |
4875 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
4876 |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4877 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4878 |
fi
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4879 |
else
|
4880 |
ac_cv_path_GREP=$GREP |
|
4881 |
fi
|
|
4882 |
||
4883 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4884 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
4885 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4886 |
GREP="$ac_cv_path_GREP" |
4887 |
||
4888 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4889 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
4890 |
$as_echo_n "checking for egrep... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4891 |
if test "${ac_cv_path_EGREP+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4892 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4893 |
else
|
4894 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4895 |
then ac_cv_path_EGREP="$GREP -E" |
|
4896 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4897 |
if test -z "$EGREP"; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4898 |
ac_path_EGREP_found=false |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4899 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4900 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4901 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4902 |
do
|
|
4903 |
IFS=$as_save_IFS |
|
4904 |
test -z "$as_dir" && as_dir=. |
|
4905 |
for ac_prog in egrep; do |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4906 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4907 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4908 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
4909 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4910 |
# Check for GNU $ac_path_EGREP
|
4911 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4912 |
*GNU*)
|
|
4913 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4914 |
*)
|
|
4915 |
ac_count=0 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4916 |
$as_echo_n 0123456789 >"conftest.in" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4917 |
while :
|
4918 |
do
|
|
4919 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4920 |
mv "conftest.tmp" "conftest.in" |
|
4921 |
cp "conftest.in" "conftest.nl" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4922 |
$as_echo 'EGREP' >> "conftest.nl" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4923 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4924 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4925 |
ac_count=`expr $ac_count + 1` |
|
4926 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4927 |
# Best one so far, save it but keep looking for a better one
|
|
4928 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4929 |
ac_path_EGREP_max=$ac_count |
|
4930 |
fi
|
|
4931 |
# 10*(2^10) chars as input seems more than enough
|
|
4932 |
test $ac_count -gt 10 && break |
|
4933 |
done
|
|
4934 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4935 |
esac
|
|
4936 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4937 |
$ac_path_EGREP_found && break 3 |
4938 |
done
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4939 |
done
|
4940 |
done
|
|
4941 |
IFS=$as_save_IFS |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4942 |
if test -z "$ac_cv_path_EGREP"; then |
4943 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
4944 |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4945 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4946 |
fi
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4947 |
else
|
4948 |
ac_cv_path_EGREP=$EGREP |
|
4949 |
fi
|
|
4950 |
||
4951 |
fi
|
|
4952 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4953 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4954 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4955 |
EGREP="$ac_cv_path_EGREP" |
4956 |
||
4957 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4958 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4959 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4960 |
if test "${ac_cv_header_stdc+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4961 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4962 |
else
|
4963 |
cat >conftest.$ac_ext <<_ACEOF |
|
4964 |
/* confdefs.h. */
|
|
4965 |
_ACEOF
|
|
4966 |
cat confdefs.h >>conftest.$ac_ext
|
|
4967 |
cat >>conftest.$ac_ext <<_ACEOF |
|
4968 |
/* end confdefs.h. */
|
|
4969 |
#include <stdlib.h>
|
|
4970 |
#include <stdarg.h>
|
|
4971 |
#include <string.h>
|
|
4972 |
#include <float.h>
|
|
4973 |
||
4974 |
int
|
|
4975 |
main ()
|
|
4976 |
{
|
|
4977 |
||
4978 |
;
|
|
4979 |
return 0;
|
|
4980 |
}
|
|
4981 |
_ACEOF
|
|
4982 |
rm -f conftest.$ac_objext
|
|
4983 |
if { (ac_try="$ac_compile" |
|
4984 |
case "(($ac_try" in |
|
4985 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
4986 |
*) ac_try_echo=$ac_try;; |
|
4987 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4988 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4989 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
4990 |
(eval "$ac_compile") 2>conftest.er1 |
4991 |
ac_status=$? |
|
4992 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4993 |
rm -f conftest.er1 |
|
4994 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
4995 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
4996 |
(exit $ac_status); } && { |
4997 |
test -z "$ac_c_werror_flag" || |
|
4998 |
test ! -s conftest.err
|
|
4999 |
} && test -s conftest.$ac_objext; then |
|
5000 |
ac_cv_header_stdc=yes |
|
5001 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5002 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5003 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5004 |
||
5005 |
ac_cv_header_stdc=no |
|
5006 |
fi
|
|
5007 |
||
5008 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5009 |
||
5010 |
if test $ac_cv_header_stdc = yes; then |
|
5011 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
5012 |
cat >conftest.$ac_ext <<_ACEOF |
|
5013 |
/* confdefs.h. */
|
|
5014 |
_ACEOF
|
|
5015 |
cat confdefs.h >>conftest.$ac_ext
|
|
5016 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5017 |
/* end confdefs.h. */
|
|
5018 |
#include <string.h>
|
|
5019 |
||
5020 |
_ACEOF
|
|
5021 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5022 |
$EGREP "memchr" >/dev/null 2>&1; then |
|
5023 |
: |
|
5024 |
else
|
|
5025 |
ac_cv_header_stdc=no |
|
5026 |
fi
|
|
5027 |
rm -f conftest* |
|
5028 |
||
5029 |
fi
|
|
5030 |
||
5031 |
if test $ac_cv_header_stdc = yes; then |
|
5032 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
5033 |
cat >conftest.$ac_ext <<_ACEOF |
|
5034 |
/* confdefs.h. */
|
|
5035 |
_ACEOF
|
|
5036 |
cat confdefs.h >>conftest.$ac_ext
|
|
5037 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5038 |
/* end confdefs.h. */
|
|
5039 |
#include <stdlib.h>
|
|
5040 |
||
5041 |
_ACEOF
|
|
5042 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5043 |
$EGREP "free" >/dev/null 2>&1; then |
|
5044 |
: |
|
5045 |
else
|
|
5046 |
ac_cv_header_stdc=no |
|
5047 |
fi
|
|
5048 |
rm -f conftest* |
|
5049 |
||
5050 |
fi
|
|
5051 |
||
5052 |
if test $ac_cv_header_stdc = yes; then |
|
5053 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
5054 |
if test "$cross_compiling" = yes; then |
|
5055 |
: |
|
5056 |
else
|
|
5057 |
cat >conftest.$ac_ext <<_ACEOF |
|
5058 |
/* confdefs.h. */
|
|
5059 |
_ACEOF
|
|
5060 |
cat confdefs.h >>conftest.$ac_ext
|
|
5061 |
cat >>conftest.$ac_ext <<_ACEOF |
|
5062 |
/* end confdefs.h. */
|
|
5063 |
#include <ctype.h>
|
|
5064 |
#include <stdlib.h>
|
|
5065 |
#if ((' ' & 0x0FF) == 0x020)
|
|
5066 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
5067 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
5068 |
#else
|
|
5069 |
# define ISLOWER(c) \
|
|
5070 |
(('a' <= (c) && (c) <= 'i') \
|
|
5071 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
5072 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
5073 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
5074 |
#endif
|
|
5075 |
||
5076 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
5077 |
int
|
|
5078 |
main ()
|
|
5079 |
{
|
|
5080 |
int i;
|
|
5081 |
for (i = 0; i < 256; i++)
|
|
5082 |
if (XOR (islower (i), ISLOWER (i))
|
|
5083 |
|| toupper (i) != TOUPPER (i))
|
|
5084 |
return 2;
|
|
5085 |
return 0;
|
|
5086 |
}
|
|
5087 |
_ACEOF
|
|
5088 |
rm -f conftest$ac_exeext
|
|
5089 |
if { (ac_try="$ac_link" |
|
5090 |
case "(($ac_try" in |
|
5091 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5092 |
*) ac_try_echo=$ac_try;; |
|
5093 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5094 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5095 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5096 |
(eval "$ac_link") 2>&5 |
5097 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5098 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5099 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5100 |
{ (case "(($ac_try" in |
|
5101 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5102 |
*) ac_try_echo=$ac_try;; |
|
5103 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5104 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5105 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5106 |
(eval "$ac_try") 2>&5 |
5107 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5108 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5109 |
(exit $ac_status); }; }; then |
5110 |
: |
|
5111 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5112 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
5113 |
$as_echo "$as_me: failed program was:" >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5114 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5115 |
||
5116 |
( exit $ac_status ) |
|
5117 |
ac_cv_header_stdc=no |
|
5118 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5119 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5120 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5121 |
fi
|
|
5122 |
||
5123 |
||
5124 |
fi
|
|
5125 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5126 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
5127 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5128 |
if test $ac_cv_header_stdc = yes; then |
5129 |
||
5130 |
cat >>confdefs.h <<\_ACEOF
|
|
5131 |
#define STDC_HEADERS 1
|
|
5132 |
_ACEOF
|
|
5133 |
||
5134 |
fi
|
|
5135 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5136 |
case `pwd` in |
5137 |
*\ * | *\ *) |
|
5138 |
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
5139 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
5140 |
esac
|
|
5141 |
||
5142 |
||
5143 |
||
5144 |
macro_version='2.2.6' |
|
5145 |
macro_revision='1.3012' |
|
5146 |
||
5147 |
||
5148 |
||
5149 |
||
5150 |
||
5151 |
||
5152 |
||
5153 |
||
5154 |
||
5155 |
||
5156 |
||
5157 |
||
5158 |
||
5159 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5160 |
|
5161 |
# Make sure we can run config.sub.
|
|
5162 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5163 |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
5164 |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5165 |
{ (exit 1); exit 1; }; } |
5166 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5167 |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
5168 |
$as_echo_n "checking build system type... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5169 |
if test "${ac_cv_build+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5170 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5171 |
else
|
5172 |
ac_build_alias=$build_alias |
|
5173 |
test "x$ac_build_alias" = x && |
|
5174 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
5175 |
test "x$ac_build_alias" = x && |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5176 |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
5177 |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5178 |
{ (exit 1); exit 1; }; } |
5179 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5180 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
5181 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5182 |
{ (exit 1); exit 1; }; } |
5183 |
||
5184 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5185 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
5186 |
$as_echo "$ac_cv_build" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5187 |
case $ac_cv_build in |
5188 |
*-*-*) ;; |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5189 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
5190 |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5191 |
{ (exit 1); exit 1; }; };; |
5192 |
esac
|
|
5193 |
build=$ac_cv_build |
|
5194 |
ac_save_IFS=$IFS; IFS='-' |
|
5195 |
set x $ac_cv_build |
|
5196 |
shift
|
|
5197 |
build_cpu=$1 |
|
5198 |
build_vendor=$2 |
|
5199 |
shift; shift |
|
5200 |
# Remember, the first character of IFS is used to create $*,
|
|
5201 |
# except with old shells:
|
|
5202 |
build_os=$* |
|
5203 |
IFS=$ac_save_IFS |
|
5204 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
5205 |
||
5206 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5207 |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
5208 |
$as_echo_n "checking host system type... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5209 |
if test "${ac_cv_host+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5210 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5211 |
else
|
5212 |
if test "x$host_alias" = x; then |
|
5213 |
ac_cv_host=$ac_cv_build |
|
5214 |
else
|
|
5215 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5216 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
5217 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5218 |
{ (exit 1); exit 1; }; } |
5219 |
fi
|
|
5220 |
||
5221 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5222 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
5223 |
$as_echo "$ac_cv_host" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5224 |
case $ac_cv_host in |
5225 |
*-*-*) ;; |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5226 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
5227 |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5228 |
{ (exit 1); exit 1; }; };; |
5229 |
esac
|
|
5230 |
host=$ac_cv_host |
|
5231 |
ac_save_IFS=$IFS; IFS='-' |
|
5232 |
set x $ac_cv_host |
|
5233 |
shift
|
|
5234 |
host_cpu=$1 |
|
5235 |
host_vendor=$2 |
|
5236 |
shift; shift |
|
5237 |
# Remember, the first character of IFS is used to create $*,
|
|
5238 |
# except with old shells:
|
|
5239 |
host_os=$* |
|
5240 |
IFS=$ac_save_IFS |
|
5241 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
5242 |
||
5243 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5244 |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
5245 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
5246 |
if test "${ac_cv_path_SED+set}" = set; then |
|
5247 |
$as_echo_n "(cached) " >&6 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5248 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5249 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
5250 |
for ac_i in 1 2 3 4 5 6 7; do |
|
5251 |
ac_script="$ac_script$as_nl$ac_script" |
|
5252 |
done
|
|
5253 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
5254 |
$as_unset ac_script || ac_script= |
|
5255 |
if test -z "$SED"; then |
|
5256 |
ac_path_SED_found=false |
|
5257 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
5258 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5259 |
for as_dir in $PATH |
5260 |
do
|
|
5261 |
IFS=$as_save_IFS |
|
5262 |
test -z "$as_dir" && as_dir=. |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5263 |
for ac_prog in sed gsed; do |
5264 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5265 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
5266 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
5267 |
# Check for GNU ac_path_SED and select it if it is found.
|
|
5268 |
# Check for GNU $ac_path_SED
|
|
5269 |
case `"$ac_path_SED" --version 2>&1` in |
|
5270 |
*GNU*)
|
|
5271 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
5272 |
*)
|
|
5273 |
ac_count=0 |
|
5274 |
$as_echo_n 0123456789 >"conftest.in" |
|
5275 |
while :
|
|
5276 |
do
|
|
5277 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5278 |
mv "conftest.tmp" "conftest.in" |
|
5279 |
cp "conftest.in" "conftest.nl" |
|
5280 |
$as_echo '' >> "conftest.nl" |
|
5281 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5282 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5283 |
ac_count=`expr $ac_count + 1` |
|
5284 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
5285 |
# Best one so far, save it but keep looking for a better one
|
|
5286 |
ac_cv_path_SED="$ac_path_SED" |
|
5287 |
ac_path_SED_max=$ac_count |
|
5288 |
fi
|
|
5289 |
# 10*(2^10) chars as input seems more than enough
|
|
5290 |
test $ac_count -gt 10 && break |
|
5291 |
done
|
|
5292 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
5293 |
esac
|
|
5294 |
||
5295 |
$ac_path_SED_found && break 3 |
|
5296 |
done
|
|
5297 |
done
|
|
5298 |
done
|
|
5299 |
IFS=$as_save_IFS |
|
5300 |
if test -z "$ac_cv_path_SED"; then |
|
5301 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 |
|
5302 |
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} |
|
5303 |
{ (exit 1); exit 1; }; } |
|
5304 |
fi
|
|
5305 |
else
|
|
5306 |
ac_cv_path_SED=$SED |
|
5307 |
fi
|
|
5308 |
||
5309 |
fi
|
|
5310 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 |
|
5311 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
5312 |
SED="$ac_cv_path_SED" |
|
5313 |
rm -f conftest.sed |
|
5314 |
||
5315 |
test -z "$SED" && SED=sed |
|
5316 |
Xsed="$SED -e 1s/^X//" |
|
5317 |
||
5318 |
||
5319 |
||
5320 |
||
5321 |
||
5322 |
||
5323 |
||
5324 |
||
5325 |
||
5326 |
||
5327 |
||
5328 |
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 |
|
5329 |
$as_echo_n "checking for fgrep... " >&6; } |
|
5330 |
if test "${ac_cv_path_FGREP+set}" = set; then |
|
5331 |
$as_echo_n "(cached) " >&6 |
|
5332 |
else
|
|
5333 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
5334 |
then ac_cv_path_FGREP="$GREP -F" |
|
5335 |
else
|
|
5336 |
if test -z "$FGREP"; then |
|
5337 |
ac_path_FGREP_found=false |
|
5338 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
5339 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5340 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
5341 |
do
|
|
5342 |
IFS=$as_save_IFS |
|
5343 |
test -z "$as_dir" && as_dir=. |
|
5344 |
for ac_prog in fgrep; do |
|
5345 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5346 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
5347 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
|
5348 |
# Check for GNU ac_path_FGREP and select it if it is found.
|
|
5349 |
# Check for GNU $ac_path_FGREP
|
|
5350 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
5351 |
*GNU*)
|
|
5352 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
5353 |
*)
|
|
5354 |
ac_count=0 |
|
5355 |
$as_echo_n 0123456789 >"conftest.in" |
|
5356 |
while :
|
|
5357 |
do
|
|
5358 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5359 |
mv "conftest.tmp" "conftest.in" |
|
5360 |
cp "conftest.in" "conftest.nl" |
|
5361 |
$as_echo 'FGREP' >> "conftest.nl" |
|
5362 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5363 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5364 |
ac_count=`expr $ac_count + 1` |
|
5365 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
5366 |
# Best one so far, save it but keep looking for a better one
|
|
5367 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
5368 |
ac_path_FGREP_max=$ac_count |
|
5369 |
fi
|
|
5370 |
# 10*(2^10) chars as input seems more than enough
|
|
5371 |
test $ac_count -gt 10 && break |
|
5372 |
done
|
|
5373 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
5374 |
esac
|
|
5375 |
||
5376 |
$ac_path_FGREP_found && break 3 |
|
5377 |
done
|
|
5378 |
done
|
|
5379 |
done
|
|
5380 |
IFS=$as_save_IFS |
|
5381 |
if test -z "$ac_cv_path_FGREP"; then |
|
5382 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
5383 |
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
5384 |
{ (exit 1); exit 1; }; } |
|
5385 |
fi
|
|
5386 |
else
|
|
5387 |
ac_cv_path_FGREP=$FGREP |
|
5388 |
fi
|
|
5389 |
||
5390 |
fi
|
|
5391 |
fi
|
|
5392 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 |
|
5393 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
5394 |
FGREP="$ac_cv_path_FGREP" |
|
5395 |
||
5396 |
||
5397 |
test -z "$GREP" && GREP=grep |
|
5398 |
||
5399 |
||
5400 |
||
5401 |
||
5402 |
||
5403 |
||
5404 |
||
5405 |
||
5406 |
||
5407 |
||
5408 |
||
5409 |
||
5410 |
||
5411 |
||
5412 |
||
5413 |
||
5414 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
5415 |
|
5416 |
||
5417 |
# Check whether --with-gnu-ld was given.
|
|
5418 |
if test "${with_gnu_ld+set}" = set; then |
|
5419 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
5420 |
else
|
|
5421 |
with_gnu_ld=no |
|
5422 |
fi
|
|
5423 |
||
5424 |
ac_prog=ld |
|
5425 |
if test "$GCC" = yes; then |
|
5426 |
# Check if gcc -print-prog-name=ld gives a path.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5427 |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
5428 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5429 |
case $host in |
5430 |
*-*-mingw*)
|
|
5431 |
# gcc leaves a trailing carriage return which upsets mingw
|
|
5432 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
5433 |
*)
|
|
5434 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
5435 |
esac
|
|
5436 |
case $ac_prog in |
|
5437 |
# Accept absolute paths.
|
|
5438 |
[\\/]* | ?:[\\/]*) |
|
5439 |
re_direlt='/[^/][^/]*/\.\./' |
|
5440 |
# Canonicalize the pathname of ld
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5441 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
5442 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
5443 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5444 |
done
|
5445 |
test -z "$LD" && LD="$ac_prog" |
|
5446 |
;;
|
|
5447 |
"") |
|
5448 |
# If it fails, then pretend we aren't using GCC.
|
|
5449 |
ac_prog=ld |
|
5450 |
;;
|
|
5451 |
*)
|
|
5452 |
# If it is relative, then search for the first ld in PATH.
|
|
5453 |
with_gnu_ld=unknown |
|
5454 |
;;
|
|
5455 |
esac
|
|
5456 |
elif test "$with_gnu_ld" = yes; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5457 |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
5458 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5459 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5460 |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
5461 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5462 |
fi
|
5463 |
if test "${lt_cv_path_LD+set}" = set; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5464 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5465 |
else
|
5466 |
if test -z "$LD"; then |
|
5467 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
5468 |
for ac_dir in $PATH; do |
|
5469 |
IFS="$lt_save_ifs" |
|
5470 |
test -z "$ac_dir" && ac_dir=. |
|
5471 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
5472 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
5473 |
# Check to see if the program is GNU ld. I'd rather use --version,
|
|
5474 |
# but apparently some variants of GNU ld only accept -v.
|
|
5475 |
# Break only if it was the GNU/non-GNU ld that we prefer.
|
|
5476 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
5477 |
*GNU* | *'with BFD'*) |
|
5478 |
test "$with_gnu_ld" != no && break |
|
5479 |
;;
|
|
5480 |
*)
|
|
5481 |
test "$with_gnu_ld" != yes && break |
|
5482 |
;;
|
|
5483 |
esac
|
|
5484 |
fi
|
|
5485 |
done
|
|
5486 |
IFS="$lt_save_ifs" |
|
5487 |
else
|
|
5488 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
5489 |
fi
|
|
5490 |
fi
|
|
5491 |
||
5492 |
LD="$lt_cv_path_LD" |
|
5493 |
if test -n "$LD"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5494 |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
5495 |
$as_echo "$LD" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5496 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5497 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5498 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5499 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5500 |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
5501 |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5502 |
{ (exit 1); exit 1; }; } |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5503 |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
5504 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5505 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5506 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5507 |
else
|
5508 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
|
5509 |
case `$LD -v 2>&1 </dev/null` in |
|
5510 |
*GNU* | *'with BFD'*) |
|
5511 |
lt_cv_prog_gnu_ld=yes |
|
5512 |
;;
|
|
5513 |
*)
|
|
5514 |
lt_cv_prog_gnu_ld=no |
|
5515 |
;;
|
|
5516 |
esac
|
|
5517 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5518 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
5519 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5520 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
5521 |
||
5522 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5523 |
|
5524 |
||
5525 |
||
5526 |
||
5527 |
||
5528 |
||
5529 |
||
5530 |
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
5531 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5532 |
if test "${lt_cv_path_NM+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5533 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
5534 |
else
|
5535 |
if test -n "$NM"; then |
|
5536 |
# Let the user override the test.
|
|
5537 |
lt_cv_path_NM="$NM" |
|
5538 |
else
|
|
5539 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
5540 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
5541 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
5542 |
fi
|
|
5543 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
5544 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
5545 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
5546 |
IFS="$lt_save_ifs" |
|
5547 |
test -z "$ac_dir" && ac_dir=. |
|
5548 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
5549 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
5550 |
# Check to see if the nm accepts a BSD-compat flag.
|
|
5551 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
|
5552 |
# nm: unknown option "B" ignored
|
|
5553 |
# Tru64's nm complains that /dev/null is an invalid object file
|
|
5554 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
5555 |
*/dev/null* | *'Invalid file or object type'*) |
|
5556 |
lt_cv_path_NM="$tmp_nm -B" |
|
5557 |
break
|
|
5558 |
;;
|
|
5559 |
*)
|
|
5560 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
5561 |
*/dev/null*)
|
|
5562 |
lt_cv_path_NM="$tmp_nm -p" |
|
5563 |
break
|
|
5564 |
;;
|
|
5565 |
*)
|
|
5566 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
5567 |
continue # so that we can try to find one that supports BSD flags |
|
5568 |
;;
|
|
5569 |
esac
|
|
5570 |
;;
|
|
5571 |
esac
|
|
5572 |
fi
|
|
5573 |
done
|
|
5574 |
IFS="$lt_save_ifs" |
|
5575 |
done
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5576 |
: ${lt_cv_path_NM=no} |
5577 |
fi
|
|
5578 |
fi
|
|
5579 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
|
5580 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
5581 |
if test "$lt_cv_path_NM" != "no"; then |
|
5582 |
NM="$lt_cv_path_NM" |
|
5583 |
else
|
|
5584 |
# Didn't find any BSD compatible name lister, look for dumpbin.
|
|
5585 |
if test -n "$ac_tool_prefix"; then |
|
5586 |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
|
5587 |
do
|
|
5588 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
5589 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
5590 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5591 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5592 |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then |
|
5593 |
$as_echo_n "(cached) " >&6 |
|
5594 |
else
|
|
5595 |
if test -n "$DUMPBIN"; then |
|
5596 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
5597 |
else
|
|
5598 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5599 |
for as_dir in $PATH |
|
5600 |
do
|
|
5601 |
IFS=$as_save_IFS |
|
5602 |
test -z "$as_dir" && as_dir=. |
|
5603 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5604 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5605 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
5606 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5607 |
break 2 |
|
5608 |
fi
|
|
5609 |
done
|
|
5610 |
done
|
|
5611 |
IFS=$as_save_IFS |
|
5612 |
||
5613 |
fi
|
|
5614 |
fi
|
|
5615 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
5616 |
if test -n "$DUMPBIN"; then |
|
5617 |
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 |
|
5618 |
$as_echo "$DUMPBIN" >&6; } |
|
5619 |
else
|
|
5620 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
5621 |
$as_echo "no" >&6; } |
|
5622 |
fi
|
|
5623 |
||
5624 |
||
5625 |
test -n "$DUMPBIN" && break |
|
5626 |
done
|
|
5627 |
fi
|
|
5628 |
if test -z "$DUMPBIN"; then |
|
5629 |
ac_ct_DUMPBIN=$DUMPBIN |
|
5630 |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
|
5631 |
do
|
|
5632 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
5633 |
set dummy $ac_prog; ac_word=$2 |
|
5634 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5635 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5636 |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then |
|
5637 |
$as_echo_n "(cached) " >&6 |
|
5638 |
else
|
|
5639 |
if test -n "$ac_ct_DUMPBIN"; then |
|
5640 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
5641 |
else
|
|
5642 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5643 |
for as_dir in $PATH |
|
5644 |
do
|
|
5645 |
IFS=$as_save_IFS |
|
5646 |
test -z "$as_dir" && as_dir=. |
|
5647 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5648 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5649 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
5650 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5651 |
break 2 |
|
5652 |
fi
|
|
5653 |
done
|
|
5654 |
done
|
|
5655 |
IFS=$as_save_IFS |
|
5656 |
||
5657 |
fi
|
|
5658 |
fi
|
|
5659 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
5660 |
if test -n "$ac_ct_DUMPBIN"; then |
|
5661 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 |
|
5662 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
5663 |
else
|
|
5664 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
5665 |
$as_echo "no" >&6; } |
|
5666 |
fi
|
|
5667 |
||
5668 |
||
5669 |
test -n "$ac_ct_DUMPBIN" && break |
|
5670 |
done
|
|
5671 |
||
5672 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
5673 |
DUMPBIN=":" |
|
5674 |
else
|
|
5675 |
case $cross_compiling:$ac_tool_warned in |
|
5676 |
yes:)
|
|
5677 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5678 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5679 |
ac_tool_warned=yes ;; |
|
5680 |
esac
|
|
5681 |
DUMPBIN=$ac_ct_DUMPBIN |
|
5682 |
fi
|
|
5683 |
fi
|
|
5684 |
||
5685 |
||
5686 |
if test "$DUMPBIN" != ":"; then |
|
5687 |
NM="$DUMPBIN" |
|
5688 |
fi
|
|
5689 |
fi
|
|
5690 |
test -z "$NM" && NM=nm |
|
5691 |
||
5692 |
||
5693 |
||
5694 |
||
5695 |
||
5696 |
||
5697 |
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 |
|
5698 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
5699 |
if test "${lt_cv_nm_interface+set}" = set; then |
|
5700 |
$as_echo_n "(cached) " >&6 |
|
5701 |
else
|
|
5702 |
lt_cv_nm_interface="BSD nm" |
|
5703 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
5704 |
(eval echo "\"\$as_me:5704: $ac_compile\"" >&5) |
|
5705 |
(eval "$ac_compile" 2>conftest.err) |
|
5706 |
cat conftest.err >&5 |
|
5707 |
(eval echo "\"\$as_me:5707: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
5708 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
|
5709 |
cat conftest.err >&5 |
|
5710 |
(eval echo "\"\$as_me:5710: output\"" >&5) |
|
5711 |
cat conftest.out >&5 |
|
5712 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
5713 |
lt_cv_nm_interface="MS dumpbin" |
|
5714 |
fi
|
|
5715 |
rm -f conftest* |
|
5716 |
fi
|
|
5717 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 |
|
5718 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
5719 |
||
5720 |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
5721 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
5722 |
LN_S=$as_ln_s |
5723 |
if test "$LN_S" = "ln -s"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
5724 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
5725 |
$as_echo "yes" >&6; } |
|
5726 |
else
|
|
5727 |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
5728 |
$as_echo "no, using $LN_S" >&6; } |
|
5729 |
fi
|
|
5730 |
||
5731 |
# find the maximum length of command line arguments
|
|
5732 |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
|
5733 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
5734 |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
|
5735 |
$as_echo_n "(cached) " >&6 |
|
5736 |
else
|
|
5737 |
i=0 |
|
5738 |
teststring="ABCD" |
|
5739 |
||
5740 |
case $build_os in |
|
5741 |
msdosdjgpp*)
|
|
5742 |
# On DJGPP, this test can blow up pretty badly due to problems in libc
|
|
5743 |
# (any single argument exceeding 2000 bytes causes a buffer overrun
|
|
5744 |
# during glob expansion). Even if it were fixed, the result of this
|
|
5745 |
# check would be larger than it should be.
|
|
5746 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
5747 |
;;
|
|
5748 |
||
5749 |
gnu*)
|
|
5750 |
# Under GNU Hurd, this test is not required because there is
|
|
5751 |
# no limit to the length of command line arguments.
|
|
5752 |
# Libtool will interpret -1 as no limit whatsoever
|
|
5753 |
lt_cv_sys_max_cmd_len=-1; |
|
5754 |
;;
|
|
5755 |
||
5756 |
cygwin* | mingw* | cegcc*) |
|
5757 |
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
5758 |
# about 5 minutes as the teststring grows exponentially.
|
|
5759 |
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
5760 |
# you end up with a "frozen" computer, even though with patience
|
|
5761 |
# the test eventually succeeds (with a max line length of 256k).
|
|
5762 |
# Instead, let's just punt: use the minimum linelength reported by
|
|
5763 |
# all of the supported platforms: 8192 (on NT/2K/XP).
|
|
5764 |
lt_cv_sys_max_cmd_len=8192; |
|
5765 |
;;
|
|
5766 |
||
5767 |
amigaos*)
|
|
5768 |
# On AmigaOS with pdksh, this test takes hours, literally.
|
|
5769 |
# So we just punt and use a minimum line length of 8192.
|
|
5770 |
lt_cv_sys_max_cmd_len=8192; |
|
5771 |
;;
|
|
5772 |
||
5773 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
5774 |
# This has been around since 386BSD, at least. Likely further.
|
|
5775 |
if test -x /sbin/sysctl; then |
|
5776 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
5777 |
elif test -x /usr/sbin/sysctl; then |
|
5778 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
5779 |
else
|
|
5780 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
5781 |
fi
|
|
5782 |
# And add a safety zone
|
|
5783 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
5784 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
5785 |
;;
|
|
5786 |
||
5787 |
interix*)
|
|
5788 |
# We know the value 262144 and hardcode it with a safety zone (like BSD)
|
|
5789 |
lt_cv_sys_max_cmd_len=196608 |
|
5790 |
;;
|
|
5791 |
||
5792 |
osf*)
|
|
5793 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
|
5794 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
|
5795 |
# nice to cause kernel panics so lets avoid the loop below.
|
|
5796 |
# First set a reasonable default.
|
|
5797 |
lt_cv_sys_max_cmd_len=16384 |
|
5798 |
#
|
|
5799 |
if test -x /sbin/sysconfig; then |
|
5800 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
5801 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
5802 |
esac
|
|
5803 |
fi
|
|
5804 |
;;
|
|
5805 |
sco3.2v5*)
|
|
5806 |
lt_cv_sys_max_cmd_len=102400 |
|
5807 |
;;
|
|
5808 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
5809 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
5810 |
if test -n "$kargmax"; then |
|
5811 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
5812 |
else
|
|
5813 |
lt_cv_sys_max_cmd_len=32768 |
|
5814 |
fi
|
|
5815 |
;;
|
|
5816 |
*)
|
|
5817 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
5818 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
5819 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
5820 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
5821 |
else
|
|
5822 |
# Make teststring a little bigger before we do anything with it.
|
|
5823 |
# a 1K string should be a reasonable start.
|
|
5824 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
5825 |
teststring=$teststring$teststring |
|
5826 |
done
|
|
5827 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
5828 |
# If test is not a shell built-in, we'll probably end up computing a
|
|
5829 |
# maximum length that is only half of the actual maximum length, but
|
|
5830 |
# we can't tell.
|
|
5831 |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
|
5832 |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
|
5833 |
test $i != 17 # 1/2 MB should be enough |
|
5834 |
do
|
|
5835 |
i=`expr $i + 1` |
|
5836 |
teststring=$teststring$teststring |
|
5837 |
done
|
|
5838 |
# Only check the string length outside the loop.
|
|
5839 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
5840 |
teststring= |
|
5841 |
# Add a significant safety factor because C++ compilers can tack on
|
|
5842 |
# massive amounts of additional arguments before passing them to the
|
|
5843 |
# linker. It appears as though 1/2 is a usable value.
|
|
5844 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
5845 |
fi
|
|
5846 |
;;
|
|
5847 |
esac
|
|
5848 |
||
5849 |
fi
|
|
5850 |
||
5851 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
5852 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
|
5853 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
5854 |
else
|
|
5855 |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
|
5856 |
$as_echo "none" >&6; } |
|
5857 |
fi
|
|
5858 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
5859 |
||
5860 |
||
5861 |
||
5862 |
||
5863 |
||
5864 |
||
5865 |
: ${CP="cp -f"} |
|
5866 |
: ${MV="mv -f"} |
|
5867 |
: ${RM="rm -f"} |
|
5868 |
||
5869 |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 |
|
5870 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
5871 |
# Try some XSI features
|
|
5872 |
xsi_shell=no |
|
5873 |
( _lt_dummy="a/b/c" |
|
5874 |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
|
5875 |
= c,a/b,, \ |
|
5876 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
|
5877 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
5878 |
&& xsi_shell=yes |
|
5879 |
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 |
|
5880 |
$as_echo "$xsi_shell" >&6; } |
|
5881 |
||
5882 |
||
5883 |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 |
|
5884 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
5885 |
lt_shell_append=no |
|
5886 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
5887 |
>/dev/null 2>&1 \ |
|
5888 |
&& lt_shell_append=yes |
|
5889 |
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 |
|
5890 |
$as_echo "$lt_shell_append" >&6; } |
|
5891 |
||
5892 |
||
5893 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
5894 |
lt_unset=unset |
|
5895 |
else
|
|
5896 |
lt_unset=false |
|
5897 |
fi
|
|
5898 |
||
5899 |
||
5900 |
||
5901 |
||
5902 |
||
5903 |
# test EBCDIC or ASCII
|
|
5904 |
case `echo X|tr X '\101'` in |
|
5905 |
A) # ASCII based system |
|
5906 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
|
|
5907 |
lt_SP2NL='tr \040 \012' |
|
5908 |
lt_NL2SP='tr \015\012 \040\040' |
|
5909 |
;;
|
|
5910 |
*) # EBCDIC based system |
|
5911 |
lt_SP2NL='tr \100 \n' |
|
5912 |
lt_NL2SP='tr \r\n \100\100' |
|
5913 |
;;
|
|
5914 |
esac
|
|
5915 |
||
5916 |
||
5917 |
||
5918 |
||
5919 |
||
5920 |
||
5921 |
||
5922 |
||
5923 |
||
5924 |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
|
5925 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
5926 |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
|
5927 |
$as_echo_n "(cached) " >&6 |
|
5928 |
else
|
|
5929 |
lt_cv_ld_reload_flag='-r' |
|
5930 |
fi
|
|
5931 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
|
5932 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
5933 |
reload_flag=$lt_cv_ld_reload_flag |
|
5934 |
case $reload_flag in |
|
5935 |
"" | " "*) ;; |
|
5936 |
*) reload_flag=" $reload_flag" ;; |
|
5937 |
esac
|
|
5938 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5939 |
case $host_os in |
|
5940 |
darwin*)
|
|
5941 |
if test "$GCC" = yes; then |
|
5942 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
5943 |
else
|
|
5944 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5945 |
fi
|
|
5946 |
;;
|
|
5947 |
esac
|
|
5948 |
||
5949 |
||
5950 |
||
5951 |
||
5952 |
||
5953 |
||
5954 |
||
5955 |
||
5956 |
||
5957 |
if test -n "$ac_tool_prefix"; then |
|
5958 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
|
5959 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
5960 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5961 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5962 |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
|
5963 |
$as_echo_n "(cached) " >&6 |
|
5964 |
else
|
|
5965 |
if test -n "$OBJDUMP"; then |
|
5966 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
5967 |
else
|
|
5968 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5969 |
for as_dir in $PATH |
|
5970 |
do
|
|
5971 |
IFS=$as_save_IFS |
|
5972 |
test -z "$as_dir" && as_dir=. |
|
5973 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5974 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5975 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
5976 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5977 |
break 2 |
|
5978 |
fi
|
|
5979 |
done
|
|
5980 |
done
|
|
5981 |
IFS=$as_save_IFS |
|
5982 |
||
5983 |
fi
|
|
5984 |
fi
|
|
5985 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
5986 |
if test -n "$OBJDUMP"; then |
|
5987 |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 |
|
5988 |
$as_echo "$OBJDUMP" >&6; } |
|
5989 |
else
|
|
5990 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
5991 |
$as_echo "no" >&6; } |
|
5992 |
fi
|
|
5993 |
||
5994 |
||
5995 |
fi
|
|
5996 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
5997 |
ac_ct_OBJDUMP=$OBJDUMP |
|
5998 |
# Extract the first word of "objdump", so it can be a program name with args.
|
|
5999 |
set dummy objdump; ac_word=$2 |
|
6000 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6001 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6002 |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
|
6003 |
$as_echo_n "(cached) " >&6 |
|
6004 |
else
|
|
6005 |
if test -n "$ac_ct_OBJDUMP"; then |
|
6006 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
6007 |
else
|
|
6008 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6009 |
for as_dir in $PATH |
|
6010 |
do
|
|
6011 |
IFS=$as_save_IFS |
|
6012 |
test -z "$as_dir" && as_dir=. |
|
6013 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6014 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6015 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
6016 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6017 |
break 2 |
|
6018 |
fi
|
|
6019 |
done
|
|
6020 |
done
|
|
6021 |
IFS=$as_save_IFS |
|
6022 |
||
6023 |
fi
|
|
6024 |
fi
|
|
6025 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
6026 |
if test -n "$ac_ct_OBJDUMP"; then |
|
6027 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 |
|
6028 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
6029 |
else
|
|
6030 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6031 |
$as_echo "no" >&6; } |
|
6032 |
fi
|
|
6033 |
||
6034 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
6035 |
OBJDUMP="false" |
|
6036 |
else
|
|
6037 |
case $cross_compiling:$ac_tool_warned in |
|
6038 |
yes:)
|
|
6039 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6040 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6041 |
ac_tool_warned=yes ;; |
|
6042 |
esac
|
|
6043 |
OBJDUMP=$ac_ct_OBJDUMP |
|
6044 |
fi
|
|
6045 |
else
|
|
6046 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
6047 |
fi
|
|
6048 |
||
6049 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
6050 |
||
6051 |
||
6052 |
||
6053 |
||
6054 |
||
6055 |
||
6056 |
||
6057 |
||
6058 |
||
6059 |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
|
6060 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6061 |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6062 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6063 |
else
|
6064 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
6065 |
lt_cv_file_magic_test_file= |
|
6066 |
lt_cv_deplibs_check_method='unknown' |
|
6067 |
# Need to set the preceding variable on all platforms that support
|
|
6068 |
# interlibrary dependencies.
|
|
6069 |
# 'none' -- dependencies not supported.
|
|
6070 |
# `unknown' -- same as none, but documents that we really don't know.
|
|
6071 |
# 'pass_all' -- all dependencies passed with no checks.
|
|
6072 |
# 'test_compile' -- check by making test program.
|
|
6073 |
# 'file_magic [[regex]]' -- check by looking for files in library path
|
|
6074 |
# which responds to the $file_magic_cmd with a given extended regex.
|
|
6075 |
# If you have `file' or equivalent on your system and you're not sure
|
|
6076 |
# whether `pass_all' will *always* work, you probably want this one.
|
|
6077 |
||
6078 |
case $host_os in |
|
6079 |
aix[4-9]*) |
|
6080 |
lt_cv_deplibs_check_method=pass_all |
|
6081 |
;;
|
|
6082 |
||
6083 |
beos*)
|
|
6084 |
lt_cv_deplibs_check_method=pass_all |
|
6085 |
;;
|
|
6086 |
||
6087 |
bsdi[45]*) |
|
6088 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
6089 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
6090 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
6091 |
;;
|
|
6092 |
||
6093 |
cygwin*)
|
|
6094 |
# func_win32_libid is a shell function defined in ltmain.sh
|
|
6095 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
6096 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
6097 |
;;
|
|
6098 |
||
6099 |
mingw* | pw32*) |
|
6100 |
# Base MSYS/MinGW do not provide the 'file' command needed by
|
|
6101 |
# func_win32_libid shell function, so use a weaker test based on 'objdump',
|
|
6102 |
# unless we find 'file', for example because we are cross-compiling.
|
|
6103 |
if ( file / ) >/dev/null 2>&1; then |
|
6104 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
6105 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
6106 |
else
|
|
6107 |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
|
6108 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
6109 |
fi
|
|
6110 |
;;
|
|
6111 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6112 |
cegcc)
|
6113 |
# use the weaker test based on 'objdump'. See mingw*.
|
|
6114 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
6115 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
6116 |
;;
|
|
6117 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
6118 |
darwin* | rhapsody*) |
6119 |
lt_cv_deplibs_check_method=pass_all |
|
6120 |
;;
|
|
6121 |
||
6122 |
freebsd* | dragonfly*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6123 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6124 |
case $host_cpu in |
6125 |
i*86 )
|
|
6126 |
# Not sure whether the presence of OpenBSD here was a mistake.
|
|
6127 |
# Let's accept both of them until this is cleared up.
|
|
6128 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
6129 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
6130 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
6131 |
;;
|
|
6132 |
esac
|
|
6133 |
else
|
|
6134 |
lt_cv_deplibs_check_method=pass_all |
|
6135 |
fi
|
|
6136 |
;;
|
|
6137 |
||
6138 |
gnu*)
|
|
6139 |
lt_cv_deplibs_check_method=pass_all |
|
6140 |
;;
|
|
6141 |
||
6142 |
hpux10.20* | hpux11*) |
|
6143 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
6144 |
case $host_cpu in |
|
6145 |
ia64*)
|
|
6146 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
6147 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
6148 |
;;
|
|
6149 |
hppa*64*)
|
|
6150 |
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]' |
|
6151 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
|
6152 |
;;
|
|
6153 |
*)
|
|
6154 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
|
6155 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
6156 |
;;
|
|
6157 |
esac
|
|
6158 |
;;
|
|
6159 |
||
6160 |
interix[3-9]*) |
|
6161 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
|
6162 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
6163 |
;;
|
|
6164 |
||
6165 |
irix5* | irix6* | nonstopux*) |
|
6166 |
case $LD in |
|
6167 |
*-32|*"-32 ") libmagic=32-bit;; |
|
6168 |
*-n32|*"-n32 ") libmagic=N32;; |
|
6169 |
*-64|*"-64 ") libmagic=64-bit;; |
|
6170 |
*) libmagic=never-match;; |
|
6171 |
esac
|
|
6172 |
lt_cv_deplibs_check_method=pass_all |
|
6173 |
;;
|
|
6174 |
||
6175 |
# This must be Linux ELF.
|
|
6176 |
linux* | k*bsd*-gnu) |
|
6177 |
lt_cv_deplibs_check_method=pass_all |
|
6178 |
;;
|
|
6179 |
||
6180 |
netbsd* | netbsdelf*-gnu) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6181 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6182 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
6183 |
else
|
|
6184 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
6185 |
fi
|
|
6186 |
;;
|
|
6187 |
||
6188 |
newos6*)
|
|
6189 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
6190 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
6191 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
6192 |
;;
|
|
6193 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6194 |
*nto* | *qnx*) |
6195 |
lt_cv_deplibs_check_method=pass_all |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6196 |
;;
|
6197 |
||
6198 |
openbsd*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6199 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6200 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
6201 |
else
|
|
6202 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
6203 |
fi
|
|
6204 |
;;
|
|
6205 |
||
6206 |
osf3* | osf4* | osf5*) |
|
6207 |
lt_cv_deplibs_check_method=pass_all |
|
6208 |
;;
|
|
6209 |
||
6210 |
rdos*)
|
|
6211 |
lt_cv_deplibs_check_method=pass_all |
|
6212 |
;;
|
|
6213 |
||
6214 |
solaris*)
|
|
6215 |
lt_cv_deplibs_check_method=pass_all |
|
6216 |
;;
|
|
6217 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6218 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
6219 |
lt_cv_deplibs_check_method=pass_all |
|
6220 |
;;
|
|
6221 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
6222 |
sysv4 | sysv4.3*) |
6223 |
case $host_vendor in |
|
6224 |
motorola)
|
|
6225 |
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]' |
|
6226 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
6227 |
;;
|
|
6228 |
ncr)
|
|
6229 |
lt_cv_deplibs_check_method=pass_all |
|
6230 |
;;
|
|
6231 |
sequent)
|
|
6232 |
lt_cv_file_magic_cmd='/bin/file' |
|
6233 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
6234 |
;;
|
|
6235 |
sni)
|
|
6236 |
lt_cv_file_magic_cmd='/bin/file' |
|
6237 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
6238 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
6239 |
;;
|
|
6240 |
siemens)
|
|
6241 |
lt_cv_deplibs_check_method=pass_all |
|
6242 |
;;
|
|
6243 |
pc)
|
|
6244 |
lt_cv_deplibs_check_method=pass_all |
|
6245 |
;;
|
|
6246 |
esac
|
|
6247 |
;;
|
|
6248 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6249 |
tpf*)
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6250 |
lt_cv_deplibs_check_method=pass_all |
6251 |
;;
|
|
6252 |
esac
|
|
6253 |
||
6254 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6255 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
6256 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6257 |
file_magic_cmd=$lt_cv_file_magic_cmd |
6258 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
6259 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
6260 |
||
6261 |
||
6262 |
||
6263 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6264 |
|
6265 |
||
6266 |
||
6267 |
||
6268 |
||
6269 |
||
6270 |
||
6271 |
||
6272 |
if test -n "$ac_tool_prefix"; then |
|
6273 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
|
6274 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
|
6275 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6276 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6277 |
if test "${ac_cv_prog_AR+set}" = set; then |
|
6278 |
$as_echo_n "(cached) " >&6 |
|
6279 |
else
|
|
6280 |
if test -n "$AR"; then |
|
6281 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
6282 |
else
|
|
6283 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6284 |
for as_dir in $PATH |
|
6285 |
do
|
|
6286 |
IFS=$as_save_IFS |
|
6287 |
test -z "$as_dir" && as_dir=. |
|
6288 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6289 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6290 |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
|
6291 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6292 |
break 2 |
|
6293 |
fi
|
|
6294 |
done
|
|
6295 |
done
|
|
6296 |
IFS=$as_save_IFS |
|
6297 |
||
6298 |
fi
|
|
6299 |
fi
|
|
6300 |
AR=$ac_cv_prog_AR |
|
6301 |
if test -n "$AR"; then |
|
6302 |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
|
6303 |
$as_echo "$AR" >&6; } |
|
6304 |
else
|
|
6305 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6306 |
$as_echo "no" >&6; } |
|
6307 |
fi
|
|
6308 |
||
6309 |
||
6310 |
fi
|
|
6311 |
if test -z "$ac_cv_prog_AR"; then |
|
6312 |
ac_ct_AR=$AR |
|
6313 |
# Extract the first word of "ar", so it can be a program name with args.
|
|
6314 |
set dummy ar; ac_word=$2 |
|
6315 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6316 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6317 |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
|
6318 |
$as_echo_n "(cached) " >&6 |
|
6319 |
else
|
|
6320 |
if test -n "$ac_ct_AR"; then |
|
6321 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
6322 |
else
|
|
6323 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6324 |
for as_dir in $PATH |
|
6325 |
do
|
|
6326 |
IFS=$as_save_IFS |
|
6327 |
test -z "$as_dir" && as_dir=. |
|
6328 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6329 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6330 |
ac_cv_prog_ac_ct_AR="ar" |
|
6331 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6332 |
break 2 |
|
6333 |
fi
|
|
6334 |
done
|
|
6335 |
done
|
|
6336 |
IFS=$as_save_IFS |
|
6337 |
||
6338 |
fi
|
|
6339 |
fi
|
|
6340 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
6341 |
if test -n "$ac_ct_AR"; then |
|
6342 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
|
6343 |
$as_echo "$ac_ct_AR" >&6; } |
|
6344 |
else
|
|
6345 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6346 |
$as_echo "no" >&6; } |
|
6347 |
fi
|
|
6348 |
||
6349 |
if test "x$ac_ct_AR" = x; then |
|
6350 |
AR="false" |
|
6351 |
else
|
|
6352 |
case $cross_compiling:$ac_tool_warned in |
|
6353 |
yes:)
|
|
6354 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6355 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6356 |
ac_tool_warned=yes ;; |
|
6357 |
esac
|
|
6358 |
AR=$ac_ct_AR |
|
6359 |
fi
|
|
6360 |
else
|
|
6361 |
AR="$ac_cv_prog_AR" |
|
6362 |
fi
|
|
6363 |
||
6364 |
test -z "$AR" && AR=ar |
|
6365 |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
|
6366 |
||
6367 |
||
6368 |
||
6369 |
||
6370 |
||
6371 |
||
6372 |
||
6373 |
||
6374 |
||
6375 |
||
6376 |
||
6377 |
if test -n "$ac_tool_prefix"; then |
|
6378 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
6379 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
6380 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6381 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6382 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
|
6383 |
$as_echo_n "(cached) " >&6 |
|
6384 |
else
|
|
6385 |
if test -n "$STRIP"; then |
|
6386 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
6387 |
else
|
|
6388 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6389 |
for as_dir in $PATH |
|
6390 |
do
|
|
6391 |
IFS=$as_save_IFS |
|
6392 |
test -z "$as_dir" && as_dir=. |
|
6393 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6394 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6395 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
6396 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6397 |
break 2 |
|
6398 |
fi
|
|
6399 |
done
|
|
6400 |
done
|
|
6401 |
IFS=$as_save_IFS |
|
6402 |
||
6403 |
fi
|
|
6404 |
fi
|
|
6405 |
STRIP=$ac_cv_prog_STRIP |
|
6406 |
if test -n "$STRIP"; then |
|
6407 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
6408 |
$as_echo "$STRIP" >&6; } |
|
6409 |
else
|
|
6410 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6411 |
$as_echo "no" >&6; } |
|
6412 |
fi
|
|
6413 |
||
6414 |
||
6415 |
fi
|
|
6416 |
if test -z "$ac_cv_prog_STRIP"; then |
|
6417 |
ac_ct_STRIP=$STRIP |
|
6418 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
6419 |
set dummy strip; ac_word=$2 |
|
6420 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6421 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6422 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
6423 |
$as_echo_n "(cached) " >&6 |
|
6424 |
else
|
|
6425 |
if test -n "$ac_ct_STRIP"; then |
|
6426 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
6427 |
else
|
|
6428 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6429 |
for as_dir in $PATH |
|
6430 |
do
|
|
6431 |
IFS=$as_save_IFS |
|
6432 |
test -z "$as_dir" && as_dir=. |
|
6433 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6434 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6435 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
6436 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6437 |
break 2 |
|
6438 |
fi
|
|
6439 |
done
|
|
6440 |
done
|
|
6441 |
IFS=$as_save_IFS |
|
6442 |
||
6443 |
fi
|
|
6444 |
fi
|
|
6445 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
6446 |
if test -n "$ac_ct_STRIP"; then |
|
6447 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
6448 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
6449 |
else
|
|
6450 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6451 |
$as_echo "no" >&6; } |
|
6452 |
fi
|
|
6453 |
||
6454 |
if test "x$ac_ct_STRIP" = x; then |
|
6455 |
STRIP=":" |
|
6456 |
else
|
|
6457 |
case $cross_compiling:$ac_tool_warned in |
|
6458 |
yes:)
|
|
6459 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6460 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6461 |
ac_tool_warned=yes ;; |
|
6462 |
esac
|
|
6463 |
STRIP=$ac_ct_STRIP |
|
6464 |
fi
|
|
6465 |
else
|
|
6466 |
STRIP="$ac_cv_prog_STRIP" |
|
6467 |
fi
|
|
6468 |
||
6469 |
test -z "$STRIP" && STRIP=: |
|
6470 |
||
6471 |
||
6472 |
||
6473 |
||
6474 |
||
6475 |
||
6476 |
if test -n "$ac_tool_prefix"; then |
|
6477 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
6478 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
6479 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6480 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6481 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
|
6482 |
$as_echo_n "(cached) " >&6 |
|
6483 |
else
|
|
6484 |
if test -n "$RANLIB"; then |
|
6485 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
6486 |
else
|
|
6487 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6488 |
for as_dir in $PATH |
|
6489 |
do
|
|
6490 |
IFS=$as_save_IFS |
|
6491 |
test -z "$as_dir" && as_dir=. |
|
6492 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6493 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6494 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
6495 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6496 |
break 2 |
|
6497 |
fi
|
|
6498 |
done
|
|
6499 |
done
|
|
6500 |
IFS=$as_save_IFS |
|
6501 |
||
6502 |
fi
|
|
6503 |
fi
|
|
6504 |
RANLIB=$ac_cv_prog_RANLIB |
|
6505 |
if test -n "$RANLIB"; then |
|
6506 |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
6507 |
$as_echo "$RANLIB" >&6; } |
|
6508 |
else
|
|
6509 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6510 |
$as_echo "no" >&6; } |
|
6511 |
fi
|
|
6512 |
||
6513 |
||
6514 |
fi
|
|
6515 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
6516 |
ac_ct_RANLIB=$RANLIB |
|
6517 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
6518 |
set dummy ranlib; ac_word=$2 |
|
6519 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6520 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6521 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
6522 |
$as_echo_n "(cached) " >&6 |
|
6523 |
else
|
|
6524 |
if test -n "$ac_ct_RANLIB"; then |
|
6525 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
6526 |
else
|
|
6527 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6528 |
for as_dir in $PATH |
|
6529 |
do
|
|
6530 |
IFS=$as_save_IFS |
|
6531 |
test -z "$as_dir" && as_dir=. |
|
6532 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6533 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6534 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
6535 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6536 |
break 2 |
|
6537 |
fi
|
|
6538 |
done
|
|
6539 |
done
|
|
6540 |
IFS=$as_save_IFS |
|
6541 |
||
6542 |
fi
|
|
6543 |
fi
|
|
6544 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
6545 |
if test -n "$ac_ct_RANLIB"; then |
|
6546 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
6547 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
6548 |
else
|
|
6549 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
6550 |
$as_echo "no" >&6; } |
|
6551 |
fi
|
|
6552 |
||
6553 |
if test "x$ac_ct_RANLIB" = x; then |
|
6554 |
RANLIB=":" |
|
6555 |
else
|
|
6556 |
case $cross_compiling:$ac_tool_warned in |
|
6557 |
yes:)
|
|
6558 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6559 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6560 |
ac_tool_warned=yes ;; |
|
6561 |
esac
|
|
6562 |
RANLIB=$ac_ct_RANLIB |
|
6563 |
fi
|
|
6564 |
else
|
|
6565 |
RANLIB="$ac_cv_prog_RANLIB" |
|
6566 |
fi
|
|
6567 |
||
6568 |
test -z "$RANLIB" && RANLIB=: |
|
6569 |
||
6570 |
||
6571 |
||
6572 |
||
6573 |
||
6574 |
||
6575 |
# Determine commands to create old-style static archives.
|
|
6576 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
6577 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
6578 |
old_postuninstall_cmds= |
|
6579 |
||
6580 |
if test -n "$RANLIB"; then |
|
6581 |
case $host_os in |
|
6582 |
openbsd*)
|
|
6583 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
|
6584 |
;;
|
|
6585 |
*)
|
|
6586 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
|
6587 |
;;
|
|
6588 |
esac
|
|
6589 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
6590 |
fi
|
|
6591 |
||
6592 |
||
6593 |
||
6594 |
||
6595 |
||
6596 |
||
6597 |
||
6598 |
||
6599 |
||
6600 |
||
6601 |
||
6602 |
||
6603 |
||
6604 |
||
6605 |
||
6606 |
||
6607 |
||
6608 |
||
6609 |
||
6610 |
||
6611 |
||
6612 |
||
6613 |
||
6614 |
||
6615 |
||
6616 |
||
6617 |
||
6618 |
||
6619 |
||
6620 |
||
6621 |
||
6622 |
||
6623 |
||
6624 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
6625 |
# If no C compiler was specified, use CC.
|
6626 |
LTCC=${LTCC-"$CC"} |
|
6627 |
||
6628 |
# If no C compiler flags were specified, use CFLAGS.
|
|
6629 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
6630 |
||
6631 |
# Allow CC to be a program name with arguments.
|
|
6632 |
compiler=$CC |
|
6633 |
||
6634 |
||
6635 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6636 |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
6637 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6638 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6639 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6640 |
else
|
6641 |
||
6642 |
# These are sane defaults that work on at least a few old systems.
|
|
6643 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
|
6644 |
||
6645 |
# Character class describing NM global symbol codes.
|
|
6646 |
symcode='[BCDEGRST]' |
|
6647 |
||
6648 |
# Regexp to match symbols that can be accessed directly from C.
|
|
6649 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
6650 |
||
6651 |
# Define system-specific variables.
|
|
6652 |
case $host_os in |
|
6653 |
aix*)
|
|
6654 |
symcode='[BCDT]' |
|
6655 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6656 |
cygwin* | mingw* | pw32* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6657 |
symcode='[ABCDGISTW]' |
6658 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6659 |
hpux*)
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6660 |
if test "$host_cpu" = ia64; then |
6661 |
symcode='[ABCDEGRST]' |
|
6662 |
fi
|
|
6663 |
;;
|
|
6664 |
irix* | nonstopux*) |
|
6665 |
symcode='[BCDEGRST]' |
|
6666 |
;;
|
|
6667 |
osf*)
|
|
6668 |
symcode='[BCDEGQRST]' |
|
6669 |
;;
|
|
6670 |
solaris*)
|
|
6671 |
symcode='[BDRT]' |
|
6672 |
;;
|
|
6673 |
sco3.2v5*)
|
|
6674 |
symcode='[DT]' |
|
6675 |
;;
|
|
6676 |
sysv4.2uw2*)
|
|
6677 |
symcode='[DT]' |
|
6678 |
;;
|
|
6679 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
6680 |
symcode='[ABDT]' |
|
6681 |
;;
|
|
6682 |
sysv4)
|
|
6683 |
symcode='[DFNSTU]' |
|
6684 |
;;
|
|
6685 |
esac
|
|
6686 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6687 |
# If we're using GNU nm, then use its standard symbol codes.
|
6688 |
case `$NM -V 2>&1` in |
|
6689 |
*GNU* | *'with BFD'*) |
|
6690 |
symcode='[ABCDGIRSTW]' ;; |
|
6691 |
esac
|
|
6692 |
||
6693 |
# Transform an extracted symbol line into a proper C declaration.
|
|
6694 |
# Some systems (esp. on ia64) link data and code symbols differently,
|
|
6695 |
# so use this general approach.
|
|
6696 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6697 |
||
6698 |
# Transform an extracted symbol line into symbol name and symbol address
|
|
6699 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
|
6700 |
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'" |
|
6701 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
6702 |
# Handle CRLF in mingw tool chain
|
6703 |
opt_cr= |
|
6704 |
case $build_os in |
|
6705 |
mingw*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6706 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6707 |
;;
|
6708 |
esac
|
|
6709 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6710 |
# Try without a prefix underscore, then with it.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6711 |
for ac_symprfx in "" "_"; do |
6712 |
||
6713 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
|
|
6714 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
6715 |
||
6716 |
# Write the raw and C identifiers.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6717 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6718 |
# Fake it for dumpbin and say T for any non-static function
|
|
6719 |
# and D for any global variable.
|
|
6720 |
# Also find C++ and __fastcall symbols from MSVC++,
|
|
6721 |
# which start with @ or ?.
|
|
6722 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
6723 |
" {last_section=section; section=\$ 3};"\ |
|
6724 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
|
6725 |
" \$ 0!~/External *\|/{next};"\ |
|
6726 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
6727 |
" {if(hide[section]) next};"\ |
|
6728 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
6729 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
6730 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
6731 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
6732 |
" ' prfx=^$ac_symprfx" |
|
6733 |
else
|
|
6734 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
6735 |
fi
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6736 |
|
6737 |
# Check to see that the pipe works correctly.
|
|
6738 |
pipe_works=no |
|
6739 |
||
6740 |
rm -f conftest* |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6741 |
cat > conftest.$ac_ext <<_LT_EOF |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6742 |
#ifdef __cplusplus
|
6743 |
extern "C" {
|
|
6744 |
#endif
|
|
6745 |
char nm_test_var;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6746 |
void nm_test_func(void);
|
6747 |
void nm_test_func(void){}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6748 |
#ifdef __cplusplus
|
6749 |
}
|
|
6750 |
#endif
|
|
6751 |
int main(){nm_test_var='a';nm_test_func();return(0);}
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6752 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6753 |
|
6754 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
6755 |
(eval $ac_compile) 2>&5 |
|
6756 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6757 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6758 |
(exit $ac_status); }; then |
6759 |
# Now try to grab the symbols.
|
|
6760 |
nlist=conftest.nm |
|
6761 |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
|
6762 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
|
6763 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6764 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6765 |
(exit $ac_status); } && test -s "$nlist"; then |
6766 |
# Try sorting and uniquifying the output.
|
|
6767 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
6768 |
mv -f "$nlist"T "$nlist" |
|
6769 |
else
|
|
6770 |
rm -f "$nlist"T |
|
6771 |
fi
|
|
6772 |
||
6773 |
# Make sure that we snagged all the symbols we need.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6774 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6775 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
6776 |
cat <<_LT_EOF > conftest.$ac_ext
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6777 |
#ifdef __cplusplus
|
6778 |
extern "C" {
|
|
6779 |
#endif
|
|
6780 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6781 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6782 |
# Now generate the symbol file.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6783 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
6784 |
||
6785 |
cat <<_LT_EOF >> conftest.$ac_ext
|
|
6786 |
||
6787 |
/* The mapping between symbol names and symbols. */
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6788 |
const struct {
|
6789 |
const char *name;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6790 |
void *address;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6791 |
}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6792 |
lt__PROGRAM__LTX_preloaded_symbols[] =
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6793 |
{
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6794 |
{ "@PROGRAM@", (void *) 0 },
|
6795 |
_LT_EOF
|
|
6796 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
6797 |
cat <<\_LT_EOF >> conftest.$ac_ext
|
|
6798 |
{0, (void *) 0}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6799 |
};
|
6800 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6801 |
/* This works around a problem in FreeBSD linker */
|
6802 |
#ifdef FREEBSD_WORKAROUND
|
|
6803 |
static const void *lt_preloaded_setup() {
|
|
6804 |
return lt__PROGRAM__LTX_preloaded_symbols;
|
|
6805 |
}
|
|
6806 |
#endif
|
|
6807 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
6808 |
#ifdef __cplusplus
|
6809 |
}
|
|
6810 |
#endif
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6811 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
6812 |
# Now try linking the two files.
|
6813 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
6814 |
lt_save_LIBS="$LIBS" |
|
6815 |
lt_save_CFLAGS="$CFLAGS" |
|
6816 |
LIBS="conftstm.$ac_objext" |
|
6817 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
6818 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
6819 |
(eval $ac_link) 2>&5 |
|
6820 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6821 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
6822 |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
6823 |
pipe_works=yes |
|
6824 |
fi
|
|
6825 |
LIBS="$lt_save_LIBS" |
|
6826 |
CFLAGS="$lt_save_CFLAGS" |
|
6827 |
else
|
|
6828 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
6829 |
fi
|
|
6830 |
else
|
|
6831 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
6832 |
fi
|
|
6833 |
else
|
|
6834 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
6835 |
fi
|
|
6836 |
else
|
|
6837 |
echo "$progname: failed program was:" >&5 |
|
6838 |
cat conftest.$ac_ext >&5 |
|
6839 |
fi
|
|
6840 |
rm -rf conftest* conftst* |
|
6841 |
||
6842 |
# Do not use the global_symbol_pipe unless it works.
|
|
6843 |
if test "$pipe_works" = yes; then |
|
6844 |
break
|
|
6845 |
else
|
|
6846 |
lt_cv_sys_global_symbol_pipe= |
|
6847 |
fi
|
|
6848 |
done
|
|
6849 |
||
6850 |
fi
|
|
6851 |
||
6852 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
6853 |
lt_cv_sys_global_symbol_to_cdecl= |
|
6854 |
fi
|
|
6855 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
6856 |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
6857 |
$as_echo "failed" >&6; } |
|
6858 |
else
|
|
6859 |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
|
6860 |
$as_echo "ok" >&6; } |
|
6861 |
fi
|
|
6862 |
||
6863 |
||
6864 |
||
6865 |
||
6866 |
||
6867 |
||
6868 |
||
6869 |
||
6870 |
||
6871 |
||
6872 |
||
6873 |
||
6874 |
||
6875 |
||
6876 |
||
6877 |
||
6878 |
||
6879 |
||
6880 |
||
6881 |
||
6882 |
||
6883 |
||
6884 |
# Check whether --enable-libtool-lock was given.
|
|
6885 |
if test "${enable_libtool_lock+set}" = set; then |
|
6886 |
enableval=$enable_libtool_lock; |
|
6887 |
fi
|
|
6888 |
||
6889 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
6890 |
||
6891 |
# Some flags need to be propagated to the compiler or linker for good
|
|
6892 |
# libtool support.
|
|
6893 |
case $host in |
|
6894 |
ia64-*-hpux*)
|
|
6895 |
# Find out which ABI we are using.
|
|
6896 |
echo 'int i;' > conftest.$ac_ext |
|
6897 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
6898 |
(eval $ac_compile) 2>&5 |
|
6899 |
ac_status=$? |
|
6900 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6901 |
(exit $ac_status); }; then |
|
6902 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6903 |
*ELF-32*)
|
|
6904 |
HPUX_IA64_MODE="32" |
|
6905 |
;;
|
|
6906 |
*ELF-64*)
|
|
6907 |
HPUX_IA64_MODE="64" |
|
6908 |
;;
|
|
6909 |
esac
|
|
6910 |
fi
|
|
6911 |
rm -rf conftest* |
|
6912 |
;;
|
|
6913 |
*-*-irix6*)
|
|
6914 |
# Find out which ABI we are using.
|
|
6915 |
echo '#line 6915 "configure"' > conftest.$ac_ext |
|
6916 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
6917 |
(eval $ac_compile) 2>&5 |
|
6918 |
ac_status=$? |
|
6919 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6920 |
(exit $ac_status); }; then |
|
6921 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
6922 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6923 |
*32-bit*)
|
|
6924 |
LD="${LD-ld} -melf32bsmip" |
|
6925 |
;;
|
|
6926 |
*N32*)
|
|
6927 |
LD="${LD-ld} -melf32bmipn32" |
|
6928 |
;;
|
|
6929 |
*64-bit*)
|
|
6930 |
LD="${LD-ld} -melf64bmip" |
|
6931 |
;;
|
|
6932 |
esac
|
|
6933 |
else
|
|
6934 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6935 |
*32-bit*)
|
|
6936 |
LD="${LD-ld} -32" |
|
6937 |
;;
|
|
6938 |
*N32*)
|
|
6939 |
LD="${LD-ld} -n32" |
|
6940 |
;;
|
|
6941 |
*64-bit*)
|
|
6942 |
LD="${LD-ld} -64" |
|
6943 |
;;
|
|
6944 |
esac
|
|
6945 |
fi
|
|
6946 |
fi
|
|
6947 |
rm -rf conftest* |
|
6948 |
;;
|
|
6949 |
||
6950 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
6951 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
6952 |
# Find out which ABI we are using.
|
|
6953 |
echo 'int i;' > conftest.$ac_ext |
|
6954 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
6955 |
(eval $ac_compile) 2>&5 |
|
6956 |
ac_status=$? |
|
6957 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6958 |
(exit $ac_status); }; then |
|
6959 |
case `/usr/bin/file conftest.o` in |
|
6960 |
*32-bit*)
|
|
6961 |
case $host in |
|
6962 |
x86_64-*kfreebsd*-gnu)
|
|
6963 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
6964 |
;;
|
|
6965 |
x86_64-*linux*)
|
|
6966 |
LD="${LD-ld} -m elf_i386" |
|
6967 |
;;
|
|
6968 |
ppc64-*linux*|powerpc64-*linux*) |
|
6969 |
LD="${LD-ld} -m elf32ppclinux" |
|
6970 |
;;
|
|
6971 |
s390x-*linux*)
|
|
6972 |
LD="${LD-ld} -m elf_s390" |
|
6973 |
;;
|
|
6974 |
sparc64-*linux*)
|
|
6975 |
LD="${LD-ld} -m elf32_sparc" |
|
6976 |
;;
|
|
6977 |
esac
|
|
6978 |
;;
|
|
6979 |
*64-bit*)
|
|
6980 |
case $host in |
|
6981 |
x86_64-*kfreebsd*-gnu)
|
|
6982 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
6983 |
;;
|
|
6984 |
x86_64-*linux*)
|
|
6985 |
LD="${LD-ld} -m elf_x86_64" |
|
6986 |
;;
|
|
6987 |
ppc*-*linux*|powerpc*-*linux*) |
|
6988 |
LD="${LD-ld} -m elf64ppc" |
|
6989 |
;;
|
|
6990 |
s390*-*linux*|s390*-*tpf*) |
|
6991 |
LD="${LD-ld} -m elf64_s390" |
|
6992 |
;;
|
|
6993 |
sparc*-*linux*)
|
|
6994 |
LD="${LD-ld} -m elf64_sparc" |
|
6995 |
;;
|
|
6996 |
esac
|
|
6997 |
;;
|
|
6998 |
esac
|
|
6999 |
fi
|
|
7000 |
rm -rf conftest* |
|
7001 |
;;
|
|
7002 |
||
7003 |
*-*-sco3.2v5*)
|
|
7004 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
|
7005 |
SAVE_CFLAGS="$CFLAGS" |
|
7006 |
CFLAGS="$CFLAGS -belf" |
|
7007 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
|
7008 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
7009 |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
|
7010 |
$as_echo_n "(cached) " >&6 |
|
7011 |
else
|
|
7012 |
ac_ext=c |
|
7013 |
ac_cpp='$CPP $CPPFLAGS' |
|
7014 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7015 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7016 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7017 |
||
7018 |
cat >conftest.$ac_ext <<_ACEOF |
|
7019 |
/* confdefs.h. */
|
|
7020 |
_ACEOF
|
|
7021 |
cat confdefs.h >>conftest.$ac_ext
|
|
7022 |
cat >>conftest.$ac_ext <<_ACEOF |
|
7023 |
/* end confdefs.h. */
|
|
7024 |
||
7025 |
int
|
|
7026 |
main ()
|
|
7027 |
{
|
|
7028 |
||
7029 |
;
|
|
7030 |
return 0;
|
|
7031 |
}
|
|
7032 |
_ACEOF
|
|
7033 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
7034 |
if { (ac_try="$ac_link" |
|
7035 |
case "(($ac_try" in |
|
7036 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
7037 |
*) ac_try_echo=$ac_try;; |
|
7038 |
esac
|
|
7039 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
7040 |
$as_echo "$ac_try_echo") >&5 |
|
7041 |
(eval "$ac_link") 2>conftest.er1 |
|
7042 |
ac_status=$? |
|
7043 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7044 |
rm -f conftest.er1 |
|
7045 |
cat conftest.err >&5 |
|
7046 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7047 |
(exit $ac_status); } && { |
|
7048 |
test -z "$ac_c_werror_flag" || |
|
7049 |
test ! -s conftest.err
|
|
7050 |
} && test -s conftest$ac_exeext && { |
|
7051 |
test "$cross_compiling" = yes || |
|
7052 |
$as_test_x conftest$ac_exeext |
|
7053 |
}; then |
|
7054 |
lt_cv_cc_needs_belf=yes |
|
7055 |
else
|
|
7056 |
$as_echo "$as_me: failed program was:" >&5 |
|
7057 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
7058 |
||
7059 |
lt_cv_cc_needs_belf=no |
|
7060 |
fi
|
|
7061 |
||
7062 |
rm -rf conftest.dSYM |
|
7063 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
7064 |
conftest$ac_exeext conftest.$ac_ext |
|
7065 |
ac_ext=c |
|
7066 |
ac_cpp='$CPP $CPPFLAGS' |
|
7067 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7068 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7069 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7070 |
||
7071 |
fi
|
|
7072 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
|
7073 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
7074 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
7075 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
|
7076 |
CFLAGS="$SAVE_CFLAGS" |
|
7077 |
fi
|
|
7078 |
;;
|
|
7079 |
sparc*-*solaris*)
|
|
7080 |
# Find out which ABI we are using.
|
|
7081 |
echo 'int i;' > conftest.$ac_ext |
|
7082 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
7083 |
(eval $ac_compile) 2>&5 |
|
7084 |
ac_status=$? |
|
7085 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7086 |
(exit $ac_status); }; then |
|
7087 |
case `/usr/bin/file conftest.o` in |
|
7088 |
*64-bit*)
|
|
7089 |
case $lt_cv_prog_gnu_ld in |
|
7090 |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
7091 |
*)
|
|
7092 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
7093 |
LD="${LD-ld} -64" |
|
7094 |
fi
|
|
7095 |
;;
|
|
7096 |
esac
|
|
7097 |
;;
|
|
7098 |
esac
|
|
7099 |
fi
|
|
7100 |
rm -rf conftest* |
|
7101 |
;;
|
|
7102 |
esac
|
|
7103 |
||
7104 |
need_locks="$enable_libtool_lock" |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7105 |
|
7106 |
||
7107 |
case $host_os in |
|
7108 |
rhapsody* | darwin*) |
|
7109 |
if test -n "$ac_tool_prefix"; then |
|
7110 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
|
7111 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7112 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7113 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7114 |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7115 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7116 |
else
|
7117 |
if test -n "$DSYMUTIL"; then |
|
7118 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
7119 |
else
|
|
7120 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7121 |
for as_dir in $PATH |
|
7122 |
do
|
|
7123 |
IFS=$as_save_IFS |
|
7124 |
test -z "$as_dir" && as_dir=. |
|
7125 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7126 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7127 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7128 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7129 |
break 2 |
7130 |
fi
|
|
7131 |
done
|
|
7132 |
done
|
|
7133 |
IFS=$as_save_IFS |
|
7134 |
||
7135 |
fi
|
|
7136 |
fi
|
|
7137 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
7138 |
if test -n "$DSYMUTIL"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7139 |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
7140 |
$as_echo "$DSYMUTIL" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7141 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7142 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7143 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7144 |
fi
|
7145 |
||
7146 |
||
7147 |
fi
|
|
7148 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
7149 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
7150 |
# Extract the first word of "dsymutil", so it can be a program name with args.
|
|
7151 |
set dummy dsymutil; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7152 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7153 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7154 |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7155 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7156 |
else
|
7157 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
7158 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
7159 |
else
|
|
7160 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7161 |
for as_dir in $PATH |
|
7162 |
do
|
|
7163 |
IFS=$as_save_IFS |
|
7164 |
test -z "$as_dir" && as_dir=. |
|
7165 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7166 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7167 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7168 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7169 |
break 2 |
7170 |
fi
|
|
7171 |
done
|
|
7172 |
done
|
|
7173 |
IFS=$as_save_IFS |
|
7174 |
||
7175 |
fi
|
|
7176 |
fi
|
|
7177 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
7178 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7179 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
7180 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7181 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7182 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7183 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7184 |
fi
|
7185 |
||
7186 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
7187 |
DSYMUTIL=":" |
|
7188 |
else
|
|
7189 |
case $cross_compiling:$ac_tool_warned in |
|
7190 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7191 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
7192 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7193 |
ac_tool_warned=yes ;; |
7194 |
esac
|
|
7195 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
7196 |
fi
|
|
7197 |
else
|
|
7198 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
7199 |
fi
|
|
7200 |
||
7201 |
if test -n "$ac_tool_prefix"; then |
|
7202 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
|
7203 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7204 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7205 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7206 |
if test "${ac_cv_prog_NMEDIT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7207 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7208 |
else
|
7209 |
if test -n "$NMEDIT"; then |
|
7210 |
ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7220 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7221 |
break 2 |
7222 |
fi
|
|
7223 |
done
|
|
7224 |
done
|
|
7225 |
IFS=$as_save_IFS |
|
7226 |
||
7227 |
fi
|
|
7228 |
fi
|
|
7229 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
7230 |
if test -n "$NMEDIT"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7231 |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
7232 |
$as_echo "$NMEDIT" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7233 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7234 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7235 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7236 |
fi
|
7237 |
||
7238 |
||
7239 |
fi
|
|
7240 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
7241 |
ac_ct_NMEDIT=$NMEDIT |
|
7242 |
# Extract the first word of "nmedit", so it can be a program name with args.
|
|
7243 |
set dummy nmedit; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7244 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7245 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7246 |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7247 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7248 |
else
|
7249 |
if test -n "$ac_ct_NMEDIT"; then |
|
7250 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_NMEDIT="nmedit" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7260 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7261 |
break 2 |
7262 |
fi
|
|
7263 |
done
|
|
7264 |
done
|
|
7265 |
IFS=$as_save_IFS |
|
7266 |
||
7267 |
fi
|
|
7268 |
fi
|
|
7269 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
7270 |
if test -n "$ac_ct_NMEDIT"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7271 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
7272 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7273 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7274 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7275 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7276 |
fi
|
7277 |
||
7278 |
if test "x$ac_ct_NMEDIT" = x; then |
|
7279 |
NMEDIT=":" |
|
7280 |
else
|
|
7281 |
case $cross_compiling:$ac_tool_warned in |
|
7282 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
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;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7285 |
ac_tool_warned=yes ;; |
7286 |
esac
|
|
7287 |
NMEDIT=$ac_ct_NMEDIT |
|
7288 |
fi
|
|
7289 |
else
|
|
7290 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
7291 |
fi
|
|
7292 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7293 |
if test -n "$ac_tool_prefix"; then |
7294 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
|
7295 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
7296 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7297 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7298 |
if test "${ac_cv_prog_LIPO+set}" = set; then |
|
7299 |
$as_echo_n "(cached) " >&6 |
|
7300 |
else
|
|
7301 |
if test -n "$LIPO"; then |
|
7302 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
7303 |
else
|
|
7304 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7305 |
for as_dir in $PATH |
|
7306 |
do
|
|
7307 |
IFS=$as_save_IFS |
|
7308 |
test -z "$as_dir" && as_dir=. |
|
7309 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7310 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7311 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
7312 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7313 |
break 2 |
|
7314 |
fi
|
|
7315 |
done
|
|
7316 |
done
|
|
7317 |
IFS=$as_save_IFS |
|
7318 |
||
7319 |
fi
|
|
7320 |
fi
|
|
7321 |
LIPO=$ac_cv_prog_LIPO |
|
7322 |
if test -n "$LIPO"; then |
|
7323 |
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5 |
|
7324 |
$as_echo "$LIPO" >&6; } |
|
7325 |
else
|
|
7326 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7327 |
$as_echo "no" >&6; } |
|
7328 |
fi
|
|
7329 |
||
7330 |
||
7331 |
fi
|
|
7332 |
if test -z "$ac_cv_prog_LIPO"; then |
|
7333 |
ac_ct_LIPO=$LIPO |
|
7334 |
# Extract the first word of "lipo", so it can be a program name with args.
|
|
7335 |
set dummy lipo; ac_word=$2 |
|
7336 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7337 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7338 |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then |
|
7339 |
$as_echo_n "(cached) " >&6 |
|
7340 |
else
|
|
7341 |
if test -n "$ac_ct_LIPO"; then |
|
7342 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
7343 |
else
|
|
7344 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7345 |
for as_dir in $PATH |
|
7346 |
do
|
|
7347 |
IFS=$as_save_IFS |
|
7348 |
test -z "$as_dir" && as_dir=. |
|
7349 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7350 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7351 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
7352 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7353 |
break 2 |
|
7354 |
fi
|
|
7355 |
done
|
|
7356 |
done
|
|
7357 |
IFS=$as_save_IFS |
|
7358 |
||
7359 |
fi
|
|
7360 |
fi
|
|
7361 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
7362 |
if test -n "$ac_ct_LIPO"; then |
|
7363 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 |
|
7364 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
7365 |
else
|
|
7366 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7367 |
$as_echo "no" >&6; } |
|
7368 |
fi
|
|
7369 |
||
7370 |
if test "x$ac_ct_LIPO" = x; then |
|
7371 |
LIPO=":" |
|
7372 |
else
|
|
7373 |
case $cross_compiling:$ac_tool_warned in |
|
7374 |
yes:)
|
|
7375 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7376 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7377 |
ac_tool_warned=yes ;; |
|
7378 |
esac
|
|
7379 |
LIPO=$ac_ct_LIPO |
|
7380 |
fi
|
|
7381 |
else
|
|
7382 |
LIPO="$ac_cv_prog_LIPO" |
|
7383 |
fi
|
|
7384 |
||
7385 |
if test -n "$ac_tool_prefix"; then |
|
7386 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
|
7387 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
7388 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7389 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7390 |
if test "${ac_cv_prog_OTOOL+set}" = set; then |
|
7391 |
$as_echo_n "(cached) " >&6 |
|
7392 |
else
|
|
7393 |
if test -n "$OTOOL"; then |
|
7394 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
7395 |
else
|
|
7396 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7397 |
for as_dir in $PATH |
|
7398 |
do
|
|
7399 |
IFS=$as_save_IFS |
|
7400 |
test -z "$as_dir" && as_dir=. |
|
7401 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7402 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7403 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
7404 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7405 |
break 2 |
|
7406 |
fi
|
|
7407 |
done
|
|
7408 |
done
|
|
7409 |
IFS=$as_save_IFS |
|
7410 |
||
7411 |
fi
|
|
7412 |
fi
|
|
7413 |
OTOOL=$ac_cv_prog_OTOOL |
|
7414 |
if test -n "$OTOOL"; then |
|
7415 |
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 |
|
7416 |
$as_echo "$OTOOL" >&6; } |
|
7417 |
else
|
|
7418 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7419 |
$as_echo "no" >&6; } |
|
7420 |
fi
|
|
7421 |
||
7422 |
||
7423 |
fi
|
|
7424 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
7425 |
ac_ct_OTOOL=$OTOOL |
|
7426 |
# Extract the first word of "otool", so it can be a program name with args.
|
|
7427 |
set dummy otool; ac_word=$2 |
|
7428 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7429 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7430 |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then |
|
7431 |
$as_echo_n "(cached) " >&6 |
|
7432 |
else
|
|
7433 |
if test -n "$ac_ct_OTOOL"; then |
|
7434 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
7435 |
else
|
|
7436 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7437 |
for as_dir in $PATH |
|
7438 |
do
|
|
7439 |
IFS=$as_save_IFS |
|
7440 |
test -z "$as_dir" && as_dir=. |
|
7441 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7442 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7443 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
7444 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7445 |
break 2 |
|
7446 |
fi
|
|
7447 |
done
|
|
7448 |
done
|
|
7449 |
IFS=$as_save_IFS |
|
7450 |
||
7451 |
fi
|
|
7452 |
fi
|
|
7453 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
7454 |
if test -n "$ac_ct_OTOOL"; then |
|
7455 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 |
|
7456 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
7457 |
else
|
|
7458 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7459 |
$as_echo "no" >&6; } |
|
7460 |
fi
|
|
7461 |
||
7462 |
if test "x$ac_ct_OTOOL" = x; then |
|
7463 |
OTOOL=":" |
|
7464 |
else
|
|
7465 |
case $cross_compiling:$ac_tool_warned in |
|
7466 |
yes:)
|
|
7467 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7468 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7469 |
ac_tool_warned=yes ;; |
|
7470 |
esac
|
|
7471 |
OTOOL=$ac_ct_OTOOL |
|
7472 |
fi
|
|
7473 |
else
|
|
7474 |
OTOOL="$ac_cv_prog_OTOOL" |
|
7475 |
fi
|
|
7476 |
||
7477 |
if test -n "$ac_tool_prefix"; then |
|
7478 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
|
7479 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
7480 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7481 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7482 |
if test "${ac_cv_prog_OTOOL64+set}" = set; then |
|
7483 |
$as_echo_n "(cached) " >&6 |
|
7484 |
else
|
|
7485 |
if test -n "$OTOOL64"; then |
|
7486 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
7487 |
else
|
|
7488 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7489 |
for as_dir in $PATH |
|
7490 |
do
|
|
7491 |
IFS=$as_save_IFS |
|
7492 |
test -z "$as_dir" && as_dir=. |
|
7493 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7494 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7495 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
7496 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7497 |
break 2 |
|
7498 |
fi
|
|
7499 |
done
|
|
7500 |
done
|
|
7501 |
IFS=$as_save_IFS |
|
7502 |
||
7503 |
fi
|
|
7504 |
fi
|
|
7505 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
7506 |
if test -n "$OTOOL64"; then |
|
7507 |
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 |
|
7508 |
$as_echo "$OTOOL64" >&6; } |
|
7509 |
else
|
|
7510 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7511 |
$as_echo "no" >&6; } |
|
7512 |
fi
|
|
7513 |
||
7514 |
||
7515 |
fi
|
|
7516 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
7517 |
ac_ct_OTOOL64=$OTOOL64 |
|
7518 |
# Extract the first word of "otool64", so it can be a program name with args.
|
|
7519 |
set dummy otool64; ac_word=$2 |
|
7520 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
7521 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7522 |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then |
|
7523 |
$as_echo_n "(cached) " >&6 |
|
7524 |
else
|
|
7525 |
if test -n "$ac_ct_OTOOL64"; then |
|
7526 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
7527 |
else
|
|
7528 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7529 |
for as_dir in $PATH |
|
7530 |
do
|
|
7531 |
IFS=$as_save_IFS |
|
7532 |
test -z "$as_dir" && as_dir=. |
|
7533 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7534 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
7535 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
7536 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7537 |
break 2 |
|
7538 |
fi
|
|
7539 |
done
|
|
7540 |
done
|
|
7541 |
IFS=$as_save_IFS |
|
7542 |
||
7543 |
fi
|
|
7544 |
fi
|
|
7545 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
7546 |
if test -n "$ac_ct_OTOOL64"; then |
|
7547 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 |
|
7548 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
7549 |
else
|
|
7550 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
7551 |
$as_echo "no" >&6; } |
|
7552 |
fi
|
|
7553 |
||
7554 |
if test "x$ac_ct_OTOOL64" = x; then |
|
7555 |
OTOOL64=":" |
|
7556 |
else
|
|
7557 |
case $cross_compiling:$ac_tool_warned in |
|
7558 |
yes:)
|
|
7559 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7560 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7561 |
ac_tool_warned=yes ;; |
|
7562 |
esac
|
|
7563 |
OTOOL64=$ac_ct_OTOOL64 |
|
7564 |
fi
|
|
7565 |
else
|
|
7566 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
7567 |
fi
|
|
7568 |
||
7569 |
||
7570 |
||
7571 |
||
7572 |
||
7573 |
||
7574 |
||
7575 |
||
7576 |
||
7577 |
||
7578 |
||
7579 |
||
7580 |
||
7581 |
||
7582 |
||
7583 |
||
7584 |
||
7585 |
||
7586 |
||
7587 |
||
7588 |
||
7589 |
||
7590 |
||
7591 |
||
7592 |
||
7593 |
||
7594 |
||
7595 |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
|
7596 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7597 |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7598 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7599 |
else
|
7600 |
lt_cv_apple_cc_single_mod=no |
|
7601 |
if test -z "${LT_MULTI_MODULE}"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7602 |
# By default we will add the -single_module flag. You can override
|
7603 |
# by either setting the environment variable LT_MULTI_MODULE
|
|
7604 |
# non-empty at configure time, or by adding -multi_module to the
|
|
7605 |
# link flags.
|
|
7606 |
rm -rf libconftest.dylib* |
|
7607 |
echo "int foo(void){return 1;}" > conftest.c |
|
7608 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7609 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
7610 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7611 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
|
7612 |
_lt_result=$? |
|
7613 |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
|
7614 |
lt_cv_apple_cc_single_mod=yes |
|
7615 |
else
|
|
7616 |
cat conftest.err >&5 |
|
7617 |
fi
|
|
7618 |
rm -rf libconftest.dylib* |
|
7619 |
rm -f conftest.* |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7620 |
fi
|
7621 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7622 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
7623 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
7624 |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
|
7625 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7626 |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7627 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7628 |
else
|
7629 |
lt_cv_ld_exported_symbols_list=no |
|
7630 |
save_LDFLAGS=$LDFLAGS |
|
7631 |
echo "_main" > conftest.sym |
|
7632 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
7633 |
cat >conftest.$ac_ext <<_ACEOF |
|
7634 |
/* confdefs.h. */
|
|
7635 |
_ACEOF
|
|
7636 |
cat confdefs.h >>conftest.$ac_ext
|
|
7637 |
cat >>conftest.$ac_ext <<_ACEOF |
|
7638 |
/* end confdefs.h. */
|
|
7639 |
||
7640 |
int
|
|
7641 |
main ()
|
|
7642 |
{
|
|
7643 |
||
7644 |
;
|
|
7645 |
return 0;
|
|
7646 |
}
|
|
7647 |
_ACEOF
|
|
7648 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
7649 |
if { (ac_try="$ac_link" |
|
7650 |
case "(($ac_try" in |
|
7651 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
7652 |
*) ac_try_echo=$ac_try;; |
|
7653 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7654 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7655 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7656 |
(eval "$ac_link") 2>conftest.er1 |
7657 |
ac_status=$? |
|
7658 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7659 |
rm -f conftest.er1 |
|
7660 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7661 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7662 |
(exit $ac_status); } && { |
7663 |
test -z "$ac_c_werror_flag" || |
|
7664 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7665 |
} && test -s conftest$ac_exeext && { |
7666 |
test "$cross_compiling" = yes || |
|
7667 |
$as_test_x conftest$ac_exeext |
|
7668 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7669 |
lt_cv_ld_exported_symbols_list=yes |
7670 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7671 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7672 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7673 |
||
7674 |
lt_cv_ld_exported_symbols_list=no |
|
7675 |
fi
|
|
7676 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7677 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7678 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7679 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7680 |
LDFLAGS="$save_LDFLAGS" |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7681 |
|
7682 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7683 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
7684 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7685 |
case $host_os in |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7686 |
rhapsody* | darwin1.[012]) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7687 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
7688 |
darwin1.*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7689 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
7690 |
darwin*) # darwin 5.x on |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7691 |
# if running on 10.5 or later, the deployment target defaults
|
7692 |
# to the OS version, if on x86, and 10.4, the deployment
|
|
7693 |
# target defaults to 10.4. Don't you love it?
|
|
7694 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7695 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
7696 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
7697 |
10.[012]*) |
|
7698 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
7699 |
10.*) |
|
7700 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7701 |
esac
|
7702 |
;;
|
|
7703 |
esac
|
|
7704 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
7705 |
_lt_dar_single_mod='$single_module' |
|
7706 |
fi
|
|
7707 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
7708 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
7709 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7710 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7711 |
fi
|
7712 |
if test "$DSYMUTIL" != ":"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7713 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
7714 |
else
|
7715 |
_lt_dsymutil= |
|
7716 |
fi
|
|
7717 |
;;
|
|
7718 |
esac
|
|
7719 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7720 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
7721 |
||
7722 |
||
7723 |
||
7724 |
||
7725 |
||
7726 |
||
7727 |
||
7728 |
||
7729 |
||
7730 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
7731 |
inttypes.h stdint.h unistd.h |
|
7732 |
do
|
|
7733 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7734 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
7735 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
7736 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
7737 |
$as_echo_n "(cached) " >&6 |
|
7738 |
else
|
|
7739 |
cat >conftest.$ac_ext <<_ACEOF |
|
7740 |
/* confdefs.h. */
|
|
7741 |
_ACEOF
|
|
7742 |
cat confdefs.h >>conftest.$ac_ext
|
|
7743 |
cat >>conftest.$ac_ext <<_ACEOF |
|
7744 |
/* end confdefs.h. */
|
|
7745 |
$ac_includes_default
|
|
7746 |
||
7747 |
#include <$ac_header>
|
|
7748 |
_ACEOF
|
|
7749 |
rm -f conftest.$ac_objext
|
|
7750 |
if { (ac_try="$ac_compile" |
|
7751 |
case "(($ac_try" in |
|
7752 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
7753 |
*) ac_try_echo=$ac_try;; |
|
7754 |
esac
|
|
7755 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
7756 |
$as_echo "$ac_try_echo") >&5 |
|
7757 |
(eval "$ac_compile") 2>conftest.er1 |
|
7758 |
ac_status=$? |
|
7759 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7760 |
rm -f conftest.er1 |
|
7761 |
cat conftest.err >&5 |
|
7762 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7763 |
(exit $ac_status); } && { |
|
7764 |
test -z "$ac_c_werror_flag" || |
|
7765 |
test ! -s conftest.err
|
|
7766 |
} && test -s conftest.$ac_objext; then |
|
7767 |
eval "$as_ac_Header=yes" |
|
7768 |
else
|
|
7769 |
$as_echo "$as_me: failed program was:" >&5 |
|
7770 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
7771 |
||
7772 |
eval "$as_ac_Header=no" |
|
7773 |
fi
|
|
7774 |
||
7775 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7776 |
fi
|
|
7777 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
7778 |
$as_echo "$as_val"'` |
|
7779 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
7780 |
$as_echo "$ac_res" >&6; } |
|
7781 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
7782 |
$as_echo "$as_val"'` |
|
7783 |
if test "x$as_val" = x""yes; then |
|
7784 |
cat >>confdefs.h <<_ACEOF
|
|
7785 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
7786 |
_ACEOF
|
|
7787 |
||
7788 |
fi
|
|
7789 |
||
7790 |
done
|
|
7791 |
||
7792 |
||
7793 |
||
7794 |
for ac_header in dlfcn.h
|
|
7795 |
do
|
|
7796 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7797 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
7798 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
7799 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
7800 |
$as_echo_n "(cached) " >&6 |
|
7801 |
else
|
|
7802 |
cat >conftest.$ac_ext <<_ACEOF |
|
7803 |
/* confdefs.h. */
|
|
7804 |
_ACEOF
|
|
7805 |
cat confdefs.h >>conftest.$ac_ext
|
|
7806 |
cat >>conftest.$ac_ext <<_ACEOF |
|
7807 |
/* end confdefs.h. */
|
|
7808 |
$ac_includes_default
|
|
7809 |
||
7810 |
#include <$ac_header>
|
|
7811 |
_ACEOF
|
|
7812 |
rm -f conftest.$ac_objext
|
|
7813 |
if { (ac_try="$ac_compile" |
|
7814 |
case "(($ac_try" in |
|
7815 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
7816 |
*) ac_try_echo=$ac_try;; |
|
7817 |
esac
|
|
7818 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
7819 |
$as_echo "$ac_try_echo") >&5 |
|
7820 |
(eval "$ac_compile") 2>conftest.er1 |
|
7821 |
ac_status=$? |
|
7822 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7823 |
rm -f conftest.er1 |
|
7824 |
cat conftest.err >&5 |
|
7825 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7826 |
(exit $ac_status); } && { |
|
7827 |
test -z "$ac_c_werror_flag" || |
|
7828 |
test ! -s conftest.err
|
|
7829 |
} && test -s conftest.$ac_objext; then |
|
7830 |
eval "$as_ac_Header=yes" |
|
7831 |
else
|
|
7832 |
$as_echo "$as_me: failed program was:" >&5 |
|
7833 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
7834 |
||
7835 |
eval "$as_ac_Header=no" |
|
7836 |
fi
|
|
7837 |
||
7838 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7839 |
fi
|
|
7840 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
7841 |
$as_echo "$as_val"'` |
|
7842 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
7843 |
$as_echo "$ac_res" >&6; } |
|
7844 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
7845 |
$as_echo "$as_val"'` |
|
7846 |
if test "x$as_val" = x""yes; then |
|
7847 |
cat >>confdefs.h <<_ACEOF
|
|
7848 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
7849 |
_ACEOF
|
|
7850 |
||
7851 |
fi
|
|
7852 |
||
7853 |
done
|
|
7854 |
||
7855 |
||
7856 |
||
7857 |
# Set options
|
|
7858 |
||
7859 |
||
7860 |
||
7861 |
enable_dlopen=no |
|
7862 |
||
7863 |
||
7864 |
enable_win32_dll=no |
|
7865 |
||
7866 |
||
7867 |
# Check whether --enable-shared was given.
|
|
7868 |
if test "${enable_shared+set}" = set; then |
|
7869 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
7870 |
case $enableval in |
|
7871 |
yes) enable_shared=yes ;; |
|
7872 |
no) enable_shared=no ;; |
|
7873 |
*)
|
|
7874 |
enable_shared=no |
|
7875 |
# Look at the argument we got. We use all the common list separators.
|
|
7876 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7877 |
for pkg in $enableval; do |
|
7878 |
IFS="$lt_save_ifs" |
|
7879 |
if test "X$pkg" = "X$p"; then |
|
7880 |
enable_shared=yes |
|
7881 |
fi
|
|
7882 |
done
|
|
7883 |
IFS="$lt_save_ifs" |
|
7884 |
;;
|
|
7885 |
esac
|
|
7886 |
else
|
|
7887 |
enable_shared=yes |
|
7888 |
fi
|
|
7889 |
||
7890 |
||
7891 |
||
7892 |
||
7893 |
||
7894 |
||
7895 |
||
7896 |
||
7897 |
||
7898 |
# Check whether --enable-static was given.
|
|
7899 |
if test "${enable_static+set}" = set; then |
|
7900 |
enableval=$enable_static; p=${PACKAGE-default} |
|
7901 |
case $enableval in |
|
7902 |
yes) enable_static=yes ;; |
|
7903 |
no) enable_static=no ;; |
|
7904 |
*)
|
|
7905 |
enable_static=no |
|
7906 |
# Look at the argument we got. We use all the common list separators.
|
|
7907 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7908 |
for pkg in $enableval; do |
|
7909 |
IFS="$lt_save_ifs" |
|
7910 |
if test "X$pkg" = "X$p"; then |
|
7911 |
enable_static=yes |
|
7912 |
fi
|
|
7913 |
done
|
|
7914 |
IFS="$lt_save_ifs" |
|
7915 |
;;
|
|
7916 |
esac
|
|
7917 |
else
|
|
7918 |
enable_static=yes |
|
7919 |
fi
|
|
7920 |
||
7921 |
||
7922 |
||
7923 |
||
7924 |
||
7925 |
||
7926 |
||
7927 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
7928 |
|
7929 |
||
7930 |
# Check whether --with-pic was given.
|
|
7931 |
if test "${with_pic+set}" = set; then |
|
7932 |
withval=$with_pic; pic_mode="$withval" |
|
7933 |
else
|
|
7934 |
pic_mode=default |
|
7935 |
fi
|
|
7936 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7937 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
7938 |
test -z "$pic_mode" && pic_mode=default |
7939 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
7940 |
|
7941 |
||
7942 |
||
7943 |
||
7944 |
||
7945 |
||
7946 |
# Check whether --enable-fast-install was given.
|
|
7947 |
if test "${enable_fast_install+set}" = set; then |
|
7948 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
7949 |
case $enableval in |
|
7950 |
yes) enable_fast_install=yes ;; |
|
7951 |
no) enable_fast_install=no ;; |
|
7952 |
*)
|
|
7953 |
enable_fast_install=no |
|
7954 |
# Look at the argument we got. We use all the common list separators.
|
|
7955 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7956 |
for pkg in $enableval; do |
|
7957 |
IFS="$lt_save_ifs" |
|
7958 |
if test "X$pkg" = "X$p"; then |
|
7959 |
enable_fast_install=yes |
|
7960 |
fi
|
|
7961 |
done
|
|
7962 |
IFS="$lt_save_ifs" |
|
7963 |
;;
|
|
7964 |
esac
|
|
7965 |
else
|
|
7966 |
enable_fast_install=yes |
|
7967 |
fi
|
|
7968 |
||
7969 |
||
7970 |
||
7971 |
||
7972 |
||
7973 |
||
7974 |
||
7975 |
||
7976 |
||
7977 |
||
7978 |
||
7979 |
# This can be used to rebuild libtool when needed
|
|
7980 |
LIBTOOL_DEPS="$ltmain" |
|
7981 |
||
7982 |
# Always use our own libtool.
|
|
7983 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
7984 |
||
7985 |
||
7986 |
||
7987 |
||
7988 |
||
7989 |
||
7990 |
||
7991 |
||
7992 |
||
7993 |
||
7994 |
||
7995 |
||
7996 |
||
7997 |
||
7998 |
||
7999 |
||
8000 |
||
8001 |
||
8002 |
||
8003 |
||
8004 |
||
8005 |
||
8006 |
||
8007 |
||
8008 |
||
8009 |
test -z "$LN_S" && LN_S="ln -s" |
|
8010 |
||
8011 |
||
8012 |
||
8013 |
||
8014 |
||
8015 |
||
8016 |
||
8017 |
||
8018 |
||
8019 |
||
8020 |
||
8021 |
||
8022 |
||
8023 |
||
8024 |
if test -n "${ZSH_VERSION+set}" ; then |
|
8025 |
setopt NO_GLOB_SUBST |
|
8026 |
fi
|
|
8027 |
||
8028 |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 |
|
8029 |
$as_echo_n "checking for objdir... " >&6; } |
|
8030 |
if test "${lt_cv_objdir+set}" = set; then |
|
8031 |
$as_echo_n "(cached) " >&6 |
|
8032 |
else
|
|
8033 |
rm -f .libs 2>/dev/null
|
|
8034 |
mkdir .libs 2>/dev/null
|
|
8035 |
if test -d .libs; then |
|
8036 |
lt_cv_objdir=.libs |
|
8037 |
else
|
|
8038 |
# MS-DOS does not allow filenames that begin with a dot.
|
|
8039 |
lt_cv_objdir=_libs |
|
8040 |
fi
|
|
8041 |
rmdir .libs 2>/dev/null
|
|
8042 |
fi
|
|
8043 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
|
8044 |
$as_echo "$lt_cv_objdir" >&6; } |
|
8045 |
objdir=$lt_cv_objdir |
|
8046 |
||
8047 |
||
8048 |
||
8049 |
||
8050 |
||
8051 |
cat >>confdefs.h <<_ACEOF
|
|
8052 |
#define LT_OBJDIR "$lt_cv_objdir/"
|
|
8053 |
_ACEOF
|
|
8054 |
||
8055 |
||
8056 |
||
8057 |
||
8058 |
||
8059 |
||
8060 |
||
8061 |
||
8062 |
||
8063 |
||
8064 |
||
8065 |
||
8066 |
||
8067 |
||
8068 |
||
8069 |
||
8070 |
||
8071 |
case $host_os in |
|
8072 |
aix3*)
|
|
8073 |
# AIX sometimes has problems with the GCC collect2 program. For some
|
|
8074 |
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
|
8075 |
# vanish in a puff of smoke.
|
|
8076 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
8077 |
COLLECT_NAMES= |
|
8078 |
export COLLECT_NAMES
|
|
8079 |
fi
|
|
8080 |
;;
|
|
8081 |
esac
|
|
8082 |
||
8083 |
# Sed substitution that helps us do robust quoting. It backslashifies
|
|
8084 |
# metacharacters that are still active within double-quoted strings.
|
|
8085 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
8086 |
||
8087 |
# Same as above, but do not quote variable references.
|
|
8088 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
8089 |
||
8090 |
# Sed substitution to delay expansion of an escaped shell variable in a
|
|
8091 |
# double_quote_subst'ed string.
|
|
8092 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
8093 |
||
8094 |
# Sed substitution to delay expansion of an escaped single quote.
|
|
8095 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
8096 |
||
8097 |
# Sed substitution to avoid accidental globbing in evaled expressions
|
|
8098 |
no_glob_subst='s/\*/\\\*/g' |
|
8099 |
||
8100 |
# Global variables:
|
|
8101 |
ofile=libtool |
|
8102 |
can_build_shared=yes |
|
8103 |
||
8104 |
# All known linkers require a `.a' archive for static linking (except MSVC,
|
|
8105 |
# which needs '.lib').
|
|
8106 |
libext=a |
|
8107 |
||
8108 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
8109 |
||
8110 |
old_CC="$CC" |
|
8111 |
old_CFLAGS="$CFLAGS" |
|
8112 |
||
8113 |
# Set sane defaults for various variables
|
|
8114 |
test -z "$CC" && CC=cc |
|
8115 |
test -z "$LTCC" && LTCC=$CC |
|
8116 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
8117 |
test -z "$LD" && LD=ld |
|
8118 |
test -z "$ac_objext" && ac_objext=o |
|
8119 |
||
8120 |
for cc_temp in $compiler""; do |
|
8121 |
case $cc_temp in |
|
8122 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
8123 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
8124 |
\-*) ;; |
|
8125 |
*) break;; |
|
8126 |
esac
|
|
8127 |
done
|
|
8128 |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
8129 |
||
8130 |
||
8131 |
# Only perform the check for file, if the check method requires it
|
|
8132 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
8133 |
case $deplibs_check_method in |
|
8134 |
file_magic*)
|
|
8135 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
8136 |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
|
8137 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
8138 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
8139 |
$as_echo_n "(cached) " >&6 |
|
8140 |
else
|
|
8141 |
case $MAGIC_CMD in |
|
8142 |
[\\/*] | ?:[\\/]*) |
|
8143 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
8144 |
;;
|
|
8145 |
*)
|
|
8146 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
8147 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
8148 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8149 |
for ac_dir in $ac_dummy; do |
|
8150 |
IFS="$lt_save_ifs" |
|
8151 |
test -z "$ac_dir" && ac_dir=. |
|
8152 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
8153 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
8154 |
if test -n "$file_magic_test_file"; then |
|
8155 |
case $deplibs_check_method in |
|
8156 |
"file_magic "*) |
|
8157 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8158 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8159 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8160 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8161 |
: |
|
8162 |
else
|
|
8163 |
cat <<_LT_EOF 1>&2
|
|
8164 |
||
8165 |
*** Warning: the command libtool uses to detect shared libraries,
|
|
8166 |
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
8167 |
*** The result is that libtool may fail to recognize shared libraries
|
|
8168 |
*** as such. This will affect the creation of libtool libraries that
|
|
8169 |
*** depend on shared libraries, but programs linked with such libtool
|
|
8170 |
*** libraries will work regardless of this problem. Nevertheless, you
|
|
8171 |
*** may want to report the problem to your system manager and/or to
|
|
8172 |
*** bug-libtool@gnu.org
|
|
8173 |
||
8174 |
_LT_EOF
|
|
8175 |
fi ;; |
|
8176 |
esac
|
|
8177 |
fi
|
|
8178 |
break
|
|
8179 |
fi
|
|
8180 |
done
|
|
8181 |
IFS="$lt_save_ifs" |
|
8182 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
8183 |
;;
|
|
8184 |
esac
|
|
8185 |
fi
|
|
8186 |
||
8187 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8188 |
if test -n "$MAGIC_CMD"; then |
|
8189 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
8190 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8191 |
else
|
|
8192 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8193 |
$as_echo "no" >&6; } |
|
8194 |
fi
|
|
8195 |
||
8196 |
||
8197 |
||
8198 |
||
8199 |
||
8200 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
8201 |
if test -n "$ac_tool_prefix"; then |
|
8202 |
{ $as_echo "$as_me:$LINENO: checking for file" >&5 |
|
8203 |
$as_echo_n "checking for file... " >&6; } |
|
8204 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
8205 |
$as_echo_n "(cached) " >&6 |
|
8206 |
else
|
|
8207 |
case $MAGIC_CMD in |
|
8208 |
[\\/*] | ?:[\\/]*) |
|
8209 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
8210 |
;;
|
|
8211 |
*)
|
|
8212 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
8213 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
8214 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8215 |
for ac_dir in $ac_dummy; do |
|
8216 |
IFS="$lt_save_ifs" |
|
8217 |
test -z "$ac_dir" && ac_dir=. |
|
8218 |
if test -f $ac_dir/file; then |
|
8219 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
8220 |
if test -n "$file_magic_test_file"; then |
|
8221 |
case $deplibs_check_method in |
|
8222 |
"file_magic "*) |
|
8223 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8224 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8225 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8226 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8227 |
: |
|
8228 |
else
|
|
8229 |
cat <<_LT_EOF 1>&2
|
|
8230 |
||
8231 |
*** Warning: the command libtool uses to detect shared libraries,
|
|
8232 |
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
8233 |
*** The result is that libtool may fail to recognize shared libraries
|
|
8234 |
*** as such. This will affect the creation of libtool libraries that
|
|
8235 |
*** depend on shared libraries, but programs linked with such libtool
|
|
8236 |
*** libraries will work regardless of this problem. Nevertheless, you
|
|
8237 |
*** may want to report the problem to your system manager and/or to
|
|
8238 |
*** bug-libtool@gnu.org
|
|
8239 |
||
8240 |
_LT_EOF
|
|
8241 |
fi ;; |
|
8242 |
esac
|
|
8243 |
fi
|
|
8244 |
break
|
|
8245 |
fi
|
|
8246 |
done
|
|
8247 |
IFS="$lt_save_ifs" |
|
8248 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
8249 |
;;
|
|
8250 |
esac
|
|
8251 |
fi
|
|
8252 |
||
8253 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
8254 |
if test -n "$MAGIC_CMD"; then |
|
8255 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
8256 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8257 |
else
|
|
8258 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
8259 |
$as_echo "no" >&6; } |
|
8260 |
fi
|
|
8261 |
||
8262 |
||
8263 |
else
|
|
8264 |
MAGIC_CMD=: |
|
8265 |
fi
|
|
8266 |
fi
|
|
8267 |
||
8268 |
fi
|
|
8269 |
;;
|
|
8270 |
esac
|
|
8271 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8272 |
# Use C for the default configuration in the libtool script
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8273 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8274 |
lt_save_CC="$CC" |
8275 |
ac_ext=c |
|
8276 |
ac_cpp='$CPP $CPPFLAGS' |
|
8277 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
8278 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
8279 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
8280 |
||
8281 |
||
8282 |
# Source file extension for C test sources.
|
|
8283 |
ac_ext=c |
|
8284 |
||
8285 |
# Object file extension for compiled C test sources.
|
|
8286 |
objext=o |
|
8287 |
objext=$objext |
|
8288 |
||
8289 |
# Code to be used in simple compile tests
|
|
8290 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
8291 |
||
8292 |
# Code to be used in simple link tests
|
|
8293 |
lt_simple_link_test_code='int main(){return(0);}' |
|
8294 |
||
8295 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8296 |
|
8297 |
||
8298 |
||
8299 |
||
8300 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8301 |
# If no C compiler was specified, use CC.
|
8302 |
LTCC=${LTCC-"$CC"} |
|
8303 |
||
8304 |
# If no C compiler flags were specified, use CFLAGS.
|
|
8305 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
8306 |
||
8307 |
# Allow CC to be a program name with arguments.
|
|
8308 |
compiler=$CC |
|
8309 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8310 |
# Save the default compiler, since it gets overwritten when the other
|
8311 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
|
|
8312 |
compiler_DEFAULT=$CC |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8313 |
|
8314 |
# save warnings/boilerplate of simple test code
|
|
8315 |
ac_outfile=conftest.$ac_objext |
|
8316 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
8317 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8318 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8319 |
$RM conftest*
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8320 |
|
8321 |
ac_outfile=conftest.$ac_objext |
|
8322 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
8323 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8324 |
_lt_linker_boilerplate=`cat conftest.err` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8325 |
$RM -r conftest*
|
8326 |
||
8327 |
||
8328 |
if test -n "$compiler"; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8329 |
|
8330 |
lt_prog_compiler_no_builtin_flag= |
|
8331 |
||
8332 |
if test "$GCC" = yes; then |
|
8333 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
|
8334 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8335 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
8336 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8337 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8338 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8339 |
else
|
8340 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8341 |
ac_outfile=conftest.$ac_objext |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8342 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8343 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
|
8344 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
8345 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
8346 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
8347 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
8348 |
# The option is referenced via a variable to avoid confusing sed.
|
|
8349 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8350 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8351 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8352 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8353 |
(eval echo "\"\$as_me:8353: $lt_compile\"" >&5) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8354 |
(eval "$lt_compile" 2>conftest.err) |
8355 |
ac_status=$? |
|
8356 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8357 |
echo "$as_me:8357: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8358 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8359 |
# The compiler can only warn and ignore the option if not recognized
|
|
8360 |
# So say no if there are warnings other than the usual output.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8361 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8362 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8363 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8364 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
8365 |
fi
|
|
8366 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8367 |
$RM conftest*
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8368 |
|
8369 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8370 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
8371 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8372 |
|
8373 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
8374 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
8375 |
else
|
|
8376 |
: |
|
8377 |
fi
|
|
8378 |
||
8379 |
fi
|
|
8380 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8381 |
|
8382 |
||
8383 |
||
8384 |
||
8385 |
||
8386 |
lt_prog_compiler_wl= |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8387 |
lt_prog_compiler_pic= |
8388 |
lt_prog_compiler_static= |
|
8389 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8390 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
8391 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8392 |
|
8393 |
if test "$GCC" = yes; then |
|
8394 |
lt_prog_compiler_wl='-Wl,' |
|
8395 |
lt_prog_compiler_static='-static' |
|
8396 |
||
8397 |
case $host_os in |
|
8398 |
aix*)
|
|
8399 |
# All AIX code is PIC.
|
|
8400 |
if test "$host_cpu" = ia64; then |
|
8401 |
# AIX 5 now supports IA64 processor
|
|
8402 |
lt_prog_compiler_static='-Bstatic' |
|
8403 |
fi
|
|
8404 |
;;
|
|
8405 |
||
8406 |
amigaos*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8407 |
case $host_cpu in |
8408 |
powerpc)
|
|
8409 |
# see comment about AmigaOS4 .so support
|
|
8410 |
lt_prog_compiler_pic='-fPIC' |
|
8411 |
;;
|
|
8412 |
m68k)
|
|
8413 |
# FIXME: we need at least 68020 code to build shared libraries, but
|
|
8414 |
# adding the `-m68020' flag to GCC prevents building anything better,
|
|
8415 |
# like `-m68040'.
|
|
8416 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
8417 |
;;
|
|
8418 |
esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8419 |
;;
|
8420 |
||
8421 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
8422 |
# PIC is the default for these OSes.
|
|
8423 |
;;
|
|
8424 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8425 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8426 |
# This hack is so that the source file can tell whether it is being
|
8427 |
# built for inclusion in a dll (and should export symbols for example).
|
|
8428 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
8429 |
# (--disable-auto-import) libraries
|
|
8430 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8431 |
;;
|
|
8432 |
||
8433 |
darwin* | rhapsody*) |
|
8434 |
# PIC is the default on this platform
|
|
8435 |
# Common symbols not allowed in MH_DYLIB files
|
|
8436 |
lt_prog_compiler_pic='-fno-common' |
|
8437 |
;;
|
|
8438 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8439 |
hpux*)
|
8440 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
|
8441 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
|
8442 |
# sets the default TLS model and affects inlining.
|
|
8443 |
case $host_cpu in |
|
8444 |
hppa*64*)
|
|
8445 |
# +Z the default
|
|
8446 |
;;
|
|
8447 |
*)
|
|
8448 |
lt_prog_compiler_pic='-fPIC' |
|
8449 |
;;
|
|
8450 |
esac
|
|
8451 |
;;
|
|
8452 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8453 |
interix[3-9]*) |
8454 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
|
8455 |
# Instead, we relocate shared libraries at runtime.
|
|
8456 |
;;
|
|
8457 |
||
8458 |
msdosdjgpp*)
|
|
8459 |
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
8460 |
# on systems that don't support them.
|
|
8461 |
lt_prog_compiler_can_build_shared=no |
|
8462 |
enable_shared=no |
|
8463 |
;;
|
|
8464 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8465 |
*nto* | *qnx*) |
8466 |
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
8467 |
# it will coredump.
|
|
8468 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8469 |
;;
|
|
8470 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8471 |
sysv4*MP*)
|
8472 |
if test -d /usr/nec; then |
|
8473 |
lt_prog_compiler_pic=-Kconform_pic |
|
8474 |
fi
|
|
8475 |
;;
|
|
8476 |
||
8477 |
*)
|
|
8478 |
lt_prog_compiler_pic='-fPIC' |
|
8479 |
;;
|
|
8480 |
esac
|
|
8481 |
else
|
|
8482 |
# PORTME Check for flag to pass linker flags through the system compiler.
|
|
8483 |
case $host_os in |
|
8484 |
aix*)
|
|
8485 |
lt_prog_compiler_wl='-Wl,' |
|
8486 |
if test "$host_cpu" = ia64; then |
|
8487 |
# AIX 5 now supports IA64 processor
|
|
8488 |
lt_prog_compiler_static='-Bstatic' |
|
8489 |
else
|
|
8490 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
8491 |
fi
|
|
8492 |
;;
|
|
8493 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8494 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8495 |
# This hack is so that the source file can tell whether it is being
|
8496 |
# built for inclusion in a dll (and should export symbols for example).
|
|
8497 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8498 |
;;
|
|
8499 |
||
8500 |
hpux9* | hpux10* | hpux11*) |
|
8501 |
lt_prog_compiler_wl='-Wl,' |
|
8502 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
|
|
8503 |
# not for PA HP-UX.
|
|
8504 |
case $host_cpu in |
|
8505 |
hppa*64*|ia64*) |
|
8506 |
# +Z the default
|
|
8507 |
;;
|
|
8508 |
*)
|
|
8509 |
lt_prog_compiler_pic='+Z' |
|
8510 |
;;
|
|
8511 |
esac
|
|
8512 |
# Is there a better lt_prog_compiler_static that works with the bundled CC?
|
|
8513 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
8514 |
;;
|
|
8515 |
||
8516 |
irix5* | irix6* | nonstopux*) |
|
8517 |
lt_prog_compiler_wl='-Wl,' |
|
8518 |
# PIC (with -KPIC) is the default.
|
|
8519 |
lt_prog_compiler_static='-non_shared' |
|
8520 |
;;
|
|
8521 |
||
8522 |
linux* | k*bsd*-gnu) |
|
8523 |
case $cc_basename in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8524 |
# old Intel for x86_64 which still supported -KPIC.
|
8525 |
ecc*)
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8526 |
lt_prog_compiler_wl='-Wl,' |
8527 |
lt_prog_compiler_pic='-KPIC' |
|
8528 |
lt_prog_compiler_static='-static' |
|
8529 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8530 |
# icc used to be incompatible with GCC.
|
8531 |
# ICC 10 doesn't accept -KPIC any more.
|
|
8532 |
icc* | ifort*) |
|
8533 |
lt_prog_compiler_wl='-Wl,' |
|
8534 |
lt_prog_compiler_pic='-fPIC' |
|
8535 |
lt_prog_compiler_static='-static' |
|
8536 |
;;
|
|
8537 |
# Lahey Fortran 8.1.
|
|
8538 |
lf95*)
|
|
8539 |
lt_prog_compiler_wl='-Wl,' |
|
8540 |
lt_prog_compiler_pic='--shared' |
|
8541 |
lt_prog_compiler_static='--static' |
|
8542 |
;;
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8543 |
pgcc* | pgf77* | pgf90* | pgf95*) |
8544 |
# Portland Group compilers (*not* the Pentium gcc compiler,
|
|
8545 |
# which looks to be a dead project)
|
|
8546 |
lt_prog_compiler_wl='-Wl,' |
|
8547 |
lt_prog_compiler_pic='-fpic' |
|
8548 |
lt_prog_compiler_static='-Bstatic' |
|
8549 |
;;
|
|
8550 |
ccc*)
|
|
8551 |
lt_prog_compiler_wl='-Wl,' |
|
8552 |
# All Alpha code is PIC.
|
|
8553 |
lt_prog_compiler_static='-non_shared' |
|
8554 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8555 |
xl*)
|
8556 |
# IBM XL C 8.0/Fortran 10.1 on PPC
|
|
8557 |
lt_prog_compiler_wl='-Wl,' |
|
8558 |
lt_prog_compiler_pic='-qpic' |
|
8559 |
lt_prog_compiler_static='-qstaticlink' |
|
8560 |
;;
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8561 |
*)
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8562 |
case `$CC -V 2>&1 | sed 5q` in |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8563 |
*Sun\ C*) |
8564 |
# Sun C 5.9
|
|
8565 |
lt_prog_compiler_pic='-KPIC' |
|
8566 |
lt_prog_compiler_static='-Bstatic' |
|
8567 |
lt_prog_compiler_wl='-Wl,' |
|
8568 |
;;
|
|
8569 |
*Sun\ F*) |
|
8570 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
8571 |
lt_prog_compiler_pic='-KPIC' |
|
8572 |
lt_prog_compiler_static='-Bstatic' |
|
8573 |
lt_prog_compiler_wl='' |
|
8574 |
;;
|
|
8575 |
esac
|
|
8576 |
;;
|
|
8577 |
esac
|
|
8578 |
;;
|
|
8579 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8580 |
newsos6)
|
8581 |
lt_prog_compiler_pic='-KPIC' |
|
8582 |
lt_prog_compiler_static='-Bstatic' |
|
8583 |
;;
|
|
8584 |
||
8585 |
*nto* | *qnx*) |
|
8586 |
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
8587 |
# it will coredump.
|
|
8588 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8589 |
;;
|
|
8590 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8591 |
osf3* | osf4* | osf5*) |
8592 |
lt_prog_compiler_wl='-Wl,' |
|
8593 |
# All OSF/1 code is PIC.
|
|
8594 |
lt_prog_compiler_static='-non_shared' |
|
8595 |
;;
|
|
8596 |
||
8597 |
rdos*)
|
|
8598 |
lt_prog_compiler_static='-non_shared' |
|
8599 |
;;
|
|
8600 |
||
8601 |
solaris*)
|
|
8602 |
lt_prog_compiler_pic='-KPIC' |
|
8603 |
lt_prog_compiler_static='-Bstatic' |
|
8604 |
case $cc_basename in |
|
8605 |
f77* | f90* | f95*) |
|
8606 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
8607 |
*)
|
|
8608 |
lt_prog_compiler_wl='-Wl,';; |
|
8609 |
esac
|
|
8610 |
;;
|
|
8611 |
||
8612 |
sunos4*)
|
|
8613 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8614 |
lt_prog_compiler_pic='-PIC' |
|
8615 |
lt_prog_compiler_static='-Bstatic' |
|
8616 |
;;
|
|
8617 |
||
8618 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
8619 |
lt_prog_compiler_wl='-Wl,' |
|
8620 |
lt_prog_compiler_pic='-KPIC' |
|
8621 |
lt_prog_compiler_static='-Bstatic' |
|
8622 |
;;
|
|
8623 |
||
8624 |
sysv4*MP*)
|
|
8625 |
if test -d /usr/nec ;then |
|
8626 |
lt_prog_compiler_pic='-Kconform_pic' |
|
8627 |
lt_prog_compiler_static='-Bstatic' |
|
8628 |
fi
|
|
8629 |
;;
|
|
8630 |
||
8631 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
8632 |
lt_prog_compiler_wl='-Wl,' |
|
8633 |
lt_prog_compiler_pic='-KPIC' |
|
8634 |
lt_prog_compiler_static='-Bstatic' |
|
8635 |
;;
|
|
8636 |
||
8637 |
unicos*)
|
|
8638 |
lt_prog_compiler_wl='-Wl,' |
|
8639 |
lt_prog_compiler_can_build_shared=no |
|
8640 |
;;
|
|
8641 |
||
8642 |
uts4*)
|
|
8643 |
lt_prog_compiler_pic='-pic' |
|
8644 |
lt_prog_compiler_static='-Bstatic' |
|
8645 |
;;
|
|
8646 |
||
8647 |
*)
|
|
8648 |
lt_prog_compiler_can_build_shared=no |
|
8649 |
;;
|
|
8650 |
esac
|
|
8651 |
fi
|
|
8652 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8653 |
case $host_os in |
8654 |
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
8655 |
*djgpp*)
|
|
8656 |
lt_prog_compiler_pic= |
|
8657 |
;;
|
|
8658 |
*)
|
|
8659 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
8660 |
;;
|
|
8661 |
esac
|
|
8662 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
|
8663 |
$as_echo "$lt_prog_compiler_pic" >&6; } |
|
8664 |
||
8665 |
||
8666 |
||
8667 |
||
8668 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8669 |
|
8670 |
#
|
|
8671 |
# Check to make sure the PIC flag actually works.
|
|
8672 |
#
|
|
8673 |
if test -n "$lt_prog_compiler_pic"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8674 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8675 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8676 |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8677 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8678 |
else
|
8679 |
lt_cv_prog_compiler_pic_works=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8680 |
ac_outfile=conftest.$ac_objext |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8681 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8682 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
|
8683 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
8684 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
8685 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
8686 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
8687 |
# The option is referenced via a variable to avoid confusing sed.
|
|
8688 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8689 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8690 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8691 |
-e 's:$: $lt_compiler_flag:'` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8692 |
(eval echo "\"\$as_me:8692: $lt_compile\"" >&5) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8693 |
(eval "$lt_compile" 2>conftest.err) |
8694 |
ac_status=$? |
|
8695 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8696 |
echo "$as_me:8696: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8697 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8698 |
# The compiler can only warn and ignore the option if not recognized
|
|
8699 |
# So say no if there are warnings other than the usual output.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8700 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8701 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8702 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8703 |
lt_cv_prog_compiler_pic_works=yes |
|
8704 |
fi
|
|
8705 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8706 |
$RM conftest*
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8707 |
|
8708 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8709 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
8710 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8711 |
|
8712 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
|
8713 |
case $lt_prog_compiler_pic in |
|
8714 |
"" | " "*) ;; |
|
8715 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
8716 |
esac
|
|
8717 |
else
|
|
8718 |
lt_prog_compiler_pic= |
|
8719 |
lt_prog_compiler_can_build_shared=no |
|
8720 |
fi
|
|
8721 |
||
8722 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8723 |
|
8724 |
||
8725 |
||
8726 |
||
8727 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8728 |
|
8729 |
#
|
|
8730 |
# Check to make sure the static flag actually works.
|
|
8731 |
#
|
|
8732 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8733 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8734 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8735 |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8736 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8737 |
else
|
8738 |
lt_cv_prog_compiler_static_works=no |
|
8739 |
save_LDFLAGS="$LDFLAGS" |
|
8740 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
8741 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
8742 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
8743 |
# The linker can only warn and ignore the option if not recognized
|
|
8744 |
# So say no if there are warnings
|
|
8745 |
if test -s conftest.err; then |
|
8746 |
# Append any errors to the config.log.
|
|
8747 |
cat conftest.err 1>&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8748 |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8749 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8750 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
8751 |
lt_cv_prog_compiler_static_works=yes |
|
8752 |
fi
|
|
8753 |
else
|
|
8754 |
lt_cv_prog_compiler_static_works=yes |
|
8755 |
fi
|
|
8756 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8757 |
$RM -r conftest*
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8758 |
LDFLAGS="$save_LDFLAGS" |
8759 |
||
8760 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8761 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
8762 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8763 |
|
8764 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
8765 |
: |
|
8766 |
else
|
|
8767 |
lt_prog_compiler_static= |
|
8768 |
fi
|
|
8769 |
||
8770 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8771 |
|
8772 |
||
8773 |
||
8774 |
||
8775 |
||
8776 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8777 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
8778 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
8779 |
$as_echo_n "(cached) " >&6 |
|
8780 |
else
|
|
8781 |
lt_cv_prog_compiler_c_o=no |
|
8782 |
$RM -r conftest 2>/dev/null |
|
8783 |
mkdir conftest |
|
8784 |
cd conftest
|
|
8785 |
mkdir out |
|
8786 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8787 |
||
8788 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8789 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
8790 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
8791 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
8792 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
8793 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8794 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8795 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8796 |
-e 's:$: $lt_compiler_flag:'` |
|
8797 |
(eval echo "\"\$as_me:8797: $lt_compile\"" >&5) |
|
8798 |
(eval "$lt_compile" 2>out/conftest.err) |
|
8799 |
ac_status=$? |
|
8800 |
cat out/conftest.err >&5 |
|
8801 |
echo "$as_me:8801: \$? = $ac_status" >&5 |
|
8802 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
8803 |
then
|
|
8804 |
# The compiler can only warn and ignore the option if not recognized
|
|
8805 |
# So say no if there are warnings
|
|
8806 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
8807 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
8808 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8809 |
lt_cv_prog_compiler_c_o=yes |
|
8810 |
fi
|
|
8811 |
fi
|
|
8812 |
chmod u+w . 2>&5 |
|
8813 |
$RM conftest*
|
|
8814 |
# SGI C++ compiler will create directory out/ii_files/ for
|
|
8815 |
# template instantiation
|
|
8816 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8817 |
$RM out/* && rmdir out |
|
8818 |
cd ..
|
|
8819 |
$RM -r conftest
|
|
8820 |
$RM conftest*
|
|
8821 |
||
8822 |
fi
|
|
8823 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8824 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8825 |
||
8826 |
||
8827 |
||
8828 |
||
8829 |
||
8830 |
||
8831 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8832 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
8833 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
8834 |
$as_echo_n "(cached) " >&6 |
|
8835 |
else
|
|
8836 |
lt_cv_prog_compiler_c_o=no |
|
8837 |
$RM -r conftest 2>/dev/null |
|
8838 |
mkdir conftest |
|
8839 |
cd conftest
|
|
8840 |
mkdir out |
|
8841 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8842 |
||
8843 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8844 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
8845 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
8846 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
8847 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
8848 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8849 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8850 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8851 |
-e 's:$: $lt_compiler_flag:'` |
|
8852 |
(eval echo "\"\$as_me:8852: $lt_compile\"" >&5) |
|
8853 |
(eval "$lt_compile" 2>out/conftest.err) |
|
8854 |
ac_status=$? |
|
8855 |
cat out/conftest.err >&5 |
|
8856 |
echo "$as_me:8856: \$? = $ac_status" >&5 |
|
8857 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
8858 |
then
|
|
8859 |
# The compiler can only warn and ignore the option if not recognized
|
|
8860 |
# So say no if there are warnings
|
|
8861 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
8862 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
8863 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8864 |
lt_cv_prog_compiler_c_o=yes |
|
8865 |
fi
|
|
8866 |
fi
|
|
8867 |
chmod u+w . 2>&5 |
|
8868 |
$RM conftest*
|
|
8869 |
# SGI C++ compiler will create directory out/ii_files/ for
|
|
8870 |
# template instantiation
|
|
8871 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8872 |
$RM out/* && rmdir out |
|
8873 |
cd ..
|
|
8874 |
$RM -r conftest
|
|
8875 |
$RM conftest*
|
|
8876 |
||
8877 |
fi
|
|
8878 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8879 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8880 |
||
8881 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
8882 |
|
8883 |
||
8884 |
hard_links="nottested" |
|
8885 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
8886 |
# do not overwrite the value of need_locks provided by the user
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8887 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
8888 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8889 |
hard_links=yes |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8890 |
$RM conftest*
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8891 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
8892 |
touch conftest.a |
|
8893 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
8894 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8895 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
8896 |
$as_echo "$hard_links" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8897 |
if test "$hard_links" = no; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8898 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
8899 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8900 |
need_locks=warn |
8901 |
fi
|
|
8902 |
else
|
|
8903 |
need_locks=no |
|
8904 |
fi
|
|
8905 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8906 |
|
8907 |
||
8908 |
||
8909 |
||
8910 |
||
8911 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
8912 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8913 |
|
8914 |
runpath_var= |
|
8915 |
allow_undefined_flag= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8916 |
always_export_symbols=no |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8917 |
archive_cmds= |
8918 |
archive_expsym_cmds= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8919 |
compiler_needs_object=no |
8920 |
enable_shared_with_static_runtimes=no |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8921 |
export_dynamic_flag_spec= |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8922 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
8923 |
hardcode_automatic=no |
|
8924 |
hardcode_direct=no |
|
8925 |
hardcode_direct_absolute=no |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8926 |
hardcode_libdir_flag_spec= |
8927 |
hardcode_libdir_flag_spec_ld= |
|
8928 |
hardcode_libdir_separator= |
|
8929 |
hardcode_minus_L=no |
|
8930 |
hardcode_shlibpath_var=unsupported |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8931 |
inherit_rpath=no |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8932 |
link_all_deplibs=unknown |
8933 |
module_cmds= |
|
8934 |
module_expsym_cmds= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8935 |
old_archive_from_new_cmds= |
8936 |
old_archive_from_expsyms_cmds= |
|
8937 |
thread_safe_flag_spec= |
|
8938 |
whole_archive_flag_spec= |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8939 |
# include_expsyms should be a list of space-separated symbols to be *always*
|
8940 |
# included in the symbol list
|
|
8941 |
include_expsyms= |
|
8942 |
# exclude_expsyms can be an extended regexp of symbols to exclude
|
|
8943 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or
|
|
8944 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
|
|
8945 |
# as well as any symbol that contains `d'.
|
|
8946 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
8947 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
|
|
8948 |
# platforms (ab)use it in PIC code, but their linkers get confused if
|
|
8949 |
# the symbol is explicitly referenced. Since portable code cannot
|
|
8950 |
# rely on this symbol name, it's probably fine to never include it in
|
|
8951 |
# preloaded symbol tables.
|
|
8952 |
# Exclude shared library initialization/finalization symbols.
|
|
8953 |
extract_expsyms_cmds= |
|
8954 |
||
8955 |
case $host_os in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8956 |
cygwin* | mingw* | pw32* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8957 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
8958 |
# When not using gcc, we currently assume that we are using
|
|
8959 |
# Microsoft Visual C++.
|
|
8960 |
if test "$GCC" != yes; then |
|
8961 |
with_gnu_ld=no |
|
8962 |
fi
|
|
8963 |
;;
|
|
8964 |
interix*)
|
|
8965 |
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
|
8966 |
with_gnu_ld=yes |
|
8967 |
;;
|
|
8968 |
openbsd*)
|
|
8969 |
with_gnu_ld=no |
|
8970 |
;;
|
|
8971 |
esac
|
|
8972 |
||
8973 |
ld_shlibs=yes |
|
8974 |
if test "$with_gnu_ld" = yes; then |
|
8975 |
# If archive_cmds runs LD, not CC, wlarc should be empty
|
|
8976 |
wlarc='${wl}' |
|
8977 |
||
8978 |
# Set some defaults for GNU ld with shared library support. These
|
|
8979 |
# are reset later if shared libraries are not supported. Putting them
|
|
8980 |
# here allows them to be overridden if necessary.
|
|
8981 |
runpath_var=LD_RUN_PATH |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8982 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8983 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
8984 |
# ancient GNU ld didn't support --whole-archive et. al.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8985 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
8986 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
8987 |
else
|
|
8988 |
whole_archive_flag_spec= |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
8989 |
fi
|
8990 |
supports_anon_versioning=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
8991 |
case `$LD -v 2>&1` in |
1
by Steve Kowalik
Import upstream version 0.4.0 |
8992 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
8993 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
8994 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
8995 |
*\ 2.11.*) ;; # other 2.11 versions |
|
8996 |
*) supports_anon_versioning=yes ;; |
|
8997 |
esac
|
|
8998 |
||
8999 |
# See if GNU ld supports shared libraries.
|
|
9000 |
case $host_os in |
|
9001 |
aix[3-9]*) |
|
9002 |
# On AIX/PPC, the GNU linker is very broken
|
|
9003 |
if test "$host_cpu" != ia64; then |
|
9004 |
ld_shlibs=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9005 |
cat <<_LT_EOF 1>&2
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9006 |
|
9007 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
|
|
9008 |
*** to be unable to reliably create shared libraries on AIX.
|
|
9009 |
*** Therefore, libtool is disabling shared libraries support. If you
|
|
9010 |
*** really care for shared libraries, you may want to modify your PATH
|
|
9011 |
*** so that a non-GNU linker is found, and then restart.
|
|
9012 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9013 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9014 |
fi
|
9015 |
;;
|
|
9016 |
||
9017 |
amigaos*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9018 |
case $host_cpu in |
9019 |
powerpc)
|
|
9020 |
# see comment about AmigaOS4 .so support
|
|
9021 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9022 |
archive_expsym_cmds='' |
|
9023 |
;;
|
|
9024 |
m68k)
|
|
9025 |
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)' |
|
9026 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9027 |
hardcode_minus_L=yes |
|
9028 |
;;
|
|
9029 |
esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9030 |
;;
|
9031 |
||
9032 |
beos*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9033 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9034 |
allow_undefined_flag=unsupported |
9035 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
|
9036 |
# support --undefined. This deserves some investigation. FIXME
|
|
9037 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9038 |
else
|
|
9039 |
ld_shlibs=no |
|
9040 |
fi
|
|
9041 |
;;
|
|
9042 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9043 |
cygwin* | mingw* | pw32* | cegcc*) |
9044 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9045 |
# as there is no search path for DLLs.
|
9046 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9047 |
allow_undefined_flag=unsupported |
|
9048 |
always_export_symbols=no |
|
9049 |
enable_shared_with_static_runtimes=yes |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9050 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9051 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9052 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9053 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9054 |
# If the export-symbols file already is a .def file (1st line
|
|
9055 |
# is EXPORTS), use it as is; otherwise, prepend...
|
|
9056 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
9057 |
cp $export_symbols $output_objdir/$soname.def;
|
|
9058 |
else
|
|
9059 |
echo EXPORTS > $output_objdir/$soname.def;
|
|
9060 |
cat $export_symbols >> $output_objdir/$soname.def;
|
|
9061 |
fi~
|
|
9062 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
9063 |
else
|
|
9064 |
ld_shlibs=no |
|
9065 |
fi
|
|
9066 |
;;
|
|
9067 |
||
9068 |
interix[3-9]*) |
|
9069 |
hardcode_direct=no |
|
9070 |
hardcode_shlibpath_var=no |
|
9071 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9072 |
export_dynamic_flag_spec='${wl}-E' |
|
9073 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
|
|
9074 |
# Instead, shared libraries are loaded at an image base (0x10000000 by
|
|
9075 |
# default) and relocated if they conflict, which is a slow very memory
|
|
9076 |
# consuming and fragmenting process. To avoid this, we pick a random,
|
|
9077 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
|
9078 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
|
9079 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
9080 |
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' |
|
9081 |
;;
|
|
9082 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9083 |
gnu* | linux* | tpf* | k*bsd*-gnu) |
9084 |
tmp_diet=no |
|
9085 |
if test "$host_os" = linux-dietlibc; then |
|
9086 |
case $cc_basename in |
|
9087 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
9088 |
esac
|
|
9089 |
fi
|
|
9090 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
9091 |
&& test "$tmp_diet" = no |
|
9092 |
then
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9093 |
tmp_addflag= |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9094 |
tmp_sharedflag='-shared' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9095 |
case $cc_basename,$host_cpu in |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9096 |
pgcc*) # Portland Group C compiler |
9097 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9098 |
tmp_addflag=' $pic_flag' |
9099 |
;;
|
|
9100 |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9101 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9102 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9103 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9104 |
tmp_addflag=' -i_dynamic' ;; |
9105 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
9106 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
9107 |
ifc* | ifort*) # Intel Fortran compiler |
|
9108 |
tmp_addflag=' -nofor_main' ;; |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9109 |
lf95*) # Lahey Fortran 8.1 |
9110 |
whole_archive_flag_spec= |
|
9111 |
tmp_sharedflag='--shared' ;; |
|
9112 |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
9113 |
tmp_sharedflag='-qmkshrobj' |
|
9114 |
tmp_addflag= ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9115 |
esac
|
9116 |
case `$CC -V 2>&1 | sed 5q` in |
|
9117 |
*Sun\ C*) # Sun C 5.9 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9118 |
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' |
9119 |
compiler_needs_object=yes |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9120 |
tmp_sharedflag='-G' ;; |
9121 |
*Sun\ F*) # Sun Fortran 8.3 |
|
9122 |
tmp_sharedflag='-G' ;; |
|
9123 |
esac
|
|
9124 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9125 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9126 |
if test "x$supports_anon_versioning" = xyes; then |
9127 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9128 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
9129 |
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
9130 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
9131 |
fi
|
|
9132 |
||
9133 |
case $cc_basename in |
|
9134 |
xlf*)
|
|
9135 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
|
9136 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
9137 |
hardcode_libdir_flag_spec= |
|
9138 |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
|
9139 |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
|
9140 |
if test "x$supports_anon_versioning" = xyes; then |
|
9141 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9142 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
9143 |
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
9144 |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
|
9145 |
fi
|
|
9146 |
;;
|
|
9147 |
esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9148 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9149 |
ld_shlibs=no |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9150 |
fi
|
9151 |
;;
|
|
9152 |
||
9153 |
netbsd* | netbsdelf*-gnu) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9154 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9155 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9156 |
wlarc= |
|
9157 |
else
|
|
9158 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9159 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
9160 |
fi
|
|
9161 |
;;
|
|
9162 |
||
9163 |
solaris*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9164 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9165 |
ld_shlibs=no |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9166 |
cat <<_LT_EOF 1>&2
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9167 |
|
9168 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
|
9169 |
*** create shared libraries on Solaris systems. Therefore, libtool
|
|
9170 |
*** is disabling shared libraries support. We urge you to upgrade GNU
|
|
9171 |
*** binutils to release 2.9.1 or newer. Another option is to modify
|
|
9172 |
*** your PATH or compiler configuration so that the native linker is
|
|
9173 |
*** used, and then restart.
|
|
9174 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9175 |
_LT_EOF
|
9176 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9177 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9178 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
9179 |
else
|
|
9180 |
ld_shlibs=no |
|
9181 |
fi
|
|
9182 |
;;
|
|
9183 |
||
9184 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
9185 |
case `$LD -v 2>&1` in |
|
9186 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
9187 |
ld_shlibs=no |
|
9188 |
cat <<_LT_EOF 1>&2
|
|
9189 |
||
9190 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
|
|
9191 |
*** reliably create shared libraries on SCO systems. Therefore, libtool
|
|
9192 |
*** is disabling shared libraries support. We urge you to upgrade GNU
|
|
9193 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
|
|
9194 |
*** your PATH or compiler configuration so that the native linker is
|
|
9195 |
*** used, and then restart.
|
|
9196 |
||
9197 |
_LT_EOF
|
|
9198 |
;;
|
|
9199 |
*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9200 |
# For security reasons, it is highly recommended that you always
|
9201 |
# use absolute paths for naming shared libraries, and exclude the
|
|
9202 |
# DT_RUNPATH tag from executables and libraries. But doing so
|
|
9203 |
# requires that you compile everything twice, which is a pain.
|
|
9204 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9205 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9206 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9207 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9208 |
else
|
9209 |
ld_shlibs=no |
|
9210 |
fi
|
|
9211 |
;;
|
|
9212 |
esac
|
|
9213 |
;;
|
|
9214 |
||
9215 |
sunos4*)
|
|
9216 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9217 |
wlarc= |
|
9218 |
hardcode_direct=yes |
|
9219 |
hardcode_shlibpath_var=no |
|
9220 |
;;
|
|
9221 |
||
9222 |
*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9223 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9224 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9225 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
9226 |
else
|
|
9227 |
ld_shlibs=no |
|
9228 |
fi
|
|
9229 |
;;
|
|
9230 |
esac
|
|
9231 |
||
9232 |
if test "$ld_shlibs" = no; then |
|
9233 |
runpath_var= |
|
9234 |
hardcode_libdir_flag_spec= |
|
9235 |
export_dynamic_flag_spec= |
|
9236 |
whole_archive_flag_spec= |
|
9237 |
fi
|
|
9238 |
else
|
|
9239 |
# PORTME fill in a description of your system's linker (not GNU ld)
|
|
9240 |
case $host_os in |
|
9241 |
aix3*)
|
|
9242 |
allow_undefined_flag=unsupported |
|
9243 |
always_export_symbols=yes |
|
9244 |
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' |
|
9245 |
# Note: this linker hardcodes the directories in LIBPATH if there
|
|
9246 |
# are no directories specified by -L.
|
|
9247 |
hardcode_minus_L=yes |
|
9248 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
9249 |
# Neither direct hardcoding nor static linking is supported with a
|
|
9250 |
# broken collect2.
|
|
9251 |
hardcode_direct=unsupported |
|
9252 |
fi
|
|
9253 |
;;
|
|
9254 |
||
9255 |
aix[4-9]*) |
|
9256 |
if test "$host_cpu" = ia64; then |
|
9257 |
# On IA64, the linker does run time linking by default, so we don't
|
|
9258 |
# have to do anything special.
|
|
9259 |
aix_use_runtimelinking=no |
|
9260 |
exp_sym_flag='-Bexport' |
|
9261 |
no_entry_flag="" |
|
9262 |
else
|
|
9263 |
# If we're using GNU nm, then we don't want the "-C" option.
|
|
9264 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9265 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9266 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9267 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9268 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9269 |
fi
|
9270 |
aix_use_runtimelinking=no |
|
9271 |
||
9272 |
# Test if we are trying to use run time linking or normal
|
|
9273 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
|
9274 |
# need to do runtime linking.
|
|
9275 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
9276 |
for ld_flag in $LDFLAGS; do |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9277 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
9278 |
aix_use_runtimelinking=yes |
|
9279 |
break
|
|
9280 |
fi
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9281 |
done
|
9282 |
;;
|
|
9283 |
esac
|
|
9284 |
||
9285 |
exp_sym_flag='-bexport' |
|
9286 |
no_entry_flag='-bnoentry' |
|
9287 |
fi
|
|
9288 |
||
9289 |
# When large executables or shared objects are built, AIX ld can
|
|
9290 |
# have problems creating the table of contents. If linking a library
|
|
9291 |
# or program results in "error TOC overflow" add -mminimal-toc to
|
|
9292 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
|
9293 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
|
9294 |
||
9295 |
archive_cmds='' |
|
9296 |
hardcode_direct=yes |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9297 |
hardcode_direct_absolute=yes |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9298 |
hardcode_libdir_separator=':' |
9299 |
link_all_deplibs=yes |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9300 |
file_list_spec='${wl}-f,' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9301 |
|
9302 |
if test "$GCC" = yes; then |
|
9303 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
9304 |
# We only want to do this on AIX 4.2 and lower, the check
|
|
9305 |
# below for broken collect2 doesn't work under 4.3+
|
|
9306 |
collect2name=`${CC} -print-prog-name=collect2` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9307 |
if test -f "$collect2name" && |
9308 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9309 |
then
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9310 |
# We have reworked collect2
|
9311 |
: |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9312 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9313 |
# We have old collect2
|
9314 |
hardcode_direct=unsupported |
|
9315 |
# It fails to find uninstalled libraries when the uninstalled
|
|
9316 |
# path is not listed in the libpath. Setting hardcode_minus_L
|
|
9317 |
# to unsupported forces relinking
|
|
9318 |
hardcode_minus_L=yes |
|
9319 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9320 |
hardcode_libdir_separator= |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9321 |
fi
|
9322 |
;;
|
|
9323 |
esac
|
|
9324 |
shared_flag='-shared' |
|
9325 |
if test "$aix_use_runtimelinking" = yes; then |
|
9326 |
shared_flag="$shared_flag "'${wl}-G' |
|
9327 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9328 |
link_all_deplibs=no |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9329 |
else
|
9330 |
# not using gcc
|
|
9331 |
if test "$host_cpu" = ia64; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9332 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
9333 |
# chokes on -Wl,-G. The following line is correct:
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9334 |
shared_flag='-G' |
9335 |
else
|
|
9336 |
if test "$aix_use_runtimelinking" = yes; then |
|
9337 |
shared_flag='${wl}-G' |
|
9338 |
else
|
|
9339 |
shared_flag='${wl}-bM:SRE' |
|
9340 |
fi
|
|
9341 |
fi
|
|
9342 |
fi
|
|
9343 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9344 |
export_dynamic_flag_spec='${wl}-bexpall' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9345 |
# It seems that -bexpall does not export symbols beginning with
|
9346 |
# underscore (_), so it is better to generate a list of symbols to export.
|
|
9347 |
always_export_symbols=yes |
|
9348 |
if test "$aix_use_runtimelinking" = yes; then |
|
9349 |
# Warning - without using the other runtime loading flags (-brtl),
|
|
9350 |
# -berok will link without error, but may produce a broken library.
|
|
9351 |
allow_undefined_flag='-berok' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9352 |
# Determine the default libpath from the value encoded in an
|
9353 |
# empty executable.
|
|
9354 |
cat >conftest.$ac_ext <<_ACEOF |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9355 |
/* confdefs.h. */
|
9356 |
_ACEOF
|
|
9357 |
cat confdefs.h >>conftest.$ac_ext
|
|
9358 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9359 |
/* end confdefs.h. */
|
|
9360 |
||
9361 |
int
|
|
9362 |
main ()
|
|
9363 |
{
|
|
9364 |
||
9365 |
;
|
|
9366 |
return 0;
|
|
9367 |
}
|
|
9368 |
_ACEOF
|
|
9369 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
9370 |
if { (ac_try="$ac_link" |
|
9371 |
case "(($ac_try" in |
|
9372 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9373 |
*) ac_try_echo=$ac_try;; |
|
9374 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9375 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9376 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9377 |
(eval "$ac_link") 2>conftest.er1 |
9378 |
ac_status=$? |
|
9379 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9380 |
rm -f conftest.er1 |
|
9381 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9382 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9383 |
(exit $ac_status); } && { |
9384 |
test -z "$ac_c_werror_flag" || |
|
9385 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9386 |
} && test -s conftest$ac_exeext && { |
9387 |
test "$cross_compiling" = yes || |
|
9388 |
$as_test_x conftest$ac_exeext |
|
9389 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9390 |
|
9391 |
lt_aix_libpath_sed=' |
|
9392 |
/Import File Strings/,/^$/ {
|
|
9393 |
/^0/ {
|
|
9394 |
s/^0 *\(.*\)$/\1/
|
|
9395 |
p
|
|
9396 |
}
|
|
9397 |
}'
|
|
9398 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9399 |
# Check for a 64-bit object if we didn't find anything.
|
|
9400 |
if test -z "$aix_libpath"; then |
|
9401 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9402 |
fi
|
|
9403 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9404 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9405 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9406 |
||
9407 |
||
9408 |
fi
|
|
9409 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9410 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9411 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9412 |
conftest$ac_exeext conftest.$ac_ext |
|
9413 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
9414 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9415 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9416 |
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" |
|
9417 |
else
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9418 |
if test "$host_cpu" = ia64; then |
9419 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
9420 |
allow_undefined_flag="-z nodefs" |
|
9421 |
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" |
|
9422 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9423 |
# Determine the default libpath from the value encoded in an
|
9424 |
# empty executable.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9425 |
cat >conftest.$ac_ext <<_ACEOF |
9426 |
/* confdefs.h. */
|
|
9427 |
_ACEOF
|
|
9428 |
cat confdefs.h >>conftest.$ac_ext
|
|
9429 |
cat >>conftest.$ac_ext <<_ACEOF |
|
9430 |
/* end confdefs.h. */
|
|
9431 |
||
9432 |
int
|
|
9433 |
main ()
|
|
9434 |
{
|
|
9435 |
||
9436 |
;
|
|
9437 |
return 0;
|
|
9438 |
}
|
|
9439 |
_ACEOF
|
|
9440 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
9441 |
if { (ac_try="$ac_link" |
|
9442 |
case "(($ac_try" in |
|
9443 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9444 |
*) ac_try_echo=$ac_try;; |
|
9445 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9446 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9447 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9448 |
(eval "$ac_link") 2>conftest.er1 |
9449 |
ac_status=$? |
|
9450 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9451 |
rm -f conftest.er1 |
|
9452 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9453 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9454 |
(exit $ac_status); } && { |
9455 |
test -z "$ac_c_werror_flag" || |
|
9456 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9457 |
} && test -s conftest$ac_exeext && { |
9458 |
test "$cross_compiling" = yes || |
|
9459 |
$as_test_x conftest$ac_exeext |
|
9460 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9461 |
|
9462 |
lt_aix_libpath_sed=' |
|
9463 |
/Import File Strings/,/^$/ {
|
|
9464 |
/^0/ {
|
|
9465 |
s/^0 *\(.*\)$/\1/
|
|
9466 |
p
|
|
9467 |
}
|
|
9468 |
}'
|
|
9469 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9470 |
# Check for a 64-bit object if we didn't find anything.
|
|
9471 |
if test -z "$aix_libpath"; then |
|
9472 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9473 |
fi
|
|
9474 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9475 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9476 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9477 |
||
9478 |
||
9479 |
fi
|
|
9480 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9481 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9482 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9483 |
conftest$ac_exeext conftest.$ac_ext |
|
9484 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
9485 |
||
9486 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
9487 |
# Warning - without using the other run time loading flags,
|
|
9488 |
# -berok will link without error, but may produce a broken library.
|
|
9489 |
no_undefined_flag=' ${wl}-bernotok' |
|
9490 |
allow_undefined_flag=' ${wl}-berok' |
|
9491 |
# Exported symbols can be pulled into shared objects from archives
|
|
9492 |
whole_archive_flag_spec='$convenience' |
|
9493 |
archive_cmds_need_lc=yes |
|
9494 |
# This is similar to how AIX traditionally builds its shared libraries.
|
|
9495 |
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' |
|
9496 |
fi
|
|
9497 |
fi
|
|
9498 |
;;
|
|
9499 |
||
9500 |
amigaos*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9501 |
case $host_cpu in |
9502 |
powerpc)
|
|
9503 |
# see comment about AmigaOS4 .so support
|
|
9504 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
9505 |
archive_expsym_cmds='' |
|
9506 |
;;
|
|
9507 |
m68k)
|
|
9508 |
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)' |
|
9509 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9510 |
hardcode_minus_L=yes |
|
9511 |
;;
|
|
9512 |
esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9513 |
;;
|
9514 |
||
9515 |
bsdi[45]*) |
|
9516 |
export_dynamic_flag_spec=-rdynamic |
|
9517 |
;;
|
|
9518 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9519 |
cygwin* | mingw* | pw32* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9520 |
# When not using gcc, we currently assume that we are using
|
9521 |
# Microsoft Visual C++.
|
|
9522 |
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
9523 |
# no search path for DLLs.
|
|
9524 |
hardcode_libdir_flag_spec=' ' |
|
9525 |
allow_undefined_flag=unsupported |
|
9526 |
# Tell ltmain to make .lib files, not .a files.
|
|
9527 |
libext=lib |
|
9528 |
# Tell ltmain to make .dll files, not .so files.
|
|
9529 |
shrext_cmds=".dll" |
|
9530 |
# FIXME: Setting linknames here is a bad hack.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9531 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9532 |
# The linker will automatically build a .lib file if we build a DLL.
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9533 |
old_archive_from_new_cmds='true' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9534 |
# FIXME: Should let the user specify the lib program.
|
9535 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
9536 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
|
9537 |
enable_shared_with_static_runtimes=yes |
|
9538 |
;;
|
|
9539 |
||
9540 |
darwin* | rhapsody*) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9541 |
|
9542 |
||
9543 |
archive_cmds_need_lc=no |
|
9544 |
hardcode_direct=no |
|
9545 |
hardcode_automatic=yes |
|
9546 |
hardcode_shlibpath_var=unsupported |
|
9547 |
whole_archive_flag_spec='' |
|
9548 |
link_all_deplibs=yes |
|
9549 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
9550 |
case $cc_basename in |
|
9551 |
ifort*) _lt_dar_can_shared=yes ;; |
|
9552 |
*) _lt_dar_can_shared=$GCC ;; |
|
9553 |
esac
|
|
9554 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
9555 |
output_verbose_link_cmd=echo |
|
9556 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
9557 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
9558 |
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}" |
|
9559 |
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}" |
|
9560 |
||
9561 |
else
|
|
9562 |
ld_shlibs=no |
|
9563 |
fi
|
|
9564 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
9565 |
;;
|
9566 |
||
9567 |
dgux*)
|
|
9568 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9569 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9570 |
hardcode_shlibpath_var=no |
|
9571 |
;;
|
|
9572 |
||
9573 |
freebsd1*)
|
|
9574 |
ld_shlibs=no |
|
9575 |
;;
|
|
9576 |
||
9577 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
|
9578 |
# support. Future versions do this automatically, but an explicit c++rt0.o
|
|
9579 |
# does not break anything, and helps significantly (at the cost of a little
|
|
9580 |
# extra space).
|
|
9581 |
freebsd2.2*)
|
|
9582 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
9583 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9584 |
hardcode_direct=yes |
|
9585 |
hardcode_shlibpath_var=no |
|
9586 |
;;
|
|
9587 |
||
9588 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
|
9589 |
freebsd2*)
|
|
9590 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9591 |
hardcode_direct=yes |
|
9592 |
hardcode_minus_L=yes |
|
9593 |
hardcode_shlibpath_var=no |
|
9594 |
;;
|
|
9595 |
||
9596 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
|
9597 |
freebsd* | dragonfly*) |
|
9598 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
|
9599 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9600 |
hardcode_direct=yes |
|
9601 |
hardcode_shlibpath_var=no |
|
9602 |
;;
|
|
9603 |
||
9604 |
hpux9*)
|
|
9605 |
if test "$GCC" = yes; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9606 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9607 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9608 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9609 |
fi
|
9610 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9611 |
hardcode_libdir_separator=: |
|
9612 |
hardcode_direct=yes |
|
9613 |
||
9614 |
# hardcode_minus_L: Not really in the search PATH,
|
|
9615 |
# but as the default location of the library.
|
|
9616 |
hardcode_minus_L=yes |
|
9617 |
export_dynamic_flag_spec='${wl}-E' |
|
9618 |
;;
|
|
9619 |
||
9620 |
hpux10*)
|
|
9621 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
9622 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9623 |
else
|
|
9624 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9625 |
fi
|
|
9626 |
if test "$with_gnu_ld" = no; then |
|
9627 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9628 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9629 |
hardcode_libdir_separator=: |
9630 |
hardcode_direct=yes |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9631 |
hardcode_direct_absolute=yes |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9632 |
export_dynamic_flag_spec='${wl}-E' |
9633 |
# hardcode_minus_L: Not really in the search PATH,
|
|
9634 |
# but as the default location of the library.
|
|
9635 |
hardcode_minus_L=yes |
|
9636 |
fi
|
|
9637 |
;;
|
|
9638 |
||
9639 |
hpux11*)
|
|
9640 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
9641 |
case $host_cpu in |
|
9642 |
hppa*64*)
|
|
9643 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9644 |
;;
|
|
9645 |
ia64*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9646 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9647 |
;;
|
9648 |
*)
|
|
9649 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9650 |
;;
|
|
9651 |
esac
|
|
9652 |
else
|
|
9653 |
case $host_cpu in |
|
9654 |
hppa*64*)
|
|
9655 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9656 |
;;
|
|
9657 |
ia64*)
|
|
9658 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9659 |
;;
|
|
9660 |
*)
|
|
9661 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9662 |
;;
|
|
9663 |
esac
|
|
9664 |
fi
|
|
9665 |
if test "$with_gnu_ld" = no; then |
|
9666 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9667 |
hardcode_libdir_separator=: |
|
9668 |
||
9669 |
case $host_cpu in |
|
9670 |
hppa*64*|ia64*) |
|
9671 |
hardcode_direct=no |
|
9672 |
hardcode_shlibpath_var=no |
|
9673 |
;;
|
|
9674 |
*)
|
|
9675 |
hardcode_direct=yes |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9676 |
hardcode_direct_absolute=yes |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9677 |
export_dynamic_flag_spec='${wl}-E' |
9678 |
||
9679 |
# hardcode_minus_L: Not really in the search PATH,
|
|
9680 |
# but as the default location of the library.
|
|
9681 |
hardcode_minus_L=yes |
|
9682 |
;;
|
|
9683 |
esac
|
|
9684 |
fi
|
|
9685 |
;;
|
|
9686 |
||
9687 |
irix5* | irix6* | nonstopux*) |
|
9688 |
if test "$GCC" = yes; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9689 |
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' |
9690 |
# Try to use the -exported_symbol ld option, if it does not
|
|
9691 |
# work, assume that -exports_file does not work either and
|
|
9692 |
# implicitly export all symbols.
|
|
9693 |
save_LDFLAGS="$LDFLAGS" |
|
9694 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
9695 |
cat >conftest.$ac_ext <<_ACEOF |
|
9696 |
int foo(void) {}
|
|
9697 |
_ACEOF
|
|
9698 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
9699 |
if { (ac_try="$ac_link" |
|
9700 |
case "(($ac_try" in |
|
9701 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
9702 |
*) ac_try_echo=$ac_try;; |
|
9703 |
esac
|
|
9704 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
9705 |
$as_echo "$ac_try_echo") >&5 |
|
9706 |
(eval "$ac_link") 2>conftest.er1 |
|
9707 |
ac_status=$? |
|
9708 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9709 |
rm -f conftest.er1 |
|
9710 |
cat conftest.err >&5 |
|
9711 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
9712 |
(exit $ac_status); } && { |
|
9713 |
test -z "$ac_c_werror_flag" || |
|
9714 |
test ! -s conftest.err
|
|
9715 |
} && test -s conftest$ac_exeext && { |
|
9716 |
test "$cross_compiling" = yes || |
|
9717 |
$as_test_x conftest$ac_exeext |
|
9718 |
}; then |
|
9719 |
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' |
|
9720 |
||
9721 |
else
|
|
9722 |
$as_echo "$as_me: failed program was:" >&5 |
|
9723 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
9724 |
||
9725 |
||
9726 |
fi
|
|
9727 |
||
9728 |
rm -rf conftest.dSYM |
|
9729 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
9730 |
conftest$ac_exeext conftest.$ac_ext |
|
9731 |
LDFLAGS="$save_LDFLAGS" |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9732 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9733 |
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' |
9734 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9735 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9736 |
archive_cmds_need_lc='no' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9737 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9738 |
hardcode_libdir_separator=: |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9739 |
inherit_rpath=yes |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9740 |
link_all_deplibs=yes |
9741 |
;;
|
|
9742 |
||
9743 |
netbsd* | netbsdelf*-gnu) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9744 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9745 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
9746 |
else
|
|
9747 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
9748 |
fi
|
|
9749 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9750 |
hardcode_direct=yes |
|
9751 |
hardcode_shlibpath_var=no |
|
9752 |
;;
|
|
9753 |
||
9754 |
newsos6)
|
|
9755 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9756 |
hardcode_direct=yes |
|
9757 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9758 |
hardcode_libdir_separator=: |
|
9759 |
hardcode_shlibpath_var=no |
|
9760 |
;;
|
|
9761 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9762 |
*nto* | *qnx*) |
9763 |
;;
|
|
9764 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
9765 |
openbsd*)
|
9766 |
if test -f /usr/libexec/ld.so; then |
|
9767 |
hardcode_direct=yes |
|
9768 |
hardcode_shlibpath_var=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9769 |
hardcode_direct_absolute=yes |
9770 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9771 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9772 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
9773 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9774 |
export_dynamic_flag_spec='${wl}-E' |
|
9775 |
else
|
|
9776 |
case $host_os in |
|
9777 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
9778 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9779 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9780 |
;;
|
|
9781 |
*)
|
|
9782 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9783 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9784 |
;;
|
|
9785 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9786 |
fi
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9787 |
else
|
9788 |
ld_shlibs=no |
|
9789 |
fi
|
|
9790 |
;;
|
|
9791 |
||
9792 |
os2*)
|
|
9793 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9794 |
hardcode_minus_L=yes |
|
9795 |
allow_undefined_flag=unsupported |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9796 |
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' |
9797 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9798 |
;;
|
9799 |
||
9800 |
osf3*)
|
|
9801 |
if test "$GCC" = yes; then |
|
9802 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9803 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9804 |
else
|
9805 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9806 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9807 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9808 |
archive_cmds_need_lc='no' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9809 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9810 |
hardcode_libdir_separator=: |
|
9811 |
;;
|
|
9812 |
||
9813 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
9814 |
if test "$GCC" = yes; then |
|
9815 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9816 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
9817 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9818 |
else
|
|
9819 |
allow_undefined_flag=' -expect_unresolved \*' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9820 |
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' |
9821 |
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~ |
|
9822 |
$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
by Steve Kowalik
Import upstream version 0.4.0 |
9823 |
|
9824 |
# Both c and cxx compiler support -rpath directly
|
|
9825 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
9826 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9827 |
archive_cmds_need_lc='no' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9828 |
hardcode_libdir_separator=: |
9829 |
;;
|
|
9830 |
||
9831 |
solaris*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9832 |
no_undefined_flag=' -z defs' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9833 |
if test "$GCC" = yes; then |
9834 |
wlarc='${wl}' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9835 |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9836 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9837 |
$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
by Steve Kowalik
Import upstream version 0.4.0 |
9838 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9839 |
case `$CC -V 2>&1` in |
9840 |
*"Compilers 5.0"*) |
|
9841 |
wlarc='' |
|
9842 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9843 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9844 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
|
|
9845 |
;;
|
|
9846 |
*)
|
|
9847 |
wlarc='${wl}' |
|
9848 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9849 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9850 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
|
9851 |
;;
|
|
9852 |
esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9853 |
fi
|
9854 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9855 |
hardcode_shlibpath_var=no |
|
9856 |
case $host_os in |
|
9857 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
9858 |
*)
|
|
9859 |
# The compiler driver will combine and reorder linker options,
|
|
9860 |
# but understands `-z linker_flag'. GCC discards it without `$wl',
|
|
9861 |
# but is careful enough not to reorder.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9862 |
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9863 |
if test "$GCC" = yes; then |
9864 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
9865 |
else
|
|
9866 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
9867 |
fi
|
|
9868 |
;;
|
|
9869 |
esac
|
|
9870 |
link_all_deplibs=yes |
|
9871 |
;;
|
|
9872 |
||
9873 |
sunos4*)
|
|
9874 |
if test "x$host_vendor" = xsequent; then |
|
9875 |
# Use $CC to link under sequent, because it throws in some extra .o
|
|
9876 |
# files that make .init and .fini sections work.
|
|
9877 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9878 |
else
|
|
9879 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
9880 |
fi
|
|
9881 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9882 |
hardcode_direct=yes |
|
9883 |
hardcode_minus_L=yes |
|
9884 |
hardcode_shlibpath_var=no |
|
9885 |
;;
|
|
9886 |
||
9887 |
sysv4)
|
|
9888 |
case $host_vendor in |
|
9889 |
sni)
|
|
9890 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9891 |
hardcode_direct=yes # is this really true??? |
|
9892 |
;;
|
|
9893 |
siemens)
|
|
9894 |
## LD is ld it makes a PLAMLIB
|
|
9895 |
## CC just makes a GrossModule.
|
|
9896 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
9897 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
9898 |
hardcode_direct=no |
|
9899 |
;;
|
|
9900 |
motorola)
|
|
9901 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9902 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
9903 |
;;
|
|
9904 |
esac
|
|
9905 |
runpath_var='LD_RUN_PATH' |
|
9906 |
hardcode_shlibpath_var=no |
|
9907 |
;;
|
|
9908 |
||
9909 |
sysv4.3*)
|
|
9910 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9911 |
hardcode_shlibpath_var=no |
|
9912 |
export_dynamic_flag_spec='-Bexport' |
|
9913 |
;;
|
|
9914 |
||
9915 |
sysv4*MP*)
|
|
9916 |
if test -d /usr/nec; then |
|
9917 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9918 |
hardcode_shlibpath_var=no |
|
9919 |
runpath_var=LD_RUN_PATH |
|
9920 |
hardcode_runpath_var=yes |
|
9921 |
ld_shlibs=yes |
|
9922 |
fi
|
|
9923 |
;;
|
|
9924 |
||
9925 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
9926 |
no_undefined_flag='${wl}-z,text' |
|
9927 |
archive_cmds_need_lc=no |
|
9928 |
hardcode_shlibpath_var=no |
|
9929 |
runpath_var='LD_RUN_PATH' |
|
9930 |
||
9931 |
if test "$GCC" = yes; then |
|
9932 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9933 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9934 |
else
|
|
9935 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9936 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9937 |
fi
|
|
9938 |
;;
|
|
9939 |
||
9940 |
sysv5* | sco3.2v5* | sco5v6*) |
|
9941 |
# Note: We can NOT use -z defs as we might desire, because we do not
|
|
9942 |
# link with -lc, and that would cause any symbols used from libc to
|
|
9943 |
# always be unresolved, which means just about no library would
|
|
9944 |
# ever link correctly. If we're not using GNU ld we use -z text
|
|
9945 |
# though, which does catch some bad symbols but isn't as heavy-handed
|
|
9946 |
# as -z defs.
|
|
9947 |
no_undefined_flag='${wl}-z,text' |
|
9948 |
allow_undefined_flag='${wl}-z,nodefs' |
|
9949 |
archive_cmds_need_lc=no |
|
9950 |
hardcode_shlibpath_var=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9951 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
9952 |
hardcode_libdir_separator=':' |
9953 |
link_all_deplibs=yes |
|
9954 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
9955 |
runpath_var='LD_RUN_PATH' |
|
9956 |
||
9957 |
if test "$GCC" = yes; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9958 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
9959 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9960 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9961 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
9962 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9963 |
fi
|
9964 |
;;
|
|
9965 |
||
9966 |
uts4*)
|
|
9967 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9968 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9969 |
hardcode_shlibpath_var=no |
|
9970 |
;;
|
|
9971 |
||
9972 |
*)
|
|
9973 |
ld_shlibs=no |
|
9974 |
;;
|
|
9975 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9976 |
|
9977 |
if test x$host_vendor = xsni; then |
|
9978 |
case $host in |
|
9979 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
9980 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
9981 |
;;
|
|
9982 |
esac
|
|
9983 |
fi
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9984 |
fi
|
9985 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9986 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
9987 |
$as_echo "$ld_shlibs" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
9988 |
test "$ld_shlibs" = no && can_build_shared=no |
9989 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
9990 |
with_gnu_ld=$with_gnu_ld |
9991 |
||
9992 |
||
9993 |
||
9994 |
||
9995 |
||
9996 |
||
9997 |
||
9998 |
||
9999 |
||
10000 |
||
10001 |
||
10002 |
||
10003 |
||
10004 |
||
10005 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
10006 |
#
|
10007 |
# Do we need to explicitly link libc?
|
|
10008 |
#
|
|
10009 |
case "x$archive_cmds_need_lc" in |
|
10010 |
x|xyes) |
|
10011 |
# Assume -lc should be added
|
|
10012 |
archive_cmds_need_lc=yes |
|
10013 |
||
10014 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
10015 |
case $archive_cmds in |
|
10016 |
*'~'*) |
|
10017 |
# FIXME: we may have to deal with multi-command sequences.
|
|
10018 |
;;
|
|
10019 |
'$CC '*) |
|
10020 |
# Test whether the compiler implicitly links with -lc since on some
|
|
10021 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
|
10022 |
# to ld, don't add -lc before -lgcc.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10023 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
10024 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
10025 |
$RM conftest*
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10026 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10027 |
||
10028 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
10029 |
(eval $ac_compile) 2>&5 |
|
10030 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10031 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10032 |
(exit $ac_status); } 2>conftest.err; then |
10033 |
soname=conftest |
|
10034 |
lib=conftest |
|
10035 |
libobjs=conftest.$ac_objext |
|
10036 |
deplibs= |
|
10037 |
wl=$lt_prog_compiler_wl |
|
10038 |
pic_flag=$lt_prog_compiler_pic |
|
10039 |
compiler_flags=-v |
|
10040 |
linker_flags=-v |
|
10041 |
verstring= |
|
10042 |
output_objdir=. |
|
10043 |
libname=conftest |
|
10044 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
10045 |
allow_undefined_flag= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10046 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
10047 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10048 |
ac_status=$? |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10049 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10050 |
(exit $ac_status); } |
10051 |
then
|
|
10052 |
archive_cmds_need_lc=no |
|
10053 |
else
|
|
10054 |
archive_cmds_need_lc=yes |
|
10055 |
fi
|
|
10056 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
10057 |
else
|
|
10058 |
cat conftest.err 1>&5 |
|
10059 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10060 |
$RM conftest*
|
10061 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
|
10062 |
$as_echo "$archive_cmds_need_lc" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10063 |
;;
|
10064 |
esac
|
|
10065 |
fi
|
|
10066 |
;;
|
|
10067 |
esac
|
|
10068 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10069 |
|
10070 |
||
10071 |
||
10072 |
||
10073 |
||
10074 |
||
10075 |
||
10076 |
||
10077 |
||
10078 |
||
10079 |
||
10080 |
||
10081 |
||
10082 |
||
10083 |
||
10084 |
||
10085 |
||
10086 |
||
10087 |
||
10088 |
||
10089 |
||
10090 |
||
10091 |
||
10092 |
||
10093 |
||
10094 |
||
10095 |
||
10096 |
||
10097 |
||
10098 |
||
10099 |
||
10100 |
||
10101 |
||
10102 |
||
10103 |
||
10104 |
||
10105 |
||
10106 |
||
10107 |
||
10108 |
||
10109 |
||
10110 |
||
10111 |
||
10112 |
||
10113 |
||
10114 |
||
10115 |
||
10116 |
||
10117 |
||
10118 |
||
10119 |
||
10120 |
||
10121 |
||
10122 |
||
10123 |
||
10124 |
||
10125 |
||
10126 |
||
10127 |
||
10128 |
||
10129 |
||
10130 |
||
10131 |
||
10132 |
||
10133 |
||
10134 |
||
10135 |
||
10136 |
||
10137 |
||
10138 |
||
10139 |
||
10140 |
||
10141 |
||
10142 |
||
10143 |
||
10144 |
||
10145 |
||
10146 |
||
10147 |
||
10148 |
||
10149 |
||
10150 |
||
10151 |
||
10152 |
||
10153 |
||
10154 |
||
10155 |
||
10156 |
||
10157 |
||
10158 |
||
10159 |
||
10160 |
||
10161 |
||
10162 |
||
10163 |
||
10164 |
||
10165 |
||
10166 |
||
10167 |
||
10168 |
||
10169 |
||
10170 |
||
10171 |
||
10172 |
||
10173 |
||
10174 |
||
10175 |
||
10176 |
||
10177 |
||
10178 |
||
10179 |
||
10180 |
||
10181 |
||
10182 |
||
10183 |
||
10184 |
||
10185 |
||
10186 |
||
10187 |
||
10188 |
||
10189 |
||
10190 |
||
10191 |
||
10192 |
||
10193 |
||
10194 |
||
10195 |
||
10196 |
||
10197 |
||
10198 |
||
10199 |
||
10200 |
||
10201 |
||
10202 |
||
10203 |
||
10204 |
||
10205 |
||
10206 |
||
10207 |
||
10208 |
||
10209 |
||
10210 |
||
10211 |
||
10212 |
||
10213 |
||
10214 |
||
10215 |
||
10216 |
||
10217 |
||
10218 |
||
10219 |
||
10220 |
||
10221 |
||
10222 |
||
10223 |
||
10224 |
||
10225 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
10226 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10227 |
|
10228 |
if test "$GCC" = yes; then |
|
10229 |
case $host_os in |
|
10230 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
10231 |
*) lt_awk_arg="/^libraries:/" ;; |
|
10232 |
esac
|
|
10233 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10234 |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10235 |
# if the path contains ";" then we assume it to be the separator
|
10236 |
# otherwise default to the standard path separator (i.e. ":") - it is
|
|
10237 |
# assumed that no part of a normal pathname contains ";" but that should
|
|
10238 |
# okay in the real world where ";" in dirpaths is itself problematic.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10239 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10240 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10241 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10242 |
fi
|
10243 |
# Ok, now we have the path, separated by spaces, we can step through it
|
|
10244 |
# and add multilib dir if necessary.
|
|
10245 |
lt_tmp_lt_search_path_spec= |
|
10246 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
10247 |
for lt_sys_path in $lt_search_path_spec; do |
|
10248 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
10249 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
10250 |
else
|
|
10251 |
test -d "$lt_sys_path" && \ |
|
10252 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
10253 |
fi
|
|
10254 |
done
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10255 |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10256 |
BEGIN {RS=" "; FS="/|\n";} {
|
10257 |
lt_foo="";
|
|
10258 |
lt_count=0;
|
|
10259 |
for (lt_i = NF; lt_i > 0; lt_i--) {
|
|
10260 |
if ($lt_i != "" && $lt_i != ".") {
|
|
10261 |
if ($lt_i == "..") {
|
|
10262 |
lt_count++;
|
|
10263 |
} else {
|
|
10264 |
if (lt_count == 0) {
|
|
10265 |
lt_foo="/" $lt_i lt_foo;
|
|
10266 |
} else {
|
|
10267 |
lt_count--;
|
|
10268 |
}
|
|
10269 |
}
|
|
10270 |
}
|
|
10271 |
}
|
|
10272 |
if (lt_foo != "") { lt_freq[lt_foo]++; }
|
|
10273 |
if (lt_freq[lt_foo] == 1) { print lt_foo; }
|
|
10274 |
}'` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10275 |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10276 |
else
|
10277 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
10278 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10279 |
library_names_spec= |
10280 |
libname_spec='lib$name' |
|
10281 |
soname_spec= |
|
10282 |
shrext_cmds=".so" |
|
10283 |
postinstall_cmds= |
|
10284 |
postuninstall_cmds= |
|
10285 |
finish_cmds= |
|
10286 |
finish_eval= |
|
10287 |
shlibpath_var= |
|
10288 |
shlibpath_overrides_runpath=unknown |
|
10289 |
version_type=none |
|
10290 |
dynamic_linker="$host_os ld.so" |
|
10291 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10292 |
need_lib_prefix=unknown |
10293 |
hardcode_into_libs=no |
|
10294 |
||
10295 |
# when you set need_version to no, make sure it does not cause -set_version
|
|
10296 |
# flags to be left without arguments
|
|
10297 |
need_version=unknown |
|
10298 |
||
10299 |
case $host_os in |
|
10300 |
aix3*)
|
|
10301 |
version_type=linux |
|
10302 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
10303 |
shlibpath_var=LIBPATH |
|
10304 |
||
10305 |
# AIX 3 has no versioning support, so we append a major version to the name.
|
|
10306 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10307 |
;;
|
|
10308 |
||
10309 |
aix[4-9]*) |
|
10310 |
version_type=linux |
|
10311 |
need_lib_prefix=no |
|
10312 |
need_version=no |
|
10313 |
hardcode_into_libs=yes |
|
10314 |
if test "$host_cpu" = ia64; then |
|
10315 |
# AIX 5 supports IA64
|
|
10316 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
10317 |
shlibpath_var=LD_LIBRARY_PATH |
|
10318 |
else
|
|
10319 |
# With GCC up to 2.95.x, collect2 would create an import file
|
|
10320 |
# for dependence libraries. The import file would start with
|
|
10321 |
# the line `#! .'. This would cause the generated library to
|
|
10322 |
# depend on `.', always an invalid library. This was fixed in
|
|
10323 |
# development snapshots of GCC prior to 3.0.
|
|
10324 |
case $host_os in |
|
10325 |
aix4 | aix4.[01] | aix4.[01].*) |
|
10326 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
10327 |
echo ' yes ' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10328 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10329 |
: |
10330 |
else
|
|
10331 |
can_build_shared=no |
|
10332 |
fi
|
|
10333 |
;;
|
|
10334 |
esac
|
|
10335 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
|
|
10336 |
# soname into executable. Probably we can add versioning support to
|
|
10337 |
# collect2, so additional links can be useful in future.
|
|
10338 |
if test "$aix_use_runtimelinking" = yes; then |
|
10339 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
|
10340 |
# instead of lib<name>.a to let people know that these are not
|
|
10341 |
# typical AIX shared libraries.
|
|
10342 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10343 |
else
|
|
10344 |
# We preserve .a as extension for shared libraries through AIX4.2
|
|
10345 |
# and later when we are not doing run time linking.
|
|
10346 |
library_names_spec='${libname}${release}.a $libname.a' |
|
10347 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10348 |
fi
|
|
10349 |
shlibpath_var=LIBPATH |
|
10350 |
fi
|
|
10351 |
;;
|
|
10352 |
||
10353 |
amigaos*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10354 |
case $host_cpu in |
10355 |
powerpc)
|
|
10356 |
# Since July 2007 AmigaOS4 officially supports .so libraries.
|
|
10357 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
|
|
10358 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10359 |
;;
|
|
10360 |
m68k)
|
|
10361 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
10362 |
# Create ${libname}_ixlibrary.a entries in /sys/libs.
|
|
10363 |
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' |
|
10364 |
;;
|
|
10365 |
esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10366 |
;;
|
10367 |
||
10368 |
beos*)
|
|
10369 |
library_names_spec='${libname}${shared_ext}' |
|
10370 |
dynamic_linker="$host_os ld.so" |
|
10371 |
shlibpath_var=LIBRARY_PATH |
|
10372 |
;;
|
|
10373 |
||
10374 |
bsdi[45]*) |
|
10375 |
version_type=linux |
|
10376 |
need_version=no |
|
10377 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10378 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10379 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
10380 |
shlibpath_var=LD_LIBRARY_PATH |
|
10381 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
10382 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
10383 |
# the default ld.so.conf also contains /usr/contrib/lib and
|
|
10384 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
|
|
10385 |
# libtool to hard-code these into programs
|
|
10386 |
;;
|
|
10387 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10388 |
cygwin* | mingw* | pw32* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10389 |
version_type=windows |
10390 |
shrext_cmds=".dll" |
|
10391 |
need_version=no |
|
10392 |
need_lib_prefix=no |
|
10393 |
||
10394 |
case $GCC,$host_os in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10395 |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10396 |
library_names_spec='$libname.dll.a' |
10397 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds
|
|
10398 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10399 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10400 |
dldir=$destdir/`dirname \$dlpath`~
|
10401 |
test -d \$dldir || mkdir -p \$dldir~
|
|
10402 |
$install_prog $dir/$dlname \$dldir/$dlname~
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10403 |
chmod a+x \$dldir/$dlname~
|
10404 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
10405 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
10406 |
fi'
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10407 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10408 |
dlpath=$dir/\$dldll~
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10409 |
$RM \$dlpath'
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10410 |
shlibpath_overrides_runpath=yes |
10411 |
||
10412 |
case $host_os in |
|
10413 |
cygwin*)
|
|
10414 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
|
10415 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10416 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
10417 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10418 |
mingw* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10419 |
# MinGW DLLs use traditional 'lib' prefix
|
10420 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10421 |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
10422 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10423 |
# It is most probably a Windows format PATH printed by
|
10424 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search
|
|
10425 |
# path with ; separators, and with drive letters. We can handle the
|
|
10426 |
# drive letters (cygwin fileutils understands them), so leave them,
|
|
10427 |
# especially as we might pass files found there to a mingw objdump,
|
|
10428 |
# which wouldn't understand a cygwinified path. Ahh.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10429 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10430 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10431 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10432 |
fi
|
10433 |
;;
|
|
10434 |
pw32*)
|
|
10435 |
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
|
10436 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
10437 |
;;
|
|
10438 |
esac
|
|
10439 |
;;
|
|
10440 |
||
10441 |
*)
|
|
10442 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
10443 |
;;
|
|
10444 |
esac
|
|
10445 |
dynamic_linker='Win32 ld.exe' |
|
10446 |
# FIXME: first we should search . and the directory the executable is in
|
|
10447 |
shlibpath_var=PATH |
|
10448 |
;;
|
|
10449 |
||
10450 |
darwin* | rhapsody*) |
|
10451 |
dynamic_linker="$host_os dyld" |
|
10452 |
version_type=darwin |
|
10453 |
need_lib_prefix=no |
|
10454 |
need_version=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10455 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10456 |
soname_spec='${libname}${release}${major}$shared_ext' |
10457 |
shlibpath_overrides_runpath=yes |
|
10458 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
10459 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
10460 |
||
10461 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
10462 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
10463 |
;;
|
|
10464 |
||
10465 |
dgux*)
|
|
10466 |
version_type=linux |
|
10467 |
need_lib_prefix=no |
|
10468 |
need_version=no |
|
10469 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
10470 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10471 |
shlibpath_var=LD_LIBRARY_PATH |
|
10472 |
;;
|
|
10473 |
||
10474 |
freebsd1*)
|
|
10475 |
dynamic_linker=no |
|
10476 |
;;
|
|
10477 |
||
10478 |
freebsd* | dragonfly*) |
|
10479 |
# DragonFly does not have aout. When/if they implement a new
|
|
10480 |
# versioning mechanism, adjust this.
|
|
10481 |
if test -x /usr/bin/objformat; then |
|
10482 |
objformat=`/usr/bin/objformat` |
|
10483 |
else
|
|
10484 |
case $host_os in |
|
10485 |
freebsd[123]*) objformat=aout ;; |
|
10486 |
*) objformat=elf ;; |
|
10487 |
esac
|
|
10488 |
fi
|
|
10489 |
version_type=freebsd-$objformat |
|
10490 |
case $version_type in |
|
10491 |
freebsd-elf*)
|
|
10492 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10493 |
need_version=no |
|
10494 |
need_lib_prefix=no |
|
10495 |
;;
|
|
10496 |
freebsd-*)
|
|
10497 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
10498 |
need_version=yes |
|
10499 |
;;
|
|
10500 |
esac
|
|
10501 |
shlibpath_var=LD_LIBRARY_PATH |
|
10502 |
case $host_os in |
|
10503 |
freebsd2*)
|
|
10504 |
shlibpath_overrides_runpath=yes |
|
10505 |
;;
|
|
10506 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
10507 |
shlibpath_overrides_runpath=yes |
|
10508 |
hardcode_into_libs=yes |
|
10509 |
;;
|
|
10510 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
10511 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
10512 |
shlibpath_overrides_runpath=no |
|
10513 |
hardcode_into_libs=yes |
|
10514 |
;;
|
|
10515 |
*) # from 4.6 on, and DragonFly |
|
10516 |
shlibpath_overrides_runpath=yes |
|
10517 |
hardcode_into_libs=yes |
|
10518 |
;;
|
|
10519 |
esac
|
|
10520 |
;;
|
|
10521 |
||
10522 |
gnu*)
|
|
10523 |
version_type=linux |
|
10524 |
need_lib_prefix=no |
|
10525 |
need_version=no |
|
10526 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10527 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10528 |
shlibpath_var=LD_LIBRARY_PATH |
|
10529 |
hardcode_into_libs=yes |
|
10530 |
;;
|
|
10531 |
||
10532 |
hpux9* | hpux10* | hpux11*) |
|
10533 |
# Give a soname corresponding to the major version so that dld.sl refuses to
|
|
10534 |
# link against other versions.
|
|
10535 |
version_type=sunos |
|
10536 |
need_lib_prefix=no |
|
10537 |
need_version=no |
|
10538 |
case $host_cpu in |
|
10539 |
ia64*)
|
|
10540 |
shrext_cmds='.so' |
|
10541 |
hardcode_into_libs=yes |
|
10542 |
dynamic_linker="$host_os dld.so" |
|
10543 |
shlibpath_var=LD_LIBRARY_PATH |
|
10544 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10545 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10546 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10547 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
10548 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
10549 |
else
|
|
10550 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
10551 |
fi
|
|
10552 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10553 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10554 |
hppa*64*)
|
10555 |
shrext_cmds='.sl' |
|
10556 |
hardcode_into_libs=yes |
|
10557 |
dynamic_linker="$host_os dld.sl" |
|
10558 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
10559 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10560 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10561 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10562 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
10563 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10564 |
;;
|
|
10565 |
*)
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10566 |
shrext_cmds='.sl' |
10567 |
dynamic_linker="$host_os dld.sl" |
|
10568 |
shlibpath_var=SHLIB_PATH |
|
10569 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
10570 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10571 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10572 |
;;
|
|
10573 |
esac
|
|
10574 |
# HP-UX runs *really* slowly unless shared libraries are mode 555.
|
|
10575 |
postinstall_cmds='chmod 555 $lib' |
|
10576 |
;;
|
|
10577 |
||
10578 |
interix[3-9]*) |
|
10579 |
version_type=linux |
|
10580 |
need_lib_prefix=no |
|
10581 |
need_version=no |
|
10582 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10583 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10584 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
10585 |
shlibpath_var=LD_LIBRARY_PATH |
|
10586 |
shlibpath_overrides_runpath=no |
|
10587 |
hardcode_into_libs=yes |
|
10588 |
;;
|
|
10589 |
||
10590 |
irix5* | irix6* | nonstopux*) |
|
10591 |
case $host_os in |
|
10592 |
nonstopux*) version_type=nonstopux ;; |
|
10593 |
*)
|
|
10594 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
10595 |
version_type=linux |
|
10596 |
else
|
|
10597 |
version_type=irix |
|
10598 |
fi ;; |
|
10599 |
esac
|
|
10600 |
need_lib_prefix=no |
|
10601 |
need_version=no |
|
10602 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10603 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10604 |
case $host_os in |
|
10605 |
irix5* | nonstopux*) |
|
10606 |
libsuff= shlibsuff= |
|
10607 |
;;
|
|
10608 |
*)
|
|
10609 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
10610 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
10611 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
10612 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
10613 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
10614 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
10615 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
10616 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
10617 |
esac
|
|
10618 |
;;
|
|
10619 |
esac
|
|
10620 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
10621 |
shlibpath_overrides_runpath=no |
|
10622 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
10623 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
10624 |
hardcode_into_libs=yes |
|
10625 |
;;
|
|
10626 |
||
10627 |
# No shared lib support for Linux oldld, aout, or coff.
|
|
10628 |
linux*oldld* | linux*aout* | linux*coff*) |
|
10629 |
dynamic_linker=no |
|
10630 |
;;
|
|
10631 |
||
10632 |
# This must be Linux ELF.
|
|
10633 |
linux* | k*bsd*-gnu) |
|
10634 |
version_type=linux |
|
10635 |
need_lib_prefix=no |
|
10636 |
need_version=no |
|
10637 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10638 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10639 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
10640 |
shlibpath_var=LD_LIBRARY_PATH |
|
10641 |
shlibpath_overrides_runpath=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10642 |
# Some binutils ld are patched to set DT_RUNPATH
|
10643 |
save_LDFLAGS=$LDFLAGS |
|
10644 |
save_libdir=$libdir |
|
10645 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
10646 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
10647 |
cat >conftest.$ac_ext <<_ACEOF |
|
10648 |
/* confdefs.h. */
|
|
10649 |
_ACEOF
|
|
10650 |
cat confdefs.h >>conftest.$ac_ext
|
|
10651 |
cat >>conftest.$ac_ext <<_ACEOF |
|
10652 |
/* end confdefs.h. */
|
|
10653 |
||
10654 |
int
|
|
10655 |
main ()
|
|
10656 |
{
|
|
10657 |
||
10658 |
;
|
|
10659 |
return 0;
|
|
10660 |
}
|
|
10661 |
_ACEOF
|
|
10662 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
10663 |
if { (ac_try="$ac_link" |
|
10664 |
case "(($ac_try" in |
|
10665 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
10666 |
*) ac_try_echo=$ac_try;; |
|
10667 |
esac
|
|
10668 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
10669 |
$as_echo "$ac_try_echo") >&5 |
|
10670 |
(eval "$ac_link") 2>conftest.er1 |
|
10671 |
ac_status=$? |
|
10672 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
10673 |
rm -f conftest.er1 |
|
10674 |
cat conftest.err >&5 |
|
10675 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
10676 |
(exit $ac_status); } && { |
|
10677 |
test -z "$ac_c_werror_flag" || |
|
10678 |
test ! -s conftest.err
|
|
10679 |
} && test -s conftest$ac_exeext && { |
|
10680 |
test "$cross_compiling" = yes || |
|
10681 |
$as_test_x conftest$ac_exeext |
|
10682 |
}; then |
|
10683 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then |
|
10684 |
shlibpath_overrides_runpath=yes |
|
10685 |
fi
|
|
10686 |
||
10687 |
else
|
|
10688 |
$as_echo "$as_me: failed program was:" >&5 |
|
10689 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
10690 |
||
10691 |
||
10692 |
fi
|
|
10693 |
||
10694 |
rm -rf conftest.dSYM |
|
10695 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
10696 |
conftest$ac_exeext conftest.$ac_ext |
|
10697 |
LDFLAGS=$save_LDFLAGS |
|
10698 |
libdir=$save_libdir |
|
10699 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
10700 |
# This implies no fast_install, which is unacceptable.
|
10701 |
# Some rework will be needed to allow for fast_install
|
|
10702 |
# before this can be enabled.
|
|
10703 |
hardcode_into_libs=yes |
|
10704 |
||
10705 |
# Append ld.so.conf contents to the search path
|
|
10706 |
if test -f /etc/ld.so.conf; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10707 |
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
by Steve Kowalik
Import upstream version 0.4.0 |
10708 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
10709 |
fi
|
|
10710 |
||
10711 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
10712 |
# powerpc, because MkLinux only supported shared libraries with the
|
|
10713 |
# GNU dynamic linker. Since this was broken with cross compilers,
|
|
10714 |
# most powerpc-linux boxes support dynamic linking these days and
|
|
10715 |
# people can always --disable-shared, the test was removed, and we
|
|
10716 |
# assume the GNU/Linux dynamic linker is in use.
|
|
10717 |
dynamic_linker='GNU/Linux ld.so' |
|
10718 |
;;
|
|
10719 |
||
10720 |
netbsdelf*-gnu)
|
|
10721 |
version_type=linux |
|
10722 |
need_lib_prefix=no |
|
10723 |
need_version=no |
|
10724 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10725 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10726 |
shlibpath_var=LD_LIBRARY_PATH |
|
10727 |
shlibpath_overrides_runpath=no |
|
10728 |
hardcode_into_libs=yes |
|
10729 |
dynamic_linker='NetBSD ld.elf_so' |
|
10730 |
;;
|
|
10731 |
||
10732 |
netbsd*)
|
|
10733 |
version_type=sunos |
|
10734 |
need_lib_prefix=no |
|
10735 |
need_version=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10736 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10737 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
10738 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10739 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
10740 |
else
|
|
10741 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10742 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10743 |
dynamic_linker='NetBSD ld.elf_so' |
|
10744 |
fi
|
|
10745 |
shlibpath_var=LD_LIBRARY_PATH |
|
10746 |
shlibpath_overrides_runpath=yes |
|
10747 |
hardcode_into_libs=yes |
|
10748 |
;;
|
|
10749 |
||
10750 |
newsos6)
|
|
10751 |
version_type=linux |
|
10752 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10753 |
shlibpath_var=LD_LIBRARY_PATH |
|
10754 |
shlibpath_overrides_runpath=yes |
|
10755 |
;;
|
|
10756 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10757 |
*nto* | *qnx*) |
10758 |
version_type=qnx |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10759 |
need_lib_prefix=no |
10760 |
need_version=no |
|
10761 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10762 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10763 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10764 |
shlibpath_overrides_runpath=no |
10765 |
hardcode_into_libs=yes |
|
10766 |
dynamic_linker='ldqnx.so' |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10767 |
;;
|
10768 |
||
10769 |
openbsd*)
|
|
10770 |
version_type=sunos |
|
10771 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
10772 |
need_lib_prefix=no |
|
10773 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
10774 |
case $host_os in |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10775 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
10776 |
*) need_version=no ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10777 |
esac
|
10778 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10779 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10780 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10781 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10782 |
case $host_os in |
10783 |
openbsd2.[89] | openbsd2.[89].*) |
|
10784 |
shlibpath_overrides_runpath=no |
|
10785 |
;;
|
|
10786 |
*)
|
|
10787 |
shlibpath_overrides_runpath=yes |
|
10788 |
;;
|
|
10789 |
esac
|
|
10790 |
else
|
|
10791 |
shlibpath_overrides_runpath=yes |
|
10792 |
fi
|
|
10793 |
;;
|
|
10794 |
||
10795 |
os2*)
|
|
10796 |
libname_spec='$name' |
|
10797 |
shrext_cmds=".dll" |
|
10798 |
need_lib_prefix=no |
|
10799 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
10800 |
dynamic_linker='OS/2 ld.exe' |
|
10801 |
shlibpath_var=LIBPATH |
|
10802 |
;;
|
|
10803 |
||
10804 |
osf3* | osf4* | osf5*) |
|
10805 |
version_type=osf |
|
10806 |
need_lib_prefix=no |
|
10807 |
need_version=no |
|
10808 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10809 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10810 |
shlibpath_var=LD_LIBRARY_PATH |
|
10811 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
10812 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
10813 |
;;
|
|
10814 |
||
10815 |
rdos*)
|
|
10816 |
dynamic_linker=no |
|
10817 |
;;
|
|
10818 |
||
10819 |
solaris*)
|
|
10820 |
version_type=linux |
|
10821 |
need_lib_prefix=no |
|
10822 |
need_version=no |
|
10823 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10824 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10825 |
shlibpath_var=LD_LIBRARY_PATH |
|
10826 |
shlibpath_overrides_runpath=yes |
|
10827 |
hardcode_into_libs=yes |
|
10828 |
# ldd complains unless libraries are executable
|
|
10829 |
postinstall_cmds='chmod +x $lib' |
|
10830 |
;;
|
|
10831 |
||
10832 |
sunos4*)
|
|
10833 |
version_type=sunos |
|
10834 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10835 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
10836 |
shlibpath_var=LD_LIBRARY_PATH |
|
10837 |
shlibpath_overrides_runpath=yes |
|
10838 |
if test "$with_gnu_ld" = yes; then |
|
10839 |
need_lib_prefix=no |
|
10840 |
fi
|
|
10841 |
need_version=yes |
|
10842 |
;;
|
|
10843 |
||
10844 |
sysv4 | sysv4.3*) |
|
10845 |
version_type=linux |
|
10846 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10847 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10848 |
shlibpath_var=LD_LIBRARY_PATH |
|
10849 |
case $host_vendor in |
|
10850 |
sni)
|
|
10851 |
shlibpath_overrides_runpath=no |
|
10852 |
need_lib_prefix=no |
|
10853 |
runpath_var=LD_RUN_PATH |
|
10854 |
;;
|
|
10855 |
siemens)
|
|
10856 |
need_lib_prefix=no |
|
10857 |
;;
|
|
10858 |
motorola)
|
|
10859 |
need_lib_prefix=no |
|
10860 |
need_version=no |
|
10861 |
shlibpath_overrides_runpath=no |
|
10862 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
10863 |
;;
|
|
10864 |
esac
|
|
10865 |
;;
|
|
10866 |
||
10867 |
sysv4*MP*)
|
|
10868 |
if test -d /usr/nec ;then |
|
10869 |
version_type=linux |
|
10870 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
10871 |
soname_spec='$libname${shared_ext}.$major' |
|
10872 |
shlibpath_var=LD_LIBRARY_PATH |
|
10873 |
fi
|
|
10874 |
;;
|
|
10875 |
||
10876 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
10877 |
version_type=freebsd-elf |
|
10878 |
need_lib_prefix=no |
|
10879 |
need_version=no |
|
10880 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10881 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10882 |
shlibpath_var=LD_LIBRARY_PATH |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10883 |
shlibpath_overrides_runpath=yes |
1
by Steve Kowalik
Import upstream version 0.4.0 |
10884 |
hardcode_into_libs=yes |
10885 |
if test "$with_gnu_ld" = yes; then |
|
10886 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
10887 |
else
|
|
10888 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
10889 |
case $host_os in |
|
10890 |
sco3.2v5*)
|
|
10891 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
10892 |
;;
|
|
10893 |
esac
|
|
10894 |
fi
|
|
10895 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
10896 |
;;
|
|
10897 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10898 |
tpf*)
|
10899 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
|
10900 |
version_type=linux |
|
10901 |
need_lib_prefix=no |
|
10902 |
need_version=no |
|
10903 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10904 |
shlibpath_var=LD_LIBRARY_PATH |
|
10905 |
shlibpath_overrides_runpath=no |
|
10906 |
hardcode_into_libs=yes |
|
10907 |
;;
|
|
10908 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
10909 |
uts4*)
|
10910 |
version_type=linux |
|
10911 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10912 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10913 |
shlibpath_var=LD_LIBRARY_PATH |
|
10914 |
;;
|
|
10915 |
||
10916 |
*)
|
|
10917 |
dynamic_linker=no |
|
10918 |
;;
|
|
10919 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10920 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
10921 |
$as_echo "$dynamic_linker" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
10922 |
test "$dynamic_linker" = no && can_build_shared=no |
10923 |
||
10924 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
10925 |
if test "$GCC" = yes; then |
|
10926 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
10927 |
fi
|
|
10928 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
10929 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
10930 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
10931 |
fi
|
|
10932 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
10933 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
10934 |
fi
|
|
10935 |
||
10936 |
||
10937 |
||
10938 |
||
10939 |
||
10940 |
||
10941 |
||
10942 |
||
10943 |
||
10944 |
||
10945 |
||
10946 |
||
10947 |
||
10948 |
||
10949 |
||
10950 |
||
10951 |
||
10952 |
||
10953 |
||
10954 |
||
10955 |
||
10956 |
||
10957 |
||
10958 |
||
10959 |
||
10960 |
||
10961 |
||
10962 |
||
10963 |
||
10964 |
||
10965 |
||
10966 |
||
10967 |
||
10968 |
||
10969 |
||
10970 |
||
10971 |
||
10972 |
||
10973 |
||
10974 |
||
10975 |
||
10976 |
||
10977 |
||
10978 |
||
10979 |
||
10980 |
||
10981 |
||
10982 |
||
10983 |
||
10984 |
||
10985 |
||
10986 |
||
10987 |
||
10988 |
||
10989 |
||
10990 |
||
10991 |
||
10992 |
||
10993 |
||
10994 |
||
10995 |
||
10996 |
||
10997 |
||
10998 |
||
10999 |
||
11000 |
||
11001 |
||
11002 |
||
11003 |
||
11004 |
||
11005 |
||
11006 |
||
11007 |
||
11008 |
||
11009 |
||
11010 |
||
11011 |
||
11012 |
||
11013 |
||
11014 |
||
11015 |
||
11016 |
||
11017 |
||
11018 |
||
11019 |
||
11020 |
||
11021 |
||
11022 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
11023 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11024 |
hardcode_action= |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11025 |
if test -n "$hardcode_libdir_flag_spec" || |
11026 |
test -n "$runpath_var" || |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11027 |
test "X$hardcode_automatic" = "Xyes" ; then |
11028 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11029 |
# We can hardcode non-existent directories.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11030 |
if test "$hardcode_direct" != no && |
11031 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we
|
|
11032 |
# have to relink, otherwise we might link with an installed library
|
|
11033 |
# when we should be linking with a yet-to-be-installed one
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11034 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11035 |
test "$hardcode_minus_L" != no; then |
11036 |
# Linking always hardcodes the temporary library directory.
|
|
11037 |
hardcode_action=relink |
|
11038 |
else
|
|
11039 |
# We can link without hardcoding, and we can hardcode nonexisting dirs.
|
|
11040 |
hardcode_action=immediate |
|
11041 |
fi
|
|
11042 |
else
|
|
11043 |
# We cannot hardcode anything, or else we can only hardcode existing
|
|
11044 |
# directories.
|
|
11045 |
hardcode_action=unsupported |
|
11046 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11047 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
11048 |
$as_echo "$hardcode_action" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11049 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11050 |
if test "$hardcode_action" = relink || |
11051 |
test "$inherit_rpath" = yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11052 |
# Fast installation is not supported
|
11053 |
enable_fast_install=no |
|
11054 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
11055 |
test "$enable_shared" = no; then |
|
11056 |
# Fast installation is not necessary
|
|
11057 |
enable_fast_install=needless |
|
11058 |
fi
|
|
11059 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11060 |
|
11061 |
||
11062 |
||
11063 |
||
11064 |
||
11065 |
if test "x$enable_dlopen" != xyes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11066 |
enable_dlopen=unknown |
11067 |
enable_dlopen_self=unknown |
|
11068 |
enable_dlopen_self_static=unknown |
|
11069 |
else
|
|
11070 |
lt_cv_dlopen=no |
|
11071 |
lt_cv_dlopen_libs= |
|
11072 |
||
11073 |
case $host_os in |
|
11074 |
beos*)
|
|
11075 |
lt_cv_dlopen="load_add_on" |
|
11076 |
lt_cv_dlopen_libs= |
|
11077 |
lt_cv_dlopen_self=yes |
|
11078 |
;;
|
|
11079 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11080 |
mingw* | pw32* | cegcc*) |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11081 |
lt_cv_dlopen="LoadLibrary" |
11082 |
lt_cv_dlopen_libs= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11083 |
;;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11084 |
|
11085 |
cygwin*)
|
|
11086 |
lt_cv_dlopen="dlopen" |
|
11087 |
lt_cv_dlopen_libs= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11088 |
;;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11089 |
|
11090 |
darwin*)
|
|
11091 |
# if libdl is installed we need to link against it
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11092 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
11093 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11094 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11095 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11096 |
else
|
11097 |
ac_check_lib_save_LIBS=$LIBS |
|
11098 |
LIBS="-ldl $LIBS" |
|
11099 |
cat >conftest.$ac_ext <<_ACEOF |
|
11100 |
/* confdefs.h. */
|
|
11101 |
_ACEOF
|
|
11102 |
cat confdefs.h >>conftest.$ac_ext
|
|
11103 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11104 |
/* end confdefs.h. */
|
|
11105 |
||
11106 |
/* Override any GCC internal prototype to avoid an error.
|
|
11107 |
Use char because int might match the return type of a GCC
|
|
11108 |
builtin and then its argument prototype would still apply. */
|
|
11109 |
#ifdef __cplusplus
|
|
11110 |
extern "C"
|
|
11111 |
#endif
|
|
11112 |
char dlopen ();
|
|
11113 |
int
|
|
11114 |
main ()
|
|
11115 |
{
|
|
11116 |
return dlopen ();
|
|
11117 |
;
|
|
11118 |
return 0;
|
|
11119 |
}
|
|
11120 |
_ACEOF
|
|
11121 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11122 |
if { (ac_try="$ac_link" |
|
11123 |
case "(($ac_try" in |
|
11124 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11125 |
*) ac_try_echo=$ac_try;; |
|
11126 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11127 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11128 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11129 |
(eval "$ac_link") 2>conftest.er1 |
11130 |
ac_status=$? |
|
11131 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11132 |
rm -f conftest.er1 |
|
11133 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11134 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11135 |
(exit $ac_status); } && { |
11136 |
test -z "$ac_c_werror_flag" || |
|
11137 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11138 |
} && test -s conftest$ac_exeext && { |
11139 |
test "$cross_compiling" = yes || |
|
11140 |
$as_test_x conftest$ac_exeext |
|
11141 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11142 |
ac_cv_lib_dl_dlopen=yes |
11143 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11144 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11145 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11146 |
||
11147 |
ac_cv_lib_dl_dlopen=no |
|
11148 |
fi
|
|
11149 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11150 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11151 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11152 |
conftest$ac_exeext conftest.$ac_ext |
|
11153 |
LIBS=$ac_check_lib_save_LIBS |
|
11154 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11155 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
11156 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
11157 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11158 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11159 |
else
|
|
11160 |
||
11161 |
lt_cv_dlopen="dyld" |
|
11162 |
lt_cv_dlopen_libs= |
|
11163 |
lt_cv_dlopen_self=yes |
|
11164 |
||
11165 |
fi
|
|
11166 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11167 |
;;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11168 |
|
11169 |
*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11170 |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
11171 |
$as_echo_n "checking for shl_load... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11172 |
if test "${ac_cv_func_shl_load+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11173 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11174 |
else
|
11175 |
cat >conftest.$ac_ext <<_ACEOF |
|
11176 |
/* confdefs.h. */
|
|
11177 |
_ACEOF
|
|
11178 |
cat confdefs.h >>conftest.$ac_ext
|
|
11179 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11180 |
/* end confdefs.h. */
|
|
11181 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|
|
11182 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
11183 |
#define shl_load innocuous_shl_load
|
|
11184 |
||
11185 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
11186 |
which can conflict with char shl_load (); below.
|
|
11187 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
11188 |
<limits.h> exists even on freestanding compilers. */
|
|
11189 |
||
11190 |
#ifdef __STDC__
|
|
11191 |
# include <limits.h>
|
|
11192 |
#else
|
|
11193 |
# include <assert.h>
|
|
11194 |
#endif
|
|
11195 |
||
11196 |
#undef shl_load
|
|
11197 |
||
11198 |
/* Override any GCC internal prototype to avoid an error.
|
|
11199 |
Use char because int might match the return type of a GCC
|
|
11200 |
builtin and then its argument prototype would still apply. */
|
|
11201 |
#ifdef __cplusplus
|
|
11202 |
extern "C"
|
|
11203 |
#endif
|
|
11204 |
char shl_load ();
|
|
11205 |
/* The GNU C library defines this for functions which it implements
|
|
11206 |
to always fail with ENOSYS. Some functions are actually named
|
|
11207 |
something starting with __ and the normal name is an alias. */
|
|
11208 |
#if defined __stub_shl_load || defined __stub___shl_load
|
|
11209 |
choke me
|
|
11210 |
#endif
|
|
11211 |
||
11212 |
int
|
|
11213 |
main ()
|
|
11214 |
{
|
|
11215 |
return shl_load ();
|
|
11216 |
;
|
|
11217 |
return 0;
|
|
11218 |
}
|
|
11219 |
_ACEOF
|
|
11220 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11221 |
if { (ac_try="$ac_link" |
|
11222 |
case "(($ac_try" in |
|
11223 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11224 |
*) ac_try_echo=$ac_try;; |
|
11225 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11226 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11227 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11228 |
(eval "$ac_link") 2>conftest.er1 |
11229 |
ac_status=$? |
|
11230 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11231 |
rm -f conftest.er1 |
|
11232 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11233 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11234 |
(exit $ac_status); } && { |
11235 |
test -z "$ac_c_werror_flag" || |
|
11236 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11237 |
} && test -s conftest$ac_exeext && { |
11238 |
test "$cross_compiling" = yes || |
|
11239 |
$as_test_x conftest$ac_exeext |
|
11240 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11241 |
ac_cv_func_shl_load=yes |
11242 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11243 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11244 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11245 |
||
11246 |
ac_cv_func_shl_load=no |
|
11247 |
fi
|
|
11248 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11249 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11250 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11251 |
conftest$ac_exeext conftest.$ac_ext |
|
11252 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11253 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
11254 |
$as_echo "$ac_cv_func_shl_load" >&6; } |
|
11255 |
if test "x$ac_cv_func_shl_load" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11256 |
lt_cv_dlopen="shl_load" |
11257 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11258 |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
11259 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11260 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11261 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11262 |
else
|
11263 |
ac_check_lib_save_LIBS=$LIBS |
|
11264 |
LIBS="-ldld $LIBS" |
|
11265 |
cat >conftest.$ac_ext <<_ACEOF |
|
11266 |
/* confdefs.h. */
|
|
11267 |
_ACEOF
|
|
11268 |
cat confdefs.h >>conftest.$ac_ext
|
|
11269 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11270 |
/* end confdefs.h. */
|
|
11271 |
||
11272 |
/* Override any GCC internal prototype to avoid an error.
|
|
11273 |
Use char because int might match the return type of a GCC
|
|
11274 |
builtin and then its argument prototype would still apply. */
|
|
11275 |
#ifdef __cplusplus
|
|
11276 |
extern "C"
|
|
11277 |
#endif
|
|
11278 |
char shl_load ();
|
|
11279 |
int
|
|
11280 |
main ()
|
|
11281 |
{
|
|
11282 |
return shl_load ();
|
|
11283 |
;
|
|
11284 |
return 0;
|
|
11285 |
}
|
|
11286 |
_ACEOF
|
|
11287 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11288 |
if { (ac_try="$ac_link" |
|
11289 |
case "(($ac_try" in |
|
11290 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11291 |
*) ac_try_echo=$ac_try;; |
|
11292 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11293 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11294 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11295 |
(eval "$ac_link") 2>conftest.er1 |
11296 |
ac_status=$? |
|
11297 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11298 |
rm -f conftest.er1 |
|
11299 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11300 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11301 |
(exit $ac_status); } && { |
11302 |
test -z "$ac_c_werror_flag" || |
|
11303 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11304 |
} && test -s conftest$ac_exeext && { |
11305 |
test "$cross_compiling" = yes || |
|
11306 |
$as_test_x conftest$ac_exeext |
|
11307 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11308 |
ac_cv_lib_dld_shl_load=yes |
11309 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11310 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11311 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11312 |
||
11313 |
ac_cv_lib_dld_shl_load=no |
|
11314 |
fi
|
|
11315 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11316 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11317 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11318 |
conftest$ac_exeext conftest.$ac_ext |
|
11319 |
LIBS=$ac_check_lib_save_LIBS |
|
11320 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11321 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
11322 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
11323 |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11324 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11325 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11326 |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 |
11327 |
$as_echo_n "checking for dlopen... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11328 |
if test "${ac_cv_func_dlopen+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11329 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11330 |
else
|
11331 |
cat >conftest.$ac_ext <<_ACEOF |
|
11332 |
/* confdefs.h. */
|
|
11333 |
_ACEOF
|
|
11334 |
cat confdefs.h >>conftest.$ac_ext
|
|
11335 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11336 |
/* end confdefs.h. */
|
|
11337 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|
|
11338 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
11339 |
#define dlopen innocuous_dlopen
|
|
11340 |
||
11341 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
11342 |
which can conflict with char dlopen (); below.
|
|
11343 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
11344 |
<limits.h> exists even on freestanding compilers. */
|
|
11345 |
||
11346 |
#ifdef __STDC__
|
|
11347 |
# include <limits.h>
|
|
11348 |
#else
|
|
11349 |
# include <assert.h>
|
|
11350 |
#endif
|
|
11351 |
||
11352 |
#undef dlopen
|
|
11353 |
||
11354 |
/* Override any GCC internal prototype to avoid an error.
|
|
11355 |
Use char because int might match the return type of a GCC
|
|
11356 |
builtin and then its argument prototype would still apply. */
|
|
11357 |
#ifdef __cplusplus
|
|
11358 |
extern "C"
|
|
11359 |
#endif
|
|
11360 |
char dlopen ();
|
|
11361 |
/* The GNU C library defines this for functions which it implements
|
|
11362 |
to always fail with ENOSYS. Some functions are actually named
|
|
11363 |
something starting with __ and the normal name is an alias. */
|
|
11364 |
#if defined __stub_dlopen || defined __stub___dlopen
|
|
11365 |
choke me
|
|
11366 |
#endif
|
|
11367 |
||
11368 |
int
|
|
11369 |
main ()
|
|
11370 |
{
|
|
11371 |
return dlopen ();
|
|
11372 |
;
|
|
11373 |
return 0;
|
|
11374 |
}
|
|
11375 |
_ACEOF
|
|
11376 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11377 |
if { (ac_try="$ac_link" |
|
11378 |
case "(($ac_try" in |
|
11379 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11380 |
*) ac_try_echo=$ac_try;; |
|
11381 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11382 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11383 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11384 |
(eval "$ac_link") 2>conftest.er1 |
11385 |
ac_status=$? |
|
11386 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11387 |
rm -f conftest.er1 |
|
11388 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11389 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11390 |
(exit $ac_status); } && { |
11391 |
test -z "$ac_c_werror_flag" || |
|
11392 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11393 |
} && test -s conftest$ac_exeext && { |
11394 |
test "$cross_compiling" = yes || |
|
11395 |
$as_test_x conftest$ac_exeext |
|
11396 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11397 |
ac_cv_func_dlopen=yes |
11398 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11399 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11400 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11401 |
||
11402 |
ac_cv_func_dlopen=no |
|
11403 |
fi
|
|
11404 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11405 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11406 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11407 |
conftest$ac_exeext conftest.$ac_ext |
|
11408 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11409 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
11410 |
$as_echo "$ac_cv_func_dlopen" >&6; } |
|
11411 |
if test "x$ac_cv_func_dlopen" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11412 |
lt_cv_dlopen="dlopen" |
11413 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11414 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
11415 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11416 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11417 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11418 |
else
|
11419 |
ac_check_lib_save_LIBS=$LIBS |
|
11420 |
LIBS="-ldl $LIBS" |
|
11421 |
cat >conftest.$ac_ext <<_ACEOF |
|
11422 |
/* confdefs.h. */
|
|
11423 |
_ACEOF
|
|
11424 |
cat confdefs.h >>conftest.$ac_ext
|
|
11425 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11426 |
/* end confdefs.h. */
|
|
11427 |
||
11428 |
/* Override any GCC internal prototype to avoid an error.
|
|
11429 |
Use char because int might match the return type of a GCC
|
|
11430 |
builtin and then its argument prototype would still apply. */
|
|
11431 |
#ifdef __cplusplus
|
|
11432 |
extern "C"
|
|
11433 |
#endif
|
|
11434 |
char dlopen ();
|
|
11435 |
int
|
|
11436 |
main ()
|
|
11437 |
{
|
|
11438 |
return dlopen ();
|
|
11439 |
;
|
|
11440 |
return 0;
|
|
11441 |
}
|
|
11442 |
_ACEOF
|
|
11443 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11444 |
if { (ac_try="$ac_link" |
|
11445 |
case "(($ac_try" in |
|
11446 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11447 |
*) ac_try_echo=$ac_try;; |
|
11448 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11449 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11450 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11451 |
(eval "$ac_link") 2>conftest.er1 |
11452 |
ac_status=$? |
|
11453 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11454 |
rm -f conftest.er1 |
|
11455 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11456 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11457 |
(exit $ac_status); } && { |
11458 |
test -z "$ac_c_werror_flag" || |
|
11459 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11460 |
} && test -s conftest$ac_exeext && { |
11461 |
test "$cross_compiling" = yes || |
|
11462 |
$as_test_x conftest$ac_exeext |
|
11463 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11464 |
ac_cv_lib_dl_dlopen=yes |
11465 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11466 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11467 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11468 |
||
11469 |
ac_cv_lib_dl_dlopen=no |
|
11470 |
fi
|
|
11471 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11472 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11473 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11474 |
conftest$ac_exeext conftest.$ac_ext |
|
11475 |
LIBS=$ac_check_lib_save_LIBS |
|
11476 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11477 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
11478 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
11479 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11480 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11481 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11482 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
11483 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11484 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11485 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11486 |
else
|
11487 |
ac_check_lib_save_LIBS=$LIBS |
|
11488 |
LIBS="-lsvld $LIBS" |
|
11489 |
cat >conftest.$ac_ext <<_ACEOF |
|
11490 |
/* confdefs.h. */
|
|
11491 |
_ACEOF
|
|
11492 |
cat confdefs.h >>conftest.$ac_ext
|
|
11493 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11494 |
/* end confdefs.h. */
|
|
11495 |
||
11496 |
/* Override any GCC internal prototype to avoid an error.
|
|
11497 |
Use char because int might match the return type of a GCC
|
|
11498 |
builtin and then its argument prototype would still apply. */
|
|
11499 |
#ifdef __cplusplus
|
|
11500 |
extern "C"
|
|
11501 |
#endif
|
|
11502 |
char dlopen ();
|
|
11503 |
int
|
|
11504 |
main ()
|
|
11505 |
{
|
|
11506 |
return dlopen ();
|
|
11507 |
;
|
|
11508 |
return 0;
|
|
11509 |
}
|
|
11510 |
_ACEOF
|
|
11511 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11512 |
if { (ac_try="$ac_link" |
|
11513 |
case "(($ac_try" in |
|
11514 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11515 |
*) ac_try_echo=$ac_try;; |
|
11516 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11517 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11518 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11519 |
(eval "$ac_link") 2>conftest.er1 |
11520 |
ac_status=$? |
|
11521 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11522 |
rm -f conftest.er1 |
|
11523 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11524 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11525 |
(exit $ac_status); } && { |
11526 |
test -z "$ac_c_werror_flag" || |
|
11527 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11528 |
} && test -s conftest$ac_exeext && { |
11529 |
test "$cross_compiling" = yes || |
|
11530 |
$as_test_x conftest$ac_exeext |
|
11531 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11532 |
ac_cv_lib_svld_dlopen=yes |
11533 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11534 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11535 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11536 |
||
11537 |
ac_cv_lib_svld_dlopen=no |
|
11538 |
fi
|
|
11539 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11540 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11541 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11542 |
conftest$ac_exeext conftest.$ac_ext |
|
11543 |
LIBS=$ac_check_lib_save_LIBS |
|
11544 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11545 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
11546 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
11547 |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11548 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11549 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11550 |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
11551 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11552 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11553 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11554 |
else
|
11555 |
ac_check_lib_save_LIBS=$LIBS |
|
11556 |
LIBS="-ldld $LIBS" |
|
11557 |
cat >conftest.$ac_ext <<_ACEOF |
|
11558 |
/* confdefs.h. */
|
|
11559 |
_ACEOF
|
|
11560 |
cat confdefs.h >>conftest.$ac_ext
|
|
11561 |
cat >>conftest.$ac_ext <<_ACEOF |
|
11562 |
/* end confdefs.h. */
|
|
11563 |
||
11564 |
/* Override any GCC internal prototype to avoid an error.
|
|
11565 |
Use char because int might match the return type of a GCC
|
|
11566 |
builtin and then its argument prototype would still apply. */
|
|
11567 |
#ifdef __cplusplus
|
|
11568 |
extern "C"
|
|
11569 |
#endif
|
|
11570 |
char dld_link ();
|
|
11571 |
int
|
|
11572 |
main ()
|
|
11573 |
{
|
|
11574 |
return dld_link ();
|
|
11575 |
;
|
|
11576 |
return 0;
|
|
11577 |
}
|
|
11578 |
_ACEOF
|
|
11579 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
11580 |
if { (ac_try="$ac_link" |
|
11581 |
case "(($ac_try" in |
|
11582 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11583 |
*) ac_try_echo=$ac_try;; |
|
11584 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11585 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11586 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11587 |
(eval "$ac_link") 2>conftest.er1 |
11588 |
ac_status=$? |
|
11589 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
11590 |
rm -f conftest.er1 |
|
11591 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11592 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11593 |
(exit $ac_status); } && { |
11594 |
test -z "$ac_c_werror_flag" || |
|
11595 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11596 |
} && test -s conftest$ac_exeext && { |
11597 |
test "$cross_compiling" = yes || |
|
11598 |
$as_test_x conftest$ac_exeext |
|
11599 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11600 |
ac_cv_lib_dld_dld_link=yes |
11601 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11602 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11603 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11604 |
||
11605 |
ac_cv_lib_dld_dld_link=no |
|
11606 |
fi
|
|
11607 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11608 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11609 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11610 |
conftest$ac_exeext conftest.$ac_ext |
|
11611 |
LIBS=$ac_check_lib_save_LIBS |
|
11612 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11613 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
11614 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
11615 |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11616 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11617 |
fi
|
|
11618 |
||
11619 |
||
11620 |
fi
|
|
11621 |
||
11622 |
||
11623 |
fi
|
|
11624 |
||
11625 |
||
11626 |
fi
|
|
11627 |
||
11628 |
||
11629 |
fi
|
|
11630 |
||
11631 |
||
11632 |
fi
|
|
11633 |
||
11634 |
;;
|
|
11635 |
esac
|
|
11636 |
||
11637 |
if test "x$lt_cv_dlopen" != xno; then |
|
11638 |
enable_dlopen=yes |
|
11639 |
else
|
|
11640 |
enable_dlopen=no |
|
11641 |
fi
|
|
11642 |
||
11643 |
case $lt_cv_dlopen in |
|
11644 |
dlopen)
|
|
11645 |
save_CPPFLAGS="$CPPFLAGS" |
|
11646 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
11647 |
||
11648 |
save_LDFLAGS="$LDFLAGS" |
|
11649 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
11650 |
||
11651 |
save_LIBS="$LIBS" |
|
11652 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
11653 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11654 |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
11655 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11656 |
if test "${lt_cv_dlopen_self+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11657 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11658 |
else
|
11659 |
if test "$cross_compiling" = yes; then : |
|
11660 |
lt_cv_dlopen_self=cross |
|
11661 |
else
|
|
11662 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11663 |
lt_status=$lt_dlunknown |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11664 |
cat > conftest.$ac_ext <<_LT_EOF |
11665 |
#line 11665 "configure"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11666 |
#include "confdefs.h"
|
11667 |
||
11668 |
#if HAVE_DLFCN_H
|
|
11669 |
#include <dlfcn.h>
|
|
11670 |
#endif
|
|
11671 |
||
11672 |
#include <stdio.h>
|
|
11673 |
||
11674 |
#ifdef RTLD_GLOBAL
|
|
11675 |
# define LT_DLGLOBAL RTLD_GLOBAL
|
|
11676 |
#else
|
|
11677 |
# ifdef DL_GLOBAL
|
|
11678 |
# define LT_DLGLOBAL DL_GLOBAL
|
|
11679 |
# else
|
|
11680 |
# define LT_DLGLOBAL 0
|
|
11681 |
# endif
|
|
11682 |
#endif
|
|
11683 |
||
11684 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
|
11685 |
find out it does not work in some platform. */
|
|
11686 |
#ifndef LT_DLLAZY_OR_NOW
|
|
11687 |
# ifdef RTLD_LAZY
|
|
11688 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY
|
|
11689 |
# else
|
|
11690 |
# ifdef DL_LAZY
|
|
11691 |
# define LT_DLLAZY_OR_NOW DL_LAZY
|
|
11692 |
# else
|
|
11693 |
# ifdef RTLD_NOW
|
|
11694 |
# define LT_DLLAZY_OR_NOW RTLD_NOW
|
|
11695 |
# else
|
|
11696 |
# ifdef DL_NOW
|
|
11697 |
# define LT_DLLAZY_OR_NOW DL_NOW
|
|
11698 |
# else
|
|
11699 |
# define LT_DLLAZY_OR_NOW 0
|
|
11700 |
# endif
|
|
11701 |
# endif
|
|
11702 |
# endif
|
|
11703 |
# endif
|
|
11704 |
#endif
|
|
11705 |
||
11706 |
void fnord() { int i=42;}
|
|
11707 |
int main ()
|
|
11708 |
{
|
|
11709 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
|
11710 |
int status = $lt_dlunknown;
|
|
11711 |
||
11712 |
if (self)
|
|
11713 |
{
|
|
11714 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
|
11715 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
|
11716 |
/* dlclose (self); */
|
|
11717 |
}
|
|
11718 |
else
|
|
11719 |
puts (dlerror ());
|
|
11720 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11721 |
return status;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11722 |
}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11723 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11724 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11725 |
(eval $ac_link) 2>&5 |
|
11726 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11727 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11728 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
11729 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11730 |
lt_status=$? |
|
11731 |
case x$lt_status in |
|
11732 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
11733 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
11734 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
11735 |
esac
|
|
11736 |
else :
|
|
11737 |
# compilation failed
|
|
11738 |
lt_cv_dlopen_self=no |
|
11739 |
fi
|
|
11740 |
fi
|
|
11741 |
rm -fr conftest* |
|
11742 |
||
11743 |
||
11744 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11745 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
11746 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11747 |
|
11748 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
11749 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11750 |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
11751 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11752 |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11753 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11754 |
else
|
11755 |
if test "$cross_compiling" = yes; then : |
|
11756 |
lt_cv_dlopen_self_static=cross |
|
11757 |
else
|
|
11758 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11759 |
lt_status=$lt_dlunknown |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11760 |
cat > conftest.$ac_ext <<_LT_EOF |
11761 |
#line 11761 "configure"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11762 |
#include "confdefs.h"
|
11763 |
||
11764 |
#if HAVE_DLFCN_H
|
|
11765 |
#include <dlfcn.h>
|
|
11766 |
#endif
|
|
11767 |
||
11768 |
#include <stdio.h>
|
|
11769 |
||
11770 |
#ifdef RTLD_GLOBAL
|
|
11771 |
# define LT_DLGLOBAL RTLD_GLOBAL
|
|
11772 |
#else
|
|
11773 |
# ifdef DL_GLOBAL
|
|
11774 |
# define LT_DLGLOBAL DL_GLOBAL
|
|
11775 |
# else
|
|
11776 |
# define LT_DLGLOBAL 0
|
|
11777 |
# endif
|
|
11778 |
#endif
|
|
11779 |
||
11780 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
|
11781 |
find out it does not work in some platform. */
|
|
11782 |
#ifndef LT_DLLAZY_OR_NOW
|
|
11783 |
# ifdef RTLD_LAZY
|
|
11784 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY
|
|
11785 |
# else
|
|
11786 |
# ifdef DL_LAZY
|
|
11787 |
# define LT_DLLAZY_OR_NOW DL_LAZY
|
|
11788 |
# else
|
|
11789 |
# ifdef RTLD_NOW
|
|
11790 |
# define LT_DLLAZY_OR_NOW RTLD_NOW
|
|
11791 |
# else
|
|
11792 |
# ifdef DL_NOW
|
|
11793 |
# define LT_DLLAZY_OR_NOW DL_NOW
|
|
11794 |
# else
|
|
11795 |
# define LT_DLLAZY_OR_NOW 0
|
|
11796 |
# endif
|
|
11797 |
# endif
|
|
11798 |
# endif
|
|
11799 |
# endif
|
|
11800 |
#endif
|
|
11801 |
||
11802 |
void fnord() { int i=42;}
|
|
11803 |
int main ()
|
|
11804 |
{
|
|
11805 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
|
11806 |
int status = $lt_dlunknown;
|
|
11807 |
||
11808 |
if (self)
|
|
11809 |
{
|
|
11810 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
|
11811 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
|
11812 |
/* dlclose (self); */
|
|
11813 |
}
|
|
11814 |
else
|
|
11815 |
puts (dlerror ());
|
|
11816 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11817 |
return status;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11818 |
}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11819 |
_LT_EOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11820 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11821 |
(eval $ac_link) 2>&5 |
|
11822 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11823 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
11824 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
11825 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11826 |
lt_status=$? |
|
11827 |
case x$lt_status in |
|
11828 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11829 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11830 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
11831 |
esac
|
|
11832 |
else :
|
|
11833 |
# compilation failed
|
|
11834 |
lt_cv_dlopen_self_static=no |
|
11835 |
fi
|
|
11836 |
fi
|
|
11837 |
rm -fr conftest* |
|
11838 |
||
11839 |
||
11840 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11841 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
11842 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
11843 |
fi
|
11844 |
||
11845 |
CPPFLAGS="$save_CPPFLAGS" |
|
11846 |
LDFLAGS="$save_LDFLAGS" |
|
11847 |
LIBS="$save_LIBS" |
|
11848 |
;;
|
|
11849 |
esac
|
|
11850 |
||
11851 |
case $lt_cv_dlopen_self in |
|
11852 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
11853 |
*) enable_dlopen_self=unknown ;; |
|
11854 |
esac
|
|
11855 |
||
11856 |
case $lt_cv_dlopen_self_static in |
|
11857 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
11858 |
*) enable_dlopen_self_static=unknown ;; |
|
11859 |
esac
|
|
11860 |
fi
|
|
11861 |
||
11862 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
11863 |
|
11864 |
||
11865 |
||
11866 |
||
11867 |
||
11868 |
||
11869 |
||
11870 |
||
11871 |
||
11872 |
||
11873 |
||
11874 |
||
11875 |
||
11876 |
||
11877 |
||
11878 |
striplib= |
|
11879 |
old_striplib= |
|
11880 |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
11881 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
11882 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
11883 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
11884 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
11885 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
11886 |
$as_echo "yes" >&6; } |
|
11887 |
else
|
|
11888 |
# FIXME - insert some real tests, host_os isn't really good enough
|
|
11889 |
case $host_os in |
|
11890 |
darwin*)
|
|
11891 |
if test -n "$STRIP" ; then |
|
11892 |
striplib="$STRIP -x" |
|
11893 |
old_striplib="$STRIP -S" |
|
11894 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
11895 |
$as_echo "yes" >&6; } |
|
11896 |
else
|
|
11897 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
11898 |
$as_echo "no" >&6; } |
|
11899 |
fi
|
|
11900 |
;;
|
|
11901 |
*)
|
|
11902 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
11903 |
$as_echo "no" >&6; } |
|
11904 |
;;
|
|
11905 |
esac
|
|
11906 |
fi
|
|
11907 |
||
11908 |
||
11909 |
||
11910 |
||
11911 |
||
11912 |
||
11913 |
||
11914 |
||
11915 |
||
11916 |
||
11917 |
||
11918 |
||
11919 |
# Report which library types will actually be built
|
|
11920 |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
11921 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
11922 |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
11923 |
$as_echo "$can_build_shared" >&6; } |
|
11924 |
||
11925 |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
|
11926 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
11927 |
test "$can_build_shared" = "no" && enable_shared=no |
|
11928 |
||
11929 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
|
11930 |
# are all built from PIC.
|
|
11931 |
case $host_os in |
|
11932 |
aix3*)
|
|
11933 |
test "$enable_shared" = yes && enable_static=no |
|
11934 |
if test -n "$RANLIB"; then |
|
11935 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
11936 |
postinstall_cmds='$RANLIB $lib' |
|
11937 |
fi
|
|
11938 |
;;
|
|
11939 |
||
11940 |
aix[4-9]*) |
|
11941 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
11942 |
test "$enable_shared" = yes && enable_static=no |
|
11943 |
fi
|
|
11944 |
;;
|
|
11945 |
esac
|
|
11946 |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
|
11947 |
$as_echo "$enable_shared" >&6; } |
|
11948 |
||
11949 |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
|
11950 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
11951 |
# Make sure either enable_shared or enable_static is yes.
|
|
11952 |
test "$enable_shared" = yes || enable_static=yes |
|
11953 |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
|
11954 |
$as_echo "$enable_static" >&6; } |
|
11955 |
||
11956 |
||
11957 |
||
11958 |
||
11959 |
fi
|
|
11960 |
ac_ext=c |
|
11961 |
ac_cpp='$CPP $CPPFLAGS' |
|
11962 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11963 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11964 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11965 |
||
11966 |
CC="$lt_save_CC" |
|
11967 |
||
11968 |
||
11969 |
||
11970 |
||
11971 |
||
11972 |
||
11973 |
||
11974 |
||
11975 |
||
11976 |
||
11977 |
||
11978 |
||
11979 |
||
11980 |
ac_config_commands="$ac_config_commands libtool" |
|
11981 |
||
11982 |
||
11983 |
||
11984 |
||
11985 |
# Only expand once:
|
|
11986 |
||
11987 |
||
11988 |
||
11989 |
||
11990 |
{ $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 |
|
11991 |
$as_echo_n "checking whether NLS is requested... " >&6; } |
|
11992 |
# Check whether --enable-nls was given.
|
|
11993 |
if test "${enable_nls+set}" = set; then |
|
11994 |
enableval=$enable_nls; USE_NLS=$enableval |
|
11995 |
else
|
|
11996 |
USE_NLS=yes |
|
11997 |
fi
|
|
11998 |
||
11999 |
{ $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 |
|
12000 |
$as_echo "$USE_NLS" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12001 |
|
12002 |
||
12003 |
||
12004 |
||
12005 |
case "$am__api_version" in |
|
12006 |
1.01234) |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12007 |
{ { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 |
12008 |
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12009 |
{ (exit 1); exit 1; }; } |
12010 |
;;
|
|
12011 |
*)
|
|
12012 |
;;
|
|
12013 |
esac
|
|
12014 |
||
12015 |
if test -n "0.35.0"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12016 |
{ $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5 |
12017 |
$as_echo_n "checking for intltool >= 0.35.0... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12018 |
|
12019 |
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12020 |
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` |
12021 |
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12022 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12023 |
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
12024 |
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12025 |
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12026 |
{ { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5 |
12027 |
$as_echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;} |
|
12028 |
{ (exit 1); exit 1; }; } |
|
12029 |
fi
|
|
12030 |
||
12031 |
# Extract the first word of "intltool-update", so it can be a program name with args.
|
|
12032 |
set dummy intltool-update; ac_word=$2 |
|
12033 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
12034 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
12035 |
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then |
|
12036 |
$as_echo_n "(cached) " >&6 |
|
12037 |
else
|
|
12038 |
case $INTLTOOL_UPDATE in |
|
12039 |
[\\/]* | ?:[\\/]*) |
|
12040 |
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. |
|
12041 |
;;
|
|
12042 |
*)
|
|
12043 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12044 |
for as_dir in $PATH |
|
12045 |
do
|
|
12046 |
IFS=$as_save_IFS |
|
12047 |
test -z "$as_dir" && as_dir=. |
|
12048 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12049 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12050 |
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" |
|
12051 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
12052 |
break 2 |
|
12053 |
fi
|
|
12054 |
done
|
|
12055 |
done
|
|
12056 |
IFS=$as_save_IFS |
|
12057 |
||
12058 |
;;
|
|
12059 |
esac
|
|
12060 |
fi
|
|
12061 |
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE |
|
12062 |
if test -n "$INTLTOOL_UPDATE"; then |
|
12063 |
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5 |
|
12064 |
$as_echo "$INTLTOOL_UPDATE" >&6; } |
|
12065 |
else
|
|
12066 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
12067 |
$as_echo "no" >&6; } |
|
12068 |
fi
|
|
12069 |
||
12070 |
||
12071 |
# Extract the first word of "intltool-merge", so it can be a program name with args.
|
|
12072 |
set dummy intltool-merge; ac_word=$2 |
|
12073 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
12074 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
12075 |
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then |
|
12076 |
$as_echo_n "(cached) " >&6 |
|
12077 |
else
|
|
12078 |
case $INTLTOOL_MERGE in |
|
12079 |
[\\/]* | ?:[\\/]*) |
|
12080 |
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. |
|
12081 |
;;
|
|
12082 |
*)
|
|
12083 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12084 |
for as_dir in $PATH |
|
12085 |
do
|
|
12086 |
IFS=$as_save_IFS |
|
12087 |
test -z "$as_dir" && as_dir=. |
|
12088 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12089 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12090 |
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" |
|
12091 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
12092 |
break 2 |
|
12093 |
fi
|
|
12094 |
done
|
|
12095 |
done
|
|
12096 |
IFS=$as_save_IFS |
|
12097 |
||
12098 |
;;
|
|
12099 |
esac
|
|
12100 |
fi
|
|
12101 |
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE |
|
12102 |
if test -n "$INTLTOOL_MERGE"; then |
|
12103 |
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5 |
|
12104 |
$as_echo "$INTLTOOL_MERGE" >&6; } |
|
12105 |
else
|
|
12106 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
12107 |
$as_echo "no" >&6; } |
|
12108 |
fi
|
|
12109 |
||
12110 |
||
12111 |
# Extract the first word of "intltool-extract", so it can be a program name with args.
|
|
12112 |
set dummy intltool-extract; ac_word=$2 |
|
12113 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
12114 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
12115 |
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then |
|
12116 |
$as_echo_n "(cached) " >&6 |
|
12117 |
else
|
|
12118 |
case $INTLTOOL_EXTRACT in |
|
12119 |
[\\/]* | ?:[\\/]*) |
|
12120 |
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. |
|
12121 |
;;
|
|
12122 |
*)
|
|
12123 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12124 |
for as_dir in $PATH |
|
12125 |
do
|
|
12126 |
IFS=$as_save_IFS |
|
12127 |
test -z "$as_dir" && as_dir=. |
|
12128 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12129 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12130 |
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" |
|
12131 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
12132 |
break 2 |
|
12133 |
fi
|
|
12134 |
done
|
|
12135 |
done
|
|
12136 |
IFS=$as_save_IFS |
|
12137 |
||
12138 |
;;
|
|
12139 |
esac
|
|
12140 |
fi
|
|
12141 |
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT |
|
12142 |
if test -n "$INTLTOOL_EXTRACT"; then |
|
12143 |
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5 |
|
12144 |
$as_echo "$INTLTOOL_EXTRACT" >&6; } |
|
12145 |
else
|
|
12146 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
12147 |
$as_echo "no" >&6; } |
|
12148 |
fi
|
|
12149 |
||
12150 |
||
12151 |
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then |
|
12152 |
{ { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5 |
|
12153 |
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12154 |
{ (exit 1); exit 1; }; } |
12155 |
fi
|
|
12156 |
||
12157 |
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12158 |
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12159 |
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12160 |
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12161 |
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' |
|
12162 |
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12163 |
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12164 |
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12165 |
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12166 |
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12167 |
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12168 |
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' |
|
12169 |
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12170 |
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12171 |
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12172 |
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12173 |
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12174 |
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12175 |
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
12176 |
||
12177 |
||
12178 |
||
12179 |
||
12180 |
||
12181 |
||
12182 |
||
12183 |
||
12184 |
||
12185 |
||
12186 |
||
12187 |
||
12188 |
||
12189 |
||
12190 |
||
12191 |
||
12192 |
||
12193 |
||
12194 |
||
12195 |
||
12196 |
||
1.1.2
by Steve Kowalik
Import upstream version 0.4.4 |
12197 |
|
12198 |
||
12199 |
||
12200 |
||
12201 |
||
12202 |
||
12203 |
||
12204 |
||
12205 |
||
12206 |
||
12207 |
||
12208 |
||
12209 |
||
12210 |
||
12211 |
||
12212 |
||
12213 |
||
12214 |
||
12215 |
||
12216 |
||
12217 |
||
12218 |
||
12219 |
||
12220 |
||
12221 |
||
12222 |
||
12223 |
||
12224 |
||
12225 |
||
12226 |
||
12227 |
||
12228 |
||
12229 |
||
12230 |
||
12231 |
||
12232 |
||
12233 |
||
12234 |
||
12235 |
||
12236 |
||
12237 |
||
12238 |
||
12239 |
||
12240 |
||
12241 |
||
12242 |
||
12243 |
||
12244 |
||
12245 |
||
12246 |
||
12247 |
||
12248 |
||
12249 |
||
12250 |
||
12251 |
||
12252 |
||
12253 |
||
12254 |
||
12255 |
||
12256 |
||
12257 |
||
12258 |
||
12259 |
||
12260 |
||
12261 |
||
12262 |
||
12263 |
||
12264 |
||
12265 |
||
12266 |
||
12267 |
||
12268 |
||
12269 |
||
12270 |
||
12271 |
||
12272 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
12273 |
# Check the gettext tools to make sure they are GNU
|
12274 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
12275 |
set dummy xgettext; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12276 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12277 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12278 |
if test "${ac_cv_path_XGETTEXT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12279 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12280 |
else
|
12281 |
case $XGETTEXT in |
|
12282 |
[\\/]* | ?:[\\/]*) |
|
12283 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
12284 |
;;
|
|
12285 |
*)
|
|
12286 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12287 |
for as_dir in $PATH |
|
12288 |
do
|
|
12289 |
IFS=$as_save_IFS |
|
12290 |
test -z "$as_dir" && as_dir=. |
|
12291 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12292 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12293 |
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12294 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12295 |
break 2 |
12296 |
fi
|
|
12297 |
done
|
|
12298 |
done
|
|
12299 |
IFS=$as_save_IFS |
|
12300 |
||
12301 |
;;
|
|
12302 |
esac
|
|
12303 |
fi
|
|
12304 |
XGETTEXT=$ac_cv_path_XGETTEXT |
|
12305 |
if test -n "$XGETTEXT"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12306 |
{ $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
12307 |
$as_echo "$XGETTEXT" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12308 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12309 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
12310 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12311 |
fi
|
12312 |
||
12313 |
||
12314 |
# Extract the first word of "msgmerge", so it can be a program name with args.
|
|
12315 |
set dummy msgmerge; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12316 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12317 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12318 |
if test "${ac_cv_path_MSGMERGE+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12319 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12320 |
else
|
12321 |
case $MSGMERGE in |
|
12322 |
[\\/]* | ?:[\\/]*) |
|
12323 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
|
12324 |
;;
|
|
12325 |
*)
|
|
12326 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12327 |
for as_dir in $PATH |
|
12328 |
do
|
|
12329 |
IFS=$as_save_IFS |
|
12330 |
test -z "$as_dir" && as_dir=. |
|
12331 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12332 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12333 |
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12334 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12335 |
break 2 |
12336 |
fi
|
|
12337 |
done
|
|
12338 |
done
|
|
12339 |
IFS=$as_save_IFS |
|
12340 |
||
12341 |
;;
|
|
12342 |
esac
|
|
12343 |
fi
|
|
12344 |
MSGMERGE=$ac_cv_path_MSGMERGE |
|
12345 |
if test -n "$MSGMERGE"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12346 |
{ $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5 |
12347 |
$as_echo "$MSGMERGE" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12348 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12349 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
12350 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12351 |
fi
|
12352 |
||
12353 |
||
12354 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
12355 |
set dummy msgfmt; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12356 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12357 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12358 |
if test "${ac_cv_path_MSGFMT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12359 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12360 |
else
|
12361 |
case $MSGFMT in |
|
12362 |
[\\/]* | ?:[\\/]*) |
|
12363 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
12364 |
;;
|
|
12365 |
*)
|
|
12366 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12367 |
for as_dir in $PATH |
|
12368 |
do
|
|
12369 |
IFS=$as_save_IFS |
|
12370 |
test -z "$as_dir" && as_dir=. |
|
12371 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12372 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12373 |
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12374 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12375 |
break 2 |
12376 |
fi
|
|
12377 |
done
|
|
12378 |
done
|
|
12379 |
IFS=$as_save_IFS |
|
12380 |
||
12381 |
;;
|
|
12382 |
esac
|
|
12383 |
fi
|
|
12384 |
MSGFMT=$ac_cv_path_MSGFMT |
|
12385 |
if test -n "$MSGFMT"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12386 |
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
12387 |
$as_echo "$MSGFMT" >&6; } |
|
12388 |
else
|
|
12389 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
12390 |
$as_echo "no" >&6; } |
|
12391 |
fi
|
|
12392 |
||
12393 |
||
12394 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
12395 |
set dummy gmsgfmt; ac_word=$2 |
|
12396 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
12397 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
12398 |
if test "${ac_cv_path_GMSGFMT+set}" = set; then |
|
12399 |
$as_echo_n "(cached) " >&6 |
|
12400 |
else
|
|
12401 |
case $GMSGFMT in |
|
12402 |
[\\/]* | ?:[\\/]*) |
|
12403 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
12404 |
;;
|
|
12405 |
*)
|
|
12406 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12407 |
for as_dir in $PATH |
|
12408 |
do
|
|
12409 |
IFS=$as_save_IFS |
|
12410 |
test -z "$as_dir" && as_dir=. |
|
12411 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12412 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12413 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
12414 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
12415 |
break 2 |
|
12416 |
fi
|
|
12417 |
done
|
|
12418 |
done
|
|
12419 |
IFS=$as_save_IFS |
|
12420 |
||
12421 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
12422 |
;;
|
|
12423 |
esac
|
|
12424 |
fi
|
|
12425 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
12426 |
if test -n "$GMSGFMT"; then |
|
12427 |
{ $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
|
12428 |
$as_echo "$GMSGFMT" >&6; } |
|
12429 |
else
|
|
12430 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
12431 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12432 |
fi
|
12433 |
||
12434 |
||
12435 |
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12436 |
{ { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 |
12437 |
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12438 |
{ (exit 1); exit 1; }; } |
12439 |
fi
|
|
12440 |
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
|
12441 |
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
|
12442 |
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
|
12443 |
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12444 |
{ { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 |
12445 |
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12446 |
{ (exit 1); exit 1; }; } |
12447 |
fi
|
|
12448 |
||
12449 |
# Extract the first word of "perl", so it can be a program name with args.
|
|
12450 |
set dummy perl; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12451 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12452 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12453 |
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12454 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12455 |
else
|
12456 |
case $INTLTOOL_PERL in |
|
12457 |
[\\/]* | ?:[\\/]*) |
|
12458 |
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
|
12459 |
;;
|
|
12460 |
*)
|
|
12461 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12462 |
for as_dir in $PATH |
|
12463 |
do
|
|
12464 |
IFS=$as_save_IFS |
|
12465 |
test -z "$as_dir" && as_dir=. |
|
12466 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
12467 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
12468 |
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12469 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12470 |
break 2 |
12471 |
fi
|
|
12472 |
done
|
|
12473 |
done
|
|
12474 |
IFS=$as_save_IFS |
|
12475 |
||
12476 |
;;
|
|
12477 |
esac
|
|
12478 |
fi
|
|
12479 |
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
|
12480 |
if test -n "$INTLTOOL_PERL"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12481 |
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 |
12482 |
$as_echo "$INTLTOOL_PERL" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12483 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12484 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
12485 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12486 |
fi
|
12487 |
||
12488 |
||
12489 |
if test -z "$INTLTOOL_PERL"; then |
|
1.1.2
by Steve Kowalik
Import upstream version 0.4.4 |
12490 |
{ { $as_echo "$as_me:$LINENO: error: perl not found" >&5 |
12491 |
$as_echo "$as_me: error: perl not found" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12492 |
{ (exit 1); exit 1; }; } |
12493 |
fi
|
|
1.1.2
by Steve Kowalik
Import upstream version 0.4.4 |
12494 |
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5 |
12495 |
$as_echo_n "checking for perl >= 5.8.1... " >&6; } |
|
12496 |
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 |
|
12497 |
if test $? -ne 0; then |
|
12498 |
{ { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5 |
|
12499 |
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12500 |
{ (exit 1); exit 1; }; } |
1.1.2
by Steve Kowalik
Import upstream version 0.4.4 |
12501 |
else
|
12502 |
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" |
|
12503 |
{ $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5 |
|
12504 |
$as_echo "$IT_PERL_VERSION" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12505 |
fi
|
12506 |
if test "x" != "xno-xml"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12507 |
{ $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5 |
12508 |
$as_echo_n "checking for XML::Parser... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12509 |
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12510 |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
12511 |
$as_echo "ok" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12512 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12513 |
{ { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 |
12514 |
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12515 |
{ (exit 1); exit 1; }; } |
12516 |
fi
|
|
12517 |
fi
|
|
12518 |
||
12519 |
# Substitute ALL_LINGUAS so we can use it in po/Makefile
|
|
12520 |
||
12521 |
||
12522 |
# Set DATADIRNAME correctly if it is not set yet
|
|
12523 |
# (copied from glib-gettext.m4)
|
|
12524 |
if test -z "$DATADIRNAME"; then |
|
12525 |
cat >conftest.$ac_ext <<_ACEOF |
|
12526 |
/* confdefs.h. */
|
|
12527 |
_ACEOF
|
|
12528 |
cat confdefs.h >>conftest.$ac_ext
|
|
12529 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12530 |
/* end confdefs.h. */
|
|
12531 |
||
12532 |
int
|
|
12533 |
main ()
|
|
12534 |
{
|
|
12535 |
extern int _nl_msg_cat_cntr;
|
|
12536 |
return _nl_msg_cat_cntr
|
|
12537 |
;
|
|
12538 |
return 0;
|
|
12539 |
}
|
|
12540 |
_ACEOF
|
|
12541 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
12542 |
if { (ac_try="$ac_link" |
|
12543 |
case "(($ac_try" in |
|
12544 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12545 |
*) ac_try_echo=$ac_try;; |
|
12546 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12547 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12548 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12549 |
(eval "$ac_link") 2>conftest.er1 |
12550 |
ac_status=$? |
|
12551 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12552 |
rm -f conftest.er1 |
|
12553 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12554 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12555 |
(exit $ac_status); } && { |
12556 |
test -z "$ac_c_werror_flag" || |
|
12557 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12558 |
} && test -s conftest$ac_exeext && { |
12559 |
test "$cross_compiling" = yes || |
|
12560 |
$as_test_x conftest$ac_exeext |
|
12561 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12562 |
DATADIRNAME=share |
12563 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12564 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12565 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12566 |
||
12567 |
case $host in |
|
12568 |
*-*-solaris*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12569 |
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 |
12570 |
$as_echo_n "checking for bind_textdomain_codeset... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12571 |
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12572 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12573 |
else
|
12574 |
cat >conftest.$ac_ext <<_ACEOF |
|
12575 |
/* confdefs.h. */
|
|
12576 |
_ACEOF
|
|
12577 |
cat confdefs.h >>conftest.$ac_ext
|
|
12578 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12579 |
/* end confdefs.h. */
|
|
12580 |
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
|
|
12581 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
12582 |
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
|
|
12583 |
||
12584 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
12585 |
which can conflict with char bind_textdomain_codeset (); below.
|
|
12586 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
12587 |
<limits.h> exists even on freestanding compilers. */
|
|
12588 |
||
12589 |
#ifdef __STDC__
|
|
12590 |
# include <limits.h>
|
|
12591 |
#else
|
|
12592 |
# include <assert.h>
|
|
12593 |
#endif
|
|
12594 |
||
12595 |
#undef bind_textdomain_codeset
|
|
12596 |
||
12597 |
/* Override any GCC internal prototype to avoid an error.
|
|
12598 |
Use char because int might match the return type of a GCC
|
|
12599 |
builtin and then its argument prototype would still apply. */
|
|
12600 |
#ifdef __cplusplus
|
|
12601 |
extern "C"
|
|
12602 |
#endif
|
|
12603 |
char bind_textdomain_codeset ();
|
|
12604 |
/* The GNU C library defines this for functions which it implements
|
|
12605 |
to always fail with ENOSYS. Some functions are actually named
|
|
12606 |
something starting with __ and the normal name is an alias. */
|
|
12607 |
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
|
|
12608 |
choke me
|
|
12609 |
#endif
|
|
12610 |
||
12611 |
int
|
|
12612 |
main ()
|
|
12613 |
{
|
|
12614 |
return bind_textdomain_codeset ();
|
|
12615 |
;
|
|
12616 |
return 0;
|
|
12617 |
}
|
|
12618 |
_ACEOF
|
|
12619 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
12620 |
if { (ac_try="$ac_link" |
|
12621 |
case "(($ac_try" in |
|
12622 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12623 |
*) ac_try_echo=$ac_try;; |
|
12624 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12625 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12626 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12627 |
(eval "$ac_link") 2>conftest.er1 |
12628 |
ac_status=$? |
|
12629 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12630 |
rm -f conftest.er1 |
|
12631 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12632 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12633 |
(exit $ac_status); } && { |
12634 |
test -z "$ac_c_werror_flag" || |
|
12635 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12636 |
} && test -s conftest$ac_exeext && { |
12637 |
test "$cross_compiling" = yes || |
|
12638 |
$as_test_x conftest$ac_exeext |
|
12639 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12640 |
ac_cv_func_bind_textdomain_codeset=yes |
12641 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12642 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12643 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12644 |
||
12645 |
ac_cv_func_bind_textdomain_codeset=no |
|
12646 |
fi
|
|
12647 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12648 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12649 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12650 |
conftest$ac_exeext conftest.$ac_ext |
|
12651 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12652 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 |
12653 |
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; } |
|
12654 |
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12655 |
DATADIRNAME=share |
12656 |
else
|
|
12657 |
DATADIRNAME=lib |
|
12658 |
fi
|
|
12659 |
||
12660 |
;;
|
|
12661 |
*)
|
|
12662 |
DATADIRNAME=lib |
|
12663 |
;;
|
|
12664 |
esac
|
|
12665 |
fi
|
|
12666 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12667 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12668 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12669 |
conftest$ac_exeext conftest.$ac_ext |
|
12670 |
fi
|
|
12671 |
||
12672 |
||
12673 |
||
12674 |
||
12675 |
||
12676 |
||
12677 |
GETTEXT_PACKAGE=desktop-switcher |
|
12678 |
||
12679 |
cat >>confdefs.h <<_ACEOF
|
|
12680 |
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
|
|
12681 |
_ACEOF
|
|
12682 |
||
12683 |
||
12684 |
||
12685 |
||
12686 |
for ac_header in locale.h
|
|
12687 |
do
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12688 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12689 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
12690 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
12691 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
12692 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
12693 |
$as_echo_n "(cached) " >&6 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12694 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12695 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
12696 |
$as_echo "$as_val"'` |
|
12697 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
12698 |
$as_echo "$ac_res" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12699 |
else
|
12700 |
# Is the header compilable?
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12701 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12702 |
$as_echo_n "checking $ac_header usability... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12703 |
cat >conftest.$ac_ext <<_ACEOF |
12704 |
/* confdefs.h. */
|
|
12705 |
_ACEOF
|
|
12706 |
cat confdefs.h >>conftest.$ac_ext
|
|
12707 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12708 |
/* end confdefs.h. */
|
|
12709 |
$ac_includes_default
|
|
12710 |
#include <$ac_header>
|
|
12711 |
_ACEOF
|
|
12712 |
rm -f conftest.$ac_objext
|
|
12713 |
if { (ac_try="$ac_compile" |
|
12714 |
case "(($ac_try" in |
|
12715 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12716 |
*) ac_try_echo=$ac_try;; |
|
12717 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12718 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12719 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12720 |
(eval "$ac_compile") 2>conftest.er1 |
12721 |
ac_status=$? |
|
12722 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12723 |
rm -f conftest.er1 |
|
12724 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12725 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12726 |
(exit $ac_status); } && { |
12727 |
test -z "$ac_c_werror_flag" || |
|
12728 |
test ! -s conftest.err
|
|
12729 |
} && test -s conftest.$ac_objext; then |
|
12730 |
ac_header_compiler=yes |
|
12731 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12732 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12733 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12734 |
||
12735 |
ac_header_compiler=no |
|
12736 |
fi
|
|
12737 |
||
12738 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12739 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12740 |
$as_echo "$ac_header_compiler" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12741 |
|
12742 |
# Is the header present?
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12743 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12744 |
$as_echo_n "checking $ac_header presence... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12745 |
cat >conftest.$ac_ext <<_ACEOF |
12746 |
/* confdefs.h. */
|
|
12747 |
_ACEOF
|
|
12748 |
cat confdefs.h >>conftest.$ac_ext
|
|
12749 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12750 |
/* end confdefs.h. */
|
|
12751 |
#include <$ac_header>
|
|
12752 |
_ACEOF
|
|
12753 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
12754 |
case "(($ac_try" in |
|
12755 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12756 |
*) ac_try_echo=$ac_try;; |
|
12757 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12758 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12759 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12760 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12761 |
ac_status=$? |
|
12762 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12763 |
rm -f conftest.er1 |
|
12764 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12765 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12766 |
(exit $ac_status); } >/dev/null && { |
12767 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
12768 |
test ! -s conftest.err
|
|
12769 |
}; then |
|
12770 |
ac_header_preproc=yes |
|
12771 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12772 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12773 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12774 |
||
12775 |
ac_header_preproc=no |
|
12776 |
fi
|
|
12777 |
||
12778 |
rm -f conftest.err conftest.$ac_ext
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12779 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12780 |
$as_echo "$ac_header_preproc" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12781 |
|
12782 |
# So? What about this header?
|
|
12783 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
12784 |
yes:no: )
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12785 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12786 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
12787 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
12788 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12789 |
ac_header_preproc=yes |
12790 |
;;
|
|
12791 |
no:yes:* )
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12792 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12793 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
12794 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
12795 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
12796 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
12797 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
12798 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
12799 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
12800 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
12801 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
12802 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
12803 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12804 |
|
12805 |
;;
|
|
12806 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12807 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12808 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12809 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12810 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12811 |
else
|
12812 |
eval "$as_ac_Header=\$ac_header_preproc" |
|
12813 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12814 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
12815 |
$as_echo "$as_val"'` |
|
12816 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
12817 |
$as_echo "$ac_res" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12818 |
|
12819 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12820 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
12821 |
$as_echo "$as_val"'` |
|
12822 |
if test "x$as_val" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12823 |
cat >>confdefs.h <<_ACEOF
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12824 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12825 |
_ACEOF
|
12826 |
||
12827 |
fi
|
|
12828 |
||
12829 |
done
|
|
12830 |
||
12831 |
if test $ac_cv_header_locale_h = yes; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12832 |
{ $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
12833 |
$as_echo_n "checking for LC_MESSAGES... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12834 |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12835 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12836 |
else
|
12837 |
cat >conftest.$ac_ext <<_ACEOF |
|
12838 |
/* confdefs.h. */
|
|
12839 |
_ACEOF
|
|
12840 |
cat confdefs.h >>conftest.$ac_ext
|
|
12841 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12842 |
/* end confdefs.h. */
|
|
12843 |
#include <locale.h>
|
|
12844 |
int
|
|
12845 |
main ()
|
|
12846 |
{
|
|
12847 |
return LC_MESSAGES
|
|
12848 |
;
|
|
12849 |
return 0;
|
|
12850 |
}
|
|
12851 |
_ACEOF
|
|
12852 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
12853 |
if { (ac_try="$ac_link" |
|
12854 |
case "(($ac_try" in |
|
12855 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12856 |
*) ac_try_echo=$ac_try;; |
|
12857 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12858 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12859 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12860 |
(eval "$ac_link") 2>conftest.er1 |
12861 |
ac_status=$? |
|
12862 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12863 |
rm -f conftest.er1 |
|
12864 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12865 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12866 |
(exit $ac_status); } && { |
12867 |
test -z "$ac_c_werror_flag" || |
|
12868 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12869 |
} && test -s conftest$ac_exeext && { |
12870 |
test "$cross_compiling" = yes || |
|
12871 |
$as_test_x conftest$ac_exeext |
|
12872 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12873 |
am_cv_val_LC_MESSAGES=yes |
12874 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12875 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12876 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12877 |
||
12878 |
am_cv_val_LC_MESSAGES=no |
|
12879 |
fi
|
|
12880 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12881 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12882 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12883 |
conftest$ac_exeext conftest.$ac_ext |
|
12884 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12885 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 |
12886 |
$as_echo "$am_cv_val_LC_MESSAGES" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12887 |
if test $am_cv_val_LC_MESSAGES = yes; then |
12888 |
||
12889 |
cat >>confdefs.h <<\_ACEOF
|
|
12890 |
#define HAVE_LC_MESSAGES 1
|
|
12891 |
_ACEOF
|
|
12892 |
||
12893 |
fi
|
|
12894 |
fi
|
|
12895 |
USE_NLS=yes |
|
12896 |
||
12897 |
||
12898 |
gt_cv_have_gettext=no |
|
12899 |
||
12900 |
CATOBJEXT=NONE |
|
12901 |
XGETTEXT=: |
|
12902 |
INTLLIBS= |
|
12903 |
||
12904 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12905 |
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5 |
12906 |
$as_echo_n "checking for libintl.h... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12907 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12908 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12909 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12910 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
12911 |
$as_echo "$ac_cv_header_libintl_h" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12912 |
else
|
12913 |
# Is the header compilable?
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12914 |
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5 |
12915 |
$as_echo_n "checking libintl.h usability... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12916 |
cat >conftest.$ac_ext <<_ACEOF |
12917 |
/* confdefs.h. */
|
|
12918 |
_ACEOF
|
|
12919 |
cat confdefs.h >>conftest.$ac_ext
|
|
12920 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12921 |
/* end confdefs.h. */
|
|
12922 |
$ac_includes_default
|
|
12923 |
#include <libintl.h>
|
|
12924 |
_ACEOF
|
|
12925 |
rm -f conftest.$ac_objext
|
|
12926 |
if { (ac_try="$ac_compile" |
|
12927 |
case "(($ac_try" in |
|
12928 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12929 |
*) ac_try_echo=$ac_try;; |
|
12930 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12931 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12932 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12933 |
(eval "$ac_compile") 2>conftest.er1 |
12934 |
ac_status=$? |
|
12935 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12936 |
rm -f conftest.er1 |
|
12937 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12938 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12939 |
(exit $ac_status); } && { |
12940 |
test -z "$ac_c_werror_flag" || |
|
12941 |
test ! -s conftest.err
|
|
12942 |
} && test -s conftest.$ac_objext; then |
|
12943 |
ac_header_compiler=yes |
|
12944 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12945 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12946 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12947 |
||
12948 |
ac_header_compiler=no |
|
12949 |
fi
|
|
12950 |
||
12951 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12952 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12953 |
$as_echo "$ac_header_compiler" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12954 |
|
12955 |
# Is the header present?
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12956 |
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5 |
12957 |
$as_echo_n "checking libintl.h presence... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12958 |
cat >conftest.$ac_ext <<_ACEOF |
12959 |
/* confdefs.h. */
|
|
12960 |
_ACEOF
|
|
12961 |
cat confdefs.h >>conftest.$ac_ext
|
|
12962 |
cat >>conftest.$ac_ext <<_ACEOF |
|
12963 |
/* end confdefs.h. */
|
|
12964 |
#include <libintl.h>
|
|
12965 |
_ACEOF
|
|
12966 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
12967 |
case "(($ac_try" in |
|
12968 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
12969 |
*) ac_try_echo=$ac_try;; |
|
12970 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12971 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12972 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12973 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12974 |
ac_status=$? |
|
12975 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
12976 |
rm -f conftest.er1 |
|
12977 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12978 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12979 |
(exit $ac_status); } >/dev/null && { |
12980 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
12981 |
test ! -s conftest.err
|
|
12982 |
}; then |
|
12983 |
ac_header_preproc=yes |
|
12984 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12985 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
12986 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12987 |
||
12988 |
ac_header_preproc=no |
|
12989 |
fi
|
|
12990 |
||
12991 |
rm -f conftest.err conftest.$ac_ext
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12992 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12993 |
$as_echo "$ac_header_preproc" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
12994 |
|
12995 |
# So? What about this header?
|
|
12996 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
12997 |
yes:no: )
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
12998 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12999 |
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
13000 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 |
|
13001 |
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13002 |
ac_header_preproc=yes |
13003 |
;;
|
|
13004 |
no:yes:* )
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13005 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
13006 |
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
|
13007 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
|
13008 |
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
|
13009 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 |
|
13010 |
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} |
|
13011 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
13012 |
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
13013 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
|
13014 |
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
|
13015 |
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 |
|
13016 |
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13017 |
|
13018 |
;;
|
|
13019 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13020 |
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5 |
13021 |
$as_echo_n "checking for libintl.h... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13022 |
if test "${ac_cv_header_libintl_h+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13023 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13024 |
else
|
13025 |
ac_cv_header_libintl_h=$ac_header_preproc |
|
13026 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13027 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
13028 |
$as_echo "$ac_cv_header_libintl_h" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13029 |
|
13030 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13031 |
if test "x$ac_cv_header_libintl_h" = x""yes; then |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13032 |
gt_cv_func_dgettext_libintl="no" |
13033 |
libintl_extra_libs="" |
|
13034 |
||
13035 |
#
|
|
13036 |
# First check in libc
|
|
13037 |
#
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13038 |
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5 |
13039 |
$as_echo_n "checking for ngettext in libc... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13040 |
if test "${gt_cv_func_ngettext_libc+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13041 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13042 |
else
|
13043 |
cat >conftest.$ac_ext <<_ACEOF |
|
13044 |
/* confdefs.h. */
|
|
13045 |
_ACEOF
|
|
13046 |
cat confdefs.h >>conftest.$ac_ext
|
|
13047 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13048 |
/* end confdefs.h. */
|
|
13049 |
||
13050 |
#include <libintl.h>
|
|
13051 |
||
13052 |
int
|
|
13053 |
main ()
|
|
13054 |
{
|
|
13055 |
return !ngettext ("","", 1)
|
|
13056 |
;
|
|
13057 |
return 0;
|
|
13058 |
}
|
|
13059 |
_ACEOF
|
|
13060 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13061 |
if { (ac_try="$ac_link" |
|
13062 |
case "(($ac_try" in |
|
13063 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13064 |
*) ac_try_echo=$ac_try;; |
|
13065 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13066 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13067 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13068 |
(eval "$ac_link") 2>conftest.er1 |
13069 |
ac_status=$? |
|
13070 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13071 |
rm -f conftest.er1 |
|
13072 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13073 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13074 |
(exit $ac_status); } && { |
13075 |
test -z "$ac_c_werror_flag" || |
|
13076 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13077 |
} && test -s conftest$ac_exeext && { |
13078 |
test "$cross_compiling" = yes || |
|
13079 |
$as_test_x conftest$ac_exeext |
|
13080 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13081 |
gt_cv_func_ngettext_libc=yes |
13082 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13083 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13084 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13085 |
||
13086 |
gt_cv_func_ngettext_libc=no |
|
13087 |
fi
|
|
13088 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13089 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13090 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13091 |
conftest$ac_exeext conftest.$ac_ext |
|
13092 |
||
13093 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13094 |
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 |
13095 |
$as_echo "$gt_cv_func_ngettext_libc" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13096 |
|
13097 |
if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13098 |
{ $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5 |
13099 |
$as_echo_n "checking for dgettext in libc... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13100 |
if test "${gt_cv_func_dgettext_libc+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13101 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13102 |
else
|
13103 |
cat >conftest.$ac_ext <<_ACEOF |
|
13104 |
/* confdefs.h. */
|
|
13105 |
_ACEOF
|
|
13106 |
cat confdefs.h >>conftest.$ac_ext
|
|
13107 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13108 |
/* end confdefs.h. */
|
|
13109 |
||
13110 |
#include <libintl.h>
|
|
13111 |
||
13112 |
int
|
|
13113 |
main ()
|
|
13114 |
{
|
|
13115 |
return !dgettext ("","")
|
|
13116 |
;
|
|
13117 |
return 0;
|
|
13118 |
}
|
|
13119 |
_ACEOF
|
|
13120 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13121 |
if { (ac_try="$ac_link" |
|
13122 |
case "(($ac_try" in |
|
13123 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13124 |
*) ac_try_echo=$ac_try;; |
|
13125 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13126 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13127 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13128 |
(eval "$ac_link") 2>conftest.er1 |
13129 |
ac_status=$? |
|
13130 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13131 |
rm -f conftest.er1 |
|
13132 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13133 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13134 |
(exit $ac_status); } && { |
13135 |
test -z "$ac_c_werror_flag" || |
|
13136 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13137 |
} && test -s conftest$ac_exeext && { |
13138 |
test "$cross_compiling" = yes || |
|
13139 |
$as_test_x conftest$ac_exeext |
|
13140 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13141 |
gt_cv_func_dgettext_libc=yes |
13142 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13143 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13144 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13145 |
||
13146 |
gt_cv_func_dgettext_libc=no |
|
13147 |
fi
|
|
13148 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13149 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13150 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13151 |
conftest$ac_exeext conftest.$ac_ext |
|
13152 |
||
13153 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13154 |
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 |
13155 |
$as_echo "$gt_cv_func_dgettext_libc" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13156 |
fi
|
13157 |
||
13158 |
if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
|
13159 |
||
13160 |
for ac_func in bind_textdomain_codeset
|
|
13161 |
do
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13162 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13163 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
13164 |
$as_echo_n "checking for $ac_func... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13165 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13166 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13167 |
else
|
13168 |
cat >conftest.$ac_ext <<_ACEOF |
|
13169 |
/* confdefs.h. */
|
|
13170 |
_ACEOF
|
|
13171 |
cat confdefs.h >>conftest.$ac_ext
|
|
13172 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13173 |
/* end confdefs.h. */
|
|
13174 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
13175 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
13176 |
#define $ac_func innocuous_$ac_func
|
|
13177 |
||
13178 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
13179 |
which can conflict with char $ac_func (); below.
|
|
13180 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
13181 |
<limits.h> exists even on freestanding compilers. */
|
|
13182 |
||
13183 |
#ifdef __STDC__
|
|
13184 |
# include <limits.h>
|
|
13185 |
#else
|
|
13186 |
# include <assert.h>
|
|
13187 |
#endif
|
|
13188 |
||
13189 |
#undef $ac_func
|
|
13190 |
||
13191 |
/* Override any GCC internal prototype to avoid an error.
|
|
13192 |
Use char because int might match the return type of a GCC
|
|
13193 |
builtin and then its argument prototype would still apply. */
|
|
13194 |
#ifdef __cplusplus
|
|
13195 |
extern "C"
|
|
13196 |
#endif
|
|
13197 |
char $ac_func ();
|
|
13198 |
/* The GNU C library defines this for functions which it implements
|
|
13199 |
to always fail with ENOSYS. Some functions are actually named
|
|
13200 |
something starting with __ and the normal name is an alias. */
|
|
13201 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
13202 |
choke me
|
|
13203 |
#endif
|
|
13204 |
||
13205 |
int
|
|
13206 |
main ()
|
|
13207 |
{
|
|
13208 |
return $ac_func ();
|
|
13209 |
;
|
|
13210 |
return 0;
|
|
13211 |
}
|
|
13212 |
_ACEOF
|
|
13213 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13214 |
if { (ac_try="$ac_link" |
|
13215 |
case "(($ac_try" in |
|
13216 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13217 |
*) ac_try_echo=$ac_try;; |
|
13218 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13219 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13220 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13221 |
(eval "$ac_link") 2>conftest.er1 |
13222 |
ac_status=$? |
|
13223 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13224 |
rm -f conftest.er1 |
|
13225 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13226 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13227 |
(exit $ac_status); } && { |
13228 |
test -z "$ac_c_werror_flag" || |
|
13229 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13230 |
} && test -s conftest$ac_exeext && { |
13231 |
test "$cross_compiling" = yes || |
|
13232 |
$as_test_x conftest$ac_exeext |
|
13233 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13234 |
eval "$as_ac_var=yes" |
13235 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13236 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13237 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13238 |
||
13239 |
eval "$as_ac_var=no" |
|
13240 |
fi
|
|
13241 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13242 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13243 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13244 |
conftest$ac_exeext conftest.$ac_ext |
|
13245 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13246 |
ac_res=`eval 'as_val=${'$as_ac_var'} |
13247 |
$as_echo "$as_val"'` |
|
13248 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
13249 |
$as_echo "$ac_res" >&6; } |
|
13250 |
as_val=`eval 'as_val=${'$as_ac_var'} |
|
13251 |
$as_echo "$as_val"'` |
|
13252 |
if test "x$as_val" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13253 |
cat >>confdefs.h <<_ACEOF
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13254 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13255 |
_ACEOF
|
13256 |
||
13257 |
fi
|
|
13258 |
done
|
|
13259 |
||
13260 |
fi
|
|
13261 |
||
13262 |
#
|
|
13263 |
# If we don't have everything we want, check in libintl
|
|
13264 |
#
|
|
13265 |
if test "$gt_cv_func_dgettext_libc" != "yes" \ |
|
13266 |
|| test "$gt_cv_func_ngettext_libc" != "yes" \ |
|
13267 |
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
|
13268 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13269 |
{ $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
13270 |
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13271 |
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13272 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13273 |
else
|
13274 |
ac_check_lib_save_LIBS=$LIBS |
|
13275 |
LIBS="-lintl $LIBS" |
|
13276 |
cat >conftest.$ac_ext <<_ACEOF |
|
13277 |
/* confdefs.h. */
|
|
13278 |
_ACEOF
|
|
13279 |
cat confdefs.h >>conftest.$ac_ext
|
|
13280 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13281 |
/* end confdefs.h. */
|
|
13282 |
||
13283 |
/* Override any GCC internal prototype to avoid an error.
|
|
13284 |
Use char because int might match the return type of a GCC
|
|
13285 |
builtin and then its argument prototype would still apply. */
|
|
13286 |
#ifdef __cplusplus
|
|
13287 |
extern "C"
|
|
13288 |
#endif
|
|
13289 |
char bindtextdomain ();
|
|
13290 |
int
|
|
13291 |
main ()
|
|
13292 |
{
|
|
13293 |
return bindtextdomain ();
|
|
13294 |
;
|
|
13295 |
return 0;
|
|
13296 |
}
|
|
13297 |
_ACEOF
|
|
13298 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13299 |
if { (ac_try="$ac_link" |
|
13300 |
case "(($ac_try" in |
|
13301 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13302 |
*) ac_try_echo=$ac_try;; |
|
13303 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13304 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13305 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13306 |
(eval "$ac_link") 2>conftest.er1 |
13307 |
ac_status=$? |
|
13308 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13309 |
rm -f conftest.er1 |
|
13310 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13311 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13312 |
(exit $ac_status); } && { |
13313 |
test -z "$ac_c_werror_flag" || |
|
13314 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13315 |
} && test -s conftest$ac_exeext && { |
13316 |
test "$cross_compiling" = yes || |
|
13317 |
$as_test_x conftest$ac_exeext |
|
13318 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13319 |
ac_cv_lib_intl_bindtextdomain=yes |
13320 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13321 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13322 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13323 |
||
13324 |
ac_cv_lib_intl_bindtextdomain=no |
|
13325 |
fi
|
|
13326 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13327 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13328 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13329 |
conftest$ac_exeext conftest.$ac_ext |
|
13330 |
LIBS=$ac_check_lib_save_LIBS |
|
13331 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13332 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
13333 |
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } |
|
13334 |
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then |
|
13335 |
{ $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 |
|
13336 |
$as_echo_n "checking for ngettext in -lintl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13337 |
if test "${ac_cv_lib_intl_ngettext+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13338 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13339 |
else
|
13340 |
ac_check_lib_save_LIBS=$LIBS |
|
13341 |
LIBS="-lintl $LIBS" |
|
13342 |
cat >conftest.$ac_ext <<_ACEOF |
|
13343 |
/* confdefs.h. */
|
|
13344 |
_ACEOF
|
|
13345 |
cat confdefs.h >>conftest.$ac_ext
|
|
13346 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13347 |
/* end confdefs.h. */
|
|
13348 |
||
13349 |
/* Override any GCC internal prototype to avoid an error.
|
|
13350 |
Use char because int might match the return type of a GCC
|
|
13351 |
builtin and then its argument prototype would still apply. */
|
|
13352 |
#ifdef __cplusplus
|
|
13353 |
extern "C"
|
|
13354 |
#endif
|
|
13355 |
char ngettext ();
|
|
13356 |
int
|
|
13357 |
main ()
|
|
13358 |
{
|
|
13359 |
return ngettext ();
|
|
13360 |
;
|
|
13361 |
return 0;
|
|
13362 |
}
|
|
13363 |
_ACEOF
|
|
13364 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13365 |
if { (ac_try="$ac_link" |
|
13366 |
case "(($ac_try" in |
|
13367 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13368 |
*) ac_try_echo=$ac_try;; |
|
13369 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13370 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13371 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13372 |
(eval "$ac_link") 2>conftest.er1 |
13373 |
ac_status=$? |
|
13374 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13375 |
rm -f conftest.er1 |
|
13376 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13377 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13378 |
(exit $ac_status); } && { |
13379 |
test -z "$ac_c_werror_flag" || |
|
13380 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13381 |
} && test -s conftest$ac_exeext && { |
13382 |
test "$cross_compiling" = yes || |
|
13383 |
$as_test_x conftest$ac_exeext |
|
13384 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13385 |
ac_cv_lib_intl_ngettext=yes |
13386 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13387 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13388 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13389 |
||
13390 |
ac_cv_lib_intl_ngettext=no |
|
13391 |
fi
|
|
13392 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13393 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13394 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13395 |
conftest$ac_exeext conftest.$ac_ext |
|
13396 |
LIBS=$ac_check_lib_save_LIBS |
|
13397 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13398 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 |
13399 |
$as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
|
13400 |
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then |
|
13401 |
{ $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
|
13402 |
$as_echo_n "checking for dgettext in -lintl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13403 |
if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13404 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13405 |
else
|
13406 |
ac_check_lib_save_LIBS=$LIBS |
|
13407 |
LIBS="-lintl $LIBS" |
|
13408 |
cat >conftest.$ac_ext <<_ACEOF |
|
13409 |
/* confdefs.h. */
|
|
13410 |
_ACEOF
|
|
13411 |
cat confdefs.h >>conftest.$ac_ext
|
|
13412 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13413 |
/* end confdefs.h. */
|
|
13414 |
||
13415 |
/* Override any GCC internal prototype to avoid an error.
|
|
13416 |
Use char because int might match the return type of a GCC
|
|
13417 |
builtin and then its argument prototype would still apply. */
|
|
13418 |
#ifdef __cplusplus
|
|
13419 |
extern "C"
|
|
13420 |
#endif
|
|
13421 |
char dgettext ();
|
|
13422 |
int
|
|
13423 |
main ()
|
|
13424 |
{
|
|
13425 |
return dgettext ();
|
|
13426 |
;
|
|
13427 |
return 0;
|
|
13428 |
}
|
|
13429 |
_ACEOF
|
|
13430 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13431 |
if { (ac_try="$ac_link" |
|
13432 |
case "(($ac_try" in |
|
13433 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13434 |
*) ac_try_echo=$ac_try;; |
|
13435 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13436 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13437 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13438 |
(eval "$ac_link") 2>conftest.er1 |
13439 |
ac_status=$? |
|
13440 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13441 |
rm -f conftest.er1 |
|
13442 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13443 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13444 |
(exit $ac_status); } && { |
13445 |
test -z "$ac_c_werror_flag" || |
|
13446 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13447 |
} && test -s conftest$ac_exeext && { |
13448 |
test "$cross_compiling" = yes || |
|
13449 |
$as_test_x conftest$ac_exeext |
|
13450 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13451 |
ac_cv_lib_intl_dgettext=yes |
13452 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13453 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13454 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13455 |
||
13456 |
ac_cv_lib_intl_dgettext=no |
|
13457 |
fi
|
|
13458 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13459 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13460 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13461 |
conftest$ac_exeext conftest.$ac_ext |
|
13462 |
LIBS=$ac_check_lib_save_LIBS |
|
13463 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13464 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
13465 |
$as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
|
13466 |
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13467 |
gt_cv_func_dgettext_libintl=yes |
13468 |
fi
|
|
13469 |
||
13470 |
fi
|
|
13471 |
||
13472 |
fi
|
|
13473 |
||
13474 |
||
13475 |
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13476 |
{ $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 |
13477 |
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } |
|
13478 |
{ $as_echo "$as_me:$LINENO: result: " >&5 |
|
13479 |
$as_echo "" >&6; } |
|
13480 |
{ $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 |
|
13481 |
$as_echo_n "checking for ngettext in -lintl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13482 |
if test "${ac_cv_lib_intl_ngettext+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13483 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13484 |
else
|
13485 |
ac_check_lib_save_LIBS=$LIBS |
|
13486 |
LIBS="-lintl -liconv $LIBS" |
|
13487 |
cat >conftest.$ac_ext <<_ACEOF |
|
13488 |
/* confdefs.h. */
|
|
13489 |
_ACEOF
|
|
13490 |
cat confdefs.h >>conftest.$ac_ext
|
|
13491 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13492 |
/* end confdefs.h. */
|
|
13493 |
||
13494 |
/* Override any GCC internal prototype to avoid an error.
|
|
13495 |
Use char because int might match the return type of a GCC
|
|
13496 |
builtin and then its argument prototype would still apply. */
|
|
13497 |
#ifdef __cplusplus
|
|
13498 |
extern "C"
|
|
13499 |
#endif
|
|
13500 |
char ngettext ();
|
|
13501 |
int
|
|
13502 |
main ()
|
|
13503 |
{
|
|
13504 |
return ngettext ();
|
|
13505 |
;
|
|
13506 |
return 0;
|
|
13507 |
}
|
|
13508 |
_ACEOF
|
|
13509 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13510 |
if { (ac_try="$ac_link" |
|
13511 |
case "(($ac_try" in |
|
13512 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13513 |
*) ac_try_echo=$ac_try;; |
|
13514 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13515 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13516 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13517 |
(eval "$ac_link") 2>conftest.er1 |
13518 |
ac_status=$? |
|
13519 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13520 |
rm -f conftest.er1 |
|
13521 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13522 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13523 |
(exit $ac_status); } && { |
13524 |
test -z "$ac_c_werror_flag" || |
|
13525 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13526 |
} && test -s conftest$ac_exeext && { |
13527 |
test "$cross_compiling" = yes || |
|
13528 |
$as_test_x conftest$ac_exeext |
|
13529 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13530 |
ac_cv_lib_intl_ngettext=yes |
13531 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13532 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13533 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13534 |
||
13535 |
ac_cv_lib_intl_ngettext=no |
|
13536 |
fi
|
|
13537 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13538 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13539 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13540 |
conftest$ac_exeext conftest.$ac_ext |
|
13541 |
LIBS=$ac_check_lib_save_LIBS |
|
13542 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13543 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 |
13544 |
$as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
|
13545 |
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then |
|
13546 |
{ $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 |
|
13547 |
$as_echo_n "checking for dcgettext in -lintl... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13548 |
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13549 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13550 |
else
|
13551 |
ac_check_lib_save_LIBS=$LIBS |
|
13552 |
LIBS="-lintl -liconv $LIBS" |
|
13553 |
cat >conftest.$ac_ext <<_ACEOF |
|
13554 |
/* confdefs.h. */
|
|
13555 |
_ACEOF
|
|
13556 |
cat confdefs.h >>conftest.$ac_ext
|
|
13557 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13558 |
/* end confdefs.h. */
|
|
13559 |
||
13560 |
/* Override any GCC internal prototype to avoid an error.
|
|
13561 |
Use char because int might match the return type of a GCC
|
|
13562 |
builtin and then its argument prototype would still apply. */
|
|
13563 |
#ifdef __cplusplus
|
|
13564 |
extern "C"
|
|
13565 |
#endif
|
|
13566 |
char dcgettext ();
|
|
13567 |
int
|
|
13568 |
main ()
|
|
13569 |
{
|
|
13570 |
return dcgettext ();
|
|
13571 |
;
|
|
13572 |
return 0;
|
|
13573 |
}
|
|
13574 |
_ACEOF
|
|
13575 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13576 |
if { (ac_try="$ac_link" |
|
13577 |
case "(($ac_try" in |
|
13578 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13579 |
*) ac_try_echo=$ac_try;; |
|
13580 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13581 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13582 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13583 |
(eval "$ac_link") 2>conftest.er1 |
13584 |
ac_status=$? |
|
13585 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13586 |
rm -f conftest.er1 |
|
13587 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13588 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13589 |
(exit $ac_status); } && { |
13590 |
test -z "$ac_c_werror_flag" || |
|
13591 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13592 |
} && test -s conftest$ac_exeext && { |
13593 |
test "$cross_compiling" = yes || |
|
13594 |
$as_test_x conftest$ac_exeext |
|
13595 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13596 |
ac_cv_lib_intl_dcgettext=yes |
13597 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13598 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13599 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13600 |
||
13601 |
ac_cv_lib_intl_dcgettext=no |
|
13602 |
fi
|
|
13603 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13604 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13605 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13606 |
conftest$ac_exeext conftest.$ac_ext |
|
13607 |
LIBS=$ac_check_lib_save_LIBS |
|
13608 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13609 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 |
13610 |
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } |
|
13611 |
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13612 |
gt_cv_func_dgettext_libintl=yes |
13613 |
libintl_extra_libs=-liconv |
|
13614 |
else
|
|
13615 |
: |
|
13616 |
fi
|
|
13617 |
||
13618 |
else
|
|
13619 |
: |
|
13620 |
fi
|
|
13621 |
||
13622 |
fi
|
|
13623 |
||
13624 |
#
|
|
13625 |
# If we found libintl, then check in it for bind_textdomain_codeset();
|
|
13626 |
# we'll prefer libc if neither have bind_textdomain_codeset(),
|
|
13627 |
# and both have dgettext and ngettext
|
|
13628 |
#
|
|
13629 |
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
|
13630 |
glib_save_LIBS="$LIBS" |
|
13631 |
LIBS="$LIBS -lintl $libintl_extra_libs" |
|
13632 |
unset ac_cv_func_bind_textdomain_codeset
|
|
13633 |
||
13634 |
for ac_func in bind_textdomain_codeset
|
|
13635 |
do
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13636 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13637 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
13638 |
$as_echo_n "checking for $ac_func... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13639 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13640 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13641 |
else
|
13642 |
cat >conftest.$ac_ext <<_ACEOF |
|
13643 |
/* confdefs.h. */
|
|
13644 |
_ACEOF
|
|
13645 |
cat confdefs.h >>conftest.$ac_ext
|
|
13646 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13647 |
/* end confdefs.h. */
|
|
13648 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
13649 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
13650 |
#define $ac_func innocuous_$ac_func
|
|
13651 |
||
13652 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
13653 |
which can conflict with char $ac_func (); below.
|
|
13654 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
13655 |
<limits.h> exists even on freestanding compilers. */
|
|
13656 |
||
13657 |
#ifdef __STDC__
|
|
13658 |
# include <limits.h>
|
|
13659 |
#else
|
|
13660 |
# include <assert.h>
|
|
13661 |
#endif
|
|
13662 |
||
13663 |
#undef $ac_func
|
|
13664 |
||
13665 |
/* Override any GCC internal prototype to avoid an error.
|
|
13666 |
Use char because int might match the return type of a GCC
|
|
13667 |
builtin and then its argument prototype would still apply. */
|
|
13668 |
#ifdef __cplusplus
|
|
13669 |
extern "C"
|
|
13670 |
#endif
|
|
13671 |
char $ac_func ();
|
|
13672 |
/* The GNU C library defines this for functions which it implements
|
|
13673 |
to always fail with ENOSYS. Some functions are actually named
|
|
13674 |
something starting with __ and the normal name is an alias. */
|
|
13675 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
13676 |
choke me
|
|
13677 |
#endif
|
|
13678 |
||
13679 |
int
|
|
13680 |
main ()
|
|
13681 |
{
|
|
13682 |
return $ac_func ();
|
|
13683 |
;
|
|
13684 |
return 0;
|
|
13685 |
}
|
|
13686 |
_ACEOF
|
|
13687 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13688 |
if { (ac_try="$ac_link" |
|
13689 |
case "(($ac_try" in |
|
13690 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13691 |
*) ac_try_echo=$ac_try;; |
|
13692 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13693 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13694 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13695 |
(eval "$ac_link") 2>conftest.er1 |
13696 |
ac_status=$? |
|
13697 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13698 |
rm -f conftest.er1 |
|
13699 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13700 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13701 |
(exit $ac_status); } && { |
13702 |
test -z "$ac_c_werror_flag" || |
|
13703 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13704 |
} && test -s conftest$ac_exeext && { |
13705 |
test "$cross_compiling" = yes || |
|
13706 |
$as_test_x conftest$ac_exeext |
|
13707 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13708 |
eval "$as_ac_var=yes" |
13709 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13710 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13711 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13712 |
||
13713 |
eval "$as_ac_var=no" |
|
13714 |
fi
|
|
13715 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13716 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13717 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13718 |
conftest$ac_exeext conftest.$ac_ext |
|
13719 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13720 |
ac_res=`eval 'as_val=${'$as_ac_var'} |
13721 |
$as_echo "$as_val"'` |
|
13722 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
13723 |
$as_echo "$ac_res" >&6; } |
|
13724 |
as_val=`eval 'as_val=${'$as_ac_var'} |
|
13725 |
$as_echo "$as_val"'` |
|
13726 |
if test "x$as_val" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13727 |
cat >>confdefs.h <<_ACEOF
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13728 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13729 |
_ACEOF
|
13730 |
||
13731 |
fi
|
|
13732 |
done
|
|
13733 |
||
13734 |
LIBS="$glib_save_LIBS" |
|
13735 |
||
13736 |
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
|
13737 |
gt_cv_func_dgettext_libc=no |
|
13738 |
else
|
|
13739 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
|
13740 |
&& test "$gt_cv_func_ngettext_libc" = "yes"; then |
|
13741 |
gt_cv_func_dgettext_libintl=no |
|
13742 |
fi
|
|
13743 |
fi
|
|
13744 |
fi
|
|
13745 |
fi
|
|
13746 |
||
13747 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
|
13748 |
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
13749 |
gt_cv_have_gettext=yes |
|
13750 |
fi
|
|
13751 |
||
13752 |
if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
13753 |
INTLLIBS="-lintl $libintl_extra_libs" |
|
13754 |
fi
|
|
13755 |
||
13756 |
if test "$gt_cv_have_gettext" = "yes"; then |
|
13757 |
||
13758 |
cat >>confdefs.h <<\_ACEOF
|
|
13759 |
#define HAVE_GETTEXT 1
|
|
13760 |
_ACEOF
|
|
13761 |
||
13762 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
13763 |
set dummy msgfmt; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13764 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13765 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13766 |
if test "${ac_cv_path_MSGFMT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13767 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13768 |
else
|
13769 |
case "$MSGFMT" in |
|
13770 |
/*)
|
|
13771 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
13772 |
;;
|
|
13773 |
*)
|
|
13774 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
13775 |
for ac_dir in $PATH; do |
|
13776 |
test -z "$ac_dir" && ac_dir=. |
|
13777 |
if test -f $ac_dir/$ac_word; then |
|
13778 |
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
|
13779 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
|
13780 |
break
|
|
13781 |
fi
|
|
13782 |
fi
|
|
13783 |
done
|
|
13784 |
IFS="$ac_save_ifs" |
|
13785 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
|
13786 |
;;
|
|
13787 |
esac
|
|
13788 |
fi
|
|
13789 |
MSGFMT="$ac_cv_path_MSGFMT" |
|
13790 |
if test "$MSGFMT" != "no"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13791 |
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
13792 |
$as_echo "$MSGFMT" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13793 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13794 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
13795 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13796 |
fi
|
13797 |
if test "$MSGFMT" != "no"; then |
|
13798 |
glib_save_LIBS="$LIBS" |
|
13799 |
LIBS="$LIBS $INTLLIBS" |
|
13800 |
||
13801 |
for ac_func in dcgettext
|
|
13802 |
do
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13803 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13804 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
13805 |
$as_echo_n "checking for $ac_func... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13806 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13807 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13808 |
else
|
13809 |
cat >conftest.$ac_ext <<_ACEOF |
|
13810 |
/* confdefs.h. */
|
|
13811 |
_ACEOF
|
|
13812 |
cat confdefs.h >>conftest.$ac_ext
|
|
13813 |
cat >>conftest.$ac_ext <<_ACEOF |
|
13814 |
/* end confdefs.h. */
|
|
13815 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
13816 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
13817 |
#define $ac_func innocuous_$ac_func
|
|
13818 |
||
13819 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
13820 |
which can conflict with char $ac_func (); below.
|
|
13821 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
13822 |
<limits.h> exists even on freestanding compilers. */
|
|
13823 |
||
13824 |
#ifdef __STDC__
|
|
13825 |
# include <limits.h>
|
|
13826 |
#else
|
|
13827 |
# include <assert.h>
|
|
13828 |
#endif
|
|
13829 |
||
13830 |
#undef $ac_func
|
|
13831 |
||
13832 |
/* Override any GCC internal prototype to avoid an error.
|
|
13833 |
Use char because int might match the return type of a GCC
|
|
13834 |
builtin and then its argument prototype would still apply. */
|
|
13835 |
#ifdef __cplusplus
|
|
13836 |
extern "C"
|
|
13837 |
#endif
|
|
13838 |
char $ac_func ();
|
|
13839 |
/* The GNU C library defines this for functions which it implements
|
|
13840 |
to always fail with ENOSYS. Some functions are actually named
|
|
13841 |
something starting with __ and the normal name is an alias. */
|
|
13842 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
13843 |
choke me
|
|
13844 |
#endif
|
|
13845 |
||
13846 |
int
|
|
13847 |
main ()
|
|
13848 |
{
|
|
13849 |
return $ac_func ();
|
|
13850 |
;
|
|
13851 |
return 0;
|
|
13852 |
}
|
|
13853 |
_ACEOF
|
|
13854 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
13855 |
if { (ac_try="$ac_link" |
|
13856 |
case "(($ac_try" in |
|
13857 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
13858 |
*) ac_try_echo=$ac_try;; |
|
13859 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13860 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13861 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13862 |
(eval "$ac_link") 2>conftest.er1 |
13863 |
ac_status=$? |
|
13864 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
13865 |
rm -f conftest.er1 |
|
13866 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13867 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13868 |
(exit $ac_status); } && { |
13869 |
test -z "$ac_c_werror_flag" || |
|
13870 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13871 |
} && test -s conftest$ac_exeext && { |
13872 |
test "$cross_compiling" = yes || |
|
13873 |
$as_test_x conftest$ac_exeext |
|
13874 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13875 |
eval "$as_ac_var=yes" |
13876 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13877 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13878 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13879 |
||
13880 |
eval "$as_ac_var=no" |
|
13881 |
fi
|
|
13882 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13883 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13884 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13885 |
conftest$ac_exeext conftest.$ac_ext |
|
13886 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13887 |
ac_res=`eval 'as_val=${'$as_ac_var'} |
13888 |
$as_echo "$as_val"'` |
|
13889 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
13890 |
$as_echo "$ac_res" >&6; } |
|
13891 |
as_val=`eval 'as_val=${'$as_ac_var'} |
|
13892 |
$as_echo "$as_val"'` |
|
13893 |
if test "x$as_val" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13894 |
cat >>confdefs.h <<_ACEOF
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13895 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13896 |
_ACEOF
|
13897 |
||
13898 |
fi
|
|
13899 |
done
|
|
13900 |
||
13901 |
MSGFMT_OPTS= |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13902 |
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 |
13903 |
$as_echo_n "checking if msgfmt accepts -c... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13904 |
cat >conftest.foo <<_ACEOF
|
13905 |
||
13906 |
msgid ""
|
|
13907 |
msgstr ""
|
|
13908 |
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13909 |
"Project-Id-Version: test 1.0\n"
|
|
13910 |
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
|
|
13911 |
"Last-Translator: test <foo@bar.xx>\n"
|
|
13912 |
"Language-Team: C <LL@li.org>\n"
|
|
13913 |
"MIME-Version: 1.0\n"
|
|
13914 |
"Content-Transfer-Encoding: 8bit\n"
|
|
13915 |
||
13916 |
_ACEOF
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13917 |
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13918 |
($MSGFMT -c -o /dev/null conftest.foo) 2>&5 |
13919 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13920 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13921 |
(exit $ac_status); }; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13922 |
MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5 |
13923 |
$as_echo "yes" >&6; } |
|
13924 |
else { $as_echo "$as_me:$LINENO: result: no" >&5 |
|
13925 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13926 |
echo "$as_me: failed input was:" >&5 |
13927 |
sed 's/^/| /' conftest.foo >&5 |
|
13928 |
fi
|
|
13929 |
||
13930 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
13931 |
set dummy gmsgfmt; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13932 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13933 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13934 |
if test "${ac_cv_path_GMSGFMT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13935 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13936 |
else
|
13937 |
case $GMSGFMT in |
|
13938 |
[\\/]* | ?:[\\/]*) |
|
13939 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
13940 |
;;
|
|
13941 |
*)
|
|
13942 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
13943 |
for as_dir in $PATH |
|
13944 |
do
|
|
13945 |
IFS=$as_save_IFS |
|
13946 |
test -z "$as_dir" && as_dir=. |
|
13947 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
13948 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
13949 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13950 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13951 |
break 2 |
13952 |
fi
|
|
13953 |
done
|
|
13954 |
done
|
|
13955 |
IFS=$as_save_IFS |
|
13956 |
||
13957 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
13958 |
;;
|
|
13959 |
esac
|
|
13960 |
fi
|
|
13961 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
13962 |
if test -n "$GMSGFMT"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13963 |
{ $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
13964 |
$as_echo "$GMSGFMT" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13965 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13966 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
13967 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13968 |
fi
|
13969 |
||
13970 |
||
13971 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
13972 |
set dummy xgettext; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13973 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13974 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
13975 |
if test "${ac_cv_path_XGETTEXT+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
13976 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
13977 |
else
|
13978 |
case "$XGETTEXT" in |
|
13979 |
/*)
|
|
13980 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
13981 |
;;
|
|
13982 |
*)
|
|
13983 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
13984 |
for ac_dir in $PATH; do |
|
13985 |
test -z "$ac_dir" && ac_dir=. |
|
13986 |
if test -f $ac_dir/$ac_word; then |
|
13987 |
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
|
13988 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
|
13989 |
break
|
|
13990 |
fi
|
|
13991 |
fi
|
|
13992 |
done
|
|
13993 |
IFS="$ac_save_ifs" |
|
13994 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
|
13995 |
;;
|
|
13996 |
esac
|
|
13997 |
fi
|
|
13998 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
|
13999 |
if test "$XGETTEXT" != ":"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14000 |
{ $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
14001 |
$as_echo "$XGETTEXT" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14002 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14003 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
14004 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14005 |
fi
|
14006 |
||
14007 |
cat >conftest.$ac_ext <<_ACEOF |
|
14008 |
/* confdefs.h. */
|
|
14009 |
_ACEOF
|
|
14010 |
cat confdefs.h >>conftest.$ac_ext
|
|
14011 |
cat >>conftest.$ac_ext <<_ACEOF |
|
14012 |
/* end confdefs.h. */
|
|
14013 |
||
14014 |
int
|
|
14015 |
main ()
|
|
14016 |
{
|
|
14017 |
extern int _nl_msg_cat_cntr;
|
|
14018 |
return _nl_msg_cat_cntr
|
|
14019 |
;
|
|
14020 |
return 0;
|
|
14021 |
}
|
|
14022 |
_ACEOF
|
|
14023 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
14024 |
if { (ac_try="$ac_link" |
|
14025 |
case "(($ac_try" in |
|
14026 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
14027 |
*) ac_try_echo=$ac_try;; |
|
14028 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14029 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14030 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14031 |
(eval "$ac_link") 2>conftest.er1 |
14032 |
ac_status=$? |
|
14033 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
14034 |
rm -f conftest.er1 |
|
14035 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14036 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14037 |
(exit $ac_status); } && { |
14038 |
test -z "$ac_c_werror_flag" || |
|
14039 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14040 |
} && test -s conftest$ac_exeext && { |
14041 |
test "$cross_compiling" = yes || |
|
14042 |
$as_test_x conftest$ac_exeext |
|
14043 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14044 |
CATOBJEXT=.gmo |
14045 |
DATADIRNAME=share |
|
14046 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14047 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14048 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14049 |
||
14050 |
case $host in |
|
14051 |
*-*-solaris*)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14052 |
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 |
14053 |
$as_echo_n "checking for bind_textdomain_codeset... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14054 |
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14055 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14056 |
else
|
14057 |
cat >conftest.$ac_ext <<_ACEOF |
|
14058 |
/* confdefs.h. */
|
|
14059 |
_ACEOF
|
|
14060 |
cat confdefs.h >>conftest.$ac_ext
|
|
14061 |
cat >>conftest.$ac_ext <<_ACEOF |
|
14062 |
/* end confdefs.h. */
|
|
14063 |
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
|
|
14064 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
14065 |
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
|
|
14066 |
||
14067 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
14068 |
which can conflict with char bind_textdomain_codeset (); below.
|
|
14069 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
14070 |
<limits.h> exists even on freestanding compilers. */
|
|
14071 |
||
14072 |
#ifdef __STDC__
|
|
14073 |
# include <limits.h>
|
|
14074 |
#else
|
|
14075 |
# include <assert.h>
|
|
14076 |
#endif
|
|
14077 |
||
14078 |
#undef bind_textdomain_codeset
|
|
14079 |
||
14080 |
/* Override any GCC internal prototype to avoid an error.
|
|
14081 |
Use char because int might match the return type of a GCC
|
|
14082 |
builtin and then its argument prototype would still apply. */
|
|
14083 |
#ifdef __cplusplus
|
|
14084 |
extern "C"
|
|
14085 |
#endif
|
|
14086 |
char bind_textdomain_codeset ();
|
|
14087 |
/* The GNU C library defines this for functions which it implements
|
|
14088 |
to always fail with ENOSYS. Some functions are actually named
|
|
14089 |
something starting with __ and the normal name is an alias. */
|
|
14090 |
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
|
|
14091 |
choke me
|
|
14092 |
#endif
|
|
14093 |
||
14094 |
int
|
|
14095 |
main ()
|
|
14096 |
{
|
|
14097 |
return bind_textdomain_codeset ();
|
|
14098 |
;
|
|
14099 |
return 0;
|
|
14100 |
}
|
|
14101 |
_ACEOF
|
|
14102 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
14103 |
if { (ac_try="$ac_link" |
|
14104 |
case "(($ac_try" in |
|
14105 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
14106 |
*) ac_try_echo=$ac_try;; |
|
14107 |
esac
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14108 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14109 |
$as_echo "$ac_try_echo") >&5 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14110 |
(eval "$ac_link") 2>conftest.er1 |
14111 |
ac_status=$? |
|
14112 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
14113 |
rm -f conftest.er1 |
|
14114 |
cat conftest.err >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14115 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14116 |
(exit $ac_status); } && { |
14117 |
test -z "$ac_c_werror_flag" || |
|
14118 |
test ! -s conftest.err
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14119 |
} && test -s conftest$ac_exeext && { |
14120 |
test "$cross_compiling" = yes || |
|
14121 |
$as_test_x conftest$ac_exeext |
|
14122 |
}; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14123 |
ac_cv_func_bind_textdomain_codeset=yes |
14124 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14125 |
$as_echo "$as_me: failed program was:" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14126 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14127 |
||
14128 |
ac_cv_func_bind_textdomain_codeset=no |
|
14129 |
fi
|
|
14130 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14131 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14132 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14133 |
conftest$ac_exeext conftest.$ac_ext |
|
14134 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14135 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 |
14136 |
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; } |
|
14137 |
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14138 |
CATOBJEXT=.gmo |
14139 |
DATADIRNAME=share |
|
14140 |
else
|
|
14141 |
CATOBJEXT=.mo |
|
14142 |
DATADIRNAME=lib |
|
14143 |
fi
|
|
14144 |
||
14145 |
;;
|
|
14146 |
*)
|
|
14147 |
CATOBJEXT=.mo |
|
14148 |
DATADIRNAME=lib |
|
14149 |
;;
|
|
14150 |
esac
|
|
14151 |
fi
|
|
14152 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14153 |
rm -rf conftest.dSYM |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14154 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14155 |
conftest$ac_exeext conftest.$ac_ext |
|
14156 |
LIBS="$glib_save_LIBS" |
|
14157 |
INSTOBJEXT=.mo |
|
14158 |
else
|
|
14159 |
gt_cv_have_gettext=no |
|
14160 |
fi
|
|
14161 |
fi
|
|
14162 |
||
14163 |
fi
|
|
14164 |
||
14165 |
||
14166 |
||
14167 |
if test "$gt_cv_have_gettext" = "yes" ; then |
|
14168 |
||
14169 |
cat >>confdefs.h <<\_ACEOF
|
|
14170 |
#define ENABLE_NLS 1
|
|
14171 |
_ACEOF
|
|
14172 |
||
14173 |
fi
|
|
14174 |
||
14175 |
if test "$XGETTEXT" != ":"; then |
|
14176 |
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
|
14177 |
: ;
|
|
14178 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14179 |
{ $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
14180 |
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14181 |
XGETTEXT=":" |
14182 |
fi
|
|
14183 |
fi
|
|
14184 |
||
14185 |
# We need to process the po/ directory.
|
|
14186 |
POSUB=po |
|
14187 |
||
14188 |
ac_config_commands="$ac_config_commands default-1" |
|
14189 |
||
14190 |
||
14191 |
for lang in $ALL_LINGUAS; do |
|
14192 |
GMOFILES="$GMOFILES $lang.gmo" |
|
14193 |
POFILES="$POFILES $lang.po" |
|
14194 |
done
|
|
14195 |
||
14196 |
||
14197 |
||
14198 |
||
14199 |
||
14200 |
||
14201 |
||
14202 |
||
14203 |
||
14204 |
||
14205 |
||
14206 |
||
14207 |
||
14208 |
if test "$gt_cv_have_gettext" = "yes"; then |
|
14209 |
if test "x$ALL_LINGUAS" = "x"; then |
|
14210 |
LINGUAS= |
|
14211 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14212 |
{ $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 |
14213 |
$as_echo_n "checking for catalogs to be installed... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14214 |
NEW_LINGUAS= |
14215 |
for presentlang in $ALL_LINGUAS; do |
|
14216 |
useit=no |
|
14217 |
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then |
|
14218 |
desiredlanguages="$LINGUAS" |
|
14219 |
else
|
|
14220 |
desiredlanguages="$ALL_LINGUAS" |
|
14221 |
fi
|
|
14222 |
for desiredlang in $desiredlanguages; do |
|
14223 |
# Use the presentlang catalog if desiredlang is
|
|
14224 |
# a. equal to presentlang, or
|
|
14225 |
# b. a variant of presentlang (because in this case,
|
|
14226 |
# presentlang can be used as a fallback for messages
|
|
14227 |
# which are not translated in the desiredlang catalog).
|
|
14228 |
case "$desiredlang" in |
|
14229 |
"$presentlang"*) useit=yes;; |
|
14230 |
esac
|
|
14231 |
done
|
|
14232 |
if test $useit = yes; then |
|
14233 |
NEW_LINGUAS="$NEW_LINGUAS $presentlang" |
|
14234 |
fi
|
|
14235 |
done
|
|
14236 |
LINGUAS=$NEW_LINGUAS |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14237 |
{ $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5 |
14238 |
$as_echo "$LINGUAS" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14239 |
fi
|
14240 |
||
14241 |
if test -n "$LINGUAS"; then |
|
14242 |
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
|
14243 |
fi
|
|
14244 |
fi
|
|
14245 |
||
14246 |
MKINSTALLDIRS= |
|
14247 |
if test -n "$ac_aux_dir"; then |
|
14248 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
|
14249 |
fi
|
|
14250 |
if test -z "$MKINSTALLDIRS"; then |
|
14251 |
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
|
14252 |
fi
|
|
14253 |
||
14254 |
||
14255 |
test -d po || mkdir po |
|
14256 |
if test "x$srcdir" != "x."; then |
|
14257 |
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
|
14258 |
posrcprefix="$srcdir/" |
|
14259 |
else
|
|
14260 |
posrcprefix="../$srcdir/" |
|
14261 |
fi
|
|
14262 |
else
|
|
14263 |
posrcprefix="../" |
|
14264 |
fi
|
|
14265 |
rm -f po/POTFILES |
|
14266 |
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
|
14267 |
< $srcdir/po/POTFILES.in > po/POTFILES
|
|
14268 |
||
14269 |
||
14270 |
ALL_LINGUAS="" |
|
14271 |
||
14272 |
||
14273 |
if test "x$GCC" = "xyes"; then |
|
14274 |
GCC_FLAGS="-g -Wall -Werror" |
|
14275 |
fi
|
|
14276 |
||
14277 |
||
14278 |
||
14279 |
||
14280 |
||
14281 |
||
14282 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
|
14283 |
if test -n "$ac_tool_prefix"; then |
|
14284 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
|
14285 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14286 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
14287 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14288 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14289 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14290 |
else
|
14291 |
case $PKG_CONFIG in |
|
14292 |
[\\/]* | ?:[\\/]*) |
|
14293 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
14294 |
;;
|
|
14295 |
*)
|
|
14296 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14297 |
for as_dir in $PATH |
|
14298 |
do
|
|
14299 |
IFS=$as_save_IFS |
|
14300 |
test -z "$as_dir" && as_dir=. |
|
14301 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14302 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14303 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14304 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14305 |
break 2 |
14306 |
fi
|
|
14307 |
done
|
|
14308 |
done
|
|
14309 |
IFS=$as_save_IFS |
|
14310 |
||
14311 |
;;
|
|
14312 |
esac
|
|
14313 |
fi
|
|
14314 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
14315 |
if test -n "$PKG_CONFIG"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14316 |
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
14317 |
$as_echo "$PKG_CONFIG" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14318 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14319 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
14320 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14321 |
fi
|
14322 |
||
14323 |
||
14324 |
fi
|
|
14325 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
14326 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
14327 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
|
14328 |
set dummy pkg-config; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14329 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
14330 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14331 |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14332 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14333 |
else
|
14334 |
case $ac_pt_PKG_CONFIG in |
|
14335 |
[\\/]* | ?:[\\/]*) |
|
14336 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
14337 |
;;
|
|
14338 |
*)
|
|
14339 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14340 |
for as_dir in $PATH |
|
14341 |
do
|
|
14342 |
IFS=$as_save_IFS |
|
14343 |
test -z "$as_dir" && as_dir=. |
|
14344 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14345 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14346 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14347 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14348 |
break 2 |
14349 |
fi
|
|
14350 |
done
|
|
14351 |
done
|
|
14352 |
IFS=$as_save_IFS |
|
14353 |
||
14354 |
;;
|
|
14355 |
esac
|
|
14356 |
fi
|
|
14357 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
14358 |
if test -n "$ac_pt_PKG_CONFIG"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14359 |
{ $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
14360 |
$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14361 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14362 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
14363 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14364 |
fi
|
14365 |
||
14366 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
|
14367 |
PKG_CONFIG="" |
|
14368 |
else
|
|
14369 |
case $cross_compiling:$ac_tool_warned in |
|
14370 |
yes:)
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14371 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
14372 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14373 |
ac_tool_warned=yes ;; |
14374 |
esac
|
|
14375 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
14376 |
fi
|
|
14377 |
else
|
|
14378 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
14379 |
fi
|
|
14380 |
||
14381 |
fi
|
|
14382 |
if test -n "$PKG_CONFIG"; then |
|
14383 |
_pkg_min_version=0.9.0 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14384 |
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
14385 |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14386 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14387 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
14388 |
$as_echo "yes" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14389 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14390 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
14391 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14392 |
PKG_CONFIG="" |
14393 |
fi
|
|
14394 |
||
14395 |
fi
|
|
14396 |
||
14397 |
pkg_failed=no |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14398 |
{ $as_echo "$as_me:$LINENO: checking for DEPS" >&5 |
14399 |
$as_echo_n "checking for DEPS... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14400 |
|
14401 |
if test -n "$PKG_CONFIG"; then |
|
14402 |
if test -n "$DEPS_CFLAGS"; then |
|
14403 |
pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS" |
|
14404 |
else
|
|
14405 |
if test -n "$PKG_CONFIG" && \ |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14406 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14407 |
gconf-2.0
|
14408 |
gmodule-2.0
|
|
14409 |
gio-2.0
|
|
14410 |
\"") >&5 |
|
14411 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0 |
|
14412 |
gconf-2.0
|
|
14413 |
gmodule-2.0
|
|
14414 |
gio-2.0
|
|
14415 |
") 2>&5 |
|
14416 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14417 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14418 |
(exit $ac_status); }; then |
14419 |
pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 |
|
14420 |
gconf-2.0
|
|
14421 |
gmodule-2.0
|
|
14422 |
gio-2.0
|
|
14423 |
" 2>/dev/null` |
|
14424 |
else
|
|
14425 |
pkg_failed=yes |
|
14426 |
fi
|
|
14427 |
fi
|
|
14428 |
else
|
|
14429 |
pkg_failed=untried |
|
14430 |
fi
|
|
14431 |
if test -n "$PKG_CONFIG"; then |
|
14432 |
if test -n "$DEPS_LIBS"; then |
|
14433 |
pkg_cv_DEPS_LIBS="$DEPS_LIBS" |
|
14434 |
else
|
|
14435 |
if test -n "$PKG_CONFIG" && \ |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14436 |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14437 |
gconf-2.0
|
14438 |
gmodule-2.0
|
|
14439 |
gio-2.0
|
|
14440 |
\"") >&5 |
|
14441 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0 |
|
14442 |
gconf-2.0
|
|
14443 |
gmodule-2.0
|
|
14444 |
gio-2.0
|
|
14445 |
") 2>&5 |
|
14446 |
ac_status=$? |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14447 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14448 |
(exit $ac_status); }; then |
14449 |
pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 |
|
14450 |
gconf-2.0
|
|
14451 |
gmodule-2.0
|
|
14452 |
gio-2.0
|
|
14453 |
" 2>/dev/null` |
|
14454 |
else
|
|
14455 |
pkg_failed=yes |
|
14456 |
fi
|
|
14457 |
fi
|
|
14458 |
else
|
|
14459 |
pkg_failed=untried |
|
14460 |
fi
|
|
14461 |
||
14462 |
||
14463 |
||
14464 |
if test $pkg_failed = yes; then |
|
14465 |
||
14466 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
14467 |
_pkg_short_errors_supported=yes |
|
14468 |
else
|
|
14469 |
_pkg_short_errors_supported=no |
|
14470 |
fi
|
|
14471 |
if test $_pkg_short_errors_supported = yes; then |
|
14472 |
DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 |
|
14473 |
gconf-2.0
|
|
14474 |
gmodule-2.0
|
|
14475 |
gio-2.0
|
|
14476 |
"` |
|
14477 |
else
|
|
14478 |
DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 |
|
14479 |
gconf-2.0
|
|
14480 |
gmodule-2.0
|
|
14481 |
gio-2.0
|
|
14482 |
"` |
|
14483 |
fi
|
|
14484 |
# Put the nasty error message in config.log where it belongs
|
|
14485 |
echo "$DEPS_PKG_ERRORS" >&5 |
|
14486 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14487 |
{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14488 |
gconf-2.0
|
14489 |
gmodule-2.0
|
|
14490 |
gio-2.0
|
|
14491 |
) were not met:
|
|
14492 |
||
14493 |
$DEPS_PKG_ERRORS
|
|
14494 |
||
14495 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
14496 |
installed software in a non-standard prefix.
|
|
14497 |
||
14498 |
Alternatively, you may set the environment variables DEPS_CFLAGS
|
|
14499 |
and DEPS_LIBS to avoid the need to call pkg-config.
|
|
14500 |
See the pkg-config man page for more details.
|
|
14501 |
" >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14502 |
$as_echo "$as_me: error: Package requirements (gtk+-2.0 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14503 |
gconf-2.0
|
14504 |
gmodule-2.0
|
|
14505 |
gio-2.0
|
|
14506 |
) were not met:
|
|
14507 |
||
14508 |
$DEPS_PKG_ERRORS
|
|
14509 |
||
14510 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
14511 |
installed software in a non-standard prefix.
|
|
14512 |
||
14513 |
Alternatively, you may set the environment variables DEPS_CFLAGS
|
|
14514 |
and DEPS_LIBS to avoid the need to call pkg-config.
|
|
14515 |
See the pkg-config man page for more details.
|
|
14516 |
" >&2;} |
|
14517 |
{ (exit 1); exit 1; }; } |
|
14518 |
elif test $pkg_failed = untried; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14519 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
14520 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
14521 |
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14522 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
14523 |
path to pkg-config.
|
|
14524 |
||
14525 |
Alternatively, you may set the environment variables DEPS_CFLAGS
|
|
14526 |
and DEPS_LIBS to avoid the need to call pkg-config.
|
|
14527 |
See the pkg-config man page for more details.
|
|
14528 |
||
14529 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
|
14530 |
See \`config.log' for more details." >&5 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14531 |
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14532 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
14533 |
path to pkg-config.
|
|
14534 |
||
14535 |
Alternatively, you may set the environment variables DEPS_CFLAGS
|
|
14536 |
and DEPS_LIBS to avoid the need to call pkg-config.
|
|
14537 |
See the pkg-config man page for more details.
|
|
14538 |
||
14539 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
|
14540 |
See \`config.log' for more details." >&2;} |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14541 |
{ (exit 1); exit 1; }; }; } |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14542 |
else
|
14543 |
DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS |
|
14544 |
DEPS_LIBS=$pkg_cv_DEPS_LIBS |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14545 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
14546 |
$as_echo "yes" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14547 |
: |
14548 |
fi
|
|
14549 |
||
14550 |
||
14551 |
||
14552 |
# Extract the first word of "gconftool-2", so it can be a program name with args.
|
|
14553 |
set dummy gconftool-2; ac_word=$2 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14554 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
14555 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14556 |
if test "${ac_cv_path_GCONFTOOL+set}" = set; then |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14557 |
$as_echo_n "(cached) " >&6 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14558 |
else
|
14559 |
case $GCONFTOOL in |
|
14560 |
[\\/]* | ?:[\\/]*) |
|
14561 |
ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path. |
|
14562 |
;;
|
|
14563 |
*)
|
|
14564 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
14565 |
for as_dir in $PATH |
|
14566 |
do
|
|
14567 |
IFS=$as_save_IFS |
|
14568 |
test -z "$as_dir" && as_dir=. |
|
14569 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
14570 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
14571 |
ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14572 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14573 |
break 2 |
14574 |
fi
|
|
14575 |
done
|
|
14576 |
done
|
|
14577 |
IFS=$as_save_IFS |
|
14578 |
||
14579 |
;;
|
|
14580 |
esac
|
|
14581 |
fi
|
|
14582 |
GCONFTOOL=$ac_cv_path_GCONFTOOL |
|
14583 |
if test -n "$GCONFTOOL"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14584 |
{ $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5 |
14585 |
$as_echo "$GCONFTOOL" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14586 |
else
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14587 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
14588 |
$as_echo "no" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14589 |
fi
|
14590 |
||
14591 |
||
14592 |
||
14593 |
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then |
|
14594 |
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
14595 |
else
|
|
14596 |
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE |
|
14597 |
fi
|
|
14598 |
||
14599 |
||
14600 |
# Check whether --with-gconf-source was given.
|
|
14601 |
if test "${with_gconf_source+set}" = set; then |
|
14602 |
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" |
|
14603 |
fi
|
|
14604 |
||
14605 |
||
14606 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14607 |
{ $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 |
14608 |
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14609 |
|
14610 |
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then |
|
14611 |
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' |
|
14612 |
fi
|
|
14613 |
||
14614 |
||
14615 |
# Check whether --with-gconf-schema-file-dir was given.
|
|
14616 |
if test "${with_gconf_schema_file_dir+set}" = set; then |
|
14617 |
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" |
|
14618 |
fi
|
|
14619 |
||
14620 |
||
14621 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14622 |
{ $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 |
14623 |
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14624 |
|
14625 |
# Check whether --enable-schemas-install was given.
|
|
14626 |
if test "${enable_schemas_install+set}" = set; then |
|
14627 |
enableval=$enable_schemas_install; case ${enableval} in |
|
14628 |
yes|no) ;; |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14629 |
*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5 |
14630 |
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14631 |
{ (exit 1); exit 1; }; } ;; |
14632 |
esac
|
|
14633 |
fi
|
|
14634 |
||
14635 |
if test "$enable_schemas_install" != no; then |
|
14636 |
GCONF_SCHEMAS_INSTALL_TRUE= |
|
14637 |
GCONF_SCHEMAS_INSTALL_FALSE='#' |
|
14638 |
else
|
|
14639 |
GCONF_SCHEMAS_INSTALL_TRUE='#' |
|
14640 |
GCONF_SCHEMAS_INSTALL_FALSE= |
|
14641 |
fi
|
|
14642 |
||
14643 |
||
14644 |
||
14645 |
ac_config_files="$ac_config_files Makefile data/Makefile src/Makefile po/Makefile.in" |
|
14646 |
||
14647 |
cat >confcache <<\_ACEOF
|
|
14648 |
# This file is a shell script that caches the results of configure
|
|
14649 |
# tests run on this system so they can be shared between configure
|
|
14650 |
# scripts and configure runs, see configure's option --config-cache.
|
|
14651 |
# It is not useful on other systems. If it contains results you don't
|
|
14652 |
# want to keep, you may remove or edit it.
|
|
14653 |
#
|
|
14654 |
# config.status only pays attention to the cache file if you give it
|
|
14655 |
# the --recheck option to rerun configure.
|
|
14656 |
#
|
|
14657 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
14658 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
14659 |
# following values.
|
|
14660 |
||
14661 |
_ACEOF
|
|
14662 |
||
14663 |
# The following way of writing the cache mishandles newlines in values,
|
|
14664 |
# but we know of no workaround that is simple, portable, and efficient.
|
|
14665 |
# So, we kill variables containing newlines.
|
|
14666 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
14667 |
# and sets the high bit in the cache file unless we assign to the vars.
|
|
14668 |
(
|
|
14669 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
14670 |
eval ac_val=\$$ac_var |
|
14671 |
case $ac_val in #( |
|
14672 |
*${as_nl}*) |
|
14673 |
case $ac_var in #( |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14674 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
14675 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14676 |
esac
|
14677 |
case $ac_var in #( |
|
14678 |
_ | IFS | as_nl) ;; #( |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14679 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14680 |
*) $as_unset $ac_var ;; |
14681 |
esac ;; |
|
14682 |
esac
|
|
14683 |
done
|
|
14684 |
||
14685 |
(set) 2>&1 | |
|
14686 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
14687 |
*${as_nl}ac_space=\ *) |
|
14688 |
# `set' does not quote correctly, so add quotes (double-quote
|
|
14689 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
14690 |
sed -n \
|
|
14691 |
"s/'/'\\\\''/g;
|
|
14692 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
14693 |
;; #( |
|
14694 |
*)
|
|
14695 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
14696 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
14697 |
;;
|
|
14698 |
esac | |
|
14699 |
sort |
|
14700 |
) | |
|
14701 |
sed '
|
|
14702 |
/^ac_cv_env_/b end
|
|
14703 |
t clear
|
|
14704 |
:clear
|
|
14705 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
14706 |
t end
|
|
14707 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
14708 |
:end' >>confcache
|
|
14709 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
14710 |
if test -w "$cache_file"; then |
|
14711 |
test "x$cache_file" != "x/dev/null" && |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14712 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
14713 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14714 |
cat confcache >$cache_file
|
14715 |
else
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14716 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
14717 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14718 |
fi
|
14719 |
fi
|
|
14720 |
rm -f confcache |
|
14721 |
||
14722 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
14723 |
# Let make expand exec_prefix.
|
|
14724 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
14725 |
||
14726 |
DEFS=-DHAVE_CONFIG_H |
|
14727 |
||
14728 |
ac_libobjs= |
|
14729 |
ac_ltlibobjs= |
|
14730 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
14731 |
# 1. Remove the extension, and $U if already installed.
|
|
14732 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14733 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14734 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
14735 |
# will be set to the directory where LIBOBJS objects are built.
|
|
14736 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
14737 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|
14738 |
done
|
|
14739 |
LIBOBJS=$ac_libobjs |
|
14740 |
||
14741 |
LTLIBOBJS=$ac_ltlibobjs |
|
14742 |
||
14743 |
||
14744 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14745 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14746 |
Usually this means the macro was only invoked conditionally." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14747 |
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14748 |
Usually this means the macro was only invoked conditionally." >&2;} |
14749 |
{ (exit 1); exit 1; }; } |
|
14750 |
fi
|
|
14751 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14752 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
14753 |
Usually this means the macro was only invoked conditionally." >&5 |
|
14754 |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
14755 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
14756 |
{ (exit 1); exit 1; }; } |
|
14757 |
fi
|
|
14758 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
14759 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
14760 |
Usually this means the macro was only invoked conditionally." >&5 |
|
14761 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
14762 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
14763 |
{ (exit 1); exit 1; }; } |
|
14764 |
fi
|
|
14765 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
14766 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
14767 |
Usually this means the macro was only invoked conditionally." >&5 |
|
14768 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14769 |
Usually this means the macro was only invoked conditionally." >&2;} |
14770 |
{ (exit 1); exit 1; }; } |
|
14771 |
fi
|
|
14772 |
||
14773 |
ac_config_commands="$ac_config_commands po/stamp-it" |
|
14774 |
||
14775 |
||
14776 |
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14777 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14778 |
Usually this means the macro was only invoked conditionally." >&5 |
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14779 |
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14780 |
Usually this means the macro was only invoked conditionally." >&2;} |
14781 |
{ (exit 1); exit 1; }; } |
|
14782 |
fi
|
|
14783 |
||
14784 |
: ${CONFIG_STATUS=./config.status} |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14785 |
ac_write_fail=0 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14786 |
ac_clean_files_save=$ac_clean_files |
14787 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14788 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
14789 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
14790 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14791 |
#! $SHELL
|
14792 |
# Generated by $as_me.
|
|
14793 |
# Run this file to recreate the current configuration.
|
|
14794 |
# Compiler output produced by configure, useful for debugging
|
|
14795 |
# configure, is in config.log if it exists.
|
|
14796 |
||
14797 |
debug=false
|
|
14798 |
ac_cs_recheck=false
|
|
14799 |
ac_cs_silent=false
|
|
14800 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
|
14801 |
_ACEOF
|
|
14802 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14803 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
14804 |
## --------------------- ##
|
14805 |
## M4sh Initialization. ##
|
|
14806 |
## --------------------- ##
|
|
14807 |
||
14808 |
# Be more Bourne compatible
|
|
14809 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
14810 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
14811 |
emulate sh
|
|
14812 |
NULLCMD=:
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14813 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14814 |
# is contrary to our usage. Disable this feature.
|
14815 |
alias -g '${1+"$@"}'='"$@"'
|
|
14816 |
setopt NO_GLOB_SUBST
|
|
14817 |
else
|
|
14818 |
case `(set -o) 2>/dev/null` in
|
|
14819 |
*posix*) set -o posix ;;
|
|
14820 |
esac
|
|
14821 |
||
14822 |
fi
|
|
14823 |
||
14824 |
||
14825 |
||
14826 |
||
14827 |
# PATH needs CR
|
|
14828 |
# Avoid depending upon Character Ranges.
|
|
14829 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
14830 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
14831 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
14832 |
as_cr_digits='0123456789'
|
|
14833 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
14834 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14835 |
as_nl='
|
14836 |
'
|
|
14837 |
export as_nl
|
|
14838 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
14839 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
14840 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
14841 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
14842 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
14843 |
as_echo='printf %s\n'
|
|
14844 |
as_echo_n='printf %s'
|
|
14845 |
else
|
|
14846 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
14847 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
14848 |
as_echo_n='/usr/ucb/echo -n'
|
|
14849 |
else
|
|
14850 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
14851 |
as_echo_n_body='eval
|
|
14852 |
arg=$1;
|
|
14853 |
case $arg in
|
|
14854 |
*"$as_nl"*)
|
|
14855 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
14856 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
14857 |
esac;
|
|
14858 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
14859 |
'
|
|
14860 |
export as_echo_n_body
|
|
14861 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
14862 |
fi
|
|
14863 |
export as_echo_body
|
|
14864 |
as_echo='sh -c $as_echo_body as_echo'
|
|
14865 |
fi
|
|
14866 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
14867 |
# The user is always right.
|
14868 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14869 |
PATH_SEPARATOR=:
|
14870 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
14871 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
14872 |
PATH_SEPARATOR=';'
|
|
14873 |
}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14874 |
fi
|
14875 |
||
14876 |
# Support unset when possible.
|
|
14877 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
14878 |
as_unset=unset
|
|
14879 |
else
|
|
14880 |
as_unset=false
|
|
14881 |
fi
|
|
14882 |
||
14883 |
||
14884 |
# IFS
|
|
14885 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
14886 |
# there to prevent editors from complaining about space-tab.
|
|
14887 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
14888 |
# splitting by setting IFS to empty value.)
|
|
14889 |
IFS=" "" $as_nl"
|
|
14890 |
||
14891 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
14892 |
case $0 in
|
|
14893 |
*[\\/]* ) as_myself=$0 ;;
|
|
14894 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
14895 |
for as_dir in $PATH
|
|
14896 |
do
|
|
14897 |
IFS=$as_save_IFS
|
|
14898 |
test -z "$as_dir" && as_dir=.
|
|
14899 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
14900 |
done
|
|
14901 |
IFS=$as_save_IFS
|
|
14902 |
||
14903 |
;;
|
|
14904 |
esac
|
|
14905 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
14906 |
# in which case we are not to be found in the path.
|
|
14907 |
if test "x$as_myself" = x; then
|
|
14908 |
as_myself=$0
|
|
14909 |
fi
|
|
14910 |
if test ! -f "$as_myself"; then
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14911 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14912 |
{ (exit 1); exit 1; }
|
14913 |
fi
|
|
14914 |
||
14915 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
14916 |
for as_var in ENV MAIL MAILPATH
|
|
14917 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
14918 |
done
|
|
14919 |
PS1='$ '
|
|
14920 |
PS2='> '
|
|
14921 |
PS4='+ '
|
|
14922 |
||
14923 |
# NLS nuisances.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14924 |
LC_ALL=C
|
14925 |
export LC_ALL
|
|
14926 |
LANGUAGE=C
|
|
14927 |
export LANGUAGE
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14928 |
|
14929 |
# Required to use basename.
|
|
14930 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
14931 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
14932 |
as_expr=expr
|
|
14933 |
else
|
|
14934 |
as_expr=false
|
|
14935 |
fi
|
|
14936 |
||
14937 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
14938 |
as_basename=basename
|
|
14939 |
else
|
|
14940 |
as_basename=false
|
|
14941 |
fi
|
|
14942 |
||
14943 |
||
14944 |
# Name of the executable.
|
|
14945 |
as_me=`$as_basename -- "$0" ||
|
|
14946 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
14947 |
X"$0" : 'X\(//\)$' \| \
|
|
14948 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
14949 |
$as_echo X/"$0" |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
14950 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
14951 |
s//\1/
|
|
14952 |
q
|
|
14953 |
}
|
|
14954 |
/^X\/\(\/\/\)$/{
|
|
14955 |
s//\1/
|
|
14956 |
q
|
|
14957 |
}
|
|
14958 |
/^X\/\(\/\).*/{
|
|
14959 |
s//\1/
|
|
14960 |
q
|
|
14961 |
}
|
|
14962 |
s/.*/./; q'`
|
|
14963 |
||
14964 |
# CDPATH.
|
|
14965 |
$as_unset CDPATH
|
|
14966 |
||
14967 |
||
14968 |
||
14969 |
as_lineno_1=$LINENO
|
|
14970 |
as_lineno_2=$LINENO
|
|
14971 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
14972 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
14973 |
||
14974 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
14975 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
14976 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
14977 |
# does the real work. The second script uses 'N' to pair each
|
|
14978 |
# line-number line with the line containing $LINENO, and appends
|
|
14979 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
14980 |
# case at line end.
|
|
14981 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
14982 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
14983 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
14984 |
sed -n '
|
|
14985 |
p
|
|
14986 |
/[$]LINENO/=
|
|
14987 |
' <$as_myself |
|
|
14988 |
sed '
|
|
14989 |
s/[$]LINENO.*/&-/
|
|
14990 |
t lineno
|
|
14991 |
b
|
|
14992 |
:lineno
|
|
14993 |
N
|
|
14994 |
:loop
|
|
14995 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
14996 |
t loop
|
|
14997 |
s/-\n.*//
|
|
14998 |
' >$as_me.lineno &&
|
|
14999 |
chmod +x "$as_me.lineno" ||
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15000 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15001 |
{ (exit 1); exit 1; }; }
|
15002 |
||
15003 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
15004 |
# (the dirname of $[0] is not the place where we might find the
|
|
15005 |
# original and so on. Autoconf is especially sensitive to this).
|
|
15006 |
. "./$as_me.lineno"
|
|
15007 |
# Exit status is that of the last command.
|
|
15008 |
exit
|
|
15009 |
}
|
|
15010 |
||
15011 |
||
15012 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
15013 |
as_dirname=dirname
|
|
15014 |
else
|
|
15015 |
as_dirname=false
|
|
15016 |
fi
|
|
15017 |
||
15018 |
ECHO_C= ECHO_N= ECHO_T=
|
|
15019 |
case `echo -n x` in
|
|
15020 |
-n*)
|
|
15021 |
case `echo 'x\c'` in
|
|
15022 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
15023 |
*) ECHO_C='\c';;
|
|
15024 |
esac;;
|
|
15025 |
*)
|
|
15026 |
ECHO_N='-n';;
|
|
15027 |
esac
|
|
15028 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
15029 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
15030 |
as_expr=expr
|
|
15031 |
else
|
|
15032 |
as_expr=false
|
|
15033 |
fi
|
|
15034 |
||
15035 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
15036 |
if test -d conf$$.dir; then
|
|
15037 |
rm -f conf$$.dir/conf$$.file
|
|
15038 |
else
|
|
15039 |
rm -f conf$$.dir
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15040 |
mkdir conf$$.dir 2>/dev/null
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15041 |
fi
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15042 |
if (echo >conf$$.file) 2>/dev/null; then
|
15043 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
15044 |
as_ln_s='ln -s'
|
|
15045 |
# ... but there are two gotchas:
|
|
15046 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
15047 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
15048 |
# In both cases, we have to default to `cp -p'.
|
|
15049 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
15050 |
as_ln_s='cp -p'
|
|
15051 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
15052 |
as_ln_s=ln
|
|
15053 |
else
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15054 |
as_ln_s='cp -p'
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15055 |
fi
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15056 |
else
|
15057 |
as_ln_s='cp -p'
|
|
15058 |
fi
|
|
15059 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
15060 |
rmdir conf$$.dir 2>/dev/null
|
|
15061 |
||
15062 |
if mkdir -p . 2>/dev/null; then
|
|
15063 |
as_mkdir_p=:
|
|
15064 |
else
|
|
15065 |
test -d ./-p && rmdir ./-p
|
|
15066 |
as_mkdir_p=false
|
|
15067 |
fi
|
|
15068 |
||
15069 |
if test -x / >/dev/null 2>&1; then
|
|
15070 |
as_test_x='test -x'
|
|
15071 |
else
|
|
15072 |
if ls -dL / >/dev/null 2>&1; then
|
|
15073 |
as_ls_L_option=L
|
|
15074 |
else
|
|
15075 |
as_ls_L_option=
|
|
15076 |
fi
|
|
15077 |
as_test_x='
|
|
15078 |
eval sh -c '\''
|
|
15079 |
if test -d "$1"; then
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15080 |
test -d "$1/.";
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15081 |
else
|
15082 |
case $1 in
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15083 |
-*)set "./$1";;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15084 |
esac;
|
15085 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
15086 |
???[sx]*):;;*)false;;esac;fi
|
|
15087 |
'\'' sh
|
|
15088 |
'
|
|
15089 |
fi
|
|
15090 |
as_executable_p=$as_test_x
|
|
15091 |
||
15092 |
# Sed expression to map a string onto a valid CPP name.
|
|
15093 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
15094 |
||
15095 |
# Sed expression to map a string onto a valid variable name.
|
|
15096 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
15097 |
||
15098 |
||
15099 |
exec 6>&1
|
|
15100 |
||
15101 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
15102 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
15103 |
# values after options handling.
|
|
15104 |
ac_log="
|
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
15105 |
This file was extended by desktop-switcher $as_me 0.4.6, which was
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15106 |
generated by GNU Autoconf 2.63. Invocation command line was
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15107 |
|
15108 |
CONFIG_FILES = $CONFIG_FILES
|
|
15109 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
15110 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
15111 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
15112 |
$ $0 $@
|
|
15113 |
||
15114 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
15115 |
"
|
|
15116 |
||
15117 |
_ACEOF
|
|
15118 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15119 |
case $ac_config_files in *" |
15120 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
15121 |
esac
|
|
15122 |
||
15123 |
case $ac_config_headers in *" |
|
15124 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
15125 |
esac
|
|
15126 |
||
15127 |
||
15128 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15129 |
# Files that config.status was made for.
|
15130 |
config_files="$ac_config_files"
|
|
15131 |
config_headers="$ac_config_headers"
|
|
15132 |
config_commands="$ac_config_commands"
|
|
15133 |
||
15134 |
_ACEOF
|
|
15135 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15136 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
15137 |
ac_cs_usage="\
|
15138 |
\`$as_me' instantiates files from templates according to the
|
|
15139 |
current configuration.
|
|
15140 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15141 |
Usage: $0 [OPTION]... [FILE]...
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15142 |
|
15143 |
-h, --help print this help, then exit
|
|
15144 |
-V, --version print version number and configuration settings, then exit
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15145 |
-q, --quiet, --silent
|
15146 |
do not print progress messages
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15147 |
-d, --debug don't remove temporary files
|
15148 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15149 |
--file=FILE[:TEMPLATE]
|
15150 |
instantiate the configuration file FILE
|
|
15151 |
--header=FILE[:TEMPLATE]
|
|
15152 |
instantiate the configuration header FILE
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15153 |
|
15154 |
Configuration files:
|
|
15155 |
$config_files
|
|
15156 |
||
15157 |
Configuration headers:
|
|
15158 |
$config_headers
|
|
15159 |
||
15160 |
Configuration commands:
|
|
15161 |
$config_commands
|
|
15162 |
||
15163 |
Report bugs to <bug-autoconf@gnu.org>."
|
|
15164 |
||
15165 |
_ACEOF
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15166 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
15167 |
ac_cs_version="\\
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
15168 |
desktop-switcher config.status 0.4.6
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15169 |
configured by $0, generated by GNU Autoconf 2.63,
|
15170 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15171 |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15172 |
Copyright (C) 2008 Free Software Foundation, Inc.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15173 |
This config.status script is free software; the Free Software Foundation
|
15174 |
gives unlimited permission to copy, distribute and modify it."
|
|
15175 |
||
15176 |
ac_pwd='$ac_pwd'
|
|
15177 |
srcdir='$srcdir'
|
|
15178 |
INSTALL='$INSTALL'
|
|
15179 |
MKDIR_P='$MKDIR_P'
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15180 |
AWK='$AWK'
|
15181 |
test -n "\$AWK" || AWK=awk
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15182 |
_ACEOF
|
15183 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15184 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15185 |
# The default lists apply if the user does not specify any file.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15186 |
ac_need_defaults=:
|
15187 |
while test $# != 0
|
|
15188 |
do
|
|
15189 |
case $1 in
|
|
15190 |
--*=*)
|
|
15191 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
15192 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
15193 |
ac_shift=:
|
|
15194 |
;;
|
|
15195 |
*)
|
|
15196 |
ac_option=$1
|
|
15197 |
ac_optarg=$2
|
|
15198 |
ac_shift=shift
|
|
15199 |
;;
|
|
15200 |
esac
|
|
15201 |
||
15202 |
case $ac_option in
|
|
15203 |
# Handling of the options.
|
|
15204 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
15205 |
ac_cs_recheck=: ;;
|
|
15206 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15207 |
$as_echo "$ac_cs_version"; exit ;;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15208 |
--debug | --debu | --deb | --de | --d | -d )
|
15209 |
debug=: ;;
|
|
15210 |
--file | --fil | --fi | --f )
|
|
15211 |
$ac_shift
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15212 |
case $ac_optarg in
|
15213 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
15214 |
esac
|
|
15215 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15216 |
ac_need_defaults=false;;
|
15217 |
--header | --heade | --head | --hea )
|
|
15218 |
$ac_shift
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15219 |
case $ac_optarg in
|
15220 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
15221 |
esac
|
|
15222 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15223 |
ac_need_defaults=false;;
|
15224 |
--he | --h)
|
|
15225 |
# Conflict between --help and --header
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15226 |
{ $as_echo "$as_me: error: ambiguous option: $1
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15227 |
Try \`$0 --help' for more information." >&2
|
15228 |
{ (exit 1); exit 1; }; };;
|
|
15229 |
--help | --hel | -h )
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15230 |
$as_echo "$ac_cs_usage"; exit ;;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15231 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
15232 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
15233 |
ac_cs_silent=: ;;
|
|
15234 |
||
15235 |
# This is an error.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15236 |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15237 |
Try \`$0 --help' for more information." >&2
|
15238 |
{ (exit 1); exit 1; }; } ;;
|
|
15239 |
||
15240 |
*) ac_config_targets="$ac_config_targets $1"
|
|
15241 |
ac_need_defaults=false ;;
|
|
15242 |
||
15243 |
esac
|
|
15244 |
shift
|
|
15245 |
done
|
|
15246 |
||
15247 |
ac_configure_extra_args=
|
|
15248 |
||
15249 |
if $ac_cs_silent; then
|
|
15250 |
exec 6>/dev/null
|
|
15251 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
15252 |
fi
|
|
15253 |
||
15254 |
_ACEOF
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15255 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
15256 |
if \$ac_cs_recheck; then
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15257 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
15258 |
shift
|
|
15259 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
15260 |
CONFIG_SHELL='$SHELL'
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15261 |
export CONFIG_SHELL
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15262 |
exec "\$@"
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15263 |
fi
|
15264 |
||
15265 |
_ACEOF
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15266 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
15267 |
exec 5>>config.log
|
15268 |
{
|
|
15269 |
echo
|
|
15270 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
15271 |
## Running $as_me. ##
|
|
15272 |
_ASBOX
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15273 |
$as_echo "$ac_log"
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15274 |
} >&5
|
15275 |
||
15276 |
_ACEOF
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15277 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
15278 |
#
|
15279 |
# INIT-COMMANDS
|
|
15280 |
#
|
|
15281 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15282 |
|
15283 |
||
15284 |
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
15285 |
# if CDPATH is set.
|
|
15286 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
15287 |
||
15288 |
sed_quote_subst='$sed_quote_subst'
|
|
15289 |
double_quote_subst='$double_quote_subst'
|
|
15290 |
delay_variable_subst='$delay_variable_subst'
|
|
15291 |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15292 |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15293 |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15294 |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15295 |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15296 |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15297 |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15298 |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15299 |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15300 |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15301 |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15302 |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15303 |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15304 |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15305 |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15306 |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15307 |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15308 |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15309 |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15310 |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15311 |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15312 |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15313 |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15314 |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15315 |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15316 |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15317 |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15318 |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15319 |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15320 |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15321 |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15322 |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15323 |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15324 |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15325 |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15326 |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15327 |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15328 |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15329 |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15330 |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15331 |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15332 |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15333 |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15334 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15335 |
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"`'
|
|
15336 |
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"`'
|
|
15337 |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15338 |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15339 |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15340 |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15341 |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15342 |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15343 |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15344 |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15345 |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15346 |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15347 |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15348 |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15349 |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15350 |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15351 |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15352 |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15353 |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15354 |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15355 |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15356 |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15357 |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15358 |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15359 |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15360 |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15361 |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15362 |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15363 |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15364 |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15365 |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15366 |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15367 |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15368 |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15369 |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15370 |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15371 |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15372 |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15373 |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15374 |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15375 |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15376 |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15377 |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15378 |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15379 |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15380 |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15381 |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15382 |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15383 |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15384 |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15385 |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15386 |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15387 |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15388 |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15389 |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15390 |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15391 |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15392 |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15393 |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15394 |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15395 |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15396 |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15397 |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15398 |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15399 |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15400 |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15401 |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15402 |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15403 |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15404 |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15405 |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15406 |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15407 |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15408 |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
|
|
15409 |
||
15410 |
LTCC='$LTCC'
|
|
15411 |
LTCFLAGS='$LTCFLAGS'
|
|
15412 |
compiler='$compiler_DEFAULT'
|
|
15413 |
||
15414 |
# Quote evaled strings.
|
|
15415 |
for var in SED \
|
|
15416 |
GREP \
|
|
15417 |
EGREP \
|
|
15418 |
FGREP \
|
|
15419 |
LD \
|
|
15420 |
NM \
|
|
15421 |
LN_S \
|
|
15422 |
lt_SP2NL \
|
|
15423 |
lt_NL2SP \
|
|
15424 |
reload_flag \
|
|
15425 |
OBJDUMP \
|
|
15426 |
deplibs_check_method \
|
|
15427 |
file_magic_cmd \
|
|
15428 |
AR \
|
|
15429 |
AR_FLAGS \
|
|
15430 |
STRIP \
|
|
15431 |
RANLIB \
|
|
15432 |
CC \
|
|
15433 |
CFLAGS \
|
|
15434 |
compiler \
|
|
15435 |
lt_cv_sys_global_symbol_pipe \
|
|
15436 |
lt_cv_sys_global_symbol_to_cdecl \
|
|
15437 |
lt_cv_sys_global_symbol_to_c_name_address \
|
|
15438 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
|
|
15439 |
SHELL \
|
|
15440 |
ECHO \
|
|
15441 |
lt_prog_compiler_no_builtin_flag \
|
|
15442 |
lt_prog_compiler_wl \
|
|
15443 |
lt_prog_compiler_pic \
|
|
15444 |
lt_prog_compiler_static \
|
|
15445 |
lt_cv_prog_compiler_c_o \
|
|
15446 |
need_locks \
|
|
15447 |
DSYMUTIL \
|
|
15448 |
NMEDIT \
|
|
15449 |
LIPO \
|
|
15450 |
OTOOL \
|
|
15451 |
OTOOL64 \
|
|
15452 |
shrext_cmds \
|
|
15453 |
export_dynamic_flag_spec \
|
|
15454 |
whole_archive_flag_spec \
|
|
15455 |
compiler_needs_object \
|
|
15456 |
with_gnu_ld \
|
|
15457 |
allow_undefined_flag \
|
|
15458 |
no_undefined_flag \
|
|
15459 |
hardcode_libdir_flag_spec \
|
|
15460 |
hardcode_libdir_flag_spec_ld \
|
|
15461 |
hardcode_libdir_separator \
|
|
15462 |
fix_srcfile_path \
|
|
15463 |
exclude_expsyms \
|
|
15464 |
include_expsyms \
|
|
15465 |
file_list_spec \
|
|
15466 |
variables_saved_for_relink \
|
|
15467 |
libname_spec \
|
|
15468 |
library_names_spec \
|
|
15469 |
soname_spec \
|
|
15470 |
finish_eval \
|
|
15471 |
old_striplib \
|
|
15472 |
striplib; do
|
|
15473 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
|
|
15474 |
*[\\\\\\\`\\"\\\$]*)
|
|
15475 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
|
15476 |
;;
|
|
15477 |
*)
|
|
15478 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
|
15479 |
;;
|
|
15480 |
esac
|
|
15481 |
done
|
|
15482 |
||
15483 |
# Double-quote double-evaled strings.
|
|
15484 |
for var in reload_cmds \
|
|
15485 |
old_postinstall_cmds \
|
|
15486 |
old_postuninstall_cmds \
|
|
15487 |
old_archive_cmds \
|
|
15488 |
extract_expsyms_cmds \
|
|
15489 |
old_archive_from_new_cmds \
|
|
15490 |
old_archive_from_expsyms_cmds \
|
|
15491 |
archive_cmds \
|
|
15492 |
archive_expsym_cmds \
|
|
15493 |
module_cmds \
|
|
15494 |
module_expsym_cmds \
|
|
15495 |
export_symbols_cmds \
|
|
15496 |
prelink_cmds \
|
|
15497 |
postinstall_cmds \
|
|
15498 |
postuninstall_cmds \
|
|
15499 |
finish_cmds \
|
|
15500 |
sys_lib_search_path_spec \
|
|
15501 |
sys_lib_dlsearch_path_spec; do
|
|
15502 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
|
|
15503 |
*[\\\\\\\`\\"\\\$]*)
|
|
15504 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
|
15505 |
;;
|
|
15506 |
*)
|
|
15507 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
|
15508 |
;;
|
|
15509 |
esac
|
|
15510 |
done
|
|
15511 |
||
15512 |
# Fix-up fallback echo if it was mangled by the above quoting rules.
|
|
15513 |
case \$lt_ECHO in
|
|
15514 |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
|
|
15515 |
;;
|
|
15516 |
esac
|
|
15517 |
||
15518 |
ac_aux_dir='$ac_aux_dir'
|
|
15519 |
xsi_shell='$xsi_shell'
|
|
15520 |
lt_shell_append='$lt_shell_append'
|
|
15521 |
||
15522 |
# See if we are running on zsh, and set the options which allow our
|
|
15523 |
# commands through without removal of \ escapes INIT.
|
|
15524 |
if test -n "\${ZSH_VERSION+set}" ; then
|
|
15525 |
setopt NO_GLOB_SUBST
|
|
15526 |
fi
|
|
15527 |
||
15528 |
||
15529 |
PACKAGE='$PACKAGE'
|
|
15530 |
VERSION='$VERSION'
|
|
15531 |
TIMESTAMP='$TIMESTAMP'
|
|
15532 |
RM='$RM'
|
|
15533 |
ofile='$ofile'
|
|
15534 |
||
15535 |
||
15536 |
||
1
by Steve Kowalik
Import upstream version 0.4.0 |
15537 |
|
15538 |
||
15539 |
_ACEOF
|
|
15540 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15541 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1
by Steve Kowalik
Import upstream version 0.4.0 |
15542 |
|
15543 |
# Handling of arguments.
|
|
15544 |
for ac_config_target in $ac_config_targets
|
|
15545 |
do
|
|
15546 |
case $ac_config_target in
|
|
15547 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
15548 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15549 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15550 |
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
15551 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
15552 |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
|
|
15553 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
15554 |
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
|
|
15555 |
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
|
|
15556 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15557 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
15558 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15559 |
{ (exit 1); exit 1; }; };;
|
15560 |
esac
|
|
15561 |
done
|
|
15562 |
||
15563 |
||
15564 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
15565 |
# then the envvar interface is used. Set only those that are not.
|
|
15566 |
# We use the long form for the default assignment because of an extremely
|
|
15567 |
# bizarre bug on SunOS 4.1.3.
|
|
15568 |
if $ac_need_defaults; then
|
|
15569 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
15570 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
15571 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
15572 |
fi
|
|
15573 |
||
15574 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
15575 |
# simply because there is no reason against having it here, and in addition,
|
|
15576 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
15577 |
# Hook for its removal unless debugging.
|
|
15578 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
15579 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
15580 |
$debug ||
|
|
15581 |
{
|
|
15582 |
tmp=
|
|
15583 |
trap 'exit_status=$?
|
|
15584 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
15585 |
' 0
|
|
15586 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
15587 |
}
|
|
15588 |
# Create a (secure) tmp directory for tmp files.
|
|
15589 |
||
15590 |
{
|
|
15591 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
15592 |
test -n "$tmp" && test -d "$tmp"
|
|
15593 |
} ||
|
|
15594 |
{
|
|
15595 |
tmp=./conf$$-$RANDOM
|
|
15596 |
(umask 077 && mkdir "$tmp")
|
|
15597 |
} ||
|
|
15598 |
{
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15599 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15600 |
{ (exit 1); exit 1; }
|
15601 |
}
|
|
15602 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15603 |
# Set up the scripts for CONFIG_FILES section.
|
15604 |
# No need to generate them if there are no CONFIG_FILES.
|
|
15605 |
# This happens for instance with `./config.status config.h'.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15606 |
if test -n "$CONFIG_FILES"; then
|
15607 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15608 |
|
15609 |
ac_cr='
|
|
15610 |
'
|
|
15611 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
15612 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
15613 |
ac_cs_awk_cr='\\r'
|
|
15614 |
else
|
|
15615 |
ac_cs_awk_cr=$ac_cr
|
|
15616 |
fi
|
|
15617 |
||
15618 |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
15619 |
_ACEOF
|
|
15620 |
||
15621 |
||
15622 |
{
|
|
15623 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
15624 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
15625 |
echo "_ACEOF" |
|
15626 |
} >conf$$subs.sh || |
|
15627 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
15628 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
15629 |
{ (exit 1); exit 1; }; } |
|
15630 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
|
15631 |
ac_delim='%!_!# ' |
|
15632 |
for ac_last_try in false false false false false :; do |
|
15633 |
. ./conf$$subs.sh || |
|
15634 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
15635 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
15636 |
{ (exit 1); exit 1; }; } |
|
15637 |
||
15638 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
15639 |
if test $ac_delim_n = $ac_delim_num; then |
|
15640 |
break
|
|
15641 |
elif $ac_last_try; then |
|
15642 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
15643 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
15644 |
{ (exit 1); exit 1; }; } |
|
15645 |
else
|
|
15646 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
15647 |
fi
|
|
15648 |
done
|
|
15649 |
rm -f conf$$subs.sh
|
|
15650 |
||
15651 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15652 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
15653 |
_ACEOF
|
|
15654 |
sed -n '
|
|
15655 |
h
|
|
15656 |
s/^/S["/; s/!.*/"]=/
|
|
15657 |
p
|
|
15658 |
g
|
|
15659 |
s/^[^!]*!//
|
|
15660 |
:repl
|
|
15661 |
t repl
|
|
15662 |
s/'"$ac_delim"'$// |
|
15663 |
t delim
|
|
15664 |
:nl
|
|
15665 |
h
|
|
15666 |
s/\(.\{148\}\).*/\1/
|
|
15667 |
t more1
|
|
15668 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
15669 |
p
|
|
15670 |
n
|
|
15671 |
b repl
|
|
15672 |
:more1
|
|
15673 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
15674 |
p
|
|
15675 |
g
|
|
15676 |
s/.\{148\}//
|
|
15677 |
t nl
|
|
15678 |
:delim
|
|
15679 |
h
|
|
15680 |
s/\(.\{148\}\).*/\1/
|
|
15681 |
t more2
|
|
15682 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
15683 |
p
|
|
15684 |
b
|
|
15685 |
:more2
|
|
15686 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
15687 |
p
|
|
15688 |
g
|
|
15689 |
s/.\{148\}//
|
|
15690 |
t delim
|
|
15691 |
' <conf$$subs.awk | sed ' |
|
15692 |
/^[^""]/{
|
|
15693 |
N
|
|
15694 |
s/\n//
|
|
15695 |
}
|
|
15696 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
15697 |
rm -f conf$$subs.awk
|
|
15698 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15699 |
_ACAWK
|
|
15700 |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
15701 |
for (key in S) S_is_set[key] = 1
|
|
15702 |
FS = ""
|
|
15703 |
||
15704 |
}
|
|
15705 |
{
|
|
15706 |
line = $ 0
|
|
15707 |
nfields = split(line, field, "@")
|
|
15708 |
substed = 0
|
|
15709 |
len = length(field[1])
|
|
15710 |
for (i = 2; i < nfields; i++) {
|
|
15711 |
key = field[i]
|
|
15712 |
keylen = length(key)
|
|
15713 |
if (S_is_set[key]) {
|
|
15714 |
value = S[key]
|
|
15715 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
15716 |
len += length(value) + length(field[++i])
|
|
15717 |
substed = 1
|
|
15718 |
} else
|
|
15719 |
len += 1 + keylen
|
|
15720 |
}
|
|
15721 |
||
15722 |
print line
|
|
15723 |
}
|
|
15724 |
||
15725 |
_ACAWK
|
|
15726 |
_ACEOF
|
|
15727 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15728 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
15729 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
15730 |
else
|
|
15731 |
cat
|
|
15732 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
|
15733 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
|
15734 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
|
15735 |
{ (exit 1); exit 1; }; }
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15736 |
_ACEOF
|
15737 |
||
15738 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
15739 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
15740 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
15741 |
# (actually we leave an empty line to preserve line numbers).
|
|
15742 |
if test "x$srcdir" = x.; then |
|
15743 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
15744 |
s/:*\$(srcdir):*/:/
|
|
15745 |
s/:*\${srcdir}:*/:/
|
|
15746 |
s/:*@srcdir@:*/:/
|
|
15747 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
15748 |
s/:*$//
|
|
15749 |
s/^[^=]*=[ ]*$//
|
|
15750 |
}'
|
|
15751 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15752 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15753 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15754 |
fi # test -n "$CONFIG_FILES"
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15755 |
|
15756 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
15757 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
15758 |
# This happens for instance with `./config.status Makefile'.
|
|
15759 |
if test -n "$CONFIG_HEADERS"; then
|
|
15760 |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
|
15761 |
BEGIN {
|
|
15762 |
_ACEOF
|
|
15763 |
||
15764 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
15765 |
# here-document in config.status, that substitutes the proper values into
|
|
15766 |
# config.h.in to produce config.h.
|
|
15767 |
||
15768 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
15769 |
# handling of long lines.
|
|
15770 |
ac_delim='%!_!# ' |
|
15771 |
for ac_last_try in false false :; do |
|
15772 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
15773 |
if test -z "$ac_t"; then |
|
15774 |
break
|
|
15775 |
elif $ac_last_try; then |
|
15776 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
|
15777 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
|
15778 |
{ (exit 1); exit 1; }; } |
|
15779 |
else
|
|
15780 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
15781 |
fi
|
|
15782 |
done
|
|
15783 |
||
15784 |
# For the awk script, D is an array of macro values keyed by name,
|
|
15785 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
15786 |
# newline sequences.
|
|
15787 |
||
15788 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
15789 |
sed -n '
|
|
15790 |
s/.\{148\}/&'"$ac_delim"'/g |
|
15791 |
t rset
|
|
15792 |
:rset
|
|
15793 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
15794 |
t def
|
|
15795 |
d
|
|
15796 |
:def
|
|
15797 |
s/\\$//
|
|
15798 |
t bsnl
|
|
15799 |
s/["\\]/\\&/g
|
|
15800 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
15801 |
D["\1"]=" \3"/p
|
|
15802 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
15803 |
d
|
|
15804 |
:bsnl
|
|
15805 |
s/["\\]/\\&/g
|
|
15806 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
15807 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
15808 |
t cont
|
|
15809 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
15810 |
t cont
|
|
15811 |
d
|
|
15812 |
:cont
|
|
15813 |
n
|
|
15814 |
s/.\{148\}/&'"$ac_delim"'/g |
|
15815 |
t clear
|
|
15816 |
:clear
|
|
15817 |
s/\\$//
|
|
15818 |
t bsnlc
|
|
15819 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
15820 |
d
|
|
15821 |
:bsnlc
|
|
15822 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
15823 |
b cont
|
|
15824 |
' <confdefs.h | sed ' |
|
15825 |
s/'"$ac_delim"'/"\\\ |
|
15826 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
15827 |
||
15828 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
15829 |
for (key in D) D_is_set[key] = 1
|
|
15830 |
FS = ""
|
|
15831 |
}
|
|
15832 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
15833 |
line = \$ 0
|
|
15834 |
split(line, arg, " ")
|
|
15835 |
if (arg[1] == "#") {
|
|
15836 |
defundef = arg[2]
|
|
15837 |
mac1 = arg[3]
|
|
15838 |
} else {
|
|
15839 |
defundef = substr(arg[1], 2)
|
|
15840 |
mac1 = arg[2]
|
|
15841 |
}
|
|
15842 |
split(mac1, mac2, "(") #)
|
|
15843 |
macro = mac2[1]
|
|
15844 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
15845 |
if (D_is_set[macro]) {
|
|
15846 |
# Preserve the white space surrounding the "#".
|
|
15847 |
print prefix "define", macro P[macro] D[macro]
|
|
15848 |
next
|
|
15849 |
} else {
|
|
15850 |
# Replace #undef with comments. This is necessary, for example,
|
|
15851 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
15852 |
# on some systems where configure will not decide to define it.
|
|
15853 |
if (defundef == "undef") {
|
|
15854 |
print "/*", prefix defundef, macro, "*/"
|
|
15855 |
next
|
|
15856 |
}
|
|
15857 |
}
|
|
15858 |
}
|
|
15859 |
{ print }
|
|
15860 |
_ACAWK
|
|
15861 |
_ACEOF
|
|
15862 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
15863 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
|
15864 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
|
15865 |
{ (exit 1); exit 1; }; }
|
|
15866 |
fi # test -n "$CONFIG_HEADERS"
|
|
15867 |
||
15868 |
||
15869 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
15870 |
shift
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15871 |
for ac_tag
|
15872 |
do
|
|
15873 |
case $ac_tag in
|
|
15874 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
15875 |
esac
|
|
15876 |
case $ac_mode$ac_tag in
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15877 |
:[FHL]*:*);;
|
15878 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15879 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
15880 |
{ (exit 1); exit 1; }; };;
|
|
15881 |
:[FH]-) ac_tag=-:-;;
|
|
15882 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
15883 |
esac
|
|
15884 |
ac_save_IFS=$IFS
|
|
15885 |
IFS=:
|
|
15886 |
set x $ac_tag
|
|
15887 |
IFS=$ac_save_IFS
|
|
15888 |
shift
|
|
15889 |
ac_file=$1
|
|
15890 |
shift
|
|
15891 |
||
15892 |
case $ac_mode in
|
|
15893 |
:L) ac_source=$1;;
|
|
15894 |
:[FH])
|
|
15895 |
ac_file_inputs=
|
|
15896 |
for ac_f
|
|
15897 |
do
|
|
15898 |
case $ac_f in
|
|
15899 |
-) ac_f="$tmp/stdin";;
|
|
15900 |
*) # Look for the file first in the build tree, then in the source tree
|
|
15901 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
15902 |
# because $ac_f cannot contain `:'.
|
|
15903 |
test -f "$ac_f" ||
|
|
15904 |
case $ac_f in
|
|
15905 |
[\\/$]*) false;;
|
|
15906 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15907 |
esac ||
|
15908 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15909 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
15910 |
{ (exit 1); exit 1; }; };;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15911 |
esac
|
15912 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15913 |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
15914 |
done
|
|
15915 |
||
15916 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
15917 |
# use $as_me), people would be surprised to read:
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15918 |
# /* config.h. Generated by config.status. */
|
15919 |
configure_input='Generated from '`
|
|
15920 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15921 |
`' by configure.'
|
15922 |
if test x"$ac_file" != x-; then
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15923 |
configure_input="$ac_file. $configure_input"
|
15924 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15925 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15926 |
fi
|
15927 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
15928 |
case $configure_input in #(
|
|
15929 |
*\&* | *\|* | *\\* )
|
|
15930 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
15931 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
15932 |
*) ac_sed_conf_input=$configure_input;;
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15933 |
esac
|
15934 |
||
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15935 |
case $ac_tag in
|
15936 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
|
15937 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
15938 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15939 |
{ (exit 1); exit 1; }; } ;;
|
15940 |
esac
|
|
15941 |
;;
|
|
15942 |
esac
|
|
15943 |
||
15944 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
15945 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
15946 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
15947 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15948 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15949 |
$as_echo X"$ac_file" |
|
15950 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
15951 |
s//\1/
|
|
15952 |
q
|
|
15953 |
}
|
|
15954 |
/^X\(\/\/\)[^/].*/{
|
|
15955 |
s//\1/
|
|
15956 |
q
|
|
15957 |
}
|
|
15958 |
/^X\(\/\/\)$/{
|
|
15959 |
s//\1/
|
|
15960 |
q
|
|
15961 |
}
|
|
15962 |
/^X\(\/\).*/{
|
|
15963 |
s//\1/
|
|
15964 |
q
|
|
15965 |
}
|
|
15966 |
s/.*/./; q'`
|
|
15967 |
{ as_dir="$ac_dir"
|
|
15968 |
case $as_dir in #(
|
|
15969 |
-*) as_dir=./$as_dir;;
|
|
15970 |
esac
|
|
15971 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
15972 |
as_dirs=
|
|
15973 |
while :; do
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15974 |
case $as_dir in #(
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15975 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
15976 |
*) as_qdir=$as_dir;;
|
|
15977 |
esac
|
|
15978 |
as_dirs="'$as_qdir' $as_dirs"
|
|
15979 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
15980 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
15981 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
15982 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
15983 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
15984 |
$as_echo X"$as_dir" |
|
15985 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
15986 |
s//\1/
|
|
15987 |
q
|
|
15988 |
}
|
|
15989 |
/^X\(\/\/\)[^/].*/{
|
|
15990 |
s//\1/
|
|
15991 |
q
|
|
15992 |
}
|
|
15993 |
/^X\(\/\/\)$/{
|
|
15994 |
s//\1/
|
|
15995 |
q
|
|
15996 |
}
|
|
15997 |
/^X\(\/\).*/{
|
|
15998 |
s//\1/
|
|
15999 |
q
|
|
16000 |
}
|
|
16001 |
s/.*/./; q'`
|
|
16002 |
test -d "$as_dir" && break
|
|
16003 |
done
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16004 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
16005 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16006 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
16007 |
{ (exit 1); exit 1; }; }; }
|
|
16008 |
ac_builddir=.
|
|
16009 |
||
16010 |
case "$ac_dir" in
|
|
16011 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16012 |
*)
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16013 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16014 |
# A ".." for each directory in $ac_dir_suffix.
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16015 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
16016 |
case $ac_top_builddir_sub in
|
|
16017 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
16018 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
16019 |
esac ;;
|
|
16020 |
esac
|
|
16021 |
ac_abs_top_builddir=$ac_pwd
|
|
16022 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
16023 |
# for backward compatibility:
|
|
16024 |
ac_top_builddir=$ac_top_build_prefix
|
|
16025 |
||
16026 |
case $srcdir in
|
|
16027 |
.) # We are building in place.
|
|
16028 |
ac_srcdir=.
|
|
16029 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
16030 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
16031 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
16032 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
16033 |
ac_top_srcdir=$srcdir
|
|
16034 |
ac_abs_top_srcdir=$srcdir ;;
|
|
16035 |
*) # Relative name.
|
|
16036 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
16037 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
16038 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
16039 |
esac
|
|
16040 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
16041 |
||
16042 |
||
16043 |
case $ac_mode in
|
|
16044 |
:F)
|
|
16045 |
#
|
|
16046 |
# CONFIG_FILE
|
|
16047 |
#
|
|
16048 |
||
16049 |
case $INSTALL in
|
|
16050 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
16051 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
|
16052 |
esac
|
|
16053 |
ac_MKDIR_P=$MKDIR_P
|
|
16054 |
case $MKDIR_P in
|
|
16055 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
16056 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
16057 |
esac
|
|
16058 |
_ACEOF
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16059 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16060 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16061 |
# If the template does not know about datarootdir, expand it.
|
|
16062 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
16063 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16064 |
|
16065 |
ac_sed_dataroot='
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16066 |
/datarootdir/ {
|
16067 |
p
|
|
16068 |
q
|
|
16069 |
}
|
|
16070 |
/@datadir@/p
|
|
16071 |
/@docdir@/p
|
|
16072 |
/@infodir@/p
|
|
16073 |
/@localedir@/p
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16074 |
/@mandir@/p
|
16075 |
'
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16076 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
16077 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16078 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
16079 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16080 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16081 |
_ACEOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16082 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16083 |
ac_datarootdir_hack='
|
|
16084 |
s&@datadir@&$datadir&g
|
|
16085 |
s&@docdir@&$docdir&g
|
|
16086 |
s&@infodir@&$infodir&g
|
|
16087 |
s&@localedir@&$localedir&g
|
|
16088 |
s&@mandir@&$mandir&g
|
|
16089 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
16090 |
esac
|
|
16091 |
_ACEOF
|
|
16092 |
||
16093 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
16094 |
# Shell code in configure.ac might set extrasub.
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16095 |
# FIXME: do we really want to maintain this feature?
|
16096 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16097 |
ac_sed_extra="$ac_vpsub
|
16098 |
$extrasub
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16099 |
_ACEOF
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16100 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16101 |
:t
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16102 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16103 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16104 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16105 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
16106 |
s&@srcdir@&$ac_srcdir&;t t
|
|
16107 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
16108 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
16109 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
16110 |
s&@builddir@&$ac_builddir&;t t
|
|
16111 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
16112 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
16113 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
16114 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16115 |
$ac_datarootdir_hack
|
16116 |
"
|
|
16117 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
|
16118 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
16119 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16120 |
{ (exit 1); exit 1; }; }
|
16121 |
||
16122 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
16123 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16124 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16125 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16126 |
which seems to be undefined. Please make sure it is defined." >&5
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16127 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
16128 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
16129 |
||
16130 |
rm -f "$tmp/stdin"
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16131 |
case $ac_file in
|
16132 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
|
16133 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
16134 |
esac \
|
|
16135 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
16136 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16137 |
{ (exit 1); exit 1; }; }
|
16138 |
;;
|
|
16139 |
:H)
|
|
16140 |
#
|
|
16141 |
# CONFIG_HEADER
|
|
16142 |
#
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16143 |
if test x"$ac_file" != x-; then
|
16144 |
{
|
|
16145 |
$as_echo "/* $configure_input */" \
|
|
16146 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
|
16147 |
} >"$tmp/config.h" \
|
|
16148 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
16149 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
16150 |
{ (exit 1); exit 1; }; }
|
|
16151 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
|
16152 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16153 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16154 |
else
|
16155 |
rm -f "$ac_file"
|
|
16156 |
mv "$tmp/config.h" "$ac_file" \
|
|
16157 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
16158 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16159 |
{ (exit 1); exit 1; }; }
|
16160 |
fi
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16161 |
else
|
16162 |
$as_echo "/* $configure_input */" \
|
|
16163 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
|
16164 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
|
16165 |
$as_echo "$as_me: error: could not create -" >&2;}
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16166 |
{ (exit 1); exit 1; }; }
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16167 |
fi
|
16168 |
# Compute "$ac_file"'s index in $config_headers.
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16169 |
_am_arg="$ac_file"
|
16170 |
_am_stamp_count=1
|
|
16171 |
for _am_header in $config_headers :; do
|
|
16172 |
case $_am_header in
|
|
16173 |
$_am_arg | $_am_arg:* )
|
|
16174 |
break ;;
|
|
16175 |
* )
|
|
16176 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
16177 |
esac
|
|
16178 |
done
|
|
16179 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
16180 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
16181 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
16182 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16183 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16184 |
$as_echo X"$_am_arg" |
|
16185 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
16186 |
s//\1/
|
|
16187 |
q
|
|
16188 |
}
|
|
16189 |
/^X\(\/\/\)[^/].*/{
|
|
16190 |
s//\1/
|
|
16191 |
q
|
|
16192 |
}
|
|
16193 |
/^X\(\/\/\)$/{
|
|
16194 |
s//\1/
|
|
16195 |
q
|
|
16196 |
}
|
|
16197 |
/^X\(\/\).*/{
|
|
16198 |
s//\1/
|
|
16199 |
q
|
|
16200 |
}
|
|
16201 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
16202 |
;;
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16203 |
|
16204 |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16205 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
16206 |
;;
|
|
16207 |
esac
|
|
16208 |
||
16209 |
||
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
16210 |
case $ac_file$ac_mode in
|
16211 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
16212 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
16213 |
# are listed without --file. Let's play safe and only enable the eval
|
|
16214 |
# if we detect the quoting.
|
|
16215 |
case $CONFIG_FILES in
|
|
16216 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
16217 |
*) set x $CONFIG_FILES ;;
|
|
16218 |
esac
|
|
16219 |
shift
|
|
16220 |
for mf
|
|
16221 |
do
|
|
16222 |
# Strip MF so we end up with the name of the file.
|
|
16223 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
16224 |
# Check whether this is an Automake generated Makefile or not.
|
|
16225 |
# We used to match only the files named `Makefile.in', but
|
|
16226 |
# some people rename them; so instead we look at the file content.
|
|
16227 |
# Grep'ing the first line is not enough: some people post-process
|
|
16228 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
16229 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
16230 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
16231 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16232 |
dirpart=`$as_dirname -- "$mf" ||
|
16233 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
16234 |
X"$mf" : 'X\(//\)[^/]' \| \
|
|
16235 |
X"$mf" : 'X\(//\)$' \| \
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16236 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16237 |
$as_echo X"$mf" |
|
16238 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
16239 |
s//\1/
|
|
16240 |
q
|
|
16241 |
}
|
|
16242 |
/^X\(\/\/\)[^/].*/{
|
|
16243 |
s//\1/
|
|
16244 |
q
|
|
16245 |
}
|
|
16246 |
/^X\(\/\/\)$/{
|
|
16247 |
s//\1/
|
|
16248 |
q
|
|
16249 |
}
|
|
16250 |
/^X\(\/\).*/{
|
|
16251 |
s//\1/
|
|
16252 |
q
|
|
16253 |
}
|
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
16254 |
s/.*/./; q'`
|
16255 |
else
|
|
16256 |
continue
|
|
16257 |
fi
|
|
16258 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
16259 |
# from the Makefile without running `make'.
|
|
16260 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
16261 |
test -z "$DEPDIR" && continue
|
|
16262 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
16263 |
test -z "am__include" && continue
|
|
16264 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
16265 |
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
16266 |
U=`sed -n 's/^U = //p' < "$mf"`
|
|
16267 |
# Find all dependency output files, they are included files with
|
|
16268 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
16269 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
16270 |
# expansion.
|
|
16271 |
for file in `sed -n "
|
|
16272 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
16273 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
16274 |
# Make sure the directory exists.
|
|
16275 |
test -f "$dirpart/$file" && continue
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16276 |
fdir=`$as_dirname -- "$file" ||
|
16277 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
16278 |
X"$file" : 'X\(//\)[^/]' \| \
|
|
16279 |
X"$file" : 'X\(//\)$' \| \
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16280 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16281 |
$as_echo X"$file" |
|
16282 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
16283 |
s//\1/
|
|
16284 |
q
|
|
16285 |
}
|
|
16286 |
/^X\(\/\/\)[^/].*/{
|
|
16287 |
s//\1/
|
|
16288 |
q
|
|
16289 |
}
|
|
16290 |
/^X\(\/\/\)$/{
|
|
16291 |
s//\1/
|
|
16292 |
q
|
|
16293 |
}
|
|
16294 |
/^X\(\/\).*/{
|
|
16295 |
s//\1/
|
|
16296 |
q
|
|
16297 |
}
|
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
16298 |
s/.*/./; q'`
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16299 |
{ as_dir=$dirpart/$fdir
|
16300 |
case $as_dir in #(
|
|
16301 |
-*) as_dir=./$as_dir;;
|
|
16302 |
esac
|
|
16303 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
16304 |
as_dirs=
|
|
16305 |
while :; do
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16306 |
case $as_dir in #(
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16307 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
16308 |
*) as_qdir=$as_dir;;
|
|
16309 |
esac
|
|
16310 |
as_dirs="'$as_qdir' $as_dirs"
|
|
16311 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
16312 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
16313 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
16314 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16315 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16316 |
$as_echo X"$as_dir" |
|
16317 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
16318 |
s//\1/
|
|
16319 |
q
|
|
16320 |
}
|
|
16321 |
/^X\(\/\/\)[^/].*/{
|
|
16322 |
s//\1/
|
|
16323 |
q
|
|
16324 |
}
|
|
16325 |
/^X\(\/\/\)$/{
|
|
16326 |
s//\1/
|
|
16327 |
q
|
|
16328 |
}
|
|
16329 |
/^X\(\/\).*/{
|
|
16330 |
s//\1/
|
|
16331 |
q
|
|
16332 |
}
|
|
16333 |
s/.*/./; q'`
|
|
16334 |
test -d "$as_dir" && break
|
|
16335 |
done
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16336 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
16337 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16338 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
16339 |
{ (exit 1); exit 1; }; }; }
|
16340 |
# echo "creating $dirpart/$file"
|
|
16341 |
echo '# dummy' > "$dirpart/$file"
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16342 |
done
|
1.1.3
by Steve Kowalik
Import upstream version 0.4.6 |
16343 |
done
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16344 |
}
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16345 |
;;
|
16346 |
"libtool":C)
|
|
16347 |
||
16348 |
# See if we are running on zsh, and set the options which allow our
|
|
16349 |
# commands through without removal of \ escapes.
|
|
16350 |
if test -n "${ZSH_VERSION+set}" ; then
|
|
16351 |
setopt NO_GLOB_SUBST
|
|
16352 |
fi
|
|
16353 |
||
16354 |
cfgfile="${ofile}T"
|
|
16355 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
|
|
16356 |
$RM "$cfgfile"
|
|
16357 |
||
16358 |
cat <<_LT_EOF >> "$cfgfile"
|
|
16359 |
#! $SHELL
|
|
16360 |
||
16361 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
|
16362 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
|
|
16363 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
|
16364 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
|
16365 |
#
|
|
16366 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
|
16367 |
# 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
16368 |
# Written by Gordon Matzigkeit, 1996
|
|
16369 |
#
|
|
16370 |
# This file is part of GNU Libtool.
|
|
16371 |
#
|
|
16372 |
# GNU Libtool is free software; you can redistribute it and/or
|
|
16373 |
# modify it under the terms of the GNU General Public License as
|
|
16374 |
# published by the Free Software Foundation; either version 2 of
|
|
16375 |
# the License, or (at your option) any later version.
|
|
16376 |
#
|
|
16377 |
# As a special exception to the GNU General Public License,
|
|
16378 |
# if you distribute this file as part of a program or library that
|
|
16379 |
# is built using GNU Libtool, you may include this file under the
|
|
16380 |
# same distribution terms that you use for the rest of that program.
|
|
16381 |
#
|
|
16382 |
# GNU Libtool is distributed in the hope that it will be useful,
|
|
16383 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16384 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16385 |
# GNU General Public License for more details.
|
|
16386 |
#
|
|
16387 |
# You should have received a copy of the GNU General Public License
|
|
16388 |
# along with GNU Libtool; see the file COPYING. If not, a copy
|
|
16389 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
|
|
16390 |
# obtained by writing to the Free Software Foundation, Inc.,
|
|
16391 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
16392 |
||
16393 |
||
16394 |
# The names of the tagged configurations supported by this script.
|
|
16395 |
available_tags=""
|
|
16396 |
||
16397 |
# ### BEGIN LIBTOOL CONFIG
|
|
16398 |
||
16399 |
# Which release of libtool.m4 was used?
|
|
16400 |
macro_version=$macro_version
|
|
16401 |
macro_revision=$macro_revision
|
|
16402 |
||
16403 |
# Whether or not to build shared libraries.
|
|
16404 |
build_libtool_libs=$enable_shared
|
|
16405 |
||
16406 |
# Whether or not to build static libraries.
|
|
16407 |
build_old_libs=$enable_static
|
|
16408 |
||
16409 |
# What type of objects to build.
|
|
16410 |
pic_mode=$pic_mode
|
|
16411 |
||
16412 |
# Whether or not to optimize for fast installation.
|
|
16413 |
fast_install=$enable_fast_install
|
|
16414 |
||
16415 |
# The host system.
|
|
16416 |
host_alias=$host_alias
|
|
16417 |
host=$host
|
|
16418 |
host_os=$host_os
|
|
16419 |
||
16420 |
# The build system.
|
|
16421 |
build_alias=$build_alias
|
|
16422 |
build=$build
|
|
16423 |
build_os=$build_os
|
|
16424 |
||
16425 |
# A sed program that does not truncate output.
|
|
16426 |
SED=$lt_SED
|
|
16427 |
||
16428 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
|
16429 |
Xsed="\$SED -e 1s/^X//"
|
|
16430 |
||
16431 |
# A grep program that handles long lines.
|
|
16432 |
GREP=$lt_GREP
|
|
16433 |
||
16434 |
# An ERE matcher.
|
|
16435 |
EGREP=$lt_EGREP
|
|
16436 |
||
16437 |
# A literal string matcher.
|
|
16438 |
FGREP=$lt_FGREP
|
|
16439 |
||
16440 |
# A BSD- or MS-compatible name lister.
|
|
16441 |
NM=$lt_NM
|
|
16442 |
||
16443 |
# Whether we need soft or hard links.
|
|
16444 |
LN_S=$lt_LN_S
|
|
16445 |
||
16446 |
# What is the maximum length of a command?
|
|
16447 |
max_cmd_len=$max_cmd_len
|
|
16448 |
||
16449 |
# Object file suffix (normally "o").
|
|
16450 |
objext=$ac_objext
|
|
16451 |
||
16452 |
# Executable file suffix (normally "").
|
|
16453 |
exeext=$exeext
|
|
16454 |
||
16455 |
# whether the shell understands "unset".
|
|
16456 |
lt_unset=$lt_unset
|
|
16457 |
||
16458 |
# turn spaces into newlines.
|
|
16459 |
SP2NL=$lt_lt_SP2NL
|
|
16460 |
||
16461 |
# turn newlines into spaces.
|
|
16462 |
NL2SP=$lt_lt_NL2SP
|
|
16463 |
||
16464 |
# How to create reloadable object files.
|
|
16465 |
reload_flag=$lt_reload_flag
|
|
16466 |
reload_cmds=$lt_reload_cmds
|
|
16467 |
||
16468 |
# An object symbol dumper.
|
|
16469 |
OBJDUMP=$lt_OBJDUMP
|
|
16470 |
||
16471 |
# Method to check whether dependent libraries are shared objects.
|
|
16472 |
deplibs_check_method=$lt_deplibs_check_method
|
|
16473 |
||
16474 |
# Command to use when deplibs_check_method == "file_magic".
|
|
16475 |
file_magic_cmd=$lt_file_magic_cmd
|
|
16476 |
||
16477 |
# The archiver.
|
|
16478 |
AR=$lt_AR
|
|
16479 |
AR_FLAGS=$lt_AR_FLAGS
|
|
16480 |
||
16481 |
# A symbol stripping program.
|
|
16482 |
STRIP=$lt_STRIP
|
|
16483 |
||
16484 |
# Commands used to install an old-style archive.
|
|
16485 |
RANLIB=$lt_RANLIB
|
|
16486 |
old_postinstall_cmds=$lt_old_postinstall_cmds
|
|
16487 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
|
16488 |
||
16489 |
# A C compiler.
|
|
16490 |
LTCC=$lt_CC
|
|
16491 |
||
16492 |
# LTCC compiler flags.
|
|
16493 |
LTCFLAGS=$lt_CFLAGS
|
|
16494 |
||
16495 |
# Take the output of nm and produce a listing of raw symbols and C names.
|
|
16496 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
|
16497 |
||
16498 |
# Transform the output of nm in a proper C declaration.
|
|
16499 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
|
16500 |
||
16501 |
# Transform the output of nm in a C name address pair.
|
|
16502 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
|
16503 |
||
16504 |
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
|
16505 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
|
16506 |
||
16507 |
# The name of the directory that contains temporary libtool files.
|
|
16508 |
objdir=$objdir
|
|
16509 |
||
16510 |
# Shell to use when invoking shell scripts.
|
|
16511 |
SHELL=$lt_SHELL
|
|
16512 |
||
16513 |
# An echo program that does not interpret backslashes.
|
|
16514 |
ECHO=$lt_ECHO
|
|
16515 |
||
16516 |
# Used to examine libraries when file_magic_cmd begins with "file".
|
|
16517 |
MAGIC_CMD=$MAGIC_CMD
|
|
16518 |
||
16519 |
# Must we lock files when doing compilation?
|
|
16520 |
need_locks=$lt_need_locks
|
|
16521 |
||
16522 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
|
16523 |
DSYMUTIL=$lt_DSYMUTIL
|
|
16524 |
||
16525 |
# Tool to change global to local symbols on Mac OS X.
|
|
16526 |
NMEDIT=$lt_NMEDIT
|
|
16527 |
||
16528 |
# Tool to manipulate fat objects and archives on Mac OS X.
|
|
16529 |
LIPO=$lt_LIPO
|
|
16530 |
||
16531 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
|
16532 |
OTOOL=$lt_OTOOL
|
|
16533 |
||
16534 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
|
16535 |
OTOOL64=$lt_OTOOL64
|
|
16536 |
||
16537 |
# Old archive suffix (normally "a").
|
|
16538 |
libext=$libext
|
|
16539 |
||
16540 |
# Shared library suffix (normally ".so").
|
|
16541 |
shrext_cmds=$lt_shrext_cmds
|
|
16542 |
||
16543 |
# The commands to extract the exported symbol list from a shared archive.
|
|
16544 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
|
16545 |
||
16546 |
# Variables whose values should be saved in libtool wrapper scripts and
|
|
16547 |
# restored at link time.
|
|
16548 |
variables_saved_for_relink=$lt_variables_saved_for_relink
|
|
16549 |
||
16550 |
# Do we need the "lib" prefix for modules?
|
|
16551 |
need_lib_prefix=$need_lib_prefix
|
|
16552 |
||
16553 |
# Do we need a version for libraries?
|
|
16554 |
need_version=$need_version
|
|
16555 |
||
16556 |
# Library versioning type.
|
|
16557 |
version_type=$version_type
|
|
16558 |
||
16559 |
# Shared library runtime path variable.
|
|
16560 |
runpath_var=$runpath_var
|
|
16561 |
||
16562 |
# Shared library path variable.
|
|
16563 |
shlibpath_var=$shlibpath_var
|
|
16564 |
||
16565 |
# Is shlibpath searched before the hard-coded library search path?
|
|
16566 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
|
16567 |
||
16568 |
# Format of library name prefix.
|
|
16569 |
libname_spec=$lt_libname_spec
|
|
16570 |
||
16571 |
# List of archive names. First name is the real one, the rest are links.
|
|
16572 |
# The last name is the one that the linker finds with -lNAME
|
|
16573 |
library_names_spec=$lt_library_names_spec
|
|
16574 |
||
16575 |
# The coded name of the library, if different from the real name.
|
|
16576 |
soname_spec=$lt_soname_spec
|
|
16577 |
||
16578 |
# Command to use after installation of a shared archive.
|
|
16579 |
postinstall_cmds=$lt_postinstall_cmds
|
|
16580 |
||
16581 |
# Command to use after uninstallation of a shared archive.
|
|
16582 |
postuninstall_cmds=$lt_postuninstall_cmds
|
|
16583 |
||
16584 |
# Commands used to finish a libtool library installation in a directory.
|
|
16585 |
finish_cmds=$lt_finish_cmds
|
|
16586 |
||
16587 |
# As "finish_cmds", except a single script fragment to be evaled but
|
|
16588 |
# not shown.
|
|
16589 |
finish_eval=$lt_finish_eval
|
|
16590 |
||
16591 |
# Whether we should hardcode library paths into libraries.
|
|
16592 |
hardcode_into_libs=$hardcode_into_libs
|
|
16593 |
||
16594 |
# Compile-time system search path for libraries.
|
|
16595 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
16596 |
||
16597 |
# Run-time system search path for libraries.
|
|
16598 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
16599 |
||
16600 |
# Whether dlopen is supported.
|
|
16601 |
dlopen_support=$enable_dlopen
|
|
16602 |
||
16603 |
# Whether dlopen of programs is supported.
|
|
16604 |
dlopen_self=$enable_dlopen_self
|
|
16605 |
||
16606 |
# Whether dlopen of statically linked programs is supported.
|
|
16607 |
dlopen_self_static=$enable_dlopen_self_static
|
|
16608 |
||
16609 |
# Commands to strip libraries.
|
|
16610 |
old_striplib=$lt_old_striplib
|
|
16611 |
striplib=$lt_striplib
|
|
16612 |
||
16613 |
||
16614 |
# The linker used to build libraries.
|
|
16615 |
LD=$lt_LD
|
|
16616 |
||
16617 |
# Commands used to build an old-style archive.
|
|
16618 |
old_archive_cmds=$lt_old_archive_cmds
|
|
16619 |
||
16620 |
# A language specific compiler.
|
|
16621 |
CC=$lt_compiler
|
|
16622 |
||
16623 |
# Is the compiler the GNU compiler?
|
|
16624 |
with_gcc=$GCC
|
|
16625 |
||
16626 |
# Compiler flag to turn off builtin functions.
|
|
16627 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
|
16628 |
||
16629 |
# How to pass a linker flag through the compiler.
|
|
16630 |
wl=$lt_lt_prog_compiler_wl
|
|
16631 |
||
16632 |
# Additional compiler flags for building library objects.
|
|
16633 |
pic_flag=$lt_lt_prog_compiler_pic
|
|
16634 |
||
16635 |
# Compiler flag to prevent dynamic linking.
|
|
16636 |
link_static_flag=$lt_lt_prog_compiler_static
|
|
16637 |
||
16638 |
# Does compiler simultaneously support -c and -o options?
|
|
16639 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
|
16640 |
||
16641 |
# Whether or not to add -lc for building shared libraries.
|
|
16642 |
build_libtool_need_lc=$archive_cmds_need_lc
|
|
16643 |
||
16644 |
# Whether or not to disallow shared libs when runtime libs are static.
|
|
16645 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
|
16646 |
||
16647 |
# Compiler flag to allow reflexive dlopens.
|
|
16648 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
|
16649 |
||
16650 |
# Compiler flag to generate shared objects directly from archives.
|
|
16651 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
|
16652 |
||
16653 |
# Whether the compiler copes with passing no objects directly.
|
|
16654 |
compiler_needs_object=$lt_compiler_needs_object
|
|
16655 |
||
16656 |
# Create an old-style archive from a shared archive.
|
|
16657 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
|
16658 |
||
16659 |
# Create a temporary old-style archive to link instead of a shared archive.
|
|
16660 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
|
16661 |
||
16662 |
# Commands used to build a shared archive.
|
|
16663 |
archive_cmds=$lt_archive_cmds
|
|
16664 |
archive_expsym_cmds=$lt_archive_expsym_cmds
|
|
16665 |
||
16666 |
# Commands used to build a loadable module if different from building
|
|
16667 |
# a shared archive.
|
|
16668 |
module_cmds=$lt_module_cmds
|
|
16669 |
module_expsym_cmds=$lt_module_expsym_cmds
|
|
16670 |
||
16671 |
# Whether we are building with GNU ld or not.
|
|
16672 |
with_gnu_ld=$lt_with_gnu_ld
|
|
16673 |
||
16674 |
# Flag that allows shared libraries with undefined symbols to be built.
|
|
16675 |
allow_undefined_flag=$lt_allow_undefined_flag
|
|
16676 |
||
16677 |
# Flag that enforces no undefined symbols.
|
|
16678 |
no_undefined_flag=$lt_no_undefined_flag
|
|
16679 |
||
16680 |
# Flag to hardcode \$libdir into a binary during linking.
|
|
16681 |
# This must work even if \$libdir does not exist
|
|
16682 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
|
16683 |
||
16684 |
# If ld is used when linking, flag to hardcode \$libdir into a binary
|
|
16685 |
# during linking. This must work even if \$libdir does not exist.
|
|
16686 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
|
|
16687 |
||
16688 |
# Whether we need a single "-rpath" flag with a separated argument.
|
|
16689 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
|
16690 |
||
16691 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
|
16692 |
# DIR into the resulting binary.
|
|
16693 |
hardcode_direct=$hardcode_direct
|
|
16694 |
||
16695 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
|
16696 |
# DIR into the resulting binary and the resulting library dependency is
|
|
16697 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
|
16698 |
# library is relocated.
|
|
16699 |
hardcode_direct_absolute=$hardcode_direct_absolute
|
|
16700 |
||
16701 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
|
16702 |
# into the resulting binary.
|
|
16703 |
hardcode_minus_L=$hardcode_minus_L
|
|
16704 |
||
16705 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
|
16706 |
# into the resulting binary.
|
|
16707 |
hardcode_shlibpath_var=$hardcode_shlibpath_var
|
|
16708 |
||
16709 |
# Set to "yes" if building a shared library automatically hardcodes DIR
|
|
16710 |
# into the library and all subsequent libraries and executables linked
|
|
16711 |
# against it.
|
|
16712 |
hardcode_automatic=$hardcode_automatic
|
|
16713 |
||
16714 |
# Set to yes if linker adds runtime paths of dependent libraries
|
|
16715 |
# to runtime path list.
|
|
16716 |
inherit_rpath=$inherit_rpath
|
|
16717 |
||
16718 |
# Whether libtool must link a program against all its dependency libraries.
|
|
16719 |
link_all_deplibs=$link_all_deplibs
|
|
16720 |
||
16721 |
# Fix the shell variable \$srcfile for the compiler.
|
|
16722 |
fix_srcfile_path=$lt_fix_srcfile_path
|
|
16723 |
||
16724 |
# Set to "yes" if exported symbols are required.
|
|
16725 |
always_export_symbols=$always_export_symbols
|
|
16726 |
||
16727 |
# The commands to list exported symbols.
|
|
16728 |
export_symbols_cmds=$lt_export_symbols_cmds
|
|
16729 |
||
16730 |
# Symbols that should not be listed in the preloaded symbols.
|
|
16731 |
exclude_expsyms=$lt_exclude_expsyms
|
|
16732 |
||
16733 |
# Symbols that must always be exported.
|
|
16734 |
include_expsyms=$lt_include_expsyms
|
|
16735 |
||
16736 |
# Commands necessary for linking programs (against libraries) with templates.
|
|
16737 |
prelink_cmds=$lt_prelink_cmds
|
|
16738 |
||
16739 |
# Specify filename containing input files.
|
|
16740 |
file_list_spec=$lt_file_list_spec
|
|
16741 |
||
16742 |
# How to hardcode a shared library path into an executable.
|
|
16743 |
hardcode_action=$hardcode_action
|
|
16744 |
||
16745 |
# ### END LIBTOOL CONFIG
|
|
16746 |
||
16747 |
_LT_EOF
|
|
16748 |
||
16749 |
case $host_os in
|
|
16750 |
aix3*)
|
|
16751 |
cat <<\_LT_EOF >> "$cfgfile"
|
|
16752 |
# AIX sometimes has problems with the GCC collect2 program. For some
|
|
16753 |
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
|
16754 |
# vanish in a puff of smoke.
|
|
16755 |
if test "X${COLLECT_NAMES+set}" != Xset; then
|
|
16756 |
COLLECT_NAMES=
|
|
16757 |
export COLLECT_NAMES
|
|
16758 |
fi
|
|
16759 |
_LT_EOF
|
|
16760 |
;;
|
|
16761 |
esac
|
|
16762 |
||
16763 |
||
16764 |
ltmain="$ac_aux_dir/ltmain.sh"
|
|
16765 |
||
16766 |
||
16767 |
# We use sed instead of cat because bash on DJGPP gets confused if
|
|
16768 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
|
16769 |
# text mode, it properly converts lines to CR/LF. This bash problem
|
|
16770 |
# is reportedly fixed, but why not run on old versions too?
|
|
16771 |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
|
|
16772 |
|| (rm -f "$cfgfile"; exit 1)
|
|
16773 |
||
16774 |
case $xsi_shell in
|
|
16775 |
yes)
|
|
16776 |
cat << \_LT_EOF >> "$cfgfile"
|
|
16777 |
||
16778 |
# func_dirname file append nondir_replacement
|
|
16779 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
|
|
16780 |
# otherwise set result to NONDIR_REPLACEMENT.
|
|
16781 |
func_dirname ()
|
|
16782 |
{
|
|
16783 |
case ${1} in
|
|
16784 |
*/*) func_dirname_result="${1%/*}${2}" ;;
|
|
16785 |
* ) func_dirname_result="${3}" ;;
|
|
16786 |
esac
|
|
16787 |
}
|
|
16788 |
||
16789 |
# func_basename file
|
|
16790 |
func_basename ()
|
|
16791 |
{
|
|
16792 |
func_basename_result="${1##*/}"
|
|
16793 |
}
|
|
16794 |
||
16795 |
# func_dirname_and_basename file append nondir_replacement
|
|
16796 |
# perform func_basename and func_dirname in a single function
|
|
16797 |
# call:
|
|
16798 |
# dirname: Compute the dirname of FILE. If nonempty,
|
|
16799 |
# add APPEND to the result, otherwise set result
|
|
16800 |
# to NONDIR_REPLACEMENT.
|
|
16801 |
# value returned in "$func_dirname_result"
|
|
16802 |
# basename: Compute filename of FILE.
|
|
16803 |
# value retuned in "$func_basename_result"
|
|
16804 |
# Implementation must be kept synchronized with func_dirname
|
|
16805 |
# and func_basename. For efficiency, we do not delegate to
|
|
16806 |
# those functions but instead duplicate the functionality here.
|
|
16807 |
func_dirname_and_basename ()
|
|
16808 |
{
|
|
16809 |
case ${1} in
|
|
16810 |
*/*) func_dirname_result="${1%/*}${2}" ;;
|
|
16811 |
* ) func_dirname_result="${3}" ;;
|
|
16812 |
esac
|
|
16813 |
func_basename_result="${1##*/}"
|
|
16814 |
}
|
|
16815 |
||
16816 |
# func_stripname prefix suffix name
|
|
16817 |
# strip PREFIX and SUFFIX off of NAME.
|
|
16818 |
# PREFIX and SUFFIX must not contain globbing or regex special
|
|
16819 |
# characters, hashes, percent signs, but SUFFIX may contain a leading
|
|
16820 |
# dot (in which case that matches only a dot).
|
|
16821 |
func_stripname ()
|
|
16822 |
{
|
|
16823 |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
|
|
16824 |
# positional parameters, so assign one to ordinary parameter first.
|
|
16825 |
func_stripname_result=${3}
|
|
16826 |
func_stripname_result=${func_stripname_result#"${1}"}
|
|
16827 |
func_stripname_result=${func_stripname_result%"${2}"}
|
|
16828 |
}
|
|
16829 |
||
16830 |
# func_opt_split
|
|
16831 |
func_opt_split ()
|
|
16832 |
{
|
|
16833 |
func_opt_split_opt=${1%%=*}
|
|
16834 |
func_opt_split_arg=${1#*=}
|
|
16835 |
}
|
|
16836 |
||
16837 |
# func_lo2o object
|
|
16838 |
func_lo2o ()
|
|
16839 |
{
|
|
16840 |
case ${1} in
|
|
16841 |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
|
|
16842 |
*) func_lo2o_result=${1} ;;
|
|
16843 |
esac
|
|
16844 |
}
|
|
16845 |
||
16846 |
# func_xform libobj-or-source
|
|
16847 |
func_xform ()
|
|
16848 |
{
|
|
16849 |
func_xform_result=${1%.*}.lo
|
|
16850 |
}
|
|
16851 |
||
16852 |
# func_arith arithmetic-term...
|
|
16853 |
func_arith ()
|
|
16854 |
{
|
|
16855 |
func_arith_result=$(( $* ))
|
|
16856 |
}
|
|
16857 |
||
16858 |
# func_len string
|
|
16859 |
# STRING may not start with a hyphen.
|
|
16860 |
func_len ()
|
|
16861 |
{
|
|
16862 |
func_len_result=${#1}
|
|
16863 |
}
|
|
16864 |
||
16865 |
_LT_EOF
|
|
16866 |
;;
|
|
16867 |
*) # Bourne compatible functions.
|
|
16868 |
cat << \_LT_EOF >> "$cfgfile"
|
|
16869 |
||
16870 |
# func_dirname file append nondir_replacement
|
|
16871 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
|
|
16872 |
# otherwise set result to NONDIR_REPLACEMENT.
|
|
16873 |
func_dirname ()
|
|
16874 |
{
|
|
16875 |
# Extract subdirectory from the argument.
|
|
16876 |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
|
|
16877 |
if test "X$func_dirname_result" = "X${1}"; then
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16878 |
func_dirname_result="${3}"
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16879 |
else
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16880 |
func_dirname_result="$func_dirname_result${2}"
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16881 |
fi
|
16882 |
}
|
|
16883 |
||
16884 |
# func_basename file
|
|
16885 |
func_basename ()
|
|
16886 |
{
|
|
16887 |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
|
|
16888 |
}
|
|
16889 |
||
16890 |
||
16891 |
# func_stripname prefix suffix name
|
|
16892 |
# strip PREFIX and SUFFIX off of NAME.
|
|
16893 |
# PREFIX and SUFFIX must not contain globbing or regex special
|
|
16894 |
# characters, hashes, percent signs, but SUFFIX may contain a leading
|
|
16895 |
# dot (in which case that matches only a dot).
|
|
16896 |
# func_strip_suffix prefix name
|
|
16897 |
func_stripname ()
|
|
16898 |
{
|
|
16899 |
case ${2} in
|
|
16900 |
.*) func_stripname_result=`$ECHO "X${3}" \
|
|
16901 |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
|
|
16902 |
*) func_stripname_result=`$ECHO "X${3}" \
|
|
16903 |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
|
|
16904 |
esac
|
|
16905 |
}
|
|
16906 |
||
16907 |
# sed scripts:
|
|
16908 |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
|
|
16909 |
my_sed_long_arg='1s/^-[^=]*=//'
|
|
16910 |
||
16911 |
# func_opt_split
|
|
16912 |
func_opt_split ()
|
|
16913 |
{
|
|
16914 |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
|
|
16915 |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
|
|
16916 |
}
|
|
16917 |
||
16918 |
# func_lo2o object
|
|
16919 |
func_lo2o ()
|
|
16920 |
{
|
|
16921 |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
|
|
16922 |
}
|
|
16923 |
||
16924 |
# func_xform libobj-or-source
|
|
16925 |
func_xform ()
|
|
16926 |
{
|
|
16927 |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
|
|
16928 |
}
|
|
16929 |
||
16930 |
# func_arith arithmetic-term...
|
|
16931 |
func_arith ()
|
|
16932 |
{
|
|
16933 |
func_arith_result=`expr "$@"`
|
|
16934 |
}
|
|
16935 |
||
16936 |
# func_len string
|
|
16937 |
# STRING may not start with a hyphen.
|
|
16938 |
func_len ()
|
|
16939 |
{
|
|
16940 |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
|
|
16941 |
}
|
|
16942 |
||
16943 |
_LT_EOF
|
|
16944 |
esac
|
|
16945 |
||
16946 |
case $lt_shell_append in
|
|
16947 |
yes)
|
|
16948 |
cat << \_LT_EOF >> "$cfgfile"
|
|
16949 |
||
16950 |
# func_append var value
|
|
16951 |
# Append VALUE to the end of shell variable VAR.
|
|
16952 |
func_append ()
|
|
16953 |
{
|
|
16954 |
eval "$1+=\$2"
|
|
16955 |
}
|
|
16956 |
_LT_EOF
|
|
16957 |
;;
|
|
16958 |
*)
|
|
16959 |
cat << \_LT_EOF >> "$cfgfile"
|
|
16960 |
||
16961 |
# func_append var value
|
|
16962 |
# Append VALUE to the end of shell variable VAR.
|
|
16963 |
func_append ()
|
|
16964 |
{
|
|
16965 |
eval "$1=\$$1\$2"
|
|
16966 |
}
|
|
16967 |
||
16968 |
_LT_EOF
|
|
16969 |
;;
|
|
16970 |
esac
|
|
16971 |
||
16972 |
||
16973 |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
|
|
16974 |
|| (rm -f "$cfgfile"; exit 1)
|
|
16975 |
||
16976 |
mv -f "$cfgfile" "$ofile" ||
|
|
16977 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16978 |
chmod +x "$ofile"
|
16979 |
||
16980 |
;;
|
|
16981 |
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
|
|
16982 |
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
|
16983 |
esac ;;
|
|
1.1.2
by Steve Kowalik
Import upstream version 0.4.4 |
16984 |
"po/stamp-it":C)
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
16985 |
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
|
16986 |
{ { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
|
|
16987 |
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
|
|
16988 |
{ (exit 1); exit 1; }; }
|
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
16989 |
fi
|
16990 |
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
|
|
16991 |
>"po/stamp-it.tmp"
|
|
16992 |
sed '/^#/d
|
|
16993 |
s/^[[].*] *//
|
|
16994 |
/^[ ]*$/d
|
|
16995 |
'"s|^| $ac_top_srcdir/|" \
|
|
16996 |
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
|
|
16997 |
||
16998 |
sed '/^POTFILES =/,/[^\\]$/ {
|
|
16999 |
/^POTFILES =/!d
|
|
17000 |
r po/POTFILES
|
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
17001 |
}
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
17002 |
' "po/Makefile.in" >"po/Makefile"
|
17003 |
rm -f "po/Makefile.tmp"
|
|
17004 |
mv "po/stamp-it.tmp" "po/stamp-it"
|
|
17005 |
;;
|
|
17006 |
||
17007 |
esac
|
|
17008 |
done # for ac_tag
|
|
17009 |
||
17010 |
||
17011 |
{ (exit 0); exit 0; }
|
|
17012 |
_ACEOF
|
|
17013 |
chmod +x $CONFIG_STATUS
|
|
17014 |
ac_clean_files=$ac_clean_files_save |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
17015 |
|
17016 |
test $ac_write_fail = 0 || |
|
17017 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|
17018 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|
17019 |
{ (exit 1); exit 1; }; } |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
17020 |
|
17021 |
||
17022 |
# configure is writing to config.log, and then calls config.status.
|
|
17023 |
# config.status does its own redirection, appending to config.log.
|
|
17024 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
17025 |
# by configure, so config.status won't be able to write to it; its
|
|
17026 |
# output is simply discarded. So we exec the FD to /dev/null,
|
|
17027 |
# effectively closing config.log, so it can be properly (re)opened and
|
|
17028 |
# appended to by config.status. When coming back to configure, we
|
|
17029 |
# need to make the FD available again.
|
|
17030 |
if test "$no_create" != yes; then |
|
17031 |
ac_cs_success=: |
|
17032 |
ac_config_status_args= |
|
17033 |
test "$silent" = yes && |
|
17034 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
17035 |
exec 5>/dev/null |
|
17036 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
17037 |
exec 5>>config.log |
|
17038 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
17039 |
# would make configure fail if this is the last instruction.
|
|
17040 |
$ac_cs_success || { (exit 1); exit 1; } |
|
1.1.1
by Steve Kowalik
Import upstream version 0.4.3 |
17041 |
fi
|
17042 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
17043 |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
17044 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
1
by Steve Kowalik
Import upstream version 0.4.0 |
17045 |
fi
|