commit | author | age
|
5d5578
|
1 |
@%:@! /bin/sh |
SP |
2 |
@%:@ Guess values for system-dependent variables and create Makefiles. |
|
3 |
@%:@ Generated by GNU Autoconf 2.69 for sizif-helpers 0.2. |
|
4 |
@%:@ |
|
5 |
@%:@ Report bugs to <samo.penic@gmail.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 |
|
278 |
$0: samo.penic@gmail.com about your system, including any |
|
279 |
$0: error possibly output before this message. Then install |
|
280 |
$0: a modern shell, or manually run the script under such a |
|
281 |
$0: shell if you do 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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
|
400 |
@%:@ must be portable across @S|@(()) 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 @S|@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 |
LIB@&t@OBJS= |
|
585 |
cross_compiling=no |
|
586 |
subdirs= |
|
587 |
MFLAGS= |
|
588 |
MAKEFLAGS= |
|
589 |
|
|
590 |
# Identity of this package. |
|
591 |
PACKAGE_NAME='sizif-helpers' |
|
592 |
PACKAGE_TARNAME='sizif-helpers' |
|
593 |
PACKAGE_VERSION='0.2' |
|
594 |
PACKAGE_STRING='sizif-helpers 0.2' |
|
595 |
PACKAGE_BUGREPORT='samo.penic@gmail.com' |
|
596 |
PACKAGE_URL='' |
|
597 |
|
|
598 |
ac_unique_file="config.h.in" |
|
599 |
# Factoring default headers for most tests. |
|
600 |
ac_includes_default="\ |
|
601 |
#include <stdio.h> |
|
602 |
#ifdef HAVE_SYS_TYPES_H |
|
603 |
# include <sys/types.h> |
|
604 |
#endif |
|
605 |
#ifdef HAVE_SYS_STAT_H |
|
606 |
# include <sys/stat.h> |
|
607 |
#endif |
|
608 |
#ifdef STDC_HEADERS |
|
609 |
# include <stdlib.h> |
|
610 |
# include <stddef.h> |
|
611 |
#else |
|
612 |
# ifdef HAVE_STDLIB_H |
|
613 |
# include <stdlib.h> |
|
614 |
# endif |
|
615 |
#endif |
|
616 |
#ifdef HAVE_STRING_H |
|
617 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
618 |
# include <memory.h> |
|
619 |
# endif |
|
620 |
# include <string.h> |
|
621 |
#endif |
|
622 |
#ifdef HAVE_STRINGS_H |
|
623 |
# include <strings.h> |
|
624 |
#endif |
|
625 |
#ifdef HAVE_INTTYPES_H |
|
626 |
# include <inttypes.h> |
|
627 |
#endif |
|
628 |
#ifdef HAVE_STDINT_H |
|
629 |
# include <stdint.h> |
|
630 |
#endif |
|
631 |
#ifdef HAVE_UNISTD_H |
|
632 |
# include <unistd.h> |
|
633 |
#endif" |
|
634 |
|
|
635 |
ac_subst_vars='am__EXEEXT_FALSE |
|
636 |
am__EXEEXT_TRUE |
|
637 |
LTLIBOBJS |
|
638 |
LIB@&t@OBJS |
|
639 |
CPP |
|
640 |
LT_SYS_LIBRARY_PATH |
|
641 |
OTOOL64 |
|
642 |
OTOOL |
|
643 |
LIPO |
|
644 |
NMEDIT |
|
645 |
DSYMUTIL |
|
646 |
MANIFEST_TOOL |
|
647 |
RANLIB |
|
648 |
ac_ct_AR |
|
649 |
AR |
|
650 |
DLLTOOL |
|
651 |
OBJDUMP |
|
652 |
LN_S |
|
653 |
NM |
|
654 |
ac_ct_DUMPBIN |
|
655 |
DUMPBIN |
|
656 |
LD |
|
657 |
FGREP |
|
658 |
EGREP |
|
659 |
GREP |
|
660 |
SED |
|
661 |
host_os |
|
662 |
host_vendor |
|
663 |
host_cpu |
|
664 |
host |
|
665 |
build_os |
|
666 |
build_vendor |
|
667 |
build_cpu |
|
668 |
build |
|
669 |
LIBTOOL |
|
670 |
am__fastdepCC_FALSE |
|
671 |
am__fastdepCC_TRUE |
|
672 |
CCDEPMODE |
|
673 |
am__nodep |
|
674 |
AMDEPBACKSLASH |
|
675 |
AMDEP_FALSE |
|
676 |
AMDEP_TRUE |
|
677 |
am__quote |
|
678 |
am__include |
|
679 |
DEPDIR |
|
680 |
OBJEXT |
|
681 |
EXEEXT |
|
682 |
ac_ct_CC |
|
683 |
CPPFLAGS |
|
684 |
LDFLAGS |
|
685 |
CFLAGS |
|
686 |
CC |
|
687 |
AM_BACKSLASH |
|
688 |
AM_DEFAULT_VERBOSITY |
|
689 |
AM_DEFAULT_V |
|
690 |
AM_V |
|
691 |
am__untar |
|
692 |
am__tar |
|
693 |
AMTAR |
|
694 |
am__leading_dot |
|
695 |
SET_MAKE |
|
696 |
AWK |
|
697 |
mkdir_p |
|
698 |
MKDIR_P |
|
699 |
INSTALL_STRIP_PROGRAM |
|
700 |
STRIP |
|
701 |
install_sh |
|
702 |
MAKEINFO |
|
703 |
AUTOHEADER |
|
704 |
AUTOMAKE |
|
705 |
AUTOCONF |
|
706 |
ACLOCAL |
|
707 |
VERSION |
|
708 |
PACKAGE |
|
709 |
CYGPATH_W |
|
710 |
am__isrc |
|
711 |
INSTALL_DATA |
|
712 |
INSTALL_SCRIPT |
|
713 |
INSTALL_PROGRAM |
|
714 |
target_alias |
|
715 |
host_alias |
|
716 |
build_alias |
|
717 |
LIBS |
|
718 |
ECHO_T |
|
719 |
ECHO_N |
|
720 |
ECHO_C |
|
721 |
DEFS |
|
722 |
mandir |
|
723 |
localedir |
|
724 |
libdir |
|
725 |
psdir |
|
726 |
pdfdir |
|
727 |
dvidir |
|
728 |
htmldir |
|
729 |
infodir |
|
730 |
docdir |
|
731 |
oldincludedir |
|
732 |
includedir |
|
733 |
runstatedir |
|
734 |
localstatedir |
|
735 |
sharedstatedir |
|
736 |
sysconfdir |
|
737 |
datadir |
|
738 |
datarootdir |
|
739 |
libexecdir |
|
740 |
sbindir |
|
741 |
bindir |
|
742 |
program_transform_name |
|
743 |
prefix |
|
744 |
exec_prefix |
|
745 |
PACKAGE_URL |
|
746 |
PACKAGE_BUGREPORT |
|
747 |
PACKAGE_STRING |
|
748 |
PACKAGE_VERSION |
|
749 |
PACKAGE_TARNAME |
|
750 |
PACKAGE_NAME |
|
751 |
PATH_SEPARATOR |
|
752 |
SHELL' |
|
753 |
ac_subst_files='' |
|
754 |
ac_user_opts=' |
|
755 |
enable_option_checking |
|
756 |
enable_silent_rules |
|
757 |
enable_dependency_tracking |
|
758 |
enable_shared |
|
759 |
enable_static |
|
760 |
with_pic |
|
761 |
enable_fast_install |
|
762 |
with_aix_soname |
|
763 |
with_gnu_ld |
|
764 |
with_sysroot |
|
765 |
enable_libtool_lock |
|
766 |
' |
|
767 |
ac_precious_vars='build_alias |
|
768 |
host_alias |
|
769 |
target_alias |
|
770 |
CC |
|
771 |
CFLAGS |
|
772 |
LDFLAGS |
|
773 |
LIBS |
|
774 |
CPPFLAGS |
|
775 |
LT_SYS_LIBRARY_PATH |
|
776 |
CPP' |
|
777 |
|
|
778 |
|
|
779 |
# Initialize some variables set by options. |
|
780 |
ac_init_help= |
|
781 |
ac_init_version=false |
|
782 |
ac_unrecognized_opts= |
|
783 |
ac_unrecognized_sep= |
|
784 |
# The variables have the same names as the options, with |
|
785 |
# dashes changed to underlines. |
|
786 |
cache_file=/dev/null |
|
787 |
exec_prefix=NONE |
|
788 |
no_create= |
|
789 |
no_recursion= |
|
790 |
prefix=NONE |
|
791 |
program_prefix=NONE |
|
792 |
program_suffix=NONE |
|
793 |
program_transform_name=s,x,x, |
|
794 |
silent= |
|
795 |
site= |
|
796 |
srcdir= |
|
797 |
verbose= |
|
798 |
x_includes=NONE |
|
799 |
x_libraries=NONE |
|
800 |
|
|
801 |
# Installation directory options. |
|
802 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
803 |
# and all the variables that are supposed to be based on exec_prefix |
|
804 |
# by default will actually change. |
|
805 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
806 |
# (The list follows the same order as the GNU Coding Standards.) |
|
807 |
bindir='${exec_prefix}/bin' |
|
808 |
sbindir='${exec_prefix}/sbin' |
|
809 |
libexecdir='${exec_prefix}/libexec' |
|
810 |
datarootdir='${prefix}/share' |
|
811 |
datadir='${datarootdir}' |
|
812 |
sysconfdir='${prefix}/etc' |
|
813 |
sharedstatedir='${prefix}/com' |
|
814 |
localstatedir='${prefix}/var' |
|
815 |
runstatedir='${localstatedir}/run' |
|
816 |
includedir='${prefix}/include' |
|
817 |
oldincludedir='/usr/include' |
|
818 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
819 |
infodir='${datarootdir}/info' |
|
820 |
htmldir='${docdir}' |
|
821 |
dvidir='${docdir}' |
|
822 |
pdfdir='${docdir}' |
|
823 |
psdir='${docdir}' |
|
824 |
libdir='${exec_prefix}/lib' |
|
825 |
localedir='${datarootdir}/locale' |
|
826 |
mandir='${datarootdir}/man' |
|
827 |
|
|
828 |
ac_prev= |
|
829 |
ac_dashdash= |
|
830 |
for ac_option |
|
831 |
do |
|
832 |
# If the previous option needs an argument, assign it. |
|
833 |
if test -n "$ac_prev"; then |
|
834 |
eval $ac_prev=\$ac_option |
|
835 |
ac_prev= |
|
836 |
continue |
|
837 |
fi |
|
838 |
|
|
839 |
case $ac_option in |
|
840 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
841 |
*=) ac_optarg= ;; |
|
842 |
*) ac_optarg=yes ;; |
|
843 |
esac |
|
844 |
|
|
845 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
846 |
|
|
847 |
case $ac_dashdash$ac_option in |
|
848 |
--) |
|
849 |
ac_dashdash=yes ;; |
|
850 |
|
|
851 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
852 |
ac_prev=bindir ;; |
|
853 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
854 |
bindir=$ac_optarg ;; |
|
855 |
|
|
856 |
-build | --build | --buil | --bui | --bu) |
|
857 |
ac_prev=build_alias ;; |
|
858 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
859 |
build_alias=$ac_optarg ;; |
|
860 |
|
|
861 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
862 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
863 |
ac_prev=cache_file ;; |
|
864 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
865 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
866 |
cache_file=$ac_optarg ;; |
|
867 |
|
|
868 |
--config-cache | -C) |
|
869 |
cache_file=config.cache ;; |
|
870 |
|
|
871 |
-datadir | --datadir | --datadi | --datad) |
|
872 |
ac_prev=datadir ;; |
|
873 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
874 |
datadir=$ac_optarg ;; |
|
875 |
|
|
876 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
877 |
| --dataroo | --dataro | --datar) |
|
878 |
ac_prev=datarootdir ;; |
|
879 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
880 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
881 |
datarootdir=$ac_optarg ;; |
|
882 |
|
|
883 |
-disable-* | --disable-*) |
|
884 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
885 |
# Reject names that are not valid shell variable names. |
|
886 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
887 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
888 |
ac_useropt_orig=$ac_useropt |
|
889 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
890 |
case $ac_user_opts in |
|
891 |
*" |
|
892 |
"enable_$ac_useropt" |
|
893 |
"*) ;; |
|
894 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
895 |
ac_unrecognized_sep=', ';; |
|
896 |
esac |
|
897 |
eval enable_$ac_useropt=no ;; |
|
898 |
|
|
899 |
-docdir | --docdir | --docdi | --doc | --do) |
|
900 |
ac_prev=docdir ;; |
|
901 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
902 |
docdir=$ac_optarg ;; |
|
903 |
|
|
904 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
905 |
ac_prev=dvidir ;; |
|
906 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
907 |
dvidir=$ac_optarg ;; |
|
908 |
|
|
909 |
-enable-* | --enable-*) |
|
910 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
911 |
# Reject names that are not valid shell variable names. |
|
912 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
913 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
914 |
ac_useropt_orig=$ac_useropt |
|
915 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
916 |
case $ac_user_opts in |
|
917 |
*" |
|
918 |
"enable_$ac_useropt" |
|
919 |
"*) ;; |
|
920 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
921 |
ac_unrecognized_sep=', ';; |
|
922 |
esac |
|
923 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
924 |
|
|
925 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
926 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
927 |
| --exec | --exe | --ex) |
|
928 |
ac_prev=exec_prefix ;; |
|
929 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
930 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
931 |
| --exec=* | --exe=* | --ex=*) |
|
932 |
exec_prefix=$ac_optarg ;; |
|
933 |
|
|
934 |
-gas | --gas | --ga | --g) |
|
935 |
# Obsolete; use --with-gas. |
|
936 |
with_gas=yes ;; |
|
937 |
|
|
938 |
-help | --help | --hel | --he | -h) |
|
939 |
ac_init_help=long ;; |
|
940 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
941 |
ac_init_help=recursive ;; |
|
942 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
943 |
ac_init_help=short ;; |
|
944 |
|
|
945 |
-host | --host | --hos | --ho) |
|
946 |
ac_prev=host_alias ;; |
|
947 |
-host=* | --host=* | --hos=* | --ho=*) |
|
948 |
host_alias=$ac_optarg ;; |
|
949 |
|
|
950 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
951 |
ac_prev=htmldir ;; |
|
952 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
953 |
| --ht=*) |
|
954 |
htmldir=$ac_optarg ;; |
|
955 |
|
|
956 |
-includedir | --includedir | --includedi | --included | --include \ |
|
957 |
| --includ | --inclu | --incl | --inc) |
|
958 |
ac_prev=includedir ;; |
|
959 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
960 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
961 |
includedir=$ac_optarg ;; |
|
962 |
|
|
963 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
964 |
ac_prev=infodir ;; |
|
965 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
966 |
infodir=$ac_optarg ;; |
|
967 |
|
|
968 |
-libdir | --libdir | --libdi | --libd) |
|
969 |
ac_prev=libdir ;; |
|
970 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
971 |
libdir=$ac_optarg ;; |
|
972 |
|
|
973 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
974 |
| --libexe | --libex | --libe) |
|
975 |
ac_prev=libexecdir ;; |
|
976 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
977 |
| --libexe=* | --libex=* | --libe=*) |
|
978 |
libexecdir=$ac_optarg ;; |
|
979 |
|
|
980 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
981 |
ac_prev=localedir ;; |
|
982 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
983 |
localedir=$ac_optarg ;; |
|
984 |
|
|
985 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
986 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
987 |
ac_prev=localstatedir ;; |
|
988 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
989 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
990 |
localstatedir=$ac_optarg ;; |
|
991 |
|
|
992 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
993 |
ac_prev=mandir ;; |
|
994 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
995 |
mandir=$ac_optarg ;; |
|
996 |
|
|
997 |
-nfp | --nfp | --nf) |
|
998 |
# Obsolete; use --without-fp. |
|
999 |
with_fp=no ;; |
|
1000 |
|
|
1001 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1002 |
| --no-cr | --no-c | -n) |
|
1003 |
no_create=yes ;; |
|
1004 |
|
|
1005 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1006 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1007 |
no_recursion=yes ;; |
|
1008 |
|
|
1009 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1010 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1011 |
| --oldin | --oldi | --old | --ol | --o) |
|
1012 |
ac_prev=oldincludedir ;; |
|
1013 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1014 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1015 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1016 |
oldincludedir=$ac_optarg ;; |
|
1017 |
|
|
1018 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1019 |
ac_prev=prefix ;; |
|
1020 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1021 |
prefix=$ac_optarg ;; |
|
1022 |
|
|
1023 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1024 |
| --program-pre | --program-pr | --program-p) |
|
1025 |
ac_prev=program_prefix ;; |
|
1026 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1027 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1028 |
program_prefix=$ac_optarg ;; |
|
1029 |
|
|
1030 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1031 |
| --program-suf | --program-su | --program-s) |
|
1032 |
ac_prev=program_suffix ;; |
|
1033 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1034 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1035 |
program_suffix=$ac_optarg ;; |
|
1036 |
|
|
1037 |
-program-transform-name | --program-transform-name \ |
|
1038 |
| --program-transform-nam | --program-transform-na \ |
|
1039 |
| --program-transform-n | --program-transform- \ |
|
1040 |
| --program-transform | --program-transfor \ |
|
1041 |
| --program-transfo | --program-transf \ |
|
1042 |
| --program-trans | --program-tran \ |
|
1043 |
| --progr-tra | --program-tr | --program-t) |
|
1044 |
ac_prev=program_transform_name ;; |
|
1045 |
-program-transform-name=* | --program-transform-name=* \ |
|
1046 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1047 |
| --program-transform-n=* | --program-transform-=* \ |
|
1048 |
| --program-transform=* | --program-transfor=* \ |
|
1049 |
| --program-transfo=* | --program-transf=* \ |
|
1050 |
| --program-trans=* | --program-tran=* \ |
|
1051 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1052 |
program_transform_name=$ac_optarg ;; |
|
1053 |
|
|
1054 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1055 |
ac_prev=pdfdir ;; |
|
1056 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1057 |
pdfdir=$ac_optarg ;; |
|
1058 |
|
|
1059 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1060 |
ac_prev=psdir ;; |
|
1061 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1062 |
psdir=$ac_optarg ;; |
|
1063 |
|
|
1064 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1065 |
| -silent | --silent | --silen | --sile | --sil) |
|
1066 |
silent=yes ;; |
|
1067 |
|
|
1068 |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
1069 |
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
1070 |
| --run | --ru | --r) |
|
1071 |
ac_prev=runstatedir ;; |
|
1072 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
1073 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
1074 |
| --run=* | --ru=* | --r=*) |
|
1075 |
runstatedir=$ac_optarg ;; |
|
1076 |
|
|
1077 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1078 |
ac_prev=sbindir ;; |
|
1079 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1080 |
| --sbi=* | --sb=*) |
|
1081 |
sbindir=$ac_optarg ;; |
|
1082 |
|
|
1083 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1084 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1085 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1086 |
| --sha | --sh) |
|
1087 |
ac_prev=sharedstatedir ;; |
|
1088 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1089 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1090 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1091 |
| --sha=* | --sh=*) |
|
1092 |
sharedstatedir=$ac_optarg ;; |
|
1093 |
|
|
1094 |
-site | --site | --sit) |
|
1095 |
ac_prev=site ;; |
|
1096 |
-site=* | --site=* | --sit=*) |
|
1097 |
site=$ac_optarg ;; |
|
1098 |
|
|
1099 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1100 |
ac_prev=srcdir ;; |
|
1101 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1102 |
srcdir=$ac_optarg ;; |
|
1103 |
|
|
1104 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1105 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1106 |
ac_prev=sysconfdir ;; |
|
1107 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1108 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1109 |
sysconfdir=$ac_optarg ;; |
|
1110 |
|
|
1111 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1112 |
ac_prev=target_alias ;; |
|
1113 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1114 |
target_alias=$ac_optarg ;; |
|
1115 |
|
|
1116 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1117 |
verbose=yes ;; |
|
1118 |
|
|
1119 |
-version | --version | --versio | --versi | --vers | -V) |
|
1120 |
ac_init_version=: ;; |
|
1121 |
|
|
1122 |
-with-* | --with-*) |
|
1123 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1124 |
# Reject names that are not valid shell variable names. |
|
1125 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1126 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1127 |
ac_useropt_orig=$ac_useropt |
|
1128 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1129 |
case $ac_user_opts in |
|
1130 |
*" |
|
1131 |
"with_$ac_useropt" |
|
1132 |
"*) ;; |
|
1133 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1134 |
ac_unrecognized_sep=', ';; |
|
1135 |
esac |
|
1136 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1137 |
|
|
1138 |
-without-* | --without-*) |
|
1139 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1140 |
# Reject names that are not valid shell variable names. |
|
1141 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1142 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1143 |
ac_useropt_orig=$ac_useropt |
|
1144 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1145 |
case $ac_user_opts in |
|
1146 |
*" |
|
1147 |
"with_$ac_useropt" |
|
1148 |
"*) ;; |
|
1149 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1150 |
ac_unrecognized_sep=', ';; |
|
1151 |
esac |
|
1152 |
eval with_$ac_useropt=no ;; |
|
1153 |
|
|
1154 |
--x) |
|
1155 |
# Obsolete; use --with-x. |
|
1156 |
with_x=yes ;; |
|
1157 |
|
|
1158 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1159 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1160 |
ac_prev=x_includes ;; |
|
1161 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1162 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1163 |
x_includes=$ac_optarg ;; |
|
1164 |
|
|
1165 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1166 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1167 |
ac_prev=x_libraries ;; |
|
1168 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1169 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1170 |
x_libraries=$ac_optarg ;; |
|
1171 |
|
|
1172 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1173 |
Try \`$0 --help' for more information" |
|
1174 |
;; |
|
1175 |
|
|
1176 |
*=*) |
|
1177 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1178 |
# Reject names that are not valid shell variable names. |
|
1179 |
case $ac_envvar in #( |
|
1180 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1181 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1182 |
esac |
|
1183 |
eval $ac_envvar=\$ac_optarg |
|
1184 |
export $ac_envvar ;; |
|
1185 |
|
|
1186 |
*) |
|
1187 |
# FIXME: should be removed in autoconf 3.0. |
|
1188 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1189 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1190 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1191 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1192 |
;; |
|
1193 |
|
|
1194 |
esac |
|
1195 |
done |
|
1196 |
|
|
1197 |
if test -n "$ac_prev"; then |
|
1198 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1199 |
as_fn_error $? "missing argument to $ac_option" |
|
1200 |
fi |
|
1201 |
|
|
1202 |
if test -n "$ac_unrecognized_opts"; then |
|
1203 |
case $enable_option_checking in |
|
1204 |
no) ;; |
|
1205 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1206 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1207 |
esac |
|
1208 |
fi |
|
1209 |
|
|
1210 |
# Check all directory arguments for consistency. |
|
1211 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1212 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1213 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1214 |
libdir localedir mandir runstatedir |
|
1215 |
do |
|
1216 |
eval ac_val=\$$ac_var |
|
1217 |
# Remove trailing slashes. |
|
1218 |
case $ac_val in |
|
1219 |
*/ ) |
|
1220 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1221 |
eval $ac_var=\$ac_val;; |
|
1222 |
esac |
|
1223 |
# Be sure to have absolute directory names. |
|
1224 |
case $ac_val in |
|
1225 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1226 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1227 |
esac |
|
1228 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1229 |
done |
|
1230 |
|
|
1231 |
# There might be people who depend on the old broken behavior: `$host' |
|
1232 |
# used to hold the argument of --host etc. |
|
1233 |
# FIXME: To remove some day. |
|
1234 |
build=$build_alias |
|
1235 |
host=$host_alias |
|
1236 |
target=$target_alias |
|
1237 |
|
|
1238 |
# FIXME: To remove some day. |
|
1239 |
if test "x$host_alias" != x; then |
|
1240 |
if test "x$build_alias" = x; then |
|
1241 |
cross_compiling=maybe |
|
1242 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1243 |
cross_compiling=yes |
|
1244 |
fi |
|
1245 |
fi |
|
1246 |
|
|
1247 |
ac_tool_prefix= |
|
1248 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1249 |
|
|
1250 |
test "$silent" = yes && exec 6>/dev/null |
|
1251 |
|
|
1252 |
|
|
1253 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1254 |
ac_ls_di=`ls -di .` && |
|
1255 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1256 |
as_fn_error $? "working directory cannot be determined" |
|
1257 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1258 |
as_fn_error $? "pwd does not report name of working directory" |
|
1259 |
|
|
1260 |
|
|
1261 |
# Find the source files, if location was not specified. |
|
1262 |
if test -z "$srcdir"; then |
|
1263 |
ac_srcdir_defaulted=yes |
|
1264 |
# Try the directory containing this script, then the parent directory. |
|
1265 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1266 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1267 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1268 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1269 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1270 |
$as_echo X"$as_myself" | |
|
1271 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1272 |
s//\1/ |
|
1273 |
q |
|
1274 |
} |
|
1275 |
/^X\(\/\/\)[^/].*/{ |
|
1276 |
s//\1/ |
|
1277 |
q |
|
1278 |
} |
|
1279 |
/^X\(\/\/\)$/{ |
|
1280 |
s//\1/ |
|
1281 |
q |
|
1282 |
} |
|
1283 |
/^X\(\/\).*/{ |
|
1284 |
s//\1/ |
|
1285 |
q |
|
1286 |
} |
|
1287 |
s/.*/./; q'` |
|
1288 |
srcdir=$ac_confdir |
|
1289 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1290 |
srcdir=.. |
|
1291 |
fi |
|
1292 |
else |
|
1293 |
ac_srcdir_defaulted=no |
|
1294 |
fi |
|
1295 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1296 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1297 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1298 |
fi |
|
1299 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1300 |
ac_abs_confdir=`( |
|
1301 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1302 |
pwd)` |
|
1303 |
# When building in place, set srcdir=. |
|
1304 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1305 |
srcdir=. |
|
1306 |
fi |
|
1307 |
# Remove unnecessary trailing slashes from srcdir. |
|
1308 |
# Double slashes in file names in object file debugging info |
|
1309 |
# mess up M-x gdb in Emacs. |
|
1310 |
case $srcdir in |
|
1311 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1312 |
esac |
|
1313 |
for ac_var in $ac_precious_vars; do |
|
1314 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1315 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1316 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1317 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1318 |
done |
|
1319 |
|
|
1320 |
# |
|
1321 |
# Report the --help message. |
|
1322 |
# |
|
1323 |
if test "$ac_init_help" = "long"; then |
|
1324 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1325 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1326 |
cat <<_ACEOF |
|
1327 |
\`configure' configures sizif-helpers 0.2 to adapt to many kinds of systems. |
|
1328 |
|
|
1329 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1330 |
|
|
1331 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1332 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1333 |
|
|
1334 |
Defaults for the options are specified in brackets. |
|
1335 |
|
|
1336 |
Configuration: |
|
1337 |
-h, --help display this help and exit |
|
1338 |
--help=short display options specific to this package |
|
1339 |
--help=recursive display the short help of all the included packages |
|
1340 |
-V, --version display version information and exit |
|
1341 |
-q, --quiet, --silent do not print \`checking ...' messages |
|
1342 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1343 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1344 |
-n, --no-create do not create output files |
|
1345 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1346 |
|
|
1347 |
Installation directories: |
|
1348 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1349 |
@<:@@S|@ac_default_prefix@:>@ |
|
1350 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1351 |
@<:@PREFIX@:>@ |
|
1352 |
|
|
1353 |
By default, \`make install' will install all the files in |
|
1354 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1355 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1356 |
for instance \`--prefix=\$HOME'. |
|
1357 |
|
|
1358 |
For better control, use the options below. |
|
1359 |
|
|
1360 |
Fine tuning of the installation directories: |
|
1361 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1362 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1363 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1364 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1365 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1366 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1367 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
|
1368 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1369 |
--includedir=DIR C header files [PREFIX/include] |
|
1370 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1371 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1372 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1373 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1374 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1375 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1376 |
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/sizif-helpers@:>@ |
|
1377 |
--htmldir=DIR html documentation [DOCDIR] |
|
1378 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1379 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1380 |
--psdir=DIR ps documentation [DOCDIR] |
|
1381 |
_ACEOF |
|
1382 |
|
|
1383 |
cat <<\_ACEOF |
|
1384 |
|
|
1385 |
Program names: |
|
1386 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1387 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1388 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1389 |
|
|
1390 |
System types: |
|
1391 |
--build=BUILD configure for building on BUILD [guessed] |
|
1392 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1393 |
_ACEOF |
|
1394 |
fi |
|
1395 |
|
|
1396 |
if test -n "$ac_init_help"; then |
|
1397 |
case $ac_init_help in |
|
1398 |
short | recursive ) echo "Configuration of sizif-helpers 0.2:";; |
|
1399 |
esac |
|
1400 |
cat <<\_ACEOF |
|
1401 |
|
|
1402 |
Optional Features: |
|
1403 |
--disable-option-checking ignore unrecognized --enable/--with options |
|
1404 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1405 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1406 |
--enable-silent-rules less verbose build output (undo: "make V=1") |
|
1407 |
--disable-silent-rules verbose build output (undo: "make V=0") |
|
1408 |
--enable-dependency-tracking |
|
1409 |
do not reject slow dependency extractors |
|
1410 |
--disable-dependency-tracking |
|
1411 |
speeds up one-time build |
|
1412 |
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ |
|
1413 |
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ |
|
1414 |
--enable-fast-install@<:@=PKGS@:>@ |
|
1415 |
optimize for fast installation @<:@default=yes@:>@ |
|
1416 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
1417 |
|
|
1418 |
Optional Packages: |
|
1419 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
1420 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
1421 |
--with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use |
|
1422 |
both@:>@ |
|
1423 |
--with-aix-soname=aix|svr4|both |
|
1424 |
shared library versioning (aka "SONAME") variant to |
|
1425 |
provide on AIX, @<:@default=aix@:>@. |
|
1426 |
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ |
|
1427 |
--with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the |
|
1428 |
compiler's sysroot if not specified). |
|
1429 |
|
|
1430 |
Some influential environment variables: |
|
1431 |
CC C compiler command |
|
1432 |
CFLAGS C compiler flags |
|
1433 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1434 |
nonstandard directory <lib dir> |
|
1435 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
1436 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1437 |
you have headers in a nonstandard directory <include dir> |
|
1438 |
LT_SYS_LIBRARY_PATH |
|
1439 |
User-defined run-time library search path. |
|
1440 |
CPP C preprocessor |
|
1441 |
|
|
1442 |
Use these variables to override the choices made by `configure' or to help |
|
1443 |
it to find libraries and programs with nonstandard names/locations. |
|
1444 |
|
|
1445 |
Report bugs to <samo.penic@gmail.com>. |
|
1446 |
_ACEOF |
|
1447 |
ac_status=$? |
|
1448 |
fi |
|
1449 |
|
|
1450 |
if test "$ac_init_help" = "recursive"; then |
|
1451 |
# If there are subdirs, report their specific --help. |
|
1452 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1453 |
test -d "$ac_dir" || |
|
1454 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1455 |
continue |
|
1456 |
ac_builddir=. |
|
1457 |
|
|
1458 |
case "$ac_dir" in |
|
1459 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1460 |
*) |
|
1461 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1462 |
# A ".." for each directory in $ac_dir_suffix. |
|
1463 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1464 |
case $ac_top_builddir_sub in |
|
1465 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1466 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1467 |
esac ;; |
|
1468 |
esac |
|
1469 |
ac_abs_top_builddir=$ac_pwd |
|
1470 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1471 |
# for backward compatibility: |
|
1472 |
ac_top_builddir=$ac_top_build_prefix |
|
1473 |
|
|
1474 |
case $srcdir in |
|
1475 |
.) # We are building in place. |
|
1476 |
ac_srcdir=. |
|
1477 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1478 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1479 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1480 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1481 |
ac_top_srcdir=$srcdir |
|
1482 |
ac_abs_top_srcdir=$srcdir ;; |
|
1483 |
*) # Relative name. |
|
1484 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1485 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1486 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1487 |
esac |
|
1488 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1489 |
|
|
1490 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1491 |
# Check for guested configure. |
|
1492 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1493 |
echo && |
|
1494 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1495 |
elif test -f "$ac_srcdir/configure"; then |
|
1496 |
echo && |
|
1497 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1498 |
else |
|
1499 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1500 |
fi || ac_status=$? |
|
1501 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1502 |
done |
|
1503 |
fi |
|
1504 |
|
|
1505 |
test -n "$ac_init_help" && exit $ac_status |
|
1506 |
if $ac_init_version; then |
|
1507 |
cat <<\_ACEOF |
|
1508 |
sizif-helpers configure 0.2 |
|
1509 |
generated by GNU Autoconf 2.69 |
|
1510 |
|
|
1511 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
1512 |
This configure script is free software; the Free Software Foundation |
|
1513 |
gives unlimited permission to copy, distribute and modify it. |
|
1514 |
_ACEOF |
|
1515 |
exit |
|
1516 |
fi |
|
1517 |
|
|
1518 |
## ------------------------ ## |
|
1519 |
## Autoconf initialization. ## |
|
1520 |
## ------------------------ ## |
|
1521 |
|
|
1522 |
@%:@ ac_fn_c_try_compile LINENO |
|
1523 |
@%:@ -------------------------- |
|
1524 |
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. |
|
1525 |
ac_fn_c_try_compile () |
|
1526 |
{ |
|
1527 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1528 |
rm -f conftest.$ac_objext |
|
1529 |
if { { ac_try="$ac_compile" |
|
1530 |
case "(($ac_try" in |
|
1531 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1532 |
*) ac_try_echo=$ac_try;; |
|
1533 |
esac |
|
1534 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1535 |
$as_echo "$ac_try_echo"; } >&5 |
|
1536 |
(eval "$ac_compile") 2>conftest.err |
|
1537 |
ac_status=$? |
|
1538 |
if test -s conftest.err; then |
|
1539 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1540 |
cat conftest.er1 >&5 |
|
1541 |
mv -f conftest.er1 conftest.err |
|
1542 |
fi |
|
1543 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1544 |
test $ac_status = 0; } && { |
|
1545 |
test -z "$ac_c_werror_flag" || |
|
1546 |
test ! -s conftest.err |
|
1547 |
} && test -s conftest.$ac_objext; then : |
|
1548 |
ac_retval=0 |
|
1549 |
else |
|
1550 |
$as_echo "$as_me: failed program was:" >&5 |
|
1551 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1552 |
|
|
1553 |
ac_retval=1 |
|
1554 |
fi |
|
1555 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1556 |
as_fn_set_status $ac_retval |
|
1557 |
|
|
1558 |
} @%:@ ac_fn_c_try_compile |
|
1559 |
|
|
1560 |
@%:@ ac_fn_c_try_link LINENO |
|
1561 |
@%:@ ----------------------- |
|
1562 |
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. |
|
1563 |
ac_fn_c_try_link () |
|
1564 |
{ |
|
1565 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1566 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1567 |
if { { ac_try="$ac_link" |
|
1568 |
case "(($ac_try" in |
|
1569 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1570 |
*) ac_try_echo=$ac_try;; |
|
1571 |
esac |
|
1572 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1573 |
$as_echo "$ac_try_echo"; } >&5 |
|
1574 |
(eval "$ac_link") 2>conftest.err |
|
1575 |
ac_status=$? |
|
1576 |
if test -s conftest.err; then |
|
1577 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1578 |
cat conftest.er1 >&5 |
|
1579 |
mv -f conftest.er1 conftest.err |
|
1580 |
fi |
|
1581 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1582 |
test $ac_status = 0; } && { |
|
1583 |
test -z "$ac_c_werror_flag" || |
|
1584 |
test ! -s conftest.err |
|
1585 |
} && test -s conftest$ac_exeext && { |
|
1586 |
test "$cross_compiling" = yes || |
|
1587 |
test -x conftest$ac_exeext |
|
1588 |
}; then : |
|
1589 |
ac_retval=0 |
|
1590 |
else |
|
1591 |
$as_echo "$as_me: failed program was:" >&5 |
|
1592 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1593 |
|
|
1594 |
ac_retval=1 |
|
1595 |
fi |
|
1596 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1597 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1598 |
# interfere with the next link command; also delete a directory that is |
|
1599 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1600 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1601 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1602 |
as_fn_set_status $ac_retval |
|
1603 |
|
|
1604 |
} @%:@ ac_fn_c_try_link |
|
1605 |
|
|
1606 |
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1607 |
@%:@ ------------------------------------------------------- |
|
1608 |
@%:@ Tests whether HEADER exists and can be compiled using the include files in |
|
1609 |
@%:@ INCLUDES, setting the cache variable VAR accordingly. |
|
1610 |
ac_fn_c_check_header_compile () |
|
1611 |
{ |
|
1612 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1614 |
$as_echo_n "checking for $2... " >&6; } |
|
1615 |
if eval \${$3+:} false; then : |
|
1616 |
$as_echo_n "(cached) " >&6 |
|
1617 |
else |
|
1618 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1619 |
/* end confdefs.h. */ |
|
1620 |
$4 |
|
1621 |
@%:@include <$2> |
|
1622 |
_ACEOF |
|
1623 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1624 |
eval "$3=yes" |
|
1625 |
else |
|
1626 |
eval "$3=no" |
|
1627 |
fi |
|
1628 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1629 |
fi |
|
1630 |
eval ac_res=\$$3 |
|
1631 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1632 |
$as_echo "$ac_res" >&6; } |
|
1633 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1634 |
|
|
1635 |
} @%:@ ac_fn_c_check_header_compile |
|
1636 |
|
|
1637 |
@%:@ ac_fn_c_try_cpp LINENO |
|
1638 |
@%:@ ---------------------- |
|
1639 |
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. |
|
1640 |
ac_fn_c_try_cpp () |
|
1641 |
{ |
|
1642 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1643 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1644 |
case "(($ac_try" in |
|
1645 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1646 |
*) ac_try_echo=$ac_try;; |
|
1647 |
esac |
|
1648 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1649 |
$as_echo "$ac_try_echo"; } >&5 |
|
1650 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1651 |
ac_status=$? |
|
1652 |
if test -s conftest.err; then |
|
1653 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1654 |
cat conftest.er1 >&5 |
|
1655 |
mv -f conftest.er1 conftest.err |
|
1656 |
fi |
|
1657 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1658 |
test $ac_status = 0; } > conftest.i && { |
|
1659 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1660 |
test ! -s conftest.err |
|
1661 |
}; then : |
|
1662 |
ac_retval=0 |
|
1663 |
else |
|
1664 |
$as_echo "$as_me: failed program was:" >&5 |
|
1665 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1666 |
|
|
1667 |
ac_retval=1 |
|
1668 |
fi |
|
1669 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1670 |
as_fn_set_status $ac_retval |
|
1671 |
|
|
1672 |
} @%:@ ac_fn_c_try_cpp |
|
1673 |
|
|
1674 |
@%:@ ac_fn_c_try_run LINENO |
|
1675 |
@%:@ ---------------------- |
|
1676 |
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes |
|
1677 |
@%:@ that executables *can* be run. |
|
1678 |
ac_fn_c_try_run () |
|
1679 |
{ |
|
1680 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1681 |
if { { ac_try="$ac_link" |
|
1682 |
case "(($ac_try" in |
|
1683 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1684 |
*) ac_try_echo=$ac_try;; |
|
1685 |
esac |
|
1686 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1687 |
$as_echo "$ac_try_echo"; } >&5 |
|
1688 |
(eval "$ac_link") 2>&5 |
|
1689 |
ac_status=$? |
|
1690 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1691 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1692 |
{ { case "(($ac_try" in |
|
1693 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1694 |
*) ac_try_echo=$ac_try;; |
|
1695 |
esac |
|
1696 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1697 |
$as_echo "$ac_try_echo"; } >&5 |
|
1698 |
(eval "$ac_try") 2>&5 |
|
1699 |
ac_status=$? |
|
1700 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1701 |
test $ac_status = 0; }; }; then : |
|
1702 |
ac_retval=0 |
|
1703 |
else |
|
1704 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1705 |
$as_echo "$as_me: failed program was:" >&5 |
|
1706 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1707 |
|
|
1708 |
ac_retval=$ac_status |
|
1709 |
fi |
|
1710 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1711 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1712 |
as_fn_set_status $ac_retval |
|
1713 |
|
|
1714 |
} @%:@ ac_fn_c_try_run |
|
1715 |
|
|
1716 |
@%:@ ac_fn_c_check_func LINENO FUNC VAR |
|
1717 |
@%:@ ---------------------------------- |
|
1718 |
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1719 |
ac_fn_c_check_func () |
|
1720 |
{ |
|
1721 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1722 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1723 |
$as_echo_n "checking for $2... " >&6; } |
|
1724 |
if eval \${$3+:} false; then : |
|
1725 |
$as_echo_n "(cached) " >&6 |
|
1726 |
else |
|
1727 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1728 |
/* end confdefs.h. */ |
|
1729 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1730 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1731 |
#define $2 innocuous_$2 |
|
1732 |
|
|
1733 |
/* System header to define __stub macros and hopefully few prototypes, |
|
1734 |
which can conflict with char $2 (); below. |
|
1735 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1736 |
<limits.h> exists even on freestanding compilers. */ |
|
1737 |
|
|
1738 |
#ifdef __STDC__ |
|
1739 |
# include <limits.h> |
|
1740 |
#else |
|
1741 |
# include <assert.h> |
|
1742 |
#endif |
|
1743 |
|
|
1744 |
#undef $2 |
|
1745 |
|
|
1746 |
/* Override any GCC internal prototype to avoid an error. |
|
1747 |
Use char because int might match the return type of a GCC |
|
1748 |
builtin and then its argument prototype would still apply. */ |
|
1749 |
#ifdef __cplusplus |
|
1750 |
extern "C" |
|
1751 |
#endif |
|
1752 |
char $2 (); |
|
1753 |
/* The GNU C library defines this for functions which it implements |
|
1754 |
to always fail with ENOSYS. Some functions are actually named |
|
1755 |
something starting with __ and the normal name is an alias. */ |
|
1756 |
#if defined __stub_$2 || defined __stub___$2 |
|
1757 |
choke me |
|
1758 |
#endif |
|
1759 |
|
|
1760 |
int |
|
1761 |
main () |
|
1762 |
{ |
|
1763 |
return $2 (); |
|
1764 |
; |
|
1765 |
return 0; |
|
1766 |
} |
|
1767 |
_ACEOF |
|
1768 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1769 |
eval "$3=yes" |
|
1770 |
else |
|
1771 |
eval "$3=no" |
|
1772 |
fi |
|
1773 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1774 |
conftest$ac_exeext conftest.$ac_ext |
|
1775 |
fi |
|
1776 |
eval ac_res=\$$3 |
|
1777 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1778 |
$as_echo "$ac_res" >&6; } |
|
1779 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1780 |
|
|
1781 |
} @%:@ ac_fn_c_check_func |
|
1782 |
|
|
1783 |
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
1784 |
@%:@ ------------------------------------------------------- |
|
1785 |
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
1786 |
@%:@ the include files in INCLUDES and setting the cache variable VAR |
|
1787 |
@%:@ accordingly. |
|
1788 |
ac_fn_c_check_header_mongrel () |
|
1789 |
{ |
|
1790 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1791 |
if eval \${$3+:} false; then : |
|
1792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1793 |
$as_echo_n "checking for $2... " >&6; } |
|
1794 |
if eval \${$3+:} false; then : |
|
1795 |
$as_echo_n "(cached) " >&6 |
|
1796 |
fi |
|
1797 |
eval ac_res=\$$3 |
|
1798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1799 |
$as_echo "$ac_res" >&6; } |
|
1800 |
else |
|
1801 |
# Is the header compilable? |
|
1802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1803 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1804 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1805 |
/* end confdefs.h. */ |
|
1806 |
$4 |
|
1807 |
@%:@include <$2> |
|
1808 |
_ACEOF |
|
1809 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1810 |
ac_header_compiler=yes |
|
1811 |
else |
|
1812 |
ac_header_compiler=no |
|
1813 |
fi |
|
1814 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1816 |
$as_echo "$ac_header_compiler" >&6; } |
|
1817 |
|
|
1818 |
# Is the header present? |
|
1819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1820 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1821 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1822 |
/* end confdefs.h. */ |
|
1823 |
@%:@include <$2> |
|
1824 |
_ACEOF |
|
1825 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1826 |
ac_header_preproc=yes |
|
1827 |
else |
|
1828 |
ac_header_preproc=no |
|
1829 |
fi |
|
1830 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
1831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
1832 |
$as_echo "$ac_header_preproc" >&6; } |
|
1833 |
|
|
1834 |
# So? What about this header? |
|
1835 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1836 |
yes:no: ) |
|
1837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1838 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1840 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1841 |
;; |
|
1842 |
no:yes:* ) |
|
1843 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1844 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1845 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1846 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1848 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1849 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1850 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1851 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1852 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1853 |
( $as_echo "## ----------------------------------- ## |
|
1854 |
## Report this to samo.penic@gmail.com ## |
|
1855 |
## ----------------------------------- ##" |
|
1856 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
|
1857 |
;; |
|
1858 |
esac |
|
1859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1860 |
$as_echo_n "checking for $2... " >&6; } |
|
1861 |
if eval \${$3+:} false; then : |
|
1862 |
$as_echo_n "(cached) " >&6 |
|
1863 |
else |
|
1864 |
eval "$3=\$ac_header_compiler" |
|
1865 |
fi |
|
1866 |
eval ac_res=\$$3 |
|
1867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1868 |
$as_echo "$ac_res" >&6; } |
|
1869 |
fi |
|
1870 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1871 |
|
|
1872 |
} @%:@ ac_fn_c_check_header_mongrel |
|
1873 |
|
|
1874 |
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
|
1875 |
@%:@ ------------------------------------------- |
|
1876 |
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache |
|
1877 |
@%:@ variable VAR accordingly. |
|
1878 |
ac_fn_c_check_type () |
|
1879 |
{ |
|
1880 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1881 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1882 |
$as_echo_n "checking for $2... " >&6; } |
|
1883 |
if eval \${$3+:} false; then : |
|
1884 |
$as_echo_n "(cached) " >&6 |
|
1885 |
else |
|
1886 |
eval "$3=no" |
|
1887 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1888 |
/* end confdefs.h. */ |
|
1889 |
$4 |
|
1890 |
int |
|
1891 |
main () |
|
1892 |
{ |
|
1893 |
if (sizeof ($2)) |
|
1894 |
return 0; |
|
1895 |
; |
|
1896 |
return 0; |
|
1897 |
} |
|
1898 |
_ACEOF |
|
1899 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1900 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1901 |
/* end confdefs.h. */ |
|
1902 |
$4 |
|
1903 |
int |
|
1904 |
main () |
|
1905 |
{ |
|
1906 |
if (sizeof (($2))) |
|
1907 |
return 0; |
|
1908 |
; |
|
1909 |
return 0; |
|
1910 |
} |
|
1911 |
_ACEOF |
|
1912 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1913 |
|
|
1914 |
else |
|
1915 |
eval "$3=yes" |
|
1916 |
fi |
|
1917 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1918 |
fi |
|
1919 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1920 |
fi |
|
1921 |
eval ac_res=\$$3 |
|
1922 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1923 |
$as_echo "$ac_res" >&6; } |
|
1924 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1925 |
|
|
1926 |
} @%:@ ac_fn_c_check_type |
|
1927 |
cat >config.log <<_ACEOF |
|
1928 |
This file contains any messages produced by compilers while |
|
1929 |
running configure, to aid debugging if configure makes a mistake. |
|
1930 |
|
|
1931 |
It was created by sizif-helpers $as_me 0.2, which was |
|
1932 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
1933 |
|
|
1934 |
$ $0 $@ |
|
1935 |
|
|
1936 |
_ACEOF |
|
1937 |
exec 5>>config.log |
|
1938 |
{ |
|
1939 |
cat <<_ASUNAME |
|
1940 |
## --------- ## |
|
1941 |
## Platform. ## |
|
1942 |
## --------- ## |
|
1943 |
|
|
1944 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1945 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1946 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1947 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1948 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1949 |
|
|
1950 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1951 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1952 |
|
|
1953 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1954 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1955 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1956 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
1957 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1958 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1959 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1960 |
|
|
1961 |
_ASUNAME |
|
1962 |
|
|
1963 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1964 |
for as_dir in $PATH |
|
1965 |
do |
|
1966 |
IFS=$as_save_IFS |
|
1967 |
test -z "$as_dir" && as_dir=. |
|
1968 |
$as_echo "PATH: $as_dir" |
|
1969 |
done |
|
1970 |
IFS=$as_save_IFS |
|
1971 |
|
|
1972 |
} >&5 |
|
1973 |
|
|
1974 |
cat >&5 <<_ACEOF |
|
1975 |
|
|
1976 |
|
|
1977 |
## ----------- ## |
|
1978 |
## Core tests. ## |
|
1979 |
## ----------- ## |
|
1980 |
|
|
1981 |
_ACEOF |
|
1982 |
|
|
1983 |
|
|
1984 |
# Keep a trace of the command line. |
|
1985 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
1986 |
# Strip out --silent because we don't want to record it for future runs. |
|
1987 |
# Also quote any args containing shell meta-characters. |
|
1988 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
1989 |
ac_configure_args= |
|
1990 |
ac_configure_args0= |
|
1991 |
ac_configure_args1= |
|
1992 |
ac_must_keep_next=false |
|
1993 |
for ac_pass in 1 2 |
|
1994 |
do |
|
1995 |
for ac_arg |
|
1996 |
do |
|
1997 |
case $ac_arg in |
|
1998 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1999 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
2000 |
| -silent | --silent | --silen | --sile | --sil) |
|
2001 |
continue ;; |
|
2002 |
*\'*) |
|
2003 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2004 |
esac |
|
2005 |
case $ac_pass in |
|
2006 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
2007 |
2) |
|
2008 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
2009 |
if test $ac_must_keep_next = true; then |
|
2010 |
ac_must_keep_next=false # Got value, back to normal. |
|
2011 |
else |
|
2012 |
case $ac_arg in |
|
2013 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
2014 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
2015 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
2016 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
2017 |
case "$ac_configure_args0 " in |
|
2018 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2019 |
esac |
|
2020 |
;; |
|
2021 |
-* ) ac_must_keep_next=true ;; |
|
2022 |
esac |
|
2023 |
fi |
|
2024 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
2025 |
;; |
|
2026 |
esac |
|
2027 |
done |
|
2028 |
done |
|
2029 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
2030 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
2031 |
|
|
2032 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
2033 |
# config.log. We remove comments because anyway the quotes in there |
|
2034 |
# would cause problems or look ugly. |
|
2035 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
2036 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
2037 |
trap 'exit_status=$? |
|
2038 |
# Save into config.log some information that might help in debugging. |
|
2039 |
{ |
|
2040 |
echo |
|
2041 |
|
|
2042 |
$as_echo "## ---------------- ## |
|
2043 |
## Cache variables. ## |
|
2044 |
## ---------------- ##" |
|
2045 |
echo |
|
2046 |
# The following way of writing the cache mishandles newlines in values, |
|
2047 |
( |
|
2048 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2049 |
eval ac_val=\$$ac_var |
|
2050 |
case $ac_val in #( |
|
2051 |
*${as_nl}*) |
|
2052 |
case $ac_var in #( |
|
2053 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
2054 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
2055 |
esac |
|
2056 |
case $ac_var in #( |
|
2057 |
_ | IFS | as_nl) ;; #( |
|
2058 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
2059 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
2060 |
esac ;; |
|
2061 |
esac |
|
2062 |
done |
|
2063 |
(set) 2>&1 | |
|
2064 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
2065 |
*${as_nl}ac_space=\ *) |
|
2066 |
sed -n \ |
|
2067 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
2068 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2069 |
;; #( |
|
2070 |
*) |
|
2071 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
2072 |
;; |
|
2073 |
esac | |
|
2074 |
sort |
|
2075 |
) |
|
2076 |
echo |
|
2077 |
|
|
2078 |
$as_echo "## ----------------- ## |
|
2079 |
## Output variables. ## |
|
2080 |
## ----------------- ##" |
|
2081 |
echo |
|
2082 |
for ac_var in $ac_subst_vars |
|
2083 |
do |
|
2084 |
eval ac_val=\$$ac_var |
|
2085 |
case $ac_val in |
|
2086 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2087 |
esac |
|
2088 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2089 |
done | sort |
|
2090 |
echo |
|
2091 |
|
|
2092 |
if test -n "$ac_subst_files"; then |
|
2093 |
$as_echo "## ------------------- ## |
|
2094 |
## File substitutions. ## |
|
2095 |
## ------------------- ##" |
|
2096 |
echo |
|
2097 |
for ac_var in $ac_subst_files |
|
2098 |
do |
|
2099 |
eval ac_val=\$$ac_var |
|
2100 |
case $ac_val in |
|
2101 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2102 |
esac |
|
2103 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2104 |
done | sort |
|
2105 |
echo |
|
2106 |
fi |
|
2107 |
|
|
2108 |
if test -s confdefs.h; then |
|
2109 |
$as_echo "## ----------- ## |
|
2110 |
## confdefs.h. ## |
|
2111 |
## ----------- ##" |
|
2112 |
echo |
|
2113 |
cat confdefs.h |
|
2114 |
echo |
|
2115 |
fi |
|
2116 |
test "$ac_signal" != 0 && |
|
2117 |
$as_echo "$as_me: caught signal $ac_signal" |
|
2118 |
$as_echo "$as_me: exit $exit_status" |
|
2119 |
} >&5 |
|
2120 |
rm -f core *.core core.conftest.* && |
|
2121 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
2122 |
exit $exit_status |
|
2123 |
' 0 |
|
2124 |
for ac_signal in 1 2 13 15; do |
|
2125 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
2126 |
done |
|
2127 |
ac_signal=0 |
|
2128 |
|
|
2129 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
2130 |
rm -f -r conftest* confdefs.h |
|
2131 |
|
|
2132 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
2133 |
|
|
2134 |
# Predefined preprocessor variables. |
|
2135 |
|
|
2136 |
cat >>confdefs.h <<_ACEOF |
|
2137 |
@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
|
2138 |
_ACEOF |
|
2139 |
|
|
2140 |
cat >>confdefs.h <<_ACEOF |
|
2141 |
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2142 |
_ACEOF |
|
2143 |
|
|
2144 |
cat >>confdefs.h <<_ACEOF |
|
2145 |
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2146 |
_ACEOF |
|
2147 |
|
|
2148 |
cat >>confdefs.h <<_ACEOF |
|
2149 |
@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
|
2150 |
_ACEOF |
|
2151 |
|
|
2152 |
cat >>confdefs.h <<_ACEOF |
|
2153 |
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2154 |
_ACEOF |
|
2155 |
|
|
2156 |
cat >>confdefs.h <<_ACEOF |
|
2157 |
@%:@define PACKAGE_URL "$PACKAGE_URL" |
|
2158 |
_ACEOF |
|
2159 |
|
|
2160 |
|
|
2161 |
# Let the site file select an alternate cache file if it wants to. |
|
2162 |
# Prefer an explicitly selected file to automatically selected ones. |
|
2163 |
ac_site_file1=NONE |
|
2164 |
ac_site_file2=NONE |
|
2165 |
if test -n "$CONFIG_SITE"; then |
|
2166 |
# We do not want a PATH search for config.site. |
|
2167 |
case $CONFIG_SITE in @%:@(( |
|
2168 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2169 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2170 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2171 |
esac |
|
2172 |
elif test "x$prefix" != xNONE; then |
|
2173 |
ac_site_file1=$prefix/share/config.site |
|
2174 |
ac_site_file2=$prefix/etc/config.site |
|
2175 |
else |
|
2176 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
2177 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
2178 |
fi |
|
2179 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2180 |
do |
|
2181 |
test "x$ac_site_file" = xNONE && continue |
|
2182 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2183 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2184 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2185 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
2186 |
. "$ac_site_file" \ |
|
2187 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2188 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2189 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2190 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2191 |
fi |
|
2192 |
done |
|
2193 |
|
|
2194 |
if test -r "$cache_file"; then |
|
2195 |
# Some versions of bash will fail to source /dev/null (special files |
|
2196 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2197 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2199 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2200 |
case $cache_file in |
|
2201 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2202 |
*) . "./$cache_file";; |
|
2203 |
esac |
|
2204 |
fi |
|
2205 |
else |
|
2206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2207 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2208 |
>$cache_file |
|
2209 |
fi |
|
2210 |
|
|
2211 |
# Check that the precious variables saved in the cache have kept the same |
|
2212 |
# value. |
|
2213 |
ac_cache_corrupted=false |
|
2214 |
for ac_var in $ac_precious_vars; do |
|
2215 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2216 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2217 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2218 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2219 |
case $ac_old_set,$ac_new_set in |
|
2220 |
set,) |
|
2221 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2222 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2223 |
ac_cache_corrupted=: ;; |
|
2224 |
,set) |
|
2225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2226 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2227 |
ac_cache_corrupted=: ;; |
|
2228 |
,);; |
|
2229 |
*) |
|
2230 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2231 |
# differences in whitespace do not lead to failure. |
|
2232 |
ac_old_val_w=`echo x $ac_old_val` |
|
2233 |
ac_new_val_w=`echo x $ac_new_val` |
|
2234 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2235 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2236 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2237 |
ac_cache_corrupted=: |
|
2238 |
else |
|
2239 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2240 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2241 |
eval $ac_var=\$ac_old_val |
|
2242 |
fi |
|
2243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2244 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2246 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2247 |
fi;; |
|
2248 |
esac |
|
2249 |
# Pass precious variables to config.status. |
|
2250 |
if test "$ac_new_set" = set; then |
|
2251 |
case $ac_new_val in |
|
2252 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2253 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
2254 |
esac |
|
2255 |
case " $ac_configure_args " in |
|
2256 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2257 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2258 |
esac |
|
2259 |
fi |
|
2260 |
done |
|
2261 |
if $ac_cache_corrupted; then |
|
2262 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2263 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2265 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2266 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2267 |
fi |
|
2268 |
## -------------------- ## |
|
2269 |
## Main body of script. ## |
|
2270 |
## -------------------- ## |
|
2271 |
|
|
2272 |
ac_ext=c |
|
2273 |
ac_cpp='$CPP $CPPFLAGS' |
|
2274 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2275 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2276 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2277 |
|
|
2278 |
|
|
2279 |
am__api_version='1.15' |
|
2280 |
|
|
2281 |
ac_aux_dir= |
|
2282 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2283 |
if test -f "$ac_dir/install-sh"; then |
|
2284 |
ac_aux_dir=$ac_dir |
|
2285 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2286 |
break |
|
2287 |
elif test -f "$ac_dir/install.sh"; then |
|
2288 |
ac_aux_dir=$ac_dir |
|
2289 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2290 |
break |
|
2291 |
elif test -f "$ac_dir/shtool"; then |
|
2292 |
ac_aux_dir=$ac_dir |
|
2293 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2294 |
break |
|
2295 |
fi |
|
2296 |
done |
|
2297 |
if test -z "$ac_aux_dir"; then |
|
2298 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
2299 |
fi |
|
2300 |
|
|
2301 |
# These three variables are undocumented and unsupported, |
|
2302 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2303 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2304 |
# whose full name contains unusual characters. |
|
2305 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2306 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2307 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2308 |
|
|
2309 |
|
|
2310 |
# Find a good install program. We prefer a C program (faster), |
|
2311 |
# so one script is as good as another. But avoid the broken or |
|
2312 |
# incompatible versions: |
|
2313 |
# SysV /etc/install, /usr/sbin/install |
|
2314 |
# SunOS /usr/etc/install |
|
2315 |
# IRIX /sbin/install |
|
2316 |
# AIX /bin/install |
|
2317 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2318 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2319 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2320 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2321 |
# OS/2's system install, which has a completely different semantic |
|
2322 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
2323 |
# Reject install programs that cannot install multiple files. |
|
2324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2325 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2326 |
if test -z "$INSTALL"; then |
|
2327 |
if ${ac_cv_path_install+:} false; then : |
|
2328 |
$as_echo_n "(cached) " >&6 |
|
2329 |
else |
|
2330 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2331 |
for as_dir in $PATH |
|
2332 |
do |
|
2333 |
IFS=$as_save_IFS |
|
2334 |
test -z "$as_dir" && as_dir=. |
|
2335 |
# Account for people who put trailing slashes in PATH elements. |
|
2336 |
case $as_dir/ in @%:@(( |
|
2337 |
./ | .// | /[cC]/* | \ |
|
2338 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2339 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2340 |
/usr/ucb/* ) ;; |
|
2341 |
*) |
|
2342 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2343 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2344 |
# by default. |
|
2345 |
for ac_prog in ginstall scoinst install; do |
|
2346 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2347 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
2348 |
if test $ac_prog = install && |
|
2349 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2350 |
# AIX install. It has an incompatible calling convention. |
|
2351 |
: |
|
2352 |
elif test $ac_prog = install && |
|
2353 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2354 |
# program-specific install script used by HP pwplus--don't use. |
|
2355 |
: |
|
2356 |
else |
|
2357 |
rm -rf conftest.one conftest.two conftest.dir |
|
2358 |
echo one > conftest.one |
|
2359 |
echo two > conftest.two |
|
2360 |
mkdir conftest.dir |
|
2361 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2362 |
test -s conftest.one && test -s conftest.two && |
|
2363 |
test -s conftest.dir/conftest.one && |
|
2364 |
test -s conftest.dir/conftest.two |
|
2365 |
then |
|
2366 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2367 |
break 3 |
|
2368 |
fi |
|
2369 |
fi |
|
2370 |
fi |
|
2371 |
done |
|
2372 |
done |
|
2373 |
;; |
|
2374 |
esac |
|
2375 |
|
|
2376 |
done |
|
2377 |
IFS=$as_save_IFS |
|
2378 |
|
|
2379 |
rm -rf conftest.one conftest.two conftest.dir |
|
2380 |
|
|
2381 |
fi |
|
2382 |
if test "${ac_cv_path_install+set}" = set; then |
|
2383 |
INSTALL=$ac_cv_path_install |
|
2384 |
else |
|
2385 |
# As a last resort, use the slow shell script. Don't cache a |
|
2386 |
# value for INSTALL within a source directory, because that will |
|
2387 |
# break other packages using the cache if that directory is |
|
2388 |
# removed, or if the value is a relative name. |
|
2389 |
INSTALL=$ac_install_sh |
|
2390 |
fi |
|
2391 |
fi |
|
2392 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2393 |
$as_echo "$INSTALL" >&6; } |
|
2394 |
|
|
2395 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2396 |
# It thinks the first close brace ends the variable substitution. |
|
2397 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2398 |
|
|
2399 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2400 |
|
|
2401 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2402 |
|
|
2403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2404 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2405 |
# Reject unsafe characters in $srcdir or the absolute working directory |
|
2406 |
# name. Accept space and tab only in the latter. |
|
2407 |
am_lf=' |
|
2408 |
' |
|
2409 |
case `pwd` in |
|
2410 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
2411 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2412 |
esac |
|
2413 |
case $srcdir in |
|
2414 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2415 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
2416 |
esac |
|
2417 |
|
|
2418 |
# Do 'set' in a subshell so we don't clobber the current shell's |
|
2419 |
# arguments. Must try -L first in case configure is actually a |
|
2420 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2421 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2422 |
# directory). |
|
2423 |
if ( |
|
2424 |
am_has_slept=no |
|
2425 |
for am_try in 1 2; do |
|
2426 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2427 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2428 |
if test "$*" = "X"; then |
|
2429 |
# -L didn't work. |
|
2430 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2431 |
fi |
|
2432 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2433 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2434 |
|
|
2435 |
# If neither matched, then we have a broken ls. This can happen |
|
2436 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2437 |
# broken ls alias from the environment. This has actually |
|
2438 |
# happened. Such a system could not be considered "sane". |
|
2439 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2440 |
alias in your environment" "$LINENO" 5 |
|
2441 |
fi |
|
2442 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2443 |
break |
|
2444 |
fi |
|
2445 |
# Just in case. |
|
2446 |
sleep 1 |
|
2447 |
am_has_slept=yes |
|
2448 |
done |
|
2449 |
test "$2" = conftest.file |
|
2450 |
) |
|
2451 |
then |
|
2452 |
# Ok. |
|
2453 |
: |
|
2454 |
else |
|
2455 |
as_fn_error $? "newly created file is older than distributed files! |
|
2456 |
Check your system clock" "$LINENO" 5 |
|
2457 |
fi |
|
2458 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2459 |
$as_echo "yes" >&6; } |
|
2460 |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
2461 |
# generated files are strictly newer. |
|
2462 |
am_sleep_pid= |
|
2463 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2464 |
( sleep 1 ) & |
|
2465 |
am_sleep_pid=$! |
|
2466 |
fi |
|
2467 |
|
|
2468 |
rm -f conftest.file |
|
2469 |
|
|
2470 |
test "$program_prefix" != NONE && |
|
2471 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2472 |
# Use a double $ so make ignores it. |
|
2473 |
test "$program_suffix" != NONE && |
|
2474 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2475 |
# Double any \ or $. |
|
2476 |
# By default was `s,x,x', remove it if useless. |
|
2477 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2478 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2479 |
|
|
2480 |
# Expand $ac_aux_dir to an absolute path. |
|
2481 |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
2482 |
|
|
2483 |
if test x"${MISSING+set}" != xset; then |
|
2484 |
case $am_aux_dir in |
|
2485 |
*\ * | *\ *) |
|
2486 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2487 |
*) |
|
2488 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2489 |
esac |
|
2490 |
fi |
|
2491 |
# Use eval to expand $SHELL |
|
2492 |
if eval "$MISSING --is-lightweight"; then |
|
2493 |
am_missing_run="$MISSING " |
|
2494 |
else |
|
2495 |
am_missing_run= |
|
2496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
|
2497 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
2498 |
fi |
|
2499 |
|
|
2500 |
if test x"${install_sh+set}" != xset; then |
|
2501 |
case $am_aux_dir in |
|
2502 |
*\ * | *\ *) |
|
2503 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2504 |
*) |
|
2505 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2506 |
esac |
|
2507 |
fi |
|
2508 |
|
|
2509 |
# Installed binaries are usually stripped using 'strip' when the user |
|
2510 |
# run "make install-strip". However 'strip' might not be the right |
|
2511 |
# tool to use in cross-compilation environments, therefore Automake |
|
2512 |
# will honor the 'STRIP' environment variable to overrule this program. |
|
2513 |
if test "$cross_compiling" != no; then |
|
2514 |
if test -n "$ac_tool_prefix"; then |
|
2515 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2516 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2517 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2518 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2519 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
2520 |
$as_echo_n "(cached) " >&6 |
|
2521 |
else |
|
2522 |
if test -n "$STRIP"; then |
|
2523 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2524 |
else |
|
2525 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2526 |
for as_dir in $PATH |
|
2527 |
do |
|
2528 |
IFS=$as_save_IFS |
|
2529 |
test -z "$as_dir" && as_dir=. |
|
2530 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2531 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2532 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2533 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2534 |
break 2 |
|
2535 |
fi |
|
2536 |
done |
|
2537 |
done |
|
2538 |
IFS=$as_save_IFS |
|
2539 |
|
|
2540 |
fi |
|
2541 |
fi |
|
2542 |
STRIP=$ac_cv_prog_STRIP |
|
2543 |
if test -n "$STRIP"; then |
|
2544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2545 |
$as_echo "$STRIP" >&6; } |
|
2546 |
else |
|
2547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2548 |
$as_echo "no" >&6; } |
|
2549 |
fi |
|
2550 |
|
|
2551 |
|
|
2552 |
fi |
|
2553 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2554 |
ac_ct_STRIP=$STRIP |
|
2555 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2556 |
set dummy strip; ac_word=$2 |
|
2557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2558 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2559 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
2560 |
$as_echo_n "(cached) " >&6 |
|
2561 |
else |
|
2562 |
if test -n "$ac_ct_STRIP"; then |
|
2563 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2564 |
else |
|
2565 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2566 |
for as_dir in $PATH |
|
2567 |
do |
|
2568 |
IFS=$as_save_IFS |
|
2569 |
test -z "$as_dir" && as_dir=. |
|
2570 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2571 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2572 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
2573 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2574 |
break 2 |
|
2575 |
fi |
|
2576 |
done |
|
2577 |
done |
|
2578 |
IFS=$as_save_IFS |
|
2579 |
|
|
2580 |
fi |
|
2581 |
fi |
|
2582 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2583 |
if test -n "$ac_ct_STRIP"; then |
|
2584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2585 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
2586 |
else |
|
2587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2588 |
$as_echo "no" >&6; } |
|
2589 |
fi |
|
2590 |
|
|
2591 |
if test "x$ac_ct_STRIP" = x; then |
|
2592 |
STRIP=":" |
|
2593 |
else |
|
2594 |
case $cross_compiling:$ac_tool_warned in |
|
2595 |
yes:) |
|
2596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2597 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2598 |
ac_tool_warned=yes ;; |
|
2599 |
esac |
|
2600 |
STRIP=$ac_ct_STRIP |
|
2601 |
fi |
|
2602 |
else |
|
2603 |
STRIP="$ac_cv_prog_STRIP" |
|
2604 |
fi |
|
2605 |
|
|
2606 |
fi |
|
2607 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2608 |
|
|
2609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2610 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2611 |
if test -z "$MKDIR_P"; then |
|
2612 |
if ${ac_cv_path_mkdir+:} false; then : |
|
2613 |
$as_echo_n "(cached) " >&6 |
|
2614 |
else |
|
2615 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2616 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2617 |
do |
|
2618 |
IFS=$as_save_IFS |
|
2619 |
test -z "$as_dir" && as_dir=. |
|
2620 |
for ac_prog in mkdir gmkdir; do |
|
2621 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2622 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
2623 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2624 |
'mkdir (GNU coreutils) '* | \ |
|
2625 |
'mkdir (coreutils) '* | \ |
|
2626 |
'mkdir (fileutils) '4.1*) |
|
2627 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2628 |
break 3;; |
|
2629 |
esac |
|
2630 |
done |
|
2631 |
done |
|
2632 |
done |
|
2633 |
IFS=$as_save_IFS |
|
2634 |
|
|
2635 |
fi |
|
2636 |
|
|
2637 |
test -d ./--version && rmdir ./--version |
|
2638 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2639 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2640 |
else |
|
2641 |
# As a last resort, use the slow shell script. Don't cache a |
|
2642 |
# value for MKDIR_P within a source directory, because that will |
|
2643 |
# break other packages using the cache if that directory is |
|
2644 |
# removed, or if the value is a relative name. |
|
2645 |
MKDIR_P="$ac_install_sh -d" |
|
2646 |
fi |
|
2647 |
fi |
|
2648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2649 |
$as_echo "$MKDIR_P" >&6; } |
|
2650 |
|
|
2651 |
for ac_prog in gawk mawk nawk awk |
|
2652 |
do |
|
2653 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2654 |
set dummy $ac_prog; ac_word=$2 |
|
2655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2656 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2657 |
if ${ac_cv_prog_AWK+:} false; then : |
|
2658 |
$as_echo_n "(cached) " >&6 |
|
2659 |
else |
|
2660 |
if test -n "$AWK"; then |
|
2661 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2662 |
else |
|
2663 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2664 |
for as_dir in $PATH |
|
2665 |
do |
|
2666 |
IFS=$as_save_IFS |
|
2667 |
test -z "$as_dir" && as_dir=. |
|
2668 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2669 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2670 |
ac_cv_prog_AWK="$ac_prog" |
|
2671 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2672 |
break 2 |
|
2673 |
fi |
|
2674 |
done |
|
2675 |
done |
|
2676 |
IFS=$as_save_IFS |
|
2677 |
|
|
2678 |
fi |
|
2679 |
fi |
|
2680 |
AWK=$ac_cv_prog_AWK |
|
2681 |
if test -n "$AWK"; then |
|
2682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2683 |
$as_echo "$AWK" >&6; } |
|
2684 |
else |
|
2685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2686 |
$as_echo "no" >&6; } |
|
2687 |
fi |
|
2688 |
|
|
2689 |
|
|
2690 |
test -n "$AWK" && break |
|
2691 |
done |
|
2692 |
|
|
2693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2694 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2695 |
set x ${MAKE-make} |
|
2696 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2697 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
2698 |
$as_echo_n "(cached) " >&6 |
|
2699 |
else |
|
2700 |
cat >conftest.make <<\_ACEOF |
|
2701 |
SHELL = /bin/sh |
|
2702 |
all: |
|
2703 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2704 |
_ACEOF |
|
2705 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2706 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2707 |
*@@@%%%=?*=@@@%%%*) |
|
2708 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2709 |
*) |
|
2710 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2711 |
esac |
|
2712 |
rm -f conftest.make |
|
2713 |
fi |
|
2714 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2716 |
$as_echo "yes" >&6; } |
|
2717 |
SET_MAKE= |
|
2718 |
else |
|
2719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2720 |
$as_echo "no" >&6; } |
|
2721 |
SET_MAKE="MAKE=${MAKE-make}" |
|
2722 |
fi |
|
2723 |
|
|
2724 |
rm -rf .tst 2>/dev/null |
|
2725 |
mkdir .tst 2>/dev/null |
|
2726 |
if test -d .tst; then |
|
2727 |
am__leading_dot=. |
|
2728 |
else |
|
2729 |
am__leading_dot=_ |
|
2730 |
fi |
|
2731 |
rmdir .tst 2>/dev/null |
|
2732 |
|
|
2733 |
@%:@ Check whether --enable-silent-rules was given. |
|
2734 |
if test "${enable_silent_rules+set}" = set; then : |
|
2735 |
enableval=$enable_silent_rules; |
|
2736 |
fi |
|
2737 |
|
|
2738 |
case $enable_silent_rules in @%:@ ((( |
|
2739 |
yes) AM_DEFAULT_VERBOSITY=0;; |
|
2740 |
no) AM_DEFAULT_VERBOSITY=1;; |
|
2741 |
*) AM_DEFAULT_VERBOSITY=1;; |
|
2742 |
esac |
|
2743 |
am_make=${MAKE-make} |
|
2744 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
2745 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
2746 |
if ${am_cv_make_support_nested_variables+:} false; then : |
|
2747 |
$as_echo_n "(cached) " >&6 |
|
2748 |
else |
|
2749 |
if $as_echo 'TRUE=$(BAR$(V)) |
|
2750 |
BAR0=false |
|
2751 |
BAR1=true |
|
2752 |
V=1 |
|
2753 |
am__doit: |
|
2754 |
@$(TRUE) |
|
2755 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
2756 |
am_cv_make_support_nested_variables=yes |
|
2757 |
else |
|
2758 |
am_cv_make_support_nested_variables=no |
|
2759 |
fi |
|
2760 |
fi |
|
2761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
2762 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
2763 |
if test $am_cv_make_support_nested_variables = yes; then |
|
2764 |
AM_V='$(V)' |
|
2765 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
2766 |
else |
|
2767 |
AM_V=$AM_DEFAULT_VERBOSITY |
|
2768 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
2769 |
fi |
|
2770 |
AM_BACKSLASH='\' |
|
2771 |
|
|
2772 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2773 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2774 |
# is not polluted with repeated "-I." |
|
2775 |
am__isrc=' -I$(srcdir)' |
|
2776 |
# test to see if srcdir already configured |
|
2777 |
if test -f $srcdir/config.status; then |
|
2778 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2779 |
fi |
|
2780 |
fi |
|
2781 |
|
|
2782 |
# test whether we have cygpath |
|
2783 |
if test -z "$CYGPATH_W"; then |
|
2784 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2785 |
CYGPATH_W='cygpath -w' |
|
2786 |
else |
|
2787 |
CYGPATH_W=echo |
|
2788 |
fi |
|
2789 |
fi |
|
2790 |
|
|
2791 |
|
|
2792 |
# Define the identity of the package. |
|
2793 |
PACKAGE='sizif-helpers' |
|
2794 |
VERSION='0.2' |
|
2795 |
|
|
2796 |
|
|
2797 |
cat >>confdefs.h <<_ACEOF |
|
2798 |
@%:@define PACKAGE "$PACKAGE" |
|
2799 |
_ACEOF |
|
2800 |
|
|
2801 |
|
|
2802 |
cat >>confdefs.h <<_ACEOF |
|
2803 |
@%:@define VERSION "$VERSION" |
|
2804 |
_ACEOF |
|
2805 |
|
|
2806 |
# Some tools Automake needs. |
|
2807 |
|
|
2808 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2809 |
|
|
2810 |
|
|
2811 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2812 |
|
|
2813 |
|
|
2814 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2815 |
|
|
2816 |
|
|
2817 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2818 |
|
|
2819 |
|
|
2820 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2821 |
|
|
2822 |
# For better backward compatibility. To be removed once Automake 1.9.x |
|
2823 |
# dies out for good. For more background, see: |
|
2824 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
2825 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
2826 |
mkdir_p='$(MKDIR_P)' |
|
2827 |
|
|
2828 |
# We need awk for the "check" target (and possibly the TAP driver). The |
|
2829 |
# system "awk" is bad on some platforms. |
|
2830 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
|
2831 |
# in the wild :-( We should find a proper way to deprecate it ... |
|
2832 |
AMTAR='$${TAR-tar}' |
|
2833 |
|
|
2834 |
|
|
2835 |
# We'll loop over all known methods to create a tar archive until one works. |
|
2836 |
_am_tools='gnutar pax cpio none' |
|
2837 |
|
|
2838 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
2839 |
|
|
2840 |
|
|
2841 |
|
|
2842 |
|
|
2843 |
|
|
2844 |
|
|
2845 |
# POSIX will say in a future version that running "rm -f" with no argument |
|
2846 |
# is OK; and we want to be able to make that assumption in our Makefile |
|
2847 |
# recipes. So use an aggressive probe to check that the usage we want is |
|
2848 |
# actually supported "in the wild" to an acceptable degree. |
|
2849 |
# See automake bug#10828. |
|
2850 |
# To make any issue more visible, cause the running configure to be aborted |
|
2851 |
# by default if the 'rm' program in use doesn't match our expectations; the |
|
2852 |
# user can still override this though. |
|
2853 |
if rm -f && rm -fr && rm -rf; then : OK; else |
|
2854 |
cat >&2 <<'END' |
|
2855 |
Oops! |
|
2856 |
|
|
2857 |
Your 'rm' program seems unable to run without file operands specified |
|
2858 |
on the command line, even when the '-f' option is present. This is contrary |
|
2859 |
to the behaviour of most rm programs out there, and not conforming with |
|
2860 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
2861 |
|
|
2862 |
Please tell bug-automake@gnu.org about your system, including the value |
|
2863 |
of your $PATH and any error possibly output before this message. This |
|
2864 |
can help us improve future automake versions. |
|
2865 |
|
|
2866 |
END |
|
2867 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
2868 |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
2869 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
2870 |
echo >&2 |
|
2871 |
else |
|
2872 |
cat >&2 <<'END' |
|
2873 |
Aborting the configuration process, to ensure you take notice of the issue. |
|
2874 |
|
|
2875 |
You can download and install GNU coreutils to get an 'rm' implementation |
|
2876 |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
2877 |
|
|
2878 |
If you want to complete the configuration process using your problematic |
|
2879 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
2880 |
to "yes", and re-run configure. |
|
2881 |
|
|
2882 |
END |
|
2883 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
2884 |
fi |
|
2885 |
fi |
|
2886 |
|
|
2887 |
|
|
2888 |
ac_config_headers="$ac_config_headers config.h" |
|
2889 |
|
|
2890 |
# Checks for programs. |
|
2891 |
ac_ext=c |
|
2892 |
ac_cpp='$CPP $CPPFLAGS' |
|
2893 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2894 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2895 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2896 |
if test -n "$ac_tool_prefix"; then |
|
2897 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
2898 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
2899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2900 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2901 |
if ${ac_cv_prog_CC+:} false; then : |
|
2902 |
$as_echo_n "(cached) " >&6 |
|
2903 |
else |
|
2904 |
if test -n "$CC"; then |
|
2905 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2906 |
else |
|
2907 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2908 |
for as_dir in $PATH |
|
2909 |
do |
|
2910 |
IFS=$as_save_IFS |
|
2911 |
test -z "$as_dir" && as_dir=. |
|
2912 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2913 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2914 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
2915 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2916 |
break 2 |
|
2917 |
fi |
|
2918 |
done |
|
2919 |
done |
|
2920 |
IFS=$as_save_IFS |
|
2921 |
|
|
2922 |
fi |
|
2923 |
fi |
|
2924 |
CC=$ac_cv_prog_CC |
|
2925 |
if test -n "$CC"; then |
|
2926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
2927 |
$as_echo "$CC" >&6; } |
|
2928 |
else |
|
2929 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2930 |
$as_echo "no" >&6; } |
|
2931 |
fi |
|
2932 |
|
|
2933 |
|
|
2934 |
fi |
|
2935 |
if test -z "$ac_cv_prog_CC"; then |
|
2936 |
ac_ct_CC=$CC |
|
2937 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
2938 |
set dummy gcc; ac_word=$2 |
|
2939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2940 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2941 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
2942 |
$as_echo_n "(cached) " >&6 |
|
2943 |
else |
|
2944 |
if test -n "$ac_ct_CC"; then |
|
2945 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2946 |
else |
|
2947 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2948 |
for as_dir in $PATH |
|
2949 |
do |
|
2950 |
IFS=$as_save_IFS |
|
2951 |
test -z "$as_dir" && as_dir=. |
|
2952 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2953 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2954 |
ac_cv_prog_ac_ct_CC="gcc" |
|
2955 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2956 |
break 2 |
|
2957 |
fi |
|
2958 |
done |
|
2959 |
done |
|
2960 |
IFS=$as_save_IFS |
|
2961 |
|
|
2962 |
fi |
|
2963 |
fi |
|
2964 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2965 |
if test -n "$ac_ct_CC"; then |
|
2966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
2967 |
$as_echo "$ac_ct_CC" >&6; } |
|
2968 |
else |
|
2969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2970 |
$as_echo "no" >&6; } |
|
2971 |
fi |
|
2972 |
|
|
2973 |
if test "x$ac_ct_CC" = x; then |
|
2974 |
CC="" |
|
2975 |
else |
|
2976 |
case $cross_compiling:$ac_tool_warned in |
|
2977 |
yes:) |
|
2978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2979 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2980 |
ac_tool_warned=yes ;; |
|
2981 |
esac |
|
2982 |
CC=$ac_ct_CC |
|
2983 |
fi |
|
2984 |
else |
|
2985 |
CC="$ac_cv_prog_CC" |
|
2986 |
fi |
|
2987 |
|
|
2988 |
if test -z "$CC"; then |
|
2989 |
if test -n "$ac_tool_prefix"; then |
|
2990 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
2991 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
2992 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2993 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2994 |
if ${ac_cv_prog_CC+:} false; then : |
|
2995 |
$as_echo_n "(cached) " >&6 |
|
2996 |
else |
|
2997 |
if test -n "$CC"; then |
|
2998 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2999 |
else |
|
3000 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3001 |
for as_dir in $PATH |
|
3002 |
do |
|
3003 |
IFS=$as_save_IFS |
|
3004 |
test -z "$as_dir" && as_dir=. |
|
3005 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3006 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3007 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
3008 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3009 |
break 2 |
|
3010 |
fi |
|
3011 |
done |
|
3012 |
done |
|
3013 |
IFS=$as_save_IFS |
|
3014 |
|
|
3015 |
fi |
|
3016 |
fi |
|
3017 |
CC=$ac_cv_prog_CC |
|
3018 |
if test -n "$CC"; then |
|
3019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3020 |
$as_echo "$CC" >&6; } |
|
3021 |
else |
|
3022 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3023 |
$as_echo "no" >&6; } |
|
3024 |
fi |
|
3025 |
|
|
3026 |
|
|
3027 |
fi |
|
3028 |
fi |
|
3029 |
if test -z "$CC"; then |
|
3030 |
# Extract the first word of "cc", so it can be a program name with args. |
|
3031 |
set dummy cc; ac_word=$2 |
|
3032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3033 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3034 |
if ${ac_cv_prog_CC+:} false; then : |
|
3035 |
$as_echo_n "(cached) " >&6 |
|
3036 |
else |
|
3037 |
if test -n "$CC"; then |
|
3038 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3039 |
else |
|
3040 |
ac_prog_rejected=no |
|
3041 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3042 |
for as_dir in $PATH |
|
3043 |
do |
|
3044 |
IFS=$as_save_IFS |
|
3045 |
test -z "$as_dir" && as_dir=. |
|
3046 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3047 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3048 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3049 |
ac_prog_rejected=yes |
|
3050 |
continue |
|
3051 |
fi |
|
3052 |
ac_cv_prog_CC="cc" |
|
3053 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3054 |
break 2 |
|
3055 |
fi |
|
3056 |
done |
|
3057 |
done |
|
3058 |
IFS=$as_save_IFS |
|
3059 |
|
|
3060 |
if test $ac_prog_rejected = yes; then |
|
3061 |
# We found a bogon in the path, so make sure we never use it. |
|
3062 |
set dummy $ac_cv_prog_CC |
|
3063 |
shift |
|
3064 |
if test $@%:@ != 0; then |
|
3065 |
# We chose a different compiler from the bogus one. |
|
3066 |
# However, it has the same basename, so the bogon will be chosen |
|
3067 |
# first if we set CC to just the basename; use the full file name. |
|
3068 |
shift |
|
3069 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3070 |
fi |
|
3071 |
fi |
|
3072 |
fi |
|
3073 |
fi |
|
3074 |
CC=$ac_cv_prog_CC |
|
3075 |
if test -n "$CC"; then |
|
3076 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3077 |
$as_echo "$CC" >&6; } |
|
3078 |
else |
|
3079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3080 |
$as_echo "no" >&6; } |
|
3081 |
fi |
|
3082 |
|
|
3083 |
|
|
3084 |
fi |
|
3085 |
if test -z "$CC"; then |
|
3086 |
if test -n "$ac_tool_prefix"; then |
|
3087 |
for ac_prog in cl.exe |
|
3088 |
do |
|
3089 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3090 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
3091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3092 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3093 |
if ${ac_cv_prog_CC+:} false; then : |
|
3094 |
$as_echo_n "(cached) " >&6 |
|
3095 |
else |
|
3096 |
if test -n "$CC"; then |
|
3097 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3098 |
else |
|
3099 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3100 |
for as_dir in $PATH |
|
3101 |
do |
|
3102 |
IFS=$as_save_IFS |
|
3103 |
test -z "$as_dir" && as_dir=. |
|
3104 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3105 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3106 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
3107 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3108 |
break 2 |
|
3109 |
fi |
|
3110 |
done |
|
3111 |
done |
|
3112 |
IFS=$as_save_IFS |
|
3113 |
|
|
3114 |
fi |
|
3115 |
fi |
|
3116 |
CC=$ac_cv_prog_CC |
|
3117 |
if test -n "$CC"; then |
|
3118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3119 |
$as_echo "$CC" >&6; } |
|
3120 |
else |
|
3121 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3122 |
$as_echo "no" >&6; } |
|
3123 |
fi |
|
3124 |
|
|
3125 |
|
|
3126 |
test -n "$CC" && break |
|
3127 |
done |
|
3128 |
fi |
|
3129 |
if test -z "$CC"; then |
|
3130 |
ac_ct_CC=$CC |
|
3131 |
for ac_prog in cl.exe |
|
3132 |
do |
|
3133 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3134 |
set dummy $ac_prog; ac_word=$2 |
|
3135 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3136 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3137 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3138 |
$as_echo_n "(cached) " >&6 |
|
3139 |
else |
|
3140 |
if test -n "$ac_ct_CC"; then |
|
3141 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3142 |
else |
|
3143 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3144 |
for as_dir in $PATH |
|
3145 |
do |
|
3146 |
IFS=$as_save_IFS |
|
3147 |
test -z "$as_dir" && as_dir=. |
|
3148 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3149 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3150 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3151 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3152 |
break 2 |
|
3153 |
fi |
|
3154 |
done |
|
3155 |
done |
|
3156 |
IFS=$as_save_IFS |
|
3157 |
|
|
3158 |
fi |
|
3159 |
fi |
|
3160 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3161 |
if test -n "$ac_ct_CC"; then |
|
3162 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3163 |
$as_echo "$ac_ct_CC" >&6; } |
|
3164 |
else |
|
3165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3166 |
$as_echo "no" >&6; } |
|
3167 |
fi |
|
3168 |
|
|
3169 |
|
|
3170 |
test -n "$ac_ct_CC" && break |
|
3171 |
done |
|
3172 |
|
|
3173 |
if test "x$ac_ct_CC" = x; then |
|
3174 |
CC="" |
|
3175 |
else |
|
3176 |
case $cross_compiling:$ac_tool_warned in |
|
3177 |
yes:) |
|
3178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3179 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3180 |
ac_tool_warned=yes ;; |
|
3181 |
esac |
|
3182 |
CC=$ac_ct_CC |
|
3183 |
fi |
|
3184 |
fi |
|
3185 |
|
|
3186 |
fi |
|
3187 |
|
|
3188 |
|
|
3189 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3190 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3191 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
3192 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3193 |
|
|
3194 |
# Provide some information about the compiler. |
|
3195 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3196 |
set X $ac_compile |
|
3197 |
ac_compiler=$2 |
|
3198 |
for ac_option in --version -v -V -qversion; do |
|
3199 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3200 |
case "(($ac_try" in |
|
3201 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3202 |
*) ac_try_echo=$ac_try;; |
|
3203 |
esac |
|
3204 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3205 |
$as_echo "$ac_try_echo"; } >&5 |
|
3206 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3207 |
ac_status=$? |
|
3208 |
if test -s conftest.err; then |
|
3209 |
sed '10a\ |
|
3210 |
... rest of stderr output deleted ... |
|
3211 |
10q' conftest.err >conftest.er1 |
|
3212 |
cat conftest.er1 >&5 |
|
3213 |
fi |
|
3214 |
rm -f conftest.er1 conftest.err |
|
3215 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3216 |
test $ac_status = 0; } |
|
3217 |
done |
|
3218 |
|
|
3219 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3220 |
/* end confdefs.h. */ |
|
3221 |
|
|
3222 |
int |
|
3223 |
main () |
|
3224 |
{ |
|
3225 |
|
|
3226 |
; |
|
3227 |
return 0; |
|
3228 |
} |
|
3229 |
_ACEOF |
|
3230 |
ac_clean_files_save=$ac_clean_files |
|
3231 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
3232 |
# Try to create an executable without -o first, disregard a.out. |
|
3233 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
3234 |
# of exeext. |
|
3235 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
3236 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
3237 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3238 |
|
|
3239 |
# The possible output files: |
|
3240 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3241 |
|
|
3242 |
ac_rmfiles= |
|
3243 |
for ac_file in $ac_files |
|
3244 |
do |
|
3245 |
case $ac_file in |
|
3246 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3247 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3248 |
esac |
|
3249 |
done |
|
3250 |
rm -f $ac_rmfiles |
|
3251 |
|
|
3252 |
if { { ac_try="$ac_link_default" |
|
3253 |
case "(($ac_try" in |
|
3254 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3255 |
*) ac_try_echo=$ac_try;; |
|
3256 |
esac |
|
3257 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3258 |
$as_echo "$ac_try_echo"; } >&5 |
|
3259 |
(eval "$ac_link_default") 2>&5 |
|
3260 |
ac_status=$? |
|
3261 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3262 |
test $ac_status = 0; }; then : |
|
3263 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3264 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3265 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3266 |
# so that the user can short-circuit this test for compilers unknown to |
|
3267 |
# Autoconf. |
|
3268 |
for ac_file in $ac_files '' |
|
3269 |
do |
|
3270 |
test -f "$ac_file" || continue |
|
3271 |
case $ac_file in |
|
3272 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3273 |
;; |
|
3274 |
[ab].out ) |
|
3275 |
# We found the default executable, but exeext='' is most |
|
3276 |
# certainly right. |
|
3277 |
break;; |
|
3278 |
*.* ) |
|
3279 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3280 |
then :; else |
|
3281 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3282 |
fi |
|
3283 |
# We set ac_cv_exeext here because the later test for it is not |
|
3284 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3285 |
# argument, so we may need to know it at that point already. |
|
3286 |
# Even if this section looks crufty: it has the advantage of |
|
3287 |
# actually working. |
|
3288 |
break;; |
|
3289 |
* ) |
|
3290 |
break;; |
|
3291 |
esac |
|
3292 |
done |
|
3293 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3294 |
|
|
3295 |
else |
|
3296 |
ac_file='' |
|
3297 |
fi |
|
3298 |
if test -z "$ac_file"; then : |
|
3299 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3300 |
$as_echo "no" >&6; } |
|
3301 |
$as_echo "$as_me: failed program was:" >&5 |
|
3302 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3303 |
|
|
3304 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3305 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3306 |
as_fn_error 77 "C compiler cannot create executables |
|
3307 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3308 |
else |
|
3309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3310 |
$as_echo "yes" >&6; } |
|
3311 |
fi |
|
3312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3313 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3315 |
$as_echo "$ac_file" >&6; } |
|
3316 |
ac_exeext=$ac_cv_exeext |
|
3317 |
|
|
3318 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
3319 |
ac_clean_files=$ac_clean_files_save |
|
3320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3321 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3322 |
if { { ac_try="$ac_link" |
|
3323 |
case "(($ac_try" in |
|
3324 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3325 |
*) ac_try_echo=$ac_try;; |
|
3326 |
esac |
|
3327 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3328 |
$as_echo "$ac_try_echo"; } >&5 |
|
3329 |
(eval "$ac_link") 2>&5 |
|
3330 |
ac_status=$? |
|
3331 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3332 |
test $ac_status = 0; }; then : |
|
3333 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3334 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3335 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3336 |
# `rm'. |
|
3337 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3338 |
test -f "$ac_file" || continue |
|
3339 |
case $ac_file in |
|
3340 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3341 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3342 |
break;; |
|
3343 |
* ) break;; |
|
3344 |
esac |
|
3345 |
done |
|
3346 |
else |
|
3347 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3348 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3349 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
3350 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3351 |
fi |
|
3352 |
rm -f conftest conftest$ac_cv_exeext |
|
3353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3354 |
$as_echo "$ac_cv_exeext" >&6; } |
|
3355 |
|
|
3356 |
rm -f conftest.$ac_ext |
|
3357 |
EXEEXT=$ac_cv_exeext |
|
3358 |
ac_exeext=$EXEEXT |
|
3359 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3360 |
/* end confdefs.h. */ |
|
3361 |
@%:@include <stdio.h> |
|
3362 |
int |
|
3363 |
main () |
|
3364 |
{ |
|
3365 |
FILE *f = fopen ("conftest.out", "w"); |
|
3366 |
return ferror (f) || fclose (f) != 0; |
|
3367 |
|
|
3368 |
; |
|
3369 |
return 0; |
|
3370 |
} |
|
3371 |
_ACEOF |
|
3372 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3373 |
# Check that the compiler produces executables we can run. If not, either |
|
3374 |
# the compiler is broken, or we cross compile. |
|
3375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3376 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3377 |
if test "$cross_compiling" != yes; then |
|
3378 |
{ { ac_try="$ac_link" |
|
3379 |
case "(($ac_try" in |
|
3380 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3381 |
*) ac_try_echo=$ac_try;; |
|
3382 |
esac |
|
3383 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3384 |
$as_echo "$ac_try_echo"; } >&5 |
|
3385 |
(eval "$ac_link") 2>&5 |
|
3386 |
ac_status=$? |
|
3387 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3388 |
test $ac_status = 0; } |
|
3389 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3390 |
{ { case "(($ac_try" in |
|
3391 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3392 |
*) ac_try_echo=$ac_try;; |
|
3393 |
esac |
|
3394 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3395 |
$as_echo "$ac_try_echo"; } >&5 |
|
3396 |
(eval "$ac_try") 2>&5 |
|
3397 |
ac_status=$? |
|
3398 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3399 |
test $ac_status = 0; }; }; then |
|
3400 |
cross_compiling=no |
|
3401 |
else |
|
3402 |
if test "$cross_compiling" = maybe; then |
|
3403 |
cross_compiling=yes |
|
3404 |
else |
|
3405 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3406 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3407 |
as_fn_error $? "cannot run C compiled programs. |
|
3408 |
If you meant to cross compile, use \`--host'. |
|
3409 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3410 |
fi |
|
3411 |
fi |
|
3412 |
fi |
|
3413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3414 |
$as_echo "$cross_compiling" >&6; } |
|
3415 |
|
|
3416 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3417 |
ac_clean_files=$ac_clean_files_save |
|
3418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3419 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
3420 |
if ${ac_cv_objext+:} false; then : |
|
3421 |
$as_echo_n "(cached) " >&6 |
|
3422 |
else |
|
3423 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3424 |
/* end confdefs.h. */ |
|
3425 |
|
|
3426 |
int |
|
3427 |
main () |
|
3428 |
{ |
|
3429 |
|
|
3430 |
; |
|
3431 |
return 0; |
|
3432 |
} |
|
3433 |
_ACEOF |
|
3434 |
rm -f conftest.o conftest.obj |
|
3435 |
if { { ac_try="$ac_compile" |
|
3436 |
case "(($ac_try" in |
|
3437 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3438 |
*) ac_try_echo=$ac_try;; |
|
3439 |
esac |
|
3440 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3441 |
$as_echo "$ac_try_echo"; } >&5 |
|
3442 |
(eval "$ac_compile") 2>&5 |
|
3443 |
ac_status=$? |
|
3444 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3445 |
test $ac_status = 0; }; then : |
|
3446 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3447 |
test -f "$ac_file" || continue; |
|
3448 |
case $ac_file in |
|
3449 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3450 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3451 |
break;; |
|
3452 |
esac |
|
3453 |
done |
|
3454 |
else |
|
3455 |
$as_echo "$as_me: failed program was:" >&5 |
|
3456 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3457 |
|
|
3458 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3459 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3460 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
3461 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3462 |
fi |
|
3463 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3464 |
fi |
|
3465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3466 |
$as_echo "$ac_cv_objext" >&6; } |
|
3467 |
OBJEXT=$ac_cv_objext |
|
3468 |
ac_objext=$OBJEXT |
|
3469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
3470 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
3471 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
3472 |
$as_echo_n "(cached) " >&6 |
|
3473 |
else |
|
3474 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3475 |
/* end confdefs.h. */ |
|
3476 |
|
|
3477 |
int |
|
3478 |
main () |
|
3479 |
{ |
|
3480 |
#ifndef __GNUC__ |
|
3481 |
choke me |
|
3482 |
#endif |
|
3483 |
|
|
3484 |
; |
|
3485 |
return 0; |
|
3486 |
} |
|
3487 |
_ACEOF |
|
3488 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3489 |
ac_compiler_gnu=yes |
|
3490 |
else |
|
3491 |
ac_compiler_gnu=no |
|
3492 |
fi |
|
3493 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3494 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3495 |
|
|
3496 |
fi |
|
3497 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
3498 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
3499 |
if test $ac_compiler_gnu = yes; then |
|
3500 |
GCC=yes |
|
3501 |
else |
|
3502 |
GCC= |
|
3503 |
fi |
|
3504 |
ac_test_CFLAGS=${CFLAGS+set} |
|
3505 |
ac_save_CFLAGS=$CFLAGS |
|
3506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
3507 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
3508 |
if ${ac_cv_prog_cc_g+:} false; then : |
|
3509 |
$as_echo_n "(cached) " >&6 |
|
3510 |
else |
|
3511 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
3512 |
ac_c_werror_flag=yes |
|
3513 |
ac_cv_prog_cc_g=no |
|
3514 |
CFLAGS="-g" |
|
3515 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3516 |
/* end confdefs.h. */ |
|
3517 |
|
|
3518 |
int |
|
3519 |
main () |
|
3520 |
{ |
|
3521 |
|
|
3522 |
; |
|
3523 |
return 0; |
|
3524 |
} |
|
3525 |
_ACEOF |
|
3526 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3527 |
ac_cv_prog_cc_g=yes |
|
3528 |
else |
|
3529 |
CFLAGS="" |
|
3530 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3531 |
/* end confdefs.h. */ |
|
3532 |
|
|
3533 |
int |
|
3534 |
main () |
|
3535 |
{ |
|
3536 |
|
|
3537 |
; |
|
3538 |
return 0; |
|
3539 |
} |
|
3540 |
_ACEOF |
|
3541 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3542 |
|
|
3543 |
else |
|
3544 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3545 |
CFLAGS="-g" |
|
3546 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3547 |
/* end confdefs.h. */ |
|
3548 |
|
|
3549 |
int |
|
3550 |
main () |
|
3551 |
{ |
|
3552 |
|
|
3553 |
; |
|
3554 |
return 0; |
|
3555 |
} |
|
3556 |
_ACEOF |
|
3557 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3558 |
ac_cv_prog_cc_g=yes |
|
3559 |
fi |
|
3560 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3561 |
fi |
|
3562 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3563 |
fi |
|
3564 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3565 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3566 |
fi |
|
3567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
3568 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
3569 |
if test "$ac_test_CFLAGS" = set; then |
|
3570 |
CFLAGS=$ac_save_CFLAGS |
|
3571 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3572 |
if test "$GCC" = yes; then |
|
3573 |
CFLAGS="-g -O2" |
|
3574 |
else |
|
3575 |
CFLAGS="-g" |
|
3576 |
fi |
|
3577 |
else |
|
3578 |
if test "$GCC" = yes; then |
|
3579 |
CFLAGS="-O2" |
|
3580 |
else |
|
3581 |
CFLAGS= |
|
3582 |
fi |
|
3583 |
fi |
|
3584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
3585 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
3586 |
if ${ac_cv_prog_cc_c89+:} false; then : |
|
3587 |
$as_echo_n "(cached) " >&6 |
|
3588 |
else |
|
3589 |
ac_cv_prog_cc_c89=no |
|
3590 |
ac_save_CC=$CC |
|
3591 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3592 |
/* end confdefs.h. */ |
|
3593 |
#include <stdarg.h> |
|
3594 |
#include <stdio.h> |
|
3595 |
struct stat; |
|
3596 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
3597 |
struct buf { int x; }; |
|
3598 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
3599 |
static char *e (p, i) |
|
3600 |
char **p; |
|
3601 |
int i; |
|
3602 |
{ |
|
3603 |
return p[i]; |
|
3604 |
} |
|
3605 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
3606 |
{ |
|
3607 |
char *s; |
|
3608 |
va_list v; |
|
3609 |
va_start (v,p); |
|
3610 |
s = g (p, va_arg (v,int)); |
|
3611 |
va_end (v); |
|
3612 |
return s; |
|
3613 |
} |
|
3614 |
|
|
3615 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
3616 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
3617 |
These don't provoke an error unfortunately, instead are silently treated |
|
3618 |
as 'x'. The following induces an error, until -std is added to get |
|
3619 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
3620 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
3621 |
that's true only with -std. */ |
|
3622 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
3623 |
|
|
3624 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
3625 |
inside strings and character constants. */ |
|
3626 |
#define FOO(x) 'x' |
|
3627 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
3628 |
|
|
3629 |
int test (int i, double x); |
|
3630 |
struct s1 {int (*f) (int a);}; |
|
3631 |
struct s2 {int (*f) (double a);}; |
|
3632 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
3633 |
int argc; |
|
3634 |
char **argv; |
|
3635 |
int |
|
3636 |
main () |
|
3637 |
{ |
|
3638 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
3639 |
; |
|
3640 |
return 0; |
|
3641 |
} |
|
3642 |
_ACEOF |
|
3643 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
3644 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
3645 |
do |
|
3646 |
CC="$ac_save_CC $ac_arg" |
|
3647 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
3648 |
ac_cv_prog_cc_c89=$ac_arg |
|
3649 |
fi |
|
3650 |
rm -f core conftest.err conftest.$ac_objext |
|
3651 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
3652 |
done |
|
3653 |
rm -f conftest.$ac_ext |
|
3654 |
CC=$ac_save_CC |
|
3655 |
|
|
3656 |
fi |
|
3657 |
# AC_CACHE_VAL |
|
3658 |
case "x$ac_cv_prog_cc_c89" in |
|
3659 |
x) |
|
3660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
3661 |
$as_echo "none needed" >&6; } ;; |
|
3662 |
xno) |
|
3663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
3664 |
$as_echo "unsupported" >&6; } ;; |
|
3665 |
*) |
|
3666 |
CC="$CC $ac_cv_prog_cc_c89" |
|
3667 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
3668 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
3669 |
esac |
|
3670 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
3671 |
|
|
3672 |
fi |
|
3673 |
|
|
3674 |
ac_ext=c |
|
3675 |
ac_cpp='$CPP $CPPFLAGS' |
|
3676 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3677 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3678 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3679 |
|
|
3680 |
ac_ext=c |
|
3681 |
ac_cpp='$CPP $CPPFLAGS' |
|
3682 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3683 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3684 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
3686 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
3687 |
if ${am_cv_prog_cc_c_o+:} false; then : |
|
3688 |
$as_echo_n "(cached) " >&6 |
|
3689 |
else |
|
3690 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3691 |
/* end confdefs.h. */ |
|
3692 |
|
|
3693 |
int |
|
3694 |
main () |
|
3695 |
{ |
|
3696 |
|
|
3697 |
; |
|
3698 |
return 0; |
|
3699 |
} |
|
3700 |
_ACEOF |
|
3701 |
# Make sure it works both with $CC and with simple cc. |
|
3702 |
# Following AC_PROG_CC_C_O, we do the test twice because some |
|
3703 |
# compilers refuse to overwrite an existing .o file with -o, |
|
3704 |
# though they will create one. |
|
3705 |
am_cv_prog_cc_c_o=yes |
|
3706 |
for am_i in 1 2; do |
|
3707 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
3708 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
3709 |
ac_status=$? |
|
3710 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3711 |
(exit $ac_status); } \ |
|
3712 |
&& test -f conftest2.$ac_objext; then |
|
3713 |
: OK |
|
3714 |
else |
|
3715 |
am_cv_prog_cc_c_o=no |
|
3716 |
break |
|
3717 |
fi |
|
3718 |
done |
|
3719 |
rm -f core conftest* |
|
3720 |
unset am_i |
|
3721 |
fi |
|
3722 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
3723 |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
3724 |
if test "$am_cv_prog_cc_c_o" != yes; then |
|
3725 |
# Losing compiler, so override with the script. |
|
3726 |
# FIXME: It is wrong to rewrite CC. |
|
3727 |
# But if we don't then we get into trouble of one sort or another. |
|
3728 |
# A longer-term fix would be to have automake use am__CC in this case, |
|
3729 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
3730 |
CC="$am_aux_dir/compile $CC" |
|
3731 |
fi |
|
3732 |
ac_ext=c |
|
3733 |
ac_cpp='$CPP $CPPFLAGS' |
|
3734 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3735 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3736 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3737 |
|
|
3738 |
DEPDIR="${am__leading_dot}deps" |
|
3739 |
|
|
3740 |
ac_config_commands="$ac_config_commands depfiles" |
|
3741 |
|
|
3742 |
|
|
3743 |
am_make=${MAKE-make} |
|
3744 |
cat > confinc << 'END' |
|
3745 |
am__doit: |
|
3746 |
@echo this is the am__doit target |
|
3747 |
.PHONY: am__doit |
|
3748 |
END |
|
3749 |
# If we don't find an include directive, just comment out the code. |
|
3750 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
3751 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
3752 |
am__include="#" |
|
3753 |
am__quote= |
|
3754 |
_am_result=none |
|
3755 |
# First try GNU make style include. |
|
3756 |
echo "include confinc" > confmf |
|
3757 |
# Ignore all kinds of additional output from 'make'. |
|
3758 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3759 |
*the\ am__doit\ target*) |
|
3760 |
am__include=include |
|
3761 |
am__quote= |
|
3762 |
_am_result=GNU |
|
3763 |
;; |
|
3764 |
esac |
|
3765 |
# Now try BSD make style include. |
|
3766 |
if test "$am__include" = "#"; then |
|
3767 |
echo '.include "confinc"' > confmf |
|
3768 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
3769 |
*the\ am__doit\ target*) |
|
3770 |
am__include=.include |
|
3771 |
am__quote="\"" |
|
3772 |
_am_result=BSD |
|
3773 |
;; |
|
3774 |
esac |
|
3775 |
fi |
|
3776 |
|
|
3777 |
|
|
3778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
3779 |
$as_echo "$_am_result" >&6; } |
|
3780 |
rm -f confinc confmf |
|
3781 |
|
|
3782 |
@%:@ Check whether --enable-dependency-tracking was given. |
|
3783 |
if test "${enable_dependency_tracking+set}" = set; then : |
|
3784 |
enableval=$enable_dependency_tracking; |
|
3785 |
fi |
|
3786 |
|
|
3787 |
if test "x$enable_dependency_tracking" != xno; then |
|
3788 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3789 |
AMDEPBACKSLASH='\' |
|
3790 |
am__nodep='_no' |
|
3791 |
fi |
|
3792 |
if test "x$enable_dependency_tracking" != xno; then |
|
3793 |
AMDEP_TRUE= |
|
3794 |
AMDEP_FALSE='#' |
|
3795 |
else |
|
3796 |
AMDEP_TRUE='#' |
|
3797 |
AMDEP_FALSE= |
|
3798 |
fi |
|
3799 |
|
|
3800 |
|
|
3801 |
|
|
3802 |
depcc="$CC" am_compiler_list= |
|
3803 |
|
|
3804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3805 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3806 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
3807 |
$as_echo_n "(cached) " >&6 |
|
3808 |
else |
|
3809 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3810 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3811 |
# making bogus files that we don't know about and never remove. For |
|
3812 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3813 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
|
3814 |
# in D". |
|
3815 |
rm -rf conftest.dir |
|
3816 |
mkdir conftest.dir |
|
3817 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3818 |
# using a relative directory. |
|
3819 |
cp "$am_depcomp" conftest.dir |
|
3820 |
cd conftest.dir |
|
3821 |
# We will build objects and dependencies in a subdirectory because |
|
3822 |
# it helps to detect inapplicable dependency modes. For instance |
|
3823 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3824 |
# side effect of compilation, but ICC will put the dependencies in |
|
3825 |
# the current directory while Tru64 will put them in the object |
|
3826 |
# directory. |
|
3827 |
mkdir sub |
|
3828 |
|
|
3829 |
am_cv_CC_dependencies_compiler_type=none |
|
3830 |
if test "$am_compiler_list" = ""; then |
|
3831 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3832 |
fi |
|
3833 |
am__universal=false |
|
3834 |
case " $depcc " in #( |
|
3835 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3836 |
esac |
|
3837 |
|
|
3838 |
for depmode in $am_compiler_list; do |
|
3839 |
# Setup a source with many dependencies, because some compilers |
|
3840 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3841 |
# we should not choose a depcomp mode which is confused by this. |
|
3842 |
# |
|
3843 |
# We need to recreate these files for each test, as the compiler may |
|
3844 |
# overwrite some of them when testing with obscure command lines. |
|
3845 |
# This happens at least with the AIX C compiler. |
|
3846 |
: > sub/conftest.c |
|
3847 |
for i in 1 2 3 4 5 6; do |
|
3848 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3849 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
3850 |
# Solaris 10 /bin/sh. |
|
3851 |
echo '/* dummy */' > sub/conftst$i.h |
|
3852 |
done |
|
3853 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3854 |
|
|
3855 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
3856 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3857 |
# handle '-M -o', and we need to detect this. Also, some Intel |
|
3858 |
# versions had trouble with output in subdirs. |
|
3859 |
am__obj=sub/conftest.${OBJEXT-o} |
|
3860 |
am__minus_obj="-o $am__obj" |
|
3861 |
case $depmode in |
|
3862 |
gcc) |
|
3863 |
# This depmode causes a compiler race in universal mode. |
|
3864 |
test "$am__universal" = false || continue |
|
3865 |
;; |
|
3866 |
nosideeffect) |
|
3867 |
# After this tag, mechanisms are not by side-effect, so they'll |
|
3868 |
# only be used when explicitly requested. |
|
3869 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3870 |
continue |
|
3871 |
else |
|
3872 |
break |
|
3873 |
fi |
|
3874 |
;; |
|
3875 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3876 |
# This compiler won't grok '-c -o', but also, the minuso test has |
|
3877 |
# not run yet. These depmodes are late enough in the game, and |
|
3878 |
# so weak that their functioning should not be impacted. |
|
3879 |
am__obj=conftest.${OBJEXT-o} |
|
3880 |
am__minus_obj= |
|
3881 |
;; |
|
3882 |
none) break ;; |
|
3883 |
esac |
|
3884 |
if depmode=$depmode \ |
|
3885 |
source=sub/conftest.c object=$am__obj \ |
|
3886 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3887 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3888 |
>/dev/null 2>conftest.err && |
|
3889 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3890 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3891 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3892 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3893 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
3894 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
3895 |
# that says an option was ignored or not supported. |
|
3896 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3897 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
3898 |
# The diagnosis changed in icc 8.0: |
|
3899 |
# icc: Command line remark: option '-MP' not supported |
|
3900 |
if (grep 'ignoring option' conftest.err || |
|
3901 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3902 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
3903 |
break |
|
3904 |
fi |
|
3905 |
fi |
|
3906 |
done |
|
3907 |
|
|
3908 |
cd .. |
|
3909 |
rm -rf conftest.dir |
|
3910 |
else |
|
3911 |
am_cv_CC_dependencies_compiler_type=none |
|
3912 |
fi |
|
3913 |
|
|
3914 |
fi |
|
3915 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
3916 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
3917 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
3918 |
|
|
3919 |
if |
|
3920 |
test "x$enable_dependency_tracking" != xno \ |
|
3921 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3922 |
am__fastdepCC_TRUE= |
|
3923 |
am__fastdepCC_FALSE='#' |
|
3924 |
else |
|
3925 |
am__fastdepCC_TRUE='#' |
|
3926 |
am__fastdepCC_FALSE= |
|
3927 |
fi |
|
3928 |
|
|
3929 |
|
|
3930 |
#AC_LANG([C]) |
|
3931 |
case `pwd` in |
|
3932 |
*\ * | *\ *) |
|
3933 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
3934 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
3935 |
esac |
|
3936 |
|
|
3937 |
|
|
3938 |
|
|
3939 |
macro_version='2.4.6' |
|
3940 |
macro_revision='2.4.6' |
|
3941 |
|
|
3942 |
|
|
3943 |
|
|
3944 |
|
|
3945 |
|
|
3946 |
|
|
3947 |
|
|
3948 |
|
|
3949 |
|
|
3950 |
|
|
3951 |
|
|
3952 |
|
|
3953 |
|
|
3954 |
ltmain=$ac_aux_dir/ltmain.sh |
|
3955 |
|
|
3956 |
# Make sure we can run config.sub. |
|
3957 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
3958 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
3959 |
|
|
3960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
3961 |
$as_echo_n "checking build system type... " >&6; } |
|
3962 |
if ${ac_cv_build+:} false; then : |
|
3963 |
$as_echo_n "(cached) " >&6 |
|
3964 |
else |
|
3965 |
ac_build_alias=$build_alias |
|
3966 |
test "x$ac_build_alias" = x && |
|
3967 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
3968 |
test "x$ac_build_alias" = x && |
|
3969 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
3970 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
3971 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
3972 |
|
|
3973 |
fi |
|
3974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
3975 |
$as_echo "$ac_cv_build" >&6; } |
|
3976 |
case $ac_cv_build in |
|
3977 |
*-*-*) ;; |
|
3978 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
3979 |
esac |
|
3980 |
build=$ac_cv_build |
|
3981 |
ac_save_IFS=$IFS; IFS='-' |
|
3982 |
set x $ac_cv_build |
|
3983 |
shift |
|
3984 |
build_cpu=$1 |
|
3985 |
build_vendor=$2 |
|
3986 |
shift; shift |
|
3987 |
# Remember, the first character of IFS is used to create $*, |
|
3988 |
# except with old shells: |
|
3989 |
build_os=$* |
|
3990 |
IFS=$ac_save_IFS |
|
3991 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
3992 |
|
|
3993 |
|
|
3994 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
3995 |
$as_echo_n "checking host system type... " >&6; } |
|
3996 |
if ${ac_cv_host+:} false; then : |
|
3997 |
$as_echo_n "(cached) " >&6 |
|
3998 |
else |
|
3999 |
if test "x$host_alias" = x; then |
|
4000 |
ac_cv_host=$ac_cv_build |
|
4001 |
else |
|
4002 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
4003 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
4004 |
fi |
|
4005 |
|
|
4006 |
fi |
|
4007 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
4008 |
$as_echo "$ac_cv_host" >&6; } |
|
4009 |
case $ac_cv_host in |
|
4010 |
*-*-*) ;; |
|
4011 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
4012 |
esac |
|
4013 |
host=$ac_cv_host |
|
4014 |
ac_save_IFS=$IFS; IFS='-' |
|
4015 |
set x $ac_cv_host |
|
4016 |
shift |
|
4017 |
host_cpu=$1 |
|
4018 |
host_vendor=$2 |
|
4019 |
shift; shift |
|
4020 |
# Remember, the first character of IFS is used to create $*, |
|
4021 |
# except with old shells: |
|
4022 |
host_os=$* |
|
4023 |
IFS=$ac_save_IFS |
|
4024 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
4025 |
|
|
4026 |
|
|
4027 |
# Backslashify metacharacters that are still active within |
|
4028 |
# double-quoted strings. |
|
4029 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
4030 |
|
|
4031 |
# Same as above, but do not quote variable references. |
|
4032 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
4033 |
|
|
4034 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
4035 |
# double_quote_subst'ed string. |
|
4036 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
4037 |
|
|
4038 |
# Sed substitution to delay expansion of an escaped single quote. |
|
4039 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
4040 |
|
|
4041 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
4042 |
no_glob_subst='s/\*/\\\*/g' |
|
4043 |
|
|
4044 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
4045 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
|
4046 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
4047 |
|
|
4048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
|
4049 |
$as_echo_n "checking how to print strings... " >&6; } |
|
4050 |
# Test print first, because it will be a builtin if present. |
|
4051 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
|
4052 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
4053 |
ECHO='print -r --' |
|
4054 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
4055 |
ECHO='printf %s\n' |
|
4056 |
else |
|
4057 |
# Use this function as a fallback that always works. |
|
4058 |
func_fallback_echo () |
|
4059 |
{ |
|
4060 |
eval 'cat <<_LTECHO_EOF |
|
4061 |
$1 |
|
4062 |
_LTECHO_EOF' |
|
4063 |
} |
|
4064 |
ECHO='func_fallback_echo' |
|
4065 |
fi |
|
4066 |
|
|
4067 |
# func_echo_all arg... |
|
4068 |
# Invoke $ECHO with all args, space-separated. |
|
4069 |
func_echo_all () |
|
4070 |
{ |
|
4071 |
$ECHO "" |
|
4072 |
} |
|
4073 |
|
|
4074 |
case $ECHO in |
|
4075 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
|
4076 |
$as_echo "printf" >&6; } ;; |
|
4077 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
|
4078 |
$as_echo "print -r" >&6; } ;; |
|
4079 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
|
4080 |
$as_echo "cat" >&6; } ;; |
|
4081 |
esac |
|
4082 |
|
|
4083 |
|
|
4084 |
|
|
4085 |
|
|
4086 |
|
|
4087 |
|
|
4088 |
|
|
4089 |
|
|
4090 |
|
|
4091 |
|
|
4092 |
|
|
4093 |
|
|
4094 |
|
|
4095 |
|
|
4096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
|
4097 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
4098 |
if ${ac_cv_path_SED+:} false; then : |
|
4099 |
$as_echo_n "(cached) " >&6 |
|
4100 |
else |
|
4101 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
4102 |
for ac_i in 1 2 3 4 5 6 7; do |
|
4103 |
ac_script="$ac_script$as_nl$ac_script" |
|
4104 |
done |
|
4105 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
4106 |
{ ac_script=; unset ac_script;} |
|
4107 |
if test -z "$SED"; then |
|
4108 |
ac_path_SED_found=false |
|
4109 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4110 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4111 |
for as_dir in $PATH |
|
4112 |
do |
|
4113 |
IFS=$as_save_IFS |
|
4114 |
test -z "$as_dir" && as_dir=. |
|
4115 |
for ac_prog in sed gsed; do |
|
4116 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4117 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
4118 |
as_fn_executable_p "$ac_path_SED" || continue |
|
4119 |
# Check for GNU ac_path_SED and select it if it is found. |
|
4120 |
# Check for GNU $ac_path_SED |
|
4121 |
case `"$ac_path_SED" --version 2>&1` in |
|
4122 |
*GNU*) |
|
4123 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
4124 |
*) |
|
4125 |
ac_count=0 |
|
4126 |
$as_echo_n 0123456789 >"conftest.in" |
|
4127 |
while : |
|
4128 |
do |
|
4129 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4130 |
mv "conftest.tmp" "conftest.in" |
|
4131 |
cp "conftest.in" "conftest.nl" |
|
4132 |
$as_echo '' >> "conftest.nl" |
|
4133 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4134 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4135 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4136 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
4137 |
# Best one so far, save it but keep looking for a better one |
|
4138 |
ac_cv_path_SED="$ac_path_SED" |
|
4139 |
ac_path_SED_max=$ac_count |
|
4140 |
fi |
|
4141 |
# 10*(2^10) chars as input seems more than enough |
|
4142 |
test $ac_count -gt 10 && break |
|
4143 |
done |
|
4144 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4145 |
esac |
|
4146 |
|
|
4147 |
$ac_path_SED_found && break 3 |
|
4148 |
done |
|
4149 |
done |
|
4150 |
done |
|
4151 |
IFS=$as_save_IFS |
|
4152 |
if test -z "$ac_cv_path_SED"; then |
|
4153 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
4154 |
fi |
|
4155 |
else |
|
4156 |
ac_cv_path_SED=$SED |
|
4157 |
fi |
|
4158 |
|
|
4159 |
fi |
|
4160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
4161 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
4162 |
SED="$ac_cv_path_SED" |
|
4163 |
rm -f conftest.sed |
|
4164 |
|
|
4165 |
test -z "$SED" && SED=sed |
|
4166 |
Xsed="$SED -e 1s/^X//" |
|
4167 |
|
|
4168 |
|
|
4169 |
|
|
4170 |
|
|
4171 |
|
|
4172 |
|
|
4173 |
|
|
4174 |
|
|
4175 |
|
|
4176 |
|
|
4177 |
|
|
4178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
4179 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
4180 |
if ${ac_cv_path_GREP+:} false; then : |
|
4181 |
$as_echo_n "(cached) " >&6 |
|
4182 |
else |
|
4183 |
if test -z "$GREP"; then |
|
4184 |
ac_path_GREP_found=false |
|
4185 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4186 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4187 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4188 |
do |
|
4189 |
IFS=$as_save_IFS |
|
4190 |
test -z "$as_dir" && as_dir=. |
|
4191 |
for ac_prog in grep ggrep; do |
|
4192 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4193 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4194 |
as_fn_executable_p "$ac_path_GREP" || continue |
|
4195 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
4196 |
# Check for GNU $ac_path_GREP |
|
4197 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4198 |
*GNU*) |
|
4199 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4200 |
*) |
|
4201 |
ac_count=0 |
|
4202 |
$as_echo_n 0123456789 >"conftest.in" |
|
4203 |
while : |
|
4204 |
do |
|
4205 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4206 |
mv "conftest.tmp" "conftest.in" |
|
4207 |
cp "conftest.in" "conftest.nl" |
|
4208 |
$as_echo 'GREP' >> "conftest.nl" |
|
4209 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4210 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4211 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4212 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
4213 |
# Best one so far, save it but keep looking for a better one |
|
4214 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4215 |
ac_path_GREP_max=$ac_count |
|
4216 |
fi |
|
4217 |
# 10*(2^10) chars as input seems more than enough |
|
4218 |
test $ac_count -gt 10 && break |
|
4219 |
done |
|
4220 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4221 |
esac |
|
4222 |
|
|
4223 |
$ac_path_GREP_found && break 3 |
|
4224 |
done |
|
4225 |
done |
|
4226 |
done |
|
4227 |
IFS=$as_save_IFS |
|
4228 |
if test -z "$ac_cv_path_GREP"; then |
|
4229 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4230 |
fi |
|
4231 |
else |
|
4232 |
ac_cv_path_GREP=$GREP |
|
4233 |
fi |
|
4234 |
|
|
4235 |
fi |
|
4236 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
4237 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
4238 |
GREP="$ac_cv_path_GREP" |
|
4239 |
|
|
4240 |
|
|
4241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
4242 |
$as_echo_n "checking for egrep... " >&6; } |
|
4243 |
if ${ac_cv_path_EGREP+:} false; then : |
|
4244 |
$as_echo_n "(cached) " >&6 |
|
4245 |
else |
|
4246 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4247 |
then ac_cv_path_EGREP="$GREP -E" |
|
4248 |
else |
|
4249 |
if test -z "$EGREP"; then |
|
4250 |
ac_path_EGREP_found=false |
|
4251 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4252 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4253 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4254 |
do |
|
4255 |
IFS=$as_save_IFS |
|
4256 |
test -z "$as_dir" && as_dir=. |
|
4257 |
for ac_prog in egrep; do |
|
4258 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4259 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4260 |
as_fn_executable_p "$ac_path_EGREP" || continue |
|
4261 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
4262 |
# Check for GNU $ac_path_EGREP |
|
4263 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4264 |
*GNU*) |
|
4265 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4266 |
*) |
|
4267 |
ac_count=0 |
|
4268 |
$as_echo_n 0123456789 >"conftest.in" |
|
4269 |
while : |
|
4270 |
do |
|
4271 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4272 |
mv "conftest.tmp" "conftest.in" |
|
4273 |
cp "conftest.in" "conftest.nl" |
|
4274 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4275 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4276 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4277 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4278 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4279 |
# Best one so far, save it but keep looking for a better one |
|
4280 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4281 |
ac_path_EGREP_max=$ac_count |
|
4282 |
fi |
|
4283 |
# 10*(2^10) chars as input seems more than enough |
|
4284 |
test $ac_count -gt 10 && break |
|
4285 |
done |
|
4286 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4287 |
esac |
|
4288 |
|
|
4289 |
$ac_path_EGREP_found && break 3 |
|
4290 |
done |
|
4291 |
done |
|
4292 |
done |
|
4293 |
IFS=$as_save_IFS |
|
4294 |
if test -z "$ac_cv_path_EGREP"; then |
|
4295 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4296 |
fi |
|
4297 |
else |
|
4298 |
ac_cv_path_EGREP=$EGREP |
|
4299 |
fi |
|
4300 |
|
|
4301 |
fi |
|
4302 |
fi |
|
4303 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
4304 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
4305 |
EGREP="$ac_cv_path_EGREP" |
|
4306 |
|
|
4307 |
|
|
4308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
|
4309 |
$as_echo_n "checking for fgrep... " >&6; } |
|
4310 |
if ${ac_cv_path_FGREP+:} false; then : |
|
4311 |
$as_echo_n "(cached) " >&6 |
|
4312 |
else |
|
4313 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
4314 |
then ac_cv_path_FGREP="$GREP -F" |
|
4315 |
else |
|
4316 |
if test -z "$FGREP"; then |
|
4317 |
ac_path_FGREP_found=false |
|
4318 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4319 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4320 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4321 |
do |
|
4322 |
IFS=$as_save_IFS |
|
4323 |
test -z "$as_dir" && as_dir=. |
|
4324 |
for ac_prog in fgrep; do |
|
4325 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4326 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4327 |
as_fn_executable_p "$ac_path_FGREP" || continue |
|
4328 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
4329 |
# Check for GNU $ac_path_FGREP |
|
4330 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
4331 |
*GNU*) |
|
4332 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
4333 |
*) |
|
4334 |
ac_count=0 |
|
4335 |
$as_echo_n 0123456789 >"conftest.in" |
|
4336 |
while : |
|
4337 |
do |
|
4338 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4339 |
mv "conftest.tmp" "conftest.in" |
|
4340 |
cp "conftest.in" "conftest.nl" |
|
4341 |
$as_echo 'FGREP' >> "conftest.nl" |
|
4342 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4343 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4344 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4345 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
4346 |
# Best one so far, save it but keep looking for a better one |
|
4347 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
4348 |
ac_path_FGREP_max=$ac_count |
|
4349 |
fi |
|
4350 |
# 10*(2^10) chars as input seems more than enough |
|
4351 |
test $ac_count -gt 10 && break |
|
4352 |
done |
|
4353 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4354 |
esac |
|
4355 |
|
|
4356 |
$ac_path_FGREP_found && break 3 |
|
4357 |
done |
|
4358 |
done |
|
4359 |
done |
|
4360 |
IFS=$as_save_IFS |
|
4361 |
if test -z "$ac_cv_path_FGREP"; then |
|
4362 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4363 |
fi |
|
4364 |
else |
|
4365 |
ac_cv_path_FGREP=$FGREP |
|
4366 |
fi |
|
4367 |
|
|
4368 |
fi |
|
4369 |
fi |
|
4370 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
|
4371 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
4372 |
FGREP="$ac_cv_path_FGREP" |
|
4373 |
|
|
4374 |
|
|
4375 |
test -z "$GREP" && GREP=grep |
|
4376 |
|
|
4377 |
|
|
4378 |
|
|
4379 |
|
|
4380 |
|
|
4381 |
|
|
4382 |
|
|
4383 |
|
|
4384 |
|
|
4385 |
|
|
4386 |
|
|
4387 |
|
|
4388 |
|
|
4389 |
|
|
4390 |
|
|
4391 |
|
|
4392 |
|
|
4393 |
|
|
4394 |
|
|
4395 |
@%:@ Check whether --with-gnu-ld was given. |
|
4396 |
if test "${with_gnu_ld+set}" = set; then : |
|
4397 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
|
4398 |
else |
|
4399 |
with_gnu_ld=no |
|
4400 |
fi |
|
4401 |
|
|
4402 |
ac_prog=ld |
|
4403 |
if test yes = "$GCC"; then |
|
4404 |
# Check if gcc -print-prog-name=ld gives a path. |
|
4405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
|
4406 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
4407 |
case $host in |
|
4408 |
*-*-mingw*) |
|
4409 |
# gcc leaves a trailing carriage return, which upsets mingw |
|
4410 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
4411 |
*) |
|
4412 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
4413 |
esac |
|
4414 |
case $ac_prog in |
|
4415 |
# Accept absolute paths. |
|
4416 |
[\\/]* | ?:[\\/]*) |
|
4417 |
re_direlt='/[^/][^/]*/\.\./' |
|
4418 |
# Canonicalize the pathname of ld |
|
4419 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
|
4420 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
4421 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
4422 |
done |
|
4423 |
test -z "$LD" && LD=$ac_prog |
|
4424 |
;; |
|
4425 |
"") |
|
4426 |
# If it fails, then pretend we aren't using GCC. |
|
4427 |
ac_prog=ld |
|
4428 |
;; |
|
4429 |
*) |
|
4430 |
# If it is relative, then search for the first ld in PATH. |
|
4431 |
with_gnu_ld=unknown |
|
4432 |
;; |
|
4433 |
esac |
|
4434 |
elif test yes = "$with_gnu_ld"; then |
|
4435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
|
4436 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
4437 |
else |
|
4438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
|
4439 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
4440 |
fi |
|
4441 |
if ${lt_cv_path_LD+:} false; then : |
|
4442 |
$as_echo_n "(cached) " >&6 |
|
4443 |
else |
|
4444 |
if test -z "$LD"; then |
|
4445 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
|
4446 |
for ac_dir in $PATH; do |
|
4447 |
IFS=$lt_save_ifs |
|
4448 |
test -z "$ac_dir" && ac_dir=. |
|
4449 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
4450 |
lt_cv_path_LD=$ac_dir/$ac_prog |
|
4451 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
4452 |
# but apparently some variants of GNU ld only accept -v. |
|
4453 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
4454 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
4455 |
*GNU* | *'with BFD'*) |
|
4456 |
test no != "$with_gnu_ld" && break |
|
4457 |
;; |
|
4458 |
*) |
|
4459 |
test yes != "$with_gnu_ld" && break |
|
4460 |
;; |
|
4461 |
esac |
|
4462 |
fi |
|
4463 |
done |
|
4464 |
IFS=$lt_save_ifs |
|
4465 |
else |
|
4466 |
lt_cv_path_LD=$LD # Let the user override the test with a path. |
|
4467 |
fi |
|
4468 |
fi |
|
4469 |
|
|
4470 |
LD=$lt_cv_path_LD |
|
4471 |
if test -n "$LD"; then |
|
4472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
|
4473 |
$as_echo "$LD" >&6; } |
|
4474 |
else |
|
4475 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4476 |
$as_echo "no" >&6; } |
|
4477 |
fi |
|
4478 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
|
4479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
|
4480 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
4481 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
|
4482 |
$as_echo_n "(cached) " >&6 |
|
4483 |
else |
|
4484 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
4485 |
case `$LD -v 2>&1 </dev/null` in |
|
4486 |
*GNU* | *'with BFD'*) |
|
4487 |
lt_cv_prog_gnu_ld=yes |
|
4488 |
;; |
|
4489 |
*) |
|
4490 |
lt_cv_prog_gnu_ld=no |
|
4491 |
;; |
|
4492 |
esac |
|
4493 |
fi |
|
4494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
|
4495 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
4496 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
4497 |
|
|
4498 |
|
|
4499 |
|
|
4500 |
|
|
4501 |
|
|
4502 |
|
|
4503 |
|
|
4504 |
|
|
4505 |
|
|
4506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
4507 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
4508 |
if ${lt_cv_path_NM+:} false; then : |
|
4509 |
$as_echo_n "(cached) " >&6 |
|
4510 |
else |
|
4511 |
if test -n "$NM"; then |
|
4512 |
# Let the user override the test. |
|
4513 |
lt_cv_path_NM=$NM |
|
4514 |
else |
|
4515 |
lt_nm_to_check=${ac_tool_prefix}nm |
|
4516 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
4517 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
4518 |
fi |
|
4519 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
4520 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
|
4521 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
4522 |
IFS=$lt_save_ifs |
|
4523 |
test -z "$ac_dir" && ac_dir=. |
|
4524 |
tmp_nm=$ac_dir/$lt_tmp_nm |
|
4525 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
|
4526 |
# Check to see if the nm accepts a BSD-compat flag. |
|
4527 |
# Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
|
4528 |
# nm: unknown option "B" ignored |
|
4529 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
4530 |
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
|
4531 |
case $build_os in |
|
4532 |
mingw*) lt_bad_file=conftest.nm/nofile ;; |
|
4533 |
*) lt_bad_file=/dev/null ;; |
|
4534 |
esac |
|
4535 |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in |
|
4536 |
*$lt_bad_file* | *'Invalid file or object type'*) |
|
4537 |
lt_cv_path_NM="$tmp_nm -B" |
|
4538 |
break 2 |
|
4539 |
;; |
|
4540 |
*) |
|
4541 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
4542 |
*/dev/null*) |
|
4543 |
lt_cv_path_NM="$tmp_nm -p" |
|
4544 |
break 2 |
|
4545 |
;; |
|
4546 |
*) |
|
4547 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
4548 |
continue # so that we can try to find one that supports BSD flags |
|
4549 |
;; |
|
4550 |
esac |
|
4551 |
;; |
|
4552 |
esac |
|
4553 |
fi |
|
4554 |
done |
|
4555 |
IFS=$lt_save_ifs |
|
4556 |
done |
|
4557 |
: ${lt_cv_path_NM=no} |
|
4558 |
fi |
|
4559 |
fi |
|
4560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
|
4561 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
4562 |
if test no != "$lt_cv_path_NM"; then |
|
4563 |
NM=$lt_cv_path_NM |
|
4564 |
else |
|
4565 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
4566 |
if test -n "$DUMPBIN"; then : |
|
4567 |
# Let the user override the test. |
|
4568 |
else |
|
4569 |
if test -n "$ac_tool_prefix"; then |
|
4570 |
for ac_prog in dumpbin "link -dump" |
|
4571 |
do |
|
4572 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
4573 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
4574 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4575 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4576 |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
|
4577 |
$as_echo_n "(cached) " >&6 |
|
4578 |
else |
|
4579 |
if test -n "$DUMPBIN"; then |
|
4580 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
4581 |
else |
|
4582 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4583 |
for as_dir in $PATH |
|
4584 |
do |
|
4585 |
IFS=$as_save_IFS |
|
4586 |
test -z "$as_dir" && as_dir=. |
|
4587 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4588 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
4589 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
4590 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4591 |
break 2 |
|
4592 |
fi |
|
4593 |
done |
|
4594 |
done |
|
4595 |
IFS=$as_save_IFS |
|
4596 |
|
|
4597 |
fi |
|
4598 |
fi |
|
4599 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
4600 |
if test -n "$DUMPBIN"; then |
|
4601 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
|
4602 |
$as_echo "$DUMPBIN" >&6; } |
|
4603 |
else |
|
4604 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4605 |
$as_echo "no" >&6; } |
|
4606 |
fi |
|
4607 |
|
|
4608 |
|
|
4609 |
test -n "$DUMPBIN" && break |
|
4610 |
done |
|
4611 |
fi |
|
4612 |
if test -z "$DUMPBIN"; then |
|
4613 |
ac_ct_DUMPBIN=$DUMPBIN |
|
4614 |
for ac_prog in dumpbin "link -dump" |
|
4615 |
do |
|
4616 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
4617 |
set dummy $ac_prog; ac_word=$2 |
|
4618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
4619 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
4620 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
|
4621 |
$as_echo_n "(cached) " >&6 |
|
4622 |
else |
|
4623 |
if test -n "$ac_ct_DUMPBIN"; then |
|
4624 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
4625 |
else |
|
4626 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4627 |
for as_dir in $PATH |
|
4628 |
do |
|
4629 |
IFS=$as_save_IFS |
|
4630 |
test -z "$as_dir" && as_dir=. |
|
4631 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4632 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
4633 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
4634 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
4635 |
break 2 |
|
4636 |
fi |
|
4637 |
done |
|
4638 |
done |
|
4639 |
IFS=$as_save_IFS |
|
4640 |
|
|
4641 |
fi |
|
4642 |
fi |
|
4643 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
4644 |
if test -n "$ac_ct_DUMPBIN"; then |
|
4645 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
|
4646 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
4647 |
else |
|
4648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
4649 |
$as_echo "no" >&6; } |
|
4650 |
fi |
|
4651 |
|
|
4652 |
|
|
4653 |
test -n "$ac_ct_DUMPBIN" && break |
|
4654 |
done |
|
4655 |
|
|
4656 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
4657 |
DUMPBIN=":" |
|
4658 |
else |
|
4659 |
case $cross_compiling:$ac_tool_warned in |
|
4660 |
yes:) |
|
4661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
4662 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
4663 |
ac_tool_warned=yes ;; |
|
4664 |
esac |
|
4665 |
DUMPBIN=$ac_ct_DUMPBIN |
|
4666 |
fi |
|
4667 |
fi |
|
4668 |
|
|
4669 |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
|
4670 |
*COFF*) |
|
4671 |
DUMPBIN="$DUMPBIN -symbols -headers" |
|
4672 |
;; |
|
4673 |
*) |
|
4674 |
DUMPBIN=: |
|
4675 |
;; |
|
4676 |
esac |
|
4677 |
fi |
|
4678 |
|
|
4679 |
if test : != "$DUMPBIN"; then |
|
4680 |
NM=$DUMPBIN |
|
4681 |
fi |
|
4682 |
fi |
|
4683 |
test -z "$NM" && NM=nm |
|
4684 |
|
|
4685 |
|
|
4686 |
|
|
4687 |
|
|
4688 |
|
|
4689 |
|
|
4690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
|
4691 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
4692 |
if ${lt_cv_nm_interface+:} false; then : |
|
4693 |
$as_echo_n "(cached) " >&6 |
|
4694 |
else |
|
4695 |
lt_cv_nm_interface="BSD nm" |
|
4696 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
4697 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
|
4698 |
(eval "$ac_compile" 2>conftest.err) |
|
4699 |
cat conftest.err >&5 |
|
4700 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
4701 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
|
4702 |
cat conftest.err >&5 |
|
4703 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
|
4704 |
cat conftest.out >&5 |
|
4705 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
4706 |
lt_cv_nm_interface="MS dumpbin" |
|
4707 |
fi |
|
4708 |
rm -f conftest* |
|
4709 |
fi |
|
4710 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
|
4711 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
4712 |
|
|
4713 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
4714 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
4715 |
LN_S=$as_ln_s |
|
4716 |
if test "$LN_S" = "ln -s"; then |
|
4717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
4718 |
$as_echo "yes" >&6; } |
|
4719 |
else |
|
4720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
4721 |
$as_echo "no, using $LN_S" >&6; } |
|
4722 |
fi |
|
4723 |
|
|
4724 |
# find the maximum length of command line arguments |
|
4725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
|
4726 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
4727 |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
|
4728 |
$as_echo_n "(cached) " >&6 |
|
4729 |
else |
|
4730 |
i=0 |
|
4731 |
teststring=ABCD |
|
4732 |
|
|
4733 |
case $build_os in |
|
4734 |
msdosdjgpp*) |
|
4735 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
4736 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
4737 |
# during glob expansion). Even if it were fixed, the result of this |
|
4738 |
# check would be larger than it should be. |
|
4739 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
4740 |
;; |
|
4741 |
|
|
4742 |
gnu*) |
|
4743 |
# Under GNU Hurd, this test is not required because there is |
|
4744 |
# no limit to the length of command line arguments. |
|
4745 |
# Libtool will interpret -1 as no limit whatsoever |
|
4746 |
lt_cv_sys_max_cmd_len=-1; |
|
4747 |
;; |
|
4748 |
|
|
4749 |
cygwin* | mingw* | cegcc*) |
|
4750 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
4751 |
# about 5 minutes as the teststring grows exponentially. |
|
4752 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
4753 |
# you end up with a "frozen" computer, even though with patience |
|
4754 |
# the test eventually succeeds (with a max line length of 256k). |
|
4755 |
# Instead, let's just punt: use the minimum linelength reported by |
|
4756 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
4757 |
lt_cv_sys_max_cmd_len=8192; |
|
4758 |
;; |
|
4759 |
|
|
4760 |
mint*) |
|
4761 |
# On MiNT this can take a long time and run out of memory. |
|
4762 |
lt_cv_sys_max_cmd_len=8192; |
|
4763 |
;; |
|
4764 |
|
|
4765 |
amigaos*) |
|
4766 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
4767 |
# So we just punt and use a minimum line length of 8192. |
|
4768 |
lt_cv_sys_max_cmd_len=8192; |
|
4769 |
;; |
|
4770 |
|
|
4771 |
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
|
4772 |
# This has been around since 386BSD, at least. Likely further. |
|
4773 |
if test -x /sbin/sysctl; then |
|
4774 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
4775 |
elif test -x /usr/sbin/sysctl; then |
|
4776 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
4777 |
else |
|
4778 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
4779 |
fi |
|
4780 |
# And add a safety zone |
|
4781 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
4782 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
4783 |
;; |
|
4784 |
|
|
4785 |
interix*) |
|
4786 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
4787 |
lt_cv_sys_max_cmd_len=196608 |
|
4788 |
;; |
|
4789 |
|
|
4790 |
os2*) |
|
4791 |
# The test takes a long time on OS/2. |
|
4792 |
lt_cv_sys_max_cmd_len=8192 |
|
4793 |
;; |
|
4794 |
|
|
4795 |
osf*) |
|
4796 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
4797 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
4798 |
# nice to cause kernel panics so lets avoid the loop below. |
|
4799 |
# First set a reasonable default. |
|
4800 |
lt_cv_sys_max_cmd_len=16384 |
|
4801 |
# |
|
4802 |
if test -x /sbin/sysconfig; then |
|
4803 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
4804 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
4805 |
esac |
|
4806 |
fi |
|
4807 |
;; |
|
4808 |
sco3.2v5*) |
|
4809 |
lt_cv_sys_max_cmd_len=102400 |
|
4810 |
;; |
|
4811 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
4812 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
4813 |
if test -n "$kargmax"; then |
|
4814 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
4815 |
else |
|
4816 |
lt_cv_sys_max_cmd_len=32768 |
|
4817 |
fi |
|
4818 |
;; |
|
4819 |
*) |
|
4820 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
4821 |
if test -n "$lt_cv_sys_max_cmd_len" && \ |
|
4822 |
test undefined != "$lt_cv_sys_max_cmd_len"; then |
|
4823 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
4824 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
4825 |
else |
|
4826 |
# Make teststring a little bigger before we do anything with it. |
|
4827 |
# a 1K string should be a reasonable start. |
|
4828 |
for i in 1 2 3 4 5 6 7 8; do |
|
4829 |
teststring=$teststring$teststring |
|
4830 |
done |
|
4831 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
4832 |
# If test is not a shell built-in, we'll probably end up computing a |
|
4833 |
# maximum length that is only half of the actual maximum length, but |
|
4834 |
# we can't tell. |
|
4835 |
while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
|
4836 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
|
4837 |
test 17 != "$i" # 1/2 MB should be enough |
|
4838 |
do |
|
4839 |
i=`expr $i + 1` |
|
4840 |
teststring=$teststring$teststring |
|
4841 |
done |
|
4842 |
# Only check the string length outside the loop. |
|
4843 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
4844 |
teststring= |
|
4845 |
# Add a significant safety factor because C++ compilers can tack on |
|
4846 |
# massive amounts of additional arguments before passing them to the |
|
4847 |
# linker. It appears as though 1/2 is a usable value. |
|
4848 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
4849 |
fi |
|
4850 |
;; |
|
4851 |
esac |
|
4852 |
|
|
4853 |
fi |
|
4854 |
|
|
4855 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
4856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
|
4857 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
4858 |
else |
|
4859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
|
4860 |
$as_echo "none" >&6; } |
|
4861 |
fi |
|
4862 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
4863 |
|
|
4864 |
|
|
4865 |
|
|
4866 |
|
|
4867 |
|
|
4868 |
|
|
4869 |
: ${CP="cp -f"} |
|
4870 |
: ${MV="mv -f"} |
|
4871 |
: ${RM="rm -f"} |
|
4872 |
|
|
4873 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
4874 |
lt_unset=unset |
|
4875 |
else |
|
4876 |
lt_unset=false |
|
4877 |
fi |
|
4878 |
|
|
4879 |
|
|
4880 |
|
|
4881 |
|
|
4882 |
|
|
4883 |
# test EBCDIC or ASCII |
|
4884 |
case `echo X|tr X '\101'` in |
|
4885 |
A) # ASCII based system |
|
4886 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
4887 |
lt_SP2NL='tr \040 \012' |
|
4888 |
lt_NL2SP='tr \015\012 \040\040' |
|
4889 |
;; |
|
4890 |
*) # EBCDIC based system |
|
4891 |
lt_SP2NL='tr \100 \n' |
|
4892 |
lt_NL2SP='tr \r\n \100\100' |
|
4893 |
;; |
|
4894 |
esac |
|
4895 |
|
|
4896 |
|
|
4897 |
|
|
4898 |
|
|
4899 |
|
|
4900 |
|
|
4901 |
|
|
4902 |
|
|
4903 |
|
|
4904 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
|
4905 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
|
4906 |
if ${lt_cv_to_host_file_cmd+:} false; then : |
|
4907 |
$as_echo_n "(cached) " >&6 |
|
4908 |
else |
|
4909 |
case $host in |
|
4910 |
*-*-mingw* ) |
|
4911 |
case $build in |
|
4912 |
*-*-mingw* ) # actually msys |
|
4913 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
|
4914 |
;; |
|
4915 |
*-*-cygwin* ) |
|
4916 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
|
4917 |
;; |
|
4918 |
* ) # otherwise, assume *nix |
|
4919 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
|
4920 |
;; |
|
4921 |
esac |
|
4922 |
;; |
|
4923 |
*-*-cygwin* ) |
|
4924 |
case $build in |
|
4925 |
*-*-mingw* ) # actually msys |
|
4926 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
|
4927 |
;; |
|
4928 |
*-*-cygwin* ) |
|
4929 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
4930 |
;; |
|
4931 |
* ) # otherwise, assume *nix |
|
4932 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
|
4933 |
;; |
|
4934 |
esac |
|
4935 |
;; |
|
4936 |
* ) # unhandled hosts (and "normal" native builds) |
|
4937 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
|
4938 |
;; |
|
4939 |
esac |
|
4940 |
|
|
4941 |
fi |
|
4942 |
|
|
4943 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
4944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
|
4945 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
4946 |
|
|
4947 |
|
|
4948 |
|
|
4949 |
|
|
4950 |
|
|
4951 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
|
4952 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
|
4953 |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
|
4954 |
$as_echo_n "(cached) " >&6 |
|
4955 |
else |
|
4956 |
#assume ordinary cross tools, or native build. |
|
4957 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
|
4958 |
case $host in |
|
4959 |
*-*-mingw* ) |
|
4960 |
case $build in |
|
4961 |
*-*-mingw* ) # actually msys |
|
4962 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
|
4963 |
;; |
|
4964 |
esac |
|
4965 |
;; |
|
4966 |
esac |
|
4967 |
|
|
4968 |
fi |
|
4969 |
|
|
4970 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
4971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
|
4972 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
4973 |
|
|
4974 |
|
|
4975 |
|
|
4976 |
|
|
4977 |
|
|
4978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
|
4979 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
4980 |
if ${lt_cv_ld_reload_flag+:} false; then : |
|
4981 |
$as_echo_n "(cached) " >&6 |
|
4982 |
else |
|
4983 |
lt_cv_ld_reload_flag='-r' |
|
4984 |
fi |
|
4985 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
|
4986 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
4987 |
reload_flag=$lt_cv_ld_reload_flag |
|
4988 |
case $reload_flag in |
|
4989 |
"" | " "*) ;; |
|
4990 |
*) reload_flag=" $reload_flag" ;; |
|
4991 |
esac |
|
4992 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
4993 |
case $host_os in |
|
4994 |
cygwin* | mingw* | pw32* | cegcc*) |
|
4995 |
if test yes != "$GCC"; then |
|
4996 |
reload_cmds=false |
|
4997 |
fi |
|
4998 |
;; |
|
4999 |
darwin*) |
|
5000 |
if test yes = "$GCC"; then |
|
5001 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
|
5002 |
else |
|
5003 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
5004 |
fi |
|
5005 |
;; |
|
5006 |
esac |
|
5007 |
|
|
5008 |
|
|
5009 |
|
|
5010 |
|
|
5011 |
|
|
5012 |
|
|
5013 |
|
|
5014 |
|
|
5015 |
|
|
5016 |
if test -n "$ac_tool_prefix"; then |
|
5017 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
5018 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
5019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5020 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5021 |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
|
5022 |
$as_echo_n "(cached) " >&6 |
|
5023 |
else |
|
5024 |
if test -n "$OBJDUMP"; then |
|
5025 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
5026 |
else |
|
5027 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5028 |
for as_dir in $PATH |
|
5029 |
do |
|
5030 |
IFS=$as_save_IFS |
|
5031 |
test -z "$as_dir" && as_dir=. |
|
5032 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5033 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5034 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
5035 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5036 |
break 2 |
|
5037 |
fi |
|
5038 |
done |
|
5039 |
done |
|
5040 |
IFS=$as_save_IFS |
|
5041 |
|
|
5042 |
fi |
|
5043 |
fi |
|
5044 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
5045 |
if test -n "$OBJDUMP"; then |
|
5046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
|
5047 |
$as_echo "$OBJDUMP" >&6; } |
|
5048 |
else |
|
5049 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5050 |
$as_echo "no" >&6; } |
|
5051 |
fi |
|
5052 |
|
|
5053 |
|
|
5054 |
fi |
|
5055 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
5056 |
ac_ct_OBJDUMP=$OBJDUMP |
|
5057 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
5058 |
set dummy objdump; ac_word=$2 |
|
5059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5060 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5061 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
|
5062 |
$as_echo_n "(cached) " >&6 |
|
5063 |
else |
|
5064 |
if test -n "$ac_ct_OBJDUMP"; then |
|
5065 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
5066 |
else |
|
5067 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5068 |
for as_dir in $PATH |
|
5069 |
do |
|
5070 |
IFS=$as_save_IFS |
|
5071 |
test -z "$as_dir" && as_dir=. |
|
5072 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5073 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5074 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
5075 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5076 |
break 2 |
|
5077 |
fi |
|
5078 |
done |
|
5079 |
done |
|
5080 |
IFS=$as_save_IFS |
|
5081 |
|
|
5082 |
fi |
|
5083 |
fi |
|
5084 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
5085 |
if test -n "$ac_ct_OBJDUMP"; then |
|
5086 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
|
5087 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
5088 |
else |
|
5089 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5090 |
$as_echo "no" >&6; } |
|
5091 |
fi |
|
5092 |
|
|
5093 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
5094 |
OBJDUMP="false" |
|
5095 |
else |
|
5096 |
case $cross_compiling:$ac_tool_warned in |
|
5097 |
yes:) |
|
5098 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5099 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5100 |
ac_tool_warned=yes ;; |
|
5101 |
esac |
|
5102 |
OBJDUMP=$ac_ct_OBJDUMP |
|
5103 |
fi |
|
5104 |
else |
|
5105 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
5106 |
fi |
|
5107 |
|
|
5108 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
5109 |
|
|
5110 |
|
|
5111 |
|
|
5112 |
|
|
5113 |
|
|
5114 |
|
|
5115 |
|
|
5116 |
|
|
5117 |
|
|
5118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
|
5119 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
5120 |
if ${lt_cv_deplibs_check_method+:} false; then : |
|
5121 |
$as_echo_n "(cached) " >&6 |
|
5122 |
else |
|
5123 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
5124 |
lt_cv_file_magic_test_file= |
|
5125 |
lt_cv_deplibs_check_method='unknown' |
|
5126 |
# Need to set the preceding variable on all platforms that support |
|
5127 |
# interlibrary dependencies. |
|
5128 |
# 'none' -- dependencies not supported. |
|
5129 |
# 'unknown' -- same as none, but documents that we really don't know. |
|
5130 |
# 'pass_all' -- all dependencies passed with no checks. |
|
5131 |
# 'test_compile' -- check by making test program. |
|
5132 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
5133 |
# that responds to the $file_magic_cmd with a given extended regex. |
|
5134 |
# If you have 'file' or equivalent on your system and you're not sure |
|
5135 |
# whether 'pass_all' will *always* work, you probably want this one. |
|
5136 |
|
|
5137 |
case $host_os in |
|
5138 |
aix[4-9]*) |
|
5139 |
lt_cv_deplibs_check_method=pass_all |
|
5140 |
;; |
|
5141 |
|
|
5142 |
beos*) |
|
5143 |
lt_cv_deplibs_check_method=pass_all |
|
5144 |
;; |
|
5145 |
|
|
5146 |
bsdi[45]*) |
|
5147 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
5148 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
5149 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
5150 |
;; |
|
5151 |
|
|
5152 |
cygwin*) |
|
5153 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
5154 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
5155 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
5156 |
;; |
|
5157 |
|
|
5158 |
mingw* | pw32*) |
|
5159 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
5160 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
|
5161 |
# unless we find 'file', for example because we are cross-compiling. |
|
5162 |
if ( file / ) >/dev/null 2>&1; then |
|
5163 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
5164 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
5165 |
else |
|
5166 |
# Keep this pattern in sync with the one in func_win32_libid. |
|
5167 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
|
5168 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
5169 |
fi |
|
5170 |
;; |
|
5171 |
|
|
5172 |
cegcc*) |
|
5173 |
# use the weaker test based on 'objdump'. See mingw*. |
|
5174 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
5175 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
5176 |
;; |
|
5177 |
|
|
5178 |
darwin* | rhapsody*) |
|
5179 |
lt_cv_deplibs_check_method=pass_all |
|
5180 |
;; |
|
5181 |
|
|
5182 |
freebsd* | dragonfly*) |
|
5183 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
5184 |
case $host_cpu in |
|
5185 |
i*86 ) |
|
5186 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
5187 |
# Let's accept both of them until this is cleared up. |
|
5188 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
5189 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5190 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
5191 |
;; |
|
5192 |
esac |
|
5193 |
else |
|
5194 |
lt_cv_deplibs_check_method=pass_all |
|
5195 |
fi |
|
5196 |
;; |
|
5197 |
|
|
5198 |
haiku*) |
|
5199 |
lt_cv_deplibs_check_method=pass_all |
|
5200 |
;; |
|
5201 |
|
|
5202 |
hpux10.20* | hpux11*) |
|
5203 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5204 |
case $host_cpu in |
|
5205 |
ia64*) |
|
5206 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
5207 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
5208 |
;; |
|
5209 |
hppa*64*) |
|
5210 |
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]' |
|
5211 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
|
5212 |
;; |
|
5213 |
*) |
|
5214 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
|
5215 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
5216 |
;; |
|
5217 |
esac |
|
5218 |
;; |
|
5219 |
|
|
5220 |
interix[3-9]*) |
|
5221 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
5222 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
5223 |
;; |
|
5224 |
|
|
5225 |
irix5* | irix6* | nonstopux*) |
|
5226 |
case $LD in |
|
5227 |
*-32|*"-32 ") libmagic=32-bit;; |
|
5228 |
*-n32|*"-n32 ") libmagic=N32;; |
|
5229 |
*-64|*"-64 ") libmagic=64-bit;; |
|
5230 |
*) libmagic=never-match;; |
|
5231 |
esac |
|
5232 |
lt_cv_deplibs_check_method=pass_all |
|
5233 |
;; |
|
5234 |
|
|
5235 |
# This must be glibc/ELF. |
|
5236 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
|
5237 |
lt_cv_deplibs_check_method=pass_all |
|
5238 |
;; |
|
5239 |
|
|
5240 |
netbsd* | netbsdelf*-gnu) |
|
5241 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
5242 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
5243 |
else |
|
5244 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
5245 |
fi |
|
5246 |
;; |
|
5247 |
|
|
5248 |
newos6*) |
|
5249 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
5250 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
5251 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
5252 |
;; |
|
5253 |
|
|
5254 |
*nto* | *qnx*) |
|
5255 |
lt_cv_deplibs_check_method=pass_all |
|
5256 |
;; |
|
5257 |
|
|
5258 |
openbsd* | bitrig*) |
|
5259 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
|
5260 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
5261 |
else |
|
5262 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
5263 |
fi |
|
5264 |
;; |
|
5265 |
|
|
5266 |
osf3* | osf4* | osf5*) |
|
5267 |
lt_cv_deplibs_check_method=pass_all |
|
5268 |
;; |
|
5269 |
|
|
5270 |
rdos*) |
|
5271 |
lt_cv_deplibs_check_method=pass_all |
|
5272 |
;; |
|
5273 |
|
|
5274 |
solaris*) |
|
5275 |
lt_cv_deplibs_check_method=pass_all |
|
5276 |
;; |
|
5277 |
|
|
5278 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
5279 |
lt_cv_deplibs_check_method=pass_all |
|
5280 |
;; |
|
5281 |
|
|
5282 |
sysv4 | sysv4.3*) |
|
5283 |
case $host_vendor in |
|
5284 |
motorola) |
|
5285 |
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]' |
|
5286 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
5287 |
;; |
|
5288 |
ncr) |
|
5289 |
lt_cv_deplibs_check_method=pass_all |
|
5290 |
;; |
|
5291 |
sequent) |
|
5292 |
lt_cv_file_magic_cmd='/bin/file' |
|
5293 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
5294 |
;; |
|
5295 |
sni) |
|
5296 |
lt_cv_file_magic_cmd='/bin/file' |
|
5297 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
5298 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
5299 |
;; |
|
5300 |
siemens) |
|
5301 |
lt_cv_deplibs_check_method=pass_all |
|
5302 |
;; |
|
5303 |
pc) |
|
5304 |
lt_cv_deplibs_check_method=pass_all |
|
5305 |
;; |
|
5306 |
esac |
|
5307 |
;; |
|
5308 |
|
|
5309 |
tpf*) |
|
5310 |
lt_cv_deplibs_check_method=pass_all |
|
5311 |
;; |
|
5312 |
os2*) |
|
5313 |
lt_cv_deplibs_check_method=pass_all |
|
5314 |
;; |
|
5315 |
esac |
|
5316 |
|
|
5317 |
fi |
|
5318 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
|
5319 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
5320 |
|
|
5321 |
file_magic_glob= |
|
5322 |
want_nocaseglob=no |
|
5323 |
if test "$build" = "$host"; then |
|
5324 |
case $host_os in |
|
5325 |
mingw* | pw32*) |
|
5326 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
|
5327 |
want_nocaseglob=yes |
|
5328 |
else |
|
5329 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
|
5330 |
fi |
|
5331 |
;; |
|
5332 |
esac |
|
5333 |
fi |
|
5334 |
|
|
5335 |
file_magic_cmd=$lt_cv_file_magic_cmd |
|
5336 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
5337 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
5338 |
|
|
5339 |
|
|
5340 |
|
|
5341 |
|
|
5342 |
|
|
5343 |
|
|
5344 |
|
|
5345 |
|
|
5346 |
|
|
5347 |
|
|
5348 |
|
|
5349 |
|
|
5350 |
|
|
5351 |
|
|
5352 |
|
|
5353 |
|
|
5354 |
|
|
5355 |
|
|
5356 |
|
|
5357 |
|
|
5358 |
|
|
5359 |
|
|
5360 |
if test -n "$ac_tool_prefix"; then |
|
5361 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
5362 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
5363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5364 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5365 |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
|
5366 |
$as_echo_n "(cached) " >&6 |
|
5367 |
else |
|
5368 |
if test -n "$DLLTOOL"; then |
|
5369 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
5370 |
else |
|
5371 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5372 |
for as_dir in $PATH |
|
5373 |
do |
|
5374 |
IFS=$as_save_IFS |
|
5375 |
test -z "$as_dir" && as_dir=. |
|
5376 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5377 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5378 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
5379 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5380 |
break 2 |
|
5381 |
fi |
|
5382 |
done |
|
5383 |
done |
|
5384 |
IFS=$as_save_IFS |
|
5385 |
|
|
5386 |
fi |
|
5387 |
fi |
|
5388 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
5389 |
if test -n "$DLLTOOL"; then |
|
5390 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
|
5391 |
$as_echo "$DLLTOOL" >&6; } |
|
5392 |
else |
|
5393 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5394 |
$as_echo "no" >&6; } |
|
5395 |
fi |
|
5396 |
|
|
5397 |
|
|
5398 |
fi |
|
5399 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
5400 |
ac_ct_DLLTOOL=$DLLTOOL |
|
5401 |
# Extract the first word of "dlltool", so it can be a program name with args. |
|
5402 |
set dummy dlltool; ac_word=$2 |
|
5403 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5404 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5405 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
|
5406 |
$as_echo_n "(cached) " >&6 |
|
5407 |
else |
|
5408 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5409 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
5410 |
else |
|
5411 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5412 |
for as_dir in $PATH |
|
5413 |
do |
|
5414 |
IFS=$as_save_IFS |
|
5415 |
test -z "$as_dir" && as_dir=. |
|
5416 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5417 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5418 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
5419 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5420 |
break 2 |
|
5421 |
fi |
|
5422 |
done |
|
5423 |
done |
|
5424 |
IFS=$as_save_IFS |
|
5425 |
|
|
5426 |
fi |
|
5427 |
fi |
|
5428 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
5429 |
if test -n "$ac_ct_DLLTOOL"; then |
|
5430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
|
5431 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
|
5432 |
else |
|
5433 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5434 |
$as_echo "no" >&6; } |
|
5435 |
fi |
|
5436 |
|
|
5437 |
if test "x$ac_ct_DLLTOOL" = x; then |
|
5438 |
DLLTOOL="false" |
|
5439 |
else |
|
5440 |
case $cross_compiling:$ac_tool_warned in |
|
5441 |
yes:) |
|
5442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5443 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5444 |
ac_tool_warned=yes ;; |
|
5445 |
esac |
|
5446 |
DLLTOOL=$ac_ct_DLLTOOL |
|
5447 |
fi |
|
5448 |
else |
|
5449 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
5450 |
fi |
|
5451 |
|
|
5452 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
5453 |
|
|
5454 |
|
|
5455 |
|
|
5456 |
|
|
5457 |
|
|
5458 |
|
|
5459 |
|
|
5460 |
|
|
5461 |
|
|
5462 |
|
|
5463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
|
5464 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
|
5465 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
|
5466 |
$as_echo_n "(cached) " >&6 |
|
5467 |
else |
|
5468 |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
5469 |
|
|
5470 |
case $host_os in |
|
5471 |
cygwin* | mingw* | pw32* | cegcc*) |
|
5472 |
# two different shell functions defined in ltmain.sh; |
|
5473 |
# decide which one to use based on capabilities of $DLLTOOL |
|
5474 |
case `$DLLTOOL --help 2>&1` in |
|
5475 |
*--identify-strict*) |
|
5476 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
|
5477 |
;; |
|
5478 |
*) |
|
5479 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
|
5480 |
;; |
|
5481 |
esac |
|
5482 |
;; |
|
5483 |
*) |
|
5484 |
# fallback: assume linklib IS sharedlib |
|
5485 |
lt_cv_sharedlib_from_linklib_cmd=$ECHO |
|
5486 |
;; |
|
5487 |
esac |
|
5488 |
|
|
5489 |
fi |
|
5490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
|
5491 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
|
5492 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
|
5493 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
5494 |
|
|
5495 |
|
|
5496 |
|
|
5497 |
|
|
5498 |
|
|
5499 |
|
|
5500 |
|
|
5501 |
|
|
5502 |
if test -n "$ac_tool_prefix"; then |
|
5503 |
for ac_prog in ar |
|
5504 |
do |
|
5505 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
5506 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
5507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5508 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5509 |
if ${ac_cv_prog_AR+:} false; then : |
|
5510 |
$as_echo_n "(cached) " >&6 |
|
5511 |
else |
|
5512 |
if test -n "$AR"; then |
|
5513 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
5514 |
else |
|
5515 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5516 |
for as_dir in $PATH |
|
5517 |
do |
|
5518 |
IFS=$as_save_IFS |
|
5519 |
test -z "$as_dir" && as_dir=. |
|
5520 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5521 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5522 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
|
5523 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5524 |
break 2 |
|
5525 |
fi |
|
5526 |
done |
|
5527 |
done |
|
5528 |
IFS=$as_save_IFS |
|
5529 |
|
|
5530 |
fi |
|
5531 |
fi |
|
5532 |
AR=$ac_cv_prog_AR |
|
5533 |
if test -n "$AR"; then |
|
5534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
|
5535 |
$as_echo "$AR" >&6; } |
|
5536 |
else |
|
5537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5538 |
$as_echo "no" >&6; } |
|
5539 |
fi |
|
5540 |
|
|
5541 |
|
|
5542 |
test -n "$AR" && break |
|
5543 |
done |
|
5544 |
fi |
|
5545 |
if test -z "$AR"; then |
|
5546 |
ac_ct_AR=$AR |
|
5547 |
for ac_prog in ar |
|
5548 |
do |
|
5549 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5550 |
set dummy $ac_prog; ac_word=$2 |
|
5551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5552 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5553 |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
|
5554 |
$as_echo_n "(cached) " >&6 |
|
5555 |
else |
|
5556 |
if test -n "$ac_ct_AR"; then |
|
5557 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
5558 |
else |
|
5559 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5560 |
for as_dir in $PATH |
|
5561 |
do |
|
5562 |
IFS=$as_save_IFS |
|
5563 |
test -z "$as_dir" && as_dir=. |
|
5564 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5565 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5566 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
|
5567 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5568 |
break 2 |
|
5569 |
fi |
|
5570 |
done |
|
5571 |
done |
|
5572 |
IFS=$as_save_IFS |
|
5573 |
|
|
5574 |
fi |
|
5575 |
fi |
|
5576 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
5577 |
if test -n "$ac_ct_AR"; then |
|
5578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
|
5579 |
$as_echo "$ac_ct_AR" >&6; } |
|
5580 |
else |
|
5581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5582 |
$as_echo "no" >&6; } |
|
5583 |
fi |
|
5584 |
|
|
5585 |
|
|
5586 |
test -n "$ac_ct_AR" && break |
|
5587 |
done |
|
5588 |
|
|
5589 |
if test "x$ac_ct_AR" = x; then |
|
5590 |
AR="false" |
|
5591 |
else |
|
5592 |
case $cross_compiling:$ac_tool_warned in |
|
5593 |
yes:) |
|
5594 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5595 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5596 |
ac_tool_warned=yes ;; |
|
5597 |
esac |
|
5598 |
AR=$ac_ct_AR |
|
5599 |
fi |
|
5600 |
fi |
|
5601 |
|
|
5602 |
: ${AR=ar} |
|
5603 |
: ${AR_FLAGS=cru} |
|
5604 |
|
|
5605 |
|
|
5606 |
|
|
5607 |
|
|
5608 |
|
|
5609 |
|
|
5610 |
|
|
5611 |
|
|
5612 |
|
|
5613 |
|
|
5614 |
|
|
5615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
|
5616 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
|
5617 |
if ${lt_cv_ar_at_file+:} false; then : |
|
5618 |
$as_echo_n "(cached) " >&6 |
|
5619 |
else |
|
5620 |
lt_cv_ar_at_file=no |
|
5621 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5622 |
/* end confdefs.h. */ |
|
5623 |
|
|
5624 |
int |
|
5625 |
main () |
|
5626 |
{ |
|
5627 |
|
|
5628 |
; |
|
5629 |
return 0; |
|
5630 |
} |
|
5631 |
_ACEOF |
|
5632 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
5633 |
echo conftest.$ac_objext > conftest.lst |
|
5634 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
|
5635 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
5636 |
(eval $lt_ar_try) 2>&5 |
|
5637 |
ac_status=$? |
|
5638 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5639 |
test $ac_status = 0; } |
|
5640 |
if test 0 -eq "$ac_status"; then |
|
5641 |
# Ensure the archiver fails upon bogus file names. |
|
5642 |
rm -f conftest.$ac_objext libconftest.a |
|
5643 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
|
5644 |
(eval $lt_ar_try) 2>&5 |
|
5645 |
ac_status=$? |
|
5646 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5647 |
test $ac_status = 0; } |
|
5648 |
if test 0 -ne "$ac_status"; then |
|
5649 |
lt_cv_ar_at_file=@ |
|
5650 |
fi |
|
5651 |
fi |
|
5652 |
rm -f conftest.* libconftest.a |
|
5653 |
|
|
5654 |
fi |
|
5655 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5656 |
|
|
5657 |
fi |
|
5658 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
|
5659 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
5660 |
|
|
5661 |
if test no = "$lt_cv_ar_at_file"; then |
|
5662 |
archiver_list_spec= |
|
5663 |
else |
|
5664 |
archiver_list_spec=$lt_cv_ar_at_file |
|
5665 |
fi |
|
5666 |
|
|
5667 |
|
|
5668 |
|
|
5669 |
|
|
5670 |
|
|
5671 |
|
|
5672 |
|
|
5673 |
if test -n "$ac_tool_prefix"; then |
|
5674 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
5675 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
5676 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5677 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5678 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
5679 |
$as_echo_n "(cached) " >&6 |
|
5680 |
else |
|
5681 |
if test -n "$STRIP"; then |
|
5682 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
5683 |
else |
|
5684 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5685 |
for as_dir in $PATH |
|
5686 |
do |
|
5687 |
IFS=$as_save_IFS |
|
5688 |
test -z "$as_dir" && as_dir=. |
|
5689 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5690 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5691 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
5692 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5693 |
break 2 |
|
5694 |
fi |
|
5695 |
done |
|
5696 |
done |
|
5697 |
IFS=$as_save_IFS |
|
5698 |
|
|
5699 |
fi |
|
5700 |
fi |
|
5701 |
STRIP=$ac_cv_prog_STRIP |
|
5702 |
if test -n "$STRIP"; then |
|
5703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
5704 |
$as_echo "$STRIP" >&6; } |
|
5705 |
else |
|
5706 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5707 |
$as_echo "no" >&6; } |
|
5708 |
fi |
|
5709 |
|
|
5710 |
|
|
5711 |
fi |
|
5712 |
if test -z "$ac_cv_prog_STRIP"; then |
|
5713 |
ac_ct_STRIP=$STRIP |
|
5714 |
# Extract the first word of "strip", so it can be a program name with args. |
|
5715 |
set dummy strip; ac_word=$2 |
|
5716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5717 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5718 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
5719 |
$as_echo_n "(cached) " >&6 |
|
5720 |
else |
|
5721 |
if test -n "$ac_ct_STRIP"; then |
|
5722 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
5723 |
else |
|
5724 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5725 |
for as_dir in $PATH |
|
5726 |
do |
|
5727 |
IFS=$as_save_IFS |
|
5728 |
test -z "$as_dir" && as_dir=. |
|
5729 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5730 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5731 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
5732 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5733 |
break 2 |
|
5734 |
fi |
|
5735 |
done |
|
5736 |
done |
|
5737 |
IFS=$as_save_IFS |
|
5738 |
|
|
5739 |
fi |
|
5740 |
fi |
|
5741 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
5742 |
if test -n "$ac_ct_STRIP"; then |
|
5743 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
5744 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
5745 |
else |
|
5746 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5747 |
$as_echo "no" >&6; } |
|
5748 |
fi |
|
5749 |
|
|
5750 |
if test "x$ac_ct_STRIP" = x; then |
|
5751 |
STRIP=":" |
|
5752 |
else |
|
5753 |
case $cross_compiling:$ac_tool_warned in |
|
5754 |
yes:) |
|
5755 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5756 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5757 |
ac_tool_warned=yes ;; |
|
5758 |
esac |
|
5759 |
STRIP=$ac_ct_STRIP |
|
5760 |
fi |
|
5761 |
else |
|
5762 |
STRIP="$ac_cv_prog_STRIP" |
|
5763 |
fi |
|
5764 |
|
|
5765 |
test -z "$STRIP" && STRIP=: |
|
5766 |
|
|
5767 |
|
|
5768 |
|
|
5769 |
|
|
5770 |
|
|
5771 |
|
|
5772 |
if test -n "$ac_tool_prefix"; then |
|
5773 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
5774 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
5775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5776 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5777 |
if ${ac_cv_prog_RANLIB+:} false; then : |
|
5778 |
$as_echo_n "(cached) " >&6 |
|
5779 |
else |
|
5780 |
if test -n "$RANLIB"; then |
|
5781 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
5782 |
else |
|
5783 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5784 |
for as_dir in $PATH |
|
5785 |
do |
|
5786 |
IFS=$as_save_IFS |
|
5787 |
test -z "$as_dir" && as_dir=. |
|
5788 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5789 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5790 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
5791 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5792 |
break 2 |
|
5793 |
fi |
|
5794 |
done |
|
5795 |
done |
|
5796 |
IFS=$as_save_IFS |
|
5797 |
|
|
5798 |
fi |
|
5799 |
fi |
|
5800 |
RANLIB=$ac_cv_prog_RANLIB |
|
5801 |
if test -n "$RANLIB"; then |
|
5802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
5803 |
$as_echo "$RANLIB" >&6; } |
|
5804 |
else |
|
5805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5806 |
$as_echo "no" >&6; } |
|
5807 |
fi |
|
5808 |
|
|
5809 |
|
|
5810 |
fi |
|
5811 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
5812 |
ac_ct_RANLIB=$RANLIB |
|
5813 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
5814 |
set dummy ranlib; ac_word=$2 |
|
5815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5816 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5817 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
|
5818 |
$as_echo_n "(cached) " >&6 |
|
5819 |
else |
|
5820 |
if test -n "$ac_ct_RANLIB"; then |
|
5821 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
5822 |
else |
|
5823 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5824 |
for as_dir in $PATH |
|
5825 |
do |
|
5826 |
IFS=$as_save_IFS |
|
5827 |
test -z "$as_dir" && as_dir=. |
|
5828 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5829 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5830 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
5831 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5832 |
break 2 |
|
5833 |
fi |
|
5834 |
done |
|
5835 |
done |
|
5836 |
IFS=$as_save_IFS |
|
5837 |
|
|
5838 |
fi |
|
5839 |
fi |
|
5840 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
5841 |
if test -n "$ac_ct_RANLIB"; then |
|
5842 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
5843 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
5844 |
else |
|
5845 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5846 |
$as_echo "no" >&6; } |
|
5847 |
fi |
|
5848 |
|
|
5849 |
if test "x$ac_ct_RANLIB" = x; then |
|
5850 |
RANLIB=":" |
|
5851 |
else |
|
5852 |
case $cross_compiling:$ac_tool_warned in |
|
5853 |
yes:) |
|
5854 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5855 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5856 |
ac_tool_warned=yes ;; |
|
5857 |
esac |
|
5858 |
RANLIB=$ac_ct_RANLIB |
|
5859 |
fi |
|
5860 |
else |
|
5861 |
RANLIB="$ac_cv_prog_RANLIB" |
|
5862 |
fi |
|
5863 |
|
|
5864 |
test -z "$RANLIB" && RANLIB=: |
|
5865 |
|
|
5866 |
|
|
5867 |
|
|
5868 |
|
|
5869 |
|
|
5870 |
|
|
5871 |
# Determine commands to create old-style static archives. |
|
5872 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
5873 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
5874 |
old_postuninstall_cmds= |
|
5875 |
|
|
5876 |
if test -n "$RANLIB"; then |
|
5877 |
case $host_os in |
|
5878 |
bitrig* | openbsd*) |
|
5879 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
|
5880 |
;; |
|
5881 |
*) |
|
5882 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
|
5883 |
;; |
|
5884 |
esac |
|
5885 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
|
5886 |
fi |
|
5887 |
|
|
5888 |
case $host_os in |
|
5889 |
darwin*) |
|
5890 |
lock_old_archive_extraction=yes ;; |
|
5891 |
*) |
|
5892 |
lock_old_archive_extraction=no ;; |
|
5893 |
esac |
|
5894 |
|
|
5895 |
|
|
5896 |
|
|
5897 |
|
|
5898 |
|
|
5899 |
|
|
5900 |
|
|
5901 |
|
|
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 |
|
|
5930 |
|
|
5931 |
|
|
5932 |
|
|
5933 |
# If no C compiler was specified, use CC. |
|
5934 |
LTCC=${LTCC-"$CC"} |
|
5935 |
|
|
5936 |
# If no C compiler flags were specified, use CFLAGS. |
|
5937 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
5938 |
|
|
5939 |
# Allow CC to be a program name with arguments. |
|
5940 |
compiler=$CC |
|
5941 |
|
|
5942 |
|
|
5943 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
5944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
|
5945 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
5946 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
|
5947 |
$as_echo_n "(cached) " >&6 |
|
5948 |
else |
|
5949 |
|
|
5950 |
# These are sane defaults that work on at least a few old systems. |
|
5951 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
5952 |
|
|
5953 |
# Character class describing NM global symbol codes. |
|
5954 |
symcode='[BCDEGRST]' |
|
5955 |
|
|
5956 |
# Regexp to match symbols that can be accessed directly from C. |
|
5957 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
5958 |
|
|
5959 |
# Define system-specific variables. |
|
5960 |
case $host_os in |
|
5961 |
aix*) |
|
5962 |
symcode='[BCDT]' |
|
5963 |
;; |
|
5964 |
cygwin* | mingw* | pw32* | cegcc*) |
|
5965 |
symcode='[ABCDGISTW]' |
|
5966 |
;; |
|
5967 |
hpux*) |
|
5968 |
if test ia64 = "$host_cpu"; then |
|
5969 |
symcode='[ABCDEGRST]' |
|
5970 |
fi |
|
5971 |
;; |
|
5972 |
irix* | nonstopux*) |
|
5973 |
symcode='[BCDEGRST]' |
|
5974 |
;; |
|
5975 |
osf*) |
|
5976 |
symcode='[BCDEGQRST]' |
|
5977 |
;; |
|
5978 |
solaris*) |
|
5979 |
symcode='[BDRT]' |
|
5980 |
;; |
|
5981 |
sco3.2v5*) |
|
5982 |
symcode='[DT]' |
|
5983 |
;; |
|
5984 |
sysv4.2uw2*) |
|
5985 |
symcode='[DT]' |
|
5986 |
;; |
|
5987 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
5988 |
symcode='[ABDT]' |
|
5989 |
;; |
|
5990 |
sysv4) |
|
5991 |
symcode='[DFNSTU]' |
|
5992 |
;; |
|
5993 |
esac |
|
5994 |
|
|
5995 |
# If we're using GNU nm, then use its standard symbol codes. |
|
5996 |
case `$NM -V 2>&1` in |
|
5997 |
*GNU* | *'with BFD'*) |
|
5998 |
symcode='[ABCDGIRSTW]' ;; |
|
5999 |
esac |
|
6000 |
|
|
6001 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6002 |
# Gets list of data symbols to import. |
|
6003 |
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" |
|
6004 |
# Adjust the below global symbol transforms to fixup imported variables. |
|
6005 |
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
|
6006 |
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
|
6007 |
lt_c_name_lib_hook="\ |
|
6008 |
-e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
|
6009 |
-e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
|
6010 |
else |
|
6011 |
# Disable hooks by default. |
|
6012 |
lt_cv_sys_global_symbol_to_import= |
|
6013 |
lt_cdecl_hook= |
|
6014 |
lt_c_name_hook= |
|
6015 |
lt_c_name_lib_hook= |
|
6016 |
fi |
|
6017 |
|
|
6018 |
# Transform an extracted symbol line into a proper C declaration. |
|
6019 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
6020 |
# so use this general approach. |
|
6021 |
lt_cv_sys_global_symbol_to_cdecl="sed -n"\ |
|
6022 |
$lt_cdecl_hook\ |
|
6023 |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
|
6024 |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6025 |
|
|
6026 |
# Transform an extracted symbol line into symbol name and symbol address |
|
6027 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ |
|
6028 |
$lt_c_name_hook\ |
|
6029 |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
|
6030 |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
|
6031 |
|
|
6032 |
# Transform an extracted symbol line into symbol name with lib prefix and |
|
6033 |
# symbol address. |
|
6034 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ |
|
6035 |
$lt_c_name_lib_hook\ |
|
6036 |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
|
6037 |
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
|
6038 |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
|
6039 |
|
|
6040 |
# Handle CRLF in mingw tool chain |
|
6041 |
opt_cr= |
|
6042 |
case $build_os in |
|
6043 |
mingw*) |
|
6044 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
6045 |
;; |
|
6046 |
esac |
|
6047 |
|
|
6048 |
# Try without a prefix underscore, then with it. |
|
6049 |
for ac_symprfx in "" "_"; do |
|
6050 |
|
|
6051 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
6052 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
6053 |
|
|
6054 |
# Write the raw and C identifiers. |
|
6055 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6056 |
# Fake it for dumpbin and say T for any non-static function, |
|
6057 |
# D for any global variable and I for any imported variable. |
|
6058 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
6059 |
# which start with @ or ?. |
|
6060 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
6061 |
" {last_section=section; section=\$ 3};"\ |
|
6062 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
|
6063 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
|
6064 |
" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
|
6065 |
" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
|
6066 |
" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
|
6067 |
" \$ 0!~/External *\|/{next};"\ |
|
6068 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
6069 |
" {if(hide[section]) next};"\ |
|
6070 |
" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
|
6071 |
" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
|
6072 |
" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
|
6073 |
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
|
6074 |
" ' prfx=^$ac_symprfx" |
|
6075 |
else |
|
6076 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
6077 |
fi |
|
6078 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
|
6079 |
|
|
6080 |
# Check to see that the pipe works correctly. |
|
6081 |
pipe_works=no |
|
6082 |
|
|
6083 |
rm -f conftest* |
|
6084 |
cat > conftest.$ac_ext <<_LT_EOF |
|
6085 |
#ifdef __cplusplus |
|
6086 |
extern "C" { |
|
6087 |
#endif |
|
6088 |
char nm_test_var; |
|
6089 |
void nm_test_func(void); |
|
6090 |
void nm_test_func(void){} |
|
6091 |
#ifdef __cplusplus |
|
6092 |
} |
|
6093 |
#endif |
|
6094 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
6095 |
_LT_EOF |
|
6096 |
|
|
6097 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6098 |
(eval $ac_compile) 2>&5 |
|
6099 |
ac_status=$? |
|
6100 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6101 |
test $ac_status = 0; }; then |
|
6102 |
# Now try to grab the symbols. |
|
6103 |
nlist=conftest.nm |
|
6104 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
|
6105 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
|
6106 |
ac_status=$? |
|
6107 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6108 |
test $ac_status = 0; } && test -s "$nlist"; then |
|
6109 |
# Try sorting and uniquifying the output. |
|
6110 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
6111 |
mv -f "$nlist"T "$nlist" |
|
6112 |
else |
|
6113 |
rm -f "$nlist"T |
|
6114 |
fi |
|
6115 |
|
|
6116 |
# Make sure that we snagged all the symbols we need. |
|
6117 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
|
6118 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
6119 |
cat <<_LT_EOF > conftest.$ac_ext |
|
6120 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
|
6121 |
#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
|
6122 |
/* DATA imports from DLLs on WIN32 can't be const, because runtime |
|
6123 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
|
6124 |
# define LT@&t@_DLSYM_CONST |
|
6125 |
#elif defined __osf__ |
|
6126 |
/* This system does not cope well with relocations in const data. */ |
|
6127 |
# define LT@&t@_DLSYM_CONST |
|
6128 |
#else |
|
6129 |
# define LT@&t@_DLSYM_CONST const |
|
6130 |
#endif |
|
6131 |
|
|
6132 |
#ifdef __cplusplus |
|
6133 |
extern "C" { |
|
6134 |
#endif |
|
6135 |
|
|
6136 |
_LT_EOF |
|
6137 |
# Now generate the symbol file. |
|
6138 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
|
6139 |
|
|
6140 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
6141 |
|
|
6142 |
/* The mapping between symbol names and symbols. */ |
|
6143 |
LT@&t@_DLSYM_CONST struct { |
|
6144 |
const char *name; |
|
6145 |
void *address; |
|
6146 |
} |
|
6147 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
|
6148 |
{ |
|
6149 |
{ "@PROGRAM@", (void *) 0 }, |
|
6150 |
_LT_EOF |
|
6151 |
$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
6152 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
6153 |
{0, (void *) 0} |
|
6154 |
}; |
|
6155 |
|
|
6156 |
/* This works around a problem in FreeBSD linker */ |
|
6157 |
#ifdef FREEBSD_WORKAROUND |
|
6158 |
static const void *lt_preloaded_setup() { |
|
6159 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
6160 |
} |
|
6161 |
#endif |
|
6162 |
|
|
6163 |
#ifdef __cplusplus |
|
6164 |
} |
|
6165 |
#endif |
|
6166 |
_LT_EOF |
|
6167 |
# Now try linking the two files. |
|
6168 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
6169 |
lt_globsym_save_LIBS=$LIBS |
|
6170 |
lt_globsym_save_CFLAGS=$CFLAGS |
|
6171 |
LIBS=conftstm.$ac_objext |
|
6172 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
6173 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
6174 |
(eval $ac_link) 2>&5 |
|
6175 |
ac_status=$? |
|
6176 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6177 |
test $ac_status = 0; } && test -s conftest$ac_exeext; then |
|
6178 |
pipe_works=yes |
|
6179 |
fi |
|
6180 |
LIBS=$lt_globsym_save_LIBS |
|
6181 |
CFLAGS=$lt_globsym_save_CFLAGS |
|
6182 |
else |
|
6183 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
6184 |
fi |
|
6185 |
else |
|
6186 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
6187 |
fi |
|
6188 |
else |
|
6189 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
6190 |
fi |
|
6191 |
else |
|
6192 |
echo "$progname: failed program was:" >&5 |
|
6193 |
cat conftest.$ac_ext >&5 |
|
6194 |
fi |
|
6195 |
rm -rf conftest* conftst* |
|
6196 |
|
|
6197 |
# Do not use the global_symbol_pipe unless it works. |
|
6198 |
if test yes = "$pipe_works"; then |
|
6199 |
break |
|
6200 |
else |
|
6201 |
lt_cv_sys_global_symbol_pipe= |
|
6202 |
fi |
|
6203 |
done |
|
6204 |
|
|
6205 |
fi |
|
6206 |
|
|
6207 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
6208 |
lt_cv_sys_global_symbol_to_cdecl= |
|
6209 |
fi |
|
6210 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
6211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
|
6212 |
$as_echo "failed" >&6; } |
|
6213 |
else |
|
6214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
6215 |
$as_echo "ok" >&6; } |
|
6216 |
fi |
|
6217 |
|
|
6218 |
# Response file support. |
|
6219 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6220 |
nm_file_list_spec='@' |
|
6221 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
|
6222 |
nm_file_list_spec='@' |
|
6223 |
fi |
|
6224 |
|
|
6225 |
|
|
6226 |
|
|
6227 |
|
|
6228 |
|
|
6229 |
|
|
6230 |
|
|
6231 |
|
|
6232 |
|
|
6233 |
|
|
6234 |
|
|
6235 |
|
|
6236 |
|
|
6237 |
|
|
6238 |
|
|
6239 |
|
|
6240 |
|
|
6241 |
|
|
6242 |
|
|
6243 |
|
|
6244 |
|
|
6245 |
|
|
6246 |
|
|
6247 |
|
|
6248 |
|
|
6249 |
|
|
6250 |
|
|
6251 |
|
|
6252 |
|
|
6253 |
|
|
6254 |
|
|
6255 |
|
|
6256 |
|
|
6257 |
|
|
6258 |
|
|
6259 |
|
|
6260 |
|
|
6261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
|
6262 |
$as_echo_n "checking for sysroot... " >&6; } |
|
6263 |
|
|
6264 |
@%:@ Check whether --with-sysroot was given. |
|
6265 |
if test "${with_sysroot+set}" = set; then : |
|
6266 |
withval=$with_sysroot; |
|
6267 |
else |
|
6268 |
with_sysroot=no |
|
6269 |
fi |
|
6270 |
|
|
6271 |
|
|
6272 |
lt_sysroot= |
|
6273 |
case $with_sysroot in #( |
|
6274 |
yes) |
|
6275 |
if test yes = "$GCC"; then |
|
6276 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
|
6277 |
fi |
|
6278 |
;; #( |
|
6279 |
/*) |
|
6280 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
|
6281 |
;; #( |
|
6282 |
no|'') |
|
6283 |
;; #( |
|
6284 |
*) |
|
6285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
|
6286 |
$as_echo "$with_sysroot" >&6; } |
|
6287 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
|
6288 |
;; |
|
6289 |
esac |
|
6290 |
|
|
6291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
|
6292 |
$as_echo "${lt_sysroot:-no}" >&6; } |
|
6293 |
|
|
6294 |
|
|
6295 |
|
|
6296 |
|
|
6297 |
|
|
6298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
|
6299 |
$as_echo_n "checking for a working dd... " >&6; } |
|
6300 |
if ${ac_cv_path_lt_DD+:} false; then : |
|
6301 |
$as_echo_n "(cached) " >&6 |
|
6302 |
else |
|
6303 |
printf 0123456789abcdef0123456789abcdef >conftest.i |
|
6304 |
cat conftest.i conftest.i >conftest2.i |
|
6305 |
: ${lt_DD:=$DD} |
|
6306 |
if test -z "$lt_DD"; then |
|
6307 |
ac_path_lt_DD_found=false |
|
6308 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
6309 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6310 |
for as_dir in $PATH |
|
6311 |
do |
|
6312 |
IFS=$as_save_IFS |
|
6313 |
test -z "$as_dir" && as_dir=. |
|
6314 |
for ac_prog in dd; do |
|
6315 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6316 |
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" |
|
6317 |
as_fn_executable_p "$ac_path_lt_DD" || continue |
|
6318 |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
|
6319 |
cmp -s conftest.i conftest.out \ |
|
6320 |
&& ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
|
6321 |
fi |
|
6322 |
$ac_path_lt_DD_found && break 3 |
|
6323 |
done |
|
6324 |
done |
|
6325 |
done |
|
6326 |
IFS=$as_save_IFS |
|
6327 |
if test -z "$ac_cv_path_lt_DD"; then |
|
6328 |
: |
|
6329 |
fi |
|
6330 |
else |
|
6331 |
ac_cv_path_lt_DD=$lt_DD |
|
6332 |
fi |
|
6333 |
|
|
6334 |
rm -f conftest.i conftest2.i conftest.out |
|
6335 |
fi |
|
6336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
|
6337 |
$as_echo "$ac_cv_path_lt_DD" >&6; } |
|
6338 |
|
|
6339 |
|
|
6340 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
|
6341 |
$as_echo_n "checking how to truncate binary pipes... " >&6; } |
|
6342 |
if ${lt_cv_truncate_bin+:} false; then : |
|
6343 |
$as_echo_n "(cached) " >&6 |
|
6344 |
else |
|
6345 |
printf 0123456789abcdef0123456789abcdef >conftest.i |
|
6346 |
cat conftest.i conftest.i >conftest2.i |
|
6347 |
lt_cv_truncate_bin= |
|
6348 |
if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
|
6349 |
cmp -s conftest.i conftest.out \ |
|
6350 |
&& lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
|
6351 |
fi |
|
6352 |
rm -f conftest.i conftest2.i conftest.out |
|
6353 |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" |
|
6354 |
fi |
|
6355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
|
6356 |
$as_echo "$lt_cv_truncate_bin" >&6; } |
|
6357 |
|
|
6358 |
|
|
6359 |
|
|
6360 |
|
|
6361 |
|
|
6362 |
|
|
6363 |
|
|
6364 |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
|
6365 |
func_cc_basename () |
|
6366 |
{ |
|
6367 |
for cc_temp in @S|@*""; do |
|
6368 |
case $cc_temp in |
|
6369 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
6370 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
6371 |
\-*) ;; |
|
6372 |
*) break;; |
|
6373 |
esac |
|
6374 |
done |
|
6375 |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
6376 |
} |
|
6377 |
|
|
6378 |
@%:@ Check whether --enable-libtool-lock was given. |
|
6379 |
if test "${enable_libtool_lock+set}" = set; then : |
|
6380 |
enableval=$enable_libtool_lock; |
|
6381 |
fi |
|
6382 |
|
|
6383 |
test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
|
6384 |
|
|
6385 |
# Some flags need to be propagated to the compiler or linker for good |
|
6386 |
# libtool support. |
|
6387 |
case $host in |
|
6388 |
ia64-*-hpux*) |
|
6389 |
# Find out what ABI is being produced by ac_compile, and set mode |
|
6390 |
# options accordingly. |
|
6391 |
echo 'int i;' > conftest.$ac_ext |
|
6392 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6393 |
(eval $ac_compile) 2>&5 |
|
6394 |
ac_status=$? |
|
6395 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6396 |
test $ac_status = 0; }; then |
|
6397 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6398 |
*ELF-32*) |
|
6399 |
HPUX_IA64_MODE=32 |
|
6400 |
;; |
|
6401 |
*ELF-64*) |
|
6402 |
HPUX_IA64_MODE=64 |
|
6403 |
;; |
|
6404 |
esac |
|
6405 |
fi |
|
6406 |
rm -rf conftest* |
|
6407 |
;; |
|
6408 |
*-*-irix6*) |
|
6409 |
# Find out what ABI is being produced by ac_compile, and set linker |
|
6410 |
# options accordingly. |
|
6411 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
|
6412 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6413 |
(eval $ac_compile) 2>&5 |
|
6414 |
ac_status=$? |
|
6415 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6416 |
test $ac_status = 0; }; then |
|
6417 |
if test yes = "$lt_cv_prog_gnu_ld"; then |
|
6418 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6419 |
*32-bit*) |
|
6420 |
LD="${LD-ld} -melf32bsmip" |
|
6421 |
;; |
|
6422 |
*N32*) |
|
6423 |
LD="${LD-ld} -melf32bmipn32" |
|
6424 |
;; |
|
6425 |
*64-bit*) |
|
6426 |
LD="${LD-ld} -melf64bmip" |
|
6427 |
;; |
|
6428 |
esac |
|
6429 |
else |
|
6430 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6431 |
*32-bit*) |
|
6432 |
LD="${LD-ld} -32" |
|
6433 |
;; |
|
6434 |
*N32*) |
|
6435 |
LD="${LD-ld} -n32" |
|
6436 |
;; |
|
6437 |
*64-bit*) |
|
6438 |
LD="${LD-ld} -64" |
|
6439 |
;; |
|
6440 |
esac |
|
6441 |
fi |
|
6442 |
fi |
|
6443 |
rm -rf conftest* |
|
6444 |
;; |
|
6445 |
|
|
6446 |
mips64*-*linux*) |
|
6447 |
# Find out what ABI is being produced by ac_compile, and set linker |
|
6448 |
# options accordingly. |
|
6449 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
|
6450 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6451 |
(eval $ac_compile) 2>&5 |
|
6452 |
ac_status=$? |
|
6453 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6454 |
test $ac_status = 0; }; then |
|
6455 |
emul=elf |
|
6456 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6457 |
*32-bit*) |
|
6458 |
emul="${emul}32" |
|
6459 |
;; |
|
6460 |
*64-bit*) |
|
6461 |
emul="${emul}64" |
|
6462 |
;; |
|
6463 |
esac |
|
6464 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6465 |
*MSB*) |
|
6466 |
emul="${emul}btsmip" |
|
6467 |
;; |
|
6468 |
*LSB*) |
|
6469 |
emul="${emul}ltsmip" |
|
6470 |
;; |
|
6471 |
esac |
|
6472 |
case `/usr/bin/file conftest.$ac_objext` in |
|
6473 |
*N32*) |
|
6474 |
emul="${emul}n32" |
|
6475 |
;; |
|
6476 |
esac |
|
6477 |
LD="${LD-ld} -m $emul" |
|
6478 |
fi |
|
6479 |
rm -rf conftest* |
|
6480 |
;; |
|
6481 |
|
|
6482 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
|
6483 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
6484 |
# Find out what ABI is being produced by ac_compile, and set linker |
|
6485 |
# options accordingly. Note that the listed cases only cover the |
|
6486 |
# situations where additional linker options are needed (such as when |
|
6487 |
# doing 32-bit compilation for a host where ld defaults to 64-bit, or |
|
6488 |
# vice versa); the common cases where no linker options are needed do |
|
6489 |
# not appear in the list. |
|
6490 |
echo 'int i;' > conftest.$ac_ext |
|
6491 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6492 |
(eval $ac_compile) 2>&5 |
|
6493 |
ac_status=$? |
|
6494 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6495 |
test $ac_status = 0; }; then |
|
6496 |
case `/usr/bin/file conftest.o` in |
|
6497 |
*32-bit*) |
|
6498 |
case $host in |
|
6499 |
x86_64-*kfreebsd*-gnu) |
|
6500 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
6501 |
;; |
|
6502 |
x86_64-*linux*) |
|
6503 |
case `/usr/bin/file conftest.o` in |
|
6504 |
*x86-64*) |
|
6505 |
LD="${LD-ld} -m elf32_x86_64" |
|
6506 |
;; |
|
6507 |
*) |
|
6508 |
LD="${LD-ld} -m elf_i386" |
|
6509 |
;; |
|
6510 |
esac |
|
6511 |
;; |
|
6512 |
powerpc64le-*linux*) |
|
6513 |
LD="${LD-ld} -m elf32lppclinux" |
|
6514 |
;; |
|
6515 |
powerpc64-*linux*) |
|
6516 |
LD="${LD-ld} -m elf32ppclinux" |
|
6517 |
;; |
|
6518 |
s390x-*linux*) |
|
6519 |
LD="${LD-ld} -m elf_s390" |
|
6520 |
;; |
|
6521 |
sparc64-*linux*) |
|
6522 |
LD="${LD-ld} -m elf32_sparc" |
|
6523 |
;; |
|
6524 |
esac |
|
6525 |
;; |
|
6526 |
*64-bit*) |
|
6527 |
case $host in |
|
6528 |
x86_64-*kfreebsd*-gnu) |
|
6529 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
6530 |
;; |
|
6531 |
x86_64-*linux*) |
|
6532 |
LD="${LD-ld} -m elf_x86_64" |
|
6533 |
;; |
|
6534 |
powerpcle-*linux*) |
|
6535 |
LD="${LD-ld} -m elf64lppc" |
|
6536 |
;; |
|
6537 |
powerpc-*linux*) |
|
6538 |
LD="${LD-ld} -m elf64ppc" |
|
6539 |
;; |
|
6540 |
s390*-*linux*|s390*-*tpf*) |
|
6541 |
LD="${LD-ld} -m elf64_s390" |
|
6542 |
;; |
|
6543 |
sparc*-*linux*) |
|
6544 |
LD="${LD-ld} -m elf64_sparc" |
|
6545 |
;; |
|
6546 |
esac |
|
6547 |
;; |
|
6548 |
esac |
|
6549 |
fi |
|
6550 |
rm -rf conftest* |
|
6551 |
;; |
|
6552 |
|
|
6553 |
*-*-sco3.2v5*) |
|
6554 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
6555 |
SAVE_CFLAGS=$CFLAGS |
|
6556 |
CFLAGS="$CFLAGS -belf" |
|
6557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
|
6558 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
6559 |
if ${lt_cv_cc_needs_belf+:} false; then : |
|
6560 |
$as_echo_n "(cached) " >&6 |
|
6561 |
else |
|
6562 |
ac_ext=c |
|
6563 |
ac_cpp='$CPP $CPPFLAGS' |
|
6564 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6565 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6566 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6567 |
|
|
6568 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
6569 |
/* end confdefs.h. */ |
|
6570 |
|
|
6571 |
int |
|
6572 |
main () |
|
6573 |
{ |
|
6574 |
|
|
6575 |
; |
|
6576 |
return 0; |
|
6577 |
} |
|
6578 |
_ACEOF |
|
6579 |
if ac_fn_c_try_link "$LINENO"; then : |
|
6580 |
lt_cv_cc_needs_belf=yes |
|
6581 |
else |
|
6582 |
lt_cv_cc_needs_belf=no |
|
6583 |
fi |
|
6584 |
rm -f core conftest.err conftest.$ac_objext \ |
|
6585 |
conftest$ac_exeext conftest.$ac_ext |
|
6586 |
ac_ext=c |
|
6587 |
ac_cpp='$CPP $CPPFLAGS' |
|
6588 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6589 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6590 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6591 |
|
|
6592 |
fi |
|
6593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
|
6594 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
6595 |
if test yes != "$lt_cv_cc_needs_belf"; then |
|
6596 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
6597 |
CFLAGS=$SAVE_CFLAGS |
|
6598 |
fi |
|
6599 |
;; |
|
6600 |
*-*solaris*) |
|
6601 |
# Find out what ABI is being produced by ac_compile, and set linker |
|
6602 |
# options accordingly. |
|
6603 |
echo 'int i;' > conftest.$ac_ext |
|
6604 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
6605 |
(eval $ac_compile) 2>&5 |
|
6606 |
ac_status=$? |
|
6607 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
6608 |
test $ac_status = 0; }; then |
|
6609 |
case `/usr/bin/file conftest.o` in |
|
6610 |
*64-bit*) |
|
6611 |
case $lt_cv_prog_gnu_ld in |
|
6612 |
yes*) |
|
6613 |
case $host in |
|
6614 |
i?86-*-solaris*|x86_64-*-solaris*) |
|
6615 |
LD="${LD-ld} -m elf_x86_64" |
|
6616 |
;; |
|
6617 |
sparc*-*-solaris*) |
|
6618 |
LD="${LD-ld} -m elf64_sparc" |
|
6619 |
;; |
|
6620 |
esac |
|
6621 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
|
6622 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
|
6623 |
LD=${LD-ld}_sol2 |
|
6624 |
fi |
|
6625 |
;; |
|
6626 |
*) |
|
6627 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
6628 |
LD="${LD-ld} -64" |
|
6629 |
fi |
|
6630 |
;; |
|
6631 |
esac |
|
6632 |
;; |
|
6633 |
esac |
|
6634 |
fi |
|
6635 |
rm -rf conftest* |
|
6636 |
;; |
|
6637 |
esac |
|
6638 |
|
|
6639 |
need_locks=$enable_libtool_lock |
|
6640 |
|
|
6641 |
if test -n "$ac_tool_prefix"; then |
|
6642 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
|
6643 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
|
6644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6645 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6646 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
|
6647 |
$as_echo_n "(cached) " >&6 |
|
6648 |
else |
|
6649 |
if test -n "$MANIFEST_TOOL"; then |
|
6650 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
|
6651 |
else |
|
6652 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6653 |
for as_dir in $PATH |
|
6654 |
do |
|
6655 |
IFS=$as_save_IFS |
|
6656 |
test -z "$as_dir" && as_dir=. |
|
6657 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6658 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6659 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
|
6660 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6661 |
break 2 |
|
6662 |
fi |
|
6663 |
done |
|
6664 |
done |
|
6665 |
IFS=$as_save_IFS |
|
6666 |
|
|
6667 |
fi |
|
6668 |
fi |
|
6669 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
|
6670 |
if test -n "$MANIFEST_TOOL"; then |
|
6671 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
|
6672 |
$as_echo "$MANIFEST_TOOL" >&6; } |
|
6673 |
else |
|
6674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6675 |
$as_echo "no" >&6; } |
|
6676 |
fi |
|
6677 |
|
|
6678 |
|
|
6679 |
fi |
|
6680 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
|
6681 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
|
6682 |
# Extract the first word of "mt", so it can be a program name with args. |
|
6683 |
set dummy mt; ac_word=$2 |
|
6684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6685 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6686 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
|
6687 |
$as_echo_n "(cached) " >&6 |
|
6688 |
else |
|
6689 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6690 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
|
6691 |
else |
|
6692 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6693 |
for as_dir in $PATH |
|
6694 |
do |
|
6695 |
IFS=$as_save_IFS |
|
6696 |
test -z "$as_dir" && as_dir=. |
|
6697 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6698 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6699 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
|
6700 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6701 |
break 2 |
|
6702 |
fi |
|
6703 |
done |
|
6704 |
done |
|
6705 |
IFS=$as_save_IFS |
|
6706 |
|
|
6707 |
fi |
|
6708 |
fi |
|
6709 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
|
6710 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
|
6711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
|
6712 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
|
6713 |
else |
|
6714 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6715 |
$as_echo "no" >&6; } |
|
6716 |
fi |
|
6717 |
|
|
6718 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
|
6719 |
MANIFEST_TOOL=":" |
|
6720 |
else |
|
6721 |
case $cross_compiling:$ac_tool_warned in |
|
6722 |
yes:) |
|
6723 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6724 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6725 |
ac_tool_warned=yes ;; |
|
6726 |
esac |
|
6727 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
|
6728 |
fi |
|
6729 |
else |
|
6730 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
|
6731 |
fi |
|
6732 |
|
|
6733 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
|
6734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
|
6735 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
|
6736 |
if ${lt_cv_path_mainfest_tool+:} false; then : |
|
6737 |
$as_echo_n "(cached) " >&6 |
|
6738 |
else |
|
6739 |
lt_cv_path_mainfest_tool=no |
|
6740 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
|
6741 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
|
6742 |
cat conftest.err >&5 |
|
6743 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
|
6744 |
lt_cv_path_mainfest_tool=yes |
|
6745 |
fi |
|
6746 |
rm -f conftest* |
|
6747 |
fi |
|
6748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
|
6749 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
|
6750 |
if test yes != "$lt_cv_path_mainfest_tool"; then |
|
6751 |
MANIFEST_TOOL=: |
|
6752 |
fi |
|
6753 |
|
|
6754 |
|
|
6755 |
|
|
6756 |
|
|
6757 |
|
|
6758 |
|
|
6759 |
case $host_os in |
|
6760 |
rhapsody* | darwin*) |
|
6761 |
if test -n "$ac_tool_prefix"; then |
|
6762 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
6763 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
6764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6765 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6766 |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
|
6767 |
$as_echo_n "(cached) " >&6 |
|
6768 |
else |
|
6769 |
if test -n "$DSYMUTIL"; then |
|
6770 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
6771 |
else |
|
6772 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6773 |
for as_dir in $PATH |
|
6774 |
do |
|
6775 |
IFS=$as_save_IFS |
|
6776 |
test -z "$as_dir" && as_dir=. |
|
6777 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6778 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6779 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
6780 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6781 |
break 2 |
|
6782 |
fi |
|
6783 |
done |
|
6784 |
done |
|
6785 |
IFS=$as_save_IFS |
|
6786 |
|
|
6787 |
fi |
|
6788 |
fi |
|
6789 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
6790 |
if test -n "$DSYMUTIL"; then |
|
6791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
|
6792 |
$as_echo "$DSYMUTIL" >&6; } |
|
6793 |
else |
|
6794 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6795 |
$as_echo "no" >&6; } |
|
6796 |
fi |
|
6797 |
|
|
6798 |
|
|
6799 |
fi |
|
6800 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
6801 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
6802 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
6803 |
set dummy dsymutil; ac_word=$2 |
|
6804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6805 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6806 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
|
6807 |
$as_echo_n "(cached) " >&6 |
|
6808 |
else |
|
6809 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
6810 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
6811 |
else |
|
6812 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6813 |
for as_dir in $PATH |
|
6814 |
do |
|
6815 |
IFS=$as_save_IFS |
|
6816 |
test -z "$as_dir" && as_dir=. |
|
6817 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6818 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6819 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
6820 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6821 |
break 2 |
|
6822 |
fi |
|
6823 |
done |
|
6824 |
done |
|
6825 |
IFS=$as_save_IFS |
|
6826 |
|
|
6827 |
fi |
|
6828 |
fi |
|
6829 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
6830 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
6831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
|
6832 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
6833 |
else |
|
6834 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6835 |
$as_echo "no" >&6; } |
|
6836 |
fi |
|
6837 |
|
|
6838 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
6839 |
DSYMUTIL=":" |
|
6840 |
else |
|
6841 |
case $cross_compiling:$ac_tool_warned in |
|
6842 |
yes:) |
|
6843 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6844 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6845 |
ac_tool_warned=yes ;; |
|
6846 |
esac |
|
6847 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
6848 |
fi |
|
6849 |
else |
|
6850 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
6851 |
fi |
|
6852 |
|
|
6853 |
if test -n "$ac_tool_prefix"; then |
|
6854 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
6855 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
6856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6857 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6858 |
if ${ac_cv_prog_NMEDIT+:} false; then : |
|
6859 |
$as_echo_n "(cached) " >&6 |
|
6860 |
else |
|
6861 |
if test -n "$NMEDIT"; then |
|
6862 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
6863 |
else |
|
6864 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6865 |
for as_dir in $PATH |
|
6866 |
do |
|
6867 |
IFS=$as_save_IFS |
|
6868 |
test -z "$as_dir" && as_dir=. |
|
6869 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6870 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6871 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
6872 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6873 |
break 2 |
|
6874 |
fi |
|
6875 |
done |
|
6876 |
done |
|
6877 |
IFS=$as_save_IFS |
|
6878 |
|
|
6879 |
fi |
|
6880 |
fi |
|
6881 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
6882 |
if test -n "$NMEDIT"; then |
|
6883 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
|
6884 |
$as_echo "$NMEDIT" >&6; } |
|
6885 |
else |
|
6886 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6887 |
$as_echo "no" >&6; } |
|
6888 |
fi |
|
6889 |
|
|
6890 |
|
|
6891 |
fi |
|
6892 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
6893 |
ac_ct_NMEDIT=$NMEDIT |
|
6894 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
6895 |
set dummy nmedit; ac_word=$2 |
|
6896 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6897 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6898 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
|
6899 |
$as_echo_n "(cached) " >&6 |
|
6900 |
else |
|
6901 |
if test -n "$ac_ct_NMEDIT"; then |
|
6902 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
6903 |
else |
|
6904 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6905 |
for as_dir in $PATH |
|
6906 |
do |
|
6907 |
IFS=$as_save_IFS |
|
6908 |
test -z "$as_dir" && as_dir=. |
|
6909 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6910 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6911 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
6912 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6913 |
break 2 |
|
6914 |
fi |
|
6915 |
done |
|
6916 |
done |
|
6917 |
IFS=$as_save_IFS |
|
6918 |
|
|
6919 |
fi |
|
6920 |
fi |
|
6921 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
6922 |
if test -n "$ac_ct_NMEDIT"; then |
|
6923 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
|
6924 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
6925 |
else |
|
6926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6927 |
$as_echo "no" >&6; } |
|
6928 |
fi |
|
6929 |
|
|
6930 |
if test "x$ac_ct_NMEDIT" = x; then |
|
6931 |
NMEDIT=":" |
|
6932 |
else |
|
6933 |
case $cross_compiling:$ac_tool_warned in |
|
6934 |
yes:) |
|
6935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
6936 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
6937 |
ac_tool_warned=yes ;; |
|
6938 |
esac |
|
6939 |
NMEDIT=$ac_ct_NMEDIT |
|
6940 |
fi |
|
6941 |
else |
|
6942 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
6943 |
fi |
|
6944 |
|
|
6945 |
if test -n "$ac_tool_prefix"; then |
|
6946 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
6947 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
6948 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6949 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6950 |
if ${ac_cv_prog_LIPO+:} false; then : |
|
6951 |
$as_echo_n "(cached) " >&6 |
|
6952 |
else |
|
6953 |
if test -n "$LIPO"; then |
|
6954 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
6955 |
else |
|
6956 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6957 |
for as_dir in $PATH |
|
6958 |
do |
|
6959 |
IFS=$as_save_IFS |
|
6960 |
test -z "$as_dir" && as_dir=. |
|
6961 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
6962 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
6963 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
6964 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6965 |
break 2 |
|
6966 |
fi |
|
6967 |
done |
|
6968 |
done |
|
6969 |
IFS=$as_save_IFS |
|
6970 |
|
|
6971 |
fi |
|
6972 |
fi |
|
6973 |
LIPO=$ac_cv_prog_LIPO |
|
6974 |
if test -n "$LIPO"; then |
|
6975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
|
6976 |
$as_echo "$LIPO" >&6; } |
|
6977 |
else |
|
6978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
6979 |
$as_echo "no" >&6; } |
|
6980 |
fi |
|
6981 |
|
|
6982 |
|
|
6983 |
fi |
|
6984 |
if test -z "$ac_cv_prog_LIPO"; then |
|
6985 |
ac_ct_LIPO=$LIPO |
|
6986 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
6987 |
set dummy lipo; ac_word=$2 |
|
6988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
6989 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
6990 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
|
6991 |
$as_echo_n "(cached) " >&6 |
|
6992 |
else |
|
6993 |
if test -n "$ac_ct_LIPO"; then |
|
6994 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
6995 |
else |
|
6996 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6997 |
for as_dir in $PATH |
|
6998 |
do |
|
6999 |
IFS=$as_save_IFS |
|
7000 |
test -z "$as_dir" && as_dir=. |
|
7001 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7002 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
7003 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
7004 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7005 |
break 2 |
|
7006 |
fi |
|
7007 |
done |
|
7008 |
done |
|
7009 |
IFS=$as_save_IFS |
|
7010 |
|
|
7011 |
fi |
|
7012 |
fi |
|
7013 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
7014 |
if test -n "$ac_ct_LIPO"; then |
|
7015 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
|
7016 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
7017 |
else |
|
7018 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7019 |
$as_echo "no" >&6; } |
|
7020 |
fi |
|
7021 |
|
|
7022 |
if test "x$ac_ct_LIPO" = x; then |
|
7023 |
LIPO=":" |
|
7024 |
else |
|
7025 |
case $cross_compiling:$ac_tool_warned in |
|
7026 |
yes:) |
|
7027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7028 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7029 |
ac_tool_warned=yes ;; |
|
7030 |
esac |
|
7031 |
LIPO=$ac_ct_LIPO |
|
7032 |
fi |
|
7033 |
else |
|
7034 |
LIPO="$ac_cv_prog_LIPO" |
|
7035 |
fi |
|
7036 |
|
|
7037 |
if test -n "$ac_tool_prefix"; then |
|
7038 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
7039 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
7040 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7041 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7042 |
if ${ac_cv_prog_OTOOL+:} false; then : |
|
7043 |
$as_echo_n "(cached) " >&6 |
|
7044 |
else |
|
7045 |
if test -n "$OTOOL"; then |
|
7046 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
7047 |
else |
|
7048 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7049 |
for as_dir in $PATH |
|
7050 |
do |
|
7051 |
IFS=$as_save_IFS |
|
7052 |
test -z "$as_dir" && as_dir=. |
|
7053 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7054 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
7055 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
7056 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7057 |
break 2 |
|
7058 |
fi |
|
7059 |
done |
|
7060 |
done |
|
7061 |
IFS=$as_save_IFS |
|
7062 |
|
|
7063 |
fi |
|
7064 |
fi |
|
7065 |
OTOOL=$ac_cv_prog_OTOOL |
|
7066 |
if test -n "$OTOOL"; then |
|
7067 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
|
7068 |
$as_echo "$OTOOL" >&6; } |
|
7069 |
else |
|
7070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7071 |
$as_echo "no" >&6; } |
|
7072 |
fi |
|
7073 |
|
|
7074 |
|
|
7075 |
fi |
|
7076 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
7077 |
ac_ct_OTOOL=$OTOOL |
|
7078 |
# Extract the first word of "otool", so it can be a program name with args. |
|
7079 |
set dummy otool; ac_word=$2 |
|
7080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7081 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7082 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
|
7083 |
$as_echo_n "(cached) " >&6 |
|
7084 |
else |
|
7085 |
if test -n "$ac_ct_OTOOL"; then |
|
7086 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
7087 |
else |
|
7088 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7089 |
for as_dir in $PATH |
|
7090 |
do |
|
7091 |
IFS=$as_save_IFS |
|
7092 |
test -z "$as_dir" && as_dir=. |
|
7093 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7094 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
7095 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
7096 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7097 |
break 2 |
|
7098 |
fi |
|
7099 |
done |
|
7100 |
done |
|
7101 |
IFS=$as_save_IFS |
|
7102 |
|
|
7103 |
fi |
|
7104 |
fi |
|
7105 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
7106 |
if test -n "$ac_ct_OTOOL"; then |
|
7107 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
|
7108 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
7109 |
else |
|
7110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7111 |
$as_echo "no" >&6; } |
|
7112 |
fi |
|
7113 |
|
|
7114 |
if test "x$ac_ct_OTOOL" = x; then |
|
7115 |
OTOOL=":" |
|
7116 |
else |
|
7117 |
case $cross_compiling:$ac_tool_warned in |
|
7118 |
yes:) |
|
7119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7120 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7121 |
ac_tool_warned=yes ;; |
|
7122 |
esac |
|
7123 |
OTOOL=$ac_ct_OTOOL |
|
7124 |
fi |
|
7125 |
else |
|
7126 |
OTOOL="$ac_cv_prog_OTOOL" |
|
7127 |
fi |
|
7128 |
|
|
7129 |
if test -n "$ac_tool_prefix"; then |
|
7130 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
7131 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
7132 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7133 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7134 |
if ${ac_cv_prog_OTOOL64+:} false; then : |
|
7135 |
$as_echo_n "(cached) " >&6 |
|
7136 |
else |
|
7137 |
if test -n "$OTOOL64"; then |
|
7138 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
7139 |
else |
|
7140 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7141 |
for as_dir in $PATH |
|
7142 |
do |
|
7143 |
IFS=$as_save_IFS |
|
7144 |
test -z "$as_dir" && as_dir=. |
|
7145 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7146 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
7147 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
7148 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7149 |
break 2 |
|
7150 |
fi |
|
7151 |
done |
|
7152 |
done |
|
7153 |
IFS=$as_save_IFS |
|
7154 |
|
|
7155 |
fi |
|
7156 |
fi |
|
7157 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
7158 |
if test -n "$OTOOL64"; then |
|
7159 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
|
7160 |
$as_echo "$OTOOL64" >&6; } |
|
7161 |
else |
|
7162 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7163 |
$as_echo "no" >&6; } |
|
7164 |
fi |
|
7165 |
|
|
7166 |
|
|
7167 |
fi |
|
7168 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
7169 |
ac_ct_OTOOL64=$OTOOL64 |
|
7170 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
7171 |
set dummy otool64; ac_word=$2 |
|
7172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
7173 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
7174 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
|
7175 |
$as_echo_n "(cached) " >&6 |
|
7176 |
else |
|
7177 |
if test -n "$ac_ct_OTOOL64"; then |
|
7178 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
7179 |
else |
|
7180 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
7181 |
for as_dir in $PATH |
|
7182 |
do |
|
7183 |
IFS=$as_save_IFS |
|
7184 |
test -z "$as_dir" && as_dir=. |
|
7185 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
7186 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
7187 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
7188 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
7189 |
break 2 |
|
7190 |
fi |
|
7191 |
done |
|
7192 |
done |
|
7193 |
IFS=$as_save_IFS |
|
7194 |
|
|
7195 |
fi |
|
7196 |
fi |
|
7197 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
7198 |
if test -n "$ac_ct_OTOOL64"; then |
|
7199 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
|
7200 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
7201 |
else |
|
7202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
7203 |
$as_echo "no" >&6; } |
|
7204 |
fi |
|
7205 |
|
|
7206 |
if test "x$ac_ct_OTOOL64" = x; then |
|
7207 |
OTOOL64=":" |
|
7208 |
else |
|
7209 |
case $cross_compiling:$ac_tool_warned in |
|
7210 |
yes:) |
|
7211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
7212 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
7213 |
ac_tool_warned=yes ;; |
|
7214 |
esac |
|
7215 |
OTOOL64=$ac_ct_OTOOL64 |
|
7216 |
fi |
|
7217 |
else |
|
7218 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
7219 |
fi |
|
7220 |
|
|
7221 |
|
|
7222 |
|
|
7223 |
|
|
7224 |
|
|
7225 |
|
|
7226 |
|
|
7227 |
|
|
7228 |
|
|
7229 |
|
|
7230 |
|
|
7231 |
|
|
7232 |
|
|
7233 |
|
|
7234 |
|
|
7235 |
|
|
7236 |
|
|
7237 |
|
|
7238 |
|
|
7239 |
|
|
7240 |
|
|
7241 |
|
|
7242 |
|
|
7243 |
|
|
7244 |
|
|
7245 |
|
|
7246 |
|
|
7247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
|
7248 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
7249 |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
|
7250 |
$as_echo_n "(cached) " >&6 |
|
7251 |
else |
|
7252 |
lt_cv_apple_cc_single_mod=no |
|
7253 |
if test -z "$LT_MULTI_MODULE"; then |
|
7254 |
# By default we will add the -single_module flag. You can override |
|
7255 |
# by either setting the environment variable LT_MULTI_MODULE |
|
7256 |
# non-empty at configure time, or by adding -multi_module to the |
|
7257 |
# link flags. |
|
7258 |
rm -rf libconftest.dylib* |
|
7259 |
echo "int foo(void){return 1;}" > conftest.c |
|
7260 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7261 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
7262 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
7263 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
7264 |
_lt_result=$? |
|
7265 |
# If there is a non-empty error log, and "single_module" |
|
7266 |
# appears in it, assume the flag caused a linker warning |
|
7267 |
if test -s conftest.err && $GREP single_module conftest.err; then |
|
7268 |
cat conftest.err >&5 |
|
7269 |
# Otherwise, if the output was created with a 0 exit code from |
|
7270 |
# the compiler, it worked. |
|
7271 |
elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
|
7272 |
lt_cv_apple_cc_single_mod=yes |
|
7273 |
else |
|
7274 |
cat conftest.err >&5 |
|
7275 |
fi |
|
7276 |
rm -rf libconftest.dylib* |
|
7277 |
rm -f conftest.* |
|
7278 |
fi |
|
7279 |
fi |
|
7280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
|
7281 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
7282 |
|
|
7283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
|
7284 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
7285 |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
|
7286 |
$as_echo_n "(cached) " >&6 |
|
7287 |
else |
|
7288 |
lt_cv_ld_exported_symbols_list=no |
|
7289 |
save_LDFLAGS=$LDFLAGS |
|
7290 |
echo "_main" > conftest.sym |
|
7291 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
7292 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7293 |
/* end confdefs.h. */ |
|
7294 |
|
|
7295 |
int |
|
7296 |
main () |
|
7297 |
{ |
|
7298 |
|
|
7299 |
; |
|
7300 |
return 0; |
|
7301 |
} |
|
7302 |
_ACEOF |
|
7303 |
if ac_fn_c_try_link "$LINENO"; then : |
|
7304 |
lt_cv_ld_exported_symbols_list=yes |
|
7305 |
else |
|
7306 |
lt_cv_ld_exported_symbols_list=no |
|
7307 |
fi |
|
7308 |
rm -f core conftest.err conftest.$ac_objext \ |
|
7309 |
conftest$ac_exeext conftest.$ac_ext |
|
7310 |
LDFLAGS=$save_LDFLAGS |
|
7311 |
|
|
7312 |
fi |
|
7313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
7314 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
7315 |
|
|
7316 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
|
7317 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
|
7318 |
if ${lt_cv_ld_force_load+:} false; then : |
|
7319 |
$as_echo_n "(cached) " >&6 |
|
7320 |
else |
|
7321 |
lt_cv_ld_force_load=no |
|
7322 |
cat > conftest.c << _LT_EOF |
|
7323 |
int forced_loaded() { return 2;} |
|
7324 |
_LT_EOF |
|
7325 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
|
7326 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
|
7327 |
echo "$AR cru libconftest.a conftest.o" >&5 |
|
7328 |
$AR cru libconftest.a conftest.o 2>&5 |
|
7329 |
echo "$RANLIB libconftest.a" >&5 |
|
7330 |
$RANLIB libconftest.a 2>&5 |
|
7331 |
cat > conftest.c << _LT_EOF |
|
7332 |
int main() { return 0;} |
|
7333 |
_LT_EOF |
|
7334 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
|
7335 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
|
7336 |
_lt_result=$? |
|
7337 |
if test -s conftest.err && $GREP force_load conftest.err; then |
|
7338 |
cat conftest.err >&5 |
|
7339 |
elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
|
7340 |
lt_cv_ld_force_load=yes |
|
7341 |
else |
|
7342 |
cat conftest.err >&5 |
|
7343 |
fi |
|
7344 |
rm -f conftest.err libconftest.a conftest conftest.c |
|
7345 |
rm -rf conftest.dSYM |
|
7346 |
|
|
7347 |
fi |
|
7348 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
|
7349 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
|
7350 |
case $host_os in |
|
7351 |
rhapsody* | darwin1.[012]) |
|
7352 |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
|
7353 |
darwin1.*) |
|
7354 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
|
7355 |
darwin*) # darwin 5.x on |
|
7356 |
# if running on 10.5 or later, the deployment target defaults |
|
7357 |
# to the OS version, if on x86, and 10.4, the deployment |
|
7358 |
# target defaults to 10.4. Don't you love it? |
|
7359 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
7360 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
7361 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
|
7362 |
10.[012][,.]*) |
|
7363 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
|
7364 |
10.*) |
|
7365 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
|
7366 |
esac |
|
7367 |
;; |
|
7368 |
esac |
|
7369 |
if test yes = "$lt_cv_apple_cc_single_mod"; then |
|
7370 |
_lt_dar_single_mod='$single_module' |
|
7371 |
fi |
|
7372 |
if test yes = "$lt_cv_ld_exported_symbols_list"; then |
|
7373 |
_lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
|
7374 |
else |
|
7375 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
|
7376 |
fi |
|
7377 |
if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
|
7378 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
|
7379 |
else |
|
7380 |
_lt_dsymutil= |
|
7381 |
fi |
|
7382 |
;; |
|
7383 |
esac |
|
7384 |
|
|
7385 |
# func_munge_path_list VARIABLE PATH |
|
7386 |
# ----------------------------------- |
|
7387 |
# VARIABLE is name of variable containing _space_ separated list of |
|
7388 |
# directories to be munged by the contents of PATH, which is string |
|
7389 |
# having a format: |
|
7390 |
# "DIR[:DIR]:" |
|
7391 |
# string "DIR[ DIR]" will be prepended to VARIABLE |
|
7392 |
# ":DIR[:DIR]" |
|
7393 |
# string "DIR[ DIR]" will be appended to VARIABLE |
|
7394 |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
|
7395 |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
|
7396 |
# "DIRA[ DIRA]" will be appended to VARIABLE |
|
7397 |
# "DIR[:DIR]" |
|
7398 |
# VARIABLE will be replaced by "DIR[ DIR]" |
|
7399 |
func_munge_path_list () |
|
7400 |
{ |
|
7401 |
case x@S|@2 in |
|
7402 |
x) |
|
7403 |
;; |
|
7404 |
*:) |
|
7405 |
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" |
|
7406 |
;; |
|
7407 |
x:*) |
|
7408 |
eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" |
|
7409 |
;; |
|
7410 |
*::*) |
|
7411 |
eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
|
7412 |
eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" |
|
7413 |
;; |
|
7414 |
*) |
|
7415 |
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" |
|
7416 |
;; |
|
7417 |
esac |
|
7418 |
} |
|
7419 |
|
|
7420 |
ac_ext=c |
|
7421 |
ac_cpp='$CPP $CPPFLAGS' |
|
7422 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7423 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7424 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
7426 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
7427 |
# On Suns, sometimes $CPP names a directory. |
|
7428 |
if test -n "$CPP" && test -d "$CPP"; then |
|
7429 |
CPP= |
|
7430 |
fi |
|
7431 |
if test -z "$CPP"; then |
|
7432 |
if ${ac_cv_prog_CPP+:} false; then : |
|
7433 |
$as_echo_n "(cached) " >&6 |
|
7434 |
else |
|
7435 |
# Double quotes because CPP needs to be expanded |
|
7436 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
7437 |
do |
|
7438 |
ac_preproc_ok=false |
|
7439 |
for ac_c_preproc_warn_flag in '' yes |
|
7440 |
do |
|
7441 |
# Use a header file that comes with gcc, so configuring glibc |
|
7442 |
# with a fresh cross-compiler works. |
|
7443 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
7444 |
# <limits.h> exists even on freestanding compilers. |
|
7445 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
7446 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
7447 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7448 |
/* end confdefs.h. */ |
|
7449 |
@%:@ifdef __STDC__ |
|
7450 |
@%:@ include <limits.h> |
|
7451 |
@%:@else |
|
7452 |
@%:@ include <assert.h> |
|
7453 |
@%:@endif |
|
7454 |
Syntax error |
|
7455 |
_ACEOF |
|
7456 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7457 |
|
|
7458 |
else |
|
7459 |
# Broken: fails on valid input. |
|
7460 |
continue |
|
7461 |
fi |
|
7462 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
7463 |
|
|
7464 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
7465 |
# can be detected and how. |
|
7466 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7467 |
/* end confdefs.h. */ |
|
7468 |
@%:@include <ac_nonexistent.h> |
|
7469 |
_ACEOF |
|
7470 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7471 |
# Broken: success on invalid input. |
|
7472 |
continue |
|
7473 |
else |
|
7474 |
# Passes both tests. |
|
7475 |
ac_preproc_ok=: |
|
7476 |
break |
|
7477 |
fi |
|
7478 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
7479 |
|
|
7480 |
done |
|
7481 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
7482 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
7483 |
if $ac_preproc_ok; then : |
|
7484 |
break |
|
7485 |
fi |
|
7486 |
|
|
7487 |
done |
|
7488 |
ac_cv_prog_CPP=$CPP |
|
7489 |
|
|
7490 |
fi |
|
7491 |
CPP=$ac_cv_prog_CPP |
|
7492 |
else |
|
7493 |
ac_cv_prog_CPP=$CPP |
|
7494 |
fi |
|
7495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
7496 |
$as_echo "$CPP" >&6; } |
|
7497 |
ac_preproc_ok=false |
|
7498 |
for ac_c_preproc_warn_flag in '' yes |
|
7499 |
do |
|
7500 |
# Use a header file that comes with gcc, so configuring glibc |
|
7501 |
# with a fresh cross-compiler works. |
|
7502 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
7503 |
# <limits.h> exists even on freestanding compilers. |
|
7504 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
7505 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
7506 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7507 |
/* end confdefs.h. */ |
|
7508 |
@%:@ifdef __STDC__ |
|
7509 |
@%:@ include <limits.h> |
|
7510 |
@%:@else |
|
7511 |
@%:@ include <assert.h> |
|
7512 |
@%:@endif |
|
7513 |
Syntax error |
|
7514 |
_ACEOF |
|
7515 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7516 |
|
|
7517 |
else |
|
7518 |
# Broken: fails on valid input. |
|
7519 |
continue |
|
7520 |
fi |
|
7521 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
7522 |
|
|
7523 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
7524 |
# can be detected and how. |
|
7525 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7526 |
/* end confdefs.h. */ |
|
7527 |
@%:@include <ac_nonexistent.h> |
|
7528 |
_ACEOF |
|
7529 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
7530 |
# Broken: success on invalid input. |
|
7531 |
continue |
|
7532 |
else |
|
7533 |
# Passes both tests. |
|
7534 |
ac_preproc_ok=: |
|
7535 |
break |
|
7536 |
fi |
|
7537 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
7538 |
|
|
7539 |
done |
|
7540 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
7541 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
7542 |
if $ac_preproc_ok; then : |
|
7543 |
|
|
7544 |
else |
|
7545 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
7546 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
7547 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
7548 |
See \`config.log' for more details" "$LINENO" 5; } |
|
7549 |
fi |
|
7550 |
|
|
7551 |
ac_ext=c |
|
7552 |
ac_cpp='$CPP $CPPFLAGS' |
|
7553 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7554 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7555 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7556 |
|
|
7557 |
|
|
7558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
7559 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
7560 |
if ${ac_cv_header_stdc+:} false; then : |
|
7561 |
$as_echo_n "(cached) " >&6 |
|
7562 |
else |
|
7563 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7564 |
/* end confdefs.h. */ |
|
7565 |
#include <stdlib.h> |
|
7566 |
#include <stdarg.h> |
|
7567 |
#include <string.h> |
|
7568 |
#include <float.h> |
|
7569 |
|
|
7570 |
int |
|
7571 |
main () |
|
7572 |
{ |
|
7573 |
|
|
7574 |
; |
|
7575 |
return 0; |
|
7576 |
} |
|
7577 |
_ACEOF |
|
7578 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
7579 |
ac_cv_header_stdc=yes |
|
7580 |
else |
|
7581 |
ac_cv_header_stdc=no |
|
7582 |
fi |
|
7583 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7584 |
|
|
7585 |
if test $ac_cv_header_stdc = yes; then |
|
7586 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
7587 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7588 |
/* end confdefs.h. */ |
|
7589 |
#include <string.h> |
|
7590 |
|
|
7591 |
_ACEOF |
|
7592 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7593 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
7594 |
|
|
7595 |
else |
|
7596 |
ac_cv_header_stdc=no |
|
7597 |
fi |
|
7598 |
rm -f conftest* |
|
7599 |
|
|
7600 |
fi |
|
7601 |
|
|
7602 |
if test $ac_cv_header_stdc = yes; then |
|
7603 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
7604 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7605 |
/* end confdefs.h. */ |
|
7606 |
#include <stdlib.h> |
|
7607 |
|
|
7608 |
_ACEOF |
|
7609 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7610 |
$EGREP "free" >/dev/null 2>&1; then : |
|
7611 |
|
|
7612 |
else |
|
7613 |
ac_cv_header_stdc=no |
|
7614 |
fi |
|
7615 |
rm -f conftest* |
|
7616 |
|
|
7617 |
fi |
|
7618 |
|
|
7619 |
if test $ac_cv_header_stdc = yes; then |
|
7620 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
7621 |
if test "$cross_compiling" = yes; then : |
|
7622 |
: |
|
7623 |
else |
|
7624 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7625 |
/* end confdefs.h. */ |
|
7626 |
#include <ctype.h> |
|
7627 |
#include <stdlib.h> |
|
7628 |
#if ((' ' & 0x0FF) == 0x020) |
|
7629 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
7630 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
7631 |
#else |
|
7632 |
# define ISLOWER(c) \ |
|
7633 |
(('a' <= (c) && (c) <= 'i') \ |
|
7634 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
7635 |
|| ('s' <= (c) && (c) <= 'z')) |
|
7636 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
7637 |
#endif |
|
7638 |
|
|
7639 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
7640 |
int |
|
7641 |
main () |
|
7642 |
{ |
|
7643 |
int i; |
|
7644 |
for (i = 0; i < 256; i++) |
|
7645 |
if (XOR (islower (i), ISLOWER (i)) |
|
7646 |
|| toupper (i) != TOUPPER (i)) |
|
7647 |
return 2; |
|
7648 |
return 0; |
|
7649 |
} |
|
7650 |
_ACEOF |
|
7651 |
if ac_fn_c_try_run "$LINENO"; then : |
|
7652 |
|
|
7653 |
else |
|
7654 |
ac_cv_header_stdc=no |
|
7655 |
fi |
|
7656 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
7657 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
7658 |
fi |
|
7659 |
|
|
7660 |
fi |
|
7661 |
fi |
|
7662 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
7663 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
7664 |
if test $ac_cv_header_stdc = yes; then |
|
7665 |
|
|
7666 |
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h |
|
7667 |
|
|
7668 |
fi |
|
7669 |
|
|
7670 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
7671 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
7672 |
inttypes.h stdint.h unistd.h |
|
7673 |
do : |
|
7674 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7675 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
7676 |
" |
|
7677 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
7678 |
cat >>confdefs.h <<_ACEOF |
|
7679 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
7680 |
_ACEOF |
|
7681 |
|
|
7682 |
fi |
|
7683 |
|
|
7684 |
done |
|
7685 |
|
|
7686 |
|
|
7687 |
for ac_header in dlfcn.h |
|
7688 |
do : |
|
7689 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
|
7690 |
" |
|
7691 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
|
7692 |
cat >>confdefs.h <<_ACEOF |
|
7693 |
@%:@define HAVE_DLFCN_H 1 |
|
7694 |
_ACEOF |
|
7695 |
|
|
7696 |
fi |
|
7697 |
|
|
7698 |
done |
|
7699 |
|
|
7700 |
|
|
7701 |
|
|
7702 |
|
|
7703 |
|
|
7704 |
# Set options |
|
7705 |
|
|
7706 |
|
|
7707 |
|
|
7708 |
enable_dlopen=no |
|
7709 |
|
|
7710 |
|
|
7711 |
enable_win32_dll=no |
|
7712 |
|
|
7713 |
|
|
7714 |
@%:@ Check whether --enable-shared was given. |
|
7715 |
if test "${enable_shared+set}" = set; then : |
|
7716 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
7717 |
case $enableval in |
|
7718 |
yes) enable_shared=yes ;; |
|
7719 |
no) enable_shared=no ;; |
|
7720 |
*) |
|
7721 |
enable_shared=no |
|
7722 |
# Look at the argument we got. We use all the common list separators. |
|
7723 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
|
7724 |
for pkg in $enableval; do |
|
7725 |
IFS=$lt_save_ifs |
|
7726 |
if test "X$pkg" = "X$p"; then |
|
7727 |
enable_shared=yes |
|
7728 |
fi |
|
7729 |
done |
|
7730 |
IFS=$lt_save_ifs |
|
7731 |
;; |
|
7732 |
esac |
|
7733 |
else |
|
7734 |
enable_shared=yes |
|
7735 |
fi |
|
7736 |
|
|
7737 |
|
|
7738 |
|
|
7739 |
|
|
7740 |
|
|
7741 |
|
|
7742 |
|
|
7743 |
|
|
7744 |
|
|
7745 |
@%:@ Check whether --enable-static was given. |
|
7746 |
if test "${enable_static+set}" = set; then : |
|
7747 |
enableval=$enable_static; p=${PACKAGE-default} |
|
7748 |
case $enableval in |
|
7749 |
yes) enable_static=yes ;; |
|
7750 |
no) enable_static=no ;; |
|
7751 |
*) |
|
7752 |
enable_static=no |
|
7753 |
# Look at the argument we got. We use all the common list separators. |
|
7754 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
|
7755 |
for pkg in $enableval; do |
|
7756 |
IFS=$lt_save_ifs |
|
7757 |
if test "X$pkg" = "X$p"; then |
|
7758 |
enable_static=yes |
|
7759 |
fi |
|
7760 |
done |
|
7761 |
IFS=$lt_save_ifs |
|
7762 |
;; |
|
7763 |
esac |
|
7764 |
else |
|
7765 |
enable_static=yes |
|
7766 |
fi |
|
7767 |
|
|
7768 |
|
|
7769 |
|
|
7770 |
|
|
7771 |
|
|
7772 |
|
|
7773 |
|
|
7774 |
|
|
7775 |
|
|
7776 |
|
|
7777 |
@%:@ Check whether --with-pic was given. |
|
7778 |
if test "${with_pic+set}" = set; then : |
|
7779 |
withval=$with_pic; lt_p=${PACKAGE-default} |
|
7780 |
case $withval in |
|
7781 |
yes|no) pic_mode=$withval ;; |
|
7782 |
*) |
|
7783 |
pic_mode=default |
|
7784 |
# Look at the argument we got. We use all the common list separators. |
|
7785 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
|
7786 |
for lt_pkg in $withval; do |
|
7787 |
IFS=$lt_save_ifs |
|
7788 |
if test "X$lt_pkg" = "X$lt_p"; then |
|
7789 |
pic_mode=yes |
|
7790 |
fi |
|
7791 |
done |
|
7792 |
IFS=$lt_save_ifs |
|
7793 |
;; |
|
7794 |
esac |
|
7795 |
else |
|
7796 |
pic_mode=default |
|
7797 |
fi |
|
7798 |
|
|
7799 |
|
|
7800 |
|
|
7801 |
|
|
7802 |
|
|
7803 |
|
|
7804 |
|
|
7805 |
|
|
7806 |
@%:@ Check whether --enable-fast-install was given. |
|
7807 |
if test "${enable_fast_install+set}" = set; then : |
|
7808 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
7809 |
case $enableval in |
|
7810 |
yes) enable_fast_install=yes ;; |
|
7811 |
no) enable_fast_install=no ;; |
|
7812 |
*) |
|
7813 |
enable_fast_install=no |
|
7814 |
# Look at the argument we got. We use all the common list separators. |
|
7815 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
|
7816 |
for pkg in $enableval; do |
|
7817 |
IFS=$lt_save_ifs |
|
7818 |
if test "X$pkg" = "X$p"; then |
|
7819 |
enable_fast_install=yes |
|
7820 |
fi |
|
7821 |
done |
|
7822 |
IFS=$lt_save_ifs |
|
7823 |
;; |
|
7824 |
esac |
|
7825 |
else |
|
7826 |
enable_fast_install=yes |
|
7827 |
fi |
|
7828 |
|
|
7829 |
|
|
7830 |
|
|
7831 |
|
|
7832 |
|
|
7833 |
|
|
7834 |
|
|
7835 |
|
|
7836 |
shared_archive_member_spec= |
|
7837 |
case $host,$enable_shared in |
|
7838 |
power*-*-aix[5-9]*,yes) |
|
7839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
|
7840 |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } |
|
7841 |
|
|
7842 |
@%:@ Check whether --with-aix-soname was given. |
|
7843 |
if test "${with_aix_soname+set}" = set; then : |
|
7844 |
withval=$with_aix_soname; case $withval in |
|
7845 |
aix|svr4|both) |
|
7846 |
;; |
|
7847 |
*) |
|
7848 |
as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
|
7849 |
;; |
|
7850 |
esac |
|
7851 |
lt_cv_with_aix_soname=$with_aix_soname |
|
7852 |
else |
|
7853 |
if ${lt_cv_with_aix_soname+:} false; then : |
|
7854 |
$as_echo_n "(cached) " >&6 |
|
7855 |
else |
|
7856 |
lt_cv_with_aix_soname=aix |
|
7857 |
fi |
|
7858 |
|
|
7859 |
with_aix_soname=$lt_cv_with_aix_soname |
|
7860 |
fi |
|
7861 |
|
|
7862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
|
7863 |
$as_echo "$with_aix_soname" >&6; } |
|
7864 |
if test aix != "$with_aix_soname"; then |
|
7865 |
# For the AIX way of multilib, we name the shared archive member |
|
7866 |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
|
7867 |
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
|
7868 |
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
|
7869 |
# the AIX toolchain works better with OBJECT_MODE set (default 32). |
|
7870 |
if test 64 = "${OBJECT_MODE-32}"; then |
|
7871 |
shared_archive_member_spec=shr_64 |
|
7872 |
else |
|
7873 |
shared_archive_member_spec=shr |
|
7874 |
fi |
|
7875 |
fi |
|
7876 |
;; |
|
7877 |
*) |
|
7878 |
with_aix_soname=aix |
|
7879 |
;; |
|
7880 |
esac |
|
7881 |
|
|
7882 |
|
|
7883 |
|
|
7884 |
|
|
7885 |
|
|
7886 |
|
|
7887 |
|
|
7888 |
|
|
7889 |
|
|
7890 |
|
|
7891 |
# This can be used to rebuild libtool when needed |
|
7892 |
LIBTOOL_DEPS=$ltmain |
|
7893 |
|
|
7894 |
# Always use our own libtool. |
|
7895 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
7896 |
|
|
7897 |
|
|
7898 |
|
|
7899 |
|
|
7900 |
|
|
7901 |
|
|
7902 |
|
|
7903 |
|
|
7904 |
|
|
7905 |
|
|
7906 |
|
|
7907 |
|
|
7908 |
|
|
7909 |
|
|
7910 |
|
|
7911 |
|
|
7912 |
|
|
7913 |
|
|
7914 |
|
|
7915 |
|
|
7916 |
|
|
7917 |
|
|
7918 |
|
|
7919 |
|
|
7920 |
|
|
7921 |
|
|
7922 |
|
|
7923 |
|
|
7924 |
|
|
7925 |
|
|
7926 |
test -z "$LN_S" && LN_S="ln -s" |
|
7927 |
|
|
7928 |
|
|
7929 |
|
|
7930 |
|
|
7931 |
|
|
7932 |
|
|
7933 |
|
|
7934 |
|
|
7935 |
|
|
7936 |
|
|
7937 |
|
|
7938 |
|
|
7939 |
|
|
7940 |
|
|
7941 |
if test -n "${ZSH_VERSION+set}"; then |
|
7942 |
setopt NO_GLOB_SUBST |
|
7943 |
fi |
|
7944 |
|
|
7945 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
|
7946 |
$as_echo_n "checking for objdir... " >&6; } |
|
7947 |
if ${lt_cv_objdir+:} false; then : |
|
7948 |
$as_echo_n "(cached) " >&6 |
|
7949 |
else |
|
7950 |
rm -f .libs 2>/dev/null |
|
7951 |
mkdir .libs 2>/dev/null |
|
7952 |
if test -d .libs; then |
|
7953 |
lt_cv_objdir=.libs |
|
7954 |
else |
|
7955 |
# MS-DOS does not allow filenames that begin with a dot. |
|
7956 |
lt_cv_objdir=_libs |
|
7957 |
fi |
|
7958 |
rmdir .libs 2>/dev/null |
|
7959 |
fi |
|
7960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
|
7961 |
$as_echo "$lt_cv_objdir" >&6; } |
|
7962 |
objdir=$lt_cv_objdir |
|
7963 |
|
|
7964 |
|
|
7965 |
|
|
7966 |
|
|
7967 |
|
|
7968 |
cat >>confdefs.h <<_ACEOF |
|
7969 |
@%:@define LT_OBJDIR "$lt_cv_objdir/" |
|
7970 |
_ACEOF |
|
7971 |
|
|
7972 |
|
|
7973 |
|
|
7974 |
|
|
7975 |
case $host_os in |
|
7976 |
aix3*) |
|
7977 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
7978 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
7979 |
# vanish in a puff of smoke. |
|
7980 |
if test set != "${COLLECT_NAMES+set}"; then |
|
7981 |
COLLECT_NAMES= |
|
7982 |
export COLLECT_NAMES |
|
7983 |
fi |
|
7984 |
;; |
|
7985 |
esac |
|
7986 |
|
|
7987 |
# Global variables: |
|
7988 |
ofile=libtool |
|
7989 |
can_build_shared=yes |
|
7990 |
|
|
7991 |
# All known linkers require a '.a' archive for static linking (except MSVC, |
|
7992 |
# which needs '.lib'). |
|
7993 |
libext=a |
|
7994 |
|
|
7995 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
7996 |
|
|
7997 |
old_CC=$CC |
|
7998 |
old_CFLAGS=$CFLAGS |
|
7999 |
|
|
8000 |
# Set sane defaults for various variables |
|
8001 |
test -z "$CC" && CC=cc |
|
8002 |
test -z "$LTCC" && LTCC=$CC |
|
8003 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
8004 |
test -z "$LD" && LD=ld |
|
8005 |
test -z "$ac_objext" && ac_objext=o |
|
8006 |
|
|
8007 |
func_cc_basename $compiler |
|
8008 |
cc_basename=$func_cc_basename_result |
|
8009 |
|
|
8010 |
|
|
8011 |
# Only perform the check for file, if the check method requires it |
|
8012 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
8013 |
case $deplibs_check_method in |
|
8014 |
file_magic*) |
|
8015 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
8016 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
|
8017 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
8018 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
|
8019 |
$as_echo_n "(cached) " >&6 |
|
8020 |
else |
|
8021 |
case $MAGIC_CMD in |
|
8022 |
[\\/*] | ?:[\\/]*) |
|
8023 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
|
8024 |
;; |
|
8025 |
*) |
|
8026 |
lt_save_MAGIC_CMD=$MAGIC_CMD |
|
8027 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
|
8028 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8029 |
for ac_dir in $ac_dummy; do |
|
8030 |
IFS=$lt_save_ifs |
|
8031 |
test -z "$ac_dir" && ac_dir=. |
|
8032 |
if test -f "$ac_dir/${ac_tool_prefix}file"; then |
|
8033 |
lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
|
8034 |
if test -n "$file_magic_test_file"; then |
|
8035 |
case $deplibs_check_method in |
|
8036 |
"file_magic "*) |
|
8037 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8038 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
|
8039 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8040 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8041 |
: |
|
8042 |
else |
|
8043 |
cat <<_LT_EOF 1>&2 |
|
8044 |
|
|
8045 |
*** Warning: the command libtool uses to detect shared libraries, |
|
8046 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
8047 |
*** The result is that libtool may fail to recognize shared libraries |
|
8048 |
*** as such. This will affect the creation of libtool libraries that |
|
8049 |
*** depend on shared libraries, but programs linked with such libtool |
|
8050 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
8051 |
*** may want to report the problem to your system manager and/or to |
|
8052 |
*** bug-libtool@gnu.org |
|
8053 |
|
|
8054 |
_LT_EOF |
|
8055 |
fi ;; |
|
8056 |
esac |
|
8057 |
fi |
|
8058 |
break |
|
8059 |
fi |
|
8060 |
done |
|
8061 |
IFS=$lt_save_ifs |
|
8062 |
MAGIC_CMD=$lt_save_MAGIC_CMD |
|
8063 |
;; |
|
8064 |
esac |
|
8065 |
fi |
|
8066 |
|
|
8067 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
|
8068 |
if test -n "$MAGIC_CMD"; then |
|
8069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
8070 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8071 |
else |
|
8072 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8073 |
$as_echo "no" >&6; } |
|
8074 |
fi |
|
8075 |
|
|
8076 |
|
|
8077 |
|
|
8078 |
|
|
8079 |
|
|
8080 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
8081 |
if test -n "$ac_tool_prefix"; then |
|
8082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
|
8083 |
$as_echo_n "checking for file... " >&6; } |
|
8084 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
|
8085 |
$as_echo_n "(cached) " >&6 |
|
8086 |
else |
|
8087 |
case $MAGIC_CMD in |
|
8088 |
[\\/*] | ?:[\\/]*) |
|
8089 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
|
8090 |
;; |
|
8091 |
*) |
|
8092 |
lt_save_MAGIC_CMD=$MAGIC_CMD |
|
8093 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
|
8094 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
8095 |
for ac_dir in $ac_dummy; do |
|
8096 |
IFS=$lt_save_ifs |
|
8097 |
test -z "$ac_dir" && ac_dir=. |
|
8098 |
if test -f "$ac_dir/file"; then |
|
8099 |
lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
|
8100 |
if test -n "$file_magic_test_file"; then |
|
8101 |
case $deplibs_check_method in |
|
8102 |
"file_magic "*) |
|
8103 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
8104 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
|
8105 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
8106 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
8107 |
: |
|
8108 |
else |
|
8109 |
cat <<_LT_EOF 1>&2 |
|
8110 |
|
|
8111 |
*** Warning: the command libtool uses to detect shared libraries, |
|
8112 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
8113 |
*** The result is that libtool may fail to recognize shared libraries |
|
8114 |
*** as such. This will affect the creation of libtool libraries that |
|
8115 |
*** depend on shared libraries, but programs linked with such libtool |
|
8116 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
8117 |
*** may want to report the problem to your system manager and/or to |
|
8118 |
*** bug-libtool@gnu.org |
|
8119 |
|
|
8120 |
_LT_EOF |
|
8121 |
fi ;; |
|
8122 |
esac |
|
8123 |
fi |
|
8124 |
break |
|
8125 |
fi |
|
8126 |
done |
|
8127 |
IFS=$lt_save_ifs |
|
8128 |
MAGIC_CMD=$lt_save_MAGIC_CMD |
|
8129 |
;; |
|
8130 |
esac |
|
8131 |
fi |
|
8132 |
|
|
8133 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
|
8134 |
if test -n "$MAGIC_CMD"; then |
|
8135 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
|
8136 |
$as_echo "$MAGIC_CMD" >&6; } |
|
8137 |
else |
|
8138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
8139 |
$as_echo "no" >&6; } |
|
8140 |
fi |
|
8141 |
|
|
8142 |
|
|
8143 |
else |
|
8144 |
MAGIC_CMD=: |
|
8145 |
fi |
|
8146 |
fi |
|
8147 |
|
|
8148 |
fi |
|
8149 |
;; |
|
8150 |
esac |
|
8151 |
|
|
8152 |
# Use C for the default configuration in the libtool script |
|
8153 |
|
|
8154 |
lt_save_CC=$CC |
|
8155 |
ac_ext=c |
|
8156 |
ac_cpp='$CPP $CPPFLAGS' |
|
8157 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
8158 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
8159 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
8160 |
|
|
8161 |
|
|
8162 |
# Source file extension for C test sources. |
|
8163 |
ac_ext=c |
|
8164 |
|
|
8165 |
# Object file extension for compiled C test sources. |
|
8166 |
objext=o |
|
8167 |
objext=$objext |
|
8168 |
|
|
8169 |
# Code to be used in simple compile tests |
|
8170 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
8171 |
|
|
8172 |
# Code to be used in simple link tests |
|
8173 |
lt_simple_link_test_code='int main(){return(0);}' |
|
8174 |
|
|
8175 |
|
|
8176 |
|
|
8177 |
|
|
8178 |
|
|
8179 |
|
|
8180 |
|
|
8181 |
# If no C compiler was specified, use CC. |
|
8182 |
LTCC=${LTCC-"$CC"} |
|
8183 |
|
|
8184 |
# If no C compiler flags were specified, use CFLAGS. |
|
8185 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
8186 |
|
|
8187 |
# Allow CC to be a program name with arguments. |
|
8188 |
compiler=$CC |
|
8189 |
|
|
8190 |
# Save the default compiler, since it gets overwritten when the other |
|
8191 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
8192 |
compiler_DEFAULT=$CC |
|
8193 |
|
|
8194 |
# save warnings/boilerplate of simple test code |
|
8195 |
ac_outfile=conftest.$ac_objext |
|
8196 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
8197 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8198 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
8199 |
$RM conftest* |
|
8200 |
|
|
8201 |
ac_outfile=conftest.$ac_objext |
|
8202 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
8203 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
8204 |
_lt_linker_boilerplate=`cat conftest.err` |
|
8205 |
$RM -r conftest* |
|
8206 |
|
|
8207 |
|
|
8208 |
if test -n "$compiler"; then |
|
8209 |
|
|
8210 |
lt_prog_compiler_no_builtin_flag= |
|
8211 |
|
|
8212 |
if test yes = "$GCC"; then |
|
8213 |
case $cc_basename in |
|
8214 |
nvcc*) |
|
8215 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
|
8216 |
*) |
|
8217 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
|
8218 |
esac |
|
8219 |
|
|
8220 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
8221 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
8222 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
|
8223 |
$as_echo_n "(cached) " >&6 |
|
8224 |
else |
|
8225 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
8226 |
ac_outfile=conftest.$ac_objext |
|
8227 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8228 |
lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
|
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 |
# The option is referenced via a variable to avoid confusing sed. |
|
8234 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8235 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8236 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8237 |
-e 's:$: $lt_compiler_flag:'` |
|
8238 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8239 |
(eval "$lt_compile" 2>conftest.err) |
|
8240 |
ac_status=$? |
|
8241 |
cat conftest.err >&5 |
|
8242 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8243 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
|
8244 |
# The compiler can only warn and ignore the option if not recognized |
|
8245 |
# So say no if there are warnings other than the usual output. |
|
8246 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
8247 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
8248 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8249 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
8250 |
fi |
|
8251 |
fi |
|
8252 |
$RM conftest* |
|
8253 |
|
|
8254 |
fi |
|
8255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
|
8256 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
8257 |
|
|
8258 |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
|
8259 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
8260 |
else |
|
8261 |
: |
|
8262 |
fi |
|
8263 |
|
|
8264 |
fi |
|
8265 |
|
|
8266 |
|
|
8267 |
|
|
8268 |
|
|
8269 |
|
|
8270 |
|
|
8271 |
lt_prog_compiler_wl= |
|
8272 |
lt_prog_compiler_pic= |
|
8273 |
lt_prog_compiler_static= |
|
8274 |
|
|
8275 |
|
|
8276 |
if test yes = "$GCC"; then |
|
8277 |
lt_prog_compiler_wl='-Wl,' |
|
8278 |
lt_prog_compiler_static='-static' |
|
8279 |
|
|
8280 |
case $host_os in |
|
8281 |
aix*) |
|
8282 |
# All AIX code is PIC. |
|
8283 |
if test ia64 = "$host_cpu"; then |
|
8284 |
# AIX 5 now supports IA64 processor |
|
8285 |
lt_prog_compiler_static='-Bstatic' |
|
8286 |
fi |
|
8287 |
lt_prog_compiler_pic='-fPIC' |
|
8288 |
;; |
|
8289 |
|
|
8290 |
amigaos*) |
|
8291 |
case $host_cpu in |
|
8292 |
powerpc) |
|
8293 |
# see comment about AmigaOS4 .so support |
|
8294 |
lt_prog_compiler_pic='-fPIC' |
|
8295 |
;; |
|
8296 |
m68k) |
|
8297 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
8298 |
# adding the '-m68020' flag to GCC prevents building anything better, |
|
8299 |
# like '-m68040'. |
|
8300 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
8301 |
;; |
|
8302 |
esac |
|
8303 |
;; |
|
8304 |
|
|
8305 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
8306 |
# PIC is the default for these OSes. |
|
8307 |
;; |
|
8308 |
|
|
8309 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
8310 |
# This hack is so that the source file can tell whether it is being |
|
8311 |
# built for inclusion in a dll (and should export symbols for example). |
|
8312 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
8313 |
# (--disable-auto-import) libraries |
|
8314 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8315 |
case $host_os in |
|
8316 |
os2*) |
|
8317 |
lt_prog_compiler_static='$wl-static' |
|
8318 |
;; |
|
8319 |
esac |
|
8320 |
;; |
|
8321 |
|
|
8322 |
darwin* | rhapsody*) |
|
8323 |
# PIC is the default on this platform |
|
8324 |
# Common symbols not allowed in MH_DYLIB files |
|
8325 |
lt_prog_compiler_pic='-fno-common' |
|
8326 |
;; |
|
8327 |
|
|
8328 |
haiku*) |
|
8329 |
# PIC is the default for Haiku. |
|
8330 |
# The "-static" flag exists, but is broken. |
|
8331 |
lt_prog_compiler_static= |
|
8332 |
;; |
|
8333 |
|
|
8334 |
hpux*) |
|
8335 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
8336 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
8337 |
# sets the default TLS model and affects inlining. |
|
8338 |
case $host_cpu in |
|
8339 |
hppa*64*) |
|
8340 |
# +Z the default |
|
8341 |
;; |
|
8342 |
*) |
|
8343 |
lt_prog_compiler_pic='-fPIC' |
|
8344 |
;; |
|
8345 |
esac |
|
8346 |
;; |
|
8347 |
|
|
8348 |
interix[3-9]*) |
|
8349 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
8350 |
# Instead, we relocate shared libraries at runtime. |
|
8351 |
;; |
|
8352 |
|
|
8353 |
msdosdjgpp*) |
|
8354 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
8355 |
# on systems that don't support them. |
|
8356 |
lt_prog_compiler_can_build_shared=no |
|
8357 |
enable_shared=no |
|
8358 |
;; |
|
8359 |
|
|
8360 |
*nto* | *qnx*) |
|
8361 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
8362 |
# it will coredump. |
|
8363 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8364 |
;; |
|
8365 |
|
|
8366 |
sysv4*MP*) |
|
8367 |
if test -d /usr/nec; then |
|
8368 |
lt_prog_compiler_pic=-Kconform_pic |
|
8369 |
fi |
|
8370 |
;; |
|
8371 |
|
|
8372 |
*) |
|
8373 |
lt_prog_compiler_pic='-fPIC' |
|
8374 |
;; |
|
8375 |
esac |
|
8376 |
|
|
8377 |
case $cc_basename in |
|
8378 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
8379 |
lt_prog_compiler_wl='-Xlinker ' |
|
8380 |
if test -n "$lt_prog_compiler_pic"; then |
|
8381 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
|
8382 |
fi |
|
8383 |
;; |
|
8384 |
esac |
|
8385 |
else |
|
8386 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
8387 |
case $host_os in |
|
8388 |
aix*) |
|
8389 |
lt_prog_compiler_wl='-Wl,' |
|
8390 |
if test ia64 = "$host_cpu"; then |
|
8391 |
# AIX 5 now supports IA64 processor |
|
8392 |
lt_prog_compiler_static='-Bstatic' |
|
8393 |
else |
|
8394 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
8395 |
fi |
|
8396 |
;; |
|
8397 |
|
|
8398 |
darwin* | rhapsody*) |
|
8399 |
# PIC is the default on this platform |
|
8400 |
# Common symbols not allowed in MH_DYLIB files |
|
8401 |
lt_prog_compiler_pic='-fno-common' |
|
8402 |
case $cc_basename in |
|
8403 |
nagfor*) |
|
8404 |
# NAG Fortran compiler |
|
8405 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
8406 |
lt_prog_compiler_pic='-PIC' |
|
8407 |
lt_prog_compiler_static='-Bstatic' |
|
8408 |
;; |
|
8409 |
esac |
|
8410 |
;; |
|
8411 |
|
|
8412 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
8413 |
# This hack is so that the source file can tell whether it is being |
|
8414 |
# built for inclusion in a dll (and should export symbols for example). |
|
8415 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
8416 |
case $host_os in |
|
8417 |
os2*) |
|
8418 |
lt_prog_compiler_static='$wl-static' |
|
8419 |
;; |
|
8420 |
esac |
|
8421 |
;; |
|
8422 |
|
|
8423 |
hpux9* | hpux10* | hpux11*) |
|
8424 |
lt_prog_compiler_wl='-Wl,' |
|
8425 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
8426 |
# not for PA HP-UX. |
|
8427 |
case $host_cpu in |
|
8428 |
hppa*64*|ia64*) |
|
8429 |
# +Z the default |
|
8430 |
;; |
|
8431 |
*) |
|
8432 |
lt_prog_compiler_pic='+Z' |
|
8433 |
;; |
|
8434 |
esac |
|
8435 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
8436 |
lt_prog_compiler_static='$wl-a ${wl}archive' |
|
8437 |
;; |
|
8438 |
|
|
8439 |
irix5* | irix6* | nonstopux*) |
|
8440 |
lt_prog_compiler_wl='-Wl,' |
|
8441 |
# PIC (with -KPIC) is the default. |
|
8442 |
lt_prog_compiler_static='-non_shared' |
|
8443 |
;; |
|
8444 |
|
|
8445 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
|
8446 |
case $cc_basename in |
|
8447 |
# old Intel for x86_64, which still supported -KPIC. |
|
8448 |
ecc*) |
|
8449 |
lt_prog_compiler_wl='-Wl,' |
|
8450 |
lt_prog_compiler_pic='-KPIC' |
|
8451 |
lt_prog_compiler_static='-static' |
|
8452 |
;; |
|
8453 |
# icc used to be incompatible with GCC. |
|
8454 |
# ICC 10 doesn't accept -KPIC any more. |
|
8455 |
icc* | ifort*) |
|
8456 |
lt_prog_compiler_wl='-Wl,' |
|
8457 |
lt_prog_compiler_pic='-fPIC' |
|
8458 |
lt_prog_compiler_static='-static' |
|
8459 |
;; |
|
8460 |
# Lahey Fortran 8.1. |
|
8461 |
lf95*) |
|
8462 |
lt_prog_compiler_wl='-Wl,' |
|
8463 |
lt_prog_compiler_pic='--shared' |
|
8464 |
lt_prog_compiler_static='--static' |
|
8465 |
;; |
|
8466 |
nagfor*) |
|
8467 |
# NAG Fortran compiler |
|
8468 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
|
8469 |
lt_prog_compiler_pic='-PIC' |
|
8470 |
lt_prog_compiler_static='-Bstatic' |
|
8471 |
;; |
|
8472 |
tcc*) |
|
8473 |
# Fabrice Bellard et al's Tiny C Compiler |
|
8474 |
lt_prog_compiler_wl='-Wl,' |
|
8475 |
lt_prog_compiler_pic='-fPIC' |
|
8476 |
lt_prog_compiler_static='-static' |
|
8477 |
;; |
|
8478 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
|
8479 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
8480 |
# which looks to be a dead project) |
|
8481 |
lt_prog_compiler_wl='-Wl,' |
|
8482 |
lt_prog_compiler_pic='-fpic' |
|
8483 |
lt_prog_compiler_static='-Bstatic' |
|
8484 |
;; |
|
8485 |
ccc*) |
|
8486 |
lt_prog_compiler_wl='-Wl,' |
|
8487 |
# All Alpha code is PIC. |
|
8488 |
lt_prog_compiler_static='-non_shared' |
|
8489 |
;; |
|
8490 |
xl* | bgxl* | bgf* | mpixl*) |
|
8491 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
|
8492 |
lt_prog_compiler_wl='-Wl,' |
|
8493 |
lt_prog_compiler_pic='-qpic' |
|
8494 |
lt_prog_compiler_static='-qstaticlink' |
|
8495 |
;; |
|
8496 |
*) |
|
8497 |
case `$CC -V 2>&1 | sed 5q` in |
|
8498 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
|
8499 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
8500 |
lt_prog_compiler_pic='-KPIC' |
|
8501 |
lt_prog_compiler_static='-Bstatic' |
|
8502 |
lt_prog_compiler_wl='' |
|
8503 |
;; |
|
8504 |
*Sun\ F* | *Sun*Fortran*) |
|
8505 |
lt_prog_compiler_pic='-KPIC' |
|
8506 |
lt_prog_compiler_static='-Bstatic' |
|
8507 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8508 |
;; |
|
8509 |
*Sun\ C*) |
|
8510 |
# Sun C 5.9 |
|
8511 |
lt_prog_compiler_pic='-KPIC' |
|
8512 |
lt_prog_compiler_static='-Bstatic' |
|
8513 |
lt_prog_compiler_wl='-Wl,' |
|
8514 |
;; |
|
8515 |
*Intel*\ [CF]*Compiler*) |
|
8516 |
lt_prog_compiler_wl='-Wl,' |
|
8517 |
lt_prog_compiler_pic='-fPIC' |
|
8518 |
lt_prog_compiler_static='-static' |
|
8519 |
;; |
|
8520 |
*Portland\ Group*) |
|
8521 |
lt_prog_compiler_wl='-Wl,' |
|
8522 |
lt_prog_compiler_pic='-fpic' |
|
8523 |
lt_prog_compiler_static='-Bstatic' |
|
8524 |
;; |
|
8525 |
esac |
|
8526 |
;; |
|
8527 |
esac |
|
8528 |
;; |
|
8529 |
|
|
8530 |
newsos6) |
|
8531 |
lt_prog_compiler_pic='-KPIC' |
|
8532 |
lt_prog_compiler_static='-Bstatic' |
|
8533 |
;; |
|
8534 |
|
|
8535 |
*nto* | *qnx*) |
|
8536 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
8537 |
# it will coredump. |
|
8538 |
lt_prog_compiler_pic='-fPIC -shared' |
|
8539 |
;; |
|
8540 |
|
|
8541 |
osf3* | osf4* | osf5*) |
|
8542 |
lt_prog_compiler_wl='-Wl,' |
|
8543 |
# All OSF/1 code is PIC. |
|
8544 |
lt_prog_compiler_static='-non_shared' |
|
8545 |
;; |
|
8546 |
|
|
8547 |
rdos*) |
|
8548 |
lt_prog_compiler_static='-non_shared' |
|
8549 |
;; |
|
8550 |
|
|
8551 |
solaris*) |
|
8552 |
lt_prog_compiler_pic='-KPIC' |
|
8553 |
lt_prog_compiler_static='-Bstatic' |
|
8554 |
case $cc_basename in |
|
8555 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
|
8556 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
8557 |
*) |
|
8558 |
lt_prog_compiler_wl='-Wl,';; |
|
8559 |
esac |
|
8560 |
;; |
|
8561 |
|
|
8562 |
sunos4*) |
|
8563 |
lt_prog_compiler_wl='-Qoption ld ' |
|
8564 |
lt_prog_compiler_pic='-PIC' |
|
8565 |
lt_prog_compiler_static='-Bstatic' |
|
8566 |
;; |
|
8567 |
|
|
8568 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
8569 |
lt_prog_compiler_wl='-Wl,' |
|
8570 |
lt_prog_compiler_pic='-KPIC' |
|
8571 |
lt_prog_compiler_static='-Bstatic' |
|
8572 |
;; |
|
8573 |
|
|
8574 |
sysv4*MP*) |
|
8575 |
if test -d /usr/nec; then |
|
8576 |
lt_prog_compiler_pic='-Kconform_pic' |
|
8577 |
lt_prog_compiler_static='-Bstatic' |
|
8578 |
fi |
|
8579 |
;; |
|
8580 |
|
|
8581 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
8582 |
lt_prog_compiler_wl='-Wl,' |
|
8583 |
lt_prog_compiler_pic='-KPIC' |
|
8584 |
lt_prog_compiler_static='-Bstatic' |
|
8585 |
;; |
|
8586 |
|
|
8587 |
unicos*) |
|
8588 |
lt_prog_compiler_wl='-Wl,' |
|
8589 |
lt_prog_compiler_can_build_shared=no |
|
8590 |
;; |
|
8591 |
|
|
8592 |
uts4*) |
|
8593 |
lt_prog_compiler_pic='-pic' |
|
8594 |
lt_prog_compiler_static='-Bstatic' |
|
8595 |
;; |
|
8596 |
|
|
8597 |
*) |
|
8598 |
lt_prog_compiler_can_build_shared=no |
|
8599 |
;; |
|
8600 |
esac |
|
8601 |
fi |
|
8602 |
|
|
8603 |
case $host_os in |
|
8604 |
# For platforms that do not support PIC, -DPIC is meaningless: |
|
8605 |
*djgpp*) |
|
8606 |
lt_prog_compiler_pic= |
|
8607 |
;; |
|
8608 |
*) |
|
8609 |
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" |
|
8610 |
;; |
|
8611 |
esac |
|
8612 |
|
|
8613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
|
8614 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
8615 |
if ${lt_cv_prog_compiler_pic+:} false; then : |
|
8616 |
$as_echo_n "(cached) " >&6 |
|
8617 |
else |
|
8618 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
|
8619 |
fi |
|
8620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
|
8621 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
|
8622 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
8623 |
|
|
8624 |
# |
|
8625 |
# Check to make sure the PIC flag actually works. |
|
8626 |
# |
|
8627 |
if test -n "$lt_prog_compiler_pic"; then |
|
8628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
|
8629 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
8630 |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
|
8631 |
$as_echo_n "(cached) " >&6 |
|
8632 |
else |
|
8633 |
lt_cv_prog_compiler_pic_works=no |
|
8634 |
ac_outfile=conftest.$ac_objext |
|
8635 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8636 |
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment |
|
8637 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8638 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8639 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8640 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8641 |
# The option is referenced via a variable to avoid confusing sed. |
|
8642 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8643 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8644 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8645 |
-e 's:$: $lt_compiler_flag:'` |
|
8646 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8647 |
(eval "$lt_compile" 2>conftest.err) |
|
8648 |
ac_status=$? |
|
8649 |
cat conftest.err >&5 |
|
8650 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8651 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
|
8652 |
# The compiler can only warn and ignore the option if not recognized |
|
8653 |
# So say no if there are warnings other than the usual output. |
|
8654 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
|
8655 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
8656 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
8657 |
lt_cv_prog_compiler_pic_works=yes |
|
8658 |
fi |
|
8659 |
fi |
|
8660 |
$RM conftest* |
|
8661 |
|
|
8662 |
fi |
|
8663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
|
8664 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
8665 |
|
|
8666 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then |
|
8667 |
case $lt_prog_compiler_pic in |
|
8668 |
"" | " "*) ;; |
|
8669 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
8670 |
esac |
|
8671 |
else |
|
8672 |
lt_prog_compiler_pic= |
|
8673 |
lt_prog_compiler_can_build_shared=no |
|
8674 |
fi |
|
8675 |
|
|
8676 |
fi |
|
8677 |
|
|
8678 |
|
|
8679 |
|
|
8680 |
|
|
8681 |
|
|
8682 |
|
|
8683 |
|
|
8684 |
|
|
8685 |
|
|
8686 |
|
|
8687 |
|
|
8688 |
# |
|
8689 |
# Check to make sure the static flag actually works. |
|
8690 |
# |
|
8691 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
8692 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
8693 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
8694 |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
|
8695 |
$as_echo_n "(cached) " >&6 |
|
8696 |
else |
|
8697 |
lt_cv_prog_compiler_static_works=no |
|
8698 |
save_LDFLAGS=$LDFLAGS |
|
8699 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
8700 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
8701 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
8702 |
# The linker can only warn and ignore the option if not recognized |
|
8703 |
# So say no if there are warnings |
|
8704 |
if test -s conftest.err; then |
|
8705 |
# Append any errors to the config.log. |
|
8706 |
cat conftest.err 1>&5 |
|
8707 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
8708 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
8709 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
8710 |
lt_cv_prog_compiler_static_works=yes |
|
8711 |
fi |
|
8712 |
else |
|
8713 |
lt_cv_prog_compiler_static_works=yes |
|
8714 |
fi |
|
8715 |
fi |
|
8716 |
$RM -r conftest* |
|
8717 |
LDFLAGS=$save_LDFLAGS |
|
8718 |
|
|
8719 |
fi |
|
8720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
|
8721 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
8722 |
|
|
8723 |
if test yes = "$lt_cv_prog_compiler_static_works"; then |
|
8724 |
: |
|
8725 |
else |
|
8726 |
lt_prog_compiler_static= |
|
8727 |
fi |
|
8728 |
|
|
8729 |
|
|
8730 |
|
|
8731 |
|
|
8732 |
|
|
8733 |
|
|
8734 |
|
|
8735 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8736 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
8737 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
|
8738 |
$as_echo_n "(cached) " >&6 |
|
8739 |
else |
|
8740 |
lt_cv_prog_compiler_c_o=no |
|
8741 |
$RM -r conftest 2>/dev/null |
|
8742 |
mkdir conftest |
|
8743 |
cd conftest |
|
8744 |
mkdir out |
|
8745 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8746 |
|
|
8747 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8748 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8749 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8750 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8751 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8752 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8753 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8754 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8755 |
-e 's:$: $lt_compiler_flag:'` |
|
8756 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8757 |
(eval "$lt_compile" 2>out/conftest.err) |
|
8758 |
ac_status=$? |
|
8759 |
cat out/conftest.err >&5 |
|
8760 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8761 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
8762 |
then |
|
8763 |
# The compiler can only warn and ignore the option if not recognized |
|
8764 |
# So say no if there are warnings |
|
8765 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
8766 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
8767 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8768 |
lt_cv_prog_compiler_c_o=yes |
|
8769 |
fi |
|
8770 |
fi |
|
8771 |
chmod u+w . 2>&5 |
|
8772 |
$RM conftest* |
|
8773 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8774 |
# template instantiation |
|
8775 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8776 |
$RM out/* && rmdir out |
|
8777 |
cd .. |
|
8778 |
$RM -r conftest |
|
8779 |
$RM conftest* |
|
8780 |
|
|
8781 |
fi |
|
8782 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8783 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8784 |
|
|
8785 |
|
|
8786 |
|
|
8787 |
|
|
8788 |
|
|
8789 |
|
|
8790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
8791 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
8792 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
|
8793 |
$as_echo_n "(cached) " >&6 |
|
8794 |
else |
|
8795 |
lt_cv_prog_compiler_c_o=no |
|
8796 |
$RM -r conftest 2>/dev/null |
|
8797 |
mkdir conftest |
|
8798 |
cd conftest |
|
8799 |
mkdir out |
|
8800 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
8801 |
|
|
8802 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
8803 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
8804 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
8805 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
8806 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
8807 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
8808 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
8809 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
8810 |
-e 's:$: $lt_compiler_flag:'` |
|
8811 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
|
8812 |
(eval "$lt_compile" 2>out/conftest.err) |
|
8813 |
ac_status=$? |
|
8814 |
cat out/conftest.err >&5 |
|
8815 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
8816 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
8817 |
then |
|
8818 |
# The compiler can only warn and ignore the option if not recognized |
|
8819 |
# So say no if there are warnings |
|
8820 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
|
8821 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
8822 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
8823 |
lt_cv_prog_compiler_c_o=yes |
|
8824 |
fi |
|
8825 |
fi |
|
8826 |
chmod u+w . 2>&5 |
|
8827 |
$RM conftest* |
|
8828 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
8829 |
# template instantiation |
|
8830 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
8831 |
$RM out/* && rmdir out |
|
8832 |
cd .. |
|
8833 |
$RM -r conftest |
|
8834 |
$RM conftest* |
|
8835 |
|
|
8836 |
fi |
|
8837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
|
8838 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
8839 |
|
|
8840 |
|
|
8841 |
|
|
8842 |
|
|
8843 |
hard_links=nottested |
|
8844 |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
|
8845 |
# do not overwrite the value of need_locks provided by the user |
|
8846 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
|
8847 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
8848 |
hard_links=yes |
|
8849 |
$RM conftest* |
|
8850 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8851 |
touch conftest.a |
|
8852 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
8853 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
8854 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
|
8855 |
$as_echo "$hard_links" >&6; } |
|
8856 |
if test no = "$hard_links"; then |
|
8857 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
|
8858 |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
|
8859 |
need_locks=warn |
|
8860 |
fi |
|
8861 |
else |
|
8862 |
need_locks=no |
|
8863 |
fi |
|
8864 |
|
|
8865 |
|
|
8866 |
|
|
8867 |
|
|
8868 |
|
|
8869 |
|
|
8870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
8871 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
8872 |
|
|
8873 |
runpath_var= |
|
8874 |
allow_undefined_flag= |
|
8875 |
always_export_symbols=no |
|
8876 |
archive_cmds= |
|
8877 |
archive_expsym_cmds= |
|
8878 |
compiler_needs_object=no |
|
8879 |
enable_shared_with_static_runtimes=no |
|
8880 |
export_dynamic_flag_spec= |
|
8881 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
8882 |
hardcode_automatic=no |
|
8883 |
hardcode_direct=no |
|
8884 |
hardcode_direct_absolute=no |
|
8885 |
hardcode_libdir_flag_spec= |
|
8886 |
hardcode_libdir_separator= |
|
8887 |
hardcode_minus_L=no |
|
8888 |
hardcode_shlibpath_var=unsupported |
|
8889 |
inherit_rpath=no |
|
8890 |
link_all_deplibs=unknown |
|
8891 |
module_cmds= |
|
8892 |
module_expsym_cmds= |
|
8893 |
old_archive_from_new_cmds= |
|
8894 |
old_archive_from_expsyms_cmds= |
|
8895 |
thread_safe_flag_spec= |
|
8896 |
whole_archive_flag_spec= |
|
8897 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
8898 |
# included in the symbol list |
|
8899 |
include_expsyms= |
|
8900 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
8901 |
# it will be wrapped by ' (' and ')$', so one must not match beginning or |
|
8902 |
# end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
|
8903 |
# as well as any symbol that contains 'd'. |
|
8904 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
8905 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
8906 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
8907 |
# the symbol is explicitly referenced. Since portable code cannot |
|
8908 |
# rely on this symbol name, it's probably fine to never include it in |
|
8909 |
# preloaded symbol tables. |
|
8910 |
# Exclude shared library initialization/finalization symbols. |
|
8911 |
extract_expsyms_cmds= |
|
8912 |
|
|
8913 |
case $host_os in |
|
8914 |
cygwin* | mingw* | pw32* | cegcc*) |
|
8915 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
8916 |
# When not using gcc, we currently assume that we are using |
|
8917 |
# Microsoft Visual C++. |
|
8918 |
if test yes != "$GCC"; then |
|
8919 |
with_gnu_ld=no |
|
8920 |
fi |
|
8921 |
;; |
|
8922 |
interix*) |
|
8923 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
8924 |
with_gnu_ld=yes |
|
8925 |
;; |
|
8926 |
openbsd* | bitrig*) |
|
8927 |
with_gnu_ld=no |
|
8928 |
;; |
|
8929 |
linux* | k*bsd*-gnu | gnu*) |
|
8930 |
link_all_deplibs=no |
|
8931 |
;; |
|
8932 |
esac |
|
8933 |
|
|
8934 |
ld_shlibs=yes |
|
8935 |
|
|
8936 |
# On some targets, GNU ld is compatible enough with the native linker |
|
8937 |
# that we're better off using the native interface for both. |
|
8938 |
lt_use_gnu_ld_interface=no |
|
8939 |
if test yes = "$with_gnu_ld"; then |
|
8940 |
case $host_os in |
|
8941 |
aix*) |
|
8942 |
# The AIX port of GNU ld has always aspired to compatibility |
|
8943 |
# with the native linker. However, as the warning in the GNU ld |
|
8944 |
# block says, versions before 2.19.5* couldn't really create working |
|
8945 |
# shared libraries, regardless of the interface used. |
|
8946 |
case `$LD -v 2>&1` in |
|
8947 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
|
8948 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
|
8949 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
|
8950 |
*) |
|
8951 |
lt_use_gnu_ld_interface=yes |
|
8952 |
;; |
|
8953 |
esac |
|
8954 |
;; |
|
8955 |
*) |
|
8956 |
lt_use_gnu_ld_interface=yes |
|
8957 |
;; |
|
8958 |
esac |
|
8959 |
fi |
|
8960 |
|
|
8961 |
if test yes = "$lt_use_gnu_ld_interface"; then |
|
8962 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
8963 |
wlarc='$wl' |
|
8964 |
|
|
8965 |
# Set some defaults for GNU ld with shared library support. These |
|
8966 |
# are reset later if shared libraries are not supported. Putting them |
|
8967 |
# here allows them to be overridden if necessary. |
|
8968 |
runpath_var=LD_RUN_PATH |
|
8969 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
8970 |
export_dynamic_flag_spec='$wl--export-dynamic' |
|
8971 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
8972 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
8973 |
whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
|
8974 |
else |
|
8975 |
whole_archive_flag_spec= |
|
8976 |
fi |
|
8977 |
supports_anon_versioning=no |
|
8978 |
case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in |
|
8979 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
|
8980 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
8981 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
8982 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
8983 |
*\ 2.11.*) ;; # other 2.11 versions |
|
8984 |
*) supports_anon_versioning=yes ;; |
|
8985 |
esac |
|
8986 |
|
|
8987 |
# See if GNU ld supports shared libraries. |
|
8988 |
case $host_os in |
|
8989 |
aix[3-9]*) |
|
8990 |
# On AIX/PPC, the GNU linker is very broken |
|
8991 |
if test ia64 != "$host_cpu"; then |
|
8992 |
ld_shlibs=no |
|
8993 |
cat <<_LT_EOF 1>&2 |
|
8994 |
|
|
8995 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
|
8996 |
*** to be unable to reliably create shared libraries on AIX. |
|
8997 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
8998 |
*** really care for shared libraries, you may want to install binutils |
|
8999 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
|
9000 |
*** You will then need to restart the configuration process. |
|
9001 |
|
|
9002 |
_LT_EOF |
|
9003 |
fi |
|
9004 |
;; |
|
9005 |
|
|
9006 |
amigaos*) |
|
9007 |
case $host_cpu in |
|
9008 |
powerpc) |
|
9009 |
# see comment about AmigaOS4 .so support |
|
9010 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9011 |
archive_expsym_cmds='' |
|
9012 |
;; |
|
9013 |
m68k) |
|
9014 |
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)' |
|
9015 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9016 |
hardcode_minus_L=yes |
|
9017 |
;; |
|
9018 |
esac |
|
9019 |
;; |
|
9020 |
|
|
9021 |
beos*) |
|
9022 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9023 |
allow_undefined_flag=unsupported |
|
9024 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
9025 |
# support --undefined. This deserves some investigation. FIXME |
|
9026 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9027 |
else |
|
9028 |
ld_shlibs=no |
|
9029 |
fi |
|
9030 |
;; |
|
9031 |
|
|
9032 |
cygwin* | mingw* | pw32* | cegcc*) |
|
9033 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
9034 |
# as there is no search path for DLLs. |
|
9035 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9036 |
export_dynamic_flag_spec='$wl--export-all-symbols' |
|
9037 |
allow_undefined_flag=unsupported |
|
9038 |
always_export_symbols=no |
|
9039 |
enable_shared_with_static_runtimes=yes |
|
9040 |
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' |
|
9041 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
9042 |
|
|
9043 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
9044 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
9045 |
# If the export-symbols file already is a .def file, use it as |
|
9046 |
# is; otherwise, prepend EXPORTS... |
|
9047 |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
|
9048 |
cp $export_symbols $output_objdir/$soname.def; |
|
9049 |
else |
|
9050 |
echo EXPORTS > $output_objdir/$soname.def; |
|
9051 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
9052 |
fi~ |
|
9053 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
9054 |
else |
|
9055 |
ld_shlibs=no |
|
9056 |
fi |
|
9057 |
;; |
|
9058 |
|
|
9059 |
haiku*) |
|
9060 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9061 |
link_all_deplibs=yes |
|
9062 |
;; |
|
9063 |
|
|
9064 |
os2*) |
|
9065 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9066 |
hardcode_minus_L=yes |
|
9067 |
allow_undefined_flag=unsupported |
|
9068 |
shrext_cmds=.dll |
|
9069 |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
9070 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
9071 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
9072 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
9073 |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
|
9074 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
9075 |
emximp -o $lib $output_objdir/$libname.def' |
|
9076 |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
9077 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
9078 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
9079 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
9080 |
prefix_cmds="$SED"~ |
|
9081 |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
|
9082 |
prefix_cmds="$prefix_cmds -e 1d"; |
|
9083 |
fi~ |
|
9084 |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
|
9085 |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
|
9086 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
9087 |
emximp -o $lib $output_objdir/$libname.def' |
|
9088 |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
|
9089 |
enable_shared_with_static_runtimes=yes |
|
9090 |
;; |
|
9091 |
|
|
9092 |
interix[3-9]*) |
|
9093 |
hardcode_direct=no |
|
9094 |
hardcode_shlibpath_var=no |
|
9095 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
|
9096 |
export_dynamic_flag_spec='$wl-E' |
|
9097 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
9098 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
9099 |
# default) and relocated if they conflict, which is a slow very memory |
|
9100 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
9101 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
9102 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
9103 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
9104 |
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' |
|
9105 |
;; |
|
9106 |
|
|
9107 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
|
9108 |
tmp_diet=no |
|
9109 |
if test linux-dietlibc = "$host_os"; then |
|
9110 |
case $cc_basename in |
|
9111 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
9112 |
esac |
|
9113 |
fi |
|
9114 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
9115 |
&& test no = "$tmp_diet" |
|
9116 |
then |
|
9117 |
tmp_addflag=' $pic_flag' |
|
9118 |
tmp_sharedflag='-shared' |
|
9119 |
case $cc_basename,$host_cpu in |
|
9120 |
pgcc*) # Portland Group C compiler |
|
9121 |
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' |
|
9122 |
tmp_addflag=' $pic_flag' |
|
9123 |
;; |
|
9124 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
|
9125 |
# Portland Group f77 and f90 compilers |
|
9126 |
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' |
|
9127 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
9128 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
9129 |
tmp_addflag=' -i_dynamic' ;; |
|
9130 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
9131 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
9132 |
ifc* | ifort*) # Intel Fortran compiler |
|
9133 |
tmp_addflag=' -nofor_main' ;; |
|
9134 |
lf95*) # Lahey Fortran 8.1 |
|
9135 |
whole_archive_flag_spec= |
|
9136 |
tmp_sharedflag='--shared' ;; |
|
9137 |
nagfor*) # NAGFOR 5.3 |
|
9138 |
tmp_sharedflag='-Wl,-shared' ;; |
|
9139 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
9140 |
tmp_sharedflag='-qmkshrobj' |
|
9141 |
tmp_addflag= ;; |
|
9142 |
nvcc*) # Cuda Compiler Driver 2.2 |
|
9143 |
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' |
|
9144 |
compiler_needs_object=yes |
|
9145 |
;; |
|
9146 |
esac |
|
9147 |
case `$CC -V 2>&1 | sed 5q` in |
|
9148 |
*Sun\ C*) # Sun C 5.9 |
|
9149 |
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' |
|
9150 |
compiler_needs_object=yes |
|
9151 |
tmp_sharedflag='-G' ;; |
|
9152 |
*Sun\ F*) # Sun Fortran 8.3 |
|
9153 |
tmp_sharedflag='-G' ;; |
|
9154 |
esac |
|
9155 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9156 |
|
|
9157 |
if test yes = "$supports_anon_versioning"; then |
|
9158 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9159 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
9160 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
9161 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
|
9162 |
fi |
|
9163 |
|
|
9164 |
case $cc_basename in |
|
9165 |
tcc*) |
|
9166 |
export_dynamic_flag_spec='-rdynamic' |
|
9167 |
;; |
|
9168 |
xlf* | bgf* | bgxlf* | mpixlf*) |
|
9169 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
9170 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
9171 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
9172 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
|
9173 |
if test yes = "$supports_anon_versioning"; then |
|
9174 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
9175 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
9176 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
9177 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
9178 |
fi |
|
9179 |
;; |
|
9180 |
esac |
|
9181 |
else |
|
9182 |
ld_shlibs=no |
|
9183 |
fi |
|
9184 |
;; |
|
9185 |
|
|
9186 |
netbsd* | netbsdelf*-gnu) |
|
9187 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9188 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
9189 |
wlarc= |
|
9190 |
else |
|
9191 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9192 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
|
9193 |
fi |
|
9194 |
;; |
|
9195 |
|
|
9196 |
solaris*) |
|
9197 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
9198 |
ld_shlibs=no |
|
9199 |
cat <<_LT_EOF 1>&2 |
|
9200 |
|
|
9201 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
9202 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
9203 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
9204 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
9205 |
*** your PATH or compiler configuration so that the native linker is |
|
9206 |
*** used, and then restart. |
|
9207 |
|
|
9208 |
_LT_EOF |
|
9209 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9210 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9211 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
|
9212 |
else |
|
9213 |
ld_shlibs=no |
|
9214 |
fi |
|
9215 |
;; |
|
9216 |
|
|
9217 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
9218 |
case `$LD -v 2>&1` in |
|
9219 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
9220 |
ld_shlibs=no |
|
9221 |
cat <<_LT_EOF 1>&2 |
|
9222 |
|
|
9223 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
|
9224 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
9225 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
9226 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
9227 |
*** your PATH or compiler configuration so that the native linker is |
|
9228 |
*** used, and then restart. |
|
9229 |
|
|
9230 |
_LT_EOF |
|
9231 |
;; |
|
9232 |
*) |
|
9233 |
# For security reasons, it is highly recommended that you always |
|
9234 |
# use absolute paths for naming shared libraries, and exclude the |
|
9235 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
9236 |
# requires that you compile everything twice, which is a pain. |
|
9237 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9238 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
9239 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9240 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
|
9241 |
else |
|
9242 |
ld_shlibs=no |
|
9243 |
fi |
|
9244 |
;; |
|
9245 |
esac |
|
9246 |
;; |
|
9247 |
|
|
9248 |
sunos4*) |
|
9249 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9250 |
wlarc= |
|
9251 |
hardcode_direct=yes |
|
9252 |
hardcode_shlibpath_var=no |
|
9253 |
;; |
|
9254 |
|
|
9255 |
*) |
|
9256 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
9257 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9258 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
|
9259 |
else |
|
9260 |
ld_shlibs=no |
|
9261 |
fi |
|
9262 |
;; |
|
9263 |
esac |
|
9264 |
|
|
9265 |
if test no = "$ld_shlibs"; then |
|
9266 |
runpath_var= |
|
9267 |
hardcode_libdir_flag_spec= |
|
9268 |
export_dynamic_flag_spec= |
|
9269 |
whole_archive_flag_spec= |
|
9270 |
fi |
|
9271 |
else |
|
9272 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
9273 |
case $host_os in |
|
9274 |
aix3*) |
|
9275 |
allow_undefined_flag=unsupported |
|
9276 |
always_export_symbols=yes |
|
9277 |
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' |
|
9278 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
9279 |
# are no directories specified by -L. |
|
9280 |
hardcode_minus_L=yes |
|
9281 |
if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
|
9282 |
# Neither direct hardcoding nor static linking is supported with a |
|
9283 |
# broken collect2. |
|
9284 |
hardcode_direct=unsupported |
|
9285 |
fi |
|
9286 |
;; |
|
9287 |
|
|
9288 |
aix[4-9]*) |
|
9289 |
if test ia64 = "$host_cpu"; then |
|
9290 |
# On IA64, the linker does run time linking by default, so we don't |
|
9291 |
# have to do anything special. |
|
9292 |
aix_use_runtimelinking=no |
|
9293 |
exp_sym_flag='-Bexport' |
|
9294 |
no_entry_flag= |
|
9295 |
else |
|
9296 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
9297 |
# -C means demangle to GNU nm, but means don't demangle to AIX nm. |
|
9298 |
# Without the "-l" option, or with the "-B" option, AIX nm treats |
|
9299 |
# weak defined symbols like other global defined symbols, whereas |
|
9300 |
# GNU nm marks them as "W". |
|
9301 |
# While the 'weak' keyword is ignored in the Export File, we need |
|
9302 |
# it in the Import File for the 'aix-soname' feature, so we have |
|
9303 |
# to replace the "-B" option with "-P" for AIX nm. |
|
9304 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
9305 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
|
9306 |
else |
|
9307 |
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
|
9308 |
fi |
|
9309 |
aix_use_runtimelinking=no |
|
9310 |
|
|
9311 |
# Test if we are trying to use run time linking or normal |
|
9312 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
9313 |
# have runtime linking enabled, and use it for executables. |
|
9314 |
# For shared libraries, we enable/disable runtime linking |
|
9315 |
# depending on the kind of the shared library created - |
|
9316 |
# when "with_aix_soname,aix_use_runtimelinking" is: |
|
9317 |
# "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
|
9318 |
# "aix,yes" lib.so shared, rtl:yes, for executables |
|
9319 |
# lib.a static archive |
|
9320 |
# "both,no" lib.so.V(shr.o) shared, rtl:yes |
|
9321 |
# lib.a(lib.so.V) shared, rtl:no, for executables |
|
9322 |
# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
|
9323 |
# lib.a(lib.so.V) shared, rtl:no |
|
9324 |
# "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
|
9325 |
# lib.a static archive |
|
9326 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
9327 |
for ld_flag in $LDFLAGS; do |
|
9328 |
if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
|
9329 |
aix_use_runtimelinking=yes |
|
9330 |
break |
|
9331 |
fi |
|
9332 |
done |
|
9333 |
if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
|
9334 |
# With aix-soname=svr4, we create the lib.so.V shared archives only, |
|
9335 |
# so we don't have lib.a shared libs to link our executables. |
|
9336 |
# We have to force runtime linking in this case. |
|
9337 |
aix_use_runtimelinking=yes |
|
9338 |
LDFLAGS="$LDFLAGS -Wl,-brtl" |
|
9339 |
fi |
|
9340 |
;; |
|
9341 |
esac |
|
9342 |
|
|
9343 |
exp_sym_flag='-bexport' |
|
9344 |
no_entry_flag='-bnoentry' |
|
9345 |
fi |
|
9346 |
|
|
9347 |
# When large executables or shared objects are built, AIX ld can |
|
9348 |
# have problems creating the table of contents. If linking a library |
|
9349 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
9350 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
9351 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
9352 |
|
|
9353 |
archive_cmds='' |
|
9354 |
hardcode_direct=yes |
|
9355 |
hardcode_direct_absolute=yes |
|
9356 |
hardcode_libdir_separator=':' |
|
9357 |
link_all_deplibs=yes |
|
9358 |
file_list_spec='$wl-f,' |
|
9359 |
case $with_aix_soname,$aix_use_runtimelinking in |
|
9360 |
aix,*) ;; # traditional, no import file |
|
9361 |
svr4,* | *,yes) # use import file |
|
9362 |
# The Import File defines what to hardcode. |
|
9363 |
hardcode_direct=no |
|
9364 |
hardcode_direct_absolute=no |
|
9365 |
;; |
|
9366 |
esac |
|
9367 |
|
|
9368 |
if test yes = "$GCC"; then |
|
9369 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
9370 |
# We only want to do this on AIX 4.2 and lower, the check |
|
9371 |
# below for broken collect2 doesn't work under 4.3+ |
|
9372 |
collect2name=`$CC -print-prog-name=collect2` |
|
9373 |
if test -f "$collect2name" && |
|
9374 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
9375 |
then |
|
9376 |
# We have reworked collect2 |
|
9377 |
: |
|
9378 |
else |
|
9379 |
# We have old collect2 |
|
9380 |
hardcode_direct=unsupported |
|
9381 |
# It fails to find uninstalled libraries when the uninstalled |
|
9382 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
9383 |
# to unsupported forces relinking |
|
9384 |
hardcode_minus_L=yes |
|
9385 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9386 |
hardcode_libdir_separator= |
|
9387 |
fi |
|
9388 |
;; |
|
9389 |
esac |
|
9390 |
shared_flag='-shared' |
|
9391 |
if test yes = "$aix_use_runtimelinking"; then |
|
9392 |
shared_flag="$shared_flag "'$wl-G' |
|
9393 |
fi |
|
9394 |
# Need to ensure runtime linking is disabled for the traditional |
|
9395 |
# shared library, or the linker may eventually find shared libraries |
|
9396 |
# /with/ Import File - we do not want to mix them. |
|
9397 |
shared_flag_aix='-shared' |
|
9398 |
shared_flag_svr4='-shared $wl-G' |
|
9399 |
else |
|
9400 |
# not using gcc |
|
9401 |
if test ia64 = "$host_cpu"; then |
|
9402 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
9403 |
# chokes on -Wl,-G. The following line is correct: |
|
9404 |
shared_flag='-G' |
|
9405 |
else |
|
9406 |
if test yes = "$aix_use_runtimelinking"; then |
|
9407 |
shared_flag='$wl-G' |
|
9408 |
else |
|
9409 |
shared_flag='$wl-bM:SRE' |
|
9410 |
fi |
|
9411 |
shared_flag_aix='$wl-bM:SRE' |
|
9412 |
shared_flag_svr4='$wl-G' |
|
9413 |
fi |
|
9414 |
fi |
|
9415 |
|
|
9416 |
export_dynamic_flag_spec='$wl-bexpall' |
|
9417 |
# It seems that -bexpall does not export symbols beginning with |
|
9418 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
9419 |
always_export_symbols=yes |
|
9420 |
if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
|
9421 |
# Warning - without using the other runtime loading flags (-brtl), |
|
9422 |
# -berok will link without error, but may produce a broken library. |
|
9423 |
allow_undefined_flag='-berok' |
|
9424 |
# Determine the default libpath from the value encoded in an |
|
9425 |
# empty executable. |
|
9426 |
if test set = "${lt_cv_aix_libpath+set}"; then |
|
9427 |
aix_libpath=$lt_cv_aix_libpath |
|
9428 |
else |
|
9429 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
9430 |
$as_echo_n "(cached) " >&6 |
|
9431 |
else |
|
9432 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
9433 |
/* end confdefs.h. */ |
|
9434 |
|
|
9435 |
int |
|
9436 |
main () |
|
9437 |
{ |
|
9438 |
|
|
9439 |
; |
|
9440 |
return 0; |
|
9441 |
} |
|
9442 |
_ACEOF |
|
9443 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9444 |
|
|
9445 |
lt_aix_libpath_sed=' |
|
9446 |
/Import File Strings/,/^$/ { |
|
9447 |
/^0/ { |
|
9448 |
s/^0 *\([^ ]*\) *$/\1/ |
|
9449 |
p |
|
9450 |
} |
|
9451 |
}' |
|
9452 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9453 |
# Check for a 64-bit object if we didn't find anything. |
|
9454 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9455 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9456 |
fi |
|
9457 |
fi |
|
9458 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9459 |
conftest$ac_exeext conftest.$ac_ext |
|
9460 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9461 |
lt_cv_aix_libpath_=/usr/lib:/lib |
|
9462 |
fi |
|
9463 |
|
|
9464 |
fi |
|
9465 |
|
|
9466 |
aix_libpath=$lt_cv_aix_libpath_ |
|
9467 |
fi |
|
9468 |
|
|
9469 |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
|
9470 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag |
|
9471 |
else |
|
9472 |
if test ia64 = "$host_cpu"; then |
|
9473 |
hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
|
9474 |
allow_undefined_flag="-z nodefs" |
|
9475 |
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" |
|
9476 |
else |
|
9477 |
# Determine the default libpath from the value encoded in an |
|
9478 |
# empty executable. |
|
9479 |
if test set = "${lt_cv_aix_libpath+set}"; then |
|
9480 |
aix_libpath=$lt_cv_aix_libpath |
|
9481 |
else |
|
9482 |
if ${lt_cv_aix_libpath_+:} false; then : |
|
9483 |
$as_echo_n "(cached) " >&6 |
|
9484 |
else |
|
9485 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
9486 |
/* end confdefs.h. */ |
|
9487 |
|
|
9488 |
int |
|
9489 |
main () |
|
9490 |
{ |
|
9491 |
|
|
9492 |
; |
|
9493 |
return 0; |
|
9494 |
} |
|
9495 |
_ACEOF |
|
9496 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9497 |
|
|
9498 |
lt_aix_libpath_sed=' |
|
9499 |
/Import File Strings/,/^$/ { |
|
9500 |
/^0/ { |
|
9501 |
s/^0 *\([^ ]*\) *$/\1/ |
|
9502 |
p |
|
9503 |
} |
|
9504 |
}' |
|
9505 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9506 |
# Check for a 64-bit object if we didn't find anything. |
|
9507 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9508 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
9509 |
fi |
|
9510 |
fi |
|
9511 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9512 |
conftest$ac_exeext conftest.$ac_ext |
|
9513 |
if test -z "$lt_cv_aix_libpath_"; then |
|
9514 |
lt_cv_aix_libpath_=/usr/lib:/lib |
|
9515 |
fi |
|
9516 |
|
|
9517 |
fi |
|
9518 |
|
|
9519 |
aix_libpath=$lt_cv_aix_libpath_ |
|
9520 |
fi |
|
9521 |
|
|
9522 |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
|
9523 |
# Warning - without using the other run time loading flags, |
|
9524 |
# -berok will link without error, but may produce a broken library. |
|
9525 |
no_undefined_flag=' $wl-bernotok' |
|
9526 |
allow_undefined_flag=' $wl-berok' |
|
9527 |
if test yes = "$with_gnu_ld"; then |
|
9528 |
# We only use this code for GNU lds that support --whole-archive. |
|
9529 |
whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
|
9530 |
else |
|
9531 |
# Exported symbols can be pulled into shared objects from archives |
|
9532 |
whole_archive_flag_spec='$convenience' |
|
9533 |
fi |
|
9534 |
archive_cmds_need_lc=yes |
|
9535 |
archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
|
9536 |
# -brtl affects multiple linker settings, -berok does not and is overridden later |
|
9537 |
compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
|
9538 |
if test svr4 != "$with_aix_soname"; then |
|
9539 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
9540 |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
|
9541 |
fi |
|
9542 |
if test aix != "$with_aix_soname"; then |
|
9543 |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
|
9544 |
else |
|
9545 |
# used by -dlpreopen to get the symbols |
|
9546 |
archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
|
9547 |
fi |
|
9548 |
archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
|
9549 |
fi |
|
9550 |
fi |
|
9551 |
;; |
|
9552 |
|
|
9553 |
amigaos*) |
|
9554 |
case $host_cpu in |
|
9555 |
powerpc) |
|
9556 |
# see comment about AmigaOS4 .so support |
|
9557 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
|
9558 |
archive_expsym_cmds='' |
|
9559 |
;; |
|
9560 |
m68k) |
|
9561 |
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)' |
|
9562 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9563 |
hardcode_minus_L=yes |
|
9564 |
;; |
|
9565 |
esac |
|
9566 |
;; |
|
9567 |
|
|
9568 |
bsdi[45]*) |
|
9569 |
export_dynamic_flag_spec=-rdynamic |
|
9570 |
;; |
|
9571 |
|
|
9572 |
cygwin* | mingw* | pw32* | cegcc*) |
|
9573 |
# When not using gcc, we currently assume that we are using |
|
9574 |
# Microsoft Visual C++. |
|
9575 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
9576 |
# no search path for DLLs. |
|
9577 |
case $cc_basename in |
|
9578 |
cl*) |
|
9579 |
# Native MSVC |
|
9580 |
hardcode_libdir_flag_spec=' ' |
|
9581 |
allow_undefined_flag=unsupported |
|
9582 |
always_export_symbols=yes |
|
9583 |
file_list_spec='@' |
|
9584 |
# Tell ltmain to make .lib files, not .a files. |
|
9585 |
libext=lib |
|
9586 |
# Tell ltmain to make .dll files, not .so files. |
|
9587 |
shrext_cmds=.dll |
|
9588 |
# FIXME: Setting linknames here is a bad hack. |
|
9589 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
|
9590 |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
|
9591 |
cp "$export_symbols" "$output_objdir/$soname.def"; |
|
9592 |
echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
|
9593 |
else |
|
9594 |
$SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
|
9595 |
fi~ |
|
9596 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
|
9597 |
linknames=' |
|
9598 |
# The linker will not automatically build a static lib if we build a DLL. |
|
9599 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
|
9600 |
enable_shared_with_static_runtimes=yes |
|
9601 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
|
9602 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
9603 |
# Don't use ranlib |
|
9604 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
9605 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
|
9606 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
|
9607 |
case $lt_outputfile in |
|
9608 |
*.exe|*.EXE) ;; |
|
9609 |
*) |
|
9610 |
lt_outputfile=$lt_outputfile.exe |
|
9611 |
lt_tool_outputfile=$lt_tool_outputfile.exe |
|
9612 |
;; |
|
9613 |
esac~ |
|
9614 |
if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
|
9615 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
|
9616 |
$RM "$lt_outputfile.manifest"; |
|
9617 |
fi' |
|
9618 |
;; |
|
9619 |
*) |
|
9620 |
# Assume MSVC wrapper |
|
9621 |
hardcode_libdir_flag_spec=' ' |
|
9622 |
allow_undefined_flag=unsupported |
|
9623 |
# Tell ltmain to make .lib files, not .a files. |
|
9624 |
libext=lib |
|
9625 |
# Tell ltmain to make .dll files, not .so files. |
|
9626 |
shrext_cmds=.dll |
|
9627 |
# FIXME: Setting linknames here is a bad hack. |
|
9628 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
9629 |
# The linker will automatically build a .lib file if we build a DLL. |
|
9630 |
old_archive_from_new_cmds='true' |
|
9631 |
# FIXME: Should let the user specify the lib program. |
|
9632 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
9633 |
enable_shared_with_static_runtimes=yes |
|
9634 |
;; |
|
9635 |
esac |
|
9636 |
;; |
|
9637 |
|
|
9638 |
darwin* | rhapsody*) |
|
9639 |
|
|
9640 |
|
|
9641 |
archive_cmds_need_lc=no |
|
9642 |
hardcode_direct=no |
|
9643 |
hardcode_automatic=yes |
|
9644 |
hardcode_shlibpath_var=unsupported |
|
9645 |
if test yes = "$lt_cv_ld_force_load"; then |
|
9646 |
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\"`' |
|
9647 |
|
|
9648 |
else |
|
9649 |
whole_archive_flag_spec='' |
|
9650 |
fi |
|
9651 |
link_all_deplibs=yes |
|
9652 |
allow_undefined_flag=$_lt_dar_allow_undefined |
|
9653 |
case $cc_basename in |
|
9654 |
ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
|
9655 |
*) _lt_dar_can_shared=$GCC ;; |
|
9656 |
esac |
|
9657 |
if test yes = "$_lt_dar_can_shared"; then |
|
9658 |
output_verbose_link_cmd=func_echo_all |
|
9659 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
|
9660 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
|
9661 |
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" |
|
9662 |
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" |
|
9663 |
|
|
9664 |
else |
|
9665 |
ld_shlibs=no |
|
9666 |
fi |
|
9667 |
|
|
9668 |
;; |
|
9669 |
|
|
9670 |
dgux*) |
|
9671 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9672 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9673 |
hardcode_shlibpath_var=no |
|
9674 |
;; |
|
9675 |
|
|
9676 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
9677 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
9678 |
# does not break anything, and helps significantly (at the cost of a little |
|
9679 |
# extra space). |
|
9680 |
freebsd2.2*) |
|
9681 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
9682 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9683 |
hardcode_direct=yes |
|
9684 |
hardcode_shlibpath_var=no |
|
9685 |
;; |
|
9686 |
|
|
9687 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
9688 |
freebsd2.*) |
|
9689 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
9690 |
hardcode_direct=yes |
|
9691 |
hardcode_minus_L=yes |
|
9692 |
hardcode_shlibpath_var=no |
|
9693 |
;; |
|
9694 |
|
|
9695 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
9696 |
freebsd* | dragonfly*) |
|
9697 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9698 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9699 |
hardcode_direct=yes |
|
9700 |
hardcode_shlibpath_var=no |
|
9701 |
;; |
|
9702 |
|
|
9703 |
hpux9*) |
|
9704 |
if test yes = "$GCC"; then |
|
9705 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
|
9706 |
else |
|
9707 |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
|
9708 |
fi |
|
9709 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
|
9710 |
hardcode_libdir_separator=: |
|
9711 |
hardcode_direct=yes |
|
9712 |
|
|
9713 |
# hardcode_minus_L: Not really in the search PATH, |
|
9714 |
# but as the default location of the library. |
|
9715 |
hardcode_minus_L=yes |
|
9716 |
export_dynamic_flag_spec='$wl-E' |
|
9717 |
;; |
|
9718 |
|
|
9719 |
hpux10*) |
|
9720 |
if test yes,no = "$GCC,$with_gnu_ld"; then |
|
9721 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9722 |
else |
|
9723 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9724 |
fi |
|
9725 |
if test no = "$with_gnu_ld"; then |
|
9726 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
|
9727 |
hardcode_libdir_separator=: |
|
9728 |
hardcode_direct=yes |
|
9729 |
hardcode_direct_absolute=yes |
|
9730 |
export_dynamic_flag_spec='$wl-E' |
|
9731 |
# hardcode_minus_L: Not really in the search PATH, |
|
9732 |
# but as the default location of the library. |
|
9733 |
hardcode_minus_L=yes |
|
9734 |
fi |
|
9735 |
;; |
|
9736 |
|
|
9737 |
hpux11*) |
|
9738 |
if test yes,no = "$GCC,$with_gnu_ld"; then |
|
9739 |
case $host_cpu in |
|
9740 |
hppa*64*) |
|
9741 |
archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9742 |
;; |
|
9743 |
ia64*) |
|
9744 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9745 |
;; |
|
9746 |
*) |
|
9747 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9748 |
;; |
|
9749 |
esac |
|
9750 |
else |
|
9751 |
case $host_cpu in |
|
9752 |
hppa*64*) |
|
9753 |
archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9754 |
;; |
|
9755 |
ia64*) |
|
9756 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
9757 |
;; |
|
9758 |
*) |
|
9759 |
|
|
9760 |
# Older versions of the 11.00 compiler do not understand -b yet |
|
9761 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
|
9762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
|
9763 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
|
9764 |
if ${lt_cv_prog_compiler__b+:} false; then : |
|
9765 |
$as_echo_n "(cached) " >&6 |
|
9766 |
else |
|
9767 |
lt_cv_prog_compiler__b=no |
|
9768 |
save_LDFLAGS=$LDFLAGS |
|
9769 |
LDFLAGS="$LDFLAGS -b" |
|
9770 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
9771 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
9772 |
# The linker can only warn and ignore the option if not recognized |
|
9773 |
# So say no if there are warnings |
|
9774 |
if test -s conftest.err; then |
|
9775 |
# Append any errors to the config.log. |
|
9776 |
cat conftest.err 1>&5 |
|
9777 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
|
9778 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
9779 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
9780 |
lt_cv_prog_compiler__b=yes |
|
9781 |
fi |
|
9782 |
else |
|
9783 |
lt_cv_prog_compiler__b=yes |
|
9784 |
fi |
|
9785 |
fi |
|
9786 |
$RM -r conftest* |
|
9787 |
LDFLAGS=$save_LDFLAGS |
|
9788 |
|
|
9789 |
fi |
|
9790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
|
9791 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
|
9792 |
|
|
9793 |
if test yes = "$lt_cv_prog_compiler__b"; then |
|
9794 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
9795 |
else |
|
9796 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
9797 |
fi |
|
9798 |
|
|
9799 |
;; |
|
9800 |
esac |
|
9801 |
fi |
|
9802 |
if test no = "$with_gnu_ld"; then |
|
9803 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
|
9804 |
hardcode_libdir_separator=: |
|
9805 |
|
|
9806 |
case $host_cpu in |
|
9807 |
hppa*64*|ia64*) |
|
9808 |
hardcode_direct=no |
|
9809 |
hardcode_shlibpath_var=no |
|
9810 |
;; |
|
9811 |
*) |
|
9812 |
hardcode_direct=yes |
|
9813 |
hardcode_direct_absolute=yes |
|
9814 |
export_dynamic_flag_spec='$wl-E' |
|
9815 |
|
|
9816 |
# hardcode_minus_L: Not really in the search PATH, |
|
9817 |
# but as the default location of the library. |
|
9818 |
hardcode_minus_L=yes |
|
9819 |
;; |
|
9820 |
esac |
|
9821 |
fi |
|
9822 |
;; |
|
9823 |
|
|
9824 |
irix5* | irix6* | nonstopux*) |
|
9825 |
if test yes = "$GCC"; then |
|
9826 |
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' |
|
9827 |
# Try to use the -exported_symbol ld option, if it does not |
|
9828 |
# work, assume that -exports_file does not work either and |
|
9829 |
# implicitly export all symbols. |
|
9830 |
# This should be the same for all languages, so no per-tag cache variable. |
|
9831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
|
9832 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
|
9833 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
|
9834 |
$as_echo_n "(cached) " >&6 |
|
9835 |
else |
|
9836 |
save_LDFLAGS=$LDFLAGS |
|
9837 |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
|
9838 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
9839 |
/* end confdefs.h. */ |
|
9840 |
int foo (void) { return 0; } |
|
9841 |
_ACEOF |
|
9842 |
if ac_fn_c_try_link "$LINENO"; then : |
|
9843 |
lt_cv_irix_exported_symbol=yes |
|
9844 |
else |
|
9845 |
lt_cv_irix_exported_symbol=no |
|
9846 |
fi |
|
9847 |
rm -f core conftest.err conftest.$ac_objext \ |
|
9848 |
conftest$ac_exeext conftest.$ac_ext |
|
9849 |
LDFLAGS=$save_LDFLAGS |
|
9850 |
fi |
|
9851 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
|
9852 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
|
9853 |
if test yes = "$lt_cv_irix_exported_symbol"; then |
|
9854 |
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' |
|
9855 |
fi |
|
9856 |
link_all_deplibs=no |
|
9857 |
else |
|
9858 |
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' |
|
9859 |
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' |
|
9860 |
fi |
|
9861 |
archive_cmds_need_lc='no' |
|
9862 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
9863 |
hardcode_libdir_separator=: |
|
9864 |
inherit_rpath=yes |
|
9865 |
link_all_deplibs=yes |
|
9866 |
;; |
|
9867 |
|
|
9868 |
linux*) |
|
9869 |
case $cc_basename in |
|
9870 |
tcc*) |
|
9871 |
# Fabrice Bellard et al's Tiny C Compiler |
|
9872 |
ld_shlibs=yes |
|
9873 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9874 |
;; |
|
9875 |
esac |
|
9876 |
;; |
|
9877 |
|
|
9878 |
netbsd* | netbsdelf*-gnu) |
|
9879 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
9880 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
9881 |
else |
|
9882 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
9883 |
fi |
|
9884 |
hardcode_libdir_flag_spec='-R$libdir' |
|
9885 |
hardcode_direct=yes |
|
9886 |
hardcode_shlibpath_var=no |
|
9887 |
;; |
|
9888 |
|
|
9889 |
newsos6) |
|
9890 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9891 |
hardcode_direct=yes |
|
9892 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
9893 |
hardcode_libdir_separator=: |
|
9894 |
hardcode_shlibpath_var=no |
|
9895 |
;; |
|
9896 |
|
|
9897 |
*nto* | *qnx*) |
|
9898 |
;; |
|
9899 |
|
|
9900 |
openbsd* | bitrig*) |
|
9901 |
if test -f /usr/libexec/ld.so; then |
|
9902 |
hardcode_direct=yes |
|
9903 |
hardcode_shlibpath_var=no |
|
9904 |
hardcode_direct_absolute=yes |
|
9905 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
|
9906 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9907 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
|
9908 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
|
9909 |
export_dynamic_flag_spec='$wl-E' |
|
9910 |
else |
|
9911 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
9912 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
|
9913 |
fi |
|
9914 |
else |
|
9915 |
ld_shlibs=no |
|
9916 |
fi |
|
9917 |
;; |
|
9918 |
|
|
9919 |
os2*) |
|
9920 |
hardcode_libdir_flag_spec='-L$libdir' |
|
9921 |
hardcode_minus_L=yes |
|
9922 |
allow_undefined_flag=unsupported |
|
9923 |
shrext_cmds=.dll |
|
9924 |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
9925 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
9926 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
9927 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
9928 |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
|
9929 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
9930 |
emximp -o $lib $output_objdir/$libname.def' |
|
9931 |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
9932 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
9933 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
9934 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
9935 |
prefix_cmds="$SED"~ |
|
9936 |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
|
9937 |
prefix_cmds="$prefix_cmds -e 1d"; |
|
9938 |
fi~ |
|
9939 |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
|
9940 |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
|
9941 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
9942 |
emximp -o $lib $output_objdir/$libname.def' |
|
9943 |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
|
9944 |
enable_shared_with_static_runtimes=yes |
|
9945 |
;; |
|
9946 |
|
|
9947 |
osf3*) |
|
9948 |
if test yes = "$GCC"; then |
|
9949 |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
|
9950 |
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' |
|
9951 |
else |
|
9952 |
allow_undefined_flag=' -expect_unresolved \*' |
|
9953 |
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' |
|
9954 |
fi |
|
9955 |
archive_cmds_need_lc='no' |
|
9956 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
9957 |
hardcode_libdir_separator=: |
|
9958 |
;; |
|
9959 |
|
|
9960 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
9961 |
if test yes = "$GCC"; then |
|
9962 |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
|
9963 |
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' |
|
9964 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
|
9965 |
else |
|
9966 |
allow_undefined_flag=' -expect_unresolved \*' |
|
9967 |
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' |
|
9968 |
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~ |
|
9969 |
$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' |
|
9970 |
|
|
9971 |
# Both c and cxx compiler support -rpath directly |
|
9972 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
9973 |
fi |
|
9974 |
archive_cmds_need_lc='no' |
|
9975 |
hardcode_libdir_separator=: |
|
9976 |
;; |
|
9977 |
|
|
9978 |
solaris*) |
|
9979 |
no_undefined_flag=' -z defs' |
|
9980 |
if test yes = "$GCC"; then |
|
9981 |
wlarc='$wl' |
|
9982 |
archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9983 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9984 |
$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' |
|
9985 |
else |
|
9986 |
case `$CC -V 2>&1` in |
|
9987 |
*"Compilers 5.0"*) |
|
9988 |
wlarc='' |
|
9989 |
archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
9990 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9991 |
$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
9992 |
;; |
|
9993 |
*) |
|
9994 |
wlarc='$wl' |
|
9995 |
archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
9996 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
9997 |
$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
9998 |
;; |
|
9999 |
esac |
|
10000 |
fi |
|
10001 |
hardcode_libdir_flag_spec='-R$libdir' |
|
10002 |
hardcode_shlibpath_var=no |
|
10003 |
case $host_os in |
|
10004 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
10005 |
*) |
|
10006 |
# The compiler driver will combine and reorder linker options, |
|
10007 |
# but understands '-z linker_flag'. GCC discards it without '$wl', |
|
10008 |
# but is careful enough not to reorder. |
|
10009 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
10010 |
if test yes = "$GCC"; then |
|
10011 |
whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
|
10012 |
else |
|
10013 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
10014 |
fi |
|
10015 |
;; |
|
10016 |
esac |
|
10017 |
link_all_deplibs=yes |
|
10018 |
;; |
|
10019 |
|
|
10020 |
sunos4*) |
|
10021 |
if test sequent = "$host_vendor"; then |
|
10022 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
10023 |
# files that make .init and .fini sections work. |
|
10024 |
archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10025 |
else |
|
10026 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
10027 |
fi |
|
10028 |
hardcode_libdir_flag_spec='-L$libdir' |
|
10029 |
hardcode_direct=yes |
|
10030 |
hardcode_minus_L=yes |
|
10031 |
hardcode_shlibpath_var=no |
|
10032 |
;; |
|
10033 |
|
|
10034 |
sysv4) |
|
10035 |
case $host_vendor in |
|
10036 |
sni) |
|
10037 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
10038 |
hardcode_direct=yes # is this really true??? |
|
10039 |
;; |
|
10040 |
siemens) |
|
10041 |
## LD is ld it makes a PLAMLIB |
|
10042 |
## CC just makes a GrossModule. |
|
10043 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
10044 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
10045 |
hardcode_direct=no |
|
10046 |
;; |
|
10047 |
motorola) |
|
10048 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
10049 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
10050 |
;; |
|
10051 |
esac |
|
10052 |
runpath_var='LD_RUN_PATH' |
|
10053 |
hardcode_shlibpath_var=no |
|
10054 |
;; |
|
10055 |
|
|
10056 |
sysv4.3*) |
|
10057 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
10058 |
hardcode_shlibpath_var=no |
|
10059 |
export_dynamic_flag_spec='-Bexport' |
|
10060 |
;; |
|
10061 |
|
|
10062 |
sysv4*MP*) |
|
10063 |
if test -d /usr/nec; then |
|
10064 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
10065 |
hardcode_shlibpath_var=no |
|
10066 |
runpath_var=LD_RUN_PATH |
|
10067 |
hardcode_runpath_var=yes |
|
10068 |
ld_shlibs=yes |
|
10069 |
fi |
|
10070 |
;; |
|
10071 |
|
|
10072 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
10073 |
no_undefined_flag='$wl-z,text' |
|
10074 |
archive_cmds_need_lc=no |
|
10075 |
hardcode_shlibpath_var=no |
|
10076 |
runpath_var='LD_RUN_PATH' |
|
10077 |
|
|
10078 |
if test yes = "$GCC"; then |
|
10079 |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10080 |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10081 |
else |
|
10082 |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10083 |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10084 |
fi |
|
10085 |
;; |
|
10086 |
|
|
10087 |
sysv5* | sco3.2v5* | sco5v6*) |
|
10088 |
# Note: We CANNOT use -z defs as we might desire, because we do not |
|
10089 |
# link with -lc, and that would cause any symbols used from libc to |
|
10090 |
# always be unresolved, which means just about no library would |
|
10091 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
10092 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
10093 |
# as -z defs. |
|
10094 |
no_undefined_flag='$wl-z,text' |
|
10095 |
allow_undefined_flag='$wl-z,nodefs' |
|
10096 |
archive_cmds_need_lc=no |
|
10097 |
hardcode_shlibpath_var=no |
|
10098 |
hardcode_libdir_flag_spec='$wl-R,$libdir' |
|
10099 |
hardcode_libdir_separator=':' |
|
10100 |
link_all_deplibs=yes |
|
10101 |
export_dynamic_flag_spec='$wl-Bexport' |
|
10102 |
runpath_var='LD_RUN_PATH' |
|
10103 |
|
|
10104 |
if test yes = "$GCC"; then |
|
10105 |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10106 |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10107 |
else |
|
10108 |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10109 |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
10110 |
fi |
|
10111 |
;; |
|
10112 |
|
|
10113 |
uts4*) |
|
10114 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
10115 |
hardcode_libdir_flag_spec='-L$libdir' |
|
10116 |
hardcode_shlibpath_var=no |
|
10117 |
;; |
|
10118 |
|
|
10119 |
*) |
|
10120 |
ld_shlibs=no |
|
10121 |
;; |
|
10122 |
esac |
|
10123 |
|
|
10124 |
if test sni = "$host_vendor"; then |
|
10125 |
case $host in |
|
10126 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
10127 |
export_dynamic_flag_spec='$wl-Blargedynsym' |
|
10128 |
;; |
|
10129 |
esac |
|
10130 |
fi |
|
10131 |
fi |
|
10132 |
|
|
10133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
|
10134 |
$as_echo "$ld_shlibs" >&6; } |
|
10135 |
test no = "$ld_shlibs" && can_build_shared=no |
|
10136 |
|
|
10137 |
with_gnu_ld=$with_gnu_ld |
|
10138 |
|
|
10139 |
|
|
10140 |
|
|
10141 |
|
|
10142 |
|
|
10143 |
|
|
10144 |
|
|
10145 |
|
|
10146 |
|
|
10147 |
|
|
10148 |
|
|
10149 |
|
|
10150 |
|
|
10151 |
|
|
10152 |
|
|
10153 |
# |
|
10154 |
# Do we need to explicitly link libc? |
|
10155 |
# |
|
10156 |
case "x$archive_cmds_need_lc" in |
|
10157 |
x|xyes) |
|
10158 |
# Assume -lc should be added |
|
10159 |
archive_cmds_need_lc=yes |
|
10160 |
|
|
10161 |
if test yes,yes = "$GCC,$enable_shared"; then |
|
10162 |
case $archive_cmds in |
|
10163 |
*'~'*) |
|
10164 |
# FIXME: we may have to deal with multi-command sequences. |
|
10165 |
;; |
|
10166 |
'$CC '*) |
|
10167 |
# Test whether the compiler implicitly links with -lc since on some |
|
10168 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
10169 |
# to ld, don't add -lc before -lgcc. |
|
10170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
|
10171 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
10172 |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
|
10173 |
$as_echo_n "(cached) " >&6 |
|
10174 |
else |
|
10175 |
$RM conftest* |
|
10176 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
10177 |
|
|
10178 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
10179 |
(eval $ac_compile) 2>&5 |
|
10180 |
ac_status=$? |
|
10181 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
10182 |
test $ac_status = 0; } 2>conftest.err; then |
|
10183 |
soname=conftest |
|
10184 |
lib=conftest |
|
10185 |
libobjs=conftest.$ac_objext |
|
10186 |
deplibs= |
|
10187 |
wl=$lt_prog_compiler_wl |
|
10188 |
pic_flag=$lt_prog_compiler_pic |
|
10189 |
compiler_flags=-v |
|
10190 |
linker_flags=-v |
|
10191 |
verstring= |
|
10192 |
output_objdir=. |
|
10193 |
libname=conftest |
|
10194 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
10195 |
allow_undefined_flag= |
|
10196 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
|
10197 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
10198 |
ac_status=$? |
|
10199 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
10200 |
test $ac_status = 0; } |
|
10201 |
then |
|
10202 |
lt_cv_archive_cmds_need_lc=no |
|
10203 |
else |
|
10204 |
lt_cv_archive_cmds_need_lc=yes |
|
10205 |
fi |
|
10206 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
10207 |
else |
|
10208 |
cat conftest.err 1>&5 |
|
10209 |
fi |
|
10210 |
$RM conftest* |
|
10211 |
|
|
10212 |
fi |
|
10213 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
|
10214 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
|
10215 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
|
10216 |
;; |
|
10217 |
esac |
|
10218 |
fi |
|
10219 |
;; |
|
10220 |
esac |
|
10221 |
|
|
10222 |
|
|
10223 |
|
|
10224 |
|
|
10225 |
|
|
10226 |
|
|
10227 |
|
|
10228 |
|
|
10229 |
|
|
10230 |
|
|
10231 |
|
|
10232 |
|
|
10233 |
|
|
10234 |
|
|
10235 |
|
|
10236 |
|
|
10237 |
|
|
10238 |
|
|
10239 |
|
|
10240 |
|
|
10241 |
|
|
10242 |
|
|
10243 |
|
|
10244 |
|
|
10245 |
|
|
10246 |
|
|
10247 |
|
|
10248 |
|
|
10249 |
|
|
10250 |
|
|
10251 |
|
|
10252 |
|
|
10253 |
|
|
10254 |
|
|
10255 |
|
|
10256 |
|
|
10257 |
|
|
10258 |
|
|
10259 |
|
|
10260 |
|
|
10261 |
|
|
10262 |
|
|
10263 |
|
|
10264 |
|
|
10265 |
|
|
10266 |
|
|
10267 |
|
|
10268 |
|
|
10269 |
|
|
10270 |
|
|
10271 |
|
|
10272 |
|
|
10273 |
|
|
10274 |
|
|
10275 |
|
|
10276 |
|
|
10277 |
|
|
10278 |
|
|
10279 |
|
|
10280 |
|
|
10281 |
|
|
10282 |
|
|
10283 |
|
|
10284 |
|
|
10285 |
|
|
10286 |
|
|
10287 |
|
|
10288 |
|
|
10289 |
|
|
10290 |
|
|
10291 |
|
|
10292 |
|
|
10293 |
|
|
10294 |
|
|
10295 |
|
|
10296 |
|
|
10297 |
|
|
10298 |
|
|
10299 |
|
|
10300 |
|
|
10301 |
|
|
10302 |
|
|
10303 |
|
|
10304 |
|
|
10305 |
|
|
10306 |
|
|
10307 |
|
|
10308 |
|
|
10309 |
|
|
10310 |
|
|
10311 |
|
|
10312 |
|
|
10313 |
|
|
10314 |
|
|
10315 |
|
|
10316 |
|
|
10317 |
|
|
10318 |
|
|
10319 |
|
|
10320 |
|
|
10321 |
|
|
10322 |
|
|
10323 |
|
|
10324 |
|
|
10325 |
|
|
10326 |
|
|
10327 |
|
|
10328 |
|
|
10329 |
|
|
10330 |
|
|
10331 |
|
|
10332 |
|
|
10333 |
|
|
10334 |
|
|
10335 |
|
|
10336 |
|
|
10337 |
|
|
10338 |
|
|
10339 |
|
|
10340 |
|
|
10341 |
|
|
10342 |
|
|
10343 |
|
|
10344 |
|
|
10345 |
|
|
10346 |
|
|
10347 |
|
|
10348 |
|
|
10349 |
|
|
10350 |
|
|
10351 |
|
|
10352 |
|
|
10353 |
|
|
10354 |
|
|
10355 |
|
|
10356 |
|
|
10357 |
|
|
10358 |
|
|
10359 |
|
|
10360 |
|
|
10361 |
|
|
10362 |
|
|
10363 |
|
|
10364 |
|
|
10365 |
|
|
10366 |
|
|
10367 |
|
|
10368 |
|
|
10369 |
|
|
10370 |
|
|
10371 |
|
|
10372 |
|
|
10373 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
|
10374 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
10375 |
|
|
10376 |
if test yes = "$GCC"; then |
|
10377 |
case $host_os in |
|
10378 |
darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
|
10379 |
*) lt_awk_arg='/^libraries:/' ;; |
|
10380 |
esac |
|
10381 |
case $host_os in |
|
10382 |
mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
|
10383 |
*) lt_sed_strip_eq='s|=/|/|g' ;; |
|
10384 |
esac |
|
10385 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
|
10386 |
case $lt_search_path_spec in |
|
10387 |
*\;*) |
|
10388 |
# if the path contains ";" then we assume it to be the separator |
|
10389 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
10390 |
# assumed that no part of a normal pathname contains ";" but that should |
|
10391 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
10392 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
|
10393 |
;; |
|
10394 |
*) |
|
10395 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
|
10396 |
;; |
|
10397 |
esac |
|
10398 |
# Ok, now we have the path, separated by spaces, we can step through it |
|
10399 |
# and add multilib dir if necessary... |
|
10400 |
lt_tmp_lt_search_path_spec= |
|
10401 |
lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
10402 |
# ...but if some path component already ends with the multilib dir we assume |
|
10403 |
# that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
|
10404 |
case "$lt_multi_os_dir; $lt_search_path_spec " in |
|
10405 |
"/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
|
10406 |
lt_multi_os_dir= |
|
10407 |
;; |
|
10408 |
esac |
|
10409 |
for lt_sys_path in $lt_search_path_spec; do |
|
10410 |
if test -d "$lt_sys_path$lt_multi_os_dir"; then |
|
10411 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
|
10412 |
elif test -n "$lt_multi_os_dir"; then |
|
10413 |
test -d "$lt_sys_path" && \ |
|
10414 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
10415 |
fi |
|
10416 |
done |
|
10417 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
|
10418 |
BEGIN {RS = " "; FS = "/|\n";} { |
|
10419 |
lt_foo = ""; |
|
10420 |
lt_count = 0; |
|
10421 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
10422 |
if ($lt_i != "" && $lt_i != ".") { |
|
10423 |
if ($lt_i == "..") { |
|
10424 |
lt_count++; |
|
10425 |
} else { |
|
10426 |
if (lt_count == 0) { |
|
10427 |
lt_foo = "/" $lt_i lt_foo; |
|
10428 |
} else { |
|
10429 |
lt_count--; |
|
10430 |
} |
|
10431 |
} |
|
10432 |
} |
|
10433 |
} |
|
10434 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
10435 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
10436 |
}'` |
|
10437 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
|
10438 |
# for these hosts. |
|
10439 |
case $host_os in |
|
10440 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
|
10441 |
$SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
|
10442 |
esac |
|
10443 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
|
10444 |
else |
|
10445 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
10446 |
fi |
|
10447 |
library_names_spec= |
|
10448 |
libname_spec='lib$name' |
|
10449 |
soname_spec= |
|
10450 |
shrext_cmds=.so |
|
10451 |
postinstall_cmds= |
|
10452 |
postuninstall_cmds= |
|
10453 |
finish_cmds= |
|
10454 |
finish_eval= |
|
10455 |
shlibpath_var= |
|
10456 |
shlibpath_overrides_runpath=unknown |
|
10457 |
version_type=none |
|
10458 |
dynamic_linker="$host_os ld.so" |
|
10459 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
10460 |
need_lib_prefix=unknown |
|
10461 |
hardcode_into_libs=no |
|
10462 |
|
|
10463 |
# when you set need_version to no, make sure it does not cause -set_version |
|
10464 |
# flags to be left without arguments |
|
10465 |
need_version=unknown |
|
10466 |
|
|
10467 |
|
|
10468 |
|
|
10469 |
case $host_os in |
|
10470 |
aix3*) |
|
10471 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10472 |
library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
|
10473 |
shlibpath_var=LIBPATH |
|
10474 |
|
|
10475 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
10476 |
soname_spec='$libname$release$shared_ext$major' |
|
10477 |
;; |
|
10478 |
|
|
10479 |
aix[4-9]*) |
|
10480 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10481 |
need_lib_prefix=no |
|
10482 |
need_version=no |
|
10483 |
hardcode_into_libs=yes |
|
10484 |
if test ia64 = "$host_cpu"; then |
|
10485 |
# AIX 5 supports IA64 |
|
10486 |
library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
|
10487 |
shlibpath_var=LD_LIBRARY_PATH |
|
10488 |
else |
|
10489 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
10490 |
# for dependence libraries. The import file would start with |
|
10491 |
# the line '#! .'. This would cause the generated library to |
|
10492 |
# depend on '.', always an invalid library. This was fixed in |
|
10493 |
# development snapshots of GCC prior to 3.0. |
|
10494 |
case $host_os in |
|
10495 |
aix4 | aix4.[01] | aix4.[01].*) |
|
10496 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
10497 |
echo ' yes ' |
|
10498 |
echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
|
10499 |
: |
|
10500 |
else |
|
10501 |
can_build_shared=no |
|
10502 |
fi |
|
10503 |
;; |
|
10504 |
esac |
|
10505 |
# Using Import Files as archive members, it is possible to support |
|
10506 |
# filename-based versioning of shared library archives on AIX. While |
|
10507 |
# this would work for both with and without runtime linking, it will |
|
10508 |
# prevent static linking of such archives. So we do filename-based |
|
10509 |
# shared library versioning with .so extension only, which is used |
|
10510 |
# when both runtime linking and shared linking is enabled. |
|
10511 |
# Unfortunately, runtime linking may impact performance, so we do |
|
10512 |
# not want this to be the default eventually. Also, we use the |
|
10513 |
# versioned .so libs for executables only if there is the -brtl |
|
10514 |
# linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
|
10515 |
# To allow for filename-based versioning support, we need to create |
|
10516 |
# libNAME.so.V as an archive file, containing: |
|
10517 |
# *) an Import File, referring to the versioned filename of the |
|
10518 |
# archive as well as the shared archive member, telling the |
|
10519 |
# bitwidth (32 or 64) of that shared object, and providing the |
|
10520 |
# list of exported symbols of that shared object, eventually |
|
10521 |
# decorated with the 'weak' keyword |
|
10522 |
# *) the shared object with the F_LOADONLY flag set, to really avoid |
|
10523 |
# it being seen by the linker. |
|
10524 |
# At run time we better use the real file rather than another symlink, |
|
10525 |
# but for link time we create the symlink libNAME.so -> libNAME.so.V |
|
10526 |
|
|
10527 |
case $with_aix_soname,$aix_use_runtimelinking in |
|
10528 |
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
|
10529 |
# soname into executable. Probably we can add versioning support to |
|
10530 |
# collect2, so additional links can be useful in future. |
|
10531 |
aix,yes) # traditional libtool |
|
10532 |
dynamic_linker='AIX unversionable lib.so' |
|
10533 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
10534 |
# instead of lib<name>.a to let people know that these are not |
|
10535 |
# typical AIX shared libraries. |
|
10536 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10537 |
;; |
|
10538 |
aix,no) # traditional AIX only |
|
10539 |
dynamic_linker='AIX lib.a(lib.so.V)' |
|
10540 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
10541 |
# and later when we are not doing run time linking. |
|
10542 |
library_names_spec='$libname$release.a $libname.a' |
|
10543 |
soname_spec='$libname$release$shared_ext$major' |
|
10544 |
;; |
|
10545 |
svr4,*) # full svr4 only |
|
10546 |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
|
10547 |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
|
10548 |
# We do not specify a path in Import Files, so LIBPATH fires. |
|
10549 |
shlibpath_overrides_runpath=yes |
|
10550 |
;; |
|
10551 |
*,yes) # both, prefer svr4 |
|
10552 |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
|
10553 |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
|
10554 |
# unpreferred sharedlib libNAME.a needs extra handling |
|
10555 |
postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
|
10556 |
postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
|
10557 |
# We do not specify a path in Import Files, so LIBPATH fires. |
|
10558 |
shlibpath_overrides_runpath=yes |
|
10559 |
;; |
|
10560 |
*,no) # both, prefer aix |
|
10561 |
dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
|
10562 |
library_names_spec='$libname$release.a $libname.a' |
|
10563 |
soname_spec='$libname$release$shared_ext$major' |
|
10564 |
# unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
|
10565 |
postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
|
10566 |
postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
|
10567 |
;; |
|
10568 |
esac |
|
10569 |
shlibpath_var=LIBPATH |
|
10570 |
fi |
|
10571 |
;; |
|
10572 |
|
|
10573 |
amigaos*) |
|
10574 |
case $host_cpu in |
|
10575 |
powerpc) |
|
10576 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
10577 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
10578 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10579 |
;; |
|
10580 |
m68k) |
|
10581 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
10582 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
10583 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' |
|
10584 |
;; |
|
10585 |
esac |
|
10586 |
;; |
|
10587 |
|
|
10588 |
beos*) |
|
10589 |
library_names_spec='$libname$shared_ext' |
|
10590 |
dynamic_linker="$host_os ld.so" |
|
10591 |
shlibpath_var=LIBRARY_PATH |
|
10592 |
;; |
|
10593 |
|
|
10594 |
bsdi[45]*) |
|
10595 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10596 |
need_version=no |
|
10597 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10598 |
soname_spec='$libname$release$shared_ext$major' |
|
10599 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
10600 |
shlibpath_var=LD_LIBRARY_PATH |
|
10601 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
10602 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
10603 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
10604 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
10605 |
# libtool to hard-code these into programs |
|
10606 |
;; |
|
10607 |
|
|
10608 |
cygwin* | mingw* | pw32* | cegcc*) |
|
10609 |
version_type=windows |
|
10610 |
shrext_cmds=.dll |
|
10611 |
need_version=no |
|
10612 |
need_lib_prefix=no |
|
10613 |
|
|
10614 |
case $GCC,$cc_basename in |
|
10615 |
yes,*) |
|
10616 |
# gcc |
|
10617 |
library_names_spec='$libname.dll.a' |
|
10618 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
10619 |
postinstall_cmds='base_file=`basename \$file`~ |
|
10620 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
|
10621 |
dldir=$destdir/`dirname \$dlpath`~ |
|
10622 |
test -d \$dldir || mkdir -p \$dldir~ |
|
10623 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
10624 |
chmod a+x \$dldir/$dlname~ |
|
10625 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
10626 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
10627 |
fi' |
|
10628 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
10629 |
dlpath=$dir/\$dldll~ |
|
10630 |
$RM \$dlpath' |
|
10631 |
shlibpath_overrides_runpath=yes |
|
10632 |
|
|
10633 |
case $host_os in |
|
10634 |
cygwin*) |
|
10635 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
10636 |
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
|
10637 |
|
|
10638 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
|
10639 |
;; |
|
10640 |
mingw* | cegcc*) |
|
10641 |
# MinGW DLLs use traditional 'lib' prefix |
|
10642 |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
|
10643 |
;; |
|
10644 |
pw32*) |
|
10645 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
10646 |
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
|
10647 |
;; |
|
10648 |
esac |
|
10649 |
dynamic_linker='Win32 ld.exe' |
|
10650 |
;; |
|
10651 |
|
|
10652 |
*,cl*) |
|
10653 |
# Native MSVC |
|
10654 |
libname_spec='$name' |
|
10655 |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
|
10656 |
library_names_spec='$libname.dll.lib' |
|
10657 |
|
|
10658 |
case $build_os in |
|
10659 |
mingw*) |
|
10660 |
sys_lib_search_path_spec= |
|
10661 |
lt_save_ifs=$IFS |
|
10662 |
IFS=';' |
|
10663 |
for lt_path in $LIB |
|
10664 |
do |
|
10665 |
IFS=$lt_save_ifs |
|
10666 |
# Let DOS variable expansion print the short 8.3 style file name. |
|
10667 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
|
10668 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
|
10669 |
done |
|
10670 |
IFS=$lt_save_ifs |
|
10671 |
# Convert to MSYS style. |
|
10672 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
|
10673 |
;; |
|
10674 |
cygwin*) |
|
10675 |
# Convert to unix form, then to dos form, then back to unix form |
|
10676 |
# but this time dos style (no spaces!) so that the unix form looks |
|
10677 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
|
10678 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
|
10679 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
|
10680 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
10681 |
;; |
|
10682 |
*) |
|
10683 |
sys_lib_search_path_spec=$LIB |
|
10684 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
10685 |
# It is most probably a Windows format PATH. |
|
10686 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
10687 |
else |
|
10688 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
10689 |
fi |
|
10690 |
# FIXME: find the short name or the path components, as spaces are |
|
10691 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
|
10692 |
;; |
|
10693 |
esac |
|
10694 |
|
|
10695 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
10696 |
postinstall_cmds='base_file=`basename \$file`~ |
|
10697 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
|
10698 |
dldir=$destdir/`dirname \$dlpath`~ |
|
10699 |
test -d \$dldir || mkdir -p \$dldir~ |
|
10700 |
$install_prog $dir/$dlname \$dldir/$dlname' |
|
10701 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
10702 |
dlpath=$dir/\$dldll~ |
|
10703 |
$RM \$dlpath' |
|
10704 |
shlibpath_overrides_runpath=yes |
|
10705 |
dynamic_linker='Win32 link.exe' |
|
10706 |
;; |
|
10707 |
|
|
10708 |
*) |
|
10709 |
# Assume MSVC wrapper |
|
10710 |
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
|
10711 |
dynamic_linker='Win32 ld.exe' |
|
10712 |
;; |
|
10713 |
esac |
|
10714 |
# FIXME: first we should search . and the directory the executable is in |
|
10715 |
shlibpath_var=PATH |
|
10716 |
;; |
|
10717 |
|
|
10718 |
darwin* | rhapsody*) |
|
10719 |
dynamic_linker="$host_os dyld" |
|
10720 |
version_type=darwin |
|
10721 |
need_lib_prefix=no |
|
10722 |
need_version=no |
|
10723 |
library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
|
10724 |
soname_spec='$libname$release$major$shared_ext' |
|
10725 |
shlibpath_overrides_runpath=yes |
|
10726 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
10727 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
10728 |
|
|
10729 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
10730 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
10731 |
;; |
|
10732 |
|
|
10733 |
dgux*) |
|
10734 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10735 |
need_lib_prefix=no |
|
10736 |
need_version=no |
|
10737 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10738 |
soname_spec='$libname$release$shared_ext$major' |
|
10739 |
shlibpath_var=LD_LIBRARY_PATH |
|
10740 |
;; |
|
10741 |
|
|
10742 |
freebsd* | dragonfly*) |
|
10743 |
# DragonFly does not have aout. When/if they implement a new |
|
10744 |
# versioning mechanism, adjust this. |
|
10745 |
if test -x /usr/bin/objformat; then |
|
10746 |
objformat=`/usr/bin/objformat` |
|
10747 |
else |
|
10748 |
case $host_os in |
|
10749 |
freebsd[23].*) objformat=aout ;; |
|
10750 |
*) objformat=elf ;; |
|
10751 |
esac |
|
10752 |
fi |
|
10753 |
version_type=freebsd-$objformat |
|
10754 |
case $version_type in |
|
10755 |
freebsd-elf*) |
|
10756 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10757 |
soname_spec='$libname$release$shared_ext$major' |
|
10758 |
need_version=no |
|
10759 |
need_lib_prefix=no |
|
10760 |
;; |
|
10761 |
freebsd-*) |
|
10762 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
|
10763 |
need_version=yes |
|
10764 |
;; |
|
10765 |
esac |
|
10766 |
shlibpath_var=LD_LIBRARY_PATH |
|
10767 |
case $host_os in |
|
10768 |
freebsd2.*) |
|
10769 |
shlibpath_overrides_runpath=yes |
|
10770 |
;; |
|
10771 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
10772 |
shlibpath_overrides_runpath=yes |
|
10773 |
hardcode_into_libs=yes |
|
10774 |
;; |
|
10775 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
10776 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
10777 |
shlibpath_overrides_runpath=no |
|
10778 |
hardcode_into_libs=yes |
|
10779 |
;; |
|
10780 |
*) # from 4.6 on, and DragonFly |
|
10781 |
shlibpath_overrides_runpath=yes |
|
10782 |
hardcode_into_libs=yes |
|
10783 |
;; |
|
10784 |
esac |
|
10785 |
;; |
|
10786 |
|
|
10787 |
haiku*) |
|
10788 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10789 |
need_lib_prefix=no |
|
10790 |
need_version=no |
|
10791 |
dynamic_linker="$host_os runtime_loader" |
|
10792 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10793 |
soname_spec='$libname$release$shared_ext$major' |
|
10794 |
shlibpath_var=LIBRARY_PATH |
|
10795 |
shlibpath_overrides_runpath=no |
|
10796 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
|
10797 |
hardcode_into_libs=yes |
|
10798 |
;; |
|
10799 |
|
|
10800 |
hpux9* | hpux10* | hpux11*) |
|
10801 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
10802 |
# link against other versions. |
|
10803 |
version_type=sunos |
|
10804 |
need_lib_prefix=no |
|
10805 |
need_version=no |
|
10806 |
case $host_cpu in |
|
10807 |
ia64*) |
|
10808 |
shrext_cmds='.so' |
|
10809 |
hardcode_into_libs=yes |
|
10810 |
dynamic_linker="$host_os dld.so" |
|
10811 |
shlibpath_var=LD_LIBRARY_PATH |
|
10812 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10813 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10814 |
soname_spec='$libname$release$shared_ext$major' |
|
10815 |
if test 32 = "$HPUX_IA64_MODE"; then |
|
10816 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
10817 |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
|
10818 |
else |
|
10819 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
10820 |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
|
10821 |
fi |
|
10822 |
;; |
|
10823 |
hppa*64*) |
|
10824 |
shrext_cmds='.sl' |
|
10825 |
hardcode_into_libs=yes |
|
10826 |
dynamic_linker="$host_os dld.sl" |
|
10827 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
10828 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
10829 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10830 |
soname_spec='$libname$release$shared_ext$major' |
|
10831 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
10832 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10833 |
;; |
|
10834 |
*) |
|
10835 |
shrext_cmds='.sl' |
|
10836 |
dynamic_linker="$host_os dld.sl" |
|
10837 |
shlibpath_var=SHLIB_PATH |
|
10838 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
10839 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10840 |
soname_spec='$libname$release$shared_ext$major' |
|
10841 |
;; |
|
10842 |
esac |
|
10843 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
|
10844 |
postinstall_cmds='chmod 555 $lib' |
|
10845 |
# or fails outright, so override atomically: |
|
10846 |
install_override_mode=555 |
|
10847 |
;; |
|
10848 |
|
|
10849 |
interix[3-9]*) |
|
10850 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10851 |
need_lib_prefix=no |
|
10852 |
need_version=no |
|
10853 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10854 |
soname_spec='$libname$release$shared_ext$major' |
|
10855 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
10856 |
shlibpath_var=LD_LIBRARY_PATH |
|
10857 |
shlibpath_overrides_runpath=no |
|
10858 |
hardcode_into_libs=yes |
|
10859 |
;; |
|
10860 |
|
|
10861 |
irix5* | irix6* | nonstopux*) |
|
10862 |
case $host_os in |
|
10863 |
nonstopux*) version_type=nonstopux ;; |
|
10864 |
*) |
|
10865 |
if test yes = "$lt_cv_prog_gnu_ld"; then |
|
10866 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10867 |
else |
|
10868 |
version_type=irix |
|
10869 |
fi ;; |
|
10870 |
esac |
|
10871 |
need_lib_prefix=no |
|
10872 |
need_version=no |
|
10873 |
soname_spec='$libname$release$shared_ext$major' |
|
10874 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
|
10875 |
case $host_os in |
|
10876 |
irix5* | nonstopux*) |
|
10877 |
libsuff= shlibsuff= |
|
10878 |
;; |
|
10879 |
*) |
|
10880 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
10881 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
10882 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
10883 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
10884 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
10885 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
10886 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
10887 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
10888 |
esac |
|
10889 |
;; |
|
10890 |
esac |
|
10891 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
10892 |
shlibpath_overrides_runpath=no |
|
10893 |
sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
|
10894 |
sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
|
10895 |
hardcode_into_libs=yes |
|
10896 |
;; |
|
10897 |
|
|
10898 |
# No shared lib support for Linux oldld, aout, or coff. |
|
10899 |
linux*oldld* | linux*aout* | linux*coff*) |
|
10900 |
dynamic_linker=no |
|
10901 |
;; |
|
10902 |
|
|
10903 |
linux*android*) |
|
10904 |
version_type=none # Android doesn't support versioned libraries. |
|
10905 |
need_lib_prefix=no |
|
10906 |
need_version=no |
|
10907 |
library_names_spec='$libname$release$shared_ext' |
|
10908 |
soname_spec='$libname$release$shared_ext' |
|
10909 |
finish_cmds= |
|
10910 |
shlibpath_var=LD_LIBRARY_PATH |
|
10911 |
shlibpath_overrides_runpath=yes |
|
10912 |
|
|
10913 |
# This implies no fast_install, which is unacceptable. |
|
10914 |
# Some rework will be needed to allow for fast_install |
|
10915 |
# before this can be enabled. |
|
10916 |
hardcode_into_libs=yes |
|
10917 |
|
|
10918 |
dynamic_linker='Android linker' |
|
10919 |
# Don't embed -rpath directories since the linker doesn't support them. |
|
10920 |
hardcode_libdir_flag_spec='-L$libdir' |
|
10921 |
;; |
|
10922 |
|
|
10923 |
# This must be glibc/ELF. |
|
10924 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
|
10925 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
10926 |
need_lib_prefix=no |
|
10927 |
need_version=no |
|
10928 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
10929 |
soname_spec='$libname$release$shared_ext$major' |
|
10930 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
10931 |
shlibpath_var=LD_LIBRARY_PATH |
|
10932 |
shlibpath_overrides_runpath=no |
|
10933 |
|
|
10934 |
# Some binutils ld are patched to set DT_RUNPATH |
|
10935 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
|
10936 |
$as_echo_n "(cached) " >&6 |
|
10937 |
else |
|
10938 |
lt_cv_shlibpath_overrides_runpath=no |
|
10939 |
save_LDFLAGS=$LDFLAGS |
|
10940 |
save_libdir=$libdir |
|
10941 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
10942 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
10943 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
10944 |
/* end confdefs.h. */ |
|
10945 |
|
|
10946 |
int |
|
10947 |
main () |
|
10948 |
{ |
|
10949 |
|
|
10950 |
; |
|
10951 |
return 0; |
|
10952 |
} |
|
10953 |
_ACEOF |
|
10954 |
if ac_fn_c_try_link "$LINENO"; then : |
|
10955 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
|
10956 |
lt_cv_shlibpath_overrides_runpath=yes |
|
10957 |
fi |
|
10958 |
fi |
|
10959 |
rm -f core conftest.err conftest.$ac_objext \ |
|
10960 |
conftest$ac_exeext conftest.$ac_ext |
|
10961 |
LDFLAGS=$save_LDFLAGS |
|
10962 |
libdir=$save_libdir |
|
10963 |
|
|
10964 |
fi |
|
10965 |
|
|
10966 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
10967 |
|
|
10968 |
# This implies no fast_install, which is unacceptable. |
|
10969 |
# Some rework will be needed to allow for fast_install |
|
10970 |
# before this can be enabled. |
|
10971 |
hardcode_into_libs=yes |
|
10972 |
|
|
10973 |
# Ideally, we could use ldconfig to report *all* directores which are |
|
10974 |
# searched for libraries, however this is still not possible. Aside from not |
|
10975 |
# being certain /sbin/ldconfig is available, command |
|
10976 |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
|
10977 |
# even though it is searched at run-time. Try to do the best guess by |
|
10978 |
# appending ld.so.conf contents (and includes) to the search path. |
|
10979 |
if test -f /etc/ld.so.conf; then |
|
10980 |
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' ' '` |
|
10981 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
10982 |
fi |
|
10983 |
|
|
10984 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
10985 |
# powerpc, because MkLinux only supported shared libraries with the |
|
10986 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
10987 |
# most powerpc-linux boxes support dynamic linking these days and |
|
10988 |
# people can always --disable-shared, the test was removed, and we |
|
10989 |
# assume the GNU/Linux dynamic linker is in use. |
|
10990 |
dynamic_linker='GNU/Linux ld.so' |
|
10991 |
;; |
|
10992 |
|
|
10993 |
netbsdelf*-gnu) |
|
10994 |
version_type=linux |
|
10995 |
need_lib_prefix=no |
|
10996 |
need_version=no |
|
10997 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
10998 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
10999 |
shlibpath_var=LD_LIBRARY_PATH |
|
11000 |
shlibpath_overrides_runpath=no |
|
11001 |
hardcode_into_libs=yes |
|
11002 |
dynamic_linker='NetBSD ld.elf_so' |
|
11003 |
;; |
|
11004 |
|
|
11005 |
netbsd*) |
|
11006 |
version_type=sunos |
|
11007 |
need_lib_prefix=no |
|
11008 |
need_version=no |
|
11009 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
11010 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
|
11011 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
11012 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
11013 |
else |
|
11014 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11015 |
soname_spec='$libname$release$shared_ext$major' |
|
11016 |
dynamic_linker='NetBSD ld.elf_so' |
|
11017 |
fi |
|
11018 |
shlibpath_var=LD_LIBRARY_PATH |
|
11019 |
shlibpath_overrides_runpath=yes |
|
11020 |
hardcode_into_libs=yes |
|
11021 |
;; |
|
11022 |
|
|
11023 |
newsos6) |
|
11024 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
11025 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11026 |
shlibpath_var=LD_LIBRARY_PATH |
|
11027 |
shlibpath_overrides_runpath=yes |
|
11028 |
;; |
|
11029 |
|
|
11030 |
*nto* | *qnx*) |
|
11031 |
version_type=qnx |
|
11032 |
need_lib_prefix=no |
|
11033 |
need_version=no |
|
11034 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11035 |
soname_spec='$libname$release$shared_ext$major' |
|
11036 |
shlibpath_var=LD_LIBRARY_PATH |
|
11037 |
shlibpath_overrides_runpath=no |
|
11038 |
hardcode_into_libs=yes |
|
11039 |
dynamic_linker='ldqnx.so' |
|
11040 |
;; |
|
11041 |
|
|
11042 |
openbsd* | bitrig*) |
|
11043 |
version_type=sunos |
|
11044 |
sys_lib_dlsearch_path_spec=/usr/lib |
|
11045 |
need_lib_prefix=no |
|
11046 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
|
11047 |
need_version=no |
|
11048 |
else |
|
11049 |
need_version=yes |
|
11050 |
fi |
|
11051 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
|
11052 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
11053 |
shlibpath_var=LD_LIBRARY_PATH |
|
11054 |
shlibpath_overrides_runpath=yes |
|
11055 |
;; |
|
11056 |
|
|
11057 |
os2*) |
|
11058 |
libname_spec='$name' |
|
11059 |
version_type=windows |
|
11060 |
shrext_cmds=.dll |
|
11061 |
need_version=no |
|
11062 |
need_lib_prefix=no |
|
11063 |
# OS/2 can only load a DLL with a base name of 8 characters or less. |
|
11064 |
soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
|
11065 |
v=$($ECHO $release$versuffix | tr -d .-); |
|
11066 |
n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
|
11067 |
$ECHO $n$v`$shared_ext' |
|
11068 |
library_names_spec='${libname}_dll.$libext' |
|
11069 |
dynamic_linker='OS/2 ld.exe' |
|
11070 |
shlibpath_var=BEGINLIBPATH |
|
11071 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
11072 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
11073 |
postinstall_cmds='base_file=`basename \$file`~ |
|
11074 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
|
11075 |
dldir=$destdir/`dirname \$dlpath`~ |
|
11076 |
test -d \$dldir || mkdir -p \$dldir~ |
|
11077 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
11078 |
chmod a+x \$dldir/$dlname~ |
|
11079 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
11080 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
11081 |
fi' |
|
11082 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
|
11083 |
dlpath=$dir/\$dldll~ |
|
11084 |
$RM \$dlpath' |
|
11085 |
;; |
|
11086 |
|
|
11087 |
osf3* | osf4* | osf5*) |
|
11088 |
version_type=osf |
|
11089 |
need_lib_prefix=no |
|
11090 |
need_version=no |
|
11091 |
soname_spec='$libname$release$shared_ext$major' |
|
11092 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11093 |
shlibpath_var=LD_LIBRARY_PATH |
|
11094 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
11095 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
11096 |
;; |
|
11097 |
|
|
11098 |
rdos*) |
|
11099 |
dynamic_linker=no |
|
11100 |
;; |
|
11101 |
|
|
11102 |
solaris*) |
|
11103 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
11104 |
need_lib_prefix=no |
|
11105 |
need_version=no |
|
11106 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11107 |
soname_spec='$libname$release$shared_ext$major' |
|
11108 |
shlibpath_var=LD_LIBRARY_PATH |
|
11109 |
shlibpath_overrides_runpath=yes |
|
11110 |
hardcode_into_libs=yes |
|
11111 |
# ldd complains unless libraries are executable |
|
11112 |
postinstall_cmds='chmod +x $lib' |
|
11113 |
;; |
|
11114 |
|
|
11115 |
sunos4*) |
|
11116 |
version_type=sunos |
|
11117 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
|
11118 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
11119 |
shlibpath_var=LD_LIBRARY_PATH |
|
11120 |
shlibpath_overrides_runpath=yes |
|
11121 |
if test yes = "$with_gnu_ld"; then |
|
11122 |
need_lib_prefix=no |
|
11123 |
fi |
|
11124 |
need_version=yes |
|
11125 |
;; |
|
11126 |
|
|
11127 |
sysv4 | sysv4.3*) |
|
11128 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
11129 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11130 |
soname_spec='$libname$release$shared_ext$major' |
|
11131 |
shlibpath_var=LD_LIBRARY_PATH |
|
11132 |
case $host_vendor in |
|
11133 |
sni) |
|
11134 |
shlibpath_overrides_runpath=no |
|
11135 |
need_lib_prefix=no |
|
11136 |
runpath_var=LD_RUN_PATH |
|
11137 |
;; |
|
11138 |
siemens) |
|
11139 |
need_lib_prefix=no |
|
11140 |
;; |
|
11141 |
motorola) |
|
11142 |
need_lib_prefix=no |
|
11143 |
need_version=no |
|
11144 |
shlibpath_overrides_runpath=no |
|
11145 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
11146 |
;; |
|
11147 |
esac |
|
11148 |
;; |
|
11149 |
|
|
11150 |
sysv4*MP*) |
|
11151 |
if test -d /usr/nec; then |
|
11152 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
11153 |
library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
|
11154 |
soname_spec='$libname$shared_ext.$major' |
|
11155 |
shlibpath_var=LD_LIBRARY_PATH |
|
11156 |
fi |
|
11157 |
;; |
|
11158 |
|
|
11159 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
11160 |
version_type=sco |
|
11161 |
need_lib_prefix=no |
|
11162 |
need_version=no |
|
11163 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
|
11164 |
soname_spec='$libname$release$shared_ext$major' |
|
11165 |
shlibpath_var=LD_LIBRARY_PATH |
|
11166 |
shlibpath_overrides_runpath=yes |
|
11167 |
hardcode_into_libs=yes |
|
11168 |
if test yes = "$with_gnu_ld"; then |
|
11169 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
11170 |
else |
|
11171 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
11172 |
case $host_os in |
|
11173 |
sco3.2v5*) |
|
11174 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
11175 |
;; |
|
11176 |
esac |
|
11177 |
fi |
|
11178 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
11179 |
;; |
|
11180 |
|
|
11181 |
tpf*) |
|
11182 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
11183 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
11184 |
need_lib_prefix=no |
|
11185 |
need_version=no |
|
11186 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11187 |
shlibpath_var=LD_LIBRARY_PATH |
|
11188 |
shlibpath_overrides_runpath=no |
|
11189 |
hardcode_into_libs=yes |
|
11190 |
;; |
|
11191 |
|
|
11192 |
uts4*) |
|
11193 |
version_type=linux # correct to gnu/linux during the next big refactor |
|
11194 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
|
11195 |
soname_spec='$libname$release$shared_ext$major' |
|
11196 |
shlibpath_var=LD_LIBRARY_PATH |
|
11197 |
;; |
|
11198 |
|
|
11199 |
*) |
|
11200 |
dynamic_linker=no |
|
11201 |
;; |
|
11202 |
esac |
|
11203 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
|
11204 |
$as_echo "$dynamic_linker" >&6; } |
|
11205 |
test no = "$dynamic_linker" && can_build_shared=no |
|
11206 |
|
|
11207 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
11208 |
if test yes = "$GCC"; then |
|
11209 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
11210 |
fi |
|
11211 |
|
|
11212 |
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
|
11213 |
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
|
11214 |
fi |
|
11215 |
|
|
11216 |
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
|
11217 |
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
|
11218 |
fi |
|
11219 |
|
|
11220 |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
|
11221 |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
|
11222 |
|
|
11223 |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
|
11224 |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
|
11225 |
|
|
11226 |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
|
11227 |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
|
11228 |
|
|
11229 |
|
|
11230 |
|
|
11231 |
|
|
11232 |
|
|
11233 |
|
|
11234 |
|
|
11235 |
|
|
11236 |
|
|
11237 |
|
|
11238 |
|
|
11239 |
|
|
11240 |
|
|
11241 |
|
|
11242 |
|
|
11243 |
|
|
11244 |
|
|
11245 |
|
|
11246 |
|
|
11247 |
|
|
11248 |
|
|
11249 |
|
|
11250 |
|
|
11251 |
|
|
11252 |
|
|
11253 |
|
|
11254 |
|
|
11255 |
|
|
11256 |
|
|
11257 |
|
|
11258 |
|
|
11259 |
|
|
11260 |
|
|
11261 |
|
|
11262 |
|
|
11263 |
|
|
11264 |
|
|
11265 |
|
|
11266 |
|
|
11267 |
|
|
11268 |
|
|
11269 |
|
|
11270 |
|
|
11271 |
|
|
11272 |
|
|
11273 |
|
|
11274 |
|
|
11275 |
|
|
11276 |
|
|
11277 |
|
|
11278 |
|
|
11279 |
|
|
11280 |
|
|
11281 |
|
|
11282 |
|
|
11283 |
|
|
11284 |
|
|
11285 |
|
|
11286 |
|
|
11287 |
|
|
11288 |
|
|
11289 |
|
|
11290 |
|
|
11291 |
|
|
11292 |
|
|
11293 |
|
|
11294 |
|
|
11295 |
|
|
11296 |
|
|
11297 |
|
|
11298 |
|
|
11299 |
|
|
11300 |
|
|
11301 |
|
|
11302 |
|
|
11303 |
|
|
11304 |
|
|
11305 |
|
|
11306 |
|
|
11307 |
|
|
11308 |
|
|
11309 |
|
|
11310 |
|
|
11311 |
|
|
11312 |
|
|
11313 |
|
|
11314 |
|
|
11315 |
|
|
11316 |
|
|
11317 |
|
|
11318 |
|
|
11319 |
|
|
11320 |
|
|
11321 |
|
|
11322 |
|
|
11323 |
|
|
11324 |
|
|
11325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
|
11326 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
11327 |
hardcode_action= |
|
11328 |
if test -n "$hardcode_libdir_flag_spec" || |
|
11329 |
test -n "$runpath_var" || |
|
11330 |
test yes = "$hardcode_automatic"; then |
|
11331 |
|
|
11332 |
# We can hardcode non-existent directories. |
|
11333 |
if test no != "$hardcode_direct" && |
|
11334 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
11335 |
# have to relink, otherwise we might link with an installed library |
|
11336 |
# when we should be linking with a yet-to-be-installed one |
|
11337 |
## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
|
11338 |
test no != "$hardcode_minus_L"; then |
|
11339 |
# Linking always hardcodes the temporary library directory. |
|
11340 |
hardcode_action=relink |
|
11341 |
else |
|
11342 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
11343 |
hardcode_action=immediate |
|
11344 |
fi |
|
11345 |
else |
|
11346 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
11347 |
# directories. |
|
11348 |
hardcode_action=unsupported |
|
11349 |
fi |
|
11350 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
|
11351 |
$as_echo "$hardcode_action" >&6; } |
|
11352 |
|
|
11353 |
if test relink = "$hardcode_action" || |
|
11354 |
test yes = "$inherit_rpath"; then |
|
11355 |
# Fast installation is not supported |
|
11356 |
enable_fast_install=no |
|
11357 |
elif test yes = "$shlibpath_overrides_runpath" || |
|
11358 |
test no = "$enable_shared"; then |
|
11359 |
# Fast installation is not necessary |
|
11360 |
enable_fast_install=needless |
|
11361 |
fi |
|
11362 |
|
|
11363 |
|
|
11364 |
|
|
11365 |
|
|
11366 |
|
|
11367 |
|
|
11368 |
if test yes != "$enable_dlopen"; then |
|
11369 |
enable_dlopen=unknown |
|
11370 |
enable_dlopen_self=unknown |
|
11371 |
enable_dlopen_self_static=unknown |
|
11372 |
else |
|
11373 |
lt_cv_dlopen=no |
|
11374 |
lt_cv_dlopen_libs= |
|
11375 |
|
|
11376 |
case $host_os in |
|
11377 |
beos*) |
|
11378 |
lt_cv_dlopen=load_add_on |
|
11379 |
lt_cv_dlopen_libs= |
|
11380 |
lt_cv_dlopen_self=yes |
|
11381 |
;; |
|
11382 |
|
|
11383 |
mingw* | pw32* | cegcc*) |
|
11384 |
lt_cv_dlopen=LoadLibrary |
|
11385 |
lt_cv_dlopen_libs= |
|
11386 |
;; |
|
11387 |
|
|
11388 |
cygwin*) |
|
11389 |
lt_cv_dlopen=dlopen |
|
11390 |
lt_cv_dlopen_libs= |
|
11391 |
;; |
|
11392 |
|
|
11393 |
darwin*) |
|
11394 |
# if libdl is installed we need to link against it |
|
11395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
11396 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
11397 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
|
11398 |
$as_echo_n "(cached) " >&6 |
|
11399 |
else |
|
11400 |
ac_check_lib_save_LIBS=$LIBS |
|
11401 |
LIBS="-ldl $LIBS" |
|
11402 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11403 |
/* end confdefs.h. */ |
|
11404 |
|
|
11405 |
/* Override any GCC internal prototype to avoid an error. |
|
11406 |
Use char because int might match the return type of a GCC |
|
11407 |
builtin and then its argument prototype would still apply. */ |
|
11408 |
#ifdef __cplusplus |
|
11409 |
extern "C" |
|
11410 |
#endif |
|
11411 |
char dlopen (); |
|
11412 |
int |
|
11413 |
main () |
|
11414 |
{ |
|
11415 |
return dlopen (); |
|
11416 |
; |
|
11417 |
return 0; |
|
11418 |
} |
|
11419 |
_ACEOF |
|
11420 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11421 |
ac_cv_lib_dl_dlopen=yes |
|
11422 |
else |
|
11423 |
ac_cv_lib_dl_dlopen=no |
|
11424 |
fi |
|
11425 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11426 |
conftest$ac_exeext conftest.$ac_ext |
|
11427 |
LIBS=$ac_check_lib_save_LIBS |
|
11428 |
fi |
|
11429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
11430 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
11431 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
11432 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
|
11433 |
else |
|
11434 |
|
|
11435 |
lt_cv_dlopen=dyld |
|
11436 |
lt_cv_dlopen_libs= |
|
11437 |
lt_cv_dlopen_self=yes |
|
11438 |
|
|
11439 |
fi |
|
11440 |
|
|
11441 |
;; |
|
11442 |
|
|
11443 |
tpf*) |
|
11444 |
# Don't try to run any link tests for TPF. We know it's impossible |
|
11445 |
# because TPF is a cross-compiler, and we know how we open DSOs. |
|
11446 |
lt_cv_dlopen=dlopen |
|
11447 |
lt_cv_dlopen_libs= |
|
11448 |
lt_cv_dlopen_self=no |
|
11449 |
;; |
|
11450 |
|
|
11451 |
*) |
|
11452 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
|
11453 |
if test "x$ac_cv_func_shl_load" = xyes; then : |
|
11454 |
lt_cv_dlopen=shl_load |
|
11455 |
else |
|
11456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
|
11457 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
11458 |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
|
11459 |
$as_echo_n "(cached) " >&6 |
|
11460 |
else |
|
11461 |
ac_check_lib_save_LIBS=$LIBS |
|
11462 |
LIBS="-ldld $LIBS" |
|
11463 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11464 |
/* end confdefs.h. */ |
|
11465 |
|
|
11466 |
/* Override any GCC internal prototype to avoid an error. |
|
11467 |
Use char because int might match the return type of a GCC |
|
11468 |
builtin and then its argument prototype would still apply. */ |
|
11469 |
#ifdef __cplusplus |
|
11470 |
extern "C" |
|
11471 |
#endif |
|
11472 |
char shl_load (); |
|
11473 |
int |
|
11474 |
main () |
|
11475 |
{ |
|
11476 |
return shl_load (); |
|
11477 |
; |
|
11478 |
return 0; |
|
11479 |
} |
|
11480 |
_ACEOF |
|
11481 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11482 |
ac_cv_lib_dld_shl_load=yes |
|
11483 |
else |
|
11484 |
ac_cv_lib_dld_shl_load=no |
|
11485 |
fi |
|
11486 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11487 |
conftest$ac_exeext conftest.$ac_ext |
|
11488 |
LIBS=$ac_check_lib_save_LIBS |
|
11489 |
fi |
|
11490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
|
11491 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
11492 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
|
11493 |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
|
11494 |
else |
|
11495 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
|
11496 |
if test "x$ac_cv_func_dlopen" = xyes; then : |
|
11497 |
lt_cv_dlopen=dlopen |
|
11498 |
else |
|
11499 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
|
11500 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
11501 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
|
11502 |
$as_echo_n "(cached) " >&6 |
|
11503 |
else |
|
11504 |
ac_check_lib_save_LIBS=$LIBS |
|
11505 |
LIBS="-ldl $LIBS" |
|
11506 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11507 |
/* end confdefs.h. */ |
|
11508 |
|
|
11509 |
/* Override any GCC internal prototype to avoid an error. |
|
11510 |
Use char because int might match the return type of a GCC |
|
11511 |
builtin and then its argument prototype would still apply. */ |
|
11512 |
#ifdef __cplusplus |
|
11513 |
extern "C" |
|
11514 |
#endif |
|
11515 |
char dlopen (); |
|
11516 |
int |
|
11517 |
main () |
|
11518 |
{ |
|
11519 |
return dlopen (); |
|
11520 |
; |
|
11521 |
return 0; |
|
11522 |
} |
|
11523 |
_ACEOF |
|
11524 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11525 |
ac_cv_lib_dl_dlopen=yes |
|
11526 |
else |
|
11527 |
ac_cv_lib_dl_dlopen=no |
|
11528 |
fi |
|
11529 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11530 |
conftest$ac_exeext conftest.$ac_ext |
|
11531 |
LIBS=$ac_check_lib_save_LIBS |
|
11532 |
fi |
|
11533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
11534 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
11535 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
11536 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
|
11537 |
else |
|
11538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
|
11539 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
11540 |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
|
11541 |
$as_echo_n "(cached) " >&6 |
|
11542 |
else |
|
11543 |
ac_check_lib_save_LIBS=$LIBS |
|
11544 |
LIBS="-lsvld $LIBS" |
|
11545 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11546 |
/* end confdefs.h. */ |
|
11547 |
|
|
11548 |
/* Override any GCC internal prototype to avoid an error. |
|
11549 |
Use char because int might match the return type of a GCC |
|
11550 |
builtin and then its argument prototype would still apply. */ |
|
11551 |
#ifdef __cplusplus |
|
11552 |
extern "C" |
|
11553 |
#endif |
|
11554 |
char dlopen (); |
|
11555 |
int |
|
11556 |
main () |
|
11557 |
{ |
|
11558 |
return dlopen (); |
|
11559 |
; |
|
11560 |
return 0; |
|
11561 |
} |
|
11562 |
_ACEOF |
|
11563 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11564 |
ac_cv_lib_svld_dlopen=yes |
|
11565 |
else |
|
11566 |
ac_cv_lib_svld_dlopen=no |
|
11567 |
fi |
|
11568 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11569 |
conftest$ac_exeext conftest.$ac_ext |
|
11570 |
LIBS=$ac_check_lib_save_LIBS |
|
11571 |
fi |
|
11572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
|
11573 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
11574 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
|
11575 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
|
11576 |
else |
|
11577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
|
11578 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
11579 |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
|
11580 |
$as_echo_n "(cached) " >&6 |
|
11581 |
else |
|
11582 |
ac_check_lib_save_LIBS=$LIBS |
|
11583 |
LIBS="-ldld $LIBS" |
|
11584 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
11585 |
/* end confdefs.h. */ |
|
11586 |
|
|
11587 |
/* Override any GCC internal prototype to avoid an error. |
|
11588 |
Use char because int might match the return type of a GCC |
|
11589 |
builtin and then its argument prototype would still apply. */ |
|
11590 |
#ifdef __cplusplus |
|
11591 |
extern "C" |
|
11592 |
#endif |
|
11593 |
char dld_link (); |
|
11594 |
int |
|
11595 |
main () |
|
11596 |
{ |
|
11597 |
return dld_link (); |
|
11598 |
; |
|
11599 |
return 0; |
|
11600 |
} |
|
11601 |
_ACEOF |
|
11602 |
if ac_fn_c_try_link "$LINENO"; then : |
|
11603 |
ac_cv_lib_dld_dld_link=yes |
|
11604 |
else |
|
11605 |
ac_cv_lib_dld_dld_link=no |
|
11606 |
fi |
|
11607 |
rm -f core conftest.err conftest.$ac_objext \ |
|
11608 |
conftest$ac_exeext conftest.$ac_ext |
|
11609 |
LIBS=$ac_check_lib_save_LIBS |
|
11610 |
fi |
|
11611 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
|
11612 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
11613 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
|
11614 |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
|
11615 |
fi |
|
11616 |
|
|
11617 |
|
|
11618 |
fi |
|
11619 |
|
|
11620 |
|
|
11621 |
fi |
|
11622 |
|
|
11623 |
|
|
11624 |
fi |
|
11625 |
|
|
11626 |
|
|
11627 |
fi |
|
11628 |
|
|
11629 |
|
|
11630 |
fi |
|
11631 |
|
|
11632 |
;; |
|
11633 |
esac |
|
11634 |
|
|
11635 |
if test no = "$lt_cv_dlopen"; then |
|
11636 |
enable_dlopen=no |
|
11637 |
else |
|
11638 |
enable_dlopen=yes |
|
11639 |
fi |
|
11640 |
|
|
11641 |
case $lt_cv_dlopen in |
|
11642 |
dlopen) |
|
11643 |
save_CPPFLAGS=$CPPFLAGS |
|
11644 |
test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
11645 |
|
|
11646 |
save_LDFLAGS=$LDFLAGS |
|
11647 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
11648 |
|
|
11649 |
save_LIBS=$LIBS |
|
11650 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
11651 |
|
|
11652 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
|
11653 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
11654 |
if ${lt_cv_dlopen_self+:} false; then : |
|
11655 |
$as_echo_n "(cached) " >&6 |
|
11656 |
else |
|
11657 |
if test yes = "$cross_compiling"; then : |
|
11658 |
lt_cv_dlopen_self=cross |
|
11659 |
else |
|
11660 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11661 |
lt_status=$lt_dlunknown |
|
11662 |
cat > conftest.$ac_ext <<_LT_EOF |
|
11663 |
#line $LINENO "configure" |
|
11664 |
#include "confdefs.h" |
|
11665 |
|
|
11666 |
#if HAVE_DLFCN_H |
|
11667 |
#include <dlfcn.h> |
|
11668 |
#endif |
|
11669 |
|
|
11670 |
#include <stdio.h> |
|
11671 |
|
|
11672 |
#ifdef RTLD_GLOBAL |
|
11673 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
11674 |
#else |
|
11675 |
# ifdef DL_GLOBAL |
|
11676 |
# define LT_DLGLOBAL DL_GLOBAL |
|
11677 |
# else |
|
11678 |
# define LT_DLGLOBAL 0 |
|
11679 |
# endif |
|
11680 |
#endif |
|
11681 |
|
|
11682 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
11683 |
find out it does not work in some platform. */ |
|
11684 |
#ifndef LT_DLLAZY_OR_NOW |
|
11685 |
# ifdef RTLD_LAZY |
|
11686 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
11687 |
# else |
|
11688 |
# ifdef DL_LAZY |
|
11689 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
11690 |
# else |
|
11691 |
# ifdef RTLD_NOW |
|
11692 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
11693 |
# else |
|
11694 |
# ifdef DL_NOW |
|
11695 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11696 |
# else |
|
11697 |
# define LT_DLLAZY_OR_NOW 0 |
|
11698 |
# endif |
|
11699 |
# endif |
|
11700 |
# endif |
|
11701 |
# endif |
|
11702 |
#endif |
|
11703 |
|
|
11704 |
/* When -fvisibility=hidden is used, assume the code has been annotated |
|
11705 |
correspondingly for the symbols needed. */ |
|
11706 |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11707 |
int fnord () __attribute__((visibility("default"))); |
|
11708 |
#endif |
|
11709 |
|
|
11710 |
int fnord () { return 42; } |
|
11711 |
int main () |
|
11712 |
{ |
|
11713 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11714 |
int status = $lt_dlunknown; |
|
11715 |
|
|
11716 |
if (self) |
|
11717 |
{ |
|
11718 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
11719 |
else |
|
11720 |
{ |
|
11721 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11722 |
else puts (dlerror ()); |
|
11723 |
} |
|
11724 |
/* dlclose (self); */ |
|
11725 |
} |
|
11726 |
else |
|
11727 |
puts (dlerror ()); |
|
11728 |
|
|
11729 |
return status; |
|
11730 |
} |
|
11731 |
_LT_EOF |
|
11732 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11733 |
(eval $ac_link) 2>&5 |
|
11734 |
ac_status=$? |
|
11735 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11736 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
|
11737 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11738 |
lt_status=$? |
|
11739 |
case x$lt_status in |
|
11740 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
11741 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
11742 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
11743 |
esac |
|
11744 |
else : |
|
11745 |
# compilation failed |
|
11746 |
lt_cv_dlopen_self=no |
|
11747 |
fi |
|
11748 |
fi |
|
11749 |
rm -fr conftest* |
|
11750 |
|
|
11751 |
|
|
11752 |
fi |
|
11753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
|
11754 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
11755 |
|
|
11756 |
if test yes = "$lt_cv_dlopen_self"; then |
|
11757 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
11758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
|
11759 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
11760 |
if ${lt_cv_dlopen_self_static+:} false; then : |
|
11761 |
$as_echo_n "(cached) " >&6 |
|
11762 |
else |
|
11763 |
if test yes = "$cross_compiling"; then : |
|
11764 |
lt_cv_dlopen_self_static=cross |
|
11765 |
else |
|
11766 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
11767 |
lt_status=$lt_dlunknown |
|
11768 |
cat > conftest.$ac_ext <<_LT_EOF |
|
11769 |
#line $LINENO "configure" |
|
11770 |
#include "confdefs.h" |
|
11771 |
|
|
11772 |
#if HAVE_DLFCN_H |
|
11773 |
#include <dlfcn.h> |
|
11774 |
#endif |
|
11775 |
|
|
11776 |
#include <stdio.h> |
|
11777 |
|
|
11778 |
#ifdef RTLD_GLOBAL |
|
11779 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
11780 |
#else |
|
11781 |
# ifdef DL_GLOBAL |
|
11782 |
# define LT_DLGLOBAL DL_GLOBAL |
|
11783 |
# else |
|
11784 |
# define LT_DLGLOBAL 0 |
|
11785 |
# endif |
|
11786 |
#endif |
|
11787 |
|
|
11788 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
11789 |
find out it does not work in some platform. */ |
|
11790 |
#ifndef LT_DLLAZY_OR_NOW |
|
11791 |
# ifdef RTLD_LAZY |
|
11792 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
11793 |
# else |
|
11794 |
# ifdef DL_LAZY |
|
11795 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
11796 |
# else |
|
11797 |
# ifdef RTLD_NOW |
|
11798 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
11799 |
# else |
|
11800 |
# ifdef DL_NOW |
|
11801 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
11802 |
# else |
|
11803 |
# define LT_DLLAZY_OR_NOW 0 |
|
11804 |
# endif |
|
11805 |
# endif |
|
11806 |
# endif |
|
11807 |
# endif |
|
11808 |
#endif |
|
11809 |
|
|
11810 |
/* When -fvisibility=hidden is used, assume the code has been annotated |
|
11811 |
correspondingly for the symbols needed. */ |
|
11812 |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
|
11813 |
int fnord () __attribute__((visibility("default"))); |
|
11814 |
#endif |
|
11815 |
|
|
11816 |
int fnord () { return 42; } |
|
11817 |
int main () |
|
11818 |
{ |
|
11819 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
11820 |
int status = $lt_dlunknown; |
|
11821 |
|
|
11822 |
if (self) |
|
11823 |
{ |
|
11824 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
11825 |
else |
|
11826 |
{ |
|
11827 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
11828 |
else puts (dlerror ()); |
|
11829 |
} |
|
11830 |
/* dlclose (self); */ |
|
11831 |
} |
|
11832 |
else |
|
11833 |
puts (dlerror ()); |
|
11834 |
|
|
11835 |
return status; |
|
11836 |
} |
|
11837 |
_LT_EOF |
|
11838 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
|
11839 |
(eval $ac_link) 2>&5 |
|
11840 |
ac_status=$? |
|
11841 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
11842 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
|
11843 |
(./conftest; exit; ) >&5 2>/dev/null |
|
11844 |
lt_status=$? |
|
11845 |
case x$lt_status in |
|
11846 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11847 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
11848 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
11849 |
esac |
|
11850 |
else : |
|
11851 |
# compilation failed |
|
11852 |
lt_cv_dlopen_self_static=no |
|
11853 |
fi |
|
11854 |
fi |
|
11855 |
rm -fr conftest* |
|
11856 |
|
|
11857 |
|
|
11858 |
fi |
|
11859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
|
11860 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
11861 |
fi |
|
11862 |
|
|
11863 |
CPPFLAGS=$save_CPPFLAGS |
|
11864 |
LDFLAGS=$save_LDFLAGS |
|
11865 |
LIBS=$save_LIBS |
|
11866 |
;; |
|
11867 |
esac |
|
11868 |
|
|
11869 |
case $lt_cv_dlopen_self in |
|
11870 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
11871 |
*) enable_dlopen_self=unknown ;; |
|
11872 |
esac |
|
11873 |
|
|
11874 |
case $lt_cv_dlopen_self_static in |
|
11875 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
11876 |
*) enable_dlopen_self_static=unknown ;; |
|
11877 |
esac |
|
11878 |
fi |
|
11879 |
|
|
11880 |
|
|
11881 |
|
|
11882 |
|
|
11883 |
|
|
11884 |
|
|
11885 |
|
|
11886 |
|
|
11887 |
|
|
11888 |
|
|
11889 |
|
|
11890 |
|
|
11891 |
|
|
11892 |
|
|
11893 |
|
|
11894 |
|
|
11895 |
|
|
11896 |
striplib= |
|
11897 |
old_striplib= |
|
11898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
|
11899 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
11900 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
11901 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
11902 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
11903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11904 |
$as_echo "yes" >&6; } |
|
11905 |
else |
|
11906 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
11907 |
case $host_os in |
|
11908 |
darwin*) |
|
11909 |
if test -n "$STRIP"; then |
|
11910 |
striplib="$STRIP -x" |
|
11911 |
old_striplib="$STRIP -S" |
|
11912 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
11913 |
$as_echo "yes" >&6; } |
|
11914 |
else |
|
11915 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11916 |
$as_echo "no" >&6; } |
|
11917 |
fi |
|
11918 |
;; |
|
11919 |
*) |
|
11920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
11921 |
$as_echo "no" >&6; } |
|
11922 |
;; |
|
11923 |
esac |
|
11924 |
fi |
|
11925 |
|
|
11926 |
|
|
11927 |
|
|
11928 |
|
|
11929 |
|
|
11930 |
|
|
11931 |
|
|
11932 |
|
|
11933 |
|
|
11934 |
|
|
11935 |
|
|
11936 |
|
|
11937 |
# Report what library types will actually be built |
|
11938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
|
11939 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
11940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
|
11941 |
$as_echo "$can_build_shared" >&6; } |
|
11942 |
|
|
11943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
|
11944 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
11945 |
test no = "$can_build_shared" && enable_shared=no |
|
11946 |
|
|
11947 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
11948 |
# are all built from PIC. |
|
11949 |
case $host_os in |
|
11950 |
aix3*) |
|
11951 |
test yes = "$enable_shared" && enable_static=no |
|
11952 |
if test -n "$RANLIB"; then |
|
11953 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
11954 |
postinstall_cmds='$RANLIB $lib' |
|
11955 |
fi |
|
11956 |
;; |
|
11957 |
|
|
11958 |
aix[4-9]*) |
|
11959 |
if test ia64 != "$host_cpu"; then |
|
11960 |
case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
|
11961 |
yes,aix,yes) ;; # shared object as lib.so file only |
|
11962 |
yes,svr4,*) ;; # shared object as lib.so archive member only |
|
11963 |
yes,*) enable_static=no ;; # shared object in lib.a archive as well |
|
11964 |
esac |
|
11965 |
fi |
|
11966 |
;; |
|
11967 |
esac |
|
11968 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
|
11969 |
$as_echo "$enable_shared" >&6; } |
|
11970 |
|
|
11971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
|
11972 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
11973 |
# Make sure either enable_shared or enable_static is yes. |
|
11974 |
test yes = "$enable_shared" || enable_static=yes |
|
11975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
|
11976 |
$as_echo "$enable_static" >&6; } |
|
11977 |
|
|
11978 |
|
|
11979 |
|
|
11980 |
|
|
11981 |
fi |
|
11982 |
ac_ext=c |
|
11983 |
ac_cpp='$CPP $CPPFLAGS' |
|
11984 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11985 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11986 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
11987 |
|
|
11988 |
CC=$lt_save_CC |
|
11989 |
|
|
11990 |
|
|
11991 |
|
|
11992 |
|
|
11993 |
|
|
11994 |
|
|
11995 |
|
|
11996 |
|
|
11997 |
|
|
11998 |
|
|
11999 |
|
|
12000 |
|
|
12001 |
|
|
12002 |
|
|
12003 |
|
|
12004 |
ac_config_commands="$ac_config_commands libtool" |
|
12005 |
|
|
12006 |
|
|
12007 |
|
|
12008 |
|
|
12009 |
# Only expand once: |
|
12010 |
|
|
12011 |
|
|
12012 |
|
|
12013 |
#AM_GNU_GETTEXT_VERSION([0.16]) |
|
12014 |
#AM_GNU_GETTEXT([external]) |
|
12015 |
|
|
12016 |
# Checks for header files. |
|
12017 |
for ac_header in stdlib.h string.h leptonica/allheaders.h |
|
12018 |
do : |
|
12019 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
12020 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
12021 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
12022 |
cat >>confdefs.h <<_ACEOF |
|
12023 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
12024 |
_ACEOF |
|
12025 |
|
|
12026 |
fi |
|
12027 |
|
|
12028 |
done |
|
12029 |
|
|
12030 |
|
|
12031 |
# Checks for typedefs, structures, and compiler characteristics. |
|
12032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
|
12033 |
$as_echo_n "checking for inline... " >&6; } |
|
12034 |
if ${ac_cv_c_inline+:} false; then : |
|
12035 |
$as_echo_n "(cached) " >&6 |
|
12036 |
else |
|
12037 |
ac_cv_c_inline=no |
|
12038 |
for ac_kw in inline __inline__ __inline; do |
|
12039 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12040 |
/* end confdefs.h. */ |
|
12041 |
#ifndef __cplusplus |
|
12042 |
typedef int foo_t; |
|
12043 |
static $ac_kw foo_t static_foo () {return 0; } |
|
12044 |
$ac_kw foo_t foo () {return 0; } |
|
12045 |
#endif |
|
12046 |
|
|
12047 |
_ACEOF |
|
12048 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
12049 |
ac_cv_c_inline=$ac_kw |
|
12050 |
fi |
|
12051 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
12052 |
test "$ac_cv_c_inline" != no && break |
|
12053 |
done |
|
12054 |
|
|
12055 |
fi |
|
12056 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
|
12057 |
$as_echo "$ac_cv_c_inline" >&6; } |
|
12058 |
|
|
12059 |
case $ac_cv_c_inline in |
|
12060 |
inline | yes) ;; |
|
12061 |
*) |
|
12062 |
case $ac_cv_c_inline in |
|
12063 |
no) ac_val=;; |
|
12064 |
*) ac_val=$ac_cv_c_inline;; |
|
12065 |
esac |
|
12066 |
cat >>confdefs.h <<_ACEOF |
|
12067 |
#ifndef __cplusplus |
|
12068 |
#define inline $ac_val |
|
12069 |
#endif |
|
12070 |
_ACEOF |
|
12071 |
;; |
|
12072 |
esac |
|
12073 |
|
|
12074 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
|
12075 |
if test "x$ac_cv_type_size_t" = xyes; then : |
|
12076 |
|
|
12077 |
else |
|
12078 |
|
|
12079 |
cat >>confdefs.h <<_ACEOF |
|
12080 |
@%:@define size_t unsigned int |
|
12081 |
_ACEOF |
|
12082 |
|
|
12083 |
fi |
|
12084 |
|
|
12085 |
|
|
12086 |
|
|
12087 |
# Checks for library functions. |
|
12088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing atan2" >&5 |
|
12089 |
$as_echo_n "checking for library containing atan2... " >&6; } |
|
12090 |
if ${ac_cv_search_atan2+:} false; then : |
|
12091 |
$as_echo_n "(cached) " >&6 |
|
12092 |
else |
|
12093 |
ac_func_search_save_LIBS=$LIBS |
|
12094 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12095 |
/* end confdefs.h. */ |
|
12096 |
|
|
12097 |
/* Override any GCC internal prototype to avoid an error. |
|
12098 |
Use char because int might match the return type of a GCC |
|
12099 |
builtin and then its argument prototype would still apply. */ |
|
12100 |
#ifdef __cplusplus |
|
12101 |
extern "C" |
|
12102 |
#endif |
|
12103 |
char atan2 (); |
|
12104 |
int |
|
12105 |
main () |
|
12106 |
{ |
|
12107 |
return atan2 (); |
|
12108 |
; |
|
12109 |
return 0; |
|
12110 |
} |
|
12111 |
_ACEOF |
|
12112 |
for ac_lib in '' m; do |
|
12113 |
if test -z "$ac_lib"; then |
|
12114 |
ac_res="none required" |
|
12115 |
else |
|
12116 |
ac_res=-l$ac_lib |
|
12117 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
12118 |
fi |
|
12119 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12120 |
ac_cv_search_atan2=$ac_res |
|
12121 |
fi |
|
12122 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12123 |
conftest$ac_exeext |
|
12124 |
if ${ac_cv_search_atan2+:} false; then : |
|
12125 |
break |
|
12126 |
fi |
|
12127 |
done |
|
12128 |
if ${ac_cv_search_atan2+:} false; then : |
|
12129 |
|
|
12130 |
else |
|
12131 |
ac_cv_search_atan2=no |
|
12132 |
fi |
|
12133 |
rm conftest.$ac_ext |
|
12134 |
LIBS=$ac_func_search_save_LIBS |
|
12135 |
fi |
|
12136 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_atan2" >&5 |
|
12137 |
$as_echo "$ac_cv_search_atan2" >&6; } |
|
12138 |
ac_res=$ac_cv_search_atan2 |
|
12139 |
if test "$ac_res" != no; then : |
|
12140 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
12141 |
|
|
12142 |
fi |
|
12143 |
|
|
12144 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TIFFOpen" >&5 |
|
12145 |
$as_echo_n "checking for library containing TIFFOpen... " >&6; } |
|
12146 |
if ${ac_cv_search_TIFFOpen+:} false; then : |
|
12147 |
$as_echo_n "(cached) " >&6 |
|
12148 |
else |
|
12149 |
ac_func_search_save_LIBS=$LIBS |
|
12150 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12151 |
/* end confdefs.h. */ |
|
12152 |
|
|
12153 |
/* Override any GCC internal prototype to avoid an error. |
|
12154 |
Use char because int might match the return type of a GCC |
|
12155 |
builtin and then its argument prototype would still apply. */ |
|
12156 |
#ifdef __cplusplus |
|
12157 |
extern "C" |
|
12158 |
#endif |
|
12159 |
char TIFFOpen (); |
|
12160 |
int |
|
12161 |
main () |
|
12162 |
{ |
|
12163 |
return TIFFOpen (); |
|
12164 |
; |
|
12165 |
return 0; |
|
12166 |
} |
|
12167 |
_ACEOF |
|
12168 |
for ac_lib in '' tiff; do |
|
12169 |
if test -z "$ac_lib"; then |
|
12170 |
ac_res="none required" |
|
12171 |
else |
|
12172 |
ac_res=-l$ac_lib |
|
12173 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
12174 |
fi |
|
12175 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12176 |
ac_cv_search_TIFFOpen=$ac_res |
|
12177 |
fi |
|
12178 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12179 |
conftest$ac_exeext |
|
12180 |
if ${ac_cv_search_TIFFOpen+:} false; then : |
|
12181 |
break |
|
12182 |
fi |
|
12183 |
done |
|
12184 |
if ${ac_cv_search_TIFFOpen+:} false; then : |
|
12185 |
|
|
12186 |
else |
|
12187 |
ac_cv_search_TIFFOpen=no |
|
12188 |
fi |
|
12189 |
rm conftest.$ac_ext |
|
12190 |
LIBS=$ac_func_search_save_LIBS |
|
12191 |
fi |
|
12192 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TIFFOpen" >&5 |
|
12193 |
$as_echo "$ac_cv_search_TIFFOpen" >&6; } |
|
12194 |
ac_res=$ac_cv_search_TIFFOpen |
|
12195 |
if test "$ac_res" != no; then : |
|
12196 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
12197 |
|
|
12198 |
else |
|
12199 |
echo 'Install libtiff-dev'; exit 1 |
|
12200 |
fi |
|
12201 |
|
|
12202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing png_create_info_struct" >&5 |
|
12203 |
$as_echo_n "checking for library containing png_create_info_struct... " >&6; } |
|
12204 |
if ${ac_cv_search_png_create_info_struct+:} false; then : |
|
12205 |
$as_echo_n "(cached) " >&6 |
|
12206 |
else |
|
12207 |
ac_func_search_save_LIBS=$LIBS |
|
12208 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12209 |
/* end confdefs.h. */ |
|
12210 |
|
|
12211 |
/* Override any GCC internal prototype to avoid an error. |
|
12212 |
Use char because int might match the return type of a GCC |
|
12213 |
builtin and then its argument prototype would still apply. */ |
|
12214 |
#ifdef __cplusplus |
|
12215 |
extern "C" |
|
12216 |
#endif |
|
12217 |
char png_create_info_struct (); |
|
12218 |
int |
|
12219 |
main () |
|
12220 |
{ |
|
12221 |
return png_create_info_struct (); |
|
12222 |
; |
|
12223 |
return 0; |
|
12224 |
} |
|
12225 |
_ACEOF |
|
12226 |
for ac_lib in '' png; do |
|
12227 |
if test -z "$ac_lib"; then |
|
12228 |
ac_res="none required" |
|
12229 |
else |
|
12230 |
ac_res=-l$ac_lib |
|
12231 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
12232 |
fi |
|
12233 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12234 |
ac_cv_search_png_create_info_struct=$ac_res |
|
12235 |
fi |
|
12236 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12237 |
conftest$ac_exeext |
|
12238 |
if ${ac_cv_search_png_create_info_struct+:} false; then : |
|
12239 |
break |
|
12240 |
fi |
|
12241 |
done |
|
12242 |
if ${ac_cv_search_png_create_info_struct+:} false; then : |
|
12243 |
|
|
12244 |
else |
|
12245 |
ac_cv_search_png_create_info_struct=no |
|
12246 |
fi |
|
12247 |
rm conftest.$ac_ext |
|
12248 |
LIBS=$ac_func_search_save_LIBS |
|
12249 |
fi |
|
12250 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_png_create_info_struct" >&5 |
|
12251 |
$as_echo "$ac_cv_search_png_create_info_struct" >&6; } |
|
12252 |
ac_res=$ac_cv_search_png_create_info_struct |
|
12253 |
if test "$ac_res" != no; then : |
|
12254 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
12255 |
|
|
12256 |
else |
|
12257 |
echo 'Install libpng-dev'; exit |
|
12258 |
1 |
|
12259 |
fi |
|
12260 |
|
|
12261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pixMorphSequence" >&5 |
|
12262 |
$as_echo_n "checking for library containing pixMorphSequence... " >&6; } |
|
12263 |
if ${ac_cv_search_pixMorphSequence+:} false; then : |
|
12264 |
$as_echo_n "(cached) " >&6 |
|
12265 |
else |
|
12266 |
ac_func_search_save_LIBS=$LIBS |
|
12267 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12268 |
/* end confdefs.h. */ |
|
12269 |
|
|
12270 |
/* Override any GCC internal prototype to avoid an error. |
|
12271 |
Use char because int might match the return type of a GCC |
|
12272 |
builtin and then its argument prototype would still apply. */ |
|
12273 |
#ifdef __cplusplus |
|
12274 |
extern "C" |
|
12275 |
#endif |
|
12276 |
char pixMorphSequence (); |
|
12277 |
int |
|
12278 |
main () |
|
12279 |
{ |
|
12280 |
return pixMorphSequence (); |
|
12281 |
; |
|
12282 |
return 0; |
|
12283 |
} |
|
12284 |
_ACEOF |
|
12285 |
for ac_lib in '' lept; do |
|
12286 |
if test -z "$ac_lib"; then |
|
12287 |
ac_res="none required" |
|
12288 |
else |
|
12289 |
ac_res=-l$ac_lib |
|
12290 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
12291 |
fi |
|
12292 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12293 |
ac_cv_search_pixMorphSequence=$ac_res |
|
12294 |
fi |
|
12295 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12296 |
conftest$ac_exeext |
|
12297 |
if ${ac_cv_search_pixMorphSequence+:} false; then : |
|
12298 |
break |
|
12299 |
fi |
|
12300 |
done |
|
12301 |
if ${ac_cv_search_pixMorphSequence+:} false; then : |
|
12302 |
|
|
12303 |
else |
|
12304 |
ac_cv_search_pixMorphSequence=no |
|
12305 |
fi |
|
12306 |
rm conftest.$ac_ext |
|
12307 |
LIBS=$ac_func_search_save_LIBS |
|
12308 |
fi |
|
12309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pixMorphSequence" >&5 |
|
12310 |
$as_echo "$ac_cv_search_pixMorphSequence" >&6; } |
|
12311 |
ac_res=$ac_cv_search_pixMorphSequence |
|
12312 |
if test "$ac_res" != no; then : |
|
12313 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
12314 |
|
|
12315 |
else |
|
12316 |
echo 'Install libleptonica-dev'; exit 1 |
|
12317 |
fi |
|
12318 |
|
|
12319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzgets" >&5 |
|
12320 |
$as_echo_n "checking for library containing gzgets... " >&6; } |
|
12321 |
if ${ac_cv_search_gzgets+:} false; then : |
|
12322 |
$as_echo_n "(cached) " >&6 |
|
12323 |
else |
|
12324 |
ac_func_search_save_LIBS=$LIBS |
|
12325 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
12326 |
/* end confdefs.h. */ |
|
12327 |
|
|
12328 |
/* Override any GCC internal prototype to avoid an error. |
|
12329 |
Use char because int might match the return type of a GCC |
|
12330 |
builtin and then its argument prototype would still apply. */ |
|
12331 |
#ifdef __cplusplus |
|
12332 |
extern "C" |
|
12333 |
#endif |
|
12334 |
char gzgets (); |
|
12335 |
int |
|
12336 |
main () |
|
12337 |
{ |
|
12338 |
return gzgets (); |
|
12339 |
; |
|
12340 |
return 0; |
|
12341 |
} |
|
12342 |
_ACEOF |
|
12343 |
for ac_lib in '' z; do |
|
12344 |
if test -z "$ac_lib"; then |
|
12345 |
ac_res="none required" |
|
12346 |
else |
|
12347 |
ac_res=-l$ac_lib |
|
12348 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
12349 |
fi |
|
12350 |
if ac_fn_c_try_link "$LINENO"; then : |
|
12351 |
ac_cv_search_gzgets=$ac_res |
|
12352 |
fi |
|
12353 |
rm -f core conftest.err conftest.$ac_objext \ |
|
12354 |
conftest$ac_exeext |
|
12355 |
if ${ac_cv_search_gzgets+:} false; then : |
|
12356 |
break |
|
12357 |
fi |
|
12358 |
done |
|
12359 |
if ${ac_cv_search_gzgets+:} false; then : |
|
12360 |
|
|
12361 |
else |
|
12362 |
ac_cv_search_gzgets=no |
|
12363 |
fi |
|
12364 |
rm conftest.$ac_ext |
|
12365 |
LIBS=$ac_func_search_save_LIBS |
|
12366 |
fi |
|
12367 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzgets" >&5 |
|
12368 |
$as_echo "$ac_cv_search_gzgets" >&6; } |
|
12369 |
ac_res=$ac_cv_search_gzgets |
|
12370 |
if test "$ac_res" != no; then : |
|
12371 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
12372 |
|
|
12373 |
else |
|
12374 |
echo 'Install zlib1g-dev'; exit 1 |
|
12375 |
fi |
|
12376 |
|
|
12377 |
|
|
12378 |
$as_echo "@%:@define NEWLEPT /**/" >>confdefs.h |
|
12379 |
] |
|
12380 |
|
|
12381 |
ac_config_files="$ac_config_files Makefile src/Makefile" |
|
12382 |
|
|
12383 |
cat >confcache <<\_ACEOF |
|
12384 |
# This file is a shell script that caches the results of configure |
|
12385 |
# tests run on this system so they can be shared between configure |
|
12386 |
# scripts and configure runs, see configure's option --config-cache. |
|
12387 |
# It is not useful on other systems. If it contains results you don't |
|
12388 |
# want to keep, you may remove or edit it. |
|
12389 |
# |
|
12390 |
# config.status only pays attention to the cache file if you give it |
|
12391 |
# the --recheck option to rerun configure. |
|
12392 |
# |
|
12393 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
12394 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
12395 |
# following values. |
|
12396 |
|
|
12397 |
_ACEOF |
|
12398 |
|
|
12399 |
# The following way of writing the cache mishandles newlines in values, |
|
12400 |
# but we know of no workaround that is simple, portable, and efficient. |
|
12401 |
# So, we kill variables containing newlines. |
|
12402 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
12403 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
12404 |
( |
|
12405 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
12406 |
eval ac_val=\$$ac_var |
|
12407 |
case $ac_val in #( |
|
12408 |
*${as_nl}*) |
|
12409 |
case $ac_var in #( |
|
12410 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
12411 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
12412 |
esac |
|
12413 |
case $ac_var in #( |
|
12414 |
_ | IFS | as_nl) ;; #( |
|
12415 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
12416 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
12417 |
esac ;; |
|
12418 |
esac |
|
12419 |
done |
|
12420 |
|
|
12421 |
(set) 2>&1 | |
|
12422 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
12423 |
*${as_nl}ac_space=\ *) |
|
12424 |
# `set' does not quote correctly, so add quotes: double-quote |
|
12425 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
12426 |
sed -n \ |
|
12427 |
"s/'/'\\\\''/g; |
|
12428 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
12429 |
;; #( |
|
12430 |
*) |
|
12431 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
12432 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
12433 |
;; |
|
12434 |
esac | |
|
12435 |
sort |
|
12436 |
) | |
|
12437 |
sed ' |
|
12438 |
/^ac_cv_env_/b end |
|
12439 |
t clear |
|
12440 |
:clear |
|
12441 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
12442 |
t end |
|
12443 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
12444 |
:end' >>confcache |
|
12445 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
12446 |
if test -w "$cache_file"; then |
|
12447 |
if test "x$cache_file" != "x/dev/null"; then |
|
12448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
12449 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
12450 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
12451 |
cat confcache >"$cache_file" |
|
12452 |
else |
|
12453 |
case $cache_file in #( |
|
12454 |
*/* | ?:*) |
|
12455 |
mv -f confcache "$cache_file"$$ && |
|
12456 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
12457 |
*) |
|
12458 |
mv -f confcache "$cache_file" ;; |
|
12459 |
esac |
|
12460 |
fi |
|
12461 |
fi |
|
12462 |
else |
|
12463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
12464 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
12465 |
fi |
|
12466 |
fi |
|
12467 |
rm -f confcache |
|
12468 |
|
|
12469 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
12470 |
# Let make expand exec_prefix. |
|
12471 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
12472 |
|
|
12473 |
DEFS=-DHAVE_CONFIG_H |
|
12474 |
|
|
12475 |
ac_libobjs= |
|
12476 |
ac_ltlibobjs= |
|
12477 |
U= |
|
12478 |
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
|
12479 |
# 1. Remove the extension, and $U if already installed. |
|
12480 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
12481 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
12482 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
12483 |
# will be set to the directory where LIBOBJS objects are built. |
|
12484 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
12485 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
12486 |
done |
|
12487 |
LIB@&t@OBJS=$ac_libobjs |
|
12488 |
|
|
12489 |
LTLIBOBJS=$ac_ltlibobjs |
|
12490 |
|
|
12491 |
|
|
12492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
12493 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
12494 |
if test -n "$am_sleep_pid"; then |
|
12495 |
# Hide warnings about reused PIDs. |
|
12496 |
wait $am_sleep_pid 2>/dev/null |
|
12497 |
fi |
|
12498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
12499 |
$as_echo "done" >&6; } |
|
12500 |
if test -n "$EXEEXT"; then |
|
12501 |
am__EXEEXT_TRUE= |
|
12502 |
am__EXEEXT_FALSE='#' |
|
12503 |
else |
|
12504 |
am__EXEEXT_TRUE='#' |
|
12505 |
am__EXEEXT_FALSE= |
|
12506 |
fi |
|
12507 |
|
|
12508 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
12509 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
12510 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
12511 |
fi |
|
12512 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
12513 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
12514 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
12515 |
fi |
|
12516 |
|
|
12517 |
: "${CONFIG_STATUS=./config.status}" |
|
12518 |
ac_write_fail=0 |
|
12519 |
ac_clean_files_save=$ac_clean_files |
|
12520 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
12521 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
12522 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
12523 |
as_write_fail=0 |
|
12524 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
12525 |
#! $SHELL |
|
12526 |
# Generated by $as_me. |
|
12527 |
# Run this file to recreate the current configuration. |
|
12528 |
# Compiler output produced by configure, useful for debugging |
|
12529 |
# configure, is in config.log if it exists. |
|
12530 |
|
|
12531 |
debug=false |
|
12532 |
ac_cs_recheck=false |
|
12533 |
ac_cs_silent=false |
|
12534 |
|
|
12535 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
12536 |
export SHELL |
|
12537 |
_ASEOF |
|
12538 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
12539 |
## -------------------- ## |
|
12540 |
## M4sh Initialization. ## |
|
12541 |
## -------------------- ## |
|
12542 |
|
|
12543 |
# Be more Bourne compatible |
|
12544 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
12545 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
12546 |
emulate sh |
|
12547 |
NULLCMD=: |
|
12548 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
12549 |
# is contrary to our usage. Disable this feature. |
|
12550 |
alias -g '${1+"$@"}'='"$@"' |
|
12551 |
setopt NO_GLOB_SUBST |
|
12552 |
else |
|
12553 |
case `(set -o) 2>/dev/null` in @%:@( |
|
12554 |
*posix*) : |
|
12555 |
set -o posix ;; @%:@( |
|
12556 |
*) : |
|
12557 |
;; |
|
12558 |
esac |
|
12559 |
fi |
|
12560 |
|
|
12561 |
|
|
12562 |
as_nl=' |
|
12563 |
' |
|
12564 |
export as_nl |
|
12565 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
12566 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
12567 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
12568 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
12569 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
12570 |
# but without wasting forks for bash or zsh. |
|
12571 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
12572 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
12573 |
as_echo='print -r --' |
|
12574 |
as_echo_n='print -rn --' |
|
12575 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
12576 |
as_echo='printf %s\n' |
|
12577 |
as_echo_n='printf %s' |
|
12578 |
else |
|
12579 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
12580 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
12581 |
as_echo_n='/usr/ucb/echo -n' |
|
12582 |
else |
|
12583 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
12584 |
as_echo_n_body='eval |
|
12585 |
arg=$1; |
|
12586 |
case $arg in @%:@( |
|
12587 |
*"$as_nl"*) |
|
12588 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
12589 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
12590 |
esac; |
|
12591 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
12592 |
' |
|
12593 |
export as_echo_n_body |
|
12594 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
12595 |
fi |
|
12596 |
export as_echo_body |
|
12597 |
as_echo='sh -c $as_echo_body as_echo' |
|
12598 |
fi |
|
12599 |
|
|
12600 |
# The user is always right. |
|
12601 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
12602 |
PATH_SEPARATOR=: |
|
12603 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
12604 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
12605 |
PATH_SEPARATOR=';' |
|
12606 |
} |
|
12607 |
fi |
|
12608 |
|
|
12609 |
|
|
12610 |
# IFS |
|
12611 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
12612 |
# there to prevent editors from complaining about space-tab. |
|
12613 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
12614 |
# splitting by setting IFS to empty value.) |
|
12615 |
IFS=" "" $as_nl" |
|
12616 |
|
|
12617 |
# Find who we are. Look in the path if we contain no directory separator. |
|
12618 |
as_myself= |
|
12619 |
case $0 in @%:@(( |
|
12620 |
*[\\/]* ) as_myself=$0 ;; |
|
12621 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
12622 |
for as_dir in $PATH |
|
12623 |
do |
|
12624 |
IFS=$as_save_IFS |
|
12625 |
test -z "$as_dir" && as_dir=. |
|
12626 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
12627 |
done |
|
12628 |
IFS=$as_save_IFS |
|
12629 |
|
|
12630 |
;; |
|
12631 |
esac |
|
12632 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
12633 |
# in which case we are not to be found in the path. |
|
12634 |
if test "x$as_myself" = x; then |
|
12635 |
as_myself=$0 |
|
12636 |
fi |
|
12637 |
if test ! -f "$as_myself"; then |
|
12638 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
12639 |
exit 1 |
|
12640 |
fi |
|
12641 |
|
|
12642 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
12643 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
12644 |
# suppresses any "Segmentation fault" message there. '((' could |
|
12645 |
# trigger a bug in pdksh 5.2.14. |
|
12646 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
12647 |
do eval test x\${$as_var+set} = xset \ |
|
12648 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
12649 |
done |
|
12650 |
PS1='$ ' |
|
12651 |
PS2='> ' |
|
12652 |
PS4='+ ' |
|
12653 |
|
|
12654 |
# NLS nuisances. |
|
12655 |
LC_ALL=C |
|
12656 |
export LC_ALL |
|
12657 |
LANGUAGE=C |
|
12658 |
export LANGUAGE |
|
12659 |
|
|
12660 |
# CDPATH. |
|
12661 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
12662 |
|
|
12663 |
|
|
12664 |
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
12665 |
@%:@ ---------------------------------------- |
|
12666 |
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
12667 |
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
12668 |
@%:@ script with STATUS, using 1 if that was 0. |
|
12669 |
as_fn_error () |
|
12670 |
{ |
|
12671 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
12672 |
if test "$4"; then |
|
12673 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
12674 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
12675 |
fi |
|
12676 |
$as_echo "$as_me: error: $2" >&2 |
|
12677 |
as_fn_exit $as_status |
|
12678 |
} @%:@ as_fn_error |
|
12679 |
|
|
12680 |
|
|
12681 |
@%:@ as_fn_set_status STATUS |
|
12682 |
@%:@ ----------------------- |
|
12683 |
@%:@ Set @S|@? to STATUS, without forking. |
|
12684 |
as_fn_set_status () |
|
12685 |
{ |
|
12686 |
return $1 |
|
12687 |
} @%:@ as_fn_set_status |
|
12688 |
|
|
12689 |
@%:@ as_fn_exit STATUS |
|
12690 |
@%:@ ----------------- |
|
12691 |
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
12692 |
as_fn_exit () |
|
12693 |
{ |
|
12694 |
set +e |
|
12695 |
as_fn_set_status $1 |
|
12696 |
exit $1 |
|
12697 |
} @%:@ as_fn_exit |
|
12698 |
|
|
12699 |
@%:@ as_fn_unset VAR |
|
12700 |
@%:@ --------------- |
|
12701 |
@%:@ Portably unset VAR. |
|
12702 |
as_fn_unset () |
|
12703 |
{ |
|
12704 |
{ eval $1=; unset $1;} |
|
12705 |
} |
|
12706 |
as_unset=as_fn_unset |
|
12707 |
@%:@ as_fn_append VAR VALUE |
|
12708 |
@%:@ ---------------------- |
|
12709 |
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
|
12710 |
@%:@ advantage of any shell optimizations that allow amortized linear growth over |
|
12711 |
@%:@ repeated appends, instead of the typical quadratic growth present in naive |
|
12712 |
@%:@ implementations. |
|
12713 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
12714 |
eval 'as_fn_append () |
|
12715 |
{ |
|
12716 |
eval $1+=\$2 |
|
12717 |
}' |
|
12718 |
else |
|
12719 |
as_fn_append () |
|
12720 |
{ |
|
12721 |
eval $1=\$$1\$2 |
|
12722 |
} |
|
12723 |
fi # as_fn_append |
|
12724 |
|
|
12725 |
@%:@ as_fn_arith ARG... |
|
12726 |
@%:@ ------------------ |
|
12727 |
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
|
12728 |
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
|
12729 |
@%:@ must be portable across @S|@(()) and expr. |
|
12730 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
12731 |
eval 'as_fn_arith () |
|
12732 |
{ |
|
12733 |
as_val=$(( $* )) |
|
12734 |
}' |
|
12735 |
else |
|
12736 |
as_fn_arith () |
|
12737 |
{ |
|
12738 |
as_val=`expr "$@" || test $? -eq 1` |
|
12739 |
} |
|
12740 |
fi # as_fn_arith |
|
12741 |
|
|
12742 |
|
|
12743 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
12744 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
12745 |
as_expr=expr |
|
12746 |
else |
|
12747 |
as_expr=false |
|
12748 |
fi |
|
12749 |
|
|
12750 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
12751 |
as_basename=basename |
|
12752 |
else |
|
12753 |
as_basename=false |
|
12754 |
fi |
|
12755 |
|
|
12756 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
12757 |
as_dirname=dirname |
|
12758 |
else |
|
12759 |
as_dirname=false |
|
12760 |
fi |
|
12761 |
|
|
12762 |
as_me=`$as_basename -- "$0" || |
|
12763 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
12764 |
X"$0" : 'X\(//\)$' \| \ |
|
12765 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
12766 |
$as_echo X/"$0" | |
|
12767 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
12768 |
s//\1/ |
|
12769 |
q |
|
12770 |
} |
|
12771 |
/^X\/\(\/\/\)$/{ |
|
12772 |
s//\1/ |
|
12773 |
q |
|
12774 |
} |
|
12775 |
/^X\/\(\/\).*/{ |
|
12776 |
s//\1/ |
|
12777 |
q |
|
12778 |
} |
|
12779 |
s/.*/./; q'` |
|
12780 |
|
|
12781 |
# Avoid depending upon Character Ranges. |
|
12782 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
12783 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
12784 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
12785 |
as_cr_digits='0123456789' |
|
12786 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
12787 |
|
|
12788 |
ECHO_C= ECHO_N= ECHO_T= |
|
12789 |
case `echo -n x` in @%:@((((( |
|
12790 |
-n*) |
|
12791 |
case `echo 'xy\c'` in |
|
12792 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
12793 |
xy) ECHO_C='\c';; |
|
12794 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
12795 |
ECHO_T=' ';; |
|
12796 |
esac;; |
|
12797 |
*) |
|
12798 |
ECHO_N='-n';; |
|
12799 |
esac |
|
12800 |
|
|
12801 |
rm -f conf$$ conf$$.exe conf$$.file |
|
12802 |
if test -d conf$$.dir; then |
|
12803 |
rm -f conf$$.dir/conf$$.file |
|
12804 |
else |
|
12805 |
rm -f conf$$.dir |
|
12806 |
mkdir conf$$.dir 2>/dev/null |
|
12807 |
fi |
|
12808 |
if (echo >conf$$.file) 2>/dev/null; then |
|
12809 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
12810 |
as_ln_s='ln -s' |
|
12811 |
# ... but there are two gotchas: |
|
12812 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
12813 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
12814 |
# In both cases, we have to default to `cp -pR'. |
|
12815 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
12816 |
as_ln_s='cp -pR' |
|
12817 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
12818 |
as_ln_s=ln |
|
12819 |
else |
|
12820 |
as_ln_s='cp -pR' |
|
12821 |
fi |
|
12822 |
else |
|
12823 |
as_ln_s='cp -pR' |
|
12824 |
fi |
|
12825 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
12826 |
rmdir conf$$.dir 2>/dev/null |
|
12827 |
|
|
12828 |
|
|
12829 |
@%:@ as_fn_mkdir_p |
|
12830 |
@%:@ ------------- |
|
12831 |
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
|
12832 |
as_fn_mkdir_p () |
|
12833 |
{ |
|
12834 |
|
|
12835 |
case $as_dir in #( |
|
12836 |
-*) as_dir=./$as_dir;; |
|
12837 |
esac |
|
12838 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
12839 |
as_dirs= |
|
12840 |
while :; do |
|
12841 |
case $as_dir in #( |
|
12842 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
12843 |
*) as_qdir=$as_dir;; |
|
12844 |
esac |
|
12845 |
as_dirs="'$as_qdir' $as_dirs" |
|
12846 |
as_dir=`$as_dirname -- "$as_dir" || |
|
12847 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
12848 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
12849 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
12850 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
12851 |
$as_echo X"$as_dir" | |
|
12852 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
12853 |
s//\1/ |
|
12854 |
q |
|
12855 |
} |
|
12856 |
/^X\(\/\/\)[^/].*/{ |
|
12857 |
s//\1/ |
|
12858 |
q |
|
12859 |
} |
|
12860 |
/^X\(\/\/\)$/{ |
|
12861 |
s//\1/ |
|
12862 |
q |
|
12863 |
} |
|
12864 |
/^X\(\/\).*/{ |
|
12865 |
s//\1/ |
|
12866 |
q |
|
12867 |
} |
|
12868 |
s/.*/./; q'` |
|
12869 |
test -d "$as_dir" && break |
|
12870 |
done |
|
12871 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
12872 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
12873 |
|
|
12874 |
|
|
12875 |
} @%:@ as_fn_mkdir_p |
|
12876 |
if mkdir -p . 2>/dev/null; then |
|
12877 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
12878 |
else |
|
12879 |
test -d ./-p && rmdir ./-p |
|
12880 |
as_mkdir_p=false |
|
12881 |
fi |
|
12882 |
|
|
12883 |
|
|
12884 |
@%:@ as_fn_executable_p FILE |
|
12885 |
@%:@ ----------------------- |
|
12886 |
@%:@ Test if FILE is an executable regular file. |
|
12887 |
as_fn_executable_p () |
|
12888 |
{ |
|
12889 |
test -f "$1" && test -x "$1" |
|
12890 |
} @%:@ as_fn_executable_p |
|
12891 |
as_test_x='test -x' |
|
12892 |
as_executable_p=as_fn_executable_p |
|
12893 |
|
|
12894 |
# Sed expression to map a string onto a valid CPP name. |
|
12895 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
12896 |
|
|
12897 |
# Sed expression to map a string onto a valid variable name. |
|
12898 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
12899 |
|
|
12900 |
|
|
12901 |
exec 6>&1 |
|
12902 |
## ----------------------------------- ## |
|
12903 |
## Main body of $CONFIG_STATUS script. ## |
|
12904 |
## ----------------------------------- ## |
|
12905 |
_ASEOF |
|
12906 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
12907 |
|
|
12908 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12909 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
12910 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
12911 |
# values after options handling. |
|
12912 |
ac_log=" |
|
12913 |
This file was extended by sizif-helpers $as_me 0.2, which was |
|
12914 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
12915 |
|
|
12916 |
CONFIG_FILES = $CONFIG_FILES |
|
12917 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
12918 |
CONFIG_LINKS = $CONFIG_LINKS |
|
12919 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
12920 |
$ $0 $@ |
|
12921 |
|
|
12922 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
12923 |
" |
|
12924 |
|
|
12925 |
_ACEOF |
|
12926 |
|
|
12927 |
case $ac_config_files in *" |
|
12928 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
12929 |
esac |
|
12930 |
|
|
12931 |
case $ac_config_headers in *" |
|
12932 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
12933 |
esac |
|
12934 |
|
|
12935 |
|
|
12936 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12937 |
# Files that config.status was made for. |
|
12938 |
config_files="$ac_config_files" |
|
12939 |
config_headers="$ac_config_headers" |
|
12940 |
config_commands="$ac_config_commands" |
|
12941 |
|
|
12942 |
_ACEOF |
|
12943 |
|
|
12944 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12945 |
ac_cs_usage="\ |
|
12946 |
\`$as_me' instantiates files and other configuration actions |
|
12947 |
from templates according to the current configuration. Unless the files |
|
12948 |
and actions are specified as TAGs, all are instantiated by default. |
|
12949 |
|
|
12950 |
Usage: $0 [OPTION]... [TAG]... |
|
12951 |
|
|
12952 |
-h, --help print this help, then exit |
|
12953 |
-V, --version print version number and configuration settings, then exit |
|
12954 |
--config print configuration, then exit |
|
12955 |
-q, --quiet, --silent |
|
12956 |
do not print progress messages |
|
12957 |
-d, --debug don't remove temporary files |
|
12958 |
--recheck update $as_me by reconfiguring in the same conditions |
|
12959 |
--file=FILE[:TEMPLATE] |
|
12960 |
instantiate the configuration file FILE |
|
12961 |
--header=FILE[:TEMPLATE] |
|
12962 |
instantiate the configuration header FILE |
|
12963 |
|
|
12964 |
Configuration files: |
|
12965 |
$config_files |
|
12966 |
|
|
12967 |
Configuration headers: |
|
12968 |
$config_headers |
|
12969 |
|
|
12970 |
Configuration commands: |
|
12971 |
$config_commands |
|
12972 |
|
|
12973 |
Report bugs to <samo.penic@gmail.com>." |
|
12974 |
|
|
12975 |
_ACEOF |
|
12976 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
12977 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
12978 |
ac_cs_version="\\ |
|
12979 |
sizif-helpers config.status 0.2 |
|
12980 |
configured by $0, generated by GNU Autoconf 2.69, |
|
12981 |
with options \\"\$ac_cs_config\\" |
|
12982 |
|
|
12983 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
12984 |
This config.status script is free software; the Free Software Foundation |
|
12985 |
gives unlimited permission to copy, distribute and modify it." |
|
12986 |
|
|
12987 |
ac_pwd='$ac_pwd' |
|
12988 |
srcdir='$srcdir' |
|
12989 |
INSTALL='$INSTALL' |
|
12990 |
MKDIR_P='$MKDIR_P' |
|
12991 |
AWK='$AWK' |
|
12992 |
test -n "\$AWK" || AWK=awk |
|
12993 |
_ACEOF |
|
12994 |
|
|
12995 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
12996 |
# The default lists apply if the user does not specify any file. |
|
12997 |
ac_need_defaults=: |
|
12998 |
while test $# != 0 |
|
12999 |
do |
|
13000 |
case $1 in |
|
13001 |
--*=?*) |
|
13002 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
13003 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
13004 |
ac_shift=: |
|
13005 |
;; |
|
13006 |
--*=) |
|
13007 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
13008 |
ac_optarg= |
|
13009 |
ac_shift=: |
|
13010 |
;; |
|
13011 |
*) |
|
13012 |
ac_option=$1 |
|
13013 |
ac_optarg=$2 |
|
13014 |
ac_shift=shift |
|
13015 |
;; |
|
13016 |
esac |
|
13017 |
|
|
13018 |
case $ac_option in |
|
13019 |
# Handling of the options. |
|
13020 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
13021 |
ac_cs_recheck=: ;; |
|
13022 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
13023 |
$as_echo "$ac_cs_version"; exit ;; |
|
13024 |
--config | --confi | --conf | --con | --co | --c ) |
|
13025 |
$as_echo "$ac_cs_config"; exit ;; |
|
13026 |
--debug | --debu | --deb | --de | --d | -d ) |
|
13027 |
debug=: ;; |
|
13028 |
--file | --fil | --fi | --f ) |
|
13029 |
$ac_shift |
|
13030 |
case $ac_optarg in |
|
13031 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
13032 |
'') as_fn_error $? "missing file argument" ;; |
|
13033 |
esac |
|
13034 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
13035 |
ac_need_defaults=false;; |
|
13036 |
--header | --heade | --head | --hea ) |
|
13037 |
$ac_shift |
|
13038 |
case $ac_optarg in |
|
13039 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
13040 |
esac |
|
13041 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
13042 |
ac_need_defaults=false;; |
|
13043 |
--he | --h) |
|
13044 |
# Conflict between --help and --header |
|
13045 |
as_fn_error $? "ambiguous option: \`$1' |
|
13046 |
Try \`$0 --help' for more information.";; |
|
13047 |
--help | --hel | -h ) |
|
13048 |
$as_echo "$ac_cs_usage"; exit ;; |
|
13049 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
13050 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
13051 |
ac_cs_silent=: ;; |
|
13052 |
|
|
13053 |
# This is an error. |
|
13054 |
-*) as_fn_error $? "unrecognized option: \`$1' |
|
13055 |
Try \`$0 --help' for more information." ;; |
|
13056 |
|
|
13057 |
*) as_fn_append ac_config_targets " $1" |
|
13058 |
ac_need_defaults=false ;; |
|
13059 |
|
|
13060 |
esac |
|
13061 |
shift |
|
13062 |
done |
|
13063 |
|
|
13064 |
ac_configure_extra_args= |
|
13065 |
|
|
13066 |
if $ac_cs_silent; then |
|
13067 |
exec 6>/dev/null |
|
13068 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
13069 |
fi |
|
13070 |
|
|
13071 |
_ACEOF |
|
13072 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13073 |
if \$ac_cs_recheck; then |
|
13074 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
13075 |
shift |
|
13076 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
13077 |
CONFIG_SHELL='$SHELL' |
|
13078 |
export CONFIG_SHELL |
|
13079 |
exec "\$@" |
|
13080 |
fi |
|
13081 |
|
|
13082 |
_ACEOF |
|
13083 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13084 |
exec 5>>config.log |
|
13085 |
{ |
|
13086 |
echo |
|
13087 |
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
|
13088 |
@%:@@%:@ Running $as_me. @%:@@%:@ |
|
13089 |
_ASBOX |
|
13090 |
$as_echo "$ac_log" |
|
13091 |
} >&5 |
|
13092 |
|
|
13093 |
_ACEOF |
|
13094 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13095 |
# |
|
13096 |
# INIT-COMMANDS |
|
13097 |
# |
|
13098 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
13099 |
|
|
13100 |
|
|
13101 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
13102 |
# if CDPATH is set. |
|
13103 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
13104 |
|
|
13105 |
sed_quote_subst='$sed_quote_subst' |
|
13106 |
double_quote_subst='$double_quote_subst' |
|
13107 |
delay_variable_subst='$delay_variable_subst' |
|
13108 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
|
13109 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
|
13110 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
|
13111 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
|
13112 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
|
13113 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
|
13114 |
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
|
13115 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
|
13116 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
13117 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
|
13118 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
|
13119 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
|
13120 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
|
13121 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
|
13122 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
|
13123 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
|
13124 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
|
13125 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
|
13126 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
|
13127 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
|
13128 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
|
13129 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
|
13130 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
|
13131 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
|
13132 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
|
13133 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
|
13134 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
|
13135 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
|
13136 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
|
13137 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
|
13138 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
13139 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
|
13140 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
|
13141 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
|
13142 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
|
13143 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
|
13144 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
|
13145 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
|
13146 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
|
13147 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
|
13148 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
|
13149 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
|
13150 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
|
13151 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
|
13152 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
|
13153 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
|
13154 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
13155 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
13156 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
13157 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
|
13158 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
|
13159 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
|
13160 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
|
13161 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
|
13162 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
|
13163 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
|
13164 |
lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
|
13165 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
|
13166 |
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"`' |
|
13167 |
lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
|
13168 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
13169 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
|
13170 |
lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
|
13171 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
|
13172 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
|
13173 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
|
13174 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
|
13175 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
|
13176 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
|
13177 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
|
13178 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
|
13179 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
|
13180 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
|
13181 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
|
13182 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
|
13183 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
|
13184 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
|
13185 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
|
13186 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
|
13187 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
13188 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
|
13189 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
|
13190 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
13191 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
13192 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
|
13193 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
|
13194 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
|
13195 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
|
13196 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
13197 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
|
13198 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
|
13199 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
|
13200 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
13201 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
|
13202 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
|
13203 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
|
13204 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
|
13205 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
|
13206 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
|
13207 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
13208 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
|
13209 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
|
13210 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
|
13211 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
|
13212 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
|
13213 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
|
13214 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
|
13215 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
|
13216 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
|
13217 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
|
13218 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
|
13219 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
|
13220 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
|
13221 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
|
13222 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
|
13223 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
|
13224 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
|
13225 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
|
13226 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
|
13227 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
|
13228 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
|
13229 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
13230 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
|
13231 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
|
13232 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
|
13233 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
|
13234 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
|
13235 |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
|
13236 |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
|
13237 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
|
13238 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
|
13239 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
|
13240 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
|
13241 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
|
13242 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
|
13243 |
|
|
13244 |
LTCC='$LTCC' |
|
13245 |
LTCFLAGS='$LTCFLAGS' |
|
13246 |
compiler='$compiler_DEFAULT' |
|
13247 |
|
|
13248 |
# A function that is used when there is no print builtin or printf. |
|
13249 |
func_fallback_echo () |
|
13250 |
{ |
|
13251 |
eval 'cat <<_LTECHO_EOF |
|
13252 |
\$1 |
|
13253 |
_LTECHO_EOF' |
|
13254 |
} |
|
13255 |
|
|
13256 |
# Quote evaled strings. |
|
13257 |
for var in SHELL \ |
|
13258 |
ECHO \ |
|
13259 |
PATH_SEPARATOR \ |
|
13260 |
SED \ |
|
13261 |
GREP \ |
|
13262 |
EGREP \ |
|
13263 |
FGREP \ |
|
13264 |
LD \ |
|
13265 |
NM \ |
|
13266 |
LN_S \ |
|
13267 |
lt_SP2NL \ |
|
13268 |
lt_NL2SP \ |
|
13269 |
reload_flag \ |
|
13270 |
OBJDUMP \ |
|
13271 |
deplibs_check_method \ |
|
13272 |
file_magic_cmd \ |
|
13273 |
file_magic_glob \ |
|
13274 |
want_nocaseglob \ |
|
13275 |
DLLTOOL \ |
|
13276 |
sharedlib_from_linklib_cmd \ |
|
13277 |
AR \ |
|
13278 |
AR_FLAGS \ |
|
13279 |
archiver_list_spec \ |
|
13280 |
STRIP \ |
|
13281 |
RANLIB \ |
|
13282 |
CC \ |
|
13283 |
CFLAGS \ |
|
13284 |
compiler \ |
|
13285 |
lt_cv_sys_global_symbol_pipe \ |
|
13286 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
13287 |
lt_cv_sys_global_symbol_to_import \ |
|
13288 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
13289 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
13290 |
lt_cv_nm_interface \ |
|
13291 |
nm_file_list_spec \ |
|
13292 |
lt_cv_truncate_bin \ |
|
13293 |
lt_prog_compiler_no_builtin_flag \ |
|
13294 |
lt_prog_compiler_pic \ |
|
13295 |
lt_prog_compiler_wl \ |
|
13296 |
lt_prog_compiler_static \ |
|
13297 |
lt_cv_prog_compiler_c_o \ |
|
13298 |
need_locks \ |
|
13299 |
MANIFEST_TOOL \ |
|
13300 |
DSYMUTIL \ |
|
13301 |
NMEDIT \ |
|
13302 |
LIPO \ |
|
13303 |
OTOOL \ |
|
13304 |
OTOOL64 \ |
|
13305 |
shrext_cmds \ |
|
13306 |
export_dynamic_flag_spec \ |
|
13307 |
whole_archive_flag_spec \ |
|
13308 |
compiler_needs_object \ |
|
13309 |
with_gnu_ld \ |
|
13310 |
allow_undefined_flag \ |
|
13311 |
no_undefined_flag \ |
|
13312 |
hardcode_libdir_flag_spec \ |
|
13313 |
hardcode_libdir_separator \ |
|
13314 |
exclude_expsyms \ |
|
13315 |
include_expsyms \ |
|
13316 |
file_list_spec \ |
|
13317 |
variables_saved_for_relink \ |
|
13318 |
libname_spec \ |
|
13319 |
library_names_spec \ |
|
13320 |
soname_spec \ |
|
13321 |
install_override_mode \ |
|
13322 |
finish_eval \ |
|
13323 |
old_striplib \ |
|
13324 |
striplib; do |
|
13325 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
13326 |
*[\\\\\\\`\\"\\\$]*) |
|
13327 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
|
13328 |
;; |
|
13329 |
*) |
|
13330 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
13331 |
;; |
|
13332 |
esac |
|
13333 |
done |
|
13334 |
|
|
13335 |
# Double-quote double-evaled strings. |
|
13336 |
for var in reload_cmds \ |
|
13337 |
old_postinstall_cmds \ |
|
13338 |
old_postuninstall_cmds \ |
|
13339 |
old_archive_cmds \ |
|
13340 |
extract_expsyms_cmds \ |
|
13341 |
old_archive_from_new_cmds \ |
|
13342 |
old_archive_from_expsyms_cmds \ |
|
13343 |
archive_cmds \ |
|
13344 |
archive_expsym_cmds \ |
|
13345 |
module_cmds \ |
|
13346 |
module_expsym_cmds \ |
|
13347 |
export_symbols_cmds \ |
|
13348 |
prelink_cmds \ |
|
13349 |
postlink_cmds \ |
|
13350 |
postinstall_cmds \ |
|
13351 |
postuninstall_cmds \ |
|
13352 |
finish_cmds \ |
|
13353 |
sys_lib_search_path_spec \ |
|
13354 |
configure_time_dlsearch_path \ |
|
13355 |
configure_time_lt_sys_library_path; do |
|
13356 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
|
13357 |
*[\\\\\\\`\\"\\\$]*) |
|
13358 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
|
13359 |
;; |
|
13360 |
*) |
|
13361 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
13362 |
;; |
|
13363 |
esac |
|
13364 |
done |
|
13365 |
|
|
13366 |
ac_aux_dir='$ac_aux_dir' |
|
13367 |
|
|
13368 |
# See if we are running on zsh, and set the options that allow our |
|
13369 |
# commands through without removal of \ escapes INIT. |
|
13370 |
if test -n "\${ZSH_VERSION+set}"; then |
|
13371 |
setopt NO_GLOB_SUBST |
|
13372 |
fi |
|
13373 |
|
|
13374 |
|
|
13375 |
PACKAGE='$PACKAGE' |
|
13376 |
VERSION='$VERSION' |
|
13377 |
RM='$RM' |
|
13378 |
ofile='$ofile' |
|
13379 |
|
|
13380 |
|
|
13381 |
|
|
13382 |
|
|
13383 |
_ACEOF |
|
13384 |
|
|
13385 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13386 |
|
|
13387 |
# Handling of arguments. |
|
13388 |
for ac_config_target in $ac_config_targets |
|
13389 |
do |
|
13390 |
case $ac_config_target in |
|
13391 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
13392 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
13393 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
13394 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
13395 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
13396 |
|
|
13397 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
13398 |
esac |
|
13399 |
done |
|
13400 |
|
|
13401 |
|
|
13402 |
# If the user did not use the arguments to specify the items to instantiate, |
|
13403 |
# then the envvar interface is used. Set only those that are not. |
|
13404 |
# We use the long form for the default assignment because of an extremely |
|
13405 |
# bizarre bug on SunOS 4.1.3. |
|
13406 |
if $ac_need_defaults; then |
|
13407 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
13408 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
13409 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
13410 |
fi |
|
13411 |
|
|
13412 |
# Have a temporary directory for convenience. Make it in the build tree |
|
13413 |
# simply because there is no reason against having it here, and in addition, |
|
13414 |
# creating and moving files from /tmp can sometimes cause problems. |
|
13415 |
# Hook for its removal unless debugging. |
|
13416 |
# Note that there is a small window in which the directory will not be cleaned: |
|
13417 |
# after its creation but before its name has been assigned to `$tmp'. |
|
13418 |
$debug || |
|
13419 |
{ |
|
13420 |
tmp= ac_tmp= |
|
13421 |
trap 'exit_status=$? |
|
13422 |
: "${ac_tmp:=$tmp}" |
|
13423 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
13424 |
' 0 |
|
13425 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
13426 |
} |
|
13427 |
# Create a (secure) tmp directory for tmp files. |
|
13428 |
|
|
13429 |
{ |
|
13430 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
13431 |
test -d "$tmp" |
|
13432 |
} || |
|
13433 |
{ |
|
13434 |
tmp=./conf$$-$RANDOM |
|
13435 |
(umask 077 && mkdir "$tmp") |
|
13436 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
13437 |
ac_tmp=$tmp |
|
13438 |
|
|
13439 |
# Set up the scripts for CONFIG_FILES section. |
|
13440 |
# No need to generate them if there are no CONFIG_FILES. |
|
13441 |
# This happens for instance with `./config.status config.h'. |
|
13442 |
if test -n "$CONFIG_FILES"; then |
|
13443 |
|
|
13444 |
|
|
13445 |
ac_cr=`echo X | tr X '\015'` |
|
13446 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
13447 |
# But we know of no other shell where ac_cr would be empty at this |
|
13448 |
# point, so we can use a bashism as a fallback. |
|
13449 |
if test "x$ac_cr" = x; then |
|
13450 |
eval ac_cr=\$\'\\r\' |
|
13451 |
fi |
|
13452 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
13453 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
13454 |
ac_cs_awk_cr='\\r' |
|
13455 |
else |
|
13456 |
ac_cs_awk_cr=$ac_cr |
|
13457 |
fi |
|
13458 |
|
|
13459 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
13460 |
_ACEOF |
|
13461 |
|
|
13462 |
|
|
13463 |
{ |
|
13464 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
13465 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
13466 |
echo "_ACEOF" |
|
13467 |
} >conf$$subs.sh || |
|
13468 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
13469 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
13470 |
ac_delim='%!_!# ' |
|
13471 |
for ac_last_try in false false false false false :; do |
|
13472 |
. ./conf$$subs.sh || |
|
13473 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
13474 |
|
|
13475 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
13476 |
if test $ac_delim_n = $ac_delim_num; then |
|
13477 |
break |
|
13478 |
elif $ac_last_try; then |
|
13479 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
13480 |
else |
|
13481 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
13482 |
fi |
|
13483 |
done |
|
13484 |
rm -f conf$$subs.sh |
|
13485 |
|
|
13486 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13487 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
13488 |
_ACEOF |
|
13489 |
sed -n ' |
|
13490 |
h |
|
13491 |
s/^/S["/; s/!.*/"]=/ |
|
13492 |
p |
|
13493 |
g |
|
13494 |
s/^[^!]*!// |
|
13495 |
:repl |
|
13496 |
t repl |
|
13497 |
s/'"$ac_delim"'$// |
|
13498 |
t delim |
|
13499 |
:nl |
|
13500 |
h |
|
13501 |
s/\(.\{148\}\)..*/\1/ |
|
13502 |
t more1 |
|
13503 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
13504 |
p |
|
13505 |
n |
|
13506 |
b repl |
|
13507 |
:more1 |
|
13508 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
13509 |
p |
|
13510 |
g |
|
13511 |
s/.\{148\}// |
|
13512 |
t nl |
|
13513 |
:delim |
|
13514 |
h |
|
13515 |
s/\(.\{148\}\)..*/\1/ |
|
13516 |
t more2 |
|
13517 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
13518 |
p |
|
13519 |
b |
|
13520 |
:more2 |
|
13521 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
13522 |
p |
|
13523 |
g |
|
13524 |
s/.\{148\}// |
|
13525 |
t delim |
|
13526 |
' <conf$$subs.awk | sed ' |
|
13527 |
/^[^""]/{ |
|
13528 |
N |
|
13529 |
s/\n// |
|
13530 |
} |
|
13531 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
13532 |
rm -f conf$$subs.awk |
|
13533 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13534 |
_ACAWK |
|
13535 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
13536 |
for (key in S) S_is_set[key] = 1 |
|
13537 |
FS = "" |
|
13538 |
|
|
13539 |
} |
|
13540 |
{ |
|
13541 |
line = $ 0 |
|
13542 |
nfields = split(line, field, "@") |
|
13543 |
substed = 0 |
|
13544 |
len = length(field[1]) |
|
13545 |
for (i = 2; i < nfields; i++) { |
|
13546 |
key = field[i] |
|
13547 |
keylen = length(key) |
|
13548 |
if (S_is_set[key]) { |
|
13549 |
value = S[key] |
|
13550 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
13551 |
len += length(value) + length(field[++i]) |
|
13552 |
substed = 1 |
|
13553 |
} else |
|
13554 |
len += 1 + keylen |
|
13555 |
} |
|
13556 |
|
|
13557 |
print line |
|
13558 |
} |
|
13559 |
|
|
13560 |
_ACAWK |
|
13561 |
_ACEOF |
|
13562 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13563 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
13564 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
13565 |
else |
|
13566 |
cat |
|
13567 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
13568 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
13569 |
_ACEOF |
|
13570 |
|
|
13571 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
13572 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
13573 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
13574 |
# (actually we leave an empty line to preserve line numbers). |
|
13575 |
if test "x$srcdir" = x.; then |
|
13576 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
13577 |
h |
|
13578 |
s/// |
|
13579 |
s/^/:/ |
|
13580 |
s/[ ]*$/:/ |
|
13581 |
s/:\$(srcdir):/:/g |
|
13582 |
s/:\${srcdir}:/:/g |
|
13583 |
s/:@srcdir@:/:/g |
|
13584 |
s/^:*// |
|
13585 |
s/:*$// |
|
13586 |
x |
|
13587 |
s/\(=[ ]*\).*/\1/ |
|
13588 |
G |
|
13589 |
s/\n// |
|
13590 |
s/^[^=]*=[ ]*$// |
|
13591 |
}' |
|
13592 |
fi |
|
13593 |
|
|
13594 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13595 |
fi # test -n "$CONFIG_FILES" |
|
13596 |
|
|
13597 |
# Set up the scripts for CONFIG_HEADERS section. |
|
13598 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
13599 |
# This happens for instance with `./config.status Makefile'. |
|
13600 |
if test -n "$CONFIG_HEADERS"; then |
|
13601 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
13602 |
BEGIN { |
|
13603 |
_ACEOF |
|
13604 |
|
|
13605 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
13606 |
# here-document in config.status, that substitutes the proper values into |
|
13607 |
# config.h.in to produce config.h. |
|
13608 |
|
|
13609 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
13610 |
# handling of long lines. |
|
13611 |
ac_delim='%!_!# ' |
|
13612 |
for ac_last_try in false false :; do |
|
13613 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
13614 |
if test -z "$ac_tt"; then |
|
13615 |
break |
|
13616 |
elif $ac_last_try; then |
|
13617 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
13618 |
else |
|
13619 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
13620 |
fi |
|
13621 |
done |
|
13622 |
|
|
13623 |
# For the awk script, D is an array of macro values keyed by name, |
|
13624 |
# likewise P contains macro parameters if any. Preserve backslash |
|
13625 |
# newline sequences. |
|
13626 |
|
|
13627 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
13628 |
sed -n ' |
|
13629 |
s/.\{148\}/&'"$ac_delim"'/g |
|
13630 |
t rset |
|
13631 |
:rset |
|
13632 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
13633 |
t def |
|
13634 |
d |
|
13635 |
:def |
|
13636 |
s/\\$// |
|
13637 |
t bsnl |
|
13638 |
s/["\\]/\\&/g |
|
13639 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
13640 |
D["\1"]=" \3"/p |
|
13641 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
13642 |
d |
|
13643 |
:bsnl |
|
13644 |
s/["\\]/\\&/g |
|
13645 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
13646 |
D["\1"]=" \3\\\\\\n"\\/p |
|
13647 |
t cont |
|
13648 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
13649 |
t cont |
|
13650 |
d |
|
13651 |
:cont |
|
13652 |
n |
|
13653 |
s/.\{148\}/&'"$ac_delim"'/g |
|
13654 |
t clear |
|
13655 |
:clear |
|
13656 |
s/\\$// |
|
13657 |
t bsnlc |
|
13658 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
13659 |
d |
|
13660 |
:bsnlc |
|
13661 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
13662 |
b cont |
|
13663 |
' <confdefs.h | sed ' |
|
13664 |
s/'"$ac_delim"'/"\\\ |
|
13665 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
13666 |
|
|
13667 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13668 |
for (key in D) D_is_set[key] = 1 |
|
13669 |
FS = "" |
|
13670 |
} |
|
13671 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
13672 |
line = \$ 0 |
|
13673 |
split(line, arg, " ") |
|
13674 |
if (arg[1] == "#") { |
|
13675 |
defundef = arg[2] |
|
13676 |
mac1 = arg[3] |
|
13677 |
} else { |
|
13678 |
defundef = substr(arg[1], 2) |
|
13679 |
mac1 = arg[2] |
|
13680 |
} |
|
13681 |
split(mac1, mac2, "(") #) |
|
13682 |
macro = mac2[1] |
|
13683 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
13684 |
if (D_is_set[macro]) { |
|
13685 |
# Preserve the white space surrounding the "#". |
|
13686 |
print prefix "define", macro P[macro] D[macro] |
|
13687 |
next |
|
13688 |
} else { |
|
13689 |
# Replace #undef with comments. This is necessary, for example, |
|
13690 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
13691 |
# on some systems where configure will not decide to define it. |
|
13692 |
if (defundef == "undef") { |
|
13693 |
print "/*", prefix defundef, macro, "*/" |
|
13694 |
next |
|
13695 |
} |
|
13696 |
} |
|
13697 |
} |
|
13698 |
{ print } |
|
13699 |
_ACAWK |
|
13700 |
_ACEOF |
|
13701 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13702 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
13703 |
fi # test -n "$CONFIG_HEADERS" |
|
13704 |
|
|
13705 |
|
|
13706 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
13707 |
shift |
|
13708 |
for ac_tag |
|
13709 |
do |
|
13710 |
case $ac_tag in |
|
13711 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
13712 |
esac |
|
13713 |
case $ac_mode$ac_tag in |
|
13714 |
:[FHL]*:*);; |
|
13715 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
13716 |
:[FH]-) ac_tag=-:-;; |
|
13717 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
13718 |
esac |
|
13719 |
ac_save_IFS=$IFS |
|
13720 |
IFS=: |
|
13721 |
set x $ac_tag |
|
13722 |
IFS=$ac_save_IFS |
|
13723 |
shift |
|
13724 |
ac_file=$1 |
|
13725 |
shift |
|
13726 |
|
|
13727 |
case $ac_mode in |
|
13728 |
:L) ac_source=$1;; |
|
13729 |
:[FH]) |
|
13730 |
ac_file_inputs= |
|
13731 |
for ac_f |
|
13732 |
do |
|
13733 |
case $ac_f in |
|
13734 |
-) ac_f="$ac_tmp/stdin";; |
|
13735 |
*) # Look for the file first in the build tree, then in the source tree |
|
13736 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
13737 |
# because $ac_f cannot contain `:'. |
|
13738 |
test -f "$ac_f" || |
|
13739 |
case $ac_f in |
|
13740 |
[\\/$]*) false;; |
|
13741 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
13742 |
esac || |
|
13743 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
13744 |
esac |
|
13745 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
13746 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
13747 |
done |
|
13748 |
|
|
13749 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
13750 |
# use $as_me), people would be surprised to read: |
|
13751 |
# /* config.h. Generated by config.status. */ |
|
13752 |
configure_input='Generated from '` |
|
13753 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
13754 |
`' by configure.' |
|
13755 |
if test x"$ac_file" != x-; then |
|
13756 |
configure_input="$ac_file. $configure_input" |
|
13757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
13758 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
13759 |
fi |
|
13760 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
13761 |
case $configure_input in #( |
|
13762 |
*\&* | *\|* | *\\* ) |
|
13763 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
13764 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
13765 |
*) ac_sed_conf_input=$configure_input;; |
|
13766 |
esac |
|
13767 |
|
|
13768 |
case $ac_tag in |
|
13769 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
13770 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
13771 |
esac |
|
13772 |
;; |
|
13773 |
esac |
|
13774 |
|
|
13775 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
13776 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
13777 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
13778 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
13779 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
13780 |
$as_echo X"$ac_file" | |
|
13781 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
13782 |
s//\1/ |
|
13783 |
q |
|
13784 |
} |
|
13785 |
/^X\(\/\/\)[^/].*/{ |
|
13786 |
s//\1/ |
|
13787 |
q |
|
13788 |
} |
|
13789 |
/^X\(\/\/\)$/{ |
|
13790 |
s//\1/ |
|
13791 |
q |
|
13792 |
} |
|
13793 |
/^X\(\/\).*/{ |
|
13794 |
s//\1/ |
|
13795 |
q |
|
13796 |
} |
|
13797 |
s/.*/./; q'` |
|
13798 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
13799 |
ac_builddir=. |
|
13800 |
|
|
13801 |
case "$ac_dir" in |
|
13802 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
13803 |
*) |
|
13804 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
13805 |
# A ".." for each directory in $ac_dir_suffix. |
|
13806 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
13807 |
case $ac_top_builddir_sub in |
|
13808 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
13809 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
13810 |
esac ;; |
|
13811 |
esac |
|
13812 |
ac_abs_top_builddir=$ac_pwd |
|
13813 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
13814 |
# for backward compatibility: |
|
13815 |
ac_top_builddir=$ac_top_build_prefix |
|
13816 |
|
|
13817 |
case $srcdir in |
|
13818 |
.) # We are building in place. |
|
13819 |
ac_srcdir=. |
|
13820 |
ac_top_srcdir=$ac_top_builddir_sub |
|
13821 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
13822 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
13823 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
13824 |
ac_top_srcdir=$srcdir |
|
13825 |
ac_abs_top_srcdir=$srcdir ;; |
|
13826 |
*) # Relative name. |
|
13827 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
13828 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
13829 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
13830 |
esac |
|
13831 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
13832 |
|
|
13833 |
|
|
13834 |
case $ac_mode in |
|
13835 |
:F) |
|
13836 |
# |
|
13837 |
# CONFIG_FILE |
|
13838 |
# |
|
13839 |
|
|
13840 |
case $INSTALL in |
|
13841 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
13842 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
13843 |
esac |
|
13844 |
ac_MKDIR_P=$MKDIR_P |
|
13845 |
case $MKDIR_P in |
|
13846 |
[\\/$]* | ?:[\\/]* ) ;; |
|
13847 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
13848 |
esac |
|
13849 |
_ACEOF |
|
13850 |
|
|
13851 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13852 |
# If the template does not know about datarootdir, expand it. |
|
13853 |
# FIXME: This hack should be removed a few years after 2.60. |
|
13854 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
13855 |
ac_sed_dataroot=' |
|
13856 |
/datarootdir/ { |
|
13857 |
p |
|
13858 |
q |
|
13859 |
} |
|
13860 |
/@datadir@/p |
|
13861 |
/@docdir@/p |
|
13862 |
/@infodir@/p |
|
13863 |
/@localedir@/p |
|
13864 |
/@mandir@/p' |
|
13865 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
13866 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
13867 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
13868 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
13869 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
13870 |
_ACEOF |
|
13871 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13872 |
ac_datarootdir_hack=' |
|
13873 |
s&@datadir@&$datadir&g |
|
13874 |
s&@docdir@&$docdir&g |
|
13875 |
s&@infodir@&$infodir&g |
|
13876 |
s&@localedir@&$localedir&g |
|
13877 |
s&@mandir@&$mandir&g |
|
13878 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
13879 |
esac |
|
13880 |
_ACEOF |
|
13881 |
|
|
13882 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
13883 |
# Shell code in configure.ac might set extrasub. |
|
13884 |
# FIXME: do we really want to maintain this feature? |
|
13885 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
13886 |
ac_sed_extra="$ac_vpsub |
|
13887 |
$extrasub |
|
13888 |
_ACEOF |
|
13889 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
13890 |
:t |
|
13891 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
13892 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
13893 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
13894 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
13895 |
s&@srcdir@&$ac_srcdir&;t t |
|
13896 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
13897 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
13898 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
13899 |
s&@builddir@&$ac_builddir&;t t |
|
13900 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
13901 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
13902 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
13903 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
13904 |
$ac_datarootdir_hack |
|
13905 |
" |
|
13906 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
13907 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
13908 |
|
|
13909 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
13910 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
13911 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
13912 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
13913 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
13914 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
13915 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
13916 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
13917 |
|
|
13918 |
rm -f "$ac_tmp/stdin" |
|
13919 |
case $ac_file in |
|
13920 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
|
13921 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
13922 |
esac \ |
|
13923 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
13924 |
;; |
|
13925 |
:H) |
|
13926 |
# |
|
13927 |
# CONFIG_HEADER |
|
13928 |
# |
|
13929 |
if test x"$ac_file" != x-; then |
|
13930 |
{ |
|
13931 |
$as_echo "/* $configure_input */" \ |
|
13932 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
13933 |
} >"$ac_tmp/config.h" \ |
|
13934 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
13935 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
13936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
|
13937 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
13938 |
else |
|
13939 |
rm -f "$ac_file" |
|
13940 |
mv "$ac_tmp/config.h" "$ac_file" \ |
|
13941 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
13942 |
fi |
|
13943 |
else |
|
13944 |
$as_echo "/* $configure_input */" \ |
|
13945 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
13946 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|
13947 |
fi |
|
13948 |
# Compute "$ac_file"'s index in $config_headers. |
|
13949 |
_am_arg="$ac_file" |
|
13950 |
_am_stamp_count=1 |
|
13951 |
for _am_header in $config_headers :; do |
|
13952 |
case $_am_header in |
|
13953 |
$_am_arg | $_am_arg:* ) |
|
13954 |
break ;; |
|
13955 |
* ) |
|
13956 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
13957 |
esac |
|
13958 |
done |
|
13959 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
13960 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
13961 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
13962 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
13963 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
13964 |
$as_echo X"$_am_arg" | |
|
13965 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
13966 |
s//\1/ |
|
13967 |
q |
|
13968 |
} |
|
13969 |
/^X\(\/\/\)[^/].*/{ |
|
13970 |
s//\1/ |
|
13971 |
q |
|
13972 |
} |
|
13973 |
/^X\(\/\/\)$/{ |
|
13974 |
s//\1/ |
|
13975 |
q |
|
13976 |
} |
|
13977 |
/^X\(\/\).*/{ |
|
13978 |
s//\1/ |
|
13979 |
q |
|
13980 |
} |
|
13981 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
13982 |
;; |
|
13983 |
|
|
13984 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
13985 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
13986 |
;; |
|
13987 |
esac |
|
13988 |
|
|
13989 |
|
|
13990 |
case $ac_file$ac_mode in |
|
13991 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
13992 |
# Older Autoconf quotes --file arguments for eval, but not when files |
|
13993 |
# are listed without --file. Let's play safe and only enable the eval |
|
13994 |
# if we detect the quoting. |
|
13995 |
case $CONFIG_FILES in |
|
13996 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
13997 |
*) set x $CONFIG_FILES ;; |
|
13998 |
esac |
|
13999 |
shift |
|
14000 |
for mf |
|
14001 |
do |
|
14002 |
# Strip MF so we end up with the name of the file. |
|
14003 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
14004 |
# Check whether this is an Automake generated Makefile or not. |
|
14005 |
# We used to match only the files named 'Makefile.in', but |
|
14006 |
# some people rename them; so instead we look at the file content. |
|
14007 |
# Grep'ing the first line is not enough: some people post-process |
|
14008 |
# each Makefile.in and add a new line on top of each file to say so. |
|
14009 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
14010 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
14011 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
14012 |
dirpart=`$as_dirname -- "$mf" || |
|
14013 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
14014 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
14015 |
X"$mf" : 'X\(//\)$' \| \ |
|
14016 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
14017 |
$as_echo X"$mf" | |
|
14018 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
14019 |
s//\1/ |
|
14020 |
q |
|
14021 |
} |
|
14022 |
/^X\(\/\/\)[^/].*/{ |
|
14023 |
s//\1/ |
|
14024 |
q |
|
14025 |
} |
|
14026 |
/^X\(\/\/\)$/{ |
|
14027 |
s//\1/ |
|
14028 |
q |
|
14029 |
} |
|
14030 |
/^X\(\/\).*/{ |
|
14031 |
s//\1/ |
|
14032 |
q |
|
14033 |
} |
|
14034 |
s/.*/./; q'` |
|
14035 |
else |
|
14036 |
continue |
|
14037 |
fi |
|
14038 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
14039 |
# from the Makefile without running 'make'. |
|
14040 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
14041 |
test -z "$DEPDIR" && continue |
|
14042 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
14043 |
test -z "$am__include" && continue |
|
14044 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
14045 |
# Find all dependency output files, they are included files with |
|
14046 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
14047 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
14048 |
# expansion. |
|
14049 |
for file in `sed -n " |
|
14050 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
14051 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
|
14052 |
# Make sure the directory exists. |
|
14053 |
test -f "$dirpart/$file" && continue |
|
14054 |
fdir=`$as_dirname -- "$file" || |
|
14055 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
14056 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
14057 |
X"$file" : 'X\(//\)$' \| \ |
|
14058 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
14059 |
$as_echo X"$file" | |
|
14060 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
14061 |
s//\1/ |
|
14062 |
q |
|
14063 |
} |
|
14064 |
/^X\(\/\/\)[^/].*/{ |
|
14065 |
s//\1/ |
|
14066 |
q |
|
14067 |
} |
|
14068 |
/^X\(\/\/\)$/{ |
|
14069 |
s//\1/ |
|
14070 |
q |
|
14071 |
} |
|
14072 |
/^X\(\/\).*/{ |
|
14073 |
s//\1/ |
|
14074 |
q |
|
14075 |
} |
|
14076 |
s/.*/./; q'` |
|
14077 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
|
14078 |
# echo "creating $dirpart/$file" |
|
14079 |
echo '# dummy' > "$dirpart/$file" |
|
14080 |
done |
|
14081 |
done |
|
14082 |
} |
|
14083 |
;; |
|
14084 |
"libtool":C) |
|
14085 |
|
|
14086 |
# See if we are running on zsh, and set the options that allow our |
|
14087 |
# commands through without removal of \ escapes. |
|
14088 |
if test -n "${ZSH_VERSION+set}"; then |
|
14089 |
setopt NO_GLOB_SUBST |
|
14090 |
fi |
|
14091 |
|
|
14092 |
cfgfile=${ofile}T |
|
14093 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
14094 |
$RM "$cfgfile" |
|
14095 |
|
|
14096 |
cat <<_LT_EOF >> "$cfgfile" |
|
14097 |
#! $SHELL |
|
14098 |
# Generated automatically by $as_me ($PACKAGE) $VERSION |
|
14099 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
14100 |
|
|
14101 |
# Provide generalized library-building support services. |
|
14102 |
# Written by Gordon Matzigkeit, 1996 |
|
14103 |
|
|
14104 |
# Copyright (C) 2014 Free Software Foundation, Inc. |
|
14105 |
# This is free software; see the source for copying conditions. There is NO |
|
14106 |
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
14107 |
|
|
14108 |
# GNU Libtool is free software; you can redistribute it and/or modify |
|
14109 |
# it under the terms of the GNU General Public License as published by |
|
14110 |
# the Free Software Foundation; either version 2 of of the License, or |
|
14111 |
# (at your option) any later version. |
|
14112 |
# |
|
14113 |
# As a special exception to the GNU General Public License, if you |
|
14114 |
# distribute this file as part of a program or library that is built |
|
14115 |
# using GNU Libtool, you may include this file under the same |
|
14116 |
# distribution terms that you use for the rest of that program. |
|
14117 |
# |
|
14118 |
# GNU Libtool is distributed in the hope that it will be useful, but |
|
14119 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14120 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14121 |
# GNU General Public License for more details. |
|
14122 |
# |
|
14123 |
# You should have received a copy of the GNU General Public License |
|
14124 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
14125 |
|
|
14126 |
|
|
14127 |
# The names of the tagged configurations supported by this script. |
|
14128 |
available_tags='' |
|
14129 |
|
|
14130 |
# Configured defaults for sys_lib_dlsearch_path munging. |
|
14131 |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
|
14132 |
|
|
14133 |
# ### BEGIN LIBTOOL CONFIG |
|
14134 |
|
|
14135 |
# Which release of libtool.m4 was used? |
|
14136 |
macro_version=$macro_version |
|
14137 |
macro_revision=$macro_revision |
|
14138 |
|
|
14139 |
# Whether or not to build shared libraries. |
|
14140 |
build_libtool_libs=$enable_shared |
|
14141 |
|
|
14142 |
# Whether or not to build static libraries. |
|
14143 |
build_old_libs=$enable_static |
|
14144 |
|
|
14145 |
# What type of objects to build. |
|
14146 |
pic_mode=$pic_mode |
|
14147 |
|
|
14148 |
# Whether or not to optimize for fast installation. |
|
14149 |
fast_install=$enable_fast_install |
|
14150 |
|
|
14151 |
# Shared archive member basename,for filename based shared library versioning on AIX. |
|
14152 |
shared_archive_member_spec=$shared_archive_member_spec |
|
14153 |
|
|
14154 |
# Shell to use when invoking shell scripts. |
|
14155 |
SHELL=$lt_SHELL |
|
14156 |
|
|
14157 |
# An echo program that protects backslashes. |
|
14158 |
ECHO=$lt_ECHO |
|
14159 |
|
|
14160 |
# The PATH separator for the build system. |
|
14161 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
14162 |
|
|
14163 |
# The host system. |
|
14164 |
host_alias=$host_alias |
|
14165 |
host=$host |
|
14166 |
host_os=$host_os |
|
14167 |
|
|
14168 |
# The build system. |
|
14169 |
build_alias=$build_alias |
|
14170 |
build=$build |
|
14171 |
build_os=$build_os |
|
14172 |
|
|
14173 |
# A sed program that does not truncate output. |
|
14174 |
SED=$lt_SED |
|
14175 |
|
|
14176 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
14177 |
Xsed="\$SED -e 1s/^X//" |
|
14178 |
|
|
14179 |
# A grep program that handles long lines. |
|
14180 |
GREP=$lt_GREP |
|
14181 |
|
|
14182 |
# An ERE matcher. |
|
14183 |
EGREP=$lt_EGREP |
|
14184 |
|
|
14185 |
# A literal string matcher. |
|
14186 |
FGREP=$lt_FGREP |
|
14187 |
|
|
14188 |
# A BSD- or MS-compatible name lister. |
|
14189 |
NM=$lt_NM |
|
14190 |
|
|
14191 |
# Whether we need soft or hard links. |
|
14192 |
LN_S=$lt_LN_S |
|
14193 |
|
|
14194 |
# What is the maximum length of a command? |
|
14195 |
max_cmd_len=$max_cmd_len |
|
14196 |
|
|
14197 |
# Object file suffix (normally "o"). |
|
14198 |
objext=$ac_objext |
|
14199 |
|
|
14200 |
# Executable file suffix (normally ""). |
|
14201 |
exeext=$exeext |
|
14202 |
|
|
14203 |
# whether the shell understands "unset". |
|
14204 |
lt_unset=$lt_unset |
|
14205 |
|
|
14206 |
# turn spaces into newlines. |
|
14207 |
SP2NL=$lt_lt_SP2NL |
|
14208 |
|
|
14209 |
# turn newlines into spaces. |
|
14210 |
NL2SP=$lt_lt_NL2SP |
|
14211 |
|
|
14212 |
# convert \$build file names to \$host format. |
|
14213 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
14214 |
|
|
14215 |
# convert \$build files to toolchain format. |
|
14216 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
14217 |
|
|
14218 |
# An object symbol dumper. |
|
14219 |
OBJDUMP=$lt_OBJDUMP |
|
14220 |
|
|
14221 |
# Method to check whether dependent libraries are shared objects. |
|
14222 |
deplibs_check_method=$lt_deplibs_check_method |
|
14223 |
|
|
14224 |
# Command to use when deplibs_check_method = "file_magic". |
|
14225 |
file_magic_cmd=$lt_file_magic_cmd |
|
14226 |
|
|
14227 |
# How to find potential files when deplibs_check_method = "file_magic". |
|
14228 |
file_magic_glob=$lt_file_magic_glob |
|
14229 |
|
|
14230 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
|
14231 |
want_nocaseglob=$lt_want_nocaseglob |
|
14232 |
|
|
14233 |
# DLL creation program. |
|
14234 |
DLLTOOL=$lt_DLLTOOL |
|
14235 |
|
|
14236 |
# Command to associate shared and link libraries. |
|
14237 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
14238 |
|
|
14239 |
# The archiver. |
|
14240 |
AR=$lt_AR |
|
14241 |
|
|
14242 |
# Flags to create an archive. |
|
14243 |
AR_FLAGS=$lt_AR_FLAGS |
|
14244 |
|
|
14245 |
# How to feed a file listing to the archiver. |
|
14246 |
archiver_list_spec=$lt_archiver_list_spec |
|
14247 |
|
|
14248 |
# A symbol stripping program. |
|
14249 |
STRIP=$lt_STRIP |
|
14250 |
|
|
14251 |
# Commands used to install an old-style archive. |
|
14252 |
RANLIB=$lt_RANLIB |
|
14253 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
14254 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
14255 |
|
|
14256 |
# Whether to use a lock for old archive extraction. |
|
14257 |
lock_old_archive_extraction=$lock_old_archive_extraction |
|
14258 |
|
|
14259 |
# A C compiler. |
|
14260 |
LTCC=$lt_CC |
|
14261 |
|
|
14262 |
# LTCC compiler flags. |
|
14263 |
LTCFLAGS=$lt_CFLAGS |
|
14264 |
|
|
14265 |
# Take the output of nm and produce a listing of raw symbols and C names. |
|
14266 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
14267 |
|
|
14268 |
# Transform the output of nm in a proper C declaration. |
|
14269 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
14270 |
|
|
14271 |
# Transform the output of nm into a list of symbols to manually relocate. |
|
14272 |
global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
|
14273 |
|
|
14274 |
# Transform the output of nm in a C name address pair. |
|
14275 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
14276 |
|
|
14277 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
|
14278 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
14279 |
|
|
14280 |
# The name lister interface. |
|
14281 |
nm_interface=$lt_lt_cv_nm_interface |
|
14282 |
|
|
14283 |
# Specify filename containing input files for \$NM. |
|
14284 |
nm_file_list_spec=$lt_nm_file_list_spec |
|
14285 |
|
|
14286 |
# The root where to search for dependent libraries,and where our libraries should be installed. |
|
14287 |
lt_sysroot=$lt_sysroot |
|
14288 |
|
|
14289 |
# Command to truncate a binary pipe. |
|
14290 |
lt_truncate_bin=$lt_lt_cv_truncate_bin |
|
14291 |
|
|
14292 |
# The name of the directory that contains temporary libtool files. |
|
14293 |
objdir=$objdir |
|
14294 |
|
|
14295 |
# Used to examine libraries when file_magic_cmd begins with "file". |
|
14296 |
MAGIC_CMD=$MAGIC_CMD |
|
14297 |
|
|
14298 |
# Must we lock files when doing compilation? |
|
14299 |
need_locks=$lt_need_locks |
|
14300 |
|
|
14301 |
# Manifest tool. |
|
14302 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
14303 |
|
|
14304 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
|
14305 |
DSYMUTIL=$lt_DSYMUTIL |
|
14306 |
|
|
14307 |
# Tool to change global to local symbols on Mac OS X. |
|
14308 |
NMEDIT=$lt_NMEDIT |
|
14309 |
|
|
14310 |
# Tool to manipulate fat objects and archives on Mac OS X. |
|
14311 |
LIPO=$lt_LIPO |
|
14312 |
|
|
14313 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
|
14314 |
OTOOL=$lt_OTOOL |
|
14315 |
|
|
14316 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
|
14317 |
OTOOL64=$lt_OTOOL64 |
|
14318 |
|
|
14319 |
# Old archive suffix (normally "a"). |
|
14320 |
libext=$libext |
|
14321 |
|
|
14322 |
# Shared library suffix (normally ".so"). |
|
14323 |
shrext_cmds=$lt_shrext_cmds |
|
14324 |
|
|
14325 |
# The commands to extract the exported symbol list from a shared archive. |
|
14326 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
14327 |
|
|
14328 |
# Variables whose values should be saved in libtool wrapper scripts and |
|
14329 |
# restored at link time. |
|
14330 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
14331 |
|
|
14332 |
# Do we need the "lib" prefix for modules? |
|
14333 |
need_lib_prefix=$need_lib_prefix |
|
14334 |
|
|
14335 |
# Do we need a version for libraries? |
|
14336 |
need_version=$need_version |
|
14337 |
|
|
14338 |
# Library versioning type. |
|
14339 |
version_type=$version_type |
|
14340 |
|
|
14341 |
# Shared library runtime path variable. |
|
14342 |
runpath_var=$runpath_var |
|
14343 |
|
|
14344 |
# Shared library path variable. |
|
14345 |
shlibpath_var=$shlibpath_var |
|
14346 |
|
|
14347 |
# Is shlibpath searched before the hard-coded library search path? |
|
14348 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
14349 |
|
|
14350 |
# Format of library name prefix. |
|
14351 |
libname_spec=$lt_libname_spec |
|
14352 |
|
|
14353 |
# List of archive names. First name is the real one, the rest are links. |
|
14354 |
# The last name is the one that the linker finds with -lNAME |
|
14355 |
library_names_spec=$lt_library_names_spec |
|
14356 |
|
|
14357 |
# The coded name of the library, if different from the real name. |
|
14358 |
soname_spec=$lt_soname_spec |
|
14359 |
|
|
14360 |
# Permission mode override for installation of shared libraries. |
|
14361 |
install_override_mode=$lt_install_override_mode |
|
14362 |
|
|
14363 |
# Command to use after installation of a shared archive. |
|
14364 |
postinstall_cmds=$lt_postinstall_cmds |
|
14365 |
|
|
14366 |
# Command to use after uninstallation of a shared archive. |
|
14367 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
14368 |
|
|
14369 |
# Commands used to finish a libtool library installation in a directory. |
|
14370 |
finish_cmds=$lt_finish_cmds |
|
14371 |
|
|
14372 |
# As "finish_cmds", except a single script fragment to be evaled but |
|
14373 |
# not shown. |
|
14374 |
finish_eval=$lt_finish_eval |
|
14375 |
|
|
14376 |
# Whether we should hardcode library paths into libraries. |
|
14377 |
hardcode_into_libs=$hardcode_into_libs |
|
14378 |
|
|
14379 |
# Compile-time system search path for libraries. |
|
14380 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
14381 |
|
|
14382 |
# Detected run-time system search path for libraries. |
|
14383 |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
|
14384 |
|
|
14385 |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
|
14386 |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
|
14387 |
|
|
14388 |
# Whether dlopen is supported. |
|
14389 |
dlopen_support=$enable_dlopen |
|
14390 |
|
|
14391 |
# Whether dlopen of programs is supported. |
|
14392 |
dlopen_self=$enable_dlopen_self |
|
14393 |
|
|
14394 |
# Whether dlopen of statically linked programs is supported. |
|
14395 |
dlopen_self_static=$enable_dlopen_self_static |
|
14396 |
|
|
14397 |
# Commands to strip libraries. |
|
14398 |
old_striplib=$lt_old_striplib |
|
14399 |
striplib=$lt_striplib |
|
14400 |
|
|
14401 |
|
|
14402 |
# The linker used to build libraries. |
|
14403 |
LD=$lt_LD |
|
14404 |
|
|
14405 |
# How to create reloadable object files. |
|
14406 |
reload_flag=$lt_reload_flag |
|
14407 |
reload_cmds=$lt_reload_cmds |
|
14408 |
|
|
14409 |
# Commands used to build an old-style archive. |
|
14410 |
old_archive_cmds=$lt_old_archive_cmds |
|
14411 |
|
|
14412 |
# A language specific compiler. |
|
14413 |
CC=$lt_compiler |
|
14414 |
|
|
14415 |
# Is the compiler the GNU compiler? |
|
14416 |
with_gcc=$GCC |
|
14417 |
|
|
14418 |
# Compiler flag to turn off builtin functions. |
|
14419 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
14420 |
|
|
14421 |
# Additional compiler flags for building library objects. |
|
14422 |
pic_flag=$lt_lt_prog_compiler_pic |
|
14423 |
|
|
14424 |
# How to pass a linker flag through the compiler. |
|
14425 |
wl=$lt_lt_prog_compiler_wl |
|
14426 |
|
|
14427 |
# Compiler flag to prevent dynamic linking. |
|
14428 |
link_static_flag=$lt_lt_prog_compiler_static |
|
14429 |
|
|
14430 |
# Does compiler simultaneously support -c and -o options? |
|
14431 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
14432 |
|
|
14433 |
# Whether or not to add -lc for building shared libraries. |
|
14434 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
14435 |
|
|
14436 |
# Whether or not to disallow shared libs when runtime libs are static. |
|
14437 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
14438 |
|
|
14439 |
# Compiler flag to allow reflexive dlopens. |
|
14440 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
14441 |
|
|
14442 |
# Compiler flag to generate shared objects directly from archives. |
|
14443 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
14444 |
|
|
14445 |
# Whether the compiler copes with passing no objects directly. |
|
14446 |
compiler_needs_object=$lt_compiler_needs_object |
|
14447 |
|
|
14448 |
# Create an old-style archive from a shared archive. |
|
14449 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
14450 |
|
|
14451 |
# Create a temporary old-style archive to link instead of a shared archive. |
|
14452 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
14453 |
|
|
14454 |
# Commands used to build a shared archive. |
|
14455 |
archive_cmds=$lt_archive_cmds |
|
14456 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
14457 |
|
|
14458 |
# Commands used to build a loadable module if different from building |
|
14459 |
# a shared archive. |
|
14460 |
module_cmds=$lt_module_cmds |
|
14461 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
14462 |
|
|
14463 |
# Whether we are building with GNU ld or not. |
|
14464 |
with_gnu_ld=$lt_with_gnu_ld |
|
14465 |
|
|
14466 |
# Flag that allows shared libraries with undefined symbols to be built. |
|
14467 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
14468 |
|
|
14469 |
# Flag that enforces no undefined symbols. |
|
14470 |
no_undefined_flag=$lt_no_undefined_flag |
|
14471 |
|
|
14472 |
# Flag to hardcode \$libdir into a binary during linking. |
|
14473 |
# This must work even if \$libdir does not exist |
|
14474 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
14475 |
|
|
14476 |
# Whether we need a single "-rpath" flag with a separated argument. |
|
14477 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
14478 |
|
|
14479 |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
|
14480 |
# DIR into the resulting binary. |
|
14481 |
hardcode_direct=$hardcode_direct |
|
14482 |
|
|
14483 |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
|
14484 |
# DIR into the resulting binary and the resulting library dependency is |
|
14485 |
# "absolute",i.e impossible to change by setting \$shlibpath_var if the |
|
14486 |
# library is relocated. |
|
14487 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
14488 |
|
|
14489 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
14490 |
# into the resulting binary. |
|
14491 |
hardcode_minus_L=$hardcode_minus_L |
|
14492 |
|
|
14493 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
14494 |
# into the resulting binary. |
|
14495 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
14496 |
|
|
14497 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
14498 |
# into the library and all subsequent libraries and executables linked |
|
14499 |
# against it. |
|
14500 |
hardcode_automatic=$hardcode_automatic |
|
14501 |
|
|
14502 |
# Set to yes if linker adds runtime paths of dependent libraries |
|
14503 |
# to runtime path list. |
|
14504 |
inherit_rpath=$inherit_rpath |
|
14505 |
|
|
14506 |
# Whether libtool must link a program against all its dependency libraries. |
|
14507 |
link_all_deplibs=$link_all_deplibs |
|
14508 |
|
|
14509 |
# Set to "yes" if exported symbols are required. |
|
14510 |
always_export_symbols=$always_export_symbols |
|
14511 |
|
|
14512 |
# The commands to list exported symbols. |
|
14513 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
14514 |
|
|
14515 |
# Symbols that should not be listed in the preloaded symbols. |
|
14516 |
exclude_expsyms=$lt_exclude_expsyms |
|
14517 |
|
|
14518 |
# Symbols that must always be exported. |
|
14519 |
include_expsyms=$lt_include_expsyms |
|
14520 |
|
|
14521 |
# Commands necessary for linking programs (against libraries) with templates. |
|
14522 |
prelink_cmds=$lt_prelink_cmds |
|
14523 |
|
|
14524 |
# Commands necessary for finishing linking programs. |
|
14525 |
postlink_cmds=$lt_postlink_cmds |
|
14526 |
|
|
14527 |
# Specify filename containing input files. |
|
14528 |
file_list_spec=$lt_file_list_spec |
|
14529 |
|
|
14530 |
# How to hardcode a shared library path into an executable. |
|
14531 |
hardcode_action=$hardcode_action |
|
14532 |
|
|
14533 |
# ### END LIBTOOL CONFIG |
|
14534 |
|
|
14535 |
_LT_EOF |
|
14536 |
|
|
14537 |
cat <<'_LT_EOF' >> "$cfgfile" |
|
14538 |
|
|
14539 |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
|
14540 |
|
|
14541 |
# func_munge_path_list VARIABLE PATH |
|
14542 |
# ----------------------------------- |
|
14543 |
# VARIABLE is name of variable containing _space_ separated list of |
|
14544 |
# directories to be munged by the contents of PATH, which is string |
|
14545 |
# having a format: |
|
14546 |
# "DIR[:DIR]:" |
|
14547 |
# string "DIR[ DIR]" will be prepended to VARIABLE |
|
14548 |
# ":DIR[:DIR]" |
|
14549 |
# string "DIR[ DIR]" will be appended to VARIABLE |
|
14550 |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
|
14551 |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
|
14552 |
# "DIRA[ DIRA]" will be appended to VARIABLE |
|
14553 |
# "DIR[:DIR]" |
|
14554 |
# VARIABLE will be replaced by "DIR[ DIR]" |
|
14555 |
func_munge_path_list () |
|
14556 |
{ |
|
14557 |
case x@S|@2 in |
|
14558 |
x) |
|
14559 |
;; |
|
14560 |
*:) |
|
14561 |
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" |
|
14562 |
;; |
|
14563 |
x:*) |
|
14564 |
eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" |
|
14565 |
;; |
|
14566 |
*::*) |
|
14567 |
eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
|
14568 |
eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" |
|
14569 |
;; |
|
14570 |
*) |
|
14571 |
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" |
|
14572 |
;; |
|
14573 |
esac |
|
14574 |
} |
|
14575 |
|
|
14576 |
|
|
14577 |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
|
14578 |
func_cc_basename () |
|
14579 |
{ |
|
14580 |
for cc_temp in @S|@*""; do |
|
14581 |
case $cc_temp in |
|
14582 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
14583 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
14584 |
\-*) ;; |
|
14585 |
*) break;; |
|
14586 |
esac |
|
14587 |
done |
|
14588 |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
14589 |
} |
|
14590 |
|
|
14591 |
|
|
14592 |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
|
14593 |
|
|
14594 |
_LT_EOF |
|
14595 |
|
|
14596 |
case $host_os in |
|
14597 |
aix3*) |
|
14598 |
cat <<\_LT_EOF >> "$cfgfile" |
|
14599 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
14600 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
14601 |
# vanish in a puff of smoke. |
|
14602 |
if test set != "${COLLECT_NAMES+set}"; then |
|
14603 |
COLLECT_NAMES= |
|
14604 |
export COLLECT_NAMES |
|
14605 |
fi |
|
14606 |
_LT_EOF |
|
14607 |
;; |
|
14608 |
esac |
|
14609 |
|
|
14610 |
|
|
14611 |
ltmain=$ac_aux_dir/ltmain.sh |
|
14612 |
|
|
14613 |
|
|
14614 |
# We use sed instead of cat because bash on DJGPP gets confused if |
|
14615 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
14616 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
14617 |
# is reportedly fixed, but why not run on old versions too? |
|
14618 |
sed '$q' "$ltmain" >> "$cfgfile" \ |
|
14619 |
|| (rm -f "$cfgfile"; exit 1) |
|
14620 |
|
|
14621 |
mv -f "$cfgfile" "$ofile" || |
|
14622 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
14623 |
chmod +x "$ofile" |
|
14624 |
|
|
14625 |
;; |
|
14626 |
|
|
14627 |
esac |
|
14628 |
done # for ac_tag |
|
14629 |
|
|
14630 |
|
|
14631 |
as_fn_exit 0 |
|
14632 |
_ACEOF |
|
14633 |
ac_clean_files=$ac_clean_files_save |
|
14634 |
|
|
14635 |
test $ac_write_fail = 0 || |
|
14636 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
14637 |
|
|
14638 |
|
|
14639 |
# configure is writing to config.log, and then calls config.status. |
|
14640 |
# config.status does its own redirection, appending to config.log. |
|
14641 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
14642 |
# by configure, so config.status won't be able to write to it; its |
|
14643 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
14644 |
# effectively closing config.log, so it can be properly (re)opened and |
|
14645 |
# appended to by config.status. When coming back to configure, we |
|
14646 |
# need to make the FD available again. |
|
14647 |
if test "$no_create" != yes; then |
|
14648 |
ac_cs_success=: |
|
14649 |
ac_config_status_args= |
|
14650 |
test "$silent" = yes && |
|
14651 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
14652 |
exec 5>/dev/null |
|
14653 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
14654 |
exec 5>>config.log |
|
14655 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
14656 |
# would make configure fail if this is the last instruction. |
|
14657 |
$ac_cs_success || as_fn_exit 1 |
|
14658 |
fi |
|
14659 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
14660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
14661 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
14662 |
fi |
|
14663 |
|