Debian Codegraph @

BLOSC/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for H5BZ2 0.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and [email protected]
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
281 $0: have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318 set +e
319 as_fn_set_status $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 test -d "$as_dir" && break
364 done
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
527 else
528 rm -f conf$$.dir
529 mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif ln conf$$.file conf$$ 2>/dev/null; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 test -d ./-p && rmdir ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='H5BZ2'
592 PACKAGE_TARNAME='h5bz2'
593 PACKAGE_VERSION='0.1'
594 PACKAGE_STRING='H5BZ2 0.1'
595 PACKAGE_BUGREPORT='[email protected]'
596 PACKAGE_URL=''
597
598 ac_default_prefix=`pwd`/plugins
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 # include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 # include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 H5BLOSC_FALSE
639 H5BLOSC_TRUE
640 LIBOBJS
641 HDF5PATH
642 LIBHDF5
643 H5CPP
644 H5FC_PP
645 H5FC
646 H5CC_PP
647 H5CC
648 CPP
649 OTOOL64
650 OTOOL
651 LIPO
652 NMEDIT
653 DSYMUTIL
654 MANIFEST_TOOL
655 ac_ct_AR
656 AR
657 DLLTOOL
658 OBJDUMP
659 LN_S
660 NM
661 ac_ct_DUMPBIN
662 DUMPBIN
663 LD
664 FGREP
665 EGREP
666 GREP
667 SED
668 LIBTOOL
669 host_os
670 host_vendor
671 host_cpu
672 host
673 build_os
674 build_vendor
675 build_cpu
676 build
677 RANLIB
678 am__fastdepCC_FALSE
679 am__fastdepCC_TRUE
680 CCDEPMODE
681 am__nodep
682 AMDEPBACKSLASH
683 AMDEP_FALSE
684 AMDEP_TRUE
685 am__quote
686 am__include
687 DEPDIR
688 OBJEXT
689 EXEEXT
690 ac_ct_CC
691 CPPFLAGS
692 LDFLAGS
693 CFLAGS
694 CC
695 MAINT
696 MAINTAINER_MODE_FALSE
697 MAINTAINER_MODE_TRUE
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_maintainer_mode
763 enable_dependency_tracking
764 enable_shared
765 enable_static
766 with_pic
767 enable_fast_install
768 with_gnu_ld
769 with_sysroot
770 enable_libtool_lock
771 with_fnord
772 with_blosclib
773 with_hdf5
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
785
786 # Initialize some variables set by options.
787 ac_init_help=
788 ac_init_version=false
789 ac_unrecognized_opts=
790 ac_unrecognized_sep=
791 # The variables have the same names as the options, with
792 # dashes changed to underlines.
793 cache_file=/dev/null
794 exec_prefix=NONE
795 no_create=
796 no_recursion=
797 prefix=NONE
798 program_prefix=NONE
799 program_suffix=NONE
800 program_transform_name=s,x,x,
801 silent=
802 site=
803 srcdir=
804 verbose=
805 x_includes=NONE
806 x_libraries=NONE
807
808 # Installation directory options.
809 # These are left unexpanded so users can "make install exec_prefix=/foo"
810 # and all the variables that are supposed to be based on exec_prefix
811 # by default will actually change.
812 # Use braces instead of parens because sh, perl, etc. also accept them.
813 # (The list follows the same order as the GNU Coding Standards.)
814 bindir='${exec_prefix}/bin'
815 sbindir='${exec_prefix}/sbin'
816 libexecdir='${exec_prefix}/libexec'
817 datarootdir='${prefix}/share'
818 datadir='${datarootdir}'
819 sysconfdir='${prefix}/etc'
820 sharedstatedir='${prefix}/com'
821 localstatedir='${prefix}/var'
822 includedir='${prefix}/include'
823 oldincludedir='/usr/include'
824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
825 infodir='${datarootdir}/info'
826 htmldir='${docdir}'
827 dvidir='${docdir}'
828 pdfdir='${docdir}'
829 psdir='${docdir}'
830 libdir='${exec_prefix}/lib'
831 localedir='${datarootdir}/locale'
832 mandir='${datarootdir}/man'
833
834 ac_prev=
835 ac_dashdash=
836 for ac_option
837 do
838 # If the previous option needs an argument, assign it.
839 if test -n "$ac_prev"; then
840 eval $ac_prev=\$ac_option
841 ac_prev=
842 continue
843 fi
844
845 case $ac_option in
846 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 *=) ac_optarg= ;;
848 *) ac_optarg=yes ;;
849 esac
850
851 # Accept the important Cygnus configure options, so we can diagnose typos.
852
853 case $ac_dashdash$ac_option in
854 --)
855 ac_dashdash=yes ;;
856
857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
858 ac_prev=bindir ;;
859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860 bindir=$ac_optarg ;;
861
862 -build | --build | --buil | --bui | --bu)
863 ac_prev=build_alias ;;
864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865 build_alias=$ac_optarg ;;
866
867 -cache-file | --cache-file | --cache-fil | --cache-fi \
868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869 ac_prev=cache_file ;;
870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872 cache_file=$ac_optarg ;;
873
874 --config-cache | -C)
875 cache_file=config.cache ;;
876
877 -datadir | --datadir | --datadi | --datad)
878 ac_prev=datadir ;;
879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
880 datadir=$ac_optarg ;;
881
882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883 | --dataroo | --dataro | --datar)
884 ac_prev=datarootdir ;;
885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887 datarootdir=$ac_optarg ;;
888
889 -disable-* | --disable-*)
890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893 as_fn_error $? "invalid feature name: $ac_useropt"
894 ac_useropt_orig=$ac_useropt
895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
897 *"
898 "enable_$ac_useropt"
899 "*) ;;
900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep=', ';;
902 esac
903 eval enable_$ac_useropt=no ;;
904
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
909
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
914
915 -enable-* | --enable-*)
916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919 as_fn_error $? "invalid feature name: $ac_useropt"
920 ac_useropt_orig=$ac_useropt
921 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
923 *"
924 "enable_$ac_useropt"
925 "*) ;;
926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep=', ';;
928 esac
929 eval enable_$ac_useropt=\$ac_optarg ;;
930
931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933 | --exec | --exe | --ex)
934 ac_prev=exec_prefix ;;
935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937 | --exec=* | --exe=* | --ex=*)
938 exec_prefix=$ac_optarg ;;
939
940 -gas | --gas | --ga | --g)
941 # Obsolete; use --with-gas.
942 with_gas=yes ;;
943
944 -help | --help | --hel | --he | -h)
945 ac_init_help=long ;;
946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947 ac_init_help=recursive ;;
948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949 ac_init_help=short ;;
950
951 -host | --host | --hos | --ho)
952 ac_prev=host_alias ;;
953 -host=* | --host=* | --hos=* | --ho=*)
954 host_alias=$ac_optarg ;;
955
956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957 ac_prev=htmldir ;;
958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959 | --ht=*)
960 htmldir=$ac_optarg ;;
961
962 -includedir | --includedir | --includedi | --included | --include \
963 | --includ | --inclu | --incl | --inc)
964 ac_prev=includedir ;;
965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966 | --includ=* | --inclu=* | --incl=* | --inc=*)
967 includedir=$ac_optarg ;;
968
969 -infodir | --infodir | --infodi | --infod | --info | --inf)
970 ac_prev=infodir ;;
971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972 infodir=$ac_optarg ;;
973
974 -libdir | --libdir | --libdi | --libd)
975 ac_prev=libdir ;;
976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 libdir=$ac_optarg ;;
978
979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980 | --libexe | --libex | --libe)
981 ac_prev=libexecdir ;;
982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983 | --libexe=* | --libex=* | --libe=*)
984 libexecdir=$ac_optarg ;;
985
986 -localedir | --localedir | --localedi | --localed | --locale)
987 ac_prev=localedir ;;
988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989 localedir=$ac_optarg ;;
990
991 -localstatedir | --localstatedir | --localstatedi | --localstated \
992 | --localstate | --localstat | --localsta | --localst | --locals)
993 ac_prev=localstatedir ;;
994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996 localstatedir=$ac_optarg ;;
997
998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999 ac_prev=mandir ;;
1000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 mandir=$ac_optarg ;;
1002
1003 -nfp | --nfp | --nf)
1004 # Obsolete; use --without-fp.
1005 with_fp=no ;;
1006
1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008 | --no-cr | --no-c | -n)
1009 no_create=yes ;;
1010
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 no_recursion=yes ;;
1014
1015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017 | --oldin | --oldi | --old | --ol | --o)
1018 ac_prev=oldincludedir ;;
1019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022 oldincludedir=$ac_optarg ;;
1023
1024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025 ac_prev=prefix ;;
1026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027 prefix=$ac_optarg ;;
1028
1029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030 | --program-pre | --program-pr | --program-p)
1031 ac_prev=program_prefix ;;
1032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034 program_prefix=$ac_optarg ;;
1035
1036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037 | --program-suf | --program-su | --program-s)
1038 ac_prev=program_suffix ;;
1039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041 program_suffix=$ac_optarg ;;
1042
1043 -program-transform-name | --program-transform-name \
1044 | --program-transform-nam | --program-transform-na \
1045 | --program-transform-n | --program-transform- \
1046 | --program-transform | --program-transfor \
1047 | --program-transfo | --program-transf \
1048 | --program-trans | --program-tran \
1049 | --progr-tra | --program-tr | --program-t)
1050 ac_prev=program_transform_name ;;
1051 -program-transform-name=* | --program-transform-name=* \
1052 | --program-transform-nam=* | --program-transform-na=* \
1053 | --program-transform-n=* | --program-transform-=* \
1054 | --program-transform=* | --program-transfor=* \
1055 | --program-transfo=* | --program-transf=* \
1056 | --program-trans=* | --program-tran=* \
1057 | --progr-tra=* | --program-tr=* | --program-t=*)
1058 program_transform_name=$ac_optarg ;;
1059
1060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061 ac_prev=pdfdir ;;
1062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063 pdfdir=$ac_optarg ;;
1064
1065 -psdir | --psdir | --psdi | --psd | --ps)
1066 ac_prev=psdir ;;
1067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 psdir=$ac_optarg ;;
1069
1070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071 | -silent | --silent | --silen | --sile | --sil)
1072 silent=yes ;;
1073
1074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075 ac_prev=sbindir ;;
1076 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077 | --sbi=* | --sb=*)
1078 sbindir=$ac_optarg ;;
1079
1080 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082 | --sharedst | --shareds | --shared | --share | --shar \
1083 | --sha | --sh)
1084 ac_prev=sharedstatedir ;;
1085 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088 | --sha=* | --sh=*)
1089 sharedstatedir=$ac_optarg ;;
1090
1091 -site | --site | --sit)
1092 ac_prev=site ;;
1093 -site=* | --site=* | --sit=*)
1094 site=$ac_optarg ;;
1095
1096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097 ac_prev=srcdir ;;
1098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099 srcdir=$ac_optarg ;;
1100
1101 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102 | --syscon | --sysco | --sysc | --sys | --sy)
1103 ac_prev=sysconfdir ;;
1104 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106 sysconfdir=$ac_optarg ;;
1107
1108 -target | --target | --targe | --targ | --tar | --ta | --t)
1109 ac_prev=target_alias ;;
1110 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111 target_alias=$ac_optarg ;;
1112
1113 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 verbose=yes ;;
1115
1116 -version | --version | --versio | --versi | --vers | -V)
1117 ac_init_version=: ;;
1118
1119 -with-* | --with-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1127 *"
1128 "with_$ac_useropt"
1129 "*) ;;
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1132 esac
1133 eval with_$ac_useropt=\$ac_optarg ;;
1134
1135 -without-* | --without-*)
1136 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139 as_fn_error $? "invalid package name: $ac_useropt"
1140 ac_useropt_orig=$ac_useropt
1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1143 *"
1144 "with_$ac_useropt"
1145 "*) ;;
1146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep=', ';;
1148 esac
1149 eval with_$ac_useropt=no ;;
1150
1151 --x)
1152 # Obsolete; use --with-x.
1153 with_x=yes ;;
1154
1155 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156 | --x-incl | --x-inc | --x-in | --x-i)
1157 ac_prev=x_includes ;;
1158 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160 x_includes=$ac_optarg ;;
1161
1162 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164 ac_prev=x_libraries ;;
1165 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167 x_libraries=$ac_optarg ;;
1168
1169 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information"
1171 ;;
1172
1173 *=*)
1174 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' | [0-9]* | *[!_$as_cr_alnum]* )
1178 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1179 esac
1180 eval $ac_envvar=\$ac_optarg
1181 export $ac_envvar ;;
1182
1183 *)
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189 ;;
1190
1191 esac
1192 done
1193
1194 if test -n "$ac_prev"; then
1195 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error $? "missing argument to $ac_option"
1197 fi
1198
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1201 no) ;;
1202 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 esac
1205 fi
1206
1207 # Check all directory arguments for consistency.
1208 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1212 do
1213 eval ac_val=\$$ac_var
1214 # Remove trailing slashes.
1215 case $ac_val in
1216 */ )
1217 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\$ac_val;;
1219 esac
1220 # Be sure to have absolute directory names.
1221 case $ac_val in
1222 [\\/$]* | ?:[\\/]* ) continue;;
1223 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224 esac
1225 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1226 done
1227
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1231 build=$build_alias
1232 host=$host_alias
1233 target=$target_alias
1234
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x; then
1237 if test "x$build_alias" = x; then
1238 cross_compiling=maybe
1239 elif test "x$build_alias" != "x$host_alias"; then
1240 cross_compiling=yes
1241 fi
1242 fi
1243
1244 ac_tool_prefix=
1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246
1247 test "$silent" = yes && exec 6>/dev/null
1248
1249
1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251 ac_ls_di=`ls -di .` &&
1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253 as_fn_error $? "working directory cannot be determined"
1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255 as_fn_error $? "pwd does not report name of working directory"
1256
1257
1258 # Find the source files, if location was not specified.
1259 if test -z "$srcdir"; then
1260 ac_srcdir_defaulted=yes
1261 # Try the directory containing this script, then the parent directory.
1262 ac_confdir=`$as_dirname -- "$as_myself" ||
1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264 X"$as_myself" : 'X\(//\)[^/]' \| \
1265 X"$as_myself" : 'X\(//\)$' \| \
1266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267 $as_echo X"$as_myself" |
1268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 s//\1/
1270 q
1271 }
1272 /^X\(\/\/\)[^/].*/{
1273 s//\1/
1274 q
1275 }
1276 /^X\(\/\/\)$/{
1277 s//\1/
1278 q
1279 }
1280 /^X\(\/\).*/{
1281 s//\1/
1282 q
1283 }
1284 s/.*/./; q'`
1285 srcdir=$ac_confdir
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287 srcdir=..
1288 fi
1289 else
1290 ac_srcdir_defaulted=no
1291 fi
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295 fi
1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 ac_abs_confdir=`(
1298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 pwd)`
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 srcdir=.
1303 fi
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1307 case $srcdir in
1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 esac
1310 for ac_var in $ac_precious_vars; do
1311 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_${ac_var}_value=\$${ac_var}
1313 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315 done
1316
1317 #
1318 # Report the --help message.
1319 #
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1323 cat <<_ACEOF
1324 \`configure' configures H5BZ2 0.1 to adapt to many kinds of systems.
1325
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1327
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1330
1331 Defaults for the options are specified in brackets.
1332
1333 Configuration:
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking ...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 [PREFIX]
1349
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1354
1355 For better control, use the options below.
1356
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/h5bz2]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1377 _ACEOF
1378
1379 cat <<\_ACEOF
1380
1381 Program names:
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1385
1386 System types:
1387 --build=BUILD configure for building on BUILD [guessed]
1388 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1389 _ACEOF
1390 fi
1391
1392 if test -n "$ac_init_help"; then
1393 case $ac_init_help in
1394 short | recursive ) echo "Configuration of H5BZ2 0.1:";;
1395 esac
1396 cat <<\_ACEOF
1397
1398 Optional Features:
1399 --disable-option-checking ignore unrecognized --enable/--with options
1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1402 --enable-maintainer-mode
1403 enable make rules and dependencies not useful (and
1404 sometimes confusing) to the casual installer
1405 --enable-dependency-tracking
1406 do not reject slow dependency extractors
1407 --disable-dependency-tracking
1408 speeds up one-time build
1409 --enable-shared[=PKGS] build shared libraries [default=yes]
1410 --enable-static[=PKGS] build static libraries [default=yes]
1411 --enable-fast-install[=PKGS]
1412 optimize for fast installation [default=yes]
1413 --disable-libtool-lock avoid locking (might break parallel builds)
1414
1415 Optional Packages:
1416 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1417 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1418 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1419 both]
1420 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1421 --with-sysroot=DIR Search for dependent libraries within DIR
1422 (or the compiler's sysroot if not specified).
1423
1424 For the following --with-xxx options, you can specify where the header
1425 files and libraries are in two different ways:
1426
1427 --with-xxx=INC,LIB - Specify individually the include directory and
1428 library directory separated by a comma
1429 --with-xxx=DIR - Specify only the directory which contains the
1430 include/ and lib/ subdirectories
1431
1432 --with-blosclib=DIR Use blosclib library for compressed I/O filter
1433 [default=yes]
1434 --with-hdf5=DIR Where to find the HDF5 library
1435
1436 Some influential environment variables:
1437 CC C compiler command
1438 CFLAGS C compiler flags
1439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1440 nonstandard directory <lib dir>
1441 LIBS libraries to pass to the linker, e.g. -l<library>
1442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443 you have headers in a nonstandard directory <include dir>
1444 CPP C preprocessor
1445
1446 Use these variables to override the choices made by `configure' or to help
1447 it to find libraries and programs with nonstandard names/locations.
1448
1449 Report bugs to <[email protected]>.
1450 _ACEOF
1451 ac_status=$?
1452 fi
1453
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1459 continue
1460 ac_builddir=.
1461
1462 case "$ac_dir" in
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 *)
1465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1471 esac ;;
1472 esac
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1477
1478 case $srcdir in
1479 .) # We are building in place.
1480 ac_srcdir=.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1487 *) # Relative name.
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1491 esac
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1493
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1497 echo &&
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1500 echo &&
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1502 else
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1504 fi || ac_status=$?
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1506 done
1507 fi
1508
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1511 cat <<\_ACEOF
1512 H5BZ2 configure 0.1
1513 generated by GNU Autoconf 2.69
1514
1515 Copyright (C) 2012 Free Software Foundation, Inc.
1516 This configure script is free software; the Free Software Foundation
1517 gives unlimited permission to copy, distribute and modify it.
1518 _ACEOF
1519 exit
1520 fi
1521
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1525
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1530 {
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext
1533 if { { ac_try="$ac_compile"
1534 case "(($ac_try" in
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1537 esac
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1541 ac_status=$?
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1546 fi
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.$ac_objext; then :
1552 ac_retval=0
1553 else
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1556
1557 ac_retval=1
1558 fi
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status $ac_retval
1561
1562 } # ac_fn_c_try_compile
1563
1564 # ac_fn_c_try_link LINENO
1565 # -----------------------
1566 # Try to link conftest.$ac_ext, and return whether this succeeded.
1567 ac_fn_c_try_link ()
1568 {
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 rm -f conftest.$ac_objext conftest$ac_exeext
1571 if { { ac_try="$ac_link"
1572 case "(($ac_try" in
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1575 esac
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_link") 2>conftest.err
1579 ac_status=$?
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1584 fi
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest$ac_exeext && {
1590 test "$cross_compiling" = yes ||
1591 test -x conftest$ac_exeext
1592 }; then :
1593 ac_retval=0
1594 else
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1597
1598 ac_retval=1
1599 fi
1600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602 # interfere with the next link command; also delete a directory that is
1603 # left behind by Apple's compiler. We do this before executing the actions.
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status $ac_retval
1607
1608 } # ac_fn_c_try_link
1609
1610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1611 # -------------------------------------------------------
1612 # Tests whether HEADER exists and can be compiled using the include files in
1613 # INCLUDES, setting the cache variable VAR accordingly.
1614 ac_fn_c_check_header_compile ()
1615 {
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if eval \${$3+:} false; then :
1620 $as_echo_n "(cached) " >&6
1621 else
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1624 $4
1625 #include <$2>
1626 _ACEOF
1627 if ac_fn_c_try_compile "$LINENO"; then :
1628 eval "$3=yes"
1629 else
1630 eval "$3=no"
1631 fi
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 fi
1634 eval ac_res=\$$3
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638
1639 } # ac_fn_c_check_header_compile
1640
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_cpp ()
1645 {
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_cpp conftest.$ac_ext"
1648 case "(($ac_try" in
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1651 esac
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655 ac_status=$?
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1660 fi
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } > conftest.i && {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1665 }; then :
1666 ac_retval=0
1667 else
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1670
1671 ac_retval=1
1672 fi
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status $ac_retval
1675
1676 } # ac_fn_c_try_cpp
1677
1678 # ac_fn_c_try_run LINENO
1679 # ----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1681 # that executables *can* be run.
1682 ac_fn_c_try_run ()
1683 {
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { { ac_try="$ac_link"
1686 case "(($ac_try" in
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1689 esac
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>&5
1693 ac_status=$?
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1696 { { case "(($ac_try" in
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1699 esac
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_try") 2>&5
1703 ac_status=$?
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; }; }; then :
1706 ac_retval=0
1707 else
1708 $as_echo "$as_me: program exited with status $ac_status" >&5
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1711
1712 ac_retval=$ac_status
1713 fi
1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1717
1718 } # ac_fn_c_try_run
1719
1720 # ac_fn_c_check_func LINENO FUNC VAR
1721 # ----------------------------------
1722 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1723 ac_fn_c_check_func ()
1724 {
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1730 else
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1735 #define $2 innocuous_$2
1736
1737 /* System header to define __stub macros and hopefully few prototypes,
1738 which can conflict with char $2 (); below.
1739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1740 <limits.h> exists even on freestanding compilers. */
1741
1742 #ifdef __STDC__
1743 # include <limits.h>
1744 #else
1745 # include <assert.h>
1746 #endif
1747
1748 #undef $2
1749
1750 /* Override any GCC internal prototype to avoid an error.
1751 Use char because int might match the return type of a GCC
1752 builtin and then its argument prototype would still apply. */
1753 #ifdef __cplusplus
1754 extern "C"
1755 #endif
1756 char $2 ();
1757 /* The GNU C library defines this for functions which it implements
1758 to always fail with ENOSYS. Some functions are actually named
1759 something starting with __ and the normal name is an alias. */
1760 #if defined __stub_$2 || defined __stub___$2
1761 choke me
1762 #endif
1763
1764 int
1765 main ()
1766 {
1767 return $2 ();
1768 ;
1769 return 0;
1770 }
1771 _ACEOF
1772 if ac_fn_c_try_link "$LINENO"; then :
1773 eval "$3=yes"
1774 else
1775 eval "$3=no"
1776 fi
1777 rm -f core conftest.err conftest.$ac_objext \
1778 conftest$ac_exeext conftest.$ac_ext
1779 fi
1780 eval ac_res=\$$3
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784
1785 } # ac_fn_c_check_func
1786
1787 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1788 # -------------------------------------------------------
1789 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1790 # the include files in INCLUDES and setting the cache variable VAR
1791 # accordingly.
1792 ac_fn_c_check_header_mongrel ()
1793 {
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 if eval \${$3+:} false; then :
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1800 fi
1801 eval ac_res=\$$3
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 else
1805 # Is the header compilable?
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1807 $as_echo_n "checking $2 usability... " >&6; }
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 $4
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814 ac_header_compiler=yes
1815 else
1816 ac_header_compiler=no
1817 fi
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1820 $as_echo "$ac_header_compiler" >&6; }
1821
1822 # Is the header present?
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1824 $as_echo_n "checking $2 presence... " >&6; }
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1827 #include <$2>
1828 _ACEOF
1829 if ac_fn_c_try_cpp "$LINENO"; then :
1830 ac_header_preproc=yes
1831 else
1832 ac_header_preproc=no
1833 fi
1834 rm -f conftest.err conftest.i conftest.$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1836 $as_echo "$ac_header_preproc" >&6; }
1837
1838 # So? What about this header?
1839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1840 yes:no: )
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1842 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1844 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1845 ;;
1846 no:yes:* )
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1848 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1850 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1852 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1854 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1856 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1857 ( $as_echo "## -------------------------------- ##
1858 ## Report this to [email protected] ##
1859 ## -------------------------------- ##"
1860 ) | sed "s/^/$as_me: WARNING: /" >&2
1861 ;;
1862 esac
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866 $as_echo_n "(cached) " >&6
1867 else
1868 eval "$3=\$ac_header_compiler"
1869 fi
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 fi
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875
1876 } # ac_fn_c_check_header_mongrel
1877
1878 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1879 # -------------------------------------------
1880 # Tests whether TYPE exists after having included INCLUDES, setting cache
1881 # variable VAR accordingly.
1882 ac_fn_c_check_type ()
1883 {
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval \${$3+:} false; then :
1888 $as_echo_n "(cached) " >&6
1889 else
1890 eval "$3=no"
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1893 $4
1894 int
1895 main ()
1896 {
1897 if (sizeof ($2))
1898 return 0;
1899 ;
1900 return 0;
1901 }
1902 _ACEOF
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 $4
1907 int
1908 main ()
1909 {
1910 if (sizeof (($2)))
1911 return 0;
1912 ;
1913 return 0;
1914 }
1915 _ACEOF
1916 if ac_fn_c_try_compile "$LINENO"; then :
1917
1918 else
1919 eval "$3=yes"
1920 fi
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 fi
1925 eval ac_res=\$$3
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929
1930 } # ac_fn_c_check_type
1931 cat >config.log <<_ACEOF
1932 This file contains any messages produced by compilers while
1933 running configure, to aid debugging if configure makes a mistake.
1934
1935 It was created by H5BZ2 $as_me 0.1, which was
1936 generated by GNU Autoconf 2.69. Invocation command line was
1937
1938 $ $0 $@
1939
1940 _ACEOF
1941 exec 5>>config.log
1942 {
1943 cat <<_ASUNAME
1944 ## --------- ##
1945 ## Platform. ##
1946 ## --------- ##
1947
1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1953
1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1956
1957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1960 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1964
1965 _ASUNAME
1966
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1968 for as_dir in $PATH
1969 do
1970 IFS=$as_save_IFS
1971 test -z "$as_dir" && as_dir=.
1972 $as_echo "PATH: $as_dir"
1973 done
1974 IFS=$as_save_IFS
1975
1976 } >&5
1977
1978 cat >&5 <<_ACEOF
1979
1980
1981 ## ----------- ##
1982 ## Core tests. ##
1983 ## ----------- ##
1984
1985 _ACEOF
1986
1987
1988 # Keep a trace of the command line.
1989 # Strip out --no-create and --no-recursion so they do not pile up.
1990 # Strip out --silent because we don't want to record it for future runs.
1991 # Also quote any args containing shell meta-characters.
1992 # Make two passes to allow for proper duplicate-argument suppression.
1993 ac_configure_args=
1994 ac_configure_args0=
1995 ac_configure_args1=
1996 ac_must_keep_next=false
1997 for ac_pass in 1 2
1998 do
1999 for ac_arg
2000 do
2001 case $ac_arg in
2002 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004 | -silent | --silent | --silen | --sile | --sil)
2005 continue ;;
2006 *\'*)
2007 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2008 esac
2009 case $ac_pass in
2010 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2011 2)
2012 as_fn_append ac_configure_args1 " '$ac_arg'"
2013 if test $ac_must_keep_next = true; then
2014 ac_must_keep_next=false # Got value, back to normal.
2015 else
2016 case $ac_arg in
2017 *=* | --config-cache | -C | -disable-* | --disable-* \
2018 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2019 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2020 | -with-* | --with-* | -without-* | --without-* | --x)
2021 case "$ac_configure_args0 " in
2022 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2023 esac
2024 ;;
2025 -* ) ac_must_keep_next=true ;;
2026 esac
2027 fi
2028 as_fn_append ac_configure_args " '$ac_arg'"
2029 ;;
2030 esac
2031 done
2032 done
2033 { ac_configure_args0=; unset ac_configure_args0;}
2034 { ac_configure_args1=; unset ac_configure_args1;}
2035
2036 # When interrupted or exit'd, cleanup temporary files, and complete
2037 # config.log. We remove comments because anyway the quotes in there
2038 # would cause problems or look ugly.
2039 # WARNING: Use '\'' to represent an apostrophe within the trap.
2040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2041 trap 'exit_status=$?
2042 # Save into config.log some information that might help in debugging.
2043 {
2044 echo
2045
2046 $as_echo "## ---------------- ##
2047 ## Cache variables. ##
2048 ## ---------------- ##"
2049 echo
2050 # The following way of writing the cache mishandles newlines in values,
2051 (
2052 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2053 eval ac_val=\$$ac_var
2054 case $ac_val in #(
2055 *${as_nl}*)
2056 case $ac_var in #(
2057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059 esac
2060 case $ac_var in #(
2061 _ | IFS | as_nl) ;; #(
2062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2063 *) { eval $ac_var=; unset $ac_var;} ;;
2064 esac ;;
2065 esac
2066 done
2067 (set) 2>&1 |
2068 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2069 *${as_nl}ac_space=\ *)
2070 sed -n \
2071 "s/'\''/'\''\\\\'\'''\''/g;
2072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073 ;; #(
2074 *)
2075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2076 ;;
2077 esac |
2078 sort
2079 )
2080 echo
2081
2082 $as_echo "## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##"
2085 echo
2086 for ac_var in $ac_subst_vars
2087 do
2088 eval ac_val=\$$ac_var
2089 case $ac_val in
2090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 esac
2092 $as_echo "$ac_var='\''$ac_val'\''"
2093 done | sort
2094 echo
2095
2096 if test -n "$ac_subst_files"; then
2097 $as_echo "## ------------------- ##
2098 ## File substitutions. ##
2099 ## ------------------- ##"
2100 echo
2101 for ac_var in $ac_subst_files
2102 do
2103 eval ac_val=\$$ac_var
2104 case $ac_val in
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106 esac
2107 $as_echo "$ac_var='\''$ac_val'\''"
2108 done | sort
2109 echo
2110 fi
2111
2112 if test -s confdefs.h; then
2113 $as_echo "## ----------- ##
2114 ## confdefs.h. ##
2115 ## ----------- ##"
2116 echo
2117 cat confdefs.h
2118 echo
2119 fi
2120 test "$ac_signal" != 0 &&
2121 $as_echo "$as_me: caught signal $ac_signal"
2122 $as_echo "$as_me: exit $exit_status"
2123 } >&5
2124 rm -f core *.core core.conftest.* &&
2125 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2126 exit $exit_status
2127 ' 0
2128 for ac_signal in 1 2 13 15; do
2129 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2130 done
2131 ac_signal=0
2132
2133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2134 rm -f -r conftest* confdefs.h
2135
2136 $as_echo "/* confdefs.h */" > confdefs.h
2137
2138 # Predefined preprocessor variables.
2139
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_NAME "$PACKAGE_NAME"
2142 _ACEOF
2143
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2146 _ACEOF
2147
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2150 _ACEOF
2151
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_STRING "$PACKAGE_STRING"
2154 _ACEOF
2155
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2158 _ACEOF
2159
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_URL "$PACKAGE_URL"
2162 _ACEOF
2163
2164
2165 # Let the site file select an alternate cache file if it wants to.
2166 # Prefer an explicitly selected file to automatically selected ones.
2167 ac_site_file1=NONE
2168 ac_site_file2=NONE
2169 if test -n "$CONFIG_SITE"; then
2170 # We do not want a PATH search for config.site.
2171 case $CONFIG_SITE in #((
2172 -*) ac_site_file1=./$CONFIG_SITE;;
2173 */*) ac_site_file1=$CONFIG_SITE;;
2174 *) ac_site_file1=./$CONFIG_SITE;;
2175 esac
2176 elif test "x$prefix" != xNONE; then
2177 ac_site_file1=$prefix/share/config.site
2178 ac_site_file2=$prefix/etc/config.site
2179 else
2180 ac_site_file1=$ac_default_prefix/share/config.site
2181 ac_site_file2=$ac_default_prefix/etc/config.site
2182 fi
2183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2184 do
2185 test "x$ac_site_file" = xNONE && continue
2186 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189 sed 's/^/| /' "$ac_site_file" >&5
2190 . "$ac_site_file" \
2191 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 as_fn_error $? "failed to load site script $ac_site_file
2194 See \`config.log' for more details" "$LINENO" 5; }
2195 fi
2196 done
2197
2198 if test -r "$cache_file"; then
2199 # Some versions of bash will fail to source /dev/null (special files
2200 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2203 $as_echo "$as_me: loading cache $cache_file" >&6;}
2204 case $cache_file in
2205 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2206 *) . "./$cache_file";;
2207 esac
2208 fi
2209 else
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2211 $as_echo "$as_me: creating cache $cache_file" >&6;}
2212 >$cache_file
2213 fi
2214
2215 # Check that the precious variables saved in the cache have kept the same
2216 # value.
2217 ac_cache_corrupted=false
2218 for ac_var in $ac_precious_vars; do
2219 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2220 eval ac_new_set=\$ac_env_${ac_var}_set
2221 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2222 eval ac_new_val=\$ac_env_${ac_var}_value
2223 case $ac_old_set,$ac_new_set in
2224 set,)
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2226 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2228 ,set)
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2230 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2231 ac_cache_corrupted=: ;;
2232 ,);;
2233 *)
2234 if test "x$ac_old_val" != "x$ac_new_val"; then
2235 # differences in whitespace do not lead to failure.
2236 ac_old_val_w=`echo x $ac_old_val`
2237 ac_new_val_w=`echo x $ac_new_val`
2238 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2240 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2241 ac_cache_corrupted=:
2242 else
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2244 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2245 eval $ac_var=\$ac_old_val
2246 fi
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2248 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2250 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2251 fi;;
2252 esac
2253 # Pass precious variables to config.status.
2254 if test "$ac_new_set" = set; then
2255 case $ac_new_val in
2256 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 *) ac_arg=$ac_var=$ac_new_val ;;
2258 esac
2259 case " $ac_configure_args " in
2260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2261 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2262 esac
2263 fi
2264 done
2265 if $ac_cache_corrupted; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2269 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2270 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2271 fi
2272 ## -------------------- ##
2273 ## Main body of script. ##
2274 ## -------------------- ##
2275
2276 ac_ext=c
2277 ac_cpp='$CPP $CPPFLAGS'
2278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2281
2282
2283
2284 ac_aux_dir=
2285 for ac_dir in bin "$srcdir"/bin; do
2286 if test -f "$ac_dir/install-sh"; then
2287 ac_aux_dir=$ac_dir
2288 ac_install_sh="$ac_aux_dir/install-sh -c"
2289 break
2290 elif test -f "$ac_dir/install.sh"; then
2291 ac_aux_dir=$ac_dir
2292 ac_install_sh="$ac_aux_dir/install.sh -c"
2293 break
2294 elif test -f "$ac_dir/shtool"; then
2295 ac_aux_dir=$ac_dir
2296 ac_install_sh="$ac_aux_dir/shtool install -c"
2297 break
2298 fi
2299 done
2300 if test -z "$ac_aux_dir"; then
2301 as_fn_error $? "cannot find install-sh, install.sh, or shtool in bin \"$srcdir\"/bin" "$LINENO" 5
2302 fi
2303
2304 # These three variables are undocumented and unsupported,
2305 # and are intended to be withdrawn in a future Autoconf release.
2306 # They can cause serious problems if a builder's source tree is in a directory
2307 # whose full name contains unusual characters.
2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2310 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2311
2312
2313 ## AM_INIT_AUTOMAKE takes a list of options that should be applied to
2314 ## every Makefile.am when automake is run.
2315 am__api_version='1.12'
2316
2317 # Find a good install program. We prefer a C program (faster),
2318 # so one script is as good as another. But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2323 # AIX /bin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335 $as_echo_n "(cached) " >&6
2336 else
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2339 do
2340 IFS=$as_save_IFS
2341 test -z "$as_dir" && as_dir=.
2342 # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344 ./ | .// | /[cC]/* | \
2345 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2347 /usr/ucb/* ) ;;
2348 *)
2349 # OSF1 and SCO ODT 3.0 have their own names for install.
2350 # Don't use installbsd from OSF since it installs stuff as root
2351 # by default.
2352 for ac_prog in ginstall scoinst install; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2355 if test $ac_prog = install &&
2356 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357 # AIX install. It has an incompatible calling convention.
2358 :
2359 elif test $ac_prog = install &&
2360 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # program-specific install script used by HP pwplus--don't use.
2362 :
2363 else
2364 rm -rf conftest.one conftest.two conftest.dir
2365 echo one > conftest.one
2366 echo two > conftest.two
2367 mkdir conftest.dir
2368 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369 test -s conftest.one && test -s conftest.two &&
2370 test -s conftest.dir/conftest.one &&
2371 test -s conftest.dir/conftest.two
2372 then
2373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2374 break 3
2375 fi
2376 fi
2377 fi
2378 done
2379 done
2380 ;;
2381 esac
2382
2383 done
2384 IFS=$as_save_IFS
2385
2386 rm -rf conftest.one conftest.two conftest.dir
2387
2388 fi
2389 if test "${ac_cv_path_install+set}" = set; then
2390 INSTALL=$ac_cv_path_install
2391 else
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for INSTALL within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 INSTALL=$ac_install_sh
2397 fi
2398 fi
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2401
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2405
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2407
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2409
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2412 # Reject unsafe characters in $srcdir or the absolute working directory
2413 # name. Accept space and tab only in the latter.
2414 am_lf='
2415 '
2416 case `pwd` in
2417 *[\\\"\#\$\&\'\`$am_lf]*)
2418 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2419 esac
2420 case $srcdir in
2421 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2422 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2423 esac
2424
2425 # Do 'set' in a subshell so we don't clobber the current shell's
2426 # arguments. Must try -L first in case configure is actually a
2427 # symlink; some systems play weird games with the mod time of symlinks
2428 # (eg FreeBSD returns the mod time of the symlink's containing
2429 # directory).
2430 if (
2431 am_has_slept=no
2432 for am_try in 1 2; do
2433 echo "timestamp, slept: $am_has_slept" > conftest.file
2434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435 if test "$*" = "X"; then
2436 # -L didn't work.
2437 set X `ls -t "$srcdir/configure" conftest.file`
2438 fi
2439 if test "$*" != "X $srcdir/configure conftest.file" \
2440 && test "$*" != "X conftest.file $srcdir/configure"; then
2441
2442 # If neither matched, then we have a broken ls. This can happen
2443 # if, for instance, CONFIG_SHELL is bash and it inherits a
2444 # broken ls alias from the environment. This has actually
2445 # happened. Such a system could not be considered "sane".
2446 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2447 alias in your environment" "$LINENO" 5
2448 fi
2449 if test "$2" = conftest.file || test $am_try -eq 2; then
2450 break
2451 fi
2452 # Just in case.
2453 sleep 1
2454 am_has_slept=yes
2455 done
2456 test "$2" = conftest.file
2457 )
2458 then
2459 # Ok.
2460 :
2461 else
2462 as_fn_error $? "newly created file is older than distributed files!
2463 Check your system clock" "$LINENO" 5
2464 fi
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2466 $as_echo "yes" >&6; }
2467 # If we didn't sleep, we still need to ensure time stamps of config.status and
2468 # generated files are strictly newer.
2469 am_sleep_pid=
2470 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2471 ( sleep 1 ) &
2472 am_sleep_pid=$!
2473 fi
2474
2475 rm -f conftest.file
2476
2477 test "$program_prefix" != NONE &&
2478 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2479 # Use a double $ so make ignores it.
2480 test "$program_suffix" != NONE &&
2481 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2482 # Double any \ or $.
2483 # By default was `s,x,x', remove it if useless.
2484 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2485 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2486
2487 # expand $ac_aux_dir to an absolute path
2488 am_aux_dir=`cd $ac_aux_dir && pwd`
2489
2490 if test x"${MISSING+set}" != xset; then
2491 case $am_aux_dir in
2492 *\ * | *\ *)
2493 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2494 *)
2495 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2496 esac
2497 fi
2498 # Use eval to expand $SHELL
2499 if eval "$MISSING --run true"; then
2500 am_missing_run="$MISSING --run "
2501 else
2502 am_missing_run=
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2504 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2505 fi
2506
2507 if test x"${install_sh}" != xset; then
2508 case $am_aux_dir in
2509 *\ * | *\ *)
2510 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2511 *)
2512 install_sh="\${SHELL} $am_aux_dir/install-sh"
2513 esac
2514 fi
2515
2516 # Installed binaries are usually stripped using 'strip' when the user
2517 # run "make install-strip". However 'strip' might not be the right
2518 # tool to use in cross-compilation environments, therefore Automake
2519 # will honor the 'STRIP' environment variable to overrule this program.
2520 if test "$cross_compiling" != no; then
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}strip; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_STRIP+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 if test -n "$STRIP"; then
2530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2534 do
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2542 fi
2543 done
2544 done
2545 IFS=$as_save_IFS
2546
2547 fi
2548 fi
2549 STRIP=$ac_cv_prog_STRIP
2550 if test -n "$STRIP"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2552 $as_echo "$STRIP" >&6; }
2553 else
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2556 fi
2557
2558
2559 fi
2560 if test -z "$ac_cv_prog_STRIP"; then
2561 ac_ct_STRIP=$STRIP
2562 # Extract the first word of "strip", so it can be a program name with args.
2563 set dummy strip; ac_word=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2567 $as_echo_n "(cached) " >&6
2568 else
2569 if test -n "$ac_ct_STRIP"; then
2570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2571 else
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 for as_dir in $PATH
2574 do
2575 IFS=$as_save_IFS
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_ac_ct_STRIP="strip"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 break 2
2582 fi
2583 done
2584 done
2585 IFS=$as_save_IFS
2586
2587 fi
2588 fi
2589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2590 if test -n "$ac_ct_STRIP"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2592 $as_echo "$ac_ct_STRIP" >&6; }
2593 else
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2596 fi
2597
2598 if test "x$ac_ct_STRIP" = x; then
2599 STRIP=":"
2600 else
2601 case $cross_compiling:$ac_tool_warned in
2602 yes:)
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2605 ac_tool_warned=yes ;;
2606 esac
2607 STRIP=$ac_ct_STRIP
2608 fi
2609 else
2610 STRIP="$ac_cv_prog_STRIP"
2611 fi
2612
2613 fi
2614 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2615
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2617 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2618 if test -z "$MKDIR_P"; then
2619 if ${ac_cv_path_mkdir+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2624 do
2625 IFS=$as_save_IFS
2626 test -z "$as_dir" && as_dir=.
2627 for ac_prog in mkdir gmkdir; do
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2630 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2631 'mkdir (GNU coreutils) '* | \
2632 'mkdir (coreutils) '* | \
2633 'mkdir (fileutils) '4.1*)
2634 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2635 break 3;;
2636 esac
2637 done
2638 done
2639 done
2640 IFS=$as_save_IFS
2641
2642 fi
2643
2644 test -d ./--version && rmdir ./--version
2645 if test "${ac_cv_path_mkdir+set}" = set; then
2646 MKDIR_P="$ac_cv_path_mkdir -p"
2647 else
2648 # As a last resort, use the slow shell script. Don't cache a
2649 # value for MKDIR_P within a source directory, because that will
2650 # break other packages using the cache if that directory is
2651 # removed, or if the value is a relative name.
2652 MKDIR_P="$ac_install_sh -d"
2653 fi
2654 fi
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2656 $as_echo "$MKDIR_P" >&6; }
2657
2658 for ac_prog in gawk mawk nawk awk
2659 do
2660 # Extract the first word of "$ac_prog", so it can be a program name with args.
2661 set dummy $ac_prog; ac_word=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_AWK+:} false; then :
2665 $as_echo_n "(cached) " >&6
2666 else
2667 if test -n "$AWK"; then
2668 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2669 else
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 for as_dir in $PATH
2672 do
2673 IFS=$as_save_IFS
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_AWK="$ac_prog"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 break 2
2680 fi
2681 done
2682 done
2683 IFS=$as_save_IFS
2684
2685 fi
2686 fi
2687 AWK=$ac_cv_prog_AWK
2688 if test -n "$AWK"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2690 $as_echo "$AWK" >&6; }
2691 else
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2694 fi
2695
2696
2697 test -n "$AWK" && break
2698 done
2699
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2701 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2702 set x ${MAKE-make}
2703 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2704 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2705 $as_echo_n "(cached) " >&6
2706 else
2707 cat >conftest.make <<\_ACEOF
2708 SHELL = /bin/sh
2709 all:
2710 @echo '@@@%%%=$(MAKE)=@@@%%%'
2711 _ACEOF
2712 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2714 *@@@%%%=?*=@@@%%%*)
2715 eval ac_cv_prog_make_${ac_make}_set=yes;;
2716 *)
2717 eval ac_cv_prog_make_${ac_make}_set=no;;
2718 esac
2719 rm -f conftest.make
2720 fi
2721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2723 $as_echo "yes" >&6; }
2724 SET_MAKE=
2725 else
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 SET_MAKE="MAKE=${MAKE-make}"
2729 fi
2730
2731 rm -rf .tst 2>/dev/null
2732 mkdir .tst 2>/dev/null
2733 if test -d .tst; then
2734 am__leading_dot=.
2735 else
2736 am__leading_dot=_
2737 fi
2738 rmdir .tst 2>/dev/null
2739
2740 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2741 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2742 # is not polluted with repeated "-I."
2743 am__isrc=' -I$(srcdir)'
2744 # test to see if srcdir already configured
2745 if test -f $srcdir/config.status; then
2746 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2747 fi
2748 fi
2749
2750 # test whether we have cygpath
2751 if test -z "$CYGPATH_W"; then
2752 if (cygpath --version) >/dev/null 2>/dev/null; then
2753 CYGPATH_W='cygpath -w'
2754 else
2755 CYGPATH_W=echo
2756 fi
2757 fi
2758
2759
2760 # Define the identity of the package.
2761 PACKAGE='h5bz2'
2762 VERSION='0.1'
2763
2764
2765 cat >>confdefs.h <<_ACEOF
2766 #define PACKAGE "$PACKAGE"
2767 _ACEOF
2768
2769
2770 cat >>confdefs.h <<_ACEOF
2771 #define VERSION "$VERSION"
2772 _ACEOF
2773
2774 # Some tools Automake needs.
2775
2776 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2777
2778
2779 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2780
2781
2782 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2783
2784
2785 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2786
2787
2788 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2789
2790 # For better backward compatibility. To be removed once Automake 1.9.x
2791 # dies out for good. For more background, see:
2792 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2793 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2794 mkdir_p='$(MKDIR_P)'
2795
2796 # We need awk for the "check" target. The system "awk" is bad on
2797 # some platforms.
2798 # Always define AMTAR for backward compatibility. Yes, it's still used
2799 # in the wild :-( We should find a proper way to deprecate it ...
2800 AMTAR='$${TAR-tar}'
2801
2802 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2803
2804
2805
2806
2807
2808 ac_config_headers="$ac_config_headers config.h"
2809
2810
2811 ## Turn off automake rebuild rules so make doesn't try to run automake
2812 ## (which probably won't work).
2813
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2815 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2816 # Check whether --enable-maintainer-mode was given.
2817 if test "${enable_maintainer_mode+set}" = set; then :
2818 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2819 else
2820 USE_MAINTAINER_MODE=no
2821 fi
2822
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2824 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2825 if test $USE_MAINTAINER_MODE = yes; then
2826 MAINTAINER_MODE_TRUE=
2827 MAINTAINER_MODE_FALSE='#'
2828 else
2829 MAINTAINER_MODE_TRUE='#'
2830 MAINTAINER_MODE_FALSE=
2831 fi
2832
2833 MAINT=$MAINTAINER_MODE_TRUE
2834
2835
2836
2837 # Checks for programs.
2838 ac_ext=c
2839 ac_cpp='$CPP $CPPFLAGS'
2840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 if test -n "$ac_tool_prefix"; then
2844 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2845 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if ${ac_cv_prog_CC+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850 else
2851 if test -n "$CC"; then
2852 ac_cv_prog_CC="$CC" # Let the user override the test.
2853 else
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2856 do
2857 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 break 2
2864 fi
2865 done
2866 done
2867 IFS=$as_save_IFS
2868
2869 fi
2870 fi
2871 CC=$ac_cv_prog_CC
2872 if test -n "$CC"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2874 $as_echo "$CC" >&6; }
2875 else
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 $as_echo "no" >&6; }
2878 fi
2879
2880
2881 fi
2882 if test -z "$ac_cv_prog_CC"; then
2883 ac_ct_CC=$CC
2884 # Extract the first word of "gcc", so it can be a program name with args.
2885 set dummy gcc; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 if test -n "$ac_ct_CC"; then
2892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2893 else
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH
2896 do
2897 IFS=$as_save_IFS
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_ac_ct_CC="gcc"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 break 2
2904 fi
2905 done
2906 done
2907 IFS=$as_save_IFS
2908
2909 fi
2910 fi
2911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2912 if test -n "$ac_ct_CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2914 $as_echo "$ac_ct_CC" >&6; }
2915 else
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2918 fi
2919
2920 if test "x$ac_ct_CC" = x; then
2921 CC=""
2922 else
2923 case $cross_compiling:$ac_tool_warned in
2924 yes:)
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2927 ac_tool_warned=yes ;;
2928 esac
2929 CC=$ac_ct_CC
2930 fi
2931 else
2932 CC="$ac_cv_prog_CC"
2933 fi
2934
2935 if test -z "$CC"; then
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}cc; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_CC+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 else
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH
2949 do
2950 IFS=$as_save_IFS
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC="${ac_tool_prefix}cc"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 break 2
2957 fi
2958 done
2959 done
2960 IFS=$as_save_IFS
2961
2962 fi
2963 fi
2964 CC=$ac_cv_prog_CC
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2968 else
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2971 fi
2972
2973
2974 fi
2975 fi
2976 if test -z "$CC"; then
2977 # Extract the first word of "cc", so it can be a program name with args.
2978 set dummy cc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_CC+:} false; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test -n "$CC"; then
2985 ac_cv_prog_CC="$CC" # Let the user override the test.
2986 else
2987 ac_prog_rejected=no
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 for as_dir in $PATH
2990 do
2991 IFS=$as_save_IFS
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2996 ac_prog_rejected=yes
2997 continue
2998 fi
2999 ac_cv_prog_CC="cc"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 break 2
3002 fi
3003 done
3004 done
3005 IFS=$as_save_IFS
3006
3007 if test $ac_prog_rejected = yes; then
3008 # We found a bogon in the path, so make sure we never use it.
3009 set dummy $ac_cv_prog_CC
3010 shift
3011 if test $# != 0; then
3012 # We chose a different compiler from the bogus one.
3013 # However, it has the same basename, so the bogon will be chosen
3014 # first if we set CC to just the basename; use the full file name.
3015 shift
3016 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3017 fi
3018 fi
3019 fi
3020 fi
3021 CC=$ac_cv_prog_CC
3022 if test -n "$CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024 $as_echo "$CC" >&6; }
3025 else
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3028 fi
3029
3030
3031 fi
3032 if test -z "$CC"; then
3033 if test -n "$ac_tool_prefix"; then
3034 for ac_prog in cl.exe
3035 do
3036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_CC+:} false; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 if test -n "$CC"; then
3044 ac_cv_prog_CC="$CC" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 break 2
3056 fi
3057 done
3058 done
3059 IFS=$as_save_IFS
3060
3061 fi
3062 fi
3063 CC=$ac_cv_prog_CC
3064 if test -n "$CC"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3066 $as_echo "$CC" >&6; }
3067 else
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3070 fi
3071
3072
3073 test -n "$CC" && break
3074 done
3075 fi
3076 if test -z "$CC"; then
3077 ac_ct_CC=$CC
3078 for ac_prog in cl.exe
3079 do
3080 # Extract the first word of "$ac_prog", so it can be a program name with args.
3081 set dummy $ac_prog; ac_word=$2
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3085 $as_echo_n "(cached) " >&6
3086 else
3087 if test -n "$ac_ct_CC"; then
3088 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3089 else
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091 for as_dir in $PATH
3092 do
3093 IFS=$as_save_IFS
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_ac_ct_CC="$ac_prog"
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 break 2
3100 fi
3101 done
3102 done
3103 IFS=$as_save_IFS
3104
3105 fi
3106 fi
3107 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3108 if test -n "$ac_ct_CC"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3110 $as_echo "$ac_ct_CC" >&6; }
3111 else
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3114 fi
3115
3116
3117 test -n "$ac_ct_CC" && break
3118 done
3119
3120 if test "x$ac_ct_CC" = x; then
3121 CC=""
3122 else
3123 case $cross_compiling:$ac_tool_warned in
3124 yes:)
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127 ac_tool_warned=yes ;;
3128 esac
3129 CC=$ac_ct_CC
3130 fi
3131 fi
3132
3133 fi
3134
3135
3136 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error $? "no acceptable C compiler found in \$PATH
3139 See \`config.log' for more details" "$LINENO" 5; }
3140
3141 # Provide some information about the compiler.
3142 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3143 set X $ac_compile
3144 ac_compiler=$2
3145 for ac_option in --version -v -V -qversion; do
3146 { { ac_try="$ac_compiler $ac_option >&5"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152 $as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3154 ac_status=$?
3155 if test -s conftest.err; then
3156 sed '10a\
3157 ... rest of stderr output deleted ...
3158 10q' conftest.err >conftest.er1
3159 cat conftest.er1 >&5
3160 fi
3161 rm -f conftest.er1 conftest.err
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; }
3164 done
3165
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3168
3169 int
3170 main ()
3171 {
3172
3173 ;
3174 return 0;
3175 }
3176 _ACEOF
3177 ac_clean_files_save=$ac_clean_files
3178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3179 # Try to create an executable without -o first, disregard a.out.
3180 # It will help us diagnose broken compilers, and finding out an intuition
3181 # of exeext.
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3183 $as_echo_n "checking whether the C compiler works... " >&6; }
3184 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3185
3186 # The possible output files:
3187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3188
3189 ac_rmfiles=
3190 for ac_file in $ac_files
3191 do
3192 case $ac_file in
3193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3195 esac
3196 done
3197 rm -f $ac_rmfiles
3198
3199 if { { ac_try="$ac_link_default"
3200 case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3203 esac
3204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3205 $as_echo "$ac_try_echo"; } >&5
3206 (eval "$ac_link_default") 2>&5
3207 ac_status=$?
3208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3209 test $ac_status = 0; }; then :
3210 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3211 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3212 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3213 # so that the user can short-circuit this test for compilers unknown to
3214 # Autoconf.
3215 for ac_file in $ac_files ''
3216 do
3217 test -f "$ac_file" || continue
3218 case $ac_file in
3219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3220 ;;
3221 [ab].out )
3222 # We found the default executable, but exeext='' is most
3223 # certainly right.
3224 break;;
3225 *.* )
3226 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3227 then :; else
3228 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3229 fi
3230 # We set ac_cv_exeext here because the later test for it is not
3231 # safe: cross compilers may not add the suffix if given an `-o'
3232 # argument, so we may need to know it at that point already.
3233 # Even if this section looks crufty: it has the advantage of
3234 # actually working.
3235 break;;
3236 * )
3237 break;;
3238 esac
3239 done
3240 test "$ac_cv_exeext" = no && ac_cv_exeext=
3241
3242 else
3243 ac_file=''
3244 fi
3245 if test -z "$ac_file"; then :
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3250
3251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253 as_fn_error 77 "C compiler cannot create executables
3254 See \`config.log' for more details" "$LINENO" 5; }
3255 else
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3258 fi
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3260 $as_echo_n "checking for C compiler default output file name... " >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3262 $as_echo "$ac_file" >&6; }
3263 ac_exeext=$ac_cv_exeext
3264
3265 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3266 ac_clean_files=$ac_clean_files_save
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3268 $as_echo_n "checking for suffix of executables... " >&6; }
3269 if { { ac_try="$ac_link"
3270 case "(($ac_try" in
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3273 esac
3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275 $as_echo "$ac_try_echo"; } >&5
3276 (eval "$ac_link") 2>&5
3277 ac_status=$?
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }; then :
3280 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3281 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3282 # work properly (i.e., refer to `conftest.exe'), while it won't with
3283 # `rm'.
3284 for ac_file in conftest.exe conftest conftest.*; do
3285 test -f "$ac_file" || continue
3286 case $ac_file in
3287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3288 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 break;;
3290 * ) break;;
3291 esac
3292 done
3293 else
3294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3297 See \`config.log' for more details" "$LINENO" 5; }
3298 fi
3299 rm -f conftest conftest$ac_cv_exeext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3301 $as_echo "$ac_cv_exeext" >&6; }
3302
3303 rm -f conftest.$ac_ext
3304 EXEEXT=$ac_cv_exeext
3305 ac_exeext=$EXEEXT
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3308 #include <stdio.h>
3309 int
3310 main ()
3311 {
3312 FILE *f = fopen ("conftest.out", "w");
3313 return ferror (f) || fclose (f) != 0;
3314
3315 ;
3316 return 0;
3317 }
3318 _ACEOF
3319 ac_clean_files="$ac_clean_files conftest.out"
3320 # Check that the compiler produces executables we can run. If not, either
3321 # the compiler is broken, or we cross compile.
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3323 $as_echo_n "checking whether we are cross compiling... " >&6; }
3324 if test "$cross_compiling" != yes; then
3325 { { ac_try="$ac_link"
3326 case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3329 esac
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3333 ac_status=$?
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }
3336 if { ac_try='./conftest$ac_cv_exeext'
3337 { { case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3340 esac
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_try") 2>&5
3344 ac_status=$?
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }; }; then
3347 cross_compiling=no
3348 else
3349 if test "$cross_compiling" = maybe; then
3350 cross_compiling=yes
3351 else
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error $? "cannot run C compiled programs.
3355 If you meant to cross compile, use \`--host'.
3356 See \`config.log' for more details" "$LINENO" 5; }
3357 fi
3358 fi
3359 fi
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3361 $as_echo "$cross_compiling" >&6; }
3362
3363 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3364 ac_clean_files=$ac_clean_files_save
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3366 $as_echo_n "checking for suffix of object files... " >&6; }
3367 if ${ac_cv_objext+:} false; then :
3368 $as_echo_n "(cached) " >&6
3369 else
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3372
3373 int
3374 main ()
3375 {
3376
3377 ;
3378 return 0;
3379 }
3380 _ACEOF
3381 rm -f conftest.o conftest.obj
3382 if { { ac_try="$ac_compile"
3383 case "(($ac_try" in
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3386 esac
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_compile") 2>&5
3390 ac_status=$?
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }; then :
3393 for ac_file in conftest.o conftest.obj conftest.*; do
3394 test -f "$ac_file" || continue;
3395 case $ac_file in
3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3397 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3398 break;;
3399 esac
3400 done
3401 else
3402 $as_echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3404
3405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3407 as_fn_error $? "cannot compute suffix of object files: cannot compile
3408 See \`config.log' for more details" "$LINENO" 5; }
3409 fi
3410 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3411 fi
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3413 $as_echo "$ac_cv_objext" >&6; }
3414 OBJEXT=$ac_cv_objext
3415 ac_objext=$OBJEXT
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3417 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3418 if ${ac_cv_c_compiler_gnu+:} false; then :
3419 $as_echo_n "(cached) " >&6
3420 else
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3423
3424 int
3425 main ()
3426 {
3427 #ifndef __GNUC__
3428 choke me
3429 #endif
3430
3431 ;
3432 return 0;
3433 }
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436 ac_compiler_gnu=yes
3437 else
3438 ac_compiler_gnu=no
3439 fi
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3442
3443 fi
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3445 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3446 if test $ac_compiler_gnu = yes; then
3447 GCC=yes
3448 else
3449 GCC=
3450 fi
3451 ac_test_CFLAGS=${CFLAGS+set}
3452 ac_save_CFLAGS=$CFLAGS
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3454 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3455 if ${ac_cv_prog_cc_g+:} false; then :
3456 $as_echo_n "(cached) " >&6
3457 else
3458 ac_save_c_werror_flag=$ac_c_werror_flag
3459 ac_c_werror_flag=yes
3460 ac_cv_prog_cc_g=no
3461 CFLAGS="-g"
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3464
3465 int
3466 main ()
3467 {
3468
3469 ;
3470 return 0;
3471 }
3472 _ACEOF
3473 if ac_fn_c_try_compile "$LINENO"; then :
3474 ac_cv_prog_cc_g=yes
3475 else
3476 CFLAGS=""
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3479
3480 int
3481 main ()
3482 {
3483
3484 ;
3485 return 0;
3486 }
3487 _ACEOF
3488 if ac_fn_c_try_compile "$LINENO"; then :
3489
3490 else
3491 ac_c_werror_flag=$ac_save_c_werror_flag
3492 CFLAGS="-g"
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3495
3496 int
3497 main ()
3498 {
3499
3500 ;
3501 return 0;
3502 }
3503 _ACEOF
3504 if ac_fn_c_try_compile "$LINENO"; then :
3505 ac_cv_prog_cc_g=yes
3506 fi
3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508 fi
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 fi
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 ac_c_werror_flag=$ac_save_c_werror_flag
3513 fi
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3515 $as_echo "$ac_cv_prog_cc_g" >&6; }
3516 if test "$ac_test_CFLAGS" = set; then
3517 CFLAGS=$ac_save_CFLAGS
3518 elif test $ac_cv_prog_cc_g = yes; then
3519 if test "$GCC" = yes; then
3520 CFLAGS="-g -O2"
3521 else
3522 CFLAGS="-g"
3523 fi
3524 else
3525 if test "$GCC" = yes; then
3526 CFLAGS="-O2"
3527 else
3528 CFLAGS=
3529 fi
3530 fi
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3532 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3533 if ${ac_cv_prog_cc_c89+:} false; then :
3534 $as_echo_n "(cached) " >&6
3535 else
3536 ac_cv_prog_cc_c89=no
3537 ac_save_CC=$CC
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3540 #include <stdarg.h>
3541 #include <stdio.h>
3542 struct stat;
3543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3544 struct buf { int x; };
3545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3546 static char *e (p, i)
3547 char **p;
3548 int i;
3549 {
3550 return p[i];
3551 }
3552 static char *f (char * (*g) (char **, int), char **p, ...)
3553 {
3554 char *s;
3555 va_list v;
3556 va_start (v,p);
3557 s = g (p, va_arg (v,int));
3558 va_end (v);
3559 return s;
3560 }
3561
3562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3563 function prototypes and stuff, but not '\xHH' hex character constants.
3564 These don't provoke an error unfortunately, instead are silently treated
3565 as 'x'. The following induces an error, until -std is added to get
3566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3567 array size at least. It's necessary to write '\x00'==0 to get something
3568 that's true only with -std. */
3569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3570
3571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3572 inside strings and character constants. */
3573 #define FOO(x) 'x'
3574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3575
3576 int test (int i, double x);
3577 struct s1 {int (*f) (int a);};
3578 struct s2 {int (*f) (double a);};
3579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3580 int argc;
3581 char **argv;
3582 int
3583 main ()
3584 {
3585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3586 ;
3587 return 0;
3588 }
3589 _ACEOF
3590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3592 do
3593 CC="$ac_save_CC $ac_arg"
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595 ac_cv_prog_cc_c89=$ac_arg
3596 fi
3597 rm -f core conftest.err conftest.$ac_objext
3598 test "x$ac_cv_prog_cc_c89" != "xno" && break
3599 done
3600 rm -f conftest.$ac_ext
3601 CC=$ac_save_CC
3602
3603 fi
3604 # AC_CACHE_VAL
3605 case "x$ac_cv_prog_cc_c89" in
3606 x)
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3608 $as_echo "none needed" >&6; } ;;
3609 xno)
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3611 $as_echo "unsupported" >&6; } ;;
3612 *)
3613 CC="$CC $ac_cv_prog_cc_c89"
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3615 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3616 esac
3617 if test "x$ac_cv_prog_cc_c89" != xno; then :
3618
3619 fi
3620
3621 ac_ext=c
3622 ac_cpp='$CPP $CPPFLAGS'
3623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3626 DEPDIR="${am__leading_dot}deps"
3627
3628 ac_config_commands="$ac_config_commands depfiles"
3629
3630
3631 am_make=${MAKE-make}
3632 cat > confinc << 'END'
3633 am__doit:
3634 @echo this is the am__doit target
3635 .PHONY: am__doit
3636 END
3637 # If we don't find an include directive, just comment out the code.
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3639 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3640 am__include="#"
3641 am__quote=
3642 _am_result=none
3643 # First try GNU make style include.
3644 echo "include confinc" > confmf
3645 # Ignore all kinds of additional output from 'make'.
3646 case `$am_make -s -f confmf 2> /dev/null` in #(
3647 *the\ am__doit\ target*)
3648 am__include=include
3649 am__quote=
3650 _am_result=GNU
3651 ;;
3652 esac
3653 # Now try BSD make style include.
3654 if test "$am__include" = "#"; then
3655 echo '.include "confinc"' > confmf
3656 case `$am_make -s -f confmf 2> /dev/null` in #(
3657 *the\ am__doit\ target*)
3658 am__include=.include
3659 am__quote="\""
3660 _am_result=BSD
3661 ;;
3662 esac
3663 fi
3664
3665
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3667 $as_echo "$_am_result" >&6; }
3668 rm -f confinc confmf
3669
3670 # Check whether --enable-dependency-tracking was given.
3671 if test "${enable_dependency_tracking+set}" = set; then :
3672 enableval=$enable_dependency_tracking;
3673 fi
3674
3675 if test "x$enable_dependency_tracking" != xno; then
3676 am_depcomp="$ac_aux_dir/depcomp"
3677 AMDEPBACKSLASH='\'
3678 am__nodep='_no'
3679 fi
3680 if test "x$enable_dependency_tracking" != xno; then
3681 AMDEP_TRUE=
3682 AMDEP_FALSE='#'
3683 else
3684 AMDEP_TRUE='#'
3685 AMDEP_FALSE=
3686 fi
3687
3688
3689
3690 depcc="$CC" am_compiler_list=
3691
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3693 $as_echo_n "checking dependency style of $depcc... " >&6; }
3694 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3698 # We make a subdir and do the tests there. Otherwise we can end up
3699 # making bogus files that we don't know about and never remove. For
3700 # instance it was reported that on HP-UX the gcc test will end up
3701 # making a dummy file named 'D' -- because '-MD' means "put the output
3702 # in D".
3703 rm -rf conftest.dir
3704 mkdir conftest.dir
3705 # Copy depcomp to subdir because otherwise we won't find it if we're
3706 # using a relative directory.
3707 cp "$am_depcomp" conftest.dir
3708 cd conftest.dir
3709 # We will build objects and dependencies in a subdirectory because
3710 # it helps to detect inapplicable dependency modes. For instance
3711 # both Tru64's cc and ICC support -MD to output dependencies as a
3712 # side effect of compilation, but ICC will put the dependencies in
3713 # the current directory while Tru64 will put them in the object
3714 # directory.
3715 mkdir sub
3716
3717 am_cv_CC_dependencies_compiler_type=none
3718 if test "$am_compiler_list" = ""; then
3719 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3720 fi
3721 am__universal=false
3722 case " $depcc " in #(
3723 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3724 esac
3725
3726 for depmode in $am_compiler_list; do
3727 # Setup a source with many dependencies, because some compilers
3728 # like to wrap large dependency lists on column 80 (with \), and
3729 # we should not choose a depcomp mode which is confused by this.
3730 #
3731 # We need to recreate these files for each test, as the compiler may
3732 # overwrite some of them when testing with obscure command lines.
3733 # This happens at least with the AIX C compiler.
3734 : > sub/conftest.c
3735 for i in 1 2 3 4 5 6; do
3736 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3737 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3738 # Solaris 10 /bin/sh.
3739 echo '/* dummy */' > sub/conftst$i.h
3740 done
3741 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3742
3743 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3744 # mode. It turns out that the SunPro C++ compiler does not properly
3745 # handle '-M -o', and we need to detect this. Also, some Intel
3746 # versions had trouble with output in subdirs.
3747 am__obj=sub/conftest.${OBJEXT-o}
3748 am__minus_obj="-o $am__obj"
3749 case $depmode in
3750 gcc)
3751 # This depmode causes a compiler race in universal mode.
3752 test "$am__universal" = false || continue
3753 ;;
3754 nosideeffect)
3755 # After this tag, mechanisms are not by side-effect, so they'll
3756 # only be used when explicitly requested.
3757 if test "x$enable_dependency_tracking" = xyes; then
3758 continue
3759 else
3760 break
3761 fi
3762 ;;
3763 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3764 # This compiler won't grok '-c -o', but also, the minuso test has
3765 # not run yet. These depmodes are late enough in the game, and
3766 # so weak that their functioning should not be impacted.
3767 am__obj=conftest.${OBJEXT-o}
3768 am__minus_obj=
3769 ;;
3770 none) break ;;
3771 esac
3772 if depmode=$depmode \
3773 source=sub/conftest.c object=$am__obj \
3774 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3775 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3776 >/dev/null 2>conftest.err &&
3777 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3778 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3779 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3780 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3781 # icc doesn't choke on unknown options, it will just issue warnings
3782 # or remarks (even with -Werror). So we grep stderr for any message
3783 # that says an option was ignored or not supported.
3784 # When given -MP, icc 7.0 and 7.1 complain thusly:
3785 # icc: Command line warning: ignoring option '-M'; no argument required
3786 # The diagnosis changed in icc 8.0:
3787 # icc: Command line remark: option '-MP' not supported
3788 if (grep 'ignoring option' conftest.err ||
3789 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3790 am_cv_CC_dependencies_compiler_type=$depmode
3791 break
3792 fi
3793 fi
3794 done
3795
3796 cd ..
3797 rm -rf conftest.dir
3798 else
3799 am_cv_CC_dependencies_compiler_type=none
3800 fi
3801
3802 fi
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3804 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3805 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3806
3807 if
3808 test "x$enable_dependency_tracking" != xno \
3809 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3810 am__fastdepCC_TRUE=
3811 am__fastdepCC_FALSE='#'
3812 else
3813 am__fastdepCC_TRUE='#'
3814 am__fastdepCC_FALSE=
3815 fi
3816
3817
3818 if test -n "$ac_tool_prefix"; then
3819 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3820 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_RANLIB+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 if test -n "$RANLIB"; then
3827 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3828 else
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH
3831 do
3832 IFS=$as_save_IFS
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 break 2
3839 fi
3840 done
3841 done
3842 IFS=$as_save_IFS
3843
3844 fi
3845 fi
3846 RANLIB=$ac_cv_prog_RANLIB
3847 if test -n "$RANLIB"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3849 $as_echo "$RANLIB" >&6; }
3850 else
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3853 fi
3854
3855
3856 fi
3857 if test -z "$ac_cv_prog_RANLIB"; then
3858 ac_ct_RANLIB=$RANLIB
3859 # Extract the first word of "ranlib", so it can be a program name with args.
3860 set dummy ranlib; ac_word=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 if test -n "$ac_ct_RANLIB"; then
3867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3868 else
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH
3871 do
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_ac_ct_RANLIB="ranlib"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 break 2
3879 fi
3880 done
3881 done
3882 IFS=$as_save_IFS
3883
3884 fi
3885 fi
3886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3887 if test -n "$ac_ct_RANLIB"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3889 $as_echo "$ac_ct_RANLIB" >&6; }
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3893 fi
3894
3895 if test "x$ac_ct_RANLIB" = x; then
3896 RANLIB=":"
3897 else
3898 case $cross_compiling:$ac_tool_warned in
3899 yes:)
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3902 ac_tool_warned=yes ;;
3903 esac
3904 RANLIB=$ac_ct_RANLIB
3905 fi
3906 else
3907 RANLIB="$ac_cv_prog_RANLIB"
3908 fi
3909
3910
3911
3912 # Make sure we can run config.sub.
3913 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3914 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3915
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3917 $as_echo_n "checking build system type... " >&6; }
3918 if ${ac_cv_build+:} false; then :
3919 $as_echo_n "(cached) " >&6
3920 else
3921 ac_build_alias=$build_alias
3922 test "x$ac_build_alias" = x &&
3923 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3924 test "x$ac_build_alias" = x &&
3925 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3926 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3927 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3928
3929 fi
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3931 $as_echo "$ac_cv_build" >&6; }
3932 case $ac_cv_build in
3933 *-*-*) ;;
3934 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3935 esac
3936 build=$ac_cv_build
3937 ac_save_IFS=$IFS; IFS='-'
3938 set x $ac_cv_build
3939 shift
3940 build_cpu=$1
3941 build_vendor=$2
3942 shift; shift
3943 # Remember, the first character of IFS is used to create $*,
3944 # except with old shells:
3945 build_os=$*
3946 IFS=$ac_save_IFS
3947 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3948
3949
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3951 $as_echo_n "checking host system type... " >&6; }
3952 if ${ac_cv_host+:} false; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 if test "x$host_alias" = x; then
3956 ac_cv_host=$ac_cv_build
3957 else
3958 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3959 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3960 fi
3961
3962 fi
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3964 $as_echo "$ac_cv_host" >&6; }
3965 case $ac_cv_host in
3966 *-*-*) ;;
3967 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3968 esac
3969 host=$ac_cv_host
3970 ac_save_IFS=$IFS; IFS='-'
3971 set x $ac_cv_host
3972 shift
3973 host_cpu=$1
3974 host_vendor=$2
3975 shift; shift
3976 # Remember, the first character of IFS is used to create $*,
3977 # except with old shells:
3978 host_os=$*
3979 IFS=$ac_save_IFS
3980 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3981
3982
3983
3984
3985 case `pwd` in
3986 *\ * | *\ *)
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3988 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3989 esac
3990
3991
3992
3993 macro_version='2.4.2'
3994 macro_revision='1.3337'
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008 ltmain="$ac_aux_dir/ltmain.sh"
4009
4010 # Backslashify metacharacters that are still active within
4011 # double-quoted strings.
4012 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4013
4014 # Same as above, but do not quote variable references.
4015 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4016
4017 # Sed substitution to delay expansion of an escaped shell variable in a
4018 # double_quote_subst'ed string.
4019 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4020
4021 # Sed substitution to delay expansion of an escaped single quote.
4022 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4023
4024 # Sed substitution to avoid accidental globbing in evaled expressions
4025 no_glob_subst='s/\*/\\\*/g'
4026
4027 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4028 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4029 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4030
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4032 $as_echo_n "checking how to print strings... " >&6; }
4033 # Test print first, because it will be a builtin if present.
4034 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4035 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4036 ECHO='print -r --'
4037 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4038 ECHO='printf %s\n'
4039 else
4040 # Use this function as a fallback that always works.
4041 func_fallback_echo ()
4042 {
4043 eval 'cat <<_LTECHO_EOF
4044 $1
4045 _LTECHO_EOF'
4046 }
4047 ECHO='func_fallback_echo'
4048 fi
4049
4050 # func_echo_all arg...
4051 # Invoke $ECHO with all args, space-separated.
4052 func_echo_all ()
4053 {
4054 $ECHO ""
4055 }
4056
4057 case "$ECHO" in
4058 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4059 $as_echo "printf" >&6; } ;;
4060 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4061 $as_echo "print -r" >&6; } ;;
4062 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4063 $as_echo "cat" >&6; } ;;
4064 esac
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4080 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4081 if ${ac_cv_path_SED+:} false; then :
4082 $as_echo_n "(cached) " >&6
4083 else
4084 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4085 for ac_i in 1 2 3 4 5 6 7; do
4086 ac_script="$ac_script$as_nl$ac_script"
4087 done
4088 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4089 { ac_script=; unset ac_script;}
4090 if test -z "$SED"; then
4091 ac_path_SED_found=false
4092 # Loop through the user's path and test for each of PROGNAME-LIST
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 for as_dir in $PATH
4095 do
4096 IFS=$as_save_IFS
4097 test -z "$as_dir" && as_dir=.
4098 for ac_prog in sed gsed; do
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4101 as_fn_executable_p "$ac_path_SED" || continue
4102 # Check for GNU ac_path_SED and select it if it is found.
4103 # Check for GNU $ac_path_SED
4104 case `"$ac_path_SED" --version 2>&1` in
4105 *GNU*)
4106 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4107 *)
4108 ac_count=0
4109 $as_echo_n 0123456789 >"conftest.in"
4110 while :
4111 do
4112 cat "conftest.in" "conftest.in" >"conftest.tmp"
4113 mv "conftest.tmp" "conftest.in"
4114 cp "conftest.in" "conftest.nl"
4115 $as_echo '' >> "conftest.nl"
4116 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4117 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4118 as_fn_arith $ac_count + 1 && ac_count=$as_val
4119 if test $ac_count -gt ${ac_path_SED_max-0}; then
4120 # Best one so far, save it but keep looking for a better one
4121 ac_cv_path_SED="$ac_path_SED"
4122 ac_path_SED_max=$ac_count
4123 fi
4124 # 10*(2^10) chars as input seems more than enough
4125 test $ac_count -gt 10 && break
4126 done
4127 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4128 esac
4129
4130 $ac_path_SED_found && break 3
4131 done
4132 done
4133 done
4134 IFS=$as_save_IFS
4135 if test -z "$ac_cv_path_SED"; then
4136 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4137 fi
4138 else
4139 ac_cv_path_SED=$SED
4140 fi
4141
4142 fi
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4144 $as_echo "$ac_cv_path_SED" >&6; }
4145 SED="$ac_cv_path_SED"
4146 rm -f conftest.sed
4147
4148 test -z "$SED" && SED=sed
4149 Xsed="$SED -e 1s/^X//"
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4162 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4163 if ${ac_cv_path_GREP+:} false; then :
4164 $as_echo_n "(cached) " >&6
4165 else
4166 if test -z "$GREP"; then
4167 ac_path_GREP_found=false
4168 # Loop through the user's path and test for each of PROGNAME-LIST
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4171 do
4172 IFS=$as_save_IFS
4173 test -z "$as_dir" && as_dir=.
4174 for ac_prog in grep ggrep; do
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4177 as_fn_executable_p "$ac_path_GREP" || continue
4178 # Check for GNU ac_path_GREP and select it if it is found.
4179 # Check for GNU $ac_path_GREP
4180 case `"$ac_path_GREP" --version 2>&1` in
4181 *GNU*)
4182 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4183 *)
4184 ac_count=0
4185 $as_echo_n 0123456789 >"conftest.in"
4186 while :
4187 do
4188 cat "conftest.in" "conftest.in" >"conftest.tmp"
4189 mv "conftest.tmp" "conftest.in"
4190 cp "conftest.in" "conftest.nl"
4191 $as_echo 'GREP' >> "conftest.nl"
4192 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194 as_fn_arith $ac_count + 1 && ac_count=$as_val
4195 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4196 # Best one so far, save it but keep looking for a better one
4197 ac_cv_path_GREP="$ac_path_GREP"
4198 ac_path_GREP_max=$ac_count
4199 fi
4200 # 10*(2^10) chars as input seems more than enough
4201 test $ac_count -gt 10 && break
4202 done
4203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204 esac
4205
4206 $ac_path_GREP_found && break 3
4207 done
4208 done
4209 done
4210 IFS=$as_save_IFS
4211 if test -z "$ac_cv_path_GREP"; then
4212 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4213 fi
4214 else
4215 ac_cv_path_GREP=$GREP
4216 fi
4217
4218 fi
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4220 $as_echo "$ac_cv_path_GREP" >&6; }
4221 GREP="$ac_cv_path_GREP"
4222
4223
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4225 $as_echo_n "checking for egrep... " >&6; }
4226 if ${ac_cv_path_EGREP+:} false; then :
4227 $as_echo_n "(cached) " >&6
4228 else
4229 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4230 then ac_cv_path_EGREP="$GREP -E"
4231 else
4232 if test -z "$EGREP"; then
4233 ac_path_EGREP_found=false
4234 # Loop through the user's path and test for each of PROGNAME-LIST
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4237 do
4238 IFS=$as_save_IFS
4239 test -z "$as_dir" && as_dir=.
4240 for ac_prog in egrep; do
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4243 as_fn_executable_p "$ac_path_EGREP" || continue
4244 # Check for GNU ac_path_EGREP and select it if it is found.
4245 # Check for GNU $ac_path_EGREP
4246 case `"$ac_path_EGREP" --version 2>&1` in
4247 *GNU*)
4248 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4249 *)
4250 ac_count=0
4251 $as_echo_n 0123456789 >"conftest.in"
4252 while :
4253 do
4254 cat "conftest.in" "conftest.in" >"conftest.tmp"
4255 mv "conftest.tmp" "conftest.in"
4256 cp "conftest.in" "conftest.nl"
4257 $as_echo 'EGREP' >> "conftest.nl"
4258 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4260 as_fn_arith $ac_count + 1 && ac_count=$as_val
4261 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4262 # Best one so far, save it but keep looking for a better one
4263 ac_cv_path_EGREP="$ac_path_EGREP"
4264 ac_path_EGREP_max=$ac_count
4265 fi
4266 # 10*(2^10) chars as input seems more than enough
4267 test $ac_count -gt 10 && break
4268 done
4269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4270 esac
4271
4272 $ac_path_EGREP_found && break 3
4273 done
4274 done
4275 done
4276 IFS=$as_save_IFS
4277 if test -z "$ac_cv_path_EGREP"; then
4278 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4279 fi
4280 else
4281 ac_cv_path_EGREP=$EGREP
4282 fi
4283
4284 fi
4285 fi
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4287 $as_echo "$ac_cv_path_EGREP" >&6; }
4288 EGREP="$ac_cv_path_EGREP"
4289
4290
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4292 $as_echo_n "checking for fgrep... " >&6; }
4293 if ${ac_cv_path_FGREP+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4297 then ac_cv_path_FGREP="$GREP -F"
4298 else
4299 if test -z "$FGREP"; then
4300 ac_path_FGREP_found=false
4301 # Loop through the user's path and test for each of PROGNAME-LIST
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4304 do
4305 IFS=$as_save_IFS
4306 test -z "$as_dir" && as_dir=.
4307 for ac_prog in fgrep; do
4308 for ac_exec_ext in '' $ac_executable_extensions; do
4309 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4310 as_fn_executable_p "$ac_path_FGREP" || continue
4311 # Check for GNU ac_path_FGREP and select it if it is found.
4312 # Check for GNU $ac_path_FGREP
4313 case `"$ac_path_FGREP" --version 2>&1` in
4314 *GNU*)
4315 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4316 *)
4317 ac_count=0
4318 $as_echo_n 0123456789 >"conftest.in"
4319 while :
4320 do
4321 cat "conftest.in" "conftest.in" >"conftest.tmp"
4322 mv "conftest.tmp" "conftest.in"
4323 cp "conftest.in" "conftest.nl"
4324 $as_echo 'FGREP' >> "conftest.nl"
4325 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4327 as_fn_arith $ac_count + 1 && ac_count=$as_val
4328 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4329 # Best one so far, save it but keep looking for a better one
4330 ac_cv_path_FGREP="$ac_path_FGREP"
4331 ac_path_FGREP_max=$ac_count
4332 fi
4333 # 10*(2^10) chars as input seems more than enough
4334 test $ac_count -gt 10 && break
4335 done
4336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4337 esac
4338
4339 $ac_path_FGREP_found && break 3
4340 done
4341 done
4342 done
4343 IFS=$as_save_IFS
4344 if test -z "$ac_cv_path_FGREP"; then
4345 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4346 fi
4347 else
4348 ac_cv_path_FGREP=$FGREP
4349 fi
4350
4351 fi
4352 fi
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4354 $as_echo "$ac_cv_path_FGREP" >&6; }
4355 FGREP="$ac_cv_path_FGREP"
4356
4357
4358 test -z "$GREP" && GREP=grep
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378 # Check whether --with-gnu-ld was given.
4379 if test "${with_gnu_ld+set}" = set; then :
4380 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4381 else
4382 with_gnu_ld=no
4383 fi
4384
4385 ac_prog=ld
4386 if test "$GCC" = yes; then
4387 # Check if gcc -print-prog-name=ld gives a path.
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4389 $as_echo_n "checking for ld used by $CC... " >&6; }
4390 case $host in
4391 *-*-mingw*)
4392 # gcc leaves a trailing carriage return which upsets mingw
4393 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4394 *)
4395 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4396 esac
4397 case $ac_prog in
4398 # Accept absolute paths.
4399 [\\/]* | ?:[\\/]*)
4400 re_direlt='/[^/][^/]*/\.\./'
4401 # Canonicalize the pathname of ld
4402 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4403 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4404 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4405 done
4406 test -z "$LD" && LD="$ac_prog"
4407 ;;
4408 "")
4409 # If it fails, then pretend we aren't using GCC.
4410 ac_prog=ld
4411 ;;
4412 *)
4413 # If it is relative, then search for the first ld in PATH.
4414 with_gnu_ld=unknown
4415 ;;
4416 esac
4417 elif test "$with_gnu_ld" = yes; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4419 $as_echo_n "checking for GNU ld... " >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4422 $as_echo_n "checking for non-GNU ld... " >&6; }
4423 fi
4424 if ${lt_cv_path_LD+:} false; then :
4425 $as_echo_n "(cached) " >&6
4426 else
4427 if test -z "$LD"; then
4428 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4429 for ac_dir in $PATH; do
4430 IFS="$lt_save_ifs"
4431 test -z "$ac_dir" && ac_dir=.
4432 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4433 lt_cv_path_LD="$ac_dir/$ac_prog"
4434 # Check to see if the program is GNU ld. I'd rather use --version,
4435 # but apparently some variants of GNU ld only accept -v.
4436 # Break only if it was the GNU/non-GNU ld that we prefer.
4437 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4438 *GNU* | *'with BFD'*)
4439 test "$with_gnu_ld" != no && break
4440 ;;
4441 *)
4442 test "$with_gnu_ld" != yes && break
4443 ;;
4444 esac
4445 fi
4446 done
4447 IFS="$lt_save_ifs"
4448 else
4449 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4450 fi
4451 fi
4452
4453 LD="$lt_cv_path_LD"
4454 if test -n "$LD"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4456 $as_echo "$LD" >&6; }
4457 else
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4460 fi
4461 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4463 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4464 if ${lt_cv_prog_gnu_ld+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4468 case `$LD -v 2>&1 </dev/null` in
4469 *GNU* | *'with BFD'*)
4470 lt_cv_prog_gnu_ld=yes
4471 ;;
4472 *)
4473 lt_cv_prog_gnu_ld=no
4474 ;;
4475 esac
4476 fi
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4478 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4479 with_gnu_ld=$lt_cv_prog_gnu_ld
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4490 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4491 if ${lt_cv_path_NM+:} false; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 if test -n "$NM"; then
4495 # Let the user override the test.
4496 lt_cv_path_NM="$NM"
4497 else
4498 lt_nm_to_check="${ac_tool_prefix}nm"
4499 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4500 lt_nm_to_check="$lt_nm_to_check nm"
4501 fi
4502 for lt_tmp_nm in $lt_nm_to_check; do
4503 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4504 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4505 IFS="$lt_save_ifs"
4506 test -z "$ac_dir" && ac_dir=.
4507 tmp_nm="$ac_dir/$lt_tmp_nm"
4508 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4509 # Check to see if the nm accepts a BSD-compat flag.
4510 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4511 # nm: unknown option "B" ignored
4512 # Tru64's nm complains that /dev/null is an invalid object file
4513 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4514 */dev/null* | *'Invalid file or object type'*)
4515 lt_cv_path_NM="$tmp_nm -B"
4516 break
4517 ;;
4518 *)
4519 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4520 */dev/null*)
4521 lt_cv_path_NM="$tmp_nm -p"
4522 break
4523 ;;
4524 *)
4525 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4526 continue # so that we can try to find one that supports BSD flags
4527 ;;
4528 esac
4529 ;;
4530 esac
4531 fi
4532 done
4533 IFS="$lt_save_ifs"
4534 done
4535 : ${lt_cv_path_NM=no}
4536 fi
4537 fi
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4539 $as_echo "$lt_cv_path_NM" >&6; }
4540 if test "$lt_cv_path_NM" != "no"; then
4541 NM="$lt_cv_path_NM"
4542 else
4543 # Didn't find any BSD compatible name lister, look for dumpbin.
4544 if test -n "$DUMPBIN"; then :
4545 # Let the user override the test.
4546 else
4547 if test -n "$ac_tool_prefix"; then
4548 for ac_prog in dumpbin "link -dump"
4549 do
4550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4551 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_DUMPBIN+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 if test -n "$DUMPBIN"; then
4558 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4562 do
4563 IFS=$as_save_IFS
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 break 2
4570 fi
4571 done
4572 done
4573 IFS=$as_save_IFS
4574
4575 fi
4576 fi
4577 DUMPBIN=$ac_cv_prog_DUMPBIN
4578 if test -n "$DUMPBIN"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4580 $as_echo "$DUMPBIN" >&6; }
4581 else
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4584 fi
4585
4586
4587 test -n "$DUMPBIN" && break
4588 done
4589 fi
4590 if test -z "$DUMPBIN"; then
4591 ac_ct_DUMPBIN=$DUMPBIN
4592 for ac_prog in dumpbin "link -dump"
4593 do
4594 # Extract the first word of "$ac_prog", so it can be a program name with args.
4595 set dummy $ac_prog; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 if test -n "$ac_ct_DUMPBIN"; then
4602 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4606 do
4607 IFS=$as_save_IFS
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 break 2
4614 fi
4615 done
4616 done
4617 IFS=$as_save_IFS
4618
4619 fi
4620 fi
4621 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4622 if test -n "$ac_ct_DUMPBIN"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4624 $as_echo "$ac_ct_DUMPBIN" >&6; }
4625 else
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4628 fi
4629
4630
4631 test -n "$ac_ct_DUMPBIN" && break
4632 done
4633
4634 if test "x$ac_ct_DUMPBIN" = x; then
4635 DUMPBIN=":"
4636 else
4637 case $cross_compiling:$ac_tool_warned in
4638 yes:)
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned=yes ;;
4642 esac
4643 DUMPBIN=$ac_ct_DUMPBIN
4644 fi
4645 fi
4646
4647 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4648 *COFF*)
4649 DUMPBIN="$DUMPBIN -symbols"
4650 ;;
4651 *)
4652 DUMPBIN=:
4653 ;;
4654 esac
4655 fi
4656
4657 if test "$DUMPBIN" != ":"; then
4658 NM="$DUMPBIN"
4659 fi
4660 fi
4661 test -z "$NM" && NM=nm
4662
4663
4664
4665
4666
4667
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4669 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4670 if ${lt_cv_nm_interface+:} false; then :
4671 $as_echo_n "(cached) " >&6
4672 else
4673 lt_cv_nm_interface="BSD nm"
4674 echo "int some_variable = 0;" > conftest.$ac_ext
4675 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4676 (eval "$ac_compile" 2>conftest.err)
4677 cat conftest.err >&5
4678 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4679 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4680 cat conftest.err >&5
4681 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4682 cat conftest.out >&5
4683 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4684 lt_cv_nm_interface="MS dumpbin"
4685 fi
4686 rm -f conftest*
4687 fi
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4689 $as_echo "$lt_cv_nm_interface" >&6; }
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4692 $as_echo_n "checking whether ln -s works... " >&6; }
4693 LN_S=$as_ln_s
4694 if test "$LN_S" = "ln -s"; then
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4696 $as_echo "yes" >&6; }
4697 else
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4699 $as_echo "no, using $LN_S" >&6; }
4700 fi
4701
4702 # find the maximum length of command line arguments
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4704 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4705 if ${lt_cv_sys_max_cmd_len+:} false; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 i=0
4709 teststring="ABCD"
4710
4711 case $build_os in
4712 msdosdjgpp*)
4713 # On DJGPP, this test can blow up pretty badly due to problems in libc
4714 # (any single argument exceeding 2000 bytes causes a buffer overrun
4715 # during glob expansion). Even if it were fixed, the result of this
4716 # check would be larger than it should be.
4717 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4718 ;;
4719
4720 gnu*)
4721 # Under GNU Hurd, this test is not required because there is
4722 # no limit to the length of command line arguments.
4723 # Libtool will interpret -1 as no limit whatsoever
4724 lt_cv_sys_max_cmd_len=-1;
4725 ;;
4726
4727 cygwin* | mingw* | cegcc*)
4728 # On Win9x/ME, this test blows up -- it succeeds, but takes
4729 # about 5 minutes as the teststring grows exponentially.
4730 # Worse, since 9x/ME are not pre-emptively multitasking,
4731 # you end up with a "frozen" computer, even though with patience
4732 # the test eventually succeeds (with a max line length of 256k).
4733 # Instead, let's just punt: use the minimum linelength reported by
4734 # all of the supported platforms: 8192 (on NT/2K/XP).
4735 lt_cv_sys_max_cmd_len=8192;
4736 ;;
4737
4738 mint*)
4739 # On MiNT this can take a long time and run out of memory.
4740 lt_cv_sys_max_cmd_len=8192;
4741 ;;
4742
4743 amigaos*)
4744 # On AmigaOS with pdksh, this test takes hours, literally.
4745 # So we just punt and use a minimum line length of 8192.
4746 lt_cv_sys_max_cmd_len=8192;
4747 ;;
4748
4749 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4750 # This has been around since 386BSD, at least. Likely further.
4751 if test -x /sbin/sysctl; then
4752 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4753 elif test -x /usr/sbin/sysctl; then
4754 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4755 else
4756 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4757 fi
4758 # And add a safety zone
4759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4760 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4761 ;;
4762
4763 interix*)
4764 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4765 lt_cv_sys_max_cmd_len=196608
4766 ;;
4767
4768 os2*)
4769 # The test takes a long time on OS/2.
4770 lt_cv_sys_max_cmd_len=8192
4771 ;;
4772
4773 osf*)
4774 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4775 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4776 # nice to cause kernel panics so lets avoid the loop below.
4777 # First set a reasonable default.
4778 lt_cv_sys_max_cmd_len=16384
4779 #
4780 if test -x /sbin/sysconfig; then
4781 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4782 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4783 esac
4784 fi
4785 ;;
4786 sco3.2v5*)
4787 lt_cv_sys_max_cmd_len=102400
4788 ;;
4789 sysv5* | sco5v6* | sysv4.2uw2*)
4790 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4791 if test -n "$kargmax"; then
4792 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4793 else
4794 lt_cv_sys_max_cmd_len=32768
4795 fi
4796 ;;
4797 *)
4798 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4799 if test -n "$lt_cv_sys_max_cmd_len"; then
4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4802 else
4803 # Make teststring a little bigger before we do anything with it.
4804 # a 1K string should be a reasonable start.
4805 for i in 1 2 3 4 5 6 7 8 ; do
4806 teststring=$teststring$teststring
4807 done
4808 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4809 # If test is not a shell built-in, we'll probably end up computing a
4810 # maximum length that is only half of the actual maximum length, but
4811 # we can't tell.
4812 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4813 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4814 test $i != 17 # 1/2 MB should be enough
4815 do
4816 i=`expr $i + 1`
4817 teststring=$teststring$teststring
4818 done
4819 # Only check the string length outside the loop.
4820 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4821 teststring=
4822 # Add a significant safety factor because C++ compilers can tack on
4823 # massive amounts of additional arguments before passing them to the
4824 # linker. It appears as though 1/2 is a usable value.
4825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4826 fi
4827 ;;
4828 esac
4829
4830 fi
4831
4832 if test -n $lt_cv_sys_max_cmd_len ; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4834 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4835 else
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4837 $as_echo "none" >&6; }
4838 fi
4839 max_cmd_len=$lt_cv_sys_max_cmd_len
4840
4841
4842
4843
4844
4845
4846 : ${CP="cp -f"}
4847 : ${MV="mv -f"}
4848 : ${RM="rm -f"}
4849
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4851 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4852 # Try some XSI features
4853 xsi_shell=no
4854 ( _lt_dummy="a/b/c"
4855 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4856 = c,a/b,b/c, \
4857 && eval 'test $(( 1 + 1 )) -eq 2 \
4858 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4859 && xsi_shell=yes
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4861 $as_echo "$xsi_shell" >&6; }
4862
4863
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4865 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4866 lt_shell_append=no
4867 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4868 >/dev/null 2>&1 \
4869 && lt_shell_append=yes
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4871 $as_echo "$lt_shell_append" >&6; }
4872
4873
4874 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4875 lt_unset=unset
4876 else
4877 lt_unset=false
4878 fi
4879
4880
4881
4882
4883
4884 # test EBCDIC or ASCII
4885 case `echo X|tr X '\101'` in
4886 A) # ASCII based system
4887 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4888 lt_SP2NL='tr \040 \012'
4889 lt_NL2SP='tr \015\012 \040\040'
4890 ;;
4891 *) # EBCDIC based system
4892 lt_SP2NL='tr \100 \n'
4893 lt_NL2SP='tr \r\n \100\100'
4894 ;;
4895 esac
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4906 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4907 if ${lt_cv_to_host_file_cmd+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 case $host in
4911 *-*-mingw* )
4912 case $build in
4913 *-*-mingw* ) # actually msys
4914 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4915 ;;
4916 *-*-cygwin* )
4917 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4918 ;;
4919 * ) # otherwise, assume *nix
4920 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4921 ;;
4922 esac
4923 ;;
4924 *-*-cygwin* )
4925 case $build in
4926 *-*-mingw* ) # actually msys
4927 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4928 ;;
4929 *-*-cygwin* )
4930 lt_cv_to_host_file_cmd=func_convert_file_noop
4931 ;;
4932 * ) # otherwise, assume *nix
4933 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4934 ;;
4935 esac
4936 ;;
4937 * ) # unhandled hosts (and "normal" native builds)
4938 lt_cv_to_host_file_cmd=func_convert_file_noop
4939 ;;
4940 esac
4941
4942 fi
4943
4944 to_host_file_cmd=$lt_cv_to_host_file_cmd
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4946 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4947
4948
4949
4950
4951
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4953 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4954 if ${lt_cv_to_tool_file_cmd+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 #assume ordinary cross tools, or native build.
4958 lt_cv_to_tool_file_cmd=func_convert_file_noop
4959 case $host in
4960 *-*-mingw* )
4961 case $build in
4962 *-*-mingw* ) # actually msys
4963 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4964 ;;
4965 esac
4966 ;;
4967 esac
4968
4969 fi
4970
4971 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4973 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4974
4975
4976
4977
4978
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4980 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4981 if ${lt_cv_ld_reload_flag+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 lt_cv_ld_reload_flag='-r'
4985 fi
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4987 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4988 reload_flag=$lt_cv_ld_reload_flag
4989 case $reload_flag in
4990 "" | " "*) ;;
4991 *) reload_flag=" $reload_flag" ;;
4992 esac
4993 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4994 case $host_os in
4995 cygwin* | mingw* | pw32* | cegcc*)
4996 if test "$GCC" != yes; then
4997 reload_cmds=false
4998 fi
4999 ;;
5000 darwin*)
5001 if test "$GCC" = yes; then
5002 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5003 else
5004 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5005 fi
5006 ;;
5007 esac
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017 if test -n "$ac_tool_prefix"; then
5018 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5019 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_OBJDUMP+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$OBJDUMP"; then
5026 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5030 do
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5038 fi
5039 done
5040 done
5041 IFS=$as_save_IFS
5042
5043 fi
5044 fi
5045 OBJDUMP=$ac_cv_prog_OBJDUMP
5046 if test -n "$OBJDUMP"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5048 $as_echo "$OBJDUMP" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5052 fi
5053
5054
5055 fi
5056 if test -z "$ac_cv_prog_OBJDUMP"; then
5057 ac_ct_OBJDUMP=$OBJDUMP
5058 # Extract the first word of "objdump", so it can be a program name with args.
5059 set dummy objdump; ac_word=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5063 $as_echo_n "(cached) " >&6
5064 else
5065 if test -n "$ac_ct_OBJDUMP"; then
5066 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5067 else
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH
5070 do
5071 IFS=$as_save_IFS
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5075 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 break 2
5078 fi
5079 done
5080 done
5081 IFS=$as_save_IFS
5082
5083 fi
5084 fi
5085 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5086 if test -n "$ac_ct_OBJDUMP"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5088 $as_echo "$ac_ct_OBJDUMP" >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5092 fi
5093
5094 if test "x$ac_ct_OBJDUMP" = x; then
5095 OBJDUMP="false"
5096 else
5097 case $cross_compiling:$ac_tool_warned in
5098 yes:)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned=yes ;;
5102 esac
5103 OBJDUMP=$ac_ct_OBJDUMP
5104 fi
5105 else
5106 OBJDUMP="$ac_cv_prog_OBJDUMP"
5107 fi
5108
5109 test -z "$OBJDUMP" && OBJDUMP=objdump
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5120 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5121 if ${lt_cv_deplibs_check_method+:} false; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 lt_cv_file_magic_cmd='$MAGIC_CMD'
5125 lt_cv_file_magic_test_file=
5126 lt_cv_deplibs_check_method='unknown'
5127 # Need to set the preceding variable on all platforms that support
5128 # interlibrary dependencies.
5129 # 'none' -- dependencies not supported.
5130 # `unknown' -- same as none, but documents that we really don't know.
5131 # 'pass_all' -- all dependencies passed with no checks.
5132 # 'test_compile' -- check by making test program.
5133 # 'file_magic [[regex]]' -- check by looking for files in library path
5134 # which responds to the $file_magic_cmd with a given extended regex.
5135 # If you have `file' or equivalent on your system and you're not sure
5136 # whether `pass_all' will *always* work, you probably want this one.
5137
5138 case $host_os in
5139 aix[4-9]*)
5140 lt_cv_deplibs_check_method=pass_all
5141 ;;
5142
5143 beos*)
5144 lt_cv_deplibs_check_method=pass_all
5145 ;;
5146
5147 bsdi[45]*)
5148 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5149 lt_cv_file_magic_cmd='/usr/bin/file -L'
5150 lt_cv_file_magic_test_file=/shlib/libc.so
5151 ;;
5152
5153 cygwin*)
5154 # func_win32_libid is a shell function defined in ltmain.sh
5155 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5156 lt_cv_file_magic_cmd='func_win32_libid'
5157 ;;
5158
5159 mingw* | pw32*)
5160 # Base MSYS/MinGW do not provide the 'file' command needed by
5161 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5162 # unless we find 'file', for example because we are cross-compiling.
5163 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5164 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5165 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5166 lt_cv_file_magic_cmd='func_win32_libid'
5167 else
5168 # Keep this pattern in sync with the one in func_win32_libid.
5169 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5170 lt_cv_file_magic_cmd='$OBJDUMP -f'
5171 fi
5172 ;;
5173
5174 cegcc*)
5175 # use the weaker test based on 'objdump'. See mingw*.
5176 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5177 lt_cv_file_magic_cmd='$OBJDUMP -f'
5178 ;;
5179
5180 darwin* | rhapsody*)
5181 lt_cv_deplibs_check_method=pass_all
5182 ;;
5183
5184 freebsd* | dragonfly*)
5185 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5186 case $host_cpu in
5187 i*86 )
5188 # Not sure whether the presence of OpenBSD here was a mistake.
5189 # Let's accept both of them until this is cleared up.
5190 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5191 lt_cv_file_magic_cmd=/usr/bin/file
5192 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5193 ;;
5194 esac
5195 else
5196 lt_cv_deplibs_check_method=pass_all
5197 fi
5198 ;;
5199
5200 gnu*)
5201 lt_cv_deplibs_check_method=pass_all
5202 ;;
5203
5204 haiku*)
5205 lt_cv_deplibs_check_method=pass_all
5206 ;;
5207
5208 hpux10.20* | hpux11*)
5209 lt_cv_file_magic_cmd=/usr/bin/file
5210 case $host_cpu in
5211 ia64*)
5212 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5213 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5214 ;;
5215 hppa*64*)
5216 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]'
5217 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5218 ;;
5219 *)
5220 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5221 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5222 ;;
5223 esac
5224 ;;
5225
5226 interix[3-9]*)
5227 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5229 ;;
5230
5231 irix5* | irix6* | nonstopux*)
5232 case $LD in
5233 *-32|*"-32 ") libmagic=32-bit;;
5234 *-n32|*"-n32 ") libmagic=N32;;
5235 *-64|*"-64 ") libmagic=64-bit;;
5236 *) libmagic=never-match;;
5237 esac
5238 lt_cv_deplibs_check_method=pass_all
5239 ;;
5240
5241 # This must be glibc/ELF.
5242 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5243 lt_cv_deplibs_check_method=pass_all
5244 ;;
5245
5246 netbsd*)
5247 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5248 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5249 else
5250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5251 fi
5252 ;;
5253
5254 newos6*)
5255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5256 lt_cv_file_magic_cmd=/usr/bin/file
5257 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5258 ;;
5259
5260 *nto* | *qnx*)
5261 lt_cv_deplibs_check_method=pass_all
5262 ;;
5263
5264 openbsd*)
5265 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5267 else
5268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5269 fi
5270 ;;
5271
5272 osf3* | osf4* | osf5*)
5273 lt_cv_deplibs_check_method=pass_all
5274 ;;
5275
5276 rdos*)
5277 lt_cv_deplibs_check_method=pass_all
5278 ;;
5279
5280 solaris*)
5281 lt_cv_deplibs_check_method=pass_all
5282 ;;
5283
5284 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5285 lt_cv_deplibs_check_method=pass_all
5286 ;;
5287
5288 sysv4 | sysv4.3*)
5289 case $host_vendor in
5290 motorola)
5291 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]'
5292 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5293 ;;
5294 ncr)
5295 lt_cv_deplibs_check_method=pass_all
5296 ;;
5297 sequent)
5298 lt_cv_file_magic_cmd='/bin/file'
5299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5300 ;;
5301 sni)
5302 lt_cv_file_magic_cmd='/bin/file'
5303 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5304 lt_cv_file_magic_test_file=/lib/libc.so
5305 ;;
5306 siemens)
5307 lt_cv_deplibs_check_method=pass_all
5308 ;;
5309 pc)
5310 lt_cv_deplibs_check_method=pass_all
5311 ;;
5312 esac
5313 ;;
5314
5315 tpf*)
5316 lt_cv_deplibs_check_method=pass_all
5317 ;;
5318 esac
5319
5320 fi
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5322 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5323
5324 file_magic_glob=
5325 want_nocaseglob=no
5326 if test "$build" = "$host"; then
5327 case $host_os in
5328 mingw* | pw32*)
5329 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5330 want_nocaseglob=yes
5331 else
5332 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5333 fi
5334 ;;
5335 esac
5336 fi
5337
5338 file_magic_cmd=$lt_cv_file_magic_cmd
5339 deplibs_check_method=$lt_cv_deplibs_check_method
5340 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363 if test -n "$ac_tool_prefix"; then
5364 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5365 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_prog_DLLTOOL+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 if test -n "$DLLTOOL"; then
5372 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5373 else
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 for as_dir in $PATH
5376 do
5377 IFS=$as_save_IFS
5378 test -z "$as_dir" && as_dir=.
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 break 2
5384 fi
5385 done
5386 done
5387 IFS=$as_save_IFS
5388
5389 fi
5390 fi
5391 DLLTOOL=$ac_cv_prog_DLLTOOL
5392 if test -n "$DLLTOOL"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5394 $as_echo "$DLLTOOL" >&6; }
5395 else
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5398 fi
5399
5400
5401 fi
5402 if test -z "$ac_cv_prog_DLLTOOL"; then
5403 ac_ct_DLLTOOL=$DLLTOOL
5404 # Extract the first word of "dlltool", so it can be a program name with args.
5405 set dummy dlltool; ac_word=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 if test -n "$ac_ct_DLLTOOL"; then
5412 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5413 else
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH
5416 do
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5424 fi
5425 done
5426 done
5427 IFS=$as_save_IFS
5428
5429 fi
5430 fi
5431 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5432 if test -n "$ac_ct_DLLTOOL"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5434 $as_echo "$ac_ct_DLLTOOL" >&6; }
5435 else
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5438 fi
5439
5440 if test "x$ac_ct_DLLTOOL" = x; then
5441 DLLTOOL="false"
5442 else
5443 case $cross_compiling:$ac_tool_warned in
5444 yes:)
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5447 ac_tool_warned=yes ;;
5448 esac
5449 DLLTOOL=$ac_ct_DLLTOOL
5450 fi
5451 else
5452 DLLTOOL="$ac_cv_prog_DLLTOOL"
5453 fi
5454
5455 test -z "$DLLTOOL" && DLLTOOL=dlltool
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5467 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5468 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 lt_cv_sharedlib_from_linklib_cmd='unknown'
5472
5473 case $host_os in
5474 cygwin* | mingw* | pw32* | cegcc*)
5475 # two different shell functions defined in ltmain.sh
5476 # decide which to use based on capabilities of $DLLTOOL
5477 case `$DLLTOOL --help 2>&1` in
5478 *--identify-strict*)
5479 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5480 ;;
5481 *)
5482 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5483 ;;
5484 esac
5485 ;;
5486 *)
5487 # fallback: assume linklib IS sharedlib
5488 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5489 ;;
5490 esac
5491
5492 fi
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5494 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5495 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5496 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5497
5498
5499
5500
5501
5502
5503
5504
5505 if test -n "$ac_tool_prefix"; then
5506 for ac_prog in ar
5507 do
5508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5509 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_AR+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$AR"; then
5516 ac_cv_prog_AR="$AR" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5520 do
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5528 fi
5529 done
5530 done
5531 IFS=$as_save_IFS
5532
5533 fi
5534 fi
5535 AR=$ac_cv_prog_AR
5536 if test -n "$AR"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5538 $as_echo "$AR" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5542 fi
5543
5544
5545 test -n "$AR" && break
5546 done
5547 fi
5548 if test -z "$AR"; then
5549 ac_ct_AR=$AR
5550 for ac_prog in ar
5551 do
5552 # Extract the first word of "$ac_prog", so it can be a program name with args.
5553 set dummy $ac_prog; ac_word=$2
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555 $as_echo_n "checking for $ac_word... " >&6; }
5556 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -n "$ac_ct_AR"; then
5560 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5561 else
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH
5564 do
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 ac_cv_prog_ac_ct_AR="$ac_prog"
5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 break 2
5572 fi
5573 done
5574 done
5575 IFS=$as_save_IFS
5576
5577 fi
5578 fi
5579 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5580 if test -n "$ac_ct_AR"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5582 $as_echo "$ac_ct_AR" >&6; }
5583 else
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5586 fi
5587
5588
5589 test -n "$ac_ct_AR" && break
5590 done
5591
5592 if test "x$ac_ct_AR" = x; then
5593 AR="false"
5594 else
5595 case $cross_compiling:$ac_tool_warned in
5596 yes:)
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5600 esac
5601 AR=$ac_ct_AR
5602 fi
5603 fi
5604
5605 : ${AR=ar}
5606 : ${AR_FLAGS=cru}
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5619 $as_echo_n "checking for archiver @FILE support... " >&6; }
5620 if ${lt_cv_ar_at_file+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 lt_cv_ar_at_file=no
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626
5627 int
5628 main ()
5629 {
5630
5631 ;
5632 return 0;
5633 }
5634 _ACEOF
5635 if ac_fn_c_try_compile "$LINENO"; then :
5636 echo conftest.$ac_objext > conftest.lst
5637 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5638 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5639 (eval $lt_ar_try) 2>&5
5640 ac_status=$?
5641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5642 test $ac_status = 0; }
5643 if test "$ac_status" -eq 0; then
5644 # Ensure the archiver fails upon bogus file names.
5645 rm -f conftest.$ac_objext libconftest.a
5646 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5647 (eval $lt_ar_try) 2>&5
5648 ac_status=$?
5649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5650 test $ac_status = 0; }
5651 if test "$ac_status" -ne 0; then
5652 lt_cv_ar_at_file=@
5653 fi
5654 fi
5655 rm -f conftest.* libconftest.a
5656
5657 fi
5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659
5660 fi
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5662 $as_echo "$lt_cv_ar_at_file" >&6; }
5663
5664 if test "x$lt_cv_ar_at_file" = xno; then
5665 archiver_list_spec=
5666 else
5667 archiver_list_spec=$lt_cv_ar_at_file
5668 fi
5669
5670
5671
5672
5673
5674
5675
5676 if test -n "$ac_tool_prefix"; then
5677 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5678 set dummy ${ac_tool_prefix}strip; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_STRIP+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$STRIP"; then
5685 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5689 do
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5697 fi
5698 done
5699 done
5700 IFS=$as_save_IFS
5701
5702 fi
5703 fi
5704 STRIP=$ac_cv_prog_STRIP
5705 if test -n "$STRIP"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5707 $as_echo "$STRIP" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5711 fi
5712
5713
5714 fi
5715 if test -z "$ac_cv_prog_STRIP"; then
5716 ac_ct_STRIP=$STRIP
5717 # Extract the first word of "strip", so it can be a program name with args.
5718 set dummy strip; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -n "$ac_ct_STRIP"; then
5725 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_STRIP="strip"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5737 fi
5738 done
5739 done
5740 IFS=$as_save_IFS
5741
5742 fi
5743 fi
5744 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5745 if test -n "$ac_ct_STRIP"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5747 $as_echo "$ac_ct_STRIP" >&6; }
5748 else
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5751 fi
5752
5753 if test "x$ac_ct_STRIP" = x; then
5754 STRIP=":"
5755 else
5756 case $cross_compiling:$ac_tool_warned in
5757 yes:)
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5760 ac_tool_warned=yes ;;
5761 esac
5762 STRIP=$ac_ct_STRIP
5763 fi
5764 else
5765 STRIP="$ac_cv_prog_STRIP"
5766 fi
5767
5768 test -z "$STRIP" && STRIP=:
5769
5770
5771
5772
5773
5774
5775 if test -n "$ac_tool_prefix"; then
5776 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5777 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_RANLIB+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$RANLIB"; then
5784 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5796 fi
5797 done
5798 done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 RANLIB=$ac_cv_prog_RANLIB
5804 if test -n "$RANLIB"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5806 $as_echo "$RANLIB" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813 fi
5814 if test -z "$ac_cv_prog_RANLIB"; then
5815 ac_ct_RANLIB=$RANLIB
5816 # Extract the first word of "ranlib", so it can be a program name with args.
5817 set dummy ranlib; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 if test -n "$ac_ct_RANLIB"; then
5824 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5828 do
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_ac_ct_RANLIB="ranlib"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5836 fi
5837 done
5838 done
5839 IFS=$as_save_IFS
5840
5841 fi
5842 fi
5843 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5844 if test -n "$ac_ct_RANLIB"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5846 $as_echo "$ac_ct_RANLIB" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5850 fi
5851
5852 if test "x$ac_ct_RANLIB" = x; then
5853 RANLIB=":"
5854 else
5855 case $cross_compiling:$ac_tool_warned in
5856 yes:)
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5859 ac_tool_warned=yes ;;
5860 esac
5861 RANLIB=$ac_ct_RANLIB
5862 fi
5863 else
5864 RANLIB="$ac_cv_prog_RANLIB"
5865 fi
5866
5867 test -z "$RANLIB" && RANLIB=:
5868
5869
5870
5871
5872
5873
5874 # Determine commands to create old-style static archives.
5875 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5876 old_postinstall_cmds='chmod 644 $oldlib'
5877 old_postuninstall_cmds=
5878
5879 if test -n "$RANLIB"; then
5880 case $host_os in
5881 openbsd*)
5882 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5883 ;;
5884 *)
5885 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5886 ;;
5887 esac
5888 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5889 fi
5890
5891 case $host_os in
5892 darwin*)
5893 lock_old_archive_extraction=yes ;;
5894 *)
5895 lock_old_archive_extraction=no ;;
5896 esac
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936 # If no C compiler was specified, use CC.
5937 LTCC=${LTCC-"$CC"}
5938
5939 # If no C compiler flags were specified, use CFLAGS.
5940 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5941
5942 # Allow CC to be a program name with arguments.
5943 compiler=$CC
5944
5945
5946 # Check for command to grab the raw symbol name followed by C symbol from nm.
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5948 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5949 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952
5953 # These are sane defaults that work on at least a few old systems.
5954 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5955
5956 # Character class describing NM global symbol codes.
5957 symcode='[BCDEGRST]'
5958
5959 # Regexp to match symbols that can be accessed directly from C.
5960 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5961
5962 # Define system-specific variables.
5963 case $host_os in
5964 aix*)
5965 symcode='[BCDT]'
5966 ;;
5967 cygwin* | mingw* | pw32* | cegcc*)
5968 symcode='[ABCDGISTW]'
5969 ;;
5970 hpux*)
5971 if test "$host_cpu" = ia64; then
5972 symcode='[ABCDEGRST]'
5973 fi
5974 ;;
5975 irix* | nonstopux*)
5976 symcode='[BCDEGRST]'
5977 ;;
5978 osf*)
5979 symcode='[BCDEGQRST]'
5980 ;;
5981 solaris*)
5982 symcode='[BDRT]'
5983 ;;
5984 sco3.2v5*)
5985 symcode='[DT]'
5986 ;;
5987 sysv4.2uw2*)
5988 symcode='[DT]'
5989 ;;
5990 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5991 symcode='[ABDT]'
5992 ;;
5993 sysv4)
5994 symcode='[DFNSTU]'
5995 ;;
5996 esac
5997
5998 # If we're using GNU nm, then use its standard symbol codes.
5999 case `$NM -V 2>&1` in
6000 *GNU* | *'with BFD'*)
6001 symcode='[ABCDGIRSTW]' ;;
6002 esac
6003
6004 # Transform an extracted symbol line into a proper C declaration.
6005 # Some systems (esp. on ia64) link data and code symbols differently,
6006 # so use this general approach.
6007 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6008
6009 # Transform an extracted symbol line into symbol name and symbol address
6010 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6011 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6012
6013 # Handle CRLF in mingw tool chain
6014 opt_cr=
6015 case $build_os in
6016 mingw*)
6017 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6018 ;;
6019 esac
6020
6021 # Try without a prefix underscore, then with it.
6022 for ac_symprfx in "" "_"; do
6023
6024 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6025 symxfrm="\\1 $ac_symprfx\\2 \\2"
6026
6027 # Write the raw and C identifiers.
6028 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6029 # Fake it for dumpbin and say T for any non-static function
6030 # and D for any global variable.
6031 # Also find C++ and __fastcall symbols from MSVC++,
6032 # which start with @ or ?.
6033 lt_cv_sys_global_symbol_pipe="$AWK '"\
6034 " {last_section=section; section=\$ 3};"\
6035 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6036 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6037 " \$ 0!~/External *\|/{next};"\
6038 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6039 " {if(hide[section]) next};"\
6040 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6041 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6042 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6043 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6044 " ' prfx=^$ac_symprfx"
6045 else
6046 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6047 fi
6048 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6049
6050 # Check to see that the pipe works correctly.
6051 pipe_works=no
6052
6053 rm -f conftest*
6054 cat > conftest.$ac_ext <<_LT_EOF
6055 #ifdef __cplusplus
6056 extern "C" {
6057 #endif
6058 char nm_test_var;
6059 void nm_test_func(void);
6060 void nm_test_func(void){}
6061 #ifdef __cplusplus
6062 }
6063 #endif
6064 int main(){nm_test_var='a';nm_test_func();return(0);}
6065 _LT_EOF
6066
6067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6068 (eval $ac_compile) 2>&5
6069 ac_status=$?
6070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6071 test $ac_status = 0; }; then
6072 # Now try to grab the symbols.
6073 nlist=conftest.nm
6074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6075 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6076 ac_status=$?
6077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6078 test $ac_status = 0; } && test -s "$nlist"; then
6079 # Try sorting and uniquifying the output.
6080 if sort "$nlist" | uniq > "$nlist"T; then
6081 mv -f "$nlist"T "$nlist"
6082 else
6083 rm -f "$nlist"T
6084 fi
6085
6086 # Make sure that we snagged all the symbols we need.
6087 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6088 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6089 cat <<_LT_EOF > conftest.$ac_ext
6090 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6091 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6092 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6093 relocations are performed -- see ld's documentation on pseudo-relocs. */
6094 # define LT_DLSYM_CONST
6095 #elif defined(__osf__)
6096 /* This system does not cope well with relocations in const data. */
6097 # define LT_DLSYM_CONST
6098 #else
6099 # define LT_DLSYM_CONST const
6100 #endif
6101
6102 #ifdef __cplusplus
6103 extern "C" {
6104 #endif
6105
6106 _LT_EOF
6107 # Now generate the symbol file.
6108 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6109
6110 cat <<_LT_EOF >> conftest.$ac_ext
6111
6112 /* The mapping between symbol names and symbols. */
6113 LT_DLSYM_CONST struct {
6114 const char *name;
6115 void *address;
6116 }
6117 lt__PROGRAM__LTX_preloaded_symbols[] =
6118 {
6119 { "@PROGRAM@", (void *) 0 },
6120 _LT_EOF
6121 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6122 cat <<\_LT_EOF >> conftest.$ac_ext
6123 {0, (void *) 0}
6124 };
6125
6126 /* This works around a problem in FreeBSD linker */
6127 #ifdef FREEBSD_WORKAROUND
6128 static const void *lt_preloaded_setup() {
6129 return lt__PROGRAM__LTX_preloaded_symbols;
6130 }
6131 #endif
6132
6133 #ifdef __cplusplus
6134 }
6135 #endif
6136 _LT_EOF
6137 # Now try linking the two files.
6138 mv conftest.$ac_objext conftstm.$ac_objext
6139 lt_globsym_save_LIBS=$LIBS
6140 lt_globsym_save_CFLAGS=$CFLAGS
6141 LIBS="conftstm.$ac_objext"
6142 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6144 (eval $ac_link) 2>&5
6145 ac_status=$?
6146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6147 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6148 pipe_works=yes
6149 fi
6150 LIBS=$lt_globsym_save_LIBS
6151 CFLAGS=$lt_globsym_save_CFLAGS
6152 else
6153 echo "cannot find nm_test_func in $nlist" >&5
6154 fi
6155 else
6156 echo "cannot find nm_test_var in $nlist" >&5
6157 fi
6158 else
6159 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6160 fi
6161 else
6162 echo "$progname: failed program was:" >&5
6163 cat conftest.$ac_ext >&5
6164 fi
6165 rm -rf conftest* conftst*
6166
6167 # Do not use the global_symbol_pipe unless it works.
6168 if test "$pipe_works" = yes; then
6169 break
6170 else
6171 lt_cv_sys_global_symbol_pipe=
6172 fi
6173 done
6174
6175 fi
6176
6177 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6178 lt_cv_sys_global_symbol_to_cdecl=
6179 fi
6180 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6182 $as_echo "failed" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6185 $as_echo "ok" >&6; }
6186 fi
6187
6188 # Response file support.
6189 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6190 nm_file_list_spec='@'
6191 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6192 nm_file_list_spec='@'
6193 fi
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6222 $as_echo_n "checking for sysroot... " >&6; }
6223
6224 # Check whether --with-sysroot was given.
6225 if test "${with_sysroot+set}" = set; then :
6226 withval=$with_sysroot;
6227 else
6228 with_sysroot=no
6229 fi
6230
6231
6232 lt_sysroot=
6233 case ${with_sysroot} in #(
6234 yes)
6235 if test "$GCC" = yes; then
6236 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6237 fi
6238 ;; #(
6239 /*)
6240 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6241 ;; #(
6242 no|'')
6243 ;; #(
6244 *)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6246 $as_echo "${with_sysroot}" >&6; }
6247 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6248 ;;
6249 esac
6250
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6252 $as_echo "${lt_sysroot:-no}" >&6; }
6253
6254
6255
6256
6257
6258 # Check whether --enable-libtool-lock was given.
6259 if test "${enable_libtool_lock+set}" = set; then :
6260 enableval=$enable_libtool_lock;
6261 fi
6262
6263 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6264
6265 # Some flags need to be propagated to the compiler or linker for good
6266 # libtool support.
6267 case $host in
6268 ia64-*-hpux*)
6269 # Find out which ABI we are using.
6270 echo 'int i;' > conftest.$ac_ext
6271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6272 (eval $ac_compile) 2>&5
6273 ac_status=$?
6274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6275 test $ac_status = 0; }; then
6276 case `/usr/bin/file conftest.$ac_objext` in
6277 *ELF-32*)
6278 HPUX_IA64_MODE="32"
6279 ;;
6280 *ELF-64*)
6281 HPUX_IA64_MODE="64"
6282 ;;
6283 esac
6284 fi
6285 rm -rf conftest*
6286 ;;
6287 *-*-irix6*)
6288 # Find out which ABI we are using.
6289 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6291 (eval $ac_compile) 2>&5
6292 ac_status=$?
6293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6294 test $ac_status = 0; }; then
6295 if test "$lt_cv_prog_gnu_ld" = yes; then
6296 case `/usr/bin/file conftest.$ac_objext` in
6297 *32-bit*)
6298 LD="${LD-ld} -melf32bsmip"
6299 ;;
6300 *N32*)
6301 LD="${LD-ld} -melf32bmipn32"
6302 ;;
6303 *64-bit*)
6304 LD="${LD-ld} -melf64bmip"
6305 ;;
6306 esac
6307 else
6308 case `/usr/bin/file conftest.$ac_objext` in
6309 *32-bit*)
6310 LD="${LD-ld} -32"
6311 ;;
6312 *N32*)
6313 LD="${LD-ld} -n32"
6314 ;;
6315 *64-bit*)
6316 LD="${LD-ld} -64"
6317 ;;
6318 esac
6319 fi
6320 fi
6321 rm -rf conftest*
6322 ;;
6323
6324 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6325 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6326 # Find out which ABI we are using.
6327 echo 'int i;' > conftest.$ac_ext
6328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6329 (eval $ac_compile) 2>&5
6330 ac_status=$?
6331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6332 test $ac_status = 0; }; then
6333 case `/usr/bin/file conftest.o` in
6334 *32-bit*)
6335 case $host in
6336 x86_64-*kfreebsd*-gnu)
6337 LD="${LD-ld} -m elf_i386_fbsd"
6338 ;;
6339 x86_64-*linux*)
6340 LD="${LD-ld} -m elf_i386"
6341 ;;
6342 ppc64-*linux*|powerpc64-*linux*)
6343 LD="${LD-ld} -m elf32ppclinux"
6344 ;;
6345 s390x-*linux*)
6346 LD="${LD-ld} -m elf_s390"
6347 ;;
6348 sparc64-*linux*)
6349 LD="${LD-ld} -m elf32_sparc"
6350 ;;
6351 esac
6352 ;;
6353 *64-bit*)
6354 case $host in
6355 x86_64-*kfreebsd*-gnu)
6356 LD="${LD-ld} -m elf_x86_64_fbsd"
6357 ;;
6358 x86_64-*linux*)
6359 LD="${LD-ld} -m elf_x86_64"
6360 ;;
6361 ppc*-*linux*|powerpc*-*linux*)
6362 LD="${LD-ld} -m elf64ppc"
6363 ;;
6364 s390*-*linux*|s390*-*tpf*)
6365 LD="${LD-ld} -m elf64_s390"
6366 ;;
6367 sparc*-*linux*)
6368 LD="${LD-ld} -m elf64_sparc"
6369 ;;
6370 esac
6371 ;;
6372 esac
6373 fi
6374 rm -rf conftest*
6375 ;;
6376
6377 *-*-sco3.2v5*)
6378 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6379 SAVE_CFLAGS="$CFLAGS"
6380 CFLAGS="$CFLAGS -belf"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6382 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6383 if ${lt_cv_cc_needs_belf+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6386 ac_ext=c
6387 ac_cpp='$CPP $CPPFLAGS'
6388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6391
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394
6395 int
6396 main ()
6397 {
6398
6399 ;
6400 return 0;
6401 }
6402 _ACEOF
6403 if ac_fn_c_try_link "$LINENO"; then :
6404 lt_cv_cc_needs_belf=yes
6405 else
6406 lt_cv_cc_needs_belf=no
6407 fi
6408 rm -f core conftest.err conftest.$ac_objext \
6409 conftest$ac_exeext conftest.$ac_ext
6410 ac_ext=c
6411 ac_cpp='$CPP $CPPFLAGS'
6412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6415
6416 fi
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6418 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6419 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6420 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6421 CFLAGS="$SAVE_CFLAGS"
6422 fi
6423 ;;
6424 *-*solaris*)
6425 # Find out which ABI we are using.
6426 echo 'int i;' > conftest.$ac_ext
6427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6428 (eval $ac_compile) 2>&5
6429 ac_status=$?
6430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6431 test $ac_status = 0; }; then
6432 case `/usr/bin/file conftest.o` in
6433 *64-bit*)
6434 case $lt_cv_prog_gnu_ld in
6435 yes*)
6436 case $host in
6437 i?86-*-solaris*)
6438 LD="${LD-ld} -m elf_x86_64"
6439 ;;
6440 sparc*-*-solaris*)
6441 LD="${LD-ld} -m elf64_sparc"
6442 ;;
6443 esac
6444 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6445 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6446 LD="${LD-ld}_sol2"
6447 fi
6448 ;;
6449 *)
6450 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6451 LD="${LD-ld} -64"
6452 fi
6453 ;;
6454 esac
6455 ;;
6456 esac
6457 fi
6458 rm -rf conftest*
6459 ;;
6460 esac
6461
6462 need_locks="$enable_libtool_lock"
6463
6464 if test -n "$ac_tool_prefix"; then
6465 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6466 set dummy ${ac_tool_prefix}mt; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$MANIFEST_TOOL"; then
6473 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6485 fi
6486 done
6487 done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6493 if test -n "$MANIFEST_TOOL"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6495 $as_echo "$MANIFEST_TOOL" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501
6502 fi
6503 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6504 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6505 # Extract the first word of "mt", so it can be a program name with args.
6506 set dummy mt; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$ac_ct_MANIFEST_TOOL"; then
6513 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6517 do
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6525 fi
6526 done
6527 done
6528 IFS=$as_save_IFS
6529
6530 fi
6531 fi
6532 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6533 if test -n "$ac_ct_MANIFEST_TOOL"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6535 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6539 fi
6540
6541 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6542 MANIFEST_TOOL=":"
6543 else
6544 case $cross_compiling:$ac_tool_warned in
6545 yes:)
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6548 ac_tool_warned=yes ;;
6549 esac
6550 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6551 fi
6552 else
6553 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6554 fi
6555
6556 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6558 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6559 if ${lt_cv_path_mainfest_tool+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 lt_cv_path_mainfest_tool=no
6563 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6564 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6565 cat conftest.err >&5
6566 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6567 lt_cv_path_mainfest_tool=yes
6568 fi
6569 rm -f conftest*
6570 fi
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6572 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6573 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6574 MANIFEST_TOOL=:
6575 fi
6576
6577
6578
6579
6580
6581
6582 case $host_os in
6583 rhapsody* | darwin*)
6584 if test -n "$ac_tool_prefix"; then
6585 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6586 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 if test -n "$DSYMUTIL"; then
6593 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6597 do
6598 IFS=$as_save_IFS
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 break 2
6605 fi
6606 done
6607 done
6608 IFS=$as_save_IFS
6609
6610 fi
6611 fi
6612 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6613 if test -n "$DSYMUTIL"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6615 $as_echo "$DSYMUTIL" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 fi
6620
6621
6622 fi
6623 if test -z "$ac_cv_prog_DSYMUTIL"; then
6624 ac_ct_DSYMUTIL=$DSYMUTIL
6625 # Extract the first word of "dsymutil", so it can be a program name with args.
6626 set dummy dsymutil; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6630 $as_echo_n "(cached) " >&6
6631 else
6632 if test -n "$ac_ct_DSYMUTIL"; then
6633 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6637 do
6638 IFS=$as_save_IFS
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 break 2
6645 fi
6646 done
6647 done
6648 IFS=$as_save_IFS
6649
6650 fi
6651 fi
6652 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6653 if test -n "$ac_ct_DSYMUTIL"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6655 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6656 else
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6659 fi
6660
6661 if test "x$ac_ct_DSYMUTIL" = x; then
6662 DSYMUTIL=":"
6663 else
6664 case $cross_compiling:$ac_tool_warned in
6665 yes:)
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6668 ac_tool_warned=yes ;;
6669 esac
6670 DSYMUTIL=$ac_ct_DSYMUTIL
6671 fi
6672 else
6673 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6674 fi
6675
6676 if test -n "$ac_tool_prefix"; then
6677 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6678 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_NMEDIT+:} false; then :
6682 $as_echo_n "(cached) " >&6
6683 else
6684 if test -n "$NMEDIT"; then
6685 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6689 do
6690 IFS=$as_save_IFS
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 break 2
6697 fi
6698 done
6699 done
6700 IFS=$as_save_IFS
6701
6702 fi
6703 fi
6704 NMEDIT=$ac_cv_prog_NMEDIT
6705 if test -n "$NMEDIT"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6707 $as_echo "$NMEDIT" >&6; }
6708 else
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6711 fi
6712
6713
6714 fi
6715 if test -z "$ac_cv_prog_NMEDIT"; then
6716 ac_ct_NMEDIT=$NMEDIT
6717 # Extract the first word of "nmedit", so it can be a program name with args.
6718 set dummy nmedit; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$ac_ct_NMEDIT"; then
6725 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6729 do
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6737 fi
6738 done
6739 done
6740 IFS=$as_save_IFS
6741
6742 fi
6743 fi
6744 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6745 if test -n "$ac_ct_NMEDIT"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6747 $as_echo "$ac_ct_NMEDIT" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6751 fi
6752
6753 if test "x$ac_ct_NMEDIT" = x; then
6754 NMEDIT=":"
6755 else
6756 case $cross_compiling:$ac_tool_warned in
6757 yes:)
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6760 ac_tool_warned=yes ;;
6761 esac
6762 NMEDIT=$ac_ct_NMEDIT
6763 fi
6764 else
6765 NMEDIT="$ac_cv_prog_NMEDIT"
6766 fi
6767
6768 if test -n "$ac_tool_prefix"; then
6769 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6770 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if ${ac_cv_prog_LIPO+:} false; then :
6774 $as_echo_n "(cached) " >&6
6775 else
6776 if test -n "$LIPO"; then
6777 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6778 else
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 for as_dir in $PATH
6781 do
6782 IFS=$as_save_IFS
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6788 break 2
6789 fi
6790 done
6791 done
6792 IFS=$as_save_IFS
6793
6794 fi
6795 fi
6796 LIPO=$ac_cv_prog_LIPO
6797 if test -n "$LIPO"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6799 $as_echo "$LIPO" >&6; }
6800 else
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6803 fi
6804
6805
6806 fi
6807 if test -z "$ac_cv_prog_LIPO"; then
6808 ac_ct_LIPO=$LIPO
6809 # Extract the first word of "lipo", so it can be a program name with args.
6810 set dummy lipo; ac_word=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 $as_echo_n "checking for $ac_word... " >&6; }
6813 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6814 $as_echo_n "(cached) " >&6
6815 else
6816 if test -n "$ac_ct_LIPO"; then
6817 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6818 else
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 for as_dir in $PATH
6821 do
6822 IFS=$as_save_IFS
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826 ac_cv_prog_ac_ct_LIPO="lipo"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6828 break 2
6829 fi
6830 done
6831 done
6832 IFS=$as_save_IFS
6833
6834 fi
6835 fi
6836 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6837 if test -n "$ac_ct_LIPO"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6839 $as_echo "$ac_ct_LIPO" >&6; }
6840 else
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6842 $as_echo "no" >&6; }
6843 fi
6844
6845 if test "x$ac_ct_LIPO" = x; then
6846 LIPO=":"
6847 else
6848 case $cross_compiling:$ac_tool_warned in
6849 yes:)
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6852 ac_tool_warned=yes ;;
6853 esac
6854 LIPO=$ac_ct_LIPO
6855 fi
6856 else
6857 LIPO="$ac_cv_prog_LIPO"
6858 fi
6859
6860 if test -n "$ac_tool_prefix"; then
6861 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6862 set dummy ${ac_tool_prefix}otool; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 $as_echo_n "checking for $ac_word... " >&6; }
6865 if ${ac_cv_prog_OTOOL+:} false; then :
6866 $as_echo_n "(cached) " >&6
6867 else
6868 if test -n "$OTOOL"; then
6869 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6870 else
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 for as_dir in $PATH
6873 do
6874 IFS=$as_save_IFS
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6880 break 2
6881 fi
6882 done
6883 done
6884 IFS=$as_save_IFS
6885
6886 fi
6887 fi
6888 OTOOL=$ac_cv_prog_OTOOL
6889 if test -n "$OTOOL"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6891 $as_echo "$OTOOL" >&6; }
6892 else
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 $as_echo "no" >&6; }
6895 fi
6896
6897
6898 fi
6899 if test -z "$ac_cv_prog_OTOOL"; then
6900 ac_ct_OTOOL=$OTOOL
6901 # Extract the first word of "otool", so it can be a program name with args.
6902 set dummy otool; ac_word=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 $as_echo_n "checking for $ac_word... " >&6; }
6905 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6906 $as_echo_n "(cached) " >&6
6907 else
6908 if test -n "$ac_ct_OTOOL"; then
6909 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6910 else
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 for as_dir in $PATH
6913 do
6914 IFS=$as_save_IFS
6915 test -z "$as_dir" && as_dir=.
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918 ac_cv_prog_ac_ct_OTOOL="otool"
6919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6920 break 2
6921 fi
6922 done
6923 done
6924 IFS=$as_save_IFS
6925
6926 fi
6927 fi
6928 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6929 if test -n "$ac_ct_OTOOL"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6931 $as_echo "$ac_ct_OTOOL" >&6; }
6932 else
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 $as_echo "no" >&6; }
6935 fi
6936
6937 if test "x$ac_ct_OTOOL" = x; then
6938 OTOOL=":"
6939 else
6940 case $cross_compiling:$ac_tool_warned in
6941 yes:)
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6944 ac_tool_warned=yes ;;
6945 esac
6946 OTOOL=$ac_ct_OTOOL
6947 fi
6948 else
6949 OTOOL="$ac_cv_prog_OTOOL"
6950 fi
6951
6952 if test -n "$ac_tool_prefix"; then
6953 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6954 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_OTOOL64+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 if test -n "$OTOOL64"; then
6961 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6962 else
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 for as_dir in $PATH
6965 do
6966 IFS=$as_save_IFS
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 break 2
6973 fi
6974 done
6975 done
6976 IFS=$as_save_IFS
6977
6978 fi
6979 fi
6980 OTOOL64=$ac_cv_prog_OTOOL64
6981 if test -n "$OTOOL64"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6983 $as_echo "$OTOOL64" >&6; }
6984 else
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6987 fi
6988
6989
6990 fi
6991 if test -z "$ac_cv_prog_OTOOL64"; then
6992 ac_ct_OTOOL64=$OTOOL64
6993 # Extract the first word of "otool64", so it can be a program name with args.
6994 set dummy otool64; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6998 $as_echo_n "(cached) " >&6
6999 else
7000 if test -n "$ac_ct_OTOOL64"; then
7001 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7002 else
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 for as_dir in $PATH
7005 do
7006 IFS=$as_save_IFS
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010 ac_cv_prog_ac_ct_OTOOL64="otool64"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012 break 2
7013 fi
7014 done
7015 done
7016 IFS=$as_save_IFS
7017
7018 fi
7019 fi
7020 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7021 if test -n "$ac_ct_OTOOL64"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7023 $as_echo "$ac_ct_OTOOL64" >&6; }
7024 else
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7027 fi
7028
7029 if test "x$ac_ct_OTOOL64" = x; then
7030 OTOOL64=":"
7031 else
7032 case $cross_compiling:$ac_tool_warned in
7033 yes:)
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7036 ac_tool_warned=yes ;;
7037 esac
7038 OTOOL64=$ac_ct_OTOOL64
7039 fi
7040 else
7041 OTOOL64="$ac_cv_prog_OTOOL64"
7042 fi
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7071 $as_echo_n "checking for -single_module linker flag... " >&6; }
7072 if ${lt_cv_apple_cc_single_mod+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 lt_cv_apple_cc_single_mod=no
7076 if test -z "${LT_MULTI_MODULE}"; then
7077 # By default we will add the -single_module flag. You can override
7078 # by either setting the environment variable LT_MULTI_MODULE
7079 # non-empty at configure time, or by adding -multi_module to the
7080 # link flags.
7081 rm -rf libconftest.dylib*
7082 echo "int foo(void){return 1;}" > conftest.c
7083 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7084 -dynamiclib -Wl,-single_module conftest.c" >&5
7085 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7086 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7087 _lt_result=$?
7088 # If there is a non-empty error log, and "single_module"
7089 # appears in it, assume the flag caused a linker warning
7090 if test -s conftest.err && $GREP single_module conftest.err; then
7091 cat conftest.err >&5
7092 # Otherwise, if the output was created with a 0 exit code from
7093 # the compiler, it worked.
7094 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7095 lt_cv_apple_cc_single_mod=yes
7096 else
7097 cat conftest.err >&5
7098 fi
7099 rm -rf libconftest.dylib*
7100 rm -f conftest.*
7101 fi
7102 fi
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7104 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7105
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7107 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7108 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 lt_cv_ld_exported_symbols_list=no
7112 save_LDFLAGS=$LDFLAGS
7113 echo "_main" > conftest.sym
7114 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117
7118 int
7119 main ()
7120 {
7121
7122 ;
7123 return 0;
7124 }
7125 _ACEOF
7126 if ac_fn_c_try_link "$LINENO"; then :
7127 lt_cv_ld_exported_symbols_list=yes
7128 else
7129 lt_cv_ld_exported_symbols_list=no
7130 fi
7131 rm -f core conftest.err conftest.$ac_objext \
7132 conftest$ac_exeext conftest.$ac_ext
7133 LDFLAGS="$save_LDFLAGS"
7134
7135 fi
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7137 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7138
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7140 $as_echo_n "checking for -force_load linker flag... " >&6; }
7141 if ${lt_cv_ld_force_load+:} false; then :
7142 $as_echo_n "(cached) " >&6
7143 else
7144 lt_cv_ld_force_load=no
7145 cat > conftest.c << _LT_EOF
7146 int forced_loaded() { return 2;}
7147 _LT_EOF
7148 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7149 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7150 echo "$AR cru libconftest.a conftest.o" >&5
7151 $AR cru libconftest.a conftest.o 2>&5
7152 echo "$RANLIB libconftest.a" >&5
7153 $RANLIB libconftest.a 2>&5
7154 cat > conftest.c << _LT_EOF
7155 int main() { return 0;}
7156 _LT_EOF
7157 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7158 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7159 _lt_result=$?
7160 if test -s conftest.err && $GREP force_load conftest.err; then
7161 cat conftest.err >&5
7162 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7163 lt_cv_ld_force_load=yes
7164 else
7165 cat conftest.err >&5
7166 fi
7167 rm -f conftest.err libconftest.a conftest conftest.c
7168 rm -rf conftest.dSYM
7169
7170 fi
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7172 $as_echo "$lt_cv_ld_force_load" >&6; }
7173 case $host_os in
7174 rhapsody* | darwin1.[012])
7175 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7176 darwin1.*)
7177 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7178 darwin*) # darwin 5.x on
7179 # if running on 10.5 or later, the deployment target defaults
7180 # to the OS version, if on x86, and 10.4, the deployment
7181 # target defaults to 10.4. Don't you love it?
7182 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7183 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7184 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7185 10.[012]*)
7186 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7187 10.*)
7188 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7189 esac
7190 ;;
7191 esac
7192 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7193 _lt_dar_single_mod='$single_module'
7194 fi
7195 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7196 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7197 else
7198 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7199 fi
7200 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7201 _lt_dsymutil='~$DSYMUTIL $lib || :'
7202 else
7203 _lt_dsymutil=
7204 fi
7205 ;;
7206 esac
7207
7208 ac_ext=c
7209 ac_cpp='$CPP $CPPFLAGS'
7210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7214 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7215 # On Suns, sometimes $CPP names a directory.
7216 if test -n "$CPP" && test -d "$CPP"; then
7217 CPP=
7218 fi
7219 if test -z "$CPP"; then
7220 if ${ac_cv_prog_CPP+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 # Double quotes because CPP needs to be expanded
7224 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7225 do
7226 ac_preproc_ok=false
7227 for ac_c_preproc_warn_flag in '' yes
7228 do
7229 # Use a header file that comes with gcc, so configuring glibc
7230 # with a fresh cross-compiler works.
7231 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7232 # <limits.h> exists even on freestanding compilers.
7233 # On the NeXT, cc -E runs the code through the compiler's parser,
7234 # not just through cpp. "Syntax error" is here to catch this case.
7235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7237 #ifdef __STDC__
7238 # include <limits.h>
7239 #else
7240 # include <assert.h>
7241 #endif
7242 Syntax error
7243 _ACEOF
7244 if ac_fn_c_try_cpp "$LINENO"; then :
7245
7246 else
7247 # Broken: fails on valid input.
7248 continue
7249 fi
7250 rm -f conftest.err conftest.i conftest.$ac_ext
7251
7252 # OK, works on sane cases. Now check whether nonexistent headers
7253 # can be detected and how.
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256 #include <ac_nonexistent.h>
7257 _ACEOF
7258 if ac_fn_c_try_cpp "$LINENO"; then :
7259 # Broken: success on invalid input.
7260 continue
7261 else
7262 # Passes both tests.
7263 ac_preproc_ok=:
7264 break
7265 fi
7266 rm -f conftest.err conftest.i conftest.$ac_ext
7267
7268 done
7269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7270 rm -f conftest.i conftest.err conftest.$ac_ext
7271 if $ac_preproc_ok; then :
7272 break
7273 fi
7274
7275 done
7276 ac_cv_prog_CPP=$CPP
7277
7278 fi
7279 CPP=$ac_cv_prog_CPP
7280 else
7281 ac_cv_prog_CPP=$CPP
7282 fi
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7284 $as_echo "$CPP" >&6; }
7285 ac_preproc_ok=false
7286 for ac_c_preproc_warn_flag in '' yes
7287 do
7288 # Use a header file that comes with gcc, so configuring glibc
7289 # with a fresh cross-compiler works.
7290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7291 # <limits.h> exists even on freestanding compilers.
7292 # On the NeXT, cc -E runs the code through the compiler's parser,
7293 # not just through cpp. "Syntax error" is here to catch this case.
7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h. */
7296 #ifdef __STDC__
7297 # include <limits.h>
7298 #else
7299 # include <assert.h>
7300 #endif
7301 Syntax error
7302 _ACEOF
7303 if ac_fn_c_try_cpp "$LINENO"; then :
7304
7305 else
7306 # Broken: fails on valid input.
7307 continue
7308 fi
7309 rm -f conftest.err conftest.i conftest.$ac_ext
7310
7311 # OK, works on sane cases. Now check whether nonexistent headers
7312 # can be detected and how.
7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h. */
7315 #include <ac_nonexistent.h>
7316 _ACEOF
7317 if ac_fn_c_try_cpp "$LINENO"; then :
7318 # Broken: success on invalid input.
7319 continue
7320 else
7321 # Passes both tests.
7322 ac_preproc_ok=:
7323 break
7324 fi
7325 rm -f conftest.err conftest.i conftest.$ac_ext
7326
7327 done
7328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7329 rm -f conftest.i conftest.err conftest.$ac_ext
7330 if $ac_preproc_ok; then :
7331
7332 else
7333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7335 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7336 See \`config.log' for more details" "$LINENO" 5; }
7337 fi
7338
7339 ac_ext=c
7340 ac_cpp='$CPP $CPPFLAGS'
7341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7344
7345
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7347 $as_echo_n "checking for ANSI C header files... " >&6; }
7348 if ${ac_cv_header_stdc+:} false; then :
7349 $as_echo_n "(cached) " >&6
7350 else
7351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7352 /* end confdefs.h. */
7353 #include <stdlib.h>
7354 #include <stdarg.h>
7355 #include <string.h>
7356 #include <float.h>
7357
7358 int
7359 main ()
7360 {
7361
7362 ;
7363 return 0;
7364 }
7365 _ACEOF
7366 if ac_fn_c_try_compile "$LINENO"; then :
7367 ac_cv_header_stdc=yes
7368 else
7369 ac_cv_header_stdc=no
7370 fi
7371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7372
7373 if test $ac_cv_header_stdc = yes; then
7374 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7377 #include <string.h>
7378
7379 _ACEOF
7380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7381 $EGREP "memchr" >/dev/null 2>&1; then :
7382
7383 else
7384 ac_cv_header_stdc=no
7385 fi
7386 rm -f conftest*
7387
7388 fi
7389
7390 if test $ac_cv_header_stdc = yes; then
7391 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7394 #include <stdlib.h>
7395
7396 _ACEOF
7397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7398 $EGREP "free" >/dev/null 2>&1; then :
7399
7400 else
7401 ac_cv_header_stdc=no
7402 fi
7403 rm -f conftest*
7404
7405 fi
7406
7407 if test $ac_cv_header_stdc = yes; then
7408 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7409 if test "$cross_compiling" = yes; then :
7410 :
7411 else
7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7414 #include <ctype.h>
7415 #include <stdlib.h>
7416 #if ((' ' & 0x0FF) == 0x020)
7417 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7418 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7419 #else
7420 # define ISLOWER(c) \
7421 (('a' <= (c) && (c) <= 'i') \
7422 || ('j' <= (c) && (c) <= 'r') \
7423 || ('s' <= (c) && (c) <= 'z'))
7424 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7425 #endif
7426
7427 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7428 int
7429 main ()
7430 {
7431 int i;
7432 for (i = 0; i < 256; i++)
7433 if (XOR (islower (i), ISLOWER (i))
7434 || toupper (i) != TOUPPER (i))
7435 return 2;
7436 return 0;
7437 }
7438 _ACEOF
7439 if ac_fn_c_try_run "$LINENO"; then :
7440
7441 else
7442 ac_cv_header_stdc=no
7443 fi
7444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7445 conftest.$ac_objext conftest.beam conftest.$ac_ext
7446 fi
7447
7448 fi
7449 fi
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7451 $as_echo "$ac_cv_header_stdc" >&6; }
7452 if test $ac_cv_header_stdc = yes; then
7453
7454 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7455
7456 fi
7457
7458 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7459 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7460 inttypes.h stdint.h unistd.h
7461 do :
7462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7463 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7464 "
7465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7466 cat >>confdefs.h <<_ACEOF
7467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7468 _ACEOF
7469
7470 fi
7471
7472 done
7473
7474
7475 for ac_header in dlfcn.h
7476 do :
7477 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7478 "
7479 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7480 cat >>confdefs.h <<_ACEOF
7481 #define HAVE_DLFCN_H 1
7482 _ACEOF
7483
7484 fi
7485
7486 done
7487
7488
7489
7490
7491
7492 # Set options
7493
7494
7495
7496 enable_dlopen=no
7497
7498
7499 enable_win32_dll=no
7500
7501
7502 # Check whether --enable-shared was given.
7503 if test "${enable_shared+set}" = set; then :
7504 enableval=$enable_shared; p=${PACKAGE-default}
7505 case $enableval in
7506 yes) enable_shared=yes ;;
7507 no) enable_shared=no ;;
7508 *)
7509 enable_shared=no
7510 # Look at the argument we got. We use all the common list separators.
7511 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7512 for pkg in $enableval; do
7513 IFS="$lt_save_ifs"
7514 if test "X$pkg" = "X$p"; then
7515 enable_shared=yes
7516 fi
7517 done
7518 IFS="$lt_save_ifs"
7519 ;;
7520 esac
7521 else
7522 enable_shared=yes
7523 fi
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533 # Check whether --enable-static was given.
7534 if test "${enable_static+set}" = set; then :
7535 enableval=$enable_static; p=${PACKAGE-default}
7536 case $enableval in
7537 yes) enable_static=yes ;;
7538 no) enable_static=no ;;
7539 *)
7540 enable_static=no
7541 # Look at the argument we got. We use all the common list separators.
7542 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7543 for pkg in $enableval; do
7544 IFS="$lt_save_ifs"
7545 if test "X$pkg" = "X$p"; then
7546 enable_static=yes
7547 fi
7548 done
7549 IFS="$lt_save_ifs"
7550 ;;
7551 esac
7552 else
7553 enable_static=yes
7554 fi
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565 # Check whether --with-pic was given.
7566 if test "${with_pic+set}" = set; then :
7567 withval=$with_pic; lt_p=${PACKAGE-default}
7568 case $withval in
7569 yes|no) pic_mode=$withval ;;
7570 *)
7571 pic_mode=default
7572 # Look at the argument we got. We use all the common list separators.
7573 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7574 for lt_pkg in $withval; do
7575 IFS="$lt_save_ifs"
7576 if test "X$lt_pkg" = "X$lt_p"; then
7577 pic_mode=yes
7578 fi
7579 done
7580 IFS="$lt_save_ifs"
7581 ;;
7582 esac
7583 else
7584 pic_mode=default
7585 fi
7586
7587
7588 test -z "$pic_mode" && pic_mode=default
7589
7590
7591
7592
7593
7594
7595
7596 # Check whether --enable-fast-install was given.
7597 if test "${enable_fast_install+set}" = set; then :
7598 enableval=$enable_fast_install; p=${PACKAGE-default}
7599 case $enableval in
7600 yes) enable_fast_install=yes ;;
7601 no) enable_fast_install=no ;;
7602 *)
7603 enable_fast_install=no
7604 # Look at the argument we got. We use all the common list separators.
7605 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7606 for pkg in $enableval; do
7607 IFS="$lt_save_ifs"
7608 if test "X$pkg" = "X$p"; then
7609 enable_fast_install=yes
7610 fi
7611 done
7612 IFS="$lt_save_ifs"
7613 ;;
7614 esac
7615 else
7616 enable_fast_install=yes
7617 fi
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629 # This can be used to rebuild libtool when needed
7630 LIBTOOL_DEPS="$ltmain"
7631
7632 # Always use our own libtool.
7633 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664 test -z "$LN_S" && LN_S="ln -s"
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679 if test -n "${ZSH_VERSION+set}" ; then
7680 setopt NO_GLOB_SUBST
7681 fi
7682
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7684 $as_echo_n "checking for objdir... " >&6; }
7685 if ${lt_cv_objdir+:} false; then :
7686 $as_echo_n "(cached) " >&6
7687 else
7688 rm -f .libs 2>/dev/null
7689 mkdir .libs 2>/dev/null
7690 if test -d .libs; then
7691 lt_cv_objdir=.libs
7692 else
7693 # MS-DOS does not allow filenames that begin with a dot.
7694 lt_cv_objdir=_libs
7695 fi
7696 rmdir .libs 2>/dev/null
7697 fi
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7699 $as_echo "$lt_cv_objdir" >&6; }
7700 objdir=$lt_cv_objdir
7701
7702
7703
7704
7705
7706 cat >>confdefs.h <<_ACEOF
7707 #define LT_OBJDIR "$lt_cv_objdir/"
7708 _ACEOF
7709
7710
7711
7712
7713 case $host_os in
7714 aix3*)
7715 # AIX sometimes has problems with the GCC collect2 program. For some
7716 # reason, if we set the COLLECT_NAMES environment variable, the problems
7717 # vanish in a puff of smoke.
7718 if test "X${COLLECT_NAMES+set}" != Xset; then
7719 COLLECT_NAMES=
7720 export COLLECT_NAMES
7721 fi
7722 ;;
7723 esac
7724
7725 # Global variables:
7726 ofile=libtool
7727 can_build_shared=yes
7728
7729 # All known linkers require a `.a' archive for static linking (except MSVC,
7730 # which needs '.lib').
7731 libext=a
7732
7733 with_gnu_ld="$lt_cv_prog_gnu_ld"
7734
7735 old_CC="$CC"
7736 old_CFLAGS="$CFLAGS"
7737
7738 # Set sane defaults for various variables
7739 test -z "$CC" && CC=cc
7740 test -z "$LTCC" && LTCC=$CC
7741 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7742 test -z "$LD" && LD=ld
7743 test -z "$ac_objext" && ac_objext=o
7744
7745 for cc_temp in $compiler""; do
7746 case $cc_temp in
7747 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7748 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7749 \-*) ;;
7750 *) break;;
7751 esac
7752 done
7753 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7754
7755
7756 # Only perform the check for file, if the check method requires it
7757 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7758 case $deplibs_check_method in
7759 file_magic*)
7760 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7762 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7763 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7764 $as_echo_n "(cached) " >&6
7765 else
7766 case $MAGIC_CMD in
7767 [\\/*] | ?:[\\/]*)
7768 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7769 ;;
7770 *)
7771 lt_save_MAGIC_CMD="$MAGIC_CMD"
7772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7773 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7774 for ac_dir in $ac_dummy; do
7775 IFS="$lt_save_ifs"
7776 test -z "$ac_dir" && ac_dir=.
7777 if test -f $ac_dir/${ac_tool_prefix}file; then
7778 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7779 if test -n "$file_magic_test_file"; then
7780 case $deplibs_check_method in
7781 "file_magic "*)
7782 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7783 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7784 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7785 $EGREP "$file_magic_regex" > /dev/null; then
7786 :
7787 else
7788 cat <<_LT_EOF 1>&2
7789
7790 *** Warning: the command libtool uses to detect shared libraries,
7791 *** $file_magic_cmd, produces output that libtool cannot recognize.
7792 *** The result is that libtool may fail to recognize shared libraries
7793 *** as such. This will affect the creation of libtool libraries that
7794 *** depend on shared libraries, but programs linked with such libtool
7795 *** libraries will work regardless of this problem. Nevertheless, you
7796 *** may want to report the problem to your system manager and/or to
7797 *** [email protected]
7798
7799 _LT_EOF
7800 fi ;;
7801 esac
7802 fi
7803 break
7804 fi
7805 done
7806 IFS="$lt_save_ifs"
7807 MAGIC_CMD="$lt_save_MAGIC_CMD"
7808 ;;
7809 esac
7810 fi
7811
7812 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7813 if test -n "$MAGIC_CMD"; then
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7815 $as_echo "$MAGIC_CMD" >&6; }
7816 else
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7818 $as_echo "no" >&6; }
7819 fi
7820
7821
7822
7823
7824
7825 if test -z "$lt_cv_path_MAGIC_CMD"; then
7826 if test -n "$ac_tool_prefix"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7828 $as_echo_n "checking for file... " >&6; }
7829 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7830 $as_echo_n "(cached) " >&6
7831 else
7832 case $MAGIC_CMD in
7833 [\\/*] | ?:[\\/]*)
7834 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7835 ;;
7836 *)
7837 lt_save_MAGIC_CMD="$MAGIC_CMD"
7838 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7839 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7840 for ac_dir in $ac_dummy; do
7841 IFS="$lt_save_ifs"
7842 test -z "$ac_dir" && ac_dir=.
7843 if test -f $ac_dir/file; then
7844 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7845 if test -n "$file_magic_test_file"; then
7846 case $deplibs_check_method in
7847 "file_magic "*)
7848 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7850 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7851 $EGREP "$file_magic_regex" > /dev/null; then
7852 :
7853 else
7854 cat <<_LT_EOF 1>&2
7855
7856 *** Warning: the command libtool uses to detect shared libraries,
7857 *** $file_magic_cmd, produces output that libtool cannot recognize.
7858 *** The result is that libtool may fail to recognize shared libraries
7859 *** as such. This will affect the creation of libtool libraries that
7860 *** depend on shared libraries, but programs linked with such libtool
7861 *** libraries will work regardless of this problem. Nevertheless, you
7862 *** may want to report the problem to your system manager and/or to
7863 *** [email protected]
7864
7865 _LT_EOF
7866 fi ;;
7867 esac
7868 fi
7869 break
7870 fi
7871 done
7872 IFS="$lt_save_ifs"
7873 MAGIC_CMD="$lt_save_MAGIC_CMD"
7874 ;;
7875 esac
7876 fi
7877
7878 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7879 if test -n "$MAGIC_CMD"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7881 $as_echo "$MAGIC_CMD" >&6; }
7882 else
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7884 $as_echo "no" >&6; }
7885 fi
7886
7887
7888 else
7889 MAGIC_CMD=:
7890 fi
7891 fi
7892
7893 fi
7894 ;;
7895 esac
7896
7897 # Use C for the default configuration in the libtool script
7898
7899 lt_save_CC="$CC"
7900 ac_ext=c
7901 ac_cpp='$CPP $CPPFLAGS'
7902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7905
7906
7907 # Source file extension for C test sources.
7908 ac_ext=c
7909
7910 # Object file extension for compiled C test sources.
7911 objext=o
7912 objext=$objext
7913
7914 # Code to be used in simple compile tests
7915 lt_simple_compile_test_code="int some_variable = 0;"
7916
7917 # Code to be used in simple link tests
7918 lt_simple_link_test_code='int main(){return(0);}'
7919
7920
7921
7922
7923
7924
7925
7926 # If no C compiler was specified, use CC.
7927 LTCC=${LTCC-"$CC"}
7928
7929 # If no C compiler flags were specified, use CFLAGS.
7930 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7931
7932 # Allow CC to be a program name with arguments.
7933 compiler=$CC
7934
7935 # Save the default compiler, since it gets overwritten when the other
7936 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7937 compiler_DEFAULT=$CC
7938
7939 # save warnings/boilerplate of simple test code
7940 ac_outfile=conftest.$ac_objext
7941 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7942 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7943 _lt_compiler_boilerplate=`cat conftest.err`
7944 $RM conftest*
7945
7946 ac_outfile=conftest.$ac_objext
7947 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7948 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7949 _lt_linker_boilerplate=`cat conftest.err`
7950 $RM -r conftest*
7951
7952
7953 if test -n "$compiler"; then
7954
7955 lt_prog_compiler_no_builtin_flag=
7956
7957 if test "$GCC" = yes; then
7958 case $cc_basename in
7959 nvcc*)
7960 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7961 *)
7962 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7963 esac
7964
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7966 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7967 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7968 $as_echo_n "(cached) " >&6
7969 else
7970 lt_cv_prog_compiler_rtti_exceptions=no
7971 ac_outfile=conftest.$ac_objext
7972 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7973 lt_compiler_flag="-fno-rtti -fno-exceptions"
7974 # Insert the option either (1) after the last *FLAGS variable, or
7975 # (2) before a word containing "conftest.", or (3) at the end.
7976 # Note that $ac_compile itself does not contain backslashes and begins
7977 # with a dollar sign (not a hyphen), so the echo should work correctly.
7978 # The option is referenced via a variable to avoid confusing sed.
7979 lt_compile=`echo "$ac_compile" | $SED \
7980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7982 -e 's:$: $lt_compiler_flag:'`
7983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7984 (eval "$lt_compile" 2>conftest.err)
7985 ac_status=$?
7986 cat conftest.err >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 if (exit $ac_status) && test -s "$ac_outfile"; then
7989 # The compiler can only warn and ignore the option if not recognized
7990 # So say no if there are warnings other than the usual output.
7991 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7992 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7993 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7994 lt_cv_prog_compiler_rtti_exceptions=yes
7995 fi
7996 fi
7997 $RM conftest*
7998
7999 fi
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8001 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8002
8003 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8004 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8005 else
8006 :
8007 fi
8008
8009 fi
8010
8011
8012
8013
8014
8015
8016 lt_prog_compiler_wl=
8017 lt_prog_compiler_pic=
8018 lt_prog_compiler_static=
8019
8020
8021 if test "$GCC" = yes; then
8022 lt_prog_compiler_wl='-Wl,'
8023 lt_prog_compiler_static='-static'
8024
8025 case $host_os in
8026 aix*)
8027 # All AIX code is PIC.
8028 if test "$host_cpu" = ia64; then
8029 # AIX 5 now supports IA64 processor
8030 lt_prog_compiler_static='-Bstatic'
8031 fi
8032 ;;
8033
8034 amigaos*)
8035 case $host_cpu in
8036 powerpc)
8037 # see comment about AmigaOS4 .so support
8038 lt_prog_compiler_pic='-fPIC'
8039 ;;
8040 m68k)
8041 # FIXME: we need at least 68020 code to build shared libraries, but
8042 # adding the `-m68020' flag to GCC prevents building anything better,
8043 # like `-m68040'.
8044 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8045 ;;
8046 esac
8047 ;;
8048
8049 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8050 # PIC is the default for these OSes.
8051 ;;
8052
8053 mingw* | cygwin* | pw32* | os2* | cegcc*)
8054 # This hack is so that the source file can tell whether it is being
8055 # built for inclusion in a dll (and should export symbols for example).
8056 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8057 # (--disable-auto-import) libraries
8058 lt_prog_compiler_pic='-DDLL_EXPORT'
8059 ;;
8060
8061 darwin* | rhapsody*)
8062 # PIC is the default on this platform
8063 # Common symbols not allowed in MH_DYLIB files
8064 lt_prog_compiler_pic='-fno-common'
8065 ;;
8066
8067 haiku*)
8068 # PIC is the default for Haiku.
8069 # The "-static" flag exists, but is broken.
8070 lt_prog_compiler_static=
8071 ;;
8072
8073 hpux*)
8074 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8075 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8076 # sets the default TLS model and affects inlining.
8077 case $host_cpu in
8078 hppa*64*)
8079 # +Z the default
8080 ;;
8081 *)
8082 lt_prog_compiler_pic='-fPIC'
8083 ;;
8084 esac
8085 ;;
8086
8087 interix[3-9]*)
8088 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8089 # Instead, we relocate shared libraries at runtime.
8090 ;;
8091
8092 msdosdjgpp*)
8093 # Just because we use GCC doesn't mean we suddenly get shared libraries
8094 # on systems that don't support them.
8095 lt_prog_compiler_can_build_shared=no
8096 enable_shared=no
8097 ;;
8098
8099 *nto* | *qnx*)
8100 # QNX uses GNU C++, but need to define -shared option too, otherwise
8101 # it will coredump.
8102 lt_prog_compiler_pic='-fPIC -shared'
8103 ;;
8104
8105 sysv4*MP*)
8106 if test -d /usr/nec; then
8107 lt_prog_compiler_pic=-Kconform_pic
8108 fi
8109 ;;
8110
8111 *)
8112 lt_prog_compiler_pic='-fPIC'
8113 ;;
8114 esac
8115
8116 case $cc_basename in
8117 nvcc*) # Cuda Compiler Driver 2.2
8118 lt_prog_compiler_wl='-Xlinker '
8119 if test -n "$lt_prog_compiler_pic"; then
8120 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8121 fi
8122 ;;
8123 esac
8124 else
8125 # PORTME Check for flag to pass linker flags through the system compiler.
8126 case $host_os in
8127 aix*)
8128 lt_prog_compiler_wl='-Wl,'
8129 if test "$host_cpu" = ia64; then
8130 # AIX 5 now supports IA64 processor
8131 lt_prog_compiler_static='-Bstatic'
8132 else
8133 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8134 fi
8135 ;;
8136
8137 mingw* | cygwin* | pw32* | os2* | cegcc*)
8138 # This hack is so that the source file can tell whether it is being
8139 # built for inclusion in a dll (and should export symbols for example).
8140 lt_prog_compiler_pic='-DDLL_EXPORT'
8141 ;;
8142
8143 hpux9* | hpux10* | hpux11*)
8144 lt_prog_compiler_wl='-Wl,'
8145 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8146 # not for PA HP-UX.
8147 case $host_cpu in
8148 hppa*64*|ia64*)
8149 # +Z the default
8150 ;;
8151 *)
8152 lt_prog_compiler_pic='+Z'
8153 ;;
8154 esac
8155 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8156 lt_prog_compiler_static='${wl}-a ${wl}archive'
8157 ;;
8158
8159 irix5* | irix6* | nonstopux*)
8160 lt_prog_compiler_wl='-Wl,'
8161 # PIC (with -KPIC) is the default.
8162 lt_prog_compiler_static='-non_shared'
8163 ;;
8164
8165 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8166 case $cc_basename in
8167 # old Intel for x86_64 which still supported -KPIC.
8168 ecc*)
8169 lt_prog_compiler_wl='-Wl,'
8170 lt_prog_compiler_pic='-KPIC'
8171 lt_prog_compiler_static='-static'
8172 ;;
8173 # icc used to be incompatible with GCC.
8174 # ICC 10 doesn't accept -KPIC any more.
8175 icc* | ifort*)
8176 lt_prog_compiler_wl='-Wl,'
8177 lt_prog_compiler_pic='-fPIC'
8178 lt_prog_compiler_static='-static'
8179 ;;
8180 # Lahey Fortran 8.1.
8181 lf95*)
8182 lt_prog_compiler_wl='-Wl,'
8183 lt_prog_compiler_pic='--shared'
8184 lt_prog_compiler_static='--static'
8185 ;;
8186 nagfor*)
8187 # NAG Fortran compiler
8188 lt_prog_compiler_wl='-Wl,-Wl,,'
8189 lt_prog_compiler_pic='-PIC'
8190 lt_prog_compiler_static='-Bstatic'
8191 ;;
8192 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8193 # Portland Group compilers (*not* the Pentium gcc compiler,
8194 # which looks to be a dead project)
8195 lt_prog_compiler_wl='-Wl,'
8196 lt_prog_compiler_pic='-fpic'
8197 lt_prog_compiler_static='-Bstatic'
8198 ;;
8199 ccc*)
8200 lt_prog_compiler_wl='-Wl,'
8201 # All Alpha code is PIC.
8202 lt_prog_compiler_static='-non_shared'
8203 ;;
8204 xl* | bgxl* | bgf* | mpixl*)
8205 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8206 lt_prog_compiler_wl='-Wl,'
8207 lt_prog_compiler_pic='-qpic'
8208 lt_prog_compiler_static='-qstaticlink'
8209 ;;
8210 *)
8211 case `$CC -V 2>&1 | sed 5q` in
8212 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8213 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8214 lt_prog_compiler_pic='-KPIC'
8215 lt_prog_compiler_static='-Bstatic'
8216 lt_prog_compiler_wl=''
8217 ;;
8218 *Sun\ F* | *Sun*Fortran*)
8219 lt_prog_compiler_pic='-KPIC'
8220 lt_prog_compiler_static='-Bstatic'
8221 lt_prog_compiler_wl='-Qoption ld '
8222 ;;
8223 *Sun\ C*)
8224 # Sun C 5.9
8225 lt_prog_compiler_pic='-KPIC'
8226 lt_prog_compiler_static='-Bstatic'
8227 lt_prog_compiler_wl='-Wl,'
8228 ;;
8229 *Intel*\ [CF]*Compiler*)
8230 lt_prog_compiler_wl='-Wl,'
8231 lt_prog_compiler_pic='-fPIC'
8232 lt_prog_compiler_static='-static'
8233 ;;
8234 *Portland\ Group*)
8235 lt_prog_compiler_wl='-Wl,'
8236 lt_prog_compiler_pic='-fpic'
8237 lt_prog_compiler_static='-Bstatic'
8238 ;;
8239 esac
8240 ;;
8241 esac
8242 ;;
8243
8244 newsos6)
8245 lt_prog_compiler_pic='-KPIC'
8246 lt_prog_compiler_static='-Bstatic'
8247 ;;
8248
8249 *nto* | *qnx*)
8250 # QNX uses GNU C++, but need to define -shared option too, otherwise
8251 # it will coredump.
8252 lt_prog_compiler_pic='-fPIC -shared'
8253 ;;
8254
8255 osf3* | osf4* | osf5*)
8256 lt_prog_compiler_wl='-Wl,'
8257 # All OSF/1 code is PIC.
8258 lt_prog_compiler_static='-non_shared'
8259 ;;
8260
8261 rdos*)
8262 lt_prog_compiler_static='-non_shared'
8263 ;;
8264
8265 solaris*)
8266 lt_prog_compiler_pic='-KPIC'
8267 lt_prog_compiler_static='-Bstatic'
8268 case $cc_basename in
8269 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8270 lt_prog_compiler_wl='-Qoption ld ';;
8271 *)
8272 lt_prog_compiler_wl='-Wl,';;
8273 esac
8274 ;;
8275
8276 sunos4*)
8277 lt_prog_compiler_wl='-Qoption ld '
8278 lt_prog_compiler_pic='-PIC'
8279 lt_prog_compiler_static='-Bstatic'
8280 ;;
8281
8282 sysv4 | sysv4.2uw2* | sysv4.3*)
8283 lt_prog_compiler_wl='-Wl,'
8284 lt_prog_compiler_pic='-KPIC'
8285 lt_prog_compiler_static='-Bstatic'
8286 ;;
8287
8288 sysv4*MP*)
8289 if test -d /usr/nec ;then
8290 lt_prog_compiler_pic='-Kconform_pic'
8291 lt_prog_compiler_static='-Bstatic'
8292 fi
8293 ;;
8294
8295 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8296 lt_prog_compiler_wl='-Wl,'
8297 lt_prog_compiler_pic='-KPIC'
8298 lt_prog_compiler_static='-Bstatic'
8299 ;;
8300
8301 unicos*)
8302 lt_prog_compiler_wl='-Wl,'
8303 lt_prog_compiler_can_build_shared=no
8304 ;;
8305
8306 uts4*)
8307 lt_prog_compiler_pic='-pic'
8308 lt_prog_compiler_static='-Bstatic'
8309 ;;
8310
8311 *)
8312 lt_prog_compiler_can_build_shared=no
8313 ;;
8314 esac
8315 fi
8316
8317 case $host_os in
8318 # For platforms which do not support PIC, -DPIC is meaningless:
8319 *djgpp*)
8320 lt_prog_compiler_pic=
8321 ;;
8322 *)
8323 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8324 ;;
8325 esac
8326
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8328 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8329 if ${lt_cv_prog_compiler_pic+:} false; then :
8330 $as_echo_n "(cached) " >&6
8331 else
8332 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8333 fi
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8335 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8336 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8337
8338 #
8339 # Check to make sure the PIC flag actually works.
8340 #
8341 if test -n "$lt_prog_compiler_pic"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8343 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8344 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 lt_cv_prog_compiler_pic_works=no
8348 ac_outfile=conftest.$ac_objext
8349 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8350 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8351 # Insert the option either (1) after the last *FLAGS variable, or
8352 # (2) before a word containing "conftest.", or (3) at the end.
8353 # Note that $ac_compile itself does not contain backslashes and begins
8354 # with a dollar sign (not a hyphen), so the echo should work correctly.
8355 # The option is referenced via a variable to avoid confusing sed.
8356 lt_compile=`echo "$ac_compile" | $SED \
8357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8359 -e 's:$: $lt_compiler_flag:'`
8360 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8361 (eval "$lt_compile" 2>conftest.err)
8362 ac_status=$?
8363 cat conftest.err >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 if (exit $ac_status) && test -s "$ac_outfile"; then
8366 # The compiler can only warn and ignore the option if not recognized
8367 # So say no if there are warnings other than the usual output.
8368 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8370 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8371 lt_cv_prog_compiler_pic_works=yes
8372 fi
8373 fi
8374 $RM conftest*
8375
8376 fi
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8378 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8379
8380 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8381 case $lt_prog_compiler_pic in
8382 "" | " "*) ;;
8383 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8384 esac
8385 else
8386 lt_prog_compiler_pic=
8387 lt_prog_compiler_can_build_shared=no
8388 fi
8389
8390 fi
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402 #
8403 # Check to make sure the static flag actually works.
8404 #
8405 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8407 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8408 if ${lt_cv_prog_compiler_static_works+:} false; then :
8409 $as_echo_n "(cached) " >&6
8410 else
8411 lt_cv_prog_compiler_static_works=no
8412 save_LDFLAGS="$LDFLAGS"
8413 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8414 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8415 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8416 # The linker can only warn and ignore the option if not recognized
8417 # So say no if there are warnings
8418 if test -s conftest.err; then
8419 # Append any errors to the config.log.
8420 cat conftest.err 1>&5
8421 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8422 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8423 if diff conftest.exp conftest.er2 >/dev/null; then
8424 lt_cv_prog_compiler_static_works=yes
8425 fi
8426 else
8427 lt_cv_prog_compiler_static_works=yes
8428 fi
8429 fi
8430 $RM -r conftest*
8431 LDFLAGS="$save_LDFLAGS"
8432
8433 fi
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8435 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8436
8437 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8438 :
8439 else
8440 lt_prog_compiler_static=
8441 fi
8442
8443
8444
8445
8446
8447
8448
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8450 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8451 if ${lt_cv_prog_compiler_c_o+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 lt_cv_prog_compiler_c_o=no
8455 $RM -r conftest 2>/dev/null
8456 mkdir conftest
8457 cd conftest
8458 mkdir out
8459 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8460
8461 lt_compiler_flag="-o out/conftest2.$ac_objext"
8462 # Insert the option either (1) after the last *FLAGS variable, or
8463 # (2) before a word containing "conftest.", or (3) at the end.
8464 # Note that $ac_compile itself does not contain backslashes and begins
8465 # with a dollar sign (not a hyphen), so the echo should work correctly.
8466 lt_compile=`echo "$ac_compile" | $SED \
8467 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8468 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8469 -e 's:$: $lt_compiler_flag:'`
8470 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8471 (eval "$lt_compile" 2>out/conftest.err)
8472 ac_status=$?
8473 cat out/conftest.err >&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8476 then
8477 # The compiler can only warn and ignore the option if not recognized
8478 # So say no if there are warnings
8479 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8480 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8481 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8482 lt_cv_prog_compiler_c_o=yes
8483 fi
8484 fi
8485 chmod u+w . 2>&5
8486 $RM conftest*
8487 # SGI C++ compiler will create directory out/ii_files/ for
8488 # template instantiation
8489 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8490 $RM out/* && rmdir out
8491 cd ..
8492 $RM -r conftest
8493 $RM conftest*
8494
8495 fi
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8497 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8498
8499
8500
8501
8502
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8505 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8506 if ${lt_cv_prog_compiler_c_o+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 lt_cv_prog_compiler_c_o=no
8510 $RM -r conftest 2>/dev/null
8511 mkdir conftest
8512 cd conftest
8513 mkdir out
8514 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8515
8516 lt_compiler_flag="-o out/conftest2.$ac_objext"
8517 # Insert the option either (1) after the last *FLAGS variable, or
8518 # (2) before a word containing "conftest.", or (3) at the end.
8519 # Note that $ac_compile itself does not contain backslashes and begins
8520 # with a dollar sign (not a hyphen), so the echo should work correctly.
8521 lt_compile=`echo "$ac_compile" | $SED \
8522 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8524 -e 's:$: $lt_compiler_flag:'`
8525 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8526 (eval "$lt_compile" 2>out/conftest.err)
8527 ac_status=$?
8528 cat out/conftest.err >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8531 then
8532 # The compiler can only warn and ignore the option if not recognized
8533 # So say no if there are warnings
8534 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8535 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8536 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8537 lt_cv_prog_compiler_c_o=yes
8538 fi
8539 fi
8540 chmod u+w . 2>&5
8541 $RM conftest*
8542 # SGI C++ compiler will create directory out/ii_files/ for
8543 # template instantiation
8544 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8545 $RM out/* && rmdir out
8546 cd ..
8547 $RM -r conftest
8548 $RM conftest*
8549
8550 fi
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8552 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8553
8554
8555
8556
8557 hard_links="nottested"
8558 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8559 # do not overwrite the value of need_locks provided by the user
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8561 $as_echo_n "checking if we can lock with hard links... " >&6; }
8562 hard_links=yes
8563 $RM conftest*
8564 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8565 touch conftest.a
8566 ln conftest.a conftest.b 2>&5 || hard_links=no
8567 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8569 $as_echo "$hard_links" >&6; }
8570 if test "$hard_links" = no; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8572 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8573 need_locks=warn
8574 fi
8575 else
8576 need_locks=no
8577 fi
8578
8579
8580
8581
8582
8583
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8585 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8586
8587 runpath_var=
8588 allow_undefined_flag=
8589 always_export_symbols=no
8590 archive_cmds=
8591 archive_expsym_cmds=
8592 compiler_needs_object=no
8593 enable_shared_with_static_runtimes=no
8594 export_dynamic_flag_spec=
8595 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8596 hardcode_automatic=no
8597 hardcode_direct=no
8598 hardcode_direct_absolute=no
8599 hardcode_libdir_flag_spec=
8600 hardcode_libdir_separator=
8601 hardcode_minus_L=no
8602 hardcode_shlibpath_var=unsupported
8603 inherit_rpath=no
8604 link_all_deplibs=unknown
8605 module_cmds=
8606 module_expsym_cmds=
8607 old_archive_from_new_cmds=
8608 old_archive_from_expsyms_cmds=
8609 thread_safe_flag_spec=
8610 whole_archive_flag_spec=
8611 # include_expsyms should be a list of space-separated symbols to be *always*
8612 # included in the symbol list
8613 include_expsyms=
8614 # exclude_expsyms can be an extended regexp of symbols to exclude
8615 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8616 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8617 # as well as any symbol that contains `d'.
8618 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8619 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8620 # platforms (ab)use it in PIC code, but their linkers get confused if
8621 # the symbol is explicitly referenced. Since portable code cannot
8622 # rely on this symbol name, it's probably fine to never include it in
8623 # preloaded symbol tables.
8624 # Exclude shared library initialization/finalization symbols.
8625 extract_expsyms_cmds=
8626
8627 case $host_os in
8628 cygwin* | mingw* | pw32* | cegcc*)
8629 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8630 # When not using gcc, we currently assume that we are using
8631 # Microsoft Visual C++.
8632 if test "$GCC" != yes; then
8633 with_gnu_ld=no
8634 fi
8635 ;;
8636 interix*)
8637 # we just hope/assume this is gcc and not c89 (= MSVC++)
8638 with_gnu_ld=yes
8639 ;;
8640 openbsd*)
8641 with_gnu_ld=no
8642 ;;
8643 esac
8644
8645 ld_shlibs=yes
8646
8647 # On some targets, GNU ld is compatible enough with the native linker
8648 # that we're better off using the native interface for both.
8649 lt_use_gnu_ld_interface=no
8650 if test "$with_gnu_ld" = yes; then
8651 case $host_os in
8652 aix*)
8653 # The AIX port of GNU ld has always aspired to compatibility
8654 # with the native linker. However, as the warning in the GNU ld
8655 # block says, versions before 2.19.5* couldn't really create working
8656 # shared libraries, regardless of the interface used.
8657 case `$LD -v 2>&1` in
8658 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8659 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8660 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8661 *)
8662 lt_use_gnu_ld_interface=yes
8663 ;;
8664 esac
8665 ;;
8666 *)
8667 lt_use_gnu_ld_interface=yes
8668 ;;
8669 esac
8670 fi
8671
8672 if test "$lt_use_gnu_ld_interface" = yes; then
8673 # If archive_cmds runs LD, not CC, wlarc should be empty
8674 wlarc='${wl}'
8675
8676 # Set some defaults for GNU ld with shared library support. These
8677 # are reset later if shared libraries are not supported. Putting them
8678 # here allows them to be overridden if necessary.
8679 runpath_var=LD_RUN_PATH
8680 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8681 export_dynamic_flag_spec='${wl}--export-dynamic'
8682 # ancient GNU ld didn't support --whole-archive et. al.
8683 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8684 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8685 else
8686 whole_archive_flag_spec=
8687 fi
8688 supports_anon_versioning=no
8689 case `$LD -v 2>&1` in
8690 *GNU\ gold*) supports_anon_versioning=yes ;;
8691 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8692 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8693 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8694 *\ 2.11.*) ;; # other 2.11 versions
8695 *) supports_anon_versioning=yes ;;
8696 esac
8697
8698 # See if GNU ld supports shared libraries.
8699 case $host_os in
8700 aix[3-9]*)
8701 # On AIX/PPC, the GNU linker is very broken
8702 if test "$host_cpu" != ia64; then
8703 ld_shlibs=no
8704 cat <<_LT_EOF 1>&2
8705
8706 *** Warning: the GNU linker, at least up to release 2.19, is reported
8707 *** to be unable to reliably create shared libraries on AIX.
8708 *** Therefore, libtool is disabling shared libraries support. If you
8709 *** really care for shared libraries, you may want to install binutils
8710 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8711 *** You will then need to restart the configuration process.
8712
8713 _LT_EOF
8714 fi
8715 ;;
8716
8717 amigaos*)
8718 case $host_cpu in
8719 powerpc)
8720 # see comment about AmigaOS4 .so support
8721 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8722 archive_expsym_cmds=''
8723 ;;
8724 m68k)
8725 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)'
8726 hardcode_libdir_flag_spec='-L$libdir'
8727 hardcode_minus_L=yes
8728 ;;
8729 esac
8730 ;;
8731
8732 beos*)
8733 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8734 allow_undefined_flag=unsupported
8735 # Joseph Beckenbach <[email protected]> says some releases of gcc
8736 # support --undefined. This deserves some investigation. FIXME
8737 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8738 else
8739 ld_shlibs=no
8740 fi
8741 ;;
8742
8743 cygwin* | mingw* | pw32* | cegcc*)
8744 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8745 # as there is no search path for DLLs.
8746 hardcode_libdir_flag_spec='-L$libdir'
8747 export_dynamic_flag_spec='${wl}--export-all-symbols'
8748 allow_undefined_flag=unsupported
8749 always_export_symbols=no
8750 enable_shared_with_static_runtimes=yes
8751 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'
8752 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8753
8754 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8755 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8756 # If the export-symbols file already is a .def file (1st line
8757 # is EXPORTS), use it as is; otherwise, prepend...
8758 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8759 cp $export_symbols $output_objdir/$soname.def;
8760 else
8761 echo EXPORTS > $output_objdir/$soname.def;
8762 cat $export_symbols >> $output_objdir/$soname.def;
8763 fi~
8764 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8765 else
8766 ld_shlibs=no
8767 fi
8768 ;;
8769
8770 haiku*)
8771 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772 link_all_deplibs=yes
8773 ;;
8774
8775 interix[3-9]*)
8776 hardcode_direct=no
8777 hardcode_shlibpath_var=no
8778 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8779 export_dynamic_flag_spec='${wl}-E'
8780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8781 # Instead, shared libraries are loaded at an image base (0x10000000 by
8782 # default) and relocated if they conflict, which is a slow very memory
8783 # consuming and fragmenting process. To avoid this, we pick a random,
8784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8786 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8787 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'
8788 ;;
8789
8790 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8791 tmp_diet=no
8792 if test "$host_os" = linux-dietlibc; then
8793 case $cc_basename in
8794 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8795 esac
8796 fi
8797 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8798 && test "$tmp_diet" = no
8799 then
8800 tmp_addflag=' $pic_flag'
8801 tmp_sharedflag='-shared'
8802 case $cc_basename,$host_cpu in
8803 pgcc*) # Portland Group C compiler
8804 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'
8805 tmp_addflag=' $pic_flag'
8806 ;;
8807 pgf77* | pgf90* | pgf95* | pgfortran*)
8808 # Portland Group f77 and f90 compilers
8809 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'
8810 tmp_addflag=' $pic_flag -Mnomain' ;;
8811 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8812 tmp_addflag=' -i_dynamic' ;;
8813 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8814 tmp_addflag=' -i_dynamic -nofor_main' ;;
8815 ifc* | ifort*) # Intel Fortran compiler
8816 tmp_addflag=' -nofor_main' ;;
8817 lf95*) # Lahey Fortran 8.1
8818 whole_archive_flag_spec=
8819 tmp_sharedflag='--shared' ;;
8820 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8821 tmp_sharedflag='-qmkshrobj'
8822 tmp_addflag= ;;
8823 nvcc*) # Cuda Compiler Driver 2.2
8824 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'
8825 compiler_needs_object=yes
8826 ;;
8827 esac
8828 case `$CC -V 2>&1 | sed 5q` in
8829 *Sun\ C*) # Sun C 5.9
8830 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'
8831 compiler_needs_object=yes
8832 tmp_sharedflag='-G' ;;
8833 *Sun\ F*) # Sun Fortran 8.3
8834 tmp_sharedflag='-G' ;;
8835 esac
8836 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8837
8838 if test "x$supports_anon_versioning" = xyes; then
8839 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8840 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8841 echo "local: *; };" >> $output_objdir/$libname.ver~
8842 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8843 fi
8844
8845 case $cc_basename in
8846 xlf* | bgf* | bgxlf* | mpixlf*)
8847 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8848 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8849 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8850 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8851 if test "x$supports_anon_versioning" = xyes; then
8852 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8853 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8854 echo "local: *; };" >> $output_objdir/$libname.ver~
8855 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8856 fi
8857 ;;
8858 esac
8859 else
8860 ld_shlibs=no
8861 fi
8862 ;;
8863
8864 netbsd*)
8865 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8866 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8867 wlarc=
8868 else
8869 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8870 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8871 fi
8872 ;;
8873
8874 solaris*)
8875 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8876 ld_shlibs=no
8877 cat <<_LT_EOF 1>&2
8878
8879 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8880 *** create shared libraries on Solaris systems. Therefore, libtool
8881 *** is disabling shared libraries support. We urge you to upgrade GNU
8882 *** binutils to release 2.9.1 or newer. Another option is to modify
8883 *** your PATH or compiler configuration so that the native linker is
8884 *** used, and then restart.
8885
8886 _LT_EOF
8887 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8888 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8889 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8890 else
8891 ld_shlibs=no
8892 fi
8893 ;;
8894
8895 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8896 case `$LD -v 2>&1` in
8897 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8898 ld_shlibs=no
8899 cat <<_LT_EOF 1>&2
8900
8901 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8902 *** reliably create shared libraries on SCO systems. Therefore, libtool
8903 *** is disabling shared libraries support. We urge you to upgrade GNU
8904 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8905 *** your PATH or compiler configuration so that the native linker is
8906 *** used, and then restart.
8907
8908 _LT_EOF
8909 ;;
8910 *)
8911 # For security reasons, it is highly recommended that you always
8912 # use absolute paths for naming shared libraries, and exclude the
8913 # DT_RUNPATH tag from executables and libraries. But doing so
8914 # requires that you compile everything twice, which is a pain.
8915 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8916 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8919 else
8920 ld_shlibs=no
8921 fi
8922 ;;
8923 esac
8924 ;;
8925
8926 sunos4*)
8927 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8928 wlarc=
8929 hardcode_direct=yes
8930 hardcode_shlibpath_var=no
8931 ;;
8932
8933 *)
8934 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8935 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8937 else
8938 ld_shlibs=no
8939 fi
8940 ;;
8941 esac
8942
8943 if test "$ld_shlibs" = no; then
8944 runpath_var=
8945 hardcode_libdir_flag_spec=
8946 export_dynamic_flag_spec=
8947 whole_archive_flag_spec=
8948 fi
8949 else
8950 # PORTME fill in a description of your system's linker (not GNU ld)
8951 case $host_os in
8952 aix3*)
8953 allow_undefined_flag=unsupported
8954 always_export_symbols=yes
8955 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'
8956 # Note: this linker hardcodes the directories in LIBPATH if there
8957 # are no directories specified by -L.
8958 hardcode_minus_L=yes
8959 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8960 # Neither direct hardcoding nor static linking is supported with a
8961 # broken collect2.
8962 hardcode_direct=unsupported
8963 fi
8964 ;;
8965
8966 aix[4-9]*)
8967 if test "$host_cpu" = ia64; then
8968 # On IA64, the linker does run time linking by default, so we don't
8969 # have to do anything special.
8970 aix_use_runtimelinking=no
8971 exp_sym_flag='-Bexport'
8972 no_entry_flag=""
8973 else
8974 # If we're using GNU nm, then we don't want the "-C" option.
8975 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8976 # Also, AIX nm treats weak defined symbols like other global
8977 # defined symbols, whereas GNU nm marks them as "W".
8978 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8979 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8980 else
8981 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8982 fi
8983 aix_use_runtimelinking=no
8984
8985 # Test if we are trying to use run time linking or normal
8986 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8987 # need to do runtime linking.
8988 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8989 for ld_flag in $LDFLAGS; do
8990 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8991 aix_use_runtimelinking=yes
8992 break
8993 fi
8994 done
8995 ;;
8996 esac
8997
8998 exp_sym_flag='-bexport'
8999 no_entry_flag='-bnoentry'
9000 fi
9001
9002 # When large executables or shared objects are built, AIX ld can
9003 # have problems creating the table of contents. If linking a library
9004 # or program results in "error TOC overflow" add -mminimal-toc to
9005 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9006 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9007
9008 archive_cmds=''
9009 hardcode_direct=yes
9010 hardcode_direct_absolute=yes
9011 hardcode_libdir_separator=':'
9012 link_all_deplibs=yes
9013 file_list_spec='${wl}-f,'
9014
9015 if test "$GCC" = yes; then
9016 case $host_os in aix4.[012]|aix4.[012].*)
9017 # We only want to do this on AIX 4.2 and lower, the check
9018 # below for broken collect2 doesn't work under 4.3+
9019 collect2name=`${CC} -print-prog-name=collect2`
9020 if test -f "$collect2name" &&
9021 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9022 then
9023 # We have reworked collect2
9024 :
9025 else
9026 # We have old collect2
9027 hardcode_direct=unsupported
9028 # It fails to find uninstalled libraries when the uninstalled
9029 # path is not listed in the libpath. Setting hardcode_minus_L
9030 # to unsupported forces relinking
9031 hardcode_minus_L=yes
9032 hardcode_libdir_flag_spec='-L$libdir'
9033 hardcode_libdir_separator=
9034 fi
9035 ;;
9036 esac
9037 shared_flag='-shared'
9038 if test "$aix_use_runtimelinking" = yes; then
9039 shared_flag="$shared_flag "'${wl}-G'
9040 fi
9041 else
9042 # not using gcc
9043 if test "$host_cpu" = ia64; then
9044 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9045 # chokes on -Wl,-G. The following line is correct:
9046 shared_flag='-G'
9047 else
9048 if test "$aix_use_runtimelinking" = yes; then
9049 shared_flag='${wl}-G'
9050 else
9051 shared_flag='${wl}-bM:SRE'
9052 fi
9053 fi
9054 fi
9055
9056 export_dynamic_flag_spec='${wl}-bexpall'
9057 # It seems that -bexpall does not export symbols beginning with
9058 # underscore (_), so it is better to generate a list of symbols to export.
9059 always_export_symbols=yes
9060 if test "$aix_use_runtimelinking" = yes; then
9061 # Warning - without using the other runtime loading flags (-brtl),
9062 # -berok will link without error, but may produce a broken library.
9063 allow_undefined_flag='-berok'
9064 # Determine the default libpath from the value encoded in an
9065 # empty executable.
9066 if test "${lt_cv_aix_libpath+set}" = set; then
9067 aix_libpath=$lt_cv_aix_libpath
9068 else
9069 if ${lt_cv_aix_libpath_+:} false; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074
9075 int
9076 main ()
9077 {
9078
9079 ;
9080 return 0;
9081 }
9082 _ACEOF
9083 if ac_fn_c_try_link "$LINENO"; then :
9084
9085 lt_aix_libpath_sed='
9086 /Import File Strings/,/^$/ {
9087 /^0/ {
9088 s/^0 *\([^ ]*\) *$/\1/
9089 p
9090 }
9091 }'
9092 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9093 # Check for a 64-bit object if we didn't find anything.
9094 if test -z "$lt_cv_aix_libpath_"; then
9095 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9096 fi
9097 fi
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 if test -z "$lt_cv_aix_libpath_"; then
9101 lt_cv_aix_libpath_="/usr/lib:/lib"
9102 fi
9103
9104 fi
9105
9106 aix_libpath=$lt_cv_aix_libpath_
9107 fi
9108
9109 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9110 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9111 else
9112 if test "$host_cpu" = ia64; then
9113 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9114 allow_undefined_flag="-z nodefs"
9115 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"
9116 else
9117 # Determine the default libpath from the value encoded in an
9118 # empty executable.
9119 if test "${lt_cv_aix_libpath+set}" = set; then
9120 aix_libpath=$lt_cv_aix_libpath
9121 else
9122 if ${lt_cv_aix_libpath_+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127
9128 int
9129 main ()
9130 {
9131
9132 ;
9133 return 0;
9134 }
9135 _ACEOF
9136 if ac_fn_c_try_link "$LINENO"; then :
9137
9138 lt_aix_libpath_sed='
9139 /Import File Strings/,/^$/ {
9140 /^0/ {
9141 s/^0 *\([^ ]*\) *$/\1/
9142 p
9143 }
9144 }'
9145 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9146 # Check for a 64-bit object if we didn't find anything.
9147 if test -z "$lt_cv_aix_libpath_"; then
9148 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9149 fi
9150 fi
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 if test -z "$lt_cv_aix_libpath_"; then
9154 lt_cv_aix_libpath_="/usr/lib:/lib"
9155 fi
9156
9157 fi
9158
9159 aix_libpath=$lt_cv_aix_libpath_
9160 fi
9161
9162 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9163 # Warning - without using the other run time loading flags,
9164 # -berok will link without error, but may produce a broken library.
9165 no_undefined_flag=' ${wl}-bernotok'
9166 allow_undefined_flag=' ${wl}-berok'
9167 if test "$with_gnu_ld" = yes; then
9168 # We only use this code for GNU lds that support --whole-archive.
9169 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9170 else
9171 # Exported symbols can be pulled into shared objects from archives
9172 whole_archive_flag_spec='$convenience'
9173 fi
9174 archive_cmds_need_lc=yes
9175 # This is similar to how AIX traditionally builds its shared libraries.
9176 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9177 fi
9178 fi
9179 ;;
9180
9181 amigaos*)
9182 case $host_cpu in
9183 powerpc)
9184 # see comment about AmigaOS4 .so support
9185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 archive_expsym_cmds=''
9187 ;;
9188 m68k)
9189 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)'
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 hardcode_minus_L=yes
9192 ;;
9193 esac
9194 ;;
9195
9196 bsdi[45]*)
9197 export_dynamic_flag_spec=-rdynamic
9198 ;;
9199
9200 cygwin* | mingw* | pw32* | cegcc*)
9201 # When not using gcc, we currently assume that we are using
9202 # Microsoft Visual C++.
9203 # hardcode_libdir_flag_spec is actually meaningless, as there is
9204 # no search path for DLLs.
9205 case $cc_basename in
9206 cl*)
9207 # Native MSVC
9208 hardcode_libdir_flag_spec=' '
9209 allow_undefined_flag=unsupported
9210 always_export_symbols=yes
9211 file_list_spec='@'
9212 # Tell ltmain to make .lib files, not .a files.
9213 libext=lib
9214 # Tell ltmain to make .dll files, not .so files.
9215 shrext_cmds=".dll"
9216 # FIXME: Setting linknames here is a bad hack.
9217 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9218 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9219 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9220 else
9221 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9222 fi~
9223 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9224 linknames='
9225 # The linker will not automatically build a static lib if we build a DLL.
9226 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9227 enable_shared_with_static_runtimes=yes
9228 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9229 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9230 # Don't use ranlib
9231 old_postinstall_cmds='chmod 644 $oldlib'
9232 postlink_cmds='lt_outputfile="@OUTPUT@"~
9233 lt_tool_outputfile="@TOOL_OUTPUT@"~
9234 case $lt_outputfile in
9235 *.exe|*.EXE) ;;
9236 *)
9237 lt_outputfile="$lt_outputfile.exe"
9238 lt_tool_outputfile="$lt_tool_outputfile.exe"
9239 ;;
9240 esac~
9241 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9242 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9243 $RM "$lt_outputfile.manifest";
9244 fi'
9245 ;;
9246 *)
9247 # Assume MSVC wrapper
9248 hardcode_libdir_flag_spec=' '
9249 allow_undefined_flag=unsupported
9250 # Tell ltmain to make .lib files, not .a files.
9251 libext=lib
9252 # Tell ltmain to make .dll files, not .so files.
9253 shrext_cmds=".dll"
9254 # FIXME: Setting linknames here is a bad hack.
9255 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9256 # The linker will automatically build a .lib file if we build a DLL.
9257 old_archive_from_new_cmds='true'
9258 # FIXME: Should let the user specify the lib program.
9259 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9260 enable_shared_with_static_runtimes=yes
9261 ;;
9262 esac
9263 ;;
9264
9265 darwin* | rhapsody*)
9266
9267
9268 archive_cmds_need_lc=no
9269 hardcode_direct=no
9270 hardcode_automatic=yes
9271 hardcode_shlibpath_var=unsupported
9272 if test "$lt_cv_ld_force_load" = "yes"; then
9273 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\"`'
9274
9275 else
9276 whole_archive_flag_spec=''
9277 fi
9278 link_all_deplibs=yes
9279 allow_undefined_flag="$_lt_dar_allow_undefined"
9280 case $cc_basename in
9281 ifort*) _lt_dar_can_shared=yes ;;
9282 *) _lt_dar_can_shared=$GCC ;;
9283 esac
9284 if test "$_lt_dar_can_shared" = "yes"; then
9285 output_verbose_link_cmd=func_echo_all
9286 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9287 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9288 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}"
9289 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}"
9290
9291 else
9292 ld_shlibs=no
9293 fi
9294
9295 ;;
9296
9297 dgux*)
9298 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9299 hardcode_libdir_flag_spec='-L$libdir'
9300 hardcode_shlibpath_var=no
9301 ;;
9302
9303 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9304 # support. Future versions do this automatically, but an explicit c++rt0.o
9305 # does not break anything, and helps significantly (at the cost of a little
9306 # extra space).
9307 freebsd2.2*)
9308 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9309 hardcode_libdir_flag_spec='-R$libdir'
9310 hardcode_direct=yes
9311 hardcode_shlibpath_var=no
9312 ;;
9313
9314 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9315 freebsd2.*)
9316 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9317 hardcode_direct=yes
9318 hardcode_minus_L=yes
9319 hardcode_shlibpath_var=no
9320 ;;
9321
9322 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9323 freebsd* | dragonfly*)
9324 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9325 hardcode_libdir_flag_spec='-R$libdir'
9326 hardcode_direct=yes
9327 hardcode_shlibpath_var=no
9328 ;;
9329
9330 hpux9*)
9331 if test "$GCC" = yes; then
9332 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9333 else
9334 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9335 fi
9336 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9337 hardcode_libdir_separator=:
9338 hardcode_direct=yes
9339
9340 # hardcode_minus_L: Not really in the search PATH,
9341 # but as the default location of the library.
9342 hardcode_minus_L=yes
9343 export_dynamic_flag_spec='${wl}-E'
9344 ;;
9345
9346 hpux10*)
9347 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9348 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9349 else
9350 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9351 fi
9352 if test "$with_gnu_ld" = no; then
9353 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9354 hardcode_libdir_separator=:
9355 hardcode_direct=yes
9356 hardcode_direct_absolute=yes
9357 export_dynamic_flag_spec='${wl}-E'
9358 # hardcode_minus_L: Not really in the search PATH,
9359 # but as the default location of the library.
9360 hardcode_minus_L=yes
9361 fi
9362 ;;
9363
9364 hpux11*)
9365 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9366 case $host_cpu in
9367 hppa*64*)
9368 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9369 ;;
9370 ia64*)
9371 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9372 ;;
9373 *)
9374 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9375 ;;
9376 esac
9377 else
9378 case $host_cpu in
9379 hppa*64*)
9380 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9381 ;;
9382 ia64*)
9383 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9384 ;;
9385 *)
9386
9387 # Older versions of the 11.00 compiler do not understand -b yet
9388 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9390 $as_echo_n "checking if $CC understands -b... " >&6; }
9391 if ${lt_cv_prog_compiler__b+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 lt_cv_prog_compiler__b=no
9395 save_LDFLAGS="$LDFLAGS"
9396 LDFLAGS="$LDFLAGS -b"
9397 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9398 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9399 # The linker can only warn and ignore the option if not recognized
9400 # So say no if there are warnings
9401 if test -s conftest.err; then
9402 # Append any errors to the config.log.
9403 cat conftest.err 1>&5
9404 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9405 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9406 if diff conftest.exp conftest.er2 >/dev/null; then
9407 lt_cv_prog_compiler__b=yes
9408 fi
9409 else
9410 lt_cv_prog_compiler__b=yes
9411 fi
9412 fi
9413 $RM -r conftest*
9414 LDFLAGS="$save_LDFLAGS"
9415
9416 fi
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9418 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9419
9420 if test x"$lt_cv_prog_compiler__b" = xyes; then
9421 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9422 else
9423 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9424 fi
9425
9426 ;;
9427 esac
9428 fi
9429 if test "$with_gnu_ld" = no; then
9430 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9431 hardcode_libdir_separator=:
9432
9433 case $host_cpu in
9434 hppa*64*|ia64*)
9435 hardcode_direct=no
9436 hardcode_shlibpath_var=no
9437 ;;
9438 *)
9439 hardcode_direct=yes
9440 hardcode_direct_absolute=yes
9441 export_dynamic_flag_spec='${wl}-E'
9442
9443 # hardcode_minus_L: Not really in the search PATH,
9444 # but as the default location of the library.
9445 hardcode_minus_L=yes
9446 ;;
9447 esac
9448 fi
9449 ;;
9450
9451 irix5* | irix6* | nonstopux*)
9452 if test "$GCC" = yes; then
9453 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'
9454 # Try to use the -exported_symbol ld option, if it does not
9455 # work, assume that -exports_file does not work either and
9456 # implicitly export all symbols.
9457 # This should be the same for all languages, so no per-tag cache variable.
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9459 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9460 if ${lt_cv_irix_exported_symbol+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 save_LDFLAGS="$LDFLAGS"
9464 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9467 int foo (void) { return 0; }
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 lt_cv_irix_exported_symbol=yes
9471 else
9472 lt_cv_irix_exported_symbol=no
9473 fi
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LDFLAGS="$save_LDFLAGS"
9477 fi
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9479 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9480 if test "$lt_cv_irix_exported_symbol" = yes; then
9481 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'
9482 fi
9483 else
9484 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'
9485 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'
9486 fi
9487 archive_cmds_need_lc='no'
9488 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9489 hardcode_libdir_separator=:
9490 inherit_rpath=yes
9491 link_all_deplibs=yes
9492 ;;
9493
9494 netbsd*)
9495 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9496 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9497 else
9498 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9499 fi
9500 hardcode_libdir_flag_spec='-R$libdir'
9501 hardcode_direct=yes
9502 hardcode_shlibpath_var=no
9503 ;;
9504
9505 newsos6)
9506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9507 hardcode_direct=yes
9508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9509 hardcode_libdir_separator=:
9510 hardcode_shlibpath_var=no
9511 ;;
9512
9513 *nto* | *qnx*)
9514 ;;
9515
9516 openbsd*)
9517 if test -f /usr/libexec/ld.so; then
9518 hardcode_direct=yes
9519 hardcode_shlibpath_var=no
9520 hardcode_direct_absolute=yes
9521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9522 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9524 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9525 export_dynamic_flag_spec='${wl}-E'
9526 else
9527 case $host_os in
9528 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9529 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_libdir_flag_spec='-R$libdir'
9531 ;;
9532 *)
9533 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9534 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9535 ;;
9536 esac
9537 fi
9538 else
9539 ld_shlibs=no
9540 fi
9541 ;;
9542
9543 os2*)
9544 hardcode_libdir_flag_spec='-L$libdir'
9545 hardcode_minus_L=yes
9546 allow_undefined_flag=unsupported
9547 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9548 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9549 ;;
9550
9551 osf3*)
9552 if test "$GCC" = yes; then
9553 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9554 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'
9555 else
9556 allow_undefined_flag=' -expect_unresolved \*'
9557 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'
9558 fi
9559 archive_cmds_need_lc='no'
9560 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9561 hardcode_libdir_separator=:
9562 ;;
9563
9564 osf4* | osf5*) # as osf3* with the addition of -msym flag
9565 if test "$GCC" = yes; then
9566 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9567 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'
9568 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9569 else
9570 allow_undefined_flag=' -expect_unresolved \*'
9571 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'
9572 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~
9573 $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'
9574
9575 # Both c and cxx compiler support -rpath directly
9576 hardcode_libdir_flag_spec='-rpath $libdir'
9577 fi
9578 archive_cmds_need_lc='no'
9579 hardcode_libdir_separator=:
9580 ;;
9581
9582 solaris*)
9583 no_undefined_flag=' -z defs'
9584 if test "$GCC" = yes; then
9585 wlarc='${wl}'
9586 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9587 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9588 $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'
9589 else
9590 case `$CC -V 2>&1` in
9591 *"Compilers 5.0"*)
9592 wlarc=''
9593 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9594 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9595 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9596 ;;
9597 *)
9598 wlarc='${wl}'
9599 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9601 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9602 ;;
9603 esac
9604 fi
9605 hardcode_libdir_flag_spec='-R$libdir'
9606 hardcode_shlibpath_var=no
9607 case $host_os in
9608 solaris2.[0-5] | solaris2.[0-5].*) ;;
9609 *)
9610 # The compiler driver will combine and reorder linker options,
9611 # but understands `-z linker_flag'. GCC discards it without `$wl',
9612 # but is careful enough not to reorder.
9613 # Supported since Solaris 2.6 (maybe 2.5.1?)
9614 if test "$GCC" = yes; then
9615 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9616 else
9617 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9618 fi
9619 ;;
9620 esac
9621 link_all_deplibs=yes
9622 ;;
9623
9624 sunos4*)
9625 if test "x$host_vendor" = xsequent; then
9626 # Use $CC to link under sequent, because it throws in some extra .o
9627 # files that make .init and .fini sections work.
9628 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9629 else
9630 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9631 fi
9632 hardcode_libdir_flag_spec='-L$libdir'
9633 hardcode_direct=yes
9634 hardcode_minus_L=yes
9635 hardcode_shlibpath_var=no
9636 ;;
9637
9638 sysv4)
9639 case $host_vendor in
9640 sni)
9641 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642 hardcode_direct=yes # is this really true???
9643 ;;
9644 siemens)
9645 ## LD is ld it makes a PLAMLIB
9646 ## CC just makes a GrossModule.
9647 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9648 reload_cmds='$CC -r -o $output$reload_objs'
9649 hardcode_direct=no
9650 ;;
9651 motorola)
9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9654 ;;
9655 esac
9656 runpath_var='LD_RUN_PATH'
9657 hardcode_shlibpath_var=no
9658 ;;
9659
9660 sysv4.3*)
9661 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9662 hardcode_shlibpath_var=no
9663 export_dynamic_flag_spec='-Bexport'
9664 ;;
9665
9666 sysv4*MP*)
9667 if test -d /usr/nec; then
9668 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_shlibpath_var=no
9670 runpath_var=LD_RUN_PATH
9671 hardcode_runpath_var=yes
9672 ld_shlibs=yes
9673 fi
9674 ;;
9675
9676 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9677 no_undefined_flag='${wl}-z,text'
9678 archive_cmds_need_lc=no
9679 hardcode_shlibpath_var=no
9680 runpath_var='LD_RUN_PATH'
9681
9682 if test "$GCC" = yes; then
9683 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 else
9686 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688 fi
9689 ;;
9690
9691 sysv5* | sco3.2v5* | sco5v6*)
9692 # Note: We can NOT use -z defs as we might desire, because we do not
9693 # link with -lc, and that would cause any symbols used from libc to
9694 # always be unresolved, which means just about no library would
9695 # ever link correctly. If we're not using GNU ld we use -z text
9696 # though, which does catch some bad symbols but isn't as heavy-handed
9697 # as -z defs.
9698 no_undefined_flag='${wl}-z,text'
9699 allow_undefined_flag='${wl}-z,nodefs'
9700 archive_cmds_need_lc=no
9701 hardcode_shlibpath_var=no
9702 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9703 hardcode_libdir_separator=':'
9704 link_all_deplibs=yes
9705 export_dynamic_flag_spec='${wl}-Bexport'
9706 runpath_var='LD_RUN_PATH'
9707
9708 if test "$GCC" = yes; then
9709 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 else
9712 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9714 fi
9715 ;;
9716
9717 uts4*)
9718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_libdir_flag_spec='-L$libdir'
9720 hardcode_shlibpath_var=no
9721 ;;
9722
9723 *)
9724 ld_shlibs=no
9725 ;;
9726 esac
9727
9728 if test x$host_vendor = xsni; then
9729 case $host in
9730 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9731 export_dynamic_flag_spec='${wl}-Blargedynsym'
9732 ;;
9733 esac
9734 fi
9735 fi
9736
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9738 $as_echo "$ld_shlibs" >&6; }
9739 test "$ld_shlibs" = no && can_build_shared=no
9740
9741 with_gnu_ld=$with_gnu_ld
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757 #
9758 # Do we need to explicitly link libc?
9759 #
9760 case "x$archive_cmds_need_lc" in
9761 x|xyes)
9762 # Assume -lc should be added
9763 archive_cmds_need_lc=yes
9764
9765 if test "$enable_shared" = yes && test "$GCC" = yes; then
9766 case $archive_cmds in
9767 *'~'*)
9768 # FIXME: we may have to deal with multi-command sequences.
9769 ;;
9770 '$CC '*)
9771 # Test whether the compiler implicitly links with -lc since on some
9772 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9773 # to ld, don't add -lc before -lgcc.
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9775 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9776 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 $RM conftest*
9780 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9781
9782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9783 (eval $ac_compile) 2>&5
9784 ac_status=$?
9785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9786 test $ac_status = 0; } 2>conftest.err; then
9787 soname=conftest
9788 lib=conftest
9789 libobjs=conftest.$ac_objext
9790 deplibs=
9791 wl=$lt_prog_compiler_wl
9792 pic_flag=$lt_prog_compiler_pic
9793 compiler_flags=-v
9794 linker_flags=-v
9795 verstring=
9796 output_objdir=.
9797 libname=conftest
9798 lt_save_allow_undefined_flag=$allow_undefined_flag
9799 allow_undefined_flag=
9800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9801 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9802 ac_status=$?
9803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9804 test $ac_status = 0; }
9805 then
9806 lt_cv_archive_cmds_need_lc=no
9807 else
9808 lt_cv_archive_cmds_need_lc=yes
9809 fi
9810 allow_undefined_flag=$lt_save_allow_undefined_flag
9811 else
9812 cat conftest.err 1>&5
9813 fi
9814 $RM conftest*
9815
9816 fi
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9818 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9819 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9820 ;;
9821 esac
9822 fi
9823 ;;
9824 esac
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9978 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9979
9980 if test "$GCC" = yes; then
9981 case $host_os in
9982 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9983 *) lt_awk_arg="/^libraries:/" ;;
9984 esac
9985 case $host_os in
9986 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9987 *) lt_sed_strip_eq="s,=/,/,g" ;;
9988 esac
9989 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9990 case $lt_search_path_spec in
9991 *\;*)
9992 # if the path contains ";" then we assume it to be the separator
9993 # otherwise default to the standard path separator (i.e. ":") - it is
9994 # assumed that no part of a normal pathname contains ";" but that should
9995 # okay in the real world where ";" in dirpaths is itself problematic.
9996 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9997 ;;
9998 *)
9999 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10000 ;;
10001 esac
10002 # Ok, now we have the path, separated by spaces, we can step through it
10003 # and add multilib dir if necessary.
10004 lt_tmp_lt_search_path_spec=
10005 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10006 for lt_sys_path in $lt_search_path_spec; do
10007 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10008 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10009 else
10010 test -d "$lt_sys_path" && \
10011 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10012 fi
10013 done
10014 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10015 BEGIN {RS=" "; FS="/|\n";} {
10016 lt_foo="";
10017 lt_count=0;
10018 for (lt_i = NF; lt_i > 0; lt_i--) {
10019 if ($lt_i != "" && $lt_i != ".") {
10020 if ($lt_i == "..") {
10021 lt_count++;
10022 } else {
10023 if (lt_count == 0) {
10024 lt_foo="/" $lt_i lt_foo;
10025 } else {
10026 lt_count--;
10027 }
10028 }
10029 }
10030 }
10031 if (lt_foo != "") { lt_freq[lt_foo]++; }
10032 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10033 }'`
10034 # AWK program above erroneously prepends '/' to C:/dos/paths
10035 # for these hosts.
10036 case $host_os in
10037 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10038 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10039 esac
10040 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10041 else
10042 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10043 fi
10044 library_names_spec=
10045 libname_spec='lib$name'
10046 soname_spec=
10047 shrext_cmds=".so"
10048 postinstall_cmds=
10049 postuninstall_cmds=
10050 finish_cmds=
10051 finish_eval=
10052 shlibpath_var=
10053 shlibpath_overrides_runpath=unknown
10054 version_type=none
10055 dynamic_linker="$host_os ld.so"
10056 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10057 need_lib_prefix=unknown
10058 hardcode_into_libs=no
10059
10060 # when you set need_version to no, make sure it does not cause -set_version
10061 # flags to be left without arguments
10062 need_version=unknown
10063
10064 case $host_os in
10065 aix3*)
10066 version_type=linux # correct to gnu/linux during the next big refactor
10067 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10068 shlibpath_var=LIBPATH
10069
10070 # AIX 3 has no versioning support, so we append a major version to the name.
10071 soname_spec='${libname}${release}${shared_ext}$major'
10072 ;;
10073
10074 aix[4-9]*)
10075 version_type=linux # correct to gnu/linux during the next big refactor
10076 need_lib_prefix=no
10077 need_version=no
10078 hardcode_into_libs=yes
10079 if test "$host_cpu" = ia64; then
10080 # AIX 5 supports IA64
10081 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10082 shlibpath_var=LD_LIBRARY_PATH
10083 else
10084 # With GCC up to 2.95.x, collect2 would create an import file
10085 # for dependence libraries. The import file would start with
10086 # the line `#! .'. This would cause the generated library to
10087 # depend on `.', always an invalid library. This was fixed in
10088 # development snapshots of GCC prior to 3.0.
10089 case $host_os in
10090 aix4 | aix4.[01] | aix4.[01].*)
10091 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10092 echo ' yes '
10093 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10094 :
10095 else
10096 can_build_shared=no
10097 fi
10098 ;;
10099 esac
10100 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10101 # soname into executable. Probably we can add versioning support to
10102 # collect2, so additional links can be useful in future.
10103 if test "$aix_use_runtimelinking" = yes; then
10104 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10105 # instead of lib<name>.a to let people know that these are not
10106 # typical AIX shared libraries.
10107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10108 else
10109 # We preserve .a as extension for shared libraries through AIX4.2
10110 # and later when we are not doing run time linking.
10111 library_names_spec='${libname}${release}.a $libname.a'
10112 soname_spec='${libname}${release}${shared_ext}$major'
10113 fi
10114 shlibpath_var=LIBPATH
10115 fi
10116 ;;
10117
10118 amigaos*)
10119 case $host_cpu in
10120 powerpc)
10121 # Since July 2007 AmigaOS4 officially supports .so libraries.
10122 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10124 ;;
10125 m68k)
10126 library_names_spec='$libname.ixlibrary $libname.a'
10127 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10128 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10129 ;;
10130 esac
10131 ;;
10132
10133 beos*)
10134 library_names_spec='${libname}${shared_ext}'
10135 dynamic_linker="$host_os ld.so"
10136 shlibpath_var=LIBRARY_PATH
10137 ;;
10138
10139 bsdi[45]*)
10140 version_type=linux # correct to gnu/linux during the next big refactor
10141 need_version=no
10142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10143 soname_spec='${libname}${release}${shared_ext}$major'
10144 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10145 shlibpath_var=LD_LIBRARY_PATH
10146 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10147 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10148 # the default ld.so.conf also contains /usr/contrib/lib and
10149 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10150 # libtool to hard-code these into programs
10151 ;;
10152
10153 cygwin* | mingw* | pw32* | cegcc*)
10154 version_type=windows
10155 shrext_cmds=".dll"
10156 need_version=no
10157 need_lib_prefix=no
10158
10159 case $GCC,$cc_basename in
10160 yes,*)
10161 # gcc
10162 library_names_spec='$libname.dll.a'
10163 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10164 postinstall_cmds='base_file=`basename \${file}`~
10165 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10166 dldir=$destdir/`dirname \$dlpath`~
10167 test -d \$dldir || mkdir -p \$dldir~
10168 $install_prog $dir/$dlname \$dldir/$dlname~
10169 chmod a+x \$dldir/$dlname~
10170 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10171 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10172 fi'
10173 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10174 dlpath=$dir/\$dldll~
10175 $RM \$dlpath'
10176 shlibpath_overrides_runpath=yes
10177
10178 case $host_os in
10179 cygwin*)
10180 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10181 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10182
10183 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10184 ;;
10185 mingw* | cegcc*)
10186 # MinGW DLLs use traditional 'lib' prefix
10187 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10188 ;;
10189 pw32*)
10190 # pw32 DLLs use 'pw' prefix rather than 'lib'
10191 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10192 ;;
10193 esac
10194 dynamic_linker='Win32 ld.exe'
10195 ;;
10196
10197 *,cl*)
10198 # Native MSVC
10199 libname_spec='$name'
10200 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10201 library_names_spec='${libname}.dll.lib'
10202
10203 case $build_os in
10204 mingw*)
10205 sys_lib_search_path_spec=
10206 lt_save_ifs=$IFS
10207 IFS=';'
10208 for lt_path in $LIB
10209 do
10210 IFS=$lt_save_ifs
10211 # Let DOS variable expansion print the short 8.3 style file name.
10212 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10213 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10214 done
10215 IFS=$lt_save_ifs
10216 # Convert to MSYS style.
10217 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10218 ;;
10219 cygwin*)
10220 # Convert to unix form, then to dos form, then back to unix form
10221 # but this time dos style (no spaces!) so that the unix form looks
10222 # like /cygdrive/c/PROGRA~1:/cygdr...
10223 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10224 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10225 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10226 ;;
10227 *)
10228 sys_lib_search_path_spec="$LIB"
10229 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10230 # It is most probably a Windows format PATH.
10231 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10232 else
10233 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10234 fi
10235 # FIXME: find the short name or the path components, as spaces are
10236 # common. (e.g. "Program Files" -> "PROGRA~1")
10237 ;;
10238 esac
10239
10240 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10241 postinstall_cmds='base_file=`basename \${file}`~
10242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10243 dldir=$destdir/`dirname \$dlpath`~
10244 test -d \$dldir || mkdir -p \$dldir~
10245 $install_prog $dir/$dlname \$dldir/$dlname'
10246 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10247 dlpath=$dir/\$dldll~
10248 $RM \$dlpath'
10249 shlibpath_overrides_runpath=yes
10250 dynamic_linker='Win32 link.exe'
10251 ;;
10252
10253 *)
10254 # Assume MSVC wrapper
10255 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10256 dynamic_linker='Win32 ld.exe'
10257 ;;
10258 esac
10259 # FIXME: first we should search . and the directory the executable is in
10260 shlibpath_var=PATH
10261 ;;
10262
10263 darwin* | rhapsody*)
10264 dynamic_linker="$host_os dyld"
10265 version_type=darwin
10266 need_lib_prefix=no
10267 need_version=no
10268 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10269 soname_spec='${libname}${release}${major}$shared_ext'
10270 shlibpath_overrides_runpath=yes
10271 shlibpath_var=DYLD_LIBRARY_PATH
10272 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10273
10274 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10275 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10276 ;;
10277
10278 dgux*)
10279 version_type=linux # correct to gnu/linux during the next big refactor
10280 need_lib_prefix=no
10281 need_version=no
10282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10283 soname_spec='${libname}${release}${shared_ext}$major'
10284 shlibpath_var=LD_LIBRARY_PATH
10285 ;;
10286
10287 freebsd* | dragonfly*)
10288 # DragonFly does not have aout. When/if they implement a new
10289 # versioning mechanism, adjust this.
10290 if test -x /usr/bin/objformat; then
10291 objformat=`/usr/bin/objformat`
10292 else
10293 case $host_os in
10294 freebsd[23].*) objformat=aout ;;
10295 *) objformat=elf ;;
10296 esac
10297 fi
10298 version_type=freebsd-$objformat
10299 case $version_type in
10300 freebsd-elf*)
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10302 need_version=no
10303 need_lib_prefix=no
10304 ;;
10305 freebsd-*)
10306 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10307 need_version=yes
10308 ;;
10309 esac
10310 shlibpath_var=LD_LIBRARY_PATH
10311 case $host_os in
10312 freebsd2.*)
10313 shlibpath_overrides_runpath=yes
10314 ;;
10315 freebsd3.[01]* | freebsdelf3.[01]*)
10316 shlibpath_overrides_runpath=yes
10317 hardcode_into_libs=yes
10318 ;;
10319 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10320 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10321 shlibpath_overrides_runpath=no
10322 hardcode_into_libs=yes
10323 ;;
10324 *) # from 4.6 on, and DragonFly
10325 shlibpath_overrides_runpath=yes
10326 hardcode_into_libs=yes
10327 ;;
10328 esac
10329 ;;
10330
10331 gnu*)
10332 version_type=linux # correct to gnu/linux during the next big refactor
10333 need_lib_prefix=no
10334 need_version=no
10335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10336 soname_spec='${libname}${release}${shared_ext}$major'
10337 shlibpath_var=LD_LIBRARY_PATH
10338 shlibpath_overrides_runpath=no
10339 hardcode_into_libs=yes
10340 ;;
10341
10342 haiku*)
10343 version_type=linux # correct to gnu/linux during the next big refactor
10344 need_lib_prefix=no
10345 need_version=no
10346 dynamic_linker="$host_os runtime_loader"
10347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10348 soname_spec='${libname}${release}${shared_ext}$major'
10349 shlibpath_var=LIBRARY_PATH
10350 shlibpath_overrides_runpath=yes
10351 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10352 hardcode_into_libs=yes
10353 ;;
10354
10355 hpux9* | hpux10* | hpux11*)
10356 # Give a soname corresponding to the major version so that dld.sl refuses to
10357 # link against other versions.
10358 version_type=sunos
10359 need_lib_prefix=no
10360 need_version=no
10361 case $host_cpu in
10362 ia64*)
10363 shrext_cmds='.so'
10364 hardcode_into_libs=yes
10365 dynamic_linker="$host_os dld.so"
10366 shlibpath_var=LD_LIBRARY_PATH
10367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec='${libname}${release}${shared_ext}$major'
10370 if test "X$HPUX_IA64_MODE" = X32; then
10371 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10372 else
10373 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10374 fi
10375 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10376 ;;
10377 hppa*64*)
10378 shrext_cmds='.sl'
10379 hardcode_into_libs=yes
10380 dynamic_linker="$host_os dld.sl"
10381 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10382 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10384 soname_spec='${libname}${release}${shared_ext}$major'
10385 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10386 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10387 ;;
10388 *)
10389 shrext_cmds='.sl'
10390 dynamic_linker="$host_os dld.sl"
10391 shlibpath_var=SHLIB_PATH
10392 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10394 soname_spec='${libname}${release}${shared_ext}$major'
10395 ;;
10396 esac
10397 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10398 postinstall_cmds='chmod 555 $lib'
10399 # or fails outright, so override atomically:
10400 install_override_mode=555
10401 ;;
10402
10403 interix[3-9]*)
10404 version_type=linux # correct to gnu/linux during the next big refactor
10405 need_lib_prefix=no
10406 need_version=no
10407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10408 soname_spec='${libname}${release}${shared_ext}$major'
10409 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10410 shlibpath_var=LD_LIBRARY_PATH
10411 shlibpath_overrides_runpath=no
10412 hardcode_into_libs=yes
10413 ;;
10414
10415 irix5* | irix6* | nonstopux*)
10416 case $host_os in
10417 nonstopux*) version_type=nonstopux ;;
10418 *)
10419 if test "$lt_cv_prog_gnu_ld" = yes; then
10420 version_type=linux # correct to gnu/linux during the next big refactor
10421 else
10422 version_type=irix
10423 fi ;;
10424 esac
10425 need_lib_prefix=no
10426 need_version=no
10427 soname_spec='${libname}${release}${shared_ext}$major'
10428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10429 case $host_os in
10430 irix5* | nonstopux*)
10431 libsuff= shlibsuff=
10432 ;;
10433 *)
10434 case $LD in # libtool.m4 will add one of these switches to LD
10435 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10436 libsuff= shlibsuff= libmagic=32-bit;;
10437 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10438 libsuff=32 shlibsuff=N32 libmagic=N32;;
10439 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10440 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10441 *) libsuff= shlibsuff= libmagic=never-match;;
10442 esac
10443 ;;
10444 esac
10445 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10446 shlibpath_overrides_runpath=no
10447 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10448 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10449 hardcode_into_libs=yes
10450 ;;
10451
10452 # No shared lib support for Linux oldld, aout, or coff.
10453 linux*oldld* | linux*aout* | linux*coff*)
10454 dynamic_linker=no
10455 ;;
10456
10457 # This must be glibc/ELF.
10458 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10459 version_type=linux # correct to gnu/linux during the next big refactor
10460 need_lib_prefix=no
10461 need_version=no
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 soname_spec='${libname}${release}${shared_ext}$major'
10464 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10465 shlibpath_var=LD_LIBRARY_PATH
10466 shlibpath_overrides_runpath=no
10467
10468 # Some binutils ld are patched to set DT_RUNPATH
10469 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 lt_cv_shlibpath_overrides_runpath=no
10473 save_LDFLAGS=$LDFLAGS
10474 save_libdir=$libdir
10475 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10476 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479
10480 int
10481 main ()
10482 {
10483
10484 ;
10485 return 0;
10486 }
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10490 lt_cv_shlibpath_overrides_runpath=yes
10491 fi
10492 fi
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LDFLAGS=$save_LDFLAGS
10496 libdir=$save_libdir
10497
10498 fi
10499
10500 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10501
10502 # This implies no fast_install, which is unacceptable.
10503 # Some rework will be needed to allow for fast_install
10504 # before this can be enabled.
10505 hardcode_into_libs=yes
10506
10507 # Append ld.so.conf contents to the search path
10508 if test -f /etc/ld.so.conf; then
10509 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' ' '`
10510 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10511 fi
10512
10513 # We used to test for /lib/ld.so.1 and disable shared libraries on
10514 # powerpc, because MkLinux only supported shared libraries with the
10515 # GNU dynamic linker. Since this was broken with cross compilers,
10516 # most powerpc-linux boxes support dynamic linking these days and
10517 # people can always --disable-shared, the test was removed, and we
10518 # assume the GNU/Linux dynamic linker is in use.
10519 dynamic_linker='GNU/Linux ld.so'
10520 ;;
10521
10522 netbsd*)
10523 version_type=sunos
10524 need_lib_prefix=no
10525 need_version=no
10526 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10528 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10529 dynamic_linker='NetBSD (a.out) ld.so'
10530 else
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10532 soname_spec='${libname}${release}${shared_ext}$major'
10533 dynamic_linker='NetBSD ld.elf_so'
10534 fi
10535 shlibpath_var=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath=yes
10537 hardcode_into_libs=yes
10538 ;;
10539
10540 newsos6)
10541 version_type=linux # correct to gnu/linux during the next big refactor
10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 shlibpath_var=LD_LIBRARY_PATH
10544 shlibpath_overrides_runpath=yes
10545 ;;
10546
10547 *nto* | *qnx*)
10548 version_type=qnx
10549 need_lib_prefix=no
10550 need_version=no
10551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 soname_spec='${libname}${release}${shared_ext}$major'
10553 shlibpath_var=LD_LIBRARY_PATH
10554 shlibpath_overrides_runpath=no
10555 hardcode_into_libs=yes
10556 dynamic_linker='ldqnx.so'
10557 ;;
10558
10559 openbsd*)
10560 version_type=sunos
10561 sys_lib_dlsearch_path_spec="/usr/lib"
10562 need_lib_prefix=no
10563 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10564 case $host_os in
10565 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10566 *) need_version=no ;;
10567 esac
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10569 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10570 shlibpath_var=LD_LIBRARY_PATH
10571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10572 case $host_os in
10573 openbsd2.[89] | openbsd2.[89].*)
10574 shlibpath_overrides_runpath=no
10575 ;;
10576 *)
10577 shlibpath_overrides_runpath=yes
10578 ;;
10579 esac
10580 else
10581 shlibpath_overrides_runpath=yes
10582 fi
10583 ;;
10584
10585 os2*)
10586 libname_spec='$name'
10587 shrext_cmds=".dll"
10588 need_lib_prefix=no
10589 library_names_spec='$libname${shared_ext} $libname.a'
10590 dynamic_linker='OS/2 ld.exe'
10591 shlibpath_var=LIBPATH
10592 ;;
10593
10594 osf3* | osf4* | osf5*)
10595 version_type=osf
10596 need_lib_prefix=no
10597 need_version=no
10598 soname_spec='${libname}${release}${shared_ext}$major'
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 shlibpath_var=LD_LIBRARY_PATH
10601 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10602 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10603 ;;
10604
10605 rdos*)
10606 dynamic_linker=no
10607 ;;
10608
10609 solaris*)
10610 version_type=linux # correct to gnu/linux during the next big refactor
10611 need_lib_prefix=no
10612 need_version=no
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 soname_spec='${libname}${release}${shared_ext}$major'
10615 shlibpath_var=LD_LIBRARY_PATH
10616 shlibpath_overrides_runpath=yes
10617 hardcode_into_libs=yes
10618 # ldd complains unless libraries are executable
10619 postinstall_cmds='chmod +x $lib'
10620 ;;
10621
10622 sunos4*)
10623 version_type=sunos
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10625 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10626 shlibpath_var=LD_LIBRARY_PATH
10627 shlibpath_overrides_runpath=yes
10628 if test "$with_gnu_ld" = yes; then
10629 need_lib_prefix=no
10630 fi
10631 need_version=yes
10632 ;;
10633
10634 sysv4 | sysv4.3*)
10635 version_type=linux # correct to gnu/linux during the next big refactor
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 shlibpath_var=LD_LIBRARY_PATH
10639 case $host_vendor in
10640 sni)
10641 shlibpath_overrides_runpath=no
10642 need_lib_prefix=no
10643 runpath_var=LD_RUN_PATH
10644 ;;
10645 siemens)
10646 need_lib_prefix=no
10647 ;;
10648 motorola)
10649 need_lib_prefix=no
10650 need_version=no
10651 shlibpath_overrides_runpath=no
10652 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10653 ;;
10654 esac
10655 ;;
10656
10657 sysv4*MP*)
10658 if test -d /usr/nec ;then
10659 version_type=linux # correct to gnu/linux during the next big refactor
10660 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10661 soname_spec='$libname${shared_ext}.$major'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 fi
10664 ;;
10665
10666 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10667 version_type=freebsd-elf
10668 need_lib_prefix=no
10669 need_version=no
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 shlibpath_var=LD_LIBRARY_PATH
10673 shlibpath_overrides_runpath=yes
10674 hardcode_into_libs=yes
10675 if test "$with_gnu_ld" = yes; then
10676 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10677 else
10678 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10679 case $host_os in
10680 sco3.2v5*)
10681 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10682 ;;
10683 esac
10684 fi
10685 sys_lib_dlsearch_path_spec='/usr/lib'
10686 ;;
10687
10688 tpf*)
10689 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10690 version_type=linux # correct to gnu/linux during the next big refactor
10691 need_lib_prefix=no
10692 need_version=no
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 shlibpath_var=LD_LIBRARY_PATH
10695 shlibpath_overrides_runpath=no
10696 hardcode_into_libs=yes
10697 ;;
10698
10699 uts4*)
10700 version_type=linux # correct to gnu/linux during the next big refactor
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702 soname_spec='${libname}${release}${shared_ext}$major'
10703 shlibpath_var=LD_LIBRARY_PATH
10704 ;;
10705
10706 *)
10707 dynamic_linker=no
10708 ;;
10709 esac
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10711 $as_echo "$dynamic_linker" >&6; }
10712 test "$dynamic_linker" = no && can_build_shared=no
10713
10714 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10715 if test "$GCC" = yes; then
10716 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10717 fi
10718
10719 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10720 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10721 fi
10722 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10723 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10724 fi
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10818 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10819 hardcode_action=
10820 if test -n "$hardcode_libdir_flag_spec" ||
10821 test -n "$runpath_var" ||
10822 test "X$hardcode_automatic" = "Xyes" ; then
10823
10824 # We can hardcode non-existent directories.
10825 if test "$hardcode_direct" != no &&
10826 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10827 # have to relink, otherwise we might link with an installed library
10828 # when we should be linking with a yet-to-be-installed one
10829 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10830 test "$hardcode_minus_L" != no; then
10831 # Linking always hardcodes the temporary library directory.
10832 hardcode_action=relink
10833 else
10834 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10835 hardcode_action=immediate
10836 fi
10837 else
10838 # We cannot hardcode anything, or else we can only hardcode existing
10839 # directories.
10840 hardcode_action=unsupported
10841 fi
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10843 $as_echo "$hardcode_action" >&6; }
10844
10845 if test "$hardcode_action" = relink ||
10846 test "$inherit_rpath" = yes; then
10847 # Fast installation is not supported
10848 enable_fast_install=no
10849 elif test "$shlibpath_overrides_runpath" = yes ||
10850 test "$enable_shared" = no; then
10851 # Fast installation is not necessary
10852 enable_fast_install=needless
10853 fi
10854
10855
10856
10857
10858
10859
10860 if test "x$enable_dlopen" != xyes; then
10861 enable_dlopen=unknown
10862 enable_dlopen_self=unknown
10863 enable_dlopen_self_static=unknown
10864 else
10865 lt_cv_dlopen=no
10866 lt_cv_dlopen_libs=
10867
10868 case $host_os in
10869 beos*)
10870 lt_cv_dlopen="load_add_on"
10871 lt_cv_dlopen_libs=
10872 lt_cv_dlopen_self=yes
10873 ;;
10874
10875 mingw* | pw32* | cegcc*)
10876 lt_cv_dlopen="LoadLibrary"
10877 lt_cv_dlopen_libs=
10878 ;;
10879
10880 cygwin*)
10881 lt_cv_dlopen="dlopen"
10882 lt_cv_dlopen_libs=
10883 ;;
10884
10885 darwin*)
10886 # if libdl is installed we need to link against it
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10888 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10889 if ${ac_cv_lib_dl_dlopen+:} false; then :
10890 $as_echo_n "(cached) " >&6
10891 else
10892 ac_check_lib_save_LIBS=$LIBS
10893 LIBS="-ldl $LIBS"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10900 #ifdef __cplusplus
10901 extern "C"
10902 #endif
10903 char dlopen ();
10904 int
10905 main ()
10906 {
10907 return dlopen ();
10908 ;
10909 return 0;
10910 }
10911 _ACEOF
10912 if ac_fn_c_try_link "$LINENO"; then :
10913 ac_cv_lib_dl_dlopen=yes
10914 else
10915 ac_cv_lib_dl_dlopen=no
10916 fi
10917 rm -f core conftest.err conftest.$ac_objext \
10918 conftest$ac_exeext conftest.$ac_ext
10919 LIBS=$ac_check_lib_save_LIBS
10920 fi
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10922 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10923 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10924 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10925 else
10926
10927 lt_cv_dlopen="dyld"
10928 lt_cv_dlopen_libs=
10929 lt_cv_dlopen_self=yes
10930
10931 fi
10932
10933 ;;
10934
10935 *)
10936 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10937 if test "x$ac_cv_func_shl_load" = xyes; then :
10938 lt_cv_dlopen="shl_load"
10939 else
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10941 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10942 if ${ac_cv_lib_dld_shl_load+:} false; then :
10943 $as_echo_n "(cached) " >&6
10944 else
10945 ac_check_lib_save_LIBS=$LIBS
10946 LIBS="-ldld $LIBS"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10949
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10953 #ifdef __cplusplus
10954 extern "C"
10955 #endif
10956 char shl_load ();
10957 int
10958 main ()
10959 {
10960 return shl_load ();
10961 ;
10962 return 0;
10963 }
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"; then :
10966 ac_cv_lib_dld_shl_load=yes
10967 else
10968 ac_cv_lib_dld_shl_load=no
10969 fi
10970 rm -f core conftest.err conftest.$ac_objext \
10971 conftest$ac_exeext conftest.$ac_ext
10972 LIBS=$ac_check_lib_save_LIBS
10973 fi
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10975 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10976 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10977 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10978 else
10979 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10980 if test "x$ac_cv_func_dlopen" = xyes; then :
10981 lt_cv_dlopen="dlopen"
10982 else
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10984 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10985 if ${ac_cv_lib_dl_dlopen+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldl $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10992
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char dlopen ();
11000 int
11001 main ()
11002 {
11003 return dlopen ();
11004 ;
11005 return 0;
11006 }
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 ac_cv_lib_dl_dlopen=yes
11010 else
11011 ac_cv_lib_dl_dlopen=no
11012 fi
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11016 fi
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11018 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11019 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11020 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11021 else
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11023 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11024 if ${ac_cv_lib_svld_dlopen+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lsvld $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11031
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char dlopen ();
11039 int
11040 main ()
11041 {
11042 return dlopen ();
11043 ;
11044 return 0;
11045 }
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_svld_dlopen=yes
11049 else
11050 ac_cv_lib_svld_dlopen=no
11051 fi
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11055 fi
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11057 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11058 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11059 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11060 else
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11062 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11063 if ${ac_cv_lib_dld_dld_link+:} false; then :
11064 $as_echo_n "(cached) " >&6
11065 else
11066 ac_check_lib_save_LIBS=$LIBS
11067 LIBS="-ldld $LIBS"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 char dld_link ();
11078 int
11079 main ()
11080 {
11081 return dld_link ();
11082 ;
11083 return 0;
11084 }
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"; then :
11087 ac_cv_lib_dld_dld_link=yes
11088 else
11089 ac_cv_lib_dld_dld_link=no
11090 fi
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS=$ac_check_lib_save_LIBS
11094 fi
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11096 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11097 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11098 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11099 fi
11100
11101
11102 fi
11103
11104
11105 fi
11106
11107
11108 fi
11109
11110
11111 fi
11112
11113
11114 fi
11115
11116 ;;
11117 esac
11118
11119 if test "x$lt_cv_dlopen" != xno; then
11120 enable_dlopen=yes
11121 else
11122 enable_dlopen=no
11123 fi
11124
11125 case $lt_cv_dlopen in
11126 dlopen)
11127 save_CPPFLAGS="$CPPFLAGS"
11128 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11129
11130 save_LDFLAGS="$LDFLAGS"
11131 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11132
11133 save_LIBS="$LIBS"
11134 LIBS="$lt_cv_dlopen_libs $LIBS"
11135
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11137 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11138 if ${lt_cv_dlopen_self+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 if test "$cross_compiling" = yes; then :
11142 lt_cv_dlopen_self=cross
11143 else
11144 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11145 lt_status=$lt_dlunknown
11146 cat > conftest.$ac_ext <<_LT_EOF
11147 #line $LINENO "configure"
11148 #include "confdefs.h"
11149
11150 #if HAVE_DLFCN_H
11151 #include <dlfcn.h>
11152 #endif
11153
11154 #include <stdio.h>
11155
11156 #ifdef RTLD_GLOBAL
11157 # define LT_DLGLOBAL RTLD_GLOBAL
11158 #else
11159 # ifdef DL_GLOBAL
11160 # define LT_DLGLOBAL DL_GLOBAL
11161 # else
11162 # define LT_DLGLOBAL 0
11163 # endif
11164 #endif
11165
11166 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11167 find out it does not work in some platform. */
11168 #ifndef LT_DLLAZY_OR_NOW
11169 # ifdef RTLD_LAZY
11170 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11171 # else
11172 # ifdef DL_LAZY
11173 # define LT_DLLAZY_OR_NOW DL_LAZY
11174 # else
11175 # ifdef RTLD_NOW
11176 # define LT_DLLAZY_OR_NOW RTLD_NOW
11177 # else
11178 # ifdef DL_NOW
11179 # define LT_DLLAZY_OR_NOW DL_NOW
11180 # else
11181 # define LT_DLLAZY_OR_NOW 0
11182 # endif
11183 # endif
11184 # endif
11185 # endif
11186 #endif
11187
11188 /* When -fvisbility=hidden is used, assume the code has been annotated
11189 correspondingly for the symbols needed. */
11190 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11191 int fnord () __attribute__((visibility("default")));
11192 #endif
11193
11194 int fnord () { return 42; }
11195 int main ()
11196 {
11197 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11198 int status = $lt_dlunknown;
11199
11200 if (self)
11201 {
11202 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11203 else
11204 {
11205 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11206 else puts (dlerror ());
11207 }
11208 /* dlclose (self); */
11209 }
11210 else
11211 puts (dlerror ());
11212
11213 return status;
11214 }
11215 _LT_EOF
11216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11217 (eval $ac_link) 2>&5
11218 ac_status=$?
11219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11220 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11221 (./conftest; exit; ) >&5 2>/dev/null
11222 lt_status=$?
11223 case x$lt_status in
11224 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11225 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11226 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11227 esac
11228 else :
11229 # compilation failed
11230 lt_cv_dlopen_self=no
11231 fi
11232 fi
11233 rm -fr conftest*
11234
11235
11236 fi
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11238 $as_echo "$lt_cv_dlopen_self" >&6; }
11239
11240 if test "x$lt_cv_dlopen_self" = xyes; then
11241 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11243 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11244 if ${lt_cv_dlopen_self_static+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 if test "$cross_compiling" = yes; then :
11248 lt_cv_dlopen_self_static=cross
11249 else
11250 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11251 lt_status=$lt_dlunknown
11252 cat > conftest.$ac_ext <<_LT_EOF
11253 #line $LINENO "configure"
11254 #include "confdefs.h"
11255
11256 #if HAVE_DLFCN_H
11257 #include <dlfcn.h>
11258 #endif
11259
11260 #include <stdio.h>
11261
11262 #ifdef RTLD_GLOBAL
11263 # define LT_DLGLOBAL RTLD_GLOBAL
11264 #else
11265 # ifdef DL_GLOBAL
11266 # define LT_DLGLOBAL DL_GLOBAL
11267 # else
11268 # define LT_DLGLOBAL 0
11269 # endif
11270 #endif
11271
11272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11273 find out it does not work in some platform. */
11274 #ifndef LT_DLLAZY_OR_NOW
11275 # ifdef RTLD_LAZY
11276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11277 # else
11278 # ifdef DL_LAZY
11279 # define LT_DLLAZY_OR_NOW DL_LAZY
11280 # else
11281 # ifdef RTLD_NOW
11282 # define LT_DLLAZY_OR_NOW RTLD_NOW
11283 # else
11284 # ifdef DL_NOW
11285 # define LT_DLLAZY_OR_NOW DL_NOW
11286 # else
11287 # define LT_DLLAZY_OR_NOW 0
11288 # endif
11289 # endif
11290 # endif
11291 # endif
11292 #endif
11293
11294 /* When -fvisbility=hidden is used, assume the code has been annotated
11295 correspondingly for the symbols needed. */
11296 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11297 int fnord () __attribute__((visibility("default")));
11298 #endif
11299
11300 int fnord () { return 42; }
11301 int main ()
11302 {
11303 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11304 int status = $lt_dlunknown;
11305
11306 if (self)
11307 {
11308 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11309 else
11310 {
11311 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11312 else puts (dlerror ());
11313 }
11314 /* dlclose (self); */
11315 }
11316 else
11317 puts (dlerror ());
11318
11319 return status;
11320 }
11321 _LT_EOF
11322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11323 (eval $ac_link) 2>&5
11324 ac_status=$?
11325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11326 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11327 (./conftest; exit; ) >&5 2>/dev/null
11328 lt_status=$?
11329 case x$lt_status in
11330 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11331 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11332 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11333 esac
11334 else :
11335 # compilation failed
11336 lt_cv_dlopen_self_static=no
11337 fi
11338 fi
11339 rm -fr conftest*
11340
11341
11342 fi
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11344 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11345 fi
11346
11347 CPPFLAGS="$save_CPPFLAGS"
11348 LDFLAGS="$save_LDFLAGS"
11349 LIBS="$save_LIBS"
11350 ;;
11351 esac
11352
11353 case $lt_cv_dlopen_self in
11354 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11355 *) enable_dlopen_self=unknown ;;
11356 esac
11357
11358 case $lt_cv_dlopen_self_static in
11359 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11360 *) enable_dlopen_self_static=unknown ;;
11361 esac
11362 fi
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380 striplib=
11381 old_striplib=
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11383 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11384 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11385 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11386 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11388 $as_echo "yes" >&6; }
11389 else
11390 # FIXME - insert some real tests, host_os isn't really good enough
11391 case $host_os in
11392 darwin*)
11393 if test -n "$STRIP" ; then
11394 striplib="$STRIP -x"
11395 old_striplib="$STRIP -S"
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11397 $as_echo "yes" >&6; }
11398 else
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11400 $as_echo "no" >&6; }
11401 fi
11402 ;;
11403 *)
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11405 $as_echo "no" >&6; }
11406 ;;
11407 esac
11408 fi
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421 # Report which library types will actually be built
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11423 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11425 $as_echo "$can_build_shared" >&6; }
11426
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11428 $as_echo_n "checking whether to build shared libraries... " >&6; }
11429 test "$can_build_shared" = "no" && enable_shared=no
11430
11431 # On AIX, shared libraries and static libraries use the same namespace, and
11432 # are all built from PIC.
11433 case $host_os in
11434 aix3*)
11435 test "$enable_shared" = yes && enable_static=no
11436 if test -n "$RANLIB"; then
11437 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11438 postinstall_cmds='$RANLIB $lib'
11439 fi
11440 ;;
11441
11442 aix[4-9]*)
11443 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11444 test "$enable_shared" = yes && enable_static=no
11445 fi
11446 ;;
11447 esac
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11449 $as_echo "$enable_shared" >&6; }
11450
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11452 $as_echo_n "checking whether to build static libraries... " >&6; }
11453 # Make sure either enable_shared or enable_static is yes.
11454 test "$enable_shared" = yes || enable_static=yes
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11456 $as_echo "$enable_static" >&6; }
11457
11458
11459
11460
11461 fi
11462 ac_ext=c
11463 ac_cpp='$CPP $CPPFLAGS'
11464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11467
11468 CC="$lt_save_CC"
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484 ac_config_commands="$ac_config_commands libtool"
11485
11486
11487
11488
11489 # Only expand once:
11490
11491
11492
11493 ## Source any special files that we need. These files normally aren't
11494 ## present but can be used by the maintainers to fine tune things like
11495 ## turning on debug or profiling flags for the compiler. The search order
11496 ## is:
11497 ##
11498 ## CPU-VENDOR-OS
11499 ## VENDOR-OS
11500 ## CPU-OS
11501 ## CPU-VENDOR
11502 ## OS
11503 ## VENDOR
11504 ## CPU
11505 ##
11506 ## If the `OS' ends with a version number then remove it. For instance,
11507 ## `freebsd3.1' would become `freebsd'
11508 ##
11509 case "$host_os" in
11510 aix4.*) host_os_novers="aix4.x" ;;
11511 aix5.*) host_os_novers="aix5.x" ;;
11512 freebsd*) host_os_novers="freebsd" ;;
11513 irix5.*) host_os_novers="irix5.x" ;;
11514 irix6.*) host_os_novers="irix6.x" ;;
11515 osf4.*) host_os_novers="osf4.x" ;;
11516 osf5.*) host_os_novers="osf5.x" ;;
11517 solaris2.*) host_os_novers="solaris2.x" ;;
11518 *) host_os_novers="$host_os" ;;
11519 esac
11520
11521 host_config="none"
11522 for f in $host_cpu-$host_vendor-$host_os \
11523 $host_cpu-$host_vendor-$host_os_novers \
11524 $host_vendor-$host_os \
11525 $host_vendor-$host_os_novers \
11526 $host_cpu-$host_os \
11527 $host_cpu-$host_os_novers \
11528 $host_cpu-$host_vendor \
11529 $host_os \
11530 $host_os_novers \
11531 $host_vendor \
11532 $host_cpu ; do
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for config $f" >&5
11534 $as_echo_n "checking for config $f... " >&6; }
11535 if test -f "$srcdir/config/$f"; then
11536 host_config=$srcdir/config/$f
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11538 $as_echo "found" >&6; }
11539 break
11540 fi
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11542 $as_echo "no" >&6; }
11543 done
11544 if test "X$host_config" != "Xnone"; then
11545 CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
11546 . $host_config
11547 fi
11548
11549 ## Fix up the INSTALL macro if its a relative path. We want the
11550 ## full-path to the binary instead.
11551 case "$INSTALL" in
11552 *install-sh*)
11553 INSTALL='\${top_srcdir}/bin/install-sh -c'
11554 ;;
11555 esac
11556
11557 ## ----------------------------------------------------------------------
11558 ## Check which archiving tool to use. This needs to be done before
11559 ## the AC_PROG_LIBTOOL macro.
11560 ##
11561 if test -z "$AR"; then
11562 for ac_prog in ar xar
11563 do
11564 # Extract the first word of "$ac_prog", so it can be a program name with args.
11565 set dummy $ac_prog; ac_word=$2
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11567 $as_echo_n "checking for $ac_word... " >&6; }
11568 if ${ac_cv_prog_AR+:} false; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 if test -n "$AR"; then
11572 ac_cv_prog_AR="$AR" # Let the user override the test.
11573 else
11574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11575 for as_dir in $PATH
11576 do
11577 IFS=$as_save_IFS
11578 test -z "$as_dir" && as_dir=.
11579 for ac_exec_ext in '' $ac_executable_extensions; do
11580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11581 ac_cv_prog_AR="$ac_prog"
11582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11583 break 2
11584 fi
11585 done
11586 done
11587 IFS=$as_save_IFS
11588
11589 fi
11590 fi
11591 AR=$ac_cv_prog_AR
11592 if test -n "$AR"; then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11594 $as_echo "$AR" >&6; }
11595 else
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11597 $as_echo "no" >&6; }
11598 fi
11599
11600
11601 test -n "$AR" && break
11602 done
11603 test -n "$AR" || AR=":"
11604
11605 fi
11606
11607
11608
11609 ## Export the AR macro so that it will be placed in the libtool file
11610 ## correctly.
11611 export AR
11612
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11614 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11615 set x ${MAKE-make}
11616 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11617 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11618 $as_echo_n "(cached) " >&6
11619 else
11620 cat >conftest.make <<\_ACEOF
11621 SHELL = /bin/sh
11622 all:
11623 @echo '@@@%%%=$(MAKE)=@@@%%%'
11624 _ACEOF
11625 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
11627 *@@@%%%=?*=@@@%%%*)
11628 eval ac_cv_prog_make_${ac_make}_set=yes;;
11629 *)
11630 eval ac_cv_prog_make_${ac_make}_set=no;;
11631 esac
11632 rm -f conftest.make
11633 fi
11634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11636 $as_echo "yes" >&6; }
11637 SET_MAKE=
11638 else
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11640 $as_echo "no" >&6; }
11641 SET_MAKE="MAKE=${MAKE-make}"
11642 fi
11643
11644 enable_dlopen=yes
11645
11646
11647
11648
11649
11650 ## Post processing to patch up some deficiencies in libtool
11651 case $host_os in
11652 linux*)
11653 # If gcc is not used, need to set $wl to use "-Wl,"
11654 if $CC -v 2>&1 | grep '^gcc' > /dev/null ; then
11655 : using gcc
11656 else
11657 echo 'fixing $wl in' $ofile
11658 ed - $ofile <<EOF 2> /dev/null
11659 /^wl=""/s//wl="-Wl,"/
11660 w
11661 q
11662 EOF
11663
11664 fi
11665 ;;
11666 esac
11667
11668 ## HDF5 compile commands.
11669
11670
11671
11672
11673
11674
11675 ## Make sure they are set to something.
11676 H5CC="${H5CC:-h5cc}"
11677 H5CC_PP="${H5CC_PP:-h5pcc}"
11678 H5FC="${H5FC:-h5fc}"
11679 H5FC_PP="${H5FC_PP:-h5pfc}"
11680 H5CPP="${H5CPP:-h5c++}"
11681
11682 ## ----------------------------------------------------------------------
11683 ## Fake --with-xxx option to allow us to create a help message for the
11684 ## following --with-xxx options which can take either a =DIR or =INC,LIB
11685 ## specifier.
11686 ##
11687
11688 # Check whether --with-fnord was given.
11689 if test "${with_fnord+set}" = set; then :
11690 withval=$with_fnord;
11691 fi
11692
11693
11694
11695 ## ----------------------------------------------------------------------
11696 ## Is the blosc library present? It has a header file `blosc.h' and a library
11697 ## `-lblosc' and their locations might be specified with the `--with-blosclib'
11698 ## command-line switch. The value is an include path and/or a library path.
11699 ## If the library path is specified then it must be preceded by a comma.
11700 ##
11701
11702 # Check whether --with-blosclib was given.
11703 if test "${with_blosclib+set}" = set; then :
11704 withval=$with_blosclib;
11705 fi
11706
11707
11708 case $withval in
11709 yes)
11710 HAVE_BZ2LIB="yes"
11711 ac_fn_c_check_header_mongrel "$LINENO" "blosc.h" "ac_cv_header_blosc_h" "$ac_includes_default"
11712 if test "x$ac_cv_header_blosc_h" = xyes; then :
11713 HAVE_BLOSCLIB_H="yes"
11714 else
11715 unset HAVE_BLOSCLIB
11716 fi
11717
11718
11719 if test "x$HAVE_BLOSCLIB" = "xyes" -a "x$HAVE_BLOSCLIB_H" = "xyes"; then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blosc_compress in -lblosc" >&5
11721 $as_echo_n "checking for blosc_compress in -lblosc... " >&6; }
11722 if ${ac_cv_lib_blosc_blosc_compress+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_lib_save_LIBS=$LIBS
11726 LIBS="-lblosc $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11729
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char blosc_compress ();
11737 int
11738 main ()
11739 {
11740 return blosc_compress ();
11741 ;
11742 return 0;
11743 }
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 ac_cv_lib_blosc_blosc_compress=yes
11747 else
11748 ac_cv_lib_blosc_blosc_compress=no
11749 fi
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11753 fi
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blosc_blosc_compress" >&5
11755 $as_echo "$ac_cv_lib_blosc_blosc_compress" >&6; }
11756 if test "x$ac_cv_lib_blosc_blosc_compress" = xyes; then :
11757 cat >>confdefs.h <<_ACEOF
11758 #define HAVE_LIBBLOSC 1
11759 _ACEOF
11760
11761 LIBS="-lblosc $LIBS"
11762
11763 else
11764 unset HAVE_BLOSCLIB
11765 fi
11766
11767 fi
11768 if test -z "$HAVE_BLOSCLIB"; then
11769 as_fn_error $? "couldn't find blosc library" "$LINENO" 5
11770 else
11771 ac_fn_c_check_func "$LINENO" "blosc_compress" "ac_cv_func_blosc_compress"
11772 if test "x$ac_cv_func_blosc_compress" = xyes; then :
11773 HAVE_BLOSC_COMPRESS="yes"
11774 fi
11775
11776 fi
11777 ;;
11778 no)
11779 HAVE_BLOSCLIB="no"
11780 as_fn_error $? "blosc library needed for compilation." "$LINENO" 5
11781 ;;
11782 *)
11783 HAVE_BLOSCLIB="yes"
11784 case "$withval" in
11785 *,*)
11786 blosclib_inc="`echo $withval | cut -f1 -d,`"
11787 blosclib_lib="`echo $withval | cut -f2 -d, -s`"
11788 ;;
11789 *)
11790 if test -n "$withval"; then
11791 blosclib_inc="$withval/include"
11792 blosclib_lib="$withval/lib"
11793 fi
11794 ;;
11795 esac
11796
11797 ## Trying to include -I/usr/include and -L/usr/lib is redundant and
11798 ## can mess some compilers up.
11799 if test "X$blosclib_inc" = "X/usr/include"; then
11800 blosclib_inc=""
11801 fi
11802 if test "X$blosclib_lib" = "X/usr/lib"; then
11803 blosclib_lib=""
11804 fi
11805
11806 saved_CPPFLAGS="$CPPFLAGS"
11807 saved_AM_CPPFLAGS="$AM_CPPFLAGS"
11808 saved_LDFLAGS="$LDFLAGS"
11809 saved_AM_LDFLAGS="$AM_LDFLAGS"
11810
11811 if test -n "$blosclib_inc"; then
11812 CPPFLAGS="$CPPFLAGS -I$blosclib_inc"
11813 AM_CPPFLAGS="$AM_CPPFLAGS -I$blosclib_inc"
11814 fi
11815
11816 ac_fn_c_check_header_mongrel "$LINENO" "blosc.h" "ac_cv_header_blosc_h" "$ac_includes_default"
11817 if test "x$ac_cv_header_blosc_h" = xyes; then :
11818 HAVE_BLOSCLIB_H="yes"
11819 else
11820 CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS" unset HAVE_BLOSCLIB
11821 fi
11822
11823
11824
11825 if test -n "$blosclib_lib"; then
11826 LDFLAGS="$LDFLAGS -L$blosclib_lib"
11827 AM_LDFLAGS="$AM_LDFLAGS -L$blosclib_lib"
11828 fi
11829
11830 if test "x$HAVE_BLOSCLIB" = "xyes" -a "x$HAVE_BLOSCLIB_H" = "xyes"; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blosc_compress in -lblosc" >&5
11832 $as_echo_n "checking for blosc_compress in -lblosc... " >&6; }
11833 if ${ac_cv_lib_blosc_blosc_compress+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_lib_save_LIBS=$LIBS
11837 LIBS="-lblosc $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char blosc_compress ();
11848 int
11849 main ()
11850 {
11851 return blosc_compress ();
11852 ;
11853 return 0;
11854 }
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 ac_cv_lib_blosc_blosc_compress=yes
11858 else
11859 ac_cv_lib_blosc_blosc_compress=no
11860 fi
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_lib_save_LIBS
11864 fi
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blosc_blosc_compress" >&5
11866 $as_echo "$ac_cv_lib_blosc_blosc_compress" >&6; }
11867 if test "x$ac_cv_lib_blosc_blosc_compress" = xyes; then :
11868 cat >>confdefs.h <<_ACEOF
11869 #define HAVE_LIBBLOSC 1
11870 _ACEOF
11871
11872 LIBS="-lblosc $LIBS"
11873
11874 else
11875 LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_BLOSCLIB
11876 fi
11877
11878 fi
11879
11880 if test -z "$HAVE_BLOSCLIB"; then
11881 as_fn_error $? "couldn't find blosclib library" "$LINENO" 5
11882 else
11883 ac_fn_c_check_func "$LINENO" "blosc_compress" "ac_cv_func_blosc_compress"
11884 if test "x$ac_cv_func_blosc_compress" = xyes; then :
11885 HAVE_BLOSC_COMPRESS="yes"
11886 fi
11887
11888 fi
11889 ;;
11890 esac
11891
11892 ## ----------------------------------------------------------------------
11893 ## Where's HDF5? We need to find out where the HDF5 library
11894 ## and header files are if they aren't in system library/include places.
11895 ##
11896 LIBHDF5=""
11897 HDF5PATH=""
11898
11899 # Check whether --with-hdf5 was given.
11900 if test "${with_hdf5+set}" = set; then :
11901 withval=$with_hdf5;
11902 fi
11903
11904
11905 case "$withval" in
11906 yes)
11907 ac_fn_c_check_header_mongrel "$LINENO" "hdf5.h" "ac_cv_header_hdf5_h" "$ac_includes_default"
11908 if test "x$ac_cv_header_hdf5_h" = xyes; then :
11909
11910 else
11911 as_fn_error $? "cannot find HDF5 header files." "$LINENO" 5
11912 fi
11913
11914
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5open in -lhdf5" >&5
11916 $as_echo_n "checking for H5open in -lhdf5... " >&6; }
11917 if ${ac_cv_lib_hdf5_H5open+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-lhdf5 $LIBS"
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11924
11925 /* Override any GCC internal prototype to avoid an error.
11926 Use char because int might match the return type of a GCC
11927 builtin and then its argument prototype would still apply. */
11928 #ifdef __cplusplus
11929 extern "C"
11930 #endif
11931 char H5open ();
11932 int
11933 main ()
11934 {
11935 return H5open ();
11936 ;
11937 return 0;
11938 }
11939 _ACEOF
11940 if ac_fn_c_try_link "$LINENO"; then :
11941 ac_cv_lib_hdf5_H5open=yes
11942 else
11943 ac_cv_lib_hdf5_H5open=no
11944 fi
11945 rm -f core conftest.err conftest.$ac_objext \
11946 conftest$ac_exeext conftest.$ac_ext
11947 LIBS=$ac_check_lib_save_LIBS
11948 fi
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdf5_H5open" >&5
11950 $as_echo "$ac_cv_lib_hdf5_H5open" >&6; }
11951 if test "x$ac_cv_lib_hdf5_H5open" = xyes; then :
11952 cat >>confdefs.h <<_ACEOF
11953 #define HAVE_LIBHDF5 1
11954 _ACEOF
11955
11956 LIBS="-lhdf5 $LIBS"
11957
11958 else
11959 as_fn_error $? "cannot find the HDF5 library." "$LINENO" 5
11960 fi
11961
11962 ;;
11963 no)
11964 as_fn_error $? "HDF5 library needed for compilation." "$LINENO" 5
11965 ;;
11966 *)
11967 case "$withval" in
11968 *,*)
11969 hdf5_inc="`echo $withval | cut -f1 -d,`"
11970 hdf5_lib="`echo $withval | cut -f2 -d, -s`"
11971 ;;
11972 *)
11973 if test -n "$withval"; then
11974 hdf5_inc="$withval/include"
11975 hdf5_lib="$withval/lib"
11976 fi
11977 ;;
11978 esac
11979
11980 if test -n "$hdf5_inc"; then
11981 CPPFLAGS="$CPPFLAGS -I$hdf5_inc"
11982 fi
11983
11984 ac_fn_c_check_header_mongrel "$LINENO" "hdf5.h" "ac_cv_header_hdf5_h" "$ac_includes_default"
11985 if test "x$ac_cv_header_hdf5_h" = xyes; then :
11986
11987 else
11988 as_fn_error $? "cannot find HDF5 header files!" "$LINENO" 5
11989 fi
11990
11991
11992
11993 HDF5PATH="$hdf5_lib,"
11994 HDF5PATH="`echo $HDF5PATH | sed -e "s/lib,/bin/"`"
11995
11996 if test -n "$hdf5_lib"; then
11997 LDFLAGS="$LDFLAGS -L$hdf5_lib"
11998
11999 ## We want to use the ``.la'' version of the HDF5 library which
12000 ## is the thing libtool creates and has in it all of the neat
12001 ## stuff like where to find the libraries libhdf5 depends upon.
12002 if test -f "$hdf5_lib/libhdf5.la"; then
12003 libdir_saved=$libdir
12004 . $hdf5_lib/libhdf5.la
12005 libdir=$libdir_saved
12006 for lib in X $dependency_libs; do
12007 case "$lib" in
12008 *libhdf5.la*)
12009 ;;
12010 *)
12011 if test "$lib" != "X"; then
12012 LIBHDF5="$LIBHDF5 $lib"
12013 fi
12014 ;;
12015 esac
12016 done
12017 fi
12018 fi
12019
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5open in -lhdf5" >&5
12021 $as_echo_n "checking for H5open in -lhdf5... " >&6; }
12022 if ${ac_cv_lib_hdf5_H5open+:} false; then :
12023 $as_echo_n "(cached) " >&6
12024 else
12025 ac_check_lib_save_LIBS=$LIBS
12026 LIBS="-lhdf5 $LIBS"
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char H5open ();
12037 int
12038 main ()
12039 {
12040 return H5open ();
12041 ;
12042 return 0;
12043 }
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_hdf5_H5open=yes
12047 else
12048 ac_cv_lib_hdf5_H5open=no
12049 fi
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12053 fi
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdf5_H5open" >&5
12055 $as_echo "$ac_cv_lib_hdf5_H5open" >&6; }
12056 if test "x$ac_cv_lib_hdf5_H5open" = xyes; then :
12057 cat >>confdefs.h <<_ACEOF
12058 #define HAVE_LIBHDF5 1
12059 _ACEOF
12060
12061 LIBS="-lhdf5 $LIBS"
12062
12063 else
12064 as_fn_error $? "cannot find HDF5 library." "$LINENO" 5
12065 fi
12066
12067 ;;
12068 esac
12069
12070 H5CC=${HDF5PATH}/h5cc
12071 H5FC=${HDF5PATH}/h5fc
12072
12073 ## Add the suffix to CC for shared linking. Cannot just set as an option
12074 ## because it must be first.
12075 if test "$shared_suffix" && test ! `echo $CC | grep "$shared_suffix"`; then
12076 CC=${CC}${shared_suffix}
12077 fi
12078
12079 ## ======================================================================
12080 ## Checks for library functions
12081 ## ======================================================================
12082
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math library support" >&5
12084 $as_echo_n "checking for math library support... " >&6; }
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087 #include <math.h>
12088 int
12089 main ()
12090 {
12091 volatile x = 37.927; k=1.2; sinh(x*k/cosh(x/k)
12092 ;
12093 return 0;
12094 }
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12098 $as_echo "yes" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }; LIBS="$LIBS -lm"
12102 fi
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105
12106
12107 ## Checks for libraries.
12108
12109 ## Checks for header files.
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12111 $as_echo_n "checking for ANSI C header files... " >&6; }
12112 if ${ac_cv_header_stdc+:} false; then :
12113 $as_echo_n "(cached) " >&6
12114 else
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12117 #include <stdlib.h>
12118 #include <stdarg.h>
12119 #include <string.h>
12120 #include <float.h>
12121
12122 int
12123 main ()
12124 {
12125
12126 ;
12127 return 0;
12128 }
12129 _ACEOF
12130 if ac_fn_c_try_compile "$LINENO"; then :
12131 ac_cv_header_stdc=yes
12132 else
12133 ac_cv_header_stdc=no
12134 fi
12135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12136
12137 if test $ac_cv_header_stdc = yes; then
12138 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12141 #include <string.h>
12142
12143 _ACEOF
12144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12145 $EGREP "memchr" >/dev/null 2>&1; then :
12146
12147 else
12148 ac_cv_header_stdc=no
12149 fi
12150 rm -f conftest*
12151
12152 fi
12153
12154 if test $ac_cv_header_stdc = yes; then
12155 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12158 #include <stdlib.h>
12159
12160 _ACEOF
12161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12162 $EGREP "free" >/dev/null 2>&1; then :
12163
12164 else
12165 ac_cv_header_stdc=no
12166 fi
12167 rm -f conftest*
12168
12169 fi
12170
12171 if test $ac_cv_header_stdc = yes; then
12172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12173 if test "$cross_compiling" = yes; then :
12174 :
12175 else
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12178 #include <ctype.h>
12179 #include <stdlib.h>
12180 #if ((' ' & 0x0FF) == 0x020)
12181 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12182 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12183 #else
12184 # define ISLOWER(c) \
12185 (('a' <= (c) && (c) <= 'i') \
12186 || ('j' <= (c) && (c) <= 'r') \
12187 || ('s' <= (c) && (c) <= 'z'))
12188 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12189 #endif
12190
12191 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12192 int
12193 main ()
12194 {
12195 int i;
12196 for (i = 0; i < 256; i++)
12197 if (XOR (islower (i), ISLOWER (i))
12198 || toupper (i) != TOUPPER (i))
12199 return 2;
12200 return 0;
12201 }
12202 _ACEOF
12203 if ac_fn_c_try_run "$LINENO"; then :
12204
12205 else
12206 ac_cv_header_stdc=no
12207 fi
12208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12209 conftest.$ac_objext conftest.beam conftest.$ac_ext
12210 fi
12211
12212 fi
12213 fi
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12215 $as_echo "$ac_cv_header_stdc" >&6; }
12216 if test $ac_cv_header_stdc = yes; then
12217
12218 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12219
12220 fi
12221
12222 for ac_header in fcntl.h stdlib.h string.h
12223 do :
12224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12225 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12226 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12227 cat >>confdefs.h <<_ACEOF
12228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12229 _ACEOF
12230
12231 fi
12232
12233 done
12234
12235
12236 ## Checks for typedefs, structures, and compiler characteristics.
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12238 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12239 if ${ac_cv_c_const+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12244
12245 int
12246 main ()
12247 {
12248
12249 #ifndef __cplusplus
12250 /* Ultrix mips cc rejects this sort of thing. */
12251 typedef int charset[2];
12252 const charset cs = { 0, 0 };
12253 /* SunOS 4.1.1 cc rejects this. */
12254 char const *const *pcpcc;
12255 char **ppc;
12256 /* NEC SVR4.0.2 mips cc rejects this. */
12257 struct point {int x, y;};
12258 static struct point const zero = {0,0};
12259 /* AIX XL C 1.02.0.0 rejects this.
12260 It does not let you subtract one const X* pointer from another in
12261 an arm of an if-expression whose if-part is not a constant
12262 expression */
12263 const char *g = "string";
12264 pcpcc = &g + (g ? g-g : 0);
12265 /* HPUX 7.0 cc rejects these. */
12266 ++pcpcc;
12267 ppc = (char**) pcpcc;
12268 pcpcc = (char const *const *) ppc;
12269 { /* SCO 3.2v4 cc rejects this sort of thing. */
12270 char tx;
12271 char *t = &tx;
12272 char const *s = 0 ? (char *) 0 : (char const *) 0;
12273
12274 *t++ = 0;
12275 if (s) return 0;
12276 }
12277 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12278 int x[] = {25, 17};
12279 const int *foo = &x[0];
12280 ++foo;
12281 }
12282 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12283 typedef const int *iptr;
12284 iptr p = 0;
12285 ++p;
12286 }
12287 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12288 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12289 struct s { int j; const int *ap[3]; } bx;
12290 struct s *b = &bx; b->j = 5;
12291 }
12292 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12293 const int foo = 10;
12294 if (!foo) return 0;
12295 }
12296 return !cs[0] && !zero.x;
12297 #endif
12298
12299 ;
12300 return 0;
12301 }
12302 _ACEOF
12303 if ac_fn_c_try_compile "$LINENO"; then :
12304 ac_cv_c_const=yes
12305 else
12306 ac_cv_c_const=no
12307 fi
12308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12309 fi
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12311 $as_echo "$ac_cv_c_const" >&6; }
12312 if test $ac_cv_c_const = no; then
12313
12314 $as_echo "#define const /**/" >>confdefs.h
12315
12316 fi
12317
12318 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12319 if test "x$ac_cv_type_size_t" = xyes; then :
12320
12321 else
12322
12323 cat >>confdefs.h <<_ACEOF
12324 #define size_t unsigned int
12325 _ACEOF
12326
12327 fi
12328
12329
12330 ## Checks for library functions.
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
12332 $as_echo_n "checking for error_at_line... " >&6; }
12333 if ${ac_cv_lib_error_at_line+:} false; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338 #include <error.h>
12339 int
12340 main ()
12341 {
12342 error_at_line (0, 0, "", 0, "an error occurred");
12343 ;
12344 return 0;
12345 }
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 ac_cv_lib_error_at_line=yes
12349 else
12350 ac_cv_lib_error_at_line=no
12351 fi
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 fi
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
12356 $as_echo "$ac_cv_lib_error_at_line" >&6; }
12357 if test $ac_cv_lib_error_at_line = no; then
12358 case " $LIBOBJS " in
12359 *" error.$ac_objext "* ) ;;
12360 *) LIBOBJS="$LIBOBJS error.$ac_objext"
12361 ;;
12362 esac
12363
12364 fi
12365
12366 ##AC_FUNC_MALLOC
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
12368 $as_echo_n "checking for working memcmp... " >&6; }
12369 if ${ac_cv_func_memcmp_working+:} false; then :
12370 $as_echo_n "(cached) " >&6
12371 else
12372 if test "$cross_compiling" = yes; then :
12373 ac_cv_func_memcmp_working=no
12374 else
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12377 $ac_includes_default
12378 int
12379 main ()
12380 {
12381
12382 /* Some versions of memcmp are not 8-bit clean. */
12383 char c0 = '\100', c1 = '\200', c2 = '\201';
12384 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12385 return 1;
12386
12387 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12388 or more and with at least one buffer not starting on a 4-byte boundary.
12389 William Lewis provided this test program. */
12390 {
12391 char foo[21];
12392 char bar[21];
12393 int i;
12394 for (i = 0; i < 4; i++)
12395 {
12396 char *a = foo + i;
12397 char *b = bar + i;
12398 strcpy (a, "--------01111111");
12399 strcpy (b, "--------10000000");
12400 if (memcmp (a, b, 16) >= 0)
12401 return 1;
12402 }
12403 return 0;
12404 }
12405
12406 ;
12407 return 0;
12408 }
12409 _ACEOF
12410 if ac_fn_c_try_run "$LINENO"; then :
12411 ac_cv_func_memcmp_working=yes
12412 else
12413 ac_cv_func_memcmp_working=no
12414 fi
12415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12416 conftest.$ac_objext conftest.beam conftest.$ac_ext
12417 fi
12418
12419 fi
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12421 $as_echo "$ac_cv_func_memcmp_working" >&6; }
12422 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12423 *" memcmp.$ac_objext "* ) ;;
12424 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12425 ;;
12426 esac
12427
12428
12429 for ac_func in vprintf
12430 do :
12431 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
12432 if test "x$ac_cv_func_vprintf" = xyes; then :
12433 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_VPRINTF 1
12435 _ACEOF
12436
12437 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
12438 if test "x$ac_cv_func__doprnt" = xyes; then :
12439
12440 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12441
12442 fi
12443
12444 fi
12445 done
12446
12447
12448 for ac_func in memset
12449 do :
12450 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
12451 if test "x$ac_cv_func_memset" = xyes; then :
12452 cat >>confdefs.h <<_ACEOF
12453 #define HAVE_MEMSET 1
12454 _ACEOF
12455
12456 fi
12457 done
12458
12459
12460 ## Check which plugins to build, if no environmental variables are set, build
12461 ## all.
12462 if test ! "$PLUGIN_H5BLOSC"
12463 then
12464 PLUGIN_H5BLOSC=1
12465 fi
12466 if test "$PLUGIN_H5BLOSC"; then
12467 H5BLOSC_TRUE=
12468 H5BLOSC_FALSE='#'
12469 else
12470 H5BLOSC_TRUE='#'
12471 H5BLOSC_FALSE=
12472 fi
12473
12474
12475 : ${CONFIG_LT=./config.lt}
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
12477 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
12478 as_write_fail=0
12479 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
12480 #! $SHELL
12481 # Generated by $as_me.
12482 # Run this file to recreate a libtool stub with the current configuration.
12483 SHELL=\${CONFIG_SHELL-$SHELL}
12484 export SHELL
12485 _ASEOF
12486 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
12487 ## -------------------- ##
12488 ## M4sh Initialization. ##
12489 ## -------------------- ##
12490
12491 # Be more Bourne compatible
12492 DUALCASE=1; export DUALCASE # for MKS sh
12493 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12494 emulate sh
12495 NULLCMD=:
12496 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12497 # is contrary to our usage. Disable this feature.
12498 alias -g '${1+"$@"}'='"$@"'
12499 setopt NO_GLOB_SUBST
12500 else
12501 case `(set -o) 2>/dev/null` in #(
12502 *posix*) :
12503 set -o posix ;; #(
12504 *) :
12505 ;;
12506 esac
12507 fi
12508
12509
12510 as_nl='
12511 '
12512 export as_nl
12513 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12514 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12515 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12517 # Prefer a ksh shell builtin over an external printf program on Solaris,
12518 # but without wasting forks for bash or zsh.
12519 if test -z "$BASH_VERSION$ZSH_VERSION" \
12520 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12521 as_echo='print -r --'
12522 as_echo_n='print -rn --'
12523 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12524 as_echo='printf %s\n'
12525 as_echo_n='printf %s'
12526 else
12527 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12528 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12529 as_echo_n='/usr/ucb/echo -n'
12530 else
12531 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12532 as_echo_n_body='eval
12533 arg=$1;
12534 case $arg in #(
12535 *"$as_nl"*)
12536 expr "X$arg" : "X\\(.*\\)$as_nl";
12537 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12538 esac;
12539 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12540 '
12541 export as_echo_n_body
12542 as_echo_n='sh -c $as_echo_n_body as_echo'
12543 fi
12544 export as_echo_body
12545 as_echo='sh -c $as_echo_body as_echo'
12546 fi
12547
12548 # The user is always right.
12549 if test "${PATH_SEPARATOR+set}" != set; then
12550 PATH_SEPARATOR=:
12551 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12552 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12553 PATH_SEPARATOR=';'
12554 }
12555 fi
12556
12557
12558 # IFS
12559 # We need space, tab and new line, in precisely that order. Quoting is
12560 # there to prevent editors from complaining about space-tab.
12561 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12562 # splitting by setting IFS to empty value.)
12563 IFS=" "" $as_nl"
12564
12565 # Find who we are. Look in the path if we contain no directory separator.
12566 as_myself=
12567 case $0 in #((
12568 *[\\/]* ) as_myself=$0 ;;
12569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12570 for as_dir in $PATH
12571 do
12572 IFS=$as_save_IFS
12573 test -z "$as_dir" && as_dir=.
12574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12575 done
12576 IFS=$as_save_IFS
12577
12578 ;;
12579 esac
12580 # We did not find ourselves, most probably we were run as `sh COMMAND'
12581 # in which case we are not to be found in the path.
12582 if test "x$as_myself" = x; then
12583 as_myself=$0
12584 fi
12585 if test ! -f "$as_myself"; then
12586 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12587 exit 1
12588 fi
12589
12590 # Unset variables that we do not need and which cause bugs (e.g. in
12591 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12592 # suppresses any "Segmentation fault" message there. '((' could
12593 # trigger a bug in pdksh 5.2.14.
12594 for as_var in BASH_ENV ENV MAIL MAILPATH
12595 do eval test x\${$as_var+set} = xset \
12596 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12597 done
12598 PS1='$ '
12599 PS2='> '
12600 PS4='+ '
12601
12602 # NLS nuisances.
12603 LC_ALL=C
12604 export LC_ALL
12605 LANGUAGE=C
12606 export LANGUAGE
12607
12608 # CDPATH.
12609 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12610
12611
12612 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12613 # ----------------------------------------
12614 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12615 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12616 # script with STATUS, using 1 if that was 0.
12617 as_fn_error ()
12618 {
12619 as_status=$1; test $as_status -eq 0 && as_status=1
12620 if test "$4"; then
12621 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12622 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12623 fi
12624 $as_echo "$as_me: error: $2" >&2
12625 as_fn_exit $as_status
12626 } # as_fn_error
12627
12628
12629 # as_fn_set_status STATUS
12630 # -----------------------
12631 # Set $? to STATUS, without forking.
12632 as_fn_set_status ()
12633 {
12634 return $1
12635 } # as_fn_set_status
12636
12637 # as_fn_exit STATUS
12638 # -----------------
12639 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12640 as_fn_exit ()
12641 {
12642 set +e
12643 as_fn_set_status $1
12644 exit $1
12645 } # as_fn_exit
12646
12647 # as_fn_unset VAR
12648 # ---------------
12649 # Portably unset VAR.
12650 as_fn_unset ()
12651 {
12652 { eval $1=; unset $1;}
12653 }
12654 as_unset=as_fn_unset
12655 # as_fn_append VAR VALUE
12656 # ----------------------
12657 # Append the text in VALUE to the end of the definition contained in VAR. Take
12658 # advantage of any shell optimizations that allow amortized linear growth over
12659 # repeated appends, instead of the typical quadratic growth present in naive
12660 # implementations.
12661 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12662 eval 'as_fn_append ()
12663 {
12664 eval $1+=\$2
12665 }'
12666 else
12667 as_fn_append ()
12668 {
12669 eval $1=\$$1\$2
12670 }
12671 fi # as_fn_append
12672
12673 # as_fn_arith ARG...
12674 # ------------------
12675 # Perform arithmetic evaluation on the ARGs, and store the result in the
12676 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12677 # must be portable across $(()) and expr.
12678 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12679 eval 'as_fn_arith ()
12680 {
12681 as_val=$(( $* ))
12682 }'
12683 else
12684 as_fn_arith ()
12685 {
12686 as_val=`expr "$@" || test $? -eq 1`
12687 }
12688 fi # as_fn_arith
12689
12690
12691 if expr a : '\(a\)' >/dev/null 2>&1 &&
12692 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12693 as_expr=expr
12694 else
12695 as_expr=false
12696 fi
12697
12698 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12699 as_basename=basename
12700 else
12701 as_basename=false
12702 fi
12703
12704 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12705 as_dirname=dirname
12706 else
12707 as_dirname=false
12708 fi
12709
12710 as_me=`$as_basename -- "$0" ||
12711 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12712 X"$0" : 'X\(//\)$' \| \
12713 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12714 $as_echo X/"$0" |
12715 sed '/^.*\/\([^/][^/]*\)\/*$/{
12716 s//\1/
12717 q
12718 }
12719 /^X\/\(\/\/\)$/{
12720 s//\1/
12721 q
12722 }
12723 /^X\/\(\/\).*/{
12724 s//\1/
12725 q
12726 }
12727 s/.*/./; q'`
12728
12729 # Avoid depending upon Character Ranges.
12730 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12731 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12732 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12733 as_cr_digits='0123456789'
12734 as_cr_alnum=$as_cr_Letters$as_cr_digits
12735
12736 ECHO_C= ECHO_N= ECHO_T=
12737 case `echo -n x` in #(((((
12738 -n*)
12739 case `echo 'xy\c'` in
12740 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12741 xy) ECHO_C='\c';;
12742 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12743 ECHO_T=' ';;
12744 esac;;
12745 *)
12746 ECHO_N='-n';;
12747 esac
12748
12749 rm -f conf$$ conf$$.exe conf$$.file
12750 if test -d conf$$.dir; then
12751 rm -f conf$$.dir/conf$$.file
12752 else
12753 rm -f conf$$.dir
12754 mkdir conf$$.dir 2>/dev/null
12755 fi
12756 if (echo >conf$$.file) 2>/dev/null; then
12757 if ln -s conf$$.file conf$$ 2>/dev/null; then
12758 as_ln_s='ln -s'
12759 # ... but there are two gotchas:
12760 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12761 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12762 # In both cases, we have to default to `cp -pR'.
12763 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12764 as_ln_s='cp -pR'
12765 elif ln conf$$.file conf$$ 2>/dev/null; then
12766 as_ln_s=ln
12767 else
12768 as_ln_s='cp -pR'
12769 fi
12770 else
12771 as_ln_s='cp -pR'
12772 fi
12773 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12774 rmdir conf$$.dir 2>/dev/null
12775
12776
12777 # as_fn_mkdir_p
12778 # -------------
12779 # Create "$as_dir" as a directory, including parents if necessary.
12780 as_fn_mkdir_p ()
12781 {
12782
12783 case $as_dir in #(
12784 -*) as_dir=./$as_dir;;
12785 esac
12786 test -d "$as_dir" || eval $as_mkdir_p || {
12787 as_dirs=
12788 while :; do
12789 case $as_dir in #(
12790 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12791 *) as_qdir=$as_dir;;
12792 esac
12793 as_dirs="'$as_qdir' $as_dirs"
12794 as_dir=`$as_dirname -- "$as_dir" ||
12795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12796 X"$as_dir" : 'X\(//\)[^/]' \| \
12797 X"$as_dir" : 'X\(//\)$' \| \
12798 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12799 $as_echo X"$as_dir" |
12800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12801 s//\1/
12802 q
12803 }
12804 /^X\(\/\/\)[^/].*/{
12805 s//\1/
12806 q
12807 }
12808 /^X\(\/\/\)$/{
12809 s//\1/
12810 q
12811 }
12812 /^X\(\/\).*/{
12813 s//\1/
12814 q
12815 }
12816 s/.*/./; q'`
12817 test -d "$as_dir" && break
12818 done
12819 test -z "$as_dirs" || eval "mkdir $as_dirs"
12820 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12821
12822
12823 } # as_fn_mkdir_p
12824 if mkdir -p . 2>/dev/null; then
12825 as_mkdir_p='mkdir -p "$as_dir"'
12826 else
12827 test -d ./-p && rmdir ./-p
12828 as_mkdir_p=false
12829 fi
12830
12831
12832 # as_fn_executable_p FILE
12833 # -----------------------
12834 # Test if FILE is an executable regular file.
12835 as_fn_executable_p ()
12836 {
12837 test -f "$1" && test -x "$1"
12838 } # as_fn_executable_p
12839 as_test_x='test -x'
12840 as_executable_p=as_fn_executable_p
12841
12842 # Sed expression to map a string onto a valid CPP name.
12843 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12844
12845 # Sed expression to map a string onto a valid variable name.
12846 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12847
12848
12849 exec 6>&1
12850 ## --------------------------------- ##
12851 ## Main body of "$CONFIG_LT" script. ##
12852 ## --------------------------------- ##
12853 _ASEOF
12854 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
12855
12856 cat >>"$CONFIG_LT" <<\_LTEOF
12857 lt_cl_silent=false
12858 exec 5>>config.log
12859 {
12860 echo
12861 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12862 ## Running $as_me. ##
12863 _ASBOX
12864 } >&5
12865
12866 lt_cl_help="\
12867 \`$as_me' creates a local libtool stub from the current configuration,
12868 for use in further configure time tests before the real libtool is
12869 generated.
12870
12871 Usage: $0 [OPTIONS]
12872
12873 -h, --help print this help, then exit
12874 -V, --version print version number, then exit
12875 -q, --quiet do not print progress messages
12876 -d, --debug don't remove temporary files
12877
12878 Report bugs to <[email protected]>."
12879
12880 lt_cl_version="\
12881 H5BZ2 config.lt 0.1
12882 configured by $0, generated by GNU Autoconf 2.69.
12883
12884 Copyright (C) 2011 Free Software Foundation, Inc.
12885 This config.lt script is free software; the Free Software Foundation
12886 gives unlimited permision to copy, distribute and modify it."
12887
12888 while test $# != 0
12889 do
12890 case $1 in
12891 --version | --v* | -V )
12892 echo "$lt_cl_version"; exit 0 ;;
12893 --help | --h* | -h )
12894 echo "$lt_cl_help"; exit 0 ;;
12895 --debug | --d* | -d )
12896 debug=: ;;
12897 --quiet | --q* | --silent | --s* | -q )
12898 lt_cl_silent=: ;;
12899
12900 -*) as_fn_error $? "unrecognized option: $1
12901 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12902
12903 *) as_fn_error $? "unrecognized argument: $1
12904 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12905 esac
12906 shift
12907 done
12908
12909 if $lt_cl_silent; then
12910 exec 6>/dev/null
12911 fi
12912 _LTEOF
12913
12914 cat >>"$CONFIG_LT" <<_LTEOF
12915
12916
12917 # The HP-UX ksh and POSIX shell print the target directory to stdout
12918 # if CDPATH is set.
12919 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12920
12921 sed_quote_subst='$sed_quote_subst'
12922 double_quote_subst='$double_quote_subst'
12923 delay_variable_subst='$delay_variable_subst'
12924 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12925 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12926 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12927 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12928 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12929 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12930 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12931 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12932 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12933 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12934 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12935 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12936 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12937 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12938 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12939 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12940 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12941 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12942 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12943 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12944 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12945 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12946 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12947 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12948 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12949 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12950 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12951 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12952 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12953 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12954 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12955 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12956 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12957 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12958 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12959 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12960 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12961 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12962 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12963 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12964 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12965 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12966 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12967 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12968 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12969 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12970 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12971 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12972 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12973 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12974 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12975 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12976 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12977 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12978 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12979 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12980 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"`'
12981 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12982 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12983 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12984 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12985 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12986 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12987 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12988 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12989 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12990 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12991 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12992 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12993 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12994 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12995 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12996 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12997 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12998 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12999 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13000 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13001 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13002 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13003 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13004 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13005 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13006 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13007 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13008 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13009 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13010 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13011 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13012 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13013 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13014 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13015 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13016 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13017 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13018 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13019 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13020 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13021 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13022 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13023 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13024 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13025 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13026 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13027 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13028 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13029 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13030 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13031 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13032 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13033 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13034 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13035 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13036 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13037 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13038 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13039 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13040 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13041 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13042 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13043 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13044 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13045 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13046 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13047 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13048 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13049 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13050 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13051 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13052 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13053 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13054
13055 LTCC='$LTCC'
13056 LTCFLAGS='$LTCFLAGS'
13057 compiler='$compiler_DEFAULT'
13058
13059 # A function that is used when there is no print builtin or printf.
13060 func_fallback_echo ()
13061 {
13062 eval 'cat <<_LTECHO_EOF
13063 \$1
13064 _LTECHO_EOF'
13065 }
13066
13067 # Quote evaled strings.
13068 for var in SHELL \
13069 ECHO \
13070 PATH_SEPARATOR \
13071 SED \
13072 GREP \
13073 EGREP \
13074 FGREP \
13075 LD \
13076 NM \
13077 LN_S \
13078 lt_SP2NL \
13079 lt_NL2SP \
13080 reload_flag \
13081 OBJDUMP \
13082 deplibs_check_method \
13083 file_magic_cmd \
13084 file_magic_glob \
13085 want_nocaseglob \
13086 DLLTOOL \
13087 sharedlib_from_linklib_cmd \
13088 AR \
13089 AR_FLAGS \
13090 archiver_list_spec \
13091 STRIP \
13092 RANLIB \
13093 CC \
13094 CFLAGS \
13095 compiler \
13096 lt_cv_sys_global_symbol_pipe \
13097 lt_cv_sys_global_symbol_to_cdecl \
13098 lt_cv_sys_global_symbol_to_c_name_address \
13099 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13100 nm_file_list_spec \
13101 lt_prog_compiler_no_builtin_flag \
13102 lt_prog_compiler_pic \
13103 lt_prog_compiler_wl \
13104 lt_prog_compiler_static \
13105 lt_cv_prog_compiler_c_o \
13106 need_locks \
13107 MANIFEST_TOOL \
13108 DSYMUTIL \
13109 NMEDIT \
13110 LIPO \
13111 OTOOL \
13112 OTOOL64 \
13113 shrext_cmds \
13114 export_dynamic_flag_spec \
13115 whole_archive_flag_spec \
13116 compiler_needs_object \
13117 with_gnu_ld \
13118 allow_undefined_flag \
13119 no_undefined_flag \
13120 hardcode_libdir_flag_spec \
13121 hardcode_libdir_separator \
13122 exclude_expsyms \
13123 include_expsyms \
13124 file_list_spec \
13125 variables_saved_for_relink \
13126 libname_spec \
13127 library_names_spec \
13128 soname_spec \
13129 install_override_mode \
13130 finish_eval \
13131 old_striplib \
13132 striplib; do
13133 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13134 *[\\\\\\\`\\"\\\$]*)
13135 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13136 ;;
13137 *)
13138 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13139 ;;
13140 esac
13141 done
13142
13143 # Double-quote double-evaled strings.
13144 for var in reload_cmds \
13145 old_postinstall_cmds \
13146 old_postuninstall_cmds \
13147 old_archive_cmds \
13148 extract_expsyms_cmds \
13149 old_archive_from_new_cmds \
13150 old_archive_from_expsyms_cmds \
13151 archive_cmds \
13152 archive_expsym_cmds \
13153 module_cmds \
13154 module_expsym_cmds \
13155 export_symbols_cmds \
13156 prelink_cmds \
13157 postlink_cmds \
13158 postinstall_cmds \
13159 postuninstall_cmds \
13160 finish_cmds \
13161 sys_lib_search_path_spec \
13162 sys_lib_dlsearch_path_spec; do
13163 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13164 *[\\\\\\\`\\"\\\$]*)
13165 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13166 ;;
13167 *)
13168 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13169 ;;
13170 esac
13171 done
13172
13173 ac_aux_dir='$ac_aux_dir'
13174 xsi_shell='$xsi_shell'
13175 lt_shell_append='$lt_shell_append'
13176
13177 # See if we are running on zsh, and set the options which allow our
13178 # commands through without removal of \ escapes INIT.
13179 if test -n "\${ZSH_VERSION+set}" ; then
13180 setopt NO_GLOB_SUBST
13181 fi
13182
13183
13184 PACKAGE='$PACKAGE'
13185 VERSION='$VERSION'
13186 TIMESTAMP='$TIMESTAMP'
13187 RM='$RM'
13188 ofile='$ofile'
13189
13190
13191
13192 _LTEOF
13193
13194 cat >>"$CONFIG_LT" <<\_LTEOF
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
13196 $as_echo "$as_me: creating $ofile" >&6;}
13197
13198
13199 # See if we are running on zsh, and set the options which allow our
13200 # commands through without removal of \ escapes.
13201 if test -n "${ZSH_VERSION+set}" ; then
13202 setopt NO_GLOB_SUBST
13203 fi
13204
13205 cfgfile="${ofile}T"
13206 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13207 $RM "$cfgfile"
13208
13209 cat <<_LT_EOF >> "$cfgfile"
13210 #! $SHELL
13211
13212 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13213 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13215 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13216 #
13217 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13218 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13219 # Foundation, Inc.
13220 # Written by Gordon Matzigkeit, 1996
13221 #
13222 # This file is part of GNU Libtool.
13223 #
13224 # GNU Libtool is free software; you can redistribute it and/or
13225 # modify it under the terms of the GNU General Public License as
13226 # published by the Free Software Foundation; either version 2 of
13227 # the License, or (at your option) any later version.
13228 #
13229 # As a special exception to the GNU General Public License,
13230 # if you distribute this file as part of a program or library that
13231 # is built using GNU Libtool, you may include this file under the
13232 # same distribution terms that you use for the rest of that program.
13233 #
13234 # GNU Libtool is distributed in the hope that it will be useful,
13235 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13236 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13237 # GNU General Public License for more details.
13238 #
13239 # You should have received a copy of the GNU General Public License
13240 # along with GNU Libtool; see the file COPYING. If not, a copy
13241 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13242 # obtained by writing to the Free Software Foundation, Inc.,
13243 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13244
13245
13246 # The names of the tagged configurations supported by this script.
13247 available_tags=""
13248
13249 # ### BEGIN LIBTOOL CONFIG
13250
13251 # Which release of libtool.m4 was used?
13252 macro_version=$macro_version
13253 macro_revision=$macro_revision
13254
13255 # Whether or not to build shared libraries.
13256 build_libtool_libs=$enable_shared
13257
13258 # Whether or not to build static libraries.
13259 build_old_libs=$enable_static
13260
13261 # What type of objects to build.
13262 pic_mode=$pic_mode
13263
13264 # Whether or not to optimize for fast installation.
13265 fast_install=$enable_fast_install
13266
13267 # Shell to use when invoking shell scripts.
13268 SHELL=$lt_SHELL
13269
13270 # An echo program that protects backslashes.
13271 ECHO=$lt_ECHO
13272
13273 # The PATH separator for the build system.
13274 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13275
13276 # The host system.
13277 host_alias=$host_alias
13278 host=$host
13279 host_os=$host_os
13280
13281 # The build system.
13282 build_alias=$build_alias
13283 build=$build
13284 build_os=$build_os
13285
13286 # A sed program that does not truncate output.
13287 SED=$lt_SED
13288
13289 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13290 Xsed="\$SED -e 1s/^X//"
13291
13292 # A grep program that handles long lines.
13293 GREP=$lt_GREP
13294
13295 # An ERE matcher.
13296 EGREP=$lt_EGREP
13297
13298 # A literal string matcher.
13299 FGREP=$lt_FGREP
13300
13301 # A BSD- or MS-compatible name lister.
13302 NM=$lt_NM
13303
13304 # Whether we need soft or hard links.
13305 LN_S=$lt_LN_S
13306
13307 # What is the maximum length of a command?
13308 max_cmd_len=$max_cmd_len
13309
13310 # Object file suffix (normally "o").
13311 objext=$ac_objext
13312
13313 # Executable file suffix (normally "").
13314 exeext=$exeext
13315
13316 # whether the shell understands "unset".
13317 lt_unset=$lt_unset
13318
13319 # turn spaces into newlines.
13320 SP2NL=$lt_lt_SP2NL
13321
13322 # turn newlines into spaces.
13323 NL2SP=$lt_lt_NL2SP
13324
13325 # convert \$build file names to \$host format.
13326 to_host_file_cmd=$lt_cv_to_host_file_cmd
13327
13328 # convert \$build files to toolchain format.
13329 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13330
13331 # An object symbol dumper.
13332 OBJDUMP=$lt_OBJDUMP
13333
13334 # Method to check whether dependent libraries are shared objects.
13335 deplibs_check_method=$lt_deplibs_check_method
13336
13337 # Command to use when deplibs_check_method = "file_magic".
13338 file_magic_cmd=$lt_file_magic_cmd
13339
13340 # How to find potential files when deplibs_check_method = "file_magic".
13341 file_magic_glob=$lt_file_magic_glob
13342
13343 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13344 want_nocaseglob=$lt_want_nocaseglob
13345
13346 # DLL creation program.
13347 DLLTOOL=$lt_DLLTOOL
13348
13349 # Command to associate shared and link libraries.
13350 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13351
13352 # The archiver.
13353 AR=$lt_AR
13354
13355 # Flags to create an archive.
13356 AR_FLAGS=$lt_AR_FLAGS
13357
13358 # How to feed a file listing to the archiver.
13359 archiver_list_spec=$lt_archiver_list_spec
13360
13361 # A symbol stripping program.
13362 STRIP=$lt_STRIP
13363
13364 # Commands used to install an old-style archive.
13365 RANLIB=$lt_RANLIB
13366 old_postinstall_cmds=$lt_old_postinstall_cmds
13367 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13368
13369 # Whether to use a lock for old archive extraction.
13370 lock_old_archive_extraction=$lock_old_archive_extraction
13371
13372 # A C compiler.
13373 LTCC=$lt_CC
13374
13375 # LTCC compiler flags.
13376 LTCFLAGS=$lt_CFLAGS
13377
13378 # Take the output of nm and produce a listing of raw symbols and C names.
13379 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13380
13381 # Transform the output of nm in a proper C declaration.
13382 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13383
13384 # Transform the output of nm in a C name address pair.
13385 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13386
13387 # Transform the output of nm in a C name address pair when lib prefix is needed.
13388 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13389
13390 # Specify filename containing input files for \$NM.
13391 nm_file_list_spec=$lt_nm_file_list_spec
13392
13393 # The root where to search for dependent libraries,and in which our libraries should be installed.
13394 lt_sysroot=$lt_sysroot
13395
13396 # The name of the directory that contains temporary libtool files.
13397 objdir=$objdir
13398
13399 # Used to examine libraries when file_magic_cmd begins with "file".
13400 MAGIC_CMD=$MAGIC_CMD
13401
13402 # Must we lock files when doing compilation?
13403 need_locks=$lt_need_locks
13404
13405 # Manifest tool.
13406 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13407
13408 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13409 DSYMUTIL=$lt_DSYMUTIL
13410
13411 # Tool to change global to local symbols on Mac OS X.
13412 NMEDIT=$lt_NMEDIT
13413
13414 # Tool to manipulate fat objects and archives on Mac OS X.
13415 LIPO=$lt_LIPO
13416
13417 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13418 OTOOL=$lt_OTOOL
13419
13420 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13421 OTOOL64=$lt_OTOOL64
13422
13423 # Old archive suffix (normally "a").
13424 libext=$libext
13425
13426 # Shared library suffix (normally ".so").
13427 shrext_cmds=$lt_shrext_cmds
13428
13429 # The commands to extract the exported symbol list from a shared archive.
13430 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13431
13432 # Variables whose values should be saved in libtool wrapper scripts and
13433 # restored at link time.
13434 variables_saved_for_relink=$lt_variables_saved_for_relink
13435
13436 # Do we need the "lib" prefix for modules?
13437 need_lib_prefix=$need_lib_prefix
13438
13439 # Do we need a version for libraries?
13440 need_version=$need_version
13441
13442 # Library versioning type.
13443 version_type=$version_type
13444
13445 # Shared library runtime path variable.
13446 runpath_var=$runpath_var
13447
13448 # Shared library path variable.
13449 shlibpath_var=$shlibpath_var
13450
13451 # Is shlibpath searched before the hard-coded library search path?
13452 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13453
13454 # Format of library name prefix.
13455 libname_spec=$lt_libname_spec
13456
13457 # List of archive names. First name is the real one, the rest are links.
13458 # The last name is the one that the linker finds with -lNAME
13459 library_names_spec=$lt_library_names_spec
13460
13461 # The coded name of the library, if different from the real name.
13462 soname_spec=$lt_soname_spec
13463
13464 # Permission mode override for installation of shared libraries.
13465 install_override_mode=$lt_install_override_mode
13466
13467 # Command to use after installation of a shared archive.
13468 postinstall_cmds=$lt_postinstall_cmds
13469
13470 # Command to use after uninstallation of a shared archive.
13471 postuninstall_cmds=$lt_postuninstall_cmds
13472
13473 # Commands used to finish a libtool library installation in a directory.
13474 finish_cmds=$lt_finish_cmds
13475
13476 # As "finish_cmds", except a single script fragment to be evaled but
13477 # not shown.
13478 finish_eval=$lt_finish_eval
13479
13480 # Whether we should hardcode library paths into libraries.
13481 hardcode_into_libs=$hardcode_into_libs
13482
13483 # Compile-time system search path for libraries.
13484 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13485
13486 # Run-time system search path for libraries.
13487 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13488
13489 # Whether dlopen is supported.
13490 dlopen_support=$enable_dlopen
13491
13492 # Whether dlopen of programs is supported.
13493 dlopen_self=$enable_dlopen_self
13494
13495 # Whether dlopen of statically linked programs is supported.
13496 dlopen_self_static=$enable_dlopen_self_static
13497
13498 # Commands to strip libraries.
13499 old_striplib=$lt_old_striplib
13500 striplib=$lt_striplib
13501
13502
13503 # The linker used to build libraries.
13504 LD=$lt_LD
13505
13506 # How to create reloadable object files.
13507 reload_flag=$lt_reload_flag
13508 reload_cmds=$lt_reload_cmds
13509
13510 # Commands used to build an old-style archive.
13511 old_archive_cmds=$lt_old_archive_cmds
13512
13513 # A language specific compiler.
13514 CC=$lt_compiler
13515
13516 # Is the compiler the GNU compiler?
13517 with_gcc=$GCC
13518
13519 # Compiler flag to turn off builtin functions.
13520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13521
13522 # Additional compiler flags for building library objects.
13523 pic_flag=$lt_lt_prog_compiler_pic
13524
13525 # How to pass a linker flag through the compiler.
13526 wl=$lt_lt_prog_compiler_wl
13527
13528 # Compiler flag to prevent dynamic linking.
13529 link_static_flag=$lt_lt_prog_compiler_static
13530
13531 # Does compiler simultaneously support -c and -o options?
13532 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13533
13534 # Whether or not to add -lc for building shared libraries.
13535 build_libtool_need_lc=$archive_cmds_need_lc
13536
13537 # Whether or not to disallow shared libs when runtime libs are static.
13538 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13539
13540 # Compiler flag to allow reflexive dlopens.
13541 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13542
13543 # Compiler flag to generate shared objects directly from archives.
13544 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13545
13546 # Whether the compiler copes with passing no objects directly.
13547 compiler_needs_object=$lt_compiler_needs_object
13548
13549 # Create an old-style archive from a shared archive.
13550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13551
13552 # Create a temporary old-style archive to link instead of a shared archive.
13553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13554
13555 # Commands used to build a shared archive.
13556 archive_cmds=$lt_archive_cmds
13557 archive_expsym_cmds=$lt_archive_expsym_cmds
13558
13559 # Commands used to build a loadable module if different from building
13560 # a shared archive.
13561 module_cmds=$lt_module_cmds
13562 module_expsym_cmds=$lt_module_expsym_cmds
13563
13564 # Whether we are building with GNU ld or not.
13565 with_gnu_ld=$lt_with_gnu_ld
13566
13567 # Flag that allows shared libraries with undefined symbols to be built.
13568 allow_undefined_flag=$lt_allow_undefined_flag
13569
13570 # Flag that enforces no undefined symbols.
13571 no_undefined_flag=$lt_no_undefined_flag
13572
13573 # Flag to hardcode \$libdir into a binary during linking.
13574 # This must work even if \$libdir does not exist
13575 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13576
13577 # Whether we need a single "-rpath" flag with a separated argument.
13578 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13579
13580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13581 # DIR into the resulting binary.
13582 hardcode_direct=$hardcode_direct
13583
13584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13585 # DIR into the resulting binary and the resulting library dependency is
13586 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13587 # library is relocated.
13588 hardcode_direct_absolute=$hardcode_direct_absolute
13589
13590 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13591 # into the resulting binary.
13592 hardcode_minus_L=$hardcode_minus_L
13593
13594 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13595 # into the resulting binary.
13596 hardcode_shlibpath_var=$hardcode_shlibpath_var
13597
13598 # Set to "yes" if building a shared library automatically hardcodes DIR
13599 # into the library and all subsequent libraries and executables linked
13600 # against it.
13601 hardcode_automatic=$hardcode_automatic
13602
13603 # Set to yes if linker adds runtime paths of dependent libraries
13604 # to runtime path list.
13605 inherit_rpath=$inherit_rpath
13606
13607 # Whether libtool must link a program against all its dependency libraries.
13608 link_all_deplibs=$link_all_deplibs
13609
13610 # Set to "yes" if exported symbols are required.
13611 always_export_symbols=$always_export_symbols
13612
13613 # The commands to list exported symbols.
13614 export_symbols_cmds=$lt_export_symbols_cmds
13615
13616 # Symbols that should not be listed in the preloaded symbols.
13617 exclude_expsyms=$lt_exclude_expsyms
13618
13619 # Symbols that must always be exported.
13620 include_expsyms=$lt_include_expsyms
13621
13622 # Commands necessary for linking programs (against libraries) with templates.
13623 prelink_cmds=$lt_prelink_cmds
13624
13625 # Commands necessary for finishing linking programs.
13626 postlink_cmds=$lt_postlink_cmds
13627
13628 # Specify filename containing input files.
13629 file_list_spec=$lt_file_list_spec
13630
13631 # How to hardcode a shared library path into an executable.
13632 hardcode_action=$hardcode_action
13633
13634 # ### END LIBTOOL CONFIG
13635
13636 _LT_EOF
13637
13638 case $host_os in
13639 aix3*)
13640 cat <<\_LT_EOF >> "$cfgfile"
13641 # AIX sometimes has problems with the GCC collect2 program. For some
13642 # reason, if we set the COLLECT_NAMES environment variable, the problems
13643 # vanish in a puff of smoke.
13644 if test "X${COLLECT_NAMES+set}" != Xset; then
13645 COLLECT_NAMES=
13646 export COLLECT_NAMES
13647 fi
13648 _LT_EOF
13649 ;;
13650 esac
13651
13652
13653 ltmain="$ac_aux_dir/ltmain.sh"
13654
13655
13656 # We use sed instead of cat because bash on DJGPP gets confused if
13657 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13658 # text mode, it properly converts lines to CR/LF. This bash problem
13659 # is reportedly fixed, but why not run on old versions too?
13660 sed '$q' "$ltmain" >> "$cfgfile" \
13661 || (rm -f "$cfgfile"; exit 1)
13662
13663 if test x"$xsi_shell" = xyes; then
13664 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13665 func_dirname ()\
13666 {\
13667 \ case ${1} in\
13668 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13669 \ * ) func_dirname_result="${3}" ;;\
13670 \ esac\
13671 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13672 && mv -f "$cfgfile.tmp" "$cfgfile" \
13673 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13674 test 0 -eq $? || _lt_function_replace_fail=:
13675
13676
13677 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13678 func_basename ()\
13679 {\
13680 \ func_basename_result="${1##*/}"\
13681 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13682 && mv -f "$cfgfile.tmp" "$cfgfile" \
13683 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13684 test 0 -eq $? || _lt_function_replace_fail=:
13685
13686
13687 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13688 func_dirname_and_basename ()\
13689 {\
13690 \ case ${1} in\
13691 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13692 \ * ) func_dirname_result="${3}" ;;\
13693 \ esac\
13694 \ func_basename_result="${1##*/}"\
13695 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13696 && mv -f "$cfgfile.tmp" "$cfgfile" \
13697 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13698 test 0 -eq $? || _lt_function_replace_fail=:
13699
13700
13701 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13702 func_stripname ()\
13703 {\
13704 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13705 \ # positional parameters, so assign one to ordinary parameter first.\
13706 \ func_stripname_result=${3}\
13707 \ func_stripname_result=${func_stripname_result#"${1}"}\
13708 \ func_stripname_result=${func_stripname_result%"${2}"}\
13709 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13710 && mv -f "$cfgfile.tmp" "$cfgfile" \
13711 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13712 test 0 -eq $? || _lt_function_replace_fail=:
13713
13714
13715 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13716 func_split_long_opt ()\
13717 {\
13718 \ func_split_long_opt_name=${1%%=*}\
13719 \ func_split_long_opt_arg=${1#*=}\
13720 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13721 && mv -f "$cfgfile.tmp" "$cfgfile" \
13722 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13723 test 0 -eq $? || _lt_function_replace_fail=:
13724
13725
13726 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13727 func_split_short_opt ()\
13728 {\
13729 \ func_split_short_opt_arg=${1#??}\
13730 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13731 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13732 && mv -f "$cfgfile.tmp" "$cfgfile" \
13733 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13734 test 0 -eq $? || _lt_function_replace_fail=:
13735
13736
13737 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13738 func_lo2o ()\
13739 {\
13740 \ case ${1} in\
13741 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13742 \ *) func_lo2o_result=${1} ;;\
13743 \ esac\
13744 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13745 && mv -f "$cfgfile.tmp" "$cfgfile" \
13746 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13747 test 0 -eq $? || _lt_function_replace_fail=:
13748
13749
13750 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13751 func_xform ()\
13752 {\
13753 func_xform_result=${1%.*}.lo\
13754 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13755 && mv -f "$cfgfile.tmp" "$cfgfile" \
13756 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13757 test 0 -eq $? || _lt_function_replace_fail=:
13758
13759
13760 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13761 func_arith ()\
13762 {\
13763 func_arith_result=$(( $* ))\
13764 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13765 && mv -f "$cfgfile.tmp" "$cfgfile" \
13766 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13767 test 0 -eq $? || _lt_function_replace_fail=:
13768
13769
13770 sed -e '/^func_len ()$/,/^} # func_len /c\
13771 func_len ()\
13772 {\
13773 func_len_result=${#1}\
13774 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13775 && mv -f "$cfgfile.tmp" "$cfgfile" \
13776 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13777 test 0 -eq $? || _lt_function_replace_fail=:
13778
13779 fi
13780
13781 if test x"$lt_shell_append" = xyes; then
13782 sed -e '/^func_append ()$/,/^} # func_append /c\
13783 func_append ()\
13784 {\
13785 eval "${1}+=\\${2}"\
13786 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13787 && mv -f "$cfgfile.tmp" "$cfgfile" \
13788 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13789 test 0 -eq $? || _lt_function_replace_fail=:
13790
13791
13792 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13793 func_append_quoted ()\
13794 {\
13795 \ func_quote_for_eval "${2}"\
13796 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13797 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13798 && mv -f "$cfgfile.tmp" "$cfgfile" \
13799 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13800 test 0 -eq $? || _lt_function_replace_fail=:
13801
13802
13803 # Save a `func_append' function call where possible by direct use of '+='
13804 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13805 && mv -f "$cfgfile.tmp" "$cfgfile" \
13806 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13807 test 0 -eq $? || _lt_function_replace_fail=:
13808 else
13809 # Save a `func_append' function call even when '+=' is not available
13810 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13811 && mv -f "$cfgfile.tmp" "$cfgfile" \
13812 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13813 test 0 -eq $? || _lt_function_replace_fail=:
13814 fi
13815
13816 if test x"$_lt_function_replace_fail" = x":"; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13818 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13819 fi
13820
13821
13822 mv -f "$cfgfile" "$ofile" ||
13823 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13824 chmod +x "$ofile"
13825
13826
13827 as_fn_exit 0
13828 _LTEOF
13829 chmod +x "$CONFIG_LT"
13830
13831 # configure is writing to config.log, but config.lt does its own redirection,
13832 # appending to config.log, which fails on DOS, as config.log is still kept
13833 # open by configure. Here we exec the FD to /dev/null, effectively closing
13834 # config.log, so it can be properly (re)opened and appended to by config.lt.
13835 lt_cl_success=:
13836 test "$silent" = yes &&
13837 lt_config_lt_args="$lt_config_lt_args --quiet"
13838 exec 5>/dev/null
13839 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13840 exec 5>>config.log
13841 $lt_cl_success || as_fn_exit 1
13842
13843
13844 ## Set subdirectories
13845 ac_config_files="$ac_config_files makefile src/makefile example/makefile example/test.sh"
13846
13847
13848 ## Configure
13849 cat >confcache <<\_ACEOF
13850 # This file is a shell script that caches the results of configure
13851 # tests run on this system so they can be shared between configure
13852 # scripts and configure runs, see configure's option --config-cache.
13853 # It is not useful on other systems. If it contains results you don't
13854 # want to keep, you may remove or edit it.
13855 #
13856 # config.status only pays attention to the cache file if you give it
13857 # the --recheck option to rerun configure.
13858 #
13859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13861 # following values.
13862
13863 _ACEOF
13864
13865 # The following way of writing the cache mishandles newlines in values,
13866 # but we know of no workaround that is simple, portable, and efficient.
13867 # So, we kill variables containing newlines.
13868 # Ultrix sh set writes to stderr and can't be redirected directly,
13869 # and sets the high bit in the cache file unless we assign to the vars.
13870 (
13871 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13872 eval ac_val=\$$ac_var
13873 case $ac_val in #(
13874 *${as_nl}*)
13875 case $ac_var in #(
13876 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13877 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13878 esac
13879 case $ac_var in #(
13880 _ | IFS | as_nl) ;; #(
13881 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13882 *) { eval $ac_var=; unset $ac_var;} ;;
13883 esac ;;
13884 esac
13885 done
13886
13887 (set) 2>&1 |
13888 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13889 *${as_nl}ac_space=\ *)
13890 # `set' does not quote correctly, so add quotes: double-quote
13891 # substitution turns \\\\ into \\, and sed turns \\ into \.
13892 sed -n \
13893 "s/'/'\\\\''/g;
13894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13895 ;; #(
13896 *)
13897 # `set' quotes correctly as required by POSIX, so do not add quotes.
13898 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13899 ;;
13900 esac |
13901 sort
13902 ) |
13903 sed '
13904 /^ac_cv_env_/b end
13905 t clear
13906 :clear
13907 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13908 t end
13909 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13910 :end' >>confcache
13911 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13912 if test -w "$cache_file"; then
13913 if test "x$cache_file" != "x/dev/null"; then
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13915 $as_echo "$as_me: updating cache $cache_file" >&6;}
13916 if test ! -f "$cache_file" || test -h "$cache_file"; then
13917 cat confcache >"$cache_file"
13918 else
13919 case $cache_file in #(
13920 */* | ?:*)
13921 mv -f confcache "$cache_file"$$ &&
13922 mv -f "$cache_file"$$ "$cache_file" ;; #(
13923 *)
13924 mv -f confcache "$cache_file" ;;
13925 esac
13926 fi
13927 fi
13928 else
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13930 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13931 fi
13932 fi
13933 rm -f confcache
13934
13935 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13936 # Let make expand exec_prefix.
13937 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13938
13939 DEFS=-DHAVE_CONFIG_H
13940
13941 ac_libobjs=
13942 ac_ltlibobjs=
13943 U=
13944 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13945 # 1. Remove the extension, and $U if already installed.
13946 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13947 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13948 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13949 # will be set to the directory where LIBOBJS objects are built.
13950 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13951 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13952 done
13953 LIBOBJS=$ac_libobjs
13954
13955 LTLIBOBJS=$ac_ltlibobjs
13956
13957
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13959 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13960 if test -n "$am_sleep_pid"; then
13961 # Hide warnings about reused PIDs.
13962 wait $am_sleep_pid 2>/dev/null
13963 fi
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13965 $as_echo "done" >&6; }
13966 if test -n "$EXEEXT"; then
13967 am__EXEEXT_TRUE=
13968 am__EXEEXT_FALSE='#'
13969 else
13970 am__EXEEXT_TRUE='#'
13971 am__EXEEXT_FALSE=
13972 fi
13973
13974 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13975 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13977 fi
13978 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13979 as_fn_error $? "conditional \"AMDEP\" was never defined.
13980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13981 fi
13982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13983 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13985 fi
13986 if test -z "${H5BLOSC_TRUE}" && test -z "${H5BLOSC_FALSE}"; then
13987 as_fn_error $? "conditional \"H5BLOSC\" was never defined.
13988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13989 fi
13990
13991 : "${CONFIG_STATUS=./config.status}"
13992 ac_write_fail=0
13993 ac_clean_files_save=$ac_clean_files
13994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13996 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13997 as_write_fail=0
13998 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13999 #! $SHELL
14000 # Generated by $as_me.
14001 # Run this file to recreate the current configuration.
14002 # Compiler output produced by configure, useful for debugging
14003 # configure, is in config.log if it exists.
14004
14005 debug=false
14006 ac_cs_recheck=false
14007 ac_cs_silent=false
14008
14009 SHELL=\${CONFIG_SHELL-$SHELL}
14010 export SHELL
14011 _ASEOF
14012 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14013 ## -------------------- ##
14014 ## M4sh Initialization. ##
14015 ## -------------------- ##
14016
14017 # Be more Bourne compatible
14018 DUALCASE=1; export DUALCASE # for MKS sh
14019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14020 emulate sh
14021 NULLCMD=:
14022 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14023 # is contrary to our usage. Disable this feature.
14024 alias -g '${1+"$@"}'='"$@"'
14025 setopt NO_GLOB_SUBST
14026 else
14027 case `(set -o) 2>/dev/null` in #(
14028 *posix*) :
14029 set -o posix ;; #(
14030 *) :
14031 ;;
14032 esac
14033 fi
14034
14035
14036 as_nl='
14037 '
14038 export as_nl
14039 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14040 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14041 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14043 # Prefer a ksh shell builtin over an external printf program on Solaris,
14044 # but without wasting forks for bash or zsh.
14045 if test -z "$BASH_VERSION$ZSH_VERSION" \
14046 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14047 as_echo='print -r --'
14048 as_echo_n='print -rn --'
14049 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14050 as_echo='printf %s\n'
14051 as_echo_n='printf %s'
14052 else
14053 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14054 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14055 as_echo_n='/usr/ucb/echo -n'
14056 else
14057 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14058 as_echo_n_body='eval
14059 arg=$1;
14060 case $arg in #(
14061 *"$as_nl"*)
14062 expr "X$arg" : "X\\(.*\\)$as_nl";
14063 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14064 esac;
14065 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14066 '
14067 export as_echo_n_body
14068 as_echo_n='sh -c $as_echo_n_body as_echo'
14069 fi
14070 export as_echo_body
14071 as_echo='sh -c $as_echo_body as_echo'
14072 fi
14073
14074 # The user is always right.
14075 if test "${PATH_SEPARATOR+set}" != set; then
14076 PATH_SEPARATOR=:
14077 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14078 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14079 PATH_SEPARATOR=';'
14080 }
14081 fi
14082
14083
14084 # IFS
14085 # We need space, tab and new line, in precisely that order. Quoting is
14086 # there to prevent editors from complaining about space-tab.
14087 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14088 # splitting by setting IFS to empty value.)
14089 IFS=" "" $as_nl"
14090
14091 # Find who we are. Look in the path if we contain no directory separator.
14092 as_myself=
14093 case $0 in #((
14094 *[\\/]* ) as_myself=$0 ;;
14095 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14096 for as_dir in $PATH
14097 do
14098 IFS=$as_save_IFS
14099 test -z "$as_dir" && as_dir=.
14100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14101 done
14102 IFS=$as_save_IFS
14103
14104 ;;
14105 esac
14106 # We did not find ourselves, most probably we were run as `sh COMMAND'
14107 # in which case we are not to be found in the path.
14108 if test "x$as_myself" = x; then
14109 as_myself=$0
14110 fi
14111 if test ! -f "$as_myself"; then
14112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14113 exit 1
14114 fi
14115
14116 # Unset variables that we do not need and which cause bugs (e.g. in
14117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14118 # suppresses any "Segmentation fault" message there. '((' could
14119 # trigger a bug in pdksh 5.2.14.
14120 for as_var in BASH_ENV ENV MAIL MAILPATH
14121 do eval test x\${$as_var+set} = xset \
14122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14123 done
14124 PS1='$ '
14125 PS2='> '
14126 PS4='+ '
14127
14128 # NLS nuisances.
14129 LC_ALL=C
14130 export LC_ALL
14131 LANGUAGE=C
14132 export LANGUAGE
14133
14134 # CDPATH.
14135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14136
14137
14138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14139 # ----------------------------------------
14140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14142 # script with STATUS, using 1 if that was 0.
14143 as_fn_error ()
14144 {
14145 as_status=$1; test $as_status -eq 0 && as_status=1
14146 if test "$4"; then
14147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14149 fi
14150 $as_echo "$as_me: error: $2" >&2
14151 as_fn_exit $as_status
14152 } # as_fn_error
14153
14154
14155 # as_fn_set_status STATUS
14156 # -----------------------
14157 # Set $? to STATUS, without forking.
14158 as_fn_set_status ()
14159 {
14160 return $1
14161 } # as_fn_set_status
14162
14163 # as_fn_exit STATUS
14164 # -----------------
14165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14166 as_fn_exit ()
14167 {
14168 set +e
14169 as_fn_set_status $1
14170 exit $1
14171 } # as_fn_exit
14172
14173 # as_fn_unset VAR
14174 # ---------------
14175 # Portably unset VAR.
14176 as_fn_unset ()
14177 {
14178 { eval $1=; unset $1;}
14179 }
14180 as_unset=as_fn_unset
14181 # as_fn_append VAR VALUE
14182 # ----------------------
14183 # Append the text in VALUE to the end of the definition contained in VAR. Take
14184 # advantage of any shell optimizations that allow amortized linear growth over
14185 # repeated appends, instead of the typical quadratic growth present in naive
14186 # implementations.
14187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14188 eval 'as_fn_append ()
14189 {
14190 eval $1+=\$2
14191 }'
14192 else
14193 as_fn_append ()
14194 {
14195 eval $1=\$$1\$2
14196 }
14197 fi # as_fn_append
14198
14199 # as_fn_arith ARG...
14200 # ------------------
14201 # Perform arithmetic evaluation on the ARGs, and store the result in the
14202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14203 # must be portable across $(()) and expr.
14204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14205 eval 'as_fn_arith ()
14206 {
14207 as_val=$(( $* ))
14208 }'
14209 else
14210 as_fn_arith ()
14211 {
14212 as_val=`expr "$@" || test $? -eq 1`
14213 }
14214 fi # as_fn_arith
14215
14216
14217 if expr a : '\(a\)' >/dev/null 2>&1 &&
14218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14219 as_expr=expr
14220 else
14221 as_expr=false
14222 fi
14223
14224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14225 as_basename=basename
14226 else
14227 as_basename=false
14228 fi
14229
14230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14231 as_dirname=dirname
14232 else
14233 as_dirname=false
14234 fi
14235
14236 as_me=`$as_basename -- "$0" ||
14237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14238 X"$0" : 'X\(//\)$' \| \
14239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14240 $as_echo X/"$0" |
14241 sed '/^.*\/\([^/][^/]*\)\/*$/{
14242 s//\1/
14243 q
14244 }
14245 /^X\/\(\/\/\)$/{
14246 s//\1/
14247 q
14248 }
14249 /^X\/\(\/\).*/{
14250 s//\1/
14251 q
14252 }
14253 s/.*/./; q'`
14254
14255 # Avoid depending upon Character Ranges.
14256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14259 as_cr_digits='0123456789'
14260 as_cr_alnum=$as_cr_Letters$as_cr_digits
14261
14262 ECHO_C= ECHO_N= ECHO_T=
14263 case `echo -n x` in #(((((
14264 -n*)
14265 case `echo 'xy\c'` in
14266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14267 xy) ECHO_C='\c';;
14268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14269 ECHO_T=' ';;
14270 esac;;
14271 *)
14272 ECHO_N='-n';;
14273 esac
14274
14275 rm -f conf$$ conf$$.exe conf$$.file
14276 if test -d conf$$.dir; then
14277 rm -f conf$$.dir/conf$$.file
14278 else
14279 rm -f conf$$.dir
14280 mkdir conf$$.dir 2>/dev/null
14281 fi
14282 if (echo >conf$$.file) 2>/dev/null; then
14283 if ln -s conf$$.file conf$$ 2>/dev/null; then
14284 as_ln_s='ln -s'
14285 # ... but there are two gotchas:
14286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14288 # In both cases, we have to default to `cp -pR'.
14289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14290 as_ln_s='cp -pR'
14291 elif ln conf$$.file conf$$ 2>/dev/null; then
14292 as_ln_s=ln
14293 else
14294 as_ln_s='cp -pR'
14295 fi
14296 else
14297 as_ln_s='cp -pR'
14298 fi
14299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14300 rmdir conf$$.dir 2>/dev/null
14301
14302
14303 # as_fn_mkdir_p
14304 # -------------
14305 # Create "$as_dir" as a directory, including parents if necessary.
14306 as_fn_mkdir_p ()
14307 {
14308
14309 case $as_dir in #(
14310 -*) as_dir=./$as_dir;;
14311 esac
14312 test -d "$as_dir" || eval $as_mkdir_p || {
14313 as_dirs=
14314 while :; do
14315 case $as_dir in #(
14316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14317 *) as_qdir=$as_dir;;
14318 esac
14319 as_dirs="'$as_qdir' $as_dirs"
14320 as_dir=`$as_dirname -- "$as_dir" ||
14321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14322 X"$as_dir" : 'X\(//\)[^/]' \| \
14323 X"$as_dir" : 'X\(//\)$' \| \
14324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14325 $as_echo X"$as_dir" |
14326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14327 s//\1/
14328 q
14329 }
14330 /^X\(\/\/\)[^/].*/{
14331 s//\1/
14332 q
14333 }
14334 /^X\(\/\/\)$/{
14335 s//\1/
14336 q
14337 }
14338 /^X\(\/\).*/{
14339 s//\1/
14340 q
14341 }
14342 s/.*/./; q'`
14343 test -d "$as_dir" && break
14344 done
14345 test -z "$as_dirs" || eval "mkdir $as_dirs"
14346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14347
14348
14349 } # as_fn_mkdir_p
14350 if mkdir -p . 2>/dev/null; then
14351 as_mkdir_p='mkdir -p "$as_dir"'
14352 else
14353 test -d ./-p && rmdir ./-p
14354 as_mkdir_p=false
14355 fi
14356
14357
14358 # as_fn_executable_p FILE
14359 # -----------------------
14360 # Test if FILE is an executable regular file.
14361 as_fn_executable_p ()
14362 {
14363 test -f "$1" && test -x "$1"
14364 } # as_fn_executable_p
14365 as_test_x='test -x'
14366 as_executable_p=as_fn_executable_p
14367
14368 # Sed expression to map a string onto a valid CPP name.
14369 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14370
14371 # Sed expression to map a string onto a valid variable name.
14372 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14373
14374
14375 exec 6>&1
14376 ## ----------------------------------- ##
14377 ## Main body of $CONFIG_STATUS script. ##
14378 ## ----------------------------------- ##
14379 _ASEOF
14380 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14381
14382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14383 # Save the log message, to keep $0 and so on meaningful, and to
14384 # report actual input values of CONFIG_FILES etc. instead of their
14385 # values after options handling.
14386 ac_log="
14387 This file was extended by H5BZ2 $as_me 0.1, which was
14388 generated by GNU Autoconf 2.69. Invocation command line was
14389
14390 CONFIG_FILES = $CONFIG_FILES
14391 CONFIG_HEADERS = $CONFIG_HEADERS
14392 CONFIG_LINKS = $CONFIG_LINKS
14393 CONFIG_COMMANDS = $CONFIG_COMMANDS
14394 $ $0 $@
14395
14396 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14397 "
14398
14399 _ACEOF
14400
14401 case $ac_config_files in *"
14402 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14403 esac
14404
14405 case $ac_config_headers in *"
14406 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14407 esac
14408
14409
14410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14411 # Files that config.status was made for.
14412 config_files="$ac_config_files"
14413 config_headers="$ac_config_headers"
14414 config_commands="$ac_config_commands"
14415
14416 _ACEOF
14417
14418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14419 ac_cs_usage="\
14420 \`$as_me' instantiates files and other configuration actions
14421 from templates according to the current configuration. Unless the files
14422 and actions are specified as TAGs, all are instantiated by default.
14423
14424 Usage: $0 [OPTION]... [TAG]...
14425
14426 -h, --help print this help, then exit
14427 -V, --version print version number and configuration settings, then exit
14428 --config print configuration, then exit
14429 -q, --quiet, --silent
14430 do not print progress messages
14431 -d, --debug don't remove temporary files
14432 --recheck update $as_me by reconfiguring in the same conditions
14433 --file=FILE[:TEMPLATE]
14434 instantiate the configuration file FILE
14435 --header=FILE[:TEMPLATE]
14436 instantiate the configuration header FILE
14437
14438 Configuration files:
14439 $config_files
14440
14441 Configuration headers:
14442 $config_headers
14443
14444 Configuration commands:
14445 $config_commands
14446
14447 Report bugs to <[email protected]>."
14448
14449 _ACEOF
14450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14451 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14452 ac_cs_version="\\
14453 H5BZ2 config.status 0.1
14454 configured by $0, generated by GNU Autoconf 2.69,
14455 with options \\"\$ac_cs_config\\"
14456
14457 Copyright (C) 2012 Free Software Foundation, Inc.
14458 This config.status script is free software; the Free Software Foundation
14459 gives unlimited permission to copy, distribute and modify it."
14460
14461 ac_pwd='$ac_pwd'
14462 srcdir='$srcdir'
14463 INSTALL='$INSTALL'
14464 MKDIR_P='$MKDIR_P'
14465 AWK='$AWK'
14466 test -n "\$AWK" || AWK=awk
14467 _ACEOF
14468
14469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14470 # The default lists apply if the user does not specify any file.
14471 ac_need_defaults=:
14472 while test $# != 0
14473 do
14474 case $1 in
14475 --*=?*)
14476 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14477 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14478 ac_shift=:
14479 ;;
14480 --*=)
14481 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14482 ac_optarg=
14483 ac_shift=:
14484 ;;
14485 *)
14486 ac_option=$1
14487 ac_optarg=$2
14488 ac_shift=shift
14489 ;;
14490 esac
14491
14492 case $ac_option in
14493 # Handling of the options.
14494 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14495 ac_cs_recheck=: ;;
14496 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14497 $as_echo "$ac_cs_version"; exit ;;
14498 --config | --confi | --conf | --con | --co | --c )
14499 $as_echo "$ac_cs_config"; exit ;;
14500 --debug | --debu | --deb | --de | --d | -d )
14501 debug=: ;;
14502 --file | --fil | --fi | --f )
14503 $ac_shift
14504 case $ac_optarg in
14505 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14506 '') as_fn_error $? "missing file argument" ;;
14507 esac
14508 as_fn_append CONFIG_FILES " '$ac_optarg'"
14509 ac_need_defaults=false;;
14510 --header | --heade | --head | --hea )
14511 $ac_shift
14512 case $ac_optarg in
14513 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14514 esac
14515 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14516 ac_need_defaults=false;;
14517 --he | --h)
14518 # Conflict between --help and --header
14519 as_fn_error $? "ambiguous option: \`$1'
14520 Try \`$0 --help' for more information.";;
14521 --help | --hel | -h )
14522 $as_echo "$ac_cs_usage"; exit ;;
14523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14524 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14525 ac_cs_silent=: ;;
14526
14527 # This is an error.
14528 -*) as_fn_error $? "unrecognized option: \`$1'
14529 Try \`$0 --help' for more information." ;;
14530
14531 *) as_fn_append ac_config_targets " $1"
14532 ac_need_defaults=false ;;
14533
14534 esac
14535 shift
14536 done
14537
14538 ac_configure_extra_args=
14539
14540 if $ac_cs_silent; then
14541 exec 6>/dev/null
14542 ac_configure_extra_args="$ac_configure_extra_args --silent"
14543 fi
14544
14545 _ACEOF
14546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14547 if \$ac_cs_recheck; then
14548 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14549 shift
14550 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14551 CONFIG_SHELL='$SHELL'
14552 export CONFIG_SHELL
14553 exec "\$@"
14554 fi
14555
14556 _ACEOF
14557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14558 exec 5>>config.log
14559 {
14560 echo
14561 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14562 ## Running $as_me. ##
14563 _ASBOX
14564 $as_echo "$ac_log"
14565 } >&5
14566
14567 _ACEOF
14568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14569 #
14570 # INIT-COMMANDS
14571 #
14572 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14573
14574
14575 # The HP-UX ksh and POSIX shell print the target directory to stdout
14576 # if CDPATH is set.
14577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14578
14579 sed_quote_subst='$sed_quote_subst'
14580 double_quote_subst='$double_quote_subst'
14581 delay_variable_subst='$delay_variable_subst'
14582 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14583 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14584 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14585 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14586 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14587 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14588 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14589 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14590 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14591 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14592 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14593 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14594 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14595 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14596 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14597 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14598 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14599 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14600 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14601 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14602 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14603 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14604 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14605 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14606 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14607 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14608 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14609 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14610 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14611 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14612 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14613 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14614 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14615 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14616 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14617 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14618 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14619 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14620 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14621 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14622 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14623 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14624 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14625 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14626 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14627 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14628 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14629 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14630 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14631 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14632 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14633 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14634 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14635 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14636 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14637 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14638 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"`'
14639 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14640 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14641 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14642 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14643 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14644 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14645 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14646 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14647 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14648 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14649 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14650 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14651 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14652 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14653 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14654 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14655 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14656 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14657 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14658 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14659 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14660 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14661 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14662 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14663 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14664 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14665 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14666 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14667 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14668 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14669 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14670 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14671 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14672 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14673 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14674 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14675 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14676 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14677 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14678 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14679 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14680 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14681 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14682 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14683 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14684 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14685 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14686 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14687 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14688 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14689 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14690 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14691 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14692 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14693 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14694 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14695 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14696 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14697 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14698 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14699 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14700 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14701 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14702 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14703 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14704 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14705 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14706 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14707 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14708 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14709 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14710 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14711 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14712
14713 LTCC='$LTCC'
14714 LTCFLAGS='$LTCFLAGS'
14715 compiler='$compiler_DEFAULT'
14716
14717 # A function that is used when there is no print builtin or printf.
14718 func_fallback_echo ()
14719 {
14720 eval 'cat <<_LTECHO_EOF
14721 \$1
14722 _LTECHO_EOF'
14723 }
14724
14725 # Quote evaled strings.
14726 for var in SHELL \
14727 ECHO \
14728 PATH_SEPARATOR \
14729 SED \
14730 GREP \
14731 EGREP \
14732 FGREP \
14733 LD \
14734 NM \
14735 LN_S \
14736 lt_SP2NL \
14737 lt_NL2SP \
14738 reload_flag \
14739 OBJDUMP \
14740 deplibs_check_method \
14741 file_magic_cmd \
14742 file_magic_glob \
14743 want_nocaseglob \
14744 DLLTOOL \
14745 sharedlib_from_linklib_cmd \
14746 AR \
14747 AR_FLAGS \
14748 archiver_list_spec \
14749 STRIP \
14750 RANLIB \
14751 CC \
14752 CFLAGS \
14753 compiler \
14754 lt_cv_sys_global_symbol_pipe \
14755 lt_cv_sys_global_symbol_to_cdecl \
14756 lt_cv_sys_global_symbol_to_c_name_address \
14757 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14758 nm_file_list_spec \
14759 lt_prog_compiler_no_builtin_flag \
14760 lt_prog_compiler_pic \
14761 lt_prog_compiler_wl \
14762 lt_prog_compiler_static \
14763 lt_cv_prog_compiler_c_o \
14764 need_locks \
14765 MANIFEST_TOOL \
14766 DSYMUTIL \
14767 NMEDIT \
14768 LIPO \
14769 OTOOL \
14770 OTOOL64 \
14771 shrext_cmds \
14772 export_dynamic_flag_spec \
14773 whole_archive_flag_spec \
14774 compiler_needs_object \
14775 with_gnu_ld \
14776 allow_undefined_flag \
14777 no_undefined_flag \
14778 hardcode_libdir_flag_spec \
14779 hardcode_libdir_separator \
14780 exclude_expsyms \
14781 include_expsyms \
14782 file_list_spec \
14783 variables_saved_for_relink \
14784 libname_spec \
14785 library_names_spec \
14786 soname_spec \
14787 install_override_mode \
14788 finish_eval \
14789 old_striplib \
14790 striplib; do
14791 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14792 *[\\\\\\\`\\"\\\$]*)
14793 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14794 ;;
14795 *)
14796 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14797 ;;
14798 esac
14799 done
14800
14801 # Double-quote double-evaled strings.
14802 for var in reload_cmds \
14803 old_postinstall_cmds \
14804 old_postuninstall_cmds \
14805 old_archive_cmds \
14806 extract_expsyms_cmds \
14807 old_archive_from_new_cmds \
14808 old_archive_from_expsyms_cmds \
14809 archive_cmds \
14810 archive_expsym_cmds \
14811 module_cmds \
14812 module_expsym_cmds \
14813 export_symbols_cmds \
14814 prelink_cmds \
14815 postlink_cmds \
14816 postinstall_cmds \
14817 postuninstall_cmds \
14818 finish_cmds \
14819 sys_lib_search_path_spec \
14820 sys_lib_dlsearch_path_spec; do
14821 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14822 *[\\\\\\\`\\"\\\$]*)
14823 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14824 ;;
14825 *)
14826 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14827 ;;
14828 esac
14829 done
14830
14831 ac_aux_dir='$ac_aux_dir'
14832 xsi_shell='$xsi_shell'
14833 lt_shell_append='$lt_shell_append'
14834
14835 # See if we are running on zsh, and set the options which allow our
14836 # commands through without removal of \ escapes INIT.
14837 if test -n "\${ZSH_VERSION+set}" ; then
14838 setopt NO_GLOB_SUBST
14839 fi
14840
14841
14842 PACKAGE='$PACKAGE'
14843 VERSION='$VERSION'
14844 TIMESTAMP='$TIMESTAMP'
14845 RM='$RM'
14846 ofile='$ofile'
14847
14848 ac_aux_dir='$ac_aux_dir'
14849
14850
14851
14852 _ACEOF
14853
14854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14855
14856 # Handling of arguments.
14857 for ac_config_target in $ac_config_targets
14858 do
14859 case $ac_config_target in
14860 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14861 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14862 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14863 "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
14864 "src/makefile") CONFIG_FILES="$CONFIG_FILES src/makefile" ;;
14865 "example/makefile") CONFIG_FILES="$CONFIG_FILES example/makefile" ;;
14866 "example/test.sh") CONFIG_FILES="$CONFIG_FILES example/test.sh" ;;
14867
14868 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14869 esac
14870 done
14871
14872
14873 # If the user did not use the arguments to specify the items to instantiate,
14874 # then the envvar interface is used. Set only those that are not.
14875 # We use the long form for the default assignment because of an extremely
14876 # bizarre bug on SunOS 4.1.3.
14877 if $ac_need_defaults; then
14878 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14879 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14880 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14881 fi
14882
14883 # Have a temporary directory for convenience. Make it in the build tree
14884 # simply because there is no reason against having it here, and in addition,
14885 # creating and moving files from /tmp can sometimes cause problems.
14886 # Hook for its removal unless debugging.
14887 # Note that there is a small window in which the directory will not be cleaned:
14888 # after its creation but before its name has been assigned to `$tmp'.
14889 $debug ||
14890 {
14891 tmp= ac_tmp=
14892 trap 'exit_status=$?
14893 : "${ac_tmp:=$tmp}"
14894 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14895 ' 0
14896 trap 'as_fn_exit 1' 1 2 13 15
14897 }
14898 # Create a (secure) tmp directory for tmp files.
14899
14900 {
14901 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14902 test -d "$tmp"
14903 } ||
14904 {
14905 tmp=./conf$$-$RANDOM
14906 (umask 077 && mkdir "$tmp")
14907 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14908 ac_tmp=$tmp
14909
14910 # Set up the scripts for CONFIG_FILES section.
14911 # No need to generate them if there are no CONFIG_FILES.
14912 # This happens for instance with `./config.status config.h'.
14913 if test -n "$CONFIG_FILES"; then
14914
14915
14916 ac_cr=`echo X | tr X '\015'`
14917 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14918 # But we know of no other shell where ac_cr would be empty at this
14919 # point, so we can use a bashism as a fallback.
14920 if test "x$ac_cr" = x; then
14921 eval ac_cr=\$\'\\r\'
14922 fi
14923 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14924 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14925 ac_cs_awk_cr='\\r'
14926 else
14927 ac_cs_awk_cr=$ac_cr
14928 fi
14929
14930 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14931 _ACEOF
14932
14933
14934 {
14935 echo "cat >conf$$subs.awk <<_ACEOF" &&
14936 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14937 echo "_ACEOF"
14938 } >conf$$subs.sh ||
14939 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14940 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14941 ac_delim='%!_!# '
14942 for ac_last_try in false false false false false :; do
14943 . ./conf$$subs.sh ||
14944 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14945
14946 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14947 if test $ac_delim_n = $ac_delim_num; then
14948 break
14949 elif $ac_last_try; then
14950 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14951 else
14952 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14953 fi
14954 done
14955 rm -f conf$$subs.sh
14956
14957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14958 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14959 _ACEOF
14960 sed -n '
14961 h
14962 s/^/S["/; s/!.*/"]=/
14963 p
14964 g
14965 s/^[^!]*!//
14966 :repl
14967 t repl
14968 s/'"$ac_delim"'$//
14969 t delim
14970 :nl
14971 h
14972 s/\(.\{148\}\)..*/\1/
14973 t more1
14974 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14975 p
14976 n
14977 b repl
14978 :more1
14979 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14980 p
14981 g
14982 s/.\{148\}//
14983 t nl
14984 :delim
14985 h
14986 s/\(.\{148\}\)..*/\1/
14987 t more2
14988 s/["\\]/\\&/g; s/^/"/; s/$/"/
14989 p
14990 b
14991 :more2
14992 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14993 p
14994 g
14995 s/.\{148\}//
14996 t delim
14997 ' <conf$$subs.awk | sed '
14998 /^[^""]/{
14999 N
15000 s/\n//
15001 }
15002 ' >>$CONFIG_STATUS || ac_write_fail=1
15003 rm -f conf$$subs.awk
15004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15005 _ACAWK
15006 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15007 for (key in S) S_is_set[key] = 1
15008 FS = ""
15009
15010 }
15011 {
15012 line = $ 0
15013 nfields = split(line, field, "@")
15014 substed = 0
15015 len = length(field[1])
15016 for (i = 2; i < nfields; i++) {
15017 key = field[i]
15018 keylen = length(key)
15019 if (S_is_set[key]) {
15020 value = S[key]
15021 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15022 len += length(value) + length(field[++i])
15023 substed = 1
15024 } else
15025 len += 1 + keylen
15026 }
15027
15028 print line
15029 }
15030
15031 _ACAWK
15032 _ACEOF
15033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15034 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15035 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15036 else
15037 cat
15038 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15039 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15040 _ACEOF
15041
15042 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15043 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15044 # trailing colons and then remove the whole line if VPATH becomes empty
15045 # (actually we leave an empty line to preserve line numbers).
15046 if test "x$srcdir" = x.; then
15047 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15048 h
15049 s///
15050 s/^/:/
15051 s/[ ]*$/:/
15052 s/:\$(srcdir):/:/g
15053 s/:\${srcdir}:/:/g
15054 s/:@srcdir@:/:/g
15055 s/^:*//
15056 s/:*$//
15057 x
15058 s/\(=[ ]*\).*/\1/
15059 G
15060 s/\n//
15061 s/^[^=]*=[ ]*$//
15062 }'
15063 fi
15064
15065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15066 fi # test -n "$CONFIG_FILES"
15067
15068 # Set up the scripts for CONFIG_HEADERS section.
15069 # No need to generate them if there are no CONFIG_HEADERS.
15070 # This happens for instance with `./config.status Makefile'.
15071 if test -n "$CONFIG_HEADERS"; then
15072 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15073 BEGIN {
15074 _ACEOF
15075
15076 # Transform confdefs.h into an awk script `defines.awk', embedded as
15077 # here-document in config.status, that substitutes the proper values into
15078 # config.h.in to produce config.h.
15079
15080 # Create a delimiter string that does not exist in confdefs.h, to ease
15081 # handling of long lines.
15082 ac_delim='%!_!# '
15083 for ac_last_try in false false :; do
15084 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15085 if test -z "$ac_tt"; then
15086 break
15087 elif $ac_last_try; then
15088 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15089 else
15090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15091 fi
15092 done
15093
15094 # For the awk script, D is an array of macro values keyed by name,
15095 # likewise P contains macro parameters if any. Preserve backslash
15096 # newline sequences.
15097
15098 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15099 sed -n '
15100 s/.\{148\}/&'"$ac_delim"'/g
15101 t rset
15102 :rset
15103 s/^[ ]*#[ ]*define[ ][ ]*/ /
15104 t def
15105 d
15106 :def
15107 s/\\$//
15108 t bsnl
15109 s/["\\]/\\&/g
15110 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15111 D["\1"]=" \3"/p
15112 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15113 d
15114 :bsnl
15115 s/["\\]/\\&/g
15116 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15117 D["\1"]=" \3\\\\\\n"\\/p
15118 t cont
15119 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15120 t cont
15121 d
15122 :cont
15123 n
15124 s/.\{148\}/&'"$ac_delim"'/g
15125 t clear
15126 :clear
15127 s/\\$//
15128 t bsnlc
15129 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15130 d
15131 :bsnlc
15132 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15133 b cont
15134 ' <confdefs.h | sed '
15135 s/'"$ac_delim"'/"\\\
15136 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15137
15138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15139 for (key in D) D_is_set[key] = 1
15140 FS = ""
15141 }
15142 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15143 line = \$ 0
15144 split(line, arg, " ")
15145 if (arg[1] == "#") {
15146 defundef = arg[2]
15147 mac1 = arg[3]
15148 } else {
15149 defundef = substr(arg[1], 2)
15150 mac1 = arg[2]
15151 }
15152 split(mac1, mac2, "(") #)
15153 macro = mac2[1]
15154 prefix = substr(line, 1, index(line, defundef) - 1)
15155 if (D_is_set[macro]) {
15156 # Preserve the white space surrounding the "#".
15157 print prefix "define", macro P[macro] D[macro]
15158 next
15159 } else {
15160 # Replace #undef with comments. This is necessary, for example,
15161 # in the case of _POSIX_SOURCE, which is predefined and required
15162 # on some systems where configure will not decide to define it.
15163 if (defundef == "undef") {
15164 print "/*", prefix defundef, macro, "*/"
15165 next
15166 }
15167 }
15168 }
15169 { print }
15170 _ACAWK
15171 _ACEOF
15172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15173 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15174 fi # test -n "$CONFIG_HEADERS"
15175
15176
15177 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15178 shift
15179 for ac_tag
15180 do
15181 case $ac_tag in
15182 :[FHLC]) ac_mode=$ac_tag; continue;;
15183 esac
15184 case $ac_mode$ac_tag in
15185 :[FHL]*:*);;
15186 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15187 :[FH]-) ac_tag=-:-;;
15188 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15189 esac
15190 ac_save_IFS=$IFS
15191 IFS=:
15192 set x $ac_tag
15193 IFS=$ac_save_IFS
15194 shift
15195 ac_file=$1
15196 shift
15197
15198 case $ac_mode in
15199 :L) ac_source=$1;;
15200 :[FH])
15201 ac_file_inputs=
15202 for ac_f
15203 do
15204 case $ac_f in
15205 -) ac_f="$ac_tmp/stdin";;
15206 *) # Look for the file first in the build tree, then in the source tree
15207 # (if the path is not absolute). The absolute path cannot be DOS-style,
15208 # because $ac_f cannot contain `:'.
15209 test -f "$ac_f" ||
15210 case $ac_f in
15211 [\\/$]*) false;;
15212 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15213 esac ||
15214 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15215 esac
15216 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15217 as_fn_append ac_file_inputs " '$ac_f'"
15218 done
15219
15220 # Let's still pretend it is `configure' which instantiates (i.e., don't
15221 # use $as_me), people would be surprised to read:
15222 # /* config.h. Generated by config.status. */
15223 configure_input='Generated from '`
15224 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15225 `' by configure.'
15226 if test x"$ac_file" != x-; then
15227 configure_input="$ac_file. $configure_input"
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15229 $as_echo "$as_me: creating $ac_file" >&6;}
15230 fi
15231 # Neutralize special characters interpreted by sed in replacement strings.
15232 case $configure_input in #(
15233 *\&* | *\|* | *\\* )
15234 ac_sed_conf_input=`$as_echo "$configure_input" |
15235 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15236 *) ac_sed_conf_input=$configure_input;;
15237 esac
15238
15239 case $ac_tag in
15240 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15242 esac
15243 ;;
15244 esac
15245
15246 ac_dir=`$as_dirname -- "$ac_file" ||
15247 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15248 X"$ac_file" : 'X\(//\)[^/]' \| \
15249 X"$ac_file" : 'X\(//\)$' \| \
15250 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15251 $as_echo X"$ac_file" |
15252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15253 s//\1/
15254 q
15255 }
15256 /^X\(\/\/\)[^/].*/{
15257 s//\1/
15258 q
15259 }
15260 /^X\(\/\/\)$/{
15261 s//\1/
15262 q
15263 }
15264 /^X\(\/\).*/{
15265 s//\1/
15266 q
15267 }
15268 s/.*/./; q'`
15269 as_dir="$ac_dir"; as_fn_mkdir_p
15270 ac_builddir=.
15271
15272 case "$ac_dir" in
15273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15274 *)
15275 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15276 # A ".." for each directory in $ac_dir_suffix.
15277 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15278 case $ac_top_builddir_sub in
15279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15281 esac ;;
15282 esac
15283 ac_abs_top_builddir=$ac_pwd
15284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15285 # for backward compatibility:
15286 ac_top_builddir=$ac_top_build_prefix
15287
15288 case $srcdir in
15289 .) # We are building in place.
15290 ac_srcdir=.
15291 ac_top_srcdir=$ac_top_builddir_sub
15292 ac_abs_top_srcdir=$ac_pwd ;;
15293 [\\/]* | ?:[\\/]* ) # Absolute name.
15294 ac_srcdir=$srcdir$ac_dir_suffix;
15295 ac_top_srcdir=$srcdir
15296 ac_abs_top_srcdir=$srcdir ;;
15297 *) # Relative name.
15298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15299 ac_top_srcdir=$ac_top_build_prefix$srcdir
15300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15301 esac
15302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15303
15304
15305 case $ac_mode in
15306 :F)
15307 #
15308 # CONFIG_FILE
15309 #
15310
15311 case $INSTALL in
15312 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15313 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15314 esac
15315 ac_MKDIR_P=$MKDIR_P
15316 case $MKDIR_P in
15317 [\\/$]* | ?:[\\/]* ) ;;
15318 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15319 esac
15320 _ACEOF
15321
15322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15323 # If the template does not know about datarootdir, expand it.
15324 # FIXME: This hack should be removed a few years after 2.60.
15325 ac_datarootdir_hack=; ac_datarootdir_seen=
15326 ac_sed_dataroot='
15327 /datarootdir/ {
15328 p
15329 q
15330 }
15331 /@datadir@/p
15332 /@docdir@/p
15333 /@infodir@/p
15334 /@localedir@/p
15335 /@mandir@/p'
15336 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15337 *datarootdir*) ac_datarootdir_seen=yes;;
15338 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15340 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15341 _ACEOF
15342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15343 ac_datarootdir_hack='
15344 s&@datadir@&$datadir&g
15345 s&@docdir@&$docdir&g
15346 s&@infodir@&$infodir&g
15347 s&@localedir@&$localedir&g
15348 s&@mandir@&$mandir&g
15349 s&\\\${datarootdir}&$datarootdir&g' ;;
15350 esac
15351 _ACEOF
15352
15353 # Neutralize VPATH when `$srcdir' = `.'.
15354 # Shell code in configure.ac might set extrasub.
15355 # FIXME: do we really want to maintain this feature?
15356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357 ac_sed_extra="$ac_vpsub
15358 $extrasub
15359 _ACEOF
15360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15361 :t
15362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15363 s|@configure_input@|$ac_sed_conf_input|;t t
15364 s&@top_builddir@&$ac_top_builddir_sub&;t t
15365 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15366 s&@srcdir@&$ac_srcdir&;t t
15367 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15368 s&@top_srcdir@&$ac_top_srcdir&;t t
15369 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15370 s&@builddir@&$ac_builddir&;t t
15371 s&@abs_builddir@&$ac_abs_builddir&;t t
15372 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15373 s&@INSTALL@&$ac_INSTALL&;t t
15374 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15375 $ac_datarootdir_hack
15376 "
15377 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15378 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15379
15380 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15381 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15382 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15383 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15385 which seems to be undefined. Please make sure it is defined" >&5
15386 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15387 which seems to be undefined. Please make sure it is defined" >&2;}
15388
15389 rm -f "$ac_tmp/stdin"
15390 case $ac_file in
15391 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15392 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15393 esac \
15394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15395 ;;
15396 :H)
15397 #
15398 # CONFIG_HEADER
15399 #
15400 if test x"$ac_file" != x-; then
15401 {
15402 $as_echo "/* $configure_input */" \
15403 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15404 } >"$ac_tmp/config.h" \
15405 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15406 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15408 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15409 else
15410 rm -f "$ac_file"
15411 mv "$ac_tmp/config.h" "$ac_file" \
15412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15413 fi
15414 else
15415 $as_echo "/* $configure_input */" \
15416 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15417 || as_fn_error $? "could not create -" "$LINENO" 5
15418 fi
15419 # Compute "$ac_file"'s index in $config_headers.
15420 _am_arg="$ac_file"
15421 _am_stamp_count=1
15422 for _am_header in $config_headers :; do
15423 case $_am_header in
15424 $_am_arg | $_am_arg:* )
15425 break ;;
15426 * )
15427 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15428 esac
15429 done
15430 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15431 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15432 X"$_am_arg" : 'X\(//\)[^/]' \| \
15433 X"$_am_arg" : 'X\(//\)$' \| \
15434 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15435 $as_echo X"$_am_arg" |
15436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15437 s//\1/
15438 q
15439 }
15440 /^X\(\/\/\)[^/].*/{
15441 s//\1/
15442 q
15443 }
15444 /^X\(\/\/\)$/{
15445 s//\1/
15446 q
15447 }
15448 /^X\(\/\).*/{
15449 s//\1/
15450 q
15451 }
15452 s/.*/./; q'`/stamp-h$_am_stamp_count
15453 ;;
15454
15455 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15456 $as_echo "$as_me: executing $ac_file commands" >&6;}
15457 ;;
15458 esac
15459
15460
15461 case $ac_file$ac_mode in
15462 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15463 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15464 # are listed without --file. Let's play safe and only enable the eval
15465 # if we detect the quoting.
15466 case $CONFIG_FILES in
15467 *\'*) eval set x "$CONFIG_FILES" ;;
15468 *) set x $CONFIG_FILES ;;
15469 esac
15470 shift
15471 for mf
15472 do
15473 # Strip MF so we end up with the name of the file.
15474 mf=`echo "$mf" | sed -e 's/:.*$//'`
15475 # Check whether this is an Automake generated Makefile or not.
15476 # We used to match only the files named 'Makefile.in', but
15477 # some people rename them; so instead we look at the file content.
15478 # Grep'ing the first line is not enough: some people post-process
15479 # each Makefile.in and add a new line on top of each file to say so.
15480 # Grep'ing the whole file is not good either: AIX grep has a line
15481 # limit of 2048, but all sed's we know have understand at least 4000.
15482 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15483 dirpart=`$as_dirname -- "$mf" ||
15484 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15485 X"$mf" : 'X\(//\)[^/]' \| \
15486 X"$mf" : 'X\(//\)$' \| \
15487 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15488 $as_echo X"$mf" |
15489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15490 s//\1/
15491 q
15492 }
15493 /^X\(\/\/\)[^/].*/{
15494 s//\1/
15495 q
15496 }
15497 /^X\(\/\/\)$/{
15498 s//\1/
15499 q
15500 }
15501 /^X\(\/\).*/{
15502 s//\1/
15503 q
15504 }
15505 s/.*/./; q'`
15506 else
15507 continue
15508 fi
15509 # Extract the definition of DEPDIR, am__include, and am__quote
15510 # from the Makefile without running 'make'.
15511 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15512 test -z "$DEPDIR" && continue
15513 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15514 test -z "am__include" && continue
15515 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15516 # Find all dependency output files, they are included files with
15517 # $(DEPDIR) in their names. We invoke sed twice because it is the
15518 # simplest approach to changing $(DEPDIR) to its actual value in the
15519 # expansion.
15520 for file in `sed -n "
15521 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15522 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15523 # Make sure the directory exists.
15524 test -f "$dirpart/$file" && continue
15525 fdir=`$as_dirname -- "$file" ||
15526 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15527 X"$file" : 'X\(//\)[^/]' \| \
15528 X"$file" : 'X\(//\)$' \| \
15529 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15530 $as_echo X"$file" |
15531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15532 s//\1/
15533 q
15534 }
15535 /^X\(\/\/\)[^/].*/{
15536 s//\1/
15537 q
15538 }
15539 /^X\(\/\/\)$/{
15540 s//\1/
15541 q
15542 }
15543 /^X\(\/\).*/{
15544 s//\1/
15545 q
15546 }
15547 s/.*/./; q'`
15548 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15549 # echo "creating $dirpart/$file"
15550 echo '# dummy' > "$dirpart/$file"
15551 done
15552 done
15553 }
15554 ;;
15555 "libtool":C)
15556
15557 # See if we are running on zsh, and set the options which allow our
15558 # commands through without removal of \ escapes.
15559 if test -n "${ZSH_VERSION+set}" ; then
15560 setopt NO_GLOB_SUBST
15561 fi
15562
15563 cfgfile="${ofile}T"
15564 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15565 $RM "$cfgfile"
15566
15567 cat <<_LT_EOF >> "$cfgfile"
15568 #! $SHELL
15569
15570 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15571 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15572 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15573 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15574 #
15575 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15576 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15577 # Foundation, Inc.
15578 # Written by Gordon Matzigkeit, 1996
15579 #
15580 # This file is part of GNU Libtool.
15581 #
15582 # GNU Libtool is free software; you can redistribute it and/or
15583 # modify it under the terms of the GNU General Public License as
15584 # published by the Free Software Foundation; either version 2 of
15585 # the License, or (at your option) any later version.
15586 #
15587 # As a special exception to the GNU General Public License,
15588 # if you distribute this file as part of a program or library that
15589 # is built using GNU Libtool, you may include this file under the
15590 # same distribution terms that you use for the rest of that program.
15591 #
15592 # GNU Libtool is distributed in the hope that it will be useful,
15593 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15594 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15595 # GNU General Public License for more details.
15596 #
15597 # You should have received a copy of the GNU General Public License
15598 # along with GNU Libtool; see the file COPYING. If not, a copy
15599 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15600 # obtained by writing to the Free Software Foundation, Inc.,
15601 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15602
15603
15604 # The names of the tagged configurations supported by this script.
15605 available_tags=""
15606
15607 # ### BEGIN LIBTOOL CONFIG
15608
15609 # Which release of libtool.m4 was used?
15610 macro_version=$macro_version
15611 macro_revision=$macro_revision
15612
15613 # Whether or not to build shared libraries.
15614 build_libtool_libs=$enable_shared
15615
15616 # Whether or not to build static libraries.
15617 build_old_libs=$enable_static
15618
15619 # What type of objects to build.
15620 pic_mode=$pic_mode
15621
15622 # Whether or not to optimize for fast installation.
15623 fast_install=$enable_fast_install
15624
15625 # Shell to use when invoking shell scripts.
15626 SHELL=$lt_SHELL
15627
15628 # An echo program that protects backslashes.
15629 ECHO=$lt_ECHO
15630
15631 # The PATH separator for the build system.
15632 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15633
15634 # The host system.
15635 host_alias=$host_alias
15636 host=$host
15637 host_os=$host_os
15638
15639 # The build system.
15640 build_alias=$build_alias
15641 build=$build
15642 build_os=$build_os
15643
15644 # A sed program that does not truncate output.
15645 SED=$lt_SED
15646
15647 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15648 Xsed="\$SED -e 1s/^X//"
15649
15650 # A grep program that handles long lines.
15651 GREP=$lt_GREP
15652
15653 # An ERE matcher.
15654 EGREP=$lt_EGREP
15655
15656 # A literal string matcher.
15657 FGREP=$lt_FGREP
15658
15659 # A BSD- or MS-compatible name lister.
15660 NM=$lt_NM
15661
15662 # Whether we need soft or hard links.
15663 LN_S=$lt_LN_S
15664
15665 # What is the maximum length of a command?
15666 max_cmd_len=$max_cmd_len
15667
15668 # Object file suffix (normally "o").
15669 objext=$ac_objext
15670
15671 # Executable file suffix (normally "").
15672 exeext=$exeext
15673
15674 # whether the shell understands "unset".
15675 lt_unset=$lt_unset
15676
15677 # turn spaces into newlines.
15678 SP2NL=$lt_lt_SP2NL
15679
15680 # turn newlines into spaces.
15681 NL2SP=$lt_lt_NL2SP
15682
15683 # convert \$build file names to \$host format.
15684 to_host_file_cmd=$lt_cv_to_host_file_cmd
15685
15686 # convert \$build files to toolchain format.
15687 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15688
15689 # An object symbol dumper.
15690 OBJDUMP=$lt_OBJDUMP
15691
15692 # Method to check whether dependent libraries are shared objects.
15693 deplibs_check_method=$lt_deplibs_check_method
15694
15695 # Command to use when deplibs_check_method = "file_magic".
15696 file_magic_cmd=$lt_file_magic_cmd
15697
15698 # How to find potential files when deplibs_check_method = "file_magic".
15699 file_magic_glob=$lt_file_magic_glob
15700
15701 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15702 want_nocaseglob=$lt_want_nocaseglob
15703
15704 # DLL creation program.
15705 DLLTOOL=$lt_DLLTOOL
15706
15707 # Command to associate shared and link libraries.
15708 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15709
15710 # The archiver.
15711 AR=$lt_AR
15712
15713 # Flags to create an archive.
15714 AR_FLAGS=$lt_AR_FLAGS
15715
15716 # How to feed a file listing to the archiver.
15717 archiver_list_spec=$lt_archiver_list_spec
15718
15719 # A symbol stripping program.
15720 STRIP=$lt_STRIP
15721
15722 # Commands used to install an old-style archive.
15723 RANLIB=$lt_RANLIB
15724 old_postinstall_cmds=$lt_old_postinstall_cmds
15725 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15726
15727 # Whether to use a lock for old archive extraction.
15728 lock_old_archive_extraction=$lock_old_archive_extraction
15729
15730 # A C compiler.
15731 LTCC=$lt_CC
15732
15733 # LTCC compiler flags.
15734 LTCFLAGS=$lt_CFLAGS
15735
15736 # Take the output of nm and produce a listing of raw symbols and C names.
15737 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15738
15739 # Transform the output of nm in a proper C declaration.
15740 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15741
15742 # Transform the output of nm in a C name address pair.
15743 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15744
15745 # Transform the output of nm in a C name address pair when lib prefix is needed.
15746 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15747
15748 # Specify filename containing input files for \$NM.
15749 nm_file_list_spec=$lt_nm_file_list_spec
15750
15751 # The root where to search for dependent libraries,and in which our libraries should be installed.
15752 lt_sysroot=$lt_sysroot
15753
15754 # The name of the directory that contains temporary libtool files.
15755 objdir=$objdir
15756
15757 # Used to examine libraries when file_magic_cmd begins with "file".
15758 MAGIC_CMD=$MAGIC_CMD
15759
15760 # Must we lock files when doing compilation?
15761 need_locks=$lt_need_locks
15762
15763 # Manifest tool.
15764 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15765
15766 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15767 DSYMUTIL=$lt_DSYMUTIL
15768
15769 # Tool to change global to local symbols on Mac OS X.
15770 NMEDIT=$lt_NMEDIT
15771
15772 # Tool to manipulate fat objects and archives on Mac OS X.
15773 LIPO=$lt_LIPO
15774
15775 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15776 OTOOL=$lt_OTOOL
15777
15778 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15779 OTOOL64=$lt_OTOOL64
15780
15781 # Old archive suffix (normally "a").
15782 libext=$libext
15783
15784 # Shared library suffix (normally ".so").
15785 shrext_cmds=$lt_shrext_cmds
15786
15787 # The commands to extract the exported symbol list from a shared archive.
15788 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15789
15790 # Variables whose values should be saved in libtool wrapper scripts and
15791 # restored at link time.
15792 variables_saved_for_relink=$lt_variables_saved_for_relink
15793
15794 # Do we need the "lib" prefix for modules?
15795 need_lib_prefix=$need_lib_prefix
15796
15797 # Do we need a version for libraries?
15798 need_version=$need_version
15799
15800 # Library versioning type.
15801 version_type=$version_type
15802
15803 # Shared library runtime path variable.
15804 runpath_var=$runpath_var
15805
15806 # Shared library path variable.
15807 shlibpath_var=$shlibpath_var
15808
15809 # Is shlibpath searched before the hard-coded library search path?
15810 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15811
15812 # Format of library name prefix.
15813 libname_spec=$lt_libname_spec
15814
15815 # List of archive names. First name is the real one, the rest are links.
15816 # The last name is the one that the linker finds with -lNAME
15817 library_names_spec=$lt_library_names_spec
15818
15819 # The coded name of the library, if different from the real name.
15820 soname_spec=$lt_soname_spec
15821
15822 # Permission mode override for installation of shared libraries.
15823 install_override_mode=$lt_install_override_mode
15824
15825 # Command to use after installation of a shared archive.
15826 postinstall_cmds=$lt_postinstall_cmds
15827
15828 # Command to use after uninstallation of a shared archive.
15829 postuninstall_cmds=$lt_postuninstall_cmds
15830
15831 # Commands used to finish a libtool library installation in a directory.
15832 finish_cmds=$lt_finish_cmds
15833
15834 # As "finish_cmds", except a single script fragment to be evaled but
15835 # not shown.
15836 finish_eval=$lt_finish_eval
15837
15838 # Whether we should hardcode library paths into libraries.
15839 hardcode_into_libs=$hardcode_into_libs
15840
15841 # Compile-time system search path for libraries.
15842 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15843
15844 # Run-time system search path for libraries.
15845 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15846
15847 # Whether dlopen is supported.
15848 dlopen_support=$enable_dlopen
15849
15850 # Whether dlopen of programs is supported.
15851 dlopen_self=$enable_dlopen_self
15852
15853 # Whether dlopen of statically linked programs is supported.
15854 dlopen_self_static=$enable_dlopen_self_static
15855
15856 # Commands to strip libraries.
15857 old_striplib=$lt_old_striplib
15858 striplib=$lt_striplib
15859
15860
15861 # The linker used to build libraries.
15862 LD=$lt_LD
15863
15864 # How to create reloadable object files.
15865 reload_flag=$lt_reload_flag
15866 reload_cmds=$lt_reload_cmds
15867
15868 # Commands used to build an old-style archive.
15869 old_archive_cmds=$lt_old_archive_cmds
15870
15871 # A language specific compiler.
15872 CC=$lt_compiler
15873
15874 # Is the compiler the GNU compiler?
15875 with_gcc=$GCC
15876
15877 # Compiler flag to turn off builtin functions.
15878 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15879
15880 # Additional compiler flags for building library objects.
15881 pic_flag=$lt_lt_prog_compiler_pic
15882
15883 # How to pass a linker flag through the compiler.
15884 wl=$lt_lt_prog_compiler_wl
15885
15886 # Compiler flag to prevent dynamic linking.
15887 link_static_flag=$lt_lt_prog_compiler_static
15888
15889 # Does compiler simultaneously support -c and -o options?
15890 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15891
15892 # Whether or not to add -lc for building shared libraries.
15893 build_libtool_need_lc=$archive_cmds_need_lc
15894
15895 # Whether or not to disallow shared libs when runtime libs are static.
15896 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15897
15898 # Compiler flag to allow reflexive dlopens.
15899 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15900
15901 # Compiler flag to generate shared objects directly from archives.
15902 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15903
15904 # Whether the compiler copes with passing no objects directly.
15905 compiler_needs_object=$lt_compiler_needs_object
15906
15907 # Create an old-style archive from a shared archive.
15908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15909
15910 # Create a temporary old-style archive to link instead of a shared archive.
15911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15912
15913 # Commands used to build a shared archive.
15914 archive_cmds=$lt_archive_cmds
15915 archive_expsym_cmds=$lt_archive_expsym_cmds
15916
15917 # Commands used to build a loadable module if different from building
15918 # a shared archive.
15919 module_cmds=$lt_module_cmds
15920 module_expsym_cmds=$lt_module_expsym_cmds
15921
15922 # Whether we are building with GNU ld or not.
15923 with_gnu_ld=$lt_with_gnu_ld
15924
15925 # Flag that allows shared libraries with undefined symbols to be built.
15926 allow_undefined_flag=$lt_allow_undefined_flag
15927
15928 # Flag that enforces no undefined symbols.
15929 no_undefined_flag=$lt_no_undefined_flag
15930
15931 # Flag to hardcode \$libdir into a binary during linking.
15932 # This must work even if \$libdir does not exist
15933 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15934
15935 # Whether we need a single "-rpath" flag with a separated argument.
15936 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15937
15938 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15939 # DIR into the resulting binary.
15940 hardcode_direct=$hardcode_direct
15941
15942 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15943 # DIR into the resulting binary and the resulting library dependency is
15944 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15945 # library is relocated.
15946 hardcode_direct_absolute=$hardcode_direct_absolute
15947
15948 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15949 # into the resulting binary.
15950 hardcode_minus_L=$hardcode_minus_L
15951
15952 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15953 # into the resulting binary.
15954 hardcode_shlibpath_var=$hardcode_shlibpath_var
15955
15956 # Set to "yes" if building a shared library automatically hardcodes DIR
15957 # into the library and all subsequent libraries and executables linked
15958 # against it.
15959 hardcode_automatic=$hardcode_automatic
15960
15961 # Set to yes if linker adds runtime paths of dependent libraries
15962 # to runtime path list.
15963 inherit_rpath=$inherit_rpath
15964
15965 # Whether libtool must link a program against all its dependency libraries.
15966 link_all_deplibs=$link_all_deplibs
15967
15968 # Set to "yes" if exported symbols are required.
15969 always_export_symbols=$always_export_symbols
15970
15971 # The commands to list exported symbols.
15972 export_symbols_cmds=$lt_export_symbols_cmds
15973
15974 # Symbols that should not be listed in the preloaded symbols.
15975 exclude_expsyms=$lt_exclude_expsyms
15976
15977 # Symbols that must always be exported.
15978 include_expsyms=$lt_include_expsyms
15979
15980 # Commands necessary for linking programs (against libraries) with templates.
15981 prelink_cmds=$lt_prelink_cmds
15982
15983 # Commands necessary for finishing linking programs.
15984 postlink_cmds=$lt_postlink_cmds
15985
15986 # Specify filename containing input files.
15987 file_list_spec=$lt_file_list_spec
15988
15989 # How to hardcode a shared library path into an executable.
15990 hardcode_action=$hardcode_action
15991
15992 # ### END LIBTOOL CONFIG
15993
15994 _LT_EOF
15995
15996 case $host_os in
15997 aix3*)
15998 cat <<\_LT_EOF >> "$cfgfile"
15999 # AIX sometimes has problems with the GCC collect2 program. For some
16000 # reason, if we set the COLLECT_NAMES environment variable, the problems
16001 # vanish in a puff of smoke.
16002 if test "X${COLLECT_NAMES+set}" != Xset; then
16003 COLLECT_NAMES=
16004 export COLLECT_NAMES
16005 fi
16006 _LT_EOF
16007 ;;
16008 esac
16009
16010
16011 ltmain="$ac_aux_dir/ltmain.sh"
16012
16013
16014 # We use sed instead of cat because bash on DJGPP gets confused if
16015 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16016 # text mode, it properly converts lines to CR/LF. This bash problem
16017 # is reportedly fixed, but why not run on old versions too?
16018 sed '$q' "$ltmain" >> "$cfgfile" \
16019 || (rm -f "$cfgfile"; exit 1)
16020
16021 if test x"$xsi_shell" = xyes; then
16022 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16023 func_dirname ()\
16024 {\
16025 \ case ${1} in\
16026 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16027 \ * ) func_dirname_result="${3}" ;;\
16028 \ esac\
16029 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16030 && mv -f "$cfgfile.tmp" "$cfgfile" \
16031 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16032 test 0 -eq $? || _lt_function_replace_fail=:
16033
16034
16035 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16036 func_basename ()\
16037 {\
16038 \ func_basename_result="${1##*/}"\
16039 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16040 && mv -f "$cfgfile.tmp" "$cfgfile" \
16041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16042 test 0 -eq $? || _lt_function_replace_fail=:
16043
16044
16045 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16046 func_dirname_and_basename ()\
16047 {\
16048 \ case ${1} in\
16049 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16050 \ * ) func_dirname_result="${3}" ;;\
16051 \ esac\
16052 \ func_basename_result="${1##*/}"\
16053 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16054 && mv -f "$cfgfile.tmp" "$cfgfile" \
16055 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16056 test 0 -eq $? || _lt_function_replace_fail=:
16057
16058
16059 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16060 func_stripname ()\
16061 {\
16062 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16063 \ # positional parameters, so assign one to ordinary parameter first.\
16064 \ func_stripname_result=${3}\
16065 \ func_stripname_result=${func_stripname_result#"${1}"}\
16066 \ func_stripname_result=${func_stripname_result%"${2}"}\
16067 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16068 && mv -f "$cfgfile.tmp" "$cfgfile" \
16069 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16070 test 0 -eq $? || _lt_function_replace_fail=:
16071
16072
16073 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16074 func_split_long_opt ()\
16075 {\
16076 \ func_split_long_opt_name=${1%%=*}\
16077 \ func_split_long_opt_arg=${1#*=}\
16078 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16079 && mv -f "$cfgfile.tmp" "$cfgfile" \
16080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16081 test 0 -eq $? || _lt_function_replace_fail=:
16082
16083
16084 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16085 func_split_short_opt ()\
16086 {\
16087 \ func_split_short_opt_arg=${1#??}\
16088 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16089 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16090 && mv -f "$cfgfile.tmp" "$cfgfile" \
16091 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16092 test 0 -eq $? || _lt_function_replace_fail=:
16093
16094
16095 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16096 func_lo2o ()\
16097 {\
16098 \ case ${1} in\
16099 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16100 \ *) func_lo2o_result=${1} ;;\
16101 \ esac\
16102 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16103 && mv -f "$cfgfile.tmp" "$cfgfile" \
16104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16105 test 0 -eq $? || _lt_function_replace_fail=:
16106
16107
16108 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16109 func_xform ()\
16110 {\
16111 func_xform_result=${1%.*}.lo\
16112 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16113 && mv -f "$cfgfile.tmp" "$cfgfile" \
16114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16115 test 0 -eq $? || _lt_function_replace_fail=:
16116
16117
16118 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16119 func_arith ()\
16120 {\
16121 func_arith_result=$(( $* ))\
16122 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16123 && mv -f "$cfgfile.tmp" "$cfgfile" \
16124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16125 test 0 -eq $? || _lt_function_replace_fail=:
16126
16127
16128 sed -e '/^func_len ()$/,/^} # func_len /c\
16129 func_len ()\
16130 {\
16131 func_len_result=${#1}\
16132 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16133 && mv -f "$cfgfile.tmp" "$cfgfile" \
16134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16135 test 0 -eq $? || _lt_function_replace_fail=:
16136
16137 fi
16138
16139 if test x"$lt_shell_append" = xyes; then
16140 sed -e '/^func_append ()$/,/^} # func_append /c\
16141 func_append ()\
16142 {\
16143 eval "${1}+=\\${2}"\
16144 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16145 && mv -f "$cfgfile.tmp" "$cfgfile" \
16146 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16147 test 0 -eq $? || _lt_function_replace_fail=:
16148
16149
16150 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16151 func_append_quoted ()\
16152 {\
16153 \ func_quote_for_eval "${2}"\
16154 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16155 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16156 && mv -f "$cfgfile.tmp" "$cfgfile" \
16157 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16158 test 0 -eq $? || _lt_function_replace_fail=:
16159
16160
16161 # Save a `func_append' function call where possible by direct use of '+='
16162 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16163 && mv -f "$cfgfile.tmp" "$cfgfile" \
16164 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16165 test 0 -eq $? || _lt_function_replace_fail=:
16166 else
16167 # Save a `func_append' function call even when '+=' is not available
16168 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16169 && mv -f "$cfgfile.tmp" "$cfgfile" \
16170 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16171 test 0 -eq $? || _lt_function_replace_fail=:
16172 fi
16173
16174 if test x"$_lt_function_replace_fail" = x":"; then
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16176 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16177 fi
16178
16179
16180 mv -f "$cfgfile" "$ofile" ||
16181 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16182 chmod +x "$ofile"
16183
16184 ;;
16185
16186 esac
16187 done # for ac_tag
16188
16189
16190 as_fn_exit 0
16191 _ACEOF
16192 ac_clean_files=$ac_clean_files_save
16193
16194 test $ac_write_fail = 0 ||
16195 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16196
16197
16198 # configure is writing to config.log, and then calls config.status.
16199 # config.status does its own redirection, appending to config.log.
16200 # Unfortunately, on DOS this fails, as config.log is still kept open
16201 # by configure, so config.status won't be able to write to it; its
16202 # output is simply discarded. So we exec the FD to /dev/null,
16203 # effectively closing config.log, so it can be properly (re)opened and
16204 # appended to by config.status. When coming back to configure, we
16205 # need to make the FD available again.
16206 if test "$no_create" != yes; then
16207 ac_cs_success=:
16208 ac_config_status_args=
16209 test "$silent" = yes &&
16210 ac_config_status_args="$ac_config_status_args --quiet"
16211 exec 5>/dev/null
16212 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16213 exec 5>>config.log
16214 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16215 # would make configure fail if this is the last instruction.
16216 $ac_cs_success || as_fn_exit 1
16217 fi
16218 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16220 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16221 fi
16222