1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.69 for hopm 1.0.0beta1. |
4 |
# |
5 |
# |
6 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 |
# |
8 |
# |
9 |
# This configure script is free software; the Free Software Foundation |
10 |
# gives unlimited permission to copy, distribute and modify it. |
11 |
## -------------------- ## |
12 |
## M4sh Initialization. ## |
13 |
## -------------------- ## |
14 |
|
15 |
# Be more Bourne compatible |
16 |
DUALCASE=1; export DUALCASE # for MKS sh |
17 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
18 |
emulate sh |
19 |
NULLCMD=: |
20 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 |
# is contrary to our usage. Disable this feature. |
22 |
alias -g '${1+"$@"}'='"$@"' |
23 |
setopt NO_GLOB_SUBST |
24 |
else |
25 |
case `(set -o) 2>/dev/null` in #( |
26 |
*posix*) : |
27 |
set -o posix ;; #( |
28 |
*) : |
29 |
;; |
30 |
esac |
31 |
fi |
32 |
|
33 |
|
34 |
as_nl=' |
35 |
' |
36 |
export as_nl |
37 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
38 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
39 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
41 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
42 |
# but without wasting forks for bash or zsh. |
43 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
44 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
45 |
as_echo='print -r --' |
46 |
as_echo_n='print -rn --' |
47 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
48 |
as_echo='printf %s\n' |
49 |
as_echo_n='printf %s' |
50 |
else |
51 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
52 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
53 |
as_echo_n='/usr/ucb/echo -n' |
54 |
else |
55 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
56 |
as_echo_n_body='eval |
57 |
arg=$1; |
58 |
case $arg in #( |
59 |
*"$as_nl"*) |
60 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
61 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
62 |
esac; |
63 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
64 |
' |
65 |
export as_echo_n_body |
66 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
67 |
fi |
68 |
export as_echo_body |
69 |
as_echo='sh -c $as_echo_body as_echo' |
70 |
fi |
71 |
|
72 |
# The user is always right. |
73 |
if test "${PATH_SEPARATOR+set}" != set; then |
74 |
PATH_SEPARATOR=: |
75 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
77 |
PATH_SEPARATOR=';' |
78 |
} |
79 |
fi |
80 |
|
81 |
|
82 |
# IFS |
83 |
# We need space, tab and new line, in precisely that order. Quoting is |
84 |
# there to prevent editors from complaining about space-tab. |
85 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
86 |
# splitting by setting IFS to empty value.) |
87 |
IFS=" "" $as_nl" |
88 |
|
89 |
# Find who we are. Look in the path if we contain no directory separator. |
90 |
as_myself= |
91 |
case $0 in #(( |
92 |
*[\\/]* ) as_myself=$0 ;; |
93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
94 |
for as_dir in $PATH |
95 |
do |
96 |
IFS=$as_save_IFS |
97 |
test -z "$as_dir" && as_dir=. |
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
99 |
done |
100 |
IFS=$as_save_IFS |
101 |
|
102 |
;; |
103 |
esac |
104 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
105 |
# in which case we are not to be found in the path. |
106 |
if test "x$as_myself" = x; then |
107 |
as_myself=$0 |
108 |
fi |
109 |
if test ! -f "$as_myself"; then |
110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
111 |
exit 1 |
112 |
fi |
113 |
|
114 |
# Unset variables that we do not need and which cause bugs (e.g. in |
115 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
116 |
# suppresses any "Segmentation fault" message there. '((' could |
117 |
# trigger a bug in pdksh 5.2.14. |
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
119 |
do eval test x\${$as_var+set} = xset \ |
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
121 |
done |
122 |
PS1='$ ' |
123 |
PS2='> ' |
124 |
PS4='+ ' |
125 |
|
126 |
# NLS nuisances. |
127 |
LC_ALL=C |
128 |
export LC_ALL |
129 |
LANGUAGE=C |
130 |
export LANGUAGE |
131 |
|
132 |
# CDPATH. |
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
134 |
|
135 |
# Use a proper internal environment variable to ensure we don't fall |
136 |
# into an infinite loop, continuously re-executing ourselves. |
137 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
138 |
_as_can_reexec=no; export _as_can_reexec; |
139 |
# We cannot yet assume a decent shell, so we have to provide a |
140 |
# neutralization value for shells without unset; and this also |
141 |
# works around shells that cannot unset nonexistent variables. |
142 |
# Preserve -v and -x to the replacement shell. |
143 |
BASH_ENV=/dev/null |
144 |
ENV=/dev/null |
145 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
146 |
case $- in # (((( |
147 |
*v*x* | *x*v* ) as_opts=-vx ;; |
148 |
*v* ) as_opts=-v ;; |
149 |
*x* ) as_opts=-x ;; |
150 |
* ) as_opts= ;; |
151 |
esac |
152 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
153 |
# Admittedly, this is quite paranoid, since all the known shells bail |
154 |
# out after a failed `exec'. |
155 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
156 |
as_fn_exit 255 |
157 |
fi |
158 |
# We don't want this to propagate to other subprocesses. |
159 |
{ _as_can_reexec=; unset _as_can_reexec;} |
160 |
if test "x$CONFIG_SHELL" = x; then |
161 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
162 |
emulate sh |
163 |
NULLCMD=: |
164 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
165 |
# is contrary to our usage. Disable this feature. |
166 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
167 |
setopt NO_GLOB_SUBST |
168 |
else |
169 |
case \`(set -o) 2>/dev/null\` in #( |
170 |
*posix*) : |
171 |
set -o posix ;; #( |
172 |
*) : |
173 |
;; |
174 |
esac |
175 |
fi |
176 |
" |
177 |
as_required="as_fn_return () { (exit \$1); } |
178 |
as_fn_success () { as_fn_return 0; } |
179 |
as_fn_failure () { as_fn_return 1; } |
180 |
as_fn_ret_success () { return 0; } |
181 |
as_fn_ret_failure () { return 1; } |
182 |
|
183 |
exitcode=0 |
184 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
185 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
186 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
187 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
188 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
189 |
|
190 |
else |
191 |
exitcode=1; echo positional parameters were not saved. |
192 |
fi |
193 |
test x\$exitcode = x0 || exit 1 |
194 |
test -x / || exit 1" |
195 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
196 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
197 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
198 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
199 |
|
200 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
201 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
202 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
203 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
204 |
PATH=/empty FPATH=/empty; export PATH FPATH |
205 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
206 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
207 |
test \$(( 1 + 1 )) = 2 || exit 1" |
208 |
if (eval "$as_required") 2>/dev/null; then : |
209 |
as_have_required=yes |
210 |
else |
211 |
as_have_required=no |
212 |
fi |
213 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
214 |
|
215 |
else |
216 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
217 |
as_found=false |
218 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
219 |
do |
220 |
IFS=$as_save_IFS |
221 |
test -z "$as_dir" && as_dir=. |
222 |
as_found=: |
223 |
case $as_dir in #( |
224 |
/*) |
225 |
for as_base in sh bash ksh sh5; do |
226 |
# Try only shells that exist, to save several forks. |
227 |
as_shell=$as_dir/$as_base |
228 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
229 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
230 |
CONFIG_SHELL=$as_shell as_have_required=yes |
231 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
232 |
break 2 |
233 |
fi |
234 |
fi |
235 |
done;; |
236 |
esac |
237 |
as_found=false |
238 |
done |
239 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
240 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
241 |
CONFIG_SHELL=$SHELL as_have_required=yes |
242 |
fi; } |
243 |
IFS=$as_save_IFS |
244 |
|
245 |
|
246 |
if test "x$CONFIG_SHELL" != x; then : |
247 |
export CONFIG_SHELL |
248 |
# We cannot yet assume a decent shell, so we have to provide a |
249 |
# neutralization value for shells without unset; and this also |
250 |
# works around shells that cannot unset nonexistent variables. |
251 |
# Preserve -v and -x to the replacement shell. |
252 |
BASH_ENV=/dev/null |
253 |
ENV=/dev/null |
254 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
255 |
case $- in # (((( |
256 |
*v*x* | *x*v* ) as_opts=-vx ;; |
257 |
*v* ) as_opts=-v ;; |
258 |
*x* ) as_opts=-x ;; |
259 |
* ) as_opts= ;; |
260 |
esac |
261 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
262 |
# Admittedly, this is quite paranoid, since all the known shells bail |
263 |
# out after a failed `exec'. |
264 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
265 |
exit 255 |
266 |
fi |
267 |
|
268 |
if test x$as_have_required = xno; then : |
269 |
$as_echo "$0: This script requires a shell more modern than all" |
270 |
$as_echo "$0: the shells that I found on your system." |
271 |
if test x${ZSH_VERSION+set} = xset ; then |
272 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
273 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
274 |
else |
275 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
276 |
$0: including any error possibly output before this |
277 |
$0: message. Then install a modern shell, or manually run |
278 |
$0: the script under such a shell if you do have one." |
279 |
fi |
280 |
exit 1 |
281 |
fi |
282 |
fi |
283 |
fi |
284 |
SHELL=${CONFIG_SHELL-/bin/sh} |
285 |
export SHELL |
286 |
# Unset more variables known to interfere with behavior of common tools. |
287 |
CLICOLOR_FORCE= GREP_OPTIONS= |
288 |
unset CLICOLOR_FORCE GREP_OPTIONS |
289 |
|
290 |
## --------------------- ## |
291 |
## M4sh Shell Functions. ## |
292 |
## --------------------- ## |
293 |
# as_fn_unset VAR |
294 |
# --------------- |
295 |
# Portably unset VAR. |
296 |
as_fn_unset () |
297 |
{ |
298 |
{ eval $1=; unset $1;} |
299 |
} |
300 |
as_unset=as_fn_unset |
301 |
|
302 |
# as_fn_set_status STATUS |
303 |
# ----------------------- |
304 |
# Set $? to STATUS, without forking. |
305 |
as_fn_set_status () |
306 |
{ |
307 |
return $1 |
308 |
} # as_fn_set_status |
309 |
|
310 |
# as_fn_exit STATUS |
311 |
# ----------------- |
312 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
313 |
as_fn_exit () |
314 |
{ |
315 |
set +e |
316 |
as_fn_set_status $1 |
317 |
exit $1 |
318 |
} # as_fn_exit |
319 |
|
320 |
# as_fn_mkdir_p |
321 |
# ------------- |
322 |
# Create "$as_dir" as a directory, including parents if necessary. |
323 |
as_fn_mkdir_p () |
324 |
{ |
325 |
|
326 |
case $as_dir in #( |
327 |
-*) as_dir=./$as_dir;; |
328 |
esac |
329 |
test -d "$as_dir" || eval $as_mkdir_p || { |
330 |
as_dirs= |
331 |
while :; do |
332 |
case $as_dir in #( |
333 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
334 |
*) as_qdir=$as_dir;; |
335 |
esac |
336 |
as_dirs="'$as_qdir' $as_dirs" |
337 |
as_dir=`$as_dirname -- "$as_dir" || |
338 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
339 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
340 |
X"$as_dir" : 'X\(//\)$' \| \ |
341 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
342 |
$as_echo X"$as_dir" | |
343 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
344 |
s//\1/ |
345 |
q |
346 |
} |
347 |
/^X\(\/\/\)[^/].*/{ |
348 |
s//\1/ |
349 |
q |
350 |
} |
351 |
/^X\(\/\/\)$/{ |
352 |
s//\1/ |
353 |
q |
354 |
} |
355 |
/^X\(\/\).*/{ |
356 |
s//\1/ |
357 |
q |
358 |
} |
359 |
s/.*/./; q'` |
360 |
test -d "$as_dir" && break |
361 |
done |
362 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
363 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
364 |
|
365 |
|
366 |
} # as_fn_mkdir_p |
367 |
|
368 |
# as_fn_executable_p FILE |
369 |
# ----------------------- |
370 |
# Test if FILE is an executable regular file. |
371 |
as_fn_executable_p () |
372 |
{ |
373 |
test -f "$1" && test -x "$1" |
374 |
} # as_fn_executable_p |
375 |
# as_fn_append VAR VALUE |
376 |
# ---------------------- |
377 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
378 |
# advantage of any shell optimizations that allow amortized linear growth over |
379 |
# repeated appends, instead of the typical quadratic growth present in naive |
380 |
# implementations. |
381 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
382 |
eval 'as_fn_append () |
383 |
{ |
384 |
eval $1+=\$2 |
385 |
}' |
386 |
else |
387 |
as_fn_append () |
388 |
{ |
389 |
eval $1=\$$1\$2 |
390 |
} |
391 |
fi # as_fn_append |
392 |
|
393 |
# as_fn_arith ARG... |
394 |
# ------------------ |
395 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
396 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
397 |
# must be portable across $(()) and expr. |
398 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
399 |
eval 'as_fn_arith () |
400 |
{ |
401 |
as_val=$(( $* )) |
402 |
}' |
403 |
else |
404 |
as_fn_arith () |
405 |
{ |
406 |
as_val=`expr "$@" || test $? -eq 1` |
407 |
} |
408 |
fi # as_fn_arith |
409 |
|
410 |
|
411 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
412 |
# ---------------------------------------- |
413 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
414 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
415 |
# script with STATUS, using 1 if that was 0. |
416 |
as_fn_error () |
417 |
{ |
418 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
419 |
if test "$4"; then |
420 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
421 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
422 |
fi |
423 |
$as_echo "$as_me: error: $2" >&2 |
424 |
as_fn_exit $as_status |
425 |
} # as_fn_error |
426 |
|
427 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
428 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
429 |
as_expr=expr |
430 |
else |
431 |
as_expr=false |
432 |
fi |
433 |
|
434 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
435 |
as_basename=basename |
436 |
else |
437 |
as_basename=false |
438 |
fi |
439 |
|
440 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
441 |
as_dirname=dirname |
442 |
else |
443 |
as_dirname=false |
444 |
fi |
445 |
|
446 |
as_me=`$as_basename -- "$0" || |
447 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
448 |
X"$0" : 'X\(//\)$' \| \ |
449 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
450 |
$as_echo X/"$0" | |
451 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
452 |
s//\1/ |
453 |
q |
454 |
} |
455 |
/^X\/\(\/\/\)$/{ |
456 |
s//\1/ |
457 |
q |
458 |
} |
459 |
/^X\/\(\/\).*/{ |
460 |
s//\1/ |
461 |
q |
462 |
} |
463 |
s/.*/./; q'` |
464 |
|
465 |
# Avoid depending upon Character Ranges. |
466 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
467 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
468 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
469 |
as_cr_digits='0123456789' |
470 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
471 |
|
472 |
|
473 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
474 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
475 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
476 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
477 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
478 |
sed -n ' |
479 |
p |
480 |
/[$]LINENO/= |
481 |
' <$as_myself | |
482 |
sed ' |
483 |
s/[$]LINENO.*/&-/ |
484 |
t lineno |
485 |
b |
486 |
:lineno |
487 |
N |
488 |
:loop |
489 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
490 |
t loop |
491 |
s/-\n.*// |
492 |
' >$as_me.lineno && |
493 |
chmod +x "$as_me.lineno" || |
494 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
495 |
|
496 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
497 |
# already done that, so ensure we don't try to do so again and fall |
498 |
# in an infinite loop. This has already happened in practice. |
499 |
_as_can_reexec=no; export _as_can_reexec |
500 |
# Don't try to exec as it changes $[0], causing all sort of problems |
501 |
# (the dirname of $[0] is not the place where we might find the |
502 |
# original and so on. Autoconf is especially sensitive to this). |
503 |
. "./$as_me.lineno" |
504 |
# Exit status is that of the last command. |
505 |
exit |
506 |
} |
507 |
|
508 |
ECHO_C= ECHO_N= ECHO_T= |
509 |
case `echo -n x` in #((((( |
510 |
-n*) |
511 |
case `echo 'xy\c'` in |
512 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
513 |
xy) ECHO_C='\c';; |
514 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
515 |
ECHO_T=' ';; |
516 |
esac;; |
517 |
*) |
518 |
ECHO_N='-n';; |
519 |
esac |
520 |
|
521 |
rm -f conf$$ conf$$.exe conf$$.file |
522 |
if test -d conf$$.dir; then |
523 |
rm -f conf$$.dir/conf$$.file |
524 |
else |
525 |
rm -f conf$$.dir |
526 |
mkdir conf$$.dir 2>/dev/null |
527 |
fi |
528 |
if (echo >conf$$.file) 2>/dev/null; then |
529 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
530 |
as_ln_s='ln -s' |
531 |
# ... but there are two gotchas: |
532 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
533 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
534 |
# In both cases, we have to default to `cp -pR'. |
535 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
536 |
as_ln_s='cp -pR' |
537 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
538 |
as_ln_s=ln |
539 |
else |
540 |
as_ln_s='cp -pR' |
541 |
fi |
542 |
else |
543 |
as_ln_s='cp -pR' |
544 |
fi |
545 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
546 |
rmdir conf$$.dir 2>/dev/null |
547 |
|
548 |
if mkdir -p . 2>/dev/null; then |
549 |
as_mkdir_p='mkdir -p "$as_dir"' |
550 |
else |
551 |
test -d ./-p && rmdir ./-p |
552 |
as_mkdir_p=false |
553 |
fi |
554 |
|
555 |
as_test_x='test -x' |
556 |
as_executable_p=as_fn_executable_p |
557 |
|
558 |
# Sed expression to map a string onto a valid CPP name. |
559 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
560 |
|
561 |
# Sed expression to map a string onto a valid variable name. |
562 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
563 |
|
564 |
SHELL=${CONFIG_SHELL-/bin/sh} |
565 |
|
566 |
|
567 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
568 |
exec 6>&1 |
569 |
|
570 |
# Name of the host. |
571 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
572 |
# so uname gets run too. |
573 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
574 |
|
575 |
# |
576 |
# Initializations. |
577 |
# |
578 |
ac_default_prefix=/usr/local |
579 |
ac_clean_files= |
580 |
ac_config_libobj_dir=. |
581 |
LIBOBJS= |
582 |
cross_compiling=no |
583 |
subdirs= |
584 |
MFLAGS= |
585 |
MAKEFLAGS= |
586 |
|
587 |
# Identity of this package. |
588 |
PACKAGE_NAME='hopm' |
589 |
PACKAGE_TARNAME='hopm' |
590 |
PACKAGE_VERSION='1.0.0beta1' |
591 |
PACKAGE_STRING='hopm 1.0.0beta1' |
592 |
PACKAGE_BUGREPORT='' |
593 |
PACKAGE_URL='' |
594 |
|
595 |
ac_unique_file="src/opercmd.h" |
596 |
ac_default_prefix=\${HOME}/hopm |
597 |
# Factoring default headers for most tests. |
598 |
ac_includes_default="\ |
599 |
#include <stdio.h> |
600 |
#ifdef HAVE_SYS_TYPES_H |
601 |
# include <sys/types.h> |
602 |
#endif |
603 |
#ifdef HAVE_SYS_STAT_H |
604 |
# include <sys/stat.h> |
605 |
#endif |
606 |
#ifdef STDC_HEADERS |
607 |
# include <stdlib.h> |
608 |
# include <stddef.h> |
609 |
#else |
610 |
# ifdef HAVE_STDLIB_H |
611 |
# include <stdlib.h> |
612 |
# endif |
613 |
#endif |
614 |
#ifdef HAVE_STRING_H |
615 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
616 |
# include <memory.h> |
617 |
# endif |
618 |
# include <string.h> |
619 |
#endif |
620 |
#ifdef HAVE_STRINGS_H |
621 |
# include <strings.h> |
622 |
#endif |
623 |
#ifdef HAVE_INTTYPES_H |
624 |
# include <inttypes.h> |
625 |
#endif |
626 |
#ifdef HAVE_STDINT_H |
627 |
# include <stdint.h> |
628 |
#endif |
629 |
#ifdef HAVE_UNISTD_H |
630 |
# include <unistd.h> |
631 |
#endif" |
632 |
|
633 |
enable_option_checking=no |
634 |
ac_subst_vars='am__EXEEXT_FALSE |
635 |
am__EXEEXT_TRUE |
636 |
LTLIBOBJS |
637 |
LIBOBJS |
638 |
subdirs |
639 |
LEXLIB |
640 |
LEX_OUTPUT_ROOT |
641 |
LEX |
642 |
YFLAGS |
643 |
YACC |
644 |
CPP |
645 |
OTOOL64 |
646 |
OTOOL |
647 |
LIPO |
648 |
NMEDIT |
649 |
DSYMUTIL |
650 |
MANIFEST_TOOL |
651 |
RANLIB |
652 |
ac_ct_AR |
653 |
AR |
654 |
DLLTOOL |
655 |
OBJDUMP |
656 |
LN_S |
657 |
NM |
658 |
ac_ct_DUMPBIN |
659 |
DUMPBIN |
660 |
LD |
661 |
FGREP |
662 |
EGREP |
663 |
GREP |
664 |
SED |
665 |
host_os |
666 |
host_vendor |
667 |
host_cpu |
668 |
host |
669 |
build_os |
670 |
build_vendor |
671 |
build_cpu |
672 |
build |
673 |
LIBTOOL |
674 |
am__fastdepCC_FALSE |
675 |
am__fastdepCC_TRUE |
676 |
CCDEPMODE |
677 |
am__nodep |
678 |
AMDEPBACKSLASH |
679 |
AMDEP_FALSE |
680 |
AMDEP_TRUE |
681 |
am__quote |
682 |
am__include |
683 |
DEPDIR |
684 |
OBJEXT |
685 |
EXEEXT |
686 |
ac_ct_CC |
687 |
CPPFLAGS |
688 |
LDFLAGS |
689 |
CFLAGS |
690 |
CC |
691 |
MAINT |
692 |
MAINTAINER_MODE_FALSE |
693 |
MAINTAINER_MODE_TRUE |
694 |
AM_BACKSLASH |
695 |
AM_DEFAULT_VERBOSITY |
696 |
AM_DEFAULT_V |
697 |
AM_V |
698 |
am__untar |
699 |
am__tar |
700 |
AMTAR |
701 |
am__leading_dot |
702 |
SET_MAKE |
703 |
AWK |
704 |
mkdir_p |
705 |
MKDIR_P |
706 |
INSTALL_STRIP_PROGRAM |
707 |
STRIP |
708 |
install_sh |
709 |
MAKEINFO |
710 |
AUTOHEADER |
711 |
AUTOMAKE |
712 |
AUTOCONF |
713 |
ACLOCAL |
714 |
VERSION |
715 |
PACKAGE |
716 |
CYGPATH_W |
717 |
am__isrc |
718 |
INSTALL_DATA |
719 |
INSTALL_SCRIPT |
720 |
INSTALL_PROGRAM |
721 |
target_alias |
722 |
host_alias |
723 |
build_alias |
724 |
LIBS |
725 |
ECHO_T |
726 |
ECHO_N |
727 |
ECHO_C |
728 |
DEFS |
729 |
mandir |
730 |
localedir |
731 |
libdir |
732 |
psdir |
733 |
pdfdir |
734 |
dvidir |
735 |
htmldir |
736 |
infodir |
737 |
docdir |
738 |
oldincludedir |
739 |
includedir |
740 |
localstatedir |
741 |
sharedstatedir |
742 |
sysconfdir |
743 |
datadir |
744 |
datarootdir |
745 |
libexecdir |
746 |
sbindir |
747 |
bindir |
748 |
program_transform_name |
749 |
prefix |
750 |
exec_prefix |
751 |
PACKAGE_URL |
752 |
PACKAGE_BUGREPORT |
753 |
PACKAGE_STRING |
754 |
PACKAGE_VERSION |
755 |
PACKAGE_TARNAME |
756 |
PACKAGE_NAME |
757 |
PATH_SEPARATOR |
758 |
SHELL' |
759 |
ac_subst_files='' |
760 |
ac_user_opts=' |
761 |
enable_option_checking |
762 |
enable_silent_rules |
763 |
enable_maintainer_mode |
764 |
with_extra_fascism |
765 |
enable_dependency_tracking |
766 |
enable_shared |
767 |
enable_static |
768 |
with_pic |
769 |
enable_fast_install |
770 |
with_aix_soname |
771 |
with_gnu_ld |
772 |
with_sysroot |
773 |
enable_libtool_lock |
774 |
' |
775 |
ac_precious_vars='build_alias |
776 |
host_alias |
777 |
target_alias |
778 |
CC |
779 |
CFLAGS |
780 |
LDFLAGS |
781 |
LIBS |
782 |
CPPFLAGS |
783 |
CPP |
784 |
YACC |
785 |
YFLAGS' |
786 |
ac_subdirs_all='src/libopm' |
787 |
|
788 |
# Initialize some variables set by options. |
789 |
ac_init_help= |
790 |
ac_init_version=false |
791 |
ac_unrecognized_opts= |
792 |
ac_unrecognized_sep= |
793 |
# The variables have the same names as the options, with |
794 |
# dashes changed to underlines. |
795 |
cache_file=/dev/null |
796 |
exec_prefix=NONE |
797 |
no_create= |
798 |
no_recursion= |
799 |
prefix=NONE |
800 |
program_prefix=NONE |
801 |
program_suffix=NONE |
802 |
program_transform_name=s,x,x, |
803 |
silent= |
804 |
site= |
805 |
srcdir= |
806 |
verbose= |
807 |
x_includes=NONE |
808 |
x_libraries=NONE |
809 |
|
810 |
# Installation directory options. |
811 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
812 |
# and all the variables that are supposed to be based on exec_prefix |
813 |
# by default will actually change. |
814 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
815 |
# (The list follows the same order as the GNU Coding Standards.) |
816 |
bindir='${exec_prefix}/bin' |
817 |
sbindir='${exec_prefix}/sbin' |
818 |
libexecdir='${exec_prefix}/libexec' |
819 |
datarootdir='${prefix}/share' |
820 |
datadir='${datarootdir}' |
821 |
sysconfdir='${prefix}/etc' |
822 |
sharedstatedir='${prefix}/com' |
823 |
localstatedir='${prefix}/var' |
824 |
includedir='${prefix}/include' |
825 |
oldincludedir='/usr/include' |
826 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
827 |
infodir='${datarootdir}/info' |
828 |
htmldir='${docdir}' |
829 |
dvidir='${docdir}' |
830 |
pdfdir='${docdir}' |
831 |
psdir='${docdir}' |
832 |
libdir='${exec_prefix}/lib' |
833 |
localedir='${datarootdir}/locale' |
834 |
mandir='${datarootdir}/man' |
835 |
|
836 |
ac_prev= |
837 |
ac_dashdash= |
838 |
for ac_option |
839 |
do |
840 |
# If the previous option needs an argument, assign it. |
841 |
if test -n "$ac_prev"; then |
842 |
eval $ac_prev=\$ac_option |
843 |
ac_prev= |
844 |
continue |
845 |
fi |
846 |
|
847 |
case $ac_option in |
848 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
849 |
*=) ac_optarg= ;; |
850 |
*) ac_optarg=yes ;; |
851 |
esac |
852 |
|
853 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
854 |
|
855 |
case $ac_dashdash$ac_option in |
856 |
--) |
857 |
ac_dashdash=yes ;; |
858 |
|
859 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
860 |
ac_prev=bindir ;; |
861 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
862 |
bindir=$ac_optarg ;; |
863 |
|
864 |
-build | --build | --buil | --bui | --bu) |
865 |
ac_prev=build_alias ;; |
866 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
867 |
build_alias=$ac_optarg ;; |
868 |
|
869 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
870 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
871 |
ac_prev=cache_file ;; |
872 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
873 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
874 |
cache_file=$ac_optarg ;; |
875 |
|
876 |
--config-cache | -C) |
877 |
cache_file=config.cache ;; |
878 |
|
879 |
-datadir | --datadir | --datadi | --datad) |
880 |
ac_prev=datadir ;; |
881 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
882 |
datadir=$ac_optarg ;; |
883 |
|
884 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
885 |
| --dataroo | --dataro | --datar) |
886 |
ac_prev=datarootdir ;; |
887 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
888 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
889 |
datarootdir=$ac_optarg ;; |
890 |
|
891 |
-disable-* | --disable-*) |
892 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
893 |
# Reject names that are not valid shell variable names. |
894 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
895 |
as_fn_error $? "invalid feature name: $ac_useropt" |
896 |
ac_useropt_orig=$ac_useropt |
897 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
898 |
case $ac_user_opts in |
899 |
*" |
900 |
"enable_$ac_useropt" |
901 |
"*) ;; |
902 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
903 |
ac_unrecognized_sep=', ';; |
904 |
esac |
905 |
eval enable_$ac_useropt=no ;; |
906 |
|
907 |
-docdir | --docdir | --docdi | --doc | --do) |
908 |
ac_prev=docdir ;; |
909 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
910 |
docdir=$ac_optarg ;; |
911 |
|
912 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
913 |
ac_prev=dvidir ;; |
914 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
915 |
dvidir=$ac_optarg ;; |
916 |
|
917 |
-enable-* | --enable-*) |
918 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
919 |
# Reject names that are not valid shell variable names. |
920 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
921 |
as_fn_error $? "invalid feature name: $ac_useropt" |
922 |
ac_useropt_orig=$ac_useropt |
923 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
924 |
case $ac_user_opts in |
925 |
*" |
926 |
"enable_$ac_useropt" |
927 |
"*) ;; |
928 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
929 |
ac_unrecognized_sep=', ';; |
930 |
esac |
931 |
eval enable_$ac_useropt=\$ac_optarg ;; |
932 |
|
933 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
934 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
935 |
| --exec | --exe | --ex) |
936 |
ac_prev=exec_prefix ;; |
937 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
938 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
939 |
| --exec=* | --exe=* | --ex=*) |
940 |
exec_prefix=$ac_optarg ;; |
941 |
|
942 |
-gas | --gas | --ga | --g) |
943 |
# Obsolete; use --with-gas. |
944 |
with_gas=yes ;; |
945 |
|
946 |
-help | --help | --hel | --he | -h) |
947 |
ac_init_help=long ;; |
948 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
949 |
ac_init_help=recursive ;; |
950 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
951 |
ac_init_help=short ;; |
952 |
|
953 |
-host | --host | --hos | --ho) |
954 |
ac_prev=host_alias ;; |
955 |
-host=* | --host=* | --hos=* | --ho=*) |
956 |
host_alias=$ac_optarg ;; |
957 |
|
958 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
959 |
ac_prev=htmldir ;; |
960 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
961 |
| --ht=*) |
962 |
htmldir=$ac_optarg ;; |
963 |
|
964 |
-includedir | --includedir | --includedi | --included | --include \ |
965 |
| --includ | --inclu | --incl | --inc) |
966 |
ac_prev=includedir ;; |
967 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
968 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
969 |
includedir=$ac_optarg ;; |
970 |
|
971 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
972 |
ac_prev=infodir ;; |
973 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
974 |
infodir=$ac_optarg ;; |
975 |
|
976 |
-libdir | --libdir | --libdi | --libd) |
977 |
ac_prev=libdir ;; |
978 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
979 |
libdir=$ac_optarg ;; |
980 |
|
981 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
982 |
| --libexe | --libex | --libe) |
983 |
ac_prev=libexecdir ;; |
984 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
985 |
| --libexe=* | --libex=* | --libe=*) |
986 |
libexecdir=$ac_optarg ;; |
987 |
|
988 |
-localedir | --localedir | --localedi | --localed | --locale) |
989 |
ac_prev=localedir ;; |
990 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
991 |
localedir=$ac_optarg ;; |
992 |
|
993 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
994 |
| --localstate | --localstat | --localsta | --localst | --locals) |
995 |
ac_prev=localstatedir ;; |
996 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
997 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
998 |
localstatedir=$ac_optarg ;; |
999 |
|
1000 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1001 |
ac_prev=mandir ;; |
1002 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1003 |
mandir=$ac_optarg ;; |
1004 |
|
1005 |
-nfp | --nfp | --nf) |
1006 |
# Obsolete; use --without-fp. |
1007 |
with_fp=no ;; |
1008 |
|
1009 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1010 |
| --no-cr | --no-c | -n) |
1011 |
no_create=yes ;; |
1012 |
|
1013 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1014 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1015 |
no_recursion=yes ;; |
1016 |
|
1017 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1018 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
1019 |
| --oldin | --oldi | --old | --ol | --o) |
1020 |
ac_prev=oldincludedir ;; |
1021 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
1022 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
1023 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
1024 |
oldincludedir=$ac_optarg ;; |
1025 |
|
1026 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1027 |
ac_prev=prefix ;; |
1028 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
1029 |
prefix=$ac_optarg ;; |
1030 |
|
1031 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
1032 |
| --program-pre | --program-pr | --program-p) |
1033 |
ac_prev=program_prefix ;; |
1034 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
1035 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
1036 |
program_prefix=$ac_optarg ;; |
1037 |
|
1038 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
1039 |
| --program-suf | --program-su | --program-s) |
1040 |
ac_prev=program_suffix ;; |
1041 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
1042 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
1043 |
program_suffix=$ac_optarg ;; |
1044 |
|
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 |
ac_prev=program_transform_name ;; |
1053 |
-program-transform-name=* | --program-transform-name=* \ |
1054 |
| --program-transform-nam=* | --program-transform-na=* \ |
1055 |
| --program-transform-n=* | --program-transform-=* \ |
1056 |
| --program-transform=* | --program-transfor=* \ |
1057 |
| --program-transfo=* | --program-transf=* \ |
1058 |
| --program-trans=* | --program-tran=* \ |
1059 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
1060 |
program_transform_name=$ac_optarg ;; |
1061 |
|
1062 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1063 |
ac_prev=pdfdir ;; |
1064 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1065 |
pdfdir=$ac_optarg ;; |
1066 |
|
1067 |
-psdir | --psdir | --psdi | --psd | --ps) |
1068 |
ac_prev=psdir ;; |
1069 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1070 |
psdir=$ac_optarg ;; |
1071 |
|
1072 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1073 |
| -silent | --silent | --silen | --sile | --sil) |
1074 |
silent=yes ;; |
1075 |
|
1076 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1077 |
ac_prev=sbindir ;; |
1078 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1079 |
| --sbi=* | --sb=*) |
1080 |
sbindir=$ac_optarg ;; |
1081 |
|
1082 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1083 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1084 |
| --sharedst | --shareds | --shared | --share | --shar \ |
1085 |
| --sha | --sh) |
1086 |
ac_prev=sharedstatedir ;; |
1087 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1088 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1089 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1090 |
| --sha=* | --sh=*) |
1091 |
sharedstatedir=$ac_optarg ;; |
1092 |
|
1093 |
-site | --site | --sit) |
1094 |
ac_prev=site ;; |
1095 |
-site=* | --site=* | --sit=*) |
1096 |
site=$ac_optarg ;; |
1097 |
|
1098 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1099 |
ac_prev=srcdir ;; |
1100 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1101 |
srcdir=$ac_optarg ;; |
1102 |
|
1103 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1104 |
| --syscon | --sysco | --sysc | --sys | --sy) |
1105 |
ac_prev=sysconfdir ;; |
1106 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1107 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1108 |
sysconfdir=$ac_optarg ;; |
1109 |
|
1110 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
1111 |
ac_prev=target_alias ;; |
1112 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1113 |
target_alias=$ac_optarg ;; |
1114 |
|
1115 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
1116 |
verbose=yes ;; |
1117 |
|
1118 |
-version | --version | --versio | --versi | --vers | -V) |
1119 |
ac_init_version=: ;; |
1120 |
|
1121 |
-with-* | --with-*) |
1122 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1123 |
# Reject names that are not valid shell variable names. |
1124 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1125 |
as_fn_error $? "invalid package name: $ac_useropt" |
1126 |
ac_useropt_orig=$ac_useropt |
1127 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1128 |
case $ac_user_opts in |
1129 |
*" |
1130 |
"with_$ac_useropt" |
1131 |
"*) ;; |
1132 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1133 |
ac_unrecognized_sep=', ';; |
1134 |
esac |
1135 |
eval with_$ac_useropt=\$ac_optarg ;; |
1136 |
|
1137 |
-without-* | --without-*) |
1138 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1139 |
# Reject names that are not valid shell variable names. |
1140 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1141 |
as_fn_error $? "invalid package name: $ac_useropt" |
1142 |
ac_useropt_orig=$ac_useropt |
1143 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1144 |
case $ac_user_opts in |
1145 |
*" |
1146 |
"with_$ac_useropt" |
1147 |
"*) ;; |
1148 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1149 |
ac_unrecognized_sep=', ';; |
1150 |
esac |
1151 |
eval with_$ac_useropt=no ;; |
1152 |
|
1153 |
--x) |
1154 |
# Obsolete; use --with-x. |
1155 |
with_x=yes ;; |
1156 |
|
1157 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1158 |
| --x-incl | --x-inc | --x-in | --x-i) |
1159 |
ac_prev=x_includes ;; |
1160 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1161 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1162 |
x_includes=$ac_optarg ;; |
1163 |
|
1164 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1165 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1166 |
ac_prev=x_libraries ;; |
1167 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1168 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1169 |
x_libraries=$ac_optarg ;; |
1170 |
|
1171 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1172 |
Try \`$0 --help' for more information" |
1173 |
;; |
1174 |
|
1175 |
*=*) |
1176 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1177 |
# Reject names that are not valid shell variable names. |
1178 |
case $ac_envvar in #( |
1179 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1180 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1181 |
esac |
1182 |
eval $ac_envvar=\$ac_optarg |
1183 |
export $ac_envvar ;; |
1184 |
|
1185 |
*) |
1186 |
# FIXME: should be removed in autoconf 3.0. |
1187 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1188 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1189 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1190 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1191 |
;; |
1192 |
|
1193 |
esac |
1194 |
done |
1195 |
|
1196 |
if test -n "$ac_prev"; then |
1197 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1198 |
as_fn_error $? "missing argument to $ac_option" |
1199 |
fi |
1200 |
|
1201 |
if test -n "$ac_unrecognized_opts"; then |
1202 |
case $enable_option_checking in |
1203 |
no) ;; |
1204 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1205 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1206 |
esac |
1207 |
fi |
1208 |
|
1209 |
# Check all directory arguments for consistency. |
1210 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1211 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1212 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1213 |
libdir localedir mandir |
1214 |
do |
1215 |
eval ac_val=\$$ac_var |
1216 |
# Remove trailing slashes. |
1217 |
case $ac_val in |
1218 |
*/ ) |
1219 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1220 |
eval $ac_var=\$ac_val;; |
1221 |
esac |
1222 |
# Be sure to have absolute directory names. |
1223 |
case $ac_val in |
1224 |
[\\/$]* | ?:[\\/]* ) continue;; |
1225 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1226 |
esac |
1227 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1228 |
done |
1229 |
|
1230 |
# There might be people who depend on the old broken behavior: `$host' |
1231 |
# used to hold the argument of --host etc. |
1232 |
# FIXME: To remove some day. |
1233 |
build=$build_alias |
1234 |
host=$host_alias |
1235 |
target=$target_alias |
1236 |
|
1237 |
# FIXME: To remove some day. |
1238 |
if test "x$host_alias" != x; then |
1239 |
if test "x$build_alias" = x; then |
1240 |
cross_compiling=maybe |
1241 |
elif test "x$build_alias" != "x$host_alias"; then |
1242 |
cross_compiling=yes |
1243 |
fi |
1244 |
fi |
1245 |
|
1246 |
ac_tool_prefix= |
1247 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1248 |
|
1249 |
test "$silent" = yes && exec 6>/dev/null |
1250 |
|
1251 |
|
1252 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1253 |
ac_ls_di=`ls -di .` && |
1254 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1255 |
as_fn_error $? "working directory cannot be determined" |
1256 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1257 |
as_fn_error $? "pwd does not report name of working directory" |
1258 |
|
1259 |
|
1260 |
# Find the source files, if location was not specified. |
1261 |
if test -z "$srcdir"; then |
1262 |
ac_srcdir_defaulted=yes |
1263 |
# Try the directory containing this script, then the parent directory. |
1264 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1265 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1266 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
1267 |
X"$as_myself" : 'X\(//\)$' \| \ |
1268 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1269 |
$as_echo X"$as_myself" | |
1270 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1271 |
s//\1/ |
1272 |
q |
1273 |
} |
1274 |
/^X\(\/\/\)[^/].*/{ |
1275 |
s//\1/ |
1276 |
q |
1277 |
} |
1278 |
/^X\(\/\/\)$/{ |
1279 |
s//\1/ |
1280 |
q |
1281 |
} |
1282 |
/^X\(\/\).*/{ |
1283 |
s//\1/ |
1284 |
q |
1285 |
} |
1286 |
s/.*/./; q'` |
1287 |
srcdir=$ac_confdir |
1288 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1289 |
srcdir=.. |
1290 |
fi |
1291 |
else |
1292 |
ac_srcdir_defaulted=no |
1293 |
fi |
1294 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1295 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1296 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1297 |
fi |
1298 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1299 |
ac_abs_confdir=`( |
1300 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1301 |
pwd)` |
1302 |
# When building in place, set srcdir=. |
1303 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1304 |
srcdir=. |
1305 |
fi |
1306 |
# Remove unnecessary trailing slashes from srcdir. |
1307 |
# Double slashes in file names in object file debugging info |
1308 |
# mess up M-x gdb in Emacs. |
1309 |
case $srcdir in |
1310 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1311 |
esac |
1312 |
for ac_var in $ac_precious_vars; do |
1313 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1314 |
eval ac_env_${ac_var}_value=\$${ac_var} |
1315 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1316 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1317 |
done |
1318 |
|
1319 |
# |
1320 |
# Report the --help message. |
1321 |
# |
1322 |
if test "$ac_init_help" = "long"; then |
1323 |
# Omit some internal or obsolete options to make the list less imposing. |
1324 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1325 |
cat <<_ACEOF |
1326 |
\`configure' configures hopm 1.0.0beta1 to adapt to many kinds of systems. |
1327 |
|
1328 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1329 |
|
1330 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1331 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
1332 |
|
1333 |
Defaults for the options are specified in brackets. |
1334 |
|
1335 |
Configuration: |
1336 |
-h, --help display this help and exit |
1337 |
--help=short display options specific to this package |
1338 |
--help=recursive display the short help of all the included packages |
1339 |
-V, --version display version information and exit |
1340 |
-q, --quiet, --silent do not print \`checking ...' messages |
1341 |
--cache-file=FILE cache test results in FILE [disabled] |
1342 |
-C, --config-cache alias for \`--cache-file=config.cache' |
1343 |
-n, --no-create do not create output files |
1344 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1345 |
|
1346 |
Installation directories: |
1347 |
--prefix=PREFIX install architecture-independent files in PREFIX |
1348 |
[$ac_default_prefix] |
1349 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1350 |
[PREFIX] |
1351 |
|
1352 |
By default, \`make install' will install all the files in |
1353 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1354 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1355 |
for instance \`--prefix=\$HOME'. |
1356 |
|
1357 |
For better control, use the options below. |
1358 |
|
1359 |
Fine tuning of the installation directories: |
1360 |
--bindir=DIR user executables [EPREFIX/bin] |
1361 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
1362 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
1363 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1364 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1365 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1366 |
--libdir=DIR object code libraries [EPREFIX/lib] |
1367 |
--includedir=DIR C header files [PREFIX/include] |
1368 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1369 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1370 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1371 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
1372 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1373 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
1374 |
--docdir=DIR documentation root [DATAROOTDIR/doc/hopm] |
1375 |
--htmldir=DIR html documentation [DOCDIR] |
1376 |
--dvidir=DIR dvi documentation [DOCDIR] |
1377 |
--pdfdir=DIR pdf documentation [DOCDIR] |
1378 |
--psdir=DIR ps documentation [DOCDIR] |
1379 |
_ACEOF |
1380 |
|
1381 |
cat <<\_ACEOF |
1382 |
|
1383 |
Program names: |
1384 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
1385 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
1386 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1387 |
|
1388 |
System types: |
1389 |
--build=BUILD configure for building on BUILD [guessed] |
1390 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
1391 |
_ACEOF |
1392 |
fi |
1393 |
|
1394 |
if test -n "$ac_init_help"; then |
1395 |
case $ac_init_help in |
1396 |
short | recursive ) echo "Configuration of hopm 1.0.0beta1:";; |
1397 |
esac |
1398 |
cat <<\_ACEOF |
1399 |
|
1400 |
Optional Features: |
1401 |
--disable-option-checking ignore unrecognized --enable/--with options |
1402 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1403 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1404 |
--enable-silent-rules less verbose build output (undo: "make V=1") |
1405 |
--disable-silent-rules verbose build output (undo: "make V=0") |
1406 |
--enable-maintainer-mode |
1407 |
enable make rules and dependencies not useful (and |
1408 |
sometimes confusing) to the casual installer |
1409 |
--enable-dependency-tracking |
1410 |
do not reject slow dependency extractors |
1411 |
--disable-dependency-tracking |
1412 |
speeds up one-time build |
1413 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
1414 |
--enable-static[=PKGS] build static libraries [default=yes] |
1415 |
--enable-fast-install[=PKGS] |
1416 |
optimize for fast installation [default=yes] |
1417 |
--disable-libtool-lock avoid locking (might break parallel builds) |
1418 |
|
1419 |
Optional Packages: |
1420 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1421 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1422 |
--with-extra-fascism Add extra gcc3-specific warning flags |
1423 |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1424 |
both] |
1425 |
--with-aix-soname=aix|svr4|both |
1426 |
shared library versioning (aka "SONAME") variant to |
1427 |
provide on AIX, [default=aix]. |
1428 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1429 |
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
1430 |
compiler's sysroot if not specified). |
1431 |
|
1432 |
Some influential environment variables: |
1433 |
CC C compiler command |
1434 |
CFLAGS C compiler flags |
1435 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1436 |
nonstandard directory <lib dir> |
1437 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1438 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1439 |
you have headers in a nonstandard directory <include dir> |
1440 |
CPP C preprocessor |
1441 |
YACC The `Yet Another Compiler Compiler' implementation to use. |
1442 |
Defaults to the first program found out of: `bison -y', `byacc', |
1443 |
`yacc'. |
1444 |
YFLAGS The list of arguments that will be passed by default to $YACC. |
1445 |
This script will default YFLAGS to the empty string to avoid a |
1446 |
default value of `-d' given by some make applications. |
1447 |
|
1448 |
Use these variables to override the choices made by `configure' or to help |
1449 |
it to find libraries and programs with nonstandard names/locations. |
1450 |
|
1451 |
Report bugs to the package provider. |
1452 |
_ACEOF |
1453 |
ac_status=$? |
1454 |
fi |
1455 |
|
1456 |
if test "$ac_init_help" = "recursive"; then |
1457 |
# If there are subdirs, report their specific --help. |
1458 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1459 |
test -d "$ac_dir" || |
1460 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1461 |
continue |
1462 |
ac_builddir=. |
1463 |
|
1464 |
case "$ac_dir" in |
1465 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1466 |
*) |
1467 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1468 |
# A ".." for each directory in $ac_dir_suffix. |
1469 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1470 |
case $ac_top_builddir_sub in |
1471 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1472 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1473 |
esac ;; |
1474 |
esac |
1475 |
ac_abs_top_builddir=$ac_pwd |
1476 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1477 |
# for backward compatibility: |
1478 |
ac_top_builddir=$ac_top_build_prefix |
1479 |
|
1480 |
case $srcdir in |
1481 |
.) # We are building in place. |
1482 |
ac_srcdir=. |
1483 |
ac_top_srcdir=$ac_top_builddir_sub |
1484 |
ac_abs_top_srcdir=$ac_pwd ;; |
1485 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
1486 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1487 |
ac_top_srcdir=$srcdir |
1488 |
ac_abs_top_srcdir=$srcdir ;; |
1489 |
*) # Relative name. |
1490 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1491 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
1492 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1493 |
esac |
1494 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1495 |
|
1496 |
cd "$ac_dir" || { ac_status=$?; continue; } |
1497 |
# Check for guested configure. |
1498 |
if test -f "$ac_srcdir/configure.gnu"; then |
1499 |
echo && |
1500 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1501 |
elif test -f "$ac_srcdir/configure"; then |
1502 |
echo && |
1503 |
$SHELL "$ac_srcdir/configure" --help=recursive |
1504 |
else |
1505 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1506 |
fi || ac_status=$? |
1507 |
cd "$ac_pwd" || { ac_status=$?; break; } |
1508 |
done |
1509 |
fi |
1510 |
|
1511 |
test -n "$ac_init_help" && exit $ac_status |
1512 |
if $ac_init_version; then |
1513 |
cat <<\_ACEOF |
1514 |
hopm configure 1.0.0beta1 |
1515 |
generated by GNU Autoconf 2.69 |
1516 |
|
1517 |
Copyright (C) 2012 Free Software Foundation, Inc. |
1518 |
This configure script is free software; the Free Software Foundation |
1519 |
gives unlimited permission to copy, distribute and modify it. |
1520 |
_ACEOF |
1521 |
exit |
1522 |
fi |
1523 |
|
1524 |
## ------------------------ ## |
1525 |
## Autoconf initialization. ## |
1526 |
## ------------------------ ## |
1527 |
|
1528 |
# ac_fn_c_try_compile LINENO |
1529 |
# -------------------------- |
1530 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1531 |
ac_fn_c_try_compile () |
1532 |
{ |
1533 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1534 |
rm -f conftest.$ac_objext |
1535 |
if { { ac_try="$ac_compile" |
1536 |
case "(($ac_try" in |
1537 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1538 |
*) ac_try_echo=$ac_try;; |
1539 |
esac |
1540 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1541 |
$as_echo "$ac_try_echo"; } >&5 |
1542 |
(eval "$ac_compile") 2>conftest.err |
1543 |
ac_status=$? |
1544 |
if test -s conftest.err; then |
1545 |
grep -v '^ *+' conftest.err >conftest.er1 |
1546 |
cat conftest.er1 >&5 |
1547 |
mv -f conftest.er1 conftest.err |
1548 |
fi |
1549 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1550 |
test $ac_status = 0; } && { |
1551 |
test -z "$ac_c_werror_flag" || |
1552 |
test ! -s conftest.err |
1553 |
} && test -s conftest.$ac_objext; then : |
1554 |
ac_retval=0 |
1555 |
else |
1556 |
$as_echo "$as_me: failed program was:" >&5 |
1557 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1558 |
|
1559 |
ac_retval=1 |
1560 |
fi |
1561 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1562 |
as_fn_set_status $ac_retval |
1563 |
|
1564 |
} # ac_fn_c_try_compile |
1565 |
|
1566 |
# ac_fn_c_try_link LINENO |
1567 |
# ----------------------- |
1568 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
1569 |
ac_fn_c_try_link () |
1570 |
{ |
1571 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1572 |
rm -f conftest.$ac_objext conftest$ac_exeext |
1573 |
if { { ac_try="$ac_link" |
1574 |
case "(($ac_try" in |
1575 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1576 |
*) ac_try_echo=$ac_try;; |
1577 |
esac |
1578 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1579 |
$as_echo "$ac_try_echo"; } >&5 |
1580 |
(eval "$ac_link") 2>conftest.err |
1581 |
ac_status=$? |
1582 |
if test -s conftest.err; then |
1583 |
grep -v '^ *+' conftest.err >conftest.er1 |
1584 |
cat conftest.er1 >&5 |
1585 |
mv -f conftest.er1 conftest.err |
1586 |
fi |
1587 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1588 |
test $ac_status = 0; } && { |
1589 |
test -z "$ac_c_werror_flag" || |
1590 |
test ! -s conftest.err |
1591 |
} && test -s conftest$ac_exeext && { |
1592 |
test "$cross_compiling" = yes || |
1593 |
test -x conftest$ac_exeext |
1594 |
}; then : |
1595 |
ac_retval=0 |
1596 |
else |
1597 |
$as_echo "$as_me: failed program was:" >&5 |
1598 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1599 |
|
1600 |
ac_retval=1 |
1601 |
fi |
1602 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1603 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1604 |
# interfere with the next link command; also delete a directory that is |
1605 |
# left behind by Apple's compiler. We do this before executing the actions. |
1606 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1607 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1608 |
as_fn_set_status $ac_retval |
1609 |
|
1610 |
} # ac_fn_c_try_link |
1611 |
|
1612 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1613 |
# ------------------------------------------------------- |
1614 |
# Tests whether HEADER exists and can be compiled using the include files in |
1615 |
# INCLUDES, setting the cache variable VAR accordingly. |
1616 |
ac_fn_c_check_header_compile () |
1617 |
{ |
1618 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1620 |
$as_echo_n "checking for $2... " >&6; } |
1621 |
if eval \${$3+:} false; then : |
1622 |
$as_echo_n "(cached) " >&6 |
1623 |
else |
1624 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1625 |
/* end confdefs.h. */ |
1626 |
$4 |
1627 |
#include <$2> |
1628 |
_ACEOF |
1629 |
if ac_fn_c_try_compile "$LINENO"; then : |
1630 |
eval "$3=yes" |
1631 |
else |
1632 |
eval "$3=no" |
1633 |
fi |
1634 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1635 |
fi |
1636 |
eval ac_res=\$$3 |
1637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1638 |
$as_echo "$ac_res" >&6; } |
1639 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1640 |
|
1641 |
} # ac_fn_c_check_header_compile |
1642 |
|
1643 |
# ac_fn_c_try_cpp LINENO |
1644 |
# ---------------------- |
1645 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1646 |
ac_fn_c_try_cpp () |
1647 |
{ |
1648 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1649 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
1650 |
case "(($ac_try" in |
1651 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1652 |
*) ac_try_echo=$ac_try;; |
1653 |
esac |
1654 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1655 |
$as_echo "$ac_try_echo"; } >&5 |
1656 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1657 |
ac_status=$? |
1658 |
if test -s conftest.err; then |
1659 |
grep -v '^ *+' conftest.err >conftest.er1 |
1660 |
cat conftest.er1 >&5 |
1661 |
mv -f conftest.er1 conftest.err |
1662 |
fi |
1663 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1664 |
test $ac_status = 0; } > conftest.i && { |
1665 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1666 |
test ! -s conftest.err |
1667 |
}; then : |
1668 |
ac_retval=0 |
1669 |
else |
1670 |
$as_echo "$as_me: failed program was:" >&5 |
1671 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1672 |
|
1673 |
ac_retval=1 |
1674 |
fi |
1675 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1676 |
as_fn_set_status $ac_retval |
1677 |
|
1678 |
} # ac_fn_c_try_cpp |
1679 |
|
1680 |
# ac_fn_c_try_run LINENO |
1681 |
# ---------------------- |
1682 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1683 |
# that executables *can* be run. |
1684 |
ac_fn_c_try_run () |
1685 |
{ |
1686 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1687 |
if { { ac_try="$ac_link" |
1688 |
case "(($ac_try" in |
1689 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1690 |
*) ac_try_echo=$ac_try;; |
1691 |
esac |
1692 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1693 |
$as_echo "$ac_try_echo"; } >&5 |
1694 |
(eval "$ac_link") 2>&5 |
1695 |
ac_status=$? |
1696 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1697 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1698 |
{ { case "(($ac_try" in |
1699 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1700 |
*) ac_try_echo=$ac_try;; |
1701 |
esac |
1702 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1703 |
$as_echo "$ac_try_echo"; } >&5 |
1704 |
(eval "$ac_try") 2>&5 |
1705 |
ac_status=$? |
1706 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1707 |
test $ac_status = 0; }; }; then : |
1708 |
ac_retval=0 |
1709 |
else |
1710 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
1711 |
$as_echo "$as_me: failed program was:" >&5 |
1712 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1713 |
|
1714 |
ac_retval=$ac_status |
1715 |
fi |
1716 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1717 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1718 |
as_fn_set_status $ac_retval |
1719 |
|
1720 |
} # ac_fn_c_try_run |
1721 |
|
1722 |
# ac_fn_c_check_func LINENO FUNC VAR |
1723 |
# ---------------------------------- |
1724 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
1725 |
ac_fn_c_check_func () |
1726 |
{ |
1727 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1728 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1729 |
$as_echo_n "checking for $2... " >&6; } |
1730 |
if eval \${$3+:} false; then : |
1731 |
$as_echo_n "(cached) " >&6 |
1732 |
else |
1733 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1734 |
/* end confdefs.h. */ |
1735 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1736 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1737 |
#define $2 innocuous_$2 |
1738 |
|
1739 |
/* System header to define __stub macros and hopefully few prototypes, |
1740 |
which can conflict with char $2 (); below. |
1741 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1742 |
<limits.h> exists even on freestanding compilers. */ |
1743 |
|
1744 |
#ifdef __STDC__ |
1745 |
# include <limits.h> |
1746 |
#else |
1747 |
# include <assert.h> |
1748 |
#endif |
1749 |
|
1750 |
#undef $2 |
1751 |
|
1752 |
/* Override any GCC internal prototype to avoid an error. |
1753 |
Use char because int might match the return type of a GCC |
1754 |
builtin and then its argument prototype would still apply. */ |
1755 |
#ifdef __cplusplus |
1756 |
extern "C" |
1757 |
#endif |
1758 |
char $2 (); |
1759 |
/* The GNU C library defines this for functions which it implements |
1760 |
to always fail with ENOSYS. Some functions are actually named |
1761 |
something starting with __ and the normal name is an alias. */ |
1762 |
#if defined __stub_$2 || defined __stub___$2 |
1763 |
choke me |
1764 |
#endif |
1765 |
|
1766 |
int |
1767 |
main () |
1768 |
{ |
1769 |
return $2 (); |
1770 |
; |
1771 |
return 0; |
1772 |
} |
1773 |
_ACEOF |
1774 |
if ac_fn_c_try_link "$LINENO"; then : |
1775 |
eval "$3=yes" |
1776 |
else |
1777 |
eval "$3=no" |
1778 |
fi |
1779 |
rm -f core conftest.err conftest.$ac_objext \ |
1780 |
conftest$ac_exeext conftest.$ac_ext |
1781 |
fi |
1782 |
eval ac_res=\$$3 |
1783 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1784 |
$as_echo "$ac_res" >&6; } |
1785 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1786 |
|
1787 |
} # ac_fn_c_check_func |
1788 |
|
1789 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1790 |
# ------------------------------------------------------- |
1791 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1792 |
# the include files in INCLUDES and setting the cache variable VAR |
1793 |
# accordingly. |
1794 |
ac_fn_c_check_header_mongrel () |
1795 |
{ |
1796 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1797 |
if eval \${$3+:} false; then : |
1798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1799 |
$as_echo_n "checking for $2... " >&6; } |
1800 |
if eval \${$3+:} false; then : |
1801 |
$as_echo_n "(cached) " >&6 |
1802 |
fi |
1803 |
eval ac_res=\$$3 |
1804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1805 |
$as_echo "$ac_res" >&6; } |
1806 |
else |
1807 |
# Is the header compilable? |
1808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1809 |
$as_echo_n "checking $2 usability... " >&6; } |
1810 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1811 |
/* end confdefs.h. */ |
1812 |
$4 |
1813 |
#include <$2> |
1814 |
_ACEOF |
1815 |
if ac_fn_c_try_compile "$LINENO"; then : |
1816 |
ac_header_compiler=yes |
1817 |
else |
1818 |
ac_header_compiler=no |
1819 |
fi |
1820 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
1822 |
$as_echo "$ac_header_compiler" >&6; } |
1823 |
|
1824 |
# Is the header present? |
1825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1826 |
$as_echo_n "checking $2 presence... " >&6; } |
1827 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1828 |
/* end confdefs.h. */ |
1829 |
#include <$2> |
1830 |
_ACEOF |
1831 |
if ac_fn_c_try_cpp "$LINENO"; then : |
1832 |
ac_header_preproc=yes |
1833 |
else |
1834 |
ac_header_preproc=no |
1835 |
fi |
1836 |
rm -f conftest.err conftest.i conftest.$ac_ext |
1837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1838 |
$as_echo "$ac_header_preproc" >&6; } |
1839 |
|
1840 |
# So? What about this header? |
1841 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1842 |
yes:no: ) |
1843 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1844 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1845 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1846 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1847 |
;; |
1848 |
no:yes:* ) |
1849 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1850 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1851 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1852 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1853 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1854 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1856 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1857 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1858 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1859 |
;; |
1860 |
esac |
1861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1862 |
$as_echo_n "checking for $2... " >&6; } |
1863 |
if eval \${$3+:} false; then : |
1864 |
$as_echo_n "(cached) " >&6 |
1865 |
else |
1866 |
eval "$3=\$ac_header_compiler" |
1867 |
fi |
1868 |
eval ac_res=\$$3 |
1869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1870 |
$as_echo "$ac_res" >&6; } |
1871 |
fi |
1872 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1873 |
|
1874 |
} # ac_fn_c_check_header_mongrel |
1875 |
cat >config.log <<_ACEOF |
1876 |
This file contains any messages produced by compilers while |
1877 |
running configure, to aid debugging if configure makes a mistake. |
1878 |
|
1879 |
It was created by hopm $as_me 1.0.0beta1, which was |
1880 |
generated by GNU Autoconf 2.69. Invocation command line was |
1881 |
|
1882 |
$ $0 $@ |
1883 |
|
1884 |
_ACEOF |
1885 |
exec 5>>config.log |
1886 |
{ |
1887 |
cat <<_ASUNAME |
1888 |
## --------- ## |
1889 |
## Platform. ## |
1890 |
## --------- ## |
1891 |
|
1892 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1893 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1894 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1895 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1896 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1897 |
|
1898 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1899 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1900 |
|
1901 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1902 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1903 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1904 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1905 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1906 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1907 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1908 |
|
1909 |
_ASUNAME |
1910 |
|
1911 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1912 |
for as_dir in $PATH |
1913 |
do |
1914 |
IFS=$as_save_IFS |
1915 |
test -z "$as_dir" && as_dir=. |
1916 |
$as_echo "PATH: $as_dir" |
1917 |
done |
1918 |
IFS=$as_save_IFS |
1919 |
|
1920 |
} >&5 |
1921 |
|
1922 |
cat >&5 <<_ACEOF |
1923 |
|
1924 |
|
1925 |
## ----------- ## |
1926 |
## Core tests. ## |
1927 |
## ----------- ## |
1928 |
|
1929 |
_ACEOF |
1930 |
|
1931 |
|
1932 |
# Keep a trace of the command line. |
1933 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1934 |
# Strip out --silent because we don't want to record it for future runs. |
1935 |
# Also quote any args containing shell meta-characters. |
1936 |
# Make two passes to allow for proper duplicate-argument suppression. |
1937 |
ac_configure_args= |
1938 |
ac_configure_args0= |
1939 |
ac_configure_args1= |
1940 |
ac_must_keep_next=false |
1941 |
for ac_pass in 1 2 |
1942 |
do |
1943 |
for ac_arg |
1944 |
do |
1945 |
case $ac_arg in |
1946 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1947 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1948 |
| -silent | --silent | --silen | --sile | --sil) |
1949 |
continue ;; |
1950 |
*\'*) |
1951 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1952 |
esac |
1953 |
case $ac_pass in |
1954 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1955 |
2) |
1956 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
1957 |
if test $ac_must_keep_next = true; then |
1958 |
ac_must_keep_next=false # Got value, back to normal. |
1959 |
else |
1960 |
case $ac_arg in |
1961 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1962 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1963 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1964 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1965 |
case "$ac_configure_args0 " in |
1966 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1967 |
esac |
1968 |
;; |
1969 |
-* ) ac_must_keep_next=true ;; |
1970 |
esac |
1971 |
fi |
1972 |
as_fn_append ac_configure_args " '$ac_arg'" |
1973 |
;; |
1974 |
esac |
1975 |
done |
1976 |
done |
1977 |
{ ac_configure_args0=; unset ac_configure_args0;} |
1978 |
{ ac_configure_args1=; unset ac_configure_args1;} |
1979 |
|
1980 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1981 |
# config.log. We remove comments because anyway the quotes in there |
1982 |
# would cause problems or look ugly. |
1983 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
1984 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1985 |
trap 'exit_status=$? |
1986 |
# Save into config.log some information that might help in debugging. |
1987 |
{ |
1988 |
echo |
1989 |
|
1990 |
$as_echo "## ---------------- ## |
1991 |
## Cache variables. ## |
1992 |
## ---------------- ##" |
1993 |
echo |
1994 |
# The following way of writing the cache mishandles newlines in values, |
1995 |
( |
1996 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1997 |
eval ac_val=\$$ac_var |
1998 |
case $ac_val in #( |
1999 |
*${as_nl}*) |
2000 |
case $ac_var in #( |
2001 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2002 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2003 |
esac |
2004 |
case $ac_var in #( |
2005 |
_ | IFS | as_nl) ;; #( |
2006 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2007 |
*) { eval $ac_var=; unset $ac_var;} ;; |
2008 |
esac ;; |
2009 |
esac |
2010 |
done |
2011 |
(set) 2>&1 | |
2012 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2013 |
*${as_nl}ac_space=\ *) |
2014 |
sed -n \ |
2015 |
"s/'\''/'\''\\\\'\'''\''/g; |
2016 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2017 |
;; #( |
2018 |
*) |
2019 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2020 |
;; |
2021 |
esac | |
2022 |
sort |
2023 |
) |
2024 |
echo |
2025 |
|
2026 |
$as_echo "## ----------------- ## |
2027 |
## Output variables. ## |
2028 |
## ----------------- ##" |
2029 |
echo |
2030 |
for ac_var in $ac_subst_vars |
2031 |
do |
2032 |
eval ac_val=\$$ac_var |
2033 |
case $ac_val in |
2034 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2035 |
esac |
2036 |
$as_echo "$ac_var='\''$ac_val'\''" |
2037 |
done | sort |
2038 |
echo |
2039 |
|
2040 |
if test -n "$ac_subst_files"; then |
2041 |
$as_echo "## ------------------- ## |
2042 |
## File substitutions. ## |
2043 |
## ------------------- ##" |
2044 |
echo |
2045 |
for ac_var in $ac_subst_files |
2046 |
do |
2047 |
eval ac_val=\$$ac_var |
2048 |
case $ac_val in |
2049 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2050 |
esac |
2051 |
$as_echo "$ac_var='\''$ac_val'\''" |
2052 |
done | sort |
2053 |
echo |
2054 |
fi |
2055 |
|
2056 |
if test -s confdefs.h; then |
2057 |
$as_echo "## ----------- ## |
2058 |
## confdefs.h. ## |
2059 |
## ----------- ##" |
2060 |
echo |
2061 |
cat confdefs.h |
2062 |
echo |
2063 |
fi |
2064 |
test "$ac_signal" != 0 && |
2065 |
$as_echo "$as_me: caught signal $ac_signal" |
2066 |
$as_echo "$as_me: exit $exit_status" |
2067 |
} >&5 |
2068 |
rm -f core *.core core.conftest.* && |
2069 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2070 |
exit $exit_status |
2071 |
' 0 |
2072 |
for ac_signal in 1 2 13 15; do |
2073 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2074 |
done |
2075 |
ac_signal=0 |
2076 |
|
2077 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
2078 |
rm -f -r conftest* confdefs.h |
2079 |
|
2080 |
$as_echo "/* confdefs.h */" > confdefs.h |
2081 |
|
2082 |
# Predefined preprocessor variables. |
2083 |
|
2084 |
cat >>confdefs.h <<_ACEOF |
2085 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
2086 |
_ACEOF |
2087 |
|
2088 |
cat >>confdefs.h <<_ACEOF |
2089 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2090 |
_ACEOF |
2091 |
|
2092 |
cat >>confdefs.h <<_ACEOF |
2093 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
2094 |
_ACEOF |
2095 |
|
2096 |
cat >>confdefs.h <<_ACEOF |
2097 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
2098 |
_ACEOF |
2099 |
|
2100 |
cat >>confdefs.h <<_ACEOF |
2101 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2102 |
_ACEOF |
2103 |
|
2104 |
cat >>confdefs.h <<_ACEOF |
2105 |
#define PACKAGE_URL "$PACKAGE_URL" |
2106 |
_ACEOF |
2107 |
|
2108 |
|
2109 |
# Let the site file select an alternate cache file if it wants to. |
2110 |
# Prefer an explicitly selected file to automatically selected ones. |
2111 |
ac_site_file1=NONE |
2112 |
ac_site_file2=NONE |
2113 |
if test -n "$CONFIG_SITE"; then |
2114 |
# We do not want a PATH search for config.site. |
2115 |
case $CONFIG_SITE in #(( |
2116 |
-*) ac_site_file1=./$CONFIG_SITE;; |
2117 |
*/*) ac_site_file1=$CONFIG_SITE;; |
2118 |
*) ac_site_file1=./$CONFIG_SITE;; |
2119 |
esac |
2120 |
elif test "x$prefix" != xNONE; then |
2121 |
ac_site_file1=$prefix/share/config.site |
2122 |
ac_site_file2=$prefix/etc/config.site |
2123 |
else |
2124 |
ac_site_file1=$ac_default_prefix/share/config.site |
2125 |
ac_site_file2=$ac_default_prefix/etc/config.site |
2126 |
fi |
2127 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2128 |
do |
2129 |
test "x$ac_site_file" = xNONE && continue |
2130 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2132 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2133 |
sed 's/^/| /' "$ac_site_file" >&5 |
2134 |
. "$ac_site_file" \ |
2135 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2136 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2137 |
as_fn_error $? "failed to load site script $ac_site_file |
2138 |
See \`config.log' for more details" "$LINENO" 5; } |
2139 |
fi |
2140 |
done |
2141 |
|
2142 |
if test -r "$cache_file"; then |
2143 |
# Some versions of bash will fail to source /dev/null (special files |
2144 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2145 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2147 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
2148 |
case $cache_file in |
2149 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2150 |
*) . "./$cache_file";; |
2151 |
esac |
2152 |
fi |
2153 |
else |
2154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2155 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
2156 |
>$cache_file |
2157 |
fi |
2158 |
|
2159 |
# Check that the precious variables saved in the cache have kept the same |
2160 |
# value. |
2161 |
ac_cache_corrupted=false |
2162 |
for ac_var in $ac_precious_vars; do |
2163 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2164 |
eval ac_new_set=\$ac_env_${ac_var}_set |
2165 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2166 |
eval ac_new_val=\$ac_env_${ac_var}_value |
2167 |
case $ac_old_set,$ac_new_set in |
2168 |
set,) |
2169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2170 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2171 |
ac_cache_corrupted=: ;; |
2172 |
,set) |
2173 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2174 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2175 |
ac_cache_corrupted=: ;; |
2176 |
,);; |
2177 |
*) |
2178 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
2179 |
# differences in whitespace do not lead to failure. |
2180 |
ac_old_val_w=`echo x $ac_old_val` |
2181 |
ac_new_val_w=`echo x $ac_new_val` |
2182 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2183 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2184 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2185 |
ac_cache_corrupted=: |
2186 |
else |
2187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2188 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2189 |
eval $ac_var=\$ac_old_val |
2190 |
fi |
2191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2192 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2194 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2195 |
fi;; |
2196 |
esac |
2197 |
# Pass precious variables to config.status. |
2198 |
if test "$ac_new_set" = set; then |
2199 |
case $ac_new_val in |
2200 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2201 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2202 |
esac |
2203 |
case " $ac_configure_args " in |
2204 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2205 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2206 |
esac |
2207 |
fi |
2208 |
done |
2209 |
if $ac_cache_corrupted; then |
2210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2211 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2213 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2214 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2215 |
fi |
2216 |
## -------------------- ## |
2217 |
## Main body of script. ## |
2218 |
## -------------------- ## |
2219 |
|
2220 |
ac_ext=c |
2221 |
ac_cpp='$CPP $CPPFLAGS' |
2222 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2223 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2224 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2225 |
|
2226 |
|
2227 |
|
2228 |
ac_config_headers="$ac_config_headers src/setup.h" |
2229 |
|
2230 |
am__api_version='1.14' |
2231 |
|
2232 |
ac_aux_dir= |
2233 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2234 |
if test -f "$ac_dir/install-sh"; then |
2235 |
ac_aux_dir=$ac_dir |
2236 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2237 |
break |
2238 |
elif test -f "$ac_dir/install.sh"; then |
2239 |
ac_aux_dir=$ac_dir |
2240 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2241 |
break |
2242 |
elif test -f "$ac_dir/shtool"; then |
2243 |
ac_aux_dir=$ac_dir |
2244 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2245 |
break |
2246 |
fi |
2247 |
done |
2248 |
if test -z "$ac_aux_dir"; then |
2249 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2250 |
fi |
2251 |
|
2252 |
# These three variables are undocumented and unsupported, |
2253 |
# and are intended to be withdrawn in a future Autoconf release. |
2254 |
# They can cause serious problems if a builder's source tree is in a directory |
2255 |
# whose full name contains unusual characters. |
2256 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2257 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2258 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2259 |
|
2260 |
|
2261 |
# Find a good install program. We prefer a C program (faster), |
2262 |
# so one script is as good as another. But avoid the broken or |
2263 |
# incompatible versions: |
2264 |
# SysV /etc/install, /usr/sbin/install |
2265 |
# SunOS /usr/etc/install |
2266 |
# IRIX /sbin/install |
2267 |
# AIX /bin/install |
2268 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2269 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2270 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2271 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2272 |
# OS/2's system install, which has a completely different semantic |
2273 |
# ./install, which can be erroneously created by make from ./install.sh. |
2274 |
# Reject install programs that cannot install multiple files. |
2275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2276 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2277 |
if test -z "$INSTALL"; then |
2278 |
if ${ac_cv_path_install+:} false; then : |
2279 |
$as_echo_n "(cached) " >&6 |
2280 |
else |
2281 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2282 |
for as_dir in $PATH |
2283 |
do |
2284 |
IFS=$as_save_IFS |
2285 |
test -z "$as_dir" && as_dir=. |
2286 |
# Account for people who put trailing slashes in PATH elements. |
2287 |
case $as_dir/ in #(( |
2288 |
./ | .// | /[cC]/* | \ |
2289 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2290 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2291 |
/usr/ucb/* ) ;; |
2292 |
*) |
2293 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
2294 |
# Don't use installbsd from OSF since it installs stuff as root |
2295 |
# by default. |
2296 |
for ac_prog in ginstall scoinst install; do |
2297 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2298 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2299 |
if test $ac_prog = install && |
2300 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2301 |
# AIX install. It has an incompatible calling convention. |
2302 |
: |
2303 |
elif test $ac_prog = install && |
2304 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2305 |
# program-specific install script used by HP pwplus--don't use. |
2306 |
: |
2307 |
else |
2308 |
rm -rf conftest.one conftest.two conftest.dir |
2309 |
echo one > conftest.one |
2310 |
echo two > conftest.two |
2311 |
mkdir conftest.dir |
2312 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
2313 |
test -s conftest.one && test -s conftest.two && |
2314 |
test -s conftest.dir/conftest.one && |
2315 |
test -s conftest.dir/conftest.two |
2316 |
then |
2317 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2318 |
break 3 |
2319 |
fi |
2320 |
fi |
2321 |
fi |
2322 |
done |
2323 |
done |
2324 |
;; |
2325 |
esac |
2326 |
|
2327 |
done |
2328 |
IFS=$as_save_IFS |
2329 |
|
2330 |
rm -rf conftest.one conftest.two conftest.dir |
2331 |
|
2332 |
fi |
2333 |
if test "${ac_cv_path_install+set}" = set; then |
2334 |
INSTALL=$ac_cv_path_install |
2335 |
else |
2336 |
# As a last resort, use the slow shell script. Don't cache a |
2337 |
# value for INSTALL within a source directory, because that will |
2338 |
# break other packages using the cache if that directory is |
2339 |
# removed, or if the value is a relative name. |
2340 |
INSTALL=$ac_install_sh |
2341 |
fi |
2342 |
fi |
2343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2344 |
$as_echo "$INSTALL" >&6; } |
2345 |
|
2346 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2347 |
# It thinks the first close brace ends the variable substitution. |
2348 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2349 |
|
2350 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2351 |
|
2352 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2353 |
|
2354 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2355 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
2356 |
# Reject unsafe characters in $srcdir or the absolute working directory |
2357 |
# name. Accept space and tab only in the latter. |
2358 |
am_lf=' |
2359 |
' |
2360 |
case `pwd` in |
2361 |
*[\\\"\#\$\&\'\`$am_lf]*) |
2362 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2363 |
esac |
2364 |
case $srcdir in |
2365 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2366 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2367 |
esac |
2368 |
|
2369 |
# Do 'set' in a subshell so we don't clobber the current shell's |
2370 |
# arguments. Must try -L first in case configure is actually a |
2371 |
# symlink; some systems play weird games with the mod time of symlinks |
2372 |
# (eg FreeBSD returns the mod time of the symlink's containing |
2373 |
# directory). |
2374 |
if ( |
2375 |
am_has_slept=no |
2376 |
for am_try in 1 2; do |
2377 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
2378 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2379 |
if test "$*" = "X"; then |
2380 |
# -L didn't work. |
2381 |
set X `ls -t "$srcdir/configure" conftest.file` |
2382 |
fi |
2383 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2384 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2385 |
|
2386 |
# If neither matched, then we have a broken ls. This can happen |
2387 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2388 |
# broken ls alias from the environment. This has actually |
2389 |
# happened. Such a system could not be considered "sane". |
2390 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2391 |
alias in your environment" "$LINENO" 5 |
2392 |
fi |
2393 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
2394 |
break |
2395 |
fi |
2396 |
# Just in case. |
2397 |
sleep 1 |
2398 |
am_has_slept=yes |
2399 |
done |
2400 |
test "$2" = conftest.file |
2401 |
) |
2402 |
then |
2403 |
# Ok. |
2404 |
: |
2405 |
else |
2406 |
as_fn_error $? "newly created file is older than distributed files! |
2407 |
Check your system clock" "$LINENO" 5 |
2408 |
fi |
2409 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2410 |
$as_echo "yes" >&6; } |
2411 |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
2412 |
# generated files are strictly newer. |
2413 |
am_sleep_pid= |
2414 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2415 |
( sleep 1 ) & |
2416 |
am_sleep_pid=$! |
2417 |
fi |
2418 |
|
2419 |
rm -f conftest.file |
2420 |
|
2421 |
test "$program_prefix" != NONE && |
2422 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2423 |
# Use a double $ so make ignores it. |
2424 |
test "$program_suffix" != NONE && |
2425 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2426 |
# Double any \ or $. |
2427 |
# By default was `s,x,x', remove it if useless. |
2428 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2429 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2430 |
|
2431 |
# expand $ac_aux_dir to an absolute path |
2432 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
2433 |
|
2434 |
if test x"${MISSING+set}" != xset; then |
2435 |
case $am_aux_dir in |
2436 |
*\ * | *\ *) |
2437 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2438 |
*) |
2439 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2440 |
esac |
2441 |
fi |
2442 |
# Use eval to expand $SHELL |
2443 |
if eval "$MISSING --is-lightweight"; then |
2444 |
am_missing_run="$MISSING " |
2445 |
else |
2446 |
am_missing_run= |
2447 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2448 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2449 |
fi |
2450 |
|
2451 |
if test x"${install_sh}" != xset; then |
2452 |
case $am_aux_dir in |
2453 |
*\ * | *\ *) |
2454 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2455 |
*) |
2456 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
2457 |
esac |
2458 |
fi |
2459 |
|
2460 |
# Installed binaries are usually stripped using 'strip' when the user |
2461 |
# run "make install-strip". However 'strip' might not be the right |
2462 |
# tool to use in cross-compilation environments, therefore Automake |
2463 |
# will honor the 'STRIP' environment variable to overrule this program. |
2464 |
if test "$cross_compiling" != no; then |
2465 |
if test -n "$ac_tool_prefix"; then |
2466 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2467 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2468 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2469 |
$as_echo_n "checking for $ac_word... " >&6; } |
2470 |
if ${ac_cv_prog_STRIP+:} false; then : |
2471 |
$as_echo_n "(cached) " >&6 |
2472 |
else |
2473 |
if test -n "$STRIP"; then |
2474 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2475 |
else |
2476 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2477 |
for as_dir in $PATH |
2478 |
do |
2479 |
IFS=$as_save_IFS |
2480 |
test -z "$as_dir" && as_dir=. |
2481 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2482 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2483 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2484 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2485 |
break 2 |
2486 |
fi |
2487 |
done |
2488 |
done |
2489 |
IFS=$as_save_IFS |
2490 |
|
2491 |
fi |
2492 |
fi |
2493 |
STRIP=$ac_cv_prog_STRIP |
2494 |
if test -n "$STRIP"; then |
2495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2496 |
$as_echo "$STRIP" >&6; } |
2497 |
else |
2498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2499 |
$as_echo "no" >&6; } |
2500 |
fi |
2501 |
|
2502 |
|
2503 |
fi |
2504 |
if test -z "$ac_cv_prog_STRIP"; then |
2505 |
ac_ct_STRIP=$STRIP |
2506 |
# Extract the first word of "strip", so it can be a program name with args. |
2507 |
set dummy strip; ac_word=$2 |
2508 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2509 |
$as_echo_n "checking for $ac_word... " >&6; } |
2510 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2511 |
$as_echo_n "(cached) " >&6 |
2512 |
else |
2513 |
if test -n "$ac_ct_STRIP"; then |
2514 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2515 |
else |
2516 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2517 |
for as_dir in $PATH |
2518 |
do |
2519 |
IFS=$as_save_IFS |
2520 |
test -z "$as_dir" && as_dir=. |
2521 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2522 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2523 |
ac_cv_prog_ac_ct_STRIP="strip" |
2524 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2525 |
break 2 |
2526 |
fi |
2527 |
done |
2528 |
done |
2529 |
IFS=$as_save_IFS |
2530 |
|
2531 |
fi |
2532 |
fi |
2533 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2534 |
if test -n "$ac_ct_STRIP"; then |
2535 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2536 |
$as_echo "$ac_ct_STRIP" >&6; } |
2537 |
else |
2538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2539 |
$as_echo "no" >&6; } |
2540 |
fi |
2541 |
|
2542 |
if test "x$ac_ct_STRIP" = x; then |
2543 |
STRIP=":" |
2544 |
else |
2545 |
case $cross_compiling:$ac_tool_warned in |
2546 |
yes:) |
2547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2548 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2549 |
ac_tool_warned=yes ;; |
2550 |
esac |
2551 |
STRIP=$ac_ct_STRIP |
2552 |
fi |
2553 |
else |
2554 |
STRIP="$ac_cv_prog_STRIP" |
2555 |
fi |
2556 |
|
2557 |
fi |
2558 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2559 |
|
2560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2561 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2562 |
if test -z "$MKDIR_P"; then |
2563 |
if ${ac_cv_path_mkdir+:} false; then : |
2564 |
$as_echo_n "(cached) " >&6 |
2565 |
else |
2566 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2567 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2568 |
do |
2569 |
IFS=$as_save_IFS |
2570 |
test -z "$as_dir" && as_dir=. |
2571 |
for ac_prog in mkdir gmkdir; do |
2572 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2573 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2574 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2575 |
'mkdir (GNU coreutils) '* | \ |
2576 |
'mkdir (coreutils) '* | \ |
2577 |
'mkdir (fileutils) '4.1*) |
2578 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2579 |
break 3;; |
2580 |
esac |
2581 |
done |
2582 |
done |
2583 |
done |
2584 |
IFS=$as_save_IFS |
2585 |
|
2586 |
fi |
2587 |
|
2588 |
test -d ./--version && rmdir ./--version |
2589 |
if test "${ac_cv_path_mkdir+set}" = set; then |
2590 |
MKDIR_P="$ac_cv_path_mkdir -p" |
2591 |
else |
2592 |
# As a last resort, use the slow shell script. Don't cache a |
2593 |
# value for MKDIR_P within a source directory, because that will |
2594 |
# break other packages using the cache if that directory is |
2595 |
# removed, or if the value is a relative name. |
2596 |
MKDIR_P="$ac_install_sh -d" |
2597 |
fi |
2598 |
fi |
2599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2600 |
$as_echo "$MKDIR_P" >&6; } |
2601 |
|
2602 |
for ac_prog in gawk mawk nawk awk |
2603 |
do |
2604 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2605 |
set dummy $ac_prog; ac_word=$2 |
2606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2607 |
$as_echo_n "checking for $ac_word... " >&6; } |
2608 |
if ${ac_cv_prog_AWK+:} false; then : |
2609 |
$as_echo_n "(cached) " >&6 |
2610 |
else |
2611 |
if test -n "$AWK"; then |
2612 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2613 |
else |
2614 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2615 |
for as_dir in $PATH |
2616 |
do |
2617 |
IFS=$as_save_IFS |
2618 |
test -z "$as_dir" && as_dir=. |
2619 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2620 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2621 |
ac_cv_prog_AWK="$ac_prog" |
2622 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2623 |
break 2 |
2624 |
fi |
2625 |
done |
2626 |
done |
2627 |
IFS=$as_save_IFS |
2628 |
|
2629 |
fi |
2630 |
fi |
2631 |
AWK=$ac_cv_prog_AWK |
2632 |
if test -n "$AWK"; then |
2633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2634 |
$as_echo "$AWK" >&6; } |
2635 |
else |
2636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2637 |
$as_echo "no" >&6; } |
2638 |
fi |
2639 |
|
2640 |
|
2641 |
test -n "$AWK" && break |
2642 |
done |
2643 |
|
2644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2645 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2646 |
set x ${MAKE-make} |
2647 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2648 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2649 |
$as_echo_n "(cached) " >&6 |
2650 |
else |
2651 |
cat >conftest.make <<\_ACEOF |
2652 |
SHELL = /bin/sh |
2653 |
all: |
2654 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
2655 |
_ACEOF |
2656 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2657 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2658 |
*@@@%%%=?*=@@@%%%*) |
2659 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
2660 |
*) |
2661 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
2662 |
esac |
2663 |
rm -f conftest.make |
2664 |
fi |
2665 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2667 |
$as_echo "yes" >&6; } |
2668 |
SET_MAKE= |
2669 |
else |
2670 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2671 |
$as_echo "no" >&6; } |
2672 |
SET_MAKE="MAKE=${MAKE-make}" |
2673 |
fi |
2674 |
|
2675 |
rm -rf .tst 2>/dev/null |
2676 |
mkdir .tst 2>/dev/null |
2677 |
if test -d .tst; then |
2678 |
am__leading_dot=. |
2679 |
else |
2680 |
am__leading_dot=_ |
2681 |
fi |
2682 |
rmdir .tst 2>/dev/null |
2683 |
|
2684 |
# Check whether --enable-silent-rules was given. |
2685 |
if test "${enable_silent_rules+set}" = set; then : |
2686 |
enableval=$enable_silent_rules; |
2687 |
fi |
2688 |
|
2689 |
case $enable_silent_rules in # ((( |
2690 |
yes) AM_DEFAULT_VERBOSITY=0;; |
2691 |
no) AM_DEFAULT_VERBOSITY=1;; |
2692 |
*) AM_DEFAULT_VERBOSITY=1;; |
2693 |
esac |
2694 |
am_make=${MAKE-make} |
2695 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2696 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
2697 |
if ${am_cv_make_support_nested_variables+:} false; then : |
2698 |
$as_echo_n "(cached) " >&6 |
2699 |
else |
2700 |
if $as_echo 'TRUE=$(BAR$(V)) |
2701 |
BAR0=false |
2702 |
BAR1=true |
2703 |
V=1 |
2704 |
am__doit: |
2705 |
@$(TRUE) |
2706 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
2707 |
am_cv_make_support_nested_variables=yes |
2708 |
else |
2709 |
am_cv_make_support_nested_variables=no |
2710 |
fi |
2711 |
fi |
2712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
2713 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
2714 |
if test $am_cv_make_support_nested_variables = yes; then |
2715 |
AM_V='$(V)' |
2716 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2717 |
else |
2718 |
AM_V=$AM_DEFAULT_VERBOSITY |
2719 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2720 |
fi |
2721 |
AM_BACKSLASH='\' |
2722 |
|
2723 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2724 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2725 |
# is not polluted with repeated "-I." |
2726 |
am__isrc=' -I$(srcdir)' |
2727 |
# test to see if srcdir already configured |
2728 |
if test -f $srcdir/config.status; then |
2729 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2730 |
fi |
2731 |
fi |
2732 |
|
2733 |
# test whether we have cygpath |
2734 |
if test -z "$CYGPATH_W"; then |
2735 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
2736 |
CYGPATH_W='cygpath -w' |
2737 |
else |
2738 |
CYGPATH_W=echo |
2739 |
fi |
2740 |
fi |
2741 |
|
2742 |
|
2743 |
# Define the identity of the package. |
2744 |
PACKAGE='hopm' |
2745 |
VERSION='1.0.0beta1' |
2746 |
|
2747 |
|
2748 |
cat >>confdefs.h <<_ACEOF |
2749 |
#define PACKAGE "$PACKAGE" |
2750 |
_ACEOF |
2751 |
|
2752 |
|
2753 |
cat >>confdefs.h <<_ACEOF |
2754 |
#define VERSION "$VERSION" |
2755 |
_ACEOF |
2756 |
|
2757 |
# Some tools Automake needs. |
2758 |
|
2759 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
2760 |
|
2761 |
|
2762 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
2763 |
|
2764 |
|
2765 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
2766 |
|
2767 |
|
2768 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2769 |
|
2770 |
|
2771 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2772 |
|
2773 |
# For better backward compatibility. To be removed once Automake 1.9.x |
2774 |
# dies out for good. For more background, see: |
2775 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
2776 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2777 |
mkdir_p='$(MKDIR_P)' |
2778 |
|
2779 |
# We need awk for the "check" target. The system "awk" is bad on |
2780 |
# some platforms. |
2781 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
2782 |
# in the wild :-( We should find a proper way to deprecate it ... |
2783 |
AMTAR='$${TAR-tar}' |
2784 |
|
2785 |
|
2786 |
# We'll loop over all known methods to create a tar archive until one works. |
2787 |
_am_tools='gnutar pax cpio none' |
2788 |
|
2789 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2790 |
|
2791 |
|
2792 |
|
2793 |
|
2794 |
|
2795 |
|
2796 |
# POSIX will say in a future version that running "rm -f" with no argument |
2797 |
# is OK; and we want to be able to make that assumption in our Makefile |
2798 |
# recipes. So use an aggressive probe to check that the usage we want is |
2799 |
# actually supported "in the wild" to an acceptable degree. |
2800 |
# See automake bug#10828. |
2801 |
# To make any issue more visible, cause the running configure to be aborted |
2802 |
# by default if the 'rm' program in use doesn't match our expectations; the |
2803 |
# user can still override this though. |
2804 |
if rm -f && rm -fr && rm -rf; then : OK; else |
2805 |
cat >&2 <<'END' |
2806 |
Oops! |
2807 |
|
2808 |
Your 'rm' program seems unable to run without file operands specified |
2809 |
on the command line, even when the '-f' option is present. This is contrary |
2810 |
to the behaviour of most rm programs out there, and not conforming with |
2811 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
2812 |
|
2813 |
Please tell bug-automake@gnu.org about your system, including the value |
2814 |
of your $PATH and any error possibly output before this message. This |
2815 |
can help us improve future automake versions. |
2816 |
|
2817 |
END |
2818 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
2819 |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
2820 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
2821 |
echo >&2 |
2822 |
else |
2823 |
cat >&2 <<'END' |
2824 |
Aborting the configuration process, to ensure you take notice of the issue. |
2825 |
|
2826 |
You can download and install GNU coreutils to get an 'rm' implementation |
2827 |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
2828 |
|
2829 |
If you want to complete the configuration process using your problematic |
2830 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
2831 |
to "yes", and re-run configure. |
2832 |
|
2833 |
END |
2834 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
2835 |
fi |
2836 |
fi |
2837 |
|
2838 |
|
2839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
2840 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
2841 |
# Check whether --enable-maintainer-mode was given. |
2842 |
if test "${enable_maintainer_mode+set}" = set; then : |
2843 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
2844 |
else |
2845 |
USE_MAINTAINER_MODE=no |
2846 |
fi |
2847 |
|
2848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
2849 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
2850 |
if test $USE_MAINTAINER_MODE = yes; then |
2851 |
MAINTAINER_MODE_TRUE= |
2852 |
MAINTAINER_MODE_FALSE='#' |
2853 |
else |
2854 |
MAINTAINER_MODE_TRUE='#' |
2855 |
MAINTAINER_MODE_FALSE= |
2856 |
fi |
2857 |
|
2858 |
MAINT=$MAINTAINER_MODE_TRUE |
2859 |
|
2860 |
|
2861 |
|
2862 |
|
2863 |
# Check whether --with-extra-fascism was given. |
2864 |
if test "${with_extra_fascism+set}" = set; then : |
2865 |
withval=$with_extra_fascism; CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs" |
2866 |
fi |
2867 |
|
2868 |
|
2869 |
|
2870 |
|
2871 |
|
2872 |
DEPDIR="${am__leading_dot}deps" |
2873 |
|
2874 |
ac_config_commands="$ac_config_commands depfiles" |
2875 |
|
2876 |
|
2877 |
am_make=${MAKE-make} |
2878 |
cat > confinc << 'END' |
2879 |
am__doit: |
2880 |
@echo this is the am__doit target |
2881 |
.PHONY: am__doit |
2882 |
END |
2883 |
# If we don't find an include directive, just comment out the code. |
2884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
2885 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
2886 |
am__include="#" |
2887 |
am__quote= |
2888 |
_am_result=none |
2889 |
# First try GNU make style include. |
2890 |
echo "include confinc" > confmf |
2891 |
# Ignore all kinds of additional output from 'make'. |
2892 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
2893 |
*the\ am__doit\ target*) |
2894 |
am__include=include |
2895 |
am__quote= |
2896 |
_am_result=GNU |
2897 |
;; |
2898 |
esac |
2899 |
# Now try BSD make style include. |
2900 |
if test "$am__include" = "#"; then |
2901 |
echo '.include "confinc"' > confmf |
2902 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
2903 |
*the\ am__doit\ target*) |
2904 |
am__include=.include |
2905 |
am__quote="\"" |
2906 |
_am_result=BSD |
2907 |
;; |
2908 |
esac |
2909 |
fi |
2910 |
|
2911 |
|
2912 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
2913 |
$as_echo "$_am_result" >&6; } |
2914 |
rm -f confinc confmf |
2915 |
|
2916 |
# Check whether --enable-dependency-tracking was given. |
2917 |
if test "${enable_dependency_tracking+set}" = set; then : |
2918 |
enableval=$enable_dependency_tracking; |
2919 |
fi |
2920 |
|
2921 |
if test "x$enable_dependency_tracking" != xno; then |
2922 |
am_depcomp="$ac_aux_dir/depcomp" |
2923 |
AMDEPBACKSLASH='\' |
2924 |
am__nodep='_no' |
2925 |
fi |
2926 |
if test "x$enable_dependency_tracking" != xno; then |
2927 |
AMDEP_TRUE= |
2928 |
AMDEP_FALSE='#' |
2929 |
else |
2930 |
AMDEP_TRUE='#' |
2931 |
AMDEP_FALSE= |
2932 |
fi |
2933 |
|
2934 |
|
2935 |
ac_ext=c |
2936 |
ac_cpp='$CPP $CPPFLAGS' |
2937 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2938 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2939 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2940 |
if test -n "$ac_tool_prefix"; then |
2941 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2942 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2944 |
$as_echo_n "checking for $ac_word... " >&6; } |
2945 |
if ${ac_cv_prog_CC+:} false; then : |
2946 |
$as_echo_n "(cached) " >&6 |
2947 |
else |
2948 |
if test -n "$CC"; then |
2949 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2950 |
else |
2951 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2952 |
for as_dir in $PATH |
2953 |
do |
2954 |
IFS=$as_save_IFS |
2955 |
test -z "$as_dir" && as_dir=. |
2956 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2957 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2958 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2959 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2960 |
break 2 |
2961 |
fi |
2962 |
done |
2963 |
done |
2964 |
IFS=$as_save_IFS |
2965 |
|
2966 |
fi |
2967 |
fi |
2968 |
CC=$ac_cv_prog_CC |
2969 |
if test -n "$CC"; then |
2970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2971 |
$as_echo "$CC" >&6; } |
2972 |
else |
2973 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2974 |
$as_echo "no" >&6; } |
2975 |
fi |
2976 |
|
2977 |
|
2978 |
fi |
2979 |
if test -z "$ac_cv_prog_CC"; then |
2980 |
ac_ct_CC=$CC |
2981 |
# Extract the first word of "gcc", so it can be a program name with args. |
2982 |
set dummy gcc; ac_word=$2 |
2983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2984 |
$as_echo_n "checking for $ac_word... " >&6; } |
2985 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2986 |
$as_echo_n "(cached) " >&6 |
2987 |
else |
2988 |
if test -n "$ac_ct_CC"; then |
2989 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2990 |
else |
2991 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2992 |
for as_dir in $PATH |
2993 |
do |
2994 |
IFS=$as_save_IFS |
2995 |
test -z "$as_dir" && as_dir=. |
2996 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2997 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2998 |
ac_cv_prog_ac_ct_CC="gcc" |
2999 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3000 |
break 2 |
3001 |
fi |
3002 |
done |
3003 |
done |
3004 |
IFS=$as_save_IFS |
3005 |
|
3006 |
fi |
3007 |
fi |
3008 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3009 |
if test -n "$ac_ct_CC"; then |
3010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3011 |
$as_echo "$ac_ct_CC" >&6; } |
3012 |
else |
3013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3014 |
$as_echo "no" >&6; } |
3015 |
fi |
3016 |
|
3017 |
if test "x$ac_ct_CC" = x; then |
3018 |
CC="" |
3019 |
else |
3020 |
case $cross_compiling:$ac_tool_warned in |
3021 |
yes:) |
3022 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3023 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3024 |
ac_tool_warned=yes ;; |
3025 |
esac |
3026 |
CC=$ac_ct_CC |
3027 |
fi |
3028 |
else |
3029 |
CC="$ac_cv_prog_CC" |
3030 |
fi |
3031 |
|
3032 |
if test -z "$CC"; then |
3033 |
if test -n "$ac_tool_prefix"; then |
3034 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3035 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3036 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3037 |
$as_echo_n "checking for $ac_word... " >&6; } |
3038 |
if ${ac_cv_prog_CC+:} false; then : |
3039 |
$as_echo_n "(cached) " >&6 |
3040 |
else |
3041 |
if test -n "$CC"; then |
3042 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3043 |
else |
3044 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3045 |
for as_dir in $PATH |
3046 |
do |
3047 |
IFS=$as_save_IFS |
3048 |
test -z "$as_dir" && as_dir=. |
3049 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3050 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3051 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3052 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3053 |
break 2 |
3054 |
fi |
3055 |
done |
3056 |
done |
3057 |
IFS=$as_save_IFS |
3058 |
|
3059 |
fi |
3060 |
fi |
3061 |
CC=$ac_cv_prog_CC |
3062 |
if test -n "$CC"; then |
3063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3064 |
$as_echo "$CC" >&6; } |
3065 |
else |
3066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3067 |
$as_echo "no" >&6; } |
3068 |
fi |
3069 |
|
3070 |
|
3071 |
fi |
3072 |
fi |
3073 |
if test -z "$CC"; then |
3074 |
# Extract the first word of "cc", so it can be a program name with args. |
3075 |
set dummy cc; ac_word=$2 |
3076 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3077 |
$as_echo_n "checking for $ac_word... " >&6; } |
3078 |
if ${ac_cv_prog_CC+:} false; then : |
3079 |
$as_echo_n "(cached) " >&6 |
3080 |
else |
3081 |
if test -n "$CC"; then |
3082 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3083 |
else |
3084 |
ac_prog_rejected=no |
3085 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3086 |
for as_dir in $PATH |
3087 |
do |
3088 |
IFS=$as_save_IFS |
3089 |
test -z "$as_dir" && as_dir=. |
3090 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3091 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3092 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3093 |
ac_prog_rejected=yes |
3094 |
continue |
3095 |
fi |
3096 |
ac_cv_prog_CC="cc" |
3097 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3098 |
break 2 |
3099 |
fi |
3100 |
done |
3101 |
done |
3102 |
IFS=$as_save_IFS |
3103 |
|
3104 |
if test $ac_prog_rejected = yes; then |
3105 |
# We found a bogon in the path, so make sure we never use it. |
3106 |
set dummy $ac_cv_prog_CC |
3107 |
shift |
3108 |
if test $# != 0; then |
3109 |
# We chose a different compiler from the bogus one. |
3110 |
# However, it has the same basename, so the bogon will be chosen |
3111 |
# first if we set CC to just the basename; use the full file name. |
3112 |
shift |
3113 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3114 |
fi |
3115 |
fi |
3116 |
fi |
3117 |
fi |
3118 |
CC=$ac_cv_prog_CC |
3119 |
if test -n "$CC"; then |
3120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3121 |
$as_echo "$CC" >&6; } |
3122 |
else |
3123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3124 |
$as_echo "no" >&6; } |
3125 |
fi |
3126 |
|
3127 |
|
3128 |
fi |
3129 |
if test -z "$CC"; then |
3130 |
if test -n "$ac_tool_prefix"; then |
3131 |
for ac_prog in cl.exe |
3132 |
do |
3133 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3134 |
set dummy $ac_tool_prefix$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_CC+:} false; then : |
3138 |
$as_echo_n "(cached) " >&6 |
3139 |
else |
3140 |
if test -n "$CC"; then |
3141 |
ac_cv_prog_CC="$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_CC="$ac_tool_prefix$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 |
CC=$ac_cv_prog_CC |
3161 |
if test -n "$CC"; then |
3162 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3163 |
$as_echo "$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 "$CC" && break |
3171 |
done |
3172 |
fi |
3173 |
if test -z "$CC"; then |
3174 |
ac_ct_CC=$CC |
3175 |
for ac_prog in cl.exe |
3176 |
do |
3177 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3178 |
set dummy $ac_prog; ac_word=$2 |
3179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3180 |
$as_echo_n "checking for $ac_word... " >&6; } |
3181 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3182 |
$as_echo_n "(cached) " >&6 |
3183 |
else |
3184 |
if test -n "$ac_ct_CC"; then |
3185 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3186 |
else |
3187 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3188 |
for as_dir in $PATH |
3189 |
do |
3190 |
IFS=$as_save_IFS |
3191 |
test -z "$as_dir" && as_dir=. |
3192 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3193 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3194 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
3195 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3196 |
break 2 |
3197 |
fi |
3198 |
done |
3199 |
done |
3200 |
IFS=$as_save_IFS |
3201 |
|
3202 |
fi |
3203 |
fi |
3204 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3205 |
if test -n "$ac_ct_CC"; then |
3206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3207 |
$as_echo "$ac_ct_CC" >&6; } |
3208 |
else |
3209 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3210 |
$as_echo "no" >&6; } |
3211 |
fi |
3212 |
|
3213 |
|
3214 |
test -n "$ac_ct_CC" && break |
3215 |
done |
3216 |
|
3217 |
if test "x$ac_ct_CC" = x; then |
3218 |
CC="" |
3219 |
else |
3220 |
case $cross_compiling:$ac_tool_warned in |
3221 |
yes:) |
3222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3223 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3224 |
ac_tool_warned=yes ;; |
3225 |
esac |
3226 |
CC=$ac_ct_CC |
3227 |
fi |
3228 |
fi |
3229 |
|
3230 |
fi |
3231 |
|
3232 |
|
3233 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3234 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3235 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3236 |
See \`config.log' for more details" "$LINENO" 5; } |
3237 |
|
3238 |
# Provide some information about the compiler. |
3239 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3240 |
set X $ac_compile |
3241 |
ac_compiler=$2 |
3242 |
for ac_option in --version -v -V -qversion; do |
3243 |
{ { ac_try="$ac_compiler $ac_option >&5" |
3244 |
case "(($ac_try" in |
3245 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3246 |
*) ac_try_echo=$ac_try;; |
3247 |
esac |
3248 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3249 |
$as_echo "$ac_try_echo"; } >&5 |
3250 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3251 |
ac_status=$? |
3252 |
if test -s conftest.err; then |
3253 |
sed '10a\ |
3254 |
... rest of stderr output deleted ... |
3255 |
10q' conftest.err >conftest.er1 |
3256 |
cat conftest.er1 >&5 |
3257 |
fi |
3258 |
rm -f conftest.er1 conftest.err |
3259 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3260 |
test $ac_status = 0; } |
3261 |
done |
3262 |
|
3263 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3264 |
/* end confdefs.h. */ |
3265 |
|
3266 |
int |
3267 |
main () |
3268 |
{ |
3269 |
|
3270 |
; |
3271 |
return 0; |
3272 |
} |
3273 |
_ACEOF |
3274 |
ac_clean_files_save=$ac_clean_files |
3275 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3276 |
# Try to create an executable without -o first, disregard a.out. |
3277 |
# It will help us diagnose broken compilers, and finding out an intuition |
3278 |
# of exeext. |
3279 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3280 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3281 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3282 |
|
3283 |
# The possible output files: |
3284 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3285 |
|
3286 |
ac_rmfiles= |
3287 |
for ac_file in $ac_files |
3288 |
do |
3289 |
case $ac_file in |
3290 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3291 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3292 |
esac |
3293 |
done |
3294 |
rm -f $ac_rmfiles |
3295 |
|
3296 |
if { { ac_try="$ac_link_default" |
3297 |
case "(($ac_try" in |
3298 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3299 |
*) ac_try_echo=$ac_try;; |
3300 |
esac |
3301 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3302 |
$as_echo "$ac_try_echo"; } >&5 |
3303 |
(eval "$ac_link_default") 2>&5 |
3304 |
ac_status=$? |
3305 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3306 |
test $ac_status = 0; }; then : |
3307 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3308 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3309 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
3310 |
# so that the user can short-circuit this test for compilers unknown to |
3311 |
# Autoconf. |
3312 |
for ac_file in $ac_files '' |
3313 |
do |
3314 |
test -f "$ac_file" || continue |
3315 |
case $ac_file in |
3316 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3317 |
;; |
3318 |
[ab].out ) |
3319 |
# We found the default executable, but exeext='' is most |
3320 |
# certainly right. |
3321 |
break;; |
3322 |
*.* ) |
3323 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3324 |
then :; else |
3325 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3326 |
fi |
3327 |
# We set ac_cv_exeext here because the later test for it is not |
3328 |
# safe: cross compilers may not add the suffix if given an `-o' |
3329 |
# argument, so we may need to know it at that point already. |
3330 |
# Even if this section looks crufty: it has the advantage of |
3331 |
# actually working. |
3332 |
break;; |
3333 |
* ) |
3334 |
break;; |
3335 |
esac |
3336 |
done |
3337 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3338 |
|
3339 |
else |
3340 |
ac_file='' |
3341 |
fi |
3342 |
if test -z "$ac_file"; then : |
3343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3344 |
$as_echo "no" >&6; } |
3345 |
$as_echo "$as_me: failed program was:" >&5 |
3346 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3347 |
|
3348 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3349 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3350 |
as_fn_error 77 "C compiler cannot create executables |
3351 |
See \`config.log' for more details" "$LINENO" 5; } |
3352 |
else |
3353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3354 |
$as_echo "yes" >&6; } |
3355 |
fi |
3356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3357 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3358 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3359 |
$as_echo "$ac_file" >&6; } |
3360 |
ac_exeext=$ac_cv_exeext |
3361 |
|
3362 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3363 |
ac_clean_files=$ac_clean_files_save |
3364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3365 |
$as_echo_n "checking for suffix of executables... " >&6; } |
3366 |
if { { ac_try="$ac_link" |
3367 |
case "(($ac_try" in |
3368 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3369 |
*) ac_try_echo=$ac_try;; |
3370 |
esac |
3371 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3372 |
$as_echo "$ac_try_echo"; } >&5 |
3373 |
(eval "$ac_link") 2>&5 |
3374 |
ac_status=$? |
3375 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3376 |
test $ac_status = 0; }; then : |
3377 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
3378 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3379 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
3380 |
# `rm'. |
3381 |
for ac_file in conftest.exe conftest conftest.*; do |
3382 |
test -f "$ac_file" || continue |
3383 |
case $ac_file in |
3384 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3385 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3386 |
break;; |
3387 |
* ) break;; |
3388 |
esac |
3389 |
done |
3390 |
else |
3391 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3392 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3393 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3394 |
See \`config.log' for more details" "$LINENO" 5; } |
3395 |
fi |
3396 |
rm -f conftest conftest$ac_cv_exeext |
3397 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3398 |
$as_echo "$ac_cv_exeext" >&6; } |
3399 |
|
3400 |
rm -f conftest.$ac_ext |
3401 |
EXEEXT=$ac_cv_exeext |
3402 |
ac_exeext=$EXEEXT |
3403 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3404 |
/* end confdefs.h. */ |
3405 |
#include <stdio.h> |
3406 |
int |
3407 |
main () |
3408 |
{ |
3409 |
FILE *f = fopen ("conftest.out", "w"); |
3410 |
return ferror (f) || fclose (f) != 0; |
3411 |
|
3412 |
; |
3413 |
return 0; |
3414 |
} |
3415 |
_ACEOF |
3416 |
ac_clean_files="$ac_clean_files conftest.out" |
3417 |
# Check that the compiler produces executables we can run. If not, either |
3418 |
# the compiler is broken, or we cross compile. |
3419 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3420 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3421 |
if test "$cross_compiling" != yes; then |
3422 |
{ { ac_try="$ac_link" |
3423 |
case "(($ac_try" in |
3424 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3425 |
*) ac_try_echo=$ac_try;; |
3426 |
esac |
3427 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3428 |
$as_echo "$ac_try_echo"; } >&5 |
3429 |
(eval "$ac_link") 2>&5 |
3430 |
ac_status=$? |
3431 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3432 |
test $ac_status = 0; } |
3433 |
if { ac_try='./conftest$ac_cv_exeext' |
3434 |
{ { case "(($ac_try" in |
3435 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3436 |
*) ac_try_echo=$ac_try;; |
3437 |
esac |
3438 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3439 |
$as_echo "$ac_try_echo"; } >&5 |
3440 |
(eval "$ac_try") 2>&5 |
3441 |
ac_status=$? |
3442 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3443 |
test $ac_status = 0; }; }; then |
3444 |
cross_compiling=no |
3445 |
else |
3446 |
if test "$cross_compiling" = maybe; then |
3447 |
cross_compiling=yes |
3448 |
else |
3449 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3450 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3451 |
as_fn_error $? "cannot run C compiled programs. |
3452 |
If you meant to cross compile, use \`--host'. |
3453 |
See \`config.log' for more details" "$LINENO" 5; } |
3454 |
fi |
3455 |
fi |
3456 |
fi |
3457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3458 |
$as_echo "$cross_compiling" >&6; } |
3459 |
|
3460 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3461 |
ac_clean_files=$ac_clean_files_save |
3462 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3463 |
$as_echo_n "checking for suffix of object files... " >&6; } |
3464 |
if ${ac_cv_objext+:} false; then : |
3465 |
$as_echo_n "(cached) " >&6 |
3466 |
else |
3467 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3468 |
/* end confdefs.h. */ |
3469 |
|
3470 |
int |
3471 |
main () |
3472 |
{ |
3473 |
|
3474 |
; |
3475 |
return 0; |
3476 |
} |
3477 |
_ACEOF |
3478 |
rm -f conftest.o conftest.obj |
3479 |
if { { ac_try="$ac_compile" |
3480 |
case "(($ac_try" in |
3481 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3482 |
*) ac_try_echo=$ac_try;; |
3483 |
esac |
3484 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3485 |
$as_echo "$ac_try_echo"; } >&5 |
3486 |
(eval "$ac_compile") 2>&5 |
3487 |
ac_status=$? |
3488 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3489 |
test $ac_status = 0; }; then : |
3490 |
for ac_file in conftest.o conftest.obj conftest.*; do |
3491 |
test -f "$ac_file" || continue; |
3492 |
case $ac_file in |
3493 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3494 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3495 |
break;; |
3496 |
esac |
3497 |
done |
3498 |
else |
3499 |
$as_echo "$as_me: failed program was:" >&5 |
3500 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3501 |
|
3502 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3503 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3504 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3505 |
See \`config.log' for more details" "$LINENO" 5; } |
3506 |
fi |
3507 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3508 |
fi |
3509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3510 |
$as_echo "$ac_cv_objext" >&6; } |
3511 |
OBJEXT=$ac_cv_objext |
3512 |
ac_objext=$OBJEXT |
3513 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3514 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3515 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
3516 |
$as_echo_n "(cached) " >&6 |
3517 |
else |
3518 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3519 |
/* end confdefs.h. */ |
3520 |
|
3521 |
int |
3522 |
main () |
3523 |
{ |
3524 |
#ifndef __GNUC__ |
3525 |
choke me |
3526 |
#endif |
3527 |
|
3528 |
; |
3529 |
return 0; |
3530 |
} |
3531 |
_ACEOF |
3532 |
if ac_fn_c_try_compile "$LINENO"; then : |
3533 |
ac_compiler_gnu=yes |
3534 |
else |
3535 |
ac_compiler_gnu=no |
3536 |
fi |
3537 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3538 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3539 |
|
3540 |
fi |
3541 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3542 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3543 |
if test $ac_compiler_gnu = yes; then |
3544 |
GCC=yes |
3545 |
else |
3546 |
GCC= |
3547 |
fi |
3548 |
ac_test_CFLAGS=${CFLAGS+set} |
3549 |
ac_save_CFLAGS=$CFLAGS |
3550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3551 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
3552 |
if ${ac_cv_prog_cc_g+:} false; then : |
3553 |
$as_echo_n "(cached) " >&6 |
3554 |
else |
3555 |
ac_save_c_werror_flag=$ac_c_werror_flag |
3556 |
ac_c_werror_flag=yes |
3557 |
ac_cv_prog_cc_g=no |
3558 |
CFLAGS="-g" |
3559 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3560 |
/* end confdefs.h. */ |
3561 |
|
3562 |
int |
3563 |
main () |
3564 |
{ |
3565 |
|
3566 |
; |
3567 |
return 0; |
3568 |
} |
3569 |
_ACEOF |
3570 |
if ac_fn_c_try_compile "$LINENO"; then : |
3571 |
ac_cv_prog_cc_g=yes |
3572 |
else |
3573 |
CFLAGS="" |
3574 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3575 |
/* end confdefs.h. */ |
3576 |
|
3577 |
int |
3578 |
main () |
3579 |
{ |
3580 |
|
3581 |
; |
3582 |
return 0; |
3583 |
} |
3584 |
_ACEOF |
3585 |
if ac_fn_c_try_compile "$LINENO"; then : |
3586 |
|
3587 |
else |
3588 |
ac_c_werror_flag=$ac_save_c_werror_flag |
3589 |
CFLAGS="-g" |
3590 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3591 |
/* end confdefs.h. */ |
3592 |
|
3593 |
int |
3594 |
main () |
3595 |
{ |
3596 |
|
3597 |
; |
3598 |
return 0; |
3599 |
} |
3600 |
_ACEOF |
3601 |
if ac_fn_c_try_compile "$LINENO"; then : |
3602 |
ac_cv_prog_cc_g=yes |
3603 |
fi |
3604 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3605 |
fi |
3606 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3607 |
fi |
3608 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3609 |
ac_c_werror_flag=$ac_save_c_werror_flag |
3610 |
fi |
3611 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3612 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
3613 |
if test "$ac_test_CFLAGS" = set; then |
3614 |
CFLAGS=$ac_save_CFLAGS |
3615 |
elif test $ac_cv_prog_cc_g = yes; then |
3616 |
if test "$GCC" = yes; then |
3617 |
CFLAGS="-g -O2" |
3618 |
else |
3619 |
CFLAGS="-g" |
3620 |
fi |
3621 |
else |
3622 |
if test "$GCC" = yes; then |
3623 |
CFLAGS="-O2" |
3624 |
else |
3625 |
CFLAGS= |
3626 |
fi |
3627 |
fi |
3628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3629 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3630 |
if ${ac_cv_prog_cc_c89+:} false; then : |
3631 |
$as_echo_n "(cached) " >&6 |
3632 |
else |
3633 |
ac_cv_prog_cc_c89=no |
3634 |
ac_save_CC=$CC |
3635 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3636 |
/* end confdefs.h. */ |
3637 |
#include <stdarg.h> |
3638 |
#include <stdio.h> |
3639 |
struct stat; |
3640 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3641 |
struct buf { int x; }; |
3642 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3643 |
static char *e (p, i) |
3644 |
char **p; |
3645 |
int i; |
3646 |
{ |
3647 |
return p[i]; |
3648 |
} |
3649 |
static char *f (char * (*g) (char **, int), char **p, ...) |
3650 |
{ |
3651 |
char *s; |
3652 |
va_list v; |
3653 |
va_start (v,p); |
3654 |
s = g (p, va_arg (v,int)); |
3655 |
va_end (v); |
3656 |
return s; |
3657 |
} |
3658 |
|
3659 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3660 |
function prototypes and stuff, but not '\xHH' hex character constants. |
3661 |
These don't provoke an error unfortunately, instead are silently treated |
3662 |
as 'x'. The following induces an error, until -std is added to get |
3663 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3664 |
array size at least. It's necessary to write '\x00'==0 to get something |
3665 |
that's true only with -std. */ |
3666 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3667 |
|
3668 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3669 |
inside strings and character constants. */ |
3670 |
#define FOO(x) 'x' |
3671 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
3672 |
|
3673 |
int test (int i, double x); |
3674 |
struct s1 {int (*f) (int a);}; |
3675 |
struct s2 {int (*f) (double a);}; |
3676 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3677 |
int argc; |
3678 |
char **argv; |
3679 |
int |
3680 |
main () |
3681 |
{ |
3682 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3683 |
; |
3684 |
return 0; |
3685 |
} |
3686 |
_ACEOF |
3687 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3688 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3689 |
do |
3690 |
CC="$ac_save_CC $ac_arg" |
3691 |
if ac_fn_c_try_compile "$LINENO"; then : |
3692 |
ac_cv_prog_cc_c89=$ac_arg |
3693 |
fi |
3694 |
rm -f core conftest.err conftest.$ac_objext |
3695 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
3696 |
done |
3697 |
rm -f conftest.$ac_ext |
3698 |
CC=$ac_save_CC |
3699 |
|
3700 |
fi |
3701 |
# AC_CACHE_VAL |
3702 |
case "x$ac_cv_prog_cc_c89" in |
3703 |
x) |
3704 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
3705 |
$as_echo "none needed" >&6; } ;; |
3706 |
xno) |
3707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3708 |
$as_echo "unsupported" >&6; } ;; |
3709 |
*) |
3710 |
CC="$CC $ac_cv_prog_cc_c89" |
3711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
3712 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3713 |
esac |
3714 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
3715 |
|
3716 |
fi |
3717 |
|
3718 |
ac_ext=c |
3719 |
ac_cpp='$CPP $CPPFLAGS' |
3720 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3721 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3722 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3723 |
|
3724 |
ac_ext=c |
3725 |
ac_cpp='$CPP $CPPFLAGS' |
3726 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3727 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3728 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3730 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3731 |
if ${am_cv_prog_cc_c_o+:} false; then : |
3732 |
$as_echo_n "(cached) " >&6 |
3733 |
else |
3734 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3735 |
/* end confdefs.h. */ |
3736 |
|
3737 |
int |
3738 |
main () |
3739 |
{ |
3740 |
|
3741 |
; |
3742 |
return 0; |
3743 |
} |
3744 |
_ACEOF |
3745 |
# Make sure it works both with $CC and with simple cc. |
3746 |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3747 |
# compilers refuse to overwrite an existing .o file with -o, |
3748 |
# though they will create one. |
3749 |
am_cv_prog_cc_c_o=yes |
3750 |
for am_i in 1 2; do |
3751 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3752 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3753 |
ac_status=$? |
3754 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3755 |
(exit $ac_status); } \ |
3756 |
&& test -f conftest2.$ac_objext; then |
3757 |
: OK |
3758 |
else |
3759 |
am_cv_prog_cc_c_o=no |
3760 |
break |
3761 |
fi |
3762 |
done |
3763 |
rm -f core conftest* |
3764 |
unset am_i |
3765 |
fi |
3766 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3767 |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3768 |
if test "$am_cv_prog_cc_c_o" != yes; then |
3769 |
# Losing compiler, so override with the script. |
3770 |
# FIXME: It is wrong to rewrite CC. |
3771 |
# But if we don't then we get into trouble of one sort or another. |
3772 |
# A longer-term fix would be to have automake use am__CC in this case, |
3773 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3774 |
CC="$am_aux_dir/compile $CC" |
3775 |
fi |
3776 |
ac_ext=c |
3777 |
ac_cpp='$CPP $CPPFLAGS' |
3778 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3779 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3780 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3781 |
|
3782 |
|
3783 |
depcc="$CC" am_compiler_list= |
3784 |
|
3785 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3786 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
3787 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3788 |
$as_echo_n "(cached) " >&6 |
3789 |
else |
3790 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3791 |
# We make a subdir and do the tests there. Otherwise we can end up |
3792 |
# making bogus files that we don't know about and never remove. For |
3793 |
# instance it was reported that on HP-UX the gcc test will end up |
3794 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
3795 |
# in D". |
3796 |
rm -rf conftest.dir |
3797 |
mkdir conftest.dir |
3798 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
3799 |
# using a relative directory. |
3800 |
cp "$am_depcomp" conftest.dir |
3801 |
cd conftest.dir |
3802 |
# We will build objects and dependencies in a subdirectory because |
3803 |
# it helps to detect inapplicable dependency modes. For instance |
3804 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
3805 |
# side effect of compilation, but ICC will put the dependencies in |
3806 |
# the current directory while Tru64 will put them in the object |
3807 |
# directory. |
3808 |
mkdir sub |
3809 |
|
3810 |
am_cv_CC_dependencies_compiler_type=none |
3811 |
if test "$am_compiler_list" = ""; then |
3812 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3813 |
fi |
3814 |
am__universal=false |
3815 |
case " $depcc " in #( |
3816 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
3817 |
esac |
3818 |
|
3819 |
for depmode in $am_compiler_list; do |
3820 |
# Setup a source with many dependencies, because some compilers |
3821 |
# like to wrap large dependency lists on column 80 (with \), and |
3822 |
# we should not choose a depcomp mode which is confused by this. |
3823 |
# |
3824 |
# We need to recreate these files for each test, as the compiler may |
3825 |
# overwrite some of them when testing with obscure command lines. |
3826 |
# This happens at least with the AIX C compiler. |
3827 |
: > sub/conftest.c |
3828 |
for i in 1 2 3 4 5 6; do |
3829 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3830 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
3831 |
# Solaris 10 /bin/sh. |
3832 |
echo '/* dummy */' > sub/conftst$i.h |
3833 |
done |
3834 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3835 |
|
3836 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
3837 |
# mode. It turns out that the SunPro C++ compiler does not properly |
3838 |
# handle '-M -o', and we need to detect this. Also, some Intel |
3839 |
# versions had trouble with output in subdirs. |
3840 |
am__obj=sub/conftest.${OBJEXT-o} |
3841 |
am__minus_obj="-o $am__obj" |
3842 |
case $depmode in |
3843 |
gcc) |
3844 |
# This depmode causes a compiler race in universal mode. |
3845 |
test "$am__universal" = false || continue |
3846 |
;; |
3847 |
nosideeffect) |
3848 |
# After this tag, mechanisms are not by side-effect, so they'll |
3849 |
# only be used when explicitly requested. |
3850 |
if test "x$enable_dependency_tracking" = xyes; then |
3851 |
continue |
3852 |
else |
3853 |
break |
3854 |
fi |
3855 |
;; |
3856 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3857 |
# This compiler won't grok '-c -o', but also, the minuso test has |
3858 |
# not run yet. These depmodes are late enough in the game, and |
3859 |
# so weak that their functioning should not be impacted. |
3860 |
am__obj=conftest.${OBJEXT-o} |
3861 |
am__minus_obj= |
3862 |
;; |
3863 |
none) break ;; |
3864 |
esac |
3865 |
if depmode=$depmode \ |
3866 |
source=sub/conftest.c object=$am__obj \ |
3867 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3868 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
3869 |
>/dev/null 2>conftest.err && |
3870 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3871 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3872 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
3873 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3874 |
# icc doesn't choke on unknown options, it will just issue warnings |
3875 |
# or remarks (even with -Werror). So we grep stderr for any message |
3876 |
# that says an option was ignored or not supported. |
3877 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
3878 |
# icc: Command line warning: ignoring option '-M'; no argument required |
3879 |
# The diagnosis changed in icc 8.0: |
3880 |
# icc: Command line remark: option '-MP' not supported |
3881 |
if (grep 'ignoring option' conftest.err || |
3882 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3883 |
am_cv_CC_dependencies_compiler_type=$depmode |
3884 |
break |
3885 |
fi |
3886 |
fi |
3887 |
done |
3888 |
|
3889 |
cd .. |
3890 |
rm -rf conftest.dir |
3891 |
else |
3892 |
am_cv_CC_dependencies_compiler_type=none |
3893 |
fi |
3894 |
|
3895 |
fi |
3896 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3897 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
3898 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3899 |
|
3900 |
if |
3901 |
test "x$enable_dependency_tracking" != xno \ |
3902 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3903 |
am__fastdepCC_TRUE= |
3904 |
am__fastdepCC_FALSE='#' |
3905 |
else |
3906 |
am__fastdepCC_TRUE='#' |
3907 |
am__fastdepCC_FALSE= |
3908 |
fi |
3909 |
|
3910 |
|
3911 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
3912 |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
3913 |
if ${ac_cv_prog_cc_c99+:} false; then : |
3914 |
$as_echo_n "(cached) " >&6 |
3915 |
else |
3916 |
ac_cv_prog_cc_c99=no |
3917 |
ac_save_CC=$CC |
3918 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3919 |
/* end confdefs.h. */ |
3920 |
#include <stdarg.h> |
3921 |
#include <stdbool.h> |
3922 |
#include <stdlib.h> |
3923 |
#include <wchar.h> |
3924 |
#include <stdio.h> |
3925 |
|
3926 |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
3927 |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
3928 |
#define showlist(...) puts (#__VA_ARGS__) |
3929 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
3930 |
static void |
3931 |
test_varargs_macros (void) |
3932 |
{ |
3933 |
int x = 1234; |
3934 |
int y = 5678; |
3935 |
debug ("Flag"); |
3936 |
debug ("X = %d\n", x); |
3937 |
showlist (The first, second, and third items.); |
3938 |
report (x>y, "x is %d but y is %d", x, y); |
3939 |
} |
3940 |
|
3941 |
// Check long long types. |
3942 |
#define BIG64 18446744073709551615ull |
3943 |
#define BIG32 4294967295ul |
3944 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
3945 |
#if !BIG_OK |
3946 |
your preprocessor is broken; |
3947 |
#endif |
3948 |
#if BIG_OK |
3949 |
#else |
3950 |
your preprocessor is broken; |
3951 |
#endif |
3952 |
static long long int bignum = -9223372036854775807LL; |
3953 |
static unsigned long long int ubignum = BIG64; |
3954 |
|
3955 |
struct incomplete_array |
3956 |
{ |
3957 |
int datasize; |
3958 |
double data[]; |
3959 |
}; |
3960 |
|
3961 |
struct named_init { |
3962 |
int number; |
3963 |
const wchar_t *name; |
3964 |
double average; |
3965 |
}; |
3966 |
|
3967 |
typedef const char *ccp; |
3968 |
|
3969 |
static inline int |
3970 |
test_restrict (ccp restrict text) |
3971 |
{ |
3972 |
// See if C++-style comments work. |
3973 |
// Iterate through items via the restricted pointer. |
3974 |
// Also check for declarations in for loops. |
3975 |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
3976 |
continue; |
3977 |
return 0; |
3978 |
} |
3979 |
|
3980 |
// Check varargs and va_copy. |
3981 |
static void |
3982 |
test_varargs (const char *format, ...) |
3983 |
{ |
3984 |
va_list args; |
3985 |
va_start (args, format); |
3986 |
va_list args_copy; |
3987 |
va_copy (args_copy, args); |
3988 |
|
3989 |
const char *str; |
3990 |
int number; |
3991 |
float fnumber; |
3992 |
|
3993 |
while (*format) |
3994 |
{ |
3995 |
switch (*format++) |
3996 |
{ |
3997 |
case 's': // string |
3998 |
str = va_arg (args_copy, const char *); |
3999 |
break; |
4000 |
case 'd': // int |
4001 |
number = va_arg (args_copy, int); |
4002 |
break; |
4003 |
case 'f': // float |
4004 |
fnumber = va_arg (args_copy, double); |
4005 |
break; |
4006 |
default: |
4007 |
break; |
4008 |
} |
4009 |
} |
4010 |
va_end (args_copy); |
4011 |
va_end (args); |
4012 |
} |
4013 |
|
4014 |
int |
4015 |
main () |
4016 |
{ |
4017 |
|
4018 |
// Check bool. |
4019 |
_Bool success = false; |
4020 |
|
4021 |
// Check restrict. |
4022 |
if (test_restrict ("String literal") == 0) |
4023 |
success = true; |
4024 |
char *restrict newvar = "Another string"; |
4025 |
|
4026 |
// Check varargs. |
4027 |
test_varargs ("s, d' f .", "string", 65, 34.234); |
4028 |
test_varargs_macros (); |
4029 |
|
4030 |
// Check flexible array members. |
4031 |
struct incomplete_array *ia = |
4032 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
4033 |
ia->datasize = 10; |
4034 |
for (int i = 0; i < ia->datasize; ++i) |
4035 |
ia->data[i] = i * 1.234; |
4036 |
|
4037 |
// Check named initializers. |
4038 |
struct named_init ni = { |
4039 |
.number = 34, |
4040 |
.name = L"Test wide string", |
4041 |
.average = 543.34343, |
4042 |
}; |
4043 |
|
4044 |
ni.number = 58; |
4045 |
|
4046 |
int dynamic_array[ni.number]; |
4047 |
dynamic_array[ni.number - 1] = 543; |
4048 |
|
4049 |
// work around unused variable warnings |
4050 |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
4051 |
|| dynamic_array[ni.number - 1] != 543); |
4052 |
|
4053 |
; |
4054 |
return 0; |
4055 |
} |
4056 |
_ACEOF |
4057 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
4058 |
do |
4059 |
CC="$ac_save_CC $ac_arg" |
4060 |
if ac_fn_c_try_compile "$LINENO"; then : |
4061 |
ac_cv_prog_cc_c99=$ac_arg |
4062 |
fi |
4063 |
rm -f core conftest.err conftest.$ac_objext |
4064 |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
4065 |
done |
4066 |
rm -f conftest.$ac_ext |
4067 |
CC=$ac_save_CC |
4068 |
|
4069 |
fi |
4070 |
# AC_CACHE_VAL |
4071 |
case "x$ac_cv_prog_cc_c99" in |
4072 |
x) |
4073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4074 |
$as_echo "none needed" >&6; } ;; |
4075 |
xno) |
4076 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4077 |
$as_echo "unsupported" >&6; } ;; |
4078 |
*) |
4079 |
CC="$CC $ac_cv_prog_cc_c99" |
4080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
4081 |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
4082 |
esac |
4083 |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
4084 |
|
4085 |
fi |
4086 |
|
4087 |
|
4088 |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4089 |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
4090 |
fi |
4091 |
case `pwd` in |
4092 |
*\ * | *\ *) |
4093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4094 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
4095 |
esac |
4096 |
|
4097 |
|
4098 |
|
4099 |
macro_version='2.4.4' |
4100 |
macro_revision='2.4.4' |
4101 |
|
4102 |
|
4103 |
|
4104 |
|
4105 |
|
4106 |
|
4107 |
|
4108 |
|
4109 |
|
4110 |
|
4111 |
|
4112 |
|
4113 |
|
4114 |
ltmain=$ac_aux_dir/ltmain.sh |
4115 |
|
4116 |
# Make sure we can run config.sub. |
4117 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4118 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4119 |
|
4120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4121 |
$as_echo_n "checking build system type... " >&6; } |
4122 |
if ${ac_cv_build+:} false; then : |
4123 |
$as_echo_n "(cached) " >&6 |
4124 |
else |
4125 |
ac_build_alias=$build_alias |
4126 |
test "x$ac_build_alias" = x && |
4127 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4128 |
test "x$ac_build_alias" = x && |
4129 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
4130 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4131 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4132 |
|
4133 |
fi |
4134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4135 |
$as_echo "$ac_cv_build" >&6; } |
4136 |
case $ac_cv_build in |
4137 |
*-*-*) ;; |
4138 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
4139 |
esac |
4140 |
build=$ac_cv_build |
4141 |
ac_save_IFS=$IFS; IFS='-' |
4142 |
set x $ac_cv_build |
4143 |
shift |
4144 |
build_cpu=$1 |
4145 |
build_vendor=$2 |
4146 |
shift; shift |
4147 |
# Remember, the first character of IFS is used to create $*, |
4148 |
# except with old shells: |
4149 |
build_os=$* |
4150 |
IFS=$ac_save_IFS |
4151 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
4152 |
|
4153 |
|
4154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
4155 |
$as_echo_n "checking host system type... " >&6; } |
4156 |
if ${ac_cv_host+:} false; then : |
4157 |
$as_echo_n "(cached) " >&6 |
4158 |
else |
4159 |
if test "x$host_alias" = x; then |
4160 |
ac_cv_host=$ac_cv_build |
4161 |
else |
4162 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4163 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4164 |
fi |
4165 |
|
4166 |
fi |
4167 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
4168 |
$as_echo "$ac_cv_host" >&6; } |
4169 |
case $ac_cv_host in |
4170 |
*-*-*) ;; |
4171 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
4172 |
esac |
4173 |
host=$ac_cv_host |
4174 |
ac_save_IFS=$IFS; IFS='-' |
4175 |
set x $ac_cv_host |
4176 |
shift |
4177 |
host_cpu=$1 |
4178 |
host_vendor=$2 |
4179 |
shift; shift |
4180 |
# Remember, the first character of IFS is used to create $*, |
4181 |
# except with old shells: |
4182 |
host_os=$* |
4183 |
IFS=$ac_save_IFS |
4184 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4185 |
|
4186 |
|
4187 |
# Backslashify metacharacters that are still active within |
4188 |
# double-quoted strings. |
4189 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4190 |
|
4191 |
# Same as above, but do not quote variable references. |
4192 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
4193 |
|
4194 |
# Sed substitution to delay expansion of an escaped shell variable in a |
4195 |
# double_quote_subst'ed string. |
4196 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
4197 |
|
4198 |
# Sed substitution to delay expansion of an escaped single quote. |
4199 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
4200 |
|
4201 |
# Sed substitution to avoid accidental globbing in evaled expressions |
4202 |
no_glob_subst='s/\*/\\\*/g' |
4203 |
|
4204 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4205 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
4206 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
4207 |
|
4208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
4209 |
$as_echo_n "checking how to print strings... " >&6; } |
4210 |
# Test print first, because it will be a builtin if present. |
4211 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
4212 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
4213 |
ECHO='print -r --' |
4214 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
4215 |
ECHO='printf %s\n' |
4216 |
else |
4217 |
# Use this function as a fallback that always works. |
4218 |
func_fallback_echo () |
4219 |
{ |
4220 |
eval 'cat <<_LTECHO_EOF |
4221 |
$1 |
4222 |
_LTECHO_EOF' |
4223 |
} |
4224 |
ECHO='func_fallback_echo' |
4225 |
fi |
4226 |
|
4227 |
# func_echo_all arg... |
4228 |
# Invoke $ECHO with all args, space-separated. |
4229 |
func_echo_all () |
4230 |
{ |
4231 |
$ECHO "" |
4232 |
} |
4233 |
|
4234 |
case $ECHO in |
4235 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4236 |
$as_echo "printf" >&6; } ;; |
4237 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4238 |
$as_echo "print -r" >&6; } ;; |
4239 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4240 |
$as_echo "cat" >&6; } ;; |
4241 |
esac |
4242 |
|
4243 |
|
4244 |
|
4245 |
|
4246 |
|
4247 |
|
4248 |
|
4249 |
|
4250 |
|
4251 |
|
4252 |
|
4253 |
|
4254 |
|
4255 |
|
4256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4257 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
4258 |
if ${ac_cv_path_SED+:} false; then : |
4259 |
$as_echo_n "(cached) " >&6 |
4260 |
else |
4261 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4262 |
for ac_i in 1 2 3 4 5 6 7; do |
4263 |
ac_script="$ac_script$as_nl$ac_script" |
4264 |
done |
4265 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
4266 |
{ ac_script=; unset ac_script;} |
4267 |
if test -z "$SED"; then |
4268 |
ac_path_SED_found=false |
4269 |
# Loop through the user's path and test for each of PROGNAME-LIST |
4270 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4271 |
for as_dir in $PATH |
4272 |
do |
4273 |
IFS=$as_save_IFS |
4274 |
test -z "$as_dir" && as_dir=. |
4275 |
for ac_prog in sed gsed; do |
4276 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4277 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4278 |
as_fn_executable_p "$ac_path_SED" || continue |
4279 |
# Check for GNU ac_path_SED and select it if it is found. |
4280 |
# Check for GNU $ac_path_SED |
4281 |
case `"$ac_path_SED" --version 2>&1` in |
4282 |
*GNU*) |
4283 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
4284 |
*) |
4285 |
ac_count=0 |
4286 |
$as_echo_n 0123456789 >"conftest.in" |
4287 |
while : |
4288 |
do |
4289 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4290 |
mv "conftest.tmp" "conftest.in" |
4291 |
cp "conftest.in" "conftest.nl" |
4292 |
$as_echo '' >> "conftest.nl" |
4293 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4294 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4295 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4296 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
4297 |
# Best one so far, save it but keep looking for a better one |
4298 |
ac_cv_path_SED="$ac_path_SED" |
4299 |
ac_path_SED_max=$ac_count |
4300 |
fi |
4301 |
# 10*(2^10) chars as input seems more than enough |
4302 |
test $ac_count -gt 10 && break |
4303 |
done |
4304 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4305 |
esac |
4306 |
|
4307 |
$ac_path_SED_found && break 3 |
4308 |
done |
4309 |
done |
4310 |
done |
4311 |
IFS=$as_save_IFS |
4312 |
if test -z "$ac_cv_path_SED"; then |
4313 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4314 |
fi |
4315 |
else |
4316 |
ac_cv_path_SED=$SED |
4317 |
fi |
4318 |
|
4319 |
fi |
4320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
4321 |
$as_echo "$ac_cv_path_SED" >&6; } |
4322 |
SED="$ac_cv_path_SED" |
4323 |
rm -f conftest.sed |
4324 |
|
4325 |
test -z "$SED" && SED=sed |
4326 |
Xsed="$SED -e 1s/^X//" |
4327 |
|
4328 |
|
4329 |
|
4330 |
|
4331 |
|
4332 |
|
4333 |
|
4334 |
|
4335 |
|
4336 |
|
4337 |
|
4338 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4339 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4340 |
if ${ac_cv_path_GREP+:} false; then : |
4341 |
$as_echo_n "(cached) " >&6 |
4342 |
else |
4343 |
if test -z "$GREP"; then |
4344 |
ac_path_GREP_found=false |
4345 |
# Loop through the user's path and test for each of PROGNAME-LIST |
4346 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4347 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4348 |
do |
4349 |
IFS=$as_save_IFS |
4350 |
test -z "$as_dir" && as_dir=. |
4351 |
for ac_prog in grep ggrep; do |
4352 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4353 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4354 |
as_fn_executable_p "$ac_path_GREP" || continue |
4355 |
# Check for GNU ac_path_GREP and select it if it is found. |
4356 |
# Check for GNU $ac_path_GREP |
4357 |
case `"$ac_path_GREP" --version 2>&1` in |
4358 |
*GNU*) |
4359 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4360 |
*) |
4361 |
ac_count=0 |
4362 |
$as_echo_n 0123456789 >"conftest.in" |
4363 |
while : |
4364 |
do |
4365 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4366 |
mv "conftest.tmp" "conftest.in" |
4367 |
cp "conftest.in" "conftest.nl" |
4368 |
$as_echo 'GREP' >> "conftest.nl" |
4369 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4370 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4371 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4372 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4373 |
# Best one so far, save it but keep looking for a better one |
4374 |
ac_cv_path_GREP="$ac_path_GREP" |
4375 |
ac_path_GREP_max=$ac_count |
4376 |
fi |
4377 |
# 10*(2^10) chars as input seems more than enough |
4378 |
test $ac_count -gt 10 && break |
4379 |
done |
4380 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4381 |
esac |
4382 |
|
4383 |
$ac_path_GREP_found && break 3 |
4384 |
done |
4385 |
done |
4386 |
done |
4387 |
IFS=$as_save_IFS |
4388 |
if test -z "$ac_cv_path_GREP"; then |
4389 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4390 |
fi |
4391 |
else |
4392 |
ac_cv_path_GREP=$GREP |
4393 |
fi |
4394 |
|
4395 |
fi |
4396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
4397 |
$as_echo "$ac_cv_path_GREP" >&6; } |
4398 |
GREP="$ac_cv_path_GREP" |
4399 |
|
4400 |
|
4401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4402 |
$as_echo_n "checking for egrep... " >&6; } |
4403 |
if ${ac_cv_path_EGREP+:} false; then : |
4404 |
$as_echo_n "(cached) " >&6 |
4405 |
else |
4406 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4407 |
then ac_cv_path_EGREP="$GREP -E" |
4408 |
else |
4409 |
if test -z "$EGREP"; then |
4410 |
ac_path_EGREP_found=false |
4411 |
# Loop through the user's path and test for each of PROGNAME-LIST |
4412 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4413 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4414 |
do |
4415 |
IFS=$as_save_IFS |
4416 |
test -z "$as_dir" && as_dir=. |
4417 |
for ac_prog in egrep; do |
4418 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4419 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4420 |
as_fn_executable_p "$ac_path_EGREP" || continue |
4421 |
# Check for GNU ac_path_EGREP and select it if it is found. |
4422 |
# Check for GNU $ac_path_EGREP |
4423 |
case `"$ac_path_EGREP" --version 2>&1` in |
4424 |
*GNU*) |
4425 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4426 |
*) |
4427 |
ac_count=0 |
4428 |
$as_echo_n 0123456789 >"conftest.in" |
4429 |
while : |
4430 |
do |
4431 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4432 |
mv "conftest.tmp" "conftest.in" |
4433 |
cp "conftest.in" "conftest.nl" |
4434 |
$as_echo 'EGREP' >> "conftest.nl" |
4435 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4436 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4437 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4438 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4439 |
# Best one so far, save it but keep looking for a better one |
4440 |
ac_cv_path_EGREP="$ac_path_EGREP" |
4441 |
ac_path_EGREP_max=$ac_count |
4442 |
fi |
4443 |
# 10*(2^10) chars as input seems more than enough |
4444 |
test $ac_count -gt 10 && break |
4445 |
done |
4446 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4447 |
esac |
4448 |
|
4449 |
$ac_path_EGREP_found && break 3 |
4450 |
done |
4451 |
done |
4452 |
done |
4453 |
IFS=$as_save_IFS |
4454 |
if test -z "$ac_cv_path_EGREP"; then |
4455 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4456 |
fi |
4457 |
else |
4458 |
ac_cv_path_EGREP=$EGREP |
4459 |
fi |
4460 |
|
4461 |
fi |
4462 |
fi |
4463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4464 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
4465 |
EGREP="$ac_cv_path_EGREP" |
4466 |
|
4467 |
|
4468 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4469 |
$as_echo_n "checking for fgrep... " >&6; } |
4470 |
if ${ac_cv_path_FGREP+:} false; then : |
4471 |
$as_echo_n "(cached) " >&6 |
4472 |
else |
4473 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
4474 |
then ac_cv_path_FGREP="$GREP -F" |
4475 |
else |
4476 |
if test -z "$FGREP"; then |
4477 |
ac_path_FGREP_found=false |
4478 |
# Loop through the user's path and test for each of PROGNAME-LIST |
4479 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4480 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4481 |
do |
4482 |
IFS=$as_save_IFS |
4483 |
test -z "$as_dir" && as_dir=. |
4484 |
for ac_prog in fgrep; do |
4485 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4486 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4487 |
as_fn_executable_p "$ac_path_FGREP" || continue |
4488 |
# Check for GNU ac_path_FGREP and select it if it is found. |
4489 |
# Check for GNU $ac_path_FGREP |
4490 |
case `"$ac_path_FGREP" --version 2>&1` in |
4491 |
*GNU*) |
4492 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
4493 |
*) |
4494 |
ac_count=0 |
4495 |
$as_echo_n 0123456789 >"conftest.in" |
4496 |
while : |
4497 |
do |
4498 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
4499 |
mv "conftest.tmp" "conftest.in" |
4500 |
cp "conftest.in" "conftest.nl" |
4501 |
$as_echo 'FGREP' >> "conftest.nl" |
4502 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4503 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4504 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4505 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
4506 |
# Best one so far, save it but keep looking for a better one |
4507 |
ac_cv_path_FGREP="$ac_path_FGREP" |
4508 |
ac_path_FGREP_max=$ac_count |
4509 |
fi |
4510 |
# 10*(2^10) chars as input seems more than enough |
4511 |
test $ac_count -gt 10 && break |
4512 |
done |
4513 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4514 |
esac |
4515 |
|
4516 |
$ac_path_FGREP_found && break 3 |
4517 |
done |
4518 |
done |
4519 |
done |
4520 |
IFS=$as_save_IFS |
4521 |
if test -z "$ac_cv_path_FGREP"; then |
4522 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4523 |
fi |
4524 |
else |
4525 |
ac_cv_path_FGREP=$FGREP |
4526 |
fi |
4527 |
|
4528 |
fi |
4529 |
fi |
4530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
4531 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
4532 |
FGREP="$ac_cv_path_FGREP" |
4533 |
|
4534 |
|
4535 |
test -z "$GREP" && GREP=grep |
4536 |
|
4537 |
|
4538 |
|
4539 |
|
4540 |
|
4541 |
|
4542 |
|
4543 |
|
4544 |
|
4545 |
|
4546 |
|
4547 |
|
4548 |
|
4549 |
|
4550 |
|
4551 |
|
4552 |
|
4553 |
|
4554 |
|
4555 |
# Check whether --with-gnu-ld was given. |
4556 |
if test "${with_gnu_ld+set}" = set; then : |
4557 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
4558 |
else |
4559 |
with_gnu_ld=no |
4560 |
fi |
4561 |
|
4562 |
ac_prog=ld |
4563 |
if test yes = "$GCC"; then |
4564 |
# Check if gcc -print-prog-name=ld gives a path. |
4565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
4566 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
4567 |
case $host in |
4568 |
*-*-mingw*) |
4569 |
# gcc leaves a trailing carriage return, which upsets mingw |
4570 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4571 |
*) |
4572 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
4573 |
esac |
4574 |
case $ac_prog in |
4575 |
# Accept absolute paths. |
4576 |
[\\/]* | ?:[\\/]*) |
4577 |
re_direlt='/[^/][^/]*/\.\./' |
4578 |
# Canonicalize the pathname of ld |
4579 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
4580 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
4581 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
4582 |
done |
4583 |
test -z "$LD" && LD=$ac_prog |
4584 |
;; |
4585 |
"") |
4586 |
# If it fails, then pretend we aren't using GCC. |
4587 |
ac_prog=ld |
4588 |
;; |
4589 |
*) |
4590 |
# If it is relative, then search for the first ld in PATH. |
4591 |
with_gnu_ld=unknown |
4592 |
;; |
4593 |
esac |
4594 |
elif test yes = "$with_gnu_ld"; then |
4595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
4596 |
$as_echo_n "checking for GNU ld... " >&6; } |
4597 |
else |
4598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4599 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
4600 |
fi |
4601 |
if ${lt_cv_path_LD+:} false; then : |
4602 |
$as_echo_n "(cached) " >&6 |
4603 |
else |
4604 |
if test -z "$LD"; then |
4605 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
4606 |
for ac_dir in $PATH; do |
4607 |
IFS=$lt_save_ifs |
4608 |
test -z "$ac_dir" && ac_dir=. |
4609 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
4610 |
lt_cv_path_LD=$ac_dir/$ac_prog |
4611 |
# Check to see if the program is GNU ld. I'd rather use --version, |
4612 |
# but apparently some variants of GNU ld only accept -v. |
4613 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
4614 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
4615 |
*GNU* | *'with BFD'*) |
4616 |
test no != "$with_gnu_ld" && break |
4617 |
;; |
4618 |
*) |
4619 |
test yes != "$with_gnu_ld" && break |
4620 |
;; |
4621 |
esac |
4622 |
fi |
4623 |
done |
4624 |
IFS=$lt_save_ifs |
4625 |
else |
4626 |
lt_cv_path_LD=$LD # Let the user override the test with a path. |
4627 |
fi |
4628 |
fi |
4629 |
|
4630 |
LD=$lt_cv_path_LD |
4631 |
if test -n "$LD"; then |
4632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
4633 |
$as_echo "$LD" >&6; } |
4634 |
else |
4635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4636 |
$as_echo "no" >&6; } |
4637 |
fi |
4638 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4640 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4641 |
if ${lt_cv_prog_gnu_ld+:} false; then : |
4642 |
$as_echo_n "(cached) " >&6 |
4643 |
else |
4644 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
4645 |
case `$LD -v 2>&1 </dev/null` in |
4646 |
*GNU* | *'with BFD'*) |
4647 |
lt_cv_prog_gnu_ld=yes |
4648 |
;; |
4649 |
*) |
4650 |
lt_cv_prog_gnu_ld=no |
4651 |
;; |
4652 |
esac |
4653 |
fi |
4654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
4655 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
4656 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
4657 |
|
4658 |
|
4659 |
|
4660 |
|
4661 |
|
4662 |
|
4663 |
|
4664 |
|
4665 |
|
4666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
4667 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
4668 |
if ${lt_cv_path_NM+:} false; then : |
4669 |
$as_echo_n "(cached) " >&6 |
4670 |
else |
4671 |
if test -n "$NM"; then |
4672 |
# Let the user override the test. |
4673 |
lt_cv_path_NM=$NM |
4674 |
else |
4675 |
lt_nm_to_check=${ac_tool_prefix}nm |
4676 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
4677 |
lt_nm_to_check="$lt_nm_to_check nm" |
4678 |
fi |
4679 |
for lt_tmp_nm in $lt_nm_to_check; do |
4680 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
4681 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
4682 |
IFS=$lt_save_ifs |
4683 |
test -z "$ac_dir" && ac_dir=. |
4684 |
tmp_nm=$ac_dir/$lt_tmp_nm |
4685 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
4686 |
# Check to see if the nm accepts a BSD-compat flag. |
4687 |
# Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
4688 |
# nm: unknown option "B" ignored |
4689 |
# Tru64's nm complains that /dev/null is an invalid object file |
4690 |
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
4691 |
case $build_os in |
4692 |
mingw*) lt_bad_file=conftest.nm/nofile ;; |
4693 |
*) lt_bad_file=/dev/null ;; |
4694 |
esac |
4695 |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in |
4696 |
*$lt_bad_file* | *'Invalid file or object type'*) |
4697 |
lt_cv_path_NM="$tmp_nm -B" |
4698 |
break 2 |
4699 |
;; |
4700 |
*) |
4701 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
4702 |
*/dev/null*) |
4703 |
lt_cv_path_NM="$tmp_nm -p" |
4704 |
break 2 |
4705 |
;; |
4706 |
*) |
4707 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
4708 |
continue # so that we can try to find one that supports BSD flags |
4709 |
;; |
4710 |
esac |
4711 |
;; |
4712 |
esac |
4713 |
fi |
4714 |
done |
4715 |
IFS=$lt_save_ifs |
4716 |
done |
4717 |
: ${lt_cv_path_NM=no} |
4718 |
fi |
4719 |
fi |
4720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
4721 |
$as_echo "$lt_cv_path_NM" >&6; } |
4722 |
if test no != "$lt_cv_path_NM"; then |
4723 |
NM=$lt_cv_path_NM |
4724 |
else |
4725 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
4726 |
if test -n "$DUMPBIN"; then : |
4727 |
# Let the user override the test. |
4728 |
else |
4729 |
if test -n "$ac_tool_prefix"; then |
4730 |
for ac_prog in dumpbin "link -dump" |
4731 |
do |
4732 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4733 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4735 |
$as_echo_n "checking for $ac_word... " >&6; } |
4736 |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
4737 |
$as_echo_n "(cached) " >&6 |
4738 |
else |
4739 |
if test -n "$DUMPBIN"; then |
4740 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
4741 |
else |
4742 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4743 |
for as_dir in $PATH |
4744 |
do |
4745 |
IFS=$as_save_IFS |
4746 |
test -z "$as_dir" && as_dir=. |
4747 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4748 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4749 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
4750 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4751 |
break 2 |
4752 |
fi |
4753 |
done |
4754 |
done |
4755 |
IFS=$as_save_IFS |
4756 |
|
4757 |
fi |
4758 |
fi |
4759 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
4760 |
if test -n "$DUMPBIN"; then |
4761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
4762 |
$as_echo "$DUMPBIN" >&6; } |
4763 |
else |
4764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4765 |
$as_echo "no" >&6; } |
4766 |
fi |
4767 |
|
4768 |
|
4769 |
test -n "$DUMPBIN" && break |
4770 |
done |
4771 |
fi |
4772 |
if test -z "$DUMPBIN"; then |
4773 |
ac_ct_DUMPBIN=$DUMPBIN |
4774 |
for ac_prog in dumpbin "link -dump" |
4775 |
do |
4776 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4777 |
set dummy $ac_prog; ac_word=$2 |
4778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4779 |
$as_echo_n "checking for $ac_word... " >&6; } |
4780 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
4781 |
$as_echo_n "(cached) " >&6 |
4782 |
else |
4783 |
if test -n "$ac_ct_DUMPBIN"; then |
4784 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
4785 |
else |
4786 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4787 |
for as_dir in $PATH |
4788 |
do |
4789 |
IFS=$as_save_IFS |
4790 |
test -z "$as_dir" && as_dir=. |
4791 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4792 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4793 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
4794 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4795 |
break 2 |
4796 |
fi |
4797 |
done |
4798 |
done |
4799 |
IFS=$as_save_IFS |
4800 |
|
4801 |
fi |
4802 |
fi |
4803 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
4804 |
if test -n "$ac_ct_DUMPBIN"; then |
4805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
4806 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
4807 |
else |
4808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4809 |
$as_echo "no" >&6; } |
4810 |
fi |
4811 |
|
4812 |
|
4813 |
test -n "$ac_ct_DUMPBIN" && break |
4814 |
done |
4815 |
|
4816 |
if test "x$ac_ct_DUMPBIN" = x; then |
4817 |
DUMPBIN=":" |
4818 |
else |
4819 |
case $cross_compiling:$ac_tool_warned in |
4820 |
yes:) |
4821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4822 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4823 |
ac_tool_warned=yes ;; |
4824 |
esac |
4825 |
DUMPBIN=$ac_ct_DUMPBIN |
4826 |
fi |
4827 |
fi |
4828 |
|
4829 |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
4830 |
*COFF*) |
4831 |
DUMPBIN="$DUMPBIN -symbols -headers" |
4832 |
;; |
4833 |
*) |
4834 |
DUMPBIN=: |
4835 |
;; |
4836 |
esac |
4837 |
fi |
4838 |
|
4839 |
if test : != "$DUMPBIN"; then |
4840 |
NM=$DUMPBIN |
4841 |
fi |
4842 |
fi |
4843 |
test -z "$NM" && NM=nm |
4844 |
|
4845 |
|
4846 |
|
4847 |
|
4848 |
|
4849 |
|
4850 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
4851 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
4852 |
if ${lt_cv_nm_interface+:} false; then : |
4853 |
$as_echo_n "(cached) " >&6 |
4854 |
else |
4855 |
lt_cv_nm_interface="BSD nm" |
4856 |
echo "int some_variable = 0;" > conftest.$ac_ext |
4857 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
4858 |
(eval "$ac_compile" 2>conftest.err) |
4859 |
cat conftest.err >&5 |
4860 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
4861 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
4862 |
cat conftest.err >&5 |
4863 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
4864 |
cat conftest.out >&5 |
4865 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
4866 |
lt_cv_nm_interface="MS dumpbin" |
4867 |
fi |
4868 |
rm -f conftest* |
4869 |
fi |
4870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
4871 |
$as_echo "$lt_cv_nm_interface" >&6; } |
4872 |
|
4873 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
4874 |
$as_echo_n "checking whether ln -s works... " >&6; } |
4875 |
LN_S=$as_ln_s |
4876 |
if test "$LN_S" = "ln -s"; then |
4877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4878 |
$as_echo "yes" >&6; } |
4879 |
else |
4880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
4881 |
$as_echo "no, using $LN_S" >&6; } |
4882 |
fi |
4883 |
|
4884 |
# find the maximum length of command line arguments |
4885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
4886 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
4887 |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
4888 |
$as_echo_n "(cached) " >&6 |
4889 |
else |
4890 |
i=0 |
4891 |
teststring=ABCD |
4892 |
|
4893 |
case $build_os in |
4894 |
msdosdjgpp*) |
4895 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
4896 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
4897 |
# during glob expansion). Even if it were fixed, the result of this |
4898 |
# check would be larger than it should be. |
4899 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
4900 |
;; |
4901 |
|
4902 |
gnu*) |
4903 |
# Under GNU Hurd, this test is not required because there is |
4904 |
# no limit to the length of command line arguments. |
4905 |
# Libtool will interpret -1 as no limit whatsoever |
4906 |
lt_cv_sys_max_cmd_len=-1; |
4907 |
;; |
4908 |
|
4909 |
cygwin* | mingw* | cegcc*) |
4910 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
4911 |
# about 5 minutes as the teststring grows exponentially. |
4912 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
4913 |
# you end up with a "frozen" computer, even though with patience |
4914 |
# the test eventually succeeds (with a max line length of 256k). |
4915 |
# Instead, let's just punt: use the minimum linelength reported by |
4916 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
4917 |
lt_cv_sys_max_cmd_len=8192; |
4918 |
;; |
4919 |
|
4920 |
mint*) |
4921 |
# On MiNT this can take a long time and run out of memory. |
4922 |
lt_cv_sys_max_cmd_len=8192; |
4923 |
;; |
4924 |
|
4925 |
amigaos*) |
4926 |
# On AmigaOS with pdksh, this test takes hours, literally. |
4927 |
# So we just punt and use a minimum line length of 8192. |
4928 |
lt_cv_sys_max_cmd_len=8192; |
4929 |
;; |
4930 |
|
4931 |
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
4932 |
# This has been around since 386BSD, at least. Likely further. |
4933 |
if test -x /sbin/sysctl; then |
4934 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
4935 |
elif test -x /usr/sbin/sysctl; then |
4936 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
4937 |
else |
4938 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
4939 |
fi |
4940 |
# And add a safety zone |
4941 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
4942 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
4943 |
;; |
4944 |
|
4945 |
interix*) |
4946 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
4947 |
lt_cv_sys_max_cmd_len=196608 |
4948 |
;; |
4949 |
|
4950 |
os2*) |
4951 |
# The test takes a long time on OS/2. |
4952 |
lt_cv_sys_max_cmd_len=8192 |
4953 |
;; |
4954 |
|
4955 |
osf*) |
4956 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
4957 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
4958 |
# nice to cause kernel panics so lets avoid the loop below. |
4959 |
# First set a reasonable default. |
4960 |
lt_cv_sys_max_cmd_len=16384 |
4961 |
# |
4962 |
if test -x /sbin/sysconfig; then |
4963 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
4964 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
4965 |
esac |
4966 |
fi |
4967 |
;; |
4968 |
sco3.2v5*) |
4969 |
lt_cv_sys_max_cmd_len=102400 |
4970 |
;; |
4971 |
sysv5* | sco5v6* | sysv4.2uw2*) |
4972 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
4973 |
if test -n "$kargmax"; then |
4974 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
4975 |
else |
4976 |
lt_cv_sys_max_cmd_len=32768 |
4977 |
fi |
4978 |
;; |
4979 |
*) |
4980 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
4981 |
if test -n "$lt_cv_sys_max_cmd_len" && \ |
4982 |
test undefined != "$lt_cv_sys_max_cmd_len"; then |
4983 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
4984 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
4985 |
else |
4986 |
# Make teststring a little bigger before we do anything with it. |
4987 |
# a 1K string should be a reasonable start. |
4988 |
for i in 1 2 3 4 5 6 7 8; do |
4989 |
teststring=$teststring$teststring |
4990 |
done |
4991 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
4992 |
# If test is not a shell built-in, we'll probably end up computing a |
4993 |
# maximum length that is only half of the actual maximum length, but |
4994 |
# we can't tell. |
4995 |
while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
4996 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
4997 |
test 17 != "$i" # 1/2 MB should be enough |
4998 |
do |
4999 |
i=`expr $i + 1` |
5000 |
teststring=$teststring$teststring |
5001 |
done |
5002 |
# Only check the string length outside the loop. |
5003 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
5004 |
teststring= |
5005 |
# Add a significant safety factor because C++ compilers can tack on |
5006 |
# massive amounts of additional arguments before passing them to the |
5007 |
# linker. It appears as though 1/2 is a usable value. |
5008 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
5009 |
fi |
5010 |
;; |
5011 |
esac |
5012 |
|
5013 |
fi |
5014 |
|
5015 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
5016 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
5017 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
5018 |
else |
5019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
5020 |
$as_echo "none" >&6; } |
5021 |
fi |
5022 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
5023 |
|
5024 |
|
5025 |
|
5026 |
|
5027 |
|
5028 |
|
5029 |
: ${CP="cp -f"} |
5030 |
: ${MV="mv -f"} |
5031 |
: ${RM="rm -f"} |
5032 |
|
5033 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
5034 |
lt_unset=unset |
5035 |
else |
5036 |
lt_unset=false |
5037 |
fi |
5038 |
|
5039 |
|
5040 |
|
5041 |
|
5042 |
|
5043 |
# test EBCDIC or ASCII |
5044 |
case `echo X|tr X '\101'` in |
5045 |
A) # ASCII based system |
5046 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
5047 |
lt_SP2NL='tr \040 \012' |
5048 |
lt_NL2SP='tr \015\012 \040\040' |
5049 |
;; |
5050 |
*) # EBCDIC based system |
5051 |
lt_SP2NL='tr \100 \n' |
5052 |
lt_NL2SP='tr \r\n \100\100' |
5053 |
;; |
5054 |
esac |
5055 |
|
5056 |
|
5057 |
|
5058 |
|
5059 |
|
5060 |
|
5061 |
|
5062 |
|
5063 |
|
5064 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5065 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
5066 |
if ${lt_cv_to_host_file_cmd+:} false; then : |
5067 |
$as_echo_n "(cached) " >&6 |
5068 |
else |
5069 |
case $host in |
5070 |
*-*-mingw* ) |
5071 |
case $build in |
5072 |
*-*-mingw* ) # actually msys |
5073 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5074 |
;; |
5075 |
*-*-cygwin* ) |
5076 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5077 |
;; |
5078 |
* ) # otherwise, assume *nix |
5079 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5080 |
;; |
5081 |
esac |
5082 |
;; |
5083 |
*-*-cygwin* ) |
5084 |
case $build in |
5085 |
*-*-mingw* ) # actually msys |
5086 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5087 |
;; |
5088 |
*-*-cygwin* ) |
5089 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5090 |
;; |
5091 |
* ) # otherwise, assume *nix |
5092 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5093 |
;; |
5094 |
esac |
5095 |
;; |
5096 |
* ) # unhandled hosts (and "normal" native builds) |
5097 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5098 |
;; |
5099 |
esac |
5100 |
|
5101 |
fi |
5102 |
|
5103 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
5104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
5105 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
5106 |
|
5107 |
|
5108 |
|
5109 |
|
5110 |
|
5111 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
5112 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
5113 |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
5114 |
$as_echo_n "(cached) " >&6 |
5115 |
else |
5116 |
#assume ordinary cross tools, or native build. |
5117 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
5118 |
case $host in |
5119 |
*-*-mingw* ) |
5120 |
case $build in |
5121 |
*-*-mingw* ) # actually msys |
5122 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
5123 |
;; |
5124 |
esac |
5125 |
;; |
5126 |
esac |
5127 |
|
5128 |
fi |
5129 |
|
5130 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
5131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
5132 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
5133 |
|
5134 |
|
5135 |
|
5136 |
|
5137 |
|
5138 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5139 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
5140 |
if ${lt_cv_ld_reload_flag+:} false; then : |
5141 |
$as_echo_n "(cached) " >&6 |
5142 |
else |
5143 |
lt_cv_ld_reload_flag='-r' |
5144 |
fi |
5145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
5146 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
5147 |
reload_flag=$lt_cv_ld_reload_flag |
5148 |
case $reload_flag in |
5149 |
"" | " "*) ;; |
5150 |
*) reload_flag=" $reload_flag" ;; |
5151 |
esac |
5152 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5153 |
case $host_os in |
5154 |
cygwin* | mingw* | pw32* | cegcc*) |
5155 |
if test yes != "$GCC"; then |
5156 |
reload_cmds=false |
5157 |
fi |
5158 |
;; |
5159 |
darwin*) |
5160 |
if test yes = "$GCC"; then |
5161 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
5162 |
else |
5163 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5164 |
fi |
5165 |
;; |
5166 |
esac |
5167 |
|
5168 |
|
5169 |
|
5170 |
|
5171 |
|
5172 |
|
5173 |
|
5174 |
|
5175 |
|
5176 |
if test -n "$ac_tool_prefix"; then |
5177 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
5178 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
5179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5180 |
$as_echo_n "checking for $ac_word... " >&6; } |
5181 |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
5182 |
$as_echo_n "(cached) " >&6 |
5183 |
else |
5184 |
if test -n "$OBJDUMP"; then |
5185 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
5186 |
else |
5187 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5188 |
for as_dir in $PATH |
5189 |
do |
5190 |
IFS=$as_save_IFS |
5191 |
test -z "$as_dir" && as_dir=. |
5192 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5193 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5194 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5195 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5196 |
break 2 |
5197 |
fi |
5198 |
done |
5199 |
done |
5200 |
IFS=$as_save_IFS |
5201 |
|
5202 |
fi |
5203 |
fi |
5204 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
5205 |
if test -n "$OBJDUMP"; then |
5206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
5207 |
$as_echo "$OBJDUMP" >&6; } |
5208 |
else |
5209 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5210 |
$as_echo "no" >&6; } |
5211 |
fi |
5212 |
|
5213 |
|
5214 |
fi |
5215 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
5216 |
ac_ct_OBJDUMP=$OBJDUMP |
5217 |
# Extract the first word of "objdump", so it can be a program name with args. |
5218 |
set dummy objdump; ac_word=$2 |
5219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5220 |
$as_echo_n "checking for $ac_word... " >&6; } |
5221 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
5222 |
$as_echo_n "(cached) " >&6 |
5223 |
else |
5224 |
if test -n "$ac_ct_OBJDUMP"; then |
5225 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
5226 |
else |
5227 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5228 |
for as_dir in $PATH |
5229 |
do |
5230 |
IFS=$as_save_IFS |
5231 |
test -z "$as_dir" && as_dir=. |
5232 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5233 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5234 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5235 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5236 |
break 2 |
5237 |
fi |
5238 |
done |
5239 |
done |
5240 |
IFS=$as_save_IFS |
5241 |
|
5242 |
fi |
5243 |
fi |
5244 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
5245 |
if test -n "$ac_ct_OBJDUMP"; then |
5246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
5247 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
5248 |
else |
5249 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5250 |
$as_echo "no" >&6; } |
5251 |
fi |
5252 |
|
5253 |
if test "x$ac_ct_OBJDUMP" = x; then |
5254 |
OBJDUMP="false" |
5255 |
else |
5256 |
case $cross_compiling:$ac_tool_warned in |
5257 |
yes:) |
5258 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5259 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5260 |
ac_tool_warned=yes ;; |
5261 |
esac |
5262 |
OBJDUMP=$ac_ct_OBJDUMP |
5263 |
fi |
5264 |
else |
5265 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
5266 |
fi |
5267 |
|
5268 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
5269 |
|
5270 |
|
5271 |
|
5272 |
|
5273 |
|
5274 |
|
5275 |
|
5276 |
|
5277 |
|
5278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
5279 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
5280 |
if ${lt_cv_deplibs_check_method+:} false; then : |
5281 |
$as_echo_n "(cached) " >&6 |
5282 |
else |
5283 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
5284 |
lt_cv_file_magic_test_file= |
5285 |
lt_cv_deplibs_check_method='unknown' |
5286 |
# Need to set the preceding variable on all platforms that support |
5287 |
# interlibrary dependencies. |
5288 |
# 'none' -- dependencies not supported. |
5289 |
# 'unknown' -- same as none, but documents that we really don't know. |
5290 |
# 'pass_all' -- all dependencies passed with no checks. |
5291 |
# 'test_compile' -- check by making test program. |
5292 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
5293 |
# that responds to the $file_magic_cmd with a given extended regex. |
5294 |
# If you have 'file' or equivalent on your system and you're not sure |
5295 |
# whether 'pass_all' will *always* work, you probably want this one. |
5296 |
|
5297 |
case $host_os in |
5298 |
aix[4-9]*) |
5299 |
lt_cv_deplibs_check_method=pass_all |
5300 |
;; |
5301 |
|
5302 |
beos*) |
5303 |
lt_cv_deplibs_check_method=pass_all |
5304 |
;; |
5305 |
|
5306 |
bsdi[45]*) |
5307 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
5308 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
5309 |
lt_cv_file_magic_test_file=/shlib/libc.so |
5310 |
;; |
5311 |
|
5312 |
cygwin*) |
5313 |
# func_win32_libid is a shell function defined in ltmain.sh |
5314 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5315 |
lt_cv_file_magic_cmd='func_win32_libid' |
5316 |
;; |
5317 |
|
5318 |
mingw* | pw32*) |
5319 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
5320 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
5321 |
# unless we find 'file', for example because we are cross-compiling. |
5322 |
if ( file / ) >/dev/null 2>&1; then |
5323 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5324 |
lt_cv_file_magic_cmd='func_win32_libid' |
5325 |
else |
5326 |
# Keep this pattern in sync with the one in func_win32_libid. |
5327 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5328 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5329 |
fi |
5330 |
;; |
5331 |
|
5332 |
cegcc*) |
5333 |
# use the weaker test based on 'objdump'. See mingw*. |
5334 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5335 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5336 |
;; |
5337 |
|
5338 |
darwin* | rhapsody*) |
5339 |
lt_cv_deplibs_check_method=pass_all |
5340 |
;; |
5341 |
|
5342 |
freebsd* | dragonfly*) |
5343 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5344 |
case $host_cpu in |
5345 |
i*86 ) |
5346 |
# Not sure whether the presence of OpenBSD here was a mistake. |
5347 |
# Let's accept both of them until this is cleared up. |
5348 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
5349 |
lt_cv_file_magic_cmd=/usr/bin/file |
5350 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
5351 |
;; |
5352 |
esac |
5353 |
else |
5354 |
lt_cv_deplibs_check_method=pass_all |
5355 |
fi |
5356 |
;; |
5357 |
|
5358 |
haiku*) |
5359 |
lt_cv_deplibs_check_method=pass_all |
5360 |
;; |
5361 |
|
5362 |
hpux10.20* | hpux11*) |
5363 |
lt_cv_file_magic_cmd=/usr/bin/file |
5364 |
case $host_cpu in |
5365 |
ia64*) |
5366 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
5367 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5368 |
;; |
5369 |
hppa*64*) |
5370 |
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]' |
5371 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5372 |
;; |
5373 |
*) |
5374 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
5375 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5376 |
;; |
5377 |
esac |
5378 |
;; |
5379 |
|
5380 |
interix[3-9]*) |
5381 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
5382 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
5383 |
;; |
5384 |
|
5385 |
irix5* | irix6* | nonstopux*) |
5386 |
case $LD in |
5387 |
*-32|*"-32 ") libmagic=32-bit;; |
5388 |
*-n32|*"-n32 ") libmagic=N32;; |
5389 |
*-64|*"-64 ") libmagic=64-bit;; |
5390 |
*) libmagic=never-match;; |
5391 |
esac |
5392 |
lt_cv_deplibs_check_method=pass_all |
5393 |
;; |
5394 |
|
5395 |
# This must be glibc/ELF. |
5396 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
5397 |
lt_cv_deplibs_check_method=pass_all |
5398 |
;; |
5399 |
|
5400 |
netbsd*) |
5401 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5402 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5403 |
else |
5404 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
5405 |
fi |
5406 |
;; |
5407 |
|
5408 |
newos6*) |
5409 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
5410 |
lt_cv_file_magic_cmd=/usr/bin/file |
5411 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
5412 |
;; |
5413 |
|
5414 |
*nto* | *qnx*) |
5415 |
lt_cv_deplibs_check_method=pass_all |
5416 |
;; |
5417 |
|
5418 |
openbsd* | bitrig*) |
5419 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
5420 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
5421 |
else |
5422 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5423 |
fi |
5424 |
;; |
5425 |
|
5426 |
osf3* | osf4* | osf5*) |
5427 |
lt_cv_deplibs_check_method=pass_all |
5428 |
;; |
5429 |
|
5430 |
rdos*) |
5431 |
lt_cv_deplibs_check_method=pass_all |
5432 |
;; |
5433 |
|
5434 |
solaris*) |
5435 |
lt_cv_deplibs_check_method=pass_all |
5436 |
;; |
5437 |
|
5438 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
5439 |
lt_cv_deplibs_check_method=pass_all |
5440 |
;; |
5441 |
|
5442 |
sysv4 | sysv4.3*) |
5443 |
case $host_vendor in |
5444 |
motorola) |
5445 |
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]' |
5446 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
5447 |
;; |
5448 |
ncr) |
5449 |
lt_cv_deplibs_check_method=pass_all |
5450 |
;; |
5451 |
sequent) |
5452 |
lt_cv_file_magic_cmd='/bin/file' |
5453 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
5454 |
;; |
5455 |
sni) |
5456 |
lt_cv_file_magic_cmd='/bin/file' |
5457 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
5458 |
lt_cv_file_magic_test_file=/lib/libc.so |
5459 |
;; |
5460 |
siemens) |
5461 |
lt_cv_deplibs_check_method=pass_all |
5462 |
;; |
5463 |
pc) |
5464 |
lt_cv_deplibs_check_method=pass_all |
5465 |
;; |
5466 |
esac |
5467 |
;; |
5468 |
|
5469 |
tpf*) |
5470 |
lt_cv_deplibs_check_method=pass_all |
5471 |
;; |
5472 |
os2*) |
5473 |
lt_cv_deplibs_check_method=pass_all |
5474 |
;; |
5475 |
esac |
5476 |
|
5477 |
fi |
5478 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5479 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
5480 |
|
5481 |
file_magic_glob= |
5482 |
want_nocaseglob=no |
5483 |
if test "$build" = "$host"; then |
5484 |
case $host_os in |
5485 |
mingw* | pw32*) |
5486 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
5487 |
want_nocaseglob=yes |
5488 |
else |
5489 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
5490 |
fi |
5491 |
;; |
5492 |
esac |
5493 |
fi |
5494 |
|
5495 |
file_magic_cmd=$lt_cv_file_magic_cmd |
5496 |
deplibs_check_method=$lt_cv_deplibs_check_method |
5497 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
5498 |
|
5499 |
|
5500 |
|
5501 |
|
5502 |
|
5503 |
|
5504 |
|
5505 |
|
5506 |
|
5507 |
|
5508 |
|
5509 |
|
5510 |
|
5511 |
|
5512 |
|
5513 |
|
5514 |
|
5515 |
|
5516 |
|
5517 |
|
5518 |
|
5519 |
|
5520 |
if test -n "$ac_tool_prefix"; then |
5521 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
5522 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
5523 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5524 |
$as_echo_n "checking for $ac_word... " >&6; } |
5525 |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
5526 |
$as_echo_n "(cached) " >&6 |
5527 |
else |
5528 |
if test -n "$DLLTOOL"; then |
5529 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
5530 |
else |
5531 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5532 |
for as_dir in $PATH |
5533 |
do |
5534 |
IFS=$as_save_IFS |
5535 |
test -z "$as_dir" && as_dir=. |
5536 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5537 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5538 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5539 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5540 |
break 2 |
5541 |
fi |
5542 |
done |
5543 |
done |
5544 |
IFS=$as_save_IFS |
5545 |
|
5546 |
fi |
5547 |
fi |
5548 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
5549 |
if test -n "$DLLTOOL"; then |
5550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
5551 |
$as_echo "$DLLTOOL" >&6; } |
5552 |
else |
5553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5554 |
$as_echo "no" >&6; } |
5555 |
fi |
5556 |
|
5557 |
|
5558 |
fi |
5559 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
5560 |
ac_ct_DLLTOOL=$DLLTOOL |
5561 |
# Extract the first word of "dlltool", so it can be a program name with args. |
5562 |
set dummy dlltool; ac_word=$2 |
5563 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5564 |
$as_echo_n "checking for $ac_word... " >&6; } |
5565 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
5566 |
$as_echo_n "(cached) " >&6 |
5567 |
else |
5568 |
if test -n "$ac_ct_DLLTOOL"; then |
5569 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
5570 |
else |
5571 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5572 |
for as_dir in $PATH |
5573 |
do |
5574 |
IFS=$as_save_IFS |
5575 |
test -z "$as_dir" && as_dir=. |
5576 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5577 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5578 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5579 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5580 |
break 2 |
5581 |
fi |
5582 |
done |
5583 |
done |
5584 |
IFS=$as_save_IFS |
5585 |
|
5586 |
fi |
5587 |
fi |
5588 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
5589 |
if test -n "$ac_ct_DLLTOOL"; then |
5590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
5591 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
5592 |
else |
5593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5594 |
$as_echo "no" >&6; } |
5595 |
fi |
5596 |
|
5597 |
if test "x$ac_ct_DLLTOOL" = x; then |
5598 |
DLLTOOL="false" |
5599 |
else |
5600 |
case $cross_compiling:$ac_tool_warned in |
5601 |
yes:) |
5602 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5603 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5604 |
ac_tool_warned=yes ;; |
5605 |
esac |
5606 |
DLLTOOL=$ac_ct_DLLTOOL |
5607 |
fi |
5608 |
else |
5609 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
5610 |
fi |
5611 |
|
5612 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
5613 |
|
5614 |
|
5615 |
|
5616 |
|
5617 |
|
5618 |
|
5619 |
|
5620 |
|
5621 |
|
5622 |
|
5623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
5624 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
5625 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
5626 |
$as_echo_n "(cached) " >&6 |
5627 |
else |
5628 |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
5629 |
|
5630 |
case $host_os in |
5631 |
cygwin* | mingw* | pw32* | cegcc*) |
5632 |
# two different shell functions defined in ltmain.sh; |
5633 |
# decide which one to use based on capabilities of $DLLTOOL |
5634 |
case `$DLLTOOL --help 2>&1` in |
5635 |
*--identify-strict*) |
5636 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
5637 |
;; |
5638 |
*) |
5639 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
5640 |
;; |
5641 |
esac |
5642 |
;; |
5643 |
*) |
5644 |
# fallback: assume linklib IS sharedlib |
5645 |
lt_cv_sharedlib_from_linklib_cmd=$ECHO |
5646 |
;; |
5647 |
esac |
5648 |
|
5649 |
fi |
5650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
5651 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
5652 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
5653 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
5654 |
|
5655 |
|
5656 |
|
5657 |
|
5658 |
|
5659 |
|
5660 |
|
5661 |
|
5662 |
if test -n "$ac_tool_prefix"; then |
5663 |
for ac_prog in ar |
5664 |
do |
5665 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5666 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5667 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5668 |
$as_echo_n "checking for $ac_word... " >&6; } |
5669 |
if ${ac_cv_prog_AR+:} false; then : |
5670 |
$as_echo_n "(cached) " >&6 |
5671 |
else |
5672 |
if test -n "$AR"; then |
5673 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
5674 |
else |
5675 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5676 |
for as_dir in $PATH |
5677 |
do |
5678 |
IFS=$as_save_IFS |
5679 |
test -z "$as_dir" && as_dir=. |
5680 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5681 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5682 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
5683 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5684 |
break 2 |
5685 |
fi |
5686 |
done |
5687 |
done |
5688 |
IFS=$as_save_IFS |
5689 |
|
5690 |
fi |
5691 |
fi |
5692 |
AR=$ac_cv_prog_AR |
5693 |
if test -n "$AR"; then |
5694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
5695 |
$as_echo "$AR" >&6; } |
5696 |
else |
5697 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5698 |
$as_echo "no" >&6; } |
5699 |
fi |
5700 |
|
5701 |
|
5702 |
test -n "$AR" && break |
5703 |
done |
5704 |
fi |
5705 |
if test -z "$AR"; then |
5706 |
ac_ct_AR=$AR |
5707 |
for ac_prog in ar |
5708 |
do |
5709 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5710 |
set dummy $ac_prog; ac_word=$2 |
5711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5712 |
$as_echo_n "checking for $ac_word... " >&6; } |
5713 |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
5714 |
$as_echo_n "(cached) " >&6 |
5715 |
else |
5716 |
if test -n "$ac_ct_AR"; then |
5717 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
5718 |
else |
5719 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5720 |
for as_dir in $PATH |
5721 |
do |
5722 |
IFS=$as_save_IFS |
5723 |
test -z "$as_dir" && as_dir=. |
5724 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5725 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5726 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
5727 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5728 |
break 2 |
5729 |
fi |
5730 |
done |
5731 |
done |
5732 |
IFS=$as_save_IFS |
5733 |
|
5734 |
fi |
5735 |
fi |
5736 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
5737 |
if test -n "$ac_ct_AR"; then |
5738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
5739 |
$as_echo "$ac_ct_AR" >&6; } |
5740 |
else |
5741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5742 |
$as_echo "no" >&6; } |
5743 |
fi |
5744 |
|
5745 |
|
5746 |
test -n "$ac_ct_AR" && break |
5747 |
done |
5748 |
|
5749 |
if test "x$ac_ct_AR" = x; then |
5750 |
AR="false" |
5751 |
else |
5752 |
case $cross_compiling:$ac_tool_warned in |
5753 |
yes:) |
5754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5755 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5756 |
ac_tool_warned=yes ;; |
5757 |
esac |
5758 |
AR=$ac_ct_AR |
5759 |
fi |
5760 |
fi |
5761 |
|
5762 |
: ${AR=ar} |
5763 |
: ${AR_FLAGS=cru} |
5764 |
|
5765 |
|
5766 |
|
5767 |
|
5768 |
|
5769 |
|
5770 |
|
5771 |
|
5772 |
|
5773 |
|
5774 |
|
5775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
5776 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
5777 |
if ${lt_cv_ar_at_file+:} false; then : |
5778 |
$as_echo_n "(cached) " >&6 |
5779 |
else |
5780 |
lt_cv_ar_at_file=no |
5781 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5782 |
/* end confdefs.h. */ |
5783 |
|
5784 |
int |
5785 |
main () |
5786 |
{ |
5787 |
|
5788 |
; |
5789 |
return 0; |
5790 |
} |
5791 |
_ACEOF |
5792 |
if ac_fn_c_try_compile "$LINENO"; then : |
5793 |
echo conftest.$ac_objext > conftest.lst |
5794 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
5795 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
5796 |
(eval $lt_ar_try) 2>&5 |
5797 |
ac_status=$? |
5798 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5799 |
test $ac_status = 0; } |
5800 |
if test 0 -eq "$ac_status"; then |
5801 |
# Ensure the archiver fails upon bogus file names. |
5802 |
rm -f conftest.$ac_objext libconftest.a |
5803 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
5804 |
(eval $lt_ar_try) 2>&5 |
5805 |
ac_status=$? |
5806 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5807 |
test $ac_status = 0; } |
5808 |
if test 0 -ne "$ac_status"; then |
5809 |
lt_cv_ar_at_file=@ |
5810 |
fi |
5811 |
fi |
5812 |
rm -f conftest.* libconftest.a |
5813 |
|
5814 |
fi |
5815 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5816 |
|
5817 |
fi |
5818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
5819 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
5820 |
|
5821 |
if test no = "$lt_cv_ar_at_file"; then |
5822 |
archiver_list_spec= |
5823 |
else |
5824 |
archiver_list_spec=$lt_cv_ar_at_file |
5825 |
fi |
5826 |
|
5827 |
|
5828 |
|
5829 |
|
5830 |
|
5831 |
|
5832 |
|
5833 |
if test -n "$ac_tool_prefix"; then |
5834 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
5835 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
5836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5837 |
$as_echo_n "checking for $ac_word... " >&6; } |
5838 |
if ${ac_cv_prog_STRIP+:} false; then : |
5839 |
$as_echo_n "(cached) " >&6 |
5840 |
else |
5841 |
if test -n "$STRIP"; then |
5842 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
5843 |
else |
5844 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5845 |
for as_dir in $PATH |
5846 |
do |
5847 |
IFS=$as_save_IFS |
5848 |
test -z "$as_dir" && as_dir=. |
5849 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5850 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5851 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
5852 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5853 |
break 2 |
5854 |
fi |
5855 |
done |
5856 |
done |
5857 |
IFS=$as_save_IFS |
5858 |
|
5859 |
fi |
5860 |
fi |
5861 |
STRIP=$ac_cv_prog_STRIP |
5862 |
if test -n "$STRIP"; then |
5863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
5864 |
$as_echo "$STRIP" >&6; } |
5865 |
else |
5866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5867 |
$as_echo "no" >&6; } |
5868 |
fi |
5869 |
|
5870 |
|
5871 |
fi |
5872 |
if test -z "$ac_cv_prog_STRIP"; then |
5873 |
ac_ct_STRIP=$STRIP |
5874 |
# Extract the first word of "strip", so it can be a program name with args. |
5875 |
set dummy strip; ac_word=$2 |
5876 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5877 |
$as_echo_n "checking for $ac_word... " >&6; } |
5878 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
5879 |
$as_echo_n "(cached) " >&6 |
5880 |
else |
5881 |
if test -n "$ac_ct_STRIP"; then |
5882 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
5883 |
else |
5884 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5885 |
for as_dir in $PATH |
5886 |
do |
5887 |
IFS=$as_save_IFS |
5888 |
test -z "$as_dir" && as_dir=. |
5889 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5890 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5891 |
ac_cv_prog_ac_ct_STRIP="strip" |
5892 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5893 |
break 2 |
5894 |
fi |
5895 |
done |
5896 |
done |
5897 |
IFS=$as_save_IFS |
5898 |
|
5899 |
fi |
5900 |
fi |
5901 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
5902 |
if test -n "$ac_ct_STRIP"; then |
5903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
5904 |
$as_echo "$ac_ct_STRIP" >&6; } |
5905 |
else |
5906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5907 |
$as_echo "no" >&6; } |
5908 |
fi |
5909 |
|
5910 |
if test "x$ac_ct_STRIP" = x; then |
5911 |
STRIP=":" |
5912 |
else |
5913 |
case $cross_compiling:$ac_tool_warned in |
5914 |
yes:) |
5915 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5916 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5917 |
ac_tool_warned=yes ;; |
5918 |
esac |
5919 |
STRIP=$ac_ct_STRIP |
5920 |
fi |
5921 |
else |
5922 |
STRIP="$ac_cv_prog_STRIP" |
5923 |
fi |
5924 |
|
5925 |
test -z "$STRIP" && STRIP=: |
5926 |
|
5927 |
|
5928 |
|
5929 |
|
5930 |
|
5931 |
|
5932 |
if test -n "$ac_tool_prefix"; then |
5933 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5934 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5936 |
$as_echo_n "checking for $ac_word... " >&6; } |
5937 |
if ${ac_cv_prog_RANLIB+:} false; then : |
5938 |
$as_echo_n "(cached) " >&6 |
5939 |
else |
5940 |
if test -n "$RANLIB"; then |
5941 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5942 |
else |
5943 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5944 |
for as_dir in $PATH |
5945 |
do |
5946 |
IFS=$as_save_IFS |
5947 |
test -z "$as_dir" && as_dir=. |
5948 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5949 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5950 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5951 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5952 |
break 2 |
5953 |
fi |
5954 |
done |
5955 |
done |
5956 |
IFS=$as_save_IFS |
5957 |
|
5958 |
fi |
5959 |
fi |
5960 |
RANLIB=$ac_cv_prog_RANLIB |
5961 |
if test -n "$RANLIB"; then |
5962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
5963 |
$as_echo "$RANLIB" >&6; } |
5964 |
else |
5965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5966 |
$as_echo "no" >&6; } |
5967 |
fi |
5968 |
|
5969 |
|
5970 |
fi |
5971 |
if test -z "$ac_cv_prog_RANLIB"; then |
5972 |
ac_ct_RANLIB=$RANLIB |
5973 |
# Extract the first word of "ranlib", so it can be a program name with args. |
5974 |
set dummy ranlib; ac_word=$2 |
5975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5976 |
$as_echo_n "checking for $ac_word... " >&6; } |
5977 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
5978 |
$as_echo_n "(cached) " >&6 |
5979 |
else |
5980 |
if test -n "$ac_ct_RANLIB"; then |
5981 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5982 |
else |
5983 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5984 |
for as_dir in $PATH |
5985 |
do |
5986 |
IFS=$as_save_IFS |
5987 |
test -z "$as_dir" && as_dir=. |
5988 |
for ac_exec_ext in '' $ac_executable_extensions; do |
5989 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5990 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5991 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5992 |
break 2 |
5993 |
fi |
5994 |
done |
5995 |
done |
5996 |
IFS=$as_save_IFS |
5997 |
|
5998 |
fi |
5999 |
fi |
6000 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
6001 |
if test -n "$ac_ct_RANLIB"; then |
6002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
6003 |
$as_echo "$ac_ct_RANLIB" >&6; } |
6004 |
else |
6005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6006 |
$as_echo "no" >&6; } |
6007 |
fi |
6008 |
|
6009 |
if test "x$ac_ct_RANLIB" = x; then |
6010 |
RANLIB=":" |
6011 |
else |
6012 |
case $cross_compiling:$ac_tool_warned in |
6013 |
yes:) |
6014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6015 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6016 |
ac_tool_warned=yes ;; |
6017 |
esac |
6018 |
RANLIB=$ac_ct_RANLIB |
6019 |
fi |
6020 |
else |
6021 |
RANLIB="$ac_cv_prog_RANLIB" |
6022 |
fi |
6023 |
|
6024 |
test -z "$RANLIB" && RANLIB=: |
6025 |
|
6026 |
|
6027 |
|
6028 |
|
6029 |
|
6030 |
|
6031 |
# Determine commands to create old-style static archives. |
6032 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
6033 |
old_postinstall_cmds='chmod 644 $oldlib' |
6034 |
old_postuninstall_cmds= |
6035 |
|
6036 |
if test -n "$RANLIB"; then |
6037 |
case $host_os in |
6038 |
bitrig* | openbsd*) |
6039 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6040 |
;; |
6041 |
*) |
6042 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6043 |
;; |
6044 |
esac |
6045 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
6046 |
fi |
6047 |
|
6048 |
case $host_os in |
6049 |
darwin*) |
6050 |
lock_old_archive_extraction=yes ;; |
6051 |
*) |
6052 |
lock_old_archive_extraction=no ;; |
6053 |
esac |
6054 |
|
6055 |
|
6056 |
|
6057 |
|
6058 |
|
6059 |
|
6060 |
|
6061 |
|
6062 |
|
6063 |
|
6064 |
|
6065 |
|
6066 |
|
6067 |
|
6068 |
|
6069 |
|
6070 |
|
6071 |
|
6072 |
|
6073 |
|
6074 |
|
6075 |
|
6076 |
|
6077 |
|
6078 |
|
6079 |
|
6080 |
|
6081 |
|
6082 |
|
6083 |
|
6084 |
|
6085 |
|
6086 |
|
6087 |
|
6088 |
|
6089 |
|
6090 |
|
6091 |
|
6092 |
|
6093 |
# If no C compiler was specified, use CC. |
6094 |
LTCC=${LTCC-"$CC"} |
6095 |
|
6096 |
# If no C compiler flags were specified, use CFLAGS. |
6097 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
6098 |
|
6099 |
# Allow CC to be a program name with arguments. |
6100 |
compiler=$CC |
6101 |
|
6102 |
|
6103 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
6104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
6105 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
6106 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
6107 |
$as_echo_n "(cached) " >&6 |
6108 |
else |
6109 |
|
6110 |
# These are sane defaults that work on at least a few old systems. |
6111 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
6112 |
|
6113 |
# Character class describing NM global symbol codes. |
6114 |
symcode='[BCDEGRST]' |
6115 |
|
6116 |
# Regexp to match symbols that can be accessed directly from C. |
6117 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
6118 |
|
6119 |
# Define system-specific variables. |
6120 |
case $host_os in |
6121 |
aix*) |
6122 |
symcode='[BCDT]' |
6123 |
;; |
6124 |
cygwin* | mingw* | pw32* | cegcc*) |
6125 |
symcode='[ABCDGISTW]' |
6126 |
;; |
6127 |
hpux*) |
6128 |
if test ia64 = "$host_cpu"; then |
6129 |
symcode='[ABCDEGRST]' |
6130 |
fi |
6131 |
;; |
6132 |
irix* | nonstopux*) |
6133 |
symcode='[BCDEGRST]' |
6134 |
;; |
6135 |
osf*) |
6136 |
symcode='[BCDEGQRST]' |
6137 |
;; |
6138 |
solaris*) |
6139 |
symcode='[BDRT]' |
6140 |
;; |
6141 |
sco3.2v5*) |
6142 |
symcode='[DT]' |
6143 |
;; |
6144 |
sysv4.2uw2*) |
6145 |
symcode='[DT]' |
6146 |
;; |
6147 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
6148 |
symcode='[ABDT]' |
6149 |
;; |
6150 |
sysv4) |
6151 |
symcode='[DFNSTU]' |
6152 |
;; |
6153 |
esac |
6154 |
|
6155 |
# If we're using GNU nm, then use its standard symbol codes. |
6156 |
case `$NM -V 2>&1` in |
6157 |
*GNU* | *'with BFD'*) |
6158 |
symcode='[ABCDGIRSTW]' ;; |
6159 |
esac |
6160 |
|
6161 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6162 |
# Gets list of data symbols to import. |
6163 |
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" |
6164 |
# Adjust the below global symbol transforms to fixup imported variables. |
6165 |
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
6166 |
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
6167 |
lt_c_name_lib_hook="\ |
6168 |
-e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
6169 |
-e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
6170 |
else |
6171 |
# Disable hooks by default. |
6172 |
lt_cv_sys_global_symbol_to_import= |
6173 |
lt_cdecl_hook= |
6174 |
lt_c_name_hook= |
6175 |
lt_c_name_lib_hook= |
6176 |
fi |
6177 |
|
6178 |
# Transform an extracted symbol line into a proper C declaration. |
6179 |
# Some systems (esp. on ia64) link data and code symbols differently, |
6180 |
# so use this general approach. |
6181 |
lt_cv_sys_global_symbol_to_cdecl="sed -n"\ |
6182 |
$lt_cdecl_hook\ |
6183 |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
6184 |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
6185 |
|
6186 |
# Transform an extracted symbol line into symbol name and symbol address |
6187 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ |
6188 |
$lt_c_name_hook\ |
6189 |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
6190 |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
6191 |
|
6192 |
# Transform an extracted symbol line into symbol name with lib prefix and |
6193 |
# symbol address. |
6194 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ |
6195 |
$lt_c_name_lib_hook\ |
6196 |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
6197 |
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
6198 |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
6199 |
|
6200 |
# Handle CRLF in mingw tool chain |
6201 |
opt_cr= |
6202 |
case $build_os in |
6203 |
mingw*) |
6204 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
6205 |
;; |
6206 |
esac |
6207 |
|
6208 |
# Try without a prefix underscore, then with it. |
6209 |
for ac_symprfx in "" "_"; do |
6210 |
|
6211 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
6212 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
6213 |
|
6214 |
# Write the raw and C identifiers. |
6215 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6216 |
# Fake it for dumpbin and say T for any non-static function, |
6217 |
# D for any global variable and I for any imported variable. |
6218 |
# Also find C++ and __fastcall symbols from MSVC++, |
6219 |
# which start with @ or ?. |
6220 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6221 |
" {last_section=section; section=\$ 3};"\ |
6222 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6223 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6224 |
" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
6225 |
" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
6226 |
" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
6227 |
" \$ 0!~/External *\|/{next};"\ |
6228 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6229 |
" {if(hide[section]) next};"\ |
6230 |
" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
6231 |
" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
6232 |
" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
6233 |
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
6234 |
" ' prfx=^$ac_symprfx" |
6235 |
else |
6236 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6237 |
fi |
6238 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6239 |
|
6240 |
# Check to see that the pipe works correctly. |
6241 |
pipe_works=no |
6242 |
|
6243 |
rm -f conftest* |
6244 |
cat > conftest.$ac_ext <<_LT_EOF |
6245 |
#ifdef __cplusplus |
6246 |
extern "C" { |
6247 |
#endif |
6248 |
char nm_test_var; |
6249 |
void nm_test_func(void); |
6250 |
void nm_test_func(void){} |
6251 |
#ifdef __cplusplus |
6252 |
} |
6253 |
#endif |
6254 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
6255 |
_LT_EOF |
6256 |
|
6257 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6258 |
(eval $ac_compile) 2>&5 |
6259 |
ac_status=$? |
6260 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6261 |
test $ac_status = 0; }; then |
6262 |
# Now try to grab the symbols. |
6263 |
nlist=conftest.nm |
6264 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6265 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
6266 |
ac_status=$? |
6267 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6268 |
test $ac_status = 0; } && test -s "$nlist"; then |
6269 |
# Try sorting and uniquifying the output. |
6270 |
if sort "$nlist" | uniq > "$nlist"T; then |
6271 |
mv -f "$nlist"T "$nlist" |
6272 |
else |
6273 |
rm -f "$nlist"T |
6274 |
fi |
6275 |
|
6276 |
# Make sure that we snagged all the symbols we need. |
6277 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6278 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6279 |
cat <<_LT_EOF > conftest.$ac_ext |
6280 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6281 |
#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
6282 |
/* DATA imports from DLLs on WIN32 can't be const, because runtime |
6283 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6284 |
# define LT_DLSYM_CONST |
6285 |
#elif defined __osf__ |
6286 |
/* This system does not cope well with relocations in const data. */ |
6287 |
# define LT_DLSYM_CONST |
6288 |
#else |
6289 |
# define LT_DLSYM_CONST const |
6290 |
#endif |
6291 |
|
6292 |
#ifdef __cplusplus |
6293 |
extern "C" { |
6294 |
#endif |
6295 |
|
6296 |
_LT_EOF |
6297 |
# Now generate the symbol file. |
6298 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
6299 |
|
6300 |
cat <<_LT_EOF >> conftest.$ac_ext |
6301 |
|
6302 |
/* The mapping between symbol names and symbols. */ |
6303 |
LT_DLSYM_CONST struct { |
6304 |
const char *name; |
6305 |
void *address; |
6306 |
} |
6307 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
6308 |
{ |
6309 |
{ "@PROGRAM@", (void *) 0 }, |
6310 |
_LT_EOF |
6311 |
$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
6312 |
cat <<\_LT_EOF >> conftest.$ac_ext |
6313 |
{0, (void *) 0} |
6314 |
}; |
6315 |
|
6316 |
/* This works around a problem in FreeBSD linker */ |
6317 |
#ifdef FREEBSD_WORKAROUND |
6318 |
static const void *lt_preloaded_setup() { |
6319 |
return lt__PROGRAM__LTX_preloaded_symbols; |
6320 |
} |
6321 |
#endif |
6322 |
|
6323 |
#ifdef __cplusplus |
6324 |
} |
6325 |
#endif |
6326 |
_LT_EOF |
6327 |
# Now try linking the two files. |
6328 |
mv conftest.$ac_objext conftstm.$ac_objext |
6329 |
lt_globsym_save_LIBS=$LIBS |
6330 |
lt_globsym_save_CFLAGS=$CFLAGS |
6331 |
LIBS=conftstm.$ac_objext |
6332 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6333 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6334 |
(eval $ac_link) 2>&5 |
6335 |
ac_status=$? |
6336 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6337 |
test $ac_status = 0; } && test -s conftest$ac_exeext; then |
6338 |
pipe_works=yes |
6339 |
fi |
6340 |
LIBS=$lt_globsym_save_LIBS |
6341 |
CFLAGS=$lt_globsym_save_CFLAGS |
6342 |
else |
6343 |
echo "cannot find nm_test_func in $nlist" >&5 |
6344 |
fi |
6345 |
else |
6346 |
echo "cannot find nm_test_var in $nlist" >&5 |
6347 |
fi |
6348 |
else |
6349 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
6350 |
fi |
6351 |
else |
6352 |
echo "$progname: failed program was:" >&5 |
6353 |
cat conftest.$ac_ext >&5 |
6354 |
fi |
6355 |
rm -rf conftest* conftst* |
6356 |
|
6357 |
# Do not use the global_symbol_pipe unless it works. |
6358 |
if test yes = "$pipe_works"; then |
6359 |
break |
6360 |
else |
6361 |
lt_cv_sys_global_symbol_pipe= |
6362 |
fi |
6363 |
done |
6364 |
|
6365 |
fi |
6366 |
|
6367 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
6368 |
lt_cv_sys_global_symbol_to_cdecl= |
6369 |
fi |
6370 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
6371 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
6372 |
$as_echo "failed" >&6; } |
6373 |
else |
6374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6375 |
$as_echo "ok" >&6; } |
6376 |
fi |
6377 |
|
6378 |
# Response file support. |
6379 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6380 |
nm_file_list_spec='@' |
6381 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
6382 |
nm_file_list_spec='@' |
6383 |
fi |
6384 |
|
6385 |
|
6386 |
|
6387 |
|
6388 |
|
6389 |
|
6390 |
|
6391 |
|
6392 |
|
6393 |
|
6394 |
|
6395 |
|
6396 |
|
6397 |
|
6398 |
|
6399 |
|
6400 |
|
6401 |
|
6402 |
|
6403 |
|
6404 |
|
6405 |
|
6406 |
|
6407 |
|
6408 |
|
6409 |
|
6410 |
|
6411 |
|
6412 |
|
6413 |
|
6414 |
|
6415 |
|
6416 |
|
6417 |
|
6418 |
|
6419 |
|
6420 |
|
6421 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6422 |
$as_echo_n "checking for sysroot... " >&6; } |
6423 |
|
6424 |
# Check whether --with-sysroot was given. |
6425 |
if test "${with_sysroot+set}" = set; then : |
6426 |
withval=$with_sysroot; |
6427 |
else |
6428 |
with_sysroot=no |
6429 |
fi |
6430 |
|
6431 |
|
6432 |
lt_sysroot= |
6433 |
case $with_sysroot in #( |
6434 |
yes) |
6435 |
if test yes = "$GCC"; then |
6436 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6437 |
fi |
6438 |
;; #( |
6439 |
/*) |
6440 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6441 |
;; #( |
6442 |
no|'') |
6443 |
;; #( |
6444 |
*) |
6445 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
6446 |
$as_echo "$with_sysroot" >&6; } |
6447 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6448 |
;; |
6449 |
esac |
6450 |
|
6451 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6452 |
$as_echo "${lt_sysroot:-no}" >&6; } |
6453 |
|
6454 |
|
6455 |
|
6456 |
|
6457 |
|
6458 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
6459 |
$as_echo_n "checking for a working dd... " >&6; } |
6460 |
if ${ac_cv_path_lt_DD+:} false; then : |
6461 |
$as_echo_n "(cached) " >&6 |
6462 |
else |
6463 |
printf 0123456789abcdef0123456789abcdef >conftest.i |
6464 |
cat conftest.i conftest.i >conftest2.i |
6465 |
: ${lt_DD:=$DD} |
6466 |
if test -z "$lt_DD"; then |
6467 |
ac_path_lt_DD_found=false |
6468 |
# Loop through the user's path and test for each of PROGNAME-LIST |
6469 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6470 |
for as_dir in $PATH |
6471 |
do |
6472 |
IFS=$as_save_IFS |
6473 |
test -z "$as_dir" && as_dir=. |
6474 |
for ac_prog in dd; do |
6475 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6476 |
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" |
6477 |
as_fn_executable_p "$ac_path_lt_DD" || continue |
6478 |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
6479 |
cmp -s conftest.i conftest.out \ |
6480 |
&& ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
6481 |
fi |
6482 |
$ac_path_lt_DD_found && break 3 |
6483 |
done |
6484 |
done |
6485 |
done |
6486 |
IFS=$as_save_IFS |
6487 |
if test -z "$ac_cv_path_lt_DD"; then |
6488 |
: |
6489 |
fi |
6490 |
else |
6491 |
ac_cv_path_lt_DD=$lt_DD |
6492 |
fi |
6493 |
|
6494 |
rm -f conftest.i conftest2.i conftest.out |
6495 |
fi |
6496 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
6497 |
$as_echo "$ac_cv_path_lt_DD" >&6; } |
6498 |
|
6499 |
|
6500 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
6501 |
$as_echo_n "checking how to truncate binary pipes... " >&6; } |
6502 |
if ${lt_cv_truncate_bin+:} false; then : |
6503 |
$as_echo_n "(cached) " >&6 |
6504 |
else |
6505 |
printf 0123456789abcdef0123456789abcdef >conftest.i |
6506 |
cat conftest.i conftest.i >conftest2.i |
6507 |
lt_cv_truncate_bin= |
6508 |
if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
6509 |
cmp -s conftest.i conftest.out \ |
6510 |
&& lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
6511 |
fi |
6512 |
rm -f conftest.i conftest2.i conftest.out |
6513 |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" |
6514 |
fi |
6515 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
6516 |
$as_echo "$lt_cv_truncate_bin" >&6; } |
6517 |
|
6518 |
|
6519 |
|
6520 |
|
6521 |
|
6522 |
|
6523 |
# Check whether --enable-libtool-lock was given. |
6524 |
if test "${enable_libtool_lock+set}" = set; then : |
6525 |
enableval=$enable_libtool_lock; |
6526 |
fi |
6527 |
|
6528 |
test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
6529 |
|
6530 |
# Some flags need to be propagated to the compiler or linker for good |
6531 |
# libtool support. |
6532 |
case $host in |
6533 |
ia64-*-hpux*) |
6534 |
# Find out what ABI is being produced by ac_compile, and set mode |
6535 |
# options accordingly. |
6536 |
echo 'int i;' > conftest.$ac_ext |
6537 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6538 |
(eval $ac_compile) 2>&5 |
6539 |
ac_status=$? |
6540 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6541 |
test $ac_status = 0; }; then |
6542 |
case `/usr/bin/file conftest.$ac_objext` in |
6543 |
*ELF-32*) |
6544 |
HPUX_IA64_MODE=32 |
6545 |
;; |
6546 |
*ELF-64*) |
6547 |
HPUX_IA64_MODE=64 |
6548 |
;; |
6549 |
esac |
6550 |
fi |
6551 |
rm -rf conftest* |
6552 |
;; |
6553 |
*-*-irix6*) |
6554 |
# Find out what ABI is being produced by ac_compile, and set linker |
6555 |
# options accordingly. |
6556 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6557 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6558 |
(eval $ac_compile) 2>&5 |
6559 |
ac_status=$? |
6560 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6561 |
test $ac_status = 0; }; then |
6562 |
if test yes = "$lt_cv_prog_gnu_ld"; then |
6563 |
case `/usr/bin/file conftest.$ac_objext` in |
6564 |
*32-bit*) |
6565 |
LD="${LD-ld} -melf32bsmip" |
6566 |
;; |
6567 |
*N32*) |
6568 |
LD="${LD-ld} -melf32bmipn32" |
6569 |
;; |
6570 |
*64-bit*) |
6571 |
LD="${LD-ld} -melf64bmip" |
6572 |
;; |
6573 |
esac |
6574 |
else |
6575 |
case `/usr/bin/file conftest.$ac_objext` in |
6576 |
*32-bit*) |
6577 |
LD="${LD-ld} -32" |
6578 |
;; |
6579 |
*N32*) |
6580 |
LD="${LD-ld} -n32" |
6581 |
;; |
6582 |
*64-bit*) |
6583 |
LD="${LD-ld} -64" |
6584 |
;; |
6585 |
esac |
6586 |
fi |
6587 |
fi |
6588 |
rm -rf conftest* |
6589 |
;; |
6590 |
|
6591 |
mips64*-*linux*) |
6592 |
# Find out what ABI is being produced by ac_compile, and set linker |
6593 |
# options accordingly. |
6594 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6595 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6596 |
(eval $ac_compile) 2>&5 |
6597 |
ac_status=$? |
6598 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6599 |
test $ac_status = 0; }; then |
6600 |
emul=elf |
6601 |
case `/usr/bin/file conftest.$ac_objext` in |
6602 |
*32-bit*) |
6603 |
emul="${emul}32" |
6604 |
;; |
6605 |
*64-bit*) |
6606 |
emul="${emul}64" |
6607 |
;; |
6608 |
esac |
6609 |
case `/usr/bin/file conftest.$ac_objext` in |
6610 |
*MSB*) |
6611 |
emul="${emul}btsmip" |
6612 |
;; |
6613 |
*LSB*) |
6614 |
emul="${emul}ltsmip" |
6615 |
;; |
6616 |
esac |
6617 |
case `/usr/bin/file conftest.$ac_objext` in |
6618 |
*N32*) |
6619 |
emul="${emul}n32" |
6620 |
;; |
6621 |
esac |
6622 |
LD="${LD-ld} -m $emul" |
6623 |
fi |
6624 |
rm -rf conftest* |
6625 |
;; |
6626 |
|
6627 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
6628 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
6629 |
# Find out what ABI is being produced by ac_compile, and set linker |
6630 |
# options accordingly. Note that the listed cases only cover the |
6631 |
# situations where additional linker options are needed (such as when |
6632 |
# doing 32-bit compilation for a host where ld defaults to 64-bit, or |
6633 |
# vice versa); the common cases where no linker options are needed do |
6634 |
# not appear in the list. |
6635 |
echo 'int i;' > conftest.$ac_ext |
6636 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6637 |
(eval $ac_compile) 2>&5 |
6638 |
ac_status=$? |
6639 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6640 |
test $ac_status = 0; }; then |
6641 |
case `/usr/bin/file conftest.o` in |
6642 |
*32-bit*) |
6643 |
case $host in |
6644 |
x86_64-*kfreebsd*-gnu) |
6645 |
LD="${LD-ld} -m elf_i386_fbsd" |
6646 |
;; |
6647 |
x86_64-*linux*) |
6648 |
case `/usr/bin/file conftest.o` in |
6649 |
*x86-64*) |
6650 |
LD="${LD-ld} -m elf32_x86_64" |
6651 |
;; |
6652 |
*) |
6653 |
LD="${LD-ld} -m elf_i386" |
6654 |
;; |
6655 |
esac |
6656 |
;; |
6657 |
powerpc64le-*linux*) |
6658 |
LD="${LD-ld} -m elf32lppclinux" |
6659 |
;; |
6660 |
powerpc64-*linux*) |
6661 |
LD="${LD-ld} -m elf32ppclinux" |
6662 |
;; |
6663 |
s390x-*linux*) |
6664 |
LD="${LD-ld} -m elf_s390" |
6665 |
;; |
6666 |
sparc64-*linux*) |
6667 |
LD="${LD-ld} -m elf32_sparc" |
6668 |
;; |
6669 |
esac |
6670 |
;; |
6671 |
*64-bit*) |
6672 |
case $host in |
6673 |
x86_64-*kfreebsd*-gnu) |
6674 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
6675 |
;; |
6676 |
x86_64-*linux*) |
6677 |
LD="${LD-ld} -m elf_x86_64" |
6678 |
;; |
6679 |
powerpcle-*linux*) |
6680 |
LD="${LD-ld} -m elf64lppc" |
6681 |
;; |
6682 |
powerpc-*linux*) |
6683 |
LD="${LD-ld} -m elf64ppc" |
6684 |
;; |
6685 |
s390*-*linux*|s390*-*tpf*) |
6686 |
LD="${LD-ld} -m elf64_s390" |
6687 |
;; |
6688 |
sparc*-*linux*) |
6689 |
LD="${LD-ld} -m elf64_sparc" |
6690 |
;; |
6691 |
esac |
6692 |
;; |
6693 |
esac |
6694 |
fi |
6695 |
rm -rf conftest* |
6696 |
;; |
6697 |
|
6698 |
*-*-sco3.2v5*) |
6699 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
6700 |
SAVE_CFLAGS=$CFLAGS |
6701 |
CFLAGS="$CFLAGS -belf" |
6702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6703 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6704 |
if ${lt_cv_cc_needs_belf+:} false; then : |
6705 |
$as_echo_n "(cached) " >&6 |
6706 |
else |
6707 |
ac_ext=c |
6708 |
ac_cpp='$CPP $CPPFLAGS' |
6709 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6710 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6711 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6712 |
|
6713 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6714 |
/* end confdefs.h. */ |
6715 |
|
6716 |
int |
6717 |
main () |
6718 |
{ |
6719 |
|
6720 |
; |
6721 |
return 0; |
6722 |
} |
6723 |
_ACEOF |
6724 |
if ac_fn_c_try_link "$LINENO"; then : |
6725 |
lt_cv_cc_needs_belf=yes |
6726 |
else |
6727 |
lt_cv_cc_needs_belf=no |
6728 |
fi |
6729 |
rm -f core conftest.err conftest.$ac_objext \ |
6730 |
conftest$ac_exeext conftest.$ac_ext |
6731 |
ac_ext=c |
6732 |
ac_cpp='$CPP $CPPFLAGS' |
6733 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6734 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6735 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6736 |
|
6737 |
fi |
6738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
6739 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
6740 |
if test yes != "$lt_cv_cc_needs_belf"; then |
6741 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
6742 |
CFLAGS=$SAVE_CFLAGS |
6743 |
fi |
6744 |
;; |
6745 |
*-*solaris*) |
6746 |
# Find out what ABI is being produced by ac_compile, and set linker |
6747 |
# options accordingly. |
6748 |
echo 'int i;' > conftest.$ac_ext |
6749 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6750 |
(eval $ac_compile) 2>&5 |
6751 |
ac_status=$? |
6752 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6753 |
test $ac_status = 0; }; then |
6754 |
case `/usr/bin/file conftest.o` in |
6755 |
*64-bit*) |
6756 |
case $lt_cv_prog_gnu_ld in |
6757 |
yes*) |
6758 |
case $host in |
6759 |
i?86-*-solaris*|x86_64-*-solaris*) |
6760 |
LD="${LD-ld} -m elf_x86_64" |
6761 |
;; |
6762 |
sparc*-*-solaris*) |
6763 |
LD="${LD-ld} -m elf64_sparc" |
6764 |
;; |
6765 |
esac |
6766 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
6767 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
6768 |
LD=${LD-ld}_sol2 |
6769 |
fi |
6770 |
;; |
6771 |
*) |
6772 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
6773 |
LD="${LD-ld} -64" |
6774 |
fi |
6775 |
;; |
6776 |
esac |
6777 |
;; |
6778 |
esac |
6779 |
fi |
6780 |
rm -rf conftest* |
6781 |
;; |
6782 |
esac |
6783 |
|
6784 |
need_locks=$enable_libtool_lock |
6785 |
|
6786 |
if test -n "$ac_tool_prefix"; then |
6787 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
6788 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
6789 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6790 |
$as_echo_n "checking for $ac_word... " >&6; } |
6791 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
6792 |
$as_echo_n "(cached) " >&6 |
6793 |
else |
6794 |
if test -n "$MANIFEST_TOOL"; then |
6795 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
6796 |
else |
6797 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6798 |
for as_dir in $PATH |
6799 |
do |
6800 |
IFS=$as_save_IFS |
6801 |
test -z "$as_dir" && as_dir=. |
6802 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6803 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6804 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
6805 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6806 |
break 2 |
6807 |
fi |
6808 |
done |
6809 |
done |
6810 |
IFS=$as_save_IFS |
6811 |
|
6812 |
fi |
6813 |
fi |
6814 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
6815 |
if test -n "$MANIFEST_TOOL"; then |
6816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
6817 |
$as_echo "$MANIFEST_TOOL" >&6; } |
6818 |
else |
6819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6820 |
$as_echo "no" >&6; } |
6821 |
fi |
6822 |
|
6823 |
|
6824 |
fi |
6825 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
6826 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
6827 |
# Extract the first word of "mt", so it can be a program name with args. |
6828 |
set dummy mt; ac_word=$2 |
6829 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6830 |
$as_echo_n "checking for $ac_word... " >&6; } |
6831 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
6832 |
$as_echo_n "(cached) " >&6 |
6833 |
else |
6834 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
6835 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
6836 |
else |
6837 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6838 |
for as_dir in $PATH |
6839 |
do |
6840 |
IFS=$as_save_IFS |
6841 |
test -z "$as_dir" && as_dir=. |
6842 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6843 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6844 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
6845 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6846 |
break 2 |
6847 |
fi |
6848 |
done |
6849 |
done |
6850 |
IFS=$as_save_IFS |
6851 |
|
6852 |
fi |
6853 |
fi |
6854 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
6855 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
6856 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
6857 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
6858 |
else |
6859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6860 |
$as_echo "no" >&6; } |
6861 |
fi |
6862 |
|
6863 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
6864 |
MANIFEST_TOOL=":" |
6865 |
else |
6866 |
case $cross_compiling:$ac_tool_warned in |
6867 |
yes:) |
6868 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6869 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6870 |
ac_tool_warned=yes ;; |
6871 |
esac |
6872 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
6873 |
fi |
6874 |
else |
6875 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
6876 |
fi |
6877 |
|
6878 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
6879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
6880 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
6881 |
if ${lt_cv_path_mainfest_tool+:} false; then : |
6882 |
$as_echo_n "(cached) " >&6 |
6883 |
else |
6884 |
lt_cv_path_mainfest_tool=no |
6885 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
6886 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
6887 |
cat conftest.err >&5 |
6888 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
6889 |
lt_cv_path_mainfest_tool=yes |
6890 |
fi |
6891 |
rm -f conftest* |
6892 |
fi |
6893 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
6894 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
6895 |
if test yes != "$lt_cv_path_mainfest_tool"; then |
6896 |
MANIFEST_TOOL=: |
6897 |
fi |
6898 |
|
6899 |
|
6900 |
|
6901 |
|
6902 |
|
6903 |
|
6904 |
case $host_os in |
6905 |
rhapsody* | darwin*) |
6906 |
if test -n "$ac_tool_prefix"; then |
6907 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
6908 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
6909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6910 |
$as_echo_n "checking for $ac_word... " >&6; } |
6911 |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
6912 |
$as_echo_n "(cached) " >&6 |
6913 |
else |
6914 |
if test -n "$DSYMUTIL"; then |
6915 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
6916 |
else |
6917 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6918 |
for as_dir in $PATH |
6919 |
do |
6920 |
IFS=$as_save_IFS |
6921 |
test -z "$as_dir" && as_dir=. |
6922 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6923 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6924 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
6925 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6926 |
break 2 |
6927 |
fi |
6928 |
done |
6929 |
done |
6930 |
IFS=$as_save_IFS |
6931 |
|
6932 |
fi |
6933 |
fi |
6934 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
6935 |
if test -n "$DSYMUTIL"; then |
6936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
6937 |
$as_echo "$DSYMUTIL" >&6; } |
6938 |
else |
6939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6940 |
$as_echo "no" >&6; } |
6941 |
fi |
6942 |
|
6943 |
|
6944 |
fi |
6945 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
6946 |
ac_ct_DSYMUTIL=$DSYMUTIL |
6947 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
6948 |
set dummy dsymutil; ac_word=$2 |
6949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6950 |
$as_echo_n "checking for $ac_word... " >&6; } |
6951 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
6952 |
$as_echo_n "(cached) " >&6 |
6953 |
else |
6954 |
if test -n "$ac_ct_DSYMUTIL"; then |
6955 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
6956 |
else |
6957 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6958 |
for as_dir in $PATH |
6959 |
do |
6960 |
IFS=$as_save_IFS |
6961 |
test -z "$as_dir" && as_dir=. |
6962 |
for ac_exec_ext in '' $ac_executable_extensions; do |
6963 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6964 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
6965 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6966 |
break 2 |
6967 |
fi |
6968 |
done |
6969 |
done |
6970 |
IFS=$as_save_IFS |
6971 |
|
6972 |
fi |
6973 |
fi |
6974 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
6975 |
if test -n "$ac_ct_DSYMUTIL"; then |
6976 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
6977 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
6978 |
else |
6979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6980 |
$as_echo "no" >&6; } |
6981 |
fi |
6982 |
|
6983 |
if test "x$ac_ct_DSYMUTIL" = x; then |
6984 |
DSYMUTIL=":" |
6985 |
else |
6986 |
case $cross_compiling:$ac_tool_warned in |
6987 |
yes:) |
6988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6989 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6990 |
ac_tool_warned=yes ;; |
6991 |
esac |
6992 |
DSYMUTIL=$ac_ct_DSYMUTIL |
6993 |
fi |
6994 |
else |
6995 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
6996 |
fi |
6997 |
|
6998 |
if test -n "$ac_tool_prefix"; then |
6999 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
7000 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
7001 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7002 |
$as_echo_n "checking for $ac_word... " >&6; } |
7003 |
if ${ac_cv_prog_NMEDIT+:} false; then : |
7004 |
$as_echo_n "(cached) " >&6 |
7005 |
else |
7006 |
if test -n "$NMEDIT"; then |
7007 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
7008 |
else |
7009 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7010 |
for as_dir in $PATH |
7011 |
do |
7012 |
IFS=$as_save_IFS |
7013 |
test -z "$as_dir" && as_dir=. |
7014 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7015 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7016 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
7017 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7018 |
break 2 |
7019 |
fi |
7020 |
done |
7021 |
done |
7022 |
IFS=$as_save_IFS |
7023 |
|
7024 |
fi |
7025 |
fi |
7026 |
NMEDIT=$ac_cv_prog_NMEDIT |
7027 |
if test -n "$NMEDIT"; then |
7028 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
7029 |
$as_echo "$NMEDIT" >&6; } |
7030 |
else |
7031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7032 |
$as_echo "no" >&6; } |
7033 |
fi |
7034 |
|
7035 |
|
7036 |
fi |
7037 |
if test -z "$ac_cv_prog_NMEDIT"; then |
7038 |
ac_ct_NMEDIT=$NMEDIT |
7039 |
# Extract the first word of "nmedit", so it can be a program name with args. |
7040 |
set dummy nmedit; ac_word=$2 |
7041 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7042 |
$as_echo_n "checking for $ac_word... " >&6; } |
7043 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
7044 |
$as_echo_n "(cached) " >&6 |
7045 |
else |
7046 |
if test -n "$ac_ct_NMEDIT"; then |
7047 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
7048 |
else |
7049 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7050 |
for as_dir in $PATH |
7051 |
do |
7052 |
IFS=$as_save_IFS |
7053 |
test -z "$as_dir" && as_dir=. |
7054 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7055 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7056 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
7057 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7058 |
break 2 |
7059 |
fi |
7060 |
done |
7061 |
done |
7062 |
IFS=$as_save_IFS |
7063 |
|
7064 |
fi |
7065 |
fi |
7066 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
7067 |
if test -n "$ac_ct_NMEDIT"; then |
7068 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
7069 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
7070 |
else |
7071 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7072 |
$as_echo "no" >&6; } |
7073 |
fi |
7074 |
|
7075 |
if test "x$ac_ct_NMEDIT" = x; then |
7076 |
NMEDIT=":" |
7077 |
else |
7078 |
case $cross_compiling:$ac_tool_warned in |
7079 |
yes:) |
7080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7081 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7082 |
ac_tool_warned=yes ;; |
7083 |
esac |
7084 |
NMEDIT=$ac_ct_NMEDIT |
7085 |
fi |
7086 |
else |
7087 |
NMEDIT="$ac_cv_prog_NMEDIT" |
7088 |
fi |
7089 |
|
7090 |
if test -n "$ac_tool_prefix"; then |
7091 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
7092 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
7093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7094 |
$as_echo_n "checking for $ac_word... " >&6; } |
7095 |
if ${ac_cv_prog_LIPO+:} false; then : |
7096 |
$as_echo_n "(cached) " >&6 |
7097 |
else |
7098 |
if test -n "$LIPO"; then |
7099 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
7100 |
else |
7101 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7102 |
for as_dir in $PATH |
7103 |
do |
7104 |
IFS=$as_save_IFS |
7105 |
test -z "$as_dir" && as_dir=. |
7106 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7107 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7108 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
7109 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7110 |
break 2 |
7111 |
fi |
7112 |
done |
7113 |
done |
7114 |
IFS=$as_save_IFS |
7115 |
|
7116 |
fi |
7117 |
fi |
7118 |
LIPO=$ac_cv_prog_LIPO |
7119 |
if test -n "$LIPO"; then |
7120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
7121 |
$as_echo "$LIPO" >&6; } |
7122 |
else |
7123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7124 |
$as_echo "no" >&6; } |
7125 |
fi |
7126 |
|
7127 |
|
7128 |
fi |
7129 |
if test -z "$ac_cv_prog_LIPO"; then |
7130 |
ac_ct_LIPO=$LIPO |
7131 |
# Extract the first word of "lipo", so it can be a program name with args. |
7132 |
set dummy lipo; ac_word=$2 |
7133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7134 |
$as_echo_n "checking for $ac_word... " >&6; } |
7135 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
7136 |
$as_echo_n "(cached) " >&6 |
7137 |
else |
7138 |
if test -n "$ac_ct_LIPO"; then |
7139 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
7140 |
else |
7141 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7142 |
for as_dir in $PATH |
7143 |
do |
7144 |
IFS=$as_save_IFS |
7145 |
test -z "$as_dir" && as_dir=. |
7146 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7147 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7148 |
ac_cv_prog_ac_ct_LIPO="lipo" |
7149 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7150 |
break 2 |
7151 |
fi |
7152 |
done |
7153 |
done |
7154 |
IFS=$as_save_IFS |
7155 |
|
7156 |
fi |
7157 |
fi |
7158 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
7159 |
if test -n "$ac_ct_LIPO"; then |
7160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
7161 |
$as_echo "$ac_ct_LIPO" >&6; } |
7162 |
else |
7163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7164 |
$as_echo "no" >&6; } |
7165 |
fi |
7166 |
|
7167 |
if test "x$ac_ct_LIPO" = x; then |
7168 |
LIPO=":" |
7169 |
else |
7170 |
case $cross_compiling:$ac_tool_warned in |
7171 |
yes:) |
7172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7173 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7174 |
ac_tool_warned=yes ;; |
7175 |
esac |
7176 |
LIPO=$ac_ct_LIPO |
7177 |
fi |
7178 |
else |
7179 |
LIPO="$ac_cv_prog_LIPO" |
7180 |
fi |
7181 |
|
7182 |
if test -n "$ac_tool_prefix"; then |
7183 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
7184 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
7185 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7186 |
$as_echo_n "checking for $ac_word... " >&6; } |
7187 |
if ${ac_cv_prog_OTOOL+:} false; then : |
7188 |
$as_echo_n "(cached) " >&6 |
7189 |
else |
7190 |
if test -n "$OTOOL"; then |
7191 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
7192 |
else |
7193 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7194 |
for as_dir in $PATH |
7195 |
do |
7196 |
IFS=$as_save_IFS |
7197 |
test -z "$as_dir" && as_dir=. |
7198 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7199 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7200 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
7201 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7202 |
break 2 |
7203 |
fi |
7204 |
done |
7205 |
done |
7206 |
IFS=$as_save_IFS |
7207 |
|
7208 |
fi |
7209 |
fi |
7210 |
OTOOL=$ac_cv_prog_OTOOL |
7211 |
if test -n "$OTOOL"; then |
7212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
7213 |
$as_echo "$OTOOL" >&6; } |
7214 |
else |
7215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7216 |
$as_echo "no" >&6; } |
7217 |
fi |
7218 |
|
7219 |
|
7220 |
fi |
7221 |
if test -z "$ac_cv_prog_OTOOL"; then |
7222 |
ac_ct_OTOOL=$OTOOL |
7223 |
# Extract the first word of "otool", so it can be a program name with args. |
7224 |
set dummy otool; ac_word=$2 |
7225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7226 |
$as_echo_n "checking for $ac_word... " >&6; } |
7227 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
7228 |
$as_echo_n "(cached) " >&6 |
7229 |
else |
7230 |
if test -n "$ac_ct_OTOOL"; then |
7231 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
7232 |
else |
7233 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7234 |
for as_dir in $PATH |
7235 |
do |
7236 |
IFS=$as_save_IFS |
7237 |
test -z "$as_dir" && as_dir=. |
7238 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7239 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7240 |
ac_cv_prog_ac_ct_OTOOL="otool" |
7241 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7242 |
break 2 |
7243 |
fi |
7244 |
done |
7245 |
done |
7246 |
IFS=$as_save_IFS |
7247 |
|
7248 |
fi |
7249 |
fi |
7250 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
7251 |
if test -n "$ac_ct_OTOOL"; then |
7252 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
7253 |
$as_echo "$ac_ct_OTOOL" >&6; } |
7254 |
else |
7255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7256 |
$as_echo "no" >&6; } |
7257 |
fi |
7258 |
|
7259 |
if test "x$ac_ct_OTOOL" = x; then |
7260 |
OTOOL=":" |
7261 |
else |
7262 |
case $cross_compiling:$ac_tool_warned in |
7263 |
yes:) |
7264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7265 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7266 |
ac_tool_warned=yes ;; |
7267 |
esac |
7268 |
OTOOL=$ac_ct_OTOOL |
7269 |
fi |
7270 |
else |
7271 |
OTOOL="$ac_cv_prog_OTOOL" |
7272 |
fi |
7273 |
|
7274 |
if test -n "$ac_tool_prefix"; then |
7275 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
7276 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
7277 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7278 |
$as_echo_n "checking for $ac_word... " >&6; } |
7279 |
if ${ac_cv_prog_OTOOL64+:} false; then : |
7280 |
$as_echo_n "(cached) " >&6 |
7281 |
else |
7282 |
if test -n "$OTOOL64"; then |
7283 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
7284 |
else |
7285 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7286 |
for as_dir in $PATH |
7287 |
do |
7288 |
IFS=$as_save_IFS |
7289 |
test -z "$as_dir" && as_dir=. |
7290 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7291 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7292 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
7293 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7294 |
break 2 |
7295 |
fi |
7296 |
done |
7297 |
done |
7298 |
IFS=$as_save_IFS |
7299 |
|
7300 |
fi |
7301 |
fi |
7302 |
OTOOL64=$ac_cv_prog_OTOOL64 |
7303 |
if test -n "$OTOOL64"; then |
7304 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
7305 |
$as_echo "$OTOOL64" >&6; } |
7306 |
else |
7307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7308 |
$as_echo "no" >&6; } |
7309 |
fi |
7310 |
|
7311 |
|
7312 |
fi |
7313 |
if test -z "$ac_cv_prog_OTOOL64"; then |
7314 |
ac_ct_OTOOL64=$OTOOL64 |
7315 |
# Extract the first word of "otool64", so it can be a program name with args. |
7316 |
set dummy otool64; ac_word=$2 |
7317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7318 |
$as_echo_n "checking for $ac_word... " >&6; } |
7319 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
7320 |
$as_echo_n "(cached) " >&6 |
7321 |
else |
7322 |
if test -n "$ac_ct_OTOOL64"; then |
7323 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
7324 |
else |
7325 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7326 |
for as_dir in $PATH |
7327 |
do |
7328 |
IFS=$as_save_IFS |
7329 |
test -z "$as_dir" && as_dir=. |
7330 |
for ac_exec_ext in '' $ac_executable_extensions; do |
7331 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7332 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
7333 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7334 |
break 2 |
7335 |
fi |
7336 |
done |
7337 |
done |
7338 |
IFS=$as_save_IFS |
7339 |
|
7340 |
fi |
7341 |
fi |
7342 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
7343 |
if test -n "$ac_ct_OTOOL64"; then |
7344 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
7345 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
7346 |
else |
7347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7348 |
$as_echo "no" >&6; } |
7349 |
fi |
7350 |
|
7351 |
if test "x$ac_ct_OTOOL64" = x; then |
7352 |
OTOOL64=":" |
7353 |
else |
7354 |
case $cross_compiling:$ac_tool_warned in |
7355 |
yes:) |
7356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7357 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7358 |
ac_tool_warned=yes ;; |
7359 |
esac |
7360 |
OTOOL64=$ac_ct_OTOOL64 |
7361 |
fi |
7362 |
else |
7363 |
OTOOL64="$ac_cv_prog_OTOOL64" |
7364 |
fi |
7365 |
|
7366 |
|
7367 |
|
7368 |
|
7369 |
|
7370 |
|
7371 |
|
7372 |
|
7373 |
|
7374 |
|
7375 |
|
7376 |
|
7377 |
|
7378 |
|
7379 |
|
7380 |
|
7381 |
|
7382 |
|
7383 |
|
7384 |
|
7385 |
|
7386 |
|
7387 |
|
7388 |
|
7389 |
|
7390 |
|
7391 |
|
7392 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
7393 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
7394 |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
7395 |
$as_echo_n "(cached) " >&6 |
7396 |
else |
7397 |
lt_cv_apple_cc_single_mod=no |
7398 |
if test -z "$LT_MULTI_MODULE"; then |
7399 |
# By default we will add the -single_module flag. You can override |
7400 |
# by either setting the environment variable LT_MULTI_MODULE |
7401 |
# non-empty at configure time, or by adding -multi_module to the |
7402 |
# link flags. |
7403 |
rm -rf libconftest.dylib* |
7404 |
echo "int foo(void){return 1;}" > conftest.c |
7405 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7406 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
7407 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7408 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
7409 |
_lt_result=$? |
7410 |
# If there is a non-empty error log, and "single_module" |
7411 |
# appears in it, assume the flag caused a linker warning |
7412 |
if test -s conftest.err && $GREP single_module conftest.err; then |
7413 |
cat conftest.err >&5 |
7414 |
# Otherwise, if the output was created with a 0 exit code from |
7415 |
# the compiler, it worked. |
7416 |
elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
7417 |
lt_cv_apple_cc_single_mod=yes |
7418 |
else |
7419 |
cat conftest.err >&5 |
7420 |
fi |
7421 |
rm -rf libconftest.dylib* |
7422 |
rm -f conftest.* |
7423 |
fi |
7424 |
fi |
7425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7426 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7427 |
|
7428 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7429 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7430 |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7431 |
$as_echo_n "(cached) " >&6 |
7432 |
else |
7433 |
lt_cv_ld_exported_symbols_list=no |
7434 |
save_LDFLAGS=$LDFLAGS |
7435 |
echo "_main" > conftest.sym |
7436 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
7437 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7438 |
/* end confdefs.h. */ |
7439 |
|
7440 |
int |
7441 |
main () |
7442 |
{ |
7443 |
|
7444 |
; |
7445 |
return 0; |
7446 |
} |
7447 |
_ACEOF |
7448 |
if ac_fn_c_try_link "$LINENO"; then : |
7449 |
lt_cv_ld_exported_symbols_list=yes |
7450 |
else |
7451 |
lt_cv_ld_exported_symbols_list=no |
7452 |
fi |
7453 |
rm -f core conftest.err conftest.$ac_objext \ |
7454 |
conftest$ac_exeext conftest.$ac_ext |
7455 |
LDFLAGS=$save_LDFLAGS |
7456 |
|
7457 |
fi |
7458 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7459 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7460 |
|
7461 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7462 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
7463 |
if ${lt_cv_ld_force_load+:} false; then : |
7464 |
$as_echo_n "(cached) " >&6 |
7465 |
else |
7466 |
lt_cv_ld_force_load=no |
7467 |
cat > conftest.c << _LT_EOF |
7468 |
int forced_loaded() { return 2;} |
7469 |
_LT_EOF |
7470 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
7471 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
7472 |
echo "$AR cru libconftest.a conftest.o" >&5 |
7473 |
$AR cru libconftest.a conftest.o 2>&5 |
7474 |
echo "$RANLIB libconftest.a" >&5 |
7475 |
$RANLIB libconftest.a 2>&5 |
7476 |
cat > conftest.c << _LT_EOF |
7477 |
int main() { return 0;} |
7478 |
_LT_EOF |
7479 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7480 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7481 |
_lt_result=$? |
7482 |
if test -s conftest.err && $GREP force_load conftest.err; then |
7483 |
cat conftest.err >&5 |
7484 |
elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
7485 |
lt_cv_ld_force_load=yes |
7486 |
else |
7487 |
cat conftest.err >&5 |
7488 |
fi |
7489 |
rm -f conftest.err libconftest.a conftest conftest.c |
7490 |
rm -rf conftest.dSYM |
7491 |
|
7492 |
fi |
7493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7494 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
7495 |
case $host_os in |
7496 |
rhapsody* | darwin1.[012]) |
7497 |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
7498 |
darwin1.*) |
7499 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
7500 |
darwin*) # darwin 5.x on |
7501 |
# if running on 10.5 or later, the deployment target defaults |
7502 |
# to the OS version, if on x86, and 10.4, the deployment |
7503 |
# target defaults to 10.4. Don't you love it? |
7504 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
7505 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
7506 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
7507 |
10.[012][,.]*) |
7508 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
7509 |
10.*) |
7510 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
7511 |
esac |
7512 |
;; |
7513 |
esac |
7514 |
if test yes = "$lt_cv_apple_cc_single_mod"; then |
7515 |
_lt_dar_single_mod='$single_module' |
7516 |
fi |
7517 |
if test yes = "$lt_cv_ld_exported_symbols_list"; then |
7518 |
_lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
7519 |
else |
7520 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
7521 |
fi |
7522 |
if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
7523 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7524 |
else |
7525 |
_lt_dsymutil= |
7526 |
fi |
7527 |
;; |
7528 |
esac |
7529 |
|
7530 |
ac_ext=c |
7531 |
ac_cpp='$CPP $CPPFLAGS' |
7532 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7533 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7534 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7535 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
7536 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
7537 |
# On Suns, sometimes $CPP names a directory. |
7538 |
if test -n "$CPP" && test -d "$CPP"; then |
7539 |
CPP= |
7540 |
fi |
7541 |
if test -z "$CPP"; then |
7542 |
if ${ac_cv_prog_CPP+:} false; then : |
7543 |
$as_echo_n "(cached) " >&6 |
7544 |
else |
7545 |
# Double quotes because CPP needs to be expanded |
7546 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
7547 |
do |
7548 |
ac_preproc_ok=false |
7549 |
for ac_c_preproc_warn_flag in '' yes |
7550 |
do |
7551 |
# Use a header file that comes with gcc, so configuring glibc |
7552 |
# with a fresh cross-compiler works. |
7553 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7554 |
# <limits.h> exists even on freestanding compilers. |
7555 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
7556 |
# not just through cpp. "Syntax error" is here to catch this case. |
7557 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7558 |
/* end confdefs.h. */ |
7559 |
#ifdef __STDC__ |
7560 |
# include <limits.h> |
7561 |
#else |
7562 |
# include <assert.h> |
7563 |
#endif |
7564 |
Syntax error |
7565 |
_ACEOF |
7566 |
if ac_fn_c_try_cpp "$LINENO"; then : |
7567 |
|
7568 |
else |
7569 |
# Broken: fails on valid input. |
7570 |
continue |
7571 |
fi |
7572 |
rm -f conftest.err conftest.i conftest.$ac_ext |
7573 |
|
7574 |
# OK, works on sane cases. Now check whether nonexistent headers |
7575 |
# can be detected and how. |
7576 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7577 |
/* end confdefs.h. */ |
7578 |
#include <ac_nonexistent.h> |
7579 |
_ACEOF |
7580 |
if ac_fn_c_try_cpp "$LINENO"; then : |
7581 |
# Broken: success on invalid input. |
7582 |
continue |
7583 |
else |
7584 |
# Passes both tests. |
7585 |
ac_preproc_ok=: |
7586 |
break |
7587 |
fi |
7588 |
rm -f conftest.err conftest.i conftest.$ac_ext |
7589 |
|
7590 |
done |
7591 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7592 |
rm -f conftest.i conftest.err conftest.$ac_ext |
7593 |
if $ac_preproc_ok; then : |
7594 |
break |
7595 |
fi |
7596 |
|
7597 |
done |
7598 |
ac_cv_prog_CPP=$CPP |
7599 |
|
7600 |
fi |
7601 |
CPP=$ac_cv_prog_CPP |
7602 |
else |
7603 |
ac_cv_prog_CPP=$CPP |
7604 |
fi |
7605 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
7606 |
$as_echo "$CPP" >&6; } |
7607 |
ac_preproc_ok=false |
7608 |
for ac_c_preproc_warn_flag in '' yes |
7609 |
do |
7610 |
# Use a header file that comes with gcc, so configuring glibc |
7611 |
# with a fresh cross-compiler works. |
7612 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7613 |
# <limits.h> exists even on freestanding compilers. |
7614 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
7615 |
# not just through cpp. "Syntax error" is here to catch this case. |
7616 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7617 |
/* end confdefs.h. */ |
7618 |
#ifdef __STDC__ |
7619 |
# include <limits.h> |
7620 |
#else |
7621 |
# include <assert.h> |
7622 |
#endif |
7623 |
Syntax error |
7624 |
_ACEOF |
7625 |
if ac_fn_c_try_cpp "$LINENO"; then : |
7626 |
|
7627 |
else |
7628 |
# Broken: fails on valid input. |
7629 |
continue |
7630 |
fi |
7631 |
rm -f conftest.err conftest.i conftest.$ac_ext |
7632 |
|
7633 |
# OK, works on sane cases. Now check whether nonexistent headers |
7634 |
# can be detected and how. |
7635 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7636 |
/* end confdefs.h. */ |
7637 |
#include <ac_nonexistent.h> |
7638 |
_ACEOF |
7639 |
if ac_fn_c_try_cpp "$LINENO"; then : |
7640 |
# Broken: success on invalid input. |
7641 |
continue |
7642 |
else |
7643 |
# Passes both tests. |
7644 |
ac_preproc_ok=: |
7645 |
break |
7646 |
fi |
7647 |
rm -f conftest.err conftest.i conftest.$ac_ext |
7648 |
|
7649 |
done |
7650 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7651 |
rm -f conftest.i conftest.err conftest.$ac_ext |
7652 |
if $ac_preproc_ok; then : |
7653 |
|
7654 |
else |
7655 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7656 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7657 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
7658 |
See \`config.log' for more details" "$LINENO" 5; } |
7659 |
fi |
7660 |
|
7661 |
ac_ext=c |
7662 |
ac_cpp='$CPP $CPPFLAGS' |
7663 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7664 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7665 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7666 |
|
7667 |
|
7668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7669 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
7670 |
if ${ac_cv_header_stdc+:} false; then : |
7671 |
$as_echo_n "(cached) " >&6 |
7672 |
else |
7673 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7674 |
/* end confdefs.h. */ |
7675 |
#include <stdlib.h> |
7676 |
#include <stdarg.h> |
7677 |
#include <string.h> |
7678 |
#include <float.h> |
7679 |
|
7680 |
int |
7681 |
main () |
7682 |
{ |
7683 |
|
7684 |
; |
7685 |
return 0; |
7686 |
} |
7687 |
_ACEOF |
7688 |
if ac_fn_c_try_compile "$LINENO"; then : |
7689 |
ac_cv_header_stdc=yes |
7690 |
else |
7691 |
ac_cv_header_stdc=no |
7692 |
fi |
7693 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7694 |
|
7695 |
if test $ac_cv_header_stdc = yes; then |
7696 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7697 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7698 |
/* end confdefs.h. */ |
7699 |
#include <string.h> |
7700 |
|
7701 |
_ACEOF |
7702 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7703 |
$EGREP "memchr" >/dev/null 2>&1; then : |
7704 |
|
7705 |
else |
7706 |
ac_cv_header_stdc=no |
7707 |
fi |
7708 |
rm -f conftest* |
7709 |
|
7710 |
fi |
7711 |
|
7712 |
if test $ac_cv_header_stdc = yes; then |
7713 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7714 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7715 |
/* end confdefs.h. */ |
7716 |
#include <stdlib.h> |
7717 |
|
7718 |
_ACEOF |
7719 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7720 |
$EGREP "free" >/dev/null 2>&1; then : |
7721 |
|
7722 |
else |
7723 |
ac_cv_header_stdc=no |
7724 |
fi |
7725 |
rm -f conftest* |
7726 |
|
7727 |
fi |
7728 |
|
7729 |
if test $ac_cv_header_stdc = yes; then |
7730 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
7731 |
if test "$cross_compiling" = yes; then : |
7732 |
: |
7733 |
else |
7734 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7735 |
/* end confdefs.h. */ |
7736 |
#include <ctype.h> |
7737 |
#include <stdlib.h> |
7738 |
#if ((' ' & 0x0FF) == 0x020) |
7739 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
7740 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
7741 |
#else |
7742 |
# define ISLOWER(c) \ |
7743 |
(('a' <= (c) && (c) <= 'i') \ |
7744 |
|| ('j' <= (c) && (c) <= 'r') \ |
7745 |
|| ('s' <= (c) && (c) <= 'z')) |
7746 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
7747 |
#endif |
7748 |
|
7749 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
7750 |
int |
7751 |
main () |
7752 |
{ |
7753 |
int i; |
7754 |
for (i = 0; i < 256; i++) |
7755 |
if (XOR (islower (i), ISLOWER (i)) |
7756 |
|| toupper (i) != TOUPPER (i)) |
7757 |
return 2; |
7758 |
return 0; |
7759 |
} |
7760 |
_ACEOF |
7761 |
if ac_fn_c_try_run "$LINENO"; then : |
7762 |
|
7763 |
else |
7764 |
ac_cv_header_stdc=no |
7765 |
fi |
7766 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7767 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
7768 |
fi |
7769 |
|
7770 |
fi |
7771 |
fi |
7772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
7773 |
$as_echo "$ac_cv_header_stdc" >&6; } |
7774 |
if test $ac_cv_header_stdc = yes; then |
7775 |
|
7776 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
7777 |
|
7778 |
fi |
7779 |
|
7780 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
7781 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
7782 |
inttypes.h stdint.h unistd.h |
7783 |
do : |
7784 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7785 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7786 |
" |
7787 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7788 |
cat >>confdefs.h <<_ACEOF |
7789 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7790 |
_ACEOF |
7791 |
|
7792 |
fi |
7793 |
|
7794 |
done |
7795 |
|
7796 |
|
7797 |
for ac_header in dlfcn.h |
7798 |
do : |
7799 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
7800 |
" |
7801 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
7802 |
cat >>confdefs.h <<_ACEOF |
7803 |
#define HAVE_DLFCN_H 1 |
7804 |
_ACEOF |
7805 |
|
7806 |
fi |
7807 |
|
7808 |
done |
7809 |
|
7810 |
|
7811 |
|
7812 |
|
7813 |
|
7814 |
# Set options |
7815 |
|
7816 |
|
7817 |
|
7818 |
enable_dlopen=no |
7819 |
|
7820 |
|
7821 |
enable_win32_dll=no |
7822 |
|
7823 |
|
7824 |
# Check whether --enable-shared was given. |
7825 |
if test "${enable_shared+set}" = set; then : |
7826 |
enableval=$enable_shared; p=${PACKAGE-default} |
7827 |
case $enableval in |
7828 |
yes) enable_shared=yes ;; |
7829 |
no) enable_shared=no ;; |
7830 |
*) |
7831 |
enable_shared=no |
7832 |
# Look at the argument we got. We use all the common list separators. |
7833 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
7834 |
for pkg in $enableval; do |
7835 |
IFS=$lt_save_ifs |
7836 |
if test "X$pkg" = "X$p"; then |
7837 |
enable_shared=yes |
7838 |
fi |
7839 |
done |
7840 |
IFS=$lt_save_ifs |
7841 |
;; |
7842 |
esac |
7843 |
else |
7844 |
enable_shared=yes |
7845 |
fi |
7846 |
|
7847 |
|
7848 |
|
7849 |
|
7850 |
|
7851 |
|
7852 |
|
7853 |
|
7854 |
|
7855 |
# Check whether --enable-static was given. |
7856 |
if test "${enable_static+set}" = set; then : |
7857 |
enableval=$enable_static; p=${PACKAGE-default} |
7858 |
case $enableval in |
7859 |
yes) enable_static=yes ;; |
7860 |
no) enable_static=no ;; |
7861 |
*) |
7862 |
enable_static=no |
7863 |
# Look at the argument we got. We use all the common list separators. |
7864 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
7865 |
for pkg in $enableval; do |
7866 |
IFS=$lt_save_ifs |
7867 |
if test "X$pkg" = "X$p"; then |
7868 |
enable_static=yes |
7869 |
fi |
7870 |
done |
7871 |
IFS=$lt_save_ifs |
7872 |
;; |
7873 |
esac |
7874 |
else |
7875 |
enable_static=yes |
7876 |
fi |
7877 |
|
7878 |
|
7879 |
|
7880 |
|
7881 |
|
7882 |
|
7883 |
|
7884 |
|
7885 |
|
7886 |
|
7887 |
# Check whether --with-pic was given. |
7888 |
if test "${with_pic+set}" = set; then : |
7889 |
withval=$with_pic; lt_p=${PACKAGE-default} |
7890 |
case $withval in |
7891 |
yes|no) pic_mode=$withval ;; |
7892 |
*) |
7893 |
pic_mode=default |
7894 |
# Look at the argument we got. We use all the common list separators. |
7895 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
7896 |
for lt_pkg in $withval; do |
7897 |
IFS=$lt_save_ifs |
7898 |
if test "X$lt_pkg" = "X$lt_p"; then |
7899 |
pic_mode=yes |
7900 |
fi |
7901 |
done |
7902 |
IFS=$lt_save_ifs |
7903 |
;; |
7904 |
esac |
7905 |
else |
7906 |
pic_mode=default |
7907 |
fi |
7908 |
|
7909 |
|
7910 |
|
7911 |
|
7912 |
|
7913 |
|
7914 |
|
7915 |
|
7916 |
# Check whether --enable-fast-install was given. |
7917 |
if test "${enable_fast_install+set}" = set; then : |
7918 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
7919 |
case $enableval in |
7920 |
yes) enable_fast_install=yes ;; |
7921 |
no) enable_fast_install=no ;; |
7922 |
*) |
7923 |
enable_fast_install=no |
7924 |
# Look at the argument we got. We use all the common list separators. |
7925 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
7926 |
for pkg in $enableval; do |
7927 |
IFS=$lt_save_ifs |
7928 |
if test "X$pkg" = "X$p"; then |
7929 |
enable_fast_install=yes |
7930 |
fi |
7931 |
done |
7932 |
IFS=$lt_save_ifs |
7933 |
;; |
7934 |
esac |
7935 |
else |
7936 |
enable_fast_install=yes |
7937 |
fi |
7938 |
|
7939 |
|
7940 |
|
7941 |
|
7942 |
|
7943 |
|
7944 |
|
7945 |
|
7946 |
shared_archive_member_spec= |
7947 |
case $host,$enable_shared in |
7948 |
power*-*-aix[5-9]*,yes) |
7949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
7950 |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } |
7951 |
|
7952 |
# Check whether --with-aix-soname was given. |
7953 |
if test "${with_aix_soname+set}" = set; then : |
7954 |
withval=$with_aix_soname; case $withval in |
7955 |
aix|svr4|both) |
7956 |
;; |
7957 |
*) |
7958 |
as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
7959 |
;; |
7960 |
esac |
7961 |
lt_cv_with_aix_soname=$with_aix_soname |
7962 |
else |
7963 |
if ${lt_cv_with_aix_soname+:} false; then : |
7964 |
$as_echo_n "(cached) " >&6 |
7965 |
else |
7966 |
lt_cv_with_aix_soname=aix |
7967 |
fi |
7968 |
|
7969 |
with_aix_soname=$lt_cv_with_aix_soname |
7970 |
fi |
7971 |
|
7972 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
7973 |
$as_echo "$with_aix_soname" >&6; } |
7974 |
if test aix != "$with_aix_soname"; then |
7975 |
# For the AIX way of multilib, we name the shared archive member |
7976 |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
7977 |
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
7978 |
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
7979 |
# the AIX toolchain works better with OBJECT_MODE set (default 32). |
7980 |
if test 64 = "${OBJECT_MODE-32}"; then |
7981 |
shared_archive_member_spec=shr_64 |
7982 |
else |
7983 |
shared_archive_member_spec=shr |
7984 |
fi |
7985 |
fi |
7986 |
;; |
7987 |
*) |
7988 |
with_aix_soname=aix |
7989 |
;; |
7990 |
esac |
7991 |
|
7992 |
|
7993 |
|
7994 |
|
7995 |
|
7996 |
|
7997 |
|
7998 |
|
7999 |
|
8000 |
|
8001 |
# This can be used to rebuild libtool when needed |
8002 |
LIBTOOL_DEPS=$ltmain |
8003 |
|
8004 |
# Always use our own libtool. |
8005 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
8006 |
|
8007 |
|
8008 |
|
8009 |
|
8010 |
|
8011 |
|
8012 |
|
8013 |
|
8014 |
|
8015 |
|
8016 |
|
8017 |
|
8018 |
|
8019 |
|
8020 |
|
8021 |
|
8022 |
|
8023 |
|
8024 |
|
8025 |
|
8026 |
|
8027 |
|
8028 |
|
8029 |
|
8030 |
|
8031 |
|
8032 |
|
8033 |
|
8034 |
|
8035 |
|
8036 |
test -z "$LN_S" && LN_S="ln -s" |
8037 |
|
8038 |
|
8039 |
|
8040 |
|
8041 |
|
8042 |
|
8043 |
|
8044 |
|
8045 |
|
8046 |
|
8047 |
|
8048 |
|
8049 |
|
8050 |
|
8051 |
if test -n "${ZSH_VERSION+set}"; then |
8052 |
setopt NO_GLOB_SUBST |
8053 |
fi |
8054 |
|
8055 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8056 |
$as_echo_n "checking for objdir... " >&6; } |
8057 |
if ${lt_cv_objdir+:} false; then : |
8058 |
$as_echo_n "(cached) " >&6 |
8059 |
else |
8060 |
rm -f .libs 2>/dev/null |
8061 |
mkdir .libs 2>/dev/null |
8062 |
if test -d .libs; then |
8063 |
lt_cv_objdir=.libs |
8064 |
else |
8065 |
# MS-DOS does not allow filenames that begin with a dot. |
8066 |
lt_cv_objdir=_libs |
8067 |
fi |
8068 |
rmdir .libs 2>/dev/null |
8069 |
fi |
8070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
8071 |
$as_echo "$lt_cv_objdir" >&6; } |
8072 |
objdir=$lt_cv_objdir |
8073 |
|
8074 |
|
8075 |
|
8076 |
|
8077 |
|
8078 |
cat >>confdefs.h <<_ACEOF |
8079 |
#define LT_OBJDIR "$lt_cv_objdir/" |
8080 |
_ACEOF |
8081 |
|
8082 |
|
8083 |
|
8084 |
|
8085 |
case $host_os in |
8086 |
aix3*) |
8087 |
# AIX sometimes has problems with the GCC collect2 program. For some |
8088 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
8089 |
# vanish in a puff of smoke. |
8090 |
if test set != "${COLLECT_NAMES+set}"; then |
8091 |
COLLECT_NAMES= |
8092 |
export COLLECT_NAMES |
8093 |
fi |
8094 |
;; |
8095 |
esac |
8096 |
|
8097 |
# Global variables: |
8098 |
ofile=libtool |
8099 |
can_build_shared=yes |
8100 |
|
8101 |
# All known linkers require a '.a' archive for static linking (except MSVC, |
8102 |
# which needs '.lib'). |
8103 |
libext=a |
8104 |
|
8105 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
8106 |
|
8107 |
old_CC=$CC |
8108 |
old_CFLAGS=$CFLAGS |
8109 |
|
8110 |
# Set sane defaults for various variables |
8111 |
test -z "$CC" && CC=cc |
8112 |
test -z "$LTCC" && LTCC=$CC |
8113 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
8114 |
test -z "$LD" && LD=ld |
8115 |
test -z "$ac_objext" && ac_objext=o |
8116 |
|
8117 |
for cc_temp in $compiler""; do |
8118 |
case $cc_temp in |
8119 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
8120 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
8121 |
\-*) ;; |
8122 |
*) break;; |
8123 |
esac |
8124 |
done |
8125 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8126 |
|
8127 |
|
8128 |
# Only perform the check for file, if the check method requires it |
8129 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
8130 |
case $deplibs_check_method in |
8131 |
file_magic*) |
8132 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
8133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
8134 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
8135 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8136 |
$as_echo_n "(cached) " >&6 |
8137 |
else |
8138 |
case $MAGIC_CMD in |
8139 |
[\\/*] | ?:[\\/]*) |
8140 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
8141 |
;; |
8142 |
*) |
8143 |
lt_save_MAGIC_CMD=$MAGIC_CMD |
8144 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
8145 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
8146 |
for ac_dir in $ac_dummy; do |
8147 |
IFS=$lt_save_ifs |
8148 |
test -z "$ac_dir" && ac_dir=. |
8149 |
if test -f "$ac_dir/${ac_tool_prefix}file"; then |
8150 |
lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
8151 |
if test -n "$file_magic_test_file"; then |
8152 |
case $deplibs_check_method in |
8153 |
"file_magic "*) |
8154 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
8155 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8156 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
8157 |
$EGREP "$file_magic_regex" > /dev/null; then |
8158 |
: |
8159 |
else |
8160 |
cat <<_LT_EOF 1>&2 |
8161 |
|
8162 |
*** Warning: the command libtool uses to detect shared libraries, |
8163 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
8164 |
*** The result is that libtool may fail to recognize shared libraries |
8165 |
*** as such. This will affect the creation of libtool libraries that |
8166 |
*** depend on shared libraries, but programs linked with such libtool |
8167 |
*** libraries will work regardless of this problem. Nevertheless, you |
8168 |
*** may want to report the problem to your system manager and/or to |
8169 |
*** bug-libtool@gnu.org |
8170 |
|
8171 |
_LT_EOF |
8172 |
fi ;; |
8173 |
esac |
8174 |
fi |
8175 |
break |
8176 |
fi |
8177 |
done |
8178 |
IFS=$lt_save_ifs |
8179 |
MAGIC_CMD=$lt_save_MAGIC_CMD |
8180 |
;; |
8181 |
esac |
8182 |
fi |
8183 |
|
8184 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8185 |
if test -n "$MAGIC_CMD"; then |
8186 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
8187 |
$as_echo "$MAGIC_CMD" >&6; } |
8188 |
else |
8189 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8190 |
$as_echo "no" >&6; } |
8191 |
fi |
8192 |
|
8193 |
|
8194 |
|
8195 |
|
8196 |
|
8197 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
8198 |
if test -n "$ac_tool_prefix"; then |
8199 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
8200 |
$as_echo_n "checking for file... " >&6; } |
8201 |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8202 |
$as_echo_n "(cached) " >&6 |
8203 |
else |
8204 |
case $MAGIC_CMD in |
8205 |
[\\/*] | ?:[\\/]*) |
8206 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
8207 |
;; |
8208 |
*) |
8209 |
lt_save_MAGIC_CMD=$MAGIC_CMD |
8210 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
8211 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
8212 |
for ac_dir in $ac_dummy; do |
8213 |
IFS=$lt_save_ifs |
8214 |
test -z "$ac_dir" && ac_dir=. |
8215 |
if test -f "$ac_dir/file"; then |
8216 |
lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
8217 |
if test -n "$file_magic_test_file"; then |
8218 |
case $deplibs_check_method in |
8219 |
"file_magic "*) |
8220 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
8221 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8222 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
8223 |
$EGREP "$file_magic_regex" > /dev/null; then |
8224 |
: |
8225 |
else |
8226 |
cat <<_LT_EOF 1>&2 |
8227 |
|
8228 |
*** Warning: the command libtool uses to detect shared libraries, |
8229 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
8230 |
*** The result is that libtool may fail to recognize shared libraries |
8231 |
*** as such. This will affect the creation of libtool libraries that |
8232 |
*** depend on shared libraries, but programs linked with such libtool |
8233 |
*** libraries will work regardless of this problem. Nevertheless, you |
8234 |
*** may want to report the problem to your system manager and/or to |
8235 |
*** bug-libtool@gnu.org |
8236 |
|
8237 |
_LT_EOF |
8238 |
fi ;; |
8239 |
esac |
8240 |
fi |
8241 |
break |
8242 |
fi |
8243 |
done |
8244 |
IFS=$lt_save_ifs |
8245 |
MAGIC_CMD=$lt_save_MAGIC_CMD |
8246 |
;; |
8247 |
esac |
8248 |
fi |
8249 |
|
8250 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8251 |
if test -n "$MAGIC_CMD"; then |
8252 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
8253 |
$as_echo "$MAGIC_CMD" >&6; } |
8254 |
else |
8255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8256 |
$as_echo "no" >&6; } |
8257 |
fi |
8258 |
|
8259 |
|
8260 |
else |
8261 |
MAGIC_CMD=: |
8262 |
fi |
8263 |
fi |
8264 |
|
8265 |
fi |
8266 |
;; |
8267 |
esac |
8268 |
|
8269 |
# Use C for the default configuration in the libtool script |
8270 |
|
8271 |
lt_save_CC=$CC |
8272 |
ac_ext=c |
8273 |
ac_cpp='$CPP $CPPFLAGS' |
8274 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8275 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8276 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8277 |
|
8278 |
|
8279 |
# Source file extension for C test sources. |
8280 |
ac_ext=c |
8281 |
|
8282 |
# Object file extension for compiled C test sources. |
8283 |
objext=o |
8284 |
objext=$objext |
8285 |
|
8286 |
# Code to be used in simple compile tests |
8287 |
lt_simple_compile_test_code="int some_variable = 0;" |
8288 |
|
8289 |
# Code to be used in simple link tests |
8290 |
lt_simple_link_test_code='int main(){return(0);}' |
8291 |
|
8292 |
|
8293 |
|
8294 |
|
8295 |
|
8296 |
|
8297 |
|
8298 |
# If no C compiler was specified, use CC. |
8299 |
LTCC=${LTCC-"$CC"} |
8300 |
|
8301 |
# If no C compiler flags were specified, use CFLAGS. |
8302 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
8303 |
|
8304 |
# Allow CC to be a program name with arguments. |
8305 |
compiler=$CC |
8306 |
|
8307 |
# Save the default compiler, since it gets overwritten when the other |
8308 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
8309 |
compiler_DEFAULT=$CC |
8310 |
|
8311 |
# save warnings/boilerplate of simple test code |
8312 |
ac_outfile=conftest.$ac_objext |
8313 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
8314 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
8315 |
_lt_compiler_boilerplate=`cat conftest.err` |
8316 |
$RM conftest* |
8317 |
|
8318 |
ac_outfile=conftest.$ac_objext |
8319 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
8320 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
8321 |
_lt_linker_boilerplate=`cat conftest.err` |
8322 |
$RM -r conftest* |
8323 |
|
8324 |
|
8325 |
if test -n "$compiler"; then |
8326 |
|
8327 |
lt_prog_compiler_no_builtin_flag= |
8328 |
|
8329 |
if test yes = "$GCC"; then |
8330 |
case $cc_basename in |
8331 |
nvcc*) |
8332 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8333 |
*) |
8334 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8335 |
esac |
8336 |
|
8337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
8338 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
8339 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
8340 |
$as_echo_n "(cached) " >&6 |
8341 |
else |
8342 |
lt_cv_prog_compiler_rtti_exceptions=no |
8343 |
ac_outfile=conftest.$ac_objext |
8344 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8345 |
lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
8346 |
# Insert the option either (1) after the last *FLAGS variable, or |
8347 |
# (2) before a word containing "conftest.", or (3) at the end. |
8348 |
# Note that $ac_compile itself does not contain backslashes and begins |
8349 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
8350 |
# The option is referenced via a variable to avoid confusing sed. |
8351 |
lt_compile=`echo "$ac_compile" | $SED \ |
8352 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8353 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8354 |
-e 's:$: $lt_compiler_flag:'` |
8355 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8356 |
(eval "$lt_compile" 2>conftest.err) |
8357 |
ac_status=$? |
8358 |
cat conftest.err >&5 |
8359 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8360 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8361 |
# The compiler can only warn and ignore the option if not recognized |
8362 |
# So say no if there are warnings other than the usual output. |
8363 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8364 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8365 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8366 |
lt_cv_prog_compiler_rtti_exceptions=yes |
8367 |
fi |
8368 |
fi |
8369 |
$RM conftest* |
8370 |
|
8371 |
fi |
8372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
8373 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
8374 |
|
8375 |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
8376 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
8377 |
else |
8378 |
: |
8379 |
fi |
8380 |
|
8381 |
fi |
8382 |
|
8383 |
|
8384 |
|
8385 |
|
8386 |
|
8387 |
|
8388 |
lt_prog_compiler_wl= |
8389 |
lt_prog_compiler_pic= |
8390 |
lt_prog_compiler_static= |
8391 |
|
8392 |
|
8393 |
if test yes = "$GCC"; then |
8394 |
lt_prog_compiler_wl='-Wl,' |
8395 |
lt_prog_compiler_static='-static' |
8396 |
|
8397 |
case $host_os in |
8398 |
aix*) |
8399 |
# All AIX code is PIC. |
8400 |
if test ia64 = "$host_cpu"; then |
8401 |
# AIX 5 now supports IA64 processor |
8402 |
lt_prog_compiler_static='-Bstatic' |
8403 |
fi |
8404 |
lt_prog_compiler_pic='-fPIC' |
8405 |
;; |
8406 |
|
8407 |
amigaos*) |
8408 |
case $host_cpu in |
8409 |
powerpc) |
8410 |
# see comment about AmigaOS4 .so support |
8411 |
lt_prog_compiler_pic='-fPIC' |
8412 |
;; |
8413 |
m68k) |
8414 |
# FIXME: we need at least 68020 code to build shared libraries, but |
8415 |
# adding the '-m68020' flag to GCC prevents building anything better, |
8416 |
# like '-m68040'. |
8417 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
8418 |
;; |
8419 |
esac |
8420 |
;; |
8421 |
|
8422 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
8423 |
# PIC is the default for these OSes. |
8424 |
;; |
8425 |
|
8426 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
8427 |
# This hack is so that the source file can tell whether it is being |
8428 |
# built for inclusion in a dll (and should export symbols for example). |
8429 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
8430 |
# (--disable-auto-import) libraries |
8431 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
8432 |
case $host_os in |
8433 |
os2*) |
8434 |
lt_prog_compiler_static='$wl-static' |
8435 |
;; |
8436 |
esac |
8437 |
;; |
8438 |
|
8439 |
darwin* | rhapsody*) |
8440 |
# PIC is the default on this platform |
8441 |
# Common symbols not allowed in MH_DYLIB files |
8442 |
lt_prog_compiler_pic='-fno-common' |
8443 |
;; |
8444 |
|
8445 |
haiku*) |
8446 |
# PIC is the default for Haiku. |
8447 |
# The "-static" flag exists, but is broken. |
8448 |
lt_prog_compiler_static= |
8449 |
;; |
8450 |
|
8451 |
hpux*) |
8452 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
8453 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
8454 |
# sets the default TLS model and affects inlining. |
8455 |
case $host_cpu in |
8456 |
hppa*64*) |
8457 |
# +Z the default |
8458 |
;; |
8459 |
*) |
8460 |
lt_prog_compiler_pic='-fPIC' |
8461 |
;; |
8462 |
esac |
8463 |
;; |
8464 |
|
8465 |
interix[3-9]*) |
8466 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
8467 |
# Instead, we relocate shared libraries at runtime. |
8468 |
;; |
8469 |
|
8470 |
msdosdjgpp*) |
8471 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
8472 |
# on systems that don't support them. |
8473 |
lt_prog_compiler_can_build_shared=no |
8474 |
enable_shared=no |
8475 |
;; |
8476 |
|
8477 |
*nto* | *qnx*) |
8478 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
8479 |
# it will coredump. |
8480 |
lt_prog_compiler_pic='-fPIC -shared' |
8481 |
;; |
8482 |
|
8483 |
sysv4*MP*) |
8484 |
if test -d /usr/nec; then |
8485 |
lt_prog_compiler_pic=-Kconform_pic |
8486 |
fi |
8487 |
;; |
8488 |
|
8489 |
*) |
8490 |
lt_prog_compiler_pic='-fPIC' |
8491 |
;; |
8492 |
esac |
8493 |
|
8494 |
case $cc_basename in |
8495 |
nvcc*) # Cuda Compiler Driver 2.2 |
8496 |
lt_prog_compiler_wl='-Xlinker ' |
8497 |
if test -n "$lt_prog_compiler_pic"; then |
8498 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
8499 |
fi |
8500 |
;; |
8501 |
esac |
8502 |
else |
8503 |
# PORTME Check for flag to pass linker flags through the system compiler. |
8504 |
case $host_os in |
8505 |
aix*) |
8506 |
lt_prog_compiler_wl='-Wl,' |
8507 |
if test ia64 = "$host_cpu"; then |
8508 |
# AIX 5 now supports IA64 processor |
8509 |
lt_prog_compiler_static='-Bstatic' |
8510 |
else |
8511 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
8512 |
fi |
8513 |
;; |
8514 |
|
8515 |
darwin* | rhapsody*) |
8516 |
# PIC is the default on this platform |
8517 |
# Common symbols not allowed in MH_DYLIB files |
8518 |
lt_prog_compiler_pic='-fno-common' |
8519 |
case $cc_basename in |
8520 |
nagfor*) |
8521 |
# NAG Fortran compiler |
8522 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
8523 |
lt_prog_compiler_pic='-PIC' |
8524 |
lt_prog_compiler_static='-Bstatic' |
8525 |
;; |
8526 |
esac |
8527 |
;; |
8528 |
|
8529 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
8530 |
# This hack is so that the source file can tell whether it is being |
8531 |
# built for inclusion in a dll (and should export symbols for example). |
8532 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
8533 |
case $host_os in |
8534 |
os2*) |
8535 |
lt_prog_compiler_static='$wl-static' |
8536 |
;; |
8537 |
esac |
8538 |
;; |
8539 |
|
8540 |
hpux9* | hpux10* | hpux11*) |
8541 |
lt_prog_compiler_wl='-Wl,' |
8542 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
8543 |
# not for PA HP-UX. |
8544 |
case $host_cpu in |
8545 |
hppa*64*|ia64*) |
8546 |
# +Z the default |
8547 |
;; |
8548 |
*) |
8549 |
lt_prog_compiler_pic='+Z' |
8550 |
;; |
8551 |
esac |
8552 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
8553 |
lt_prog_compiler_static='$wl-a ${wl}archive' |
8554 |
;; |
8555 |
|
8556 |
irix5* | irix6* | nonstopux*) |
8557 |
lt_prog_compiler_wl='-Wl,' |
8558 |
# PIC (with -KPIC) is the default. |
8559 |
lt_prog_compiler_static='-non_shared' |
8560 |
;; |
8561 |
|
8562 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
8563 |
case $cc_basename in |
8564 |
# old Intel for x86_64, which still supported -KPIC. |
8565 |
ecc*) |
8566 |
lt_prog_compiler_wl='-Wl,' |
8567 |
lt_prog_compiler_pic='-KPIC' |
8568 |
lt_prog_compiler_static='-static' |
8569 |
;; |
8570 |
# icc used to be incompatible with GCC. |
8571 |
# ICC 10 doesn't accept -KPIC any more. |
8572 |
icc* | ifort*) |
8573 |
lt_prog_compiler_wl='-Wl,' |
8574 |
lt_prog_compiler_pic='-fPIC' |
8575 |
lt_prog_compiler_static='-static' |
8576 |
;; |
8577 |
# Lahey Fortran 8.1. |
8578 |
lf95*) |
8579 |
lt_prog_compiler_wl='-Wl,' |
8580 |
lt_prog_compiler_pic='--shared' |
8581 |
lt_prog_compiler_static='--static' |
8582 |
;; |
8583 |
nagfor*) |
8584 |
# NAG Fortran compiler |
8585 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
8586 |
lt_prog_compiler_pic='-PIC' |
8587 |
lt_prog_compiler_static='-Bstatic' |
8588 |
;; |
8589 |
tcc*) |
8590 |
# Fabrice Bellard et al's Tiny C Compiler |
8591 |
lt_prog_compiler_wl='-Wl,' |
8592 |
lt_prog_compiler_pic='-fPIC' |
8593 |
lt_prog_compiler_static='-static' |
8594 |
;; |
8595 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
8596 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
8597 |
# which looks to be a dead project) |
8598 |
lt_prog_compiler_wl='-Wl,' |
8599 |
lt_prog_compiler_pic='-fpic' |
8600 |
lt_prog_compiler_static='-Bstatic' |
8601 |
;; |
8602 |
ccc*) |
8603 |
lt_prog_compiler_wl='-Wl,' |
8604 |
# All Alpha code is PIC. |
8605 |
lt_prog_compiler_static='-non_shared' |
8606 |
;; |
8607 |
xl* | bgxl* | bgf* | mpixl*) |
8608 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
8609 |
lt_prog_compiler_wl='-Wl,' |
8610 |
lt_prog_compiler_pic='-qpic' |
8611 |
lt_prog_compiler_static='-qstaticlink' |
8612 |
;; |
8613 |
*) |
8614 |
case `$CC -V 2>&1 | sed 5q` in |
8615 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
8616 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8617 |
lt_prog_compiler_pic='-KPIC' |
8618 |
lt_prog_compiler_static='-Bstatic' |
8619 |
lt_prog_compiler_wl='' |
8620 |
;; |
8621 |
*Sun\ F* | *Sun*Fortran*) |
8622 |
lt_prog_compiler_pic='-KPIC' |
8623 |
lt_prog_compiler_static='-Bstatic' |
8624 |
lt_prog_compiler_wl='-Qoption ld ' |
8625 |
;; |
8626 |
*Sun\ C*) |
8627 |
# Sun C 5.9 |
8628 |
lt_prog_compiler_pic='-KPIC' |
8629 |
lt_prog_compiler_static='-Bstatic' |
8630 |
lt_prog_compiler_wl='-Wl,' |
8631 |
;; |
8632 |
*Intel*\ [CF]*Compiler*) |
8633 |
lt_prog_compiler_wl='-Wl,' |
8634 |
lt_prog_compiler_pic='-fPIC' |
8635 |
lt_prog_compiler_static='-static' |
8636 |
;; |
8637 |
*Portland\ Group*) |
8638 |
lt_prog_compiler_wl='-Wl,' |
8639 |
lt_prog_compiler_pic='-fpic' |
8640 |
lt_prog_compiler_static='-Bstatic' |
8641 |
;; |
8642 |
esac |
8643 |
;; |
8644 |
esac |
8645 |
;; |
8646 |
|
8647 |
newsos6) |
8648 |
lt_prog_compiler_pic='-KPIC' |
8649 |
lt_prog_compiler_static='-Bstatic' |
8650 |
;; |
8651 |
|
8652 |
*nto* | *qnx*) |
8653 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
8654 |
# it will coredump. |
8655 |
lt_prog_compiler_pic='-fPIC -shared' |
8656 |
;; |
8657 |
|
8658 |
osf3* | osf4* | osf5*) |
8659 |
lt_prog_compiler_wl='-Wl,' |
8660 |
# All OSF/1 code is PIC. |
8661 |
lt_prog_compiler_static='-non_shared' |
8662 |
;; |
8663 |
|
8664 |
rdos*) |
8665 |
lt_prog_compiler_static='-non_shared' |
8666 |
;; |
8667 |
|
8668 |
solaris*) |
8669 |
lt_prog_compiler_pic='-KPIC' |
8670 |
lt_prog_compiler_static='-Bstatic' |
8671 |
case $cc_basename in |
8672 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
8673 |
lt_prog_compiler_wl='-Qoption ld ';; |
8674 |
*) |
8675 |
lt_prog_compiler_wl='-Wl,';; |
8676 |
esac |
8677 |
;; |
8678 |
|
8679 |
sunos4*) |
8680 |
lt_prog_compiler_wl='-Qoption ld ' |
8681 |
lt_prog_compiler_pic='-PIC' |
8682 |
lt_prog_compiler_static='-Bstatic' |
8683 |
;; |
8684 |
|
8685 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
8686 |
lt_prog_compiler_wl='-Wl,' |
8687 |
lt_prog_compiler_pic='-KPIC' |
8688 |
lt_prog_compiler_static='-Bstatic' |
8689 |
;; |
8690 |
|
8691 |
sysv4*MP*) |
8692 |
if test -d /usr/nec; then |
8693 |
lt_prog_compiler_pic='-Kconform_pic' |
8694 |
lt_prog_compiler_static='-Bstatic' |
8695 |
fi |
8696 |
;; |
8697 |
|
8698 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
8699 |
lt_prog_compiler_wl='-Wl,' |
8700 |
lt_prog_compiler_pic='-KPIC' |
8701 |
lt_prog_compiler_static='-Bstatic' |
8702 |
;; |
8703 |
|
8704 |
unicos*) |
8705 |
lt_prog_compiler_wl='-Wl,' |
8706 |
lt_prog_compiler_can_build_shared=no |
8707 |
;; |
8708 |
|
8709 |
uts4*) |
8710 |
lt_prog_compiler_pic='-pic' |
8711 |
lt_prog_compiler_static='-Bstatic' |
8712 |
;; |
8713 |
|
8714 |
*) |
8715 |
lt_prog_compiler_can_build_shared=no |
8716 |
;; |
8717 |
esac |
8718 |
fi |
8719 |
|
8720 |
case $host_os in |
8721 |
# For platforms that do not support PIC, -DPIC is meaningless: |
8722 |
*djgpp*) |
8723 |
lt_prog_compiler_pic= |
8724 |
;; |
8725 |
*) |
8726 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8727 |
;; |
8728 |
esac |
8729 |
|
8730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
8731 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8732 |
if ${lt_cv_prog_compiler_pic+:} false; then : |
8733 |
$as_echo_n "(cached) " >&6 |
8734 |
else |
8735 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
8736 |
fi |
8737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
8738 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
8739 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
8740 |
|
8741 |
# |
8742 |
# Check to make sure the PIC flag actually works. |
8743 |
# |
8744 |
if test -n "$lt_prog_compiler_pic"; then |
8745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8746 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
8747 |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
8748 |
$as_echo_n "(cached) " >&6 |
8749 |
else |
8750 |
lt_cv_prog_compiler_pic_works=no |
8751 |
ac_outfile=conftest.$ac_objext |
8752 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8753 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
8754 |
# Insert the option either (1) after the last *FLAGS variable, or |
8755 |
# (2) before a word containing "conftest.", or (3) at the end. |
8756 |
# Note that $ac_compile itself does not contain backslashes and begins |
8757 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
8758 |
# The option is referenced via a variable to avoid confusing sed. |
8759 |
lt_compile=`echo "$ac_compile" | $SED \ |
8760 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8761 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8762 |
-e 's:$: $lt_compiler_flag:'` |
8763 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8764 |
(eval "$lt_compile" 2>conftest.err) |
8765 |
ac_status=$? |
8766 |
cat conftest.err >&5 |
8767 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8768 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8769 |
# The compiler can only warn and ignore the option if not recognized |
8770 |
# So say no if there are warnings other than the usual output. |
8771 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8772 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8773 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8774 |
lt_cv_prog_compiler_pic_works=yes |
8775 |
fi |
8776 |
fi |
8777 |
$RM conftest* |
8778 |
|
8779 |
fi |
8780 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
8781 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
8782 |
|
8783 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then |
8784 |
case $lt_prog_compiler_pic in |
8785 |
"" | " "*) ;; |
8786 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
8787 |
esac |
8788 |
else |
8789 |
lt_prog_compiler_pic= |
8790 |
lt_prog_compiler_can_build_shared=no |
8791 |
fi |
8792 |
|
8793 |
fi |
8794 |
|
8795 |
|
8796 |
|
8797 |
|
8798 |
|
8799 |
|
8800 |
|
8801 |
|
8802 |
|
8803 |
|
8804 |
|
8805 |
# |
8806 |
# Check to make sure the static flag actually works. |
8807 |
# |
8808 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
8809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8810 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
8811 |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
8812 |
$as_echo_n "(cached) " >&6 |
8813 |
else |
8814 |
lt_cv_prog_compiler_static_works=no |
8815 |
save_LDFLAGS=$LDFLAGS |
8816 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
8817 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
8818 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
8819 |
# The linker can only warn and ignore the option if not recognized |
8820 |
# So say no if there are warnings |
8821 |
if test -s conftest.err; then |
8822 |
# Append any errors to the config.log. |
8823 |
cat conftest.err 1>&5 |
8824 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
8825 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8826 |
if diff conftest.exp conftest.er2 >/dev/null; then |
8827 |
lt_cv_prog_compiler_static_works=yes |
8828 |
fi |
8829 |
else |
8830 |
lt_cv_prog_compiler_static_works=yes |
8831 |
fi |
8832 |
fi |
8833 |
$RM -r conftest* |
8834 |
LDFLAGS=$save_LDFLAGS |
8835 |
|
8836 |
fi |
8837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
8838 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
8839 |
|
8840 |
if test yes = "$lt_cv_prog_compiler_static_works"; then |
8841 |
: |
8842 |
else |
8843 |
lt_prog_compiler_static= |
8844 |
fi |
8845 |
|
8846 |
|
8847 |
|
8848 |
|
8849 |
|
8850 |
|
8851 |
|
8852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8853 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8854 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
8855 |
$as_echo_n "(cached) " >&6 |
8856 |
else |
8857 |
lt_cv_prog_compiler_c_o=no |
8858 |
$RM -r conftest 2>/dev/null |
8859 |
mkdir conftest |
8860 |
cd conftest |
8861 |
mkdir out |
8862 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8863 |
|
8864 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
8865 |
# Insert the option either (1) after the last *FLAGS variable, or |
8866 |
# (2) before a word containing "conftest.", or (3) at the end. |
8867 |
# Note that $ac_compile itself does not contain backslashes and begins |
8868 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
8869 |
lt_compile=`echo "$ac_compile" | $SED \ |
8870 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8871 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8872 |
-e 's:$: $lt_compiler_flag:'` |
8873 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8874 |
(eval "$lt_compile" 2>out/conftest.err) |
8875 |
ac_status=$? |
8876 |
cat out/conftest.err >&5 |
8877 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8878 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8879 |
then |
8880 |
# The compiler can only warn and ignore the option if not recognized |
8881 |
# So say no if there are warnings |
8882 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
8883 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8884 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8885 |
lt_cv_prog_compiler_c_o=yes |
8886 |
fi |
8887 |
fi |
8888 |
chmod u+w . 2>&5 |
8889 |
$RM conftest* |
8890 |
# SGI C++ compiler will create directory out/ii_files/ for |
8891 |
# template instantiation |
8892 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
8893 |
$RM out/* && rmdir out |
8894 |
cd .. |
8895 |
$RM -r conftest |
8896 |
$RM conftest* |
8897 |
|
8898 |
fi |
8899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
8900 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
8901 |
|
8902 |
|
8903 |
|
8904 |
|
8905 |
|
8906 |
|
8907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8908 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8909 |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
8910 |
$as_echo_n "(cached) " >&6 |
8911 |
else |
8912 |
lt_cv_prog_compiler_c_o=no |
8913 |
$RM -r conftest 2>/dev/null |
8914 |
mkdir conftest |
8915 |
cd conftest |
8916 |
mkdir out |
8917 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8918 |
|
8919 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
8920 |
# Insert the option either (1) after the last *FLAGS variable, or |
8921 |
# (2) before a word containing "conftest.", or (3) at the end. |
8922 |
# Note that $ac_compile itself does not contain backslashes and begins |
8923 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
8924 |
lt_compile=`echo "$ac_compile" | $SED \ |
8925 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8926 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8927 |
-e 's:$: $lt_compiler_flag:'` |
8928 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8929 |
(eval "$lt_compile" 2>out/conftest.err) |
8930 |
ac_status=$? |
8931 |
cat out/conftest.err >&5 |
8932 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8933 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8934 |
then |
8935 |
# The compiler can only warn and ignore the option if not recognized |
8936 |
# So say no if there are warnings |
8937 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
8938 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8939 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8940 |
lt_cv_prog_compiler_c_o=yes |
8941 |
fi |
8942 |
fi |
8943 |
chmod u+w . 2>&5 |
8944 |
$RM conftest* |
8945 |
# SGI C++ compiler will create directory out/ii_files/ for |
8946 |
# template instantiation |
8947 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
8948 |
$RM out/* && rmdir out |
8949 |
cd .. |
8950 |
$RM -r conftest |
8951 |
$RM conftest* |
8952 |
|
8953 |
fi |
8954 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
8955 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
8956 |
|
8957 |
|
8958 |
|
8959 |
|
8960 |
hard_links=nottested |
8961 |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
8962 |
# do not overwrite the value of need_locks provided by the user |
8963 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
8964 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
8965 |
hard_links=yes |
8966 |
$RM conftest* |
8967 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
8968 |
touch conftest.a |
8969 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
8970 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
8971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
8972 |
$as_echo "$hard_links" >&6; } |
8973 |
if test no = "$hard_links"; then |
8974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
8975 |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
8976 |
need_locks=warn |
8977 |
fi |
8978 |
else |
8979 |
need_locks=no |
8980 |
fi |
8981 |
|
8982 |
|
8983 |
|
8984 |
|
8985 |
|
8986 |
|
8987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
8988 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
8989 |
|
8990 |
runpath_var= |
8991 |
allow_undefined_flag= |
8992 |
always_export_symbols=no |
8993 |
archive_cmds= |
8994 |
archive_expsym_cmds= |
8995 |
compiler_needs_object=no |
8996 |
enable_shared_with_static_runtimes=no |
8997 |
export_dynamic_flag_spec= |
8998 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
8999 |
hardcode_automatic=no |
9000 |
hardcode_direct=no |
9001 |
hardcode_direct_absolute=no |
9002 |
hardcode_libdir_flag_spec= |
9003 |
hardcode_libdir_separator= |
9004 |
hardcode_minus_L=no |
9005 |
hardcode_shlibpath_var=unsupported |
9006 |
inherit_rpath=no |
9007 |
link_all_deplibs=unknown |
9008 |
module_cmds= |
9009 |
module_expsym_cmds= |
9010 |
old_archive_from_new_cmds= |
9011 |
old_archive_from_expsyms_cmds= |
9012 |
thread_safe_flag_spec= |
9013 |
whole_archive_flag_spec= |
9014 |
# include_expsyms should be a list of space-separated symbols to be *always* |
9015 |
# included in the symbol list |
9016 |
include_expsyms= |
9017 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
9018 |
# it will be wrapped by ' (' and ')$', so one must not match beginning or |
9019 |
# end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
9020 |
# as well as any symbol that contains 'd'. |
9021 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
9022 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
9023 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
9024 |
# the symbol is explicitly referenced. Since portable code cannot |
9025 |
# rely on this symbol name, it's probably fine to never include it in |
9026 |
# preloaded symbol tables. |
9027 |
# Exclude shared library initialization/finalization symbols. |
9028 |
extract_expsyms_cmds= |
9029 |
|
9030 |
case $host_os in |
9031 |
cygwin* | mingw* | pw32* | cegcc*) |
9032 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
9033 |
# When not using gcc, we currently assume that we are using |
9034 |
# Microsoft Visual C++. |
9035 |
if test yes != "$GCC"; then |
9036 |
with_gnu_ld=no |
9037 |
fi |
9038 |
;; |
9039 |
interix*) |
9040 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
9041 |
with_gnu_ld=yes |
9042 |
;; |
9043 |
openbsd* | bitrig*) |
9044 |
with_gnu_ld=no |
9045 |
;; |
9046 |
esac |
9047 |
|
9048 |
ld_shlibs=yes |
9049 |
|
9050 |
# On some targets, GNU ld is compatible enough with the native linker |
9051 |
# that we're better off using the native interface for both. |
9052 |
lt_use_gnu_ld_interface=no |
9053 |
if test yes = "$with_gnu_ld"; then |
9054 |
case $host_os in |
9055 |
aix*) |
9056 |
# The AIX port of GNU ld has always aspired to compatibility |
9057 |
# with the native linker. However, as the warning in the GNU ld |
9058 |
# block says, versions before 2.19.5* couldn't really create working |
9059 |
# shared libraries, regardless of the interface used. |
9060 |
case `$LD -v 2>&1` in |
9061 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
9062 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
9063 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
9064 |
*) |
9065 |
lt_use_gnu_ld_interface=yes |
9066 |
;; |
9067 |
esac |
9068 |
;; |
9069 |
*) |
9070 |
lt_use_gnu_ld_interface=yes |
9071 |
;; |
9072 |
esac |
9073 |
fi |
9074 |
|
9075 |
if test yes = "$lt_use_gnu_ld_interface"; then |
9076 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
9077 |
wlarc='$wl' |
9078 |
|
9079 |
# Set some defaults for GNU ld with shared library support. These |
9080 |
# are reset later if shared libraries are not supported. Putting them |
9081 |
# here allows them to be overridden if necessary. |
9082 |
runpath_var=LD_RUN_PATH |
9083 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9084 |
export_dynamic_flag_spec='$wl--export-dynamic' |
9085 |
# ancient GNU ld didn't support --whole-archive et. al. |
9086 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
9087 |
whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
9088 |
else |
9089 |
whole_archive_flag_spec= |
9090 |
fi |
9091 |
supports_anon_versioning=no |
9092 |
case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in |
9093 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
9094 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9095 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9096 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9097 |
*\ 2.11.*) ;; # other 2.11 versions |
9098 |
*) supports_anon_versioning=yes ;; |
9099 |
esac |
9100 |
|
9101 |
# See if GNU ld supports shared libraries. |
9102 |
case $host_os in |
9103 |
aix[3-9]*) |
9104 |
# On AIX/PPC, the GNU linker is very broken |
9105 |
if test ia64 != "$host_cpu"; then |
9106 |
ld_shlibs=no |
9107 |
cat <<_LT_EOF 1>&2 |
9108 |
|
9109 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
9110 |
*** to be unable to reliably create shared libraries on AIX. |
9111 |
*** Therefore, libtool is disabling shared libraries support. If you |
9112 |
*** really care for shared libraries, you may want to install binutils |
9113 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
9114 |
*** You will then need to restart the configuration process. |
9115 |
|
9116 |
_LT_EOF |
9117 |
fi |
9118 |
;; |
9119 |
|
9120 |
amigaos*) |
9121 |
case $host_cpu in |
9122 |
powerpc) |
9123 |
# see comment about AmigaOS4 .so support |
9124 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9125 |
archive_expsym_cmds='' |
9126 |
;; |
9127 |
m68k) |
9128 |
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)' |
9129 |
hardcode_libdir_flag_spec='-L$libdir' |
9130 |
hardcode_minus_L=yes |
9131 |
;; |
9132 |
esac |
9133 |
;; |
9134 |
|
9135 |
beos*) |
9136 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9137 |
allow_undefined_flag=unsupported |
9138 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
9139 |
# support --undefined. This deserves some investigation. FIXME |
9140 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9141 |
else |
9142 |
ld_shlibs=no |
9143 |
fi |
9144 |
;; |
9145 |
|
9146 |
cygwin* | mingw* | pw32* | cegcc*) |
9147 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9148 |
# as there is no search path for DLLs. |
9149 |
hardcode_libdir_flag_spec='-L$libdir' |
9150 |
export_dynamic_flag_spec='$wl--export-all-symbols' |
9151 |
allow_undefined_flag=unsupported |
9152 |
always_export_symbols=no |
9153 |
enable_shared_with_static_runtimes=yes |
9154 |
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' |
9155 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9156 |
|
9157 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9158 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9159 |
# If the export-symbols file already is a .def file, use it as |
9160 |
# is; otherwise, prepend EXPORTS... |
9161 |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
9162 |
cp $export_symbols $output_objdir/$soname.def; |
9163 |
else |
9164 |
echo EXPORTS > $output_objdir/$soname.def; |
9165 |
cat $export_symbols >> $output_objdir/$soname.def; |
9166 |
fi~ |
9167 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9168 |
else |
9169 |
ld_shlibs=no |
9170 |
fi |
9171 |
;; |
9172 |
|
9173 |
haiku*) |
9174 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9175 |
link_all_deplibs=yes |
9176 |
;; |
9177 |
|
9178 |
os2*) |
9179 |
hardcode_libdir_flag_spec='-L$libdir' |
9180 |
hardcode_minus_L=yes |
9181 |
allow_undefined_flag=unsupported |
9182 |
shrext_cmds=.dll |
9183 |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
9184 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
9185 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
9186 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
9187 |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
9188 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
9189 |
emximp -o $lib $output_objdir/$libname.def' |
9190 |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
9191 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
9192 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
9193 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
9194 |
prefix_cmds="$SED"~ |
9195 |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
9196 |
prefix_cmds="$prefix_cmds -e 1d"; |
9197 |
fi~ |
9198 |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
9199 |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
9200 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
9201 |
emximp -o $lib $output_objdir/$libname.def' |
9202 |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
9203 |
enable_shared_with_static_runtimes=yes |
9204 |
;; |
9205 |
|
9206 |
interix[3-9]*) |
9207 |
hardcode_direct=no |
9208 |
hardcode_shlibpath_var=no |
9209 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
9210 |
export_dynamic_flag_spec='$wl-E' |
9211 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
9212 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
9213 |
# default) and relocated if they conflict, which is a slow very memory |
9214 |
# consuming and fragmenting process. To avoid this, we pick a random, |
9215 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
9216 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
9217 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
9218 |
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' |
9219 |
;; |
9220 |
|
9221 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9222 |
tmp_diet=no |
9223 |
if test linux-dietlibc = "$host_os"; then |
9224 |
case $cc_basename in |
9225 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
9226 |
esac |
9227 |
fi |
9228 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9229 |
&& test no = "$tmp_diet" |
9230 |
then |
9231 |
tmp_addflag=' $pic_flag' |
9232 |
tmp_sharedflag='-shared' |
9233 |
case $cc_basename,$host_cpu in |
9234 |
pgcc*) # Portland Group C compiler |
9235 |
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' |
9236 |
tmp_addflag=' $pic_flag' |
9237 |
;; |
9238 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
9239 |
# Portland Group f77 and f90 compilers |
9240 |
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' |
9241 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
9242 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9243 |
tmp_addflag=' -i_dynamic' ;; |
9244 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
9245 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
9246 |
ifc* | ifort*) # Intel Fortran compiler |
9247 |
tmp_addflag=' -nofor_main' ;; |
9248 |
lf95*) # Lahey Fortran 8.1 |
9249 |
whole_archive_flag_spec= |
9250 |
tmp_sharedflag='--shared' ;; |
9251 |
nagfor*) # NAGFOR 5.3 |
9252 |
tmp_sharedflag='-Wl,-shared' ;; |
9253 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9254 |
tmp_sharedflag='-qmkshrobj' |
9255 |
tmp_addflag= ;; |
9256 |
nvcc*) # Cuda Compiler Driver 2.2 |
9257 |
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' |
9258 |
compiler_needs_object=yes |
9259 |
;; |
9260 |
esac |
9261 |
case `$CC -V 2>&1 | sed 5q` in |
9262 |
*Sun\ C*) # Sun C 5.9 |
9263 |
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' |
9264 |
compiler_needs_object=yes |
9265 |
tmp_sharedflag='-G' ;; |
9266 |
*Sun\ F*) # Sun Fortran 8.3 |
9267 |
tmp_sharedflag='-G' ;; |
9268 |
esac |
9269 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9270 |
|
9271 |
if test yes = "$supports_anon_versioning"; then |
9272 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9273 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9274 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
9275 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
9276 |
fi |
9277 |
|
9278 |
case $cc_basename in |
9279 |
tcc*) |
9280 |
export_dynamic_flag_spec='-rdynamic' |
9281 |
;; |
9282 |
xlf* | bgf* | bgxlf* | mpixlf*) |
9283 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9284 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9285 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9286 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9287 |
if test yes = "$supports_anon_versioning"; then |
9288 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9289 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9290 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
9291 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9292 |
fi |
9293 |
;; |
9294 |
esac |
9295 |
else |
9296 |
ld_shlibs=no |
9297 |
fi |
9298 |
;; |
9299 |
|
9300 |
netbsd*) |
9301 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9302 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9303 |
wlarc= |
9304 |
else |
9305 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9306 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9307 |
fi |
9308 |
;; |
9309 |
|
9310 |
solaris*) |
9311 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
9312 |
ld_shlibs=no |
9313 |
cat <<_LT_EOF 1>&2 |
9314 |
|
9315 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
9316 |
*** create shared libraries on Solaris systems. Therefore, libtool |
9317 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
9318 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
9319 |
*** your PATH or compiler configuration so that the native linker is |
9320 |
*** used, and then restart. |
9321 |
|
9322 |
_LT_EOF |
9323 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9324 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9325 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9326 |
else |
9327 |
ld_shlibs=no |
9328 |
fi |
9329 |
;; |
9330 |
|
9331 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
9332 |
case `$LD -v 2>&1` in |
9333 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
9334 |
ld_shlibs=no |
9335 |
cat <<_LT_EOF 1>&2 |
9336 |
|
9337 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
9338 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
9339 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
9340 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
9341 |
*** your PATH or compiler configuration so that the native linker is |
9342 |
*** used, and then restart. |
9343 |
|
9344 |
_LT_EOF |
9345 |
;; |
9346 |
*) |
9347 |
# For security reasons, it is highly recommended that you always |
9348 |
# use absolute paths for naming shared libraries, and exclude the |
9349 |
# DT_RUNPATH tag from executables and libraries. But doing so |
9350 |
# requires that you compile everything twice, which is a pain. |
9351 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9352 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9353 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9354 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9355 |
else |
9356 |
ld_shlibs=no |
9357 |
fi |
9358 |
;; |
9359 |
esac |
9360 |
;; |
9361 |
|
9362 |
sunos4*) |
9363 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9364 |
wlarc= |
9365 |
hardcode_direct=yes |
9366 |
hardcode_shlibpath_var=no |
9367 |
;; |
9368 |
|
9369 |
*) |
9370 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9371 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9372 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9373 |
else |
9374 |
ld_shlibs=no |
9375 |
fi |
9376 |
;; |
9377 |
esac |
9378 |
|
9379 |
if test no = "$ld_shlibs"; then |
9380 |
runpath_var= |
9381 |
hardcode_libdir_flag_spec= |
9382 |
export_dynamic_flag_spec= |
9383 |
whole_archive_flag_spec= |
9384 |
fi |
9385 |
else |
9386 |
# PORTME fill in a description of your system's linker (not GNU ld) |
9387 |
case $host_os in |
9388 |
aix3*) |
9389 |
allow_undefined_flag=unsupported |
9390 |
always_export_symbols=yes |
9391 |
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' |
9392 |
# Note: this linker hardcodes the directories in LIBPATH if there |
9393 |
# are no directories specified by -L. |
9394 |
hardcode_minus_L=yes |
9395 |
if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
9396 |
# Neither direct hardcoding nor static linking is supported with a |
9397 |
# broken collect2. |
9398 |
hardcode_direct=unsupported |
9399 |
fi |
9400 |
;; |
9401 |
|
9402 |
aix[4-9]*) |
9403 |
if test ia64 = "$host_cpu"; then |
9404 |
# On IA64, the linker does run time linking by default, so we don't |
9405 |
# have to do anything special. |
9406 |
aix_use_runtimelinking=no |
9407 |
exp_sym_flag='-Bexport' |
9408 |
no_entry_flag= |
9409 |
else |
9410 |
# If we're using GNU nm, then we don't want the "-C" option. |
9411 |
# -C means demangle to GNU nm, but means don't demangle to AIX nm. |
9412 |
# Without the "-l" option, or with the "-B" option, AIX nm treats |
9413 |
# weak defined symbols like other global defined symbols, whereas |
9414 |
# GNU nm marks them as "W". |
9415 |
# While the 'weak' keyword is ignored in the Export File, we need |
9416 |
# it in the Import File for the 'aix-soname' feature, so we have |
9417 |
# to replace the "-B" option with "-P" for AIX nm. |
9418 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9419 |
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' |
9420 |
else |
9421 |
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' |
9422 |
fi |
9423 |
aix_use_runtimelinking=no |
9424 |
|
9425 |
# Test if we are trying to use run time linking or normal |
9426 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
9427 |
# have runtime linking enabled, and use it for executables. |
9428 |
# For shared libraries, we enable/disable runtime linking |
9429 |
# depending on the kind of the shared library created - |
9430 |
# when "with_aix_soname,aix_use_runtimelinking" is: |
9431 |
# "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
9432 |
# "aix,yes" lib.so shared, rtl:yes, for executables |
9433 |
# lib.a static archive |
9434 |
# "both,no" lib.so.V(shr.o) shared, rtl:yes |
9435 |
# lib.a(lib.so.V) shared, rtl:no, for executables |
9436 |
# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
9437 |
# lib.a(lib.so.V) shared, rtl:no |
9438 |
# "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
9439 |
# lib.a static archive |
9440 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
9441 |
for ld_flag in $LDFLAGS; do |
9442 |
if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
9443 |
aix_use_runtimelinking=yes |
9444 |
break |
9445 |
fi |
9446 |
done |
9447 |
if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
9448 |
# With aix-soname=svr4, we create the lib.so.V shared archives only, |
9449 |
# so we don't have lib.a shared libs to link our executables. |
9450 |
# We have to force runtime linking in this case. |
9451 |
aix_use_runtimelinking=yes |
9452 |
LDFLAGS="$LDFLAGS -Wl,-brtl" |
9453 |
fi |
9454 |
;; |
9455 |
esac |
9456 |
|
9457 |
exp_sym_flag='-bexport' |
9458 |
no_entry_flag='-bnoentry' |
9459 |
fi |
9460 |
|
9461 |
# When large executables or shared objects are built, AIX ld can |
9462 |
# have problems creating the table of contents. If linking a library |
9463 |
# or program results in "error TOC overflow" add -mminimal-toc to |
9464 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
9465 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
9466 |
|
9467 |
archive_cmds='' |
9468 |
hardcode_direct=yes |
9469 |
hardcode_direct_absolute=yes |
9470 |
hardcode_libdir_separator=':' |
9471 |
link_all_deplibs=yes |
9472 |
file_list_spec='$wl-f,' |
9473 |
case $with_aix_soname,$aix_use_runtimelinking in |
9474 |
aix,*) ;; # traditional, no import file |
9475 |
svr4,* | *,yes) # use import file |
9476 |
# The Import File defines what to hardcode. |
9477 |
hardcode_direct=no |
9478 |
hardcode_direct_absolute=no |
9479 |
;; |
9480 |
esac |
9481 |
|
9482 |
if test yes = "$GCC"; then |
9483 |
case $host_os in aix4.[012]|aix4.[012].*) |
9484 |
# We only want to do this on AIX 4.2 and lower, the check |
9485 |
# below for broken collect2 doesn't work under 4.3+ |
9486 |
collect2name=`$CC -print-prog-name=collect2` |
9487 |
if test -f "$collect2name" && |
9488 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
9489 |
then |
9490 |
# We have reworked collect2 |
9491 |
: |
9492 |
else |
9493 |
# We have old collect2 |
9494 |
hardcode_direct=unsupported |
9495 |
# It fails to find uninstalled libraries when the uninstalled |
9496 |
# path is not listed in the libpath. Setting hardcode_minus_L |
9497 |
# to unsupported forces relinking |
9498 |
hardcode_minus_L=yes |
9499 |
hardcode_libdir_flag_spec='-L$libdir' |
9500 |
hardcode_libdir_separator= |
9501 |
fi |
9502 |
;; |
9503 |
esac |
9504 |
shared_flag='-shared' |
9505 |
if test yes = "$aix_use_runtimelinking"; then |
9506 |
shared_flag="$shared_flag "'$wl-G' |
9507 |
fi |
9508 |
# Need to ensure runtime linking is disabled for the traditional |
9509 |
# shared library, or the linker may eventually find shared libraries |
9510 |
# /with/ Import File - we do not want to mix them. |
9511 |
shared_flag_aix='-shared' |
9512 |
shared_flag_svr4='-shared $wl-G' |
9513 |
else |
9514 |
# not using gcc |
9515 |
if test ia64 = "$host_cpu"; then |
9516 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
9517 |
# chokes on -Wl,-G. The following line is correct: |
9518 |
shared_flag='-G' |
9519 |
else |
9520 |
if test yes = "$aix_use_runtimelinking"; then |
9521 |
shared_flag='$wl-G' |
9522 |
else |
9523 |
shared_flag='$wl-bM:SRE' |
9524 |
fi |
9525 |
shared_flag_aix='$wl-bM:SRE' |
9526 |
shared_flag_svr4='$wl-G' |
9527 |
fi |
9528 |
fi |
9529 |
|
9530 |
export_dynamic_flag_spec='$wl-bexpall' |
9531 |
# It seems that -bexpall does not export symbols beginning with |
9532 |
# underscore (_), so it is better to generate a list of symbols to export. |
9533 |
always_export_symbols=yes |
9534 |
if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
9535 |
# Warning - without using the other runtime loading flags (-brtl), |
9536 |
# -berok will link without error, but may produce a broken library. |
9537 |
allow_undefined_flag='-berok' |
9538 |
# Determine the default libpath from the value encoded in an |
9539 |
# empty executable. |
9540 |
if test set = "${lt_cv_aix_libpath+set}"; then |
9541 |
aix_libpath=$lt_cv_aix_libpath |
9542 |
else |
9543 |
if ${lt_cv_aix_libpath_+:} false; then : |
9544 |
$as_echo_n "(cached) " >&6 |
9545 |
else |
9546 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9547 |
/* end confdefs.h. */ |
9548 |
|
9549 |
int |
9550 |
main () |
9551 |
{ |
9552 |
|
9553 |
; |
9554 |
return 0; |
9555 |
} |
9556 |
_ACEOF |
9557 |
if ac_fn_c_try_link "$LINENO"; then : |
9558 |
|
9559 |
lt_aix_libpath_sed=' |
9560 |
/Import File Strings/,/^$/ { |
9561 |
/^0/ { |
9562 |
s/^0 *\([^ ]*\) *$/\1/ |
9563 |
p |
9564 |
} |
9565 |
}' |
9566 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9567 |
# Check for a 64-bit object if we didn't find anything. |
9568 |
if test -z "$lt_cv_aix_libpath_"; then |
9569 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9570 |
fi |
9571 |
fi |
9572 |
rm -f core conftest.err conftest.$ac_objext \ |
9573 |
conftest$ac_exeext conftest.$ac_ext |
9574 |
if test -z "$lt_cv_aix_libpath_"; then |
9575 |
lt_cv_aix_libpath_=/usr/lib:/lib |
9576 |
fi |
9577 |
|
9578 |
fi |
9579 |
|
9580 |
aix_libpath=$lt_cv_aix_libpath_ |
9581 |
fi |
9582 |
|
9583 |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
9584 |
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 |
9585 |
else |
9586 |
if test ia64 = "$host_cpu"; then |
9587 |
hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
9588 |
allow_undefined_flag="-z nodefs" |
9589 |
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" |
9590 |
else |
9591 |
# Determine the default libpath from the value encoded in an |
9592 |
# empty executable. |
9593 |
if test set = "${lt_cv_aix_libpath+set}"; then |
9594 |
aix_libpath=$lt_cv_aix_libpath |
9595 |
else |
9596 |
if ${lt_cv_aix_libpath_+:} false; then : |
9597 |
$as_echo_n "(cached) " >&6 |
9598 |
else |
9599 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9600 |
/* end confdefs.h. */ |
9601 |
|
9602 |
int |
9603 |
main () |
9604 |
{ |
9605 |
|
9606 |
; |
9607 |
return 0; |
9608 |
} |
9609 |
_ACEOF |
9610 |
if ac_fn_c_try_link "$LINENO"; then : |
9611 |
|
9612 |
lt_aix_libpath_sed=' |
9613 |
/Import File Strings/,/^$/ { |
9614 |
/^0/ { |
9615 |
s/^0 *\([^ ]*\) *$/\1/ |
9616 |
p |
9617 |
} |
9618 |
}' |
9619 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9620 |
# Check for a 64-bit object if we didn't find anything. |
9621 |
if test -z "$lt_cv_aix_libpath_"; then |
9622 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9623 |
fi |
9624 |
fi |
9625 |
rm -f core conftest.err conftest.$ac_objext \ |
9626 |
conftest$ac_exeext conftest.$ac_ext |
9627 |
if test -z "$lt_cv_aix_libpath_"; then |
9628 |
lt_cv_aix_libpath_=/usr/lib:/lib |
9629 |
fi |
9630 |
|
9631 |
fi |
9632 |
|
9633 |
aix_libpath=$lt_cv_aix_libpath_ |
9634 |
fi |
9635 |
|
9636 |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
9637 |
# Warning - without using the other run time loading flags, |
9638 |
# -berok will link without error, but may produce a broken library. |
9639 |
no_undefined_flag=' $wl-bernotok' |
9640 |
allow_undefined_flag=' $wl-berok' |
9641 |
if test yes = "$with_gnu_ld"; then |
9642 |
# We only use this code for GNU lds that support --whole-archive. |
9643 |
whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
9644 |
else |
9645 |
# Exported symbols can be pulled into shared objects from archives |
9646 |
whole_archive_flag_spec='$convenience' |
9647 |
fi |
9648 |
archive_cmds_need_lc=yes |
9649 |
archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
9650 |
# -brtl affects multiple linker settings, -berok does not and is overridden later |
9651 |
compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
9652 |
if test svr4 != "$with_aix_soname"; then |
9653 |
# This is similar to how AIX traditionally builds its shared libraries. |
9654 |
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' |
9655 |
fi |
9656 |
if test aix != "$with_aix_soname"; then |
9657 |
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' |
9658 |
else |
9659 |
# used by -dlpreopen to get the symbols |
9660 |
archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
9661 |
fi |
9662 |
archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
9663 |
fi |
9664 |
fi |
9665 |
;; |
9666 |
|
9667 |
amigaos*) |
9668 |
case $host_cpu in |
9669 |
powerpc) |
9670 |
# see comment about AmigaOS4 .so support |
9671 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9672 |
archive_expsym_cmds='' |
9673 |
;; |
9674 |
m68k) |
9675 |
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)' |
9676 |
hardcode_libdir_flag_spec='-L$libdir' |
9677 |
hardcode_minus_L=yes |
9678 |
;; |
9679 |
esac |
9680 |
;; |
9681 |
|
9682 |
bsdi[45]*) |
9683 |
export_dynamic_flag_spec=-rdynamic |
9684 |
;; |
9685 |
|
9686 |
cygwin* | mingw* | pw32* | cegcc*) |
9687 |
# When not using gcc, we currently assume that we are using |
9688 |
# Microsoft Visual C++. |
9689 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
9690 |
# no search path for DLLs. |
9691 |
case $cc_basename in |
9692 |
cl*) |
9693 |
# Native MSVC |
9694 |
hardcode_libdir_flag_spec=' ' |
9695 |
allow_undefined_flag=unsupported |
9696 |
always_export_symbols=yes |
9697 |
file_list_spec='@' |
9698 |
# Tell ltmain to make .lib files, not .a files. |
9699 |
libext=lib |
9700 |
# Tell ltmain to make .dll files, not .so files. |
9701 |
shrext_cmds=.dll |
9702 |
# FIXME: Setting linknames here is a bad hack. |
9703 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
9704 |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
9705 |
cp "$export_symbols" "$output_objdir/$soname.def"; |
9706 |
echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
9707 |
else |
9708 |
$SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
9709 |
fi~ |
9710 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
9711 |
linknames=' |
9712 |
# The linker will not automatically build a static lib if we build a DLL. |
9713 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9714 |
enable_shared_with_static_runtimes=yes |
9715 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
9716 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9717 |
# Don't use ranlib |
9718 |
old_postinstall_cmds='chmod 644 $oldlib' |
9719 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
9720 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
9721 |
case $lt_outputfile in |
9722 |
*.exe|*.EXE) ;; |
9723 |
*) |
9724 |
lt_outputfile=$lt_outputfile.exe |
9725 |
lt_tool_outputfile=$lt_tool_outputfile.exe |
9726 |
;; |
9727 |
esac~ |
9728 |
if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
9729 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
9730 |
$RM "$lt_outputfile.manifest"; |
9731 |
fi' |
9732 |
;; |
9733 |
*) |
9734 |
# Assume MSVC wrapper |
9735 |
hardcode_libdir_flag_spec=' ' |
9736 |
allow_undefined_flag=unsupported |
9737 |
# Tell ltmain to make .lib files, not .a files. |
9738 |
libext=lib |
9739 |
# Tell ltmain to make .dll files, not .so files. |
9740 |
shrext_cmds=.dll |
9741 |
# FIXME: Setting linknames here is a bad hack. |
9742 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
9743 |
# The linker will automatically build a .lib file if we build a DLL. |
9744 |
old_archive_from_new_cmds='true' |
9745 |
# FIXME: Should let the user specify the lib program. |
9746 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9747 |
enable_shared_with_static_runtimes=yes |
9748 |
;; |
9749 |
esac |
9750 |
;; |
9751 |
|
9752 |
darwin* | rhapsody*) |
9753 |
|
9754 |
|
9755 |
archive_cmds_need_lc=no |
9756 |
hardcode_direct=no |
9757 |
hardcode_automatic=yes |
9758 |
hardcode_shlibpath_var=unsupported |
9759 |
if test yes = "$lt_cv_ld_force_load"; then |
9760 |
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\"`' |
9761 |
|
9762 |
else |
9763 |
whole_archive_flag_spec='' |
9764 |
fi |
9765 |
link_all_deplibs=yes |
9766 |
allow_undefined_flag=$_lt_dar_allow_undefined |
9767 |
case $cc_basename in |
9768 |
ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
9769 |
*) _lt_dar_can_shared=$GCC ;; |
9770 |
esac |
9771 |
if test yes = "$_lt_dar_can_shared"; then |
9772 |
output_verbose_link_cmd=func_echo_all |
9773 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
9774 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
9775 |
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" |
9776 |
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" |
9777 |
|
9778 |
else |
9779 |
ld_shlibs=no |
9780 |
fi |
9781 |
|
9782 |
;; |
9783 |
|
9784 |
dgux*) |
9785 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
9786 |
hardcode_libdir_flag_spec='-L$libdir' |
9787 |
hardcode_shlibpath_var=no |
9788 |
;; |
9789 |
|
9790 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
9791 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
9792 |
# does not break anything, and helps significantly (at the cost of a little |
9793 |
# extra space). |
9794 |
freebsd2.2*) |
9795 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
9796 |
hardcode_libdir_flag_spec='-R$libdir' |
9797 |
hardcode_direct=yes |
9798 |
hardcode_shlibpath_var=no |
9799 |
;; |
9800 |
|
9801 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
9802 |
freebsd2.*) |
9803 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9804 |
hardcode_direct=yes |
9805 |
hardcode_minus_L=yes |
9806 |
hardcode_shlibpath_var=no |
9807 |
;; |
9808 |
|
9809 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
9810 |
freebsd* | dragonfly*) |
9811 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9812 |
hardcode_libdir_flag_spec='-R$libdir' |
9813 |
hardcode_direct=yes |
9814 |
hardcode_shlibpath_var=no |
9815 |
;; |
9816 |
|
9817 |
hpux9*) |
9818 |
if test yes = "$GCC"; then |
9819 |
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' |
9820 |
else |
9821 |
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' |
9822 |
fi |
9823 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
9824 |
hardcode_libdir_separator=: |
9825 |
hardcode_direct=yes |
9826 |
|
9827 |
# hardcode_minus_L: Not really in the search PATH, |
9828 |
# but as the default location of the library. |
9829 |
hardcode_minus_L=yes |
9830 |
export_dynamic_flag_spec='$wl-E' |
9831 |
;; |
9832 |
|
9833 |
hpux10*) |
9834 |
if test yes,no = "$GCC,$with_gnu_ld"; then |
9835 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9836 |
else |
9837 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9838 |
fi |
9839 |
if test no = "$with_gnu_ld"; then |
9840 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
9841 |
hardcode_libdir_separator=: |
9842 |
hardcode_direct=yes |
9843 |
hardcode_direct_absolute=yes |
9844 |
export_dynamic_flag_spec='$wl-E' |
9845 |
# hardcode_minus_L: Not really in the search PATH, |
9846 |
# but as the default location of the library. |
9847 |
hardcode_minus_L=yes |
9848 |
fi |
9849 |
;; |
9850 |
|
9851 |
hpux11*) |
9852 |
if test yes,no = "$GCC,$with_gnu_ld"; then |
9853 |
case $host_cpu in |
9854 |
hppa*64*) |
9855 |
archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
9856 |
;; |
9857 |
ia64*) |
9858 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9859 |
;; |
9860 |
*) |
9861 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9862 |
;; |
9863 |
esac |
9864 |
else |
9865 |
case $host_cpu in |
9866 |
hppa*64*) |
9867 |
archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
9868 |
;; |
9869 |
ia64*) |
9870 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9871 |
;; |
9872 |
*) |
9873 |
|
9874 |
# Older versions of the 11.00 compiler do not understand -b yet |
9875 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
9876 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
9877 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
9878 |
if ${lt_cv_prog_compiler__b+:} false; then : |
9879 |
$as_echo_n "(cached) " >&6 |
9880 |
else |
9881 |
lt_cv_prog_compiler__b=no |
9882 |
save_LDFLAGS=$LDFLAGS |
9883 |
LDFLAGS="$LDFLAGS -b" |
9884 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
9885 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
9886 |
# The linker can only warn and ignore the option if not recognized |
9887 |
# So say no if there are warnings |
9888 |
if test -s conftest.err; then |
9889 |
# Append any errors to the config.log. |
9890 |
cat conftest.err 1>&5 |
9891 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
9892 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
9893 |
if diff conftest.exp conftest.er2 >/dev/null; then |
9894 |
lt_cv_prog_compiler__b=yes |
9895 |
fi |
9896 |
else |
9897 |
lt_cv_prog_compiler__b=yes |
9898 |
fi |
9899 |
fi |
9900 |
$RM -r conftest* |
9901 |
LDFLAGS=$save_LDFLAGS |
9902 |
|
9903 |
fi |
9904 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
9905 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
9906 |
|
9907 |
if test yes = "$lt_cv_prog_compiler__b"; then |
9908 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9909 |
else |
9910 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9911 |
fi |
9912 |
|
9913 |
;; |
9914 |
esac |
9915 |
fi |
9916 |
if test no = "$with_gnu_ld"; then |
9917 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
9918 |
hardcode_libdir_separator=: |
9919 |
|
9920 |
case $host_cpu in |
9921 |
hppa*64*|ia64*) |
9922 |
hardcode_direct=no |
9923 |
hardcode_shlibpath_var=no |
9924 |
;; |
9925 |
*) |
9926 |
hardcode_direct=yes |
9927 |
hardcode_direct_absolute=yes |
9928 |
export_dynamic_flag_spec='$wl-E' |
9929 |
|
9930 |
# hardcode_minus_L: Not really in the search PATH, |
9931 |
# but as the default location of the library. |
9932 |
hardcode_minus_L=yes |
9933 |
;; |
9934 |
esac |
9935 |
fi |
9936 |
;; |
9937 |
|
9938 |
irix5* | irix6* | nonstopux*) |
9939 |
if test yes = "$GCC"; then |
9940 |
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' |
9941 |
# Try to use the -exported_symbol ld option, if it does not |
9942 |
# work, assume that -exports_file does not work either and |
9943 |
# implicitly export all symbols. |
9944 |
# This should be the same for all languages, so no per-tag cache variable. |
9945 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
9946 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
9947 |
if ${lt_cv_irix_exported_symbol+:} false; then : |
9948 |
$as_echo_n "(cached) " >&6 |
9949 |
else |
9950 |
save_LDFLAGS=$LDFLAGS |
9951 |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
9952 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9953 |
/* end confdefs.h. */ |
9954 |
int foo (void) { return 0; } |
9955 |
_ACEOF |
9956 |
if ac_fn_c_try_link "$LINENO"; then : |
9957 |
lt_cv_irix_exported_symbol=yes |
9958 |
else |
9959 |
lt_cv_irix_exported_symbol=no |
9960 |
fi |
9961 |
rm -f core conftest.err conftest.$ac_objext \ |
9962 |
conftest$ac_exeext conftest.$ac_ext |
9963 |
LDFLAGS=$save_LDFLAGS |
9964 |
fi |
9965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
9966 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
9967 |
if test yes = "$lt_cv_irix_exported_symbol"; then |
9968 |
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' |
9969 |
fi |
9970 |
else |
9971 |
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' |
9972 |
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' |
9973 |
fi |
9974 |
archive_cmds_need_lc='no' |
9975 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9976 |
hardcode_libdir_separator=: |
9977 |
inherit_rpath=yes |
9978 |
link_all_deplibs=yes |
9979 |
;; |
9980 |
|
9981 |
linux*) |
9982 |
case $cc_basename in |
9983 |
tcc*) |
9984 |
# Fabrice Bellard et al's Tiny C Compiler |
9985 |
ld_shlibs=yes |
9986 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9987 |
;; |
9988 |
esac |
9989 |
;; |
9990 |
|
9991 |
netbsd*) |
9992 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9993 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
9994 |
else |
9995 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
9996 |
fi |
9997 |
hardcode_libdir_flag_spec='-R$libdir' |
9998 |
hardcode_direct=yes |
9999 |
hardcode_shlibpath_var=no |
10000 |
;; |
10001 |
|
10002 |
newsos6) |
10003 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10004 |
hardcode_direct=yes |
10005 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10006 |
hardcode_libdir_separator=: |
10007 |
hardcode_shlibpath_var=no |
10008 |
;; |
10009 |
|
10010 |
*nto* | *qnx*) |
10011 |
;; |
10012 |
|
10013 |
openbsd* | bitrig*) |
10014 |
if test -f /usr/libexec/ld.so; then |
10015 |
hardcode_direct=yes |
10016 |
hardcode_shlibpath_var=no |
10017 |
hardcode_direct_absolute=yes |
10018 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
10019 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
10020 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
10021 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
10022 |
export_dynamic_flag_spec='$wl-E' |
10023 |
else |
10024 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
10025 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
10026 |
fi |
10027 |
else |
10028 |
ld_shlibs=no |
10029 |
fi |
10030 |
;; |
10031 |
|
10032 |
os2*) |
10033 |
hardcode_libdir_flag_spec='-L$libdir' |
10034 |
hardcode_minus_L=yes |
10035 |
allow_undefined_flag=unsupported |
10036 |
shrext_cmds=.dll |
10037 |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
10038 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
10039 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
10040 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
10041 |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
10042 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
10043 |
emximp -o $lib $output_objdir/$libname.def' |
10044 |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
10045 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
10046 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
10047 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
10048 |
prefix_cmds="$SED"~ |
10049 |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
10050 |
prefix_cmds="$prefix_cmds -e 1d"; |
10051 |
fi~ |
10052 |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
10053 |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
10054 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
10055 |
emximp -o $lib $output_objdir/$libname.def' |
10056 |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
10057 |
enable_shared_with_static_runtimes=yes |
10058 |
;; |
10059 |
|
10060 |
osf3*) |
10061 |
if test yes = "$GCC"; then |
10062 |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
10063 |
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' |
10064 |
else |
10065 |
allow_undefined_flag=' -expect_unresolved \*' |
10066 |
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' |
10067 |
fi |
10068 |
archive_cmds_need_lc='no' |
10069 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10070 |
hardcode_libdir_separator=: |
10071 |
;; |
10072 |
|
10073 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
10074 |
if test yes = "$GCC"; then |
10075 |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
10076 |
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' |
10077 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10078 |
else |
10079 |
allow_undefined_flag=' -expect_unresolved \*' |
10080 |
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' |
10081 |
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~ |
10082 |
$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' |
10083 |
|
10084 |
# Both c and cxx compiler support -rpath directly |
10085 |
hardcode_libdir_flag_spec='-rpath $libdir' |
10086 |
fi |
10087 |
archive_cmds_need_lc='no' |
10088 |
hardcode_libdir_separator=: |
10089 |
;; |
10090 |
|
10091 |
solaris*) |
10092 |
no_undefined_flag=' -z defs' |
10093 |
if test yes = "$GCC"; then |
10094 |
wlarc='$wl' |
10095 |
archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
10096 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10097 |
$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' |
10098 |
else |
10099 |
case `$CC -V 2>&1` in |
10100 |
*"Compilers 5.0"*) |
10101 |
wlarc='' |
10102 |
archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10103 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10104 |
$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
10105 |
;; |
10106 |
*) |
10107 |
wlarc='$wl' |
10108 |
archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
10109 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10110 |
$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10111 |
;; |
10112 |
esac |
10113 |
fi |
10114 |
hardcode_libdir_flag_spec='-R$libdir' |
10115 |
hardcode_shlibpath_var=no |
10116 |
case $host_os in |
10117 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
10118 |
*) |
10119 |
# The compiler driver will combine and reorder linker options, |
10120 |
# but understands '-z linker_flag'. GCC discards it without '$wl', |
10121 |
# but is careful enough not to reorder. |
10122 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
10123 |
if test yes = "$GCC"; then |
10124 |
whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
10125 |
else |
10126 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
10127 |
fi |
10128 |
;; |
10129 |
esac |
10130 |
link_all_deplibs=yes |
10131 |
;; |
10132 |
|
10133 |
sunos4*) |
10134 |
if test sequent = "$host_vendor"; then |
10135 |
# Use $CC to link under sequent, because it throws in some extra .o |
10136 |
# files that make .init and .fini sections work. |
10137 |
archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
10138 |
else |
10139 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
10140 |
fi |
10141 |
hardcode_libdir_flag_spec='-L$libdir' |
10142 |
hardcode_direct=yes |
10143 |
hardcode_minus_L=yes |
10144 |
hardcode_shlibpath_var=no |
10145 |
;; |
10146 |
|
10147 |
sysv4) |
10148 |
case $host_vendor in |
10149 |
sni) |
10150 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10151 |
hardcode_direct=yes # is this really true??? |
10152 |
;; |
10153 |
siemens) |
10154 |
## LD is ld it makes a PLAMLIB |
10155 |
## CC just makes a GrossModule. |
10156 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
10157 |
reload_cmds='$CC -r -o $output$reload_objs' |
10158 |
hardcode_direct=no |
10159 |
;; |
10160 |
motorola) |
10161 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10162 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
10163 |
;; |
10164 |
esac |
10165 |
runpath_var='LD_RUN_PATH' |
10166 |
hardcode_shlibpath_var=no |
10167 |
;; |
10168 |
|
10169 |
sysv4.3*) |
10170 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10171 |
hardcode_shlibpath_var=no |
10172 |
export_dynamic_flag_spec='-Bexport' |
10173 |
;; |
10174 |
|
10175 |
sysv4*MP*) |
10176 |
if test -d /usr/nec; then |
10177 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10178 |
hardcode_shlibpath_var=no |
10179 |
runpath_var=LD_RUN_PATH |
10180 |
hardcode_runpath_var=yes |
10181 |
ld_shlibs=yes |
10182 |
fi |
10183 |
;; |
10184 |
|
10185 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
10186 |
no_undefined_flag='$wl-z,text' |
10187 |
archive_cmds_need_lc=no |
10188 |
hardcode_shlibpath_var=no |
10189 |
runpath_var='LD_RUN_PATH' |
10190 |
|
10191 |
if test yes = "$GCC"; then |
10192 |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10193 |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10194 |
else |
10195 |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10196 |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10197 |
fi |
10198 |
;; |
10199 |
|
10200 |
sysv5* | sco3.2v5* | sco5v6*) |
10201 |
# Note: We CANNOT use -z defs as we might desire, because we do not |
10202 |
# link with -lc, and that would cause any symbols used from libc to |
10203 |
# always be unresolved, which means just about no library would |
10204 |
# ever link correctly. If we're not using GNU ld we use -z text |
10205 |
# though, which does catch some bad symbols but isn't as heavy-handed |
10206 |
# as -z defs. |
10207 |
no_undefined_flag='$wl-z,text' |
10208 |
allow_undefined_flag='$wl-z,nodefs' |
10209 |
archive_cmds_need_lc=no |
10210 |
hardcode_shlibpath_var=no |
10211 |
hardcode_libdir_flag_spec='$wl-R,$libdir' |
10212 |
hardcode_libdir_separator=':' |
10213 |
link_all_deplibs=yes |
10214 |
export_dynamic_flag_spec='$wl-Bexport' |
10215 |
runpath_var='LD_RUN_PATH' |
10216 |
|
10217 |
if test yes = "$GCC"; then |
10218 |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10219 |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10220 |
else |
10221 |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10222 |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10223 |
fi |
10224 |
;; |
10225 |
|
10226 |
uts4*) |
10227 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10228 |
hardcode_libdir_flag_spec='-L$libdir' |
10229 |
hardcode_shlibpath_var=no |
10230 |
;; |
10231 |
|
10232 |
*) |
10233 |
ld_shlibs=no |
10234 |
;; |
10235 |
esac |
10236 |
|
10237 |
if test sni = "$host_vendor"; then |
10238 |
case $host in |
10239 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
10240 |
export_dynamic_flag_spec='$wl-Blargedynsym' |
10241 |
;; |
10242 |
esac |
10243 |
fi |
10244 |
fi |
10245 |
|
10246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
10247 |
$as_echo "$ld_shlibs" >&6; } |
10248 |
test no = "$ld_shlibs" && can_build_shared=no |
10249 |
|
10250 |
with_gnu_ld=$with_gnu_ld |
10251 |
|
10252 |
|
10253 |
|
10254 |
|
10255 |
|
10256 |
|
10257 |
|
10258 |
|
10259 |
|
10260 |
|
10261 |
|
10262 |
|
10263 |
|
10264 |
|
10265 |
|
10266 |
# |
10267 |
# Do we need to explicitly link libc? |
10268 |
# |
10269 |
case "x$archive_cmds_need_lc" in |
10270 |
x|xyes) |
10271 |
# Assume -lc should be added |
10272 |
archive_cmds_need_lc=yes |
10273 |
|
10274 |
if test yes,yes = "$GCC,$enable_shared"; then |
10275 |
case $archive_cmds in |
10276 |
*'~'*) |
10277 |
# FIXME: we may have to deal with multi-command sequences. |
10278 |
;; |
10279 |
'$CC '*) |
10280 |
# Test whether the compiler implicitly links with -lc since on some |
10281 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
10282 |
# to ld, don't add -lc before -lgcc. |
10283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
10284 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
10285 |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
10286 |
$as_echo_n "(cached) " >&6 |
10287 |
else |
10288 |
$RM conftest* |
10289 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10290 |
|
10291 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10292 |
(eval $ac_compile) 2>&5 |
10293 |
ac_status=$? |
10294 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10295 |
test $ac_status = 0; } 2>conftest.err; then |
10296 |
soname=conftest |
10297 |
lib=conftest |
10298 |
libobjs=conftest.$ac_objext |
10299 |
deplibs= |
10300 |
wl=$lt_prog_compiler_wl |
10301 |
pic_flag=$lt_prog_compiler_pic |
10302 |
compiler_flags=-v |
10303 |
linker_flags=-v |
10304 |
verstring= |
10305 |
output_objdir=. |
10306 |
libname=conftest |
10307 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10308 |
allow_undefined_flag= |
10309 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10310 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
10311 |
ac_status=$? |
10312 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10313 |
test $ac_status = 0; } |
10314 |
then |
10315 |
lt_cv_archive_cmds_need_lc=no |
10316 |
else |
10317 |
lt_cv_archive_cmds_need_lc=yes |
10318 |
fi |
10319 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10320 |
else |
10321 |
cat conftest.err 1>&5 |
10322 |
fi |
10323 |
$RM conftest* |
10324 |
|
10325 |
fi |
10326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
10327 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
10328 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
10329 |
;; |
10330 |
esac |
10331 |
fi |
10332 |
;; |
10333 |
esac |
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 |
|
10374 |
|
10375 |
|
10376 |
|
10377 |
|
10378 |
|
10379 |
|
10380 |
|
10381 |
|
10382 |
|
10383 |
|
10384 |
|
10385 |
|
10386 |
|
10387 |
|
10388 |
|
10389 |
|
10390 |
|
10391 |
|
10392 |
|
10393 |
|
10394 |
|
10395 |
|
10396 |
|
10397 |
|
10398 |
|
10399 |
|
10400 |
|
10401 |
|
10402 |
|
10403 |
|
10404 |
|
10405 |
|
10406 |
|
10407 |
|
10408 |
|
10409 |
|
10410 |
|
10411 |
|
10412 |
|
10413 |
|
10414 |
|
10415 |
|
10416 |
|
10417 |
|
10418 |
|
10419 |
|
10420 |
|
10421 |
|
10422 |
|
10423 |
|
10424 |
|
10425 |
|
10426 |
|
10427 |
|
10428 |
|
10429 |
|
10430 |
|
10431 |
|
10432 |
|
10433 |
|
10434 |
|
10435 |
|
10436 |
|
10437 |
|
10438 |
|
10439 |
|
10440 |
|
10441 |
|
10442 |
|
10443 |
|
10444 |
|
10445 |
|
10446 |
|
10447 |
|
10448 |
|
10449 |
|
10450 |
|
10451 |
|
10452 |
|
10453 |
|
10454 |
|
10455 |
|
10456 |
|
10457 |
|
10458 |
|
10459 |
|
10460 |
|
10461 |
|
10462 |
|
10463 |
|
10464 |
|
10465 |
|
10466 |
|
10467 |
|
10468 |
|
10469 |
|
10470 |
|
10471 |
|
10472 |
|
10473 |
|
10474 |
|
10475 |
|
10476 |
|
10477 |
|
10478 |
|
10479 |
|
10480 |
|
10481 |
|
10482 |
|
10483 |
|
10484 |
|
10485 |
|
10486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10487 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
10488 |
|
10489 |
if test yes = "$GCC"; then |
10490 |
case $host_os in |
10491 |
darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
10492 |
*) lt_awk_arg='/^libraries:/' ;; |
10493 |
esac |
10494 |
case $host_os in |
10495 |
mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
10496 |
*) lt_sed_strip_eq='s|=/|/|g' ;; |
10497 |
esac |
10498 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10499 |
case $lt_search_path_spec in |
10500 |
*\;*) |
10501 |
# if the path contains ";" then we assume it to be the separator |
10502 |
# otherwise default to the standard path separator (i.e. ":") - it is |
10503 |
# assumed that no part of a normal pathname contains ";" but that should |
10504 |
# okay in the real world where ";" in dirpaths is itself problematic. |
10505 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10506 |
;; |
10507 |
*) |
10508 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10509 |
;; |
10510 |
esac |
10511 |
# Ok, now we have the path, separated by spaces, we can step through it |
10512 |
# and add multilib dir if necessary... |
10513 |
lt_tmp_lt_search_path_spec= |
10514 |
lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
10515 |
# ...but if some path component already ends with the multilib dir we assume |
10516 |
# that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
10517 |
case "$lt_multi_os_dir; $lt_search_path_spec " in |
10518 |
"/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
10519 |
lt_multi_os_dir= |
10520 |
;; |
10521 |
esac |
10522 |
for lt_sys_path in $lt_search_path_spec; do |
10523 |
if test -d "$lt_sys_path$lt_multi_os_dir"; then |
10524 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
10525 |
elif test -n "$lt_multi_os_dir"; then |
10526 |
test -d "$lt_sys_path" && \ |
10527 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10528 |
fi |
10529 |
done |
10530 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10531 |
BEGIN {RS = " "; FS = "/|\n";} { |
10532 |
lt_foo = ""; |
10533 |
lt_count = 0; |
10534 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
10535 |
if ($lt_i != "" && $lt_i != ".") { |
10536 |
if ($lt_i == "..") { |
10537 |
lt_count++; |
10538 |
} else { |
10539 |
if (lt_count == 0) { |
10540 |
lt_foo = "/" $lt_i lt_foo; |
10541 |
} else { |
10542 |
lt_count--; |
10543 |
} |
10544 |
} |
10545 |
} |
10546 |
} |
10547 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
10548 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
10549 |
}'` |
10550 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10551 |
# for these hosts. |
10552 |
case $host_os in |
10553 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10554 |
$SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
10555 |
esac |
10556 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10557 |
else |
10558 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10559 |
fi |
10560 |
library_names_spec= |
10561 |
libname_spec='lib$name' |
10562 |
soname_spec= |
10563 |
shrext_cmds=.so |
10564 |
postinstall_cmds= |
10565 |
postuninstall_cmds= |
10566 |
finish_cmds= |
10567 |
finish_eval= |
10568 |
shlibpath_var= |
10569 |
shlibpath_overrides_runpath=unknown |
10570 |
version_type=none |
10571 |
dynamic_linker="$host_os ld.so" |
10572 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
10573 |
need_lib_prefix=unknown |
10574 |
hardcode_into_libs=no |
10575 |
|
10576 |
# when you set need_version to no, make sure it does not cause -set_version |
10577 |
# flags to be left without arguments |
10578 |
need_version=unknown |
10579 |
|
10580 |
case $host_os in |
10581 |
aix3*) |
10582 |
version_type=linux # correct to gnu/linux during the next big refactor |
10583 |
library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
10584 |
shlibpath_var=LIBPATH |
10585 |
|
10586 |
# AIX 3 has no versioning support, so we append a major version to the name. |
10587 |
soname_spec='$libname$release$shared_ext$major' |
10588 |
;; |
10589 |
|
10590 |
aix[4-9]*) |
10591 |
version_type=linux # correct to gnu/linux during the next big refactor |
10592 |
need_lib_prefix=no |
10593 |
need_version=no |
10594 |
hardcode_into_libs=yes |
10595 |
if test ia64 = "$host_cpu"; then |
10596 |
# AIX 5 supports IA64 |
10597 |
library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
10598 |
shlibpath_var=LD_LIBRARY_PATH |
10599 |
else |
10600 |
# With GCC up to 2.95.x, collect2 would create an import file |
10601 |
# for dependence libraries. The import file would start with |
10602 |
# the line '#! .'. This would cause the generated library to |
10603 |
# depend on '.', always an invalid library. This was fixed in |
10604 |
# development snapshots of GCC prior to 3.0. |
10605 |
case $host_os in |
10606 |
aix4 | aix4.[01] | aix4.[01].*) |
10607 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
10608 |
echo ' yes ' |
10609 |
echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
10610 |
: |
10611 |
else |
10612 |
can_build_shared=no |
10613 |
fi |
10614 |
;; |
10615 |
esac |
10616 |
# Using Import Files as archive members, it is possible to support |
10617 |
# filename-based versioning of shared library archives on AIX. While |
10618 |
# this would work for both with and without runtime linking, it will |
10619 |
# prevent static linking of such archives. So we do filename-based |
10620 |
# shared library versioning with .so extension only, which is used |
10621 |
# when both runtime linking and shared linking is enabled. |
10622 |
# Unfortunately, runtime linking may impact performance, so we do |
10623 |
# not want this to be the default eventually. Also, we use the |
10624 |
# versioned .so libs for executables only if there is the -brtl |
10625 |
# linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
10626 |
# To allow for filename-based versioning support, we need to create |
10627 |
# libNAME.so.V as an archive file, containing: |
10628 |
# *) an Import File, referring to the versioned filename of the |
10629 |
# archive as well as the shared archive member, telling the |
10630 |
# bitwidth (32 or 64) of that shared object, and providing the |
10631 |
# list of exported symbols of that shared object, eventually |
10632 |
# decorated with the 'weak' keyword |
10633 |
# *) the shared object with the F_LOADONLY flag set, to really avoid |
10634 |
# it being seen by the linker. |
10635 |
# At run time we better use the real file rather than another symlink, |
10636 |
# but for link time we create the symlink libNAME.so -> libNAME.so.V |
10637 |
|
10638 |
case $with_aix_soname,$aix_use_runtimelinking in |
10639 |
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
10640 |
# soname into executable. Probably we can add versioning support to |
10641 |
# collect2, so additional links can be useful in future. |
10642 |
aix,yes) # traditional libtool |
10643 |
dynamic_linker='AIX unversionable lib.so' |
10644 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
10645 |
# instead of lib<name>.a to let people know that these are not |
10646 |
# typical AIX shared libraries. |
10647 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10648 |
;; |
10649 |
aix,no) # traditional AIX only |
10650 |
dynamic_linker='AIX lib.a(lib.so.V)' |
10651 |
# We preserve .a as extension for shared libraries through AIX4.2 |
10652 |
# and later when we are not doing run time linking. |
10653 |
library_names_spec='$libname$release.a $libname.a' |
10654 |
soname_spec='$libname$release$shared_ext$major' |
10655 |
;; |
10656 |
svr4,*) # full svr4 only |
10657 |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
10658 |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
10659 |
# We do not specify a path in Import Files, so LIBPATH fires. |
10660 |
shlibpath_overrides_runpath=yes |
10661 |
;; |
10662 |
*,yes) # both, prefer svr4 |
10663 |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
10664 |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
10665 |
# unpreferred sharedlib libNAME.a needs extra handling |
10666 |
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"' |
10667 |
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"' |
10668 |
# We do not specify a path in Import Files, so LIBPATH fires. |
10669 |
shlibpath_overrides_runpath=yes |
10670 |
;; |
10671 |
*,no) # both, prefer aix |
10672 |
dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
10673 |
library_names_spec='$libname$release.a $libname.a' |
10674 |
soname_spec='$libname$release$shared_ext$major' |
10675 |
# unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
10676 |
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)' |
10677 |
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"' |
10678 |
;; |
10679 |
esac |
10680 |
shlibpath_var=LIBPATH |
10681 |
fi |
10682 |
;; |
10683 |
|
10684 |
amigaos*) |
10685 |
case $host_cpu in |
10686 |
powerpc) |
10687 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
10688 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
10689 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10690 |
;; |
10691 |
m68k) |
10692 |
library_names_spec='$libname.ixlibrary $libname.a' |
10693 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
10694 |
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' |
10695 |
;; |
10696 |
esac |
10697 |
;; |
10698 |
|
10699 |
beos*) |
10700 |
library_names_spec='$libname$shared_ext' |
10701 |
dynamic_linker="$host_os ld.so" |
10702 |
shlibpath_var=LIBRARY_PATH |
10703 |
;; |
10704 |
|
10705 |
bsdi[45]*) |
10706 |
version_type=linux # correct to gnu/linux during the next big refactor |
10707 |
need_version=no |
10708 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10709 |
soname_spec='$libname$release$shared_ext$major' |
10710 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
10711 |
shlibpath_var=LD_LIBRARY_PATH |
10712 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
10713 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
10714 |
# the default ld.so.conf also contains /usr/contrib/lib and |
10715 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
10716 |
# libtool to hard-code these into programs |
10717 |
;; |
10718 |
|
10719 |
cygwin* | mingw* | pw32* | cegcc*) |
10720 |
version_type=windows |
10721 |
shrext_cmds=.dll |
10722 |
need_version=no |
10723 |
need_lib_prefix=no |
10724 |
|
10725 |
case $GCC,$cc_basename in |
10726 |
yes,*) |
10727 |
# gcc |
10728 |
library_names_spec='$libname.dll.a' |
10729 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10730 |
postinstall_cmds='base_file=`basename \$file`~ |
10731 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
10732 |
dldir=$destdir/`dirname \$dlpath`~ |
10733 |
test -d \$dldir || mkdir -p \$dldir~ |
10734 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
10735 |
chmod a+x \$dldir/$dlname~ |
10736 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
10737 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
10738 |
fi' |
10739 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10740 |
dlpath=$dir/\$dldll~ |
10741 |
$RM \$dlpath' |
10742 |
shlibpath_overrides_runpath=yes |
10743 |
|
10744 |
case $host_os in |
10745 |
cygwin*) |
10746 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10747 |
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10748 |
|
10749 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10750 |
;; |
10751 |
mingw* | cegcc*) |
10752 |
# MinGW DLLs use traditional 'lib' prefix |
10753 |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10754 |
;; |
10755 |
pw32*) |
10756 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
10757 |
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10758 |
;; |
10759 |
esac |
10760 |
dynamic_linker='Win32 ld.exe' |
10761 |
;; |
10762 |
|
10763 |
*,cl*) |
10764 |
# Native MSVC |
10765 |
libname_spec='$name' |
10766 |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10767 |
library_names_spec='$libname.dll.lib' |
10768 |
|
10769 |
case $build_os in |
10770 |
mingw*) |
10771 |
sys_lib_search_path_spec= |
10772 |
lt_save_ifs=$IFS |
10773 |
IFS=';' |
10774 |
for lt_path in $LIB |
10775 |
do |
10776 |
IFS=$lt_save_ifs |
10777 |
# Let DOS variable expansion print the short 8.3 style file name. |
10778 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
10779 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
10780 |
done |
10781 |
IFS=$lt_save_ifs |
10782 |
# Convert to MSYS style. |
10783 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10784 |
;; |
10785 |
cygwin*) |
10786 |
# Convert to unix form, then to dos form, then back to unix form |
10787 |
# but this time dos style (no spaces!) so that the unix form looks |
10788 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
10789 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10790 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10791 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10792 |
;; |
10793 |
*) |
10794 |
sys_lib_search_path_spec=$LIB |
10795 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
10796 |
# It is most probably a Windows format PATH. |
10797 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
10798 |
else |
10799 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10800 |
fi |
10801 |
# FIXME: find the short name or the path components, as spaces are |
10802 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
10803 |
;; |
10804 |
esac |
10805 |
|
10806 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10807 |
postinstall_cmds='base_file=`basename \$file`~ |
10808 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
10809 |
dldir=$destdir/`dirname \$dlpath`~ |
10810 |
test -d \$dldir || mkdir -p \$dldir~ |
10811 |
$install_prog $dir/$dlname \$dldir/$dlname' |
10812 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10813 |
dlpath=$dir/\$dldll~ |
10814 |
$RM \$dlpath' |
10815 |
shlibpath_overrides_runpath=yes |
10816 |
dynamic_linker='Win32 link.exe' |
10817 |
;; |
10818 |
|
10819 |
*) |
10820 |
# Assume MSVC wrapper |
10821 |
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
10822 |
dynamic_linker='Win32 ld.exe' |
10823 |
;; |
10824 |
esac |
10825 |
# FIXME: first we should search . and the directory the executable is in |
10826 |
shlibpath_var=PATH |
10827 |
;; |
10828 |
|
10829 |
darwin* | rhapsody*) |
10830 |
dynamic_linker="$host_os dyld" |
10831 |
version_type=darwin |
10832 |
need_lib_prefix=no |
10833 |
need_version=no |
10834 |
library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
10835 |
soname_spec='$libname$release$major$shared_ext' |
10836 |
shlibpath_overrides_runpath=yes |
10837 |
shlibpath_var=DYLD_LIBRARY_PATH |
10838 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
10839 |
|
10840 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
10841 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
10842 |
;; |
10843 |
|
10844 |
dgux*) |
10845 |
version_type=linux # correct to gnu/linux during the next big refactor |
10846 |
need_lib_prefix=no |
10847 |
need_version=no |
10848 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10849 |
soname_spec='$libname$release$shared_ext$major' |
10850 |
shlibpath_var=LD_LIBRARY_PATH |
10851 |
;; |
10852 |
|
10853 |
freebsd* | dragonfly*) |
10854 |
# DragonFly does not have aout. When/if they implement a new |
10855 |
# versioning mechanism, adjust this. |
10856 |
if test -x /usr/bin/objformat; then |
10857 |
objformat=`/usr/bin/objformat` |
10858 |
else |
10859 |
case $host_os in |
10860 |
freebsd[23].*) objformat=aout ;; |
10861 |
*) objformat=elf ;; |
10862 |
esac |
10863 |
fi |
10864 |
version_type=freebsd-$objformat |
10865 |
case $version_type in |
10866 |
freebsd-elf*) |
10867 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10868 |
need_version=no |
10869 |
need_lib_prefix=no |
10870 |
;; |
10871 |
freebsd-*) |
10872 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
10873 |
need_version=yes |
10874 |
;; |
10875 |
esac |
10876 |
shlibpath_var=LD_LIBRARY_PATH |
10877 |
case $host_os in |
10878 |
freebsd2.*) |
10879 |
shlibpath_overrides_runpath=yes |
10880 |
;; |
10881 |
freebsd3.[01]* | freebsdelf3.[01]*) |
10882 |
shlibpath_overrides_runpath=yes |
10883 |
hardcode_into_libs=yes |
10884 |
;; |
10885 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
10886 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
10887 |
shlibpath_overrides_runpath=no |
10888 |
hardcode_into_libs=yes |
10889 |
;; |
10890 |
*) # from 4.6 on, and DragonFly |
10891 |
shlibpath_overrides_runpath=yes |
10892 |
hardcode_into_libs=yes |
10893 |
;; |
10894 |
esac |
10895 |
;; |
10896 |
|
10897 |
haiku*) |
10898 |
version_type=linux # correct to gnu/linux during the next big refactor |
10899 |
need_lib_prefix=no |
10900 |
need_version=no |
10901 |
dynamic_linker="$host_os runtime_loader" |
10902 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10903 |
soname_spec='$libname$release$shared_ext$major' |
10904 |
shlibpath_var=LIBRARY_PATH |
10905 |
shlibpath_overrides_runpath=no |
10906 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
10907 |
hardcode_into_libs=yes |
10908 |
;; |
10909 |
|
10910 |
hpux9* | hpux10* | hpux11*) |
10911 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
10912 |
# link against other versions. |
10913 |
version_type=sunos |
10914 |
need_lib_prefix=no |
10915 |
need_version=no |
10916 |
case $host_cpu in |
10917 |
ia64*) |
10918 |
shrext_cmds='.so' |
10919 |
hardcode_into_libs=yes |
10920 |
dynamic_linker="$host_os dld.so" |
10921 |
shlibpath_var=LD_LIBRARY_PATH |
10922 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
10923 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10924 |
soname_spec='$libname$release$shared_ext$major' |
10925 |
if test 32 = "$HPUX_IA64_MODE"; then |
10926 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
10927 |
else |
10928 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
10929 |
fi |
10930 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
10931 |
;; |
10932 |
hppa*64*) |
10933 |
shrext_cmds='.sl' |
10934 |
hardcode_into_libs=yes |
10935 |
dynamic_linker="$host_os dld.sl" |
10936 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
10937 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
10938 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10939 |
soname_spec='$libname$release$shared_ext$major' |
10940 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
10941 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
10942 |
;; |
10943 |
*) |
10944 |
shrext_cmds='.sl' |
10945 |
dynamic_linker="$host_os dld.sl" |
10946 |
shlibpath_var=SHLIB_PATH |
10947 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
10948 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10949 |
soname_spec='$libname$release$shared_ext$major' |
10950 |
;; |
10951 |
esac |
10952 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
10953 |
postinstall_cmds='chmod 555 $lib' |
10954 |
# or fails outright, so override atomically: |
10955 |
install_override_mode=555 |
10956 |
;; |
10957 |
|
10958 |
interix[3-9]*) |
10959 |
version_type=linux # correct to gnu/linux during the next big refactor |
10960 |
need_lib_prefix=no |
10961 |
need_version=no |
10962 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10963 |
soname_spec='$libname$release$shared_ext$major' |
10964 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
10965 |
shlibpath_var=LD_LIBRARY_PATH |
10966 |
shlibpath_overrides_runpath=no |
10967 |
hardcode_into_libs=yes |
10968 |
;; |
10969 |
|
10970 |
irix5* | irix6* | nonstopux*) |
10971 |
case $host_os in |
10972 |
nonstopux*) version_type=nonstopux ;; |
10973 |
*) |
10974 |
if test yes = "$lt_cv_prog_gnu_ld"; then |
10975 |
version_type=linux # correct to gnu/linux during the next big refactor |
10976 |
else |
10977 |
version_type=irix |
10978 |
fi ;; |
10979 |
esac |
10980 |
need_lib_prefix=no |
10981 |
need_version=no |
10982 |
soname_spec='$libname$release$shared_ext$major' |
10983 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
10984 |
case $host_os in |
10985 |
irix5* | nonstopux*) |
10986 |
libsuff= shlibsuff= |
10987 |
;; |
10988 |
*) |
10989 |
case $LD in # libtool.m4 will add one of these switches to LD |
10990 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
10991 |
libsuff= shlibsuff= libmagic=32-bit;; |
10992 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
10993 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
10994 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
10995 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
10996 |
*) libsuff= shlibsuff= libmagic=never-match;; |
10997 |
esac |
10998 |
;; |
10999 |
esac |
11000 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
11001 |
shlibpath_overrides_runpath=no |
11002 |
sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
11003 |
sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
11004 |
hardcode_into_libs=yes |
11005 |
;; |
11006 |
|
11007 |
# No shared lib support for Linux oldld, aout, or coff. |
11008 |
linux*oldld* | linux*aout* | linux*coff*) |
11009 |
dynamic_linker=no |
11010 |
;; |
11011 |
|
11012 |
linux*android*) |
11013 |
version_type=none # Android doesn't support versioned libraries. |
11014 |
need_lib_prefix=no |
11015 |
need_version=no |
11016 |
library_names_spec='$libname$release$shared_ext' |
11017 |
soname_spec='$libname$release$shared_ext' |
11018 |
finish_cmds= |
11019 |
shlibpath_var=LD_LIBRARY_PATH |
11020 |
shlibpath_overrides_runpath=yes |
11021 |
|
11022 |
# This implies no fast_install, which is unacceptable. |
11023 |
# Some rework will be needed to allow for fast_install |
11024 |
# before this can be enabled. |
11025 |
hardcode_into_libs=yes |
11026 |
|
11027 |
dynamic_linker='Android linker' |
11028 |
# Don't embed -rpath directories since the linker doesn't support them. |
11029 |
hardcode_libdir_flag_spec='-L$libdir' |
11030 |
;; |
11031 |
|
11032 |
# This must be glibc/ELF. |
11033 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
11034 |
version_type=linux # correct to gnu/linux during the next big refactor |
11035 |
need_lib_prefix=no |
11036 |
need_version=no |
11037 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11038 |
soname_spec='$libname$release$shared_ext$major' |
11039 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
11040 |
shlibpath_var=LD_LIBRARY_PATH |
11041 |
shlibpath_overrides_runpath=no |
11042 |
|
11043 |
# Some binutils ld are patched to set DT_RUNPATH |
11044 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
11045 |
$as_echo_n "(cached) " >&6 |
11046 |
else |
11047 |
lt_cv_shlibpath_overrides_runpath=no |
11048 |
save_LDFLAGS=$LDFLAGS |
11049 |
save_libdir=$libdir |
11050 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
11051 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
11052 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11053 |
/* end confdefs.h. */ |
11054 |
|
11055 |
int |
11056 |
main () |
11057 |
{ |
11058 |
|
11059 |
; |
11060 |
return 0; |
11061 |
} |
11062 |
_ACEOF |
11063 |
if ac_fn_c_try_link "$LINENO"; then : |
11064 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
11065 |
lt_cv_shlibpath_overrides_runpath=yes |
11066 |
fi |
11067 |
fi |
11068 |
rm -f core conftest.err conftest.$ac_objext \ |
11069 |
conftest$ac_exeext conftest.$ac_ext |
11070 |
LDFLAGS=$save_LDFLAGS |
11071 |
libdir=$save_libdir |
11072 |
|
11073 |
fi |
11074 |
|
11075 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
11076 |
|
11077 |
# This implies no fast_install, which is unacceptable. |
11078 |
# Some rework will be needed to allow for fast_install |
11079 |
# before this can be enabled. |
11080 |
hardcode_into_libs=yes |
11081 |
|
11082 |
# Append ld.so.conf contents to the search path |
11083 |
if test -f /etc/ld.so.conf; then |
11084 |
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' ' '` |
11085 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11086 |
fi |
11087 |
|
11088 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
11089 |
# powerpc, because MkLinux only supported shared libraries with the |
11090 |
# GNU dynamic linker. Since this was broken with cross compilers, |
11091 |
# most powerpc-linux boxes support dynamic linking these days and |
11092 |
# people can always --disable-shared, the test was removed, and we |
11093 |
# assume the GNU/Linux dynamic linker is in use. |
11094 |
dynamic_linker='GNU/Linux ld.so' |
11095 |
;; |
11096 |
|
11097 |
netbsd*) |
11098 |
version_type=sunos |
11099 |
need_lib_prefix=no |
11100 |
need_version=no |
11101 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
11102 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
11103 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11104 |
dynamic_linker='NetBSD (a.out) ld.so' |
11105 |
else |
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 |
dynamic_linker='NetBSD ld.elf_so' |
11109 |
fi |
11110 |
shlibpath_var=LD_LIBRARY_PATH |
11111 |
shlibpath_overrides_runpath=yes |
11112 |
hardcode_into_libs=yes |
11113 |
;; |
11114 |
|
11115 |
newsos6) |
11116 |
version_type=linux # correct to gnu/linux during the next big refactor |
11117 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11118 |
shlibpath_var=LD_LIBRARY_PATH |
11119 |
shlibpath_overrides_runpath=yes |
11120 |
;; |
11121 |
|
11122 |
*nto* | *qnx*) |
11123 |
version_type=qnx |
11124 |
need_lib_prefix=no |
11125 |
need_version=no |
11126 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11127 |
soname_spec='$libname$release$shared_ext$major' |
11128 |
shlibpath_var=LD_LIBRARY_PATH |
11129 |
shlibpath_overrides_runpath=no |
11130 |
hardcode_into_libs=yes |
11131 |
dynamic_linker='ldqnx.so' |
11132 |
;; |
11133 |
|
11134 |
openbsd* | bitrig*) |
11135 |
version_type=sunos |
11136 |
sys_lib_dlsearch_path_spec=/usr/lib |
11137 |
need_lib_prefix=no |
11138 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
11139 |
need_version=no |
11140 |
else |
11141 |
need_version=yes |
11142 |
fi |
11143 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
11144 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11145 |
shlibpath_var=LD_LIBRARY_PATH |
11146 |
shlibpath_overrides_runpath=yes |
11147 |
;; |
11148 |
|
11149 |
os2*) |
11150 |
libname_spec='$name' |
11151 |
version_type=windows |
11152 |
shrext_cmds=.dll |
11153 |
need_version=no |
11154 |
need_lib_prefix=no |
11155 |
# OS/2 can only load a DLL with a base name of 8 characters or less. |
11156 |
soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
11157 |
v=$($ECHO $release$versuffix | tr -d .-); |
11158 |
n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
11159 |
$ECHO $n$v`$shared_ext' |
11160 |
library_names_spec='${libname}_dll.$libext' |
11161 |
dynamic_linker='OS/2 ld.exe' |
11162 |
shlibpath_var=BEGINLIBPATH |
11163 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
11164 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11165 |
postinstall_cmds='base_file=`basename \$file`~ |
11166 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
11167 |
dldir=$destdir/`dirname \$dlpath`~ |
11168 |
test -d \$dldir || mkdir -p \$dldir~ |
11169 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
11170 |
chmod a+x \$dldir/$dlname~ |
11171 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
11172 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
11173 |
fi' |
11174 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
11175 |
dlpath=$dir/\$dldll~ |
11176 |
$RM \$dlpath' |
11177 |
;; |
11178 |
|
11179 |
osf3* | osf4* | osf5*) |
11180 |
version_type=osf |
11181 |
need_lib_prefix=no |
11182 |
need_version=no |
11183 |
soname_spec='$libname$release$shared_ext$major' |
11184 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11185 |
shlibpath_var=LD_LIBRARY_PATH |
11186 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
11187 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11188 |
;; |
11189 |
|
11190 |
rdos*) |
11191 |
dynamic_linker=no |
11192 |
;; |
11193 |
|
11194 |
solaris*) |
11195 |
version_type=linux # correct to gnu/linux during the next big refactor |
11196 |
need_lib_prefix=no |
11197 |
need_version=no |
11198 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11199 |
soname_spec='$libname$release$shared_ext$major' |
11200 |
shlibpath_var=LD_LIBRARY_PATH |
11201 |
shlibpath_overrides_runpath=yes |
11202 |
hardcode_into_libs=yes |
11203 |
# ldd complains unless libraries are executable |
11204 |
postinstall_cmds='chmod +x $lib' |
11205 |
;; |
11206 |
|
11207 |
sunos4*) |
11208 |
version_type=sunos |
11209 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
11210 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
11211 |
shlibpath_var=LD_LIBRARY_PATH |
11212 |
shlibpath_overrides_runpath=yes |
11213 |
if test yes = "$with_gnu_ld"; then |
11214 |
need_lib_prefix=no |
11215 |
fi |
11216 |
need_version=yes |
11217 |
;; |
11218 |
|
11219 |
sysv4 | sysv4.3*) |
11220 |
version_type=linux # correct to gnu/linux during the next big refactor |
11221 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11222 |
soname_spec='$libname$release$shared_ext$major' |
11223 |
shlibpath_var=LD_LIBRARY_PATH |
11224 |
case $host_vendor in |
11225 |
sni) |
11226 |
shlibpath_overrides_runpath=no |
11227 |
need_lib_prefix=no |
11228 |
runpath_var=LD_RUN_PATH |
11229 |
;; |
11230 |
siemens) |
11231 |
need_lib_prefix=no |
11232 |
;; |
11233 |
motorola) |
11234 |
need_lib_prefix=no |
11235 |
need_version=no |
11236 |
shlibpath_overrides_runpath=no |
11237 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
11238 |
;; |
11239 |
esac |
11240 |
;; |
11241 |
|
11242 |
sysv4*MP*) |
11243 |
if test -d /usr/nec; then |
11244 |
version_type=linux # correct to gnu/linux during the next big refactor |
11245 |
library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
11246 |
soname_spec='$libname$shared_ext.$major' |
11247 |
shlibpath_var=LD_LIBRARY_PATH |
11248 |
fi |
11249 |
;; |
11250 |
|
11251 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
11252 |
version_type=sco |
11253 |
need_lib_prefix=no |
11254 |
need_version=no |
11255 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
11256 |
soname_spec='$libname$release$shared_ext$major' |
11257 |
shlibpath_var=LD_LIBRARY_PATH |
11258 |
shlibpath_overrides_runpath=yes |
11259 |
hardcode_into_libs=yes |
11260 |
if test yes = "$with_gnu_ld"; then |
11261 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
11262 |
else |
11263 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
11264 |
case $host_os in |
11265 |
sco3.2v5*) |
11266 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
11267 |
;; |
11268 |
esac |
11269 |
fi |
11270 |
sys_lib_dlsearch_path_spec='/usr/lib' |
11271 |
;; |
11272 |
|
11273 |
tpf*) |
11274 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11275 |
version_type=linux # correct to gnu/linux during the next big refactor |
11276 |
need_lib_prefix=no |
11277 |
need_version=no |
11278 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11279 |
shlibpath_var=LD_LIBRARY_PATH |
11280 |
shlibpath_overrides_runpath=no |
11281 |
hardcode_into_libs=yes |
11282 |
;; |
11283 |
|
11284 |
uts4*) |
11285 |
version_type=linux # correct to gnu/linux during the next big refactor |
11286 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11287 |
soname_spec='$libname$release$shared_ext$major' |
11288 |
shlibpath_var=LD_LIBRARY_PATH |
11289 |
;; |
11290 |
|
11291 |
*) |
11292 |
dynamic_linker=no |
11293 |
;; |
11294 |
esac |
11295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
11296 |
$as_echo "$dynamic_linker" >&6; } |
11297 |
test no = "$dynamic_linker" && can_build_shared=no |
11298 |
|
11299 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
11300 |
if test yes = "$GCC"; then |
11301 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
11302 |
fi |
11303 |
|
11304 |
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
11305 |
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
11306 |
fi |
11307 |
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
11308 |
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
11309 |
fi |
11310 |
|
11311 |
|
11312 |
|
11313 |
|
11314 |
|
11315 |
|
11316 |
|
11317 |
|
11318 |
|
11319 |
|
11320 |
|
11321 |
|
11322 |
|
11323 |
|
11324 |
|
11325 |
|
11326 |
|
11327 |
|
11328 |
|
11329 |
|
11330 |
|
11331 |
|
11332 |
|
11333 |
|
11334 |
|
11335 |
|
11336 |
|
11337 |
|
11338 |
|
11339 |
|
11340 |
|
11341 |
|
11342 |
|
11343 |
|
11344 |
|
11345 |
|
11346 |
|
11347 |
|
11348 |
|
11349 |
|
11350 |
|
11351 |
|
11352 |
|
11353 |
|
11354 |
|
11355 |
|
11356 |
|
11357 |
|
11358 |
|
11359 |
|
11360 |
|
11361 |
|
11362 |
|
11363 |
|
11364 |
|
11365 |
|
11366 |
|
11367 |
|
11368 |
|
11369 |
|
11370 |
|
11371 |
|
11372 |
|
11373 |
|
11374 |
|
11375 |
|
11376 |
|
11377 |
|
11378 |
|
11379 |
|
11380 |
|
11381 |
|
11382 |
|
11383 |
|
11384 |
|
11385 |
|
11386 |
|
11387 |
|
11388 |
|
11389 |
|
11390 |
|
11391 |
|
11392 |
|
11393 |
|
11394 |
|
11395 |
|
11396 |
|
11397 |
|
11398 |
|
11399 |
|
11400 |
|
11401 |
|
11402 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11403 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11404 |
hardcode_action= |
11405 |
if test -n "$hardcode_libdir_flag_spec" || |
11406 |
test -n "$runpath_var" || |
11407 |
test yes = "$hardcode_automatic"; then |
11408 |
|
11409 |
# We can hardcode non-existent directories. |
11410 |
if test no != "$hardcode_direct" && |
11411 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
11412 |
# have to relink, otherwise we might link with an installed library |
11413 |
# when we should be linking with a yet-to-be-installed one |
11414 |
## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
11415 |
test no != "$hardcode_minus_L"; then |
11416 |
# Linking always hardcodes the temporary library directory. |
11417 |
hardcode_action=relink |
11418 |
else |
11419 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
11420 |
hardcode_action=immediate |
11421 |
fi |
11422 |
else |
11423 |
# We cannot hardcode anything, or else we can only hardcode existing |
11424 |
# directories. |
11425 |
hardcode_action=unsupported |
11426 |
fi |
11427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
11428 |
$as_echo "$hardcode_action" >&6; } |
11429 |
|
11430 |
if test relink = "$hardcode_action" || |
11431 |
test yes = "$inherit_rpath"; then |
11432 |
# Fast installation is not supported |
11433 |
enable_fast_install=no |
11434 |
elif test yes = "$shlibpath_overrides_runpath" || |
11435 |
test no = "$enable_shared"; then |
11436 |
# Fast installation is not necessary |
11437 |
enable_fast_install=needless |
11438 |
fi |
11439 |
|
11440 |
|
11441 |
|
11442 |
|
11443 |
|
11444 |
|
11445 |
if test yes != "$enable_dlopen"; then |
11446 |
enable_dlopen=unknown |
11447 |
enable_dlopen_self=unknown |
11448 |
enable_dlopen_self_static=unknown |
11449 |
else |
11450 |
lt_cv_dlopen=no |
11451 |
lt_cv_dlopen_libs= |
11452 |
|
11453 |
case $host_os in |
11454 |
beos*) |
11455 |
lt_cv_dlopen=load_add_on |
11456 |
lt_cv_dlopen_libs= |
11457 |
lt_cv_dlopen_self=yes |
11458 |
;; |
11459 |
|
11460 |
mingw* | pw32* | cegcc*) |
11461 |
lt_cv_dlopen=LoadLibrary |
11462 |
lt_cv_dlopen_libs= |
11463 |
;; |
11464 |
|
11465 |
cygwin*) |
11466 |
lt_cv_dlopen=dlopen |
11467 |
lt_cv_dlopen_libs= |
11468 |
;; |
11469 |
|
11470 |
darwin*) |
11471 |
# if libdl is installed we need to link against it |
11472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11473 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11474 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11475 |
$as_echo_n "(cached) " >&6 |
11476 |
else |
11477 |
ac_check_lib_save_LIBS=$LIBS |
11478 |
LIBS="-ldl $LIBS" |
11479 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11480 |
/* end confdefs.h. */ |
11481 |
|
11482 |
/* Override any GCC internal prototype to avoid an error. |
11483 |
Use char because int might match the return type of a GCC |
11484 |
builtin and then its argument prototype would still apply. */ |
11485 |
#ifdef __cplusplus |
11486 |
extern "C" |
11487 |
#endif |
11488 |
char dlopen (); |
11489 |
int |
11490 |
main () |
11491 |
{ |
11492 |
return dlopen (); |
11493 |
; |
11494 |
return 0; |
11495 |
} |
11496 |
_ACEOF |
11497 |
if ac_fn_c_try_link "$LINENO"; then : |
11498 |
ac_cv_lib_dl_dlopen=yes |
11499 |
else |
11500 |
ac_cv_lib_dl_dlopen=no |
11501 |
fi |
11502 |
rm -f core conftest.err conftest.$ac_objext \ |
11503 |
conftest$ac_exeext conftest.$ac_ext |
11504 |
LIBS=$ac_check_lib_save_LIBS |
11505 |
fi |
11506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11507 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11508 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11509 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
11510 |
else |
11511 |
|
11512 |
lt_cv_dlopen=dyld |
11513 |
lt_cv_dlopen_libs= |
11514 |
lt_cv_dlopen_self=yes |
11515 |
|
11516 |
fi |
11517 |
|
11518 |
;; |
11519 |
|
11520 |
tpf*) |
11521 |
# Don't try to run any link tests for TPF. We know it's impossible |
11522 |
# because TPF is a cross-compiler, and we know how we open DSOs. |
11523 |
lt_cv_dlopen=dlopen |
11524 |
lt_cv_dlopen_libs= |
11525 |
lt_cv_dlopen_self=no |
11526 |
;; |
11527 |
|
11528 |
*) |
11529 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11530 |
if test "x$ac_cv_func_shl_load" = xyes; then : |
11531 |
lt_cv_dlopen=shl_load |
11532 |
else |
11533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11534 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
11535 |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
11536 |
$as_echo_n "(cached) " >&6 |
11537 |
else |
11538 |
ac_check_lib_save_LIBS=$LIBS |
11539 |
LIBS="-ldld $LIBS" |
11540 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11541 |
/* end confdefs.h. */ |
11542 |
|
11543 |
/* Override any GCC internal prototype to avoid an error. |
11544 |
Use char because int might match the return type of a GCC |
11545 |
builtin and then its argument prototype would still apply. */ |
11546 |
#ifdef __cplusplus |
11547 |
extern "C" |
11548 |
#endif |
11549 |
char shl_load (); |
11550 |
int |
11551 |
main () |
11552 |
{ |
11553 |
return shl_load (); |
11554 |
; |
11555 |
return 0; |
11556 |
} |
11557 |
_ACEOF |
11558 |
if ac_fn_c_try_link "$LINENO"; then : |
11559 |
ac_cv_lib_dld_shl_load=yes |
11560 |
else |
11561 |
ac_cv_lib_dld_shl_load=no |
11562 |
fi |
11563 |
rm -f core conftest.err conftest.$ac_objext \ |
11564 |
conftest$ac_exeext conftest.$ac_ext |
11565 |
LIBS=$ac_check_lib_save_LIBS |
11566 |
fi |
11567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
11568 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11569 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
11570 |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
11571 |
else |
11572 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
11573 |
if test "x$ac_cv_func_dlopen" = xyes; then : |
11574 |
lt_cv_dlopen=dlopen |
11575 |
else |
11576 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11577 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11578 |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11579 |
$as_echo_n "(cached) " >&6 |
11580 |
else |
11581 |
ac_check_lib_save_LIBS=$LIBS |
11582 |
LIBS="-ldl $LIBS" |
11583 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11584 |
/* end confdefs.h. */ |
11585 |
|
11586 |
/* Override any GCC internal prototype to avoid an error. |
11587 |
Use char because int might match the return type of a GCC |
11588 |
builtin and then its argument prototype would still apply. */ |
11589 |
#ifdef __cplusplus |
11590 |
extern "C" |
11591 |
#endif |
11592 |
char dlopen (); |
11593 |
int |
11594 |
main () |
11595 |
{ |
11596 |
return dlopen (); |
11597 |
; |
11598 |
return 0; |
11599 |
} |
11600 |
_ACEOF |
11601 |
if ac_fn_c_try_link "$LINENO"; then : |
11602 |
ac_cv_lib_dl_dlopen=yes |
11603 |
else |
11604 |
ac_cv_lib_dl_dlopen=no |
11605 |
fi |
11606 |
rm -f core conftest.err conftest.$ac_objext \ |
11607 |
conftest$ac_exeext conftest.$ac_ext |
11608 |
LIBS=$ac_check_lib_save_LIBS |
11609 |
fi |
11610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11611 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11612 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11613 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
11614 |
else |
11615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11616 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11617 |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
11618 |
$as_echo_n "(cached) " >&6 |
11619 |
else |
11620 |
ac_check_lib_save_LIBS=$LIBS |
11621 |
LIBS="-lsvld $LIBS" |
11622 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11623 |
/* end confdefs.h. */ |
11624 |
|
11625 |
/* Override any GCC internal prototype to avoid an error. |
11626 |
Use char because int might match the return type of a GCC |
11627 |
builtin and then its argument prototype would still apply. */ |
11628 |
#ifdef __cplusplus |
11629 |
extern "C" |
11630 |
#endif |
11631 |
char dlopen (); |
11632 |
int |
11633 |
main () |
11634 |
{ |
11635 |
return dlopen (); |
11636 |
; |
11637 |
return 0; |
11638 |
} |
11639 |
_ACEOF |
11640 |
if ac_fn_c_try_link "$LINENO"; then : |
11641 |
ac_cv_lib_svld_dlopen=yes |
11642 |
else |
11643 |
ac_cv_lib_svld_dlopen=no |
11644 |
fi |
11645 |
rm -f core conftest.err conftest.$ac_objext \ |
11646 |
conftest$ac_exeext conftest.$ac_ext |
11647 |
LIBS=$ac_check_lib_save_LIBS |
11648 |
fi |
11649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11650 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11651 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
11652 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
11653 |
else |
11654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11655 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
11656 |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
11657 |
$as_echo_n "(cached) " >&6 |
11658 |
else |
11659 |
ac_check_lib_save_LIBS=$LIBS |
11660 |
LIBS="-ldld $LIBS" |
11661 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11662 |
/* end confdefs.h. */ |
11663 |
|
11664 |
/* Override any GCC internal prototype to avoid an error. |
11665 |
Use char because int might match the return type of a GCC |
11666 |
builtin and then its argument prototype would still apply. */ |
11667 |
#ifdef __cplusplus |
11668 |
extern "C" |
11669 |
#endif |
11670 |
char dld_link (); |
11671 |
int |
11672 |
main () |
11673 |
{ |
11674 |
return dld_link (); |
11675 |
; |
11676 |
return 0; |
11677 |
} |
11678 |
_ACEOF |
11679 |
if ac_fn_c_try_link "$LINENO"; then : |
11680 |
ac_cv_lib_dld_dld_link=yes |
11681 |
else |
11682 |
ac_cv_lib_dld_dld_link=no |
11683 |
fi |
11684 |
rm -f core conftest.err conftest.$ac_objext \ |
11685 |
conftest$ac_exeext conftest.$ac_ext |
11686 |
LIBS=$ac_check_lib_save_LIBS |
11687 |
fi |
11688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11689 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11690 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
11691 |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
11692 |
fi |
11693 |
|
11694 |
|
11695 |
fi |
11696 |
|
11697 |
|
11698 |
fi |
11699 |
|
11700 |
|
11701 |
fi |
11702 |
|
11703 |
|
11704 |
fi |
11705 |
|
11706 |
|
11707 |
fi |
11708 |
|
11709 |
;; |
11710 |
esac |
11711 |
|
11712 |
if test no = "$lt_cv_dlopen"; then |
11713 |
enable_dlopen=no |
11714 |
else |
11715 |
enable_dlopen=yes |
11716 |
fi |
11717 |
|
11718 |
case $lt_cv_dlopen in |
11719 |
dlopen) |
11720 |
save_CPPFLAGS=$CPPFLAGS |
11721 |
test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
11722 |
|
11723 |
save_LDFLAGS=$LDFLAGS |
11724 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
11725 |
|
11726 |
save_LIBS=$LIBS |
11727 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
11728 |
|
11729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
11730 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
11731 |
if ${lt_cv_dlopen_self+:} false; then : |
11732 |
$as_echo_n "(cached) " >&6 |
11733 |
else |
11734 |
if test yes = "$cross_compiling"; then : |
11735 |
lt_cv_dlopen_self=cross |
11736 |
else |
11737 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11738 |
lt_status=$lt_dlunknown |
11739 |
cat > conftest.$ac_ext <<_LT_EOF |
11740 |
#line $LINENO "configure" |
11741 |
#include "confdefs.h" |
11742 |
|
11743 |
#if HAVE_DLFCN_H |
11744 |
#include <dlfcn.h> |
11745 |
#endif |
11746 |
|
11747 |
#include <stdio.h> |
11748 |
|
11749 |
#ifdef RTLD_GLOBAL |
11750 |
# define LT_DLGLOBAL RTLD_GLOBAL |
11751 |
#else |
11752 |
# ifdef DL_GLOBAL |
11753 |
# define LT_DLGLOBAL DL_GLOBAL |
11754 |
# else |
11755 |
# define LT_DLGLOBAL 0 |
11756 |
# endif |
11757 |
#endif |
11758 |
|
11759 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
11760 |
find out it does not work in some platform. */ |
11761 |
#ifndef LT_DLLAZY_OR_NOW |
11762 |
# ifdef RTLD_LAZY |
11763 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
11764 |
# else |
11765 |
# ifdef DL_LAZY |
11766 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
11767 |
# else |
11768 |
# ifdef RTLD_NOW |
11769 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
11770 |
# else |
11771 |
# ifdef DL_NOW |
11772 |
# define LT_DLLAZY_OR_NOW DL_NOW |
11773 |
# else |
11774 |
# define LT_DLLAZY_OR_NOW 0 |
11775 |
# endif |
11776 |
# endif |
11777 |
# endif |
11778 |
# endif |
11779 |
#endif |
11780 |
|
11781 |
/* When -fvisibility=hidden is used, assume the code has been annotated |
11782 |
correspondingly for the symbols needed. */ |
11783 |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11784 |
int fnord () __attribute__((visibility("default"))); |
11785 |
#endif |
11786 |
|
11787 |
int fnord () { return 42; } |
11788 |
int main () |
11789 |
{ |
11790 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11791 |
int status = $lt_dlunknown; |
11792 |
|
11793 |
if (self) |
11794 |
{ |
11795 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11796 |
else |
11797 |
{ |
11798 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11799 |
else puts (dlerror ()); |
11800 |
} |
11801 |
/* dlclose (self); */ |
11802 |
} |
11803 |
else |
11804 |
puts (dlerror ()); |
11805 |
|
11806 |
return status; |
11807 |
} |
11808 |
_LT_EOF |
11809 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
11810 |
(eval $ac_link) 2>&5 |
11811 |
ac_status=$? |
11812 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11813 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
11814 |
(./conftest; exit; ) >&5 2>/dev/null |
11815 |
lt_status=$? |
11816 |
case x$lt_status in |
11817 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
11818 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
11819 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
11820 |
esac |
11821 |
else : |
11822 |
# compilation failed |
11823 |
lt_cv_dlopen_self=no |
11824 |
fi |
11825 |
fi |
11826 |
rm -fr conftest* |
11827 |
|
11828 |
|
11829 |
fi |
11830 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
11831 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
11832 |
|
11833 |
if test yes = "$lt_cv_dlopen_self"; then |
11834 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
11835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
11836 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
11837 |
if ${lt_cv_dlopen_self_static+:} false; then : |
11838 |
$as_echo_n "(cached) " >&6 |
11839 |
else |
11840 |
if test yes = "$cross_compiling"; then : |
11841 |
lt_cv_dlopen_self_static=cross |
11842 |
else |
11843 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11844 |
lt_status=$lt_dlunknown |
11845 |
cat > conftest.$ac_ext <<_LT_EOF |
11846 |
#line $LINENO "configure" |
11847 |
#include "confdefs.h" |
11848 |
|
11849 |
#if HAVE_DLFCN_H |
11850 |
#include <dlfcn.h> |
11851 |
#endif |
11852 |
|
11853 |
#include <stdio.h> |
11854 |
|
11855 |
#ifdef RTLD_GLOBAL |
11856 |
# define LT_DLGLOBAL RTLD_GLOBAL |
11857 |
#else |
11858 |
# ifdef DL_GLOBAL |
11859 |
# define LT_DLGLOBAL DL_GLOBAL |
11860 |
# else |
11861 |
# define LT_DLGLOBAL 0 |
11862 |
# endif |
11863 |
#endif |
11864 |
|
11865 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
11866 |
find out it does not work in some platform. */ |
11867 |
#ifndef LT_DLLAZY_OR_NOW |
11868 |
# ifdef RTLD_LAZY |
11869 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
11870 |
# else |
11871 |
# ifdef DL_LAZY |
11872 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
11873 |
# else |
11874 |
# ifdef RTLD_NOW |
11875 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
11876 |
# else |
11877 |
# ifdef DL_NOW |
11878 |
# define LT_DLLAZY_OR_NOW DL_NOW |
11879 |
# else |
11880 |
# define LT_DLLAZY_OR_NOW 0 |
11881 |
# endif |
11882 |
# endif |
11883 |
# endif |
11884 |
# endif |
11885 |
#endif |
11886 |
|
11887 |
/* When -fvisibility=hidden is used, assume the code has been annotated |
11888 |
correspondingly for the symbols needed. */ |
11889 |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11890 |
int fnord () __attribute__((visibility("default"))); |
11891 |
#endif |
11892 |
|
11893 |
int fnord () { return 42; } |
11894 |
int main () |
11895 |
{ |
11896 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11897 |
int status = $lt_dlunknown; |
11898 |
|
11899 |
if (self) |
11900 |
{ |
11901 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11902 |
else |
11903 |
{ |
11904 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11905 |
else puts (dlerror ()); |
11906 |
} |
11907 |
/* dlclose (self); */ |
11908 |
} |
11909 |
else |
11910 |
puts (dlerror ()); |
11911 |
|
11912 |
return status; |
11913 |
} |
11914 |
_LT_EOF |
11915 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
11916 |
(eval $ac_link) 2>&5 |
11917 |
ac_status=$? |
11918 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11919 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
11920 |
(./conftest; exit; ) >&5 2>/dev/null |
11921 |
lt_status=$? |
11922 |
case x$lt_status in |
11923 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
11924 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
11925 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
11926 |
esac |
11927 |
else : |
11928 |
# compilation failed |
11929 |
lt_cv_dlopen_self_static=no |
11930 |
fi |
11931 |
fi |
11932 |
rm -fr conftest* |
11933 |
|
11934 |
|
11935 |
fi |
11936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
11937 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
11938 |
fi |
11939 |
|
11940 |
CPPFLAGS=$save_CPPFLAGS |
11941 |
LDFLAGS=$save_LDFLAGS |
11942 |
LIBS=$save_LIBS |
11943 |
;; |
11944 |
esac |
11945 |
|
11946 |
case $lt_cv_dlopen_self in |
11947 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
11948 |
*) enable_dlopen_self=unknown ;; |
11949 |
esac |
11950 |
|
11951 |
case $lt_cv_dlopen_self_static in |
11952 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
11953 |
*) enable_dlopen_self_static=unknown ;; |
11954 |
esac |
11955 |
fi |
11956 |
|
11957 |
|
11958 |
|
11959 |
|
11960 |
|
11961 |
|
11962 |
|
11963 |
|
11964 |
|
11965 |
|
11966 |
|
11967 |
|
11968 |
|
11969 |
|
11970 |
|
11971 |
|
11972 |
|
11973 |
striplib= |
11974 |
old_striplib= |
11975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
11976 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
11977 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
11978 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
11979 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
11980 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11981 |
$as_echo "yes" >&6; } |
11982 |
else |
11983 |
# FIXME - insert some real tests, host_os isn't really good enough |
11984 |
case $host_os in |
11985 |
darwin*) |
11986 |
if test -n "$STRIP"; then |
11987 |
striplib="$STRIP -x" |
11988 |
old_striplib="$STRIP -S" |
11989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11990 |
$as_echo "yes" >&6; } |
11991 |
else |
11992 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11993 |
$as_echo "no" >&6; } |
11994 |
fi |
11995 |
;; |
11996 |
*) |
11997 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11998 |
$as_echo "no" >&6; } |
11999 |
;; |
12000 |
esac |
12001 |
fi |
12002 |
|
12003 |
|
12004 |
|
12005 |
|
12006 |
|
12007 |
|
12008 |
|
12009 |
|
12010 |
|
12011 |
|
12012 |
|
12013 |
|
12014 |
# Report what library types will actually be built |
12015 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
12016 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
12017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
12018 |
$as_echo "$can_build_shared" >&6; } |
12019 |
|
12020 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
12021 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
12022 |
test no = "$can_build_shared" && enable_shared=no |
12023 |
|
12024 |
# On AIX, shared libraries and static libraries use the same namespace, and |
12025 |
# are all built from PIC. |
12026 |
case $host_os in |
12027 |
aix3*) |
12028 |
test yes = "$enable_shared" && enable_static=no |
12029 |
if test -n "$RANLIB"; then |
12030 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
12031 |
postinstall_cmds='$RANLIB $lib' |
12032 |
fi |
12033 |
;; |
12034 |
|
12035 |
aix[4-9]*) |
12036 |
if test ia64 != "$host_cpu"; then |
12037 |
case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
12038 |
yes,aix,yes) ;; # shared object as lib.so file only |
12039 |
yes,svr4,*) ;; # shared object as lib.so archive member only |
12040 |
yes,*) enable_static=no ;; # shared object in lib.a archive as well |
12041 |
esac |
12042 |
fi |
12043 |
;; |
12044 |
esac |
12045 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
12046 |
$as_echo "$enable_shared" >&6; } |
12047 |
|
12048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
12049 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
12050 |
# Make sure either enable_shared or enable_static is yes. |
12051 |
test yes = "$enable_shared" || enable_static=yes |
12052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
12053 |
$as_echo "$enable_static" >&6; } |
12054 |
|
12055 |
|
12056 |
|
12057 |
|
12058 |
fi |
12059 |
ac_ext=c |
12060 |
ac_cpp='$CPP $CPPFLAGS' |
12061 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12062 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12063 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12064 |
|
12065 |
CC=$lt_save_CC |
12066 |
|
12067 |
|
12068 |
|
12069 |
|
12070 |
|
12071 |
|
12072 |
|
12073 |
|
12074 |
|
12075 |
|
12076 |
|
12077 |
|
12078 |
|
12079 |
|
12080 |
|
12081 |
ac_config_commands="$ac_config_commands libtool" |
12082 |
|
12083 |
|
12084 |
|
12085 |
|
12086 |
# Only expand once: |
12087 |
|
12088 |
|
12089 |
|
12090 |
|
12091 |
for ac_header in sys/poll.h |
12092 |
do : |
12093 |
ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" |
12094 |
if test "x$ac_cv_header_sys_poll_h" = xyes; then : |
12095 |
cat >>confdefs.h <<_ACEOF |
12096 |
#define HAVE_SYS_POLL_H 1 |
12097 |
_ACEOF |
12098 |
have_poll_sys_h=yes |
12099 |
else |
12100 |
have_sys_poll_h=no |
12101 |
fi |
12102 |
|
12103 |
done |
12104 |
|
12105 |
|
12106 |
for ac_header in fcntl.h sys/time.h unistd.h |
12107 |
do : |
12108 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12109 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
12110 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
12111 |
cat >>confdefs.h <<_ACEOF |
12112 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12113 |
_ACEOF |
12114 |
|
12115 |
fi |
12116 |
|
12117 |
done |
12118 |
|
12119 |
|
12120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
12121 |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
12122 |
if ${ac_cv_header_time+:} false; then : |
12123 |
$as_echo_n "(cached) " >&6 |
12124 |
else |
12125 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12126 |
/* end confdefs.h. */ |
12127 |
#include <sys/types.h> |
12128 |
#include <sys/time.h> |
12129 |
#include <time.h> |
12130 |
|
12131 |
int |
12132 |
main () |
12133 |
{ |
12134 |
if ((struct tm *) 0) |
12135 |
return 0; |
12136 |
; |
12137 |
return 0; |
12138 |
} |
12139 |
_ACEOF |
12140 |
if ac_fn_c_try_compile "$LINENO"; then : |
12141 |
ac_cv_header_time=yes |
12142 |
else |
12143 |
ac_cv_header_time=no |
12144 |
fi |
12145 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12146 |
fi |
12147 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
12148 |
$as_echo "$ac_cv_header_time" >&6; } |
12149 |
if test $ac_cv_header_time = yes; then |
12150 |
|
12151 |
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
12152 |
|
12153 |
fi |
12154 |
|
12155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
12156 |
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
12157 |
if ${ac_cv_struct_tm+:} false; then : |
12158 |
$as_echo_n "(cached) " >&6 |
12159 |
else |
12160 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12161 |
/* end confdefs.h. */ |
12162 |
#include <sys/types.h> |
12163 |
#include <time.h> |
12164 |
|
12165 |
int |
12166 |
main () |
12167 |
{ |
12168 |
struct tm tm; |
12169 |
int *p = &tm.tm_sec; |
12170 |
return !p; |
12171 |
; |
12172 |
return 0; |
12173 |
} |
12174 |
_ACEOF |
12175 |
if ac_fn_c_try_compile "$LINENO"; then : |
12176 |
ac_cv_struct_tm=time.h |
12177 |
else |
12178 |
ac_cv_struct_tm=sys/time.h |
12179 |
fi |
12180 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12181 |
fi |
12182 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
12183 |
$as_echo "$ac_cv_struct_tm" >&6; } |
12184 |
if test $ac_cv_struct_tm = sys/time.h; then |
12185 |
|
12186 |
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
12187 |
|
12188 |
fi |
12189 |
|
12190 |
|
12191 |
|
12192 |
for ac_prog in 'bison -y' byacc |
12193 |
do |
12194 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
12195 |
set dummy $ac_prog; ac_word=$2 |
12196 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
12197 |
$as_echo_n "checking for $ac_word... " >&6; } |
12198 |
if ${ac_cv_prog_YACC+:} false; then : |
12199 |
$as_echo_n "(cached) " >&6 |
12200 |
else |
12201 |
if test -n "$YACC"; then |
12202 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
12203 |
else |
12204 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12205 |
for as_dir in $PATH |
12206 |
do |
12207 |
IFS=$as_save_IFS |
12208 |
test -z "$as_dir" && as_dir=. |
12209 |
for ac_exec_ext in '' $ac_executable_extensions; do |
12210 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
12211 |
ac_cv_prog_YACC="$ac_prog" |
12212 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12213 |
break 2 |
12214 |
fi |
12215 |
done |
12216 |
done |
12217 |
IFS=$as_save_IFS |
12218 |
|
12219 |
fi |
12220 |
fi |
12221 |
YACC=$ac_cv_prog_YACC |
12222 |
if test -n "$YACC"; then |
12223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
12224 |
$as_echo "$YACC" >&6; } |
12225 |
else |
12226 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12227 |
$as_echo "no" >&6; } |
12228 |
fi |
12229 |
|
12230 |
|
12231 |
test -n "$YACC" && break |
12232 |
done |
12233 |
test -n "$YACC" || YACC="yacc" |
12234 |
|
12235 |
|
12236 |
for ac_prog in flex lex |
12237 |
do |
12238 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
12239 |
set dummy $ac_prog; ac_word=$2 |
12240 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
12241 |
$as_echo_n "checking for $ac_word... " >&6; } |
12242 |
if ${ac_cv_prog_LEX+:} false; then : |
12243 |
$as_echo_n "(cached) " >&6 |
12244 |
else |
12245 |
if test -n "$LEX"; then |
12246 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
12247 |
else |
12248 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12249 |
for as_dir in $PATH |
12250 |
do |
12251 |
IFS=$as_save_IFS |
12252 |
test -z "$as_dir" && as_dir=. |
12253 |
for ac_exec_ext in '' $ac_executable_extensions; do |
12254 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
12255 |
ac_cv_prog_LEX="$ac_prog" |
12256 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12257 |
break 2 |
12258 |
fi |
12259 |
done |
12260 |
done |
12261 |
IFS=$as_save_IFS |
12262 |
|
12263 |
fi |
12264 |
fi |
12265 |
LEX=$ac_cv_prog_LEX |
12266 |
if test -n "$LEX"; then |
12267 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
12268 |
$as_echo "$LEX" >&6; } |
12269 |
else |
12270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12271 |
$as_echo "no" >&6; } |
12272 |
fi |
12273 |
|
12274 |
|
12275 |
test -n "$LEX" && break |
12276 |
done |
12277 |
test -n "$LEX" || LEX=":" |
12278 |
|
12279 |
if test "x$LEX" != "x:"; then |
12280 |
cat >conftest.l <<_ACEOF |
12281 |
%% |
12282 |
a { ECHO; } |
12283 |
b { REJECT; } |
12284 |
c { yymore (); } |
12285 |
d { yyless (1); } |
12286 |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
12287 |
yyless ((input () != 0)); } |
12288 |
f { unput (yytext[0]); } |
12289 |
. { BEGIN INITIAL; } |
12290 |
%% |
12291 |
#ifdef YYTEXT_POINTER |
12292 |
extern char *yytext; |
12293 |
#endif |
12294 |
int |
12295 |
main (void) |
12296 |
{ |
12297 |
return ! yylex () + ! yywrap (); |
12298 |
} |
12299 |
_ACEOF |
12300 |
{ { ac_try="$LEX conftest.l" |
12301 |
case "(($ac_try" in |
12302 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12303 |
*) ac_try_echo=$ac_try;; |
12304 |
esac |
12305 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
12306 |
$as_echo "$ac_try_echo"; } >&5 |
12307 |
(eval "$LEX conftest.l") 2>&5 |
12308 |
ac_status=$? |
12309 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12310 |
test $ac_status = 0; } |
12311 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
12312 |
$as_echo_n "checking lex output file root... " >&6; } |
12313 |
if ${ac_cv_prog_lex_root+:} false; then : |
12314 |
$as_echo_n "(cached) " >&6 |
12315 |
else |
12316 |
|
12317 |
if test -f lex.yy.c; then |
12318 |
ac_cv_prog_lex_root=lex.yy |
12319 |
elif test -f lexyy.c; then |
12320 |
ac_cv_prog_lex_root=lexyy |
12321 |
else |
12322 |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
12323 |
fi |
12324 |
fi |
12325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
12326 |
$as_echo "$ac_cv_prog_lex_root" >&6; } |
12327 |
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
12328 |
|
12329 |
if test -z "${LEXLIB+set}"; then |
12330 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
12331 |
$as_echo_n "checking lex library... " >&6; } |
12332 |
if ${ac_cv_lib_lex+:} false; then : |
12333 |
$as_echo_n "(cached) " >&6 |
12334 |
else |
12335 |
|
12336 |
ac_save_LIBS=$LIBS |
12337 |
ac_cv_lib_lex='none needed' |
12338 |
for ac_lib in '' -lfl -ll; do |
12339 |
LIBS="$ac_lib $ac_save_LIBS" |
12340 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12341 |
/* end confdefs.h. */ |
12342 |
`cat $LEX_OUTPUT_ROOT.c` |
12343 |
_ACEOF |
12344 |
if ac_fn_c_try_link "$LINENO"; then : |
12345 |
ac_cv_lib_lex=$ac_lib |
12346 |
fi |
12347 |
rm -f core conftest.err conftest.$ac_objext \ |
12348 |
conftest$ac_exeext conftest.$ac_ext |
12349 |
test "$ac_cv_lib_lex" != 'none needed' && break |
12350 |
done |
12351 |
LIBS=$ac_save_LIBS |
12352 |
|
12353 |
fi |
12354 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
12355 |
$as_echo "$ac_cv_lib_lex" >&6; } |
12356 |
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
12357 |
fi |
12358 |
|
12359 |
|
12360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
12361 |
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
12362 |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
12363 |
$as_echo_n "(cached) " >&6 |
12364 |
else |
12365 |
# POSIX says lex can declare yytext either as a pointer or an array; the |
12366 |
# default is implementation-dependent. Figure out which it is, since |
12367 |
# not all implementations provide the %pointer and %array declarations. |
12368 |
ac_cv_prog_lex_yytext_pointer=no |
12369 |
ac_save_LIBS=$LIBS |
12370 |
LIBS="$LEXLIB $ac_save_LIBS" |
12371 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12372 |
/* end confdefs.h. */ |
12373 |
|
12374 |
#define YYTEXT_POINTER 1 |
12375 |
`cat $LEX_OUTPUT_ROOT.c` |
12376 |
_ACEOF |
12377 |
if ac_fn_c_try_link "$LINENO"; then : |
12378 |
ac_cv_prog_lex_yytext_pointer=yes |
12379 |
fi |
12380 |
rm -f core conftest.err conftest.$ac_objext \ |
12381 |
conftest$ac_exeext conftest.$ac_ext |
12382 |
LIBS=$ac_save_LIBS |
12383 |
|
12384 |
fi |
12385 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
12386 |
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
12387 |
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
12388 |
|
12389 |
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
12390 |
|
12391 |
fi |
12392 |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
12393 |
|
12394 |
fi |
12395 |
if test "$LEX" = :; then |
12396 |
LEX=${am_missing_run}flex |
12397 |
fi |
12398 |
|
12399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
12400 |
$as_echo_n "checking for library containing socket... " >&6; } |
12401 |
if ${ac_cv_search_socket+:} false; then : |
12402 |
$as_echo_n "(cached) " >&6 |
12403 |
else |
12404 |
ac_func_search_save_LIBS=$LIBS |
12405 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12406 |
/* end confdefs.h. */ |
12407 |
|
12408 |
/* Override any GCC internal prototype to avoid an error. |
12409 |
Use char because int might match the return type of a GCC |
12410 |
builtin and then its argument prototype would still apply. */ |
12411 |
#ifdef __cplusplus |
12412 |
extern "C" |
12413 |
#endif |
12414 |
char socket (); |
12415 |
int |
12416 |
main () |
12417 |
{ |
12418 |
return socket (); |
12419 |
; |
12420 |
return 0; |
12421 |
} |
12422 |
_ACEOF |
12423 |
for ac_lib in '' socket; do |
12424 |
if test -z "$ac_lib"; then |
12425 |
ac_res="none required" |
12426 |
else |
12427 |
ac_res=-l$ac_lib |
12428 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12429 |
fi |
12430 |
if ac_fn_c_try_link "$LINENO"; then : |
12431 |
ac_cv_search_socket=$ac_res |
12432 |
fi |
12433 |
rm -f core conftest.err conftest.$ac_objext \ |
12434 |
conftest$ac_exeext |
12435 |
if ${ac_cv_search_socket+:} false; then : |
12436 |
break |
12437 |
fi |
12438 |
done |
12439 |
if ${ac_cv_search_socket+:} false; then : |
12440 |
|
12441 |
else |
12442 |
ac_cv_search_socket=no |
12443 |
fi |
12444 |
rm conftest.$ac_ext |
12445 |
LIBS=$ac_func_search_save_LIBS |
12446 |
fi |
12447 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
12448 |
$as_echo "$ac_cv_search_socket" >&6; } |
12449 |
ac_res=$ac_cv_search_socket |
12450 |
if test "$ac_res" != no; then : |
12451 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12452 |
|
12453 |
else |
12454 |
as_fn_error $? "socket library not found" "$LINENO" 5 |
12455 |
fi |
12456 |
|
12457 |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
12458 |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
12459 |
|
12460 |
else |
12461 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
12462 |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
12463 |
if ${ac_cv_search_getaddrinfo+:} false; then : |
12464 |
$as_echo_n "(cached) " >&6 |
12465 |
else |
12466 |
ac_func_search_save_LIBS=$LIBS |
12467 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12468 |
/* end confdefs.h. */ |
12469 |
|
12470 |
/* Override any GCC internal prototype to avoid an error. |
12471 |
Use char because int might match the return type of a GCC |
12472 |
builtin and then its argument prototype would still apply. */ |
12473 |
#ifdef __cplusplus |
12474 |
extern "C" |
12475 |
#endif |
12476 |
char getaddrinfo (); |
12477 |
int |
12478 |
main () |
12479 |
{ |
12480 |
return getaddrinfo (); |
12481 |
; |
12482 |
return 0; |
12483 |
} |
12484 |
_ACEOF |
12485 |
for ac_lib in '' nsl; do |
12486 |
if test -z "$ac_lib"; then |
12487 |
ac_res="none required" |
12488 |
else |
12489 |
ac_res=-l$ac_lib |
12490 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12491 |
fi |
12492 |
if ac_fn_c_try_link "$LINENO"; then : |
12493 |
ac_cv_search_getaddrinfo=$ac_res |
12494 |
fi |
12495 |
rm -f core conftest.err conftest.$ac_objext \ |
12496 |
conftest$ac_exeext |
12497 |
if ${ac_cv_search_getaddrinfo+:} false; then : |
12498 |
break |
12499 |
fi |
12500 |
done |
12501 |
if ${ac_cv_search_getaddrinfo+:} false; then : |
12502 |
|
12503 |
else |
12504 |
ac_cv_search_getaddrinfo=no |
12505 |
fi |
12506 |
rm conftest.$ac_ext |
12507 |
LIBS=$ac_func_search_save_LIBS |
12508 |
fi |
12509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
12510 |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
12511 |
ac_res=$ac_cv_search_getaddrinfo |
12512 |
if test "$ac_res" != no; then : |
12513 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12514 |
|
12515 |
fi |
12516 |
|
12517 |
fi |
12518 |
|
12519 |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
12520 |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
12521 |
|
12522 |
else |
12523 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
12524 |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
12525 |
if ${ac_cv_search_getnameinfo+:} false; then : |
12526 |
$as_echo_n "(cached) " >&6 |
12527 |
else |
12528 |
ac_func_search_save_LIBS=$LIBS |
12529 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12530 |
/* end confdefs.h. */ |
12531 |
|
12532 |
/* Override any GCC internal prototype to avoid an error. |
12533 |
Use char because int might match the return type of a GCC |
12534 |
builtin and then its argument prototype would still apply. */ |
12535 |
#ifdef __cplusplus |
12536 |
extern "C" |
12537 |
#endif |
12538 |
char getnameinfo (); |
12539 |
int |
12540 |
main () |
12541 |
{ |
12542 |
return getnameinfo (); |
12543 |
; |
12544 |
return 0; |
12545 |
} |
12546 |
_ACEOF |
12547 |
for ac_lib in '' nsl; do |
12548 |
if test -z "$ac_lib"; then |
12549 |
ac_res="none required" |
12550 |
else |
12551 |
ac_res=-l$ac_lib |
12552 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12553 |
fi |
12554 |
if ac_fn_c_try_link "$LINENO"; then : |
12555 |
ac_cv_search_getnameinfo=$ac_res |
12556 |
fi |
12557 |
rm -f core conftest.err conftest.$ac_objext \ |
12558 |
conftest$ac_exeext |
12559 |
if ${ac_cv_search_getnameinfo+:} false; then : |
12560 |
break |
12561 |
fi |
12562 |
done |
12563 |
if ${ac_cv_search_getnameinfo+:} false; then : |
12564 |
|
12565 |
else |
12566 |
ac_cv_search_getnameinfo=no |
12567 |
fi |
12568 |
rm conftest.$ac_ext |
12569 |
LIBS=$ac_func_search_save_LIBS |
12570 |
fi |
12571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
12572 |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
12573 |
ac_res=$ac_cv_search_getnameinfo |
12574 |
if test "$ac_res" != no; then : |
12575 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12576 |
|
12577 |
fi |
12578 |
|
12579 |
fi |
12580 |
|
12581 |
|
12582 |
for ac_func in strlcpy strlcat socket |
12583 |
do : |
12584 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12585 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12586 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12587 |
cat >>confdefs.h <<_ACEOF |
12588 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12589 |
_ACEOF |
12590 |
|
12591 |
fi |
12592 |
done |
12593 |
|
12594 |
|
12595 |
for ac_func in gethostbyname |
12596 |
do : |
12597 |
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
12598 |
if test "x$ac_cv_func_gethostbyname" = xyes; then : |
12599 |
cat >>confdefs.h <<_ACEOF |
12600 |
#define HAVE_GETHOSTBYNAME 1 |
12601 |
_ACEOF |
12602 |
|
12603 |
fi |
12604 |
done |
12605 |
|
12606 |
|
12607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
12608 |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
12609 |
if ${ac_cv_c_bigendian+:} false; then : |
12610 |
$as_echo_n "(cached) " >&6 |
12611 |
else |
12612 |
ac_cv_c_bigendian=unknown |
12613 |
# See if we're dealing with a universal compiler. |
12614 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12615 |
/* end confdefs.h. */ |
12616 |
#ifndef __APPLE_CC__ |
12617 |
not a universal capable compiler |
12618 |
#endif |
12619 |
typedef int dummy; |
12620 |
|
12621 |
_ACEOF |
12622 |
if ac_fn_c_try_compile "$LINENO"; then : |
12623 |
|
12624 |
# Check for potential -arch flags. It is not universal unless |
12625 |
# there are at least two -arch flags with different values. |
12626 |
ac_arch= |
12627 |
ac_prev= |
12628 |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
12629 |
if test -n "$ac_prev"; then |
12630 |
case $ac_word in |
12631 |
i?86 | x86_64 | ppc | ppc64) |
12632 |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
12633 |
ac_arch=$ac_word |
12634 |
else |
12635 |
ac_cv_c_bigendian=universal |
12636 |
break |
12637 |
fi |
12638 |
;; |
12639 |
esac |
12640 |
ac_prev= |
12641 |
elif test "x$ac_word" = "x-arch"; then |
12642 |
ac_prev=arch |
12643 |
fi |
12644 |
done |
12645 |
fi |
12646 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12647 |
if test $ac_cv_c_bigendian = unknown; then |
12648 |
# See if sys/param.h defines the BYTE_ORDER macro. |
12649 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12650 |
/* end confdefs.h. */ |
12651 |
#include <sys/types.h> |
12652 |
#include <sys/param.h> |
12653 |
|
12654 |
int |
12655 |
main () |
12656 |
{ |
12657 |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
12658 |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
12659 |
&& LITTLE_ENDIAN) |
12660 |
bogus endian macros |
12661 |
#endif |
12662 |
|
12663 |
; |
12664 |
return 0; |
12665 |
} |
12666 |
_ACEOF |
12667 |
if ac_fn_c_try_compile "$LINENO"; then : |
12668 |
# It does; now see whether it defined to BIG_ENDIAN or not. |
12669 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12670 |
/* end confdefs.h. */ |
12671 |
#include <sys/types.h> |
12672 |
#include <sys/param.h> |
12673 |
|
12674 |
int |
12675 |
main () |
12676 |
{ |
12677 |
#if BYTE_ORDER != BIG_ENDIAN |
12678 |
not big endian |
12679 |
#endif |
12680 |
|
12681 |
; |
12682 |
return 0; |
12683 |
} |
12684 |
_ACEOF |
12685 |
if ac_fn_c_try_compile "$LINENO"; then : |
12686 |
ac_cv_c_bigendian=yes |
12687 |
else |
12688 |
ac_cv_c_bigendian=no |
12689 |
fi |
12690 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12691 |
fi |
12692 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12693 |
fi |
12694 |
if test $ac_cv_c_bigendian = unknown; then |
12695 |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
12696 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12697 |
/* end confdefs.h. */ |
12698 |
#include <limits.h> |
12699 |
|
12700 |
int |
12701 |
main () |
12702 |
{ |
12703 |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
12704 |
bogus endian macros |
12705 |
#endif |
12706 |
|
12707 |
; |
12708 |
return 0; |
12709 |
} |
12710 |
_ACEOF |
12711 |
if ac_fn_c_try_compile "$LINENO"; then : |
12712 |
# It does; now see whether it defined to _BIG_ENDIAN or not. |
12713 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12714 |
/* end confdefs.h. */ |
12715 |
#include <limits.h> |
12716 |
|
12717 |
int |
12718 |
main () |
12719 |
{ |
12720 |
#ifndef _BIG_ENDIAN |
12721 |
not big endian |
12722 |
#endif |
12723 |
|
12724 |
; |
12725 |
return 0; |
12726 |
} |
12727 |
_ACEOF |
12728 |
if ac_fn_c_try_compile "$LINENO"; then : |
12729 |
ac_cv_c_bigendian=yes |
12730 |
else |
12731 |
ac_cv_c_bigendian=no |
12732 |
fi |
12733 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12734 |
fi |
12735 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12736 |
fi |
12737 |
if test $ac_cv_c_bigendian = unknown; then |
12738 |
# Compile a test program. |
12739 |
if test "$cross_compiling" = yes; then : |
12740 |
# Try to guess by grepping values from an object file. |
12741 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12742 |
/* end confdefs.h. */ |
12743 |
short int ascii_mm[] = |
12744 |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
12745 |
short int ascii_ii[] = |
12746 |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
12747 |
int use_ascii (int i) { |
12748 |
return ascii_mm[i] + ascii_ii[i]; |
12749 |
} |
12750 |
short int ebcdic_ii[] = |
12751 |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
12752 |
short int ebcdic_mm[] = |
12753 |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
12754 |
int use_ebcdic (int i) { |
12755 |
return ebcdic_mm[i] + ebcdic_ii[i]; |
12756 |
} |
12757 |
extern int foo; |
12758 |
|
12759 |
int |
12760 |
main () |
12761 |
{ |
12762 |
return use_ascii (foo) == use_ebcdic (foo); |
12763 |
; |
12764 |
return 0; |
12765 |
} |
12766 |
_ACEOF |
12767 |
if ac_fn_c_try_compile "$LINENO"; then : |
12768 |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
12769 |
ac_cv_c_bigendian=yes |
12770 |
fi |
12771 |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
12772 |
if test "$ac_cv_c_bigendian" = unknown; then |
12773 |
ac_cv_c_bigendian=no |
12774 |
else |
12775 |
# finding both strings is unlikely to happen, but who knows? |
12776 |
ac_cv_c_bigendian=unknown |
12777 |
fi |
12778 |
fi |
12779 |
fi |
12780 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12781 |
else |
12782 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12783 |
/* end confdefs.h. */ |
12784 |
$ac_includes_default |
12785 |
int |
12786 |
main () |
12787 |
{ |
12788 |
|
12789 |
/* Are we little or big endian? From Harbison&Steele. */ |
12790 |
union |
12791 |
{ |
12792 |
long int l; |
12793 |
char c[sizeof (long int)]; |
12794 |
} u; |
12795 |
u.l = 1; |
12796 |
return u.c[sizeof (long int) - 1] == 1; |
12797 |
|
12798 |
; |
12799 |
return 0; |
12800 |
} |
12801 |
_ACEOF |
12802 |
if ac_fn_c_try_run "$LINENO"; then : |
12803 |
ac_cv_c_bigendian=no |
12804 |
else |
12805 |
ac_cv_c_bigendian=yes |
12806 |
fi |
12807 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12808 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
12809 |
fi |
12810 |
|
12811 |
fi |
12812 |
fi |
12813 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
12814 |
$as_echo "$ac_cv_c_bigendian" >&6; } |
12815 |
case $ac_cv_c_bigendian in #( |
12816 |
yes) |
12817 |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
12818 |
;; #( |
12819 |
no) |
12820 |
;; #( |
12821 |
universal) |
12822 |
|
12823 |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
12824 |
|
12825 |
;; #( |
12826 |
*) |
12827 |
as_fn_error $? "unknown endianness |
12828 |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
12829 |
esac |
12830 |
|
12831 |
|
12832 |
|
12833 |
|
12834 |
|
12835 |
subdirs="$subdirs src/libopm" |
12836 |
|
12837 |
|
12838 |
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
12839 |
|
12840 |
cat >confcache <<\_ACEOF |
12841 |
# This file is a shell script that caches the results of configure |
12842 |
# tests run on this system so they can be shared between configure |
12843 |
# scripts and configure runs, see configure's option --config-cache. |
12844 |
# It is not useful on other systems. If it contains results you don't |
12845 |
# want to keep, you may remove or edit it. |
12846 |
# |
12847 |
# config.status only pays attention to the cache file if you give it |
12848 |
# the --recheck option to rerun configure. |
12849 |
# |
12850 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
12851 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
12852 |
# following values. |
12853 |
|
12854 |
_ACEOF |
12855 |
|
12856 |
# The following way of writing the cache mishandles newlines in values, |
12857 |
# but we know of no workaround that is simple, portable, and efficient. |
12858 |
# So, we kill variables containing newlines. |
12859 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
12860 |
# and sets the high bit in the cache file unless we assign to the vars. |
12861 |
( |
12862 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
12863 |
eval ac_val=\$$ac_var |
12864 |
case $ac_val in #( |
12865 |
*${as_nl}*) |
12866 |
case $ac_var in #( |
12867 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
12868 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
12869 |
esac |
12870 |
case $ac_var in #( |
12871 |
_ | IFS | as_nl) ;; #( |
12872 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
12873 |
*) { eval $ac_var=; unset $ac_var;} ;; |
12874 |
esac ;; |
12875 |
esac |
12876 |
done |
12877 |
|
12878 |
(set) 2>&1 | |
12879 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
12880 |
*${as_nl}ac_space=\ *) |
12881 |
# `set' does not quote correctly, so add quotes: double-quote |
12882 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
12883 |
sed -n \ |
12884 |
"s/'/'\\\\''/g; |
12885 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
12886 |
;; #( |
12887 |
*) |
12888 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
12889 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
12890 |
;; |
12891 |
esac | |
12892 |
sort |
12893 |
) | |
12894 |
sed ' |
12895 |
/^ac_cv_env_/b end |
12896 |
t clear |
12897 |
:clear |
12898 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
12899 |
t end |
12900 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
12901 |
:end' >>confcache |
12902 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
12903 |
if test -w "$cache_file"; then |
12904 |
if test "x$cache_file" != "x/dev/null"; then |
12905 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
12906 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
12907 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
12908 |
cat confcache >"$cache_file" |
12909 |
else |
12910 |
case $cache_file in #( |
12911 |
*/* | ?:*) |
12912 |
mv -f confcache "$cache_file"$$ && |
12913 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
12914 |
*) |
12915 |
mv -f confcache "$cache_file" ;; |
12916 |
esac |
12917 |
fi |
12918 |
fi |
12919 |
else |
12920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
12921 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
12922 |
fi |
12923 |
fi |
12924 |
rm -f confcache |
12925 |
|
12926 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
12927 |
# Let make expand exec_prefix. |
12928 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
12929 |
|
12930 |
DEFS=-DHAVE_CONFIG_H |
12931 |
|
12932 |
ac_libobjs= |
12933 |
ac_ltlibobjs= |
12934 |
U= |
12935 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
12936 |
# 1. Remove the extension, and $U if already installed. |
12937 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
12938 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
12939 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
12940 |
# will be set to the directory where LIBOBJS objects are built. |
12941 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
12942 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
12943 |
done |
12944 |
LIBOBJS=$ac_libobjs |
12945 |
|
12946 |
LTLIBOBJS=$ac_ltlibobjs |
12947 |
|
12948 |
|
12949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
12950 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
12951 |
if test -n "$am_sleep_pid"; then |
12952 |
# Hide warnings about reused PIDs. |
12953 |
wait $am_sleep_pid 2>/dev/null |
12954 |
fi |
12955 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
12956 |
$as_echo "done" >&6; } |
12957 |
if test -n "$EXEEXT"; then |
12958 |
am__EXEEXT_TRUE= |
12959 |
am__EXEEXT_FALSE='#' |
12960 |
else |
12961 |
am__EXEEXT_TRUE='#' |
12962 |
am__EXEEXT_FALSE= |
12963 |
fi |
12964 |
|
12965 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
12966 |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
12967 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12968 |
fi |
12969 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
12970 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
12971 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12972 |
fi |
12973 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
12974 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
12975 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
12976 |
fi |
12977 |
|
12978 |
|
12979 |
: "${CONFIG_STATUS=./config.status}" |
12980 |
ac_write_fail=0 |
12981 |
ac_clean_files_save=$ac_clean_files |
12982 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
12983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
12984 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
12985 |
as_write_fail=0 |
12986 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
12987 |
#! $SHELL |
12988 |
# Generated by $as_me. |
12989 |
# Run this file to recreate the current configuration. |
12990 |
# Compiler output produced by configure, useful for debugging |
12991 |
# configure, is in config.log if it exists. |
12992 |
|
12993 |
debug=false |
12994 |
ac_cs_recheck=false |
12995 |
ac_cs_silent=false |
12996 |
|
12997 |
SHELL=\${CONFIG_SHELL-$SHELL} |
12998 |
export SHELL |
12999 |
_ASEOF |
13000 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
13001 |
## -------------------- ## |
13002 |
## M4sh Initialization. ## |
13003 |
## -------------------- ## |
13004 |
|
13005 |
# Be more Bourne compatible |
13006 |
DUALCASE=1; export DUALCASE # for MKS sh |
13007 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
13008 |
emulate sh |
13009 |
NULLCMD=: |
13010 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
13011 |
# is contrary to our usage. Disable this feature. |
13012 |
alias -g '${1+"$@"}'='"$@"' |
13013 |
setopt NO_GLOB_SUBST |
13014 |
else |
13015 |
case `(set -o) 2>/dev/null` in #( |
13016 |
*posix*) : |
13017 |
set -o posix ;; #( |
13018 |
*) : |
13019 |
;; |
13020 |
esac |
13021 |
fi |
13022 |
|
13023 |
|
13024 |
as_nl=' |
13025 |
' |
13026 |
export as_nl |
13027 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
13028 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
13029 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
13030 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
13031 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
13032 |
# but without wasting forks for bash or zsh. |
13033 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
13034 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
13035 |
as_echo='print -r --' |
13036 |
as_echo_n='print -rn --' |
13037 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
13038 |
as_echo='printf %s\n' |
13039 |
as_echo_n='printf %s' |
13040 |
else |
13041 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
13042 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
13043 |
as_echo_n='/usr/ucb/echo -n' |
13044 |
else |
13045 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
13046 |
as_echo_n_body='eval |
13047 |
arg=$1; |
13048 |
case $arg in #( |
13049 |
*"$as_nl"*) |
13050 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
13051 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
13052 |
esac; |
13053 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
13054 |
' |
13055 |
export as_echo_n_body |
13056 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
13057 |
fi |
13058 |
export as_echo_body |
13059 |
as_echo='sh -c $as_echo_body as_echo' |
13060 |
fi |
13061 |
|
13062 |
# The user is always right. |
13063 |
if test "${PATH_SEPARATOR+set}" != set; then |
13064 |
PATH_SEPARATOR=: |
13065 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
13066 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
13067 |
PATH_SEPARATOR=';' |
13068 |
} |
13069 |
fi |
13070 |
|
13071 |
|
13072 |
# IFS |
13073 |
# We need space, tab and new line, in precisely that order. Quoting is |
13074 |
# there to prevent editors from complaining about space-tab. |
13075 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
13076 |
# splitting by setting IFS to empty value.) |
13077 |
IFS=" "" $as_nl" |
13078 |
|
13079 |
# Find who we are. Look in the path if we contain no directory separator. |
13080 |
as_myself= |
13081 |
case $0 in #(( |
13082 |
*[\\/]* ) as_myself=$0 ;; |
13083 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13084 |
for as_dir in $PATH |
13085 |
do |
13086 |
IFS=$as_save_IFS |
13087 |
test -z "$as_dir" && as_dir=. |
13088 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
13089 |
done |
13090 |
IFS=$as_save_IFS |
13091 |
|
13092 |
;; |
13093 |
esac |
13094 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
13095 |
# in which case we are not to be found in the path. |
13096 |
if test "x$as_myself" = x; then |
13097 |
as_myself=$0 |
13098 |
fi |
13099 |
if test ! -f "$as_myself"; then |
13100 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
13101 |
exit 1 |
13102 |
fi |
13103 |
|
13104 |
# Unset variables that we do not need and which cause bugs (e.g. in |
13105 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
13106 |
# suppresses any "Segmentation fault" message there. '((' could |
13107 |
# trigger a bug in pdksh 5.2.14. |
13108 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
13109 |
do eval test x\${$as_var+set} = xset \ |
13110 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
13111 |
done |
13112 |
PS1='$ ' |
13113 |
PS2='> ' |
13114 |
PS4='+ ' |
13115 |
|
13116 |
# NLS nuisances. |
13117 |
LC_ALL=C |
13118 |
export LC_ALL |
13119 |
LANGUAGE=C |
13120 |
export LANGUAGE |
13121 |
|
13122 |
# CDPATH. |
13123 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
13124 |
|
13125 |
|
13126 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
13127 |
# ---------------------------------------- |
13128 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
13129 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
13130 |
# script with STATUS, using 1 if that was 0. |
13131 |
as_fn_error () |
13132 |
{ |
13133 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
13134 |
if test "$4"; then |
13135 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
13136 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
13137 |
fi |
13138 |
$as_echo "$as_me: error: $2" >&2 |
13139 |
as_fn_exit $as_status |
13140 |
} # as_fn_error |
13141 |
|
13142 |
|
13143 |
# as_fn_set_status STATUS |
13144 |
# ----------------------- |
13145 |
# Set $? to STATUS, without forking. |
13146 |
as_fn_set_status () |
13147 |
{ |
13148 |
return $1 |
13149 |
} # as_fn_set_status |
13150 |
|
13151 |
# as_fn_exit STATUS |
13152 |
# ----------------- |
13153 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
13154 |
as_fn_exit () |
13155 |
{ |
13156 |
set +e |
13157 |
as_fn_set_status $1 |
13158 |
exit $1 |
13159 |
} # as_fn_exit |
13160 |
|
13161 |
# as_fn_unset VAR |
13162 |
# --------------- |
13163 |
# Portably unset VAR. |
13164 |
as_fn_unset () |
13165 |
{ |
13166 |
{ eval $1=; unset $1;} |
13167 |
} |
13168 |
as_unset=as_fn_unset |
13169 |
# as_fn_append VAR VALUE |
13170 |
# ---------------------- |
13171 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
13172 |
# advantage of any shell optimizations that allow amortized linear growth over |
13173 |
# repeated appends, instead of the typical quadratic growth present in naive |
13174 |
# implementations. |
13175 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
13176 |
eval 'as_fn_append () |
13177 |
{ |
13178 |
eval $1+=\$2 |
13179 |
}' |
13180 |
else |
13181 |
as_fn_append () |
13182 |
{ |
13183 |
eval $1=\$$1\$2 |
13184 |
} |
13185 |
fi # as_fn_append |
13186 |
|
13187 |
# as_fn_arith ARG... |
13188 |
# ------------------ |
13189 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
13190 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
13191 |
# must be portable across $(()) and expr. |
13192 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
13193 |
eval 'as_fn_arith () |
13194 |
{ |
13195 |
as_val=$(( $* )) |
13196 |
}' |
13197 |
else |
13198 |
as_fn_arith () |
13199 |
{ |
13200 |
as_val=`expr "$@" || test $? -eq 1` |
13201 |
} |
13202 |
fi # as_fn_arith |
13203 |
|
13204 |
|
13205 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
13206 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
13207 |
as_expr=expr |
13208 |
else |
13209 |
as_expr=false |
13210 |
fi |
13211 |
|
13212 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
13213 |
as_basename=basename |
13214 |
else |
13215 |
as_basename=false |
13216 |
fi |
13217 |
|
13218 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
13219 |
as_dirname=dirname |
13220 |
else |
13221 |
as_dirname=false |
13222 |
fi |
13223 |
|
13224 |
as_me=`$as_basename -- "$0" || |
13225 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
13226 |
X"$0" : 'X\(//\)$' \| \ |
13227 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
13228 |
$as_echo X/"$0" | |
13229 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
13230 |
s//\1/ |
13231 |
q |
13232 |
} |
13233 |
/^X\/\(\/\/\)$/{ |
13234 |
s//\1/ |
13235 |
q |
13236 |
} |
13237 |
/^X\/\(\/\).*/{ |
13238 |
s//\1/ |
13239 |
q |
13240 |
} |
13241 |
s/.*/./; q'` |
13242 |
|
13243 |
# Avoid depending upon Character Ranges. |
13244 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
13245 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
13246 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
13247 |
as_cr_digits='0123456789' |
13248 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
13249 |
|
13250 |
ECHO_C= ECHO_N= ECHO_T= |
13251 |
case `echo -n x` in #((((( |
13252 |
-n*) |
13253 |
case `echo 'xy\c'` in |
13254 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
13255 |
xy) ECHO_C='\c';; |
13256 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
13257 |
ECHO_T=' ';; |
13258 |
esac;; |
13259 |
*) |
13260 |
ECHO_N='-n';; |
13261 |
esac |
13262 |
|
13263 |
rm -f conf$$ conf$$.exe conf$$.file |
13264 |
if test -d conf$$.dir; then |
13265 |
rm -f conf$$.dir/conf$$.file |
13266 |
else |
13267 |
rm -f conf$$.dir |
13268 |
mkdir conf$$.dir 2>/dev/null |
13269 |
fi |
13270 |
if (echo >conf$$.file) 2>/dev/null; then |
13271 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
13272 |
as_ln_s='ln -s' |
13273 |
# ... but there are two gotchas: |
13274 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
13275 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
13276 |
# In both cases, we have to default to `cp -pR'. |
13277 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
13278 |
as_ln_s='cp -pR' |
13279 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
13280 |
as_ln_s=ln |
13281 |
else |
13282 |
as_ln_s='cp -pR' |
13283 |
fi |
13284 |
else |
13285 |
as_ln_s='cp -pR' |
13286 |
fi |
13287 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
13288 |
rmdir conf$$.dir 2>/dev/null |
13289 |
|
13290 |
|
13291 |
# as_fn_mkdir_p |
13292 |
# ------------- |
13293 |
# Create "$as_dir" as a directory, including parents if necessary. |
13294 |
as_fn_mkdir_p () |
13295 |
{ |
13296 |
|
13297 |
case $as_dir in #( |
13298 |
-*) as_dir=./$as_dir;; |
13299 |
esac |
13300 |
test -d "$as_dir" || eval $as_mkdir_p || { |
13301 |
as_dirs= |
13302 |
while :; do |
13303 |
case $as_dir in #( |
13304 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
13305 |
*) as_qdir=$as_dir;; |
13306 |
esac |
13307 |
as_dirs="'$as_qdir' $as_dirs" |
13308 |
as_dir=`$as_dirname -- "$as_dir" || |
13309 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13310 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
13311 |
X"$as_dir" : 'X\(//\)$' \| \ |
13312 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
13313 |
$as_echo X"$as_dir" | |
13314 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
13315 |
s//\1/ |
13316 |
q |
13317 |
} |
13318 |
/^X\(\/\/\)[^/].*/{ |
13319 |
s//\1/ |
13320 |
q |
13321 |
} |
13322 |
/^X\(\/\/\)$/{ |
13323 |
s//\1/ |
13324 |
q |
13325 |
} |
13326 |
/^X\(\/\).*/{ |
13327 |
s//\1/ |
13328 |
q |
13329 |
} |
13330 |
s/.*/./; q'` |
13331 |
test -d "$as_dir" && break |
13332 |
done |
13333 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
13334 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
13335 |
|
13336 |
|
13337 |
} # as_fn_mkdir_p |
13338 |
if mkdir -p . 2>/dev/null; then |
13339 |
as_mkdir_p='mkdir -p "$as_dir"' |
13340 |
else |
13341 |
test -d ./-p && rmdir ./-p |
13342 |
as_mkdir_p=false |
13343 |
fi |
13344 |
|
13345 |
|
13346 |
# as_fn_executable_p FILE |
13347 |
# ----------------------- |
13348 |
# Test if FILE is an executable regular file. |
13349 |
as_fn_executable_p () |
13350 |
{ |
13351 |
test -f "$1" && test -x "$1" |
13352 |
} # as_fn_executable_p |
13353 |
as_test_x='test -x' |
13354 |
as_executable_p=as_fn_executable_p |
13355 |
|
13356 |
# Sed expression to map a string onto a valid CPP name. |
13357 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
13358 |
|
13359 |
# Sed expression to map a string onto a valid variable name. |
13360 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
13361 |
|
13362 |
|
13363 |
exec 6>&1 |
13364 |
## ----------------------------------- ## |
13365 |
## Main body of $CONFIG_STATUS script. ## |
13366 |
## ----------------------------------- ## |
13367 |
_ASEOF |
13368 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
13369 |
|
13370 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13371 |
# Save the log message, to keep $0 and so on meaningful, and to |
13372 |
# report actual input values of CONFIG_FILES etc. instead of their |
13373 |
# values after options handling. |
13374 |
ac_log=" |
13375 |
This file was extended by hopm $as_me 1.0.0beta1, which was |
13376 |
generated by GNU Autoconf 2.69. Invocation command line was |
13377 |
|
13378 |
CONFIG_FILES = $CONFIG_FILES |
13379 |
CONFIG_HEADERS = $CONFIG_HEADERS |
13380 |
CONFIG_LINKS = $CONFIG_LINKS |
13381 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
13382 |
$ $0 $@ |
13383 |
|
13384 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
13385 |
" |
13386 |
|
13387 |
_ACEOF |
13388 |
|
13389 |
case $ac_config_files in *" |
13390 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
13391 |
esac |
13392 |
|
13393 |
case $ac_config_headers in *" |
13394 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
13395 |
esac |
13396 |
|
13397 |
|
13398 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13399 |
# Files that config.status was made for. |
13400 |
config_files="$ac_config_files" |
13401 |
config_headers="$ac_config_headers" |
13402 |
config_commands="$ac_config_commands" |
13403 |
|
13404 |
_ACEOF |
13405 |
|
13406 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13407 |
ac_cs_usage="\ |
13408 |
\`$as_me' instantiates files and other configuration actions |
13409 |
from templates according to the current configuration. Unless the files |
13410 |
and actions are specified as TAGs, all are instantiated by default. |
13411 |
|
13412 |
Usage: $0 [OPTION]... [TAG]... |
13413 |
|
13414 |
-h, --help print this help, then exit |
13415 |
-V, --version print version number and configuration settings, then exit |
13416 |
--config print configuration, then exit |
13417 |
-q, --quiet, --silent |
13418 |
do not print progress messages |
13419 |
-d, --debug don't remove temporary files |
13420 |
--recheck update $as_me by reconfiguring in the same conditions |
13421 |
--file=FILE[:TEMPLATE] |
13422 |
instantiate the configuration file FILE |
13423 |
--header=FILE[:TEMPLATE] |
13424 |
instantiate the configuration header FILE |
13425 |
|
13426 |
Configuration files: |
13427 |
$config_files |
13428 |
|
13429 |
Configuration headers: |
13430 |
$config_headers |
13431 |
|
13432 |
Configuration commands: |
13433 |
$config_commands |
13434 |
|
13435 |
Report bugs to the package provider." |
13436 |
|
13437 |
_ACEOF |
13438 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13439 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
13440 |
ac_cs_version="\\ |
13441 |
hopm config.status 1.0.0beta1 |
13442 |
configured by $0, generated by GNU Autoconf 2.69, |
13443 |
with options \\"\$ac_cs_config\\" |
13444 |
|
13445 |
Copyright (C) 2012 Free Software Foundation, Inc. |
13446 |
This config.status script is free software; the Free Software Foundation |
13447 |
gives unlimited permission to copy, distribute and modify it." |
13448 |
|
13449 |
ac_pwd='$ac_pwd' |
13450 |
srcdir='$srcdir' |
13451 |
INSTALL='$INSTALL' |
13452 |
MKDIR_P='$MKDIR_P' |
13453 |
AWK='$AWK' |
13454 |
test -n "\$AWK" || AWK=awk |
13455 |
_ACEOF |
13456 |
|
13457 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13458 |
# The default lists apply if the user does not specify any file. |
13459 |
ac_need_defaults=: |
13460 |
while test $# != 0 |
13461 |
do |
13462 |
case $1 in |
13463 |
--*=?*) |
13464 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
13465 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
13466 |
ac_shift=: |
13467 |
;; |
13468 |
--*=) |
13469 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
13470 |
ac_optarg= |
13471 |
ac_shift=: |
13472 |
;; |
13473 |
*) |
13474 |
ac_option=$1 |
13475 |
ac_optarg=$2 |
13476 |
ac_shift=shift |
13477 |
;; |
13478 |
esac |
13479 |
|
13480 |
case $ac_option in |
13481 |
# Handling of the options. |
13482 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
13483 |
ac_cs_recheck=: ;; |
13484 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
13485 |
$as_echo "$ac_cs_version"; exit ;; |
13486 |
--config | --confi | --conf | --con | --co | --c ) |
13487 |
$as_echo "$ac_cs_config"; exit ;; |
13488 |
--debug | --debu | --deb | --de | --d | -d ) |
13489 |
debug=: ;; |
13490 |
--file | --fil | --fi | --f ) |
13491 |
$ac_shift |
13492 |
case $ac_optarg in |
13493 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
13494 |
'') as_fn_error $? "missing file argument" ;; |
13495 |
esac |
13496 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
13497 |
ac_need_defaults=false;; |
13498 |
--header | --heade | --head | --hea ) |
13499 |
$ac_shift |
13500 |
case $ac_optarg in |
13501 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
13502 |
esac |
13503 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
13504 |
ac_need_defaults=false;; |
13505 |
--he | --h) |
13506 |
# Conflict between --help and --header |
13507 |
as_fn_error $? "ambiguous option: \`$1' |
13508 |
Try \`$0 --help' for more information.";; |
13509 |
--help | --hel | -h ) |
13510 |
$as_echo "$ac_cs_usage"; exit ;; |
13511 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
13512 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
13513 |
ac_cs_silent=: ;; |
13514 |
|
13515 |
# This is an error. |
13516 |
-*) as_fn_error $? "unrecognized option: \`$1' |
13517 |
Try \`$0 --help' for more information." ;; |
13518 |
|
13519 |
*) as_fn_append ac_config_targets " $1" |
13520 |
ac_need_defaults=false ;; |
13521 |
|
13522 |
esac |
13523 |
shift |
13524 |
done |
13525 |
|
13526 |
ac_configure_extra_args= |
13527 |
|
13528 |
if $ac_cs_silent; then |
13529 |
exec 6>/dev/null |
13530 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
13531 |
fi |
13532 |
|
13533 |
_ACEOF |
13534 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13535 |
if \$ac_cs_recheck; then |
13536 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
13537 |
shift |
13538 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
13539 |
CONFIG_SHELL='$SHELL' |
13540 |
export CONFIG_SHELL |
13541 |
exec "\$@" |
13542 |
fi |
13543 |
|
13544 |
_ACEOF |
13545 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13546 |
exec 5>>config.log |
13547 |
{ |
13548 |
echo |
13549 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
13550 |
## Running $as_me. ## |
13551 |
_ASBOX |
13552 |
$as_echo "$ac_log" |
13553 |
} >&5 |
13554 |
|
13555 |
_ACEOF |
13556 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13557 |
# |
13558 |
# INIT-COMMANDS |
13559 |
# |
13560 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
13561 |
|
13562 |
|
13563 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
13564 |
# if CDPATH is set. |
13565 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
13566 |
|
13567 |
sed_quote_subst='$sed_quote_subst' |
13568 |
double_quote_subst='$double_quote_subst' |
13569 |
delay_variable_subst='$delay_variable_subst' |
13570 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
13571 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
13572 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
13573 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
13574 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
13575 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
13576 |
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
13577 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
13578 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
13579 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
13580 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
13581 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
13582 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
13583 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
13584 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
13585 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
13586 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
13587 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
13588 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
13589 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
13590 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
13591 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
13592 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
13593 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
13594 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
13595 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
13596 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
13597 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
13598 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
13599 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
13600 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
13601 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
13602 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
13603 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
13604 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
13605 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
13606 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
13607 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
13608 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
13609 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
13610 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
13611 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
13612 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
13613 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
13614 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
13615 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
13616 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
13617 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
13618 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
13619 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
13620 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
13621 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
13622 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
13623 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
13624 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
13625 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
13626 |
lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
13627 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
13628 |
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"`' |
13629 |
lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
13630 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
13631 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
13632 |
lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
13633 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
13634 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
13635 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
13636 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
13637 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
13638 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
13639 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
13640 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
13641 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
13642 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
13643 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
13644 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
13645 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
13646 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
13647 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
13648 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
13649 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
13650 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
13651 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
13652 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
13653 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
13654 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
13655 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
13656 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
13657 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
13658 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
13659 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
13660 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
13661 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
13662 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
13663 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
13664 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
13665 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
13666 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
13667 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
13668 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
13669 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
13670 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
13671 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
13672 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
13673 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
13674 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
13675 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
13676 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
13677 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
13678 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
13679 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
13680 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
13681 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
13682 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
13683 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
13684 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
13685 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
13686 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
13687 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
13688 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
13689 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
13690 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
13691 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
13692 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
13693 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
13694 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
13695 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
13696 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
13697 |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
13698 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
13699 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
13700 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
13701 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
13702 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
13703 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
13704 |
|
13705 |
LTCC='$LTCC' |
13706 |
LTCFLAGS='$LTCFLAGS' |
13707 |
compiler='$compiler_DEFAULT' |
13708 |
|
13709 |
# A function that is used when there is no print builtin or printf. |
13710 |
func_fallback_echo () |
13711 |
{ |
13712 |
eval 'cat <<_LTECHO_EOF |
13713 |
\$1 |
13714 |
_LTECHO_EOF' |
13715 |
} |
13716 |
|
13717 |
# Quote evaled strings. |
13718 |
for var in SHELL \ |
13719 |
ECHO \ |
13720 |
PATH_SEPARATOR \ |
13721 |
SED \ |
13722 |
GREP \ |
13723 |
EGREP \ |
13724 |
FGREP \ |
13725 |
LD \ |
13726 |
NM \ |
13727 |
LN_S \ |
13728 |
lt_SP2NL \ |
13729 |
lt_NL2SP \ |
13730 |
reload_flag \ |
13731 |
OBJDUMP \ |
13732 |
deplibs_check_method \ |
13733 |
file_magic_cmd \ |
13734 |
file_magic_glob \ |
13735 |
want_nocaseglob \ |
13736 |
DLLTOOL \ |
13737 |
sharedlib_from_linklib_cmd \ |
13738 |
AR \ |
13739 |
AR_FLAGS \ |
13740 |
archiver_list_spec \ |
13741 |
STRIP \ |
13742 |
RANLIB \ |
13743 |
CC \ |
13744 |
CFLAGS \ |
13745 |
compiler \ |
13746 |
lt_cv_sys_global_symbol_pipe \ |
13747 |
lt_cv_sys_global_symbol_to_cdecl \ |
13748 |
lt_cv_sys_global_symbol_to_import \ |
13749 |
lt_cv_sys_global_symbol_to_c_name_address \ |
13750 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
13751 |
lt_cv_nm_interface \ |
13752 |
nm_file_list_spec \ |
13753 |
lt_cv_truncate_bin \ |
13754 |
lt_prog_compiler_no_builtin_flag \ |
13755 |
lt_prog_compiler_pic \ |
13756 |
lt_prog_compiler_wl \ |
13757 |
lt_prog_compiler_static \ |
13758 |
lt_cv_prog_compiler_c_o \ |
13759 |
need_locks \ |
13760 |
MANIFEST_TOOL \ |
13761 |
DSYMUTIL \ |
13762 |
NMEDIT \ |
13763 |
LIPO \ |
13764 |
OTOOL \ |
13765 |
OTOOL64 \ |
13766 |
shrext_cmds \ |
13767 |
export_dynamic_flag_spec \ |
13768 |
whole_archive_flag_spec \ |
13769 |
compiler_needs_object \ |
13770 |
with_gnu_ld \ |
13771 |
allow_undefined_flag \ |
13772 |
no_undefined_flag \ |
13773 |
hardcode_libdir_flag_spec \ |
13774 |
hardcode_libdir_separator \ |
13775 |
exclude_expsyms \ |
13776 |
include_expsyms \ |
13777 |
file_list_spec \ |
13778 |
variables_saved_for_relink \ |
13779 |
libname_spec \ |
13780 |
library_names_spec \ |
13781 |
soname_spec \ |
13782 |
install_override_mode \ |
13783 |
finish_eval \ |
13784 |
old_striplib \ |
13785 |
striplib; do |
13786 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
13787 |
*[\\\\\\\`\\"\\\$]*) |
13788 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
13789 |
;; |
13790 |
*) |
13791 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
13792 |
;; |
13793 |
esac |
13794 |
done |
13795 |
|
13796 |
# Double-quote double-evaled strings. |
13797 |
for var in reload_cmds \ |
13798 |
old_postinstall_cmds \ |
13799 |
old_postuninstall_cmds \ |
13800 |
old_archive_cmds \ |
13801 |
extract_expsyms_cmds \ |
13802 |
old_archive_from_new_cmds \ |
13803 |
old_archive_from_expsyms_cmds \ |
13804 |
archive_cmds \ |
13805 |
archive_expsym_cmds \ |
13806 |
module_cmds \ |
13807 |
module_expsym_cmds \ |
13808 |
export_symbols_cmds \ |
13809 |
prelink_cmds \ |
13810 |
postlink_cmds \ |
13811 |
postinstall_cmds \ |
13812 |
postuninstall_cmds \ |
13813 |
finish_cmds \ |
13814 |
sys_lib_search_path_spec \ |
13815 |
sys_lib_dlsearch_path_spec; do |
13816 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
13817 |
*[\\\\\\\`\\"\\\$]*) |
13818 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
13819 |
;; |
13820 |
*) |
13821 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
13822 |
;; |
13823 |
esac |
13824 |
done |
13825 |
|
13826 |
ac_aux_dir='$ac_aux_dir' |
13827 |
|
13828 |
# See if we are running on zsh, and set the options that allow our |
13829 |
# commands through without removal of \ escapes INIT. |
13830 |
if test -n "\${ZSH_VERSION+set}"; then |
13831 |
setopt NO_GLOB_SUBST |
13832 |
fi |
13833 |
|
13834 |
|
13835 |
PACKAGE='$PACKAGE' |
13836 |
VERSION='$VERSION' |
13837 |
RM='$RM' |
13838 |
ofile='$ofile' |
13839 |
|
13840 |
|
13841 |
|
13842 |
|
13843 |
_ACEOF |
13844 |
|
13845 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13846 |
|
13847 |
# Handling of arguments. |
13848 |
for ac_config_target in $ac_config_targets |
13849 |
do |
13850 |
case $ac_config_target in |
13851 |
"src/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS src/setup.h" ;; |
13852 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
13853 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
13854 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13855 |
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13856 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13857 |
|
13858 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
13859 |
esac |
13860 |
done |
13861 |
|
13862 |
|
13863 |
# If the user did not use the arguments to specify the items to instantiate, |
13864 |
# then the envvar interface is used. Set only those that are not. |
13865 |
# We use the long form for the default assignment because of an extremely |
13866 |
# bizarre bug on SunOS 4.1.3. |
13867 |
if $ac_need_defaults; then |
13868 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
13869 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
13870 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
13871 |
fi |
13872 |
|
13873 |
# Have a temporary directory for convenience. Make it in the build tree |
13874 |
# simply because there is no reason against having it here, and in addition, |
13875 |
# creating and moving files from /tmp can sometimes cause problems. |
13876 |
# Hook for its removal unless debugging. |
13877 |
# Note that there is a small window in which the directory will not be cleaned: |
13878 |
# after its creation but before its name has been assigned to `$tmp'. |
13879 |
$debug || |
13880 |
{ |
13881 |
tmp= ac_tmp= |
13882 |
trap 'exit_status=$? |
13883 |
: "${ac_tmp:=$tmp}" |
13884 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
13885 |
' 0 |
13886 |
trap 'as_fn_exit 1' 1 2 13 15 |
13887 |
} |
13888 |
# Create a (secure) tmp directory for tmp files. |
13889 |
|
13890 |
{ |
13891 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
13892 |
test -d "$tmp" |
13893 |
} || |
13894 |
{ |
13895 |
tmp=./conf$$-$RANDOM |
13896 |
(umask 077 && mkdir "$tmp") |
13897 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
13898 |
ac_tmp=$tmp |
13899 |
|
13900 |
# Set up the scripts for CONFIG_FILES section. |
13901 |
# No need to generate them if there are no CONFIG_FILES. |
13902 |
# This happens for instance with `./config.status config.h'. |
13903 |
if test -n "$CONFIG_FILES"; then |
13904 |
|
13905 |
|
13906 |
ac_cr=`echo X | tr X '\015'` |
13907 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
13908 |
# But we know of no other shell where ac_cr would be empty at this |
13909 |
# point, so we can use a bashism as a fallback. |
13910 |
if test "x$ac_cr" = x; then |
13911 |
eval ac_cr=\$\'\\r\' |
13912 |
fi |
13913 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
13914 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
13915 |
ac_cs_awk_cr='\\r' |
13916 |
else |
13917 |
ac_cs_awk_cr=$ac_cr |
13918 |
fi |
13919 |
|
13920 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
13921 |
_ACEOF |
13922 |
|
13923 |
|
13924 |
{ |
13925 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
13926 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
13927 |
echo "_ACEOF" |
13928 |
} >conf$$subs.sh || |
13929 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
13930 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
13931 |
ac_delim='%!_!# ' |
13932 |
for ac_last_try in false false false false false :; do |
13933 |
. ./conf$$subs.sh || |
13934 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
13935 |
|
13936 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
13937 |
if test $ac_delim_n = $ac_delim_num; then |
13938 |
break |
13939 |
elif $ac_last_try; then |
13940 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
13941 |
else |
13942 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
13943 |
fi |
13944 |
done |
13945 |
rm -f conf$$subs.sh |
13946 |
|
13947 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13948 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
13949 |
_ACEOF |
13950 |
sed -n ' |
13951 |
h |
13952 |
s/^/S["/; s/!.*/"]=/ |
13953 |
p |
13954 |
g |
13955 |
s/^[^!]*!// |
13956 |
:repl |
13957 |
t repl |
13958 |
s/'"$ac_delim"'$// |
13959 |
t delim |
13960 |
:nl |
13961 |
h |
13962 |
s/\(.\{148\}\)..*/\1/ |
13963 |
t more1 |
13964 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
13965 |
p |
13966 |
n |
13967 |
b repl |
13968 |
:more1 |
13969 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
13970 |
p |
13971 |
g |
13972 |
s/.\{148\}// |
13973 |
t nl |
13974 |
:delim |
13975 |
h |
13976 |
s/\(.\{148\}\)..*/\1/ |
13977 |
t more2 |
13978 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
13979 |
p |
13980 |
b |
13981 |
:more2 |
13982 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
13983 |
p |
13984 |
g |
13985 |
s/.\{148\}// |
13986 |
t delim |
13987 |
' <conf$$subs.awk | sed ' |
13988 |
/^[^""]/{ |
13989 |
N |
13990 |
s/\n// |
13991 |
} |
13992 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
13993 |
rm -f conf$$subs.awk |
13994 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13995 |
_ACAWK |
13996 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
13997 |
for (key in S) S_is_set[key] = 1 |
13998 |
FS = "" |
13999 |
|
14000 |
} |
14001 |
{ |
14002 |
line = $ 0 |
14003 |
nfields = split(line, field, "@") |
14004 |
substed = 0 |
14005 |
len = length(field[1]) |
14006 |
for (i = 2; i < nfields; i++) { |
14007 |
key = field[i] |
14008 |
keylen = length(key) |
14009 |
if (S_is_set[key]) { |
14010 |
value = S[key] |
14011 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
14012 |
len += length(value) + length(field[++i]) |
14013 |
substed = 1 |
14014 |
} else |
14015 |
len += 1 + keylen |
14016 |
} |
14017 |
|
14018 |
print line |
14019 |
} |
14020 |
|
14021 |
_ACAWK |
14022 |
_ACEOF |
14023 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14024 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
14025 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
14026 |
else |
14027 |
cat |
14028 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
14029 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
14030 |
_ACEOF |
14031 |
|
14032 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
14033 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
14034 |
# trailing colons and then remove the whole line if VPATH becomes empty |
14035 |
# (actually we leave an empty line to preserve line numbers). |
14036 |
if test "x$srcdir" = x.; then |
14037 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
14038 |
h |
14039 |
s/// |
14040 |
s/^/:/ |
14041 |
s/[ ]*$/:/ |
14042 |
s/:\$(srcdir):/:/g |
14043 |
s/:\${srcdir}:/:/g |
14044 |
s/:@srcdir@:/:/g |
14045 |
s/^:*// |
14046 |
s/:*$// |
14047 |
x |
14048 |
s/\(=[ ]*\).*/\1/ |
14049 |
G |
14050 |
s/\n// |
14051 |
s/^[^=]*=[ ]*$// |
14052 |
}' |
14053 |
fi |
14054 |
|
14055 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14056 |
fi # test -n "$CONFIG_FILES" |
14057 |
|
14058 |
# Set up the scripts for CONFIG_HEADERS section. |
14059 |
# No need to generate them if there are no CONFIG_HEADERS. |
14060 |
# This happens for instance with `./config.status Makefile'. |
14061 |
if test -n "$CONFIG_HEADERS"; then |
14062 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
14063 |
BEGIN { |
14064 |
_ACEOF |
14065 |
|
14066 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
14067 |
# here-document in config.status, that substitutes the proper values into |
14068 |
# config.h.in to produce config.h. |
14069 |
|
14070 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
14071 |
# handling of long lines. |
14072 |
ac_delim='%!_!# ' |
14073 |
for ac_last_try in false false :; do |
14074 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
14075 |
if test -z "$ac_tt"; then |
14076 |
break |
14077 |
elif $ac_last_try; then |
14078 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
14079 |
else |
14080 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14081 |
fi |
14082 |
done |
14083 |
|
14084 |
# For the awk script, D is an array of macro values keyed by name, |
14085 |
# likewise P contains macro parameters if any. Preserve backslash |
14086 |
# newline sequences. |
14087 |
|
14088 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
14089 |
sed -n ' |
14090 |
s/.\{148\}/&'"$ac_delim"'/g |
14091 |
t rset |
14092 |
:rset |
14093 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
14094 |
t def |
14095 |
d |
14096 |
:def |
14097 |
s/\\$// |
14098 |
t bsnl |
14099 |
s/["\\]/\\&/g |
14100 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
14101 |
D["\1"]=" \3"/p |
14102 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
14103 |
d |
14104 |
:bsnl |
14105 |
s/["\\]/\\&/g |
14106 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
14107 |
D["\1"]=" \3\\\\\\n"\\/p |
14108 |
t cont |
14109 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
14110 |
t cont |
14111 |
d |
14112 |
:cont |
14113 |
n |
14114 |
s/.\{148\}/&'"$ac_delim"'/g |
14115 |
t clear |
14116 |
:clear |
14117 |
s/\\$// |
14118 |
t bsnlc |
14119 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
14120 |
d |
14121 |
:bsnlc |
14122 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
14123 |
b cont |
14124 |
' <confdefs.h | sed ' |
14125 |
s/'"$ac_delim"'/"\\\ |
14126 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
14127 |
|
14128 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14129 |
for (key in D) D_is_set[key] = 1 |
14130 |
FS = "" |
14131 |
} |
14132 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
14133 |
line = \$ 0 |
14134 |
split(line, arg, " ") |
14135 |
if (arg[1] == "#") { |
14136 |
defundef = arg[2] |
14137 |
mac1 = arg[3] |
14138 |
} else { |
14139 |
defundef = substr(arg[1], 2) |
14140 |
mac1 = arg[2] |
14141 |
} |
14142 |
split(mac1, mac2, "(") #) |
14143 |
macro = mac2[1] |
14144 |
prefix = substr(line, 1, index(line, defundef) - 1) |
14145 |
if (D_is_set[macro]) { |
14146 |
# Preserve the white space surrounding the "#". |
14147 |
print prefix "define", macro P[macro] D[macro] |
14148 |
next |
14149 |
} else { |
14150 |
# Replace #undef with comments. This is necessary, for example, |
14151 |
# in the case of _POSIX_SOURCE, which is predefined and required |
14152 |
# on some systems where configure will not decide to define it. |
14153 |
if (defundef == "undef") { |
14154 |
print "/*", prefix defundef, macro, "*/" |
14155 |
next |
14156 |
} |
14157 |
} |
14158 |
} |
14159 |
{ print } |
14160 |
_ACAWK |
14161 |
_ACEOF |
14162 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14163 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
14164 |
fi # test -n "$CONFIG_HEADERS" |
14165 |
|
14166 |
|
14167 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
14168 |
shift |
14169 |
for ac_tag |
14170 |
do |
14171 |
case $ac_tag in |
14172 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
14173 |
esac |
14174 |
case $ac_mode$ac_tag in |
14175 |
:[FHL]*:*);; |
14176 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
14177 |
:[FH]-) ac_tag=-:-;; |
14178 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
14179 |
esac |
14180 |
ac_save_IFS=$IFS |
14181 |
IFS=: |
14182 |
set x $ac_tag |
14183 |
IFS=$ac_save_IFS |
14184 |
shift |
14185 |
ac_file=$1 |
14186 |
shift |
14187 |
|
14188 |
case $ac_mode in |
14189 |
:L) ac_source=$1;; |
14190 |
:[FH]) |
14191 |
ac_file_inputs= |
14192 |
for ac_f |
14193 |
do |
14194 |
case $ac_f in |
14195 |
-) ac_f="$ac_tmp/stdin";; |
14196 |
*) # Look for the file first in the build tree, then in the source tree |
14197 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
14198 |
# because $ac_f cannot contain `:'. |
14199 |
test -f "$ac_f" || |
14200 |
case $ac_f in |
14201 |
[\\/$]*) false;; |
14202 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
14203 |
esac || |
14204 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
14205 |
esac |
14206 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
14207 |
as_fn_append ac_file_inputs " '$ac_f'" |
14208 |
done |
14209 |
|
14210 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
14211 |
# use $as_me), people would be surprised to read: |
14212 |
# /* config.h. Generated by config.status. */ |
14213 |
configure_input='Generated from '` |
14214 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
14215 |
`' by configure.' |
14216 |
if test x"$ac_file" != x-; then |
14217 |
configure_input="$ac_file. $configure_input" |
14218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
14219 |
$as_echo "$as_me: creating $ac_file" >&6;} |
14220 |
fi |
14221 |
# Neutralize special characters interpreted by sed in replacement strings. |
14222 |
case $configure_input in #( |
14223 |
*\&* | *\|* | *\\* ) |
14224 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
14225 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
14226 |
*) ac_sed_conf_input=$configure_input;; |
14227 |
esac |
14228 |
|
14229 |
case $ac_tag in |
14230 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
14231 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
14232 |
esac |
14233 |
;; |
14234 |
esac |
14235 |
|
14236 |
ac_dir=`$as_dirname -- "$ac_file" || |
14237 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14238 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
14239 |
X"$ac_file" : 'X\(//\)$' \| \ |
14240 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
14241 |
$as_echo X"$ac_file" | |
14242 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14243 |
s//\1/ |
14244 |
q |
14245 |
} |
14246 |
/^X\(\/\/\)[^/].*/{ |
14247 |
s//\1/ |
14248 |
q |
14249 |
} |
14250 |
/^X\(\/\/\)$/{ |
14251 |
s//\1/ |
14252 |
q |
14253 |
} |
14254 |
/^X\(\/\).*/{ |
14255 |
s//\1/ |
14256 |
q |
14257 |
} |
14258 |
s/.*/./; q'` |
14259 |
as_dir="$ac_dir"; as_fn_mkdir_p |
14260 |
ac_builddir=. |
14261 |
|
14262 |
case "$ac_dir" in |
14263 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14264 |
*) |
14265 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
14266 |
# A ".." for each directory in $ac_dir_suffix. |
14267 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
14268 |
case $ac_top_builddir_sub in |
14269 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14270 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
14271 |
esac ;; |
14272 |
esac |
14273 |
ac_abs_top_builddir=$ac_pwd |
14274 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
14275 |
# for backward compatibility: |
14276 |
ac_top_builddir=$ac_top_build_prefix |
14277 |
|
14278 |
case $srcdir in |
14279 |
.) # We are building in place. |
14280 |
ac_srcdir=. |
14281 |
ac_top_srcdir=$ac_top_builddir_sub |
14282 |
ac_abs_top_srcdir=$ac_pwd ;; |
14283 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
14284 |
ac_srcdir=$srcdir$ac_dir_suffix; |
14285 |
ac_top_srcdir=$srcdir |
14286 |
ac_abs_top_srcdir=$srcdir ;; |
14287 |
*) # Relative name. |
14288 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
14289 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
14290 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
14291 |
esac |
14292 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
14293 |
|
14294 |
|
14295 |
case $ac_mode in |
14296 |
:F) |
14297 |
# |
14298 |
# CONFIG_FILE |
14299 |
# |
14300 |
|
14301 |
case $INSTALL in |
14302 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14303 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
14304 |
esac |
14305 |
ac_MKDIR_P=$MKDIR_P |
14306 |
case $MKDIR_P in |
14307 |
[\\/$]* | ?:[\\/]* ) ;; |
14308 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
14309 |
esac |
14310 |
_ACEOF |
14311 |
|
14312 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14313 |
# If the template does not know about datarootdir, expand it. |
14314 |
# FIXME: This hack should be removed a few years after 2.60. |
14315 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
14316 |
ac_sed_dataroot=' |
14317 |
/datarootdir/ { |
14318 |
p |
14319 |
q |
14320 |
} |
14321 |
/@datadir@/p |
14322 |
/@docdir@/p |
14323 |
/@infodir@/p |
14324 |
/@localedir@/p |
14325 |
/@mandir@/p' |
14326 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
14327 |
*datarootdir*) ac_datarootdir_seen=yes;; |
14328 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
14329 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
14330 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
14331 |
_ACEOF |
14332 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14333 |
ac_datarootdir_hack=' |
14334 |
s&@datadir@&$datadir&g |
14335 |
s&@docdir@&$docdir&g |
14336 |
s&@infodir@&$infodir&g |
14337 |
s&@localedir@&$localedir&g |
14338 |
s&@mandir@&$mandir&g |
14339 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
14340 |
esac |
14341 |
_ACEOF |
14342 |
|
14343 |
# Neutralize VPATH when `$srcdir' = `.'. |
14344 |
# Shell code in configure.ac might set extrasub. |
14345 |
# FIXME: do we really want to maintain this feature? |
14346 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14347 |
ac_sed_extra="$ac_vpsub |
14348 |
$extrasub |
14349 |
_ACEOF |
14350 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14351 |
:t |
14352 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
14353 |
s|@configure_input@|$ac_sed_conf_input|;t t |
14354 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
14355 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
14356 |
s&@srcdir@&$ac_srcdir&;t t |
14357 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
14358 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
14359 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
14360 |
s&@builddir@&$ac_builddir&;t t |
14361 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
14362 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14363 |
s&@INSTALL@&$ac_INSTALL&;t t |
14364 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
14365 |
$ac_datarootdir_hack |
14366 |
" |
14367 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
14368 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
14369 |
|
14370 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14371 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
14372 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
14373 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
14374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14375 |
which seems to be undefined. Please make sure it is defined" >&5 |
14376 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14377 |
which seems to be undefined. Please make sure it is defined" >&2;} |
14378 |
|
14379 |
rm -f "$ac_tmp/stdin" |
14380 |
case $ac_file in |
14381 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
14382 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
14383 |
esac \ |
14384 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
14385 |
;; |
14386 |
:H) |
14387 |
# |
14388 |
# CONFIG_HEADER |
14389 |
# |
14390 |
if test x"$ac_file" != x-; then |
14391 |
{ |
14392 |
$as_echo "/* $configure_input */" \ |
14393 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
14394 |
} >"$ac_tmp/config.h" \ |
14395 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
14396 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
14397 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
14398 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
14399 |
else |
14400 |
rm -f "$ac_file" |
14401 |
mv "$ac_tmp/config.h" "$ac_file" \ |
14402 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
14403 |
fi |
14404 |
else |
14405 |
$as_echo "/* $configure_input */" \ |
14406 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
14407 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
14408 |
fi |
14409 |
# Compute "$ac_file"'s index in $config_headers. |
14410 |
_am_arg="$ac_file" |
14411 |
_am_stamp_count=1 |
14412 |
for _am_header in $config_headers :; do |
14413 |
case $_am_header in |
14414 |
$_am_arg | $_am_arg:* ) |
14415 |
break ;; |
14416 |
* ) |
14417 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
14418 |
esac |
14419 |
done |
14420 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
14421 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14422 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
14423 |
X"$_am_arg" : 'X\(//\)$' \| \ |
14424 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
14425 |
$as_echo X"$_am_arg" | |
14426 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14427 |
s//\1/ |
14428 |
q |
14429 |
} |
14430 |
/^X\(\/\/\)[^/].*/{ |
14431 |
s//\1/ |
14432 |
q |
14433 |
} |
14434 |
/^X\(\/\/\)$/{ |
14435 |
s//\1/ |
14436 |
q |
14437 |
} |
14438 |
/^X\(\/\).*/{ |
14439 |
s//\1/ |
14440 |
q |
14441 |
} |
14442 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
14443 |
;; |
14444 |
|
14445 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
14446 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
14447 |
;; |
14448 |
esac |
14449 |
|
14450 |
|
14451 |
case $ac_file$ac_mode in |
14452 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
14453 |
# Older Autoconf quotes --file arguments for eval, but not when files |
14454 |
# are listed without --file. Let's play safe and only enable the eval |
14455 |
# if we detect the quoting. |
14456 |
case $CONFIG_FILES in |
14457 |
*\'*) eval set x "$CONFIG_FILES" ;; |
14458 |
*) set x $CONFIG_FILES ;; |
14459 |
esac |
14460 |
shift |
14461 |
for mf |
14462 |
do |
14463 |
# Strip MF so we end up with the name of the file. |
14464 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
14465 |
# Check whether this is an Automake generated Makefile or not. |
14466 |
# We used to match only the files named 'Makefile.in', but |
14467 |
# some people rename them; so instead we look at the file content. |
14468 |
# Grep'ing the first line is not enough: some people post-process |
14469 |
# each Makefile.in and add a new line on top of each file to say so. |
14470 |
# Grep'ing the whole file is not good either: AIX grep has a line |
14471 |
# limit of 2048, but all sed's we know have understand at least 4000. |
14472 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
14473 |
dirpart=`$as_dirname -- "$mf" || |
14474 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14475 |
X"$mf" : 'X\(//\)[^/]' \| \ |
14476 |
X"$mf" : 'X\(//\)$' \| \ |
14477 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
14478 |
$as_echo X"$mf" | |
14479 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14480 |
s//\1/ |
14481 |
q |
14482 |
} |
14483 |
/^X\(\/\/\)[^/].*/{ |
14484 |
s//\1/ |
14485 |
q |
14486 |
} |
14487 |
/^X\(\/\/\)$/{ |
14488 |
s//\1/ |
14489 |
q |
14490 |
} |
14491 |
/^X\(\/\).*/{ |
14492 |
s//\1/ |
14493 |
q |
14494 |
} |
14495 |
s/.*/./; q'` |
14496 |
else |
14497 |
continue |
14498 |
fi |
14499 |
# Extract the definition of DEPDIR, am__include, and am__quote |
14500 |
# from the Makefile without running 'make'. |
14501 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
14502 |
test -z "$DEPDIR" && continue |
14503 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
14504 |
test -z "$am__include" && continue |
14505 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
14506 |
# Find all dependency output files, they are included files with |
14507 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
14508 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
14509 |
# expansion. |
14510 |
for file in `sed -n " |
14511 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
14512 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
14513 |
# Make sure the directory exists. |
14514 |
test -f "$dirpart/$file" && continue |
14515 |
fdir=`$as_dirname -- "$file" || |
14516 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14517 |
X"$file" : 'X\(//\)[^/]' \| \ |
14518 |
X"$file" : 'X\(//\)$' \| \ |
14519 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
14520 |
$as_echo X"$file" | |
14521 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14522 |
s//\1/ |
14523 |
q |
14524 |
} |
14525 |
/^X\(\/\/\)[^/].*/{ |
14526 |
s//\1/ |
14527 |
q |
14528 |
} |
14529 |
/^X\(\/\/\)$/{ |
14530 |
s//\1/ |
14531 |
q |
14532 |
} |
14533 |
/^X\(\/\).*/{ |
14534 |
s//\1/ |
14535 |
q |
14536 |
} |
14537 |
s/.*/./; q'` |
14538 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
14539 |
# echo "creating $dirpart/$file" |
14540 |
echo '# dummy' > "$dirpart/$file" |
14541 |
done |
14542 |
done |
14543 |
} |
14544 |
;; |
14545 |
"libtool":C) |
14546 |
|
14547 |
# See if we are running on zsh, and set the options that allow our |
14548 |
# commands through without removal of \ escapes. |
14549 |
if test -n "${ZSH_VERSION+set}"; then |
14550 |
setopt NO_GLOB_SUBST |
14551 |
fi |
14552 |
|
14553 |
cfgfile=${ofile}T |
14554 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
14555 |
$RM "$cfgfile" |
14556 |
|
14557 |
cat <<_LT_EOF >> "$cfgfile" |
14558 |
#! $SHELL |
14559 |
# Generated automatically by $as_me ($PACKAGE) $VERSION |
14560 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
14561 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
14562 |
|
14563 |
# Provide generalized library-building support services. |
14564 |
# Written by Gordon Matzigkeit, 1996 |
14565 |
|
14566 |
# Copyright (C) 2014 Free Software Foundation, Inc. |
14567 |
# This is free software; see the source for copying conditions. There is NO |
14568 |
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14569 |
|
14570 |
# GNU Libtool is free software; you can redistribute it and/or modify |
14571 |
# it under the terms of the GNU General Public License as published by |
14572 |
# the Free Software Foundation; either version 2 of of the License, or |
14573 |
# (at your option) any later version. |
14574 |
# |
14575 |
# As a special exception to the GNU General Public License, if you |
14576 |
# distribute this file as part of a program or library that is built |
14577 |
# using GNU Libtool, you may include this file under the same |
14578 |
# distribution terms that you use for the rest of that program. |
14579 |
# |
14580 |
# GNU Libtool is distributed in the hope that it will be useful, but |
14581 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
14582 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14583 |
# GNU General Public License for more details. |
14584 |
# |
14585 |
# You should have received a copy of the GNU General Public License |
14586 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
14587 |
|
14588 |
|
14589 |
# The names of the tagged configurations supported by this script. |
14590 |
available_tags='' |
14591 |
|
14592 |
# ### BEGIN LIBTOOL CONFIG |
14593 |
|
14594 |
# Which release of libtool.m4 was used? |
14595 |
macro_version=$macro_version |
14596 |
macro_revision=$macro_revision |
14597 |
|
14598 |
# Whether or not to build shared libraries. |
14599 |
build_libtool_libs=$enable_shared |
14600 |
|
14601 |
# Whether or not to build static libraries. |
14602 |
build_old_libs=$enable_static |
14603 |
|
14604 |
# What type of objects to build. |
14605 |
pic_mode=$pic_mode |
14606 |
|
14607 |
# Whether or not to optimize for fast installation. |
14608 |
fast_install=$enable_fast_install |
14609 |
|
14610 |
# Shared archive member basename,for filename based shared library versioning on AIX. |
14611 |
shared_archive_member_spec=$shared_archive_member_spec |
14612 |
|
14613 |
# Shell to use when invoking shell scripts. |
14614 |
SHELL=$lt_SHELL |
14615 |
|
14616 |
# An echo program that protects backslashes. |
14617 |
ECHO=$lt_ECHO |
14618 |
|
14619 |
# The PATH separator for the build system. |
14620 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
14621 |
|
14622 |
# The host system. |
14623 |
host_alias=$host_alias |
14624 |
host=$host |
14625 |
host_os=$host_os |
14626 |
|
14627 |
# The build system. |
14628 |
build_alias=$build_alias |
14629 |
build=$build |
14630 |
build_os=$build_os |
14631 |
|
14632 |
# A sed program that does not truncate output. |
14633 |
SED=$lt_SED |
14634 |
|
14635 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
14636 |
Xsed="\$SED -e 1s/^X//" |
14637 |
|
14638 |
# A grep program that handles long lines. |
14639 |
GREP=$lt_GREP |
14640 |
|
14641 |
# An ERE matcher. |
14642 |
EGREP=$lt_EGREP |
14643 |
|
14644 |
# A literal string matcher. |
14645 |
FGREP=$lt_FGREP |
14646 |
|
14647 |
# A BSD- or MS-compatible name lister. |
14648 |
NM=$lt_NM |
14649 |
|
14650 |
# Whether we need soft or hard links. |
14651 |
LN_S=$lt_LN_S |
14652 |
|
14653 |
# What is the maximum length of a command? |
14654 |
max_cmd_len=$max_cmd_len |
14655 |
|
14656 |
# Object file suffix (normally "o"). |
14657 |
objext=$ac_objext |
14658 |
|
14659 |
# Executable file suffix (normally ""). |
14660 |
exeext=$exeext |
14661 |
|
14662 |
# whether the shell understands "unset". |
14663 |
lt_unset=$lt_unset |
14664 |
|
14665 |
# turn spaces into newlines. |
14666 |
SP2NL=$lt_lt_SP2NL |
14667 |
|
14668 |
# turn newlines into spaces. |
14669 |
NL2SP=$lt_lt_NL2SP |
14670 |
|
14671 |
# convert \$build file names to \$host format. |
14672 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
14673 |
|
14674 |
# convert \$build files to toolchain format. |
14675 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
14676 |
|
14677 |
# An object symbol dumper. |
14678 |
OBJDUMP=$lt_OBJDUMP |
14679 |
|
14680 |
# Method to check whether dependent libraries are shared objects. |
14681 |
deplibs_check_method=$lt_deplibs_check_method |
14682 |
|
14683 |
# Command to use when deplibs_check_method = "file_magic". |
14684 |
file_magic_cmd=$lt_file_magic_cmd |
14685 |
|
14686 |
# How to find potential files when deplibs_check_method = "file_magic". |
14687 |
file_magic_glob=$lt_file_magic_glob |
14688 |
|
14689 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
14690 |
want_nocaseglob=$lt_want_nocaseglob |
14691 |
|
14692 |
# DLL creation program. |
14693 |
DLLTOOL=$lt_DLLTOOL |
14694 |
|
14695 |
# Command to associate shared and link libraries. |
14696 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
14697 |
|
14698 |
# The archiver. |
14699 |
AR=$lt_AR |
14700 |
|
14701 |
# Flags to create an archive. |
14702 |
AR_FLAGS=$lt_AR_FLAGS |
14703 |
|
14704 |
# How to feed a file listing to the archiver. |
14705 |
archiver_list_spec=$lt_archiver_list_spec |
14706 |
|
14707 |
# A symbol stripping program. |
14708 |
STRIP=$lt_STRIP |
14709 |
|
14710 |
# Commands used to install an old-style archive. |
14711 |
RANLIB=$lt_RANLIB |
14712 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
14713 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
14714 |
|
14715 |
# Whether to use a lock for old archive extraction. |
14716 |
lock_old_archive_extraction=$lock_old_archive_extraction |
14717 |
|
14718 |
# A C compiler. |
14719 |
LTCC=$lt_CC |
14720 |
|
14721 |
# LTCC compiler flags. |
14722 |
LTCFLAGS=$lt_CFLAGS |
14723 |
|
14724 |
# Take the output of nm and produce a listing of raw symbols and C names. |
14725 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
14726 |
|
14727 |
# Transform the output of nm in a proper C declaration. |
14728 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
14729 |
|
14730 |
# Transform the output of nm into a list of symbols to manually relocate. |
14731 |
global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
14732 |
|
14733 |
# Transform the output of nm in a C name address pair. |
14734 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
14735 |
|
14736 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
14737 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
14738 |
|
14739 |
# The name lister interface. |
14740 |
nm_interface=$lt_lt_cv_nm_interface |
14741 |
|
14742 |
# Specify filename containing input files for \$NM. |
14743 |
nm_file_list_spec=$lt_nm_file_list_spec |
14744 |
|
14745 |
# The root where to search for dependent libraries,and where our libraries should be installed. |
14746 |
lt_sysroot=$lt_sysroot |
14747 |
|
14748 |
# Command to truncate a binary pipe. |
14749 |
lt_truncate_bin=$lt_lt_cv_truncate_bin |
14750 |
|
14751 |
# The name of the directory that contains temporary libtool files. |
14752 |
objdir=$objdir |
14753 |
|
14754 |
# Used to examine libraries when file_magic_cmd begins with "file". |
14755 |
MAGIC_CMD=$MAGIC_CMD |
14756 |
|
14757 |
# Must we lock files when doing compilation? |
14758 |
need_locks=$lt_need_locks |
14759 |
|
14760 |
# Manifest tool. |
14761 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
14762 |
|
14763 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
14764 |
DSYMUTIL=$lt_DSYMUTIL |
14765 |
|
14766 |
# Tool to change global to local symbols on Mac OS X. |
14767 |
NMEDIT=$lt_NMEDIT |
14768 |
|
14769 |
# Tool to manipulate fat objects and archives on Mac OS X. |
14770 |
LIPO=$lt_LIPO |
14771 |
|
14772 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
14773 |
OTOOL=$lt_OTOOL |
14774 |
|
14775 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
14776 |
OTOOL64=$lt_OTOOL64 |
14777 |
|
14778 |
# Old archive suffix (normally "a"). |
14779 |
libext=$libext |
14780 |
|
14781 |
# Shared library suffix (normally ".so"). |
14782 |
shrext_cmds=$lt_shrext_cmds |
14783 |
|
14784 |
# The commands to extract the exported symbol list from a shared archive. |
14785 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
14786 |
|
14787 |
# Variables whose values should be saved in libtool wrapper scripts and |
14788 |
# restored at link time. |
14789 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
14790 |
|
14791 |
# Do we need the "lib" prefix for modules? |
14792 |
need_lib_prefix=$need_lib_prefix |
14793 |
|
14794 |
# Do we need a version for libraries? |
14795 |
need_version=$need_version |
14796 |
|
14797 |
# Library versioning type. |
14798 |
version_type=$version_type |
14799 |
|
14800 |
# Shared library runtime path variable. |
14801 |
runpath_var=$runpath_var |
14802 |
|
14803 |
# Shared library path variable. |
14804 |
shlibpath_var=$shlibpath_var |
14805 |
|
14806 |
# Is shlibpath searched before the hard-coded library search path? |
14807 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
14808 |
|
14809 |
# Format of library name prefix. |
14810 |
libname_spec=$lt_libname_spec |
14811 |
|
14812 |
# List of archive names. First name is the real one, the rest are links. |
14813 |
# The last name is the one that the linker finds with -lNAME |
14814 |
library_names_spec=$lt_library_names_spec |
14815 |
|
14816 |
# The coded name of the library, if different from the real name. |
14817 |
soname_spec=$lt_soname_spec |
14818 |
|
14819 |
# Permission mode override for installation of shared libraries. |
14820 |
install_override_mode=$lt_install_override_mode |
14821 |
|
14822 |
# Command to use after installation of a shared archive. |
14823 |
postinstall_cmds=$lt_postinstall_cmds |
14824 |
|
14825 |
# Command to use after uninstallation of a shared archive. |
14826 |
postuninstall_cmds=$lt_postuninstall_cmds |
14827 |
|
14828 |
# Commands used to finish a libtool library installation in a directory. |
14829 |
finish_cmds=$lt_finish_cmds |
14830 |
|
14831 |
# As "finish_cmds", except a single script fragment to be evaled but |
14832 |
# not shown. |
14833 |
finish_eval=$lt_finish_eval |
14834 |
|
14835 |
# Whether we should hardcode library paths into libraries. |
14836 |
hardcode_into_libs=$hardcode_into_libs |
14837 |
|
14838 |
# Compile-time system search path for libraries. |
14839 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
14840 |
|
14841 |
# Run-time system search path for libraries. |
14842 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
14843 |
|
14844 |
# Whether dlopen is supported. |
14845 |
dlopen_support=$enable_dlopen |
14846 |
|
14847 |
# Whether dlopen of programs is supported. |
14848 |
dlopen_self=$enable_dlopen_self |
14849 |
|
14850 |
# Whether dlopen of statically linked programs is supported. |
14851 |
dlopen_self_static=$enable_dlopen_self_static |
14852 |
|
14853 |
# Commands to strip libraries. |
14854 |
old_striplib=$lt_old_striplib |
14855 |
striplib=$lt_striplib |
14856 |
|
14857 |
|
14858 |
# The linker used to build libraries. |
14859 |
LD=$lt_LD |
14860 |
|
14861 |
# How to create reloadable object files. |
14862 |
reload_flag=$lt_reload_flag |
14863 |
reload_cmds=$lt_reload_cmds |
14864 |
|
14865 |
# Commands used to build an old-style archive. |
14866 |
old_archive_cmds=$lt_old_archive_cmds |
14867 |
|
14868 |
# A language specific compiler. |
14869 |
CC=$lt_compiler |
14870 |
|
14871 |
# Is the compiler the GNU compiler? |
14872 |
with_gcc=$GCC |
14873 |
|
14874 |
# Compiler flag to turn off builtin functions. |
14875 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
14876 |
|
14877 |
# Additional compiler flags for building library objects. |
14878 |
pic_flag=$lt_lt_prog_compiler_pic |
14879 |
|
14880 |
# How to pass a linker flag through the compiler. |
14881 |
wl=$lt_lt_prog_compiler_wl |
14882 |
|
14883 |
# Compiler flag to prevent dynamic linking. |
14884 |
link_static_flag=$lt_lt_prog_compiler_static |
14885 |
|
14886 |
# Does compiler simultaneously support -c and -o options? |
14887 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
14888 |
|
14889 |
# Whether or not to add -lc for building shared libraries. |
14890 |
build_libtool_need_lc=$archive_cmds_need_lc |
14891 |
|
14892 |
# Whether or not to disallow shared libs when runtime libs are static. |
14893 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
14894 |
|
14895 |
# Compiler flag to allow reflexive dlopens. |
14896 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
14897 |
|
14898 |
# Compiler flag to generate shared objects directly from archives. |
14899 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
14900 |
|
14901 |
# Whether the compiler copes with passing no objects directly. |
14902 |
compiler_needs_object=$lt_compiler_needs_object |
14903 |
|
14904 |
# Create an old-style archive from a shared archive. |
14905 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
14906 |
|
14907 |
# Create a temporary old-style archive to link instead of a shared archive. |
14908 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
14909 |
|
14910 |
# Commands used to build a shared archive. |
14911 |
archive_cmds=$lt_archive_cmds |
14912 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
14913 |
|
14914 |
# Commands used to build a loadable module if different from building |
14915 |
# a shared archive. |
14916 |
module_cmds=$lt_module_cmds |
14917 |
module_expsym_cmds=$lt_module_expsym_cmds |
14918 |
|
14919 |
# Whether we are building with GNU ld or not. |
14920 |
with_gnu_ld=$lt_with_gnu_ld |
14921 |
|
14922 |
# Flag that allows shared libraries with undefined symbols to be built. |
14923 |
allow_undefined_flag=$lt_allow_undefined_flag |
14924 |
|
14925 |
# Flag that enforces no undefined symbols. |
14926 |
no_undefined_flag=$lt_no_undefined_flag |
14927 |
|
14928 |
# Flag to hardcode \$libdir into a binary during linking. |
14929 |
# This must work even if \$libdir does not exist |
14930 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
14931 |
|
14932 |
# Whether we need a single "-rpath" flag with a separated argument. |
14933 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
14934 |
|
14935 |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
14936 |
# DIR into the resulting binary. |
14937 |
hardcode_direct=$hardcode_direct |
14938 |
|
14939 |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
14940 |
# DIR into the resulting binary and the resulting library dependency is |
14941 |
# "absolute",i.e impossible to change by setting \$shlibpath_var if the |
14942 |
# library is relocated. |
14943 |
hardcode_direct_absolute=$hardcode_direct_absolute |
14944 |
|
14945 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
14946 |
# into the resulting binary. |
14947 |
hardcode_minus_L=$hardcode_minus_L |
14948 |
|
14949 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
14950 |
# into the resulting binary. |
14951 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
14952 |
|
14953 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
14954 |
# into the library and all subsequent libraries and executables linked |
14955 |
# against it. |
14956 |
hardcode_automatic=$hardcode_automatic |
14957 |
|
14958 |
# Set to yes if linker adds runtime paths of dependent libraries |
14959 |
# to runtime path list. |
14960 |
inherit_rpath=$inherit_rpath |
14961 |
|
14962 |
# Whether libtool must link a program against all its dependency libraries. |
14963 |
link_all_deplibs=$link_all_deplibs |
14964 |
|
14965 |
# Set to "yes" if exported symbols are required. |
14966 |
always_export_symbols=$always_export_symbols |
14967 |
|
14968 |
# The commands to list exported symbols. |
14969 |
export_symbols_cmds=$lt_export_symbols_cmds |
14970 |
|
14971 |
# Symbols that should not be listed in the preloaded symbols. |
14972 |
exclude_expsyms=$lt_exclude_expsyms |
14973 |
|
14974 |
# Symbols that must always be exported. |
14975 |
include_expsyms=$lt_include_expsyms |
14976 |
|
14977 |
# Commands necessary for linking programs (against libraries) with templates. |
14978 |
prelink_cmds=$lt_prelink_cmds |
14979 |
|
14980 |
# Commands necessary for finishing linking programs. |
14981 |
postlink_cmds=$lt_postlink_cmds |
14982 |
|
14983 |
# Specify filename containing input files. |
14984 |
file_list_spec=$lt_file_list_spec |
14985 |
|
14986 |
# How to hardcode a shared library path into an executable. |
14987 |
hardcode_action=$hardcode_action |
14988 |
|
14989 |
# ### END LIBTOOL CONFIG |
14990 |
|
14991 |
_LT_EOF |
14992 |
|
14993 |
case $host_os in |
14994 |
aix3*) |
14995 |
cat <<\_LT_EOF >> "$cfgfile" |
14996 |
# AIX sometimes has problems with the GCC collect2 program. For some |
14997 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
14998 |
# vanish in a puff of smoke. |
14999 |
if test set != "${COLLECT_NAMES+set}"; then |
15000 |
COLLECT_NAMES= |
15001 |
export COLLECT_NAMES |
15002 |
fi |
15003 |
_LT_EOF |
15004 |
;; |
15005 |
esac |
15006 |
|
15007 |
|
15008 |
ltmain=$ac_aux_dir/ltmain.sh |
15009 |
|
15010 |
|
15011 |
# We use sed instead of cat because bash on DJGPP gets confused if |
15012 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
15013 |
# text mode, it properly converts lines to CR/LF. This bash problem |
15014 |
# is reportedly fixed, but why not run on old versions too? |
15015 |
sed '$q' "$ltmain" >> "$cfgfile" \ |
15016 |
|| (rm -f "$cfgfile"; exit 1) |
15017 |
|
15018 |
mv -f "$cfgfile" "$ofile" || |
15019 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
15020 |
chmod +x "$ofile" |
15021 |
|
15022 |
;; |
15023 |
|
15024 |
esac |
15025 |
done # for ac_tag |
15026 |
|
15027 |
|
15028 |
as_fn_exit 0 |
15029 |
_ACEOF |
15030 |
ac_clean_files=$ac_clean_files_save |
15031 |
|
15032 |
test $ac_write_fail = 0 || |
15033 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15034 |
|
15035 |
|
15036 |
# configure is writing to config.log, and then calls config.status. |
15037 |
# config.status does its own redirection, appending to config.log. |
15038 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
15039 |
# by configure, so config.status won't be able to write to it; its |
15040 |
# output is simply discarded. So we exec the FD to /dev/null, |
15041 |
# effectively closing config.log, so it can be properly (re)opened and |
15042 |
# appended to by config.status. When coming back to configure, we |
15043 |
# need to make the FD available again. |
15044 |
if test "$no_create" != yes; then |
15045 |
ac_cs_success=: |
15046 |
ac_config_status_args= |
15047 |
test "$silent" = yes && |
15048 |
ac_config_status_args="$ac_config_status_args --quiet" |
15049 |
exec 5>/dev/null |
15050 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15051 |
exec 5>>config.log |
15052 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15053 |
# would make configure fail if this is the last instruction. |
15054 |
$ac_cs_success || as_fn_exit 1 |
15055 |
fi |
15056 |
|
15057 |
# |
15058 |
# CONFIG_SUBDIRS section. |
15059 |
# |
15060 |
if test "$no_recursion" != yes; then |
15061 |
|
15062 |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
15063 |
# so they do not pile up. |
15064 |
ac_sub_configure_args= |
15065 |
ac_prev= |
15066 |
eval "set x $ac_configure_args" |
15067 |
shift |
15068 |
for ac_arg |
15069 |
do |
15070 |
if test -n "$ac_prev"; then |
15071 |
ac_prev= |
15072 |
continue |
15073 |
fi |
15074 |
case $ac_arg in |
15075 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
15076 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
15077 |
ac_prev=cache_file ;; |
15078 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
15079 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
15080 |
| --c=*) |
15081 |
;; |
15082 |
--config-cache | -C) |
15083 |
;; |
15084 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
15085 |
ac_prev=srcdir ;; |
15086 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
15087 |
;; |
15088 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
15089 |
ac_prev=prefix ;; |
15090 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
15091 |
;; |
15092 |
--disable-option-checking) |
15093 |
;; |
15094 |
*) |
15095 |
case $ac_arg in |
15096 |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15097 |
esac |
15098 |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
15099 |
esac |
15100 |
done |
15101 |
|
15102 |
# Always prepend --prefix to ensure using the same prefix |
15103 |
# in subdir configurations. |
15104 |
ac_arg="--prefix=$prefix" |
15105 |
case $ac_arg in |
15106 |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15107 |
esac |
15108 |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
15109 |
|
15110 |
# Pass --silent |
15111 |
if test "$silent" = yes; then |
15112 |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
15113 |
fi |
15114 |
|
15115 |
# Always prepend --disable-option-checking to silence warnings, since |
15116 |
# different subdirs can have different --enable and --with options. |
15117 |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
15118 |
|
15119 |
ac_popdir=`pwd` |
15120 |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
15121 |
|
15122 |
# Do not complain, so a configure script can configure whichever |
15123 |
# parts of a large source tree are present. |
15124 |
test -d "$srcdir/$ac_dir" || continue |
15125 |
|
15126 |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
15127 |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
15128 |
$as_echo "$ac_msg" >&6 |
15129 |
as_dir="$ac_dir"; as_fn_mkdir_p |
15130 |
ac_builddir=. |
15131 |
|
15132 |
case "$ac_dir" in |
15133 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
15134 |
*) |
15135 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
15136 |
# A ".." for each directory in $ac_dir_suffix. |
15137 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
15138 |
case $ac_top_builddir_sub in |
15139 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
15140 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
15141 |
esac ;; |
15142 |
esac |
15143 |
ac_abs_top_builddir=$ac_pwd |
15144 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
15145 |
# for backward compatibility: |
15146 |
ac_top_builddir=$ac_top_build_prefix |
15147 |
|
15148 |
case $srcdir in |
15149 |
.) # We are building in place. |
15150 |
ac_srcdir=. |
15151 |
ac_top_srcdir=$ac_top_builddir_sub |
15152 |
ac_abs_top_srcdir=$ac_pwd ;; |
15153 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
15154 |
ac_srcdir=$srcdir$ac_dir_suffix; |
15155 |
ac_top_srcdir=$srcdir |
15156 |
ac_abs_top_srcdir=$srcdir ;; |
15157 |
*) # Relative name. |
15158 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
15159 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
15160 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
15161 |
esac |
15162 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
15163 |
|
15164 |
|
15165 |
cd "$ac_dir" |
15166 |
|
15167 |
# Check for guested configure; otherwise get Cygnus style configure. |
15168 |
if test -f "$ac_srcdir/configure.gnu"; then |
15169 |
ac_sub_configure=$ac_srcdir/configure.gnu |
15170 |
elif test -f "$ac_srcdir/configure"; then |
15171 |
ac_sub_configure=$ac_srcdir/configure |
15172 |
elif test -f "$ac_srcdir/configure.in"; then |
15173 |
# This should be Cygnus configure. |
15174 |
ac_sub_configure=$ac_aux_dir/configure |
15175 |
else |
15176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
15177 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
15178 |
ac_sub_configure= |
15179 |
fi |
15180 |
|
15181 |
# The recursion is here. |
15182 |
if test -n "$ac_sub_configure"; then |
15183 |
# Make the cache file name correct relative to the subdirectory. |
15184 |
case $cache_file in |
15185 |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
15186 |
*) # Relative name. |
15187 |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
15188 |
esac |
15189 |
|
15190 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
15191 |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
15192 |
# The eval makes quoting arguments work. |
15193 |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
15194 |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
15195 |
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
15196 |
fi |
15197 |
|
15198 |
cd "$ac_popdir" |
15199 |
done |
15200 |
fi |
15201 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15203 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15204 |
fi |
15205 |
|
15206 |
|
15207 |
|
15208 |
echo "###############################################################################" |
15209 |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
15210 |
echo |
15211 |
echo "HOPM will be installed in ${prefix}. To change this, run:" |
15212 |
echo " ./configure --prefix=DIRECTORY" |
15213 |
echo "###############################################################################" |