Commit | Autor | Alter
|
0a10d5
|
1 |
#! /bin/sh |
JS |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
3 |
# Generated by GNU Autoconf 2.69 for G4Track_lib_dist 0.0.2. |
|
4 |
# |
|
5 |
# Report bugs to <help@polhemus.com>. |
|
6 |
# |
|
7 |
# |
|
8 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
|
9 |
# |
|
10 |
# |
|
11 |
# This configure script is free software; the Free Software Foundation |
|
12 |
# gives unlimited permission to copy, distribute and modify it. |
|
13 |
## -------------------- ## |
|
14 |
## M4sh Initialization. ## |
|
15 |
## -------------------- ## |
|
16 |
|
|
17 |
# Be more Bourne compatible |
|
18 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
20 |
emulate sh |
|
21 |
NULLCMD=: |
|
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
23 |
# is contrary to our usage. Disable this feature. |
|
24 |
alias -g '${1+"$@"}'='"$@"' |
|
25 |
setopt NO_GLOB_SUBST |
|
26 |
else |
|
27 |
case `(set -o) 2>/dev/null` in #( |
|
28 |
*posix*) : |
|
29 |
set -o posix ;; #( |
|
30 |
*) : |
|
31 |
;; |
|
32 |
esac |
|
33 |
fi |
|
34 |
|
|
35 |
|
|
36 |
as_nl=' |
|
37 |
' |
|
38 |
export as_nl |
|
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
44 |
# but without wasting forks for bash or zsh. |
|
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
47 |
as_echo='print -r --' |
|
48 |
as_echo_n='print -rn --' |
|
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
50 |
as_echo='printf %s\n' |
|
51 |
as_echo_n='printf %s' |
|
52 |
else |
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
as_echo_n='/usr/ucb/echo -n' |
|
56 |
else |
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
as_echo_n_body='eval |
|
59 |
arg=$1; |
|
60 |
case $arg in #( |
|
61 |
*"$as_nl"*) |
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
64 |
esac; |
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
66 |
' |
|
67 |
export as_echo_n_body |
|
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
fi |
|
70 |
export as_echo_body |
|
71 |
as_echo='sh -c $as_echo_body as_echo' |
|
72 |
fi |
|
73 |
|
|
74 |
# The user is always right. |
|
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
76 |
PATH_SEPARATOR=: |
|
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
PATH_SEPARATOR=';' |
|
80 |
} |
|
81 |
fi |
|
82 |
|
|
83 |
|
|
84 |
# IFS |
|
85 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
86 |
# there to prevent editors from complaining about space-tab. |
|
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
88 |
# splitting by setting IFS to empty value.) |
|
89 |
IFS=" "" $as_nl" |
|
90 |
|
|
91 |
# Find who we are. Look in the path if we contain no directory separator. |
|
92 |
as_myself= |
|
93 |
case $0 in #(( |
|
94 |
*[\\/]* ) as_myself=$0 ;; |
|
95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
96 |
for as_dir in $PATH |
|
97 |
do |
|
98 |
IFS=$as_save_IFS |
|
99 |
test -z "$as_dir" && as_dir=. |
|
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
101 |
done |
|
102 |
IFS=$as_save_IFS |
|
103 |
|
|
104 |
;; |
|
105 |
esac |
|
106 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
107 |
# in which case we are not to be found in the path. |
|
108 |
if test "x$as_myself" = x; then |
|
109 |
as_myself=$0 |
|
110 |
fi |
|
111 |
if test ! -f "$as_myself"; then |
|
112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
113 |
exit 1 |
|
114 |
fi |
|
115 |
|
|
116 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
118 |
# suppresses any "Segmentation fault" message there. '((' could |
|
119 |
# trigger a bug in pdksh 5.2.14. |
|
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
121 |
do eval test x\${$as_var+set} = xset \ |
|
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
123 |
done |
|
124 |
PS1='$ ' |
|
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
|
|
128 |
# NLS nuisances. |
|
129 |
LC_ALL=C |
|
130 |
export LC_ALL |
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE |
|
133 |
|
|
134 |
# CDPATH. |
|
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
136 |
|
|
137 |
# Use a proper internal environment variable to ensure we don't fall |
|
138 |
# into an infinite loop, continuously re-executing ourselves. |
|
139 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 |
_as_can_reexec=no; export _as_can_reexec; |
|
141 |
# We cannot yet assume a decent shell, so we have to provide a |
|
142 |
# neutralization value for shells without unset; and this also |
|
143 |
# works around shells that cannot unset nonexistent variables. |
|
144 |
# Preserve -v and -x to the replacement shell. |
|
145 |
BASH_ENV=/dev/null |
|
146 |
ENV=/dev/null |
|
147 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 |
case $- in # (((( |
|
149 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
150 |
*v* ) as_opts=-v ;; |
|
151 |
*x* ) as_opts=-x ;; |
|
152 |
* ) as_opts= ;; |
|
153 |
esac |
|
154 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 |
# Admittedly, this is quite paranoid, since all the known shells bail |
|
156 |
# out after a failed `exec'. |
|
157 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 |
as_fn_exit 255 |
|
159 |
fi |
|
160 |
# We don't want this to propagate to other subprocesses. |
|
161 |
{ _as_can_reexec=; unset _as_can_reexec;} |
|
162 |
if test "x$CONFIG_SHELL" = x; then |
|
163 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
164 |
emulate sh |
|
165 |
NULLCMD=: |
|
166 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
167 |
# is contrary to our usage. Disable this feature. |
|
168 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
169 |
setopt NO_GLOB_SUBST |
|
170 |
else |
|
171 |
case \`(set -o) 2>/dev/null\` in #( |
|
172 |
*posix*) : |
|
173 |
set -o posix ;; #( |
|
174 |
*) : |
|
175 |
;; |
|
176 |
esac |
|
177 |
fi |
|
178 |
" |
|
179 |
as_required="as_fn_return () { (exit \$1); } |
|
180 |
as_fn_success () { as_fn_return 0; } |
|
181 |
as_fn_failure () { as_fn_return 1; } |
|
182 |
as_fn_ret_success () { return 0; } |
|
183 |
as_fn_ret_failure () { return 1; } |
|
184 |
|
|
185 |
exitcode=0 |
|
186 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
187 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
188 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
189 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
190 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
191 |
|
|
192 |
else |
|
193 |
exitcode=1; echo positional parameters were not saved. |
|
194 |
fi |
|
195 |
test x\$exitcode = x0 || exit 1 |
|
196 |
test -x / || exit 1" |
|
197 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
198 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
199 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
200 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
201 |
|
|
202 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
|
203 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
204 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
|
205 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
|
206 |
PATH=/empty FPATH=/empty; export PATH FPATH |
|
207 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
|
208 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
|
209 |
test \$(( 1 + 1 )) = 2 || exit 1" |
|
210 |
if (eval "$as_required") 2>/dev/null; then : |
|
211 |
as_have_required=yes |
|
212 |
else |
|
213 |
as_have_required=no |
|
214 |
fi |
|
215 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
216 |
|
|
217 |
else |
|
218 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
219 |
as_found=false |
|
220 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
221 |
do |
|
222 |
IFS=$as_save_IFS |
|
223 |
test -z "$as_dir" && as_dir=. |
|
224 |
as_found=: |
|
225 |
case $as_dir in #( |
|
226 |
/*) |
|
227 |
for as_base in sh bash ksh sh5; do |
|
228 |
# Try only shells that exist, to save several forks. |
|
229 |
as_shell=$as_dir/$as_base |
|
230 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
231 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
232 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
233 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
234 |
break 2 |
|
235 |
fi |
|
236 |
fi |
|
237 |
done;; |
|
238 |
esac |
|
239 |
as_found=false |
|
240 |
done |
|
241 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
242 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
243 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
244 |
fi; } |
|
245 |
IFS=$as_save_IFS |
|
246 |
|
|
247 |
|
|
248 |
if test "x$CONFIG_SHELL" != x; then : |
|
249 |
export CONFIG_SHELL |
|
250 |
# We cannot yet assume a decent shell, so we have to provide a |
|
251 |
# neutralization value for shells without unset; and this also |
|
252 |
# works around shells that cannot unset nonexistent variables. |
|
253 |
# Preserve -v and -x to the replacement shell. |
|
254 |
BASH_ENV=/dev/null |
|
255 |
ENV=/dev/null |
|
256 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
257 |
case $- in # (((( |
|
258 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
259 |
*v* ) as_opts=-v ;; |
|
260 |
*x* ) as_opts=-x ;; |
|
261 |
* ) as_opts= ;; |
|
262 |
esac |
|
263 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
264 |
# Admittedly, this is quite paranoid, since all the known shells bail |
|
265 |
# out after a failed `exec'. |
|
266 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
267 |
exit 255 |
|
268 |
fi |
|
269 |
|
|
270 |
if test x$as_have_required = xno; then : |
|
271 |
$as_echo "$0: This script requires a shell more modern than all" |
|
272 |
$as_echo "$0: the shells that I found on your system." |
|
273 |
if test x${ZSH_VERSION+set} = xset ; then |
|
274 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
275 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
276 |
else |
|
277 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and help@polhemus.com |
|
278 |
$0: about your system, including any error possibly output |
|
279 |
$0: before this message. Then install a modern shell, or |
|
280 |
$0: manually run the script under such a shell if you do |
|
281 |
$0: have one." |
|
282 |
fi |
|
283 |
exit 1 |
|
284 |
fi |
|
285 |
fi |
|
286 |
fi |
|
287 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
288 |
export SHELL |
|
289 |
# Unset more variables known to interfere with behavior of common tools. |
|
290 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
291 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
292 |
|
|
293 |
## --------------------- ## |
|
294 |
## M4sh Shell Functions. ## |
|
295 |
## --------------------- ## |
|
296 |
# as_fn_unset VAR |
|
297 |
# --------------- |
|
298 |
# Portably unset VAR. |
|
299 |
as_fn_unset () |
|
300 |
{ |
|
301 |
{ eval $1=; unset $1;} |
|
302 |
} |
|
303 |
as_unset=as_fn_unset |
|
304 |
|
|
305 |
# as_fn_set_status STATUS |
|
306 |
# ----------------------- |
|
307 |
# Set $? to STATUS, without forking. |
|
308 |
as_fn_set_status () |
|
309 |
{ |
|
310 |
return $1 |
|
311 |
} # as_fn_set_status |
|
312 |
|
|
313 |
# as_fn_exit STATUS |
|
314 |
# ----------------- |
|
315 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
316 |
as_fn_exit () |
|
317 |
{ |
|
318 |
set +e |
|
319 |
as_fn_set_status $1 |
|
320 |
exit $1 |
|
321 |
} # as_fn_exit |
|
322 |
|
|
323 |
# as_fn_mkdir_p |
|
324 |
# ------------- |
|
325 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
326 |
as_fn_mkdir_p () |
|
327 |
{ |
|
328 |
|
|
329 |
case $as_dir in #( |
|
330 |
-*) as_dir=./$as_dir;; |
|
331 |
esac |
|
332 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
333 |
as_dirs= |
|
334 |
while :; do |
|
335 |
case $as_dir in #( |
|
336 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
337 |
*) as_qdir=$as_dir;; |
|
338 |
esac |
|
339 |
as_dirs="'$as_qdir' $as_dirs" |
|
340 |
as_dir=`$as_dirname -- "$as_dir" || |
|
341 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
342 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
343 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
344 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
345 |
$as_echo X"$as_dir" | |
|
346 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
347 |
s//\1/ |
|
348 |
q |
|
349 |
} |
|
350 |
/^X\(\/\/\)[^/].*/{ |
|
351 |
s//\1/ |
|
352 |
q |
|
353 |
} |
|
354 |
/^X\(\/\/\)$/{ |
|
355 |
s//\1/ |
|
356 |
q |
|
357 |
} |
|
358 |
/^X\(\/\).*/{ |
|
359 |
s//\1/ |
|
360 |
q |
|
361 |
} |
|
362 |
s/.*/./; q'` |
|
363 |
test -d "$as_dir" && break |
|
364 |
done |
|
365 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
366 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
367 |
|
|
368 |
|
|
369 |
} # as_fn_mkdir_p |
|
370 |
|
|
371 |
# as_fn_executable_p FILE |
|
372 |
# ----------------------- |
|
373 |
# Test if FILE is an executable regular file. |
|
374 |
as_fn_executable_p () |
|
375 |
{ |
|
376 |
test -f "$1" && test -x "$1" |
|
377 |
} # as_fn_executable_p |
|
378 |
# as_fn_append VAR VALUE |
|
379 |
# ---------------------- |
|
380 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
381 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
382 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
383 |
# implementations. |
|
384 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
385 |
eval 'as_fn_append () |
|
386 |
{ |
|
387 |
eval $1+=\$2 |
|
388 |
}' |
|
389 |
else |
|
390 |
as_fn_append () |
|
391 |
{ |
|
392 |
eval $1=\$$1\$2 |
|
393 |
} |
|
394 |
fi # as_fn_append |
|
395 |
|
|
396 |
# as_fn_arith ARG... |
|
397 |
# ------------------ |
|
398 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
399 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
400 |
# must be portable across $(()) and expr. |
|
401 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
402 |
eval 'as_fn_arith () |
|
403 |
{ |
|
404 |
as_val=$(( $* )) |
|
405 |
}' |
|
406 |
else |
|
407 |
as_fn_arith () |
|
408 |
{ |
|
409 |
as_val=`expr "$@" || test $? -eq 1` |
|
410 |
} |
|
411 |
fi # as_fn_arith |
|
412 |
|
|
413 |
|
|
414 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
415 |
# ---------------------------------------- |
|
416 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
417 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
418 |
# script with STATUS, using 1 if that was 0. |
|
419 |
as_fn_error () |
|
420 |
{ |
|
421 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
422 |
if test "$4"; then |
|
423 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
424 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
425 |
fi |
|
426 |
$as_echo "$as_me: error: $2" >&2 |
|
427 |
as_fn_exit $as_status |
|
428 |
} # as_fn_error |
|
429 |
|
|
430 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
431 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
432 |
as_expr=expr |
|
433 |
else |
|
434 |
as_expr=false |
|
435 |
fi |
|
436 |
|
|
437 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
438 |
as_basename=basename |
|
439 |
else |
|
440 |
as_basename=false |
|
441 |
fi |
|
442 |
|
|
443 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
444 |
as_dirname=dirname |
|
445 |
else |
|
446 |
as_dirname=false |
|
447 |
fi |
|
448 |
|
|
449 |
as_me=`$as_basename -- "$0" || |
|
450 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
451 |
X"$0" : 'X\(//\)$' \| \ |
|
452 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
453 |
$as_echo X/"$0" | |
|
454 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
455 |
s//\1/ |
|
456 |
q |
|
457 |
} |
|
458 |
/^X\/\(\/\/\)$/{ |
|
459 |
s//\1/ |
|
460 |
q |
|
461 |
} |
|
462 |
/^X\/\(\/\).*/{ |
|
463 |
s//\1/ |
|
464 |
q |
|
465 |
} |
|
466 |
s/.*/./; q'` |
|
467 |
|
|
468 |
# Avoid depending upon Character Ranges. |
|
469 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
470 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
471 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
472 |
as_cr_digits='0123456789' |
|
473 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
474 |
|
|
475 |
|
|
476 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
477 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
478 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
479 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
480 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
481 |
sed -n ' |
|
482 |
p |
|
483 |
/[$]LINENO/= |
|
484 |
' <$as_myself | |
|
485 |
sed ' |
|
486 |
s/[$]LINENO.*/&-/ |
|
487 |
t lineno |
|
488 |
b |
|
489 |
:lineno |
|
490 |
N |
|
491 |
:loop |
|
492 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
493 |
t loop |
|
494 |
s/-\n.*// |
|
495 |
' >$as_me.lineno && |
|
496 |
chmod +x "$as_me.lineno" || |
|
497 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
498 |
|
|
499 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
500 |
# already done that, so ensure we don't try to do so again and fall |
|
501 |
# in an infinite loop. This has already happened in practice. |
|
502 |
_as_can_reexec=no; export _as_can_reexec |
|
503 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
504 |
# (the dirname of $[0] is not the place where we might find the |
|
505 |
# original and so on. Autoconf is especially sensitive to this). |
|
506 |
. "./$as_me.lineno" |
|
507 |
# Exit status is that of the last command. |
|
508 |
exit |
|
509 |
} |
|
510 |
|
|
511 |
ECHO_C= ECHO_N= ECHO_T= |
|
512 |
case `echo -n x` in #((((( |
|
513 |
-n*) |
|
514 |
case `echo 'xy\c'` in |
|
515 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
516 |
xy) ECHO_C='\c';; |
|
517 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
518 |
ECHO_T=' ';; |
|
519 |
esac;; |
|
520 |
*) |
|
521 |
ECHO_N='-n';; |
|
522 |
esac |
|
523 |
|
|
524 |
rm -f conf$$ conf$$.exe conf$$.file |
|
525 |
if test -d conf$$.dir; then |
|
526 |
rm -f conf$$.dir/conf$$.file |
|
527 |
else |
|
528 |
rm -f conf$$.dir |
|
529 |
mkdir conf$$.dir 2>/dev/null |
|
530 |
fi |
|
531 |
if (echo >conf$$.file) 2>/dev/null; then |
|
532 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
533 |
as_ln_s='ln -s' |
|
534 |
# ... but there are two gotchas: |
|
535 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
536 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
537 |
# In both cases, we have to default to `cp -pR'. |
|
538 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
539 |
as_ln_s='cp -pR' |
|
540 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
541 |
as_ln_s=ln |
|
542 |
else |
|
543 |
as_ln_s='cp -pR' |
|
544 |
fi |
|
545 |
else |
|
546 |
as_ln_s='cp -pR' |
|
547 |
fi |
|
548 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
549 |
rmdir conf$$.dir 2>/dev/null |
|
550 |
|
|
551 |
if mkdir -p . 2>/dev/null; then |
|
552 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
553 |
else |
|
554 |
test -d ./-p && rmdir ./-p |
|
555 |
as_mkdir_p=false |
|
556 |
fi |
|
557 |
|
|
558 |
as_test_x='test -x' |
|
559 |
as_executable_p=as_fn_executable_p |
|
560 |
|
|
561 |
# Sed expression to map a string onto a valid CPP name. |
|
562 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
563 |
|
|
564 |
# Sed expression to map a string onto a valid variable name. |
|
565 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
566 |
|
|
567 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
568 |
|
|
569 |
|
|
570 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
|
571 |
exec 6>&1 |
|
572 |
|
|
573 |
# Name of the host. |
|
574 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
575 |
# so uname gets run too. |
|
576 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
577 |
|
|
578 |
# |
|
579 |
# Initializations. |
|
580 |
# |
|
581 |
ac_default_prefix=/usr/local |
|
582 |
ac_clean_files= |
|
583 |
ac_config_libobj_dir=. |
|
584 |
LIBOBJS= |
|
585 |
cross_compiling=no |
|
586 |
subdirs= |
|
587 |
MFLAGS= |
|
588 |
MAKEFLAGS= |
|
589 |
|
|
590 |
# Identity of this package. |
|
591 |
PACKAGE_NAME='G4Track_lib_dist' |
|
592 |
PACKAGE_TARNAME='g4track_lib_dist' |
|
593 |
PACKAGE_VERSION='0.0.2' |
|
594 |
PACKAGE_STRING='G4Track_lib_dist 0.0.2' |
|
595 |
PACKAGE_BUGREPORT='help@polhemus.com' |
|
596 |
PACKAGE_URL='' |
|
597 |
|
|
598 |
# Factoring default headers for most tests. |
|
599 |
ac_includes_default="\ |
|
600 |
#include <stdio.h> |
|
601 |
#ifdef HAVE_SYS_TYPES_H |
|
602 |
# include <sys/types.h> |
|
603 |
#endif |
|
604 |
#ifdef HAVE_SYS_STAT_H |
|
605 |
# include <sys/stat.h> |
|
606 |
#endif |
|
607 |
#ifdef STDC_HEADERS |
|
608 |
# include <stdlib.h> |
|
609 |
# include <stddef.h> |
|
610 |
#else |
|
611 |
# ifdef HAVE_STDLIB_H |
|
612 |
# include <stdlib.h> |
|
613 |
# endif |
|
614 |
#endif |
|
615 |
#ifdef HAVE_STRING_H |
|
616 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
617 |
# include <memory.h> |
|
618 |
# endif |
|
619 |
# include <string.h> |
|
620 |
#endif |
|
621 |
#ifdef HAVE_STRINGS_H |
|
622 |
# include <strings.h> |
|
623 |
#endif |
|
624 |
#ifdef HAVE_INTTYPES_H |
|
625 |
# include <inttypes.h> |
|
626 |
#endif |
|
627 |
#ifdef HAVE_STDINT_H |
|
628 |
# include <stdint.h> |
|
629 |
#endif |
|
630 |
#ifdef HAVE_UNISTD_H |
|
631 |
# include <unistd.h> |
|
632 |
#endif" |
|
633 |
|
|
634 |
ac_subst_vars='am__EXEEXT_FALSE |
|
635 |
am__EXEEXT_TRUE |
|
636 |
LTLIBOBJS |
|
637 |
LIBOBJS |
|
638 |
CPP |
|
639 |
OTOOL64 |
|
640 |
OTOOL |
|
641 |
LIPO |
|
642 |
NMEDIT |
|
643 |
DSYMUTIL |
|
644 |
MANIFEST_TOOL |
|
645 |
RANLIB |
|
646 |
ac_ct_AR |
|
647 |
AR |
|
648 |
DLLTOOL |
|
649 |
OBJDUMP |
|
650 |
LN_S |
|
651 |
NM |
|
652 |
ac_ct_DUMPBIN |
|
653 |
DUMPBIN |
|
654 |
LD |
|
655 |
FGREP |
|
656 |
EGREP |
|
657 |
GREP |
|
658 |
SED |
|
659 |
am__fastdepCC_FALSE |
|
660 |
am__fastdepCC_TRUE |
|
661 |
CCDEPMODE |
|
662 |
am__nodep |
|
663 |
AMDEPBACKSLASH |
|
664 |
AMDEP_FALSE |
|
665 |
AMDEP_TRUE |
|
666 |
am__quote |
|
667 |
am__include |
|
668 |
DEPDIR |
|
669 |
OBJEXT |
|
670 |
EXEEXT |
|
671 |
ac_ct_CC |
|
672 |
CPPFLAGS |
|
673 |
LDFLAGS |
|
674 |
CFLAGS |
|
675 |
CC |
|
676 |
host_os |
|
677 |
host_vendor |
|
678 |
host_cpu |
|
679 |
host |
|
680 |
build_os |
|
681 |
build_vendor |
|
682 |
build_cpu |
|
683 |
build |
|
684 |
LIBTOOL |
|
685 |
am__untar |
|
686 |
am__tar |
|
687 |
AMTAR |
|
688 |
am__leading_dot |
|
689 |
SET_MAKE |
|
690 |
AWK |
|
691 |
mkdir_p |
|
692 |
MKDIR_P |
|
693 |
INSTALL_STRIP_PROGRAM |
|
694 |
STRIP |
|
695 |
install_sh |
|
696 |
MAKEINFO |
|
697 |
AUTOHEADER |
|
698 |
AUTOMAKE |
|
699 |
AUTOCONF |
|
700 |
ACLOCAL |
|
701 |
VERSION |
|
702 |
PACKAGE |
|
703 |
CYGPATH_W |
|
704 |
am__isrc |
|
705 |
INSTALL_DATA |
|
706 |
INSTALL_SCRIPT |
|
707 |
INSTALL_PROGRAM |
|
708 |
target_alias |
|
709 |
host_alias |
|
710 |
build_alias |
|
711 |
LIBS |
|
712 |
ECHO_T |
|
713 |
ECHO_N |
|
714 |
ECHO_C |
|
715 |
DEFS |
|
716 |
mandir |
|
717 |
localedir |
|
718 |
libdir |
|
719 |
psdir |
|
720 |
pdfdir |
|
721 |
dvidir |
|
722 |
htmldir |
|
723 |
infodir |
|
724 |
docdir |
|
725 |
oldincludedir |
|
726 |
includedir |
9feb9f
|
727 |
runstatedir |
0a10d5
|
728 |
localstatedir |
JS |
729 |
sharedstatedir |
|
730 |
sysconfdir |
|
731 |
datadir |
|
732 |
datarootdir |
|
733 |
libexecdir |
|
734 |
sbindir |
|
735 |
bindir |
|
736 |
program_transform_name |
|
737 |
prefix |
|
738 |
exec_prefix |
|
739 |
PACKAGE_URL |
|
740 |
PACKAGE_BUGREPORT |
|
741 |
PACKAGE_STRING |
|
742 |
PACKAGE_VERSION |
|
743 |
PACKAGE_TARNAME |
|
744 |
PACKAGE_NAME |
|
745 |
PATH_SEPARATOR |
|
746 |
SHELL' |
|
747 |
ac_subst_files='' |
|
748 |
ac_user_opts=' |
|
749 |
enable_option_checking |
|
750 |
enable_shared |
|
751 |
enable_static |
|
752 |
with_pic |
|
753 |
enable_fast_install |
|
754 |
enable_dependency_tracking |
|
755 |
with_gnu_ld |
|
756 |
with_sysroot |
|
757 |
enable_libtool_lock |
|
758 |
' |
|
759 |
ac_precious_vars='build_alias |
|
760 |
host_alias |
|
761 |
target_alias |
|
762 |
CC |
|
763 |
CFLAGS |
|
764 |
LDFLAGS |
|
765 |
LIBS |
|
766 |
CPPFLAGS |
|
767 |
CPP' |
|
768 |
|
|
769 |
|
|
770 |
# Initialize some variables set by options. |
|
771 |
ac_init_help= |
|
772 |
ac_init_version=false |
|
773 |
ac_unrecognized_opts= |
|
774 |
ac_unrecognized_sep= |
|
775 |
# The variables have the same names as the options, with |
|
776 |
# dashes changed to underlines. |
|
777 |
cache_file=/dev/null |
|
778 |
exec_prefix=NONE |
|
779 |
no_create= |
|
780 |
no_recursion= |
|
781 |
prefix=NONE |
|
782 |
program_prefix=NONE |
|
783 |
program_suffix=NONE |
|
784 |
program_transform_name=s,x,x, |
|
785 |
silent= |
|
786 |
site= |
|
787 |
srcdir= |
|
788 |
verbose= |
|
789 |
x_includes=NONE |
|
790 |
x_libraries=NONE |
|
791 |
|
|
792 |
# Installation directory options. |
|
793 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
794 |
# and all the variables that are supposed to be based on exec_prefix |
|
795 |
# by default will actually change. |
|
796 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
797 |
# (The list follows the same order as the GNU Coding Standards.) |
|
798 |
bindir='${exec_prefix}/bin' |
|
799 |
sbindir='${exec_prefix}/sbin' |
|
800 |
libexecdir='${exec_prefix}/libexec' |
|
801 |
datarootdir='${prefix}/share' |
|
802 |
datadir='${datarootdir}' |
|
803 |
sysconfdir='${prefix}/etc' |
|
804 |
sharedstatedir='${prefix}/com' |
|
805 |
localstatedir='${prefix}/var' |
9feb9f
|
806 |
runstatedir='${localstatedir}/run' |
0a10d5
|
807 |
includedir='${prefix}/include' |
JS |
808 |
oldincludedir='/usr/include' |
|
809 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
810 |
infodir='${datarootdir}/info' |
|
811 |
htmldir='${docdir}' |
|
812 |
dvidir='${docdir}' |
|
813 |
pdfdir='${docdir}' |
|
814 |
psdir='${docdir}' |
|
815 |
libdir='${exec_prefix}/lib' |
|
816 |
localedir='${datarootdir}/locale' |
|
817 |
mandir='${datarootdir}/man' |
|
818 |
|
|
819 |
ac_prev= |
|
820 |
ac_dashdash= |
|
821 |
for ac_option |
|
822 |
do |
|
823 |
# If the previous option needs an argument, assign it. |
|
824 |
if test -n "$ac_prev"; then |
|
825 |
eval $ac_prev=\$ac_option |
|
826 |
ac_prev= |
|
827 |
continue |
|
828 |
fi |
|
829 |
|
|
830 |
case $ac_option in |
|
831 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
832 |
*=) ac_optarg= ;; |
|
833 |
*) ac_optarg=yes ;; |
|
834 |
esac |
|
835 |
|
|
836 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
837 |
|
|
838 |
case $ac_dashdash$ac_option in |
|
839 |
--) |
|
840 |
ac_dashdash=yes ;; |
|
841 |
|
|
842 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
843 |
ac_prev=bindir ;; |
|
844 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
845 |
bindir=$ac_optarg ;; |
|
846 |
|
|
847 |
-build | --build | --buil | --bui | --bu) |
|
848 |
ac_prev=build_alias ;; |
|
849 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
850 |
build_alias=$ac_optarg ;; |
|
851 |
|
|
852 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
853 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
854 |
ac_prev=cache_file ;; |
|
855 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
856 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
857 |
cache_file=$ac_optarg ;; |
|
858 |
|
|
859 |
--config-cache | -C) |
|
860 |
cache_file=config.cache ;; |
|
861 |
|
|
862 |
-datadir | --datadir | --datadi | --datad) |
|
863 |
ac_prev=datadir ;; |
|
864 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
865 |
datadir=$ac_optarg ;; |
|
866 |
|
|
867 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
868 |
| --dataroo | --dataro | --datar) |
|
869 |
ac_prev=datarootdir ;; |
|
870 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
871 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
872 |
datarootdir=$ac_optarg ;; |
|
873 |
|
|
874 |
-disable-* | --disable-*) |
|
875 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
876 |
# Reject names that are not valid shell variable names. |
|
877 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
878 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
879 |
ac_useropt_orig=$ac_useropt |
|
880 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
881 |
case $ac_user_opts in |
|
882 |
*" |
|
883 |
"enable_$ac_useropt" |
|
884 |
"*) ;; |
|
885 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
886 |
ac_unrecognized_sep=', ';; |
|
887 |
esac |
|
888 |
eval enable_$ac_useropt=no ;; |
|
889 |
|
|
890 |
-docdir | --docdir | --docdi | --doc | --do) |
|
891 |
ac_prev=docdir ;; |
|
892 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
893 |
docdir=$ac_optarg ;; |
|
894 |
|
|
895 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
896 |
ac_prev=dvidir ;; |
|
897 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
898 |
dvidir=$ac_optarg ;; |
|
899 |
|
|
900 |
-enable-* | --enable-*) |
|
901 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
902 |
# Reject names that are not valid shell variable names. |
|
903 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
904 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
905 |
ac_useropt_orig=$ac_useropt |
|
906 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
907 |
case $ac_user_opts in |
|
908 |
*" |
|
909 |
"enable_$ac_useropt" |
|
910 |
"*) ;; |
|
911 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
912 |
ac_unrecognized_sep=', ';; |
|
913 |
esac |
|
914 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
915 |
|
|
916 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
917 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
918 |
| --exec | --exe | --ex) |
|
919 |
ac_prev=exec_prefix ;; |
|
920 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
921 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
922 |
| --exec=* | --exe=* | --ex=*) |
|
923 |
exec_prefix=$ac_optarg ;; |
|
924 |
|
|
925 |
-gas | --gas | --ga | --g) |
|
926 |
# Obsolete; use --with-gas. |
|
927 |
with_gas=yes ;; |
|
928 |
|
|
929 |
-help | --help | --hel | --he | -h) |
|
930 |
ac_init_help=long ;; |
|
931 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
932 |
ac_init_help=recursive ;; |
|
933 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
934 |
ac_init_help=short ;; |
|
935 |
|
|
936 |
-host | --host | --hos | --ho) |
|
937 |
ac_prev=host_alias ;; |
|
938 |
-host=* | --host=* | --hos=* | --ho=*) |
|
939 |
host_alias=$ac_optarg ;; |
|
940 |
|
|
941 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
942 |
ac_prev=htmldir ;; |
|
943 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
944 |
| --ht=*) |
|
945 |
htmldir=$ac_optarg ;; |
|
946 |
|
|
947 |
-includedir | --includedir | --includedi | --included | --include \ |
|
948 |
| --includ | --inclu | --incl | --inc) |
|
949 |
ac_prev=includedir ;; |
|
950 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
951 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
952 |
includedir=$ac_optarg ;; |
|
953 |
|
|
954 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
955 |
ac_prev=infodir ;; |
|
956 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
957 |
infodir=$ac_optarg ;; |
|
958 |
|
|
959 |
-libdir | --libdir | --libdi | --libd) |
|
960 |
ac_prev=libdir ;; |
|
961 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
962 |
libdir=$ac_optarg ;; |
|
963 |
|
|
964 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
965 |
| --libexe | --libex | --libe) |
|
966 |
ac_prev=libexecdir ;; |
|
967 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
968 |
| --libexe=* | --libex=* | --libe=*) |
|
969 |
libexecdir=$ac_optarg ;; |
|
970 |
|
|
971 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
972 |
ac_prev=localedir ;; |
|
973 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
974 |
localedir=$ac_optarg ;; |
|
975 |
|
|
976 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
977 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
978 |
ac_prev=localstatedir ;; |
|
979 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
980 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
981 |
localstatedir=$ac_optarg ;; |
|
982 |
|
|
983 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
984 |
ac_prev=mandir ;; |
|
985 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
986 |
mandir=$ac_optarg ;; |
|
987 |
|
|
988 |
-nfp | --nfp | --nf) |
|
989 |
# Obsolete; use --without-fp. |
|
990 |
with_fp=no ;; |
|
991 |
|
|
992 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
993 |
| --no-cr | --no-c | -n) |
|
994 |
no_create=yes ;; |
|
995 |
|
|
996 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
997 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
998 |
no_recursion=yes ;; |
|
999 |
|
|
1000 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1001 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1002 |
| --oldin | --oldi | --old | --ol | --o) |
|
1003 |
ac_prev=oldincludedir ;; |
|
1004 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1005 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1006 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1007 |
oldincludedir=$ac_optarg ;; |
|
1008 |
|
|
1009 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1010 |
ac_prev=prefix ;; |
|
1011 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1012 |
prefix=$ac_optarg ;; |
|
1013 |
|
|
1014 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1015 |
| --program-pre | --program-pr | --program-p) |
|
1016 |
ac_prev=program_prefix ;; |
|
1017 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1018 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1019 |
program_prefix=$ac_optarg ;; |
|
1020 |
|
|
1021 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1022 |
| --program-suf | --program-su | --program-s) |
|
1023 |
ac_prev=program_suffix ;; |
|
1024 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1025 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1026 |
program_suffix=$ac_optarg ;; |
|
1027 |
|
|
1028 |
-program-transform-name | --program-transform-name \ |
|
1029 |
| --program-transform-nam | --program-transform-na \ |
|
1030 |
| --program-transform-n | --program-transform- \ |
|
1031 |
| --program-transform | --program-transfor \ |
|
1032 |
| --program-transfo | --program-transf \ |
|
1033 |
| --program-trans | --program-tran \ |
|
1034 |
| --progr-tra | --program-tr | --program-t) |
|
1035 |
ac_prev=program_transform_name ;; |
|
1036 |
-program-transform-name=* | --program-transform-name=* \ |
|
1037 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1038 |
| --program-transform-n=* | --program-transform-=* \ |
|
1039 |
| --program-transform=* | --program-transfor=* \ |
|
1040 |
| --program-transfo=* | --program-transf=* \ |
|
1041 |
| --program-trans=* | --program-tran=* \ |
|
1042 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1043 |
program_transform_name=$ac_optarg ;; |
|
1044 |
|
|
1045 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1046 |
ac_prev=pdfdir ;; |
|
1047 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1048 |
pdfdir=$ac_optarg ;; |
|
1049 |
|
|
1050 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1051 |
ac_prev=psdir ;; |
|
1052 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1053 |
psdir=$ac_optarg ;; |
|
1054 |
|
|
1055 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1056 |
| -silent | --silent | --silen | --sile | --sil) |
|
1057 |
silent=yes ;; |
|
1058 |
|
9feb9f
|
1059 |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
JS |
1060 |
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
1061 |
| --run | --ru | --r) |
|
1062 |
ac_prev=runstatedir ;; |
|
1063 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
1064 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
1065 |
| --run=* | --ru=* | --r=*) |
|
1066 |
runstatedir=$ac_optarg ;; |
|
1067 |
|
0a10d5
|
1068 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
JS |
1069 |
ac_prev=sbindir ;; |
|
1070 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1071 |
| --sbi=* | --sb=*) |
|
1072 |
sbindir=$ac_optarg ;; |
|
1073 |
|
|
1074 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1075 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1076 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1077 |
| --sha | --sh) |
|
1078 |
ac_prev=sharedstatedir ;; |
|
1079 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1080 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1081 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1082 |
| --sha=* | --sh=*) |
|
1083 |
sharedstatedir=$ac_optarg ;; |
|
1084 |
|
|
1085 |
-site | --site | --sit) |
|
1086 |
ac_prev=site ;; |
|
1087 |
-site=* | --site=* | --sit=*) |
|
1088 |
site=$ac_optarg ;; |
|
1089 |
|
|
1090 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1091 |
ac_prev=srcdir ;; |
|
1092 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1093 |
srcdir=$ac_optarg ;; |
|
1094 |
|
|
1095 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1096 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1097 |
ac_prev=sysconfdir ;; |
|
1098 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1099 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1100 |
sysconfdir=$ac_optarg ;; |
|
1101 |
|
|
1102 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1103 |
ac_prev=target_alias ;; |
|
1104 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1105 |
target_alias=$ac_optarg ;; |
|
1106 |
|
|
1107 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1108 |
verbose=yes ;; |
|
1109 |
|
|
1110 |
-version | --version | --versio | --versi | --vers | -V) |
|
1111 |
ac_init_version=: ;; |
|
1112 |
|
|
1113 |
-with-* | --with-*) |
|
1114 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1115 |
# Reject names that are not valid shell variable names. |
|
1116 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1117 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1118 |
ac_useropt_orig=$ac_useropt |
|
1119 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1120 |
case $ac_user_opts in |
|
1121 |
*" |
|
1122 |
"with_$ac_useropt" |
|
1123 |
"*) ;; |
|
1124 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1125 |
ac_unrecognized_sep=', ';; |
|
1126 |
esac |
|
1127 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1128 |
|
|
1129 |
-without-* | --without-*) |
|
1130 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1131 |
# Reject names that are not valid shell variable names. |
|
1132 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1133 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1134 |
ac_useropt_orig=$ac_useropt |
|
1135 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1136 |
case $ac_user_opts in |
|
1137 |
*" |
|
1138 |
"with_$ac_useropt" |
|
1139 |
"*) ;; |
|
1140 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1141 |
ac_unrecognized_sep=', ';; |
|
1142 |
esac |
|
1143 |
eval with_$ac_useropt=no ;; |
|
1144 |
|
|
1145 |
--x) |
|
1146 |
# Obsolete; use --with-x. |
|
1147 |
with_x=yes ;; |
|
1148 |
|
|
1149 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1150 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1151 |
ac_prev=x_includes ;; |
|
1152 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1153 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1154 |
x_includes=$ac_optarg ;; |
|
1155 |
|
|
1156 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1157 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1158 |
ac_prev=x_libraries ;; |
|
1159 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1160 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1161 |
x_libraries=$ac_optarg ;; |
|
1162 |
|
|
1163 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1164 |
Try \`$0 --help' for more information" |
|
1165 |
;; |
|
1166 |
|
|
1167 |
*=*) |
|
1168 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1169 |
# Reject names that are not valid shell variable names. |
|
1170 |
case $ac_envvar in #( |
|
1171 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1172 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1173 |
esac |
|
1174 |
eval $ac_envvar=\$ac_optarg |
|
1175 |
export $ac_envvar ;; |
|
1176 |
|
|
1177 |
*) |
|
1178 |
# FIXME: should be removed in autoconf 3.0. |
|
1179 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1180 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1181 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1182 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1183 |
;; |
|
1184 |
|
|
1185 |
esac |
|
1186 |
done |
|
1187 |
|
|
1188 |
if test -n "$ac_prev"; then |
|
1189 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1190 |
as_fn_error $? "missing argument to $ac_option" |
|
1191 |
fi |
|
1192 |
|
|
1193 |
if test -n "$ac_unrecognized_opts"; then |
|
1194 |
case $enable_option_checking in |
|
1195 |
no) ;; |
|
1196 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1197 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1198 |
esac |
|
1199 |
fi |
|
1200 |
|
|
1201 |
# Check all directory arguments for consistency. |
|
1202 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1203 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1204 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
9feb9f
|
1205 |
libdir localedir mandir runstatedir |
0a10d5
|
1206 |
do |
JS |
1207 |
eval ac_val=\$$ac_var |
|
1208 |
# Remove trailing slashes. |
|
1209 |
case $ac_val in |
|
1210 |
*/ ) |
|
1211 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1212 |
eval $ac_var=\$ac_val;; |
|
1213 |
esac |
|
1214 |
# Be sure to have absolute directory names. |
|
1215 |
case $ac_val in |
|
1216 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1217 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1218 |
esac |
|
1219 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1220 |
done |
|
1221 |
|
|
1222 |
# There might be people who depend on the old broken behavior: `$host' |
|
1223 |
# used to hold the argument of --host etc. |
|
1224 |
# FIXME: To remove some day. |
|
1225 |
build=$build_alias |
|
1226 |
host=$host_alias |
|
1227 |
target=$target_alias |
|
1228 |
|
|
1229 |
# FIXME: To remove some day. |
|
1230 |
if test "x$host_alias" != x; then |
|
1231 |
if test "x$build_alias" = x; then |
|
1232 |
cross_compiling=maybe |
|
1233 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1234 |
cross_compiling=yes |
|
1235 |
fi |
|
1236 |
fi |
|
1237 |
|
|
1238 |
ac_tool_prefix= |
|
1239 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1240 |
|
|
1241 |
test "$silent" = yes && exec 6>/dev/null |
|
1242 |
|
|
1243 |
|
|
1244 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1245 |
ac_ls_di=`ls -di .` && |
|
1246 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1247 |
as_fn_error $? "working directory cannot be determined" |
|
1248 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1249 |
as_fn_error $? "pwd does not report name of working directory" |
|
1250 |
|
|
1251 |
|
|
1252 |
# Find the source files, if location was not specified. |
|
1253 |
if test -z "$srcdir"; then |
|
1254 |
ac_srcdir_defaulted=yes |
|
1255 |
# Try the directory containing this script, then the parent directory. |
|
1256 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1257 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1258 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1259 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1260 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1261 |
$as_echo X"$as_myself" | |
|
1262 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1263 |
s//\1/ |
|
1264 |
q |
|
1265 |
} |
|
1266 |
/^X\(\/\/\)[^/].*/{ |
|
1267 |
s//\1/ |
|
1268 |
q |
|
1269 |
} |
|
1270 |
/^X\(\/\/\)$/{ |
|
1271 |
s//\1/ |
|
1272 |
q |
|
1273 |
} |
|
1274 |
/^X\(\/\).*/{ |
|
1275 |
s//\1/ |
|
1276 |
q |
|
1277 |
} |
|
1278 |
s/.*/./; q'` |
|
1279 |
srcdir=$ac_confdir |
|
1280 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1281 |
srcdir=.. |
|
1282 |
fi |
|
1283 |
else |
|
1284 |
ac_srcdir_defaulted=no |
|
1285 |
fi |
|
1286 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1287 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1288 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1289 |
fi |
|
1290 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1291 |
ac_abs_confdir=`( |
|
1292 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1293 |
pwd)` |
|
1294 |
# When building in place, set srcdir=. |
|
1295 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1296 |
srcdir=. |
|
1297 |
fi |
|
1298 |
# Remove unnecessary trailing slashes from srcdir. |
|
1299 |
# Double slashes in file names in object file debugging info |
|
1300 |
# mess up M-x gdb in Emacs. |
|
1301 |
case $srcdir in |
|
1302 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1303 |
esac |
|
1304 |
for ac_var in $ac_precious_vars; do |
|
1305 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1306 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1307 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1308 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1309 |
done |
|
1310 |
|
|
1311 |
# |
|
1312 |
# Report the --help message. |
|
1313 |
# |
|
1314 |
if test "$ac_init_help" = "long"; then |
|
1315 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1316 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1317 |
cat <<_ACEOF |
|
1318 |
\`configure' configures G4Track_lib_dist 0.0.2 to adapt to many kinds of systems. |
|
1319 |
|
|
1320 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1321 |
|
|
1322 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1323 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1324 |
|
|
1325 |
Defaults for the options are specified in brackets. |
|
1326 |
|
|
1327 |
Configuration: |
|
1328 |
-h, --help display this help and exit |
|
1329 |
--help=short display options specific to this package |
|
1330 |
--help=recursive display the short help of all the included packages |
|
1331 |
-V, --version display version information and exit |
|
1332 |
-q, --quiet, --silent do not print \`checking ...' messages |
|
1333 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1334 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1335 |
-n, --no-create do not create output files |
|
1336 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1337 |
|
|
1338 |
Installation directories: |
|
1339 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1340 |
[$ac_default_prefix] |
|
1341 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1342 |
[PREFIX] |
|
1343 |
|
|
1344 |
By default, \`make install' will install all the files in |
|
1345 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1346 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1347 |
for instance \`--prefix=\$HOME'. |
|
1348 |
|
|
1349 |
For better control, use the options below. |
|
1350 |
|
|
1351 |
Fine tuning of the installation directories: |
|
1352 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1353 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1354 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1355 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1356 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1357 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
9feb9f
|
1358 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
0a10d5
|
1359 |
--libdir=DIR object code libraries [EPREFIX/lib] |
JS |
1360 |
--includedir=DIR C header files [PREFIX/include] |
|
1361 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1362 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1363 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1364 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1365 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1366 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1367 |
--docdir=DIR documentation root |
|
1368 |
[DATAROOTDIR/doc/g4track_lib_dist] |
|
1369 |
--htmldir=DIR html documentation [DOCDIR] |
|
1370 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1371 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1372 |
--psdir=DIR ps documentation [DOCDIR] |
|
1373 |
_ACEOF |
|
1374 |
|
|
1375 |
cat <<\_ACEOF |
|
1376 |
|
|
1377 |
Program names: |
|
1378 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1379 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1380 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1381 |
|
|
1382 |
System types: |
|
1383 |
--build=BUILD configure for building on BUILD [guessed] |
|
1384 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1385 |
_ACEOF |
|
1386 |
fi |
|
1387 |
|
|
1388 |
if test -n "$ac_init_help"; then |
|
1389 |
case $ac_init_help in |
|
1390 |
short | recursive ) echo "Configuration of G4Track_lib_dist 0.0.2:";; |
|
1391 |
esac |
|
1392 |
cat <<\_ACEOF |
|
1393 |
|
|
1394 |
Optional Features: |
|
1395 |
--disable-option-checking ignore unrecognized --enable/--with options |
|
1396 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1397 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1398 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
|
1399 |
--enable-static[=PKGS] build static libraries [default=yes] |
|
1400 |
--enable-fast-install[=PKGS] |
|
1401 |
optimize for fast installation [default=yes] |
|
1402 |
--enable-dependency-tracking |
|
1403 |
do not reject slow dependency extractors |
|
1404 |
--disable-dependency-tracking |
|
1405 |
speeds up one-time build |
|
1406 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
1407 |
|
|
1408 |
Optional Packages: |
|
1409 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1410 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
1411 |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
|
1412 |
both] |
|
1413 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
|
1414 |
--with-sysroot=DIR Search for dependent libraries within DIR |
|
1415 |
(or the compiler's sysroot if not specified). |
|
1416 |
|
|
1417 |
Some influential environment variables: |
|
1418 |
CC C compiler command |
|
1419 |
CFLAGS C compiler flags |
|
1420 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1421 |
nonstandard directory <lib dir> |
|
1422 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
1423 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1424 |
you have headers in a nonstandard directory <include dir> |
|
1425 |
CPP C preprocessor |
|
1426 |
|
|
1427 |
Use these variables to override the choices made by `configure' or to help |
|
1428 |
it to find libraries and programs with nonstandard names/locations. |
|
1429 |
|
|
1430 |
Report bugs to <help@polhemus.com>. |
|
1431 |
_ACEOF |
|
1432 |
ac_status=$? |
|
1433 |
fi |
|
1434 |
|
|
1435 |
if test "$ac_init_help" = "recursive"; then |
|
1436 |
# If there are subdirs, report their specific --help. |
|
1437 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1438 |
test -d "$ac_dir" || |
|
1439 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1440 |
continue |
|
1441 |
ac_builddir=. |
|
1442 |
|
|
1443 |
case "$ac_dir" in |
|
1444 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1445 |
*) |
|
1446 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1447 |
# A ".." for each directory in $ac_dir_suffix. |
|
1448 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1449 |
case $ac_top_builddir_sub in |
|
1450 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1451 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1452 |
esac ;; |
|
1453 |
esac |
|
1454 |
ac_abs_top_builddir=$ac_pwd |
|
1455 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1456 |
# for backward compatibility: |
|
1457 |
ac_top_builddir=$ac_top_build_prefix |
|
1458 |
|
|
1459 |
case $srcdir in |
|
1460 |
.) # We are building in place. |
|
1461 |
ac_srcdir=. |
|
1462 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1463 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1464 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1465 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1466 |
ac_top_srcdir=$srcdir |
|
1467 |
ac_abs_top_srcdir=$srcdir ;; |
|
1468 |
*) # Relative name. |
|
1469 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1470 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1471 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1472 |
esac |
|
1473 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1474 |
|
|
1475 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1476 |
# Check for guested configure. |
|
1477 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1478 |
echo && |
|
1479 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1480 |
elif test -f "$ac_srcdir/configure"; then |
|
1481 |
echo && |
|
1482 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1483 |
else |
|
1484 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1485 |
fi || ac_status=$? |
|
1486 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1487 |
done |
|
1488 |
fi |
|
1489 |
|
|
1490 |
test -n "$ac_init_help" && exit $ac_status |
|
1491 |
if $ac_init_version; then |
|
1492 |
cat <<\_ACEOF |
|
1493 |
G4Track_lib_dist configure 0.0.2 |
|
1494 |
generated by GNU Autoconf 2.69 |
|
1495 |
|
|
1496 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
1497 |
This configure script is free software; the Free Software Foundation |
|
1498 |
gives unlimited permission to copy, distribute and modify it. |
|
1499 |
_ACEOF |
|
1500 |
exit |
|
1501 |
fi |
|
1502 |
|
|
1503 |
## ------------------------ ## |
|
1504 |
## Autoconf initialization. ## |
|
1505 |
## ------------------------ ## |
|
1506 |
|
|
1507 |
# ac_fn_c_try_compile LINENO |
|
1508 |
# -------------------------- |
|
1509 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1510 |
ac_fn_c_try_compile () |
|
1511 |
{ |
|
1512 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1513 |
rm -f conftest.$ac_objext |
|
1514 |
if { { ac_try="$ac_compile" |
|
1515 |
case "(($ac_try" in |
|
1516 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1517 |
*) ac_try_echo=$ac_try;; |
|
1518 |
esac |
|
1519 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1520 |
$as_echo "$ac_try_echo"; } >&5 |
|
1521 |
(eval "$ac_compile") 2>conftest.err |
|
1522 |
ac_status=$? |
|
1523 |
if test -s conftest.err; then |
|
1524 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1525 |
cat conftest.er1 >&5 |
|
1526 |
mv -f conftest.er1 conftest.err |
|
1527 |
fi |
|
1528 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1529 |
test $ac_status = 0; } && { |
|
1530 |
test -z "$ac_c_werror_flag" || |
|
1531 |
test ! -s conftest.err |
|
1532 |
} && test -s conftest.$ac_objext; then : |
|
1533 |
ac_retval=0 |
|
1534 |
else |
|
1535 |
$as_echo "$as_me: failed program was:" >&5 |
|
1536 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1537 |
|
|
1538 |
ac_retval=1 |
|
1539 |
fi |
|
1540 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1541 |
as_fn_set_status $ac_retval |
|
1542 |
|
|
1543 |
} # ac_fn_c_try_compile |
|
1544 |
|
|
1545 |
# ac_fn_c_try_link LINENO |
|
1546 |
# ----------------------- |
|
1547 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1548 |
ac_fn_c_try_link () |
|
1549 |
{ |
|
1550 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1551 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1552 |
if { { ac_try="$ac_link" |
|
1553 |
case "(($ac_try" in |
|
1554 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1555 |
*) ac_try_echo=$ac_try;; |
|
1556 |
esac |
|
1557 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1558 |
$as_echo "$ac_try_echo"; } >&5 |
|
1559 |
(eval "$ac_link") 2>conftest.err |
|
1560 |
ac_status=$? |
|
1561 |
if test -s conftest.err; then |
|
1562 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1563 |
cat conftest.er1 >&5 |
|
1564 |
mv -f conftest.er1 conftest.err |
|
1565 |
fi |
|
1566 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1567 |
test $ac_status = 0; } && { |
|
1568 |
test -z "$ac_c_werror_flag" || |
|
1569 |
test ! -s conftest.err |
|
1570 |
} && test -s conftest$ac_exeext && { |
|
1571 |
test "$cross_compiling" = yes || |
|
1572 |
test -x conftest$ac_exeext |
|
1573 |
}; then : |
|
1574 |
ac_retval=0 |
|
1575 |
else |
|
1576 |
$as_echo "$as_me: failed program was:" >&5 |
|
1577 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1578 |
|
|
1579 |
ac_retval=1 |
|
1580 |
fi |
|
1581 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1582 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1583 |
# interfere with the next link command; also delete a directory that is |
|
1584 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1585 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1586 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1587 |
as_fn_set_status $ac_retval |
|
1588 |
|
|
1589 |
} # ac_fn_c_try_link |
|
1590 |
|
|
1591 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1592 |
# ------------------------------------------------------- |
|
1593 |
# Tests whether HEADER exists and can be compiled using the include files in |
|
1594 |
# INCLUDES, setting the cache variable VAR accordingly. |
|
1595 |
ac_fn_c_check_header_compile () |
|
1596 |
{ |
|
1597 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1599 |
$as_echo_n "checking for $2... " >&6; } |
|
1600 |
if eval \${$3+:} false; then : |
|
1601 |
$as_echo_n "(cached) " >&6 |
|
1602 |
else |
|
1603 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1604 |
/* end confdefs.h. */ |
|
1605 |
$4 |
|
1606 |
#include <$2> |
|
1607 |
_ACEOF |
|
1608 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1609 |
eval "$3=yes" |
|
1610 |
else |
|
1611 |
eval "$3=no" |
|
1612 |
fi |
|
1613 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1614 |
fi |
|
1615 |
eval ac_res=\$$3 |
|
1616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1617 |
$as_echo "$ac_res" >&6; } |
|
1618 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1619 |
|
|
1620 |
} # ac_fn_c_check_header_compile |
|
1621 |
|
|
1622 |
# ac_fn_c_try_cpp LINENO |
|
1623 |
# ---------------------- |
|
1624 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1625 |
ac_fn_c_try_cpp () |
|
1626 |
{ |
|
1627 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1628 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1629 |
case "(($ac_try" in |
|
1630 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1631 |
*) ac_try_echo=$ac_try;; |
|
1632 |
esac |
|
1633 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1634 |
$as_echo "$ac_try_echo"; } >&5 |
|
1635 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1636 |
ac_status=$? |
|
1637 |
if test -s conftest.err; then |
|
1638 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1639 |
cat conftest.er1 >&5 |
|
1640 |
mv -f conftest.er1 conftest.err |
|
1641 |
fi |
|
1642 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1643 |
test $ac_status = 0; } > conftest.i && { |
|
1644 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1645 |
test ! -s conftest.err |
|
1646 |
}; then : |
|
1647 |
ac_retval=0 |
|
1648 |
else |
|
1649 |
$as_echo "$as_me: failed program was:" >&5 |
|
1650 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1651 |
|
|
1652 |
ac_retval=1 |
|
1653 |
fi |
|
1654 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1655 |
as_fn_set_status $ac_retval |
|
1656 |
|
|
1657 |
} # ac_fn_c_try_cpp |
|
1658 |
|
|
1659 |
# ac_fn_c_try_run LINENO |
|
1660 |
# ---------------------- |
|
1661 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1662 |
# that executables *can* be run. |
|
1663 |
ac_fn_c_try_run () |
|
1664 |
{ |
|
1665 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1666 |
if { { ac_try="$ac_link" |
|
1667 |
case "(($ac_try" in |
|
1668 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1669 |
*) ac_try_echo=$ac_try;; |
|
1670 |
esac |
|
1671 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1672 |
$as_echo "$ac_try_echo"; } >&5 |
|
1673 |
(eval "$ac_link") 2>&5 |
|
1674 |
ac_status=$? |
|
1675 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1676 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1677 |
{ { case "(($ac_try" in |
|
1678 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1679 |
*) ac_try_echo=$ac_try;; |
|
1680 |
esac |
|
1681 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1682 |
$as_echo "$ac_try_echo"; } >&5 |
|
1683 |
(eval "$ac_try") 2>&5 |
|
1684 |
ac_status=$? |
|
1685 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1686 |
test $ac_status = 0; }; }; then : |
|
1687 |
ac_retval=0 |
|
1688 |
else |
|
1689 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1690 |
$as_echo "$as_me: failed program was:" >&5 |
|
1691 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1692 |
|
|
1693 |
ac_retval=$ac_status |
|
1694 |
fi |
|
1695 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1696 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1697 |
as_fn_set_status $ac_retval |
|
1698 |
|
|
1699 |
} # ac_fn_c_try_run |
|
1700 |
|
|
1701 |
# ac_fn_c_check_func LINENO FUNC VAR |
|
1702 |
# ---------------------------------- |
|
1703 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1704 |
ac_fn_c_check_func () |
|
1705 |
{ |
|
1706 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1708 |
$as_echo_n "checking for $2... " >&6; } |
|
1709 |
if eval \${$3+:} false; then : |
|
1710 |
$as_echo_n "(cached) " >&6 |
|
1711 |
else |
|
1712 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1713 |
/* end confdefs.h. */ |
|
1714 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1715 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1716 |
#define $2 innocuous_$2 |
|
1717 |
|
|
1718 |
/* System header to define __stub macros and hopefully few prototypes, |
|
1719 |
which can conflict with char $2 (); below. |
|
1720 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1721 |
<limits.h> exists even on freestanding compilers. */ |
|
1722 |
|
|
1723 |
#ifdef __STDC__ |
|
1724 |
# include <limits.h> |
|
1725 |
#else |
|
1726 |
# include <assert.h> |
|
1727 |
#endif |
|
1728 |
|
|
1729 |
#undef $2 |
|
1730 |
|
|
1731 |
/* Override any GCC internal prototype to avoid an error. |
|
1732 |
Use char because int might match the return type of a GCC |
|
1733 |
builtin and then its argument prototype would still apply. */ |
|
1734 |
#ifdef __cplusplus |
|
1735 |
extern "C" |
|
1736 |
#endif |
|
1737 |
char $2 (); |
|
1738 |
/* The GNU C library defines this for functions which it implements |
|
1739 |
to always fail with ENOSYS. Some functions are actually named |
|
1740 |
something starting with __ and the normal name is an alias. */ |
|
1741 |
#if defined __stub_$2 || defined __stub___$2 |
|
1742 |
choke me |
|
1743 |
#endif |
|
1744 |
|
|
1745 |
int |
|
1746 |
main () |
|
1747 |
{ |
|
1748 |
return $2 (); |
|
1749 |
; |
|
1750 |
return 0; |
|
1751 |
} |
|
1752 |
_ACEOF |
|
1753 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1754 |
eval "$3=yes" |
|
1755 |
else |
|
1756 |
eval "$3=no" |
|
1757 |
fi |
|
1758 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1759 |
conftest$ac_exeext conftest.$ac_ext |
|
1760 |
fi |
|
1761 |
eval ac_res=\$$3 |
|
1762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1763 |
$as_echo "$ac_res" >&6; } |
|
1764 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1765 |
|
|
1766 |
} # ac_fn_c_check_func |
|
1767 |
cat >config.log <<_ACEOF |
|
1768 |
This file contains any messages produced by compilers while |
|
1769 |
running configure, to aid debugging if configure makes a mistake. |
|
1770 |
|
|
1771 |
It was created by G4Track_lib_dist $as_me 0.0.2, which was |
|
1772 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
1773 |
|
|
1774 |
$ $0 $@ |
|
1775 |
|
|
1776 |
_ACEOF |
|
1777 |
exec 5>>config.log |
|
1778 |
{ |
|
1779 |
cat <<_ASUNAME |
|
1780 |
## --------- ## |
|
1781 |
## Platform. ## |
|
1782 |
## --------- ## |
|
1783 |
|
|
1784 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1785 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1786 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1787 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1788 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1789 |
|
|
1790 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1791 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1792 |
|
|
1793 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1794 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1795 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1796 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1797 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1798 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1799 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1800 |
|
|
1801 |
_ASUNAME |
|
1802 |
|
|
1803 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1804 |
for as_dir in $PATH |
|
1805 |
do |
|
1806 |
IFS=$as_save_IFS |
|
1807 |
test -z "$as_dir" && as_dir=. |
|
1808 |
$as_echo "PATH: $as_dir" |
|
1809 |
done |
|
1810 |
IFS=$as_save_IFS |
|
1811 |
|
|
1812 |
} >&5 |
|
1813 |
|
|
1814 |
cat >&5 <<_ACEOF |
|
1815 |
|
|
1816 |
|
|
1817 |
## ----------- ## |
|
1818 |
## Core tests. ## |
|
1819 |
## ----------- ## |
|
1820 |
|
|
1821 |
_ACEOF |
|
1822 |
|
|
1823 |
|
|
1824 |
# Keep a trace of the command line. |
|
1825 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
1826 |
# Strip out --silent because we don't want to record it for future runs. |
|
1827 |
# Also quote any args containing shell meta-characters. |
|
1828 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
1829 |
ac_configure_args= |
|
1830 |
ac_configure_args0= |
|
1831 |
ac_configure_args1= |
|
1832 |
ac_must_keep_next=false |
|
1833 |
for ac_pass in 1 2 |
|
1834 |
do |
|
1835 |
for ac_arg |
|
1836 |
do |
|
1837 |
case $ac_arg in |
|
1838 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1839 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1840 |
| -silent | --silent | --silen | --sile | --sil) |
|
1841 |
continue ;; |
|
1842 |
*\'*) |
|
1843 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1844 |
esac |
|
1845 |
case $ac_pass in |
|
1846 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
1847 |
2) |
|
1848 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
1849 |
if test $ac_must_keep_next = true; then |
|
1850 |
ac_must_keep_next=false # Got value, back to normal. |
|
1851 |
else |
|
1852 |
case $ac_arg in |
|
1853 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1854 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1855 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1856 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1857 |
case "$ac_configure_args0 " in |
|
1858 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1859 |
esac |
|
1860 |
;; |
|
1861 |
-* ) ac_must_keep_next=true ;; |
|
1862 |
esac |
|
1863 |
fi |
|
1864 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
1865 |
;; |
|
1866 |
esac |
|
1867 |
done |
|
1868 |
done |
|
1869 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
1870 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
1871 |
|
|
1872 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
1873 |
# config.log. We remove comments because anyway the quotes in there |
|
1874 |
# would cause problems or look ugly. |
|
1875 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
1876 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
1877 |
trap 'exit_status=$? |
|
1878 |
# Save into config.log some information that might help in debugging. |
|
1879 |
{ |
|
1880 |
echo |
|
1881 |
|
|
1882 |
$as_echo "## ---------------- ## |
|
1883 |
## Cache variables. ## |
|
1884 |
## ---------------- ##" |
|
1885 |
echo |
|
1886 |
# The following way of writing the cache mishandles newlines in values, |
|
1887 |
( |
|
1888 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1889 |
eval ac_val=\$$ac_var |
|
1890 |
case $ac_val in #( |
|
1891 |
*${as_nl}*) |
|
1892 |
case $ac_var in #( |
|
1893 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
1894 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
1895 |
esac |
|
1896 |
case $ac_var in #( |
|
1897 |
_ | IFS | as_nl) ;; #( |
|
1898 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
1899 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
1900 |
esac ;; |
|
1901 |
esac |
|
1902 |
done |
|
1903 |
(set) 2>&1 | |
|
1904 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
1905 |
*${as_nl}ac_space=\ *) |
|
1906 |
sed -n \ |
|
1907 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
1908 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1909 |
;; #( |
|
1910 |
*) |
|
1911 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
1912 |
;; |
|
1913 |
esac | |
|
1914 |
sort |
|
1915 |
) |
|
1916 |
echo |
|
1917 |
|
|
1918 |
$as_echo "## ----------------- ## |
|
1919 |
## Output variables. ## |
|
1920 |
## ----------------- ##" |
|
1921 |
echo |
|
1922 |
for ac_var in $ac_subst_vars |
|
1923 |
do |
|
1924 |
eval ac_val=\$$ac_var |
|
1925 |
case $ac_val in |
|
1926 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1927 |
esac |
|
1928 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1929 |
done | sort |
|
1930 |
echo |
|
1931 |
|
|
1932 |
if test -n "$ac_subst_files"; then |
|
1933 |
$as_echo "## ------------------- ## |
|
1934 |
## File substitutions. ## |
|
1935 |
## ------------------- ##" |
|
1936 |
echo |
|
1937 |
for ac_var in $ac_subst_files |
|
1938 |
do |
|
1939 |
eval ac_val=\$$ac_var |
|
1940 |
case $ac_val in |
|
1941 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
1942 |
esac |
|
1943 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
1944 |
done | sort |
|
1945 |
echo |
|
1946 |
fi |
|
1947 |
|
|
1948 |
if test -s confdefs.h; then |
|
1949 |
$as_echo "## ----------- ## |
|
1950 |
## confdefs.h. ## |
|
1951 |
## ----------- ##" |
|
1952 |
echo |
|
1953 |
cat confdefs.h |
|
1954 |
echo |
|
1955 |
fi |
|
1956 |
test "$ac_signal" != 0 && |
|
1957 |
$as_echo "$as_me: caught signal $ac_signal" |
|
1958 |
$as_echo "$as_me: exit $exit_status" |
|
1959 |
} >&5 |
|
1960 |
rm -f core *.core core.conftest.* && |
|
1961 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
1962 |
exit $exit_status |
|
1963 |
' 0 |
|
1964 |
for ac_signal in 1 2 13 15; do |
|
1965 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
1966 |
done |
|
1967 |
ac_signal=0 |
|
1968 |
|
|
1969 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1970 |
rm -f -r conftest* confdefs.h |
|
1971 |
|
|
1972 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
1973 |
|
|
1974 |
# Predefined preprocessor variables. |
|
1975 |
|
|
1976 |
cat >>confdefs.h <<_ACEOF |
|
1977 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
1978 |
_ACEOF |
|
1979 |
|
|
1980 |
cat >>confdefs.h <<_ACEOF |
|
1981 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
1982 |
_ACEOF |
|
1983 |
|
|
1984 |
cat >>confdefs.h <<_ACEOF |
|
1985 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
1986 |
_ACEOF |
|
1987 |
|
|
1988 |
cat >>confdefs.h <<_ACEOF |
|
1989 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
1990 |
_ACEOF |
|
1991 |
|
|
1992 |
cat >>confdefs.h <<_ACEOF |
|
1993 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
1994 |
_ACEOF |
|
1995 |
|
|
1996 |
cat >>confdefs.h <<_ACEOF |
|
1997 |
#define PACKAGE_URL "$PACKAGE_URL" |
|
1998 |
_ACEOF |
|
1999 |
|
|
2000 |
|
|
2001 |
# Let the site file select an alternate cache file if it wants to. |
|
2002 |
# Prefer an explicitly selected file to automatically selected ones. |
|
2003 |
ac_site_file1=NONE |
|
2004 |
ac_site_file2=NONE |
|
2005 |
if test -n "$CONFIG_SITE"; then |
|
2006 |
# We do not want a PATH search for config.site. |
|
2007 |
case $CONFIG_SITE in #(( |
|
2008 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2009 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2010 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2011 |
esac |
|
2012 |
elif test "x$prefix" != xNONE; then |
|
2013 |
ac_site_file1=$prefix/share/config.site |
|
2014 |
ac_site_file2=$prefix/etc/config.site |
|
2015 |
else |
|
2016 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
2017 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
2018 |
fi |
|
2019 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2020 |
do |
|
2021 |
test "x$ac_site_file" = xNONE && continue |
|
2022 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2023 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2024 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2025 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
2026 |
. "$ac_site_file" \ |
|
2027 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2028 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2029 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2030 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2031 |
fi |
|
2032 |
done |
|
2033 |
|
|
2034 |
if test -r "$cache_file"; then |
|
2035 |
# Some versions of bash will fail to source /dev/null (special files |
|
2036 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2037 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2038 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2039 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2040 |
case $cache_file in |
|
2041 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2042 |
*) . "./$cache_file";; |
|
2043 |
esac |
|
2044 |
fi |
|
2045 |
else |
|
2046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2047 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2048 |
>$cache_file |
|
2049 |
fi |
|
2050 |
|
|
2051 |
# Check that the precious variables saved in the cache have kept the same |
|
2052 |
# value. |
|
2053 |
ac_cache_corrupted=false |
|
2054 |
for ac_var in $ac_precious_vars; do |
|
2055 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2056 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2057 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2058 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2059 |
case $ac_old_set,$ac_new_set in |
|
2060 |
set,) |
|
2061 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2062 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2063 |
ac_cache_corrupted=: ;; |
|
2064 |
,set) |
|
2065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2066 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2067 |
ac_cache_corrupted=: ;; |
|
2068 |
,);; |
|
2069 |
*) |
|
2070 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2071 |
# differences in whitespace do not lead to failure. |
|
2072 |
ac_old_val_w=`echo x $ac_old_val` |
|
2073 |
ac_new_val_w=`echo x $ac_new_val` |
|
2074 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2076 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2077 |
ac_cache_corrupted=: |
|
2078 |
else |
|
2079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2080 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2081 |
eval $ac_var=\$ac_old_val |
|
2082 |
fi |
|
2083 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2084 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2085 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2086 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2087 |
fi;; |
|
2088 |
esac |
|
2089 |
# Pass precious variables to config.status. |
|
2090 |
if test "$ac_new_set" = set; then |
|
2091 |
case $ac_new_val in |
|
2092 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2093 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
2094 |
esac |
|
2095 |
case " $ac_configure_args " in |
|
2096 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2097 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2098 |
esac |
|
2099 |
fi |
|
2100 |
done |
|
2101 |
if $ac_cache_corrupted; then |
|
2102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2103 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2105 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2106 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2107 |
fi |
|
2108 |
## -------------------- ## |
|
2109 |
## Main body of script. ## |
|
2110 |
## -------------------- ## |
|
2111 |
|
|
2112 |
ac_ext=c |
|
2113 |
ac_cpp='$CPP $CPPFLAGS' |
|
2114 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2115 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2116 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2117 |
|
|
2118 |
|
|
2119 |
am__api_version='1.12' |
|
2120 |
|
|
2121 |
ac_aux_dir= |
|
2122 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2123 |
if test -f "$ac_dir/install-sh"; then |
|
2124 |
ac_aux_dir=$ac_dir |
|
2125 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2126 |
break |
|
2127 |
elif test -f "$ac_dir/install.sh"; then |
|
2128 |
ac_aux_dir=$ac_dir |
|
2129 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2130 |
break |
|
2131 |
elif test -f "$ac_dir/shtool"; then |
|
2132 |
ac_aux_dir=$ac_dir |
|
2133 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2134 |
break |
|
2135 |
fi |
|
2136 |
done |
|
2137 |
if test -z "$ac_aux_dir"; then |
|
2138 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
2139 |
fi |
|
2140 |
|
|
2141 |
# These three variables are undocumented and unsupported, |
|
2142 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2143 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2144 |
# whose full name contains unusual characters. |
|
2145 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2146 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2147 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2148 |
|
|
2149 |
|
|
2150 |
# Find a good install program. We prefer a C program (faster), |
|
2151 |
# so one script is as good as another. But avoid the broken or |
|
2152 |
# incompatible versions: |
|
2153 |
# SysV /etc/install, /usr/sbin/install |
|
2154 |
# SunOS /usr/etc/install |
|
2155 |
# IRIX /sbin/install |
|
2156 |
# AIX /bin/install |
|
2157 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2158 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2159 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2160 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2161 |
# OS/2's system install, which has a completely different semantic |
|
2162 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
2163 |
# Reject install programs that cannot install multiple files. |
|
2164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2165 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2166 |
if test -z "$INSTALL"; then |
|
2167 |
if ${ac_cv_path_install+:} false; then : |
|
2168 |
$as_echo_n "(cached) " >&6 |
|
2169 |
else |
|
2170 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2171 |
for as_dir in $PATH |
|
2172 |
do |
|
2173 |
IFS=$as_save_IFS |
|
2174 |
test -z "$as_dir" && as_dir=. |
|
2175 |
# Account for people who put trailing slashes in PATH elements. |
|
2176 |
case $as_dir/ in #(( |
|
2177 |
./ | .// | /[cC]/* | \ |
|
2178 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2179 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2180 |
/usr/ucb/* ) ;; |
|
2181 |
*) |
|
2182 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2183 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2184 |
# by default. |
|
2185 |
for ac_prog in ginstall scoinst install; do |
|
2186 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2187 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
2188 |
if test $ac_prog = install && |
|
2189 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2190 |
# AIX install. It has an incompatible calling convention. |
|
2191 |
: |
|
2192 |
elif test $ac_prog = install && |
|
2193 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2194 |
# program-specific install script used by HP pwplus--don't use. |
|
2195 |
: |
|
2196 |
else |
|
2197 |
rm -rf conftest.one conftest.two conftest.dir |
|
2198 |
echo one > conftest.one |
|
2199 |
echo two > conftest.two |
|
2200 |
mkdir conftest.dir |
|
2201 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2202 |
test -s conftest.one && test -s conftest.two && |
|
2203 |
test -s conftest.dir/conftest.one && |
|
2204 |
test -s conftest.dir/conftest.two |
|
2205 |
then |
|
2206 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2207 |
break 3 |
|
2208 |
fi |
|
2209 |
fi |
|
2210 |
fi |
|
2211 |
done |
|
2212 |
done |
|
2213 |
;; |
|
2214 |
esac |
|
2215 |
|
|
2216 |
done |
|
2217 |
IFS=$as_save_IFS |
|
2218 |
|
|
2219 |
rm -rf conftest.one conftest.two conftest.dir |
|
2220 |
|
|
2221 |
fi |
|
2222 |
if test "${ac_cv_path_install+set}" = set; then |
|
2223 |
INSTALL=$ac_cv_path_install |
|
2224 |
else |
|
2225 |
# As a last resort, use the slow shell script. Don't cache a |
|
2226 |
# value for INSTALL within a source directory, because that will |
|
2227 |
# break other packages using the cache if that directory is |
|
2228 |
# removed, or if the value is a relative name. |
|
2229 |
INSTALL=$ac_install_sh |
|
2230 |
fi |
|
2231 |
fi |
|
2232 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2233 |
$as_echo "$INSTALL" >&6; } |
|
2234 |
|
|
2235 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2236 |
# It thinks the first close brace ends the variable substitution. |
|
2237 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2238 |
|
|
2239 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2240 |
|
|
2241 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2242 |
|
|
2243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2244 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2245 |
# Reject unsafe characters in $srcdir or the absolute working directory |
|
2246 |
# name. Accept space and tab only in the latter. |
|
2247 |
am_lf=' |
|
2248 |
' |
|
2249 |
case `pwd` in |
|
2250 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
2251 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2252 |
esac |
|
2253 |
case $srcdir in |
|
2254 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2255 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
2256 |
esac |
|
2257 |
|
|
2258 |
# Do 'set' in a subshell so we don't clobber the current shell's |
|
2259 |
# arguments. Must try -L first in case configure is actually a |
|
2260 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2261 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2262 |
# directory). |
|
2263 |
if ( |
|
2264 |
am_has_slept=no |
|
2265 |
for am_try in 1 2; do |
|
2266 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2267 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2268 |
if test "$*" = "X"; then |
|
2269 |
# -L didn't work. |
|
2270 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2271 |
fi |
|
2272 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2273 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2274 |
|
|
2275 |
# If neither matched, then we have a broken ls. This can happen |
|
2276 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2277 |
# broken ls alias from the environment. This has actually |
|
2278 |
# happened. Such a system could not be considered "sane". |
|
2279 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2280 |
alias in your environment" "$LINENO" 5 |
|
2281 |
fi |
|
2282 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2283 |
break |
|
2284 |
fi |
|
2285 |
# Just in case. |
|
2286 |
sleep 1 |
|
2287 |
am_has_slept=yes |
|
2288 |
done |
|
2289 |
test "$2" = conftest.file |
|
2290 |
) |
|
2291 |
then |
|
2292 |
# Ok. |
|
2293 |
: |
|
2294 |
else |
|
2295 |
as_fn_error $? "newly created file is older than distributed files! |
|
2296 |
Check your system clock" "$LINENO" 5 |
|
2297 |
fi |
|
2298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2299 |
$as_echo "yes" >&6; } |
|
2300 |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
2301 |
# generated files are strictly newer. |
|
2302 |
am_sleep_pid= |
|
2303 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2304 |
( sleep 1 ) & |
|
2305 |
am_sleep_pid=$! |
|
2306 |
fi |
|
2307 |
|
|
2308 |
rm -f conftest.file |
|
2309 |
|
|
2310 |
test "$program_prefix" != NONE && |
|
2311 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2312 |
# Use a double $ so make ignores it. |
|
2313 |
test "$program_suffix" != NONE && |
|
2314 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2315 |
# Double any \ or $. |
|
2316 |
# By default was `s,x,x', remove it if useless. |
|
2317 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2318 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2319 |
|
|
2320 |
# expand $ac_aux_dir to an absolute path |
|
2321 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2322 |
|
|
2323 |
if test x"${MISSING+set}" != xset; then |
|
2324 |
case $am_aux_dir in |
|
2325 |
*\ * | *\ *) |
|
2326 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2327 |
*) |
|
2328 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2329 |
esac |
|
2330 |
fi |
|
2331 |
# Use eval to expand $SHELL |
|
2332 |
if eval "$MISSING --run true"; then |
|
2333 |
am_missing_run="$MISSING --run " |
|
2334 |
else |
|
2335 |
am_missing_run= |
|
2336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
|
2337 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
2338 |
fi |
|
2339 |
|
|
2340 |
if test x"${install_sh}" != xset; then |
|
2341 |
case $am_aux_dir in |
|
2342 |
*\ * | *\ *) |
|
2343 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2344 |
*) |
|
2345 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2346 |
esac |
|
2347 |
fi |
|
2348 |
|
|
2349 |
# Installed binaries are usually stripped using 'strip' when the user |
|
2350 |
# run "make install-strip". However 'strip' might not be the right |
|
2351 |
# tool to use in cross-compilation environments, therefore Automake |
|
2352 |
# will honor the 'STRIP' environment variable to overrule this program. |
|
2353 |
if test "$cross_compiling" != no; then |
|
2354 |
if test -n "$ac_tool_prefix"; then |
|
2355 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2356 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2358 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2359 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
2360 |
$as_echo_n "(cached) " >&6 |
|
2361 |
else |
|
2362 |
if test -n "$STRIP"; then |
|
2363 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2364 |
else |
|
2365 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2366 |
for as_dir in $PATH |
|
2367 |
do |
|
2368 |
IFS=$as_save_IFS |
|
2369 |
test -z "$as_dir" && as_dir=. |
|
2370 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2371 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2372 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2373 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2374 |
break 2 |
|
2375 |
fi |
|
2376 |
done |
|
2377 |
done |
|
2378 |
IFS=$as_save_IFS |
|
2379 |
|
|
2380 |
fi |
|
2381 |
fi |
|
2382 |
STRIP=$ac_cv_prog_STRIP |
|
2383 |
if test -n "$STRIP"; then |
|
2384 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2385 |
$as_echo "$STRIP" >&6; } |
|
2386 |
else |
|
2387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2388 |
$as_echo "no" >&6; } |
|
2389 |
fi |
|
2390 |
|
|
2391 |
|
|
2392 |
fi |
|
2393 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2394 |
ac_ct_STRIP=$STRIP |
|
2395 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2396 |
set dummy strip; ac_word=$2 |
|
2397 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2398 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2399 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
2400 |
$as_echo_n "(cached) " >&6 |
|
2401 |
else |
|
2402 |
if test -n "$ac_ct_STRIP"; then |
|
2403 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2404 |
else |
|
2405 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2406 |
for as_dir in $PATH |
|
2407 |
do |
|
2408 |
IFS=$as_save_IFS |
|
2409 |
test -z "$as_dir" && as_dir=. |
|
2410 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2411 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2412 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
2413 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2414 |
break 2 |
|
2415 |
fi |
|
2416 |
done |
|
2417 |
done |
|
2418 |
IFS=$as_save_IFS |
|
2419 |
|
|
2420 |
fi |
|
2421 |
fi |
|
2422 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2423 |
if test -n "$ac_ct_STRIP"; then |
|
2424 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2425 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
2426 |
else |
|
2427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2428 |
$as_echo "no" >&6; } |
|
2429 |
fi |
|
2430 |
|
|
2431 |
if test "x$ac_ct_STRIP" = x; then |
|
2432 |
STRIP=":" |
|
2433 |
else |
|
2434 |
case $cross_compiling:$ac_tool_warned in |
|
2435 |
yes:) |
|
2436 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2437 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2438 |
ac_tool_warned=yes ;; |
|
2439 |
esac |
|
2440 |
STRIP=$ac_ct_STRIP |
|
2441 |
fi |
|
2442 |
else |
|
2443 |
STRIP="$ac_cv_prog_STRIP" |
|
2444 |
fi |
|
2445 |
|
|
2446 |
fi |
|
2447 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2448 |
|
|
2449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2450 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2451 |
if test -z "$MKDIR_P"; then |
|
2452 |
if ${ac_cv_path_mkdir+:} false; then : |
|
2453 |
$as_echo_n "(cached) " >&6 |
|
2454 |
else |
|
2455 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2456 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2457 |
do |
|
2458 |
IFS=$as_save_IFS |
|
2459 |
test -z "$as_dir" && as_dir=. |
|
2460 |
for ac_prog in mkdir gmkdir; do |
|
2461 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2462 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
2463 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2464 |
'mkdir (GNU coreutils) '* | \ |
|
2465 |
'mkdir (coreutils) '* | \ |
|
2466 |
'mkdir (fileutils) '4.1*) |
|
2467 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2468 |
break 3;; |
|
2469 |
esac |
|
2470 |
done |
|
2471 |
done |
|
2472 |
done |
|
2473 |
IFS=$as_save_IFS |
|
2474 |
|
|
2475 |
fi |
|
2476 |
|
|
2477 |
test -d ./--version && rmdir ./--version |
|
2478 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2479 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2480 |
else |
|
2481 |
# As a last resort, use the slow shell script. Don't cache a |
|
2482 |
# value for MKDIR_P within a source directory, because that will |
|
2483 |
# break other packages using the cache if that directory is |
|
2484 |
# removed, or if the value is a relative name. |
|
2485 |
MKDIR_P="$ac_install_sh -d" |
|
2486 |
fi |
|
2487 |
fi |
|
2488 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2489 |
$as_echo "$MKDIR_P" >&6; } |
|
2490 |
|
|
2491 |
for ac_prog in gawk mawk nawk awk |
|
2492 |
do |
|
2493 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2494 |
set dummy $ac_prog; ac_word=$2 |
|
2495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2496 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2497 |
if ${ac_cv_prog_AWK+:} false; then : |
|
2498 |
$as_echo_n "(cached) " >&6 |
|
2499 |
else |
|
2500 |
if test -n "$AWK"; then |
|
2501 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2502 |
else |
|
2503 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2504 |
for as_dir in $PATH |
|
2505 |
do |
|
2506 |
IFS=$as_save_IFS |
|
2507 |
test -z "$as_dir" && as_dir=. |
|
2508 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2509 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2510 |
ac_cv_prog_AWK="$ac_prog" |
|
2511 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2512 |
break 2 |
|
2513 |
fi |
|
2514 |
done |
|
2515 |
done |
|
2516 |
IFS=$as_save_IFS |
|
2517 |
|
|
2518 |
fi |
|
2519 |
fi |
|
2520 |
AWK=$ac_cv_prog_AWK |
|
2521 |
if test -n "$AWK"; then |
|
2522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2523 |
$as_echo "$AWK" >&6; } |
|
2524 |
else |
|
2525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2526 |
$as_echo "no" >&6; } |
|
2527 |
fi |
|
2528 |
|
|
2529 |
|
|
2530 |
test -n "$AWK" && break |
|
2531 |
done |
|
2532 |
|
|
2533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2534 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2535 |
set x ${MAKE-make} |
|
2536 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2537 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
2538 |
$as_echo_n "(cached) " >&6 |
|
2539 |
else |
|
2540 |
cat >conftest.make <<\_ACEOF |
|
2541 |
SHELL = /bin/sh |
|
2542 |
all: |
|
2543 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2544 |
_ACEOF |
|
2545 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2546 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2547 |
*@@@%%%=?*=@@@%%%*) |
|
2548 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2549 |
*) |
|
2550 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2551 |
esac |
|
2552 |
rm -f conftest.make |
|
2553 |
fi |
|
2554 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2556 |
$as_echo "yes" >&6; } |
|
2557 |
SET_MAKE= |
|
2558 |
else |
|
2559 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2560 |
$as_echo "no" >&6; } |
|
2561 |
SET_MAKE="MAKE=${MAKE-make}" |
|
2562 |
fi |
|
2563 |
|
|
2564 |
rm -rf .tst 2>/dev/null |
|
2565 |
mkdir .tst 2>/dev/null |
|
2566 |
if test -d .tst; then |
|
2567 |
am__leading_dot=. |
|
2568 |
else |
|
2569 |
am__leading_dot=_ |
|
2570 |
fi |
|
2571 |
rmdir .tst 2>/dev/null |
|
2572 |
|
|
2573 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2574 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2575 |
# is not polluted with repeated "-I." |
|
2576 |
am__isrc=' -I$(srcdir)' |
|
2577 |
# test to see if srcdir already configured |
|
2578 |
if test -f $srcdir/config.status; then |
|
2579 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2580 |
fi |
|
2581 |
fi |
|
2582 |
|
|
2583 |
# test whether we have cygpath |
|
2584 |
if test -z "$CYGPATH_W"; then |
|
2585 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2586 |
CYGPATH_W='cygpath -w' |
|
2587 |
else |
|
2588 |
CYGPATH_W=echo |
|
2589 |
fi |
|
2590 |
fi |
|
2591 |
|
|
2592 |
|
|
2593 |
# Define the identity of the package. |
|
2594 |
PACKAGE='g4track_lib_dist' |
|
2595 |
VERSION='0.0.2' |
|
2596 |
|
|
2597 |
|
|
2598 |
cat >>confdefs.h <<_ACEOF |
|
2599 |
#define PACKAGE "$PACKAGE" |
|
2600 |
_ACEOF |
|
2601 |
|
|
2602 |
|
|
2603 |
cat >>confdefs.h <<_ACEOF |
|
2604 |
#define VERSION "$VERSION" |
|
2605 |
_ACEOF |
|
2606 |
|
|
2607 |
# Some tools Automake needs. |
|
2608 |
|
|
2609 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2610 |
|
|
2611 |
|
|
2612 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2613 |
|
|
2614 |
|
|
2615 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2616 |
|
|
2617 |
|
|
2618 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2619 |
|
|
2620 |
|
|
2621 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2622 |
|
|
2623 |
# For better backward compatibility. To be removed once Automake 1.9.x |
|
2624 |
# dies out for good. For more background, see: |
|
2625 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
2626 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
2627 |
mkdir_p='$(MKDIR_P)' |
|
2628 |
|
|
2629 |
# We need awk for the "check" target. The system "awk" is bad on |
|
2630 |
# some platforms. |
|
2631 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
|
2632 |
# in the wild :-( We should find a proper way to deprecate it ... |
|
2633 |
AMTAR='$${TAR-tar}' |
|
2634 |
|
|
2635 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
2636 |
|
|
2637 |
|
|
2638 |
|
|
2639 |
|
|
2640 |
|
|
2641 |
|
|
2642 |
case `pwd` in |
|
2643 |
*\ * | *\ *) |
|
2644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
2645 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
2646 |
esac |
|
2647 |
|
|
2648 |
|
|
2649 |
|
|
2650 |
macro_version='2.4.2' |
|
2651 |
macro_revision='1.3337' |
|
2652 |
|
|
2653 |
|
|
2654 |
|
|
2655 |
|
|
2656 |
|
|
2657 |
|
|
2658 |
|
|
2659 |
|
|
2660 |
|
|
2661 |
|
|
2662 |
|
|
2663 |
|
|
2664 |
|
|
2665 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
2666 |
|
|
2667 |
# Make sure we can run config.sub. |
|
2668 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
2669 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
2670 |
|
|
2671 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
2672 |
$as_echo_n "checking build system type... " >&6; } |
|
2673 |
if ${ac_cv_build+:} false; then : |
|
2674 |
$as_echo_n "(cached) " >&6 |
|
2675 |
else |
|
2676 |
ac_build_alias=$build_alias |
|
2677 |
test "x$ac_build_alias" = x && |
|
2678 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
2679 |
test "x$ac_build_alias" = x && |
|
2680 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
2681 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
2682 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
2683 |
|
|
2684 |
fi |
|
2685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
2686 |
$as_echo "$ac_cv_build" >&6; } |
|
2687 |
case $ac_cv_build in |
|
2688 |
*-*-*) ;; |
|
2689 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
2690 |
esac |
|
2691 |
build=$ac_cv_build |
|
2692 |
ac_save_IFS=$IFS; IFS='-' |
|
2693 |
set x $ac_cv_build |
|
2694 |
shift |
|
2695 |
build_cpu=$1 |
|
2696 |
build_vendor=$2 |
|
2697 |
shift; shift |
|
2698 |
# Remember, the first character of IFS is used to create $*, |
|
2699 |
# except with old shells: |
|
2700 |
build_os=$* |
|
2701 |
IFS=$ac_save_IFS |
|
2702 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
2703 |
|
|
2704 |
|
|
2705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
2706 |
$as_echo_n "checking host system type... " >&6; } |
|
2707 |
if ${ac_cv_host+:} false; then : |
|
2708 |
$as_echo_n "(cached) " >&6 |
|
2709 |
else |
|
2710 |
if test "x$host_alias" = x; then |
|
2711 |
ac_cv_host=$ac_cv_build |
|
2712 |
else |
|
2713 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
2714 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
2715 |
fi |
|
2716 |
|
|
2717 |
fi |
|
2718 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
2719 |
$as_echo "$ac_cv_host" >&6; } |
|
2720 |
case $ac_cv_host in |
|
2721 |
*-*-*) ;; |
|
2722 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
2723 |
esac |
|
2724 |
host=$ac_cv_host |
|
2725 |
ac_save_IFS=$IFS; IFS='-' |
|
2726 |
set x $ac_cv_host |
|
2727 |
shift |
|
2728 |
host_cpu=$1 |
|
2729 |
host_vendor=$2 |
|
2730 |
shift; shift |
|
2731 |
# Remember, the first character of IFS is used to create $*, |
|
2732 |
# except with old shells: |
|
2733 |
host_os=$* |
|
2734 |
IFS=$ac_save_IFS |
|
2735 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
2736 |
|
|
2737 |
|
|
2738 |
# Backslashify metacharacters that are still active within |
|
2739 |
# double-quoted strings. |
|
2740 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
2741 |
|
|
2742 |
# Same as above, but do not quote variable references. |
|
2743 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
2744 |
|
|
2745 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
2746 |
# double_quote_subst'ed string. |
|
2747 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
2748 |
|
|
2749 |
# Sed substitution to delay expansion of an escaped single quote. |
|
2750 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
2751 |
|
|
2752 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
2753 |
no_glob_subst='s/\*/\\\*/g' |
|
2754 |
|
|
2755 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
2756 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
|
2757 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
2758 |
|
|
2759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
|
2760 |
$as_echo_n "checking how to print strings... " >&6; } |
|
2761 |
# Test print first, because it will be a builtin if present. |
|
2762 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
|
2763 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
2764 |
ECHO='print -r --' |
|
2765 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
2766 |
ECHO='printf %s\n' |
|
2767 |
else |
|
2768 |
# Use this function as a fallback that always works. |
|
2769 |
func_fallback_echo () |
|
2770 |
{ |
|
2771 |
eval 'cat <<_LTECHO_EOF |
|
2772 |
$1 |
|
2773 |
_LTECHO_EOF' |
|
2774 |
} |
|
2775 |
ECHO='func_fallback_echo' |
|
2776 |
fi |
|
2777 |
|
|
2778 |
# func_echo_all arg... |
|
2779 |
# Invoke $ECHO with all args, space-separated. |
|
2780 |
func_echo_all () |
|
2781 |
{ |
|
2782 |
$ECHO "" |
|
2783 |
} |
|
2784 |
|
|
2785 |
case "$ECHO" in |
|
2786 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
|
2787 |
$as_echo "printf" >&6; } ;; |
|
2788 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
|
2789 |
$as_echo "print -r" >&6; } ;; |
|
2790 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
|
2791 |
$as_echo "cat" >&6; } ;; |
|
2792 |
esac |
|
2793 |
|
|
2794 |
|
|
2795 |
|
|
2796 |
|
|
2797 |
|
|
2798 |
|
|
2799 |
|
|
2800 |
|
|
2801 |
|
|
2802 |
|
|
2803 |
|
|
2804 |
|
|
2805 |
|
|
2806 |
|
|
2807 |
DEPDIR="${am__leading_dot}deps" |
|
2808 |
|
|
2809 |
ac_config_commands="$ac_config_commands depfiles" |
|
2810 |
|
|
2811 |
|
|
2812 |
am_make=${MAKE-make} |
|
2813 |
cat > confinc << 'END' |
|
2814 |
am__doit: |
|
2815 |
@echo this is the am__doit target |
|
2816 |
.PHONY: am__doit |
|
2817 |
END |
|
2818 |
# If we don't find an include directive, just comment out the code. |
|
2819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
2820 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
2821 |
am__include="#" |
|
2822 |
am__quote= |
|
2823 |
_am_result=none |
|
2824 |
# First try GNU make style include. |
|
2825 |
echo "include confinc" > confmf |
|
2826 |
# Ignore all kinds of additional output from 'make'. |
|
2827 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
2828 |
*the\ am__doit\ target*) |
|
2829 |
am__include=include |
|
2830 |
am__quote= |
|
2831 |
_am_result=GNU |
|
2832 |
;; |
|
2833 |
esac |
|
2834 |
# Now try BSD make style include. |
|
2835 |
if test "$am__include" = "#"; then |
|
2836 |
echo '.include "confinc"' > confmf |
|
2837 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
2838 |
*the\ am__doit\ target*) |
|
2839 |
am__include=.include |
|
2840 |
am__quote="\"" |
|
2841 |
_am_result=BSD |
|
2842 |
;; |
|
2843 |
esac |
|
2844 |
fi |
|
2845 |
|
|
2846 |
|
|
2847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
2848 |
$as_echo "$_am_result" >&6; } |
|
2849 |
rm -f confinc confmf |
|
2850 |
|
|
2851 |
# Check whether --enable-dependency-tracking was given. |
|
2852 |
if test "${enable_dependency_tracking+set}" = set; then : |
|
2853 |
enableval=$enable_dependency_tracking; |
|
2854 |
fi |
|
2855 |
|
|
2856 |
if test "x$enable_dependency_tracking" != xno; then |
|
2857 |
am_depcomp="$ac_aux_dir/depcomp" |
|
2858 |
AMDEPBACKSLASH='\' |
|
2859 |
am__nodep='_no' |
|
2860 |
fi |
|
2861 |
if test "x$enable_dependency_tracking" != xno; then |
|
2862 |
AMDEP_TRUE= |
|
2863 |
AMDEP_FALSE='#' |
|
2864 |
else |
|
2865 |
AMDEP_TRUE='#' |
|
2866 |
AMDEP_FALSE= |
|
2867 |
fi |
|
2868 |
|
|
2869 |
|
|
2870 |
ac_ext=c |
|
2871 |
ac_cpp='$CPP $CPPFLAGS' |
|
2872 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2873 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2874 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2875 |
if test -n "$ac_tool_prefix"; then |
|
2876 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2877 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2878 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2879 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2880 |
if ${ac_cv_prog_CC+:} false; then : |
|
2881 |
$as_echo_n "(cached) " >&6 |
|
2882 |
else |
|
2883 |
if test -n "$CC"; then |
|
2884 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2885 |
else |
|
2886 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2887 |
for as_dir in $PATH |
|
2888 |
do |
|
2889 |
IFS=$as_save_IFS |
|
2890 |
test -z "$as_dir" && as_dir=. |
|
2891 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2892 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2893 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
2894 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2895 |
break 2 |
|
2896 |
fi |
|
2897 |
done |
|
2898 |
done |
|
2899 |
IFS=$as_save_IFS |
|
2900 |
|
|
2901 |
fi |
|
2902 |
fi |
|
2903 |
CC=$ac_cv_prog_CC |
|
2904 |
if test -n "$CC"; then |
|
2905 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2906 |
$as_echo "$CC" >&6; } |
|
2907 |
else |
|
2908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2909 |
$as_echo "no" >&6; } |
|
2910 |
fi |
|
2911 |
|
|
2912 |
|
|
2913 |
fi |
|
2914 |
if test -z "$ac_cv_prog_CC"; then |
|
2915 |
ac_ct_CC=$CC |
|
2916 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
2917 |
set dummy gcc; ac_word=$2 |
|
2918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2919 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2920 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
2921 |
$as_echo_n "(cached) " >&6 |
|
2922 |
else |
|
2923 |
if test -n "$ac_ct_CC"; then |
|
2924 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2925 |
else |
|
2926 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2927 |
for as_dir in $PATH |
|
2928 |
do |
|
2929 |
IFS=$as_save_IFS |
|
2930 |
test -z "$as_dir" && as_dir=. |
|
2931 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2932 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2933 |
ac_cv_prog_ac_ct_CC="gcc" |
|
2934 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2935 |
break 2 |
|
2936 |
fi |
|
2937 |
done |
|
2938 |
done |
|
2939 |
IFS=$as_save_IFS |
|
2940 |
|
|
2941 |
fi |
|
2942 |
fi |
|
2943 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2944 |
if test -n "$ac_ct_CC"; then |
|
2945 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
2946 |
$as_echo "$ac_ct_CC" >&6; } |
|
2947 |
else |
|
2948 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2949 |
$as_echo "no" >&6; } |
|
2950 |
fi |
|
2951 |
|
|
2952 |
if test "x$ac_ct_CC" = x; then |
|
2953 |
CC="" |
|
2954 |
else |
|
2955 |
case $cross_compiling:$ac_tool_warned in |
|
2956 |
yes:) |
|
2957 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2958 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2959 |
ac_tool_warned=yes ;; |
|
2960 |
esac |
|
2961 |
CC=$ac_ct_CC |
|
2962 |
fi |
|
2963 |
else |
|
2964 |
CC="$ac_cv_prog_CC" |
|
2965 |
fi |
|
2966 |
|
|
2967 |
if test -z "$CC"; then |
|
2968 |
if test -n "$ac_tool_prefix"; then |
|
2969 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
2970 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
2971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2972 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2973 |
if ${ac_cv_prog_CC+:} false; then : |
|
2974 |
$as_echo_n "(cached) " >&6 |
|
2975 |
else |
|
2976 |
if test -n "$CC"; then |
|
2977 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2978 |
else |
|
2979 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2980 |
for as_dir in $PATH |
|
2981 |
do |
|
2982 |
IFS=$as_save_IFS |
|
2983 |
test -z "$as_dir" && as_dir=. |
|
2984 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2985 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2986 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
2987 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2988 |
break 2 |
|
2989 |
fi |
|
2990 |
done |
|
2991 |
done |
|
2992 |
IFS=$as_save_IFS |
|
2993 |
|
|
2994 |
fi |
|
2995 |
fi |
|
2996 |
CC=$ac_cv_prog_CC |
|
2997 |
if test -n "$CC"; then |
|
2998 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2999 |
$as_echo "$CC" >&6; } |
|
3000 |
else |
|
3001 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3002 |
$as_echo "no" >&6; } |
|
3003 |
fi |
|
3004 |
|
|
3005 |
|
|
3006 |
fi |
|
3007 |
fi |
|
3008 |
if test -z "$CC"; then |
|
3009 |
# Extract the first word of "cc", so it can be a program name with args. |
|
3010 |
set dummy cc; ac_word=$2 |
|
3011 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3012 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3013 |
if ${ac_cv_prog_CC+:} false; then : |
|
3014 |
$as_echo_n "(cached) " >&6 |
|
3015 |
else |
|
3016 |
if test -n "$CC"; then |
|
3017 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3018 |
else |
|
3019 |
ac_prog_rejected=no |
|
3020 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3021 |
for as_dir in $PATH |
|
3022 |
do |
|
3023 |
IFS=$as_save_IFS |
|
3024 |
test -z "$as_dir" && as_dir=. |
|
3025 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3026 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3027 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3028 |
ac_prog_rejected=yes |
|
3029 |
continue |
|
3030 |
fi |
|
3031 |
ac_cv_prog_CC="cc" |
|
3032 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3033 |
break 2 |
|
3034 |
fi |
|
3035 |
done |
|
3036 |
done |
|
3037 |
IFS=$as_save_IFS |
|
3038 |
|
|
3039 |
if test $ac_prog_rejected = yes; then |
|
3040 |
# We found a bogon in the path, so make sure we never use it. |
|
3041 |
set dummy $ac_cv_prog_CC |
|
3042 |
shift |
|
3043 |
if test $# != 0; then |
|
3044 |
# We chose a different compiler from the bogus one. |
|
3045 |
# However, it has the same basename, so the bogon will be chosen |
|
3046 |
# first if we set CC to just the basename; use the full file name. |
|
3047 |
shift |
|
3048 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3049 |
fi |
|
3050 |
fi |
|
3051 |
fi |
|
3052 |
fi |
|
3053 |
CC=$ac_cv_prog_CC |
|
3054 |
if test -n "$CC"; then |
|
3055 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3056 |
$as_echo "$CC" >&6; } |
|
3057 |
else |
|
3058 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3059 |
$as_echo "no" >&6; } |
|
3060 |
fi |
|
3061 |
|
|
3062 |
|
|
3063 |
fi |
|
3064 |
if test -z "$CC"; then |
|
3065 |
if test -n "$ac_tool_prefix"; then |
|
3066 |
for ac_prog in cl.exe |
|
3067 |
do |
|
3068 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3069 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
3070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3071 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3072 |
if ${ac_cv_prog_CC+:} false; then : |
|
3073 |
$as_echo_n "(cached) " >&6 |
|
3074 |
else |
|
3075 |
if test -n "$CC"; then |
|
3076 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3077 |
else |
|
3078 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3079 |
for as_dir in $PATH |
|
3080 |
do |
|
3081 |
IFS=$as_save_IFS |
|
3082 |
test -z "$as_dir" && as_dir=. |
|
3083 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3084 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3085 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
3086 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3087 |
break 2 |
|
3088 |
fi |
|
3089 |
done |
|
3090 |
done |
|
3091 |
IFS=$as_save_IFS |
|
3092 |
|
|
3093 |
fi |
|
3094 |
fi |
|
3095 |
CC=$ac_cv_prog_CC |
|
3096 |
if test -n "$CC"; then |
|
3097 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3098 |
$as_echo "$CC" >&6; } |
|
3099 |
else |
|
3100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3101 |
$as_echo "no" >&6; } |
|
3102 |
fi |
|
3103 |
|
|
3104 |
|
|
3105 |
test -n "$CC" && break |
|
3106 |
done |
|
3107 |
fi |
|
3108 |
if test -z "$CC"; then |
|
3109 |
ac_ct_CC=$CC |
|
3110 |
for ac_prog in cl.exe |
|
3111 |
do |
|
3112 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3113 |
set dummy $ac_prog; ac_word=$2 |
|
3114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3115 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3116 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3117 |
$as_echo_n "(cached) " >&6 |
|
3118 |
else |
|
3119 |
if test -n "$ac_ct_CC"; then |
|
3120 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3121 |
else |
|
3122 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3123 |
for as_dir in $PATH |
|
3124 |
do |
|
3125 |
IFS=$as_save_IFS |
|
3126 |
test -z "$as_dir" && as_dir=. |
|
3127 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3128 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3129 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3130 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3131 |
break 2 |
|
3132 |
fi |
|
3133 |
done |
|
3134 |
done |
|
3135 |
IFS=$as_save_IFS |
|
3136 |
|
|
3137 |
fi |
|
3138 |
fi |
|
3139 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3140 |
if test -n "$ac_ct_CC"; then |
|
3141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3142 |
$as_echo "$ac_ct_CC" >&6; } |
|
3143 |
else |
|
3144 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3145 |
$as_echo "no" >&6; } |
|
3146 |
fi |
|
3147 |
|
|
3148 |
|
|
3149 |
test -n "$ac_ct_CC" && break |
|
3150 |
done |
|
3151 |
|
|
3152 |
if test "x$ac_ct_CC" = x; then |
|
3153 |
CC="" |
|
3154 |
else |
|
3155 |
case $cross_compiling:$ac_tool_warned in |
|
3156 |
yes:) |
|
3157 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3158 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3159 |
ac_tool_warned=yes ;; |
|
3160 |
esac |
|
3161 |
CC=$ac_ct_CC |
|
3162 |
fi |
|
3163 |
fi |
|
3164 |
|
|
3165 |
fi |
|
3166 |
|
|
3167 |
|
|
3168 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3169 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3170 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
3171 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3172 |
|
|
3173 |
# Provide some information about the compiler. |
|
3174 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3175 |
set X $ac_compile |
|
3176 |
ac_compiler=$2 |
|
3177 |
for ac_option in --version -v -V -qversion; do |
|
3178 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3179 |
case "(($ac_try" in |
|
3180 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3181 |
*) ac_try_echo=$ac_try;; |
|
3182 |
esac |
|
3183 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3184 |
$as_echo "$ac_try_echo"; } >&5 |
|
3185 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3186 |
ac_status=$? |
|
3187 |
if test -s conftest.err; then |
|
3188 |
sed '10a\ |
|
3189 |
... rest of stderr output deleted ... |
|
3190 |
10q' conftest.err >conftest.er1 |
|
3191 |
cat conftest.er1 >&5 |
|
3192 |
fi |
|
3193 |
rm -f conftest.er1 conftest.err |
|
3194 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3195 |
test $ac_status = 0; } |
|
3196 |
done |
|
3197 |
|
|
3198 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3199 |
/* end confdefs.h. */ |
|
3200 |
|
|
3201 |
int |
|
3202 |
main () |
|
3203 |
{ |
|
3204 |
|
|
3205 |
; |
|
3206 |
return 0; |
|
3207 |
} |
|
3208 |
_ACEOF |
|
3209 |
ac_clean_files_save=$ac_clean_files |
|
3210 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
3211 |
# Try to create an executable without -o first, disregard a.out. |
|
3212 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
3213 |
# of exeext. |
|
3214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
3215 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
3216 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3217 |
|
|
3218 |
# The possible output files: |
|
3219 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3220 |
|
|
3221 |
ac_rmfiles= |
|
3222 |
for ac_file in $ac_files |
|
3223 |
do |
|
3224 |
case $ac_file in |
|
3225 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3226 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3227 |
esac |
|
3228 |
done |
|
3229 |
rm -f $ac_rmfiles |
|
3230 |
|
|
3231 |
if { { ac_try="$ac_link_default" |
|
3232 |
case "(($ac_try" in |
|
3233 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3234 |
*) ac_try_echo=$ac_try;; |
|
3235 |
esac |
|
3236 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3237 |
$as_echo "$ac_try_echo"; } >&5 |
|
3238 |
(eval "$ac_link_default") 2>&5 |
|
3239 |
ac_status=$? |
|
3240 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3241 |
test $ac_status = 0; }; then : |
|
3242 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3243 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3244 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3245 |
# so that the user can short-circuit this test for compilers unknown to |
|
3246 |
# Autoconf. |
|
3247 |
for ac_file in $ac_files '' |
|
3248 |
do |
|
3249 |
test -f "$ac_file" || continue |
|
3250 |
case $ac_file in |
|
3251 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3252 |
;; |
|
3253 |
[ab].out ) |
|
3254 |
# We found the default executable, but exeext='' is most |
|
3255 |
# certainly right. |
|
3256 |
break;; |
|
3257 |
*.* ) |
|
3258 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3259 |
then :; else |
|
3260 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3261 |
fi |
|
3262 |
# We set ac_cv_exeext here because the later test for it is not |
|
3263 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3264 |
# argument, so we may need to know it at that point already. |
|
3265 |
# Even if this section looks crufty: it has the advantage of |
|
3266 |
# actually working. |
|
3267 |
break;; |
|
3268 |
* ) |
|
3269 |
break;; |
|
3270 |
esac |
|
3271 |
done |
|
3272 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3273 |
|
|
3274 |
else |
|
3275 |
ac_file='' |
|
3276 |
fi |
|
3277 |
if test -z "$ac_file"; then : |
|
3278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3279 |
$as_echo "no" >&6; } |
|
3280 |
$as_echo "$as_me: failed program was:" >&5 |
|
3281 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3282 |
|
|
3283 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3284 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3285 |
as_fn_error 77 "C compiler cannot create executables |
|
3286 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3287 |
else |
|
3288 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3289 |
$as_echo "yes" >&6; } |
|
3290 |
fi |
|
3291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3292 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3293 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3294 |
$as_echo "$ac_file" >&6; } |
|
3295 |
ac_exeext=$ac_cv_exeext |
|
3296 |
|
|
3297 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
3298 |
ac_clean_files=$ac_clean_files_save |
|
3299 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3300 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3301 |
if { { ac_try="$ac_link" |
|
3302 |
case "(($ac_try" in |
|
3303 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3304 |
*) ac_try_echo=$ac_try;; |
|
3305 |
esac |
|
3306 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3307 |
$as_echo "$ac_try_echo"; } >&5 |
|
3308 |
(eval "$ac_link") 2>&5 |
|
3309 |
ac_status=$? |
|
3310 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3311 |
test $ac_status = 0; }; then : |
|
3312 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3313 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3314 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3315 |
# `rm'. |
|
3316 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3317 |
test -f "$ac_file" || continue |
|
3318 |
case $ac_file in |
|
3319 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3320 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3321 |
break;; |
|
3322 |
* ) break;; |
|
3323 |
esac |
|
3324 |
done |
|
3325 |
else |
|
3326 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3327 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3328 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
3329 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3330 |
fi |
|
3331 |
rm -f conftest conftest$ac_cv_exeext |
|
3332 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3333 |
$as_echo "$ac_cv_exeext" >&6; } |
|
3334 |
|
|
3335 |
rm -f conftest.$ac_ext |
|
3336 |
EXEEXT=$ac_cv_exeext |
|
3337 |
ac_exeext=$EXEEXT |
|
3338 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3339 |
/* end confdefs.h. */ |
|
3340 |
#include <stdio.h> |
|
3341 |
int |
|
3342 |
main () |
|
3343 |
{ |
|
3344 |
FILE *f = fopen ("conftest.out", "w"); |
|
3345 |
return ferror (f) || fclose (f) != 0; |
|
3346 |
|
|
3347 |
; |
|
3348 |
return 0; |
|
3349 |
} |
|
3350 |
_ACEOF |
|
3351 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3352 |
# Check that the compiler produces executables we can run. If not, either |
|
3353 |
# the compiler is broken, or we cross compile. |
|
3354 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3355 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3356 |
if test "$cross_compiling" != yes; then |
|
3357 |
{ { ac_try="$ac_link" |
|
3358 |
case "(($ac_try" in |
|
3359 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3360 |
*) ac_try_echo=$ac_try;; |
|
3361 |
esac |
|
3362 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3363 |
$as_echo "$ac_try_echo"; } >&5 |
|
3364 |
(eval "$ac_link") 2>&5 |
|
3365 |
ac_status=$? |
|
3366 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3367 |
test $ac_status = 0; } |
|
3368 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3369 |
{ { case "(($ac_try" in |
|
3370 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3371 |
*) ac_try_echo=$ac_try;; |
|
3372 |
esac |
|
3373 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3374 |
$as_echo "$ac_try_echo"; } >&5 |
|
3375 |
(eval "$ac_try") 2>&5 |
|
3376 |
ac_status=$? |
|
3377 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3378 |
test $ac_status = 0; }; }; then |
|
3379 |
cross_compiling=no |
|
3380 |
else |
|
3381 |
if test "$cross_compiling" = maybe; then |
|
3382 |
cross_compiling=yes |
|
3383 |
else |
|
3384 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3385 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3386 |
as_fn_error $? "cannot run C compiled programs. |
|
3387 |
If you meant to cross compile, use \`--host'. |
|
3388 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3389 |
fi |
|
3390 |
fi |
|
3391 |
fi |
|
3392 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3393 |
$as_echo "$cross_compiling" >&6; } |
|
3394 |
|
|
3395 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3396 |
ac_clean_files=$ac_clean_files_save |
|
3397 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3398 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
3399 |
if ${ac_cv_objext+:} false; then : |
|
3400 |
$as_echo_n "(cached) " >&6 |
|
3401 |
else |
|
3402 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3403 |
/* end confdefs.h. */ |
|
3404 |
|
|
3405 |
int |
|
3406 |
main () |
|
3407 |
{ |
|
3408 |
|
|
3409 |
; |
|
3410 |
return 0; |
|
3411 |
} |
|
3412 |
_ACEOF |
|
3413 |
rm -f conftest.o conftest.obj |
|
3414 |
if { { ac_try="$ac_compile" |
|
3415 |
case "(($ac_try" in |
|
3416 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3417 |
*) ac_try_echo=$ac_try;; |
|
3418 |
esac |
|
3419 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3420 |
$as_echo "$ac_try_echo"; } >&5 |
|
3421 |
(eval "$ac_compile") 2>&5 |
|
3422 |
ac_status=$? |
|
3423 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3424 |
test $ac_status = 0; }; then : |
|
3425 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3426 |
test -f "$ac_file" || continue; |
|
3427 |
case $ac_file in |
|
3428 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3429 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3430 |
break;; |
|
3431 |
esac |
|
3432 |
done |
|
3433 |
else |
|
3434 |
$as_echo "$as_me: failed program was:" >&5 |
|
3435 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3436 |
|
|
3437 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3438 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3439 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
3440 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3441 |
fi |
|
3442 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3443 |
fi |
|
3444 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3445 |
$as_echo "$ac_cv_objext" >&6; } |
|
3446 |
OBJEXT=$ac_cv_objext |
|
3447 |
ac_objext=$OBJEXT |
|
3448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
3449 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
3450 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
3451 |
$as_echo_n "(cached) " >&6 |
|
3452 |
else |
|
3453 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3454 |
/* end confdefs.h. */ |
|
3455 |
|
|
3456 |
int |
|
3457 |
main () |
|
3458 |
{ |
|
3459 |
#ifndef __GNUC__ |
|
3460 |
choke me |
|
3461 |
#endif |
|
3462 |
|
|
3463 |
; |
|
3464 |
return 0; |
|
3465 |
} |
|
3466 |
_ACEOF |
|
3467 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3468 |
ac_compiler_gnu=yes |
|
3469 |
else |
|
3470 |
ac_compiler_gnu=no |
|
3471 |
fi |
|
3472 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3473 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3474 |
|
|
3475 |
fi |
|
3476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
3477 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3478 |
if test $ac_compiler_gnu = yes; then |
|
3479 |
GCC=yes |
|
3480 |
else |
|
3481 |
GCC= |
|
3482 |
fi |
|
3483 |
ac_test_CFLAGS=${CFLAGS+set} |
|
3484 |
ac_save_CFLAGS=$CFLAGS |
|
3485 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
3486 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
3487 |
if ${ac_cv_prog_cc_g+:} false; then : |
|
3488 |
$as_echo_n "(cached) " >&6 |
|
3489 |
else |
|
3490 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
3491 |
ac_c_werror_flag=yes |
|
3492 |
ac_cv_prog_cc_g=no |
|
3493 |
CFLAGS="-g" |
|
3494 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3495 |
/* end confdefs.h. */ |
|
3496 |
|
|
3497 |
int |
|
3498 |
main () |
|
3499 |
{ |
|
3500 |
|
|
3501 |
; |
|
3502 |
return 0; |
|
3503 |
} |
|
3504 |
_ACEOF |
|
3505 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3506 |
ac_cv_prog_cc_g=yes |
|
3507 |
else |
|
3508 |
CFLAGS="" |
|
3509 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3510 |
/* end confdefs.h. */ |
|
3511 |
|
|
3512 |
int |
|
3513 |
main () |
|
3514 |
{ |
|
3515 |
|
|
3516 |
; |
|
3517 |
return 0; |
|
3518 |
} |
|
3519 |
_ACEOF |
|
3520 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3521 |
|
|
3522 |
else |
|
3523 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3524 |
CFLAGS="-g" |
|
3525 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3526 |
/* end confdefs.h. */ |
|
3527 |
|
|
3528 |
int |
|
3529 |
main () |
|
3530 |
{ |
|
3531 |
|
|
3532 |
; |
|
3533 |
return 0; |
|
3534 |
} |
|
3535 |
_ACEOF |
|
3536 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3537 |
ac_cv_prog_cc_g=yes |
|
3538 |
fi |
|
3539 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3540 |
fi |
|
3541 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3542 |
fi |
|
3543 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3544 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3545 |
fi |
|
3546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
3547 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
3548 |
if test "$ac_test_CFLAGS" = set; then |
|
3549 |
CFLAGS=$ac_save_CFLAGS |
|
3550 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3551 |
if test "$GCC" = yes; then |
|
3552 |
CFLAGS="-g -O2" |
|
3553 |
else |
|
3554 |
CFLAGS="-g" |
|
3555 |
fi |
|
3556 |
else |
|
3557 |
if test "$GCC" = yes; then |
|
3558 |
CFLAGS="-O2" |
|
3559 |
else |
|
3560 |
CFLAGS= |
|
3561 |
fi |
|
3562 |
fi |
|
3563 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
3564 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
3565 |
if ${ac_cv_prog_cc_c89+:} false; then : |
|
3566 |
$as_echo_n "(cached) " >&6 |
|
3567 |
else |
|
3568 |
ac_cv_prog_cc_c89=no |
|
3569 |
ac_save_CC=$CC |
|
3570 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3571 |
/* end confdefs.h. */ |
|
3572 |
#include <stdarg.h> |
|
3573 |
#include <stdio.h> |
|
3574 |
struct stat; |
|
3575 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3576 |
struct buf { int x; }; |
|
3577 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3578 |
static char *e (p, i) |
|
3579 |
char **p; |
|
3580 |
int i; |
|
3581 |
{ |
|
3582 |
return p[i]; |
|
3583 |
} |
|
3584 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
3585 |
{ |
|
3586 |
char *s; |
|
3587 |
va_list v; |
|
3588 |
va_start (v,p); |
|
3589 |
s = g (p, va_arg (v,int)); |
|
3590 |
va_end (v); |
|
3591 |
return s; |
|
3592 |
} |
|
3593 |
|
|
3594 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3595 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
3596 |
These don't provoke an error unfortunately, instead are silently treated |
|
3597 |
as 'x'. The following induces an error, until -std is added to get |
|
3598 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
3599 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
3600 |
that's true only with -std. */ |
|
3601 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
3602 |
|
|
3603 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
3604 |
inside strings and character constants. */ |
|
3605 |
#define FOO(x) 'x' |
|
3606 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3607 |
|
|
3608 |
int test (int i, double x); |
|
3609 |
struct s1 {int (*f) (int a);}; |
|
3610 |
struct s2 {int (*f) (double a);}; |
|
3611 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3612 |
int argc; |
|
3613 |
char **argv; |
|
3614 |
int |
|
3615 |
main () |
|
3616 |
{ |
|
3617 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3618 |
; |
|
3619 |
return 0; |
|
3620 |
} |
|
3621 |
_ACEOF |
|
3622 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
3623 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3624 |
do |
|
3625 |
CC="$ac_save_CC $ac_arg" |
|
3626 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3627 |
ac_cv_prog_cc_c89=$ac_arg |
|
3628 |
fi |
|
3629 |
rm -f core conftest.err conftest.$ac_objext |
|
3630 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
3631 |
done |
|
3632 |
rm -f conftest.$ac_ext |
|
3633 |
CC=$ac_save_CC |
|
3634 |
|
|
3635 |
fi |
|
3636 |
# AC_CACHE_VAL |
|
3637 |
case "x$ac_cv_prog_cc_c89" in |
|
3638 |
x) |
|
3639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
3640 |
$as_echo "none needed" >&6; } ;; |
|
3641 |
xno) |
|
3642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
3643 |
$as_echo "unsupported" >&6; } ;; |
|
3644 |
*) |
|
3645 |
CC="$CC $ac_cv_prog_cc_c89" |
|
3646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
3647 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
3648 |
esac |
|
3649 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
3650 |
|
|
3651 |
fi |
|
3652 |
|
|
3653 |
ac_ext=c |
|
3654 |
ac_cpp='$CPP $CPPFLAGS' |
|
3655 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3656 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3657 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3658 |
|
|
3659 |
depcc="$CC" am_compiler_list= |
|
3660 |
|
|
3661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3662 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3663 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
3664 |
$as_echo_n "(cached) " >&6 |
|
3665 |
else |
|
3666 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3667 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3668 |
# making bogus files that we don't know about and never remove. For |
|
3669 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3670 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
|
3671 |
# in D". |
|
3672 |
rm -rf conftest.dir |
|
3673 |
mkdir conftest.dir |
|
3674 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3675 |
# using a relative directory. |
|
3676 |
cp "$am_depcomp" conftest.dir |
|
3677 |
cd conftest.dir |
|
3678 |
# We will build objects and dependencies in a subdirectory because |
|
3679 |
# it helps to detect inapplicable dependency modes. For instance |
|
3680 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3681 |
# side effect of compilation, but ICC will put the dependencies in |
|
3682 |
# the current directory while Tru64 will put them in the object |
|
3683 |
# directory. |
|
3684 |
mkdir sub |
|
3685 |
|
|
3686 |
am_cv_CC_dependencies_compiler_type=none |
|
3687 |
if test "$am_compiler_list" = ""; then |
|
3688 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3689 |
fi |
|
3690 |
am__universal=false |
|
3691 |
case " $depcc " in #( |
|
3692 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3693 |
esac |
|
3694 |
|
|
3695 |
for depmode in $am_compiler_list; do |
|
3696 |
# Setup a source with many dependencies, because some compilers |
|
3697 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3698 |
# we should not choose a depcomp mode which is confused by this. |
|
3699 |
# |
|
3700 |
# We need to recreate these files for each test, as the compiler may |
|
3701 |
# overwrite some of them when testing with obscure command lines. |
|
3702 |
# This happens at least with the AIX C compiler. |
|
3703 |
: > sub/conftest.c |
|
3704 |
for i in 1 2 3 4 5 6; do |
|
3705 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3706 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
3707 |
# Solaris 10 /bin/sh. |
|
3708 |
echo '/* dummy */' > sub/conftst$i.h |
|
3709 |
done |
|
3710 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3711 |
|
|
3712 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
3713 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3714 |
# handle '-M -o', and we need to detect this. Also, some Intel |
|
3715 |
# versions had trouble with output in subdirs. |
|
3716 |
am__obj=sub/conftest.${OBJEXT-o} |
|
3717 |
am__minus_obj="-o $am__obj" |
|
3718 |
case $depmode in |
|
3719 |
gcc) |
|
3720 |
# This depmode causes a compiler race in universal mode. |
|
3721 |
test "$am__universal" = false || continue |
|
3722 |
;; |
|
3723 |
nosideeffect) |
|
3724 |
# After this tag, mechanisms are not by side-effect, so they'll |
|
3725 |
# only be used when explicitly requested. |
|
3726 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3727 |
continue |
|
3728 |
else |
|
3729 |
break |
|
3730 |
fi |
|
3731 |
;; |
|
3732 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3733 |
# This compiler won't grok '-c -o', but also, the minuso test has |
|
3734 |
# not run yet. These depmodes are late enough in the game, and |
|
3735 |
# so weak that their functioning should not be impacted. |
|
3736 |
am__obj=conftest.${OBJEXT-o} |
|
3737 |
am__minus_obj= |
|
3738 |
;; |
|
3739 |
none) break ;; |
|
3740 |
esac |
|
3741 |
if depmode=$depmode \ |
|
3742 |
source=sub/conftest.c object=$am__obj \ |
|
3743 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3744 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3745 |
>/dev/null 2>conftest.err && |
|
3746 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3747 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3748 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3749 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3750 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
3751 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
3752 |
# that says an option was ignored or not supported. |
|
3753 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3754 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
3755 |
# The diagnosis changed in icc 8.0: |
|
3756 |
# icc: Command line remark: option '-MP' not supported |
|
3757 |
if (grep 'ignoring option' conftest.err || |
|
3758 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3759 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
3760 |
break |
|
3761 |
fi |
|
3762 |
fi |
|
3763 |
done |
|
3764 |
|
|
3765 |
cd .. |
|
3766 |
rm -rf conftest.dir |
|
3767 |
else |
|
3768 |
am_cv_CC_dependencies_compiler_type=none |
|
3769 |
fi |
|
3770 |
|
|
3771 |
fi |
|
3772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
3773 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
3774 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
3775 |
|
|
3776 |
if |
|
3777 |
test "x$enable_dependency_tracking" != xno \ |
|
3778 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3779 |
am__fastdepCC_TRUE= |
|
3780 |
am__fastdepCC_FALSE='#' |
|
3781 |
else |
|
3782 |
am__fastdepCC_TRUE='#' |
|
3783 |
am__fastdepCC_FALSE= |
|
3784 |
fi |
|
3785 |
|
|
3786 |
|
|
3787 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
|
3788 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
3789 |
if ${ac_cv_path_SED+:} false; then : |
|
3790 |
$as_echo_n "(cached) " >&6 |
|
3791 |
else |
|
3792 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
3793 |
for ac_i in 1 2 3 4 5 6 7; do |
|
3794 |
ac_script="$ac_script$as_nl$ac_script" |
|
3795 |
done |
|
3796 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
3797 |
{ ac_script=; unset ac_script;} |
|
3798 |
if test -z "$SED"; then |
|
3799 |
ac_path_SED_found=false |
|
3800 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
3801 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3802 |
for as_dir in $PATH |
|
3803 |
do |
|
3804 |
IFS=$as_save_IFS |
|
3805 |
test -z "$as_dir" && as_dir=. |
|
3806 |
for ac_prog in sed gsed; do |
|
3807 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3808 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
3809 |
as_fn_executable_p "$ac_path_SED" || continue |
|
3810 |
# Check for GNU ac_path_SED and select it if it is found. |
|
3811 |
# Check for GNU $ac_path_SED |
|
3812 |
case `"$ac_path_SED" --version 2>&1` in |
|
3813 |
*GNU*) |
|
3814 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
3815 |
*) |
|
3816 |
ac_count=0 |
|
3817 |
$as_echo_n 0123456789 >"conftest.in" |
|
3818 |
while : |
|
3819 |
do |
|
3820 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3821 |
mv "conftest.tmp" "conftest.in" |
|
3822 |
cp "conftest.in" "conftest.nl" |
|
3823 |
$as_echo '' >> "conftest.nl" |
|
3824 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
3825 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
3826 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
3827 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
3828 |
# Best one so far, save it but keep looking for a better one |
|
3829 |
ac_cv_path_SED="$ac_path_SED" |
|
3830 |
ac_path_SED_max=$ac_count |
|
3831 |
fi |
|
3832 |
# 10*(2^10) chars as input seems more than enough |
|
3833 |
test $ac_count -gt 10 && break |
|
3834 |
done |
|
3835 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
3836 |
esac |
|
3837 |
|
|
3838 |
$ac_path_SED_found && break 3 |
|
3839 |
done |
|
3840 |
done |
|
3841 |
done |
|
3842 |
IFS=$as_save_IFS |
|
3843 |
if test -z "$ac_cv_path_SED"; then |
|
3844 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
3845 |
fi |
|
3846 |
else |
|
3847 |
ac_cv_path_SED=$SED |
|
3848 |
fi |
|
3849 |
|
|
3850 |
fi |
|
3851 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
3852 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
3853 |
SED="$ac_cv_path_SED" |
|
3854 |
rm -f conftest.sed |
|
3855 |
|
|
3856 |
test -z "$SED" && SED=sed |
|
3857 |
Xsed="$SED -e 1s/^X//" |
|
3858 |
|
|
3859 |
|
|
3860 |
|
|
3861 |
|
|
3862 |
|
|
3863 |
|
|
3864 |
|
|
3865 |
|
|
3866 |
|
|
3867 |
|
|
3868 |
|
|
3869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
3870 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
3871 |
if ${ac_cv_path_GREP+:} false; then : |
|
3872 |
$as_echo_n "(cached) " >&6 |
|
3873 |
else |
|
3874 |
if test -z "$GREP"; then |
|
3875 |
ac_path_GREP_found=false |
|
3876 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
3877 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3878 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
3879 |
do |
|
3880 |
IFS=$as_save_IFS |
|
3881 |
test -z "$as_dir" && as_dir=. |
|
3882 |
for ac_prog in grep ggrep; do |
|
3883 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3884 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
3885 |
as_fn_executable_p "$ac_path_GREP" || continue |
|
3886 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
3887 |
# Check for GNU $ac_path_GREP |
|
3888 |
case `"$ac_path_GREP" --version 2>&1` in |
|
3889 |
*GNU*) |
|
3890 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
3891 |
*) |
|
3892 |
ac_count=0 |
|
3893 |
$as_echo_n 0123456789 >"conftest.in" |
|
3894 |
while : |
|
3895 |
do |
|
3896 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3897 |
mv "conftest.tmp" "conftest.in" |
|
3898 |
cp "conftest.in" "conftest.nl" |
|
3899 |
$as_echo 'GREP' >> "conftest.nl" |
|
3900 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
3901 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
3902 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
3903 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
3904 |
# Best one so far, save it but keep looking for a better one |
|
3905 |
ac_cv_path_GREP="$ac_path_GREP" |
|
3906 |
ac_path_GREP_max=$ac_count |
|
3907 |
fi |
|
3908 |
# 10*(2^10) chars as input seems more than enough |
|
3909 |
test $ac_count -gt 10 && break |
|
3910 |
done |
|
3911 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
3912 |
esac |
|
3913 |
|
|
3914 |
$ac_path_GREP_found && break 3 |
|
3915 |
done |
|
3916 |
done |
|
3917 |
done |
|
3918 |
IFS=$as_save_IFS |
|
3919 |
if test -z "$ac_cv_path_GREP"; then |
|
3920 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
3921 |
fi |
|
3922 |
else |
|
3923 |
ac_cv_path_GREP=$GREP |
|
3924 |
fi |
|
3925 |
|
|
3926 |
fi |
|
3927 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
3928 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
3929 |
GREP="$ac_cv_path_GREP" |
|
3930 |
|
|
3931 |
|
|
3932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
3933 |
$as_echo_n "checking for egrep... " >&6; } |
|
3934 |
if ${ac_cv_path_EGREP+:} false; then : |
|
3935 |
$as_echo_n "(cached) " >&6 |
|
3936 |
else |
|
3937 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
3938 |
then ac_cv_path_EGREP="$GREP -E" |
|
3939 |
else |
|
3940 |
if test -z "$EGREP"; then |
|
3941 |
ac_path_EGREP_found=false |
|
3942 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
3943 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3944 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
3945 |
do |
|
3946 |
IFS=$as_save_IFS |
|
3947 |
test -z "$as_dir" && as_dir=. |
|
3948 |
for ac_prog in egrep; do |
|
3949 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3950 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
3951 |
as_fn_executable_p "$ac_path_EGREP" || continue |
|
3952 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
3953 |
# Check for GNU $ac_path_EGREP |
|
3954 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
3955 |
*GNU*) |
|
3956 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
3957 |
*) |
|
3958 |
ac_count=0 |
|
3959 |
$as_echo_n 0123456789 >"conftest.in" |
|
3960 |
while : |
|
3961 |
do |
|
3962 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3963 |
mv "conftest.tmp" "conftest.in" |
|
3964 |
cp "conftest.in" "conftest.nl" |
|
3965 |
$as_echo 'EGREP' >> "conftest.nl" |
|
3966 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
3967 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
3968 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
3969 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
3970 |
# Best one so far, save it but keep looking for a better one |
|
3971 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
3972 |
ac_path_EGREP_max=$ac_count |
|
3973 |
fi |
|
3974 |
# 10*(2^10) chars as input seems more than enough |
|
3975 |
test $ac_count -gt 10 && break |
|
3976 |
done |
|
3977 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
3978 |
esac |
|
3979 |
|
|
3980 |
$ac_path_EGREP_found && break 3 |
|
3981 |
done |
|
3982 |
done |
|
3983 |
done |
|
3984 |
IFS=$as_save_IFS |
|
3985 |
if test -z "$ac_cv_path_EGREP"; then |
|
3986 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
3987 |
fi |
|
3988 |
else |
|
3989 |
ac_cv_path_EGREP=$EGREP |
|
3990 |
fi |
|
3991 |
|
|
3992 |
fi |
|
3993 |
fi |
|
3994 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
3995 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
3996 |
EGREP="$ac_cv_path_EGREP" |
|
3997 |
|
|
3998 |
|
|
3999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
|
4000 |
$as_echo_n "checking for fgrep... " >&6; } |
|
4001 |
if ${ac_cv_path_FGREP+:} false; then : |
|
4002 |
$as_echo_n "(cached) " >&6 |
|
4003 |
else |
|
4004 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
4005 |
then ac_cv_path_FGREP="$GREP -F" |
|
4006 |
else |
|
4007 |
if test -z "$FGREP"; then |
|
4008 |
ac_path_FGREP_found=false |
|
4009 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4010 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4011 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4012 |
do |
|
4013 |
IFS=$as_save_IFS |
|
4014 |
test -z "$as_dir" && as_dir=. |
|
4015 |
for ac_prog in fgrep; do |
|
4016 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4017 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4018 |
as_fn_executable_p "$ac_path_FGREP" || continue |
|
4019 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
4020 |
# Check for GNU $ac_path_FGREP |
|
4021 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
4022 |
*GNU*) |
|
4023 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
4024 |
*) |
|
4025 |
ac_count=0 |
|
4026 |
$as_echo_n 0123456789 >"conftest.in" |
|
4027 |
while : |
|
4028 |
do |
|
4029 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4030 |
mv "conftest.tmp" "conftest.in" |
|
4031 |
cp "conftest.in" "conftest.nl" |
|
4032 |
$as_echo 'FGREP' >> "conftest.nl" |
|
4033 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4034 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4035 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4036 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
4037 |
# Best one so far, save it but keep looking for a better one |
|
4038 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
4039 |
ac_path_FGREP_max=$ac_count |
|
4040 |
fi |
|
4041 |
# 10*(2^10) chars as input seems more than enough |
|
4042 |
test $ac_count -gt 10 && break |
|
4043 |
done |
|
4044 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4045 |
esac |
|
4046 |
|
|
4047 |
$ac_path_FGREP_found && break 3 |
|
4048 |
done |
|
4049 |
done |
|
4050 |
done |
|
4051 |
IFS=$as_save_IFS |
|
4052 |
if test -z "$ac_cv_path_FGREP"; then |
|
4053 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4054 |
fi |
|
4055 |
else |
|
4056 |
ac_cv_path_FGREP=$FGREP |
|
4057 |
fi |
|
4058 |
|
|
4059 |
fi |
|
4060 |
fi |
|
4061 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
|
4062 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
4063 |
FGREP="$ac_cv_path_FGREP" |
|
4064 |
|
|
4065 |
|
|
4066 |
test -z "$GREP" && GREP=grep |
|
4067 |
|
|
4068 |
|
|
4069 |
|
|
4070 |
|
|
4071 |
|
|
4072 |
|
|
4073 |
|
|
4074 |
|
|
4075 |
|
|
4076 |
|
|
4077 |
|
|
4078 |
|
|
4079 |
|
|
4080 |
|
|
4081 |
|
|
4082 |
|
|
4083 |
|
|
4084 |
|
|
4085 |
|
|
4086 |
# Check whether --with-gnu-ld was given. |
|
4087 |
if test "${with_gnu_ld+set}" = set; then : |
|
4088 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
4089 |
else |
|
4090 |
with_gnu_ld=no |
|
4091 |
fi |
|
4092 |
|
|
4093 |
ac_prog=ld |
|
4094 |
if test "$GCC" = yes; then |
|
4095 |
# Check if gcc -print-prog-name=ld gives a path. |
|
4096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
|
4097 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
4098 |
case $host in |
|
4099 |
*-*-mingw*) |
|
4100 |
# gcc leaves a trailing carriage return which upsets mingw |
|
4101 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
4102 |
*) |
|
4103 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
4104 |
esac |
|
4105 |
case $ac_prog in |
|
4106 |
# Accept absolute paths. |
|
4107 |
[\\/]* | ?:[\\/]*) |
|
4108 |
re_direlt='/[^/][^/]*/\.\./' |
|
4109 |
# Canonicalize the pathname of ld |
|
4110 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
|
4111 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
4112 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
4113 |
done |
|
4114 |
test -z "$LD" && LD="$ac_prog" |
|
4115 |
;; |
|
4116 |
"") |
|
4117 |
# If it fails, then pretend we aren't using GCC. |
|
4118 |
ac_prog=ld |
|
4119 |
;; |
|
4120 |
*) |
|
4121 |
# If it is relative, then search for the first ld in PATH. |
|
4122 |
with_gnu_ld=unknown |
|
4123 |
;; |
|
4124 |
esac |
|
4125 |
elif test "$with_gnu_ld" = yes; then |
|
4126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
|
4127 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
4128 |
else |
|
4129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
|
4130 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
4131 |
fi |
|
4132 |
if ${lt_cv_path_LD+:} false; then : |
|
4133 |
$as_echo_n "(cached) " >&6 |
|
4134 |
else |
|
4135 |
if test -z "$LD"; then |
|
4136 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4137 |
for ac_dir in $PATH; do |
|
4138 |
IFS="$lt_save_ifs" |
|
4139 |
test -z "$ac_dir" && ac_dir=. |
|
4140 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
4141 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
4142 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
4143 |
# but apparently some variants of GNU ld only accept -v. |
|
4144 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
4145 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
4146 |
*GNU* | *'with BFD'*) |
|
4147 |
test "$with_gnu_ld" != no && break |
|
4148 |
;; |
|
4149 |
*) |
|
4150 |
test "$with_gnu_ld" != yes && break |
|
4151 |
;; |
|
4152 |
esac |
|
4153 |
fi |
|
4154 |
done |
|
4155 |
IFS="$lt_save_ifs" |
|
4156 |
else |
|
4157 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
4158 |
fi |
|
4159 |
fi |
|
4160 |
|
|
4161 |
LD="$lt_cv_path_LD" |
|
4162 |
if test -n "$LD"; then |
|
4163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
|
4164 |
$as_echo "$LD" >&6; } |
|
4165 |
else |
|
4166 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4167 |
$as_echo "no" >&6; } |
|
4168 |
fi |
|
4169 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
|
4170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
|
4171 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
4172 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
|
4173 |
$as_echo_n "(cached) " >&6 |
|
4174 |
else |
|
4175 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
4176 |
case `$LD -v 2>&1 </dev/null` in |
|
4177 |
*GNU* | *'with BFD'*) |
|
4178 |
lt_cv_prog_gnu_ld=yes |
|
4179 |
;; |
|
4180 |
*) |
|
4181 |
lt_cv_prog_gnu_ld=no |
|
4182 |
;; |
|
4183 |
esac |
|
4184 |
fi |
|
4185 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
|
4186 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
4187 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
4188 |
|
|
4189 |
|
|
4190 |
|
|
4191 |
|
|
4192 |
|
|
4193 |
|
|
4194 |
|
|
4195 |
|
|
4196 |
|
|
4197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
4198 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
4199 |
if ${lt_cv_path_NM+:} false; then : |
|
4200 |
$as_echo_n "(cached) " >&6 |
|
4201 |
else |
|
4202 |
if test -n "$NM"; then |
|
4203 |
# Let the user override the test. |
|
4204 |
lt_cv_path_NM="$NM" |
|
4205 |
else |
|
4206 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
4207 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
4208 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
4209 |
fi |
|
4210 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
4211 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
4212 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
4213 |
IFS="$lt_save_ifs" |
|
4214 |
test -z "$ac_dir" && ac_dir=. |
|
4215 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
4216 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
4217 |
# Check to see if the nm accepts a BSD-compat flag. |
|
4218 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
4219 |
# nm: unknown option "B" ignored |
|
4220 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
4221 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
4222 |
*/dev/null* | *'Invalid file or object type'*) |
|
4223 |
lt_cv_path_NM="$tmp_nm -B" |
|
4224 |
break |
|
4225 |
;; |
|
4226 |
*) |
|
4227 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
4228 |
*/dev/null*) |
|
4229 |
lt_cv_path_NM="$tmp_nm -p" |
|
4230 |
break |
|
4231 |
;; |
|
4232 |
*) |
|
4233 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
4234 |
continue # so that we can try to find one that supports BSD flags |
|
4235 |
;; |
|
4236 |
esac |
|
4237 |
;; |
|
4238 |
esac |
|
4239 |
fi |
|
4240 |
done |
|
4241 |
IFS="$lt_save_ifs" |
|
4242 |
done |
|
4243 |
: ${lt_cv_path_NM=no} |
|
4244 |
fi |
|
4245 |
fi |
|
4246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
|
4247 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
4248 |
if test "$lt_cv_path_NM" != "no"; then |
|
4249 |
NM="$lt_cv_path_NM" |
|
4250 |
else |
|
4251 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
4252 |
if test -n "$DUMPBIN"; then : |
|
4253 |
# Let the user override the test. |
|
4254 |
else |
|
4255 |
if test -n "$ac_tool_prefix"; then |
|
4256 |
for ac_prog in dumpbin "link -dump" |
|
4257 |
do |
|
4258 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4259 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4260 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4261 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4262 |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
|
4263 |
$as_echo_n "(cached) " >&6 |
|
4264 |
else |
|
4265 |
if test -n "$DUMPBIN"; then |
|
4266 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
4267 |
else |
|
4268 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4269 |
for as_dir in $PATH |
|
4270 |
do |
|
4271 |
IFS=$as_save_IFS |
|
4272 |
test -z "$as_dir" && as_dir=. |
|
4273 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4274 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
4275 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
4276 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4277 |
break 2 |
|
4278 |
fi |
|
4279 |
done |
|
4280 |
done |
|
4281 |
IFS=$as_save_IFS |
|
4282 |
|
|
4283 |
fi |
|
4284 |
fi |
|
4285 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
4286 |
if test -n "$DUMPBIN"; then |
|
4287 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
|
4288 |
$as_echo "$DUMPBIN" >&6; } |
|
4289 |
else |
|
4290 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4291 |
$as_echo "no" >&6; } |
|
4292 |
fi |
|
4293 |
|
|
4294 |
|
|
4295 |
test -n "$DUMPBIN" && break |
|
4296 |
done |
|
4297 |
fi |
|
4298 |
if test -z "$DUMPBIN"; then |
|
4299 |
ac_ct_DUMPBIN=$DUMPBIN |
|
4300 |
for ac_prog in dumpbin "link -dump" |
|
4301 |
do |
|
4302 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4303 |
set dummy $ac_prog; ac_word=$2 |
|
4304 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4305 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4306 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
|
4307 |
$as_echo_n "(cached) " >&6 |
|
4308 |
else |
|
4309 |
if test -n "$ac_ct_DUMPBIN"; then |
|
4310 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
4311 |
else |
|
4312 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4313 |
for as_dir in $PATH |
|
4314 |
do |
|
4315 |
IFS=$as_save_IFS |
|
4316 |
test -z "$as_dir" && as_dir=. |
|
4317 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4318 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
4319 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
4320 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4321 |
break 2 |
|
4322 |
fi |
|
4323 |
done |
|
4324 |
done |
|
4325 |
IFS=$as_save_IFS |
|
4326 |
|
|
4327 |
fi |
|
4328 |
fi |
|
4329 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
4330 |
if test -n "$ac_ct_DUMPBIN"; then |
|
4331 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
|
4332 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
4333 |
else |
|
4334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4335 |
$as_echo "no" >&6; } |
|
4336 |
fi |
|
4337 |
|
|
4338 |
|
|
4339 |
test -n "$ac_ct_DUMPBIN" && break |
|
4340 |
done |
|
4341 |
|
|
4342 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
4343 |
DUMPBIN=":" |
|
4344 |
else |
|
4345 |
case $cross_compiling:$ac_tool_warned in |
|
4346 |
yes:) |
|
4347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4348 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4349 |
ac_tool_warned=yes ;; |
|
4350 |
esac |
|
4351 |
DUMPBIN=$ac_ct_DUMPBIN |
|
4352 |
fi |
|
4353 |
fi |
|
4354 |
|
|
4355 |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
|
4356 |
*COFF*) |
|
4357 |
DUMPBIN="$DUMPBIN -symbols" |
|
4358 |
;; |
|
4359 |
*) |
|
4360 |
DUMPBIN=: |
|
4361 |
;; |
|
4362 |
esac |
|
4363 |
fi |
|
4364 |
|
|
4365 |
if test "$DUMPBIN" != ":"; then |
|
4366 |
NM="$DUMPBIN" |
|
4367 |
fi |
|
4368 |
fi |
|
4369 |
test -z "$NM" && NM=nm |
|
4370 |
|
|
4371 |
|
|
4372 |
|
|
4373 |
|
|
4374 |
|
|
4375 |
|
|
4376 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
|
4377 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
4378 |
if ${lt_cv_nm_interface+:} false; then : |
|
4379 |
$as_echo_n "(cached) " >&6 |
|
4380 |
else |
|
4381 |
lt_cv_nm_interface="BSD nm" |
|
4382 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
4383 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
|
4384 |
(eval "$ac_compile" 2>conftest.err) |
|
4385 |
cat conftest.err >&5 |
|
4386 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
4387 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
|
4388 |
cat conftest.err >&5 |
|
4389 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
|
4390 |
cat conftest.out >&5 |
|
4391 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
4392 |
lt_cv_nm_interface="MS dumpbin" |
|
4393 |
fi |
|
4394 |
rm -f conftest* |
|
4395 |
fi |
|
4396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
|
4397 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
4398 |
|
|
4399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
4400 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
4401 |
LN_S=$as_ln_s |
|
4402 |
if test "$LN_S" = "ln -s"; then |
|
4403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
4404 |
$as_echo "yes" >&6; } |
|
4405 |
else |
|
4406 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
4407 |
$as_echo "no, using $LN_S" >&6; } |
|
4408 |
fi |
|
4409 |
|
|
4410 |
# find the maximum length of command line arguments |
|
4411 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
|
4412 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
4413 |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
|
4414 |
$as_echo_n "(cached) " >&6 |
|
4415 |
else |
|
4416 |
i=0 |
|
4417 |
teststring="ABCD" |
|
4418 |
|
|
4419 |
case $build_os in |
|
4420 |
msdosdjgpp*) |
|
4421 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
4422 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
4423 |
# during glob expansion). Even if it were fixed, the result of this |
|
4424 |
# check would be larger than it should be. |
|
4425 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
4426 |
;; |
|
4427 |
|
|
4428 |
gnu*) |
|
4429 |
# Under GNU Hurd, this test is not required because there is |
|
4430 |
# no limit to the length of command line arguments. |
|
4431 |
# Libtool will interpret -1 as no limit whatsoever |
|
4432 |
lt_cv_sys_max_cmd_len=-1; |
|
4433 |
;; |
|
4434 |
|
|
4435 |
cygwin* | mingw* | cegcc*) |
|
4436 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
4437 |
# about 5 minutes as the teststring grows exponentially. |
|
4438 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
4439 |
# you end up with a "frozen" computer, even though with patience |
|
4440 |
# the test eventually succeeds (with a max line length of 256k). |
|
4441 |
# Instead, let's just punt: use the minimum linelength reported by |
|
4442 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
4443 |
lt_cv_sys_max_cmd_len=8192; |
|
4444 |
;; |
|
4445 |
|
|
4446 |
mint*) |
|
4447 |
# On MiNT this can take a long time and run out of memory. |
|
4448 |
lt_cv_sys_max_cmd_len=8192; |
|
4449 |
;; |
|
4450 |
|
|
4451 |
amigaos*) |
|
4452 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
4453 |
# So we just punt and use a minimum line length of 8192. |
|
4454 |
lt_cv_sys_max_cmd_len=8192; |
|
4455 |
;; |
|
4456 |
|
|
4457 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
4458 |
# This has been around since 386BSD, at least. Likely further. |
|
4459 |
if test -x /sbin/sysctl; then |
|
4460 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
4461 |
elif test -x /usr/sbin/sysctl; then |
|
4462 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
4463 |
else |
|
4464 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
4465 |
fi |
|
4466 |
# And add a safety zone |
|
4467 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
4468 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
4469 |
;; |
|
4470 |
|
|
4471 |
interix*) |
|
4472 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
4473 |
lt_cv_sys_max_cmd_len=196608 |
|
4474 |
;; |
|
4475 |
|
|
4476 |
os2*) |
|
4477 |
# The test takes a long time on OS/2. |
|
4478 |
lt_cv_sys_max_cmd_len=8192 |
|
4479 |
;; |
|
4480 |
|
|
4481 |
osf*) |
|
4482 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
4483 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
4484 |
# nice to cause kernel panics so lets avoid the loop below. |
|
4485 |
# First set a reasonable default. |
|
4486 |
lt_cv_sys_max_cmd_len=16384 |
|
4487 |
# |
|
4488 |
if test -x /sbin/sysconfig; then |
|
4489 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
4490 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
4491 |
esac |
|
4492 |
fi |
|
4493 |
;; |
|
4494 |
sco3.2v5*) |
|
4495 |
lt_cv_sys_max_cmd_len=102400 |
|
4496 |
;; |
|
4497 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
4498 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
4499 |
if test -n "$kargmax"; then |
|
4500 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
4501 |
else |
|
4502 |
lt_cv_sys_max_cmd_len=32768 |
|
4503 |
fi |
|
4504 |
;; |
|
4505 |
*) |
|
4506 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
4507 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
4508 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
4509 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
4510 |
else |
|
4511 |
# Make teststring a little bigger before we do anything with it. |
|
4512 |
# a 1K string should be a reasonable start. |
|
4513 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
4514 |
teststring=$teststring$teststring |
|
4515 |
done |
|
4516 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
4517 |
# If test is not a shell built-in, we'll probably end up computing a |
|
4518 |
# maximum length that is only half of the actual maximum length, but |
|
4519 |
# we can't tell. |
|
4520 |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
|
4521 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
|
4522 |
test $i != 17 # 1/2 MB should be enough |
|
4523 |
do |
|
4524 |
i=`expr $i + 1` |
|
4525 |
teststring=$teststring$teststring |
|
4526 |
done |
|
4527 |
# Only check the string length outside the loop. |
|
4528 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
4529 |
teststring= |
|
4530 |
# Add a significant safety factor because C++ compilers can tack on |
|
4531 |
# massive amounts of additional arguments before passing them to the |
|
4532 |
# linker. It appears as though 1/2 is a usable value. |
|
4533 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
4534 |
fi |
|
4535 |
;; |
|
4536 |
esac |
|
4537 |
|
|
4538 |
fi |
|
4539 |
|
|
4540 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
4541 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
|
4542 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
4543 |
else |
|
4544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
|
4545 |
$as_echo "none" >&6; } |
|
4546 |
fi |
|
4547 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
4548 |
|
|
4549 |
|
|
4550 |
|
|
4551 |
|
|
4552 |
|
|
4553 |
|
|
4554 |
: ${CP="cp -f"} |
|
4555 |
: ${MV="mv -f"} |
|
4556 |
: ${RM="rm -f"} |
|
4557 |
|
|
4558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
|
4559 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
4560 |
# Try some XSI features |
|
4561 |
xsi_shell=no |
|
4562 |
( _lt_dummy="a/b/c" |
|
4563 |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
|
4564 |
= c,a/b,b/c, \ |
|
4565 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
|
4566 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
4567 |
&& xsi_shell=yes |
|
4568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
|
4569 |
$as_echo "$xsi_shell" >&6; } |
|
4570 |
|
|
4571 |
|
|
4572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
|
4573 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
4574 |
lt_shell_append=no |
|
4575 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
4576 |
>/dev/null 2>&1 \ |
|
4577 |
&& lt_shell_append=yes |
|
4578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
|
4579 |
$as_echo "$lt_shell_append" >&6; } |
|
4580 |
|
|
4581 |
|
|
4582 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
4583 |
lt_unset=unset |
|
4584 |
else |
|
4585 |
lt_unset=false |
|
4586 |
fi |
|
4587 |
|
|
4588 |
|
|
4589 |
|
|
4590 |
|
|
4591 |
|
|
4592 |
# test EBCDIC or ASCII |
|
4593 |
case `echo X|tr X '\101'` in |
|
4594 |
A) # ASCII based system |
|
4595 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
4596 |
lt_SP2NL='tr \040 \012' |
|
4597 |
lt_NL2SP='tr \015\012 \040\040' |
|
4598 |
;; |
|
4599 |
*) # EBCDIC based system |
|
4600 |
lt_SP2NL='tr \100 \n' |
|
4601 |
lt_NL2SP='tr \r\n \100\100' |
|
4602 |
;; |
|
4603 |
esac |
|
4604 |
|
|
4605 |
|
|
4606 |
|
|
4607 |
|
|
4608 |
|
|
4609 |
|
|
4610 |
|
|
4611 |
|
|
4612 |
|
|
4613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
|
4614 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
|
4615 |
if ${lt_cv_to_host_file_cmd+:} false; then : |
|
4616 |
$as_echo_n "(cached) " >&6 |
|
4617 |
else |
|
4618 |
case $host in |
|
4619 |
*-*-mingw* ) |
|
4620 |
case $build in |
|
4621 |
*-*-mingw* ) # actually msys |
|
4622 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
|
4623 |
;; |
|
4624 |
*-*-cygwin* ) |
|
4625 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
|
4626 |
;; |
|
4627 |
* ) # otherwise, assume *nix |
|
4628 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
|
4629 |
;; |
|
4630 |
esac |
|
4631 |
;; |
|
4632 |
*-*-cygwin* ) |
|
4633 |
case $build in |
|
4634 |
*-*-mingw* ) # actually msys |
|
4635 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
|
4636 |
;; |
|
4637 |
*-*-cygwin* ) |
|
4638 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
4639 |
;; |
|
4640 |
* ) # otherwise, assume *nix |
|
4641 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
|
4642 |
;; |
|
4643 |
esac |
|
4644 |
;; |
|
4645 |
* ) # unhandled hosts (and "normal" native builds) |
|
4646 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
4647 |
;; |
|
4648 |
esac |
|
4649 |
|
|
4650 |
fi |
|
4651 |
|
|
4652 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
4653 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
|
4654 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
4655 |
|
|
4656 |
|
|
4657 |
|
|
4658 |
|
|
4659 |
|
|
4660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
|
4661 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
|
4662 |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
|
4663 |
$as_echo_n "(cached) " >&6 |
|
4664 |
else |
|
4665 |
#assume ordinary cross tools, or native build. |
|
4666 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
|
4667 |
case $host in |
|
4668 |
*-*-mingw* ) |
|
4669 |
case $build in |
|
4670 |
*-*-mingw* ) # actually msys |
|
4671 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
|
4672 |
;; |
|
4673 |
esac |
|
4674 |
;; |
|
4675 |
esac |
|
4676 |
|
|
4677 |
fi |
|
4678 |
|
|
4679 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
4680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
|
4681 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
4682 |
|
|
4683 |
|
|
4684 |
|
|
4685 |
|
|
4686 |
|
|
4687 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
|
4688 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
4689 |
if ${lt_cv_ld_reload_flag+:} false; then : |
|
4690 |
$as_echo_n "(cached) " >&6 |
|
4691 |
else |
|
4692 |
lt_cv_ld_reload_flag='-r' |
|
4693 |
fi |
|
4694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
|
4695 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
4696 |
reload_flag=$lt_cv_ld_reload_flag |
|
4697 |
case $reload_flag in |
|
4698 |
"" | " "*) ;; |
|
4699 |
*) reload_flag=" $reload_flag" ;; |
|
4700 |
esac |
|
4701 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
4702 |
case $host_os in |
|
4703 |
cygwin* | mingw* | pw32* | cegcc*) |
|
4704 |
if test "$GCC" != yes; then |
|
4705 |
reload_cmds=false |
|
4706 |
fi |
|
4707 |
;; |
|
4708 |
darwin*) |
|
4709 |
if test "$GCC" = yes; then |
|
4710 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
4711 |
else |
|
4712 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
4713 |
fi |
|
4714 |
;; |
|
4715 |
esac |
|
4716 |
|
|
4717 |
|
|
4718 |
|
|
4719 |
|
|
4720 |
|
|
4721 |
|
|
4722 |
|
|
4723 |
|
|
4724 |
|
|
4725 |
if test -n "$ac_tool_prefix"; then |
|
4726 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
4727 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
4728 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4729 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4730 |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
|
4731 |
$as_echo_n "(cached) " >&6 |
|
4732 |
else |
|
4733 |
if test -n "$OBJDUMP"; then |
|
4734 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
4735 |
else |
|
4736 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4737 |
for as_dir in $PATH |
|
4738 |
do |
|
4739 |
IFS=$as_save_IFS |
|
4740 |
test -z "$as_dir" && as_dir=. |
|
4741 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4742 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
4743 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
4744 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4745 |
break 2 |
|
4746 |
fi |
|
4747 |
done |
|
4748 |
done |
|
4749 |
IFS=$as_save_IFS |
|
4750 |
|
|
4751 |
fi |
|
4752 |
fi |
|
4753 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
4754 |
if test -n "$OBJDUMP"; then |
|
4755 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
|
4756 |
$as_echo "$OBJDUMP" >&6; } |
|
4757 |
else |
|
4758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4759 |
$as_echo "no" >&6; } |
|
4760 |
fi |
|
4761 |
|
|
4762 |
|
|
4763 |
fi |
|
4764 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
4765 |
ac_ct_OBJDUMP=$OBJDUMP |
|
4766 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
4767 |
set dummy objdump; ac_word=$2 |
|
4768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4769 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4770 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
|
4771 |
$as_echo_n "(cached) " >&6 |
|
4772 |
else |
|
4773 |
if test -n "$ac_ct_OBJDUMP"; then |
|
4774 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
4775 |
else |
|
4776 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4777 |
for as_dir in $PATH |
|
4778 |
do |
|
4779 |
IFS=$as_save_IFS |
|
4780 |
test -z "$as_dir" && as_dir=. |
|
4781 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4782 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
4783 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
4784 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4785 |
break 2 |
|
4786 |
fi |
|
4787 |
done |
|
4788 |
done |
|
4789 |
IFS=$as_save_IFS |
|
4790 |
|
|
4791 |
fi |
|
4792 |
fi |
|
4793 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
4794 |
if test -n "$ac_ct_OBJDUMP"; then |
|
4795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
|
4796 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
4797 |
else |
|
4798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4799 |
$as_echo "no" >&6; } |
|
4800 |
fi |
|
4801 |
|
|
4802 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
4803 |
OBJDUMP="false" |
|
4804 |
else |
|
4805 |
case $cross_compiling:$ac_tool_warned in |
|
4806 |
yes:) |
|
4807 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4808 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4809 |
ac_tool_warned=yes ;; |
|
4810 |
esac |
|
4811 |
OBJDUMP=$ac_ct_OBJDUMP |
|
4812 |
fi |
|
4813 |
else |
|
4814 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
4815 |
fi |
|
4816 |
|
|
4817 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
4818 |
|
|
4819 |
|
|
4820 |
|
|
4821 |
|
|
4822 |
|
|
4823 |
|
|
4824 |
|
|
4825 |
|
|
4826 |
|
|
4827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
|
4828 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
4829 |
if ${lt_cv_deplibs_check_method+:} false; then : |
|
4830 |
$as_echo_n "(cached) " >&6 |
|
4831 |
else |
|
4832 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
4833 |
lt_cv_file_magic_test_file= |
|
4834 |
lt_cv_deplibs_check_method='unknown' |
|
4835 |
# Need to set the preceding variable on all platforms that support |
|
4836 |
# interlibrary dependencies. |
|
4837 |
# 'none' -- dependencies not supported. |
|
4838 |
# `unknown' -- same as none, but documents that we really don't know. |
|
4839 |
# 'pass_all' -- all dependencies passed with no checks. |
|
4840 |
# 'test_compile' -- check by making test program. |
|
4841 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
4842 |
# which responds to the $file_magic_cmd with a given extended regex. |
|
4843 |
# If you have `file' or equivalent on your system and you're not sure |
|
4844 |
# whether `pass_all' will *always* work, you probably want this one. |
|
4845 |
|
|
4846 |
case $host_os in |
|
4847 |
aix[4-9]*) |
|
4848 |
lt_cv_deplibs_check_method=pass_all |
|
4849 |
;; |
|
4850 |
|
|
4851 |
beos*) |
|
4852 |
lt_cv_deplibs_check_method=pass_all |
|
4853 |
;; |
|
4854 |
|
|
4855 |
bsdi[45]*) |
|
4856 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
4857 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
4858 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
4859 |
;; |
|
4860 |
|
|
4861 |
cygwin*) |
|
4862 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
4863 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
4864 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
4865 |
;; |
|
4866 |
|
|
4867 |
mingw* | pw32*) |
|
4868 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
4869 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
|
4870 |
# unless we find 'file', for example because we are cross-compiling. |
|
4871 |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
|
4872 |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
|
4873 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
4874 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
4875 |
else |
|
4876 |
# Keep this pattern in sync with the one in func_win32_libid. |
|
4877 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
|
4878 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
4879 |
fi |
|
4880 |
;; |
|
4881 |
|
|
4882 |
cegcc*) |
|
4883 |
# use the weaker test based on 'objdump'. See mingw*. |
|
4884 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
4885 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
4886 |
;; |
|
4887 |
|
|
4888 |
darwin* | rhapsody*) |
|
4889 |
lt_cv_deplibs_check_method=pass_all |
|
4890 |
;; |
|
4891 |
|
|
4892 |
freebsd* | dragonfly*) |
|
4893 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
4894 |
case $host_cpu in |
|
4895 |
i*86 ) |
|
4896 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
4897 |
# Let's accept both of them until this is cleared up. |
|
4898 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
4899 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
4900 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
4901 |
;; |
|
4902 |
esac |
|
4903 |
else |
|
4904 |
lt_cv_deplibs_check_method=pass_all |
|
4905 |
fi |
|
4906 |
;; |
|
4907 |
|
|
4908 |
gnu*) |
|
4909 |
lt_cv_deplibs_check_method=pass_all |
|
4910 |
;; |
|
4911 |
|
|
4912 |
haiku*) |
|
4913 |
lt_cv_deplibs_check_method=pass_all |
|
4914 |
;; |
|
4915 |
|
|
4916 |
hpux10.20* | hpux11*) |
|
4917 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
4918 |
case $host_cpu in |
|
4919 |
ia64*) |
|
4920 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
4921 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
4922 |
;; |
|
4923 |
hppa*64*) |
|
4924 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
|
4925 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
|
4926 |
;; |
|
4927 |
*) |
|
4928 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
|
4929 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
4930 |
;; |
|
4931 |
esac |
|
4932 |
;; |
|
4933 |
|
|
4934 |
interix[3-9]*) |
|
4935 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
4936 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
4937 |
;; |
|
4938 |
|
|
4939 |
irix5* | irix6* | nonstopux*) |
|
4940 |
case $LD in |
|
4941 |
*-32|*"-32 ") libmagic=32-bit;; |
|
4942 |
*-n32|*"-n32 ") libmagic=N32;; |
|
4943 |
*-64|*"-64 ") libmagic=64-bit;; |
|
4944 |
*) libmagic=never-match;; |
|
4945 |
esac |
|
4946 |
lt_cv_deplibs_check_method=pass_all |
|
4947 |
;; |
|
4948 |
|
|
4949 |
# This must be glibc/ELF. |
|
4950 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
4951 |
lt_cv_deplibs_check_method=pass_all |
|
4952 |
;; |
|
4953 |
|
|
4954 |
netbsd*) |
|
4955 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
4956 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
4957 |
else |
|
4958 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
4959 |
fi |
|
4960 |
;; |
|
4961 |
|
|
4962 |
newos6*) |
|
4963 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
4964 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
4965 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
4966 |
;; |
|
4967 |
|
|
4968 |
*nto* | *qnx*) |
|
4969 |
lt_cv_deplibs_check_method=pass_all |
|
4970 |
;; |
|
4971 |
|
|
4972 |
openbsd*) |
|
4973 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
4974 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
4975 |
else |
|
4976 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
4977 |
fi |
|
4978 |
;; |
|
4979 |
|
|
4980 |
osf3* | osf4* | osf5*) |
|
4981 |
lt_cv_deplibs_check_method=pass_all |
|
4982 |
;; |
|
4983 |
|
|
4984 |
rdos*) |
|
4985 |
lt_cv_deplibs_check_method=pass_all |
|
4986 |
;; |
|
4987 |
|
|
4988 |
solaris*) |
|
4989 |
lt_cv_deplibs_check_method=pass_all |
|
4990 |
;; |
|
4991 |
|
|
4992 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
4993 |
lt_cv_deplibs_check_method=pass_all |
|
4994 |
;; |
|
4995 |
|
|
4996 |
sysv4 | sysv4.3*) |
|
4997 |
case $host_vendor in |
|
4998 |
motorola) |
|
4999 |
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]' |
|
5000 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
5001 |
;; |
|
5002 |
ncr) |
|
5003 |
lt_cv_deplibs_check_method=pass_all |
|
5004 |
;; |
|
5005 |
sequent) |
|
5006 |
lt_cv_file_magic_cmd='/bin/file' |
|
5007 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
5008 |
;; |
|
5009 |
sni) |
|
5010 |
lt_cv_file_magic_cmd='/bin/file' |
|
5011 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
5012 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
5013 |
;; |
|
5014 |
siemens) |
|
5015 |
lt_cv_deplibs_check_method=pass_all |
|
5016 |
;; |
|
5017 |
pc) |
|
5018 |
lt_cv_deplibs_check_method=pass_all |
|
5019 |
;; |
|
5020 |
esac |
|
5021 |
;; |
|
5022 |
|
|
5023 |
tpf*) |
|
5024 |
lt_cv_deplibs_check_method=pass_all |
|
5025 |
;; |
|
5026 |
esac |
|
5027 |
|
|
5028 |
fi |
|
5029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
|
5030 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
5031 |
|
|
5032 |
file_magic_glob= |
|
5033 |
want_nocaseglob=no |
|
5034 |
if test "$build" = "$host"; then |
|
5035 |
case $host_os in |
|
5036 |
mingw* | pw32*) |
|
5037 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
|
5038 |
want_nocaseglob=yes |
|
5039 |
else |
|
5040 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
|
5041 |
fi |
|
5042 |
;; |
|
5043 |
esac |
|
5044 |
fi |
|
5045 |
|
|
5046 |
file_magic_cmd=$lt_cv_file_magic_cmd |
|
5047 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
5048 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
5049 |
|
|
5050 |
|
|
5051 |
|
|
5052 |
|
|
5053 |
|
|
5054 |
|
|
5055 |
|
|
5056 |
|
|
5057 |
|
|
5058 |
|
|
5059 |
|
|
5060 |
|
|
5061 |
|
|
5062 |
|
|
5063 |
|
|
5064 |
|
|
5065 |
|
|
5066 |
|
|
5067 |
|
|
5068 |
|
|
5069 |
|
|
5070 |
|
|
5071 |
if test -n "$ac_tool_prefix"; then |
|
5072 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
5073 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
5074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5075 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5076 |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
|
5077 |
$as_echo_n "(cached) " >&6 |
|
5078 |
else |
|
5079 |
if test -n "$DLLTOOL"; then |
|
5080 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
5081 |
else |
|
5082 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5083 |
for as_dir in $PATH |
|
5084 |
do |
|
5085 |
IFS=$as_save_IFS |
|
5086 |
test -z "$as_dir" && as_dir=. |
|
5087 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5088 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5089 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
5090 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5091 |
break 2 |
|
5092 |
fi |
|
5093 |
done |
|
5094 |
done |
|
5095 |
IFS=$as_save_IFS |
|
5096 |
|
|
5097 |
fi |
|
5098 |
fi |
|
5099 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
5100 |
if test -n "$DLLTOOL"; then |
|
5101 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
|
5102 |
$as_echo "$DLLTOOL" >&6; } |
|
5103 |
else |
|
5104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5105 |
$as_echo "no" >&6; } |
|
5106 |
fi |
|
5107 |
|
|
5108 |
|
|
5109 |
fi |
|
5110 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
5111 |
ac_ct_DLLTOOL=$DLLTOOL |
|
5112 |
# Extract the first word of "dlltool", so it can be a program name with args. |
|
5113 |
set dummy dlltool; ac_word=$2 |
|
5114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5115 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5116 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
|
5117 |
$as_echo_n "(cached) " >&6 |
|
5118 |
else |
|
5119 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5120 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
5121 |
else |
|
5122 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5123 |
for as_dir in $PATH |
|
5124 |
do |
|
5125 |
IFS=$as_save_IFS |
|
5126 |
test -z "$as_dir" && as_dir=. |
|
5127 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5128 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5129 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
5130 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5131 |
break 2 |
|
5132 |
fi |
|
5133 |
done |
|
5134 |
done |
|
5135 |
IFS=$as_save_IFS |
|
5136 |
|
|
5137 |
fi |
|
5138 |
fi |
|
5139 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
5140 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
|
5142 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
5143 |
else |
|
5144 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5145 |
$as_echo "no" >&6; } |
|
5146 |
fi |
|
5147 |
|
|
5148 |
if test "x$ac_ct_DLLTOOL" = x; then |
|
5149 |
DLLTOOL="false" |
|
5150 |
else |
|
5151 |
case $cross_compiling:$ac_tool_warned in |
|
5152 |
yes:) |
|
5153 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5154 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5155 |
ac_tool_warned=yes ;; |
|
5156 |
esac |
|
5157 |
DLLTOOL=$ac_ct_DLLTOOL |
|
5158 |
fi |
|
5159 |
else |
|
5160 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
5161 |
fi |
|
5162 |
|
|
5163 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
5164 |
|
|
5165 |
|
|
5166 |
|
|
5167 |
|
|
5168 |
|
|
5169 |
|
|
5170 |
|
|
5171 |
|
|
5172 |
|
|
5173 |
|
|
5174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
|
5175 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
|
5176 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
|
5177 |
$as_echo_n "(cached) " >&6 |
|
5178 |
else |
|
5179 |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
5180 |
|
|
5181 |
case $host_os in |
|
5182 |
cygwin* | mingw* | pw32* | cegcc*) |
|
5183 |
# two different shell functions defined in ltmain.sh |
|
5184 |
# decide which to use based on capabilities of $DLLTOOL |
|
5185 |
case `$DLLTOOL --help 2>&1` in |
|
5186 |
*--identify-strict*) |
|
5187 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
|
5188 |
;; |
|
5189 |
*) |
|
5190 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
|
5191 |
;; |
|
5192 |
esac |
|
5193 |
;; |
|
5194 |
*) |
|
5195 |
# fallback: assume linklib IS sharedlib |
|
5196 |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
|
5197 |
;; |
|
5198 |
esac |
|
5199 |
|
|
5200 |
fi |
|
5201 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
|
5202 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
|
5203 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
|
5204 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
5205 |
|
|
5206 |
|
|
5207 |
|
|
5208 |
|
|
5209 |
|
|
5210 |
|
|
5211 |
|
|
5212 |
|
|
5213 |
if test -n "$ac_tool_prefix"; then |
|
5214 |
for ac_prog in ar |
|
5215 |
do |
|
5216 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
5217 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
5218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5219 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5220 |
if ${ac_cv_prog_AR+:} false; then : |
|
5221 |
$as_echo_n "(cached) " >&6 |
|
5222 |
else |
|
5223 |
if test -n "$AR"; then |
|
5224 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
5225 |
else |
|
5226 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5227 |
for as_dir in $PATH |
|
5228 |
do |
|
5229 |
IFS=$as_save_IFS |
|
5230 |
test -z "$as_dir" && as_dir=. |
|
5231 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5232 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5233 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
|
5234 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5235 |
break 2 |
|
5236 |
fi |
|
5237 |
done |
|
5238 |
done |
|
5239 |
IFS=$as_save_IFS |
|
5240 |
|
|
5241 |
fi |
|
5242 |
fi |
|
5243 |
AR=$ac_cv_prog_AR |
|
5244 |
if test -n "$AR"; then |
|
5245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
|
5246 |
$as_echo "$AR" >&6; } |
|
5247 |
else |
|
5248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5249 |
$as_echo "no" >&6; } |
|
5250 |
fi |
|
5251 |
|
|
5252 |
|
|
5253 |
test -n "$AR" && break |
|
5254 |
done |
|
5255 |
fi |
|
5256 |
if test -z "$AR"; then |
|
5257 |
ac_ct_AR=$AR |
|
5258 |
for ac_prog in ar |
|
5259 |
do |
|
5260 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5261 |
set dummy $ac_prog; ac_word=$2 |
|
5262 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5263 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5264 |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
|
5265 |
$as_echo_n "(cached) " >&6 |
|
5266 |
else |
|
5267 |
if test -n "$ac_ct_AR"; then |
|
5268 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
5269 |
else |
|
5270 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5271 |
for as_dir in $PATH |
|
5272 |
do |
|
5273 |
IFS=$as_save_IFS |
|
5274 |
test -z "$as_dir" && as_dir=. |
|
5275 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5276 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5277 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
|
5278 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5279 |
break 2 |
|
5280 |
fi |
|
5281 |
done |
|
5282 |
done |
|
5283 |
IFS=$as_save_IFS |
|
5284 |
|
|
5285 |
fi |
|
5286 |
fi |
|
5287 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
5288 |
if test -n "$ac_ct_AR"; then |
|
5289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
|
5290 |
$as_echo "$ac_ct_AR" >&6; } |
|
5291 |
else |
|
5292 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5293 |
$as_echo "no" >&6; } |
|
5294 |
fi |
|
5295 |
|
|
5296 |
|
|
5297 |
test -n "$ac_ct_AR" && break |
|
5298 |
done |
|
5299 |
|
|
5300 |
if test "x$ac_ct_AR" = x; then |
|
5301 |
AR="false" |
|
5302 |
else |
|
5303 |
case $cross_compiling:$ac_tool_warned in |
|
5304 |
yes:) |
|
5305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5306 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5307 |
ac_tool_warned=yes ;; |
|
5308 |
esac |
|
5309 |
AR=$ac_ct_AR |
|
5310 |
fi |
|
5311 |
fi |
|
5312 |
|
|
5313 |
: ${AR=ar} |
|
5314 |
: ${AR_FLAGS=cru} |
|
5315 |
|
|
5316 |
|
|
5317 |
|
|
5318 |
|
|
5319 |
|
|
5320 |
|
|
5321 |
|
|
5322 |
|
|
5323 |
|
|
5324 |
|
|
5325 |
|
|
5326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
|
5327 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
|
5328 |
if ${lt_cv_ar_at_file+:} false; then : |
|
5329 |
$as_echo_n "(cached) " >&6 |
|
5330 |
else |
|
5331 |
lt_cv_ar_at_file=no |
|
5332 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5333 |
/* end confdefs.h. */ |
|
5334 |
|
|
5335 |
int |
|
5336 |
main () |
|
5337 |
{ |
|
5338 |
|
|
5339 |
; |
|
5340 |
return 0; |
|
5341 |
} |
|
5342 |
_ACEOF |
|
5343 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
5344 |
echo conftest.$ac_objext > conftest.lst |
|
5345 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
|
5346 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
5347 |
(eval $lt_ar_try) 2>&5 |
|
5348 |
ac_status=$? |
|
5349 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5350 |
test $ac_status = 0; } |
|
5351 |
if test "$ac_status" -eq 0; then |
|
5352 |
# Ensure the archiver fails upon bogus file names. |
|
5353 |
rm -f conftest.$ac_objext libconftest.a |
|
5354 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
5355 |
(eval $lt_ar_try) 2>&5 |
|
5356 |
ac_status=$? |
|
5357 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5358 |
test $ac_status = 0; } |
|
5359 |
if test "$ac_status" -ne 0; then |
|
5360 |
lt_cv_ar_at_file=@ |
|
5361 |
fi |
|
5362 |
fi |
|
5363 |
rm -f conftest.* libconftest.a |
|
5364 |
|
|
5365 |
fi |
|
5366 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5367 |
|
|
5368 |
fi |
|
5369 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
|
5370 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
5371 |
|
|
5372 |
if test "x$lt_cv_ar_at_file" = xno; then |
|
5373 |
archiver_list_spec= |
|
5374 |
else |
|
5375 |
archiver_list_spec=$lt_cv_ar_at_file |
|
5376 |
fi |
|
5377 |
|
|
5378 |
|
|
5379 |
|
|
5380 |
|
|
5381 |
|
|
5382 |
|
|
5383 |
|
|
5384 |
if test -n "$ac_tool_prefix"; then |
|
5385 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
5386 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
5387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5388 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5389 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
5390 |
$as_echo_n "(cached) " >&6 |
|
5391 |
else |
|
5392 |
if test -n "$STRIP"; then |
|
5393 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
5394 |
else |
|
5395 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5396 |
for as_dir in $PATH |
|
5397 |
do |
|
5398 |
IFS=$as_save_IFS |
|
5399 |
test -z "$as_dir" && as_dir=. |
|
5400 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5401 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5402 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
5403 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5404 |
break 2 |
|
5405 |
fi |
|
5406 |
done |
|
5407 |
done |
|
5408 |
IFS=$as_save_IFS |
|
5409 |
|
|
5410 |
fi |
|
5411 |
fi |
|
5412 |
STRIP=$ac_cv_prog_STRIP |
|
5413 |
if test -n "$STRIP"; then |
|
5414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
5415 |
$as_echo "$STRIP" >&6; } |
|
5416 |
else |
|
5417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5418 |
$as_echo "no" >&6; } |
|
5419 |
fi |
|
5420 |
|
|
5421 |
|
|
5422 |
fi |
|
5423 |
if test -z "$ac_cv_prog_STRIP"; then |
|
5424 |
ac_ct_STRIP=$STRIP |
|
5425 |
# Extract the first word of "strip", so it can be a program name with args. |
|
5426 |
set dummy strip; ac_word=$2 |
|
5427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5428 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5429 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
5430 |
$as_echo_n "(cached) " >&6 |
|
5431 |
else |
|
5432 |
if test -n "$ac_ct_STRIP"; then |
|
5433 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
5434 |
else |
|
5435 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5436 |
for as_dir in $PATH |
|
5437 |
do |
|
5438 |
IFS=$as_save_IFS |
|
5439 |
test -z "$as_dir" && as_dir=. |
|
5440 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5441 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5442 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
5443 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5444 |
break 2 |
|
5445 |
fi |
|
5446 |
done |
|
5447 |
done |
|
5448 |
IFS=$as_save_IFS |
|
5449 |
|
|
5450 |
fi |
|
5451 |
fi |
|
5452 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
5453 |
if test -n "$ac_ct_STRIP"; then |
|
5454 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
5455 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
5456 |
else |
|
5457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5458 |
$as_echo "no" >&6; } |
|
5459 |
fi |
|
5460 |
|
|
5461 |
if test "x$ac_ct_STRIP" = x; then |
|
5462 |
STRIP=":" |
|
5463 |
else |
|
5464 |
case $cross_compiling:$ac_tool_warned in |
|
5465 |
yes:) |
|
5466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5467 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5468 |
ac_tool_warned=yes ;; |
|
5469 |
esac |
|
5470 |
STRIP=$ac_ct_STRIP |
|
5471 |
fi |
|
5472 |
else |
|
5473 |
STRIP="$ac_cv_prog_STRIP" |
|
5474 |
fi |
|
5475 |
|
|
5476 |
test -z "$STRIP" && STRIP=: |
|
5477 |
|
|
5478 |
|
|
5479 |
|
|
5480 |
|
|
5481 |
|
|
5482 |
|
|
5483 |
if test -n "$ac_tool_prefix"; then |
|
5484 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
5485 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
5486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5487 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5488 |
if ${ac_cv_prog_RANLIB+:} false; then : |
|
5489 |
$as_echo_n "(cached) " >&6 |
|
5490 |
else |
|
5491 |
if test -n "$RANLIB"; then |
|
5492 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
5493 |
else |
|
5494 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5495 |
for as_dir in $PATH |
|
5496 |
do |
|
5497 |
IFS=$as_save_IFS |
|
5498 |
test -z "$as_dir" && as_dir=. |
|
5499 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5500 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5501 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
5502 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5503 |
break 2 |
|
5504 |
fi |
|
5505 |
done |
|
5506 |
done |
|
5507 |
IFS=$as_save_IFS |
|
5508 |
|
|
5509 |
fi |
|
5510 |
fi |
|
5511 |
RANLIB=$ac_cv_prog_RANLIB |
|
5512 |
if test -n "$RANLIB"; then |
|
5513 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
5514 |
$as_echo "$RANLIB" >&6; } |
|
5515 |
else |
|
5516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5517 |
$as_echo "no" >&6; } |
|
5518 |
fi |
|
5519 |
|
|
5520 |
|
|
5521 |
fi |
|
5522 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
5523 |
ac_ct_RANLIB=$RANLIB |
|
5524 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
5525 |
set dummy ranlib; ac_word=$2 |
|
5526 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5527 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5528 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
|
5529 |
$as_echo_n "(cached) " >&6 |
|
5530 |
else |
|
5531 |
if test -n "$ac_ct_RANLIB"; then |
|
5532 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
5533 |
else |
|
5534 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5535 |
for as_dir in $PATH |
|
5536 |
do |
|
5537 |
IFS=$as_save_IFS |
|
5538 |
test -z "$as_dir" && as_dir=. |
|
5539 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5540 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5541 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
5542 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5543 |
break 2 |
|
5544 |
fi |
|
5545 |
done |
|
5546 |
done |
|
5547 |
IFS=$as_save_IFS |
|
5548 |
|
|
5549 |
fi |
|
5550 |
fi |
|
5551 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
5552 |
if test -n "$ac_ct_RANLIB"; then |
|
5553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
5554 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
5555 |
else |
|
5556 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5557 |
$as_echo "no" >&6; } |
|
5558 |
fi |
|
5559 |
|
|
5560 |
if test "x$ac_ct_RANLIB" = x; then |
|
5561 |
RANLIB=":" |
|
5562 |
else |
|
5563 |
case $cross_compiling:$ac_tool_warned in |
|
5564 |
yes:) |
|
5565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5566 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5567 |
ac_tool_warned=yes ;; |
|
5568 |
esac |
|
5569 |
RANLIB=$ac_ct_RANLIB |
|
5570 |
fi |
|
5571 |
else |
|
5572 |
RANLIB="$ac_cv_prog_RANLIB" |
|
5573 |
fi |
|
5574 |
|
|
5575 |
test -z "$RANLIB" && RANLIB=: |
|
5576 |
|
|
5577 |
|
|
5578 |
|
|
5579 |
|
|
5580 |
|
|
5581 |
|
|
5582 |
# Determine commands to create old-style static archives. |
|
5583 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
5584 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
5585 |
old_postuninstall_cmds= |
|
5586 |
|
|
5587 |
if test -n "$RANLIB"; then |
|
5588 |
case $host_os in |
|
5589 |
openbsd*) |
|
5590 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
|
5591 |
;; |
|
5592 |
*) |
|
5593 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
|
5594 |
;; |
|
5595 |
esac |
|
5596 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
|
5597 |
fi |
|
5598 |
|
|
5599 |
case $host_os in |
|
5600 |
darwin*) |
|
5601 |
lock_old_archive_extraction=yes ;; |
|
5602 |
*) |
|
5603 |
lock_old_archive_extraction=no ;; |
|
5604 |
esac |
|
5605 |
|
|
5606 |
|
|
5607 |
|
|
5608 |
|
|
5609 |
|
|
5610 |
|
|
5611 |
|
|
5612 |
|
|
5613 |
|
|
5614 |
|
|
5615 |
|
|
5616 |
|
|
5617 |
|
|
5618 |
|
|
5619 |
|
|
5620 |
|
|
5621 |
|
|
5622 |
|
|
5623 |
|
|
5624 |
|
|
5625 |
|
|
5626 |
|
|
5627 |
|
|
5628 |
|
|
5629 |
|
|
5630 |
|
|
5631 |
|
|
5632 |
|
|
5633 |
|
|
5634 |
|
|
5635 |
|
|
5636 |
|
|
5637 |
|
|
5638 |
|
|
5639 |
|
|
5640 |
|
|
5641 |
|
|
5642 |
|
|
5643 |
|
|
5644 |
# If no C compiler was specified, use CC. |
|
5645 |
LTCC=${LTCC-"$CC"} |
|
5646 |
|
|
5647 |
# If no C compiler flags were specified, use CFLAGS. |
|
5648 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
5649 |
|
|
5650 |
# Allow CC to be a program name with arguments. |
|
5651 |
compiler=$CC |
|
5652 |
|
|
5653 |
|
|
5654 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
5655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
|
5656 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
5657 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
|
5658 |
$as_echo_n "(cached) " >&6 |
|
5659 |
else |
|
5660 |
|
|
5661 |
# These are sane defaults that work on at least a few old systems. |
|
5662 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
5663 |
|
|
5664 |
# Character class describing NM global symbol codes. |
|
5665 |
symcode='[BCDEGRST]' |
|
5666 |
|
|
5667 |
# Regexp to match symbols that can be accessed directly from C. |
|
5668 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
5669 |
|
|
5670 |
# Define system-specific variables. |
|
5671 |
case $host_os in |
|
5672 |
aix*) |
|
5673 |
symcode='[BCDT]' |
|
5674 |
;; |
|
5675 |
cygwin* | mingw* | pw32* | cegcc*) |
|
5676 |
symcode='[ABCDGISTW]' |
|
5677 |
;; |
|
5678 |
hpux*) |
|
5679 |
if test "$host_cpu" = ia64; then |
|
5680 |
symcode='[ABCDEGRST]' |
|
5681 |
fi |
|
5682 |
;; |
|
5683 |
irix* | nonstopux*) |
|
5684 |
symcode='[BCDEGRST]' |
|
5685 |
;; |
|
5686 |
osf*) |
|
5687 |
symcode='[BCDEGQRST]' |
|
5688 |
;; |
|
5689 |
solaris*) |
|
5690 |
symcode='[BDRT]' |
|
5691 |
;; |
|
5692 |
sco3.2v5*) |
|
5693 |
symcode='[DT]' |
|
5694 |
;; |
|
5695 |
sysv4.2uw2*) |
|
5696 |
symcode='[DT]' |
|
5697 |
;; |
|
5698 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
5699 |
symcode='[ABDT]' |
|
5700 |
;; |
|
5701 |
sysv4) |
|
5702 |
symcode='[DFNSTU]' |
|
5703 |
;; |
|
5704 |
esac |
|
5705 |
|
|
5706 |
# If we're using GNU nm, then use its standard symbol codes. |
|
5707 |
case `$NM -V 2>&1` in |
|
5708 |
*GNU* | *'with BFD'*) |
|
5709 |
symcode='[ABCDGIRSTW]' ;; |
|
5710 |
esac |
|
5711 |
|
|
5712 |
# Transform an extracted symbol line into a proper C declaration. |
|
5713 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
5714 |
# so use this general approach. |
|
5715 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
5716 |
|
|
5717 |
# Transform an extracted symbol line into symbol name and symbol address |
|
5718 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
|
5719 |
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'" |
|
5720 |
|
|
5721 |
# Handle CRLF in mingw tool chain |
|
5722 |
opt_cr= |
|
5723 |
case $build_os in |
|
5724 |
mingw*) |
|
5725 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
5726 |
;; |
|
5727 |
esac |
|
5728 |
|
|
5729 |
# Try without a prefix underscore, then with it. |
|
5730 |
for ac_symprfx in "" "_"; do |
|
5731 |
|
|
5732 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
5733 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
5734 |
|
|
5735 |
# Write the raw and C identifiers. |
|
5736 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
5737 |
# Fake it for dumpbin and say T for any non-static function |
|
5738 |
# and D for any global variable. |
|
5739 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
5740 |
# which start with @ or ?. |
|
5741 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
5742 |
" {last_section=section; section=\$ 3};"\ |
|
5743 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
|
5744 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
|
5745 |
" \$ 0!~/External *\|/{next};"\ |
|
5746 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
5747 |
" {if(hide[section]) next};"\ |
|
5748 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
5749 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
5750 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
5751 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
5752 |
" ' prfx=^$ac_symprfx" |
|
5753 |
else |
|
5754 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
5755 |
fi |
|
5756 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
|
5757 |
|
|
5758 |
# Check to see that the pipe works correctly. |
|
5759 |
pipe_works=no |
|
5760 |
|
|
5761 |
rm -f conftest* |
|
5762 |
cat > conftest.$ac_ext <<_LT_EOF |
|
5763 |
#ifdef __cplusplus |
|
5764 |
extern "C" { |
|
5765 |
#endif |
|
5766 |
char nm_test_var; |
|
5767 |
void nm_test_func(void); |
|
5768 |
void nm_test_func(void){} |
|
5769 |
#ifdef __cplusplus |
|
5770 |
} |
|
5771 |
#endif |
|
5772 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
5773 |
_LT_EOF |
|
5774 |
|
|
5775 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
5776 |
(eval $ac_compile) 2>&5 |
|
5777 |
ac_status=$? |
|
5778 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5779 |
test $ac_status = 0; }; then |
|
5780 |
# Now try to grab the symbols. |
|
5781 |
nlist=conftest.nm |
|
5782 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
|
5783 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
|
5784 |
ac_status=$? |
|
5785 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5786 |
test $ac_status = 0; } && test -s "$nlist"; then |
|
5787 |
# Try sorting and uniquifying the output. |
|
5788 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
5789 |
mv -f "$nlist"T "$nlist" |
|
5790 |
else |
|
5791 |
rm -f "$nlist"T |
|
5792 |
fi |
|
5793 |
|
|
5794 |
# Make sure that we snagged all the symbols we need. |
|
5795 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
|
5796 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
5797 |
cat <<_LT_EOF > conftest.$ac_ext |
|
5798 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
|
5799 |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
|
5800 |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
|
5801 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
|
5802 |
# define LT_DLSYM_CONST |
|
5803 |
#elif defined(__osf__) |
|
5804 |
/* This system does not cope well with relocations in const data. */ |
|
5805 |
# define LT_DLSYM_CONST |
|
5806 |
#else |
|
5807 |
# define LT_DLSYM_CONST const |
|
5808 |
#endif |
|
5809 |
|
|
5810 |
#ifdef __cplusplus |
|
5811 |
extern "C" { |
|
5812 |
#endif |
|
5813 |
|
|
5814 |
_LT_EOF |
|
5815 |
# Now generate the symbol file. |
|
5816 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
|
5817 |
|
|
5818 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
5819 |
|
|
5820 |
/* The mapping between symbol names and symbols. */ |
|
5821 |
LT_DLSYM_CONST struct { |
|
5822 |
const char *name; |
|
5823 |
void *address; |
|
5824 |
} |
|
5825 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
|
5826 |
{ |
|
5827 |
{ "@PROGRAM@", (void *) 0 }, |
|
5828 |
_LT_EOF |
|
5829 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
5830 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
5831 |
{0, (void *) 0} |
|
5832 |
}; |
|
5833 |
|
|
5834 |
/* This works around a problem in FreeBSD linker */ |
|
5835 |
#ifdef FREEBSD_WORKAROUND |
|
5836 |
static const void *lt_preloaded_setup() { |
|
5837 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
5838 |
} |
|
5839 |
#endif |
|
5840 |
|
|
5841 |
#ifdef __cplusplus |
|
5842 |
} |
|
5843 |
#endif |
|
5844 |
_LT_EOF |
|
5845 |
# Now try linking the two files. |
|
5846 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
5847 |
lt_globsym_save_LIBS=$LIBS |
|
5848 |
lt_globsym_save_CFLAGS=$CFLAGS |
|
5849 |
LIBS="conftstm.$ac_objext" |
|
5850 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
5851 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
5852 |
(eval $ac_link) 2>&5 |
|
5853 |
ac_status=$? |
|
5854 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5855 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
|
5856 |
pipe_works=yes |
|
5857 |
fi |
|
5858 |
LIBS=$lt_globsym_save_LIBS |
|
5859 |
CFLAGS=$lt_globsym_save_CFLAGS |
|
5860 |
else |
|
5861 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
5862 |
fi |
|
5863 |
else |
|
5864 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
5865 |
fi |
|
5866 |
else |
|
5867 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
5868 |
fi |
|
5869 |
else |
|
5870 |
echo "$progname: failed program was:" >&5 |
|
5871 |
cat conftest.$ac_ext >&5 |
|
5872 |
fi |
|
5873 |
rm -rf conftest* conftst* |
|
5874 |
|
|
5875 |
# Do not use the global_symbol_pipe unless it works. |
|
5876 |
if test "$pipe_works" = yes; then |
|
5877 |
break |
|
5878 |
else |
|
5879 |
lt_cv_sys_global_symbol_pipe= |
|
5880 |
fi |
|
5881 |
done |
|
5882 |
|
|
5883 |
fi |
|
5884 |
|
|
5885 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
5886 |
lt_cv_sys_global_symbol_to_cdecl= |
|
5887 |
fi |
|
5888 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
5889 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
|
5890 |
$as_echo "failed" >&6; } |
|
5891 |
else |
|
5892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
5893 |
$as_echo "ok" >&6; } |
|
5894 |
fi |
|
5895 |
|
|
5896 |
# Response file support. |
|
5897 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
5898 |
nm_file_list_spec='@' |
|
5899 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
|
5900 |
nm_file_list_spec='@' |
|
5901 |
fi |
|
5902 |
|
|
5903 |
|
|
5904 |
|
|
5905 |
|
|
5906 |
|
|
5907 |
|
|
5908 |
|
|
5909 |
|
|
5910 |
|
|
5911 |
|
|
5912 |
|
|
5913 |
|
|
5914 |
|
|
5915 |
|
|
5916 |
|
|
5917 |
|
|
5918 |
|
|
5919 |
|
|
5920 |
|
|
5921 |
|
|
5922 |
|
|
5923 |
|
|
5924 |
|
|
5925 |
|
|
5926 |
|
|
5927 |
|
|
5928 |
|
|
5929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
|
5930 |
$as_echo_n "checking for sysroot... " >&6; } |
|
5931 |
|
|
5932 |
# Check whether --with-sysroot was given. |
|
5933 |
if test "${with_sysroot+set}" = set; then : |
|
5934 |
withval=$with_sysroot; |
|
5935 |
else |
|
5936 |
with_sysroot=no |
|
5937 |
fi |
|
5938 |
|
|
5939 |
|
|
5940 |
lt_sysroot= |
|
5941 |
case ${with_sysroot} in #( |
|
5942 |
yes) |
|
5943 |
if test "$GCC" = yes; then |
|
5944 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
|
5945 |
fi |
|
5946 |
;; #( |
|
5947 |
/*) |
|
5948 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
|
5949 |
;; #( |
|
5950 |
no|'') |
|
5951 |
;; #( |
|
5952 |
*) |
|
5953 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
|
5954 |
$as_echo "${with_sysroot}" >&6; } |
|
5955 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
|
5956 |
;; |
|
5957 |
esac |
|
5958 |
|
|
5959 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
|
5960 |
$as_echo "${lt_sysroot:-no}" >&6; } |
|
5961 |
|
|
5962 |
|
|
5963 |
|
|
5964 |
|
|
5965 |
|
|
5966 |
# Check whether --enable-libtool-lock was given. |
|
5967 |
if test "${enable_libtool_lock+set}" = set; then : |
|
5968 |
enableval=$enable_libtool_lock; |
|
5969 |
fi |
|
5970 |
|
|
5971 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
5972 |
|
|
5973 |
# Some flags need to be propagated to the compiler or linker for good |
|
5974 |
# libtool support. |
|
5975 |
case $host in |
|
5976 |
ia64-*-hpux*) |
|
5977 |
# Find out which ABI we are using. |
|
5978 |
echo 'int i;' > conftest.$ac_ext |
|
5979 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
5980 |
(eval $ac_compile) 2>&5 |
|
5981 |
ac_status=$? |
|
5982 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5983 |
test $ac_status = 0; }; then |
|
5984 |
case `/usr/bin/file conftest.$ac_objext` in |
|
5985 |
*ELF-32*) |
|
5986 |
HPUX_IA64_MODE="32" |
|
5987 |
;; |
|
5988 |
*ELF-64*) |
|
5989 |
HPUX_IA64_MODE="64" |
|
5990 |
;; |
|
5991 |
esac |
|
5992 |
fi |
|
5993 |
rm -rf conftest* |
|
5994 |
;; |
|
5995 |
*-*-irix6*) |
|
5996 |
# Find out which ABI we are using. |
|
5997 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
|
5998 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
5999 |
(eval $ac_compile) 2>&5 |
|
6000 |
ac_status=$? |
|
6001 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6002 |
test $ac_status = 0; }; then |
|
6003 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
6004 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6005 |
*32-bit*) |
|
6006 |
LD="${LD-ld} -melf32bsmip" |
|
6007 |
;; |
|
6008 |
*N32*) |
|
6009 |
LD="${LD-ld} -melf32bmipn32" |
|
6010 |
;; |
|
6011 |
*64-bit*) |
|
6012 |
LD="${LD-ld} -melf64bmip" |
|
6013 |
;; |
|
6014 |
esac |
|
6015 |
else |
|
6016 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6017 |
*32-bit*) |
|
6018 |
LD="${LD-ld} -32" |
|
6019 |
;; |
|
6020 |
*N32*) |
|
6021 |
LD="${LD-ld} -n32" |
|
6022 |
;; |
|
6023 |
*64-bit*) |
|
6024 |
LD="${LD-ld} -64" |
|
6025 |
;; |
|
6026 |
esac |
|
6027 |
fi |
|
6028 |
fi |
|
6029 |
rm -rf conftest* |
|
6030 |
;; |
|
6031 |
|
|
6032 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
6033 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
6034 |
# Find out which ABI we are using. |
|
6035 |
echo 'int i;' > conftest.$ac_ext |
|
6036 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6037 |
(eval $ac_compile) 2>&5 |
|
6038 |
ac_status=$? |
|
6039 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6040 |
test $ac_status = 0; }; then |
|
6041 |
case `/usr/bin/file conftest.o` in |
|
6042 |
*32-bit*) |
|
6043 |
case $host in |
|
6044 |
x86_64-*kfreebsd*-gnu) |
|
6045 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
6046 |
;; |
|
6047 |
x86_64-*linux*) |
|
6048 |
LD="${LD-ld} -m elf_i386" |
|
6049 |
;; |
|
6050 |
ppc64-*linux*|powerpc64-*linux*) |
|
6051 |
LD="${LD-ld} -m elf32ppclinux" |
|
6052 |
;; |
|
6053 |
s390x-*linux*) |
|
6054 |
LD="${LD-ld} -m elf_s390" |
|
6055 |
;; |
|
6056 |
sparc64-*linux*) |
|
6057 |
LD="${LD-ld} -m elf32_sparc" |
|
6058 |
;; |
|
6059 |
esac |
|
6060 |
;; |
|
6061 |
*64-bit*) |
|
6062 |
case $host in |
|
6063 |
x86_64-*kfreebsd*-gnu) |
|
6064 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
6065 |
;; |
|
6066 |
x86_64-*linux*) |
|
6067 |
LD="${LD-ld} -m elf_x86_64" |
|
6068 |
;; |
|
6069 |
ppc*-*linux*|powerpc*-*linux*) |
|
6070 |
LD="${LD-ld} -m elf64ppc" |
|
6071 |
;; |
|
6072 |
s390*-*linux*|s390*-*tpf*) |
|
6073 |
LD="${LD-ld} -m elf64_s390" |
|
6074 |
;; |
|
6075 |
sparc*-*linux*) |
|
6076 |
LD="${LD-ld} -m elf64_sparc" |
|
6077 |
;; |
|
6078 |
esac |
|
6079 |
;; |
|
6080 |
esac |
|
6081 |
fi |
|
6082 |
rm -rf conftest* |
|
6083 |
;; |
|
6084 |
|
|
6085 |
*-*-sco3.2v5*) |
|
6086 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
6087 |
SAVE_CFLAGS="$CFLAGS" |
|
6088 |
CFLAGS="$CFLAGS -belf" |
|
6089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
|
6090 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
6091 |
if ${lt_cv_cc_needs_belf+:} false; then : |
|
6092 |
$as_echo_n "(cached) " >&6 |
|
6093 |
else |
|
6094 |
ac_ext=c |
|
6095 |
ac_cpp='$CPP $CPPFLAGS' |
|
6096 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6097 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6098 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6099 |
|
|
6100 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6101 |
/* end confdefs.h. */ |
|
6102 |
|
|
6103 |
int |
|
6104 |
main () |
|
6105 |
{ |
|
6106 |
|
|
6107 |
; |
|
6108 |
return 0; |
|
6109 |
} |
|
6110 |
_ACEOF |
|
6111 |
if ac_fn_c_try_link "$LINENO"; then : |
|
6112 |
lt_cv_cc_needs_belf=yes |
|
6113 |
else |
|
6114 |
lt_cv_cc_needs_belf=no |
|
6115 |
fi |
|
6116 |
rm -f core conftest.err conftest.$ac_objext \ |
|
6117 |
conftest$ac_exeext conftest.$ac_ext |
|
6118 |
ac_ext=c |
|
6119 |
ac_cpp='$CPP $CPPFLAGS' |
|
6120 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6121 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6122 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6123 |
|
|
6124 |
fi |
|
6125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
|
6126 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
6127 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
6128 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
6129 |
CFLAGS="$SAVE_CFLAGS" |
|
6130 |
fi |
|
6131 |
;; |
|
6132 |
*-*solaris*) |
|
6133 |
# Find out which ABI we are using. |
|
6134 |
echo 'int i;' > conftest.$ac_ext |
|
6135 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6136 |
(eval $ac_compile) 2>&5 |
|
6137 |
ac_status=$? |
|
6138 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6139 |
test $ac_status = 0; }; then |
|
6140 |
case `/usr/bin/file conftest.o` in |
|
6141 |
*64-bit*) |
|
6142 |
case $lt_cv_prog_gnu_ld in |
|
6143 |
yes*) |
|
6144 |
case $host in |
|
6145 |
i?86-*-solaris*) |
|
6146 |
LD="${LD-ld} -m elf_x86_64" |
|
6147 |
;; |
|
6148 |
sparc*-*-solaris*) |
|
6149 |
LD="${LD-ld} -m elf64_sparc" |
|
6150 |
;; |
|
6151 |
esac |
|
6152 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
|
6153 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
|
6154 |
LD="${LD-ld}_sol2" |
|
6155 |
fi |
|
6156 |
;; |
|
6157 |
*) |
|
6158 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
6159 |
LD="${LD-ld} -64" |
|
6160 |
fi |
|
6161 |
;; |
|
6162 |
esac |
|
6163 |
;; |
|
6164 |
esac |
|
6165 |
fi |
|
6166 |
rm -rf conftest* |
|
6167 |
;; |
|
6168 |
esac |
|
6169 |
|
|
6170 |
need_locks="$enable_libtool_lock" |
|
6171 |
|
|
6172 |
if test -n "$ac_tool_prefix"; then |
|
6173 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
|
6174 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
|
6175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6176 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6177 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
|
6178 |
$as_echo_n "(cached) " >&6 |
|
6179 |
else |
|
6180 |
if test -n "$MANIFEST_TOOL"; then |
|
6181 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
|
6182 |
else |
|
6183 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6184 |
for as_dir in $PATH |
|
6185 |
do |
|
6186 |
IFS=$as_save_IFS |
|
6187 |
test -z "$as_dir" && as_dir=. |
|
6188 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6189 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6190 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
|
6191 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6192 |
break 2 |
|
6193 |
fi |
|
6194 |
done |
|
6195 |
done |
|
6196 |
IFS=$as_save_IFS |
|
6197 |
|
|
6198 |
fi |
|
6199 |
fi |
|
6200 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
|
6201 |
if test -n "$MANIFEST_TOOL"; then |
|
6202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
|
6203 |
$as_echo "$MANIFEST_TOOL" >&6; } |
|
6204 |
else |
|
6205 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6206 |
$as_echo "no" >&6; } |
|
6207 |
fi |
|
6208 |
|
|
6209 |
|
|
6210 |
fi |
|
6211 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
|
6212 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
|
6213 |
# Extract the first word of "mt", so it can be a program name with args. |
|
6214 |
set dummy mt; ac_word=$2 |
|
6215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6216 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6217 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
|
6218 |
$as_echo_n "(cached) " >&6 |
|
6219 |
else |
|
6220 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6221 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
|
6222 |
else |
|
6223 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6224 |
for as_dir in $PATH |
|
6225 |
do |
|
6226 |
IFS=$as_save_IFS |
|
6227 |
test -z "$as_dir" && as_dir=. |
|
6228 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6229 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6230 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
|
6231 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6232 |
break 2 |
|
6233 |
fi |
|
6234 |
done |
|
6235 |
done |
|
6236 |
IFS=$as_save_IFS |
|
6237 |
|
|
6238 |
fi |
|
6239 |
fi |
|
6240 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
|
6241 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6242 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
|
6243 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
|
6244 |
else |
|
6245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6246 |
$as_echo "no" >&6; } |
|
6247 |
fi |
|
6248 |
|
|
6249 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
|
6250 |
MANIFEST_TOOL=":" |
|
6251 |
else |
|
6252 |
case $cross_compiling:$ac_tool_warned in |
|
6253 |
yes:) |
|
6254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6255 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6256 |
ac_tool_warned=yes ;; |
|
6257 |
esac |
|
6258 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
|
6259 |
fi |
|
6260 |
else |
|
6261 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
|
6262 |
fi |
|
6263 |
|
|
6264 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
|
6265 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
|
6266 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
|
6267 |
if ${lt_cv_path_mainfest_tool+:} false; then : |
|
6268 |
$as_echo_n "(cached) " >&6 |
|
6269 |
else |
|
6270 |
lt_cv_path_mainfest_tool=no |
|
6271 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
|
6272 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
|
6273 |
cat conftest.err >&5 |
|
6274 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
|
6275 |
lt_cv_path_mainfest_tool=yes |
|
6276 |
fi |
|
6277 |
rm -f conftest* |
|
6278 |
fi |
|
6279 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
|
6280 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
|
6281 |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
|
6282 |
MANIFEST_TOOL=: |
|
6283 |
fi |
|
6284 |
|
|
6285 |
|
|
6286 |
|
|
6287 |
|
|
6288 |
|
|
6289 |
|
|
6290 |
case $host_os in |
|
6291 |
rhapsody* | darwin*) |
|
6292 |
if test -n "$ac_tool_prefix"; then |
|
6293 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
6294 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
6295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6296 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6297 |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
|
6298 |
$as_echo_n "(cached) " >&6 |
|
6299 |
else |
|
6300 |
if test -n "$DSYMUTIL"; then |
|
6301 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
6302 |
else |
|
6303 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6304 |
for as_dir in $PATH |
|
6305 |
do |
|
6306 |
IFS=$as_save_IFS |
|
6307 |
test -z "$as_dir" && as_dir=. |
|
6308 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6309 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6310 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
6311 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6312 |
break 2 |
|
6313 |
fi |
|
6314 |
done |
|
6315 |
done |
|
6316 |
IFS=$as_save_IFS |
|
6317 |
|
|
6318 |
fi |
|
6319 |
fi |
|
6320 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
6321 |
if test -n "$DSYMUTIL"; then |
|
6322 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
|
6323 |
$as_echo "$DSYMUTIL" >&6; } |
|
6324 |
else |
|
6325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6326 |
$as_echo "no" >&6; } |
|
6327 |
fi |
|
6328 |
|
|
6329 |
|
|
6330 |
fi |
|
6331 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
6332 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
6333 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
6334 |
set dummy dsymutil; ac_word=$2 |
|
6335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6336 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6337 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
|
6338 |
$as_echo_n "(cached) " >&6 |
|
6339 |
else |
|
6340 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
6341 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
6342 |
else |
|
6343 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6344 |
for as_dir in $PATH |
|
6345 |
do |
|
6346 |
IFS=$as_save_IFS |
|
6347 |
test -z "$as_dir" && as_dir=. |
|
6348 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6349 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6350 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
6351 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6352 |
break 2 |
|
6353 |
fi |
|
6354 |
done |
|
6355 |
done |
|
6356 |
IFS=$as_save_IFS |
|
6357 |
|
|
6358 |
fi |
|
6359 |
fi |
|
6360 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
6361 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
6362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
|
6363 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
6364 |
else |
|
6365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6366 |
$as_echo "no" >&6; } |
|
6367 |
fi |
|
6368 |
|
|
6369 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
6370 |
DSYMUTIL=":" |
|
6371 |
else |
|
6372 |
case $cross_compiling:$ac_tool_warned in |
|
6373 |
yes:) |
|
6374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6375 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6376 |
ac_tool_warned=yes ;; |
|
6377 |
esac |
|
6378 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
6379 |
fi |
|
6380 |
else |
|
6381 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
6382 |
fi |
|
6383 |
|
|
6384 |
if test -n "$ac_tool_prefix"; then |
|
6385 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
6386 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
6387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6388 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6389 |
if ${ac_cv_prog_NMEDIT+:} false; then : |
|
6390 |
$as_echo_n "(cached) " >&6 |
|
6391 |
else |
|
6392 |
if test -n "$NMEDIT"; then |
|
6393 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
6394 |
else |
|
6395 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6396 |
for as_dir in $PATH |
|
6397 |
do |
|
6398 |
IFS=$as_save_IFS |
|
6399 |
test -z "$as_dir" && as_dir=. |
|
6400 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6401 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6402 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
6403 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6404 |
break 2 |
|
6405 |
fi |
|
6406 |
done |
|
6407 |
done |
|
6408 |
IFS=$as_save_IFS |
|
6409 |
|
|
6410 |
fi |
|
6411 |
fi |
|
6412 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
6413 |
if test -n "$NMEDIT"; then |
|
6414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
|
6415 |
$as_echo "$NMEDIT" >&6; } |
|
6416 |
else |
|
6417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6418 |
$as_echo "no" >&6; } |
|
6419 |
fi |
|
6420 |
|
|
6421 |
|
|
6422 |
fi |
|
6423 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
6424 |
ac_ct_NMEDIT=$NMEDIT |
|
6425 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
6426 |
set dummy nmedit; ac_word=$2 |
|
6427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6428 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6429 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
|
6430 |
$as_echo_n "(cached) " >&6 |
|
6431 |
else |
|
6432 |
if test -n "$ac_ct_NMEDIT"; then |
|
6433 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
6434 |
else |
|
6435 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6436 |
for as_dir in $PATH |
|
6437 |
do |
|
6438 |
IFS=$as_save_IFS |
|
6439 |
test -z "$as_dir" && as_dir=. |
|
6440 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6441 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6442 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
6443 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6444 |
break 2 |
|
6445 |
fi |
|
6446 |
done |
|
6447 |
done |
|
6448 |
IFS=$as_save_IFS |
|
6449 |
|
|
6450 |
fi |
|
6451 |
fi |
|
6452 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
6453 |
if test -n "$ac_ct_NMEDIT"; then |
|
6454 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
|
6455 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
6456 |
else |
|
6457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6458 |
$as_echo "no" >&6; } |
|
6459 |
fi |
|
6460 |
|
|
6461 |
if test "x$ac_ct_NMEDIT" = x; then |
|
6462 |
NMEDIT=":" |
|
6463 |
else |
|
6464 |
case $cross_compiling:$ac_tool_warned in |
|
6465 |
yes:) |
|
6466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6467 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6468 |
ac_tool_warned=yes ;; |
|
6469 |
esac |
|
6470 |
NMEDIT=$ac_ct_NMEDIT |
|
6471 |
fi |
|
6472 |
else |
|
6473 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
6474 |
fi |
|
6475 |
|
|
6476 |
if test -n "$ac_tool_prefix"; then |
|
6477 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
6478 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
6479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6480 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6481 |
if ${ac_cv_prog_LIPO+:} false; then : |
|
6482 |
$as_echo_n "(cached) " >&6 |
|
6483 |
else |
|
6484 |
if test -n "$LIPO"; then |
|
6485 |
ac_cv_prog_LIPO="$LIPO" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6494 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
6495 |
$as_echo "$as_me:${as_lineno-$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 |
LIPO=$ac_cv_prog_LIPO |
|
6505 |
if test -n "$LIPO"; then |
|
6506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
|
6507 |
$as_echo "$LIPO" >&6; } |
|
6508 |
else |
|
6509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6510 |
$as_echo "no" >&6; } |
|
6511 |
fi |
|
6512 |
|
|
6513 |
|
|
6514 |
fi |
|
6515 |
if test -z "$ac_cv_prog_LIPO"; then |
|
6516 |
ac_ct_LIPO=$LIPO |
|
6517 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
6518 |
set dummy lipo; ac_word=$2 |
|
6519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6520 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6521 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
|
6522 |
$as_echo_n "(cached) " >&6 |
|
6523 |
else |
|
6524 |
if test -n "$ac_ct_LIPO"; then |
|
6525 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6534 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
6535 |
$as_echo "$as_me:${as_lineno-$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_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
6545 |
if test -n "$ac_ct_LIPO"; then |
|
6546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
|
6547 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
6548 |
else |
|
6549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6550 |
$as_echo "no" >&6; } |
|
6551 |
fi |
|
6552 |
|
|
6553 |
if test "x$ac_ct_LIPO" = x; then |
|
6554 |
LIPO=":" |
|
6555 |
else |
|
6556 |
case $cross_compiling:$ac_tool_warned in |
|
6557 |
yes:) |
|
6558 |
{ $as_echo "$as_me:${as_lineno-$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 |
LIPO=$ac_ct_LIPO |
|
6563 |
fi |
|
6564 |
else |
|
6565 |
LIPO="$ac_cv_prog_LIPO" |
|
6566 |
fi |
|
6567 |
|
|
6568 |
if test -n "$ac_tool_prefix"; then |
|
6569 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
6570 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
6571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6572 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6573 |
if ${ac_cv_prog_OTOOL+:} false; then : |
|
6574 |
$as_echo_n "(cached) " >&6 |
|
6575 |
else |
|
6576 |
if test -n "$OTOOL"; then |
|
6577 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
6578 |
else |
|
6579 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6580 |
for as_dir in $PATH |
|
6581 |
do |
|
6582 |
IFS=$as_save_IFS |
|
6583 |
test -z "$as_dir" && as_dir=. |
|
6584 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6585 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6586 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
6587 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6588 |
break 2 |
|
6589 |
fi |
|
6590 |
done |
|
6591 |
done |
|
6592 |
IFS=$as_save_IFS |
|
6593 |
|
|
6594 |
fi |
|
6595 |
fi |
|
6596 |
OTOOL=$ac_cv_prog_OTOOL |
|
6597 |
if test -n "$OTOOL"; then |
|
6598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
|
6599 |
$as_echo "$OTOOL" >&6; } |
|
6600 |
else |
|
6601 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6602 |
$as_echo "no" >&6; } |
|
6603 |
fi |
|
6604 |
|
|
6605 |
|
|
6606 |
fi |
|
6607 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
6608 |
ac_ct_OTOOL=$OTOOL |
|
6609 |
# Extract the first word of "otool", so it can be a program name with args. |
|
6610 |
set dummy otool; ac_word=$2 |
|
6611 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6612 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6613 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
|
6614 |
$as_echo_n "(cached) " >&6 |
|
6615 |
else |
|
6616 |
if test -n "$ac_ct_OTOOL"; then |
|
6617 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
6618 |
else |
|
6619 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6620 |
for as_dir in $PATH |
|
6621 |
do |
|
6622 |
IFS=$as_save_IFS |
|
6623 |
test -z "$as_dir" && as_dir=. |
|
6624 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6625 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6626 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
6627 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6628 |
break 2 |
|
6629 |
fi |
|
6630 |
done |
|
6631 |
done |
|
6632 |
IFS=$as_save_IFS |
|
6633 |
|
|
6634 |
fi |
|
6635 |
fi |
|
6636 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
6637 |
if test -n "$ac_ct_OTOOL"; then |
|
6638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
|
6639 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
6640 |
else |
|
6641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6642 |
$as_echo "no" >&6; } |
|
6643 |
fi |
|
6644 |
|
|
6645 |
if test "x$ac_ct_OTOOL" = x; then |
|
6646 |
OTOOL=":" |
|
6647 |
else |
|
6648 |
case $cross_compiling:$ac_tool_warned in |
|
6649 |
yes:) |
|
6650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6651 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6652 |
ac_tool_warned=yes ;; |
|
6653 |
esac |
|
6654 |
OTOOL=$ac_ct_OTOOL |
|
6655 |
fi |
|
6656 |
else |
|
6657 |
OTOOL="$ac_cv_prog_OTOOL" |
|
6658 |
fi |
|
6659 |
|
|
6660 |
if test -n "$ac_tool_prefix"; then |
|
6661 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
6662 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
6663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6664 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6665 |
if ${ac_cv_prog_OTOOL64+:} false; then : |
|
6666 |
$as_echo_n "(cached) " >&6 |
|
6667 |
else |
|
6668 |
if test -n "$OTOOL64"; then |
|
6669 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
6670 |
else |
|
6671 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6672 |
for as_dir in $PATH |
|
6673 |
do |
|
6674 |
IFS=$as_save_IFS |
|
6675 |
test -z "$as_dir" && as_dir=. |
|
6676 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6677 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6678 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
6679 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6680 |
break 2 |
|
6681 |
fi |
|
6682 |
done |
|
6683 |
done |
|
6684 |
IFS=$as_save_IFS |
|
6685 |
|
|
6686 |
fi |
|
6687 |
fi |
|
6688 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
6689 |
if test -n "$OTOOL64"; then |
|
6690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
|
6691 |
$as_echo "$OTOOL64" >&6; } |
|
6692 |
else |
|
6693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6694 |
$as_echo "no" >&6; } |
|
6695 |
fi |
|
6696 |
|
|
6697 |
|
|
6698 |
fi |
|
6699 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
6700 |
ac_ct_OTOOL64=$OTOOL64 |
|
6701 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
6702 |
set dummy otool64; ac_word=$2 |
|
6703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6704 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6705 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
|
6706 |
$as_echo_n "(cached) " >&6 |
|
6707 |
else |
|
6708 |
if test -n "$ac_ct_OTOOL64"; then |
|
6709 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
6710 |
else |
|
6711 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6712 |
for as_dir in $PATH |
|
6713 |
do |
|
6714 |
IFS=$as_save_IFS |
|
6715 |
test -z "$as_dir" && as_dir=. |
|
6716 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6717 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6718 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
6719 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6720 |
break 2 |
|
6721 |
fi |
|
6722 |
done |
|
6723 |
done |
|
6724 |
IFS=$as_save_IFS |
|
6725 |
|
|
6726 |
fi |
|
6727 |
fi |
|
6728 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
6729 |
if test -n "$ac_ct_OTOOL64"; then |
|
6730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
|
6731 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
6732 |
else |
|
6733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6734 |
$as_echo "no" >&6; } |
|
6735 |
fi |
|
6736 |
|
|
6737 |
if test "x$ac_ct_OTOOL64" = x; then |
|
6738 |
OTOOL64=":" |
|
6739 |
else |
|
6740 |
case $cross_compiling:$ac_tool_warned in |
|
6741 |
yes:) |
|
6742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6743 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6744 |
ac_tool_warned=yes ;; |
|
6745 |
esac |
|
6746 |
OTOOL64=$ac_ct_OTOOL64 |
|
6747 |
fi |
|
6748 |
else |
|
6749 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
6750 |
fi |
|
6751 |
|
|
6752 |
|
|
6753 |
|
|
6754 |
|
|
6755 |
|
|
6756 |
|
|
6757 |
|
|
6758 |
|
|
6759 |
|
|
6760 |
|
|
6761 |
|
|
6762 |
|
|
6763 |
|
|
6764 |
|
|
6765 |
|
|
6766 |
|
|
6767 |
|
|
6768 |
|
|
6769 |
|
|
6770 |
|
|
6771 |
|
|
6772 |
|
|
6773 |
|
|
6774 |
|
|
6775 |
|
|
6776 |
|
|
6777 |
|
|
6778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
|
6779 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
6780 |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
|
6781 |
$as_echo_n "(cached) " >&6 |
|
6782 |
else |
|
6783 |
lt_cv_apple_cc_single_mod=no |
|
6784 |
if test -z "${LT_MULTI_MODULE}"; then |
|
6785 |
# By default we will add the -single_module flag. You can override |
|
6786 |
# by either setting the environment variable LT_MULTI_MODULE |
|
6787 |
# non-empty at configure time, or by adding -multi_module to the |
|
6788 |
# link flags. |
|
6789 |
rm -rf libconftest.dylib* |
|
6790 |
echo "int foo(void){return 1;}" > conftest.c |
|
6791 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
6792 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
6793 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
6794 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
6795 |
_lt_result=$? |
|
6796 |
# If there is a non-empty error log, and "single_module" |
|
6797 |
# appears in it, assume the flag caused a linker warning |
|
6798 |
if test -s conftest.err && $GREP single_module conftest.err; then |
|
6799 |
cat conftest.err >&5 |
|
6800 |
# Otherwise, if the output was created with a 0 exit code from |
|
6801 |
# the compiler, it worked. |
|
6802 |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
|
6803 |
lt_cv_apple_cc_single_mod=yes |
|
6804 |
else |
|
6805 |
cat conftest.err >&5 |
|
6806 |
fi |
|
6807 |
rm -rf libconftest.dylib* |
|
6808 |
rm -f conftest.* |
|
6809 |
fi |
|
6810 |
fi |
|
6811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
|
6812 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
6813 |
|
|
6814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
|
6815 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
6816 |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
|
6817 |
$as_echo_n "(cached) " >&6 |
|
6818 |
else |
|
6819 |
lt_cv_ld_exported_symbols_list=no |
|
6820 |
save_LDFLAGS=$LDFLAGS |
|
6821 |
echo "_main" > conftest.sym |
|
6822 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
6823 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6824 |
/* end confdefs.h. */ |
|
6825 |
|
|
6826 |
int |
|
6827 |
main () |
|
6828 |
{ |
|
6829 |
|
|
6830 |
; |
|
6831 |
return 0; |
|
6832 |
} |
|
6833 |
_ACEOF |
|
6834 |
if ac_fn_c_try_link "$LINENO"; then : |
|
6835 |
lt_cv_ld_exported_symbols_list=yes |
|
6836 |
else |
|
6837 |
lt_cv_ld_exported_symbols_list=no |
|
6838 |
fi |
|
6839 |
rm -f core conftest.err conftest.$ac_objext \ |
|
6840 |
conftest$ac_exeext conftest.$ac_ext |
|
6841 |
LDFLAGS="$save_LDFLAGS" |
|
6842 |
|
|
6843 |
fi |
|
6844 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
6845 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
6846 |
|
|
6847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
|
6848 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
|
6849 |
if ${lt_cv_ld_force_load+:} false; then : |
|
6850 |
$as_echo_n "(cached) " >&6 |
|
6851 |
else |
|
6852 |
lt_cv_ld_force_load=no |
|
6853 |
cat > conftest.c << _LT_EOF |
|
6854 |
int forced_loaded() { return 2;} |
|
6855 |
_LT_EOF |
|
6856 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
|
6857 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
|
6858 |
echo "$AR cru libconftest.a conftest.o" >&5 |
|
6859 |
$AR cru libconftest.a conftest.o 2>&5 |
|
6860 |
echo "$RANLIB libconftest.a" >&5 |
|
6861 |
$RANLIB libconftest.a 2>&5 |
|
6862 |
cat > conftest.c << _LT_EOF |
|
6863 |
int main() { return 0;} |
|
6864 |
_LT_EOF |
|
6865 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
|
6866 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
|
6867 |
_lt_result=$? |
|
6868 |
if test -s conftest.err && $GREP force_load conftest.err; then |
|
6869 |
cat conftest.err >&5 |
|
6870 |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
|
6871 |
lt_cv_ld_force_load=yes |
|
6872 |
else |
|
6873 |
cat conftest.err >&5 |
|
6874 |
fi |
|
6875 |
rm -f conftest.err libconftest.a conftest conftest.c |
|
6876 |
rm -rf conftest.dSYM |
|
6877 |
|
|
6878 |
fi |
|
6879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
|
6880 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
|
6881 |
case $host_os in |
|
6882 |
rhapsody* | darwin1.[012]) |
|
6883 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
6884 |
darwin1.*) |
|
6885 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
6886 |
darwin*) # darwin 5.x on |
|
6887 |
# if running on 10.5 or later, the deployment target defaults |
|
6888 |
# to the OS version, if on x86, and 10.4, the deployment |
|
6889 |
# target defaults to 10.4. Don't you love it? |
|
6890 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
6891 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
6892 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
6893 |
10.[012]*) |
|
6894 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
6895 |
10.*) |
|
6896 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
6897 |
esac |
|
6898 |
;; |
|
6899 |
esac |
|
6900 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
6901 |
_lt_dar_single_mod='$single_module' |
|
6902 |
fi |
|
6903 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
6904 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
6905 |
else |
|
6906 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
6907 |
fi |
|
6908 |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
|
6909 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
|
6910 |
else |
|
6911 |
_lt_dsymutil= |
|
6912 |
fi |
|
6913 |
;; |
|
6914 |
esac |
|
6915 |
|
|
6916 |
ac_ext=c |
|
6917 |
ac_cpp='$CPP $CPPFLAGS' |
|
6918 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6919 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6920 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6921 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
6922 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
6923 |
# On Suns, sometimes $CPP names a directory. |
|
6924 |
if test -n "$CPP" && test -d "$CPP"; then |
|
6925 |
CPP= |
|
6926 |
fi |
|
6927 |
if test -z "$CPP"; then |
|
6928 |
if ${ac_cv_prog_CPP+:} false; then : |
|
6929 |
$as_echo_n "(cached) " >&6 |
|
6930 |
else |
|
6931 |
# Double quotes because CPP needs to be expanded |
|
6932 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
6933 |
do |
|
6934 |
ac_preproc_ok=false |
|
6935 |
for ac_c_preproc_warn_flag in '' yes |
|
6936 |
do |
|
6937 |
# Use a header file that comes with gcc, so configuring glibc |
|
6938 |
# with a fresh cross-compiler works. |
|
6939 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
6940 |
# <limits.h> exists even on freestanding compilers. |
|
6941 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
6942 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
6943 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6944 |
/* end confdefs.h. */ |
|
6945 |
#ifdef __STDC__ |
|
6946 |
# include <limits.h> |
|
6947 |
#else |
|
6948 |
# include <assert.h> |
|
6949 |
#endif |
|
6950 |
Syntax error |
|
6951 |
_ACEOF |
|
6952 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
6953 |
|
|
6954 |
else |
|
6955 |
# Broken: fails on valid input. |
|
6956 |
continue |
|
6957 |
fi |
|
6958 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
6959 |
|
|
6960 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
6961 |
# can be detected and how. |
|
6962 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6963 |
/* end confdefs.h. */ |
|
6964 |
#include <ac_nonexistent.h> |
|
6965 |
_ACEOF |
|
6966 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
6967 |
# Broken: success on invalid input. |
|
6968 |
continue |
|
6969 |
else |
|
6970 |
# Passes both tests. |
|
6971 |
ac_preproc_ok=: |
|
6972 |
break |
|
6973 |
fi |
|
6974 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
6975 |
|
|
6976 |
done |
|
6977 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
6978 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
6979 |
if $ac_preproc_ok; then : |
|
6980 |
break |
|
6981 |
fi |
|
6982 |
|
|
6983 |
done |
|
6984 |
ac_cv_prog_CPP=$CPP |
|
6985 |
|
|
6986 |
fi |
|
6987 |
CPP=$ac_cv_prog_CPP |
|
6988 |
else |
|
6989 |
ac_cv_prog_CPP=$CPP |
|
6990 |
fi |
|
6991 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
6992 |
$as_echo "$CPP" >&6; } |
|
6993 |
ac_preproc_ok=false |
|
6994 |
for ac_c_preproc_warn_flag in '' yes |
|
6995 |
do |
|
6996 |
# Use a header file that comes with gcc, so configuring glibc |
|
6997 |
# with a fresh cross-compiler works. |
|
6998 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
6999 |
# <limits.h> exists even on freestanding compilers. |
|
7000 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
7001 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
7002 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7003 |
/* end confdefs.h. */ |
|
7004 |
#ifdef __STDC__ |
|
7005 |
# include <limits.h> |
|
7006 |
#else |
|
7007 |
# include <assert.h> |
|
7008 |
#endif |
|
7009 |
Syntax error |
|
7010 |
_ACEOF |
|
7011 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7012 |
|
|
7013 |
else |
|
7014 |
# Broken: fails on valid input. |
|
7015 |
continue |
|
7016 |
fi |
|
7017 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
7018 |
|
|
7019 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
7020 |
# can be detected and how. |
|
7021 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7022 |
/* end confdefs.h. */ |
|
7023 |
#include <ac_nonexistent.h> |
|
7024 |
_ACEOF |
|
7025 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7026 |
# Broken: success on invalid input. |
|
7027 |
continue |
|
7028 |
else |
|
7029 |
# Passes both tests. |
|
7030 |
ac_preproc_ok=: |
|
7031 |
break |
|
7032 |
fi |
|
7033 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
7034 |
|
|
7035 |
done |
|
7036 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
7037 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
7038 |
if $ac_preproc_ok; then : |
|
7039 |
|
|
7040 |
else |
|
7041 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
7042 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
7043 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
7044 |
See \`config.log' for more details" "$LINENO" 5; } |
|
7045 |
fi |
|
7046 |
|
|
7047 |
ac_ext=c |
|
7048 |
ac_cpp='$CPP $CPPFLAGS' |
|
7049 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7050 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7051 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7052 |
|
|
7053 |
|
|
7054 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
7055 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
7056 |
if ${ac_cv_header_stdc+:} false; then : |
|
7057 |
$as_echo_n "(cached) " >&6 |
|
7058 |
else |
|
7059 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7060 |
/* end confdefs.h. */ |
|
7061 |
#include <stdlib.h> |
|
7062 |
#include <stdarg.h> |
|
7063 |
#include <string.h> |
|
7064 |
#include <float.h> |
|
7065 |
|
|
7066 |
int |
|
7067 |
main () |
|
7068 |
{ |
|
7069 |
|
|
7070 |
; |
|
7071 |
return 0; |
|
7072 |
} |
|
7073 |
_ACEOF |
|
7074 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
7075 |
ac_cv_header_stdc=yes |
|
7076 |
else |
|
7077 |
ac_cv_header_stdc=no |
|
7078 |
fi |
|
7079 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7080 |
|
|
7081 |
if test $ac_cv_header_stdc = yes; then |
|
7082 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
7083 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7084 |
/* end confdefs.h. */ |
|
7085 |
#include <string.h> |
|
7086 |
|
|
7087 |
_ACEOF |
|
7088 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7089 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
7090 |
|
|
7091 |
else |
|
7092 |
ac_cv_header_stdc=no |
|
7093 |
fi |
|
7094 |
rm -f conftest* |
|
7095 |
|
|
7096 |
fi |
|
7097 |
|
|
7098 |
if test $ac_cv_header_stdc = yes; then |
|
7099 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
7100 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7101 |
/* end confdefs.h. */ |
|
7102 |
#include <stdlib.h> |
|
7103 |
|
|
7104 |
_ACEOF |
|
7105 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7106 |
$EGREP "free" >/dev/null 2>&1; then : |
|
7107 |
|
|
7108 |
else |
|
7109 |
ac_cv_header_stdc=no |
|
7110 |
fi |
|
7111 |
rm -f conftest* |
|
7112 |
|
|
7113 |
fi |
|
7114 |
|
|
7115 |
if test $ac_cv_header_stdc = yes; then |
|
7116 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
7117 |
if test "$cross_compiling" = yes; then : |
|
7118 |
: |
|
7119 |
else |
|
7120 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7121 |
/* end confdefs.h. */ |
|
7122 |
#include <ctype.h> |
|
7123 |
#include <stdlib.h> |
|
7124 |
#if ((' ' & 0x0FF) == 0x020) |
|
7125 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
7126 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
7127 |
#else |
|
7128 |
# define ISLOWER(c) \ |
|
7129 |
(('a' <= (c) && (c) <= 'i') \ |
|
7130 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
7131 |
|| ('s' <= (c) && (c) <= 'z')) |
|
7132 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
7133 |
#endif |
|
7134 |
|
|
7135 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
7136 |
int |
|
7137 |
main () |
|
7138 |
{ |
|
7139 |
int i; |
|
7140 |
for (i = 0; i < 256; i++) |
|
7141 |
if (XOR (islower (i), ISLOWER (i)) |
|
7142 |
|| toupper (i) != TOUPPER (i)) |
|
7143 |
return 2; |
|
7144 |
return 0; |
|
7145 |
} |
|
7146 |
_ACEOF |
|
7147 |
if ac_fn_c_try_run "$LINENO"; then : |
|
7148 |
|
|
7149 |
else |
|
7150 |
ac_cv_header_stdc=no |
|
7151 |
fi |
|
7152 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
7153 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
7154 |
fi |
|
7155 |
|
|
7156 |
fi |
|
7157 |
fi |
|
7158 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
7159 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
7160 |
if test $ac_cv_header_stdc = yes; then |
|
7161 |
|
|
7162 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
7163 |
|
|
7164 |
fi |
|
7165 |
|
|
7166 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
7167 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
7168 |
inttypes.h stdint.h unistd.h |
|
7169 |
do : |
|
7170 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7171 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
7172 |
" |
|
7173 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
7174 |
cat >>confdefs.h <<_ACEOF |
|
7175 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
7176 |
_ACEOF |
|
7177 |
|
|
7178 |
fi |
|
7179 |
|
|
7180 |
done |
|
7181 |
|
|
7182 |
|
|
7183 |
for ac_header in dlfcn.h |
|
7184 |
do : |
|
7185 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
|
7186 |
" |
|
7187 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
|
7188 |
cat >>confdefs.h <<_ACEOF |
|
7189 |
#define HAVE_DLFCN_H 1 |
|
7190 |
_ACEOF |
|
7191 |
|
|
7192 |
fi |
|
7193 |
|
|
7194 |
done |
|
7195 |
|
|
7196 |
|
|
7197 |
|
|
7198 |
|
|
7199 |
|
|
7200 |
# Set options |
|
7201 |
|
|
7202 |
|
|
7203 |
|
|
7204 |
enable_dlopen=no |
|
7205 |
|
|
7206 |
|
|
7207 |
enable_win32_dll=no |
|
7208 |
|
|
7209 |
|
|
7210 |
# Check whether --enable-shared was given. |
|
7211 |
if test "${enable_shared+set}" = set; then : |
|
7212 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
7213 |
case $enableval in |
|
7214 |
yes) enable_shared=yes ;; |
|
7215 |
no) enable_shared=no ;; |
|
7216 |
*) |
|
7217 |
enable_shared=no |
|
7218 |
# Look at the argument we got. We use all the common list separators. |
|
7219 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7220 |
for pkg in $enableval; do |
|
7221 |
IFS="$lt_save_ifs" |
|
7222 |
if test "X$pkg" = "X$p"; then |
|
7223 |
enable_shared=yes |
|
7224 |
fi |
|
7225 |
done |
|
7226 |
IFS="$lt_save_ifs" |
|
7227 |
;; |
|
7228 |
esac |
|
7229 |
else |
|
7230 |
enable_shared=yes |
|
7231 |
fi |
|
7232 |
|
|
7233 |
|
|
7234 |
|
|
7235 |
|
|
7236 |
|
|
7237 |
|
|
7238 |
|
|
7239 |
|
|
7240 |
|
|
7241 |
# Check whether --enable-static was given. |
|
7242 |
if test "${enable_static+set}" = set; then : |
|
7243 |
enableval=$enable_static; p=${PACKAGE-default} |
|
7244 |
case $enableval in |
|
7245 |
yes) enable_static=yes ;; |
|
7246 |
no) enable_static=no ;; |
|
7247 |
*) |
|
7248 |
enable_static=no |
|
7249 |
# Look at the argument we got. We use all the common list separators. |
|
7250 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7251 |
for pkg in $enableval; do |
|
7252 |
IFS="$lt_save_ifs" |
|
7253 |
if test "X$pkg" = "X$p"; then |
|
7254 |
enable_static=yes |
|
7255 |
fi |
|
7256 |
done |
|
7257 |
IFS="$lt_save_ifs" |
|
7258 |
;; |
|
7259 |
esac |
|
7260 |
else |
|
7261 |
enable_static=yes |
|
7262 |
fi |
|
7263 |
|
|
7264 |
|
|
7265 |
|
|
7266 |
|
|
7267 |
|
|
7268 |
|
|
7269 |
|
|
7270 |
|
|
7271 |
|
|
7272 |
|
|
7273 |
# Check whether --with-pic was given. |
|
7274 |
if test "${with_pic+set}" = set; then : |
|
7275 |
withval=$with_pic; lt_p=${PACKAGE-default} |
|
7276 |
case $withval in |
|
7277 |
yes|no) pic_mode=$withval ;; |
|
7278 |
*) |
|
7279 |
pic_mode=default |
|
7280 |
# Look at the argument we got. We use all the common list separators. |
|
7281 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7282 |
for lt_pkg in $withval; do |
|
7283 |
IFS="$lt_save_ifs" |
|
7284 |
if test "X$lt_pkg" = "X$lt_p"; then |
|
7285 |
pic_mode=yes |
|
7286 |
fi |
|
7287 |
done |
|
7288 |
IFS="$lt_save_ifs" |
|
7289 |
;; |
|
7290 |
esac |
|
7291 |
else |
|
7292 |
pic_mode=default |
|
7293 |
fi |
|
7294 |
|
|
7295 |
|
|
7296 |
test -z "$pic_mode" && pic_mode=default |
|
7297 |
|
|
7298 |
|
|
7299 |
|
|
7300 |
|
|
7301 |
|
|
7302 |
|
|
7303 |
|
|
7304 |
# Check whether --enable-fast-install was given. |
|
7305 |
if test "${enable_fast_install+set}" = set; then : |
|
7306 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
7307 |
case $enableval in |
|
7308 |
yes) enable_fast_install=yes ;; |
|
7309 |
no) enable_fast_install=no ;; |
|
7310 |
*) |
|
7311 |
enable_fast_install=no |
|
7312 |
# Look at the argument we got. We use all the common list separators. |
|
7313 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
7314 |
for pkg in $enableval; do |
|
7315 |
IFS="$lt_save_ifs" |
|
7316 |
if test "X$pkg" = "X$p"; then |
|
7317 |
enable_fast_install=yes |
|
7318 |
fi |
|
7319 |
done |
|
7320 |
IFS="$lt_save_ifs" |
|
7321 |
;; |
|
7322 |
esac |
|
7323 |
else |
|
7324 |
enable_fast_install=yes |
|
7325 |
fi |
|
7326 |
|
|
7327 |
|
|
7328 |
|
|
7329 |
|
|
7330 |
|
|
7331 |
|
|
7332 |
|
|
7333 |
|
|
7334 |
|
|
7335 |
|
|
7336 |
|
|
7337 |
# This can be used to rebuild libtool when needed |
|
7338 |
LIBTOOL_DEPS="$ltmain" |
|
7339 |
|
|
7340 |
# Always use our own libtool. |
|
7341 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
7342 |
|
|
7343 |
|
|
7344 |
|
|
7345 |
|
|
7346 |
|
|
7347 |
|
|
7348 |
|
|
7349 |
|
|
7350 |
|
|
7351 |
|
|
7352 |
|
|
7353 |
|
|
7354 |
|
|
7355 |
|
|
7356 |
|
|
7357 |
|
|
7358 |
|
|
7359 |
|
|
7360 |
|
|
7361 |
|
|
7362 |
|
|
7363 |
|
|
7364 |
|
|
7365 |
|
|
7366 |
|
|
7367 |
|
|
7368 |
|
|
7369 |
|
|
7370 |
|
|
7371 |
|
|
7372 |
test -z "$LN_S" && LN_S="ln -s" |
|
7373 |
|
|
7374 |
|
|
7375 |
|
|
7376 |
|
|
7377 |
|
|
7378 |
|
|
7379 |
|
|
7380 |
|
|
7381 |
|
|
7382 |
|
|
7383 |
|
|
7384 |
|
|
7385 |
|
|
7386 |
|
|
7387 |
if test -n "${ZSH_VERSION+set}" ; then |
|
7388 |
setopt NO_GLOB_SUBST |
|
7389 |
fi |
|
7390 |
|
|
7391 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
|
7392 |
$as_echo_n "checking for objdir... " >&6; } |
|
7393 |
if ${lt_cv_objdir+:} false; then : |
|
7394 |
$as_echo_n "(cached) " >&6 |
|
7395 |
else |
|
7396 |
rm -f .libs 2>/dev/null |
|
7397 |
mkdir .libs 2>/dev/null |
|
7398 |
if test -d .libs; then |
|
7399 |
lt_cv_objdir=.libs |
|
7400 |
else |
|
7401 |
# MS-DOS does not allow filenames that begin with a dot. |
|
7402 |
lt_cv_objdir=_libs |
|
7403 |
fi |
|
7404 |
rmdir .libs 2>/dev/null |
|
7405 |
fi |
|
7406 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
|
7407 |
$as_echo "$lt_cv_objdir" >&6; } |
|
7408 |
objdir=$lt_cv_objdir |
|
7409 |
|
|
7410 |
|
|
7411 |
|
|
7412 |
|
|
7413 |
|
|
7414 |
cat >>confdefs.h <<_ACEOF |
|
7415 |
#define LT_OBJDIR "$lt_cv_objdir/" |
|
7416 |
_ACEOF |
|
7417 |
|
|
7418 |
|
|
7419 |
|
|
7420 |
|
|
7421 |
case $host_os in |
|
7422 |
aix3*) |
|
7423 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
7424 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
7425 |
# vanish in a puff of smoke. |
|
7426 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
7427 |
COLLECT_NAMES= |
|
7428 |
export COLLECT_NAMES |
|
7429 |
fi |
|
7430 |
;; |
|
7431 |
esac |
|
7432 |
|
|
7433 |
# Global variables: |
|
7434 |
ofile=libtool |
|
7435 |
can_build_shared=yes |
|
7436 |
|
|
7437 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
|
7438 |
# which needs '.lib'). |
|
7439 |
libext=a |
|
7440 |
|
|
7441 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
7442 |
|
|
7443 |
old_CC="$CC" |
|
7444 |
old_CFLAGS="$CFLAGS" |
|
7445 |
|
|
7446 |
# Set sane defaults for various variables |
|
7447 |
test -z "$CC" && CC=cc |
|
7448 |
test -z "$LTCC" && LTCC=$CC |
|
7449 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
7450 |
test -z "$LD" && LD=ld |
|
7451 |
test -z "$ac_objext" && ac_objext=o |
|
7452 |
|
|
7453 |
for cc_temp in $compiler""; do |
|
7454 |
case $cc_temp in |
|
7455 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
7456 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
7457 |
\-*) ;; |
|
7458 |
*) break;; |
|
7459 |
esac |
|
7460 |
done |
|
7461 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
7462 |
|
|
7463 |
|
|
7464 |
# Only perform the check for file, if the check method requires it |
|
7465 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
7466 |
case $deplibs_check_method in |
|
7467 |
file_magic*) |
|
7468 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
7469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
|
7470 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
7471 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
|
7472 |
$as_echo_n "(cached) " >&6 |
|
7473 |
else |
|
7474 |
case $MAGIC_CMD in |
|
7475 |
[\\/*] | ?:[\\/]*) |
|
7476 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
7477 |
;; |
|
7478 |
*) |
|
7479 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
7480 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
7481 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
7482 |
for ac_dir in $ac_dummy; do |
|
7483 |
IFS="$lt_save_ifs" |
|
7484 |
test -z "$ac_dir" && ac_dir=. |
|
7485 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
7486 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
7487 |
if test -n "$file_magic_test_file"; then |
|
7488 |
case $deplibs_check_method in |
|
7489 |
"file_magic "*) |
|
7490 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
7491 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7492 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
7493 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
7494 |
: |
|
7495 |
else |
|
7496 |
cat <<_LT_EOF 1>&2 |
|
7497 |
|
|
7498 |
*** Warning: the command libtool uses to detect shared libraries, |
|
7499 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
7500 |
*** The result is that libtool may fail to recognize shared libraries |
|
7501 |
*** as such. This will affect the creation of libtool libraries that |
|
7502 |
*** depend on shared libraries, but programs linked with such libtool |
|
7503 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
7504 |
*** may want to report the problem to your system manager and/or to |
|
7505 |
*** bug-libtool@gnu.org |
|
7506 |
|
|
7507 |
_LT_EOF |
|
7508 |
fi ;; |
|
7509 |
esac |
|
7510 |
fi |
|
7511 |
break |
|
7512 |
fi |
|
7513 |
done |
|
7514 |
IFS="$lt_save_ifs" |
|
7515 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
7516 |
;; |
|
7517 |
esac |
|
7518 |
fi |
|
7519 |
|
|
7520 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7521 |
if test -n "$MAGIC_CMD"; then |
|
7522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
7523 |
$as_echo "$MAGIC_CMD" >&6; } |
|
7524 |
else |
|
7525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7526 |
$as_echo "no" >&6; } |
|
7527 |
fi |
|
7528 |
|
|
7529 |
|
|
7530 |
|
|
7531 |
|
|
7532 |
|
|
7533 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
7534 |
if test -n "$ac_tool_prefix"; then |
|
7535 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
|
7536 |
$as_echo_n "checking for file... " >&6; } |
|
7537 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
|
7538 |
$as_echo_n "(cached) " >&6 |
|
7539 |
else |
|
7540 |
case $MAGIC_CMD in |
|
7541 |
[\\/*] | ?:[\\/]*) |
|
7542 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
7543 |
;; |
|
7544 |
*) |
|
7545 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
7546 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
7547 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
7548 |
for ac_dir in $ac_dummy; do |
|
7549 |
IFS="$lt_save_ifs" |
|
7550 |
test -z "$ac_dir" && ac_dir=. |
|
7551 |
if test -f $ac_dir/file; then |
|
7552 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
7553 |
if test -n "$file_magic_test_file"; then |
|
7554 |
case $deplibs_check_method in |
|
7555 |
"file_magic "*) |
|
7556 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
7557 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7558 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
7559 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
7560 |
: |
|
7561 |
else |
|
7562 |
cat <<_LT_EOF 1>&2 |
|
7563 |
|
|
7564 |
*** Warning: the command libtool uses to detect shared libraries, |
|
7565 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
7566 |
*** The result is that libtool may fail to recognize shared libraries |
|
7567 |
*** as such. This will affect the creation of libtool libraries that |
|
7568 |
*** depend on shared libraries, but programs linked with such libtool |
|
7569 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
7570 |
*** may want to report the problem to your system manager and/or to |
|
7571 |
*** bug-libtool@gnu.org |
|
7572 |
|
|
7573 |
_LT_EOF |
|
7574 |
fi ;; |
|
7575 |
esac |
|
7576 |
fi |
|
7577 |
break |
|
7578 |
fi |
|
7579 |
done |
|
7580 |
IFS="$lt_save_ifs" |
|
7581 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
7582 |
;; |
|
7583 |
esac |
|
7584 |
fi |
|
7585 |
|
|
7586 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
7587 |
if test -n "$MAGIC_CMD"; then |
|
7588 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
7589 |
$as_echo "$MAGIC_CMD" >&6; } |
|
7590 |
else |
|
7591 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7592 |
$as_echo "no" >&6; } |
|
7593 |
fi |
|
7594 |
|
|
7595 |
|
|
7596 |
else |
|
7597 |
MAGIC_CMD=: |
|
7598 |
fi |
|
7599 |
fi |
|
7600 |
|
|
7601 |
fi |
|
7602 |
;; |
|
7603 |
esac |
|
7604 |
|
|
7605 |
# Use C for the default configuration in the libtool script |
|
7606 |
|
|
7607 |
lt_save_CC="$CC" |
|
7608 |
ac_ext=c |
|
7609 |
ac_cpp='$CPP $CPPFLAGS' |
|
7610 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7611 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7612 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7613 |
|
|
7614 |
|
|
7615 |
# Source file extension for C test sources. |
|
7616 |
ac_ext=c |
|
7617 |
|
|
7618 |
# Object file extension for compiled C test sources. |
|
7619 |
objext=o |
|
7620 |
objext=$objext |
|
7621 |
|
|
7622 |
# Code to be used in simple compile tests |
|
7623 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
7624 |
|
|
7625 |
# Code to be used in simple link tests |
|
7626 |
lt_simple_link_test_code='int main(){return(0);}' |
|
7627 |
|
|
7628 |
|
|
7629 |
|
|
7630 |
|
|
7631 |
|
|
7632 |
|
|
7633 |
|
|
7634 |
# If no C compiler was specified, use CC. |
|
7635 |
LTCC=${LTCC-"$CC"} |
|
7636 |
|
|
7637 |
# If no C compiler flags were specified, use CFLAGS. |
|
7638 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
7639 |
|
|
7640 |
# Allow CC to be a program name with arguments. |
|
7641 |
compiler=$CC |
|
7642 |
|
|
7643 |
# Save the default compiler, since it gets overwritten when the other |
|
7644 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
7645 |
compiler_DEFAULT=$CC |
|
7646 |
|
|
7647 |
# save warnings/boilerplate of simple test code |
|
7648 |
ac_outfile=conftest.$ac_objext |
|
7649 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
7650 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
7651 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
7652 |
$RM conftest* |
|
7653 |
|
|
7654 |
ac_outfile=conftest.$ac_objext |
|
7655 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
7656 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
7657 |
_lt_linker_boilerplate=`cat conftest.err` |
|
7658 |
$RM -r conftest* |
|
7659 |
|
|
7660 |
|
|
7661 |
## CAVEAT EMPTOR: |
|
7662 |
## There is no encapsulation within the following macros, do not change |
|
7663 |
## the running order or otherwise move them around unless you know exactly |
|
7664 |
## what you are doing... |
|
7665 |
if test -n "$compiler"; then |
|
7666 |
|
|
7667 |
lt_prog_compiler_no_builtin_flag= |
|
7668 |
|
|
7669 |
if test "$GCC" = yes; then |
|
7670 |
case $cc_basename in |
|
7671 |
nvcc*) |
|
7672 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
|
7673 |
*) |
|
7674 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
|
7675 |
esac |
|
7676 |
|
|
7677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
7678 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
7679 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
|
7680 |
$as_echo_n "(cached) " >&6 |
|
7681 |
else |
|
7682 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
7683 |
ac_outfile=conftest.$ac_objext |
|
7684 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
7685 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
|
7686 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
7687 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
7688 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
7689 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
7690 |
# The option is referenced via a variable to avoid confusing sed. |
|
7691 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
7692 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
7693 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
7694 |
-e 's:$: $lt_compiler_flag:'` |
|
7695 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
7696 |
(eval "$lt_compile" 2>conftest.err) |
|
7697 |
ac_status=$? |
|
7698 |
cat conftest.err >&5 |
|
7699 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7700 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
|
7701 |
# The compiler can only warn and ignore the option if not recognized |
|
7702 |
# So say no if there are warnings other than the usual output. |
|
7703 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
7704 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
7705 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
7706 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
7707 |
fi |
|
7708 |
fi |
|
7709 |
$RM conftest* |
|
7710 |
|
|
7711 |
fi |
|
7712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
|
7713 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
7714 |
|
|
7715 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
7716 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
7717 |
else |
|
7718 |
: |
|
7719 |
fi |
|
7720 |
|
|
7721 |
fi |
|
7722 |
|
|
7723 |
|
|
7724 |
|
|
7725 |
|
|
7726 |
|
|
7727 |
|
|
7728 |
lt_prog_compiler_wl= |
|
7729 |
lt_prog_compiler_pic= |
|
7730 |
lt_prog_compiler_static= |
|
7731 |
|
|
7732 |
|
|
7733 |
if test "$GCC" = yes; then |
|
7734 |
lt_prog_compiler_wl='-Wl,' |
|
7735 |
lt_prog_compiler_static='-static' |
|
7736 |
|
|
7737 |
case $host_os in |
|
7738 |
aix*) |
|
7739 |
# All AIX code is PIC. |
|
7740 |
if test "$host_cpu" = ia64; then |
|
7741 |
# AIX 5 now supports IA64 processor |
|
7742 |
lt_prog_compiler_static='-Bstatic' |
|
7743 |
fi |
|
7744 |
;; |
|
7745 |
|
|
7746 |
amigaos*) |
|
7747 |
case $host_cpu in |
|
7748 |
powerpc) |
|
7749 |
# see comment about AmigaOS4 .so support |
|
7750 |
lt_prog_compiler_pic='-fPIC' |
|
7751 |
;; |
|
7752 |
m68k) |
|
7753 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
7754 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
7755 |
# like `-m68040'. |
|
7756 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
7757 |
;; |
|
7758 |
esac |
|
7759 |
;; |
|
7760 |
|
|
7761 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
7762 |
# PIC is the default for these OSes. |
|
7763 |
;; |
|
7764 |
|
|
7765 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
7766 |
# This hack is so that the source file can tell whether it is being |
|
7767 |
# built for inclusion in a dll (and should export symbols for example). |
|
7768 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
7769 |
# (--disable-auto-import) libraries |
|
7770 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
7771 |
;; |
|
7772 |
|
|
7773 |
darwin* | rhapsody*) |
|
7774 |
# PIC is the default on this platform |
|
7775 |
# Common symbols not allowed in MH_DYLIB files |
|
7776 |
lt_prog_compiler_pic='-fno-common' |
|
7777 |
;; |
|
7778 |
|
|
7779 |
haiku*) |
|
7780 |
# PIC is the default for Haiku. |
|
7781 |
# The "-static" flag exists, but is broken. |
|
7782 |
lt_prog_compiler_static= |
|
7783 |
;; |
|
7784 |
|
|
7785 |
hpux*) |
|
7786 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
7787 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
7788 |
# sets the default TLS model and affects inlining. |
|
7789 |
case $host_cpu in |
|
7790 |
hppa*64*) |
|
7791 |
# +Z the default |
|
7792 |
;; |
|
7793 |
*) |
|
7794 |
lt_prog_compiler_pic='-fPIC' |
|
7795 |
;; |
|
7796 |
esac |
|
7797 |
;; |
|
7798 |
|
|
7799 |
interix[3-9]*) |
|
7800 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
7801 |
# Instead, we relocate shared libraries at runtime. |
|
7802 |
;; |
|
7803 |
|
|
7804 |
msdosdjgpp*) |
|
7805 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
7806 |
# on systems that don't support them. |
|
7807 |
lt_prog_compiler_can_build_shared=no |
|
7808 |
enable_shared=no |
|
7809 |
;; |
|
7810 |
|
|
7811 |
*nto* | *qnx*) |
|
7812 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
7813 |
# it will coredump. |
|
7814 |
lt_prog_compiler_pic='-fPIC -shared' |
|
7815 |
;; |
|
7816 |
|
|
7817 |
sysv4*MP*) |
|
7818 |
if test -d /usr/nec; then |
|
7819 |
lt_prog_compiler_pic=-Kconform_pic |
|
7820 |
fi |
|
7821 |
;; |
|
7822 |
|
|
7823 |
*) |
|
7824 |
lt_prog_compiler_pic='-fPIC' |
|
7825 |
;; |
|
7826 |
esac |
|
7827 |
|
|
7828 |
case $cc_basename in |
|
7829 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
7830 |
lt_prog_compiler_wl='-Xlinker ' |
|
7831 |
if test -n "$lt_prog_compiler_pic"; then |
|
7832 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
|
7833 |
fi |
|
7834 |
;; |
|
7835 |
esac |
|
7836 |
else |
|
7837 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
7838 |
case $host_os in |
|
7839 |
aix*) |
|
7840 |
lt_prog_compiler_wl='-Wl,' |
|
7841 |
if test "$host_cpu" = ia64; then |
|
7842 |
# AIX 5 now supports IA64 processor |
|
7843 |
lt_prog_compiler_static='-Bstatic' |
|
7844 |
else |
|
7845 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
7846 |
fi |
|
7847 |
;; |
|
7848 |
|
|
7849 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
7850 |
# This hack is so that the source file can tell whether it is being |
|
7851 |
# built for inclusion in a dll (and should export symbols for example). |
|
7852 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
7853 |
;; |
|
7854 |
|
|
7855 |
hpux9* | hpux10* | hpux11*) |
|
7856 |
lt_prog_compiler_wl='-Wl,' |
|
7857 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
7858 |
# not for PA HP-UX. |
|
7859 |
case $host_cpu in |
|
7860 |
hppa*64*|ia64*) |
|
7861 |
# +Z the default |
|
7862 |
;; |
|
7863 |
*) |
|
7864 |
lt_prog_compiler_pic='+Z' |
|
7865 |
;; |
|
7866 |
esac |
|
7867 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
7868 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
7869 |
;; |
|
7870 |
|
|
7871 |
irix5* | irix6* | nonstopux*) |
|
7872 |
lt_prog_compiler_wl='-Wl,' |
|
7873 |
# PIC (with -KPIC) is the default. |
|
7874 |
lt_prog_compiler_static='-non_shared' |
|
7875 |
;; |
|
7876 |
|
|
7877 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
7878 |
case $cc_basename in |
|
7879 |
# old Intel for x86_64 which still supported -KPIC. |
|
7880 |
ecc*) |
|
7881 |
lt_prog_compiler_wl='-Wl,' |
|
7882 |
lt_prog_compiler_pic='-KPIC' |
|
7883 |
lt_prog_compiler_static='-static' |
|
7884 |
;; |
|
7885 |
# icc used to be incompatible with GCC. |
|
7886 |
# ICC 10 doesn't accept -KPIC any more. |
|
7887 |
icc* | ifort*) |
|
7888 |
lt_prog_compiler_wl='-Wl,' |
|
7889 |
lt_prog_compiler_pic='-fPIC' |
|
7890 |
lt_prog_compiler_static='-static' |
|
7891 |
;; |
|
7892 |
# Lahey Fortran 8.1. |
|
7893 |
lf95*) |
|
7894 |
lt_prog_compiler_wl='-Wl,' |
|
7895 |
lt_prog_compiler_pic='--shared' |
|
7896 |
lt_prog_compiler_static='--static' |
|
7897 |
;; |
|
7898 |
nagfor*) |
|
7899 |
# NAG Fortran compiler |
|
7900 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
7901 |
lt_prog_compiler_pic='-PIC' |
|
7902 |
lt_prog_compiler_static='-Bstatic' |
|
7903 |
;; |
|
7904 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
7905 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
7906 |
# which looks to be a dead project) |
|
7907 |
lt_prog_compiler_wl='-Wl,' |
|
7908 |
lt_prog_compiler_pic='-fpic' |
|
7909 |
lt_prog_compiler_static='-Bstatic' |
|
7910 |
;; |
|
7911 |
ccc*) |
|
7912 |
lt_prog_compiler_wl='-Wl,' |
|
7913 |
# All Alpha code is PIC. |
|
7914 |
lt_prog_compiler_static='-non_shared' |
|
7915 |
;; |
|
7916 |
xl* | bgxl* | bgf* | mpixl*) |
|
7917 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
7918 |
lt_prog_compiler_wl='-Wl,' |
|
7919 |
lt_prog_compiler_pic='-qpic' |
|
7920 |
lt_prog_compiler_static='-qstaticlink' |
|
7921 |
;; |
|
7922 |
*) |
|
7923 |
case `$CC -V 2>&1 | sed 5q` in |
|
7924 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
|
7925 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
7926 |
lt_prog_compiler_pic='-KPIC' |
|
7927 |
lt_prog_compiler_static='-Bstatic' |
|
7928 |
lt_prog_compiler_wl='' |
|
7929 |
;; |
|
7930 |
*Sun\ F* | *Sun*Fortran*) |
|
7931 |
lt_prog_compiler_pic='-KPIC' |
|
7932 |
lt_prog_compiler_static='-Bstatic' |
|
7933 |
lt_prog_compiler_wl='-Qoption ld ' |
|
7934 |
;; |
|
7935 |
*Sun\ C*) |
|
7936 |
# Sun C 5.9 |
|
7937 |
lt_prog_compiler_pic='-KPIC' |
|
7938 |
lt_prog_compiler_static='-Bstatic' |
|
7939 |
lt_prog_compiler_wl='-Wl,' |
|
7940 |
;; |
|
7941 |
*Intel*\ [CF]*Compiler*) |
|
7942 |
lt_prog_compiler_wl='-Wl,' |
|
7943 |
lt_prog_compiler_pic='-fPIC' |
|
7944 |
lt_prog_compiler_static='-static' |
|
7945 |
;; |
|
7946 |
*Portland\ Group*) |
|
7947 |
lt_prog_compiler_wl='-Wl,' |
|
7948 |
lt_prog_compiler_pic='-fpic' |
|
7949 |
lt_prog_compiler_static='-Bstatic' |
|
7950 |
;; |
|
7951 |
esac |
|
7952 |
;; |
|
7953 |
esac |
|
7954 |
;; |
|
7955 |
|
|
7956 |
newsos6) |
|
7957 |
lt_prog_compiler_pic='-KPIC' |
|
7958 |
lt_prog_compiler_static='-Bstatic' |
|
7959 |
;; |
|
7960 |
|
|
7961 |
*nto* | *qnx*) |
|
7962 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
7963 |
# it will coredump. |
|
7964 |
lt_prog_compiler_pic='-fPIC -shared' |
|
7965 |
;; |
|
7966 |
|
|
7967 |
osf3* | osf4* | osf5*) |
|
7968 |
lt_prog_compiler_wl='-Wl,' |
|
7969 |
# All OSF/1 code is PIC. |
|
7970 |
lt_prog_compiler_static='-non_shared' |
|
7971 |
;; |
|
7972 |
|
|
7973 |
rdos*) |
|
7974 |
lt_prog_compiler_static='-non_shared' |
|
7975 |
;; |
|
7976 |
|
|
7977 |
solaris*) |
|
7978 |
lt_prog_compiler_pic='-KPIC' |
|
7979 |
lt_prog_compiler_static='-Bstatic' |
|
7980 |
case $cc_basename in |
|
7981 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
|
7982 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
7983 |
*) |
|
7984 |
lt_prog_compiler_wl='-Wl,';; |
|
7985 |
esac |
|
7986 |
;; |
|
7987 |
|
|
7988 |
sunos4*) |
|
7989 |
lt_prog_compiler_wl='-Qoption ld ' |
|
7990 |
lt_prog_compiler_pic='-PIC' |
|
7991 |
lt_prog_compiler_static='-Bstatic' |
|
7992 |
;; |
|
7993 |
|
|
7994 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
7995 |
lt_prog_compiler_wl='-Wl,' |
|
7996 |
lt_prog_compiler_pic='-KPIC' |
|
7997 |
lt_prog_compiler_static='-Bstatic' |
|
7998 |
;; |
|
7999 |
|
|
8000 |
sysv4*MP*) |
|
8001 |
if test -d /usr/nec ;then |
|
8002 |
lt_prog_compiler_pic='-Kconform_pic' |
|
8003 |
lt_prog_compiler_static='-Bstatic' |
|
8004 |
fi |
|
8005 |
;; |
|
8006 |
|
|
8007 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
8008 |
lt_prog_compiler_wl='-Wl,' |
|
8009 |
lt_prog_compiler_pic='-KPIC' |
|
8010 |
lt_prog_compiler_static='-Bstatic' |
|
8011 |
;; |
|
8012 |
|
|
8013 |
unicos*) |
|
8014 |
lt_prog_compiler_wl='-Wl,' |
|
8015 |
lt_prog_compiler_can_build_shared=no |
|
8016 |
;; |
|
8017 |
|
|
8018 |
uts4*) |
|
8019 |
lt_prog_compiler_pic='-pic' |
|
8020 |
lt_prog_compiler_static='-Bstatic' |
|
8021 |
;; |
|
8022 |
|
|
8023 |
*) |
|
8024 |
lt_prog_compiler_can_build_shared=no |
|
8025 |
;; |
|
8026 |
esac |
|
8027 |
fi |
|
8028 |
|
|
8029 |
case $host_os in |
|
8030 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
8031 |
*djgpp*) |
|
8032 |
lt_prog_compiler_pic= |
|
8033 |
;; |
|
8034 |
*) |
|
8035 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
8036 |
;; |
|
8037 |
esac |
|
8038 |
|
|
8039 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
8040 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
8041 |
if ${lt_cv_prog_compiler_pic+:} false; then : |
|
8042 |
$as_echo_n "(cached) " >&6 |
|
8043 |
else |
|
8044 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
|
8045 |
fi |
|
8046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
|
8047 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
|
8048 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
8049 |
|
|
8050 |
# |
|
8051 |
# Check to make sure the PIC flag actually works. |
|
8052 |
# |
|
8053 |
if test -n "$lt_prog_compiler_pic"; then |
|
8054 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
|
8055 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
8056 |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
|
8057 |
$as_echo_n "(cached) " >&6 |
|
8058 |
else |
|
8059 |
lt_cv_prog_compiler_pic_works=no |
|
8060 |
ac_outfile=conftest.$ac_objext |
|
8061 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8062 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
|
8063 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8064 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8065 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8066 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8067 |
# The option is referenced via a variable to avoid confusing sed. |
|
8068 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8069 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8070 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8071 |
-e 's:$: $lt_compiler_flag:'` |
|
8072 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8073 |
(eval "$lt_compile" 2>conftest.err) |
|
8074 |
ac_status=$? |
|
8075 |
cat conftest.err >&5 |
|
8076 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8077 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
|
8078 |
# The compiler can only warn and ignore the option if not recognized |
|
8079 |
# So say no if there are warnings other than the usual output. |
|
8080 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
8081 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
8082 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8083 |
lt_cv_prog_compiler_pic_works=yes |
|
8084 |
fi |
|
8085 |
fi |
|
8086 |
$RM conftest* |
|
8087 |
|
|
8088 |
fi |
|
8089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
|
8090 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
8091 |
|
|
8092 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
|
8093 |
case $lt_prog_compiler_pic in |
|
8094 |
"" | " "*) ;; |
|
8095 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
8096 |
esac |
|
8097 |
else |
|
8098 |
lt_prog_compiler_pic= |
|
8099 |
lt_prog_compiler_can_build_shared=no |
|
8100 |
fi |
|
8101 |
|
|
8102 |
fi |
|
8103 |
|
|
8104 |
|
|
8105 |
|
|
8106 |
|
|
8107 |
|
|
8108 |
|
|
8109 |
|
|
8110 |
|
|
8111 |
|
|
8112 |
|
|
8113 |
|
|
8114 |
# |
|
8115 |
# Check to make sure the static flag actually works. |
|
8116 |
# |
|
8117 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
8118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
8119 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
8120 |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
|
8121 |
$as_echo_n "(cached) " >&6 |
|
8122 |
else |
|
8123 |
lt_cv_prog_compiler_static_works=no |
|
8124 |
save_LDFLAGS="$LDFLAGS" |
|
8125 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
8126 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
8127 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
8128 |
# The linker can only warn and ignore the option if not recognized |
|
8129 |
# So say no if there are warnings |
|
8130 |
if test -s conftest.err; then |
|
8131 |
# Append any errors to the config.log. |
|
8132 |
cat conftest.err 1>&5 |
|
8133 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
8134 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
8135 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
8136 |
lt_cv_prog_compiler_static_works=yes |
|
8137 |
fi |
|
8138 |
else |
|
8139 |
lt_cv_prog_compiler_static_works=yes |
|
8140 |
fi |
|
8141 |
fi |
|
8142 |
$RM -r conftest* |
|
8143 |
LDFLAGS="$save_LDFLAGS" |
|
8144 |
|
|
8145 |
fi |
|
8146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
|
8147 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
8148 |
|
|
8149 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
8150 |
: |
|
8151 |
else |
|
8152 |
lt_prog_compiler_static= |
|
8153 |
fi |
|
8154 |
|
|
8155 |
|
|
8156 |
|
|
8157 |
|
|
8158 |
|
|
8159 |
|
|
8160 |
|
|
8161 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8162 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
8163 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
|
8164 |
$as_echo_n "(cached) " >&6 |
|
8165 |
else |
|
8166 |
lt_cv_prog_compiler_c_o=no |
|
8167 |
$RM -r conftest 2>/dev/null |
|
8168 |
mkdir conftest |
|
8169 |
cd conftest |
|
8170 |
mkdir out |
|
8171 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8172 |
|
|
8173 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8174 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8175 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8176 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8177 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8178 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8179 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8180 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8181 |
-e 's:$: $lt_compiler_flag:'` |
|
8182 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8183 |
(eval "$lt_compile" 2>out/conftest.err) |
|
8184 |
ac_status=$? |
|
8185 |
cat out/conftest.err >&5 |
|
8186 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8187 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
8188 |
then |
|
8189 |
# The compiler can only warn and ignore the option if not recognized |
|
8190 |
# So say no if there are warnings |
|
8191 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
8192 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
8193 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8194 |
lt_cv_prog_compiler_c_o=yes |
|
8195 |
fi |
|
8196 |
fi |
|
8197 |
chmod u+w . 2>&5 |
|
8198 |
$RM conftest* |
|
8199 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8200 |
# template instantiation |
|
8201 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8202 |
$RM out/* && rmdir out |
|
8203 |
cd .. |
|
8204 |
$RM -r conftest |
|
8205 |
$RM conftest* |
|
8206 |
|
|
8207 |
fi |
|
8208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8209 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8210 |
|
|
8211 |
|
|
8212 |
|
|
8213 |
|
|
8214 |
|
|
8215 |
|
|
8216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8217 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
8218 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
|
8219 |
$as_echo_n "(cached) " >&6 |
|
8220 |
else |
|
8221 |
lt_cv_prog_compiler_c_o=no |
|
8222 |
$RM -r conftest 2>/dev/null |
|
8223 |
mkdir conftest |
|
8224 |
cd conftest |
|
8225 |
mkdir out |
|
8226 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8227 |
|
|
8228 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8229 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8230 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8231 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8232 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8233 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8234 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8235 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8236 |
-e 's:$: $lt_compiler_flag:'` |
|
8237 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8238 |
(eval "$lt_compile" 2>out/conftest.err) |
|
8239 |
ac_status=$? |
|
8240 |
cat out/conftest.err >&5 |
|
8241 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8242 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
8243 |
then |
|
8244 |
# The compiler can only warn and ignore the option if not recognized |
|
8245 |
# So say no if there are warnings |
|
8246 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
8247 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
8248 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8249 |
lt_cv_prog_compiler_c_o=yes |
|
8250 |
fi |
|
8251 |
fi |
|
8252 |
chmod u+w . 2>&5 |
|
8253 |
$RM conftest* |
|
8254 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8255 |
# template instantiation |
|
8256 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8257 |
$RM out/* && rmdir out |
|
8258 |
cd .. |
|
8259 |
$RM -r conftest |
|
8260 |
$RM conftest* |
|
8261 |
|
|
8262 |
fi |
|
8263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8264 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8265 |
|
|
8266 |
|
|
8267 |
|
|
8268 |
|
|
8269 |
hard_links="nottested" |
|
8270 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
8271 |
# do not overwrite the value of need_locks provided by the user |
|
8272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
|
8273 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
8274 |
hard_links=yes |
|
8275 |
$RM conftest* |
|
8276 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8277 |
touch conftest.a |
|
8278 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
8279 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
|
8281 |
$as_echo "$hard_links" >&6; } |
|
8282 |
if test "$hard_links" = no; then |
|
8283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
8284 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
8285 |
need_locks=warn |
|
8286 |
fi |
|
8287 |
else |
|
8288 |
need_locks=no |
|
8289 |
fi |
|
8290 |
|
|
8291 |
|
|
8292 |
|
|
8293 |
|
|
8294 |
|
|
8295 |
|
|
8296 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
8297 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
8298 |
|
|
8299 |
runpath_var= |
|
8300 |
allow_undefined_flag= |
|
8301 |
always_export_symbols=no |
|
8302 |
archive_cmds= |
|
8303 |
archive_expsym_cmds= |
|
8304 |
compiler_needs_object=no |
|
8305 |
enable_shared_with_static_runtimes=no |
|
8306 |
export_dynamic_flag_spec= |
|
8307 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
8308 |
hardcode_automatic=no |
|
8309 |
hardcode_direct=no |
|
8310 |
hardcode_direct_absolute=no |
|
8311 |
hardcode_libdir_flag_spec= |
|
8312 |
hardcode_libdir_separator= |
|
8313 |
hardcode_minus_L=no |
|
8314 |
hardcode_shlibpath_var=unsupported |
|
8315 |
inherit_rpath=no |
|
8316 |
link_all_deplibs=unknown |
|
8317 |
module_cmds= |
|
8318 |
module_expsym_cmds= |
|
8319 |
old_archive_from_new_cmds= |
|
8320 |
old_archive_from_expsyms_cmds= |
|
8321 |
thread_safe_flag_spec= |
|
8322 |
whole_archive_flag_spec= |
|
8323 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
8324 |
# included in the symbol list |
|
8325 |
include_expsyms= |
|
8326 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
8327 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
8328 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
8329 |
# as well as any symbol that contains `d'. |
|
8330 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
8331 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
8332 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
8333 |
# the symbol is explicitly referenced. Since portable code cannot |
|
8334 |
# rely on this symbol name, it's probably fine to never include it in |
|
8335 |
# preloaded symbol tables. |
|
8336 |
# Exclude shared library initialization/finalization symbols. |
|
8337 |
extract_expsyms_cmds= |
|
8338 |
|
|
8339 |
case $host_os in |
|
8340 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8341 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
8342 |
# When not using gcc, we currently assume that we are using |
|
8343 |
# Microsoft Visual C++. |
|
8344 |
if test "$GCC" != yes; then |
|
8345 |
with_gnu_ld=no |
|
8346 |
fi |
|
8347 |
;; |
|
8348 |
interix*) |
|
8349 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
8350 |
with_gnu_ld=yes |
|
8351 |
;; |
|
8352 |
openbsd*) |
|
8353 |
with_gnu_ld=no |
|
8354 |
;; |
|
8355 |
esac |
|
8356 |
|
|
8357 |
ld_shlibs=yes |
|
8358 |
|
|
8359 |
# On some targets, GNU ld is compatible enough with the native linker |
|
8360 |
# that we're better off using the native interface for both. |
|
8361 |
lt_use_gnu_ld_interface=no |
|
8362 |
if test "$with_gnu_ld" = yes; then |
|
8363 |
case $host_os in |
|
8364 |
aix*) |
|
8365 |
# The AIX port of GNU ld has always aspired to compatibility |
|
8366 |
# with the native linker. However, as the warning in the GNU ld |
|
8367 |
# block says, versions before 2.19.5* couldn't really create working |
|
8368 |
# shared libraries, regardless of the interface used. |
|
8369 |
case `$LD -v 2>&1` in |
|
8370 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
8371 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
8372 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
8373 |
*) |
|
8374 |
lt_use_gnu_ld_interface=yes |
|
8375 |
;; |
|
8376 |
esac |
|
8377 |
;; |
|
8378 |
*) |
|
8379 |
lt_use_gnu_ld_interface=yes |
|
8380 |
;; |
|
8381 |
esac |
|
8382 |
fi |
|
8383 |
|
|
8384 |
if test "$lt_use_gnu_ld_interface" = yes; then |
|
8385 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
8386 |
wlarc='${wl}' |
|
8387 |
|
|
8388 |
# Set some defaults for GNU ld with shared library support. These |
|
8389 |
# are reset later if shared libraries are not supported. Putting them |
|
8390 |
# here allows them to be overridden if necessary. |
|
8391 |
runpath_var=LD_RUN_PATH |
|
8392 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8393 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
8394 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
8395 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
8396 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
8397 |
else |
|
8398 |
whole_archive_flag_spec= |
|
8399 |
fi |
|
8400 |
supports_anon_versioning=no |
|
8401 |
case `$LD -v 2>&1` in |
|
8402 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
|
8403 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
8404 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
8405 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
8406 |
*\ 2.11.*) ;; # other 2.11 versions |
|
8407 |
*) supports_anon_versioning=yes ;; |
|
8408 |
esac |
|
8409 |
|
|
8410 |
# See if GNU ld supports shared libraries. |
|
8411 |
case $host_os in |
|
8412 |
aix[3-9]*) |
|
8413 |
# On AIX/PPC, the GNU linker is very broken |
|
8414 |
if test "$host_cpu" != ia64; then |
|
8415 |
ld_shlibs=no |
|
8416 |
cat <<_LT_EOF 1>&2 |
|
8417 |
|
|
8418 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
|
8419 |
*** to be unable to reliably create shared libraries on AIX. |
|
8420 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
8421 |
*** really care for shared libraries, you may want to install binutils |
|
8422 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
8423 |
*** You will then need to restart the configuration process. |
|
8424 |
|
|
8425 |
_LT_EOF |
|
8426 |
fi |
|
8427 |
;; |
|
8428 |
|
|
8429 |
amigaos*) |
|
8430 |
case $host_cpu in |
|
8431 |
powerpc) |
|
8432 |
# see comment about AmigaOS4 .so support |
|
8433 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8434 |
archive_expsym_cmds='' |
|
8435 |
;; |
|
8436 |
m68k) |
|
8437 |
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)' |
|
8438 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8439 |
hardcode_minus_L=yes |
|
8440 |
;; |
|
8441 |
esac |
|
8442 |
;; |
|
8443 |
|
|
8444 |
beos*) |
|
8445 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
8446 |
allow_undefined_flag=unsupported |
|
8447 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
8448 |
# support --undefined. This deserves some investigation. FIXME |
|
8449 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8450 |
else |
|
8451 |
ld_shlibs=no |
|
8452 |
fi |
|
8453 |
;; |
|
8454 |
|
|
8455 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8456 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
8457 |
# as there is no search path for DLLs. |
|
8458 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8459 |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
|
8460 |
allow_undefined_flag=unsupported |
|
8461 |
always_export_symbols=no |
|
8462 |
enable_shared_with_static_runtimes=yes |
|
8463 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
|
8464 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
8465 |
|
|
8466 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
8467 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
8468 |
# If the export-symbols file already is a .def file (1st line |
|
8469 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
8470 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
8471 |
cp $export_symbols $output_objdir/$soname.def; |
|
8472 |
else |
|
8473 |
echo EXPORTS > $output_objdir/$soname.def; |
|
8474 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
8475 |
fi~ |
|
8476 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
8477 |
else |
|
8478 |
ld_shlibs=no |
|
8479 |
fi |
|
8480 |
;; |
|
8481 |
|
|
8482 |
haiku*) |
|
8483 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8484 |
link_all_deplibs=yes |
|
8485 |
;; |
|
8486 |
|
|
8487 |
interix[3-9]*) |
|
8488 |
hardcode_direct=no |
|
8489 |
hardcode_shlibpath_var=no |
|
8490 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
8491 |
export_dynamic_flag_spec='${wl}-E' |
|
8492 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
8493 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
8494 |
# default) and relocated if they conflict, which is a slow very memory |
|
8495 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
8496 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
8497 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
8498 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
8499 |
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' |
|
8500 |
;; |
|
8501 |
|
|
8502 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
8503 |
tmp_diet=no |
|
8504 |
if test "$host_os" = linux-dietlibc; then |
|
8505 |
case $cc_basename in |
|
8506 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
8507 |
esac |
|
8508 |
fi |
|
8509 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
8510 |
&& test "$tmp_diet" = no |
|
8511 |
then |
|
8512 |
tmp_addflag=' $pic_flag' |
|
8513 |
tmp_sharedflag='-shared' |
|
8514 |
case $cc_basename,$host_cpu in |
|
8515 |
pgcc*) # Portland Group C compiler |
|
8516 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8517 |
tmp_addflag=' $pic_flag' |
|
8518 |
;; |
|
8519 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
|
8520 |
# Portland Group f77 and f90 compilers |
|
8521 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8522 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
8523 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
8524 |
tmp_addflag=' -i_dynamic' ;; |
|
8525 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
8526 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
8527 |
ifc* | ifort*) # Intel Fortran compiler |
|
8528 |
tmp_addflag=' -nofor_main' ;; |
|
8529 |
lf95*) # Lahey Fortran 8.1 |
|
8530 |
whole_archive_flag_spec= |
|
8531 |
tmp_sharedflag='--shared' ;; |
|
8532 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
8533 |
tmp_sharedflag='-qmkshrobj' |
|
8534 |
tmp_addflag= ;; |
|
8535 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
8536 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8537 |
compiler_needs_object=yes |
|
8538 |
;; |
|
8539 |
esac |
|
8540 |
case `$CC -V 2>&1 | sed 5q` in |
|
8541 |
*Sun\ C*) # Sun C 5.9 |
|
8542 |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
|
8543 |
compiler_needs_object=yes |
|
8544 |
tmp_sharedflag='-G' ;; |
|
8545 |
*Sun\ F*) # Sun Fortran 8.3 |
|
8546 |
tmp_sharedflag='-G' ;; |
|
8547 |
esac |
|
8548 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8549 |
|
|
8550 |
if test "x$supports_anon_versioning" = xyes; then |
|
8551 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
8552 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
8553 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
8554 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
8555 |
fi |
|
8556 |
|
|
8557 |
case $cc_basename in |
|
8558 |
xlf* | bgf* | bgxlf* | mpixlf*) |
|
8559 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
8560 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
8561 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8562 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
|
8563 |
if test "x$supports_anon_versioning" = xyes; then |
|
8564 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
8565 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
8566 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
8567 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
8568 |
fi |
|
8569 |
;; |
|
8570 |
esac |
|
8571 |
else |
|
8572 |
ld_shlibs=no |
|
8573 |
fi |
|
8574 |
;; |
|
8575 |
|
|
8576 |
netbsd*) |
|
8577 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
8578 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
8579 |
wlarc= |
|
8580 |
else |
|
8581 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8582 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8583 |
fi |
|
8584 |
;; |
|
8585 |
|
|
8586 |
solaris*) |
|
8587 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
8588 |
ld_shlibs=no |
|
8589 |
cat <<_LT_EOF 1>&2 |
|
8590 |
|
|
8591 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
8592 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
8593 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
8594 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
8595 |
*** your PATH or compiler configuration so that the native linker is |
|
8596 |
*** used, and then restart. |
|
8597 |
|
|
8598 |
_LT_EOF |
|
8599 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
8600 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8601 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8602 |
else |
|
8603 |
ld_shlibs=no |
|
8604 |
fi |
|
8605 |
;; |
|
8606 |
|
|
8607 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
8608 |
case `$LD -v 2>&1` in |
|
8609 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
8610 |
ld_shlibs=no |
|
8611 |
cat <<_LT_EOF 1>&2 |
|
8612 |
|
|
8613 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
8614 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
8615 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
8616 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
8617 |
*** your PATH or compiler configuration so that the native linker is |
|
8618 |
*** used, and then restart. |
|
8619 |
|
|
8620 |
_LT_EOF |
|
8621 |
;; |
|
8622 |
*) |
|
8623 |
# For security reasons, it is highly recommended that you always |
|
8624 |
# use absolute paths for naming shared libraries, and exclude the |
|
8625 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
8626 |
# requires that you compile everything twice, which is a pain. |
|
8627 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
8628 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
8629 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8630 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8631 |
else |
|
8632 |
ld_shlibs=no |
|
8633 |
fi |
|
8634 |
;; |
|
8635 |
esac |
|
8636 |
;; |
|
8637 |
|
|
8638 |
sunos4*) |
|
8639 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
8640 |
wlarc= |
|
8641 |
hardcode_direct=yes |
|
8642 |
hardcode_shlibpath_var=no |
|
8643 |
;; |
|
8644 |
|
|
8645 |
*) |
|
8646 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
8647 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8648 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
8649 |
else |
|
8650 |
ld_shlibs=no |
|
8651 |
fi |
|
8652 |
;; |
|
8653 |
esac |
|
8654 |
|
|
8655 |
if test "$ld_shlibs" = no; then |
|
8656 |
runpath_var= |
|
8657 |
hardcode_libdir_flag_spec= |
|
8658 |
export_dynamic_flag_spec= |
|
8659 |
whole_archive_flag_spec= |
|
8660 |
fi |
|
8661 |
else |
|
8662 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
8663 |
case $host_os in |
|
8664 |
aix3*) |
|
8665 |
allow_undefined_flag=unsupported |
|
8666 |
always_export_symbols=yes |
|
8667 |
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' |
|
8668 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
8669 |
# are no directories specified by -L. |
|
8670 |
hardcode_minus_L=yes |
|
8671 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
8672 |
# Neither direct hardcoding nor static linking is supported with a |
|
8673 |
# broken collect2. |
|
8674 |
hardcode_direct=unsupported |
|
8675 |
fi |
|
8676 |
;; |
|
8677 |
|
|
8678 |
aix[4-9]*) |
|
8679 |
if test "$host_cpu" = ia64; then |
|
8680 |
# On IA64, the linker does run time linking by default, so we don't |
|
8681 |
# have to do anything special. |
|
8682 |
aix_use_runtimelinking=no |
|
8683 |
exp_sym_flag='-Bexport' |
|
8684 |
no_entry_flag="" |
|
8685 |
else |
|
8686 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
8687 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
8688 |
# Also, AIX nm treats weak defined symbols like other global |
|
8689 |
# defined symbols, whereas GNU nm marks them as "W". |
|
8690 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
8691 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
8692 |
else |
|
8693 |
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' |
|
8694 |
fi |
|
8695 |
aix_use_runtimelinking=no |
|
8696 |
|
|
8697 |
# Test if we are trying to use run time linking or normal |
|
8698 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
8699 |
# need to do runtime linking. |
|
8700 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
8701 |
for ld_flag in $LDFLAGS; do |
|
8702 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
8703 |
aix_use_runtimelinking=yes |
|
8704 |
break |
|
8705 |
fi |
|
8706 |
done |
|
8707 |
;; |
|
8708 |
esac |
|
8709 |
|
|
8710 |
exp_sym_flag='-bexport' |
|
8711 |
no_entry_flag='-bnoentry' |
|
8712 |
fi |
|
8713 |
|
|
8714 |
# When large executables or shared objects are built, AIX ld can |
|
8715 |
# have problems creating the table of contents. If linking a library |
|
8716 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
8717 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
8718 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
8719 |
|
|
8720 |
archive_cmds='' |
|
8721 |
hardcode_direct=yes |
|
8722 |
hardcode_direct_absolute=yes |
|
8723 |
hardcode_libdir_separator=':' |
|
8724 |
link_all_deplibs=yes |
|
8725 |
file_list_spec='${wl}-f,' |
|
8726 |
|
|
8727 |
if test "$GCC" = yes; then |
|
8728 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
8729 |
# We only want to do this on AIX 4.2 and lower, the check |
|
8730 |
# below for broken collect2 doesn't work under 4.3+ |
|
8731 |
collect2name=`${CC} -print-prog-name=collect2` |
|
8732 |
if test -f "$collect2name" && |
|
8733 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
8734 |
then |
|
8735 |
# We have reworked collect2 |
|
8736 |
: |
|
8737 |
else |
|
8738 |
# We have old collect2 |
|
8739 |
hardcode_direct=unsupported |
|
8740 |
# It fails to find uninstalled libraries when the uninstalled |
|
8741 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
8742 |
# to unsupported forces relinking |
|
8743 |
hardcode_minus_L=yes |
|
8744 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8745 |
hardcode_libdir_separator= |
|
8746 |
fi |
|
8747 |
;; |
|
8748 |
esac |
|
8749 |
shared_flag='-shared' |
|
8750 |
if test "$aix_use_runtimelinking" = yes; then |
|
8751 |
shared_flag="$shared_flag "'${wl}-G' |
|
8752 |
fi |
|
8753 |
else |
|
8754 |
# not using gcc |
|
8755 |
if test "$host_cpu" = ia64; then |
|
8756 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
8757 |
# chokes on -Wl,-G. The following line is correct: |
|
8758 |
shared_flag='-G' |
|
8759 |
else |
|
8760 |
if test "$aix_use_runtimelinking" = yes; then |
|
8761 |
shared_flag='${wl}-G' |
|
8762 |
else |
|
8763 |
shared_flag='${wl}-bM:SRE' |
|
8764 |
fi |
|
8765 |
fi |
|
8766 |
fi |
|
8767 |
|
|
8768 |
export_dynamic_flag_spec='${wl}-bexpall' |
|
8769 |
# It seems that -bexpall does not export symbols beginning with |
|
8770 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
8771 |
always_export_symbols=yes |
|
8772 |
if test "$aix_use_runtimelinking" = yes; then |
|
8773 |
# Warning - without using the other runtime loading flags (-brtl), |
|
8774 |
# -berok will link without error, but may produce a broken library. |
|
8775 |
allow_undefined_flag='-berok' |
|
8776 |
# Determine the default libpath from the value encoded in an |
|
8777 |
# empty executable. |
|
8778 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
8779 |
aix_libpath=$lt_cv_aix_libpath |
|
8780 |
else |
|
8781 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
8782 |
$as_echo_n "(cached) " >&6 |
|
8783 |
else |
|
8784 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
8785 |
/* end confdefs.h. */ |
|
8786 |
|
|
8787 |
int |
|
8788 |
main () |
|
8789 |
{ |
|
8790 |
|
|
8791 |
; |
|
8792 |
return 0; |
|
8793 |
} |
|
8794 |
_ACEOF |
|
8795 |
if ac_fn_c_try_link "$LINENO"; then : |
|
8796 |
|
|
8797 |
lt_aix_libpath_sed=' |
|
8798 |
/Import File Strings/,/^$/ { |
|
8799 |
/^0/ { |
|
8800 |
s/^0 *\([^ ]*\) *$/\1/ |
|
8801 |
p |
|
8802 |
} |
|
8803 |
}' |
|
8804 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
8805 |
# Check for a 64-bit object if we didn't find anything. |
|
8806 |
if test -z "$lt_cv_aix_libpath_"; then |
|
8807 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
8808 |
fi |
|
8809 |
fi |
|
8810 |
rm -f core conftest.err conftest.$ac_objext \ |
|
8811 |
conftest$ac_exeext conftest.$ac_ext |
|
8812 |
if test -z "$lt_cv_aix_libpath_"; then |
|
8813 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
8814 |
fi |
|
8815 |
|
|
8816 |
fi |
|
8817 |
|
|
8818 |
aix_libpath=$lt_cv_aix_libpath_ |
|
8819 |
fi |
|
8820 |
|
|
8821 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
8822 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
|
8823 |
else |
|
8824 |
if test "$host_cpu" = ia64; then |
|
8825 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
8826 |
allow_undefined_flag="-z nodefs" |
|
8827 |
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" |
|
8828 |
else |
|
8829 |
# Determine the default libpath from the value encoded in an |
|
8830 |
# empty executable. |
|
8831 |
if test "${lt_cv_aix_libpath+set}" = set; then |
|
8832 |
aix_libpath=$lt_cv_aix_libpath |
|
8833 |
else |
|
8834 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
8835 |
$as_echo_n "(cached) " >&6 |
|
8836 |
else |
|
8837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
8838 |
/* end confdefs.h. */ |
|
8839 |
|
|
8840 |
int |
|
8841 |
main () |
|
8842 |
{ |
|
8843 |
|
|
8844 |
; |
|
8845 |
return 0; |
|
8846 |
} |
|
8847 |
_ACEOF |
|
8848 |
if ac_fn_c_try_link "$LINENO"; then : |
|
8849 |
|
|
8850 |
lt_aix_libpath_sed=' |
|
8851 |
/Import File Strings/,/^$/ { |
|
8852 |
/^0/ { |
|
8853 |
s/^0 *\([^ ]*\) *$/\1/ |
|
8854 |
p |
|
8855 |
} |
|
8856 |
}' |
|
8857 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
8858 |
# Check for a 64-bit object if we didn't find anything. |
|
8859 |
if test -z "$lt_cv_aix_libpath_"; then |
|
8860 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
8861 |
fi |
|
8862 |
fi |
|
8863 |
rm -f core conftest.err conftest.$ac_objext \ |
|
8864 |
conftest$ac_exeext conftest.$ac_ext |
|
8865 |
if test -z "$lt_cv_aix_libpath_"; then |
|
8866 |
lt_cv_aix_libpath_="/usr/lib:/lib" |
|
8867 |
fi |
|
8868 |
|
|
8869 |
fi |
|
8870 |
|
|
8871 |
aix_libpath=$lt_cv_aix_libpath_ |
|
8872 |
fi |
|
8873 |
|
|
8874 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
8875 |
# Warning - without using the other run time loading flags, |
|
8876 |
# -berok will link without error, but may produce a broken library. |
|
8877 |
no_undefined_flag=' ${wl}-bernotok' |
|
8878 |
allow_undefined_flag=' ${wl}-berok' |
|
8879 |
if test "$with_gnu_ld" = yes; then |
|
8880 |
# We only use this code for GNU lds that support --whole-archive. |
|
8881 |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
8882 |
else |
|
8883 |
# Exported symbols can be pulled into shared objects from archives |
|
8884 |
whole_archive_flag_spec='$convenience' |
|
8885 |
fi |
|
8886 |
archive_cmds_need_lc=yes |
|
8887 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
8888 |
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' |
|
8889 |
fi |
|
8890 |
fi |
|
8891 |
;; |
|
8892 |
|
|
8893 |
amigaos*) |
|
8894 |
case $host_cpu in |
|
8895 |
powerpc) |
|
8896 |
# see comment about AmigaOS4 .so support |
|
8897 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
8898 |
archive_expsym_cmds='' |
|
8899 |
;; |
|
8900 |
m68k) |
|
8901 |
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)' |
|
8902 |
hardcode_libdir_flag_spec='-L$libdir' |
|
8903 |
hardcode_minus_L=yes |
|
8904 |
;; |
|
8905 |
esac |
|
8906 |
;; |
|
8907 |
|
|
8908 |
bsdi[45]*) |
|
8909 |
export_dynamic_flag_spec=-rdynamic |
|
8910 |
;; |
|
8911 |
|
|
8912 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8913 |
# When not using gcc, we currently assume that we are using |
|
8914 |
# Microsoft Visual C++. |
|
8915 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
8916 |
# no search path for DLLs. |
|
8917 |
case $cc_basename in |
|
8918 |
cl*) |
|
8919 |
# Native MSVC |
|
8920 |
hardcode_libdir_flag_spec=' ' |
|
8921 |
allow_undefined_flag=unsupported |
|
8922 |
always_export_symbols=yes |
|
8923 |
file_list_spec='@' |
|
8924 |
# Tell ltmain to make .lib files, not .a files. |
|
8925 |
libext=lib |
|
8926 |
# Tell ltmain to make .dll files, not .so files. |
|
8927 |
shrext_cmds=".dll" |
|
8928 |
# FIXME: Setting linknames here is a bad hack. |
|
8929 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
|
8930 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
8931 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
|
8932 |
else |
|
8933 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
|
8934 |
fi~ |
|
8935 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
8936 |
linknames=' |
|
8937 |
# The linker will not automatically build a static lib if we build a DLL. |
|
8938 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
|
8939 |
enable_shared_with_static_runtimes=yes |
|
8940 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
|
8941 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
8942 |
# Don't use ranlib |
|
8943 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
8944 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
|
8945 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
8946 |
case $lt_outputfile in |
|
8947 |
*.exe|*.EXE) ;; |
|
8948 |
*) |
|
8949 |
lt_outputfile="$lt_outputfile.exe" |
|
8950 |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
|
8951 |
;; |
|
8952 |
esac~ |
|
8953 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
|
8954 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
8955 |
$RM "$lt_outputfile.manifest"; |
|
8956 |
fi' |
|
8957 |
;; |
|
8958 |
*) |
|
8959 |
# Assume MSVC wrapper |
|
8960 |
hardcode_libdir_flag_spec=' ' |
|
8961 |
allow_undefined_flag=unsupported |
|
8962 |
# Tell ltmain to make .lib files, not .a files. |
|
8963 |
libext=lib |
|
8964 |
# Tell ltmain to make .dll files, not .so files. |
|
8965 |
shrext_cmds=".dll" |
|
8966 |
# FIXME: Setting linknames here is a bad hack. |
|
8967 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
8968 |
# The linker will automatically build a .lib file if we build a DLL. |
|
8969 |
old_archive_from_new_cmds='true' |
|
8970 |
# FIXME: Should let the user specify the lib program. |
|
8971 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
8972 |
enable_shared_with_static_runtimes=yes |
|
8973 |
;; |
|
8974 |
esac |
|
8975 |
;; |
|
8976 |
|
|
8977 |
darwin* | rhapsody*) |
|
8978 |
|
|
8979 |
|
|
8980 |
archive_cmds_need_lc=no |
|
8981 |
hardcode_direct=no |
|
8982 |
hardcode_automatic=yes |
|
8983 |
hardcode_shlibpath_var=unsupported |
|
8984 |
if test "$lt_cv_ld_force_load" = "yes"; then |
|
8985 |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
8986 |
|
|
8987 |
else |
|
8988 |
whole_archive_flag_spec='' |
|
8989 |
fi |
|
8990 |
link_all_deplibs=yes |
|
8991 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
8992 |
case $cc_basename in |
|
8993 |
ifort*) _lt_dar_can_shared=yes ;; |
|
8994 |
*) _lt_dar_can_shared=$GCC ;; |
|
8995 |
esac |
|
8996 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
8997 |
output_verbose_link_cmd=func_echo_all |
|
8998 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
8999 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
9000 |
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}" |
|
9001 |
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}" |
|
9002 |
|
|
9003 |
else |
|
9004 |
ld_shlibs=no |
|
9005 |
fi |
|
9006 |
|
|
9007 |
;; |
|
9008 |
|
|
9009 |
dgux*) |
|
9010 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9011 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9012 |
hardcode_shlibpath_var=no |
|
9013 |
;; |
|
9014 |
|
|
9015 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
9016 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
9017 |
# does not break anything, and helps significantly (at the cost of a little |
|
9018 |
# extra space). |
|
9019 |
freebsd2.2*) |
|
9020 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
9021 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9022 |
hardcode_direct=yes |
|
9023 |
hardcode_shlibpath_var=no |
|
9024 |
;; |
|
9025 |
|
|
9026 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
9027 |
freebsd2.*) |
|
9028 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9029 |
hardcode_direct=yes |
|
9030 |
hardcode_minus_L=yes |
|
9031 |
hardcode_shlibpath_var=no |
|
9032 |
;; |
|
9033 |
|
|
9034 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
9035 |
freebsd* | dragonfly*) |
|
9036 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9037 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9038 |
hardcode_direct=yes |
|
9039 |
hardcode_shlibpath_var=no |
|
9040 |
;; |
|
9041 |
|
|
9042 |
hpux9*) |
|
9043 |
if test "$GCC" = yes; then |
|
9044 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
9045 |
else |
|
9046 |
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' |
|
9047 |
fi |
|
9048 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9049 |
hardcode_libdir_separator=: |
|
9050 |
hardcode_direct=yes |
|
9051 |
|
|
9052 |
# hardcode_minus_L: Not really in the search PATH, |
|
9053 |
# but as the default location of the library. |
|
9054 |
hardcode_minus_L=yes |
|
9055 |
export_dynamic_flag_spec='${wl}-E' |
|
9056 |
;; |
|
9057 |
|
|
9058 |
hpux10*) |
|
9059 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
9060 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9061 |
else |
|
9062 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9063 |
fi |
|
9064 |
if test "$with_gnu_ld" = no; then |
|
9065 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9066 |
hardcode_libdir_separator=: |
|
9067 |
hardcode_direct=yes |
|
9068 |
hardcode_direct_absolute=yes |
|
9069 |
export_dynamic_flag_spec='${wl}-E' |
|
9070 |
# hardcode_minus_L: Not really in the search PATH, |
|
9071 |
# but as the default location of the library. |
|
9072 |
hardcode_minus_L=yes |
|
9073 |
fi |
|
9074 |
;; |
|
9075 |
|
|
9076 |
hpux11*) |
|
9077 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
|
9078 |
case $host_cpu in |
|
9079 |
hppa*64*) |
|
9080 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9081 |
;; |
|
9082 |
ia64*) |
|
9083 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9084 |
;; |
|
9085 |
*) |
|
9086 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9087 |
;; |
|
9088 |
esac |
|
9089 |
else |
|
9090 |
case $host_cpu in |
|
9091 |
hppa*64*) |
|
9092 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9093 |
;; |
|
9094 |
ia64*) |
|
9095 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9096 |
;; |
|
9097 |
*) |
|
9098 |
|
|
9099 |
# Older versions of the 11.00 compiler do not understand -b yet |
|
9100 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
|
9101 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
|
9102 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
|
9103 |
if ${lt_cv_prog_compiler__b+:} false; then : |
|
9104 |
$as_echo_n "(cached) " >&6 |
|
9105 |
else |
|
9106 |
lt_cv_prog_compiler__b=no |
|
9107 |
save_LDFLAGS="$LDFLAGS" |
|
9108 |
LDFLAGS="$LDFLAGS -b" |
|
9109 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
9110 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
9111 |
# The linker can only warn and ignore the option if not recognized |
|
9112 |
# So say no if there are warnings |
|
9113 |
if test -s conftest.err; then |
|
9114 |
# Append any errors to the config.log. |
|
9115 |
cat conftest.err 1>&5 |
|
9116 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
9117 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
9118 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
9119 |
lt_cv_prog_compiler__b=yes |
|
9120 |
fi |
|
9121 |
else |
|
9122 |
lt_cv_prog_compiler__b=yes |
|
9123 |
fi |
|
9124 |
fi |
|
9125 |
$RM -r conftest* |
|
9126 |
LDFLAGS="$save_LDFLAGS" |
|
9127 |
|
|
9128 |
fi |
|
9129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
|
9130 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
|
9131 |
|
|
9132 |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
|
9133 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9134 |
else |
|
9135 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9136 |
fi |
|
9137 |
|
|
9138 |
;; |
|
9139 |
esac |
|
9140 |
fi |
|
9141 |
if test "$with_gnu_ld" = no; then |
|
9142 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
9143 |
hardcode_libdir_separator=: |
|
9144 |
|
|
9145 |
case $host_cpu in |
|
9146 |
hppa*64*|ia64*) |
|
9147 |
hardcode_direct=no |
|
9148 |
hardcode_shlibpath_var=no |
|
9149 |
;; |
|
9150 |
*) |
|
9151 |
hardcode_direct=yes |
|
9152 |
hardcode_direct_absolute=yes |
|
9153 |
export_dynamic_flag_spec='${wl}-E' |
|
9154 |
|
|
9155 |
# hardcode_minus_L: Not really in the search PATH, |
|
9156 |
# but as the default location of the library. |
|
9157 |
hardcode_minus_L=yes |
|
9158 |
;; |
|
9159 |
esac |
|
9160 |
fi |
|
9161 |
;; |
|
9162 |
|
|
9163 |
irix5* | irix6* | nonstopux*) |
|
9164 |
if test "$GCC" = yes; then |
|
9165 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
9166 |
# Try to use the -exported_symbol ld option, if it does not |
|
9167 |
# work, assume that -exports_file does not work either and |
|
9168 |
# implicitly export all symbols. |
|
9169 |
# This should be the same for all languages, so no per-tag cache variable. |
|
9170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
9171 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
9172 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
9173 |
$as_echo_n "(cached) " >&6 |
|
9174 |
else |
|
9175 |
save_LDFLAGS="$LDFLAGS" |
|
9176 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
9177 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
9178 |
/* end confdefs.h. */ |
|
9179 |
int foo (void) { return 0; } |
|
9180 |
_ACEOF |
|
9181 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9182 |
lt_cv_irix_exported_symbol=yes |
|
9183 |
else |
|
9184 |
lt_cv_irix_exported_symbol=no |
|
9185 |
fi |
|
9186 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9187 |
conftest$ac_exeext conftest.$ac_ext |
|
9188 |
LDFLAGS="$save_LDFLAGS" |
|
9189 |
fi |
|
9190 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
9191 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
9192 |
if test "$lt_cv_irix_exported_symbol" = yes; then |
|
9193 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
|
9194 |
fi |
|
9195 |
else |
|
9196 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
|
9197 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
9198 |
fi |
|
9199 |
archive_cmds_need_lc='no' |
|
9200 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9201 |
hardcode_libdir_separator=: |
|
9202 |
inherit_rpath=yes |
|
9203 |
link_all_deplibs=yes |
|
9204 |
;; |
|
9205 |
|
|
9206 |
netbsd*) |
|
9207 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9208 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
9209 |
else |
|
9210 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
9211 |
fi |
|
9212 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9213 |
hardcode_direct=yes |
|
9214 |
hardcode_shlibpath_var=no |
|
9215 |
;; |
|
9216 |
|
|
9217 |
newsos6) |
|
9218 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9219 |
hardcode_direct=yes |
|
9220 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9221 |
hardcode_libdir_separator=: |
|
9222 |
hardcode_shlibpath_var=no |
|
9223 |
;; |
|
9224 |
|
|
9225 |
*nto* | *qnx*) |
|
9226 |
;; |
|
9227 |
|
|
9228 |
openbsd*) |
|
9229 |
if test -f /usr/libexec/ld.so; then |
|
9230 |
hardcode_direct=yes |
|
9231 |
hardcode_shlibpath_var=no |
|
9232 |
hardcode_direct_absolute=yes |
|
9233 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
9234 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9235 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
9236 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9237 |
export_dynamic_flag_spec='${wl}-E' |
|
9238 |
else |
|
9239 |
case $host_os in |
|
9240 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
9241 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9242 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9243 |
;; |
|
9244 |
*) |
|
9245 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9246 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
9247 |
;; |
|
9248 |
esac |
|
9249 |
fi |
|
9250 |
else |
|
9251 |
ld_shlibs=no |
|
9252 |
fi |
|
9253 |
;; |
|
9254 |
|
|
9255 |
os2*) |
|
9256 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9257 |
hardcode_minus_L=yes |
|
9258 |
allow_undefined_flag=unsupported |
|
9259 |
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' |
|
9260 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
9261 |
;; |
|
9262 |
|
|
9263 |
osf3*) |
|
9264 |
if test "$GCC" = yes; then |
|
9265 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
9266 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
9267 |
else |
|
9268 |
allow_undefined_flag=' -expect_unresolved \*' |
|
9269 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
|
9270 |
fi |
|
9271 |
archive_cmds_need_lc='no' |
|
9272 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9273 |
hardcode_libdir_separator=: |
|
9274 |
;; |
|
9275 |
|
|
9276 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
9277 |
if test "$GCC" = yes; then |
|
9278 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
9279 |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
9280 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
9281 |
else |
|
9282 |
allow_undefined_flag=' -expect_unresolved \*' |
|
9283 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
|
9284 |
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~ |
|
9285 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
|
9286 |
|
|
9287 |
# Both c and cxx compiler support -rpath directly |
|
9288 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
9289 |
fi |
|
9290 |
archive_cmds_need_lc='no' |
|
9291 |
hardcode_libdir_separator=: |
|
9292 |
;; |
|
9293 |
|
|
9294 |
solaris*) |
|
9295 |
no_undefined_flag=' -z defs' |
|
9296 |
if test "$GCC" = yes; then |
|
9297 |
wlarc='${wl}' |
|
9298 |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9299 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9300 |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
9301 |
else |
|
9302 |
case `$CC -V 2>&1` in |
|
9303 |
*"Compilers 5.0"*) |
|
9304 |
wlarc='' |
|
9305 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9306 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9307 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
9308 |
;; |
|
9309 |
*) |
|
9310 |
wlarc='${wl}' |
|
9311 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9312 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9313 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
9314 |
;; |
|
9315 |
esac |
|
9316 |
fi |
|
9317 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9318 |
hardcode_shlibpath_var=no |
|
9319 |
case $host_os in |
|
9320 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
9321 |
*) |
|
9322 |
# The compiler driver will combine and reorder linker options, |
|
9323 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
9324 |
# but is careful enough not to reorder. |
|
9325 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
9326 |
if test "$GCC" = yes; then |
|
9327 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
9328 |
else |
|
9329 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
9330 |
fi |
|
9331 |
;; |
|
9332 |
esac |
|
9333 |
link_all_deplibs=yes |
|
9334 |
;; |
|
9335 |
|
|
9336 |
sunos4*) |
|
9337 |
if test "x$host_vendor" = xsequent; then |
|
9338 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
9339 |
# files that make .init and .fini sections work. |
|
9340 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9341 |
else |
|
9342 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
9343 |
fi |
|
9344 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9345 |
hardcode_direct=yes |
|
9346 |
hardcode_minus_L=yes |
|
9347 |
hardcode_shlibpath_var=no |
|
9348 |
;; |
|
9349 |
|
|
9350 |
sysv4) |
|
9351 |
case $host_vendor in |
|
9352 |
sni) |
|
9353 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9354 |
hardcode_direct=yes # is this really true??? |
|
9355 |
;; |
|
9356 |
siemens) |
|
9357 |
## LD is ld it makes a PLAMLIB |
|
9358 |
## CC just makes a GrossModule. |
|
9359 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
9360 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
9361 |
hardcode_direct=no |
|
9362 |
;; |
|
9363 |
motorola) |
|
9364 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9365 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
9366 |
;; |
|
9367 |
esac |
|
9368 |
runpath_var='LD_RUN_PATH' |
|
9369 |
hardcode_shlibpath_var=no |
|
9370 |
;; |
|
9371 |
|
|
9372 |
sysv4.3*) |
|
9373 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9374 |
hardcode_shlibpath_var=no |
|
9375 |
export_dynamic_flag_spec='-Bexport' |
|
9376 |
;; |
|
9377 |
|
|
9378 |
sysv4*MP*) |
|
9379 |
if test -d /usr/nec; then |
|
9380 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9381 |
hardcode_shlibpath_var=no |
|
9382 |
runpath_var=LD_RUN_PATH |
|
9383 |
hardcode_runpath_var=yes |
|
9384 |
ld_shlibs=yes |
|
9385 |
fi |
|
9386 |
;; |
|
9387 |
|
|
9388 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
9389 |
no_undefined_flag='${wl}-z,text' |
|
9390 |
archive_cmds_need_lc=no |
|
9391 |
hardcode_shlibpath_var=no |
|
9392 |
runpath_var='LD_RUN_PATH' |
|
9393 |
|
|
9394 |
if test "$GCC" = yes; then |
|
9395 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9396 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9397 |
else |
|
9398 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9399 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9400 |
fi |
|
9401 |
;; |
|
9402 |
|
|
9403 |
sysv5* | sco3.2v5* | sco5v6*) |
|
9404 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
9405 |
# link with -lc, and that would cause any symbols used from libc to |
|
9406 |
# always be unresolved, which means just about no library would |
|
9407 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
9408 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
9409 |
# as -z defs. |
|
9410 |
no_undefined_flag='${wl}-z,text' |
|
9411 |
allow_undefined_flag='${wl}-z,nodefs' |
|
9412 |
archive_cmds_need_lc=no |
|
9413 |
hardcode_shlibpath_var=no |
|
9414 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
|
9415 |
hardcode_libdir_separator=':' |
|
9416 |
link_all_deplibs=yes |
|
9417 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
9418 |
runpath_var='LD_RUN_PATH' |
|
9419 |
|
|
9420 |
if test "$GCC" = yes; then |
|
9421 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9422 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9423 |
else |
|
9424 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9425 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9426 |
fi |
|
9427 |
;; |
|
9428 |
|
|
9429 |
uts4*) |
|
9430 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9431 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9432 |
hardcode_shlibpath_var=no |
|
9433 |
;; |
|
9434 |
|
|
9435 |
*) |
|
9436 |
ld_shlibs=no |
|
9437 |
;; |
|
9438 |
esac |
|
9439 |
|
|
9440 |
if test x$host_vendor = xsni; then |
|
9441 |
case $host in |
|
9442 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
9443 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
9444 |
;; |
|
9445 |
esac |
|
9446 |
fi |
|
9447 |
fi |
|
9448 |
|
|
9449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
|
9450 |
$as_echo "$ld_shlibs" >&6; } |
|
9451 |
test "$ld_shlibs" = no && can_build_shared=no |
|
9452 |
|
|
9453 |
with_gnu_ld=$with_gnu_ld |
|
9454 |
|
|
9455 |
|
|
9456 |
|
|
9457 |
|
|
9458 |
|
|
9459 |
|
|
9460 |
|
|
9461 |
|
|
9462 |
|
|
9463 |
|
|
9464 |
|
|
9465 |
|
|
9466 |
|
|
9467 |
|
|
9468 |
|
|
9469 |
# |
|
9470 |
# Do we need to explicitly link libc? |
|
9471 |
# |
|
9472 |
case "x$archive_cmds_need_lc" in |
|
9473 |
x|xyes) |
|
9474 |
# Assume -lc should be added |
|
9475 |
archive_cmds_need_lc=yes |
|
9476 |
|
|
9477 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
9478 |
case $archive_cmds in |
|
9479 |
*'~'*) |
|
9480 |
# FIXME: we may have to deal with multi-command sequences. |
|
9481 |
;; |
|
9482 |
'$CC '*) |
|
9483 |
# Test whether the compiler implicitly links with -lc since on some |
|
9484 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
9485 |
# to ld, don't add -lc before -lgcc. |
|
9486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
|
9487 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
9488 |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
|
9489 |
$as_echo_n "(cached) " >&6 |
|
9490 |
else |
|
9491 |
$RM conftest* |
|
9492 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
9493 |
|
|
9494 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
9495 |
(eval $ac_compile) 2>&5 |
|
9496 |
ac_status=$? |
|
9497 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9498 |
test $ac_status = 0; } 2>conftest.err; then |
|
9499 |
soname=conftest |
|
9500 |
lib=conftest |
|
9501 |
libobjs=conftest.$ac_objext |
|
9502 |
deplibs= |
|
9503 |
wl=$lt_prog_compiler_wl |
|
9504 |
pic_flag=$lt_prog_compiler_pic |
|
9505 |
compiler_flags=-v |
|
9506 |
linker_flags=-v |
|
9507 |
verstring= |
|
9508 |
output_objdir=. |
|
9509 |
libname=conftest |
|
9510 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
9511 |
allow_undefined_flag= |
|
9512 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
9513 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
9514 |
ac_status=$? |
|
9515 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
9516 |
test $ac_status = 0; } |
|
9517 |
then |
|
9518 |
lt_cv_archive_cmds_need_lc=no |
|
9519 |
else |
|
9520 |
lt_cv_archive_cmds_need_lc=yes |
|
9521 |
fi |
|
9522 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
9523 |
else |
|
9524 |
cat conftest.err 1>&5 |
|
9525 |
fi |
|
9526 |
$RM conftest* |
|
9527 |
|
|
9528 |
fi |
|
9529 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
|
9530 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
|
9531 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
|
9532 |
;; |
|
9533 |
esac |
|
9534 |
fi |
|
9535 |
;; |
|
9536 |
esac |
|
9537 |
|
|
9538 |
|
|
9539 |
|
|
9540 |
|
|
9541 |
|
|
9542 |
|
|
9543 |
|
|
9544 |
|
|
9545 |
|
|
9546 |
|
|
9547 |
|
|
9548 |
|
|
9549 |
|
|
9550 |
|
|
9551 |
|
|
9552 |
|
|
9553 |
|
|
9554 |
|
|
9555 |
|
|
9556 |
|
|
9557 |
|
|
9558 |
|
|
9559 |
|
|
9560 |
|
|
9561 |
|
|
9562 |
|
|
9563 |
|
|
9564 |
|
|
9565 |
|
|
9566 |
|
|
9567 |
|
|
9568 |
|
|
9569 |
|
|
9570 |
|
|
9571 |
|
|
9572 |
|
|
9573 |
|
|
9574 |
|
|
9575 |
|
|
9576 |
|
|
9577 |
|
|
9578 |
|
|
9579 |
|
|
9580 |
|
|
9581 |
|
|
9582 |
|
|
9583 |
|
|
9584 |
|
|
9585 |
|
|
9586 |
|
|
9587 |
|
|
9588 |
|
|
9589 |
|
|
9590 |
|
|
9591 |
|
|
9592 |
|
|
9593 |
|
|
9594 |
|
|
9595 |
|
|
9596 |
|
|
9597 |
|
|
9598 |
|
|
9599 |
|
|
9600 |
|
|
9601 |
|
|
9602 |
|
|
9603 |
|
|
9604 |
|
|
9605 |
|
|
9606 |
|
|
9607 |
|
|
9608 |
|
|
9609 |
|
|
9610 |
|
|
9611 |
|
|
9612 |
|
|
9613 |
|
|
9614 |
|
|
9615 |
|
|
9616 |
|
|
9617 |
|
|
9618 |
|
|
9619 |
|
|
9620 |
|
|
9621 |
|
|
9622 |
|
|
9623 |
|
|
9624 |
|
|
9625 |
|
|
9626 |
|
|
9627 |
|
|
9628 |
|
|
9629 |
|
|
9630 |
|
|
9631 |
|
|
9632 |
|
|
9633 |
|
|
9634 |
|
|
9635 |
|
|
9636 |
|
|
9637 |
|
|
9638 |
|
|
9639 |
|
|
9640 |
|
|
9641 |
|
|
9642 |
|
|
9643 |
|
|
9644 |
|
|
9645 |
|
|
9646 |
|
|
9647 |
|
|
9648 |
|
|
9649 |
|
|
9650 |
|
|
9651 |
|
|
9652 |
|
|
9653 |
|
|
9654 |
|
|
9655 |
|
|
9656 |
|
|
9657 |
|
|
9658 |
|
|
9659 |
|
|
9660 |
|
|
9661 |
|
|
9662 |
|
|
9663 |
|
|
9664 |
|
|
9665 |
|
|
9666 |
|
|
9667 |
|
|
9668 |
|
|
9669 |
|
|
9670 |
|
|
9671 |
|
|
9672 |
|
|
9673 |
|
|
9674 |
|
|
9675 |
|
|
9676 |
|
|
9677 |
|
|
9678 |
|
|
9679 |
|
|
9680 |
|
|
9681 |
|
|
9682 |
|
|
9683 |
|
|
9684 |
|
|
9685 |
|
|
9686 |
|
|
9687 |
|
|
9688 |
|
|
9689 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
9690 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
9691 |
|
|
9692 |
if test "$GCC" = yes; then |
|
9693 |
case $host_os in |
|
9694 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
9695 |
*) lt_awk_arg="/^libraries:/" ;; |
|
9696 |
esac |
|
9697 |
case $host_os in |
|
9698 |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
|
9699 |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
|
9700 |
esac |
|
9701 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
|
9702 |
case $lt_search_path_spec in |
|
9703 |
*\;*) |
|
9704 |
# if the path contains ";" then we assume it to be the separator |
|
9705 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
9706 |
# assumed that no part of a normal pathname contains ";" but that should |
|
9707 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
9708 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
|
9709 |
;; |
|
9710 |
*) |
|
9711 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
|
9712 |
;; |
|
9713 |
esac |
|
9714 |
# Ok, now we have the path, separated by spaces, we can step through it |
|
9715 |
# and add multilib dir if necessary. |
|
9716 |
lt_tmp_lt_search_path_spec= |
|
9717 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
9718 |
for lt_sys_path in $lt_search_path_spec; do |
|
9719 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
9720 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
9721 |
else |
|
9722 |
test -d "$lt_sys_path" && \ |
|
9723 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
9724 |
fi |
|
9725 |
done |
|
9726 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
|
9727 |
BEGIN {RS=" "; FS="/|\n";} { |
|
9728 |
lt_foo=""; |
|
9729 |
lt_count=0; |
|
9730 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
9731 |
if ($lt_i != "" && $lt_i != ".") { |
|
9732 |
if ($lt_i == "..") { |
|
9733 |
lt_count++; |
|
9734 |
} else { |
|
9735 |
if (lt_count == 0) { |
|
9736 |
lt_foo="/" $lt_i lt_foo; |
|
9737 |
} else { |
|
9738 |
lt_count--; |
|
9739 |
} |
|
9740 |
} |
|
9741 |
} |
|
9742 |
} |
|
9743 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
9744 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
9745 |
}'` |
|
9746 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
|
9747 |
# for these hosts. |
|
9748 |
case $host_os in |
|
9749 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
|
9750 |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
|
9751 |
esac |
|
9752 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
|
9753 |
else |
|
9754 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
9755 |
fi |
|
9756 |
library_names_spec= |
|
9757 |
libname_spec='lib$name' |
|
9758 |
soname_spec= |
|
9759 |
shrext_cmds=".so" |
|
9760 |
postinstall_cmds= |
|
9761 |
postuninstall_cmds= |
|
9762 |
finish_cmds= |
|
9763 |
finish_eval= |
|
9764 |
shlibpath_var= |
|
9765 |
shlibpath_overrides_runpath=unknown |
|
9766 |
version_type=none |
|
9767 |
dynamic_linker="$host_os ld.so" |
|
9768 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
9769 |
need_lib_prefix=unknown |
|
9770 |
hardcode_into_libs=no |
|
9771 |
|
|
9772 |
# when you set need_version to no, make sure it does not cause -set_version |
|
9773 |
# flags to be left without arguments |
|
9774 |
need_version=unknown |
|
9775 |
|
|
9776 |
case $host_os in |
|
9777 |
aix3*) |
|
9778 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
9779 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
9780 |
shlibpath_var=LIBPATH |
|
9781 |
|
|
9782 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
9783 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9784 |
;; |
|
9785 |
|
|
9786 |
aix[4-9]*) |
|
9787 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
9788 |
need_lib_prefix=no |
|
9789 |
need_version=no |
|
9790 |
hardcode_into_libs=yes |
|
9791 |
if test "$host_cpu" = ia64; then |
|
9792 |
# AIX 5 supports IA64 |
|
9793 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
9794 |
shlibpath_var=LD_LIBRARY_PATH |
|
9795 |
else |
|
9796 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
9797 |
# for dependence libraries. The import file would start with |
|
9798 |
# the line `#! .'. This would cause the generated library to |
|
9799 |
# depend on `.', always an invalid library. This was fixed in |
|
9800 |
# development snapshots of GCC prior to 3.0. |
|
9801 |
case $host_os in |
|
9802 |
aix4 | aix4.[01] | aix4.[01].*) |
|
9803 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
9804 |
echo ' yes ' |
|
9805 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
|
9806 |
: |
|
9807 |
else |
|
9808 |
can_build_shared=no |
|
9809 |
fi |
|
9810 |
;; |
|
9811 |
esac |
|
9812 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
9813 |
# soname into executable. Probably we can add versioning support to |
|
9814 |
# collect2, so additional links can be useful in future. |
|
9815 |
if test "$aix_use_runtimelinking" = yes; then |
|
9816 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
9817 |
# instead of lib<name>.a to let people know that these are not |
|
9818 |
# typical AIX shared libraries. |
|
9819 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9820 |
else |
|
9821 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
9822 |
# and later when we are not doing run time linking. |
|
9823 |
library_names_spec='${libname}${release}.a $libname.a' |
|
9824 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9825 |
fi |
|
9826 |
shlibpath_var=LIBPATH |
|
9827 |
fi |
|
9828 |
;; |
|
9829 |
|
|
9830 |
amigaos*) |
|
9831 |
case $host_cpu in |
|
9832 |
powerpc) |
|
9833 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
9834 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
9835 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9836 |
;; |
|
9837 |
m68k) |
|
9838 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
9839 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
9840 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
|
9841 |
;; |
|
9842 |
esac |
|
9843 |
;; |
|
9844 |
|
|
9845 |
beos*) |
|
9846 |
library_names_spec='${libname}${shared_ext}' |
|
9847 |
dynamic_linker="$host_os ld.so" |
|
9848 |
shlibpath_var=LIBRARY_PATH |
|
9849 |
;; |
|
9850 |
|
|
9851 |
bsdi[45]*) |
|
9852 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
9853 |
need_version=no |
|
9854 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
9855 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9856 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
9857 |
shlibpath_var=LD_LIBRARY_PATH |
|
9858 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
9859 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
9860 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
9861 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
9862 |
# libtool to hard-code these into programs |
|
9863 |
;; |
|
9864 |
|
|
9865 |
cygwin* | mingw* | pw32* | cegcc*) |
|
9866 |
version_type=windows |
|
9867 |
shrext_cmds=".dll" |
|
9868 |
need_version=no |
|
9869 |
need_lib_prefix=no |
|
9870 |
|
|
9871 |
case $GCC,$cc_basename in |
|
9872 |
yes,*) |
|
9873 |
# gcc |
|
9874 |
library_names_spec='$libname.dll.a' |
|
9875 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
9876 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
9877 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
9878 |
dldir=$destdir/`dirname \$dlpath`~ |
|
9879 |
test -d \$dldir || mkdir -p \$dldir~ |
|
9880 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
9881 |
chmod a+x \$dldir/$dlname~ |
|
9882 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
9883 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
9884 |
fi' |
|
9885 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
9886 |
dlpath=$dir/\$dldll~ |
|
9887 |
$RM \$dlpath' |
|
9888 |
shlibpath_overrides_runpath=yes |
|
9889 |
|
|
9890 |
case $host_os in |
|
9891 |
cygwin*) |
|
9892 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
9893 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
9894 |
|
|
9895 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
|
9896 |
;; |
|
9897 |
mingw* | cegcc*) |
|
9898 |
# MinGW DLLs use traditional 'lib' prefix |
|
9899 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
9900 |
;; |
|
9901 |
pw32*) |
|
9902 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
9903 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
9904 |
;; |
|
9905 |
esac |
|
9906 |
dynamic_linker='Win32 ld.exe' |
|
9907 |
;; |
|
9908 |
|
|
9909 |
*,cl*) |
|
9910 |
# Native MSVC |
|
9911 |
libname_spec='$name' |
|
9912 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
9913 |
library_names_spec='${libname}.dll.lib' |
|
9914 |
|
|
9915 |
case $build_os in |
|
9916 |
mingw*) |
|
9917 |
sys_lib_search_path_spec= |
|
9918 |
lt_save_ifs=$IFS |
|
9919 |
IFS=';' |
|
9920 |
for lt_path in $LIB |
|
9921 |
do |
|
9922 |
IFS=$lt_save_ifs |
|
9923 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
9924 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
9925 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
9926 |
done |
|
9927 |
IFS=$lt_save_ifs |
|
9928 |
# Convert to MSYS style. |
|
9929 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
9930 |
;; |
|
9931 |
cygwin*) |
|
9932 |
# Convert to unix form, then to dos form, then back to unix form |
|
9933 |
# but this time dos style (no spaces!) so that the unix form looks |
|
9934 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
9935 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
9936 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
9937 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
9938 |
;; |
|
9939 |
*) |
|
9940 |
sys_lib_search_path_spec="$LIB" |
|
9941 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
9942 |
# It is most probably a Windows format PATH. |
|
9943 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
9944 |
else |
|
9945 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
9946 |
fi |
|
9947 |
# FIXME: find the short name or the path components, as spaces are |
|
9948 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
9949 |
;; |
|
9950 |
esac |
|
9951 |
|
|
9952 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
9953 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
9954 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
9955 |
dldir=$destdir/`dirname \$dlpath`~ |
|
9956 |
test -d \$dldir || mkdir -p \$dldir~ |
|
9957 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
9958 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
9959 |
dlpath=$dir/\$dldll~ |
|
9960 |
$RM \$dlpath' |
|
9961 |
shlibpath_overrides_runpath=yes |
|
9962 |
dynamic_linker='Win32 link.exe' |
|
9963 |
;; |
|
9964 |
|
|
9965 |
*) |
|
9966 |
# Assume MSVC wrapper |
|
9967 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
9968 |
dynamic_linker='Win32 ld.exe' |
|
9969 |
;; |
|
9970 |
esac |
|
9971 |
# FIXME: first we should search . and the directory the executable is in |
|
9972 |
shlibpath_var=PATH |
|
9973 |
;; |
|
9974 |
|
|
9975 |
darwin* | rhapsody*) |
|
9976 |
dynamic_linker="$host_os dyld" |
|
9977 |
version_type=darwin |
|
9978 |
need_lib_prefix=no |
|
9979 |
need_version=no |
|
9980 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
9981 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
9982 |
shlibpath_overrides_runpath=yes |
|
9983 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
9984 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
9985 |
|
|
9986 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
9987 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
9988 |
;; |
|
9989 |
|
|
9990 |
dgux*) |
|
9991 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
9992 |
need_lib_prefix=no |
|
9993 |
need_version=no |
|
9994 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
9995 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
9996 |
shlibpath_var=LD_LIBRARY_PATH |
|
9997 |
;; |
|
9998 |
|
|
9999 |
freebsd* | dragonfly*) |
|
10000 |
# DragonFly does not have aout. When/if they implement a new |
|
10001 |
# versioning mechanism, adjust this. |
|
10002 |
if test -x /usr/bin/objformat; then |
|
10003 |
objformat=`/usr/bin/objformat` |
|
10004 |
else |
|
10005 |
case $host_os in |
|
10006 |
freebsd[23].*) objformat=aout ;; |
|
10007 |
*) objformat=elf ;; |
|
10008 |
esac |
|
10009 |
fi |
|
10010 |
version_type=freebsd-$objformat |
|
10011 |
case $version_type in |
|
10012 |
freebsd-elf*) |
|
10013 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10014 |
need_version=no |
|
10015 |
need_lib_prefix=no |
|
10016 |
;; |
|
10017 |
freebsd-*) |
|
10018 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
10019 |
need_version=yes |
|
10020 |
;; |
|
10021 |
esac |
|
10022 |
shlibpath_var=LD_LIBRARY_PATH |
|
10023 |
case $host_os in |
|
10024 |
freebsd2.*) |
|
10025 |
shlibpath_overrides_runpath=yes |
|
10026 |
;; |
|
10027 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
10028 |
shlibpath_overrides_runpath=yes |
|
10029 |
hardcode_into_libs=yes |
|
10030 |
;; |
|
10031 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
10032 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
10033 |
shlibpath_overrides_runpath=no |
|
10034 |
hardcode_into_libs=yes |
|
10035 |
;; |
|
10036 |
*) # from 4.6 on, and DragonFly |
|
10037 |
shlibpath_overrides_runpath=yes |
|
10038 |
hardcode_into_libs=yes |
|
10039 |
;; |
|
10040 |
esac |
|
10041 |
;; |
|
10042 |
|
|
10043 |
gnu*) |
|
10044 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10045 |
need_lib_prefix=no |
|
10046 |
need_version=no |
|
10047 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10048 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10049 |
shlibpath_var=LD_LIBRARY_PATH |
|
10050 |
shlibpath_overrides_runpath=no |
|
10051 |
hardcode_into_libs=yes |
|
10052 |
;; |
|
10053 |
|
|
10054 |
haiku*) |
|
10055 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10056 |
need_lib_prefix=no |
|
10057 |
need_version=no |
|
10058 |
dynamic_linker="$host_os runtime_loader" |
|
10059 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10060 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10061 |
shlibpath_var=LIBRARY_PATH |
|
10062 |
shlibpath_overrides_runpath=yes |
|
10063 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
10064 |
hardcode_into_libs=yes |
|
10065 |
;; |
|
10066 |
|
|
10067 |
hpux9* | hpux10* | hpux11*) |
|
10068 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
10069 |
# link against other versions. |
|
10070 |
version_type=sunos |
|
10071 |
need_lib_prefix=no |
|
10072 |
need_version=no |
|
10073 |
case $host_cpu in |
|
10074 |
ia64*) |
|
10075 |
shrext_cmds='.so' |
|
10076 |
hardcode_into_libs=yes |
|
10077 |
dynamic_linker="$host_os dld.so" |
|
10078 |
shlibpath_var=LD_LIBRARY_PATH |
|
10079 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10080 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10081 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10082 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
10083 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
10084 |
else |
|
10085 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
10086 |
fi |
|
10087 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10088 |
;; |
|
10089 |
hppa*64*) |
|
10090 |
shrext_cmds='.sl' |
|
10091 |
hardcode_into_libs=yes |
|
10092 |
dynamic_linker="$host_os dld.sl" |
|
10093 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
10094 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10095 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10096 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10097 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
10098 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10099 |
;; |
|
10100 |
*) |
|
10101 |
shrext_cmds='.sl' |
|
10102 |
dynamic_linker="$host_os dld.sl" |
|
10103 |
shlibpath_var=SHLIB_PATH |
|
10104 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
10105 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10106 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10107 |
;; |
|
10108 |
esac |
|
10109 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
|
10110 |
postinstall_cmds='chmod 555 $lib' |
|
10111 |
# or fails outright, so override atomically: |
|
10112 |
install_override_mode=555 |
|
10113 |
;; |
|
10114 |
|
|
10115 |
interix[3-9]*) |
|
10116 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10117 |
need_lib_prefix=no |
|
10118 |
need_version=no |
|
10119 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10120 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10121 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
10122 |
shlibpath_var=LD_LIBRARY_PATH |
|
10123 |
shlibpath_overrides_runpath=no |
|
10124 |
hardcode_into_libs=yes |
|
10125 |
;; |
|
10126 |
|
|
10127 |
irix5* | irix6* | nonstopux*) |
|
10128 |
case $host_os in |
|
10129 |
nonstopux*) version_type=nonstopux ;; |
|
10130 |
*) |
|
10131 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
10132 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10133 |
else |
|
10134 |
version_type=irix |
|
10135 |
fi ;; |
|
10136 |
esac |
|
10137 |
need_lib_prefix=no |
|
10138 |
need_version=no |
|
10139 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10140 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10141 |
case $host_os in |
|
10142 |
irix5* | nonstopux*) |
|
10143 |
libsuff= shlibsuff= |
|
10144 |
;; |
|
10145 |
*) |
|
10146 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
10147 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
10148 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
10149 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
10150 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
10151 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
10152 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
10153 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
10154 |
esac |
|
10155 |
;; |
|
10156 |
esac |
|
10157 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
10158 |
shlibpath_overrides_runpath=no |
|
10159 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
10160 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
10161 |
hardcode_into_libs=yes |
|
10162 |
;; |
|
10163 |
|
|
10164 |
# No shared lib support for Linux oldld, aout, or coff. |
|
10165 |
linux*oldld* | linux*aout* | linux*coff*) |
|
10166 |
dynamic_linker=no |
|
10167 |
;; |
|
10168 |
|
|
10169 |
# This must be glibc/ELF. |
|
10170 |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
|
10171 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10172 |
need_lib_prefix=no |
|
10173 |
need_version=no |
|
10174 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10175 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10176 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
10177 |
shlibpath_var=LD_LIBRARY_PATH |
|
10178 |
shlibpath_overrides_runpath=no |
|
10179 |
|
|
10180 |
# Some binutils ld are patched to set DT_RUNPATH |
|
10181 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
|
10182 |
$as_echo_n "(cached) " >&6 |
|
10183 |
else |
|
10184 |
lt_cv_shlibpath_overrides_runpath=no |
|
10185 |
save_LDFLAGS=$LDFLAGS |
|
10186 |
save_libdir=$libdir |
|
10187 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
10188 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
10189 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10190 |
/* end confdefs.h. */ |
|
10191 |
|
|
10192 |
int |
|
10193 |
main () |
|
10194 |
{ |
|
10195 |
|
|
10196 |
; |
|
10197 |
return 0; |
|
10198 |
} |
|
10199 |
_ACEOF |
|
10200 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10201 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
10202 |
lt_cv_shlibpath_overrides_runpath=yes |
|
10203 |
fi |
|
10204 |
fi |
|
10205 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10206 |
conftest$ac_exeext conftest.$ac_ext |
|
10207 |
LDFLAGS=$save_LDFLAGS |
|
10208 |
libdir=$save_libdir |
|
10209 |
|
|
10210 |
fi |
|
10211 |
|
|
10212 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
10213 |
|
|
10214 |
# This implies no fast_install, which is unacceptable. |
|
10215 |
# Some rework will be needed to allow for fast_install |
|
10216 |
# before this can be enabled. |
|
10217 |
hardcode_into_libs=yes |
|
10218 |
|
|
10219 |
# Add ABI-specific directories to the system library path. |
|
10220 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
|
10221 |
|
|
10222 |
# Append ld.so.conf contents to the search path |
|
10223 |
if test -f /etc/ld.so.conf; then |
|
10224 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
|
10225 |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
|
10226 |
|
|
10227 |
fi |
|
10228 |
|
|
10229 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
10230 |
# powerpc, because MkLinux only supported shared libraries with the |
|
10231 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
10232 |
# most powerpc-linux boxes support dynamic linking these days and |
|
10233 |
# people can always --disable-shared, the test was removed, and we |
|
10234 |
# assume the GNU/Linux dynamic linker is in use. |
|
10235 |
dynamic_linker='GNU/Linux ld.so' |
|
10236 |
;; |
|
10237 |
|
|
10238 |
netbsd*) |
|
10239 |
version_type=sunos |
|
10240 |
need_lib_prefix=no |
|
10241 |
need_version=no |
|
10242 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
10243 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10244 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10245 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
10246 |
else |
|
10247 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10248 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10249 |
dynamic_linker='NetBSD ld.elf_so' |
|
10250 |
fi |
|
10251 |
shlibpath_var=LD_LIBRARY_PATH |
|
10252 |
shlibpath_overrides_runpath=yes |
|
10253 |
hardcode_into_libs=yes |
|
10254 |
;; |
|
10255 |
|
|
10256 |
newsos6) |
|
10257 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10258 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10259 |
shlibpath_var=LD_LIBRARY_PATH |
|
10260 |
shlibpath_overrides_runpath=yes |
|
10261 |
;; |
|
10262 |
|
|
10263 |
*nto* | *qnx*) |
|
10264 |
version_type=qnx |
|
10265 |
need_lib_prefix=no |
|
10266 |
need_version=no |
|
10267 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10268 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10269 |
shlibpath_var=LD_LIBRARY_PATH |
|
10270 |
shlibpath_overrides_runpath=no |
|
10271 |
hardcode_into_libs=yes |
|
10272 |
dynamic_linker='ldqnx.so' |
|
10273 |
;; |
|
10274 |
|
|
10275 |
openbsd*) |
|
10276 |
version_type=sunos |
|
10277 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
10278 |
need_lib_prefix=no |
|
10279 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
10280 |
case $host_os in |
|
10281 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
10282 |
*) need_version=no ;; |
|
10283 |
esac |
|
10284 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10285 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
10286 |
shlibpath_var=LD_LIBRARY_PATH |
|
10287 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
10288 |
case $host_os in |
|
10289 |
openbsd2.[89] | openbsd2.[89].*) |
|
10290 |
shlibpath_overrides_runpath=no |
|
10291 |
;; |
|
10292 |
*) |
|
10293 |
shlibpath_overrides_runpath=yes |
|
10294 |
;; |
|
10295 |
esac |
|
10296 |
else |
|
10297 |
shlibpath_overrides_runpath=yes |
|
10298 |
fi |
|
10299 |
;; |
|
10300 |
|
|
10301 |
os2*) |
|
10302 |
libname_spec='$name' |
|
10303 |
shrext_cmds=".dll" |
|
10304 |
need_lib_prefix=no |
|
10305 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
10306 |
dynamic_linker='OS/2 ld.exe' |
|
10307 |
shlibpath_var=LIBPATH |
|
10308 |
;; |
|
10309 |
|
|
10310 |
osf3* | osf4* | osf5*) |
|
10311 |
version_type=osf |
|
10312 |
need_lib_prefix=no |
|
10313 |
need_version=no |
|
10314 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10315 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10316 |
shlibpath_var=LD_LIBRARY_PATH |
|
10317 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
10318 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
10319 |
;; |
|
10320 |
|
|
10321 |
rdos*) |
|
10322 |
dynamic_linker=no |
|
10323 |
;; |
|
10324 |
|
|
10325 |
solaris*) |
|
10326 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10327 |
need_lib_prefix=no |
|
10328 |
need_version=no |
|
10329 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10330 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10331 |
shlibpath_var=LD_LIBRARY_PATH |
|
10332 |
shlibpath_overrides_runpath=yes |
|
10333 |
hardcode_into_libs=yes |
|
10334 |
# ldd complains unless libraries are executable |
|
10335 |
postinstall_cmds='chmod +x $lib' |
|
10336 |
;; |
|
10337 |
|
|
10338 |
sunos4*) |
|
10339 |
version_type=sunos |
|
10340 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
10341 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
10342 |
shlibpath_var=LD_LIBRARY_PATH |
|
10343 |
shlibpath_overrides_runpath=yes |
|
10344 |
if test "$with_gnu_ld" = yes; then |
|
10345 |
need_lib_prefix=no |
|
10346 |
fi |
|
10347 |
need_version=yes |
|
10348 |
;; |
|
10349 |
|
|
10350 |
sysv4 | sysv4.3*) |
|
10351 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10352 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10353 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10354 |
shlibpath_var=LD_LIBRARY_PATH |
|
10355 |
case $host_vendor in |
|
10356 |
sni) |
|
10357 |
shlibpath_overrides_runpath=no |
|
10358 |
need_lib_prefix=no |
|
10359 |
runpath_var=LD_RUN_PATH |
|
10360 |
;; |
|
10361 |
siemens) |
|
10362 |
need_lib_prefix=no |
|
10363 |
;; |
|
10364 |
motorola) |
|
10365 |
need_lib_prefix=no |
|
10366 |
need_version=no |
|
10367 |
shlibpath_overrides_runpath=no |
|
10368 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
10369 |
;; |
|
10370 |
esac |
|
10371 |
;; |
|
10372 |
|
|
10373 |
sysv4*MP*) |
|
10374 |
if test -d /usr/nec ;then |
|
10375 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10376 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
10377 |
soname_spec='$libname${shared_ext}.$major' |
|
10378 |
shlibpath_var=LD_LIBRARY_PATH |
|
10379 |
fi |
|
10380 |
;; |
|
10381 |
|
|
10382 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
10383 |
version_type=freebsd-elf |
|
10384 |
need_lib_prefix=no |
|
10385 |
need_version=no |
|
10386 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
10387 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10388 |
shlibpath_var=LD_LIBRARY_PATH |
|
10389 |
shlibpath_overrides_runpath=yes |
|
10390 |
hardcode_into_libs=yes |
|
10391 |
if test "$with_gnu_ld" = yes; then |
|
10392 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
10393 |
else |
|
10394 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
10395 |
case $host_os in |
|
10396 |
sco3.2v5*) |
|
10397 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
10398 |
;; |
|
10399 |
esac |
|
10400 |
fi |
|
10401 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
10402 |
;; |
|
10403 |
|
|
10404 |
tpf*) |
|
10405 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
10406 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10407 |
need_lib_prefix=no |
|
10408 |
need_version=no |
|
10409 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10410 |
shlibpath_var=LD_LIBRARY_PATH |
|
10411 |
shlibpath_overrides_runpath=no |
|
10412 |
hardcode_into_libs=yes |
|
10413 |
;; |
|
10414 |
|
|
10415 |
uts4*) |
|
10416 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10417 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
10418 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10419 |
shlibpath_var=LD_LIBRARY_PATH |
|
10420 |
;; |
|
10421 |
|
|
10422 |
*) |
|
10423 |
dynamic_linker=no |
|
10424 |
;; |
|
10425 |
esac |
|
10426 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
|
10427 |
$as_echo "$dynamic_linker" >&6; } |
|
10428 |
test "$dynamic_linker" = no && can_build_shared=no |
|
10429 |
|
|
10430 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
10431 |
if test "$GCC" = yes; then |
|
10432 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
10433 |
fi |
|
10434 |
|
|
10435 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
10436 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
10437 |
fi |
|
10438 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
10439 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
10440 |
fi |
|
10441 |
|
|
10442 |
|
|
10443 |
|
|
10444 |
|
|
10445 |
|
|
10446 |
|
|
10447 |
|
|
10448 |
|
|
10449 |
|
|
10450 |
|
|
10451 |
|
|
10452 |
|
|
10453 |
|
|
10454 |
|
|
10455 |
|
|
10456 |
|
|
10457 |
|
|
10458 |
|
|
10459 |
|
|
10460 |
|
|
10461 |
|
|
10462 |
|
|
10463 |
|
|
10464 |
|
|
10465 |
|
|
10466 |
|
|
10467 |
|
|
10468 |
|
|
10469 |
|
|
10470 |
|
|
10471 |
|
|
10472 |
|
|
10473 |
|
|
10474 |
|
|
10475 |
|
|
10476 |
|
|
10477 |
|
|
10478 |
|
|
10479 |
|
|
10480 |
|
|
10481 |
|
|
10482 |
|
|
10483 |
|
|
10484 |
|
|
10485 |
|
|
10486 |
|
|
10487 |
|
|
10488 |
|
|
10489 |
|
|
10490 |
|
|
10491 |
|
|
10492 |
|
|
10493 |
|
|
10494 |
|
|
10495 |
|
|
10496 |
|
|
10497 |
|
|
10498 |
|
|
10499 |
|
|
10500 |
|
|
10501 |
|
|
10502 |
|
|
10503 |
|
|
10504 |
|
|
10505 |
|
|
10506 |
|
|
10507 |
|
|
10508 |
|
|
10509 |
|
|
10510 |
|
|
10511 |
|
|
10512 |
|
|
10513 |
|
|
10514 |
|
|
10515 |
|
|
10516 |
|
|
10517 |
|
|
10518 |
|
|
10519 |
|
|
10520 |
|
|
10521 |
|
|
10522 |
|
|
10523 |
|
|
10524 |
|
|
10525 |
|
|
10526 |
|
|
10527 |
|
|
10528 |
|
|
10529 |
|
|
10530 |
|
|
10531 |
|
|
10532 |
|
|
10533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
|
10534 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
10535 |
hardcode_action= |
|
10536 |
if test -n "$hardcode_libdir_flag_spec" || |
|
10537 |
test -n "$runpath_var" || |
|
10538 |
test "X$hardcode_automatic" = "Xyes" ; then |
|
10539 |
|
|
10540 |
# We can hardcode non-existent directories. |
|
10541 |
if test "$hardcode_direct" != no && |
|
10542 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
10543 |
# have to relink, otherwise we might link with an installed library |
|
10544 |
# when we should be linking with a yet-to-be-installed one |
|
10545 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
10546 |
test "$hardcode_minus_L" != no; then |
|
10547 |
# Linking always hardcodes the temporary library directory. |
|
10548 |
hardcode_action=relink |
|
10549 |
else |
|
10550 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
10551 |
hardcode_action=immediate |
|
10552 |
fi |
|
10553 |
else |
|
10554 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
10555 |
# directories. |
|
10556 |
hardcode_action=unsupported |
|
10557 |
fi |
|
10558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
|
10559 |
$as_echo "$hardcode_action" >&6; } |
|
10560 |
|
|
10561 |
if test "$hardcode_action" = relink || |
|
10562 |
test "$inherit_rpath" = yes; then |
|
10563 |
# Fast installation is not supported |
|
10564 |
enable_fast_install=no |
|
10565 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
10566 |
test "$enable_shared" = no; then |
|
10567 |
# Fast installation is not necessary |
|
10568 |
enable_fast_install=needless |
|
10569 |
fi |
|
10570 |
|
|
10571 |
|
|
10572 |
|
|
10573 |
|
|
10574 |
|
|
10575 |
|
|
10576 |
if test "x$enable_dlopen" != xyes; then |
|
10577 |
enable_dlopen=unknown |
|
10578 |
enable_dlopen_self=unknown |
|
10579 |
enable_dlopen_self_static=unknown |
|
10580 |
else |
|
10581 |
lt_cv_dlopen=no |
|
10582 |
lt_cv_dlopen_libs= |
|
10583 |
|
|
10584 |
case $host_os in |
|
10585 |
beos*) |
|
10586 |
lt_cv_dlopen="load_add_on" |
|
10587 |
lt_cv_dlopen_libs= |
|
10588 |
lt_cv_dlopen_self=yes |
|
10589 |
;; |
|
10590 |
|
|
10591 |
mingw* | pw32* | cegcc*) |
|
10592 |
lt_cv_dlopen="LoadLibrary" |
|
10593 |
lt_cv_dlopen_libs= |
|
10594 |
;; |
|
10595 |
|
|
10596 |
cygwin*) |
|
10597 |
lt_cv_dlopen="dlopen" |
|
10598 |
lt_cv_dlopen_libs= |
|
10599 |
;; |
|
10600 |
|
|
10601 |
darwin*) |
|
10602 |
# if libdl is installed we need to link against it |
|
10603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
10604 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
10605 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
|
10606 |
$as_echo_n "(cached) " >&6 |
|
10607 |
else |
|
10608 |
ac_check_lib_save_LIBS=$LIBS |
|
10609 |
LIBS="-ldl $LIBS" |
|
10610 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10611 |
/* end confdefs.h. */ |
|
10612 |
|
|
10613 |
/* Override any GCC internal prototype to avoid an error. |
|
10614 |
Use char because int might match the return type of a GCC |
|
10615 |
builtin and then its argument prototype would still apply. */ |
|
10616 |
#ifdef __cplusplus |
|
10617 |
extern "C" |
|
10618 |
#endif |
|
10619 |
char dlopen (); |
|
10620 |
int |
|
10621 |
main () |
|
10622 |
{ |
|
10623 |
return dlopen (); |
|
10624 |
; |
|
10625 |
return 0; |
|
10626 |
} |
|
10627 |
_ACEOF |
|
10628 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10629 |
ac_cv_lib_dl_dlopen=yes |
|
10630 |
else |
|
10631 |
ac_cv_lib_dl_dlopen=no |
|
10632 |
fi |
|
10633 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10634 |
conftest$ac_exeext conftest.$ac_ext |
|
10635 |
LIBS=$ac_check_lib_save_LIBS |
|
10636 |
fi |
|
10637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
10638 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
10639 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
10640 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
10641 |
else |
|
10642 |
|
|
10643 |
lt_cv_dlopen="dyld" |
|
10644 |
lt_cv_dlopen_libs= |
|
10645 |
lt_cv_dlopen_self=yes |
|
10646 |
|
|
10647 |
fi |
|
10648 |
|
|
10649 |
;; |
|
10650 |
|
|
10651 |
*) |
|
10652 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
|
10653 |
if test "x$ac_cv_func_shl_load" = xyes; then : |
|
10654 |
lt_cv_dlopen="shl_load" |
|
10655 |
else |
|
10656 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
|
10657 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
10658 |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
|
10659 |
$as_echo_n "(cached) " >&6 |
|
10660 |
else |
|
10661 |
ac_check_lib_save_LIBS=$LIBS |
|
10662 |
LIBS="-ldld $LIBS" |
|
10663 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10664 |
/* end confdefs.h. */ |
|
10665 |
|
|
10666 |
/* Override any GCC internal prototype to avoid an error. |
|
10667 |
Use char because int might match the return type of a GCC |
|
10668 |
builtin and then its argument prototype would still apply. */ |
|
10669 |
#ifdef __cplusplus |
|
10670 |
extern "C" |
|
10671 |
#endif |
|
10672 |
char shl_load (); |
|
10673 |
int |
|
10674 |
main () |
|
10675 |
{ |
|
10676 |
return shl_load (); |
|
10677 |
; |
|
10678 |
return 0; |
|
10679 |
} |
|
10680 |
_ACEOF |
|
10681 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10682 |
ac_cv_lib_dld_shl_load=yes |
|
10683 |
else |
|
10684 |
ac_cv_lib_dld_shl_load=no |
|
10685 |
fi |
|
10686 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10687 |
conftest$ac_exeext conftest.$ac_ext |
|
10688 |
LIBS=$ac_check_lib_save_LIBS |
|
10689 |
fi |
|
10690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
|
10691 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
10692 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
|
10693 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
|
10694 |
else |
|
10695 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
10696 |
if test "x$ac_cv_func_dlopen" = xyes; then : |
|
10697 |
lt_cv_dlopen="dlopen" |
|
10698 |
else |
|
10699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
10700 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
10701 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
|
10702 |
$as_echo_n "(cached) " >&6 |
|
10703 |
else |
|
10704 |
ac_check_lib_save_LIBS=$LIBS |
|
10705 |
LIBS="-ldl $LIBS" |
|
10706 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10707 |
/* end confdefs.h. */ |
|
10708 |
|
|
10709 |
/* Override any GCC internal prototype to avoid an error. |
|
10710 |
Use char because int might match the return type of a GCC |
|
10711 |
builtin and then its argument prototype would still apply. */ |
|
10712 |
#ifdef __cplusplus |
|
10713 |
extern "C" |
|
10714 |
#endif |
|
10715 |
char dlopen (); |
|
10716 |
int |
|
10717 |
main () |
|
10718 |
{ |
|
10719 |
return dlopen (); |
|
10720 |
; |
|
10721 |
return 0; |
|
10722 |
} |
|
10723 |
_ACEOF |
|
10724 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10725 |
ac_cv_lib_dl_dlopen=yes |
|
10726 |
else |
|
10727 |
ac_cv_lib_dl_dlopen=no |
|
10728 |
fi |
|
10729 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10730 |
conftest$ac_exeext conftest.$ac_ext |
|
10731 |
LIBS=$ac_check_lib_save_LIBS |
|
10732 |
fi |
|
10733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
10734 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
10735 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
10736 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
10737 |
else |
|
10738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
|
10739 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
10740 |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
|
10741 |
$as_echo_n "(cached) " >&6 |
|
10742 |
else |
|
10743 |
ac_check_lib_save_LIBS=$LIBS |
|
10744 |
LIBS="-lsvld $LIBS" |
|
10745 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10746 |
/* end confdefs.h. */ |
|
10747 |
|
|
10748 |
/* Override any GCC internal prototype to avoid an error. |
|
10749 |
Use char because int might match the return type of a GCC |
|
10750 |
builtin and then its argument prototype would still apply. */ |
|
10751 |
#ifdef __cplusplus |
|
10752 |
extern "C" |
|
10753 |
#endif |
|
10754 |
char dlopen (); |
|
10755 |
int |
|
10756 |
main () |
|
10757 |
{ |
|
10758 |
return dlopen (); |
|
10759 |
; |
|
10760 |
return 0; |
|
10761 |
} |
|
10762 |
_ACEOF |
|
10763 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10764 |
ac_cv_lib_svld_dlopen=yes |
|
10765 |
else |
|
10766 |
ac_cv_lib_svld_dlopen=no |
|
10767 |
fi |
|
10768 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10769 |
conftest$ac_exeext conftest.$ac_ext |
|
10770 |
LIBS=$ac_check_lib_save_LIBS |
|
10771 |
fi |
|
10772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
|
10773 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
10774 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
|
10775 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
10776 |
else |
|
10777 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
|
10778 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
10779 |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
|
10780 |
$as_echo_n "(cached) " >&6 |
|
10781 |
else |
|
10782 |
ac_check_lib_save_LIBS=$LIBS |
|
10783 |
LIBS="-ldld $LIBS" |
|
10784 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10785 |
/* end confdefs.h. */ |
|
10786 |
|
|
10787 |
/* Override any GCC internal prototype to avoid an error. |
|
10788 |
Use char because int might match the return type of a GCC |
|
10789 |
builtin and then its argument prototype would still apply. */ |
|
10790 |
#ifdef __cplusplus |
|
10791 |
extern "C" |
|
10792 |
#endif |
|
10793 |
char dld_link (); |
|
10794 |
int |
|
10795 |
main () |
|
10796 |
{ |
|
10797 |
return dld_link (); |
|
10798 |
; |
|
10799 |
return 0; |
|
10800 |
} |
|
10801 |
_ACEOF |
|
10802 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10803 |
ac_cv_lib_dld_dld_link=yes |
|
10804 |
else |
|
10805 |
ac_cv_lib_dld_dld_link=no |
|
10806 |
fi |
|
10807 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10808 |
conftest$ac_exeext conftest.$ac_ext |
|
10809 |
LIBS=$ac_check_lib_save_LIBS |
|
10810 |
fi |
|
10811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
|
10812 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
10813 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
|
10814 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
|
10815 |
fi |
|
10816 |
|
|
10817 |
|
|
10818 |
fi |
|
10819 |
|
|
10820 |
|
|
10821 |
fi |
|
10822 |
|
|
10823 |
|
|
10824 |
fi |
|
10825 |
|
|
10826 |
|
|
10827 |
fi |
|
10828 |
|
|
10829 |
|
|
10830 |
fi |
|
10831 |
|
|
10832 |
;; |
|
10833 |
esac |
|
10834 |
|
|
10835 |
if test "x$lt_cv_dlopen" != xno; then |
|
10836 |
enable_dlopen=yes |
|
10837 |
else |
|
10838 |
enable_dlopen=no |
|
10839 |
fi |
|
10840 |
|
|
10841 |
case $lt_cv_dlopen in |
|
10842 |
dlopen) |
|
10843 |
save_CPPFLAGS="$CPPFLAGS" |
|
10844 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
10845 |
|
|
10846 |
save_LDFLAGS="$LDFLAGS" |
|
10847 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
10848 |
|
|
10849 |
save_LIBS="$LIBS" |
|
10850 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
10851 |
|
|
10852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
|
10853 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
10854 |
if ${lt_cv_dlopen_self+:} false; then : |
|
10855 |
$as_echo_n "(cached) " >&6 |
|
10856 |
else |
|
10857 |
if test "$cross_compiling" = yes; then : |
|
10858 |
lt_cv_dlopen_self=cross |
|
10859 |
else |
|
10860 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
10861 |
lt_status=$lt_dlunknown |
|
10862 |
cat > conftest.$ac_ext <<_LT_EOF |
|
10863 |
#line $LINENO "configure" |
|
10864 |
#include "confdefs.h" |
|
10865 |
|
|
10866 |
#if HAVE_DLFCN_H |
|
10867 |
#include <dlfcn.h> |
|
10868 |
#endif |
|
10869 |
|
|
10870 |
#include <stdio.h> |
|
10871 |
|
|
10872 |
#ifdef RTLD_GLOBAL |
|
10873 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
10874 |
#else |
|
10875 |
# ifdef DL_GLOBAL |
|
10876 |
# define LT_DLGLOBAL DL_GLOBAL |
|
10877 |
# else |
|
10878 |
# define LT_DLGLOBAL 0 |
|
10879 |
# endif |
|
10880 |
#endif |
|
10881 |
|
|
10882 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
10883 |
find out it does not work in some platform. */ |
|
10884 |
#ifndef LT_DLLAZY_OR_NOW |
|
10885 |
# ifdef RTLD_LAZY |
|
10886 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
10887 |
# else |
|
10888 |
# ifdef DL_LAZY |
|
10889 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
10890 |
# else |
|
10891 |
# ifdef RTLD_NOW |
|
10892 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
10893 |
# else |
|
10894 |
# ifdef DL_NOW |
|
10895 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
10896 |
# else |
|
10897 |
# define LT_DLLAZY_OR_NOW 0 |
|
10898 |
# endif |
|
10899 |
# endif |
|
10900 |
# endif |
|
10901 |
# endif |
|
10902 |
#endif |
|
10903 |
|
|
10904 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
|
10905 |
correspondingly for the symbols needed. */ |
|
10906 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
10907 |
int fnord () __attribute__((visibility("default"))); |
|
10908 |
#endif |
|
10909 |
|
|
10910 |
int fnord () { return 42; } |
|
10911 |
int main () |
|
10912 |
{ |
|
10913 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
10914 |
int status = $lt_dlunknown; |
|
10915 |
|
|
10916 |
if (self) |
|
10917 |
{ |
|
10918 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
10919 |
else |
|
10920 |
{ |
|
10921 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
10922 |
else puts (dlerror ()); |
|
10923 |
} |
|
10924 |
/* dlclose (self); */ |
|
10925 |
} |
|
10926 |
else |
|
10927 |
puts (dlerror ()); |
|
10928 |
|
|
10929 |
return status; |
|
10930 |
} |
|
10931 |
_LT_EOF |
|
10932 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
10933 |
(eval $ac_link) 2>&5 |
|
10934 |
ac_status=$? |
|
10935 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
10936 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
10937 |
(./conftest; exit; ) >&5 2>/dev/null |
|
10938 |
lt_status=$? |
|
10939 |
case x$lt_status in |
|
10940 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
10941 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
10942 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
10943 |
esac |
|
10944 |
else : |
|
10945 |
# compilation failed |
|
10946 |
lt_cv_dlopen_self=no |
|
10947 |
fi |
|
10948 |
fi |
|
10949 |
rm -fr conftest* |
|
10950 |
|
|
10951 |
|
|
10952 |
fi |
|
10953 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
|
10954 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
10955 |
|
|
10956 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
10957 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
10958 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
|
10959 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
10960 |
if ${lt_cv_dlopen_self_static+:} false; then : |
|
10961 |
$as_echo_n "(cached) " >&6 |
|
10962 |
else |
|
10963 |
if test "$cross_compiling" = yes; then : |
|
10964 |
lt_cv_dlopen_self_static=cross |
|
10965 |
else |
|
10966 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
10967 |
lt_status=$lt_dlunknown |
|
10968 |
cat > conftest.$ac_ext <<_LT_EOF |
|
10969 |
#line $LINENO "configure" |
|
10970 |
#include "confdefs.h" |
|
10971 |
|
|
10972 |
#if HAVE_DLFCN_H |
|
10973 |
#include <dlfcn.h> |
|
10974 |
#endif |
|
10975 |
|
|
10976 |
#include <stdio.h> |
|
10977 |
|
|
10978 |
#ifdef RTLD_GLOBAL |
|
10979 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
10980 |
#else |
|
10981 |
# ifdef DL_GLOBAL |
|
10982 |
# define LT_DLGLOBAL DL_GLOBAL |
|
10983 |
# else |
|
10984 |
# define LT_DLGLOBAL 0 |
|
10985 |
# endif |
|
10986 |
#endif |
|
10987 |
|
|
10988 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
10989 |
find out it does not work in some platform. */ |
|
10990 |
#ifndef LT_DLLAZY_OR_NOW |
|
10991 |
# ifdef RTLD_LAZY |
|
10992 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
10993 |
# else |
|
10994 |
# ifdef DL_LAZY |
|
10995 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
10996 |
# else |
|
10997 |
# ifdef RTLD_NOW |
|
10998 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
10999 |
# else |
|
11000 |
# ifdef DL_NOW |
|
11001 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11002 |
# else |
|
11003 |
# define LT_DLLAZY_OR_NOW 0 |
|
11004 |
# endif |
|
11005 |
# endif |
|
11006 |
# endif |
|
11007 |
# endif |
|
11008 |
#endif |
|
11009 |
|
|
11010 |
/* When -fvisbility=hidden is used, assume the code has been annotated |
|
11011 |
correspondingly for the symbols needed. */ |
|
11012 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11013 |
int fnord () __attribute__((visibility("default"))); |
|
11014 |
#endif |
|
11015 |
|
|
11016 |
int fnord () { return 42; } |
|
11017 |
int main () |
|
11018 |
{ |
|
11019 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11020 |
int status = $lt_dlunknown; |
|
11021 |
|
|
11022 |
if (self) |
|
11023 |
{ |
|
11024 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
11025 |
else |
|
11026 |
{ |
|
11027 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11028 |
else puts (dlerror ()); |
|
11029 |
} |
|
11030 |
/* dlclose (self); */ |
|
11031 |
} |
|
11032 |
else |
|
11033 |
puts (dlerror ()); |
|
11034 |
|
|
11035 |
return status; |
|
11036 |
} |
|
11037 |
_LT_EOF |
|
11038 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11039 |
(eval $ac_link) 2>&5 |
|
11040 |
ac_status=$? |
|
11041 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11042 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
11043 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11044 |
lt_status=$? |
|
11045 |
case x$lt_status in |
|
11046 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11047 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11048 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
11049 |
esac |
|
11050 |
else : |
|
11051 |
# compilation failed |
|
11052 |
lt_cv_dlopen_self_static=no |
|
11053 |
fi |
|
11054 |
fi |
|
11055 |
rm -fr conftest* |
|
11056 |
|
|
11057 |
|
|
11058 |
fi |
|
11059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
|
11060 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
11061 |
fi |
|
11062 |
|
|
11063 |
CPPFLAGS="$save_CPPFLAGS" |
|
11064 |
LDFLAGS="$save_LDFLAGS" |
|
11065 |
LIBS="$save_LIBS" |
|
11066 |
;; |
|
11067 |
esac |
|
11068 |
|
|
11069 |
case $lt_cv_dlopen_self in |
|
11070 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
11071 |
*) enable_dlopen_self=unknown ;; |
|
11072 |
esac |
|
11073 |
|
|
11074 |
case $lt_cv_dlopen_self_static in |
|
11075 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
11076 |
*) enable_dlopen_self_static=unknown ;; |
|
11077 |
esac |
|
11078 |
fi |
|
11079 |
|
|
11080 |
|
|
11081 |
|
|
11082 |
|
|
11083 |
|
|
11084 |
|
|
11085 |
|
|
11086 |
|
|
11087 |
|
|
11088 |
|
|
11089 |
|
|
11090 |
|
|
11091 |
|
|
11092 |
|
|
11093 |
|
|
11094 |
|
|
11095 |
|
|
11096 |
striplib= |
|
11097 |
old_striplib= |
|
11098 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
|
11099 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
11100 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
11101 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
11102 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
11103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11104 |
$as_echo "yes" >&6; } |
|
11105 |
else |
|
11106 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
11107 |
case $host_os in |
|
11108 |
darwin*) |
|
11109 |
if test -n "$STRIP" ; then |
|
11110 |
striplib="$STRIP -x" |
|
11111 |
old_striplib="$STRIP -S" |
|
11112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11113 |
$as_echo "yes" >&6; } |
|
11114 |
else |
|
11115 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11116 |
$as_echo "no" >&6; } |
|
11117 |
fi |
|
11118 |
;; |
|
11119 |
*) |
|
11120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11121 |
$as_echo "no" >&6; } |
|
11122 |
;; |
|
11123 |
esac |
|
11124 |
fi |
|
11125 |
|
|
11126 |
|
|
11127 |
|
|
11128 |
|
|
11129 |
|
|
11130 |
|
|
11131 |
|
|
11132 |
|
|
11133 |
|
|
11134 |
|
|
11135 |
|
|
11136 |
|
|
11137 |
# Report which library types will actually be built |
|
11138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
11139 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
11140 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
11141 |
$as_echo "$can_build_shared" >&6; } |
|
11142 |
|
|
11143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
11144 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
11145 |
test "$can_build_shared" = "no" && enable_shared=no |
|
11146 |
|
|
11147 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
11148 |
# are all built from PIC. |
|
11149 |
case $host_os in |
|
11150 |
aix3*) |
|
11151 |
test "$enable_shared" = yes && enable_static=no |
|
11152 |
if test -n "$RANLIB"; then |
|
11153 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
11154 |
postinstall_cmds='$RANLIB $lib' |
|
11155 |
fi |
|
11156 |
;; |
|
11157 |
|
|
11158 |
aix[4-9]*) |
|
11159 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
11160 |
test "$enable_shared" = yes && enable_static=no |
|
11161 |
fi |
|
11162 |
;; |
|
11163 |
esac |
|
11164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
11165 |
$as_echo "$enable_shared" >&6; } |
|
11166 |
|
|
11167 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
11168 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
11169 |
# Make sure either enable_shared or enable_static is yes. |
|
11170 |
test "$enable_shared" = yes || enable_static=yes |
|
11171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
11172 |
$as_echo "$enable_static" >&6; } |
|
11173 |
|
|
11174 |
|
|
11175 |
|
|
11176 |
|
|
11177 |
fi |
|
11178 |
ac_ext=c |
|
11179 |
ac_cpp='$CPP $CPPFLAGS' |
|
11180 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11181 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11182 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11183 |
|
|
11184 |
CC="$lt_save_CC" |
|
11185 |
|
|
11186 |
|
|
11187 |
|
|
11188 |
|
|
11189 |
|
|
11190 |
|
|
11191 |
|
|
11192 |
|
|
11193 |
|
|
11194 |
|
|
11195 |
|
|
11196 |
|
|
11197 |
|
|
11198 |
|
|
11199 |
|
|
11200 |
ac_config_commands="$ac_config_commands libtool" |
|
11201 |
|
|
11202 |
|
|
11203 |
|
|
11204 |
|
|
11205 |
# Only expand once: |
|
11206 |
|
|
11207 |
|
|
11208 |
|
|
11209 |
|
|
11210 |
have_usblibs=no |
|
11211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing libusb_open_device_with_vid_pid" >&5 |
|
11212 |
$as_echo_n "checking for library containing libusb_open_device_with_vid_pid... " >&6; } |
|
11213 |
if ${ac_cv_search_libusb_open_device_with_vid_pid+:} false; then : |
|
11214 |
$as_echo_n "(cached) " >&6 |
|
11215 |
else |
|
11216 |
ac_func_search_save_LIBS=$LIBS |
|
11217 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11218 |
/* end confdefs.h. */ |
|
11219 |
|
|
11220 |
/* Override any GCC internal prototype to avoid an error. |
|
11221 |
Use char because int might match the return type of a GCC |
|
11222 |
builtin and then its argument prototype would still apply. */ |
|
11223 |
#ifdef __cplusplus |
|
11224 |
extern "C" |
|
11225 |
#endif |
|
11226 |
char libusb_open_device_with_vid_pid (); |
|
11227 |
int |
|
11228 |
main () |
|
11229 |
{ |
|
11230 |
return libusb_open_device_with_vid_pid (); |
|
11231 |
; |
|
11232 |
return 0; |
|
11233 |
} |
|
11234 |
_ACEOF |
|
11235 |
for ac_lib in '' usb-1.0; do |
|
11236 |
if test -z "$ac_lib"; then |
|
11237 |
ac_res="none required" |
|
11238 |
else |
|
11239 |
ac_res=-l$ac_lib |
|
11240 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
11241 |
fi |
|
11242 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11243 |
ac_cv_search_libusb_open_device_with_vid_pid=$ac_res |
|
11244 |
fi |
|
11245 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11246 |
conftest$ac_exeext |
|
11247 |
if ${ac_cv_search_libusb_open_device_with_vid_pid+:} false; then : |
|
11248 |
break |
|
11249 |
fi |
|
11250 |
done |
|
11251 |
if ${ac_cv_search_libusb_open_device_with_vid_pid+:} false; then : |
|
11252 |
|
|
11253 |
else |
|
11254 |
ac_cv_search_libusb_open_device_with_vid_pid=no |
|
11255 |
fi |
|
11256 |
rm conftest.$ac_ext |
|
11257 |
LIBS=$ac_func_search_save_LIBS |
|
11258 |
fi |
|
11259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_libusb_open_device_with_vid_pid" >&5 |
|
11260 |
$as_echo "$ac_cv_search_libusb_open_device_with_vid_pid" >&6; } |
|
11261 |
ac_res=$ac_cv_search_libusb_open_device_with_vid_pid |
|
11262 |
if test "$ac_res" != no; then : |
|
11263 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
11264 |
have_usblibs=yes |
|
11265 |
fi |
|
11266 |
|
|
11267 |
|
|
11268 |
if test "x${have_usblibs}" = xno; then |
|
11269 |
as_fn_error $? " |
|
11270 |
-------------------------------------------------------------------------- |
|
11271 |
The G4Track library requires libusb-1.0 lib to run. Please install before |
|
11272 |
continuing. Stopping.... |
|
11273 |
Check 'config.log' for more information. |
|
11274 |
--------------------------------------------------------------------------" "$LINENO" 5 |
|
11275 |
fi |
|
11276 |
|
|
11277 |
|
|
11278 |
|
|
11279 |
ac_config_files="$ac_config_files Makefile include/Makefile udev_rules/Makefile bin/Makefile man/Makefile" |
|
11280 |
|
|
11281 |
|
|
11282 |
|
|
11283 |
cat >confcache <<\_ACEOF |
|
11284 |
# This file is a shell script that caches the results of configure |
|
11285 |
# tests run on this system so they can be shared between configure |
|
11286 |
# scripts and configure runs, see configure's option --config-cache. |
|
11287 |
# It is not useful on other systems. If it contains results you don't |
|
11288 |
# want to keep, you may remove or edit it. |
|
11289 |
# |
|
11290 |
# config.status only pays attention to the cache file if you give it |
|
11291 |
# the --recheck option to rerun configure. |
|
11292 |
# |
|
11293 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
11294 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
11295 |
# following values. |
|
11296 |
|
|
11297 |
_ACEOF |
|
11298 |
|
|
11299 |
# The following way of writing the cache mishandles newlines in values, |
|
11300 |
# but we know of no workaround that is simple, portable, and efficient. |
|
11301 |
# So, we kill variables containing newlines. |
|
11302 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
11303 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
11304 |
( |
|
11305 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
11306 |
eval ac_val=\$$ac_var |
|
11307 |
case $ac_val in #( |
|
11308 |
*${as_nl}*) |
|
11309 |
case $ac_var in #( |
|
11310 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
11311 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
11312 |
esac |
|
11313 |
case $ac_var in #( |
|
11314 |
_ | IFS | as_nl) ;; #( |
|
11315 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
11316 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
11317 |
esac ;; |
|
11318 |
esac |
|
11319 |
done |
|
11320 |
|
|
11321 |
(set) 2>&1 | |
|
11322 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
11323 |
*${as_nl}ac_space=\ *) |
|
11324 |
# `set' does not quote correctly, so add quotes: double-quote |
|
11325 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
11326 |
sed -n \ |
|
11327 |
"s/'/'\\\\''/g; |
|
11328 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
11329 |
;; #( |
|
11330 |
*) |
|
11331 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
11332 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
11333 |
;; |
|
11334 |
esac | |
|
11335 |
sort |
|
11336 |
) | |
|
11337 |
sed ' |
|
11338 |
/^ac_cv_env_/b end |
|
11339 |
t clear |
|
11340 |
:clear |
|
11341 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
11342 |
t end |
|
11343 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
11344 |
:end' >>confcache |
|
11345 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
11346 |
if test -w "$cache_file"; then |
|
11347 |
if test "x$cache_file" != "x/dev/null"; then |
|
11348 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
11349 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
11350 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
11351 |
cat confcache >"$cache_file" |
|
11352 |
else |
|
11353 |
case $cache_file in #( |
|
11354 |
*/* | ?:*) |
|
11355 |
mv -f confcache "$cache_file"$$ && |
|
11356 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
11357 |
*) |
|
11358 |
mv -f confcache "$cache_file" ;; |
|
11359 |
esac |
|
11360 |
fi |
|
11361 |
fi |
|
11362 |
else |
|
11363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
11364 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
11365 |
fi |
|
11366 |
fi |
|
11367 |
rm -f confcache |
|
11368 |
|
|
11369 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
11370 |
# Let make expand exec_prefix. |
|
11371 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
11372 |
|
|
11373 |
# Transform confdefs.h into DEFS. |
|
11374 |
# Protect against shell expansion while executing Makefile rules. |
|
11375 |
# Protect against Makefile macro expansion. |
|
11376 |
# |
|
11377 |
# If the first sed substitution is executed (which looks for macros that |
|
11378 |
# take arguments), then branch to the quote section. Otherwise, |
|
11379 |
# look for a macro that doesn't take arguments. |
|
11380 |
ac_script=' |
|
11381 |
:mline |
|
11382 |
/\\$/{ |
|
11383 |
N |
|
11384 |
s,\\\n,, |
|
11385 |
b mline |
|
11386 |
} |
|
11387 |
t clear |
|
11388 |
:clear |
|
11389 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
|
11390 |
t quote |
|
11391 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
|
11392 |
t quote |
|
11393 |
b any |
|
11394 |
:quote |
|
11395 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
|
11396 |
s/\[/\\&/g |
|
11397 |
s/\]/\\&/g |
|
11398 |
s/\$/$$/g |
|
11399 |
H |
|
11400 |
:any |
|
11401 |
${ |
|
11402 |
g |
|
11403 |
s/^\n// |
|
11404 |
s/\n/ /g |
|
11405 |
p |
|
11406 |
} |
|
11407 |
' |
|
11408 |
DEFS=`sed -n "$ac_script" confdefs.h` |
|
11409 |
|
|
11410 |
|
|
11411 |
ac_libobjs= |
|
11412 |
ac_ltlibobjs= |
|
11413 |
U= |
|
11414 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
11415 |
# 1. Remove the extension, and $U if already installed. |
|
11416 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
11417 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
11418 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
11419 |
# will be set to the directory where LIBOBJS objects are built. |
|
11420 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
11421 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
11422 |
done |
|
11423 |
LIBOBJS=$ac_libobjs |
|
11424 |
|
|
11425 |
LTLIBOBJS=$ac_ltlibobjs |
|
11426 |
|
|
11427 |
|
|
11428 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
11429 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
11430 |
if test -n "$am_sleep_pid"; then |
|
11431 |
# Hide warnings about reused PIDs. |
|
11432 |
wait $am_sleep_pid 2>/dev/null |
|
11433 |
fi |
|
11434 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
11435 |
$as_echo "done" >&6; } |
|
11436 |
if test -n "$EXEEXT"; then |
|
11437 |
am__EXEEXT_TRUE= |
|
11438 |
am__EXEEXT_FALSE='#' |
|
11439 |
else |
|
11440 |
am__EXEEXT_TRUE='#' |
|
11441 |
am__EXEEXT_FALSE= |
|
11442 |
fi |
|
11443 |
|
|
11444 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
11445 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
11446 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
11447 |
fi |
|
11448 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
11449 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
11450 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
11451 |
fi |
|
11452 |
|
|
11453 |
: "${CONFIG_STATUS=./config.status}" |
|
11454 |
ac_write_fail=0 |
|
11455 |
ac_clean_files_save=$ac_clean_files |
|
11456 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
11457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
11458 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
11459 |
as_write_fail=0 |
|
11460 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
11461 |
#! $SHELL |
|
11462 |
# Generated by $as_me. |
|
11463 |
# Run this file to recreate the current configuration. |
|
11464 |
# Compiler output produced by configure, useful for debugging |
|
11465 |
# configure, is in config.log if it exists. |
|
11466 |
|
|
11467 |
debug=false |
|
11468 |
ac_cs_recheck=false |
|
11469 |
ac_cs_silent=false |
|
11470 |
|
|
11471 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
11472 |
export SHELL |
|
11473 |
_ASEOF |
|
11474 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
11475 |
## -------------------- ## |
|
11476 |
## M4sh Initialization. ## |
|
11477 |
## -------------------- ## |
|
11478 |
|
|
11479 |
# Be more Bourne compatible |
|
11480 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
11481 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
11482 |
emulate sh |
|
11483 |
NULLCMD=: |
|
11484 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
11485 |
# is contrary to our usage. Disable this feature. |
|
11486 |
alias -g '${1+"$@"}'='"$@"' |
|
11487 |
setopt NO_GLOB_SUBST |
|
11488 |
else |
|
11489 |
case `(set -o) 2>/dev/null` in #( |
|
11490 |
*posix*) : |
|
11491 |
set -o posix ;; #( |
|
11492 |
*) : |
|
11493 |
;; |
|
11494 |
esac |
|
11495 |
fi |
|
11496 |
|
|
11497 |
|
|
11498 |
as_nl=' |
|
11499 |
' |
|
11500 |
export as_nl |
|
11501 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
11502 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
11503 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
11504 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
11505 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
11506 |
# but without wasting forks for bash or zsh. |
|
11507 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
11508 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
11509 |
as_echo='print -r --' |
|
11510 |
as_echo_n='print -rn --' |
|
11511 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
11512 |
as_echo='printf %s\n' |
|
11513 |
as_echo_n='printf %s' |
|
11514 |
else |
|
11515 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
11516 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
11517 |
as_echo_n='/usr/ucb/echo -n' |
|
11518 |
else |
|
11519 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
11520 |
as_echo_n_body='eval |
|
11521 |
arg=$1; |
|
11522 |
case $arg in #( |
|
11523 |
*"$as_nl"*) |
|
11524 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
11525 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
11526 |
esac; |
|
11527 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
11528 |
' |
|
11529 |
export as_echo_n_body |
|
11530 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
11531 |
fi |
|
11532 |
export as_echo_body |
|
11533 |
as_echo='sh -c $as_echo_body as_echo' |
|
11534 |
fi |
|
11535 |
|
|
11536 |
# The user is always right. |
|
11537 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
11538 |
PATH_SEPARATOR=: |
|
11539 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
11540 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
11541 |
PATH_SEPARATOR=';' |
|
11542 |
} |
|
11543 |
fi |
|
11544 |
|
|
11545 |
|
|
11546 |
# IFS |
|
11547 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
11548 |
# there to prevent editors from complaining about space-tab. |
|
11549 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
11550 |
# splitting by setting IFS to empty value.) |
|
11551 |
IFS=" "" $as_nl" |
|
11552 |
|
|
11553 |
# Find who we are. Look in the path if we contain no directory separator. |
|
11554 |
as_myself= |
|
11555 |
case $0 in #(( |
|
11556 |
*[\\/]* ) as_myself=$0 ;; |
|
11557 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
11558 |
for as_dir in $PATH |
|
11559 |
do |
|
11560 |
IFS=$as_save_IFS |
|
11561 |
test -z "$as_dir" && as_dir=. |
|
11562 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
11563 |
done |
|
11564 |
IFS=$as_save_IFS |
|
11565 |
|
|
11566 |
;; |
|
11567 |
esac |
|
11568 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
11569 |
# in which case we are not to be found in the path. |
|
11570 |
if test "x$as_myself" = x; then |
|
11571 |
as_myself=$0 |
|
11572 |
fi |
|
11573 |
if test ! -f "$as_myself"; then |
|
11574 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
11575 |
exit 1 |
|
11576 |
fi |
|
11577 |
|
|
11578 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
11579 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
11580 |
# suppresses any "Segmentation fault" message there. '((' could |
|
11581 |
# trigger a bug in pdksh 5.2.14. |
|
11582 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
11583 |
do eval test x\${$as_var+set} = xset \ |
|
11584 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
11585 |
done |
|
11586 |
PS1='$ ' |
|
11587 |
PS2='> ' |
|
11588 |
PS4='+ ' |
|
11589 |
|
|
11590 |
# NLS nuisances. |
|
11591 |
LC_ALL=C |
|
11592 |
export LC_ALL |
|
11593 |
LANGUAGE=C |
|
11594 |
export LANGUAGE |
|
11595 |
|
|
11596 |
# CDPATH. |
|
11597 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
11598 |
|
|
11599 |
|
|
11600 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
11601 |
# ---------------------------------------- |
|
11602 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
11603 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
11604 |
# script with STATUS, using 1 if that was 0. |
|
11605 |
as_fn_error () |
|
11606 |
{ |
|
11607 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
11608 |
if test "$4"; then |
|
11609 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
11610 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
11611 |
fi |
|
11612 |
$as_echo "$as_me: error: $2" >&2 |
|
11613 |
as_fn_exit $as_status |
|
11614 |
} # as_fn_error |
|
11615 |
|
|
11616 |
|
|
11617 |
# as_fn_set_status STATUS |
|
11618 |
# ----------------------- |
|
11619 |
# Set $? to STATUS, without forking. |
|
11620 |
as_fn_set_status () |
|
11621 |
{ |
|
11622 |
return $1 |
|
11623 |
} # as_fn_set_status |
|
11624 |
|
|
11625 |
# as_fn_exit STATUS |
|
11626 |
# ----------------- |
|
11627 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
11628 |
as_fn_exit () |
|
11629 |
{ |
|
11630 |
set +e |
|
11631 |
as_fn_set_status $1 |
|
11632 |
exit $1 |
|
11633 |
} # as_fn_exit |
|
11634 |
|
|
11635 |
# as_fn_unset VAR |
|
11636 |
# --------------- |
|
11637 |
# Portably unset VAR. |
|
11638 |
as_fn_unset () |
|
11639 |
{ |
|
11640 |
{ eval $1=; unset $1;} |
|
11641 |
} |
|
11642 |
as_unset=as_fn_unset |
|
11643 |
# as_fn_append VAR VALUE |
|
11644 |
# ---------------------- |
|
11645 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
11646 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
11647 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
11648 |
# implementations. |
|
11649 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
11650 |
eval 'as_fn_append () |
|
11651 |
{ |
|
11652 |
eval $1+=\$2 |
|
11653 |
}' |
|
11654 |
else |
|
11655 |
as_fn_append () |
|
11656 |
{ |
|
11657 |
eval $1=\$$1\$2 |
|
11658 |
} |
|
11659 |
fi # as_fn_append |
|
11660 |
|
|
11661 |
# as_fn_arith ARG... |
|
11662 |
# ------------------ |
|
11663 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
11664 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
11665 |
# must be portable across $(()) and expr. |
|
11666 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
11667 |
eval 'as_fn_arith () |
|
11668 |
{ |
|
11669 |
as_val=$(( $* )) |
|
11670 |
}' |
|
11671 |
else |
|
11672 |
as_fn_arith () |
|
11673 |
{ |
|
11674 |
as_val=`expr "$@" || test $? -eq 1` |
|
11675 |
} |
|
11676 |
fi # as_fn_arith |
|
11677 |
|
|
11678 |
|
|
11679 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
11680 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
11681 |
as_expr=expr |
|
11682 |
else |
|
11683 |
as_expr=false |
|
11684 |
fi |
|
11685 |
|
|
11686 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
11687 |
as_basename=basename |
|
11688 |
else |
|
11689 |
as_basename=false |
|
11690 |
fi |
|
11691 |
|
|
11692 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
11693 |
as_dirname=dirname |
|
11694 |
else |
|
11695 |
as_dirname=false |
|
11696 |
fi |
|
11697 |
|
|
11698 |
as_me=`$as_basename -- "$0" || |
|
11699 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
11700 |
X"$0" : 'X\(//\)$' \| \ |
|
11701 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
11702 |
$as_echo X/"$0" | |
|
11703 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
11704 |
s//\1/ |
|
11705 |
q |
|
11706 |
} |
|
11707 |
/^X\/\(\/\/\)$/{ |
|
11708 |
s//\1/ |
|
11709 |
q |
|
11710 |
} |
|
11711 |
/^X\/\(\/\).*/{ |
|
11712 |
s//\1/ |
|
11713 |
q |
|
11714 |
} |
|
11715 |
s/.*/./; q'` |
|
11716 |
|
|
11717 |
# Avoid depending upon Character Ranges. |
|
11718 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
11719 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
11720 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
11721 |
as_cr_digits='0123456789' |
|
11722 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
11723 |
|
|
11724 |
ECHO_C= ECHO_N= ECHO_T= |
|
11725 |
case `echo -n x` in #((((( |
|
11726 |
-n*) |
|
11727 |
case `echo 'xy\c'` in |
|
11728 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
11729 |
xy) ECHO_C='\c';; |
|
11730 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
11731 |
ECHO_T=' ';; |
|
11732 |
esac;; |
|
11733 |
*) |
|
11734 |
ECHO_N='-n';; |
|
11735 |
esac |
|
11736 |
|
|
11737 |
rm -f conf$$ conf$$.exe conf$$.file |
|
11738 |
if test -d conf$$.dir; then |
|
11739 |
rm -f conf$$.dir/conf$$.file |
|
11740 |
else |
|
11741 |
rm -f conf$$.dir |
|
11742 |
mkdir conf$$.dir 2>/dev/null |
|
11743 |
fi |
|
11744 |
if (echo >conf$$.file) 2>/dev/null; then |
|
11745 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
11746 |
as_ln_s='ln -s' |
|
11747 |
# ... but there are two gotchas: |
|
11748 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
11749 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
11750 |
# In both cases, we have to default to `cp -pR'. |
|
11751 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
11752 |
as_ln_s='cp -pR' |
|
11753 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
11754 |
as_ln_s=ln |
|
11755 |
else |
|
11756 |
as_ln_s='cp -pR' |
|
11757 |
fi |
|
11758 |
else |
|
11759 |
as_ln_s='cp -pR' |
|
11760 |
fi |
|
11761 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
11762 |
rmdir conf$$.dir 2>/dev/null |
|
11763 |
|
|
11764 |
|
|
11765 |
# as_fn_mkdir_p |
|
11766 |
# ------------- |
|
11767 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
11768 |
as_fn_mkdir_p () |
|
11769 |
{ |
|
11770 |
|
|
11771 |
case $as_dir in #( |
|
11772 |
-*) as_dir=./$as_dir;; |
|
11773 |
esac |
|
11774 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
11775 |
as_dirs= |
|
11776 |
while :; do |
|
11777 |
case $as_dir in #( |
|
11778 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
11779 |
*) as_qdir=$as_dir;; |
|
11780 |
esac |
|
11781 |
as_dirs="'$as_qdir' $as_dirs" |
|
11782 |
as_dir=`$as_dirname -- "$as_dir" || |
|
11783 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
11784 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
11785 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
11786 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
11787 |
$as_echo X"$as_dir" | |
|
11788 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
11789 |
s//\1/ |
|
11790 |
q |
|
11791 |
} |
|
11792 |
/^X\(\/\/\)[^/].*/{ |
|
11793 |
s//\1/ |
|
11794 |
q |
|
11795 |
} |
|
11796 |
/^X\(\/\/\)$/{ |
|
11797 |
s//\1/ |
|
11798 |
q |
|
11799 |
} |
|
11800 |
/^X\(\/\).*/{ |
|
11801 |
s//\1/ |
|
11802 |
q |
|
11803 |
} |
|
11804 |
s/.*/./; q'` |
|
11805 |
test -d "$as_dir" && break |
|
11806 |
done |
|
11807 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
11808 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
11809 |
|
|
11810 |
|
|
11811 |
} # as_fn_mkdir_p |
|
11812 |
if mkdir -p . 2>/dev/null; then |
|
11813 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
11814 |
else |
|
11815 |
test -d ./-p && rmdir ./-p |
|
11816 |
as_mkdir_p=false |
|
11817 |
fi |
|
11818 |
|
|
11819 |
|
|
11820 |
# as_fn_executable_p FILE |
|
11821 |
# ----------------------- |
|
11822 |
# Test if FILE is an executable regular file. |
|
11823 |
as_fn_executable_p () |
|
11824 |
{ |
|
11825 |
test -f "$1" && test -x "$1" |
|
11826 |
} # as_fn_executable_p |
|
11827 |
as_test_x='test -x' |
|
11828 |
as_executable_p=as_fn_executable_p |
|
11829 |
|
|
11830 |
# Sed expression to map a string onto a valid CPP name. |
|
11831 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
11832 |
|
|
11833 |
# Sed expression to map a string onto a valid variable name. |
|
11834 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
11835 |
|
|
11836 |
|
|
11837 |
exec 6>&1 |
|
11838 |
## ----------------------------------- ## |
|
11839 |
## Main body of $CONFIG_STATUS script. ## |
|
11840 |
## ----------------------------------- ## |
|
11841 |
_ASEOF |
|
11842 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
11843 |
|
|
11844 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
11845 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
11846 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
11847 |
# values after options handling. |
|
11848 |
ac_log=" |
|
11849 |
This file was extended by G4Track_lib_dist $as_me 0.0.2, which was |
|
11850 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
11851 |
|
|
11852 |
CONFIG_FILES = $CONFIG_FILES |
|
11853 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
11854 |
CONFIG_LINKS = $CONFIG_LINKS |
|
11855 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
11856 |
$ $0 $@ |
|
11857 |
|
|
11858 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
11859 |
" |
|
11860 |
|
|
11861 |
_ACEOF |
|
11862 |
|
|
11863 |
case $ac_config_files in *" |
|
11864 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
11865 |
esac |
|
11866 |
|
|
11867 |
|
|
11868 |
|
|
11869 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
11870 |
# Files that config.status was made for. |
|
11871 |
config_files="$ac_config_files" |
|
11872 |
config_commands="$ac_config_commands" |
|
11873 |
|
|
11874 |
_ACEOF |
|
11875 |
|
|
11876 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
11877 |
ac_cs_usage="\ |
|
11878 |
\`$as_me' instantiates files and other configuration actions |
|
11879 |
from templates according to the current configuration. Unless the files |
|
11880 |
and actions are specified as TAGs, all are instantiated by default. |
|
11881 |
|
|
11882 |
Usage: $0 [OPTION]... [TAG]... |
|
11883 |
|
|
11884 |
-h, --help print this help, then exit |
|
11885 |
-V, --version print version number and configuration settings, then exit |
|
11886 |
--config print configuration, then exit |
|
11887 |
-q, --quiet, --silent |
|
11888 |
do not print progress messages |
|
11889 |
-d, --debug don't remove temporary files |
|
11890 |
--recheck update $as_me by reconfiguring in the same conditions |
|
11891 |
--file=FILE[:TEMPLATE] |
|
11892 |
instantiate the configuration file FILE |
|
11893 |
|
|
11894 |
Configuration files: |
|
11895 |
$config_files |
|
11896 |
|
|
11897 |
Configuration commands: |
|
11898 |
$config_commands |
|
11899 |
|
|
11900 |
Report bugs to <help@polhemus.com>." |
|
11901 |
|
|
11902 |
_ACEOF |
|
11903 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
11904 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
11905 |
ac_cs_version="\\ |
|
11906 |
G4Track_lib_dist config.status 0.0.2 |
|
11907 |
configured by $0, generated by GNU Autoconf 2.69, |
|
11908 |
with options \\"\$ac_cs_config\\" |
|
11909 |
|
|
11910 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
11911 |
This config.status script is free software; the Free Software Foundation |
|
11912 |
gives unlimited permission to copy, distribute and modify it." |
|
11913 |
|
|
11914 |
ac_pwd='$ac_pwd' |
|
11915 |
srcdir='$srcdir' |
|
11916 |
INSTALL='$INSTALL' |
|
11917 |
MKDIR_P='$MKDIR_P' |
|
11918 |
AWK='$AWK' |
|
11919 |
test -n "\$AWK" || AWK=awk |
|
11920 |
_ACEOF |
|
11921 |
|
|
11922 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
11923 |
# The default lists apply if the user does not specify any file. |
|
11924 |
ac_need_defaults=: |
|
11925 |
while test $# != 0 |
|
11926 |
do |
|
11927 |
case $1 in |
|
11928 |
--*=?*) |
|
11929 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
11930 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
11931 |
ac_shift=: |
|
11932 |
;; |
|
11933 |
--*=) |
|
11934 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
11935 |
ac_optarg= |
|
11936 |
ac_shift=: |
|
11937 |
;; |
|
11938 |
*) |
|
11939 |
ac_option=$1 |
|
11940 |
ac_optarg=$2 |
|
11941 |
ac_shift=shift |
|
11942 |
;; |
|
11943 |
esac |
|
11944 |
|
|
11945 |
case $ac_option in |
|
11946 |
# Handling of the options. |
|
11947 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
11948 |
ac_cs_recheck=: ;; |
|
11949 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
11950 |
$as_echo "$ac_cs_version"; exit ;; |
|
11951 |
--config | --confi | --conf | --con | --co | --c ) |
|
11952 |
$as_echo "$ac_cs_config"; exit ;; |
|
11953 |
--debug | --debu | --deb | --de | --d | -d ) |
|
11954 |
debug=: ;; |
|
11955 |
--file | --fil | --fi | --f ) |
|
11956 |
$ac_shift |
|
11957 |
case $ac_optarg in |
|
11958 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
11959 |
'') as_fn_error $? "missing file argument" ;; |
|
11960 |
esac |
|
11961 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
11962 |
ac_need_defaults=false;; |
|
11963 |
--he | --h | --help | --hel | -h ) |
|
11964 |
$as_echo "$ac_cs_usage"; exit ;; |
|
11965 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
11966 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
11967 |
ac_cs_silent=: ;; |
|
11968 |
|
|
11969 |
# This is an error. |
|
11970 |
-*) as_fn_error $? "unrecognized option: \`$1' |
|
11971 |
Try \`$0 --help' for more information." ;; |
|
11972 |
|
|
11973 |
*) as_fn_append ac_config_targets " $1" |
|
11974 |
ac_need_defaults=false ;; |
|
11975 |
|
|
11976 |
esac |
|
11977 |
shift |
|
11978 |
done |
|
11979 |
|
|
11980 |
ac_configure_extra_args= |
|
11981 |
|
|
11982 |
if $ac_cs_silent; then |
|
11983 |
exec 6>/dev/null |
|
11984 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
11985 |
fi |
|
11986 |
|
|
11987 |
_ACEOF |
|
11988 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
11989 |
if \$ac_cs_recheck; then |
|
11990 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
11991 |
shift |
|
11992 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
11993 |
CONFIG_SHELL='$SHELL' |
|
11994 |
export CONFIG_SHELL |
|
11995 |
exec "\$@" |
|
11996 |
fi |
|
11997 |
|
|
11998 |
_ACEOF |
|
11999 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12000 |
exec 5>>config.log |
|
12001 |
{ |
|
12002 |
echo |
|
12003 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
12004 |
## Running $as_me. ## |
|
12005 |
_ASBOX |
|
12006 |
$as_echo "$ac_log" |
|
12007 |
} >&5 |
|
12008 |
|
|
12009 |
_ACEOF |
|
12010 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12011 |
# |
|
12012 |
# INIT-COMMANDS |
|
12013 |
# |
|
12014 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
12015 |
|
|
12016 |
|
|
12017 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
12018 |
# if CDPATH is set. |
|
12019 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
12020 |
|
|
12021 |
sed_quote_subst='$sed_quote_subst' |
|
12022 |
double_quote_subst='$double_quote_subst' |
|
12023 |
delay_variable_subst='$delay_variable_subst' |
|
12024 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
|
12025 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
|
12026 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
|
12027 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
|
12028 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
|
12029 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
|
12030 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
|
12031 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
12032 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
|
12033 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
|
12034 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
|
12035 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
|
12036 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
|
12037 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
|
12038 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
|
12039 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
|
12040 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
|
12041 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
|
12042 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
|
12043 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
|
12044 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
|
12045 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
|
12046 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
|
12047 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
|
12048 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
|
12049 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
|
12050 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
|
12051 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
|
12052 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
|
12053 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
12054 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
12055 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
|
12056 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
|
12057 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
|
12058 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
|
12059 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
|
12060 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
|
12061 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
|
12062 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
|
12063 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
|
12064 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
|
12065 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
|
12066 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
|
12067 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
|
12068 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
|
12069 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
12070 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
12071 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
12072 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
|
12073 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
|
12074 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
|
12075 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
|
12076 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
|
12077 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
|
12078 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
|
12079 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
|
12080 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
12081 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
12082 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
|
12083 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
|
12084 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
|
12085 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
|
12086 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
|
12087 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
|
12088 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
|
12089 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
|
12090 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
|
12091 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
|
12092 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
|
12093 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
|
12094 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
|
12095 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
|
12096 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
|
12097 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
|
12098 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
|
12099 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
12100 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
|
12101 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
|
12102 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
12103 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
12104 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
|
12105 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
|
12106 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
12107 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
12108 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
12109 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
|
12110 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
12111 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
|
12112 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
12113 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
12114 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
12115 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
|
12116 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
|
12117 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
|
12118 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
|
12119 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
12120 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
|
12121 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
|
12122 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
|
12123 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
|
12124 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
|
12125 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
|
12126 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
|
12127 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
|
12128 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
|
12129 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
12130 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
|
12131 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
12132 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
|
12133 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
|
12134 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
|
12135 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
12136 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
|
12137 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
|
12138 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
|
12139 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
|
12140 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
|
12141 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
12142 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
12143 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
|
12144 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
|
12145 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
|
12146 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
|
12147 |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
|
12148 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
|
12149 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
|
12150 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
|
12151 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
|
12152 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
|
12153 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
|
12154 |
|
|
12155 |
LTCC='$LTCC' |
|
12156 |
LTCFLAGS='$LTCFLAGS' |
|
12157 |
compiler='$compiler_DEFAULT' |
|
12158 |
|
|
12159 |
# A function that is used when there is no print builtin or printf. |
|
12160 |
func_fallback_echo () |
|
12161 |
{ |
|
12162 |
eval 'cat <<_LTECHO_EOF |
|
12163 |
\$1 |
|
12164 |
_LTECHO_EOF' |
|
12165 |
} |
|
12166 |
|
|
12167 |
# Quote evaled strings. |
|
12168 |
for var in SHELL \ |
|
12169 |
ECHO \ |
|
12170 |
PATH_SEPARATOR \ |
|
12171 |
SED \ |
|
12172 |
GREP \ |
|
12173 |
EGREP \ |
|
12174 |
FGREP \ |
|
12175 |
LD \ |
|
12176 |
NM \ |
|
12177 |
LN_S \ |
|
12178 |
lt_SP2NL \ |
|
12179 |
lt_NL2SP \ |
|
12180 |
reload_flag \ |
|
12181 |
OBJDUMP \ |
|
12182 |
deplibs_check_method \ |
|
12183 |
file_magic_cmd \ |
|
12184 |
file_magic_glob \ |
|
12185 |
want_nocaseglob \ |
|
12186 |
DLLTOOL \ |
|
12187 |
sharedlib_from_linklib_cmd \ |
|
12188 |
AR \ |
|
12189 |
AR_FLAGS \ |
|
12190 |
archiver_list_spec \ |
|
12191 |
STRIP \ |
|
12192 |
RANLIB \ |
|
12193 |
CC \ |
|
12194 |
CFLAGS \ |
|
12195 |
compiler \ |
|
12196 |
lt_cv_sys_global_symbol_pipe \ |
|
12197 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
12198 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
12199 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
12200 |
nm_file_list_spec \ |
|
12201 |
lt_prog_compiler_no_builtin_flag \ |
|
12202 |
lt_prog_compiler_pic \ |
|
12203 |
lt_prog_compiler_wl \ |
|
12204 |
lt_prog_compiler_static \ |
|
12205 |
lt_cv_prog_compiler_c_o \ |
|
12206 |
need_locks \ |
|
12207 |
MANIFEST_TOOL \ |
|
12208 |
DSYMUTIL \ |
|
12209 |
NMEDIT \ |
|
12210 |
LIPO \ |
|
12211 |
OTOOL \ |
|
12212 |
OTOOL64 \ |
|
12213 |
shrext_cmds \ |
|
12214 |
export_dynamic_flag_spec \ |
|
12215 |
whole_archive_flag_spec \ |
|
12216 |
compiler_needs_object \ |
|
12217 |
with_gnu_ld \ |
|
12218 |
allow_undefined_flag \ |
|
12219 |
no_undefined_flag \ |
|
12220 |
hardcode_libdir_flag_spec \ |
|
12221 |
hardcode_libdir_separator \ |
|
12222 |
exclude_expsyms \ |
|
12223 |
include_expsyms \ |
|
12224 |
file_list_spec \ |
|
12225 |
variables_saved_for_relink \ |
|
12226 |
libname_spec \ |
|
12227 |
library_names_spec \ |
|
12228 |
soname_spec \ |
|
12229 |
install_override_mode \ |
|
12230 |
finish_eval \ |
|
12231 |
old_striplib \ |
|
12232 |
striplib; do |
|
12233 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
12234 |
*[\\\\\\\`\\"\\\$]*) |
|
12235 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
|
12236 |
;; |
|
12237 |
*) |
|
12238 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
12239 |
;; |
|
12240 |
esac |
|
12241 |
done |
|
12242 |
|
|
12243 |
# Double-quote double-evaled strings. |
|
12244 |
for var in reload_cmds \ |
|
12245 |
old_postinstall_cmds \ |
|
12246 |
old_postuninstall_cmds \ |
|
12247 |
old_archive_cmds \ |
|
12248 |
extract_expsyms_cmds \ |
|
12249 |
old_archive_from_new_cmds \ |
|
12250 |
old_archive_from_expsyms_cmds \ |
|
12251 |
archive_cmds \ |
|
12252 |
archive_expsym_cmds \ |
|
12253 |
module_cmds \ |
|
12254 |
module_expsym_cmds \ |
|
12255 |
export_symbols_cmds \ |
|
12256 |
prelink_cmds \ |
|
12257 |
postlink_cmds \ |
|
12258 |
postinstall_cmds \ |
|
12259 |
postuninstall_cmds \ |
|
12260 |
finish_cmds \ |
|
12261 |
sys_lib_search_path_spec \ |
|
12262 |
sys_lib_dlsearch_path_spec; do |
|
12263 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
12264 |
*[\\\\\\\`\\"\\\$]*) |
|
12265 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
|
12266 |
;; |
|
12267 |
*) |
|
12268 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
12269 |
;; |
|
12270 |
esac |
|
12271 |
done |
|
12272 |
|
|
12273 |
ac_aux_dir='$ac_aux_dir' |
|
12274 |
xsi_shell='$xsi_shell' |
|
12275 |
lt_shell_append='$lt_shell_append' |
|
12276 |
|
|
12277 |
# See if we are running on zsh, and set the options which allow our |
|
12278 |
# commands through without removal of \ escapes INIT. |
|
12279 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
12280 |
setopt NO_GLOB_SUBST |
|
12281 |
fi |
|
12282 |
|
|
12283 |
|
|
12284 |
PACKAGE='$PACKAGE' |
|
12285 |
VERSION='$VERSION' |
|
12286 |
TIMESTAMP='$TIMESTAMP' |
|
12287 |
RM='$RM' |
|
12288 |
ofile='$ofile' |
|
12289 |
|
|
12290 |
|
|
12291 |
|
|
12292 |
|
|
12293 |
_ACEOF |
|
12294 |
|
|
12295 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12296 |
|
|
12297 |
# Handling of arguments. |
|
12298 |
for ac_config_target in $ac_config_targets |
|
12299 |
do |
|
12300 |
case $ac_config_target in |
|
12301 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
12302 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
12303 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
12304 |
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; |
|
12305 |
"udev_rules/Makefile") CONFIG_FILES="$CONFIG_FILES udev_rules/Makefile" ;; |
|
12306 |
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; |
|
12307 |
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
|
12308 |
|
|
12309 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
12310 |
esac |
|
12311 |
done |
|
12312 |
|
|
12313 |
|
|
12314 |
# If the user did not use the arguments to specify the items to instantiate, |
|
12315 |
# then the envvar interface is used. Set only those that are not. |
|
12316 |
# We use the long form for the default assignment because of an extremely |
|
12317 |
# bizarre bug on SunOS 4.1.3. |
|
12318 |
if $ac_need_defaults; then |
|
12319 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
12320 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
12321 |
fi |
|
12322 |
|
|
12323 |
# Have a temporary directory for convenience. Make it in the build tree |
|
12324 |
# simply because there is no reason against having it here, and in addition, |
|
12325 |
# creating and moving files from /tmp can sometimes cause problems. |
|
12326 |
# Hook for its removal unless debugging. |
|
12327 |
# Note that there is a small window in which the directory will not be cleaned: |
|
12328 |
# after its creation but before its name has been assigned to `$tmp'. |
|
12329 |
$debug || |
|
12330 |
{ |
|
12331 |
tmp= ac_tmp= |
|
12332 |
trap 'exit_status=$? |
|
12333 |
: "${ac_tmp:=$tmp}" |
|
12334 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
12335 |
' 0 |
|
12336 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
12337 |
} |
|
12338 |
# Create a (secure) tmp directory for tmp files. |
|
12339 |
|
|
12340 |
{ |
|
12341 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
12342 |
test -d "$tmp" |
|
12343 |
} || |
|
12344 |
{ |
|
12345 |
tmp=./conf$$-$RANDOM |
|
12346 |
(umask 077 && mkdir "$tmp") |
|
12347 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
12348 |
ac_tmp=$tmp |
|
12349 |
|
|
12350 |
# Set up the scripts for CONFIG_FILES section. |
|
12351 |
# No need to generate them if there are no CONFIG_FILES. |
|
12352 |
# This happens for instance with `./config.status config.h'. |
|
12353 |
if test -n "$CONFIG_FILES"; then |
|
12354 |
|
|
12355 |
|
|
12356 |
ac_cr=`echo X | tr X '\015'` |
|
12357 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
12358 |
# But we know of no other shell where ac_cr would be empty at this |
|
12359 |
# point, so we can use a bashism as a fallback. |
|
12360 |
if test "x$ac_cr" = x; then |
|
12361 |
eval ac_cr=\$\'\\r\' |
|
12362 |
fi |
|
12363 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
12364 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
12365 |
ac_cs_awk_cr='\\r' |
|
12366 |
else |
|
12367 |
ac_cs_awk_cr=$ac_cr |
|
12368 |
fi |
|
12369 |
|
|
12370 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
12371 |
_ACEOF |
|
12372 |
|
|
12373 |
|
|
12374 |
{ |
|
12375 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
12376 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
12377 |
echo "_ACEOF" |
|
12378 |
} >conf$$subs.sh || |
|
12379 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
12380 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
12381 |
ac_delim='%!_!# ' |
|
12382 |
for ac_last_try in false false false false false :; do |
|
12383 |
. ./conf$$subs.sh || |
|
12384 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
12385 |
|
|
12386 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
12387 |
if test $ac_delim_n = $ac_delim_num; then |
|
12388 |
break |
|
12389 |
elif $ac_last_try; then |
|
12390 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
12391 |
else |
|
12392 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
12393 |
fi |
|
12394 |
done |
|
12395 |
rm -f conf$$subs.sh |
|
12396 |
|
|
12397 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12398 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
12399 |
_ACEOF |
|
12400 |
sed -n ' |
|
12401 |
h |
|
12402 |
s/^/S["/; s/!.*/"]=/ |
|
12403 |
p |
|
12404 |
g |
|
12405 |
s/^[^!]*!// |
|
12406 |
:repl |
|
12407 |
t repl |
|
12408 |
s/'"$ac_delim"'$// |
|
12409 |
t delim |
|
12410 |
:nl |
|
12411 |
h |
|
12412 |
s/\(.\{148\}\)..*/\1/ |
|
12413 |
t more1 |
|
12414 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
12415 |
p |
|
12416 |
n |
|
12417 |
b repl |
|
12418 |
:more1 |
|
12419 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
12420 |
p |
|
12421 |
g |
|
12422 |
s/.\{148\}// |
|
12423 |
t nl |
|
12424 |
:delim |
|
12425 |
h |
|
12426 |
s/\(.\{148\}\)..*/\1/ |
|
12427 |
t more2 |
|
12428 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
12429 |
p |
|
12430 |
b |
|
12431 |
:more2 |
|
12432 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
12433 |
p |
|
12434 |
g |
|
12435 |
s/.\{148\}// |
|
12436 |
t delim |
|
12437 |
' <conf$$subs.awk | sed ' |
|
12438 |
/^[^""]/{ |
|
12439 |
N |
|
12440 |
s/\n// |
|
12441 |
} |
|
12442 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
12443 |
rm -f conf$$subs.awk |
|
12444 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12445 |
_ACAWK |
|
12446 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
12447 |
for (key in S) S_is_set[key] = 1 |
|
12448 |
FS = "" |
|
12449 |
|
|
12450 |
} |
|
12451 |
{ |
|
12452 |
line = $ 0 |
|
12453 |
nfields = split(line, field, "@") |
|
12454 |
substed = 0 |
|
12455 |
len = length(field[1]) |
|
12456 |
for (i = 2; i < nfields; i++) { |
|
12457 |
key = field[i] |
|
12458 |
keylen = length(key) |
|
12459 |
if (S_is_set[key]) { |
|
12460 |
value = S[key] |
|
12461 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
12462 |
len += length(value) + length(field[++i]) |
|
12463 |
substed = 1 |
|
12464 |
} else |
|
12465 |
len += 1 + keylen |
|
12466 |
} |
|
12467 |
|
|
12468 |
print line |
|
12469 |
} |
|
12470 |
|
|
12471 |
_ACAWK |
|
12472 |
_ACEOF |
|
12473 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12474 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
12475 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
12476 |
else |
|
12477 |
cat |
|
12478 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
12479 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
12480 |
_ACEOF |
|
12481 |
|
|
12482 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
12483 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
12484 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
12485 |
# (actually we leave an empty line to preserve line numbers). |
|
12486 |
if test "x$srcdir" = x.; then |
|
12487 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
12488 |
h |
|
12489 |
s/// |
|
12490 |
s/^/:/ |
|
12491 |
s/[ ]*$/:/ |
|
12492 |
s/:\$(srcdir):/:/g |
|
12493 |
s/:\${srcdir}:/:/g |
|
12494 |
s/:@srcdir@:/:/g |
|
12495 |
s/^:*// |
|
12496 |
s/:*$// |
|
12497 |
x |
|
12498 |
s/\(=[ ]*\).*/\1/ |
|
12499 |
G |
|
12500 |
s/\n// |
|
12501 |
s/^[^=]*=[ ]*$// |
|
12502 |
}' |
|
12503 |
fi |
|
12504 |
|
|
12505 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12506 |
fi # test -n "$CONFIG_FILES" |
|
12507 |
|
|
12508 |
|
|
12509 |
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
|
12510 |
shift |
|
12511 |
for ac_tag |
|
12512 |
do |
|
12513 |
case $ac_tag in |
|
12514 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
12515 |
esac |
|
12516 |
case $ac_mode$ac_tag in |
|
12517 |
:[FHL]*:*);; |
|
12518 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
12519 |
:[FH]-) ac_tag=-:-;; |
|
12520 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
12521 |
esac |
|
12522 |
ac_save_IFS=$IFS |
|
12523 |
IFS=: |
|
12524 |
set x $ac_tag |
|
12525 |
IFS=$ac_save_IFS |
|
12526 |
shift |
|
12527 |
ac_file=$1 |
|
12528 |
shift |
|
12529 |
|
|
12530 |
case $ac_mode in |
|
12531 |
:L) ac_source=$1;; |
|
12532 |
:[FH]) |
|
12533 |
ac_file_inputs= |
|
12534 |
for ac_f |
|
12535 |
do |
|
12536 |
case $ac_f in |
|
12537 |
-) ac_f="$ac_tmp/stdin";; |
|
12538 |
*) # Look for the file first in the build tree, then in the source tree |
|
12539 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
12540 |
# because $ac_f cannot contain `:'. |
|
12541 |
test -f "$ac_f" || |
|
12542 |
case $ac_f in |
|
12543 |
[\\/$]*) false;; |
|
12544 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
12545 |
esac || |
|
12546 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
12547 |
esac |
|
12548 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
12549 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
12550 |
done |
|
12551 |
|
|
12552 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
12553 |
# use $as_me), people would be surprised to read: |
|
12554 |
# /* config.h. Generated by config.status. */ |
|
12555 |
configure_input='Generated from '` |
|
12556 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
12557 |
`' by configure.' |
|
12558 |
if test x"$ac_file" != x-; then |
|
12559 |
configure_input="$ac_file. $configure_input" |
|
12560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
12561 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
12562 |
fi |
|
12563 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
12564 |
case $configure_input in #( |
|
12565 |
*\&* | *\|* | *\\* ) |
|
12566 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
12567 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
12568 |
*) ac_sed_conf_input=$configure_input;; |
|
12569 |
esac |
|
12570 |
|
|
12571 |
case $ac_tag in |
|
12572 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
12573 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
12574 |
esac |
|
12575 |
;; |
|
12576 |
esac |
|
12577 |
|
|
12578 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
12579 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
12580 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
12581 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
12582 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
12583 |
$as_echo X"$ac_file" | |
|
12584 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
12585 |
s//\1/ |
|
12586 |
q |
|
12587 |
} |
|
12588 |
/^X\(\/\/\)[^/].*/{ |
|
12589 |
s//\1/ |
|
12590 |
q |
|
12591 |
} |
|
12592 |
/^X\(\/\/\)$/{ |
|
12593 |
s//\1/ |
|
12594 |
q |
|
12595 |
} |
|
12596 |
/^X\(\/\).*/{ |
|
12597 |
s//\1/ |
|
12598 |
q |
|
12599 |
} |
|
12600 |
s/.*/./; q'` |
|
12601 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
12602 |
ac_builddir=. |
|
12603 |
|
|
12604 |
case "$ac_dir" in |
|
12605 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
12606 |
*) |
|
12607 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
12608 |
# A ".." for each directory in $ac_dir_suffix. |
|
12609 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
12610 |
case $ac_top_builddir_sub in |
|
12611 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
12612 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
12613 |
esac ;; |
|
12614 |
esac |
|
12615 |
ac_abs_top_builddir=$ac_pwd |
|
12616 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
12617 |
# for backward compatibility: |
|
12618 |
ac_top_builddir=$ac_top_build_prefix |
|
12619 |
|
|
12620 |
case $srcdir in |
|
12621 |
.) # We are building in place. |
|
12622 |
ac_srcdir=. |
|
12623 |
ac_top_srcdir=$ac_top_builddir_sub |
|
12624 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
12625 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
12626 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
12627 |
ac_top_srcdir=$srcdir |
|
12628 |
ac_abs_top_srcdir=$srcdir ;; |
|
12629 |
*) # Relative name. |
|
12630 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
12631 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
12632 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
12633 |
esac |
|
12634 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
12635 |
|
|
12636 |
|
|
12637 |
case $ac_mode in |
|
12638 |
:F) |
|
12639 |
# |
|
12640 |
# CONFIG_FILE |
|
12641 |
# |
|
12642 |
|
|
12643 |
case $INSTALL in |
|
12644 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
12645 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
12646 |
esac |
|
12647 |
ac_MKDIR_P=$MKDIR_P |
|
12648 |
case $MKDIR_P in |
|
12649 |
[\\/$]* | ?:[\\/]* ) ;; |
|
12650 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
12651 |
esac |
|
12652 |
_ACEOF |
|
12653 |
|
|
12654 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12655 |
# If the template does not know about datarootdir, expand it. |
|
12656 |
# FIXME: This hack should be removed a few years after 2.60. |
|
12657 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
12658 |
ac_sed_dataroot=' |
|
12659 |
/datarootdir/ { |
|
12660 |
p |
|
12661 |
q |
|
12662 |
} |
|
12663 |
/@datadir@/p |
|
12664 |
/@docdir@/p |
|
12665 |
/@infodir@/p |
|
12666 |
/@localedir@/p |
|
12667 |
/@mandir@/p' |
|
12668 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
12669 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
12670 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
12671 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
12672 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
12673 |
_ACEOF |
|
12674 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12675 |
ac_datarootdir_hack=' |
|
12676 |
s&@datadir@&$datadir&g |
|
12677 |
s&@docdir@&$docdir&g |
|
12678 |
s&@infodir@&$infodir&g |
|
12679 |
s&@localedir@&$localedir&g |
|
12680 |
s&@mandir@&$mandir&g |
|
12681 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
12682 |
esac |
|
12683 |
_ACEOF |
|
12684 |
|
|
12685 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
12686 |
# Shell code in configure.ac might set extrasub. |
|
12687 |
# FIXME: do we really want to maintain this feature? |
|
12688 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12689 |
ac_sed_extra="$ac_vpsub |
|
12690 |
$extrasub |
|
12691 |
_ACEOF |
|
12692 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12693 |
:t |
|
12694 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
12695 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
12696 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
12697 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
12698 |
s&@srcdir@&$ac_srcdir&;t t |
|
12699 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
12700 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
12701 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
12702 |
s&@builddir@&$ac_builddir&;t t |
|
12703 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
12704 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
12705 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
12706 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
12707 |
$ac_datarootdir_hack |
|
12708 |
" |
|
12709 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
12710 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
12711 |
|
|
12712 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
12713 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
12714 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
12715 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
12716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
12717 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
12718 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
12719 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
12720 |
|
|
12721 |
rm -f "$ac_tmp/stdin" |
|
12722 |
case $ac_file in |
|
12723 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
|
12724 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
12725 |
esac \ |
|
12726 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
12727 |
;; |
|
12728 |
|
|
12729 |
|
|
12730 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
12731 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
12732 |
;; |
|
12733 |
esac |
|
12734 |
|
|
12735 |
|
|
12736 |
case $ac_file$ac_mode in |
|
12737 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
12738 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
12739 |
# are listed without --file. Let's play safe and only enable the eval |
|
12740 |
# if we detect the quoting. |
|
12741 |
case $CONFIG_FILES in |
|
12742 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
12743 |
*) set x $CONFIG_FILES ;; |
|
12744 |
esac |
|
12745 |
shift |
|
12746 |
for mf |
|
12747 |
do |
|
12748 |
# Strip MF so we end up with the name of the file. |
|
12749 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
12750 |
# Check whether this is an Automake generated Makefile or not. |
|
12751 |
# We used to match only the files named 'Makefile.in', but |
|
12752 |
# some people rename them; so instead we look at the file content. |
|
12753 |
# Grep'ing the first line is not enough: some people post-process |
|
12754 |
# each Makefile.in and add a new line on top of each file to say so. |
|
12755 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
12756 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
12757 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
12758 |
dirpart=`$as_dirname -- "$mf" || |
|
12759 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
12760 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
12761 |
X"$mf" : 'X\(//\)$' \| \ |
|
12762 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
12763 |
$as_echo X"$mf" | |
|
12764 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
12765 |
s//\1/ |
|
12766 |
q |
|
12767 |
} |
|
12768 |
/^X\(\/\/\)[^/].*/{ |
|
12769 |
s//\1/ |
|
12770 |
q |
|
12771 |
} |
|
12772 |
/^X\(\/\/\)$/{ |
|
12773 |
s//\1/ |
|
12774 |
q |
|
12775 |
} |
|
12776 |
/^X\(\/\).*/{ |
|
12777 |
s//\1/ |
|
12778 |
q |
|
12779 |
} |
|
12780 |
s/.*/./; q'` |
|
12781 |
else |
|
12782 |
continue |
|
12783 |
fi |
|
12784 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
12785 |
# from the Makefile without running 'make'. |
|
12786 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
12787 |
test -z "$DEPDIR" && continue |
|
12788 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
12789 |
test -z "am__include" && continue |
|
12790 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
12791 |
# Find all dependency output files, they are included files with |
|
12792 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
12793 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
12794 |
# expansion. |
|
12795 |
for file in `sed -n " |
|
12796 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
12797 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
|
12798 |
# Make sure the directory exists. |
|
12799 |
test -f "$dirpart/$file" && continue |
|
12800 |
fdir=`$as_dirname -- "$file" || |
|
12801 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
12802 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
12803 |
X"$file" : 'X\(//\)$' \| \ |
|
12804 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
12805 |
$as_echo X"$file" | |
|
12806 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
12807 |
s//\1/ |
|
12808 |
q |
|
12809 |
} |
|
12810 |
/^X\(\/\/\)[^/].*/{ |
|
12811 |
s//\1/ |
|
12812 |
q |
|
12813 |
} |
|
12814 |
/^X\(\/\/\)$/{ |
|
12815 |
s//\1/ |
|
12816 |
q |
|
12817 |
} |
|
12818 |
/^X\(\/\).*/{ |
|
12819 |
s//\1/ |
|
12820 |
q |
|
12821 |
} |
|
12822 |
s/.*/./; q'` |
|
12823 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
12824 |
# echo "creating $dirpart/$file" |
|
12825 |
echo '# dummy' > "$dirpart/$file" |
|
12826 |
done |
|
12827 |
done |
|
12828 |
} |
|
12829 |
;; |
|
12830 |
"libtool":C) |
|
12831 |
|
|
12832 |
# See if we are running on zsh, and set the options which allow our |
|
12833 |
# commands through without removal of \ escapes. |
|
12834 |
if test -n "${ZSH_VERSION+set}" ; then |
|
12835 |
setopt NO_GLOB_SUBST |
|
12836 |
fi |
|
12837 |
|
|
12838 |
cfgfile="${ofile}T" |
|
12839 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
12840 |
$RM "$cfgfile" |
|
12841 |
|
|
12842 |
cat <<_LT_EOF >> "$cfgfile" |
|
12843 |
#! $SHELL |
|
12844 |
|
|
12845 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
12846 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
12847 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
12848 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
12849 |
# |
|
12850 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
12851 |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
|
12852 |
# Foundation, Inc. |
|
12853 |
# Written by Gordon Matzigkeit, 1996 |
|
12854 |
# |
|
12855 |
# This file is part of GNU Libtool. |
|
12856 |
# |
|
12857 |
# GNU Libtool is free software; you can redistribute it and/or |
|
12858 |
# modify it under the terms of the GNU General Public License as |
|
12859 |
# published by the Free Software Foundation; either version 2 of |
|
12860 |
# the License, or (at your option) any later version. |
|
12861 |
# |
|
12862 |
# As a special exception to the GNU General Public License, |
|
12863 |
# if you distribute this file as part of a program or library that |
|
12864 |
# is built using GNU Libtool, you may include this file under the |
|
12865 |
# same distribution terms that you use for the rest of that program. |
|
12866 |
# |
|
12867 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
12868 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12869 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12870 |
# GNU General Public License for more details. |
|
12871 |
# |
|
12872 |
# You should have received a copy of the GNU General Public License |
|
12873 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
12874 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
12875 |
# obtained by writing to the Free Software Foundation, Inc., |
|
12876 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
12877 |
|
|
12878 |
|
|
12879 |
# The names of the tagged configurations supported by this script. |
|
12880 |
available_tags="" |
|
12881 |
|
|
12882 |
# ### BEGIN LIBTOOL CONFIG |
|
12883 |
|
|
12884 |
# Which release of libtool.m4 was used? |
|
12885 |
macro_version=$macro_version |
|
12886 |
macro_revision=$macro_revision |
|
12887 |
|
|
12888 |
# Whether or not to build shared libraries. |
|
12889 |
build_libtool_libs=$enable_shared |
|
12890 |
|
|
12891 |
# Whether or not to build static libraries. |
|
12892 |
build_old_libs=$enable_static |
|
12893 |
|
|
12894 |
# What type of objects to build. |
|
12895 |
pic_mode=$pic_mode |
|
12896 |
|
|
12897 |
# Whether or not to optimize for fast installation. |
|
12898 |
fast_install=$enable_fast_install |
|
12899 |
|
|
12900 |
# Shell to use when invoking shell scripts. |
|
12901 |
SHELL=$lt_SHELL |
|
12902 |
|
|
12903 |
# An echo program that protects backslashes. |
|
12904 |
ECHO=$lt_ECHO |
|
12905 |
|
|
12906 |
# The PATH separator for the build system. |
|
12907 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
12908 |
|
|
12909 |
# The host system. |
|
12910 |
host_alias=$host_alias |
|
12911 |
host=$host |
|
12912 |
host_os=$host_os |
|
12913 |
|
|
12914 |
# The build system. |
|
12915 |
build_alias=$build_alias |
|
12916 |
build=$build |
|
12917 |
build_os=$build_os |
|
12918 |
|
|
12919 |
# A sed program that does not truncate output. |
|
12920 |
SED=$lt_SED |
|
12921 |
|
|
12922 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
12923 |
Xsed="\$SED -e 1s/^X//" |
|
12924 |
|
|
12925 |
# A grep program that handles long lines. |
|
12926 |
GREP=$lt_GREP |
|
12927 |
|
|
12928 |
# An ERE matcher. |
|
12929 |
EGREP=$lt_EGREP |
|
12930 |
|
|
12931 |
# A literal string matcher. |
|
12932 |
FGREP=$lt_FGREP |
|
12933 |
|
|
12934 |
# A BSD- or MS-compatible name lister. |
|
12935 |
NM=$lt_NM |
|
12936 |
|
|
12937 |
# Whether we need soft or hard links. |
|
12938 |
LN_S=$lt_LN_S |
|
12939 |
|
|
12940 |
# What is the maximum length of a command? |
|
12941 |
max_cmd_len=$max_cmd_len |
|
12942 |
|
|
12943 |
# Object file suffix (normally "o"). |
|
12944 |
objext=$ac_objext |
|
12945 |
|
|
12946 |
# Executable file suffix (normally ""). |
|
12947 |
exeext=$exeext |
|
12948 |
|
|
12949 |
# whether the shell understands "unset". |
|
12950 |
lt_unset=$lt_unset |
|
12951 |
|
|
12952 |
# turn spaces into newlines. |
|
12953 |
SP2NL=$lt_lt_SP2NL |
|
12954 |
|
|
12955 |
# turn newlines into spaces. |
|
12956 |
NL2SP=$lt_lt_NL2SP |
|
12957 |
|
|
12958 |
# convert \$build file names to \$host format. |
|
12959 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
12960 |
|
|
12961 |
# convert \$build files to toolchain format. |
|
12962 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
12963 |
|
|
12964 |
# An object symbol dumper. |
|
12965 |
OBJDUMP=$lt_OBJDUMP |
|
12966 |
|
|
12967 |
# Method to check whether dependent libraries are shared objects. |
|
12968 |
deplibs_check_method=$lt_deplibs_check_method |
|
12969 |
|
|
12970 |
# Command to use when deplibs_check_method = "file_magic". |
|
12971 |
file_magic_cmd=$lt_file_magic_cmd |
|
12972 |
|
|
12973 |
# How to find potential files when deplibs_check_method = "file_magic". |
|
12974 |
file_magic_glob=$lt_file_magic_glob |
|
12975 |
|
|
12976 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
12977 |
want_nocaseglob=$lt_want_nocaseglob |
|
12978 |
|
|
12979 |
# DLL creation program. |
|
12980 |
DLLTOOL=$lt_DLLTOOL |
|
12981 |
|
|
12982 |
# Command to associate shared and link libraries. |
|
12983 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
12984 |
|
|
12985 |
# The archiver. |
|
12986 |
AR=$lt_AR |
|
12987 |
|
|
12988 |
# Flags to create an archive. |
|
12989 |
AR_FLAGS=$lt_AR_FLAGS |
|
12990 |
|
|
12991 |
# How to feed a file listing to the archiver. |
|
12992 |
archiver_list_spec=$lt_archiver_list_spec |
|
12993 |
|
|
12994 |
# A symbol stripping program. |
|
12995 |
STRIP=$lt_STRIP |
|
12996 |
|
|
12997 |
# Commands used to install an old-style archive. |
|
12998 |
RANLIB=$lt_RANLIB |
|
12999 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
13000 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
13001 |
|
|
13002 |
# Whether to use a lock for old archive extraction. |
|
13003 |
lock_old_archive_extraction=$lock_old_archive_extraction |
|
13004 |
|
|
13005 |
# A C compiler. |
|
13006 |
LTCC=$lt_CC |
|
13007 |
|
|
13008 |
# LTCC compiler flags. |
|
13009 |
LTCFLAGS=$lt_CFLAGS |
|
13010 |
|
|
13011 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
13012 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
13013 |
|
|
13014 |
# Transform the output of nm in a proper C declaration. |
|
13015 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
13016 |
|
|
13017 |
# Transform the output of nm in a C name address pair. |
|
13018 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
13019 |
|
|
13020 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
13021 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
13022 |
|
|
13023 |
# Specify filename containing input files for \$NM. |
|
13024 |
nm_file_list_spec=$lt_nm_file_list_spec |
|
13025 |
|
|
13026 |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
|
13027 |
lt_sysroot=$lt_sysroot |
|
13028 |
|
|
13029 |
# The name of the directory that contains temporary libtool files. |
|
13030 |
objdir=$objdir |
|
13031 |
|
|
13032 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
13033 |
MAGIC_CMD=$MAGIC_CMD |
|
13034 |
|
|
13035 |
# Must we lock files when doing compilation? |
|
13036 |
need_locks=$lt_need_locks |
|
13037 |
|
|
13038 |
# Manifest tool. |
|
13039 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
13040 |
|
|
13041 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
|
13042 |
DSYMUTIL=$lt_DSYMUTIL |
|
13043 |
|
|
13044 |
# Tool to change global to local symbols on Mac OS X. |
|
13045 |
NMEDIT=$lt_NMEDIT |
|
13046 |
|
|
13047 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
13048 |
LIPO=$lt_LIPO |
|
13049 |
|
|
13050 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
13051 |
OTOOL=$lt_OTOOL |
|
13052 |
|
|
13053 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
13054 |
OTOOL64=$lt_OTOOL64 |
|
13055 |
|
|
13056 |
# Old archive suffix (normally "a"). |
|
13057 |
libext=$libext |
|
13058 |
|
|
13059 |
# Shared library suffix (normally ".so"). |
|
13060 |
shrext_cmds=$lt_shrext_cmds |
|
13061 |
|
|
13062 |
# The commands to extract the exported symbol list from a shared archive. |
|
13063 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
13064 |
|
|
13065 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
13066 |
# restored at link time. |
|
13067 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
13068 |
|
|
13069 |
# Do we need the "lib" prefix for modules? |
|
13070 |
need_lib_prefix=$need_lib_prefix |
|
13071 |
|
|
13072 |
# Do we need a version for libraries? |
|
13073 |
need_version=$need_version |
|
13074 |
|
|
13075 |
# Library versioning type. |
|
13076 |
version_type=$version_type |
|
13077 |
|
|
13078 |
# Shared library runtime path variable. |
|
13079 |
runpath_var=$runpath_var |
|
13080 |
|
|
13081 |
# Shared library path variable. |
|
13082 |
shlibpath_var=$shlibpath_var |
|
13083 |
|
|
13084 |
# Is shlibpath searched before the hard-coded library search path? |
|
13085 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
13086 |
|
|
13087 |
# Format of library name prefix. |
|
13088 |
libname_spec=$lt_libname_spec |
|
13089 |
|
|
13090 |
# List of archive names. First name is the real one, the rest are links. |
|
13091 |
# The last name is the one that the linker finds with -lNAME |
|
13092 |
library_names_spec=$lt_library_names_spec |
|
13093 |
|
|
13094 |
# The coded name of the library, if different from the real name. |
|
13095 |
soname_spec=$lt_soname_spec |
|
13096 |
|
|
13097 |
# Permission mode override for installation of shared libraries. |
|
13098 |
install_override_mode=$lt_install_override_mode |
|
13099 |
|
|
13100 |
# Command to use after installation of a shared archive. |
|
13101 |
postinstall_cmds=$lt_postinstall_cmds |
|
13102 |
|
|
13103 |
# Command to use after uninstallation of a shared archive. |
|
13104 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
13105 |
|
|
13106 |
# Commands used to finish a libtool library installation in a directory. |
|
13107 |
finish_cmds=$lt_finish_cmds |
|
13108 |
|
|
13109 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
13110 |
# not shown. |
|
13111 |
finish_eval=$lt_finish_eval |
|
13112 |
|
|
13113 |
# Whether we should hardcode library paths into libraries. |
|
13114 |
hardcode_into_libs=$hardcode_into_libs |
|
13115 |
|
|
13116 |
# Compile-time system search path for libraries. |
|
13117 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
13118 |
|
|
13119 |
# Run-time system search path for libraries. |
|
13120 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
13121 |
|
|
13122 |
# Whether dlopen is supported. |
|
13123 |
dlopen_support=$enable_dlopen |
|
13124 |
|
|
13125 |
# Whether dlopen of programs is supported. |
|
13126 |
dlopen_self=$enable_dlopen_self |
|
13127 |
|
|
13128 |
# Whether dlopen of statically linked programs is supported. |
|
13129 |
dlopen_self_static=$enable_dlopen_self_static |
|
13130 |
|
|
13131 |
# Commands to strip libraries. |
|
13132 |
old_striplib=$lt_old_striplib |
|
13133 |
striplib=$lt_striplib |
|
13134 |
|
|
13135 |
|
|
13136 |
# The linker used to build libraries. |
|
13137 |
LD=$lt_LD |
|
13138 |
|
|
13139 |
# How to create reloadable object files. |
|
13140 |
reload_flag=$lt_reload_flag |
|
13141 |
reload_cmds=$lt_reload_cmds |
|
13142 |
|
|
13143 |
# Commands used to build an old-style archive. |
|
13144 |
old_archive_cmds=$lt_old_archive_cmds |
|
13145 |
|
|
13146 |
# A language specific compiler. |
|
13147 |
CC=$lt_compiler |
|
13148 |
|
|
13149 |
# Is the compiler the GNU compiler? |
|
13150 |
with_gcc=$GCC |
|
13151 |
|
|
13152 |
# Compiler flag to turn off builtin functions. |
|
13153 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
13154 |
|
|
13155 |
# Additional compiler flags for building library objects. |
|
13156 |
pic_flag=$lt_lt_prog_compiler_pic |
|
13157 |
|
|
13158 |
# How to pass a linker flag through the compiler. |
|
13159 |
wl=$lt_lt_prog_compiler_wl |
|
13160 |
|
|
13161 |
# Compiler flag to prevent dynamic linking. |
|
13162 |
link_static_flag=$lt_lt_prog_compiler_static |
|
13163 |
|
|
13164 |
# Does compiler simultaneously support -c and -o options? |
|
13165 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
13166 |
|
|
13167 |
# Whether or not to add -lc for building shared libraries. |
|
13168 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
13169 |
|
|
13170 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
13171 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
13172 |
|
|
13173 |
# Compiler flag to allow reflexive dlopens. |
|
13174 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
13175 |
|
|
13176 |
# Compiler flag to generate shared objects directly from archives. |
|
13177 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
13178 |
|
|
13179 |
# Whether the compiler copes with passing no objects directly. |
|
13180 |
compiler_needs_object=$lt_compiler_needs_object |
|
13181 |
|
|
13182 |
# Create an old-style archive from a shared archive. |
|
13183 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
13184 |
|
|
13185 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
13186 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
13187 |
|
|
13188 |
# Commands used to build a shared archive. |
|
13189 |
archive_cmds=$lt_archive_cmds |
|
13190 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
13191 |
|
|
13192 |
# Commands used to build a loadable module if different from building |
|
13193 |
# a shared archive. |
|
13194 |
module_cmds=$lt_module_cmds |
|
13195 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
13196 |
|
|
13197 |
# Whether we are building with GNU ld or not. |
|
13198 |
with_gnu_ld=$lt_with_gnu_ld |
|
13199 |
|
|
13200 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
13201 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
13202 |
|
|
13203 |
# Flag that enforces no undefined symbols. |
|
13204 |
no_undefined_flag=$lt_no_undefined_flag |
|
13205 |
|
|
13206 |
# Flag to hardcode \$libdir into a binary during linking. |
|
13207 |
# This must work even if \$libdir does not exist |
|
13208 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
13209 |
|
|
13210 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
13211 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
13212 |
|
|
13213 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
13214 |
# DIR into the resulting binary. |
|
13215 |
hardcode_direct=$hardcode_direct |
|
13216 |
|
|
13217 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
13218 |
# DIR into the resulting binary and the resulting library dependency is |
|
13219 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
13220 |
# library is relocated. |
|
13221 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
13222 |
|
|
13223 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
13224 |
# into the resulting binary. |
|
13225 |
hardcode_minus_L=$hardcode_minus_L |
|
13226 |
|
|
13227 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
13228 |
# into the resulting binary. |
|
13229 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
13230 |
|
|
13231 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
13232 |
# into the library and all subsequent libraries and executables linked |
|
13233 |
# against it. |
|
13234 |
hardcode_automatic=$hardcode_automatic |
|
13235 |
|
|
13236 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
13237 |
# to runtime path list. |
|
13238 |
inherit_rpath=$inherit_rpath |
|
13239 |
|
|
13240 |
# Whether libtool must link a program against all its dependency libraries. |
|
13241 |
link_all_deplibs=$link_all_deplibs |
|
13242 |
|
|
13243 |
# Set to "yes" if exported symbols are required. |
|
13244 |
always_export_symbols=$always_export_symbols |
|
13245 |
|
|
13246 |
# The commands to list exported symbols. |
|
13247 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
13248 |
|
|
13249 |
# Symbols that should not be listed in the preloaded symbols. |
|
13250 |
exclude_expsyms=$lt_exclude_expsyms |
|
13251 |
|
|
13252 |
# Symbols that must always be exported. |
|
13253 |
include_expsyms=$lt_include_expsyms |
|
13254 |
|
|
13255 |
# Commands necessary for linking programs (against libraries) with templates. |
|
13256 |
prelink_cmds=$lt_prelink_cmds |
|
13257 |
|
|
13258 |
# Commands necessary for finishing linking programs. |
|
13259 |
postlink_cmds=$lt_postlink_cmds |
|
13260 |
|
|
13261 |
# Specify filename containing input files. |
|
13262 |
file_list_spec=$lt_file_list_spec |
|
13263 |
|
|
13264 |
# How to hardcode a shared library path into an executable. |
|
13265 |
hardcode_action=$hardcode_action |
|
13266 |
|
|
13267 |
# ### END LIBTOOL CONFIG |
|
13268 |
|
|
13269 |
_LT_EOF |
|
13270 |
|
|
13271 |
case $host_os in |
|
13272 |
aix3*) |
|
13273 |
cat <<\_LT_EOF >> "$cfgfile" |
|
13274 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
13275 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
13276 |
# vanish in a puff of smoke. |
|
13277 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
13278 |
COLLECT_NAMES= |
|
13279 |
export COLLECT_NAMES |
|
13280 |
fi |
|
13281 |
_LT_EOF |
|
13282 |
;; |
|
13283 |
esac |
|
13284 |
|
|
13285 |
|
|
13286 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
13287 |
|
|
13288 |
|
|
13289 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
13290 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
13291 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
13292 |
# is reportedly fixed, but why not run on old versions too? |
|
13293 |
sed '$q' "$ltmain" >> "$cfgfile" \ |
|
13294 |
|| (rm -f "$cfgfile"; exit 1) |
|
13295 |
|
|
13296 |
if test x"$xsi_shell" = xyes; then |
|
13297 |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
|
13298 |
func_dirname ()\ |
|
13299 |
{\ |
|
13300 |
\ case ${1} in\ |
|
13301 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
13302 |
\ * ) func_dirname_result="${3}" ;;\ |
|
13303 |
\ esac\ |
|
13304 |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13305 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13306 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13307 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13308 |
|
|
13309 |
|
|
13310 |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
|
13311 |
func_basename ()\ |
|
13312 |
{\ |
|
13313 |
\ func_basename_result="${1##*/}"\ |
|
13314 |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13315 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13316 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13317 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13318 |
|
|
13319 |
|
|
13320 |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
|
13321 |
func_dirname_and_basename ()\ |
|
13322 |
{\ |
|
13323 |
\ case ${1} in\ |
|
13324 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
13325 |
\ * ) func_dirname_result="${3}" ;;\ |
|
13326 |
\ esac\ |
|
13327 |
\ func_basename_result="${1##*/}"\ |
|
13328 |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13329 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13330 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13331 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13332 |
|
|
13333 |
|
|
13334 |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
|
13335 |
func_stripname ()\ |
|
13336 |
{\ |
|
13337 |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
|
13338 |
\ # positional parameters, so assign one to ordinary parameter first.\ |
|
13339 |
\ func_stripname_result=${3}\ |
|
13340 |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
|
13341 |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
|
13342 |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13343 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13344 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13345 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13346 |
|
|
13347 |
|
|
13348 |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
|
13349 |
func_split_long_opt ()\ |
|
13350 |
{\ |
|
13351 |
\ func_split_long_opt_name=${1%%=*}\ |
|
13352 |
\ func_split_long_opt_arg=${1#*=}\ |
|
13353 |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13354 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13355 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13356 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13357 |
|
|
13358 |
|
|
13359 |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
|
13360 |
func_split_short_opt ()\ |
|
13361 |
{\ |
|
13362 |
\ func_split_short_opt_arg=${1#??}\ |
|
13363 |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
|
13364 |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13365 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13366 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13367 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13368 |
|
|
13369 |
|
|
13370 |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
|
13371 |
func_lo2o ()\ |
|
13372 |
{\ |
|
13373 |
\ case ${1} in\ |
|
13374 |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
|
13375 |
\ *) func_lo2o_result=${1} ;;\ |
|
13376 |
\ esac\ |
|
13377 |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13378 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13379 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13380 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13381 |
|
|
13382 |
|
|
13383 |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
|
13384 |
func_xform ()\ |
|
13385 |
{\ |
|
13386 |
func_xform_result=${1%.*}.lo\ |
|
13387 |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13388 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13389 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13390 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13391 |
|
|
13392 |
|
|
13393 |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
|
13394 |
func_arith ()\ |
|
13395 |
{\ |
|
13396 |
func_arith_result=$(( $* ))\ |
|
13397 |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13398 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13399 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13400 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13401 |
|
|
13402 |
|
|
13403 |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
|
13404 |
func_len ()\ |
|
13405 |
{\ |
|
13406 |
func_len_result=${#1}\ |
|
13407 |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13408 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13409 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13410 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13411 |
|
|
13412 |
fi |
|
13413 |
|
|
13414 |
if test x"$lt_shell_append" = xyes; then |
|
13415 |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
|
13416 |
func_append ()\ |
|
13417 |
{\ |
|
13418 |
eval "${1}+=\\${2}"\ |
|
13419 |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13420 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13421 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13422 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13423 |
|
|
13424 |
|
|
13425 |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
|
13426 |
func_append_quoted ()\ |
|
13427 |
{\ |
|
13428 |
\ func_quote_for_eval "${2}"\ |
|
13429 |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
|
13430 |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
|
13431 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13432 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13433 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13434 |
|
|
13435 |
|
|
13436 |
# Save a `func_append' function call where possible by direct use of '+=' |
|
13437 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
|
13438 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13439 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13440 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13441 |
else |
|
13442 |
# Save a `func_append' function call even when '+=' is not available |
|
13443 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
|
13444 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
13445 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
13446 |
test 0 -eq $? || _lt_function_replace_fail=: |
|
13447 |
fi |
|
13448 |
|
|
13449 |
if test x"$_lt_function_replace_fail" = x":"; then |
|
13450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
|
13451 |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
|
13452 |
fi |
|
13453 |
|
|
13454 |
|
|
13455 |
mv -f "$cfgfile" "$ofile" || |
|
13456 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
13457 |
chmod +x "$ofile" |
|
13458 |
|
|
13459 |
;; |
|
13460 |
|
|
13461 |
esac |
|
13462 |
done # for ac_tag |
|
13463 |
|
|
13464 |
|
|
13465 |
as_fn_exit 0 |
|
13466 |
_ACEOF |
|
13467 |
ac_clean_files=$ac_clean_files_save |
|
13468 |
|
|
13469 |
test $ac_write_fail = 0 || |
|
13470 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
13471 |
|
|
13472 |
|
|
13473 |
# configure is writing to config.log, and then calls config.status. |
|
13474 |
# config.status does its own redirection, appending to config.log. |
|
13475 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
13476 |
# by configure, so config.status won't be able to write to it; its |
|
13477 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
13478 |
# effectively closing config.log, so it can be properly (re)opened and |
|
13479 |
# appended to by config.status. When coming back to configure, we |
|
13480 |
# need to make the FD available again. |
|
13481 |
if test "$no_create" != yes; then |
|
13482 |
ac_cs_success=: |
|
13483 |
ac_config_status_args= |
|
13484 |
test "$silent" = yes && |
|
13485 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
13486 |
exec 5>/dev/null |
|
13487 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
13488 |
exec 5>>config.log |
|
13489 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
13490 |
# would make configure fail if this is the last instruction. |
|
13491 |
$ac_cs_success || as_fn_exit 1 |
|
13492 |
fi |
|
13493 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
13494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
13495 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
13496 |
fi |
|
13497 |
|
|
13498 |
|