Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libdvbcsa 1.1.0.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # 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 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
185 as_have_required=yes
186 else
187 as_have_required=no
188 fi
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191 else
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196 IFS=$as_save_IFS
197 test -z "$as_dir" && as_dir=.
198 as_found=:
199 case $as_dir in #(
200 /*)
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 break 2
209 fi
210 fi
211 done;;
212 esac
213 as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
220
221
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
227 BASH_ENV=/dev/null
228 ENV=/dev/null
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230 export CONFIG_SHELL
231 case $- in # ((((
232 *v*x* | *x*v* ) as_opts=-vx ;;
233 *v* ) as_opts=-v ;;
234 *x* ) as_opts=-x ;;
235 * ) as_opts= ;;
236 esac
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
239
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246 else
247 $as_echo "$0: Please tell [email protected] about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251 fi
252 exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
261
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
269 {
270 { eval $1=; unset $1;}
271 }
272 as_unset=as_fn_unset
273
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
278 {
279 return $1
280 } # as_fn_set_status
281
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
286 {
287 set +e
288 as_fn_set_status $1
289 exit $1
290 } # as_fn_exit
291
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
296 {
297
298 case $as_dir in #(
299 -*) as_dir=./$as_dir;;
300 esac
301 test -d "$as_dir" || eval $as_mkdir_p || {
302 as_dirs=
303 while :; do
304 case $as_dir in #(
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306 *) as_qdir=$as_dir;;
307 esac
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 s//\1/
317 q
318 }
319 /^X\(\/\/\)[^/].*/{
320 s//\1/
321 q
322 }
323 /^X\(\/\/\)$/{
324 s//\1/
325 q
326 }
327 /^X\(\/\).*/{
328 s//\1/
329 q
330 }
331 s/.*/./; q'`
332 test -d "$as_dir" && break
333 done
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
347 {
348 eval $1+=\$2
349 }'
350 else
351 as_fn_append ()
352 {
353 eval $1=\$$1\$2
354 }
355 fi # as_fn_append
356
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363 eval 'as_fn_arith ()
364 {
365 as_val=$(( $* ))
366 }'
367 else
368 as_fn_arith ()
369 {
370 as_val=`expr "$@" || test $? -eq 1`
371 }
372 fi # as_fn_arith
373
374
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
381 {
382 as_status=$1; test $as_status -eq 0 && as_status=1
383 if test "$4"; then
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386 fi
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
389 } # as_fn_error
390
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 as_expr=expr
394 else
395 as_expr=false
396 fi
397
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 as_basename=basename
400 else
401 as_basename=false
402 fi
403
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_dirname=dirname
406 else
407 as_dirname=false
408 fi
409
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 s//\1/
417 q
418 }
419 /^X\/\(\/\/\)$/{
420 s//\1/
421 q
422 }
423 /^X\/\(\/\).*/{
424 s//\1/
425 q
426 }
427 s/.*/./; q'`
428
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
442 sed -n '
443 p
444 /[$]LINENO/=
445 ' <$as_myself |
446 sed '
447 s/[$]LINENO.*/&-/
448 t lineno
449 b
450 :lineno
451 N
452 :loop
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 t loop
455 s/-\n.*//
456 ' >$as_me.lineno &&
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 xy) ECHO_C='\c';;
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
475 ECHO_T=' ';;
476 esac;;
477 *)
478 ECHO_N='-n';;
479 esac
480
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
484 else
485 rm -f conf$$.dir
486 mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s='ln -s'
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496 as_ln_s='cp -p'
497 elif ln conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s=ln
499 else
500 as_ln_s='cp -p'
501 fi
502 else
503 as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
507
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
510 else
511 test -d ./-p && rmdir ./-p
512 as_mkdir_p=false
513 fi
514
515 if test -x / >/dev/null 2>&1; then
516 as_test_x='test -x'
517 else
518 if ls -dL / >/dev/null 2>&1; then
519 as_ls_L_option=L
520 else
521 as_ls_L_option=
522 fi
523 as_test_x='
524 eval sh -c '\''
525 if test -d "$1"; then
526 test -d "$1/.";
527 else
528 case $1 in #(
529 -*)set "./$1";;
530 esac;
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
533 '\'' sh
534 '
535 fi
536 as_executable_p=$as_test_x
537
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544 SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
549
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555 #
556 # Initializations.
557 #
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
566
567 # Identity of this package.
568 PACKAGE_NAME='libdvbcsa'
569 PACKAGE_TARNAME='libdvbcsa'
570 PACKAGE_VERSION='1.1.0'
571 PACKAGE_STRING='libdvbcsa 1.1.0'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL=''
574
575 # Factoring default headers for most tests.
576 ac_includes_default="\
577 #include <stdio.h>
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
580 #endif
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
583 #endif
584 #ifdef STDC_HEADERS
585 # include <stdlib.h>
586 # include <stddef.h>
587 #else
588 # ifdef HAVE_STDLIB_H
589 # include <stdlib.h>
590 # endif
591 #endif
592 #ifdef HAVE_STRING_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
594 # include <memory.h>
595 # endif
596 # include <string.h>
597 #endif
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
600 #endif
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
603 #endif
604 #ifdef HAVE_STDINT_H
605 # include <stdint.h>
606 #endif
607 #ifdef HAVE_UNISTD_H
608 # include <unistd.h>
609 #endif"
610
611 ac_subst_vars='am__EXEEXT_FALSE
612 am__EXEEXT_TRUE
613 LTLIBOBJS
614 LIBOBJS
615 TRANSPOSE_32_FALSE
616 TRANSPOSE_32_TRUE
617 TRANSPOSE_64_FALSE
618 TRANSPOSE_64_TRUE
619 TRANSPOSE_128_FALSE
620 TRANSPOSE_128_TRUE
621 CPP
622 OTOOL64
623 OTOOL
624 LIPO
625 NMEDIT
626 DSYMUTIL
627 MANIFEST_TOOL
628 RANLIB
629 ac_ct_AR
630 AR
631 DLLTOOL
632 OBJDUMP
633 LN_S
634 NM
635 ac_ct_DUMPBIN
636 DUMPBIN
637 LD
638 FGREP
639 EGREP
640 GREP
641 SED
642 host_os
643 host_vendor
644 host_cpu
645 host
646 build_os
647 build_vendor
648 build_cpu
649 build
650 LIBTOOL
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 AMDEPBACKSLASH
655 AMDEP_FALSE
656 AMDEP_TRUE
657 am__quote
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
666 CC
667 am__untar
668 am__tar
669 AMTAR
670 am__leading_dot
671 SET_MAKE
672 AWK
673 mkdir_p
674 MKDIR_P
675 INSTALL_STRIP_PROGRAM
676 STRIP
677 install_sh
678 MAKEINFO
679 AUTOHEADER
680 AUTOMAKE
681 AUTOCONF
682 ACLOCAL
683 VERSION
684 PACKAGE
685 CYGPATH_W
686 am__isrc
687 INSTALL_DATA
688 INSTALL_SCRIPT
689 INSTALL_PROGRAM
690 target_alias
691 host_alias
692 build_alias
693 LIBS
694 ECHO_T
695 ECHO_N
696 ECHO_C
697 DEFS
698 mandir
699 localedir
700 libdir
701 psdir
702 pdfdir
703 dvidir
704 htmldir
705 infodir
706 docdir
707 oldincludedir
708 includedir
709 localstatedir
710 sharedstatedir
711 sysconfdir
712 datadir
713 datarootdir
714 libexecdir
715 sbindir
716 bindir
717 program_transform_name
718 prefix
719 exec_prefix
720 PACKAGE_URL
721 PACKAGE_BUGREPORT
722 PACKAGE_STRING
723 PACKAGE_VERSION
724 PACKAGE_TARNAME
725 PACKAGE_NAME
726 PATH_SEPARATOR
727 SHELL'
728 ac_subst_files=''
729 ac_user_opts='
730 enable_option_checking
731 enable_debug
732 enable_uint32
733 enable_uint64
734 enable_mmx
735 enable_sse2
736 enable_altivec
737 enable_dependency_tracking
738 enable_shared
739 enable_static
740 with_pic
741 enable_fast_install
742 with_gnu_ld
743 with_sysroot
744 enable_libtool_lock
745 '
746 ac_precious_vars='build_alias
747 host_alias
748 target_alias
749 CC
750 CFLAGS
751 LDFLAGS
752 LIBS
753 CPPFLAGS
754 CPP'
755
756
757 # Initialize some variables set by options.
758 ac_init_help=
759 ac_init_version=false
760 ac_unrecognized_opts=
761 ac_unrecognized_sep=
762 # The variables have the same names as the options, with
763 # dashes changed to underlines.
764 cache_file=/dev/null
765 exec_prefix=NONE
766 no_create=
767 no_recursion=
768 prefix=NONE
769 program_prefix=NONE
770 program_suffix=NONE
771 program_transform_name=s,x,x,
772 silent=
773 site=
774 srcdir=
775 verbose=
776 x_includes=NONE
777 x_libraries=NONE
778
779 # Installation directory options.
780 # These are left unexpanded so users can "make install exec_prefix=/foo"
781 # and all the variables that are supposed to be based on exec_prefix
782 # by default will actually change.
783 # Use braces instead of parens because sh, perl, etc. also accept them.
784 # (The list follows the same order as the GNU Coding Standards.)
785 bindir='${exec_prefix}/bin'
786 sbindir='${exec_prefix}/sbin'
787 libexecdir='${exec_prefix}/libexec'
788 datarootdir='${prefix}/share'
789 datadir='${datarootdir}'
790 sysconfdir='${prefix}/etc'
791 sharedstatedir='${prefix}/com'
792 localstatedir='${prefix}/var'
793 includedir='${prefix}/include'
794 oldincludedir='/usr/include'
795 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796 infodir='${datarootdir}/info'
797 htmldir='${docdir}'
798 dvidir='${docdir}'
799 pdfdir='${docdir}'
800 psdir='${docdir}'
801 libdir='${exec_prefix}/lib'
802 localedir='${datarootdir}/locale'
803 mandir='${datarootdir}/man'
804
805 ac_prev=
806 ac_dashdash=
807 for ac_option
808 do
809 # If the previous option needs an argument, assign it.
810 if test -n "$ac_prev"; then
811 eval $ac_prev=\$ac_option
812 ac_prev=
813 continue
814 fi
815
816 case $ac_option in
817 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 *=) ac_optarg= ;;
819 *) ac_optarg=yes ;;
820 esac
821
822 # Accept the important Cygnus configure options, so we can diagnose typos.
823
824 case $ac_dashdash$ac_option in
825 --)
826 ac_dashdash=yes ;;
827
828 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 ac_prev=bindir ;;
830 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831 bindir=$ac_optarg ;;
832
833 -build | --build | --buil | --bui | --bu)
834 ac_prev=build_alias ;;
835 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
836 build_alias=$ac_optarg ;;
837
838 -cache-file | --cache-file | --cache-fil | --cache-fi \
839 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
840 ac_prev=cache_file ;;
841 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
842 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
843 cache_file=$ac_optarg ;;
844
845 --config-cache | -C)
846 cache_file=config.cache ;;
847
848 -datadir | --datadir | --datadi | --datad)
849 ac_prev=datadir ;;
850 -datadir=* | --datadir=* | --datadi=* | --datad=*)
851 datadir=$ac_optarg ;;
852
853 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
854 | --dataroo | --dataro | --datar)
855 ac_prev=datarootdir ;;
856 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
857 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
858 datarootdir=$ac_optarg ;;
859
860 -disable-* | --disable-*)
861 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 as_fn_error $? "invalid feature name: $ac_useropt"
865 ac_useropt_orig=$ac_useropt
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
868 *"
869 "enable_$ac_useropt"
870 "*) ;;
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
873 esac
874 eval enable_$ac_useropt=no ;;
875
876 -docdir | --docdir | --docdi | --doc | --do)
877 ac_prev=docdir ;;
878 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
879 docdir=$ac_optarg ;;
880
881 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882 ac_prev=dvidir ;;
883 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
884 dvidir=$ac_optarg ;;
885
886 -enable-* | --enable-*)
887 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890 as_fn_error $? "invalid feature name: $ac_useropt"
891 ac_useropt_orig=$ac_useropt
892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
894 *"
895 "enable_$ac_useropt"
896 "*) ;;
897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
898 ac_unrecognized_sep=', ';;
899 esac
900 eval enable_$ac_useropt=\$ac_optarg ;;
901
902 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
903 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
904 | --exec | --exe | --ex)
905 ac_prev=exec_prefix ;;
906 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
907 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
908 | --exec=* | --exe=* | --ex=*)
909 exec_prefix=$ac_optarg ;;
910
911 -gas | --gas | --ga | --g)
912 # Obsolete; use --with-gas.
913 with_gas=yes ;;
914
915 -help | --help | --hel | --he | -h)
916 ac_init_help=long ;;
917 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
918 ac_init_help=recursive ;;
919 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
920 ac_init_help=short ;;
921
922 -host | --host | --hos | --ho)
923 ac_prev=host_alias ;;
924 -host=* | --host=* | --hos=* | --ho=*)
925 host_alias=$ac_optarg ;;
926
927 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928 ac_prev=htmldir ;;
929 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930 | --ht=*)
931 htmldir=$ac_optarg ;;
932
933 -includedir | --includedir | --includedi | --included | --include \
934 | --includ | --inclu | --incl | --inc)
935 ac_prev=includedir ;;
936 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
937 | --includ=* | --inclu=* | --incl=* | --inc=*)
938 includedir=$ac_optarg ;;
939
940 -infodir | --infodir | --infodi | --infod | --info | --inf)
941 ac_prev=infodir ;;
942 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
943 infodir=$ac_optarg ;;
944
945 -libdir | --libdir | --libdi | --libd)
946 ac_prev=libdir ;;
947 -libdir=* | --libdir=* | --libdi=* | --libd=*)
948 libdir=$ac_optarg ;;
949
950 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
951 | --libexe | --libex | --libe)
952 ac_prev=libexecdir ;;
953 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
954 | --libexe=* | --libex=* | --libe=*)
955 libexecdir=$ac_optarg ;;
956
957 -localedir | --localedir | --localedi | --localed | --locale)
958 ac_prev=localedir ;;
959 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
960 localedir=$ac_optarg ;;
961
962 -localstatedir | --localstatedir | --localstatedi | --localstated \
963 | --localstate | --localstat | --localsta | --localst | --locals)
964 ac_prev=localstatedir ;;
965 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
966 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
967 localstatedir=$ac_optarg ;;
968
969 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970 ac_prev=mandir ;;
971 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
972 mandir=$ac_optarg ;;
973
974 -nfp | --nfp | --nf)
975 # Obsolete; use --without-fp.
976 with_fp=no ;;
977
978 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
979 | --no-cr | --no-c | -n)
980 no_create=yes ;;
981
982 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
983 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984 no_recursion=yes ;;
985
986 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
987 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
988 | --oldin | --oldi | --old | --ol | --o)
989 ac_prev=oldincludedir ;;
990 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
991 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
992 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
993 oldincludedir=$ac_optarg ;;
994
995 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996 ac_prev=prefix ;;
997 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998 prefix=$ac_optarg ;;
999
1000 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1001 | --program-pre | --program-pr | --program-p)
1002 ac_prev=program_prefix ;;
1003 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1004 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1005 program_prefix=$ac_optarg ;;
1006
1007 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1008 | --program-suf | --program-su | --program-s)
1009 ac_prev=program_suffix ;;
1010 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1011 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1012 program_suffix=$ac_optarg ;;
1013
1014 -program-transform-name | --program-transform-name \
1015 | --program-transform-nam | --program-transform-na \
1016 | --program-transform-n | --program-transform- \
1017 | --program-transform | --program-transfor \
1018 | --program-transfo | --program-transf \
1019 | --program-trans | --program-tran \
1020 | --progr-tra | --program-tr | --program-t)
1021 ac_prev=program_transform_name ;;
1022 -program-transform-name=* | --program-transform-name=* \
1023 | --program-transform-nam=* | --program-transform-na=* \
1024 | --program-transform-n=* | --program-transform-=* \
1025 | --program-transform=* | --program-transfor=* \
1026 | --program-transfo=* | --program-transf=* \
1027 | --program-trans=* | --program-tran=* \
1028 | --progr-tra=* | --program-tr=* | --program-t=*)
1029 program_transform_name=$ac_optarg ;;
1030
1031 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032 ac_prev=pdfdir ;;
1033 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1034 pdfdir=$ac_optarg ;;
1035
1036 -psdir | --psdir | --psdi | --psd | --ps)
1037 ac_prev=psdir ;;
1038 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039 psdir=$ac_optarg ;;
1040
1041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042 | -silent | --silent | --silen | --sile | --sil)
1043 silent=yes ;;
1044
1045 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 ac_prev=sbindir ;;
1047 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 | --sbi=* | --sb=*)
1049 sbindir=$ac_optarg ;;
1050
1051 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1052 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1053 | --sharedst | --shareds | --shared | --share | --shar \
1054 | --sha | --sh)
1055 ac_prev=sharedstatedir ;;
1056 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1057 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1058 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059 | --sha=* | --sh=*)
1060 sharedstatedir=$ac_optarg ;;
1061
1062 -site | --site | --sit)
1063 ac_prev=site ;;
1064 -site=* | --site=* | --sit=*)
1065 site=$ac_optarg ;;
1066
1067 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068 ac_prev=srcdir ;;
1069 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1070 srcdir=$ac_optarg ;;
1071
1072 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1073 | --syscon | --sysco | --sysc | --sys | --sy)
1074 ac_prev=sysconfdir ;;
1075 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1076 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1077 sysconfdir=$ac_optarg ;;
1078
1079 -target | --target | --targe | --targ | --tar | --ta | --t)
1080 ac_prev=target_alias ;;
1081 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1082 target_alias=$ac_optarg ;;
1083
1084 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085 verbose=yes ;;
1086
1087 -version | --version | --versio | --versi | --vers | -V)
1088 ac_init_version=: ;;
1089
1090 -with-* | --with-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1098 *"
1099 "with_$ac_useropt"
1100 "*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval with_$ac_useropt=\$ac_optarg ;;
1105
1106 -without-* | --without-*)
1107 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110 as_fn_error $? "invalid package name: $ac_useropt"
1111 ac_useropt_orig=$ac_useropt
1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1114 *"
1115 "with_$ac_useropt"
1116 "*) ;;
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1119 esac
1120 eval with_$ac_useropt=no ;;
1121
1122 --x)
1123 # Obsolete; use --with-x.
1124 with_x=yes ;;
1125
1126 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1127 | --x-incl | --x-inc | --x-in | --x-i)
1128 ac_prev=x_includes ;;
1129 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1130 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1131 x_includes=$ac_optarg ;;
1132
1133 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1134 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1135 ac_prev=x_libraries ;;
1136 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1137 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1138 x_libraries=$ac_optarg ;;
1139
1140 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1141 Try \`$0 --help' for more information"
1142 ;;
1143
1144 *=*)
1145 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1146 # Reject names that are not valid shell variable names.
1147 case $ac_envvar in #(
1148 '' | [0-9]* | *[!_$as_cr_alnum]* )
1149 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150 esac
1151 eval $ac_envvar=\$ac_optarg
1152 export $ac_envvar ;;
1153
1154 *)
1155 # FIXME: should be removed in autoconf 3.0.
1156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1160 ;;
1161
1162 esac
1163 done
1164
1165 if test -n "$ac_prev"; then
1166 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167 as_fn_error $? "missing argument to $ac_option"
1168 fi
1169
1170 if test -n "$ac_unrecognized_opts"; then
1171 case $enable_option_checking in
1172 no) ;;
1173 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 esac
1176 fi
1177
1178 # Check all directory arguments for consistency.
1179 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1183 do
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1186 case $ac_val in
1187 */ )
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1190 esac
1191 # Be sure to have absolute directory names.
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1197 done
1198
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1202 build=$build_alias
1203 host=$host_alias
1204 target=$target_alias
1205
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x; then
1208 if test "x$build_alias" = x; then
1209 cross_compiling=maybe
1210 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used" >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1213 cross_compiling=yes
1214 fi
1215 fi
1216
1217 ac_tool_prefix=
1218 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219
1220 test "$silent" = yes && exec 6>/dev/null
1221
1222
1223 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di=`ls -di .` &&
1225 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226 as_fn_error $? "working directory cannot be determined"
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 as_fn_error $? "pwd does not report name of working directory"
1229
1230
1231 # Find the source files, if location was not specified.
1232 if test -z "$srcdir"; then
1233 ac_srcdir_defaulted=yes
1234 # Try the directory containing this script, then the parent directory.
1235 ac_confdir=`$as_dirname -- "$as_myself" ||
1236 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237 X"$as_myself" : 'X\(//\)[^/]' \| \
1238 X"$as_myself" : 'X\(//\)$' \| \
1239 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1240 $as_echo X"$as_myself" |
1241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1242 s//\1/
1243 q
1244 }
1245 /^X\(\/\/\)[^/].*/{
1246 s//\1/
1247 q
1248 }
1249 /^X\(\/\/\)$/{
1250 s//\1/
1251 q
1252 }
1253 /^X\(\/\).*/{
1254 s//\1/
1255 q
1256 }
1257 s/.*/./; q'`
1258 srcdir=$ac_confdir
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 srcdir=..
1261 fi
1262 else
1263 ac_srcdir_defaulted=no
1264 fi
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1266 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1267 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268 fi
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 ac_abs_confdir=`(
1271 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272 pwd)`
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 srcdir=.
1276 fi
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1280 case $srcdir in
1281 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 esac
1283 for ac_var in $ac_precious_vars; do
1284 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_${ac_var}_value=\$${ac_var}
1286 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1288 done
1289
1290 #
1291 # Report the --help message.
1292 #
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1296 cat <<_ACEOF
1297 \`configure' configures libdvbcsa 1.1.0 to adapt to many kinds of systems.
1298
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1300
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1303
1304 Defaults for the options are specified in brackets.
1305
1306 Configuration:
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking ...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 [PREFIX]
1322
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1327
1328 For better control, use the options below.
1329
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/libdvbcsa]
1346 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR]
1350 _ACEOF
1351
1352 cat <<\_ACEOF
1353
1354 Program names:
1355 --program-prefix=PREFIX prepend PREFIX to installed program names
1356 --program-suffix=SUFFIX append SUFFIX to installed program names
1357 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1358
1359 System types:
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1362 _ACEOF
1363 fi
1364
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of libdvbcsa 1.1.0:";;
1368 esac
1369 cat <<\_ACEOF
1370
1371 Optional Features:
1372 --disable-option-checking ignore unrecognized --enable/--with options
1373 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1374 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1375 --enable-debug Enable debug
1376 --enable-uint32 Use native 32 bits integers for bitslice
1377 --enable-uint64 Use native 64 bits integers for bitslice
1378 --enable-mmx Use MMX for bitslice
1379 --enable-sse2 Use SSE2 for bitslice
1380 --enable-altivec Use AltiVec for bitslice
1381 --disable-dependency-tracking speeds up one-time build
1382 --enable-dependency-tracking do not reject slow dependency extractors
1383 --enable-shared[=PKGS] build shared libraries [default=yes]
1384 --enable-static[=PKGS] build static libraries [default=yes]
1385 --enable-fast-install[=PKGS]
1386 optimize for fast installation [default=yes]
1387 --disable-libtool-lock avoid locking (might break parallel builds)
1388
1389 Optional Packages:
1390 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1391 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1392 --with-pic try to use only PIC/non-PIC objects [default=use
1393 both]
1394 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1395 --with-sysroot=DIR Search for dependent libraries within DIR
1396 (or the compiler's sysroot if not specified).
1397
1398 Some influential environment variables:
1399 CC C compiler command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1402 nonstandard directory <lib dir>
1403 LIBS libraries to pass to the linker, e.g. -l<library>
1404 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1405 you have headers in a nonstandard directory <include dir>
1406 CPP C preprocessor
1407
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1410
1411 Report bugs to the package provider.
1412 _ACEOF
1413 ac_status=$?
1414 fi
1415
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421 continue
1422 ac_builddir=.
1423
1424 case "$ac_dir" in
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *)
1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 esac ;;
1434 esac
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1439
1440 case $srcdir in
1441 .) # We are building in place.
1442 ac_srcdir=.
1443 ac_top_srcdir=$ac_top_builddir_sub
1444 ac_abs_top_srcdir=$ac_pwd ;;
1445 [\\/]* | ?:[\\/]* ) # Absolute name.
1446 ac_srcdir=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir=$srcdir
1448 ac_abs_top_srcdir=$srcdir ;;
1449 *) # Relative name.
1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 esac
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1459 echo &&
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1462 echo &&
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1464 else
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 fi || ac_status=$?
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1468 done
1469 fi
1470
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1473 cat <<\_ACEOF
1474 libdvbcsa configure 1.1.0
1475 generated by GNU Autoconf 2.68
1476
1477 Copyright (C) 2010 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1480 _ACEOF
1481 exit
1482 fi
1483
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1487
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile ()
1492 {
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext
1495 if { { ac_try="$ac_compile"
1496 case "(($ac_try" in
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1499 esac
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1503 ac_status=$?
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1508 fi
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1514 ac_retval=0
1515 else
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1518
1519 ac_retval=1
1520 fi
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1523
1524 } # ac_fn_c_try_compile
1525
1526 # ac_fn_c_try_link LINENO
1527 # -----------------------
1528 # Try to link conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_link ()
1530 {
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext conftest$ac_exeext
1533 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1552 test "$cross_compiling" = yes ||
1553 $as_test_x conftest$ac_exeext
1554 }; then :
1555 ac_retval=0
1556 else
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1559
1560 ac_retval=1
1561 fi
1562 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1563 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1564 # interfere with the next link command; also delete a directory that is
1565 # left behind by Apple's compiler. We do this before executing the actions.
1566 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1569
1570 } # ac_fn_c_try_link
1571
1572 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1573 # -------------------------------------------------------
1574 # Tests whether HEADER exists and can be compiled using the include files in
1575 # INCLUDES, setting the cache variable VAR accordingly.
1576 ac_fn_c_check_header_compile ()
1577 {
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1580 $as_echo_n "checking for $2... " >&6; }
1581 if eval \${$3+:} false; then :
1582 $as_echo_n "(cached) " >&6
1583 else
1584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1585 /* end confdefs.h. */
1586 $4
1587 #include <$2>
1588 _ACEOF
1589 if ac_fn_c_try_compile "$LINENO"; then :
1590 eval "$3=yes"
1591 else
1592 eval "$3=no"
1593 fi
1594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1595 fi
1596 eval ac_res=\$$3
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1598 $as_echo "$ac_res" >&6; }
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600
1601 } # ac_fn_c_check_header_compile
1602
1603 # ac_fn_c_try_cpp LINENO
1604 # ----------------------
1605 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_cpp ()
1607 {
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 if { { ac_try="$ac_cpp conftest.$ac_ext"
1610 case "(($ac_try" in
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1612 *) ac_try_echo=$ac_try;;
1613 esac
1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1617 ac_status=$?
1618 if test -s conftest.err; then
1619 grep -v '^ *+' conftest.err >conftest.er1
1620 cat conftest.er1 >&5
1621 mv -f conftest.er1 conftest.err
1622 fi
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } > conftest.i && {
1625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1627 }; then :
1628 ac_retval=0
1629 else
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.$ac_ext >&5
1632
1633 ac_retval=1
1634 fi
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1637
1638 } # ac_fn_c_try_cpp
1639
1640 # ac_fn_c_try_run LINENO
1641 # ----------------------
1642 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1643 # that executables *can* be run.
1644 ac_fn_c_try_run ()
1645 {
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_link"
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_link") 2>&5
1655 ac_status=$?
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1658 { { case "(($ac_try" in
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1661 esac
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_try") 2>&5
1665 ac_status=$?
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; }; }; then :
1668 ac_retval=0
1669 else
1670 $as_echo "$as_me: program exited with status $ac_status" >&5
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1673
1674 ac_retval=$ac_status
1675 fi
1676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 as_fn_set_status $ac_retval
1679
1680 } # ac_fn_c_try_run
1681
1682 # ac_fn_c_check_func LINENO FUNC VAR
1683 # ----------------------------------
1684 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1685 ac_fn_c_check_func ()
1686 {
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if eval \${$3+:} false; then :
1691 $as_echo_n "(cached) " >&6
1692 else
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1694 /* end confdefs.h. */
1695 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1697 #define $2 innocuous_$2
1698
1699 /* System header to define __stub macros and hopefully few prototypes,
1700 which can conflict with char $2 (); below.
1701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1702 <limits.h> exists even on freestanding compilers. */
1703
1704 #ifdef __STDC__
1705 # include <limits.h>
1706 #else
1707 # include <assert.h>
1708 #endif
1709
1710 #undef $2
1711
1712 /* Override any GCC internal prototype to avoid an error.
1713 Use char because int might match the return type of a GCC
1714 builtin and then its argument prototype would still apply. */
1715 #ifdef __cplusplus
1716 extern "C"
1717 #endif
1718 char $2 ();
1719 /* The GNU C library defines this for functions which it implements
1720 to always fail with ENOSYS. Some functions are actually named
1721 something starting with __ and the normal name is an alias. */
1722 #if defined __stub_$2 || defined __stub___$2
1723 choke me
1724 #endif
1725
1726 int
1727 main ()
1728 {
1729 return $2 ();
1730 ;
1731 return 0;
1732 }
1733 _ACEOF
1734 if ac_fn_c_try_link "$LINENO"; then :
1735 eval "$3=yes"
1736 else
1737 eval "$3=no"
1738 fi
1739 rm -f core conftest.err conftest.$ac_objext \
1740 conftest$ac_exeext conftest.$ac_ext
1741 fi
1742 eval ac_res=\$$3
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1744 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
1747 } # ac_fn_c_check_func
1748
1749 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1750 # -------------------------------------------------------
1751 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1752 # the include files in INCLUDES and setting the cache variable VAR
1753 # accordingly.
1754 ac_fn_c_check_header_mongrel ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if eval \${$3+:} false; then :
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1762 fi
1763 eval ac_res=\$$3
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766 else
1767 # Is the header compilable?
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1769 $as_echo_n "checking $2 usability... " >&6; }
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1772 $4
1773 #include <$2>
1774 _ACEOF
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776 ac_header_compiler=yes
1777 else
1778 ac_header_compiler=no
1779 fi
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1782 $as_echo "$ac_header_compiler" >&6; }
1783
1784 # Is the header present?
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1786 $as_echo_n "checking $2 presence... " >&6; }
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1789 #include <$2>
1790 _ACEOF
1791 if ac_fn_c_try_cpp "$LINENO"; then :
1792 ac_header_preproc=yes
1793 else
1794 ac_header_preproc=no
1795 fi
1796 rm -f conftest.err conftest.i conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1798 $as_echo "$ac_header_preproc" >&6; }
1799
1800 # So? What about this header?
1801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1802 yes:no: )
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1804 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1807 ;;
1808 no:yes:* )
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1810 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1812 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1814 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1816 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1818 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1819 ;;
1820 esac
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824 $as_echo_n "(cached) " >&6
1825 else
1826 eval "$3=\$ac_header_compiler"
1827 fi
1828 eval ac_res=\$$3
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 fi
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833
1834 } # ac_fn_c_check_header_mongrel
1835
1836 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1837 # --------------------------------------------
1838 # Tries to find the compile-time value of EXPR in a program that includes
1839 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1840 # computed
1841 ac_fn_c_compute_int ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if test "$cross_compiling" = yes; then
1845 # Depending upon the size, compute the lo and hi bounds.
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 $4
1849 int
1850 main ()
1851 {
1852 static int test_array [1 - 2 * !(($2) >= 0)];
1853 test_array [0] = 0
1854
1855 ;
1856 return 0;
1857 }
1858 _ACEOF
1859 if ac_fn_c_try_compile "$LINENO"; then :
1860 ac_lo=0 ac_mid=0
1861 while :; do
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 $4
1865 int
1866 main ()
1867 {
1868 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1869 test_array [0] = 0
1870
1871 ;
1872 return 0;
1873 }
1874 _ACEOF
1875 if ac_fn_c_try_compile "$LINENO"; then :
1876 ac_hi=$ac_mid; break
1877 else
1878 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1879 if test $ac_lo -le $ac_mid; then
1880 ac_lo= ac_hi=
1881 break
1882 fi
1883 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1884 fi
1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 done
1887 else
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 $4
1891 int
1892 main ()
1893 {
1894 static int test_array [1 - 2 * !(($2) < 0)];
1895 test_array [0] = 0
1896
1897 ;
1898 return 0;
1899 }
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_hi=-1 ac_mid=-1
1903 while :; do
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 $4
1907 int
1908 main ()
1909 {
1910 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1911 test_array [0] = 0
1912
1913 ;
1914 return 0;
1915 }
1916 _ACEOF
1917 if ac_fn_c_try_compile "$LINENO"; then :
1918 ac_lo=$ac_mid; break
1919 else
1920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1921 if test $ac_mid -le $ac_hi; then
1922 ac_lo= ac_hi=
1923 break
1924 fi
1925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1926 fi
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 done
1929 else
1930 ac_lo= ac_hi=
1931 fi
1932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933 fi
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 # Binary search between lo and hi bounds.
1936 while test "x$ac_lo" != "x$ac_hi"; do
1937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1940 $4
1941 int
1942 main ()
1943 {
1944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1945 test_array [0] = 0
1946
1947 ;
1948 return 0;
1949 }
1950 _ACEOF
1951 if ac_fn_c_try_compile "$LINENO"; then :
1952 ac_hi=$ac_mid
1953 else
1954 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1955 fi
1956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957 done
1958 case $ac_lo in #((
1959 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1960 '') ac_retval=1 ;;
1961 esac
1962 else
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1965 $4
1966 static long int longval () { return $2; }
1967 static unsigned long int ulongval () { return $2; }
1968 #include <stdio.h>
1969 #include <stdlib.h>
1970 int
1971 main ()
1972 {
1973
1974 FILE *f = fopen ("conftest.val", "w");
1975 if (! f)
1976 return 1;
1977 if (($2) < 0)
1978 {
1979 long int i = longval ();
1980 if (i != ($2))
1981 return 1;
1982 fprintf (f, "%ld", i);
1983 }
1984 else
1985 {
1986 unsigned long int i = ulongval ();
1987 if (i != ($2))
1988 return 1;
1989 fprintf (f, "%lu", i);
1990 }
1991 /* Do not output a trailing newline, as this causes \r\n confusion
1992 on some platforms. */
1993 return ferror (f) || fclose (f) != 0;
1994
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_run "$LINENO"; then :
2000 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2001 else
2002 ac_retval=1
2003 fi
2004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2005 conftest.$ac_objext conftest.beam conftest.$ac_ext
2006 rm -f conftest.val
2007
2008 fi
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 as_fn_set_status $ac_retval
2011
2012 } # ac_fn_c_compute_int
2013 cat >config.log <<_ACEOF
2014 This file contains any messages produced by compilers while
2015 running configure, to aid debugging if configure makes a mistake.
2016
2017 It was created by libdvbcsa $as_me 1.1.0, which was
2018 generated by GNU Autoconf 2.68. Invocation command line was
2019
2020 $ $0 $@
2021
2022 _ACEOF
2023 exec 5>>config.log
2024 {
2025 cat <<_ASUNAME
2026 ## --------- ##
2027 ## Platform. ##
2028 ## --------- ##
2029
2030 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035
2036 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2038
2039 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2040 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2041 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2043 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2044 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2045 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2046
2047 _ASUNAME
2048
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH
2051 do
2052 IFS=$as_save_IFS
2053 test -z "$as_dir" && as_dir=.
2054 $as_echo "PATH: $as_dir"
2055 done
2056 IFS=$as_save_IFS
2057
2058 } >&5
2059
2060 cat >&5 <<_ACEOF
2061
2062
2063 ## ----------- ##
2064 ## Core tests. ##
2065 ## ----------- ##
2066
2067 _ACEOF
2068
2069
2070 # Keep a trace of the command line.
2071 # Strip out --no-create and --no-recursion so they do not pile up.
2072 # Strip out --silent because we don't want to record it for future runs.
2073 # Also quote any args containing shell meta-characters.
2074 # Make two passes to allow for proper duplicate-argument suppression.
2075 ac_configure_args=
2076 ac_configure_args0=
2077 ac_configure_args1=
2078 ac_must_keep_next=false
2079 for ac_pass in 1 2
2080 do
2081 for ac_arg
2082 do
2083 case $ac_arg in
2084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086 | -silent | --silent | --silen | --sile | --sil)
2087 continue ;;
2088 *\'*)
2089 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090 esac
2091 case $ac_pass in
2092 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093 2)
2094 as_fn_append ac_configure_args1 " '$ac_arg'"
2095 if test $ac_must_keep_next = true; then
2096 ac_must_keep_next=false # Got value, back to normal.
2097 else
2098 case $ac_arg in
2099 *=* | --config-cache | -C | -disable-* | --disable-* \
2100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2102 | -with-* | --with-* | -without-* | --without-* | --x)
2103 case "$ac_configure_args0 " in
2104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105 esac
2106 ;;
2107 -* ) ac_must_keep_next=true ;;
2108 esac
2109 fi
2110 as_fn_append ac_configure_args " '$ac_arg'"
2111 ;;
2112 esac
2113 done
2114 done
2115 { ac_configure_args0=; unset ac_configure_args0;}
2116 { ac_configure_args1=; unset ac_configure_args1;}
2117
2118 # When interrupted or exit'd, cleanup temporary files, and complete
2119 # config.log. We remove comments because anyway the quotes in there
2120 # would cause problems or look ugly.
2121 # WARNING: Use '\'' to represent an apostrophe within the trap.
2122 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123 trap 'exit_status=$?
2124 # Save into config.log some information that might help in debugging.
2125 {
2126 echo
2127
2128 $as_echo "## ---------------- ##
2129 ## Cache variables. ##
2130 ## ---------------- ##"
2131 echo
2132 # The following way of writing the cache mishandles newlines in values,
2133 (
2134 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135 eval ac_val=\$$ac_var
2136 case $ac_val in #(
2137 *${as_nl}*)
2138 case $ac_var in #(
2139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141 esac
2142 case $ac_var in #(
2143 _ | IFS | as_nl) ;; #(
2144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145 *) { eval $ac_var=; unset $ac_var;} ;;
2146 esac ;;
2147 esac
2148 done
2149 (set) 2>&1 |
2150 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151 *${as_nl}ac_space=\ *)
2152 sed -n \
2153 "s/'\''/'\''\\\\'\'''\''/g;
2154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155 ;; #(
2156 *)
2157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158 ;;
2159 esac |
2160 sort
2161 )
2162 echo
2163
2164 $as_echo "## ----------------- ##
2165 ## Output variables. ##
2166 ## ----------------- ##"
2167 echo
2168 for ac_var in $ac_subst_vars
2169 do
2170 eval ac_val=\$$ac_var
2171 case $ac_val in
2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 esac
2174 $as_echo "$ac_var='\''$ac_val'\''"
2175 done | sort
2176 echo
2177
2178 if test -n "$ac_subst_files"; then
2179 $as_echo "## ------------------- ##
2180 ## File substitutions. ##
2181 ## ------------------- ##"
2182 echo
2183 for ac_var in $ac_subst_files
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 $as_echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192 fi
2193
2194 if test -s confdefs.h; then
2195 $as_echo "## ----------- ##
2196 ## confdefs.h. ##
2197 ## ----------- ##"
2198 echo
2199 cat confdefs.h
2200 echo
2201 fi
2202 test "$ac_signal" != 0 &&
2203 $as_echo "$as_me: caught signal $ac_signal"
2204 $as_echo "$as_me: exit $exit_status"
2205 } >&5
2206 rm -f core *.core core.conftest.* &&
2207 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208 exit $exit_status
2209 ' 0
2210 for ac_signal in 1 2 13 15; do
2211 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212 done
2213 ac_signal=0
2214
2215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2216 rm -f -r conftest* confdefs.h
2217
2218 $as_echo "/* confdefs.h */" > confdefs.h
2219
2220 # Predefined preprocessor variables.
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 _ACEOF
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 _ACEOF
2229
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2232 _ACEOF
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 _ACEOF
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 _ACEOF
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_URL "$PACKAGE_URL"
2244 _ACEOF
2245
2246
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer an explicitly selected file to automatically selected ones.
2249 ac_site_file1=NONE
2250 ac_site_file2=NONE
2251 if test -n "$CONFIG_SITE"; then
2252 # We do not want a PATH search for config.site.
2253 case $CONFIG_SITE in #((
2254 -*) ac_site_file1=./$CONFIG_SITE;;
2255 */*) ac_site_file1=$CONFIG_SITE;;
2256 *) ac_site_file1=./$CONFIG_SITE;;
2257 esac
2258 elif test "x$prefix" != xNONE; then
2259 ac_site_file1=$prefix/share/config.site
2260 ac_site_file2=$prefix/etc/config.site
2261 else
2262 ac_site_file1=$ac_default_prefix/share/config.site
2263 ac_site_file2=$ac_default_prefix/etc/config.site
2264 fi
2265 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2266 do
2267 test "x$ac_site_file" = xNONE && continue
2268 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271 sed 's/^/| /' "$ac_site_file" >&5
2272 . "$ac_site_file" \
2273 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275 as_fn_error $? "failed to load site script $ac_site_file
2276 See \`config.log' for more details" "$LINENO" 5; }
2277 fi
2278 done
2279
2280 if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special files
2282 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2283 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285 $as_echo "$as_me: loading cache $cache_file" >&6;}
2286 case $cache_file in
2287 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288 *) . "./$cache_file";;
2289 esac
2290 fi
2291 else
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293 $as_echo "$as_me: creating cache $cache_file" >&6;}
2294 >$cache_file
2295 fi
2296
2297 # Check that the precious variables saved in the cache have kept the same
2298 # value.
2299 ac_cache_corrupted=false
2300 for ac_var in $ac_precious_vars; do
2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302 eval ac_new_set=\$ac_env_${ac_var}_set
2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304 eval ac_new_val=\$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2306 set,)
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2310 ,set)
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2314 ,);;
2315 *)
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 # differences in whitespace do not lead to failure.
2318 ac_old_val_w=`echo x $ac_old_val`
2319 ac_new_val_w=`echo x $ac_new_val`
2320 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323 ac_cache_corrupted=:
2324 else
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327 eval $ac_var=\$ac_old_val
2328 fi
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2330 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2332 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2333 fi;;
2334 esac
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2337 case $ac_new_val in
2338 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2340 esac
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344 esac
2345 fi
2346 done
2347 if $ac_cache_corrupted; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353 fi
2354 ## -------------------- ##
2355 ## Main body of script. ##
2356 ## -------------------- ##
2357
2358 ac_ext=c
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367 # Check whether --enable-debug was given.
2368 if test "${enable_debug+set}" = set; then :
2369 enableval=$enable_debug; enable_debug=$enableval
2370 else
2371 enable_debug=no
2372 fi
2373
2374
2375 if test "$enable_debug" = "yes" ; then
2376 GCC_CFLAGS="$CFLAGS -g -DDVBCSA_DEBUG -D_XOPEN_SOURCE=600"
2377 else
2378 GCC_CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -D_XOPEN_SOURCE=600"
2379 fi
2380
2381 # Check whether --enable-uint32 was given.
2382 if test "${enable_uint32+set}" = set; then :
2383 enableval=$enable_uint32; enable_uint32=$enableval
2384 else
2385 enable_uint32=no
2386 fi
2387
2388 # Check whether --enable-uint64 was given.
2389 if test "${enable_uint64+set}" = set; then :
2390 enableval=$enable_uint64; enable_uint64=$enableval
2391 else
2392 enable_uint64=no
2393 fi
2394
2395 # Check whether --enable-mmx was given.
2396 if test "${enable_mmx+set}" = set; then :
2397 enableval=$enable_mmx; mmx_debug=$enableval
2398 else
2399 enable_mmx=no
2400 fi
2401
2402 # Check whether --enable-sse2 was given.
2403 if test "${enable_sse2+set}" = set; then :
2404 enableval=$enable_sse2; sse2_debug=$enableval
2405 else
2406 enable_sse2=no
2407 fi
2408
2409 # Check whether --enable-altivec was given.
2410 if test "${enable_altivec+set}" = set; then :
2411 enableval=$enable_altivec; altivec_debug=$enableval
2412 else
2413 enable_altivec=no
2414 fi
2415
2416
2417 am__api_version='1.11'
2418
2419 ac_aux_dir=
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421 if test -f "$ac_dir/install-sh"; then
2422 ac_aux_dir=$ac_dir
2423 ac_install_sh="$ac_aux_dir/install-sh -c"
2424 break
2425 elif test -f "$ac_dir/install.sh"; then
2426 ac_aux_dir=$ac_dir
2427 ac_install_sh="$ac_aux_dir/install.sh -c"
2428 break
2429 elif test -f "$ac_dir/shtool"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/shtool install -c"
2432 break
2433 fi
2434 done
2435 if test -z "$ac_aux_dir"; then
2436 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437 fi
2438
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2446
2447
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2454 # AIX /bin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466 $as_echo_n "(cached) " >&6
2467 else
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2470 do
2471 IFS=$as_save_IFS
2472 test -z "$as_dir" && as_dir=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475 ./ | .// | /[cC]/* | \
2476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478 /usr/ucb/* ) ;;
2479 *)
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2482 # by default.
2483 for ac_prog in ginstall scoinst install; do
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486 if test $ac_prog = install &&
2487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2489 :
2490 elif test $ac_prog = install &&
2491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2493 :
2494 else
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one > conftest.one
2497 echo two > conftest.two
2498 mkdir conftest.dir
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500 test -s conftest.one && test -s conftest.two &&
2501 test -s conftest.dir/conftest.one &&
2502 test -s conftest.dir/conftest.two
2503 then
2504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505 break 3
2506 fi
2507 fi
2508 fi
2509 done
2510 done
2511 ;;
2512 esac
2513
2514 done
2515 IFS=$as_save_IFS
2516
2517 rm -rf conftest.one conftest.two conftest.dir
2518
2519 fi
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL=$ac_cv_path_install
2522 else
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL=$ac_install_sh
2528 fi
2529 fi
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2532
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Just in case
2544 sleep 1
2545 echo timestamp > conftest.file
2546 # Reject unsafe characters in $srcdir or the absolute working directory
2547 # name. Accept space and tab only in the latter.
2548 am_lf='
2549 '
2550 case `pwd` in
2551 *[\\\"\#\$\&\'\`$am_lf]*)
2552 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2553 esac
2554 case $srcdir in
2555 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2556 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2557 esac
2558
2559 # Do `set' in a subshell so we don't clobber the current shell's
2560 # arguments. Must try -L first in case configure is actually a
2561 # symlink; some systems play weird games with the mod time of symlinks
2562 # (eg FreeBSD returns the mod time of the symlink's containing
2563 # directory).
2564 if (
2565 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566 if test "$*" = "X"; then
2567 # -L didn't work.
2568 set X `ls -t "$srcdir/configure" conftest.file`
2569 fi
2570 rm -f conftest.file
2571 if test "$*" != "X $srcdir/configure conftest.file" \
2572 && test "$*" != "X conftest.file $srcdir/configure"; then
2573
2574 # If neither matched, then we have a broken ls. This can happen
2575 # if, for instance, CONFIG_SHELL is bash and it inherits a
2576 # broken ls alias from the environment. This has actually
2577 # happened. Such a system could not be considered "sane".
2578 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2579 alias in your environment" "$LINENO" 5
2580 fi
2581
2582 test "$2" = conftest.file
2583 )
2584 then
2585 # Ok.
2586 :
2587 else
2588 as_fn_error $? "newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2590 fi
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 test "$program_prefix" != NONE &&
2594 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2595 # Use a double $ so make ignores it.
2596 test "$program_suffix" != NONE &&
2597 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2598 # Double any \ or $.
2599 # By default was `s,x,x', remove it if useless.
2600 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2601 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2602
2603 # expand $ac_aux_dir to an absolute path
2604 am_aux_dir=`cd $ac_aux_dir && pwd`
2605
2606 if test x"${MISSING+set}" != xset; then
2607 case $am_aux_dir in
2608 *\ * | *\ *)
2609 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2610 *)
2611 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2612 esac
2613 fi
2614 # Use eval to expand $SHELL
2615 if eval "$MISSING --run true"; then
2616 am_missing_run="$MISSING --run "
2617 else
2618 am_missing_run=
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2620 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2621 fi
2622
2623 if test x"${install_sh}" != xset; then
2624 case $am_aux_dir in
2625 *\ * | *\ *)
2626 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2627 *)
2628 install_sh="\${SHELL} $am_aux_dir/install-sh"
2629 esac
2630 fi
2631
2632 # Installed binaries are usually stripped using `strip' when the user
2633 # run `make install-strip'. However `strip' might not be the right
2634 # tool to use in cross-compilation environments, therefore Automake
2635 # will honor the `STRIP' environment variable to overrule this program.
2636 if test "$cross_compiling" != no; then
2637 if test -n "$ac_tool_prefix"; then
2638 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639 set dummy ${ac_tool_prefix}strip; ac_word=$2
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if ${ac_cv_prog_STRIP+:} false; then :
2643 $as_echo_n "(cached) " >&6
2644 else
2645 if test -n "$STRIP"; then
2646 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2647 else
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH
2650 do
2651 IFS=$as_save_IFS
2652 test -z "$as_dir" && as_dir=.
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 break 2
2658 fi
2659 done
2660 done
2661 IFS=$as_save_IFS
2662
2663 fi
2664 fi
2665 STRIP=$ac_cv_prog_STRIP
2666 if test -n "$STRIP"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2668 $as_echo "$STRIP" >&6; }
2669 else
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 $as_echo "no" >&6; }
2672 fi
2673
2674
2675 fi
2676 if test -z "$ac_cv_prog_STRIP"; then
2677 ac_ct_STRIP=$STRIP
2678 # Extract the first word of "strip", so it can be a program name with args.
2679 set dummy strip; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2683 $as_echo_n "(cached) " >&6
2684 else
2685 if test -n "$ac_ct_STRIP"; then
2686 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2687 else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 for as_dir in $PATH
2690 do
2691 IFS=$as_save_IFS
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_ac_ct_STRIP="strip"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 break 2
2698 fi
2699 done
2700 done
2701 IFS=$as_save_IFS
2702
2703 fi
2704 fi
2705 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2706 if test -n "$ac_ct_STRIP"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2708 $as_echo "$ac_ct_STRIP" >&6; }
2709 else
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 fi
2713
2714 if test "x$ac_ct_STRIP" = x; then
2715 STRIP=":"
2716 else
2717 case $cross_compiling:$ac_tool_warned in
2718 yes:)
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721 ac_tool_warned=yes ;;
2722 esac
2723 STRIP=$ac_ct_STRIP
2724 fi
2725 else
2726 STRIP="$ac_cv_prog_STRIP"
2727 fi
2728
2729 fi
2730 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2731
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2733 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2734 if test -z "$MKDIR_P"; then
2735 if ${ac_cv_path_mkdir+:} false; then :
2736 $as_echo_n "(cached) " >&6
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2740 do
2741 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.
2743 for ac_prog in mkdir gmkdir; do
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2746 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2747 'mkdir (GNU coreutils) '* | \
2748 'mkdir (coreutils) '* | \
2749 'mkdir (fileutils) '4.1*)
2750 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2751 break 3;;
2752 esac
2753 done
2754 done
2755 done
2756 IFS=$as_save_IFS
2757
2758 fi
2759
2760 test -d ./--version && rmdir ./--version
2761 if test "${ac_cv_path_mkdir+set}" = set; then
2762 MKDIR_P="$ac_cv_path_mkdir -p"
2763 else
2764 # As a last resort, use the slow shell script. Don't cache a
2765 # value for MKDIR_P within a source directory, because that will
2766 # break other packages using the cache if that directory is
2767 # removed, or if the value is a relative name.
2768 MKDIR_P="$ac_install_sh -d"
2769 fi
2770 fi
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2772 $as_echo "$MKDIR_P" >&6; }
2773
2774 mkdir_p="$MKDIR_P"
2775 case $mkdir_p in
2776 [\\/$]* | ?:[\\/]*) ;;
2777 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2778 esac
2779
2780 for ac_prog in gawk mawk nawk awk
2781 do
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_AWK+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 if test -n "$AWK"; then
2790 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_AWK="$ac_prog"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 break 2
2802 fi
2803 done
2804 done
2805 IFS=$as_save_IFS
2806
2807 fi
2808 fi
2809 AWK=$ac_cv_prog_AWK
2810 if test -n "$AWK"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2812 $as_echo "$AWK" >&6; }
2813 else
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 fi
2817
2818
2819 test -n "$AWK" && break
2820 done
2821
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2824 set x ${MAKE-make}
2825 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2826 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 cat >conftest.make <<\_ACEOF
2830 SHELL = /bin/sh
2831 all:
2832 @echo '@@@%%%=$(MAKE)=@@@%%%'
2833 _ACEOF
2834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2836 *@@@%%%=?*=@@@%%%*)
2837 eval ac_cv_prog_make_${ac_make}_set=yes;;
2838 *)
2839 eval ac_cv_prog_make_${ac_make}_set=no;;
2840 esac
2841 rm -f conftest.make
2842 fi
2843 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845 $as_echo "yes" >&6; }
2846 SET_MAKE=
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 SET_MAKE="MAKE=${MAKE-make}"
2851 fi
2852
2853 rm -rf .tst 2>/dev/null
2854 mkdir .tst 2>/dev/null
2855 if test -d .tst; then
2856 am__leading_dot=.
2857 else
2858 am__leading_dot=_
2859 fi
2860 rmdir .tst 2>/dev/null
2861
2862 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2863 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2864 # is not polluted with repeated "-I."
2865 am__isrc=' -I$(srcdir)'
2866 # test to see if srcdir already configured
2867 if test -f $srcdir/config.status; then
2868 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2869 fi
2870 fi
2871
2872 # test whether we have cygpath
2873 if test -z "$CYGPATH_W"; then
2874 if (cygpath --version) >/dev/null 2>/dev/null; then
2875 CYGPATH_W='cygpath -w'
2876 else
2877 CYGPATH_W=echo
2878 fi
2879 fi
2880
2881
2882 # Define the identity of the package.
2883 PACKAGE=libdvbcsa
2884 VERSION=1.1.0
2885
2886
2887 cat >>confdefs.h <<_ACEOF
2888 #define PACKAGE "$PACKAGE"
2889 _ACEOF
2890
2891
2892 cat >>confdefs.h <<_ACEOF
2893 #define VERSION "$VERSION"
2894 _ACEOF
2895
2896 # Some tools Automake needs.
2897
2898 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2899
2900
2901 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2902
2903
2904 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2905
2906
2907 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2908
2909
2910 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2911
2912 # We need awk for the "check" target. The system "awk" is bad on
2913 # some platforms.
2914 # Always define AMTAR for backward compatibility.
2915
2916 AMTAR=${AMTAR-"${am_missing_run}tar"}
2917
2918 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2919
2920
2921
2922
2923
2924 ac_config_headers="$ac_config_headers config.h"
2925
2926
2927 ac_ext=c
2928 ac_cpp='$CPP $CPPFLAGS'
2929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2932 if test -n "$ac_tool_prefix"; then
2933 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2934 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_CC+:} false; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC="$CC" # Let the user override the test.
2942 else
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2945 do
2946 IFS=$as_save_IFS
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 break 2
2953 fi
2954 done
2955 done
2956 IFS=$as_save_IFS
2957
2958 fi
2959 fi
2960 CC=$ac_cv_prog_CC
2961 if test -n "$CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2963 $as_echo "$CC" >&6; }
2964 else
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2967 fi
2968
2969
2970 fi
2971 if test -z "$ac_cv_prog_CC"; then
2972 ac_ct_CC=$CC
2973 # Extract the first word of "gcc", so it can be a program name with args.
2974 set dummy gcc; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 if test -n "$ac_ct_CC"; then
2981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2982 else
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 for as_dir in $PATH
2985 do
2986 IFS=$as_save_IFS
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_ac_ct_CC="gcc"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 break 2
2993 fi
2994 done
2995 done
2996 IFS=$as_save_IFS
2997
2998 fi
2999 fi
3000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3001 if test -n "$ac_ct_CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3003 $as_echo "$ac_ct_CC" >&6; }
3004 else
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3007 fi
3008
3009 if test "x$ac_ct_CC" = x; then
3010 CC=""
3011 else
3012 case $cross_compiling:$ac_tool_warned in
3013 yes:)
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016 ac_tool_warned=yes ;;
3017 esac
3018 CC=$ac_ct_CC
3019 fi
3020 else
3021 CC="$ac_cv_prog_CC"
3022 fi
3023
3024 if test -z "$CC"; then
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3027 set dummy ${ac_tool_prefix}cc; ac_word=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_CC+:} false; then :
3031 $as_echo_n "(cached) " >&6
3032 else
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC="$CC" # Let the user override the test.
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3038 do
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_CC="${ac_tool_prefix}cc"
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 break 2
3046 fi
3047 done
3048 done
3049 IFS=$as_save_IFS
3050
3051 fi
3052 fi
3053 CC=$ac_cv_prog_CC
3054 if test -n "$CC"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3056 $as_echo "$CC" >&6; }
3057 else
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059 $as_echo "no" >&6; }
3060 fi
3061
3062
3063 fi
3064 fi
3065 if test -z "$CC"; then
3066 # Extract the first word of "cc", so it can be a program name with args.
3067 set dummy cc; ac_word=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if ${ac_cv_prog_CC+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 if test -n "$CC"; then
3074 ac_cv_prog_CC="$CC" # Let the user override the test.
3075 else
3076 ac_prog_rejected=no
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3085 ac_prog_rejected=yes
3086 continue
3087 fi
3088 ac_cv_prog_CC="cc"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 break 2
3091 fi
3092 done
3093 done
3094 IFS=$as_save_IFS
3095
3096 if test $ac_prog_rejected = yes; then
3097 # We found a bogon in the path, so make sure we never use it.
3098 set dummy $ac_cv_prog_CC
3099 shift
3100 if test $# != 0; then
3101 # We chose a different compiler from the bogus one.
3102 # However, it has the same basename, so the bogon will be chosen
3103 # first if we set CC to just the basename; use the full file name.
3104 shift
3105 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3106 fi
3107 fi
3108 fi
3109 fi
3110 CC=$ac_cv_prog_CC
3111 if test -n "$CC"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3113 $as_echo "$CC" >&6; }
3114 else
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3117 fi
3118
3119
3120 fi
3121 if test -z "$CC"; then
3122 if test -n "$ac_tool_prefix"; then
3123 for ac_prog in cl.exe
3124 do
3125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_CC+:} false; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC="$CC" # Let the user override the test.
3134 else
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3137 do
3138 IFS=$as_save_IFS
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 break 2
3145 fi
3146 done
3147 done
3148 IFS=$as_save_IFS
3149
3150 fi
3151 fi
3152 CC=$ac_cv_prog_CC
3153 if test -n "$CC"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3155 $as_echo "$CC" >&6; }
3156 else
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3159 fi
3160
3161
3162 test -n "$CC" && break
3163 done
3164 fi
3165 if test -z "$CC"; then
3166 ac_ct_CC=$CC
3167 for ac_prog in cl.exe
3168 do
3169 # Extract the first word of "$ac_prog", so it can be a program name with args.
3170 set dummy $ac_prog; ac_word=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3174 $as_echo_n "(cached) " >&6
3175 else
3176 if test -n "$ac_ct_CC"; then
3177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3178 else
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 for as_dir in $PATH
3181 do
3182 IFS=$as_save_IFS
3183 test -z "$as_dir" && as_dir=.
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_ac_ct_CC="$ac_prog"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 break 2
3189 fi
3190 done
3191 done
3192 IFS=$as_save_IFS
3193
3194 fi
3195 fi
3196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3197 if test -n "$ac_ct_CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3199 $as_echo "$ac_ct_CC" >&6; }
3200 else
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 fi
3204
3205
3206 test -n "$ac_ct_CC" && break
3207 done
3208
3209 if test "x$ac_ct_CC" = x; then
3210 CC=""
3211 else
3212 case $cross_compiling:$ac_tool_warned in
3213 yes:)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned=yes ;;
3217 esac
3218 CC=$ac_ct_CC
3219 fi
3220 fi
3221
3222 fi
3223
3224
3225 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error $? "no acceptable C compiler found in \$PATH
3228 See \`config.log' for more details" "$LINENO" 5; }
3229
3230 # Provide some information about the compiler.
3231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3232 set X $ac_compile
3233 ac_compiler=$2
3234 for ac_option in --version -v -V -qversion; do
3235 { { ac_try="$ac_compiler $ac_option >&5"
3236 case "(($ac_try" in
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3239 esac
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3243 ac_status=$?
3244 if test -s conftest.err; then
3245 sed '10a\
3246 ... rest of stderr output deleted ...
3247 10q' conftest.err >conftest.er1
3248 cat conftest.er1 >&5
3249 fi
3250 rm -f conftest.er1 conftest.err
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; }
3253 done
3254
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3257
3258 int
3259 main ()
3260 {
3261
3262 ;
3263 return 0;
3264 }
3265 _ACEOF
3266 ac_clean_files_save=$ac_clean_files
3267 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3268 # Try to create an executable without -o first, disregard a.out.
3269 # It will help us diagnose broken compilers, and finding out an intuition
3270 # of exeext.
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3272 $as_echo_n "checking whether the C compiler works... " >&6; }
3273 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3274
3275 # The possible output files:
3276 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3277
3278 ac_rmfiles=
3279 for ac_file in $ac_files
3280 do
3281 case $ac_file in
3282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3283 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3284 esac
3285 done
3286 rm -f $ac_rmfiles
3287
3288 if { { ac_try="$ac_link_default"
3289 case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3292 esac
3293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3295 (eval "$ac_link_default") 2>&5
3296 ac_status=$?
3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3298 test $ac_status = 0; }; then :
3299 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3300 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3301 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3302 # so that the user can short-circuit this test for compilers unknown to
3303 # Autoconf.
3304 for ac_file in $ac_files ''
3305 do
3306 test -f "$ac_file" || continue
3307 case $ac_file in
3308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3309 ;;
3310 [ab].out )
3311 # We found the default executable, but exeext='' is most
3312 # certainly right.
3313 break;;
3314 *.* )
3315 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3316 then :; else
3317 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3318 fi
3319 # We set ac_cv_exeext here because the later test for it is not
3320 # safe: cross compilers may not add the suffix if given an `-o'
3321 # argument, so we may need to know it at that point already.
3322 # Even if this section looks crufty: it has the advantage of
3323 # actually working.
3324 break;;
3325 * )
3326 break;;
3327 esac
3328 done
3329 test "$ac_cv_exeext" = no && ac_cv_exeext=
3330
3331 else
3332 ac_file=''
3333 fi
3334 if test -z "$ac_file"; then :
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3337 $as_echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3339
3340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3342 as_fn_error 77 "C compiler cannot create executables
3343 See \`config.log' for more details" "$LINENO" 5; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3346 $as_echo "yes" >&6; }
3347 fi
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3349 $as_echo_n "checking for C compiler default output file name... " >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3351 $as_echo "$ac_file" >&6; }
3352 ac_exeext=$ac_cv_exeext
3353
3354 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3355 ac_clean_files=$ac_clean_files_save
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3357 $as_echo_n "checking for suffix of executables... " >&6; }
3358 if { { ac_try="$ac_link"
3359 case "(($ac_try" in
3360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361 *) ac_try_echo=$ac_try;;
3362 esac
3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364 $as_echo "$ac_try_echo"; } >&5
3365 (eval "$ac_link") 2>&5
3366 ac_status=$?
3367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368 test $ac_status = 0; }; then :
3369 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3370 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3371 # work properly (i.e., refer to `conftest.exe'), while it won't with
3372 # `rm'.
3373 for ac_file in conftest.exe conftest conftest.*; do
3374 test -f "$ac_file" || continue
3375 case $ac_file in
3376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3377 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3378 break;;
3379 * ) break;;
3380 esac
3381 done
3382 else
3383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3386 See \`config.log' for more details" "$LINENO" 5; }
3387 fi
3388 rm -f conftest conftest$ac_cv_exeext
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3390 $as_echo "$ac_cv_exeext" >&6; }
3391
3392 rm -f conftest.$ac_ext
3393 EXEEXT=$ac_cv_exeext
3394 ac_exeext=$EXEEXT
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3397 #include <stdio.h>
3398 int
3399 main ()
3400 {
3401 FILE *f = fopen ("conftest.out", "w");
3402 return ferror (f) || fclose (f) != 0;
3403
3404 ;
3405 return 0;
3406 }
3407 _ACEOF
3408 ac_clean_files="$ac_clean_files conftest.out"
3409 # Check that the compiler produces executables we can run. If not, either
3410 # the compiler is broken, or we cross compile.
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3412 $as_echo_n "checking whether we are cross compiling... " >&6; }
3413 if test "$cross_compiling" != yes; then
3414 { { ac_try="$ac_link"
3415 case "(($ac_try" in
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3418 esac
3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3420 $as_echo "$ac_try_echo"; } >&5
3421 (eval "$ac_link") 2>&5
3422 ac_status=$?
3423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3424 test $ac_status = 0; }
3425 if { ac_try='./conftest$ac_cv_exeext'
3426 { { case "(($ac_try" in
3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3429 esac
3430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3431 $as_echo "$ac_try_echo"; } >&5
3432 (eval "$ac_try") 2>&5
3433 ac_status=$?
3434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435 test $ac_status = 0; }; }; then
3436 cross_compiling=no
3437 else
3438 if test "$cross_compiling" = maybe; then
3439 cross_compiling=yes
3440 else
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error $? "cannot run C compiled programs.
3444 If you meant to cross compile, use \`--host'.
3445 See \`config.log' for more details" "$LINENO" 5; }
3446 fi
3447 fi
3448 fi
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3450 $as_echo "$cross_compiling" >&6; }
3451
3452 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3453 ac_clean_files=$ac_clean_files_save
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3455 $as_echo_n "checking for suffix of object files... " >&6; }
3456 if ${ac_cv_objext+:} false; then :
3457 $as_echo_n "(cached) " >&6
3458 else
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3461
3462 int
3463 main ()
3464 {
3465
3466 ;
3467 return 0;
3468 }
3469 _ACEOF
3470 rm -f conftest.o conftest.obj
3471 if { { ac_try="$ac_compile"
3472 case "(($ac_try" in
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3475 esac
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_compile") 2>&5
3479 ac_status=$?
3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3481 test $ac_status = 0; }; then :
3482 for ac_file in conftest.o conftest.obj conftest.*; do
3483 test -f "$ac_file" || continue;
3484 case $ac_file in
3485 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3486 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3487 break;;
3488 esac
3489 done
3490 else
3491 $as_echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3493
3494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496 as_fn_error $? "cannot compute suffix of object files: cannot compile
3497 See \`config.log' for more details" "$LINENO" 5; }
3498 fi
3499 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3500 fi
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3502 $as_echo "$ac_cv_objext" >&6; }
3503 OBJEXT=$ac_cv_objext
3504 ac_objext=$OBJEXT
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3506 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3507 if ${ac_cv_c_compiler_gnu+:} false; then :
3508 $as_echo_n "(cached) " >&6
3509 else
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3512
3513 int
3514 main ()
3515 {
3516 #ifndef __GNUC__
3517 choke me
3518 #endif
3519
3520 ;
3521 return 0;
3522 }
3523 _ACEOF
3524 if ac_fn_c_try_compile "$LINENO"; then :
3525 ac_compiler_gnu=yes
3526 else
3527 ac_compiler_gnu=no
3528 fi
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3531
3532 fi
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3534 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3535 if test $ac_compiler_gnu = yes; then
3536 GCC=yes
3537 else
3538 GCC=
3539 fi
3540 ac_test_CFLAGS=${CFLAGS+set}
3541 ac_save_CFLAGS=$CFLAGS
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3543 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3544 if ${ac_cv_prog_cc_g+:} false; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 ac_save_c_werror_flag=$ac_c_werror_flag
3548 ac_c_werror_flag=yes
3549 ac_cv_prog_cc_g=no
3550 CFLAGS="-g"
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3553
3554 int
3555 main ()
3556 {
3557
3558 ;
3559 return 0;
3560 }
3561 _ACEOF
3562 if ac_fn_c_try_compile "$LINENO"; then :
3563 ac_cv_prog_cc_g=yes
3564 else
3565 CFLAGS=""
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3568
3569 int
3570 main ()
3571 {
3572
3573 ;
3574 return 0;
3575 }
3576 _ACEOF
3577 if ac_fn_c_try_compile "$LINENO"; then :
3578
3579 else
3580 ac_c_werror_flag=$ac_save_c_werror_flag
3581 CFLAGS="-g"
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3584
3585 int
3586 main ()
3587 {
3588
3589 ;
3590 return 0;
3591 }
3592 _ACEOF
3593 if ac_fn_c_try_compile "$LINENO"; then :
3594 ac_cv_prog_cc_g=yes
3595 fi
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 fi
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 fi
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 ac_c_werror_flag=$ac_save_c_werror_flag
3602 fi
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3604 $as_echo "$ac_cv_prog_cc_g" >&6; }
3605 if test "$ac_test_CFLAGS" = set; then
3606 CFLAGS=$ac_save_CFLAGS
3607 elif test $ac_cv_prog_cc_g = yes; then
3608 if test "$GCC" = yes; then
3609 CFLAGS="-g -O2"
3610 else
3611 CFLAGS="-g"
3612 fi
3613 else
3614 if test "$GCC" = yes; then
3615 CFLAGS="-O2"
3616 else
3617 CFLAGS=
3618 fi
3619 fi
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3621 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3622 if ${ac_cv_prog_cc_c89+:} false; then :
3623 $as_echo_n "(cached) " >&6
3624 else
3625 ac_cv_prog_cc_c89=no
3626 ac_save_CC=$CC
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3629 #include <stdarg.h>
3630 #include <stdio.h>
3631 #include <sys/types.h>
3632 #include <sys/stat.h>
3633 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3634 struct buf { int x; };
3635 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3636 static char *e (p, i)
3637 char **p;
3638 int i;
3639 {
3640 return p[i];
3641 }
3642 static char *f (char * (*g) (char **, int), char **p, ...)
3643 {
3644 char *s;
3645 va_list v;
3646 va_start (v,p);
3647 s = g (p, va_arg (v,int));
3648 va_end (v);
3649 return s;
3650 }
3651
3652 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3653 function prototypes and stuff, but not '\xHH' hex character constants.
3654 These don't provoke an error unfortunately, instead are silently treated
3655 as 'x'. The following induces an error, until -std is added to get
3656 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3657 array size at least. It's necessary to write '\x00'==0 to get something
3658 that's true only with -std. */
3659 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3660
3661 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3662 inside strings and character constants. */
3663 #define FOO(x) 'x'
3664 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3665
3666 int test (int i, double x);
3667 struct s1 {int (*f) (int a);};
3668 struct s2 {int (*f) (double a);};
3669 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670 int argc;
3671 char **argv;
3672 int
3673 main ()
3674 {
3675 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3681 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3682 do
3683 CC="$ac_save_CC $ac_arg"
3684 if ac_fn_c_try_compile "$LINENO"; then :
3685 ac_cv_prog_cc_c89=$ac_arg
3686 fi
3687 rm -f core conftest.err conftest.$ac_objext
3688 test "x$ac_cv_prog_cc_c89" != "xno" && break
3689 done
3690 rm -f conftest.$ac_ext
3691 CC=$ac_save_CC
3692
3693 fi
3694 # AC_CACHE_VAL
3695 case "x$ac_cv_prog_cc_c89" in
3696 x)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3698 $as_echo "none needed" >&6; } ;;
3699 xno)
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3701 $as_echo "unsupported" >&6; } ;;
3702 *)
3703 CC="$CC $ac_cv_prog_cc_c89"
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3705 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3706 esac
3707 if test "x$ac_cv_prog_cc_c89" != xno; then :
3708
3709 fi
3710
3711 ac_ext=c
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 DEPDIR="${am__leading_dot}deps"
3717
3718 ac_config_commands="$ac_config_commands depfiles"
3719
3720
3721 am_make=${MAKE-make}
3722 cat > confinc << 'END'
3723 am__doit:
3724 @echo this is the am__doit target
3725 .PHONY: am__doit
3726 END
3727 # If we don't find an include directive, just comment out the code.
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3729 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3730 am__include="#"
3731 am__quote=
3732 _am_result=none
3733 # First try GNU make style include.
3734 echo "include confinc" > confmf
3735 # Ignore all kinds of additional output from `make'.
3736 case `$am_make -s -f confmf 2> /dev/null` in #(
3737 *the\ am__doit\ target*)
3738 am__include=include
3739 am__quote=
3740 _am_result=GNU
3741 ;;
3742 esac
3743 # Now try BSD make style include.
3744 if test "$am__include" = "#"; then
3745 echo '.include "confinc"' > confmf
3746 case `$am_make -s -f confmf 2> /dev/null` in #(
3747 *the\ am__doit\ target*)
3748 am__include=.include
3749 am__quote="\""
3750 _am_result=BSD
3751 ;;
3752 esac
3753 fi
3754
3755
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3757 $as_echo "$_am_result" >&6; }
3758 rm -f confinc confmf
3759
3760 # Check whether --enable-dependency-tracking was given.
3761 if test "${enable_dependency_tracking+set}" = set; then :
3762 enableval=$enable_dependency_tracking;
3763 fi
3764
3765 if test "x$enable_dependency_tracking" != xno; then
3766 am_depcomp="$ac_aux_dir/depcomp"
3767 AMDEPBACKSLASH='\'
3768 fi
3769 if test "x$enable_dependency_tracking" != xno; then
3770 AMDEP_TRUE=
3771 AMDEP_FALSE='#'
3772 else
3773 AMDEP_TRUE='#'
3774 AMDEP_FALSE=
3775 fi
3776
3777
3778
3779 depcc="$CC" am_compiler_list=
3780
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3782 $as_echo_n "checking dependency style of $depcc... " >&6; }
3783 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3787 # We make a subdir and do the tests there. Otherwise we can end up
3788 # making bogus files that we don't know about and never remove. For
3789 # instance it was reported that on HP-UX the gcc test will end up
3790 # making a dummy file named `D' -- because `-MD' means `put the output
3791 # in D'.
3792 mkdir conftest.dir
3793 # Copy depcomp to subdir because otherwise we won't find it if we're
3794 # using a relative directory.
3795 cp "$am_depcomp" conftest.dir
3796 cd conftest.dir
3797 # We will build objects and dependencies in a subdirectory because
3798 # it helps to detect inapplicable dependency modes. For instance
3799 # both Tru64's cc and ICC support -MD to output dependencies as a
3800 # side effect of compilation, but ICC will put the dependencies in
3801 # the current directory while Tru64 will put them in the object
3802 # directory.
3803 mkdir sub
3804
3805 am_cv_CC_dependencies_compiler_type=none
3806 if test "$am_compiler_list" = ""; then
3807 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3808 fi
3809 am__universal=false
3810 case " $depcc " in #(
3811 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3812 esac
3813
3814 for depmode in $am_compiler_list; do
3815 # Setup a source with many dependencies, because some compilers
3816 # like to wrap large dependency lists on column 80 (with \), and
3817 # we should not choose a depcomp mode which is confused by this.
3818 #
3819 # We need to recreate these files for each test, as the compiler may
3820 # overwrite some of them when testing with obscure command lines.
3821 # This happens at least with the AIX C compiler.
3822 : > sub/conftest.c
3823 for i in 1 2 3 4 5 6; do
3824 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3825 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3826 # Solaris 8's {/usr,}/bin/sh.
3827 touch sub/conftst$i.h
3828 done
3829 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3830
3831 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3832 # mode. It turns out that the SunPro C++ compiler does not properly
3833 # handle `-M -o', and we need to detect this. Also, some Intel
3834 # versions had trouble with output in subdirs
3835 am__obj=sub/conftest.${OBJEXT-o}
3836 am__minus_obj="-o $am__obj"
3837 case $depmode in
3838 gcc)
3839 # This depmode causes a compiler race in universal mode.
3840 test "$am__universal" = false || continue
3841 ;;
3842 nosideeffect)
3843 # after this tag, mechanisms are not by side-effect, so they'll
3844 # only be used when explicitly requested
3845 if test "x$enable_dependency_tracking" = xyes; then
3846 continue
3847 else
3848 break
3849 fi
3850 ;;
3851 msvisualcpp | msvcmsys)
3852 # This compiler won't grok `-c -o', but also, the minuso test has
3853 # not run yet. These depmodes are late enough in the game, and
3854 # so weak that their functioning should not be impacted.
3855 am__obj=conftest.${OBJEXT-o}
3856 am__minus_obj=
3857 ;;
3858 none) break ;;
3859 esac
3860 if depmode=$depmode \
3861 source=sub/conftest.c object=$am__obj \
3862 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3863 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3864 >/dev/null 2>conftest.err &&
3865 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3866 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3867 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3868 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3869 # icc doesn't choke on unknown options, it will just issue warnings
3870 # or remarks (even with -Werror). So we grep stderr for any message
3871 # that says an option was ignored or not supported.
3872 # When given -MP, icc 7.0 and 7.1 complain thusly:
3873 # icc: Command line warning: ignoring option '-M'; no argument required
3874 # The diagnosis changed in icc 8.0:
3875 # icc: Command line remark: option '-MP' not supported
3876 if (grep 'ignoring option' conftest.err ||
3877 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3878 am_cv_CC_dependencies_compiler_type=$depmode
3879 break
3880 fi
3881 fi
3882 done
3883
3884 cd ..
3885 rm -rf conftest.dir
3886 else
3887 am_cv_CC_dependencies_compiler_type=none
3888 fi
3889
3890 fi
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3892 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3893 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3894
3895 if
3896 test "x$enable_dependency_tracking" != xno \
3897 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3898 am__fastdepCC_TRUE=
3899 am__fastdepCC_FALSE='#'
3900 else
3901 am__fastdepCC_TRUE='#'
3902 am__fastdepCC_FALSE=
3903 fi
3904
3905
3906
3907 case `pwd` in
3908 *\ * | *\ *)
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3910 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3911 esac
3912
3913
3914
3915 macro_version='2.4'
3916 macro_revision='1.3293'
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930 ltmain="$ac_aux_dir/ltmain.sh"
3931
3932 # Make sure we can run config.sub.
3933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3934 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3935
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3937 $as_echo_n "checking build system type... " >&6; }
3938 if ${ac_cv_build+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 ac_build_alias=$build_alias
3942 test "x$ac_build_alias" = x &&
3943 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3944 test "x$ac_build_alias" = x &&
3945 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3946 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3948
3949 fi
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3951 $as_echo "$ac_cv_build" >&6; }
3952 case $ac_cv_build in
3953 *-*-*) ;;
3954 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3955 esac
3956 build=$ac_cv_build
3957 ac_save_IFS=$IFS; IFS='-'
3958 set x $ac_cv_build
3959 shift
3960 build_cpu=$1
3961 build_vendor=$2
3962 shift; shift
3963 # Remember, the first character of IFS is used to create $*,
3964 # except with old shells:
3965 build_os=$*
3966 IFS=$ac_save_IFS
3967 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3968
3969
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3971 $as_echo_n "checking host system type... " >&6; }
3972 if ${ac_cv_host+:} false; then :
3973 $as_echo_n "(cached) " >&6
3974 else
3975 if test "x$host_alias" = x; then
3976 ac_cv_host=$ac_cv_build
3977 else
3978 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3979 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3980 fi
3981
3982 fi
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3984 $as_echo "$ac_cv_host" >&6; }
3985 case $ac_cv_host in
3986 *-*-*) ;;
3987 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3988 esac
3989 host=$ac_cv_host
3990 ac_save_IFS=$IFS; IFS='-'
3991 set x $ac_cv_host
3992 shift
3993 host_cpu=$1
3994 host_vendor=$2
3995 shift; shift
3996 # Remember, the first character of IFS is used to create $*,
3997 # except with old shells:
3998 host_os=$*
3999 IFS=$ac_save_IFS
4000 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4001
4002
4003 # Backslashify metacharacters that are still active within
4004 # double-quoted strings.
4005 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4006
4007 # Same as above, but do not quote variable references.
4008 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4009
4010 # Sed substitution to delay expansion of an escaped shell variable in a
4011 # double_quote_subst'ed string.
4012 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4013
4014 # Sed substitution to delay expansion of an escaped single quote.
4015 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4016
4017 # Sed substitution to avoid accidental globbing in evaled expressions
4018 no_glob_subst='s/\*/\\\*/g'
4019
4020 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4021 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4022 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4023
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4025 $as_echo_n "checking how to print strings... " >&6; }
4026 # Test print first, because it will be a builtin if present.
4027 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4028 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4029 ECHO='print -r --'
4030 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4031 ECHO='printf %s\n'
4032 else
4033 # Use this function as a fallback that always works.
4034 func_fallback_echo ()
4035 {
4036 eval 'cat <<_LTECHO_EOF
4037 $1
4038 _LTECHO_EOF'
4039 }
4040 ECHO='func_fallback_echo'
4041 fi
4042
4043 # func_echo_all arg...
4044 # Invoke $ECHO with all args, space-separated.
4045 func_echo_all ()
4046 {
4047 $ECHO ""
4048 }
4049
4050 case "$ECHO" in
4051 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4052 $as_echo "printf" >&6; } ;;
4053 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4054 $as_echo "print -r" >&6; } ;;
4055 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4056 $as_echo "cat" >&6; } ;;
4057 esac
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4073 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4074 if ${ac_cv_path_SED+:} false; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4078 for ac_i in 1 2 3 4 5 6 7; do
4079 ac_script="$ac_script$as_nl$ac_script"
4080 done
4081 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4082 { ac_script=; unset ac_script;}
4083 if test -z "$SED"; then
4084 ac_path_SED_found=false
4085 # Loop through the user's path and test for each of PROGNAME-LIST
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 for as_dir in $PATH
4088 do
4089 IFS=$as_save_IFS
4090 test -z "$as_dir" && as_dir=.
4091 for ac_prog in sed gsed; do
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4094 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4095 # Check for GNU ac_path_SED and select it if it is found.
4096 # Check for GNU $ac_path_SED
4097 case `"$ac_path_SED" --version 2>&1` in
4098 *GNU*)
4099 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4100 *)
4101 ac_count=0
4102 $as_echo_n 0123456789 >"conftest.in"
4103 while :
4104 do
4105 cat "conftest.in" "conftest.in" >"conftest.tmp"
4106 mv "conftest.tmp" "conftest.in"
4107 cp "conftest.in" "conftest.nl"
4108 $as_echo '' >> "conftest.nl"
4109 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4111 as_fn_arith $ac_count + 1 && ac_count=$as_val
4112 if test $ac_count -gt ${ac_path_SED_max-0}; then
4113 # Best one so far, save it but keep looking for a better one
4114 ac_cv_path_SED="$ac_path_SED"
4115 ac_path_SED_max=$ac_count
4116 fi
4117 # 10*(2^10) chars as input seems more than enough
4118 test $ac_count -gt 10 && break
4119 done
4120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4121 esac
4122
4123 $ac_path_SED_found && break 3
4124 done
4125 done
4126 done
4127 IFS=$as_save_IFS
4128 if test -z "$ac_cv_path_SED"; then
4129 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4130 fi
4131 else
4132 ac_cv_path_SED=$SED
4133 fi
4134
4135 fi
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4137 $as_echo "$ac_cv_path_SED" >&6; }
4138 SED="$ac_cv_path_SED"
4139 rm -f conftest.sed
4140
4141 test -z "$SED" && SED=sed
4142 Xsed="$SED -e 1s/^X//"
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4155 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4156 if ${ac_cv_path_GREP+:} false; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 if test -z "$GREP"; then
4160 ac_path_GREP_found=false
4161 # Loop through the user's path and test for each of PROGNAME-LIST
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4164 do
4165 IFS=$as_save_IFS
4166 test -z "$as_dir" && as_dir=.
4167 for ac_prog in grep ggrep; do
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4170 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4171 # Check for GNU ac_path_GREP and select it if it is found.
4172 # Check for GNU $ac_path_GREP
4173 case `"$ac_path_GREP" --version 2>&1` in
4174 *GNU*)
4175 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4176 *)
4177 ac_count=0
4178 $as_echo_n 0123456789 >"conftest.in"
4179 while :
4180 do
4181 cat "conftest.in" "conftest.in" >"conftest.tmp"
4182 mv "conftest.tmp" "conftest.in"
4183 cp "conftest.in" "conftest.nl"
4184 $as_echo 'GREP' >> "conftest.nl"
4185 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4186 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4187 as_fn_arith $ac_count + 1 && ac_count=$as_val
4188 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4189 # Best one so far, save it but keep looking for a better one
4190 ac_cv_path_GREP="$ac_path_GREP"
4191 ac_path_GREP_max=$ac_count
4192 fi
4193 # 10*(2^10) chars as input seems more than enough
4194 test $ac_count -gt 10 && break
4195 done
4196 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4197 esac
4198
4199 $ac_path_GREP_found && break 3
4200 done
4201 done
4202 done
4203 IFS=$as_save_IFS
4204 if test -z "$ac_cv_path_GREP"; then
4205 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4206 fi
4207 else
4208 ac_cv_path_GREP=$GREP
4209 fi
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4213 $as_echo "$ac_cv_path_GREP" >&6; }
4214 GREP="$ac_cv_path_GREP"
4215
4216
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4218 $as_echo_n "checking for egrep... " >&6; }
4219 if ${ac_cv_path_EGREP+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4223 then ac_cv_path_EGREP="$GREP -E"
4224 else
4225 if test -z "$EGREP"; then
4226 ac_path_EGREP_found=false
4227 # Loop through the user's path and test for each of PROGNAME-LIST
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4230 do
4231 IFS=$as_save_IFS
4232 test -z "$as_dir" && as_dir=.
4233 for ac_prog in egrep; do
4234 for ac_exec_ext in '' $ac_executable_extensions; do
4235 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4236 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4237 # Check for GNU ac_path_EGREP and select it if it is found.
4238 # Check for GNU $ac_path_EGREP
4239 case `"$ac_path_EGREP" --version 2>&1` in
4240 *GNU*)
4241 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4242 *)
4243 ac_count=0
4244 $as_echo_n 0123456789 >"conftest.in"
4245 while :
4246 do
4247 cat "conftest.in" "conftest.in" >"conftest.tmp"
4248 mv "conftest.tmp" "conftest.in"
4249 cp "conftest.in" "conftest.nl"
4250 $as_echo 'EGREP' >> "conftest.nl"
4251 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4252 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4253 as_fn_arith $ac_count + 1 && ac_count=$as_val
4254 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4255 # Best one so far, save it but keep looking for a better one
4256 ac_cv_path_EGREP="$ac_path_EGREP"
4257 ac_path_EGREP_max=$ac_count
4258 fi
4259 # 10*(2^10) chars as input seems more than enough
4260 test $ac_count -gt 10 && break
4261 done
4262 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4263 esac
4264
4265 $ac_path_EGREP_found && break 3
4266 done
4267 done
4268 done
4269 IFS=$as_save_IFS
4270 if test -z "$ac_cv_path_EGREP"; then
4271 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4272 fi
4273 else
4274 ac_cv_path_EGREP=$EGREP
4275 fi
4276
4277 fi
4278 fi
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4280 $as_echo "$ac_cv_path_EGREP" >&6; }
4281 EGREP="$ac_cv_path_EGREP"
4282
4283
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4285 $as_echo_n "checking for fgrep... " >&6; }
4286 if ${ac_cv_path_FGREP+:} false; then :
4287 $as_echo_n "(cached) " >&6
4288 else
4289 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4290 then ac_cv_path_FGREP="$GREP -F"
4291 else
4292 if test -z "$FGREP"; then
4293 ac_path_FGREP_found=false
4294 # Loop through the user's path and test for each of PROGNAME-LIST
4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4297 do
4298 IFS=$as_save_IFS
4299 test -z "$as_dir" && as_dir=.
4300 for ac_prog in fgrep; do
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4303 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4304 # Check for GNU ac_path_FGREP and select it if it is found.
4305 # Check for GNU $ac_path_FGREP
4306 case `"$ac_path_FGREP" --version 2>&1` in
4307 *GNU*)
4308 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4309 *)
4310 ac_count=0
4311 $as_echo_n 0123456789 >"conftest.in"
4312 while :
4313 do
4314 cat "conftest.in" "conftest.in" >"conftest.tmp"
4315 mv "conftest.tmp" "conftest.in"
4316 cp "conftest.in" "conftest.nl"
4317 $as_echo 'FGREP' >> "conftest.nl"
4318 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4320 as_fn_arith $ac_count + 1 && ac_count=$as_val
4321 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4322 # Best one so far, save it but keep looking for a better one
4323 ac_cv_path_FGREP="$ac_path_FGREP"
4324 ac_path_FGREP_max=$ac_count
4325 fi
4326 # 10*(2^10) chars as input seems more than enough
4327 test $ac_count -gt 10 && break
4328 done
4329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4330 esac
4331
4332 $ac_path_FGREP_found && break 3
4333 done
4334 done
4335 done
4336 IFS=$as_save_IFS
4337 if test -z "$ac_cv_path_FGREP"; then
4338 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4339 fi
4340 else
4341 ac_cv_path_FGREP=$FGREP
4342 fi
4343
4344 fi
4345 fi
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4347 $as_echo "$ac_cv_path_FGREP" >&6; }
4348 FGREP="$ac_cv_path_FGREP"
4349
4350
4351 test -z "$GREP" && GREP=grep
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371 # Check whether --with-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then :
4373 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4374 else
4375 with_gnu_ld=no
4376 fi
4377
4378 ac_prog=ld
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4382 $as_echo_n "checking for ld used by $CC... " >&6; }
4383 case $host in
4384 *-*-mingw*)
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4387 *)
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 esac
4390 case $ac_prog in
4391 # Accept absolute paths.
4392 [\\/]* | ?:[\\/]*)
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 done
4399 test -z "$LD" && LD="$ac_prog"
4400 ;;
4401 "")
4402 # If it fails, then pretend we aren't using GCC.
4403 ac_prog=ld
4404 ;;
4405 *)
4406 # If it is relative, then search for the first ld in PATH.
4407 with_gnu_ld=unknown
4408 ;;
4409 esac
4410 elif test "$with_gnu_ld" = yes; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4412 $as_echo_n "checking for GNU ld... " >&6; }
4413 else
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4415 $as_echo_n "checking for non-GNU ld... " >&6; }
4416 fi
4417 if ${lt_cv_path_LD+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4423 IFS="$lt_save_ifs"
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4433 ;;
4434 *)
4435 test "$with_gnu_ld" != yes && break
4436 ;;
4437 esac
4438 fi
4439 done
4440 IFS="$lt_save_ifs"
4441 else
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4443 fi
4444 fi
4445
4446 LD="$lt_cv_path_LD"
4447 if test -n "$LD"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4449 $as_echo "$LD" >&6; }
4450 else
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4453 fi
4454 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4456 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4457 if ${lt_cv_prog_gnu_ld+:} false; then :
4458 $as_echo_n "(cached) " >&6
4459 else
4460 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4461 case `$LD -v 2>&1 </dev/null` in
4462 *GNU* | *'with BFD'*)
4463 lt_cv_prog_gnu_ld=yes
4464 ;;
4465 *)
4466 lt_cv_prog_gnu_ld=no
4467 ;;
4468 esac
4469 fi
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4471 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4472 with_gnu_ld=$lt_cv_prog_gnu_ld
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4483 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4484 if ${lt_cv_path_NM+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 if test -n "$NM"; then
4488 # Let the user override the test.
4489 lt_cv_path_NM="$NM"
4490 else
4491 lt_nm_to_check="${ac_tool_prefix}nm"
4492 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4493 lt_nm_to_check="$lt_nm_to_check nm"
4494 fi
4495 for lt_tmp_nm in $lt_nm_to_check; do
4496 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4497 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4498 IFS="$lt_save_ifs"
4499 test -z "$ac_dir" && ac_dir=.
4500 tmp_nm="$ac_dir/$lt_tmp_nm"
4501 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4502 # Check to see if the nm accepts a BSD-compat flag.
4503 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4504 # nm: unknown option "B" ignored
4505 # Tru64's nm complains that /dev/null is an invalid object file
4506 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4507 */dev/null* | *'Invalid file or object type'*)
4508 lt_cv_path_NM="$tmp_nm -B"
4509 break
4510 ;;
4511 *)
4512 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4513 */dev/null*)
4514 lt_cv_path_NM="$tmp_nm -p"
4515 break
4516 ;;
4517 *)
4518 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4519 continue # so that we can try to find one that supports BSD flags
4520 ;;
4521 esac
4522 ;;
4523 esac
4524 fi
4525 done
4526 IFS="$lt_save_ifs"
4527 done
4528 : ${lt_cv_path_NM=no}
4529 fi
4530 fi
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4532 $as_echo "$lt_cv_path_NM" >&6; }
4533 if test "$lt_cv_path_NM" != "no"; then
4534 NM="$lt_cv_path_NM"
4535 else
4536 # Didn't find any BSD compatible name lister, look for dumpbin.
4537 if test -n "$DUMPBIN"; then :
4538 # Let the user override the test.
4539 else
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in dumpbin "link -dump"
4542 do
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_DUMPBIN+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 if test -n "$DUMPBIN"; then
4551 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4555 do
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4563 fi
4564 done
4565 done
4566 IFS=$as_save_IFS
4567
4568 fi
4569 fi
4570 DUMPBIN=$ac_cv_prog_DUMPBIN
4571 if test -n "$DUMPBIN"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4573 $as_echo "$DUMPBIN" >&6; }
4574 else
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4577 fi
4578
4579
4580 test -n "$DUMPBIN" && break
4581 done
4582 fi
4583 if test -z "$DUMPBIN"; then
4584 ac_ct_DUMPBIN=$DUMPBIN
4585 for ac_prog in dumpbin "link -dump"
4586 do
4587 # Extract the first word of "$ac_prog", so it can be a program name with args.
4588 set dummy $ac_prog; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 if test -n "$ac_ct_DUMPBIN"; then
4595 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4599 do
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4604 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4607 fi
4608 done
4609 done
4610 IFS=$as_save_IFS
4611
4612 fi
4613 fi
4614 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4615 if test -n "$ac_ct_DUMPBIN"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4617 $as_echo "$ac_ct_DUMPBIN" >&6; }
4618 else
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4621 fi
4622
4623
4624 test -n "$ac_ct_DUMPBIN" && break
4625 done
4626
4627 if test "x$ac_ct_DUMPBIN" = x; then
4628 DUMPBIN=":"
4629 else
4630 case $cross_compiling:$ac_tool_warned in
4631 yes:)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4635 esac
4636 DUMPBIN=$ac_ct_DUMPBIN
4637 fi
4638 fi
4639
4640 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4641 *COFF*)
4642 DUMPBIN="$DUMPBIN -symbols"
4643 ;;
4644 *)
4645 DUMPBIN=:
4646 ;;
4647 esac
4648 fi
4649
4650 if test "$DUMPBIN" != ":"; then
4651 NM="$DUMPBIN"
4652 fi
4653 fi
4654 test -z "$NM" && NM=nm
4655
4656
4657
4658
4659
4660
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4662 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4663 if ${lt_cv_nm_interface+:} false; then :
4664 $as_echo_n "(cached) " >&6
4665 else
4666 lt_cv_nm_interface="BSD nm"
4667 echo "int some_variable = 0;" > conftest.$ac_ext
4668 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4669 (eval "$ac_compile" 2>conftest.err)
4670 cat conftest.err >&5
4671 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4672 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4673 cat conftest.err >&5
4674 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4675 cat conftest.out >&5
4676 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4677 lt_cv_nm_interface="MS dumpbin"
4678 fi
4679 rm -f conftest*
4680 fi
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4682 $as_echo "$lt_cv_nm_interface" >&6; }
4683
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4685 $as_echo_n "checking whether ln -s works... " >&6; }
4686 LN_S=$as_ln_s
4687 if test "$LN_S" = "ln -s"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4689 $as_echo "yes" >&6; }
4690 else
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4692 $as_echo "no, using $LN_S" >&6; }
4693 fi
4694
4695 # find the maximum length of command line arguments
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4697 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4698 if ${lt_cv_sys_max_cmd_len+:} false; then :
4699 $as_echo_n "(cached) " >&6
4700 else
4701 i=0
4702 teststring="ABCD"
4703
4704 case $build_os in
4705 msdosdjgpp*)
4706 # On DJGPP, this test can blow up pretty badly due to problems in libc
4707 # (any single argument exceeding 2000 bytes causes a buffer overrun
4708 # during glob expansion). Even if it were fixed, the result of this
4709 # check would be larger than it should be.
4710 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4711 ;;
4712
4713 gnu*)
4714 # Under GNU Hurd, this test is not required because there is
4715 # no limit to the length of command line arguments.
4716 # Libtool will interpret -1 as no limit whatsoever
4717 lt_cv_sys_max_cmd_len=-1;
4718 ;;
4719
4720 cygwin* | mingw* | cegcc*)
4721 # On Win9x/ME, this test blows up -- it succeeds, but takes
4722 # about 5 minutes as the teststring grows exponentially.
4723 # Worse, since 9x/ME are not pre-emptively multitasking,
4724 # you end up with a "frozen" computer, even though with patience
4725 # the test eventually succeeds (with a max line length of 256k).
4726 # Instead, let's just punt: use the minimum linelength reported by
4727 # all of the supported platforms: 8192 (on NT/2K/XP).
4728 lt_cv_sys_max_cmd_len=8192;
4729 ;;
4730
4731 mint*)
4732 # On MiNT this can take a long time and run out of memory.
4733 lt_cv_sys_max_cmd_len=8192;
4734 ;;
4735
4736 amigaos*)
4737 # On AmigaOS with pdksh, this test takes hours, literally.
4738 # So we just punt and use a minimum line length of 8192.
4739 lt_cv_sys_max_cmd_len=8192;
4740 ;;
4741
4742 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4743 # This has been around since 386BSD, at least. Likely further.
4744 if test -x /sbin/sysctl; then
4745 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4746 elif test -x /usr/sbin/sysctl; then
4747 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4748 else
4749 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4750 fi
4751 # And add a safety zone
4752 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4753 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4754 ;;
4755
4756 interix*)
4757 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4758 lt_cv_sys_max_cmd_len=196608
4759 ;;
4760
4761 osf*)
4762 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4763 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4764 # nice to cause kernel panics so lets avoid the loop below.
4765 # First set a reasonable default.
4766 lt_cv_sys_max_cmd_len=16384
4767 #
4768 if test -x /sbin/sysconfig; then
4769 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4770 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4771 esac
4772 fi
4773 ;;
4774 sco3.2v5*)
4775 lt_cv_sys_max_cmd_len=102400
4776 ;;
4777 sysv5* | sco5v6* | sysv4.2uw2*)
4778 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4779 if test -n "$kargmax"; then
4780 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4781 else
4782 lt_cv_sys_max_cmd_len=32768
4783 fi
4784 ;;
4785 *)
4786 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4787 if test -n "$lt_cv_sys_max_cmd_len"; then
4788 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4789 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4790 else
4791 # Make teststring a little bigger before we do anything with it.
4792 # a 1K string should be a reasonable start.
4793 for i in 1 2 3 4 5 6 7 8 ; do
4794 teststring=$teststring$teststring
4795 done
4796 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4797 # If test is not a shell built-in, we'll probably end up computing a
4798 # maximum length that is only half of the actual maximum length, but
4799 # we can't tell.
4800 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4801 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4802 test $i != 17 # 1/2 MB should be enough
4803 do
4804 i=`expr $i + 1`
4805 teststring=$teststring$teststring
4806 done
4807 # Only check the string length outside the loop.
4808 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4809 teststring=
4810 # Add a significant safety factor because C++ compilers can tack on
4811 # massive amounts of additional arguments before passing them to the
4812 # linker. It appears as though 1/2 is a usable value.
4813 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4814 fi
4815 ;;
4816 esac
4817
4818 fi
4819
4820 if test -n $lt_cv_sys_max_cmd_len ; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4822 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4823 else
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4825 $as_echo "none" >&6; }
4826 fi
4827 max_cmd_len=$lt_cv_sys_max_cmd_len
4828
4829
4830
4831
4832
4833
4834 : ${CP="cp -f"}
4835 : ${MV="mv -f"}
4836 : ${RM="rm -f"}
4837
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4839 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4840 # Try some XSI features
4841 xsi_shell=no
4842 ( _lt_dummy="a/b/c"
4843 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4844 = c,a/b,b/c, \
4845 && eval 'test $(( 1 + 1 )) -eq 2 \
4846 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4847 && xsi_shell=yes
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4849 $as_echo "$xsi_shell" >&6; }
4850
4851
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4853 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4854 lt_shell_append=no
4855 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4856 >/dev/null 2>&1 \
4857 && lt_shell_append=yes
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4859 $as_echo "$lt_shell_append" >&6; }
4860
4861
4862 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4863 lt_unset=unset
4864 else
4865 lt_unset=false
4866 fi
4867
4868
4869
4870
4871
4872 # test EBCDIC or ASCII
4873 case `echo X|tr X '\101'` in
4874 A) # ASCII based system
4875 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4876 lt_SP2NL='tr \040 \012'
4877 lt_NL2SP='tr \015\012 \040\040'
4878 ;;
4879 *) # EBCDIC based system
4880 lt_SP2NL='tr \100 \n'
4881 lt_NL2SP='tr \r\n \100\100'
4882 ;;
4883 esac
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4894 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4895 if ${lt_cv_to_host_file_cmd+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 case $host in
4899 *-*-mingw* )
4900 case $build in
4901 *-*-mingw* ) # actually msys
4902 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4903 ;;
4904 *-*-cygwin* )
4905 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4906 ;;
4907 * ) # otherwise, assume *nix
4908 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4909 ;;
4910 esac
4911 ;;
4912 *-*-cygwin* )
4913 case $build in
4914 *-*-mingw* ) # actually msys
4915 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4916 ;;
4917 *-*-cygwin* )
4918 lt_cv_to_host_file_cmd=func_convert_file_noop
4919 ;;
4920 * ) # otherwise, assume *nix
4921 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4922 ;;
4923 esac
4924 ;;
4925 * ) # unhandled hosts (and "normal" native builds)
4926 lt_cv_to_host_file_cmd=func_convert_file_noop
4927 ;;
4928 esac
4929
4930 fi
4931
4932 to_host_file_cmd=$lt_cv_to_host_file_cmd
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4934 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4935
4936
4937
4938
4939
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4941 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4942 if ${lt_cv_to_tool_file_cmd+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 #assume ordinary cross tools, or native build.
4946 lt_cv_to_tool_file_cmd=func_convert_file_noop
4947 case $host in
4948 *-*-mingw* )
4949 case $build in
4950 *-*-mingw* ) # actually msys
4951 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4952 ;;
4953 esac
4954 ;;
4955 esac
4956
4957 fi
4958
4959 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4961 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4962
4963
4964
4965
4966
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4968 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4969 if ${lt_cv_ld_reload_flag+:} false; then :
4970 $as_echo_n "(cached) " >&6
4971 else
4972 lt_cv_ld_reload_flag='-r'
4973 fi
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4975 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4976 reload_flag=$lt_cv_ld_reload_flag
4977 case $reload_flag in
4978 "" | " "*) ;;
4979 *) reload_flag=" $reload_flag" ;;
4980 esac
4981 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4982 case $host_os in
4983 cygwin* | mingw* | pw32* | cegcc*)
4984 if test "$GCC" != yes; then
4985 reload_cmds=false
4986 fi
4987 ;;
4988 darwin*)
4989 if test "$GCC" = yes; then
4990 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4991 else
4992 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4993 fi
4994 ;;
4995 esac
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005 if test -n "$ac_tool_prefix"; then
5006 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5007 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_OBJDUMP+:} false; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 if test -n "$OBJDUMP"; then
5014 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5018 do
5019 IFS=$as_save_IFS
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 break 2
5026 fi
5027 done
5028 done
5029 IFS=$as_save_IFS
5030
5031 fi
5032 fi
5033 OBJDUMP=$ac_cv_prog_OBJDUMP
5034 if test -n "$OBJDUMP"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5036 $as_echo "$OBJDUMP" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 fi
5041
5042
5043 fi
5044 if test -z "$ac_cv_prog_OBJDUMP"; then
5045 ac_ct_OBJDUMP=$OBJDUMP
5046 # Extract the first word of "objdump", so it can be a program name with args.
5047 set dummy objdump; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 if test -n "$ac_ct_OBJDUMP"; then
5054 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5058 do
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5066 fi
5067 done
5068 done
5069 IFS=$as_save_IFS
5070
5071 fi
5072 fi
5073 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5074 if test -n "$ac_ct_OBJDUMP"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5076 $as_echo "$ac_ct_OBJDUMP" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 fi
5081
5082 if test "x$ac_ct_OBJDUMP" = x; then
5083 OBJDUMP="false"
5084 else
5085 case $cross_compiling:$ac_tool_warned in
5086 yes:)
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5089 ac_tool_warned=yes ;;
5090 esac
5091 OBJDUMP=$ac_ct_OBJDUMP
5092 fi
5093 else
5094 OBJDUMP="$ac_cv_prog_OBJDUMP"
5095 fi
5096
5097 test -z "$OBJDUMP" && OBJDUMP=objdump
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5108 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5109 if ${lt_cv_deplibs_check_method+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 lt_cv_file_magic_cmd='$MAGIC_CMD'
5113 lt_cv_file_magic_test_file=
5114 lt_cv_deplibs_check_method='unknown'
5115 # Need to set the preceding variable on all platforms that support
5116 # interlibrary dependencies.
5117 # 'none' -- dependencies not supported.
5118 # `unknown' -- same as none, but documents that we really don't know.
5119 # 'pass_all' -- all dependencies passed with no checks.
5120 # 'test_compile' -- check by making test program.
5121 # 'file_magic [[regex]]' -- check by looking for files in library path
5122 # which responds to the $file_magic_cmd with a given extended regex.
5123 # If you have `file' or equivalent on your system and you're not sure
5124 # whether `pass_all' will *always* work, you probably want this one.
5125
5126 case $host_os in
5127 aix[4-9]*)
5128 lt_cv_deplibs_check_method=pass_all
5129 ;;
5130
5131 beos*)
5132 lt_cv_deplibs_check_method=pass_all
5133 ;;
5134
5135 bsdi[45]*)
5136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5137 lt_cv_file_magic_cmd='/usr/bin/file -L'
5138 lt_cv_file_magic_test_file=/shlib/libc.so
5139 ;;
5140
5141 cygwin*)
5142 # func_win32_libid is a shell function defined in ltmain.sh
5143 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5144 lt_cv_file_magic_cmd='func_win32_libid'
5145 ;;
5146
5147 mingw* | pw32*)
5148 # Base MSYS/MinGW do not provide the 'file' command needed by
5149 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5150 # unless we find 'file', for example because we are cross-compiling.
5151 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5152 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5153 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5154 lt_cv_file_magic_cmd='func_win32_libid'
5155 else
5156 # Keep this pattern in sync with the one in func_win32_libid.
5157 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5158 lt_cv_file_magic_cmd='$OBJDUMP -f'
5159 fi
5160 ;;
5161
5162 cegcc*)
5163 # use the weaker test based on 'objdump'. See mingw*.
5164 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5165 lt_cv_file_magic_cmd='$OBJDUMP -f'
5166 ;;
5167
5168 darwin* | rhapsody*)
5169 lt_cv_deplibs_check_method=pass_all
5170 ;;
5171
5172 freebsd* | dragonfly*)
5173 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5174 case $host_cpu in
5175 i*86 )
5176 # Not sure whether the presence of OpenBSD here was a mistake.
5177 # Let's accept both of them until this is cleared up.
5178 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5179 lt_cv_file_magic_cmd=/usr/bin/file
5180 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5181 ;;
5182 esac
5183 else
5184 lt_cv_deplibs_check_method=pass_all
5185 fi
5186 ;;
5187
5188 gnu*)
5189 lt_cv_deplibs_check_method=pass_all
5190 ;;
5191
5192 haiku*)
5193 lt_cv_deplibs_check_method=pass_all
5194 ;;
5195
5196 hpux10.20* | hpux11*)
5197 lt_cv_file_magic_cmd=/usr/bin/file
5198 case $host_cpu in
5199 ia64*)
5200 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5201 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5202 ;;
5203 hppa*64*)
5204 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]'
5205 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5206 ;;
5207 *)
5208 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5209 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5210 ;;
5211 esac
5212 ;;
5213
5214 interix[3-9]*)
5215 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5216 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5217 ;;
5218
5219 irix5* | irix6* | nonstopux*)
5220 case $LD in
5221 *-32|*"-32 ") libmagic=32-bit;;
5222 *-n32|*"-n32 ") libmagic=N32;;
5223 *-64|*"-64 ") libmagic=64-bit;;
5224 *) libmagic=never-match;;
5225 esac
5226 lt_cv_deplibs_check_method=pass_all
5227 ;;
5228
5229 # This must be Linux ELF.
5230 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5231 lt_cv_deplibs_check_method=pass_all
5232 ;;
5233
5234 netbsd*)
5235 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5236 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5237 else
5238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5239 fi
5240 ;;
5241
5242 newos6*)
5243 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5244 lt_cv_file_magic_cmd=/usr/bin/file
5245 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5246 ;;
5247
5248 *nto* | *qnx*)
5249 lt_cv_deplibs_check_method=pass_all
5250 ;;
5251
5252 openbsd*)
5253 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5254 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5255 else
5256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5257 fi
5258 ;;
5259
5260 osf3* | osf4* | osf5*)
5261 lt_cv_deplibs_check_method=pass_all
5262 ;;
5263
5264 rdos*)
5265 lt_cv_deplibs_check_method=pass_all
5266 ;;
5267
5268 solaris*)
5269 lt_cv_deplibs_check_method=pass_all
5270 ;;
5271
5272 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5273 lt_cv_deplibs_check_method=pass_all
5274 ;;
5275
5276 sysv4 | sysv4.3*)
5277 case $host_vendor in
5278 motorola)
5279 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]'
5280 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5281 ;;
5282 ncr)
5283 lt_cv_deplibs_check_method=pass_all
5284 ;;
5285 sequent)
5286 lt_cv_file_magic_cmd='/bin/file'
5287 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5288 ;;
5289 sni)
5290 lt_cv_file_magic_cmd='/bin/file'
5291 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5292 lt_cv_file_magic_test_file=/lib/libc.so
5293 ;;
5294 siemens)
5295 lt_cv_deplibs_check_method=pass_all
5296 ;;
5297 pc)
5298 lt_cv_deplibs_check_method=pass_all
5299 ;;
5300 esac
5301 ;;
5302
5303 tpf*)
5304 lt_cv_deplibs_check_method=pass_all
5305 ;;
5306 esac
5307
5308 fi
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5310 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5311
5312 file_magic_glob=
5313 want_nocaseglob=no
5314 if test "$build" = "$host"; then
5315 case $host_os in
5316 mingw* | pw32*)
5317 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5318 want_nocaseglob=yes
5319 else
5320 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5321 fi
5322 ;;
5323 esac
5324 fi
5325
5326 file_magic_cmd=$lt_cv_file_magic_cmd
5327 deplibs_check_method=$lt_cv_deplibs_check_method
5328 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_DLLTOOL+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$DLLTOOL"; then
5360 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5364 do
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5372 fi
5373 done
5374 done
5375 IFS=$as_save_IFS
5376
5377 fi
5378 fi
5379 DLLTOOL=$ac_cv_prog_DLLTOOL
5380 if test -n "$DLLTOOL"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5382 $as_echo "$DLLTOOL" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 fi
5387
5388
5389 fi
5390 if test -z "$ac_cv_prog_DLLTOOL"; then
5391 ac_ct_DLLTOOL=$DLLTOOL
5392 # Extract the first word of "dlltool", so it can be a program name with args.
5393 set dummy dlltool; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$ac_ct_DLLTOOL"; then
5400 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5404 do
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5412 fi
5413 done
5414 done
5415 IFS=$as_save_IFS
5416
5417 fi
5418 fi
5419 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5420 if test -n "$ac_ct_DLLTOOL"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5422 $as_echo "$ac_ct_DLLTOOL" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5426 fi
5427
5428 if test "x$ac_ct_DLLTOOL" = x; then
5429 DLLTOOL="false"
5430 else
5431 case $cross_compiling:$ac_tool_warned in
5432 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5436 esac
5437 DLLTOOL=$ac_ct_DLLTOOL
5438 fi
5439 else
5440 DLLTOOL="$ac_cv_prog_DLLTOOL"
5441 fi
5442
5443 test -z "$DLLTOOL" && DLLTOOL=dlltool
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5455 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5456 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 lt_cv_sharedlib_from_linklib_cmd='unknown'
5460
5461 case $host_os in
5462 cygwin* | mingw* | pw32* | cegcc*)
5463 # two different shell functions defined in ltmain.sh
5464 # decide which to use based on capabilities of $DLLTOOL
5465 case `$DLLTOOL --help 2>&1` in
5466 *--identify-strict*)
5467 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5468 ;;
5469 *)
5470 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5471 ;;
5472 esac
5473 ;;
5474 *)
5475 # fallback: assume linklib IS sharedlib
5476 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5477 ;;
5478 esac
5479
5480 fi
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5482 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5483 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5484 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5485
5486
5487
5488
5489
5490
5491
5492
5493 if test -n "$ac_tool_prefix"; then
5494 for ac_prog in ar
5495 do
5496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_AR+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$AR"; then
5504 ac_cv_prog_AR="$AR" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5508 do
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5513 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5516 fi
5517 done
5518 done
5519 IFS=$as_save_IFS
5520
5521 fi
5522 fi
5523 AR=$ac_cv_prog_AR
5524 if test -n "$AR"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5526 $as_echo "$AR" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5530 fi
5531
5532
5533 test -n "$AR" && break
5534 done
5535 fi
5536 if test -z "$AR"; then
5537 ac_ct_AR=$AR
5538 for ac_prog in ar
5539 do
5540 # Extract the first word of "$ac_prog", so it can be a program name with args.
5541 set dummy $ac_prog; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$ac_ct_AR"; then
5548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5552 do
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_prog_ac_ct_AR="$ac_prog"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5560 fi
5561 done
5562 done
5563 IFS=$as_save_IFS
5564
5565 fi
5566 fi
5567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5568 if test -n "$ac_ct_AR"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5570 $as_echo "$ac_ct_AR" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 fi
5575
5576
5577 test -n "$ac_ct_AR" && break
5578 done
5579
5580 if test "x$ac_ct_AR" = x; then
5581 AR="false"
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 AR=$ac_ct_AR
5590 fi
5591 fi
5592
5593 : ${AR=ar}
5594 : ${AR_FLAGS=cru}
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5607 $as_echo_n "checking for archiver @FILE support... " >&6; }
5608 if ${lt_cv_ar_at_file+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 lt_cv_ar_at_file=no
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5614
5615 int
5616 main ()
5617 {
5618
5619 ;
5620 return 0;
5621 }
5622 _ACEOF
5623 if ac_fn_c_try_compile "$LINENO"; then :
5624 echo conftest.$ac_objext > conftest.lst
5625 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5626 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5627 (eval $lt_ar_try) 2>&5
5628 ac_status=$?
5629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5630 test $ac_status = 0; }
5631 if test "$ac_status" -eq 0; then
5632 # Ensure the archiver fails upon bogus file names.
5633 rm -f conftest.$ac_objext libconftest.a
5634 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5635 (eval $lt_ar_try) 2>&5
5636 ac_status=$?
5637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5638 test $ac_status = 0; }
5639 if test "$ac_status" -ne 0; then
5640 lt_cv_ar_at_file=@
5641 fi
5642 fi
5643 rm -f conftest.* libconftest.a
5644
5645 fi
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647
5648 fi
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5650 $as_echo "$lt_cv_ar_at_file" >&6; }
5651
5652 if test "x$lt_cv_ar_at_file" = xno; then
5653 archiver_list_spec=
5654 else
5655 archiver_list_spec=$lt_cv_ar_at_file
5656 fi
5657
5658
5659
5660
5661
5662
5663
5664 if test -n "$ac_tool_prefix"; then
5665 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}strip; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_STRIP+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$STRIP"; then
5673 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5677 do
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5685 fi
5686 done
5687 done
5688 IFS=$as_save_IFS
5689
5690 fi
5691 fi
5692 STRIP=$ac_cv_prog_STRIP
5693 if test -n "$STRIP"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5695 $as_echo "$STRIP" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5699 fi
5700
5701
5702 fi
5703 if test -z "$ac_cv_prog_STRIP"; then
5704 ac_ct_STRIP=$STRIP
5705 # Extract the first word of "strip", so it can be a program name with args.
5706 set dummy strip; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 if test -n "$ac_ct_STRIP"; then
5713 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5717 do
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_prog_ac_ct_STRIP="strip"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5725 fi
5726 done
5727 done
5728 IFS=$as_save_IFS
5729
5730 fi
5731 fi
5732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5733 if test -n "$ac_ct_STRIP"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5735 $as_echo "$ac_ct_STRIP" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5739 fi
5740
5741 if test "x$ac_ct_STRIP" = x; then
5742 STRIP=":"
5743 else
5744 case $cross_compiling:$ac_tool_warned in
5745 yes:)
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5748 ac_tool_warned=yes ;;
5749 esac
5750 STRIP=$ac_ct_STRIP
5751 fi
5752 else
5753 STRIP="$ac_cv_prog_STRIP"
5754 fi
5755
5756 test -z "$STRIP" && STRIP=:
5757
5758
5759
5760
5761
5762
5763 if test -n "$ac_tool_prefix"; then
5764 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5765 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_RANLIB+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 if test -n "$RANLIB"; then
5772 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5776 do
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5784 fi
5785 done
5786 done
5787 IFS=$as_save_IFS
5788
5789 fi
5790 fi
5791 RANLIB=$ac_cv_prog_RANLIB
5792 if test -n "$RANLIB"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5794 $as_echo "$RANLIB" >&6; }
5795 else
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5798 fi
5799
5800
5801 fi
5802 if test -z "$ac_cv_prog_RANLIB"; then
5803 ac_ct_RANLIB=$RANLIB
5804 # Extract the first word of "ranlib", so it can be a program name with args.
5805 set dummy ranlib; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5809 $as_echo_n "(cached) " >&6
5810 else
5811 if test -n "$ac_ct_RANLIB"; then
5812 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5813 else
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 for as_dir in $PATH
5816 do
5817 IFS=$as_save_IFS
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_prog_ac_ct_RANLIB="ranlib"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 break 2
5824 fi
5825 done
5826 done
5827 IFS=$as_save_IFS
5828
5829 fi
5830 fi
5831 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5832 if test -n "$ac_ct_RANLIB"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5834 $as_echo "$ac_ct_RANLIB" >&6; }
5835 else
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5838 fi
5839
5840 if test "x$ac_ct_RANLIB" = x; then
5841 RANLIB=":"
5842 else
5843 case $cross_compiling:$ac_tool_warned in
5844 yes:)
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5847 ac_tool_warned=yes ;;
5848 esac
5849 RANLIB=$ac_ct_RANLIB
5850 fi
5851 else
5852 RANLIB="$ac_cv_prog_RANLIB"
5853 fi
5854
5855 test -z "$RANLIB" && RANLIB=:
5856
5857
5858
5859
5860
5861
5862 # Determine commands to create old-style static archives.
5863 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5864 old_postinstall_cmds='chmod 644 $oldlib'
5865 old_postuninstall_cmds=
5866
5867 if test -n "$RANLIB"; then
5868 case $host_os in
5869 openbsd*)
5870 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5871 ;;
5872 *)
5873 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5874 ;;
5875 esac
5876 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5877 fi
5878
5879 case $host_os in
5880 darwin*)
5881 lock_old_archive_extraction=yes ;;
5882 *)
5883 lock_old_archive_extraction=no ;;
5884 esac
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924 # If no C compiler was specified, use CC.
5925 LTCC=${LTCC-"$CC"}
5926
5927 # If no C compiler flags were specified, use CFLAGS.
5928 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5929
5930 # Allow CC to be a program name with arguments.
5931 compiler=$CC
5932
5933
5934 # Check for command to grab the raw symbol name followed by C symbol from nm.
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5936 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5937 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940
5941 # These are sane defaults that work on at least a few old systems.
5942 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5943
5944 # Character class describing NM global symbol codes.
5945 symcode='[BCDEGRST]'
5946
5947 # Regexp to match symbols that can be accessed directly from C.
5948 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5949
5950 # Define system-specific variables.
5951 case $host_os in
5952 aix*)
5953 symcode='[BCDT]'
5954 ;;
5955 cygwin* | mingw* | pw32* | cegcc*)
5956 symcode='[ABCDGISTW]'
5957 ;;
5958 hpux*)
5959 if test "$host_cpu" = ia64; then
5960 symcode='[ABCDEGRST]'
5961 fi
5962 ;;
5963 irix* | nonstopux*)
5964 symcode='[BCDEGRST]'
5965 ;;
5966 osf*)
5967 symcode='[BCDEGQRST]'
5968 ;;
5969 solaris*)
5970 symcode='[BDRT]'
5971 ;;
5972 sco3.2v5*)
5973 symcode='[DT]'
5974 ;;
5975 sysv4.2uw2*)
5976 symcode='[DT]'
5977 ;;
5978 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5979 symcode='[ABDT]'
5980 ;;
5981 sysv4)
5982 symcode='[DFNSTU]'
5983 ;;
5984 esac
5985
5986 # If we're using GNU nm, then use its standard symbol codes.
5987 case `$NM -V 2>&1` in
5988 *GNU* | *'with BFD'*)
5989 symcode='[ABCDGIRSTW]' ;;
5990 esac
5991
5992 # Transform an extracted symbol line into a proper C declaration.
5993 # Some systems (esp. on ia64) link data and code symbols differently,
5994 # so use this general approach.
5995 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5996
5997 # Transform an extracted symbol line into symbol name and symbol address
5998 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5999 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'"
6000
6001 # Handle CRLF in mingw tool chain
6002 opt_cr=
6003 case $build_os in
6004 mingw*)
6005 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6006 ;;
6007 esac
6008
6009 # Try without a prefix underscore, then with it.
6010 for ac_symprfx in "" "_"; do
6011
6012 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6013 symxfrm="\\1 $ac_symprfx\\2 \\2"
6014
6015 # Write the raw and C identifiers.
6016 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6017 # Fake it for dumpbin and say T for any non-static function
6018 # and D for any global variable.
6019 # Also find C++ and __fastcall symbols from MSVC++,
6020 # which start with @ or ?.
6021 lt_cv_sys_global_symbol_pipe="$AWK '"\
6022 " {last_section=section; section=\$ 3};"\
6023 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6024 " \$ 0!~/External *\|/{next};"\
6025 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6026 " {if(hide[section]) next};"\
6027 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6028 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6029 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6030 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6031 " ' prfx=^$ac_symprfx"
6032 else
6033 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6034 fi
6035 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6036
6037 # Check to see that the pipe works correctly.
6038 pipe_works=no
6039
6040 rm -f conftest*
6041 cat > conftest.$ac_ext <<_LT_EOF
6042 #ifdef __cplusplus
6043 extern "C" {
6044 #endif
6045 char nm_test_var;
6046 void nm_test_func(void);
6047 void nm_test_func(void){}
6048 #ifdef __cplusplus
6049 }
6050 #endif
6051 int main(){nm_test_var='a';nm_test_func();return(0);}
6052 _LT_EOF
6053
6054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6055 (eval $ac_compile) 2>&5
6056 ac_status=$?
6057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6058 test $ac_status = 0; }; then
6059 # Now try to grab the symbols.
6060 nlist=conftest.nm
6061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6062 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6063 ac_status=$?
6064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6065 test $ac_status = 0; } && test -s "$nlist"; then
6066 # Try sorting and uniquifying the output.
6067 if sort "$nlist" | uniq > "$nlist"T; then
6068 mv -f "$nlist"T "$nlist"
6069 else
6070 rm -f "$nlist"T
6071 fi
6072
6073 # Make sure that we snagged all the symbols we need.
6074 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6075 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6076 cat <<_LT_EOF > conftest.$ac_ext
6077 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6078 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6079 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6080 relocations are performed -- see ld's documentation on pseudo-relocs. */
6081 # define LT_DLSYM_CONST
6082 #elif defined(__osf__)
6083 /* This system does not cope well with relocations in const data. */
6084 # define LT_DLSYM_CONST
6085 #else
6086 # define LT_DLSYM_CONST const
6087 #endif
6088
6089 #ifdef __cplusplus
6090 extern "C" {
6091 #endif
6092
6093 _LT_EOF
6094 # Now generate the symbol file.
6095 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6096
6097 cat <<_LT_EOF >> conftest.$ac_ext
6098
6099 /* The mapping between symbol names and symbols. */
6100 LT_DLSYM_CONST struct {
6101 const char *name;
6102 void *address;
6103 }
6104 lt__PROGRAM__LTX_preloaded_symbols[] =
6105 {
6106 { "@PROGRAM@", (void *) 0 },
6107 _LT_EOF
6108 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6109 cat <<\_LT_EOF >> conftest.$ac_ext
6110 {0, (void *) 0}
6111 };
6112
6113 /* This works around a problem in FreeBSD linker */
6114 #ifdef FREEBSD_WORKAROUND
6115 static const void *lt_preloaded_setup() {
6116 return lt__PROGRAM__LTX_preloaded_symbols;
6117 }
6118 #endif
6119
6120 #ifdef __cplusplus
6121 }
6122 #endif
6123 _LT_EOF
6124 # Now try linking the two files.
6125 mv conftest.$ac_objext conftstm.$ac_objext
6126 lt_globsym_save_LIBS=$LIBS
6127 lt_globsym_save_CFLAGS=$CFLAGS
6128 LIBS="conftstm.$ac_objext"
6129 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6131 (eval $ac_link) 2>&5
6132 ac_status=$?
6133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6134 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6135 pipe_works=yes
6136 fi
6137 LIBS=$lt_globsym_save_LIBS
6138 CFLAGS=$lt_globsym_save_CFLAGS
6139 else
6140 echo "cannot find nm_test_func in $nlist" >&5
6141 fi
6142 else
6143 echo "cannot find nm_test_var in $nlist" >&5
6144 fi
6145 else
6146 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6147 fi
6148 else
6149 echo "$progname: failed program was:" >&5
6150 cat conftest.$ac_ext >&5
6151 fi
6152 rm -rf conftest* conftst*
6153
6154 # Do not use the global_symbol_pipe unless it works.
6155 if test "$pipe_works" = yes; then
6156 break
6157 else
6158 lt_cv_sys_global_symbol_pipe=
6159 fi
6160 done
6161
6162 fi
6163
6164 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6165 lt_cv_sys_global_symbol_to_cdecl=
6166 fi
6167 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6169 $as_echo "failed" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6172 $as_echo "ok" >&6; }
6173 fi
6174
6175 # Response file support.
6176 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6177 nm_file_list_spec='@'
6178 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6179 nm_file_list_spec='@'
6180 fi
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6209 $as_echo_n "checking for sysroot... " >&6; }
6210
6211 # Check whether --with-sysroot was given.
6212 if test "${with_sysroot+set}" = set; then :
6213 withval=$with_sysroot;
6214 else
6215 with_sysroot=no
6216 fi
6217
6218
6219 lt_sysroot=
6220 case ${with_sysroot} in #(
6221 yes)
6222 if test "$GCC" = yes; then
6223 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6224 fi
6225 ;; #(
6226 /*)
6227 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6228 ;; #(
6229 no|'')
6230 ;; #(
6231 *)
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6233 $as_echo "${with_sysroot}" >&6; }
6234 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6235 ;;
6236 esac
6237
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6239 $as_echo "${lt_sysroot:-no}" >&6; }
6240
6241
6242
6243
6244
6245 # Check whether --enable-libtool-lock was given.
6246 if test "${enable_libtool_lock+set}" = set; then :
6247 enableval=$enable_libtool_lock;
6248 fi
6249
6250 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6251
6252 # Some flags need to be propagated to the compiler or linker for good
6253 # libtool support.
6254 case $host in
6255 ia64-*-hpux*)
6256 # Find out which ABI we are using.
6257 echo 'int i;' > conftest.$ac_ext
6258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6259 (eval $ac_compile) 2>&5
6260 ac_status=$?
6261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6262 test $ac_status = 0; }; then
6263 case `/usr/bin/file conftest.$ac_objext` in
6264 *ELF-32*)
6265 HPUX_IA64_MODE="32"
6266 ;;
6267 *ELF-64*)
6268 HPUX_IA64_MODE="64"
6269 ;;
6270 esac
6271 fi
6272 rm -rf conftest*
6273 ;;
6274 *-*-irix6*)
6275 # Find out which ABI we are using.
6276 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6278 (eval $ac_compile) 2>&5
6279 ac_status=$?
6280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6281 test $ac_status = 0; }; then
6282 if test "$lt_cv_prog_gnu_ld" = yes; then
6283 case `/usr/bin/file conftest.$ac_objext` in
6284 *32-bit*)
6285 LD="${LD-ld} -melf32bsmip"
6286 ;;
6287 *N32*)
6288 LD="${LD-ld} -melf32bmipn32"
6289 ;;
6290 *64-bit*)
6291 LD="${LD-ld} -melf64bmip"
6292 ;;
6293 esac
6294 else
6295 case `/usr/bin/file conftest.$ac_objext` in
6296 *32-bit*)
6297 LD="${LD-ld} -32"
6298 ;;
6299 *N32*)
6300 LD="${LD-ld} -n32"
6301 ;;
6302 *64-bit*)
6303 LD="${LD-ld} -64"
6304 ;;
6305 esac
6306 fi
6307 fi
6308 rm -rf conftest*
6309 ;;
6310
6311 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6312 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6313 # Find out which ABI we are using.
6314 echo 'int i;' > conftest.$ac_ext
6315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6316 (eval $ac_compile) 2>&5
6317 ac_status=$?
6318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6319 test $ac_status = 0; }; then
6320 case `/usr/bin/file conftest.o` in
6321 *32-bit*)
6322 case $host in
6323 x86_64-*kfreebsd*-gnu)
6324 LD="${LD-ld} -m elf_i386_fbsd"
6325 ;;
6326 x86_64-*linux*)
6327 LD="${LD-ld} -m elf_i386"
6328 ;;
6329 ppc64-*linux*|powerpc64-*linux*)
6330 LD="${LD-ld} -m elf32ppclinux"
6331 ;;
6332 s390x-*linux*)
6333 LD="${LD-ld} -m elf_s390"
6334 ;;
6335 sparc64-*linux*)
6336 LD="${LD-ld} -m elf32_sparc"
6337 ;;
6338 esac
6339 ;;
6340 *64-bit*)
6341 case $host in
6342 x86_64-*kfreebsd*-gnu)
6343 LD="${LD-ld} -m elf_x86_64_fbsd"
6344 ;;
6345 x86_64-*linux*)
6346 LD="${LD-ld} -m elf_x86_64"
6347 ;;
6348 ppc*-*linux*|powerpc*-*linux*)
6349 LD="${LD-ld} -m elf64ppc"
6350 ;;
6351 s390*-*linux*|s390*-*tpf*)
6352 LD="${LD-ld} -m elf64_s390"
6353 ;;
6354 sparc*-*linux*)
6355 LD="${LD-ld} -m elf64_sparc"
6356 ;;
6357 esac
6358 ;;
6359 esac
6360 fi
6361 rm -rf conftest*
6362 ;;
6363
6364 *-*-sco3.2v5*)
6365 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6366 SAVE_CFLAGS="$CFLAGS"
6367 CFLAGS="$CFLAGS -belf"
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6369 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6370 if ${lt_cv_cc_needs_belf+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 ac_ext=c
6374 ac_cpp='$CPP $CPPFLAGS'
6375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6378
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381
6382 int
6383 main ()
6384 {
6385
6386 ;
6387 return 0;
6388 }
6389 _ACEOF
6390 if ac_fn_c_try_link "$LINENO"; then :
6391 lt_cv_cc_needs_belf=yes
6392 else
6393 lt_cv_cc_needs_belf=no
6394 fi
6395 rm -f core conftest.err conftest.$ac_objext \
6396 conftest$ac_exeext conftest.$ac_ext
6397 ac_ext=c
6398 ac_cpp='$CPP $CPPFLAGS'
6399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6402
6403 fi
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6405 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6406 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6407 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6408 CFLAGS="$SAVE_CFLAGS"
6409 fi
6410 ;;
6411 sparc*-*solaris*)
6412 # Find out which ABI we are using.
6413 echo 'int i;' > conftest.$ac_ext
6414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6415 (eval $ac_compile) 2>&5
6416 ac_status=$?
6417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418 test $ac_status = 0; }; then
6419 case `/usr/bin/file conftest.o` in
6420 *64-bit*)
6421 case $lt_cv_prog_gnu_ld in
6422 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6423 *)
6424 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6425 LD="${LD-ld} -64"
6426 fi
6427 ;;
6428 esac
6429 ;;
6430 esac
6431 fi
6432 rm -rf conftest*
6433 ;;
6434 esac
6435
6436 need_locks="$enable_libtool_lock"
6437
6438 if test -n "$ac_tool_prefix"; then
6439 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6440 set dummy ${ac_tool_prefix}mt; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6444 $as_echo_n "(cached) " >&6
6445 else
6446 if test -n "$MANIFEST_TOOL"; then
6447 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6448 else
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH
6451 do
6452 IFS=$as_save_IFS
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6456 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 break 2
6459 fi
6460 done
6461 done
6462 IFS=$as_save_IFS
6463
6464 fi
6465 fi
6466 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6467 if test -n "$MANIFEST_TOOL"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6469 $as_echo "$MANIFEST_TOOL" >&6; }
6470 else
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6473 fi
6474
6475
6476 fi
6477 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6478 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6479 # Extract the first word of "mt", so it can be a program name with args.
6480 set dummy mt; ac_word=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485 else
6486 if test -n "$ac_ct_MANIFEST_TOOL"; then
6487 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6488 else
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 for as_dir in $PATH
6491 do
6492 IFS=$as_save_IFS
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6496 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 break 2
6499 fi
6500 done
6501 done
6502 IFS=$as_save_IFS
6503
6504 fi
6505 fi
6506 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6507 if test -n "$ac_ct_MANIFEST_TOOL"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6509 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6510 else
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6513 fi
6514
6515 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6516 MANIFEST_TOOL=":"
6517 else
6518 case $cross_compiling:$ac_tool_warned in
6519 yes:)
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522 ac_tool_warned=yes ;;
6523 esac
6524 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6525 fi
6526 else
6527 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6528 fi
6529
6530 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6532 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6533 if ${lt_cv_path_mainfest_tool+:} false; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 lt_cv_path_mainfest_tool=no
6537 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6538 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6539 cat conftest.err >&5
6540 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6541 lt_cv_path_mainfest_tool=yes
6542 fi
6543 rm -f conftest*
6544 fi
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6546 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6547 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6548 MANIFEST_TOOL=:
6549 fi
6550
6551
6552
6553
6554
6555
6556 case $host_os in
6557 rhapsody* | darwin*)
6558 if test -n "$ac_tool_prefix"; then
6559 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 if test -n "$DSYMUTIL"; then
6567 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6571 do
6572 IFS=$as_save_IFS
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 break 2
6579 fi
6580 done
6581 done
6582 IFS=$as_save_IFS
6583
6584 fi
6585 fi
6586 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6587 if test -n "$DSYMUTIL"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6589 $as_echo "$DSYMUTIL" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6593 fi
6594
6595
6596 fi
6597 if test -z "$ac_cv_prog_DSYMUTIL"; then
6598 ac_ct_DSYMUTIL=$DSYMUTIL
6599 # Extract the first word of "dsymutil", so it can be a program name with args.
6600 set dummy dsymutil; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$ac_ct_DSYMUTIL"; then
6607 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6611 do
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6619 fi
6620 done
6621 done
6622 IFS=$as_save_IFS
6623
6624 fi
6625 fi
6626 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6627 if test -n "$ac_ct_DSYMUTIL"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6629 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6633 fi
6634
6635 if test "x$ac_ct_DSYMUTIL" = x; then
6636 DSYMUTIL=":"
6637 else
6638 case $cross_compiling:$ac_tool_warned in
6639 yes:)
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642 ac_tool_warned=yes ;;
6643 esac
6644 DSYMUTIL=$ac_ct_DSYMUTIL
6645 fi
6646 else
6647 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6648 fi
6649
6650 if test -n "$ac_tool_prefix"; then
6651 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6652 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_NMEDIT+:} false; then :
6656 $as_echo_n "(cached) " >&6
6657 else
6658 if test -n "$NMEDIT"; then
6659 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6663 do
6664 IFS=$as_save_IFS
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 break 2
6671 fi
6672 done
6673 done
6674 IFS=$as_save_IFS
6675
6676 fi
6677 fi
6678 NMEDIT=$ac_cv_prog_NMEDIT
6679 if test -n "$NMEDIT"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6681 $as_echo "$NMEDIT" >&6; }
6682 else
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 fi
6686
6687
6688 fi
6689 if test -z "$ac_cv_prog_NMEDIT"; then
6690 ac_ct_NMEDIT=$NMEDIT
6691 # Extract the first word of "nmedit", so it can be a program name with args.
6692 set dummy nmedit; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 if test -n "$ac_ct_NMEDIT"; then
6699 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6703 do
6704 IFS=$as_save_IFS
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 break 2
6711 fi
6712 done
6713 done
6714 IFS=$as_save_IFS
6715
6716 fi
6717 fi
6718 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6719 if test -n "$ac_ct_NMEDIT"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6721 $as_echo "$ac_ct_NMEDIT" >&6; }
6722 else
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6725 fi
6726
6727 if test "x$ac_ct_NMEDIT" = x; then
6728 NMEDIT=":"
6729 else
6730 case $cross_compiling:$ac_tool_warned in
6731 yes:)
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734 ac_tool_warned=yes ;;
6735 esac
6736 NMEDIT=$ac_ct_NMEDIT
6737 fi
6738 else
6739 NMEDIT="$ac_cv_prog_NMEDIT"
6740 fi
6741
6742 if test -n "$ac_tool_prefix"; then
6743 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6744 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746 $as_echo_n "checking for $ac_word... " >&6; }
6747 if ${ac_cv_prog_LIPO+:} false; then :
6748 $as_echo_n "(cached) " >&6
6749 else
6750 if test -n "$LIPO"; then
6751 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6752 else
6753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754 for as_dir in $PATH
6755 do
6756 IFS=$as_save_IFS
6757 test -z "$as_dir" && as_dir=.
6758 for ac_exec_ext in '' $ac_executable_extensions; do
6759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6760 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 break 2
6763 fi
6764 done
6765 done
6766 IFS=$as_save_IFS
6767
6768 fi
6769 fi
6770 LIPO=$ac_cv_prog_LIPO
6771 if test -n "$LIPO"; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6773 $as_echo "$LIPO" >&6; }
6774 else
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 $as_echo "no" >&6; }
6777 fi
6778
6779
6780 fi
6781 if test -z "$ac_cv_prog_LIPO"; then
6782 ac_ct_LIPO=$LIPO
6783 # Extract the first word of "lipo", so it can be a program name with args.
6784 set dummy lipo; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6788 $as_echo_n "(cached) " >&6
6789 else
6790 if test -n "$ac_ct_LIPO"; then
6791 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6792 else
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $PATH
6795 do
6796 IFS=$as_save_IFS
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6800 ac_cv_prog_ac_ct_LIPO="lipo"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 break 2
6803 fi
6804 done
6805 done
6806 IFS=$as_save_IFS
6807
6808 fi
6809 fi
6810 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6811 if test -n "$ac_ct_LIPO"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6813 $as_echo "$ac_ct_LIPO" >&6; }
6814 else
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6817 fi
6818
6819 if test "x$ac_ct_LIPO" = x; then
6820 LIPO=":"
6821 else
6822 case $cross_compiling:$ac_tool_warned in
6823 yes:)
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6827 esac
6828 LIPO=$ac_ct_LIPO
6829 fi
6830 else
6831 LIPO="$ac_cv_prog_LIPO"
6832 fi
6833
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6836 set dummy ${ac_tool_prefix}otool; ac_word=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if ${ac_cv_prog_OTOOL+:} false; then :
6840 $as_echo_n "(cached) " >&6
6841 else
6842 if test -n "$OTOOL"; then
6843 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6844 else
6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 for as_dir in $PATH
6847 do
6848 IFS=$as_save_IFS
6849 test -z "$as_dir" && as_dir=.
6850 for ac_exec_ext in '' $ac_executable_extensions; do
6851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6852 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 break 2
6855 fi
6856 done
6857 done
6858 IFS=$as_save_IFS
6859
6860 fi
6861 fi
6862 OTOOL=$ac_cv_prog_OTOOL
6863 if test -n "$OTOOL"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6865 $as_echo "$OTOOL" >&6; }
6866 else
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 $as_echo "no" >&6; }
6869 fi
6870
6871
6872 fi
6873 if test -z "$ac_cv_prog_OTOOL"; then
6874 ac_ct_OTOOL=$OTOOL
6875 # Extract the first word of "otool", so it can be a program name with args.
6876 set dummy otool; ac_word=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 if test -n "$ac_ct_OTOOL"; then
6883 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6884 else
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 for as_dir in $PATH
6887 do
6888 IFS=$as_save_IFS
6889 test -z "$as_dir" && as_dir=.
6890 for ac_exec_ext in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_ac_ct_OTOOL="otool"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 break 2
6895 fi
6896 done
6897 done
6898 IFS=$as_save_IFS
6899
6900 fi
6901 fi
6902 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6903 if test -n "$ac_ct_OTOOL"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6905 $as_echo "$ac_ct_OTOOL" >&6; }
6906 else
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6909 fi
6910
6911 if test "x$ac_ct_OTOOL" = x; then
6912 OTOOL=":"
6913 else
6914 case $cross_compiling:$ac_tool_warned in
6915 yes:)
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6918 ac_tool_warned=yes ;;
6919 esac
6920 OTOOL=$ac_ct_OTOOL
6921 fi
6922 else
6923 OTOOL="$ac_cv_prog_OTOOL"
6924 fi
6925
6926 if test -n "$ac_tool_prefix"; then
6927 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6928 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_OTOOL64+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 if test -n "$OTOOL64"; then
6935 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6936 else
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 for as_dir in $PATH
6939 do
6940 IFS=$as_save_IFS
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6944 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 break 2
6947 fi
6948 done
6949 done
6950 IFS=$as_save_IFS
6951
6952 fi
6953 fi
6954 OTOOL64=$ac_cv_prog_OTOOL64
6955 if test -n "$OTOOL64"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6957 $as_echo "$OTOOL64" >&6; }
6958 else
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6961 fi
6962
6963
6964 fi
6965 if test -z "$ac_cv_prog_OTOOL64"; then
6966 ac_ct_OTOOL64=$OTOOL64
6967 # Extract the first word of "otool64", so it can be a program name with args.
6968 set dummy otool64; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6972 $as_echo_n "(cached) " >&6
6973 else
6974 if test -n "$ac_ct_OTOOL64"; then
6975 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6976 else
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980 IFS=$as_save_IFS
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_ac_ct_OTOOL64="otool64"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 break 2
6987 fi
6988 done
6989 done
6990 IFS=$as_save_IFS
6991
6992 fi
6993 fi
6994 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6995 if test -n "$ac_ct_OTOOL64"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6997 $as_echo "$ac_ct_OTOOL64" >&6; }
6998 else
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7001 fi
7002
7003 if test "x$ac_ct_OTOOL64" = x; then
7004 OTOOL64=":"
7005 else
7006 case $cross_compiling:$ac_tool_warned in
7007 yes:)
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 ac_tool_warned=yes ;;
7011 esac
7012 OTOOL64=$ac_ct_OTOOL64
7013 fi
7014 else
7015 OTOOL64="$ac_cv_prog_OTOOL64"
7016 fi
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7045 $as_echo_n "checking for -single_module linker flag... " >&6; }
7046 if ${lt_cv_apple_cc_single_mod+:} false; then :
7047 $as_echo_n "(cached) " >&6
7048 else
7049 lt_cv_apple_cc_single_mod=no
7050 if test -z "${LT_MULTI_MODULE}"; then
7051 # By default we will add the -single_module flag. You can override
7052 # by either setting the environment variable LT_MULTI_MODULE
7053 # non-empty at configure time, or by adding -multi_module to the
7054 # link flags.
7055 rm -rf libconftest.dylib*
7056 echo "int foo(void){return 1;}" > conftest.c
7057 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7058 -dynamiclib -Wl,-single_module conftest.c" >&5
7059 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7060 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7061 _lt_result=$?
7062 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7063 lt_cv_apple_cc_single_mod=yes
7064 else
7065 cat conftest.err >&5
7066 fi
7067 rm -rf libconftest.dylib*
7068 rm -f conftest.*
7069 fi
7070 fi
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7072 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7074 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7075 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7076 $as_echo_n "(cached) " >&6
7077 else
7078 lt_cv_ld_exported_symbols_list=no
7079 save_LDFLAGS=$LDFLAGS
7080 echo "_main" > conftest.sym
7081 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7084
7085 int
7086 main ()
7087 {
7088
7089 ;
7090 return 0;
7091 }
7092 _ACEOF
7093 if ac_fn_c_try_link "$LINENO"; then :
7094 lt_cv_ld_exported_symbols_list=yes
7095 else
7096 lt_cv_ld_exported_symbols_list=no
7097 fi
7098 rm -f core conftest.err conftest.$ac_objext \
7099 conftest$ac_exeext conftest.$ac_ext
7100 LDFLAGS="$save_LDFLAGS"
7101
7102 fi
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7104 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7106 $as_echo_n "checking for -force_load linker flag... " >&6; }
7107 if ${lt_cv_ld_force_load+:} false; then :
7108 $as_echo_n "(cached) " >&6
7109 else
7110 lt_cv_ld_force_load=no
7111 cat > conftest.c << _LT_EOF
7112 int forced_loaded() { return 2;}
7113 _LT_EOF
7114 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7115 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7116 echo "$AR cru libconftest.a conftest.o" >&5
7117 $AR cru libconftest.a conftest.o 2>&5
7118 echo "$RANLIB libconftest.a" >&5
7119 $RANLIB libconftest.a 2>&5
7120 cat > conftest.c << _LT_EOF
7121 int main() { return 0;}
7122 _LT_EOF
7123 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7124 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7125 _lt_result=$?
7126 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7127 lt_cv_ld_force_load=yes
7128 else
7129 cat conftest.err >&5
7130 fi
7131 rm -f conftest.err libconftest.a conftest conftest.c
7132 rm -rf conftest.dSYM
7133
7134 fi
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7136 $as_echo "$lt_cv_ld_force_load" >&6; }
7137 case $host_os in
7138 rhapsody* | darwin1.[012])
7139 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7140 darwin1.*)
7141 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7142 darwin*) # darwin 5.x on
7143 # if running on 10.5 or later, the deployment target defaults
7144 # to the OS version, if on x86, and 10.4, the deployment
7145 # target defaults to 10.4. Don't you love it?
7146 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7147 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7148 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7149 10.[012]*)
7150 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7151 10.*)
7152 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7153 esac
7154 ;;
7155 esac
7156 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7157 _lt_dar_single_mod='$single_module'
7158 fi
7159 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7160 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7161 else
7162 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7163 fi
7164 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7165 _lt_dsymutil='~$DSYMUTIL $lib || :'
7166 else
7167 _lt_dsymutil=
7168 fi
7169 ;;
7170 esac
7171
7172 ac_ext=c
7173 ac_cpp='$CPP $CPPFLAGS'
7174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7178 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7179 # On Suns, sometimes $CPP names a directory.
7180 if test -n "$CPP" && test -d "$CPP"; then
7181 CPP=
7182 fi
7183 if test -z "$CPP"; then
7184 if ${ac_cv_prog_CPP+:} false; then :
7185 $as_echo_n "(cached) " >&6
7186 else
7187 # Double quotes because CPP needs to be expanded
7188 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7189 do
7190 ac_preproc_ok=false
7191 for ac_c_preproc_warn_flag in '' yes
7192 do
7193 # Use a header file that comes with gcc, so configuring glibc
7194 # with a fresh cross-compiler works.
7195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7196 # <limits.h> exists even on freestanding compilers.
7197 # On the NeXT, cc -E runs the code through the compiler's parser,
7198 # not just through cpp. "Syntax error" is here to catch this case.
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201 #ifdef __STDC__
7202 # include <limits.h>
7203 #else
7204 # include <assert.h>
7205 #endif
7206 Syntax error
7207 _ACEOF
7208 if ac_fn_c_try_cpp "$LINENO"; then :
7209
7210 else
7211 # Broken: fails on valid input.
7212 continue
7213 fi
7214 rm -f conftest.err conftest.i conftest.$ac_ext
7215
7216 # OK, works on sane cases. Now check whether nonexistent headers
7217 # can be detected and how.
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220 #include <ac_nonexistent.h>
7221 _ACEOF
7222 if ac_fn_c_try_cpp "$LINENO"; then :
7223 # Broken: success on invalid input.
7224 continue
7225 else
7226 # Passes both tests.
7227 ac_preproc_ok=:
7228 break
7229 fi
7230 rm -f conftest.err conftest.i conftest.$ac_ext
7231
7232 done
7233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7234 rm -f conftest.i conftest.err conftest.$ac_ext
7235 if $ac_preproc_ok; then :
7236 break
7237 fi
7238
7239 done
7240 ac_cv_prog_CPP=$CPP
7241
7242 fi
7243 CPP=$ac_cv_prog_CPP
7244 else
7245 ac_cv_prog_CPP=$CPP
7246 fi
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7248 $as_echo "$CPP" >&6; }
7249 ac_preproc_ok=false
7250 for ac_c_preproc_warn_flag in '' yes
7251 do
7252 # Use a header file that comes with gcc, so configuring glibc
7253 # with a fresh cross-compiler works.
7254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7255 # <limits.h> exists even on freestanding compilers.
7256 # On the NeXT, cc -E runs the code through the compiler's parser,
7257 # not just through cpp. "Syntax error" is here to catch this case.
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 #ifdef __STDC__
7261 # include <limits.h>
7262 #else
7263 # include <assert.h>
7264 #endif
7265 Syntax error
7266 _ACEOF
7267 if ac_fn_c_try_cpp "$LINENO"; then :
7268
7269 else
7270 # Broken: fails on valid input.
7271 continue
7272 fi
7273 rm -f conftest.err conftest.i conftest.$ac_ext
7274
7275 # OK, works on sane cases. Now check whether nonexistent headers
7276 # can be detected and how.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <ac_nonexistent.h>
7280 _ACEOF
7281 if ac_fn_c_try_cpp "$LINENO"; then :
7282 # Broken: success on invalid input.
7283 continue
7284 else
7285 # Passes both tests.
7286 ac_preproc_ok=:
7287 break
7288 fi
7289 rm -f conftest.err conftest.i conftest.$ac_ext
7290
7291 done
7292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7293 rm -f conftest.i conftest.err conftest.$ac_ext
7294 if $ac_preproc_ok; then :
7295
7296 else
7297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7299 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7300 See \`config.log' for more details" "$LINENO" 5; }
7301 fi
7302
7303 ac_ext=c
7304 ac_cpp='$CPP $CPPFLAGS'
7305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7308
7309
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7311 $as_echo_n "checking for ANSI C header files... " >&6; }
7312 if ${ac_cv_header_stdc+:} false; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7317 #include <stdlib.h>
7318 #include <stdarg.h>
7319 #include <string.h>
7320 #include <float.h>
7321
7322 int
7323 main ()
7324 {
7325
7326 ;
7327 return 0;
7328 }
7329 _ACEOF
7330 if ac_fn_c_try_compile "$LINENO"; then :
7331 ac_cv_header_stdc=yes
7332 else
7333 ac_cv_header_stdc=no
7334 fi
7335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7336
7337 if test $ac_cv_header_stdc = yes; then
7338 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7340 /* end confdefs.h. */
7341 #include <string.h>
7342
7343 _ACEOF
7344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7345 $EGREP "memchr" >/dev/null 2>&1; then :
7346
7347 else
7348 ac_cv_header_stdc=no
7349 fi
7350 rm -f conftest*
7351
7352 fi
7353
7354 if test $ac_cv_header_stdc = yes; then
7355 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357 /* end confdefs.h. */
7358 #include <stdlib.h>
7359
7360 _ACEOF
7361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7362 $EGREP "free" >/dev/null 2>&1; then :
7363
7364 else
7365 ac_cv_header_stdc=no
7366 fi
7367 rm -f conftest*
7368
7369 fi
7370
7371 if test $ac_cv_header_stdc = yes; then
7372 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7373 if test "$cross_compiling" = yes; then :
7374 :
7375 else
7376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h. */
7378 #include <ctype.h>
7379 #include <stdlib.h>
7380 #if ((' ' & 0x0FF) == 0x020)
7381 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7382 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7383 #else
7384 # define ISLOWER(c) \
7385 (('a' <= (c) && (c) <= 'i') \
7386 || ('j' <= (c) && (c) <= 'r') \
7387 || ('s' <= (c) && (c) <= 'z'))
7388 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7389 #endif
7390
7391 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7392 int
7393 main ()
7394 {
7395 int i;
7396 for (i = 0; i < 256; i++)
7397 if (XOR (islower (i), ISLOWER (i))
7398 || toupper (i) != TOUPPER (i))
7399 return 2;
7400 return 0;
7401 }
7402 _ACEOF
7403 if ac_fn_c_try_run "$LINENO"; then :
7404
7405 else
7406 ac_cv_header_stdc=no
7407 fi
7408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7409 conftest.$ac_objext conftest.beam conftest.$ac_ext
7410 fi
7411
7412 fi
7413 fi
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7415 $as_echo "$ac_cv_header_stdc" >&6; }
7416 if test $ac_cv_header_stdc = yes; then
7417
7418 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7419
7420 fi
7421
7422 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7423 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7424 inttypes.h stdint.h unistd.h
7425 do :
7426 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7428 "
7429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7430 cat >>confdefs.h <<_ACEOF
7431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7432 _ACEOF
7433
7434 fi
7435
7436 done
7437
7438
7439 for ac_header in dlfcn.h
7440 do :
7441 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7442 "
7443 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7444 cat >>confdefs.h <<_ACEOF
7445 #define HAVE_DLFCN_H 1
7446 _ACEOF
7447
7448 fi
7449
7450 done
7451
7452
7453
7454
7455
7456 # Set options
7457
7458
7459
7460 enable_dlopen=no
7461
7462
7463 enable_win32_dll=no
7464
7465
7466 # Check whether --enable-shared was given.
7467 if test "${enable_shared+set}" = set; then :
7468 enableval=$enable_shared; p=${PACKAGE-default}
7469 case $enableval in
7470 yes) enable_shared=yes ;;
7471 no) enable_shared=no ;;
7472 *)
7473 enable_shared=no
7474 # Look at the argument we got. We use all the common list separators.
7475 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7476 for pkg in $enableval; do
7477 IFS="$lt_save_ifs"
7478 if test "X$pkg" = "X$p"; then
7479 enable_shared=yes
7480 fi
7481 done
7482 IFS="$lt_save_ifs"
7483 ;;
7484 esac
7485 else
7486 enable_shared=yes
7487 fi
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497 # Check whether --enable-static was given.
7498 if test "${enable_static+set}" = set; then :
7499 enableval=$enable_static; p=${PACKAGE-default}
7500 case $enableval in
7501 yes) enable_static=yes ;;
7502 no) enable_static=no ;;
7503 *)
7504 enable_static=no
7505 # Look at the argument we got. We use all the common list separators.
7506 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7507 for pkg in $enableval; do
7508 IFS="$lt_save_ifs"
7509 if test "X$pkg" = "X$p"; then
7510 enable_static=yes
7511 fi
7512 done
7513 IFS="$lt_save_ifs"
7514 ;;
7515 esac
7516 else
7517 enable_static=yes
7518 fi
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529 # Check whether --with-pic was given.
7530 if test "${with_pic+set}" = set; then :
7531 withval=$with_pic; pic_mode="$withval"
7532 else
7533 pic_mode=default
7534 fi
7535
7536
7537 test -z "$pic_mode" && pic_mode=default
7538
7539
7540
7541
7542
7543
7544
7545 # Check whether --enable-fast-install was given.
7546 if test "${enable_fast_install+set}" = set; then :
7547 enableval=$enable_fast_install; p=${PACKAGE-default}
7548 case $enableval in
7549 yes) enable_fast_install=yes ;;
7550 no) enable_fast_install=no ;;
7551 *)
7552 enable_fast_install=no
7553 # Look at the argument we got. We use all the common list separators.
7554 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7555 for pkg in $enableval; do
7556 IFS="$lt_save_ifs"
7557 if test "X$pkg" = "X$p"; then
7558 enable_fast_install=yes
7559 fi
7560 done
7561 IFS="$lt_save_ifs"
7562 ;;
7563 esac
7564 else
7565 enable_fast_install=yes
7566 fi
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578 # This can be used to rebuild libtool when needed
7579 LIBTOOL_DEPS="$ltmain"
7580
7581 # Always use our own libtool.
7582 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609 test -z "$LN_S" && LN_S="ln -s"
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624 if test -n "${ZSH_VERSION+set}" ; then
7625 setopt NO_GLOB_SUBST
7626 fi
7627
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7629 $as_echo_n "checking for objdir... " >&6; }
7630 if ${lt_cv_objdir+:} false; then :
7631 $as_echo_n "(cached) " >&6
7632 else
7633 rm -f .libs 2>/dev/null
7634 mkdir .libs 2>/dev/null
7635 if test -d .libs; then
7636 lt_cv_objdir=.libs
7637 else
7638 # MS-DOS does not allow filenames that begin with a dot.
7639 lt_cv_objdir=_libs
7640 fi
7641 rmdir .libs 2>/dev/null
7642 fi
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7644 $as_echo "$lt_cv_objdir" >&6; }
7645 objdir=$lt_cv_objdir
7646
7647
7648
7649
7650
7651 cat >>confdefs.h <<_ACEOF
7652 #define LT_OBJDIR "$lt_cv_objdir/"
7653 _ACEOF
7654
7655
7656
7657
7658 case $host_os in
7659 aix3*)
7660 # AIX sometimes has problems with the GCC collect2 program. For some
7661 # reason, if we set the COLLECT_NAMES environment variable, the problems
7662 # vanish in a puff of smoke.
7663 if test "X${COLLECT_NAMES+set}" != Xset; then
7664 COLLECT_NAMES=
7665 export COLLECT_NAMES
7666 fi
7667 ;;
7668 esac
7669
7670 # Global variables:
7671 ofile=libtool
7672 can_build_shared=yes
7673
7674 # All known linkers require a `.a' archive for static linking (except MSVC,
7675 # which needs '.lib').
7676 libext=a
7677
7678 with_gnu_ld="$lt_cv_prog_gnu_ld"
7679
7680 old_CC="$CC"
7681 old_CFLAGS="$CFLAGS"
7682
7683 # Set sane defaults for various variables
7684 test -z "$CC" && CC=cc
7685 test -z "$LTCC" && LTCC=$CC
7686 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7687 test -z "$LD" && LD=ld
7688 test -z "$ac_objext" && ac_objext=o
7689
7690 for cc_temp in $compiler""; do
7691 case $cc_temp in
7692 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7693 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7694 \-*) ;;
7695 *) break;;
7696 esac
7697 done
7698 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7699
7700
7701 # Only perform the check for file, if the check method requires it
7702 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7703 case $deplibs_check_method in
7704 file_magic*)
7705 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7707 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7708 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 case $MAGIC_CMD in
7712 [\\/*] | ?:[\\/]*)
7713 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7714 ;;
7715 *)
7716 lt_save_MAGIC_CMD="$MAGIC_CMD"
7717 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7718 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7719 for ac_dir in $ac_dummy; do
7720 IFS="$lt_save_ifs"
7721 test -z "$ac_dir" && ac_dir=.
7722 if test -f $ac_dir/${ac_tool_prefix}file; then
7723 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7724 if test -n "$file_magic_test_file"; then
7725 case $deplibs_check_method in
7726 "file_magic "*)
7727 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7728 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7729 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7730 $EGREP "$file_magic_regex" > /dev/null; then
7731 :
7732 else
7733 cat <<_LT_EOF 1>&2
7734
7735 *** Warning: the command libtool uses to detect shared libraries,
7736 *** $file_magic_cmd, produces output that libtool cannot recognize.
7737 *** The result is that libtool may fail to recognize shared libraries
7738 *** as such. This will affect the creation of libtool libraries that
7739 *** depend on shared libraries, but programs linked with such libtool
7740 *** libraries will work regardless of this problem. Nevertheless, you
7741 *** may want to report the problem to your system manager and/or to
7742 *** [email protected]
7743
7744 _LT_EOF
7745 fi ;;
7746 esac
7747 fi
7748 break
7749 fi
7750 done
7751 IFS="$lt_save_ifs"
7752 MAGIC_CMD="$lt_save_MAGIC_CMD"
7753 ;;
7754 esac
7755 fi
7756
7757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7758 if test -n "$MAGIC_CMD"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7760 $as_echo "$MAGIC_CMD" >&6; }
7761 else
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7764 fi
7765
7766
7767
7768
7769
7770 if test -z "$lt_cv_path_MAGIC_CMD"; then
7771 if test -n "$ac_tool_prefix"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7773 $as_echo_n "checking for file... " >&6; }
7774 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7775 $as_echo_n "(cached) " >&6
7776 else
7777 case $MAGIC_CMD in
7778 [\\/*] | ?:[\\/]*)
7779 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7780 ;;
7781 *)
7782 lt_save_MAGIC_CMD="$MAGIC_CMD"
7783 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7784 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7785 for ac_dir in $ac_dummy; do
7786 IFS="$lt_save_ifs"
7787 test -z "$ac_dir" && ac_dir=.
7788 if test -f $ac_dir/file; then
7789 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7790 if test -n "$file_magic_test_file"; then
7791 case $deplibs_check_method in
7792 "file_magic "*)
7793 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7794 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7795 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7796 $EGREP "$file_magic_regex" > /dev/null; then
7797 :
7798 else
7799 cat <<_LT_EOF 1>&2
7800
7801 *** Warning: the command libtool uses to detect shared libraries,
7802 *** $file_magic_cmd, produces output that libtool cannot recognize.
7803 *** The result is that libtool may fail to recognize shared libraries
7804 *** as such. This will affect the creation of libtool libraries that
7805 *** depend on shared libraries, but programs linked with such libtool
7806 *** libraries will work regardless of this problem. Nevertheless, you
7807 *** may want to report the problem to your system manager and/or to
7808 *** [email protected]
7809
7810 _LT_EOF
7811 fi ;;
7812 esac
7813 fi
7814 break
7815 fi
7816 done
7817 IFS="$lt_save_ifs"
7818 MAGIC_CMD="$lt_save_MAGIC_CMD"
7819 ;;
7820 esac
7821 fi
7822
7823 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7824 if test -n "$MAGIC_CMD"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7826 $as_echo "$MAGIC_CMD" >&6; }
7827 else
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7830 fi
7831
7832
7833 else
7834 MAGIC_CMD=:
7835 fi
7836 fi
7837
7838 fi
7839 ;;
7840 esac
7841
7842 # Use C for the default configuration in the libtool script
7843
7844 lt_save_CC="$CC"
7845 ac_ext=c
7846 ac_cpp='$CPP $CPPFLAGS'
7847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7850
7851
7852 # Source file extension for C test sources.
7853 ac_ext=c
7854
7855 # Object file extension for compiled C test sources.
7856 objext=o
7857 objext=$objext
7858
7859 # Code to be used in simple compile tests
7860 lt_simple_compile_test_code="int some_variable = 0;"
7861
7862 # Code to be used in simple link tests
7863 lt_simple_link_test_code='int main(){return(0);}'
7864
7865
7866
7867
7868
7869
7870
7871 # If no C compiler was specified, use CC.
7872 LTCC=${LTCC-"$CC"}
7873
7874 # If no C compiler flags were specified, use CFLAGS.
7875 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7876
7877 # Allow CC to be a program name with arguments.
7878 compiler=$CC
7879
7880 # Save the default compiler, since it gets overwritten when the other
7881 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7882 compiler_DEFAULT=$CC
7883
7884 # save warnings/boilerplate of simple test code
7885 ac_outfile=conftest.$ac_objext
7886 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7888 _lt_compiler_boilerplate=`cat conftest.err`
7889 $RM conftest*
7890
7891 ac_outfile=conftest.$ac_objext
7892 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7894 _lt_linker_boilerplate=`cat conftest.err`
7895 $RM -r conftest*
7896
7897
7898 if test -n "$compiler"; then
7899
7900 lt_prog_compiler_no_builtin_flag=
7901
7902 if test "$GCC" = yes; then
7903 case $cc_basename in
7904 nvcc*)
7905 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7906 *)
7907 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7908 esac
7909
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7911 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7912 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7913 $as_echo_n "(cached) " >&6
7914 else
7915 lt_cv_prog_compiler_rtti_exceptions=no
7916 ac_outfile=conftest.$ac_objext
7917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7918 lt_compiler_flag="-fno-rtti -fno-exceptions"
7919 # Insert the option either (1) after the last *FLAGS variable, or
7920 # (2) before a word containing "conftest.", or (3) at the end.
7921 # Note that $ac_compile itself does not contain backslashes and begins
7922 # with a dollar sign (not a hyphen), so the echo should work correctly.
7923 # The option is referenced via a variable to avoid confusing sed.
7924 lt_compile=`echo "$ac_compile" | $SED \
7925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7927 -e 's:$: $lt_compiler_flag:'`
7928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7929 (eval "$lt_compile" 2>conftest.err)
7930 ac_status=$?
7931 cat conftest.err >&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 if (exit $ac_status) && test -s "$ac_outfile"; then
7934 # The compiler can only warn and ignore the option if not recognized
7935 # So say no if there are warnings other than the usual output.
7936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7939 lt_cv_prog_compiler_rtti_exceptions=yes
7940 fi
7941 fi
7942 $RM conftest*
7943
7944 fi
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7946 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7947
7948 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7949 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7950 else
7951 :
7952 fi
7953
7954 fi
7955
7956
7957
7958
7959
7960
7961 lt_prog_compiler_wl=
7962 lt_prog_compiler_pic=
7963 lt_prog_compiler_static=
7964
7965
7966 if test "$GCC" = yes; then
7967 lt_prog_compiler_wl='-Wl,'
7968 lt_prog_compiler_static='-static'
7969
7970 case $host_os in
7971 aix*)
7972 # All AIX code is PIC.
7973 if test "$host_cpu" = ia64; then
7974 # AIX 5 now supports IA64 processor
7975 lt_prog_compiler_static='-Bstatic'
7976 fi
7977 ;;
7978
7979 amigaos*)
7980 case $host_cpu in
7981 powerpc)
7982 # see comment about AmigaOS4 .so support
7983 lt_prog_compiler_pic='-fPIC'
7984 ;;
7985 m68k)
7986 # FIXME: we need at least 68020 code to build shared libraries, but
7987 # adding the `-m68020' flag to GCC prevents building anything better,
7988 # like `-m68040'.
7989 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7990 ;;
7991 esac
7992 ;;
7993
7994 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7995 # PIC is the default for these OSes.
7996 ;;
7997
7998 mingw* | cygwin* | pw32* | os2* | cegcc*)
7999 # This hack is so that the source file can tell whether it is being
8000 # built for inclusion in a dll (and should export symbols for example).
8001 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8002 # (--disable-auto-import) libraries
8003 lt_prog_compiler_pic='-DDLL_EXPORT'
8004 ;;
8005
8006 darwin* | rhapsody*)
8007 # PIC is the default on this platform
8008 # Common symbols not allowed in MH_DYLIB files
8009 lt_prog_compiler_pic='-fno-common'
8010 ;;
8011
8012 haiku*)
8013 # PIC is the default for Haiku.
8014 # The "-static" flag exists, but is broken.
8015 lt_prog_compiler_static=
8016 ;;
8017
8018 hpux*)
8019 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8020 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8021 # sets the default TLS model and affects inlining.
8022 case $host_cpu in
8023 hppa*64*)
8024 # +Z the default
8025 ;;
8026 *)
8027 lt_prog_compiler_pic='-fPIC'
8028 ;;
8029 esac
8030 ;;
8031
8032 interix[3-9]*)
8033 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8034 # Instead, we relocate shared libraries at runtime.
8035 ;;
8036
8037 msdosdjgpp*)
8038 # Just because we use GCC doesn't mean we suddenly get shared libraries
8039 # on systems that don't support them.
8040 lt_prog_compiler_can_build_shared=no
8041 enable_shared=no
8042 ;;
8043
8044 *nto* | *qnx*)
8045 # QNX uses GNU C++, but need to define -shared option too, otherwise
8046 # it will coredump.
8047 lt_prog_compiler_pic='-fPIC -shared'
8048 ;;
8049
8050 sysv4*MP*)
8051 if test -d /usr/nec; then
8052 lt_prog_compiler_pic=-Kconform_pic
8053 fi
8054 ;;
8055
8056 *)
8057 lt_prog_compiler_pic='-fPIC'
8058 ;;
8059 esac
8060
8061 case $cc_basename in
8062 nvcc*) # Cuda Compiler Driver 2.2
8063 lt_prog_compiler_wl='-Xlinker '
8064 lt_prog_compiler_pic='-Xcompiler -fPIC'
8065 ;;
8066 esac
8067 else
8068 # PORTME Check for flag to pass linker flags through the system compiler.
8069 case $host_os in
8070 aix*)
8071 lt_prog_compiler_wl='-Wl,'
8072 if test "$host_cpu" = ia64; then
8073 # AIX 5 now supports IA64 processor
8074 lt_prog_compiler_static='-Bstatic'
8075 else
8076 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8077 fi
8078 ;;
8079
8080 mingw* | cygwin* | pw32* | os2* | cegcc*)
8081 # This hack is so that the source file can tell whether it is being
8082 # built for inclusion in a dll (and should export symbols for example).
8083 lt_prog_compiler_pic='-DDLL_EXPORT'
8084 ;;
8085
8086 hpux9* | hpux10* | hpux11*)
8087 lt_prog_compiler_wl='-Wl,'
8088 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8089 # not for PA HP-UX.
8090 case $host_cpu in
8091 hppa*64*|ia64*)
8092 # +Z the default
8093 ;;
8094 *)
8095 lt_prog_compiler_pic='+Z'
8096 ;;
8097 esac
8098 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8099 lt_prog_compiler_static='${wl}-a ${wl}archive'
8100 ;;
8101
8102 irix5* | irix6* | nonstopux*)
8103 lt_prog_compiler_wl='-Wl,'
8104 # PIC (with -KPIC) is the default.
8105 lt_prog_compiler_static='-non_shared'
8106 ;;
8107
8108 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8109 case $cc_basename in
8110 # old Intel for x86_64 which still supported -KPIC.
8111 ecc*)
8112 lt_prog_compiler_wl='-Wl,'
8113 lt_prog_compiler_pic='-KPIC'
8114 lt_prog_compiler_static='-static'
8115 ;;
8116 # icc used to be incompatible with GCC.
8117 # ICC 10 doesn't accept -KPIC any more.
8118 icc* | ifort*)
8119 lt_prog_compiler_wl='-Wl,'
8120 lt_prog_compiler_pic='-fPIC'
8121 lt_prog_compiler_static='-static'
8122 ;;
8123 # Lahey Fortran 8.1.
8124 lf95*)
8125 lt_prog_compiler_wl='-Wl,'
8126 lt_prog_compiler_pic='--shared'
8127 lt_prog_compiler_static='--static'
8128 ;;
8129 nagfor*)
8130 # NAG Fortran compiler
8131 lt_prog_compiler_wl='-Wl,-Wl,,'
8132 lt_prog_compiler_pic='-PIC'
8133 lt_prog_compiler_static='-Bstatic'
8134 ;;
8135 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8136 # Portland Group compilers (*not* the Pentium gcc compiler,
8137 # which looks to be a dead project)
8138 lt_prog_compiler_wl='-Wl,'
8139 lt_prog_compiler_pic='-fpic'
8140 lt_prog_compiler_static='-Bstatic'
8141 ;;
8142 ccc*)
8143 lt_prog_compiler_wl='-Wl,'
8144 # All Alpha code is PIC.
8145 lt_prog_compiler_static='-non_shared'
8146 ;;
8147 xl* | bgxl* | bgf* | mpixl*)
8148 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8149 lt_prog_compiler_wl='-Wl,'
8150 lt_prog_compiler_pic='-qpic'
8151 lt_prog_compiler_static='-qstaticlink'
8152 ;;
8153 *)
8154 case `$CC -V 2>&1 | sed 5q` in
8155 *Sun\ F* | *Sun*Fortran*)
8156 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8157 lt_prog_compiler_pic='-KPIC'
8158 lt_prog_compiler_static='-Bstatic'
8159 lt_prog_compiler_wl=''
8160 ;;
8161 *Sun\ C*)
8162 # Sun C 5.9
8163 lt_prog_compiler_pic='-KPIC'
8164 lt_prog_compiler_static='-Bstatic'
8165 lt_prog_compiler_wl='-Wl,'
8166 ;;
8167 esac
8168 ;;
8169 esac
8170 ;;
8171
8172 newsos6)
8173 lt_prog_compiler_pic='-KPIC'
8174 lt_prog_compiler_static='-Bstatic'
8175 ;;
8176
8177 *nto* | *qnx*)
8178 # QNX uses GNU C++, but need to define -shared option too, otherwise
8179 # it will coredump.
8180 lt_prog_compiler_pic='-fPIC -shared'
8181 ;;
8182
8183 osf3* | osf4* | osf5*)
8184 lt_prog_compiler_wl='-Wl,'
8185 # All OSF/1 code is PIC.
8186 lt_prog_compiler_static='-non_shared'
8187 ;;
8188
8189 rdos*)
8190 lt_prog_compiler_static='-non_shared'
8191 ;;
8192
8193 solaris*)
8194 lt_prog_compiler_pic='-KPIC'
8195 lt_prog_compiler_static='-Bstatic'
8196 case $cc_basename in
8197 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8198 lt_prog_compiler_wl='-Qoption ld ';;
8199 *)
8200 lt_prog_compiler_wl='-Wl,';;
8201 esac
8202 ;;
8203
8204 sunos4*)
8205 lt_prog_compiler_wl='-Qoption ld '
8206 lt_prog_compiler_pic='-PIC'
8207 lt_prog_compiler_static='-Bstatic'
8208 ;;
8209
8210 sysv4 | sysv4.2uw2* | sysv4.3*)
8211 lt_prog_compiler_wl='-Wl,'
8212 lt_prog_compiler_pic='-KPIC'
8213 lt_prog_compiler_static='-Bstatic'
8214 ;;
8215
8216 sysv4*MP*)
8217 if test -d /usr/nec ;then
8218 lt_prog_compiler_pic='-Kconform_pic'
8219 lt_prog_compiler_static='-Bstatic'
8220 fi
8221 ;;
8222
8223 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8224 lt_prog_compiler_wl='-Wl,'
8225 lt_prog_compiler_pic='-KPIC'
8226 lt_prog_compiler_static='-Bstatic'
8227 ;;
8228
8229 unicos*)
8230 lt_prog_compiler_wl='-Wl,'
8231 lt_prog_compiler_can_build_shared=no
8232 ;;
8233
8234 uts4*)
8235 lt_prog_compiler_pic='-pic'
8236 lt_prog_compiler_static='-Bstatic'
8237 ;;
8238
8239 *)
8240 lt_prog_compiler_can_build_shared=no
8241 ;;
8242 esac
8243 fi
8244
8245 case $host_os in
8246 # For platforms which do not support PIC, -DPIC is meaningless:
8247 *djgpp*)
8248 lt_prog_compiler_pic=
8249 ;;
8250 *)
8251 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8252 ;;
8253 esac
8254
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8257 if ${lt_cv_prog_compiler_pic+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8261 fi
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8263 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8264 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8265
8266 #
8267 # Check to make sure the PIC flag actually works.
8268 #
8269 if test -n "$lt_prog_compiler_pic"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8271 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8272 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 lt_cv_prog_compiler_pic_works=no
8276 ac_outfile=conftest.$ac_objext
8277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8278 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8279 # Insert the option either (1) after the last *FLAGS variable, or
8280 # (2) before a word containing "conftest.", or (3) at the end.
8281 # Note that $ac_compile itself does not contain backslashes and begins
8282 # with a dollar sign (not a hyphen), so the echo should work correctly.
8283 # The option is referenced via a variable to avoid confusing sed.
8284 lt_compile=`echo "$ac_compile" | $SED \
8285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287 -e 's:$: $lt_compiler_flag:'`
8288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8289 (eval "$lt_compile" 2>conftest.err)
8290 ac_status=$?
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 if (exit $ac_status) && test -s "$ac_outfile"; then
8294 # The compiler can only warn and ignore the option if not recognized
8295 # So say no if there are warnings other than the usual output.
8296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8299 lt_cv_prog_compiler_pic_works=yes
8300 fi
8301 fi
8302 $RM conftest*
8303
8304 fi
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8306 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8307
8308 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8309 case $lt_prog_compiler_pic in
8310 "" | " "*) ;;
8311 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8312 esac
8313 else
8314 lt_prog_compiler_pic=
8315 lt_prog_compiler_can_build_shared=no
8316 fi
8317
8318 fi
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330 #
8331 # Check to make sure the static flag actually works.
8332 #
8333 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8335 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8336 if ${lt_cv_prog_compiler_static_works+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 lt_cv_prog_compiler_static_works=no
8340 save_LDFLAGS="$LDFLAGS"
8341 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8342 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8343 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8344 # The linker can only warn and ignore the option if not recognized
8345 # So say no if there are warnings
8346 if test -s conftest.err; then
8347 # Append any errors to the config.log.
8348 cat conftest.err 1>&5
8349 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8350 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8351 if diff conftest.exp conftest.er2 >/dev/null; then
8352 lt_cv_prog_compiler_static_works=yes
8353 fi
8354 else
8355 lt_cv_prog_compiler_static_works=yes
8356 fi
8357 fi
8358 $RM -r conftest*
8359 LDFLAGS="$save_LDFLAGS"
8360
8361 fi
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8363 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8364
8365 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8366 :
8367 else
8368 lt_prog_compiler_static=
8369 fi
8370
8371
8372
8373
8374
8375
8376
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8378 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8379 if ${lt_cv_prog_compiler_c_o+:} false; then :
8380 $as_echo_n "(cached) " >&6
8381 else
8382 lt_cv_prog_compiler_c_o=no
8383 $RM -r conftest 2>/dev/null
8384 mkdir conftest
8385 cd conftest
8386 mkdir out
8387 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8388
8389 lt_compiler_flag="-o out/conftest2.$ac_objext"
8390 # Insert the option either (1) after the last *FLAGS variable, or
8391 # (2) before a word containing "conftest.", or (3) at the end.
8392 # Note that $ac_compile itself does not contain backslashes and begins
8393 # with a dollar sign (not a hyphen), so the echo should work correctly.
8394 lt_compile=`echo "$ac_compile" | $SED \
8395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8397 -e 's:$: $lt_compiler_flag:'`
8398 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8399 (eval "$lt_compile" 2>out/conftest.err)
8400 ac_status=$?
8401 cat out/conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8404 then
8405 # The compiler can only warn and ignore the option if not recognized
8406 # So say no if there are warnings
8407 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8408 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8409 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8410 lt_cv_prog_compiler_c_o=yes
8411 fi
8412 fi
8413 chmod u+w . 2>&5
8414 $RM conftest*
8415 # SGI C++ compiler will create directory out/ii_files/ for
8416 # template instantiation
8417 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8418 $RM out/* && rmdir out
8419 cd ..
8420 $RM -r conftest
8421 $RM conftest*
8422
8423 fi
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8425 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8426
8427
8428
8429
8430
8431
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8433 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8434 if ${lt_cv_prog_compiler_c_o+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 lt_cv_prog_compiler_c_o=no
8438 $RM -r conftest 2>/dev/null
8439 mkdir conftest
8440 cd conftest
8441 mkdir out
8442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8443
8444 lt_compiler_flag="-o out/conftest2.$ac_objext"
8445 # Insert the option either (1) after the last *FLAGS variable, or
8446 # (2) before a word containing "conftest.", or (3) at the end.
8447 # Note that $ac_compile itself does not contain backslashes and begins
8448 # with a dollar sign (not a hyphen), so the echo should work correctly.
8449 lt_compile=`echo "$ac_compile" | $SED \
8450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8452 -e 's:$: $lt_compiler_flag:'`
8453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8454 (eval "$lt_compile" 2>out/conftest.err)
8455 ac_status=$?
8456 cat out/conftest.err >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8459 then
8460 # The compiler can only warn and ignore the option if not recognized
8461 # So say no if there are warnings
8462 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8463 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8464 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8465 lt_cv_prog_compiler_c_o=yes
8466 fi
8467 fi
8468 chmod u+w . 2>&5
8469 $RM conftest*
8470 # SGI C++ compiler will create directory out/ii_files/ for
8471 # template instantiation
8472 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8473 $RM out/* && rmdir out
8474 cd ..
8475 $RM -r conftest
8476 $RM conftest*
8477
8478 fi
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8480 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8481
8482
8483
8484
8485 hard_links="nottested"
8486 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8487 # do not overwrite the value of need_locks provided by the user
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8489 $as_echo_n "checking if we can lock with hard links... " >&6; }
8490 hard_links=yes
8491 $RM conftest*
8492 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8493 touch conftest.a
8494 ln conftest.a conftest.b 2>&5 || hard_links=no
8495 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8497 $as_echo "$hard_links" >&6; }
8498 if test "$hard_links" = no; then
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8500 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8501 need_locks=warn
8502 fi
8503 else
8504 need_locks=no
8505 fi
8506
8507
8508
8509
8510
8511
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8514
8515 runpath_var=
8516 allow_undefined_flag=
8517 always_export_symbols=no
8518 archive_cmds=
8519 archive_expsym_cmds=
8520 compiler_needs_object=no
8521 enable_shared_with_static_runtimes=no
8522 export_dynamic_flag_spec=
8523 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8524 hardcode_automatic=no
8525 hardcode_direct=no
8526 hardcode_direct_absolute=no
8527 hardcode_libdir_flag_spec=
8528 hardcode_libdir_flag_spec_ld=
8529 hardcode_libdir_separator=
8530 hardcode_minus_L=no
8531 hardcode_shlibpath_var=unsupported
8532 inherit_rpath=no
8533 link_all_deplibs=unknown
8534 module_cmds=
8535 module_expsym_cmds=
8536 old_archive_from_new_cmds=
8537 old_archive_from_expsyms_cmds=
8538 thread_safe_flag_spec=
8539 whole_archive_flag_spec=
8540 # include_expsyms should be a list of space-separated symbols to be *always*
8541 # included in the symbol list
8542 include_expsyms=
8543 # exclude_expsyms can be an extended regexp of symbols to exclude
8544 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8545 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8546 # as well as any symbol that contains `d'.
8547 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8548 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8549 # platforms (ab)use it in PIC code, but their linkers get confused if
8550 # the symbol is explicitly referenced. Since portable code cannot
8551 # rely on this symbol name, it's probably fine to never include it in
8552 # preloaded symbol tables.
8553 # Exclude shared library initialization/finalization symbols.
8554 extract_expsyms_cmds=
8555
8556 case $host_os in
8557 cygwin* | mingw* | pw32* | cegcc*)
8558 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8559 # When not using gcc, we currently assume that we are using
8560 # Microsoft Visual C++.
8561 if test "$GCC" != yes; then
8562 with_gnu_ld=no
8563 fi
8564 ;;
8565 interix*)
8566 # we just hope/assume this is gcc and not c89 (= MSVC++)
8567 with_gnu_ld=yes
8568 ;;
8569 openbsd*)
8570 with_gnu_ld=no
8571 ;;
8572 esac
8573
8574 ld_shlibs=yes
8575
8576 # On some targets, GNU ld is compatible enough with the native linker
8577 # that we're better off using the native interface for both.
8578 lt_use_gnu_ld_interface=no
8579 if test "$with_gnu_ld" = yes; then
8580 case $host_os in
8581 aix*)
8582 # The AIX port of GNU ld has always aspired to compatibility
8583 # with the native linker. However, as the warning in the GNU ld
8584 # block says, versions before 2.19.5* couldn't really create working
8585 # shared libraries, regardless of the interface used.
8586 case `$LD -v 2>&1` in
8587 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8588 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8589 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8590 *)
8591 lt_use_gnu_ld_interface=yes
8592 ;;
8593 esac
8594 ;;
8595 *)
8596 lt_use_gnu_ld_interface=yes
8597 ;;
8598 esac
8599 fi
8600
8601 if test "$lt_use_gnu_ld_interface" = yes; then
8602 # If archive_cmds runs LD, not CC, wlarc should be empty
8603 wlarc='${wl}'
8604
8605 # Set some defaults for GNU ld with shared library support. These
8606 # are reset later if shared libraries are not supported. Putting them
8607 # here allows them to be overridden if necessary.
8608 runpath_var=LD_RUN_PATH
8609 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8610 export_dynamic_flag_spec='${wl}--export-dynamic'
8611 # ancient GNU ld didn't support --whole-archive et. al.
8612 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8613 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8614 else
8615 whole_archive_flag_spec=
8616 fi
8617 supports_anon_versioning=no
8618 case `$LD -v 2>&1` in
8619 *GNU\ gold*) supports_anon_versioning=yes ;;
8620 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8621 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8622 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8623 *\ 2.11.*) ;; # other 2.11 versions
8624 *) supports_anon_versioning=yes ;;
8625 esac
8626
8627 # See if GNU ld supports shared libraries.
8628 case $host_os in
8629 aix[3-9]*)
8630 # On AIX/PPC, the GNU linker is very broken
8631 if test "$host_cpu" != ia64; then
8632 ld_shlibs=no
8633 cat <<_LT_EOF 1>&2
8634
8635 *** Warning: the GNU linker, at least up to release 2.19, is reported
8636 *** to be unable to reliably create shared libraries on AIX.
8637 *** Therefore, libtool is disabling shared libraries support. If you
8638 *** really care for shared libraries, you may want to install binutils
8639 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8640 *** You will then need to restart the configuration process.
8641
8642 _LT_EOF
8643 fi
8644 ;;
8645
8646 amigaos*)
8647 case $host_cpu in
8648 powerpc)
8649 # see comment about AmigaOS4 .so support
8650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8651 archive_expsym_cmds=''
8652 ;;
8653 m68k)
8654 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)'
8655 hardcode_libdir_flag_spec='-L$libdir'
8656 hardcode_minus_L=yes
8657 ;;
8658 esac
8659 ;;
8660
8661 beos*)
8662 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8663 allow_undefined_flag=unsupported
8664 # Joseph Beckenbach <[email protected]> says some releases of gcc
8665 # support --undefined. This deserves some investigation. FIXME
8666 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8667 else
8668 ld_shlibs=no
8669 fi
8670 ;;
8671
8672 cygwin* | mingw* | pw32* | cegcc*)
8673 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8674 # as there is no search path for DLLs.
8675 hardcode_libdir_flag_spec='-L$libdir'
8676 export_dynamic_flag_spec='${wl}--export-all-symbols'
8677 allow_undefined_flag=unsupported
8678 always_export_symbols=no
8679 enable_shared_with_static_runtimes=yes
8680 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'
8681 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8682
8683 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8685 # If the export-symbols file already is a .def file (1st line
8686 # is EXPORTS), use it as is; otherwise, prepend...
8687 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8688 cp $export_symbols $output_objdir/$soname.def;
8689 else
8690 echo EXPORTS > $output_objdir/$soname.def;
8691 cat $export_symbols >> $output_objdir/$soname.def;
8692 fi~
8693 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8694 else
8695 ld_shlibs=no
8696 fi
8697 ;;
8698
8699 haiku*)
8700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8701 link_all_deplibs=yes
8702 ;;
8703
8704 interix[3-9]*)
8705 hardcode_direct=no
8706 hardcode_shlibpath_var=no
8707 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8708 export_dynamic_flag_spec='${wl}-E'
8709 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8710 # Instead, shared libraries are loaded at an image base (0x10000000 by
8711 # default) and relocated if they conflict, which is a slow very memory
8712 # consuming and fragmenting process. To avoid this, we pick a random,
8713 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8714 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8715 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8716 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'
8717 ;;
8718
8719 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8720 tmp_diet=no
8721 if test "$host_os" = linux-dietlibc; then
8722 case $cc_basename in
8723 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8724 esac
8725 fi
8726 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8727 && test "$tmp_diet" = no
8728 then
8729 tmp_addflag=' $pic_flag'
8730 tmp_sharedflag='-shared'
8731 case $cc_basename,$host_cpu in
8732 pgcc*) # Portland Group C compiler
8733 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'
8734 tmp_addflag=' $pic_flag'
8735 ;;
8736 pgf77* | pgf90* | pgf95* | pgfortran*)
8737 # Portland Group f77 and f90 compilers
8738 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'
8739 tmp_addflag=' $pic_flag -Mnomain' ;;
8740 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8741 tmp_addflag=' -i_dynamic' ;;
8742 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8743 tmp_addflag=' -i_dynamic -nofor_main' ;;
8744 ifc* | ifort*) # Intel Fortran compiler
8745 tmp_addflag=' -nofor_main' ;;
8746 lf95*) # Lahey Fortran 8.1
8747 whole_archive_flag_spec=
8748 tmp_sharedflag='--shared' ;;
8749 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8750 tmp_sharedflag='-qmkshrobj'
8751 tmp_addflag= ;;
8752 nvcc*) # Cuda Compiler Driver 2.2
8753 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'
8754 compiler_needs_object=yes
8755 ;;
8756 esac
8757 case `$CC -V 2>&1 | sed 5q` in
8758 *Sun\ C*) # Sun C 5.9
8759 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'
8760 compiler_needs_object=yes
8761 tmp_sharedflag='-G' ;;
8762 *Sun\ F*) # Sun Fortran 8.3
8763 tmp_sharedflag='-G' ;;
8764 esac
8765 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8766
8767 if test "x$supports_anon_versioning" = xyes; then
8768 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8769 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8770 echo "local: *; };" >> $output_objdir/$libname.ver~
8771 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8772 fi
8773
8774 case $cc_basename in
8775 xlf* | bgf* | bgxlf* | mpixlf*)
8776 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8777 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8778 hardcode_libdir_flag_spec=
8779 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8780 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8781 if test "x$supports_anon_versioning" = xyes; then
8782 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8783 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8784 echo "local: *; };" >> $output_objdir/$libname.ver~
8785 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8786 fi
8787 ;;
8788 esac
8789 else
8790 ld_shlibs=no
8791 fi
8792 ;;
8793
8794 netbsd*)
8795 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8796 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8797 wlarc=
8798 else
8799 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8800 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8801 fi
8802 ;;
8803
8804 solaris*)
8805 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8806 ld_shlibs=no
8807 cat <<_LT_EOF 1>&2
8808
8809 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8810 *** create shared libraries on Solaris systems. Therefore, libtool
8811 *** is disabling shared libraries support. We urge you to upgrade GNU
8812 *** binutils to release 2.9.1 or newer. Another option is to modify
8813 *** your PATH or compiler configuration so that the native linker is
8814 *** used, and then restart.
8815
8816 _LT_EOF
8817 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8818 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8819 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8820 else
8821 ld_shlibs=no
8822 fi
8823 ;;
8824
8825 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8826 case `$LD -v 2>&1` in
8827 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8828 ld_shlibs=no
8829 cat <<_LT_EOF 1>&2
8830
8831 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8832 *** reliably create shared libraries on SCO systems. Therefore, libtool
8833 *** is disabling shared libraries support. We urge you to upgrade GNU
8834 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8835 *** your PATH or compiler configuration so that the native linker is
8836 *** used, and then restart.
8837
8838 _LT_EOF
8839 ;;
8840 *)
8841 # For security reasons, it is highly recommended that you always
8842 # use absolute paths for naming shared libraries, and exclude the
8843 # DT_RUNPATH tag from executables and libraries. But doing so
8844 # requires that you compile everything twice, which is a pain.
8845 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8846 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8847 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8849 else
8850 ld_shlibs=no
8851 fi
8852 ;;
8853 esac
8854 ;;
8855
8856 sunos4*)
8857 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8858 wlarc=
8859 hardcode_direct=yes
8860 hardcode_shlibpath_var=no
8861 ;;
8862
8863 *)
8864 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8865 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8866 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8867 else
8868 ld_shlibs=no
8869 fi
8870 ;;
8871 esac
8872
8873 if test "$ld_shlibs" = no; then
8874 runpath_var=
8875 hardcode_libdir_flag_spec=
8876 export_dynamic_flag_spec=
8877 whole_archive_flag_spec=
8878 fi
8879 else
8880 # PORTME fill in a description of your system's linker (not GNU ld)
8881 case $host_os in
8882 aix3*)
8883 allow_undefined_flag=unsupported
8884 always_export_symbols=yes
8885 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'
8886 # Note: this linker hardcodes the directories in LIBPATH if there
8887 # are no directories specified by -L.
8888 hardcode_minus_L=yes
8889 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8890 # Neither direct hardcoding nor static linking is supported with a
8891 # broken collect2.
8892 hardcode_direct=unsupported
8893 fi
8894 ;;
8895
8896 aix[4-9]*)
8897 if test "$host_cpu" = ia64; then
8898 # On IA64, the linker does run time linking by default, so we don't
8899 # have to do anything special.
8900 aix_use_runtimelinking=no
8901 exp_sym_flag='-Bexport'
8902 no_entry_flag=""
8903 else
8904 # If we're using GNU nm, then we don't want the "-C" option.
8905 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8906 # Also, AIX nm treats weak defined symbols like other global
8907 # defined symbols, whereas GNU nm marks them as "W".
8908 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8909 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'
8910 else
8911 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'
8912 fi
8913 aix_use_runtimelinking=no
8914
8915 # Test if we are trying to use run time linking or normal
8916 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8917 # need to do runtime linking.
8918 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8919 for ld_flag in $LDFLAGS; do
8920 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8921 aix_use_runtimelinking=yes
8922 break
8923 fi
8924 done
8925 ;;
8926 esac
8927
8928 exp_sym_flag='-bexport'
8929 no_entry_flag='-bnoentry'
8930 fi
8931
8932 # When large executables or shared objects are built, AIX ld can
8933 # have problems creating the table of contents. If linking a library
8934 # or program results in "error TOC overflow" add -mminimal-toc to
8935 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8936 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8937
8938 archive_cmds=''
8939 hardcode_direct=yes
8940 hardcode_direct_absolute=yes
8941 hardcode_libdir_separator=':'
8942 link_all_deplibs=yes
8943 file_list_spec='${wl}-f,'
8944
8945 if test "$GCC" = yes; then
8946 case $host_os in aix4.[012]|aix4.[012].*)
8947 # We only want to do this on AIX 4.2 and lower, the check
8948 # below for broken collect2 doesn't work under 4.3+
8949 collect2name=`${CC} -print-prog-name=collect2`
8950 if test -f "$collect2name" &&
8951 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8952 then
8953 # We have reworked collect2
8954 :
8955 else
8956 # We have old collect2
8957 hardcode_direct=unsupported
8958 # It fails to find uninstalled libraries when the uninstalled
8959 # path is not listed in the libpath. Setting hardcode_minus_L
8960 # to unsupported forces relinking
8961 hardcode_minus_L=yes
8962 hardcode_libdir_flag_spec='-L$libdir'
8963 hardcode_libdir_separator=
8964 fi
8965 ;;
8966 esac
8967 shared_flag='-shared'
8968 if test "$aix_use_runtimelinking" = yes; then
8969 shared_flag="$shared_flag "'${wl}-G'
8970 fi
8971 else
8972 # not using gcc
8973 if test "$host_cpu" = ia64; then
8974 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8975 # chokes on -Wl,-G. The following line is correct:
8976 shared_flag='-G'
8977 else
8978 if test "$aix_use_runtimelinking" = yes; then
8979 shared_flag='${wl}-G'
8980 else
8981 shared_flag='${wl}-bM:SRE'
8982 fi
8983 fi
8984 fi
8985
8986 export_dynamic_flag_spec='${wl}-bexpall'
8987 # It seems that -bexpall does not export symbols beginning with
8988 # underscore (_), so it is better to generate a list of symbols to export.
8989 always_export_symbols=yes
8990 if test "$aix_use_runtimelinking" = yes; then
8991 # Warning - without using the other runtime loading flags (-brtl),
8992 # -berok will link without error, but may produce a broken library.
8993 allow_undefined_flag='-berok'
8994 # Determine the default libpath from the value encoded in an
8995 # empty executable.
8996 if test "${lt_cv_aix_libpath+set}" = set; then
8997 aix_libpath=$lt_cv_aix_libpath
8998 else
8999 if ${lt_cv_aix_libpath_+:} false; then :
9000 $as_echo_n "(cached) " >&6
9001 else
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9004
9005 int
9006 main ()
9007 {
9008
9009 ;
9010 return 0;
9011 }
9012 _ACEOF
9013 if ac_fn_c_try_link "$LINENO"; then :
9014
9015 lt_aix_libpath_sed='
9016 /Import File Strings/,/^$/ {
9017 /^0/ {
9018 s/^0 *\([^ ]*\) *$/\1/
9019 p
9020 }
9021 }'
9022 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9023 # Check for a 64-bit object if we didn't find anything.
9024 if test -z "$lt_cv_aix_libpath_"; then
9025 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9026 fi
9027 fi
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 if test -z "$lt_cv_aix_libpath_"; then
9031 lt_cv_aix_libpath_="/usr/lib:/lib"
9032 fi
9033
9034 fi
9035
9036 aix_libpath=$lt_cv_aix_libpath_
9037 fi
9038
9039 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9040 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"
9041 else
9042 if test "$host_cpu" = ia64; then
9043 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9044 allow_undefined_flag="-z nodefs"
9045 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"
9046 else
9047 # Determine the default libpath from the value encoded in an
9048 # empty executable.
9049 if test "${lt_cv_aix_libpath+set}" = set; then
9050 aix_libpath=$lt_cv_aix_libpath
9051 else
9052 if ${lt_cv_aix_libpath_+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9056 /* end confdefs.h. */
9057
9058 int
9059 main ()
9060 {
9061
9062 ;
9063 return 0;
9064 }
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9067
9068 lt_aix_libpath_sed='
9069 /Import File Strings/,/^$/ {
9070 /^0/ {
9071 s/^0 *\([^ ]*\) *$/\1/
9072 p
9073 }
9074 }'
9075 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9076 # Check for a 64-bit object if we didn't find anything.
9077 if test -z "$lt_cv_aix_libpath_"; then
9078 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9079 fi
9080 fi
9081 rm -f core conftest.err conftest.$ac_objext \
9082 conftest$ac_exeext conftest.$ac_ext
9083 if test -z "$lt_cv_aix_libpath_"; then
9084 lt_cv_aix_libpath_="/usr/lib:/lib"
9085 fi
9086
9087 fi
9088
9089 aix_libpath=$lt_cv_aix_libpath_
9090 fi
9091
9092 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9093 # Warning - without using the other run time loading flags,
9094 # -berok will link without error, but may produce a broken library.
9095 no_undefined_flag=' ${wl}-bernotok'
9096 allow_undefined_flag=' ${wl}-berok'
9097 if test "$with_gnu_ld" = yes; then
9098 # We only use this code for GNU lds that support --whole-archive.
9099 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9100 else
9101 # Exported symbols can be pulled into shared objects from archives
9102 whole_archive_flag_spec='$convenience'
9103 fi
9104 archive_cmds_need_lc=yes
9105 # This is similar to how AIX traditionally builds its shared libraries.
9106 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'
9107 fi
9108 fi
9109 ;;
9110
9111 amigaos*)
9112 case $host_cpu in
9113 powerpc)
9114 # see comment about AmigaOS4 .so support
9115 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9116 archive_expsym_cmds=''
9117 ;;
9118 m68k)
9119 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)'
9120 hardcode_libdir_flag_spec='-L$libdir'
9121 hardcode_minus_L=yes
9122 ;;
9123 esac
9124 ;;
9125
9126 bsdi[45]*)
9127 export_dynamic_flag_spec=-rdynamic
9128 ;;
9129
9130 cygwin* | mingw* | pw32* | cegcc*)
9131 # When not using gcc, we currently assume that we are using
9132 # Microsoft Visual C++.
9133 # hardcode_libdir_flag_spec is actually meaningless, as there is
9134 # no search path for DLLs.
9135 case $cc_basename in
9136 cl*)
9137 # Native MSVC
9138 hardcode_libdir_flag_spec=' '
9139 allow_undefined_flag=unsupported
9140 always_export_symbols=yes
9141 file_list_spec='@'
9142 # Tell ltmain to make .lib files, not .a files.
9143 libext=lib
9144 # Tell ltmain to make .dll files, not .so files.
9145 shrext_cmds=".dll"
9146 # FIXME: Setting linknames here is a bad hack.
9147 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9148 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9149 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9150 else
9151 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9152 fi~
9153 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9154 linknames='
9155 # The linker will not automatically build a static lib if we build a DLL.
9156 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9157 enable_shared_with_static_runtimes=yes
9158 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9159 # Don't use ranlib
9160 old_postinstall_cmds='chmod 644 $oldlib'
9161 postlink_cmds='lt_outputfile="@OUTPUT@"~
9162 lt_tool_outputfile="@TOOL_OUTPUT@"~
9163 case $lt_outputfile in
9164 *.exe|*.EXE) ;;
9165 *)
9166 lt_outputfile="$lt_outputfile.exe"
9167 lt_tool_outputfile="$lt_tool_outputfile.exe"
9168 ;;
9169 esac~
9170 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9171 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9172 $RM "$lt_outputfile.manifest";
9173 fi'
9174 ;;
9175 *)
9176 # Assume MSVC wrapper
9177 hardcode_libdir_flag_spec=' '
9178 allow_undefined_flag=unsupported
9179 # Tell ltmain to make .lib files, not .a files.
9180 libext=lib
9181 # Tell ltmain to make .dll files, not .so files.
9182 shrext_cmds=".dll"
9183 # FIXME: Setting linknames here is a bad hack.
9184 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9185 # The linker will automatically build a .lib file if we build a DLL.
9186 old_archive_from_new_cmds='true'
9187 # FIXME: Should let the user specify the lib program.
9188 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9189 enable_shared_with_static_runtimes=yes
9190 ;;
9191 esac
9192 ;;
9193
9194 darwin* | rhapsody*)
9195
9196
9197 archive_cmds_need_lc=no
9198 hardcode_direct=no
9199 hardcode_automatic=yes
9200 hardcode_shlibpath_var=unsupported
9201 if test "$lt_cv_ld_force_load" = "yes"; then
9202 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\"`'
9203 else
9204 whole_archive_flag_spec=''
9205 fi
9206 link_all_deplibs=yes
9207 allow_undefined_flag="$_lt_dar_allow_undefined"
9208 case $cc_basename in
9209 ifort*) _lt_dar_can_shared=yes ;;
9210 *) _lt_dar_can_shared=$GCC ;;
9211 esac
9212 if test "$_lt_dar_can_shared" = "yes"; then
9213 output_verbose_link_cmd=func_echo_all
9214 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9215 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9216 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}"
9217 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}"
9218
9219 else
9220 ld_shlibs=no
9221 fi
9222
9223 ;;
9224
9225 dgux*)
9226 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9227 hardcode_libdir_flag_spec='-L$libdir'
9228 hardcode_shlibpath_var=no
9229 ;;
9230
9231 freebsd1*)
9232 ld_shlibs=no
9233 ;;
9234
9235 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9236 # support. Future versions do this automatically, but an explicit c++rt0.o
9237 # does not break anything, and helps significantly (at the cost of a little
9238 # extra space).
9239 freebsd2.2*)
9240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9241 hardcode_libdir_flag_spec='-R$libdir'
9242 hardcode_direct=yes
9243 hardcode_shlibpath_var=no
9244 ;;
9245
9246 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9247 freebsd2*)
9248 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9249 hardcode_direct=yes
9250 hardcode_minus_L=yes
9251 hardcode_shlibpath_var=no
9252 ;;
9253
9254 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9255 freebsd* | dragonfly*)
9256 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9257 hardcode_libdir_flag_spec='-R$libdir'
9258 hardcode_direct=yes
9259 hardcode_shlibpath_var=no
9260 ;;
9261
9262 hpux9*)
9263 if test "$GCC" = yes; then
9264 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'
9265 else
9266 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'
9267 fi
9268 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9269 hardcode_libdir_separator=:
9270 hardcode_direct=yes
9271
9272 # hardcode_minus_L: Not really in the search PATH,
9273 # but as the default location of the library.
9274 hardcode_minus_L=yes
9275 export_dynamic_flag_spec='${wl}-E'
9276 ;;
9277
9278 hpux10*)
9279 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9280 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9281 else
9282 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9283 fi
9284 if test "$with_gnu_ld" = no; then
9285 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9286 hardcode_libdir_flag_spec_ld='+b $libdir'
9287 hardcode_libdir_separator=:
9288 hardcode_direct=yes
9289 hardcode_direct_absolute=yes
9290 export_dynamic_flag_spec='${wl}-E'
9291 # hardcode_minus_L: Not really in the search PATH,
9292 # but as the default location of the library.
9293 hardcode_minus_L=yes
9294 fi
9295 ;;
9296
9297 hpux11*)
9298 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9299 case $host_cpu in
9300 hppa*64*)
9301 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9302 ;;
9303 ia64*)
9304 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9305 ;;
9306 *)
9307 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9308 ;;
9309 esac
9310 else
9311 case $host_cpu in
9312 hppa*64*)
9313 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9314 ;;
9315 ia64*)
9316 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9317 ;;
9318 *)
9319
9320 # Older versions of the 11.00 compiler do not understand -b yet
9321 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9323 $as_echo_n "checking if $CC understands -b... " >&6; }
9324 if ${lt_cv_prog_compiler__b+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 lt_cv_prog_compiler__b=no
9328 save_LDFLAGS="$LDFLAGS"
9329 LDFLAGS="$LDFLAGS -b"
9330 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9331 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9332 # The linker can only warn and ignore the option if not recognized
9333 # So say no if there are warnings
9334 if test -s conftest.err; then
9335 # Append any errors to the config.log.
9336 cat conftest.err 1>&5
9337 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9338 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9339 if diff conftest.exp conftest.er2 >/dev/null; then
9340 lt_cv_prog_compiler__b=yes
9341 fi
9342 else
9343 lt_cv_prog_compiler__b=yes
9344 fi
9345 fi
9346 $RM -r conftest*
9347 LDFLAGS="$save_LDFLAGS"
9348
9349 fi
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9351 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9352
9353 if test x"$lt_cv_prog_compiler__b" = xyes; then
9354 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9355 else
9356 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9357 fi
9358
9359 ;;
9360 esac
9361 fi
9362 if test "$with_gnu_ld" = no; then
9363 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9364 hardcode_libdir_separator=:
9365
9366 case $host_cpu in
9367 hppa*64*|ia64*)
9368 hardcode_direct=no
9369 hardcode_shlibpath_var=no
9370 ;;
9371 *)
9372 hardcode_direct=yes
9373 hardcode_direct_absolute=yes
9374 export_dynamic_flag_spec='${wl}-E'
9375
9376 # hardcode_minus_L: Not really in the search PATH,
9377 # but as the default location of the library.
9378 hardcode_minus_L=yes
9379 ;;
9380 esac
9381 fi
9382 ;;
9383
9384 irix5* | irix6* | nonstopux*)
9385 if test "$GCC" = yes; then
9386 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'
9387 # Try to use the -exported_symbol ld option, if it does not
9388 # work, assume that -exports_file does not work either and
9389 # implicitly export all symbols.
9390 # This should be the same for all languages, so no per-tag cache variable.
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9392 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9393 if ${lt_cv_irix_exported_symbol+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 save_LDFLAGS="$LDFLAGS"
9397 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int foo (void) { return 0; }
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 lt_cv_irix_exported_symbol=yes
9404 else
9405 lt_cv_irix_exported_symbol=no
9406 fi
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LDFLAGS="$save_LDFLAGS"
9410 fi
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9412 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9413 if test "$lt_cv_irix_exported_symbol" = yes; then
9414 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'
9415 fi
9416 else
9417 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'
9418 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'
9419 fi
9420 archive_cmds_need_lc='no'
9421 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9422 hardcode_libdir_separator=:
9423 inherit_rpath=yes
9424 link_all_deplibs=yes
9425 ;;
9426
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9430 else
9431 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9432 fi
9433 hardcode_libdir_flag_spec='-R$libdir'
9434 hardcode_direct=yes
9435 hardcode_shlibpath_var=no
9436 ;;
9437
9438 newsos6)
9439 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9440 hardcode_direct=yes
9441 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9442 hardcode_libdir_separator=:
9443 hardcode_shlibpath_var=no
9444 ;;
9445
9446 *nto* | *qnx*)
9447 ;;
9448
9449 openbsd*)
9450 if test -f /usr/libexec/ld.so; then
9451 hardcode_direct=yes
9452 hardcode_shlibpath_var=no
9453 hardcode_direct_absolute=yes
9454 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9455 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9456 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9457 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9458 export_dynamic_flag_spec='${wl}-E'
9459 else
9460 case $host_os in
9461 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9462 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9463 hardcode_libdir_flag_spec='-R$libdir'
9464 ;;
9465 *)
9466 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9467 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9468 ;;
9469 esac
9470 fi
9471 else
9472 ld_shlibs=no
9473 fi
9474 ;;
9475
9476 os2*)
9477 hardcode_libdir_flag_spec='-L$libdir'
9478 hardcode_minus_L=yes
9479 allow_undefined_flag=unsupported
9480 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'
9481 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9482 ;;
9483
9484 osf3*)
9485 if test "$GCC" = yes; then
9486 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9487 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'
9488 else
9489 allow_undefined_flag=' -expect_unresolved \*'
9490 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'
9491 fi
9492 archive_cmds_need_lc='no'
9493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9494 hardcode_libdir_separator=:
9495 ;;
9496
9497 osf4* | osf5*) # as osf3* with the addition of -msym flag
9498 if test "$GCC" = yes; then
9499 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9500 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'
9501 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9502 else
9503 allow_undefined_flag=' -expect_unresolved \*'
9504 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'
9505 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~
9506 $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'
9507
9508 # Both c and cxx compiler support -rpath directly
9509 hardcode_libdir_flag_spec='-rpath $libdir'
9510 fi
9511 archive_cmds_need_lc='no'
9512 hardcode_libdir_separator=:
9513 ;;
9514
9515 solaris*)
9516 no_undefined_flag=' -z defs'
9517 if test "$GCC" = yes; then
9518 wlarc='${wl}'
9519 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9521 $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'
9522 else
9523 case `$CC -V 2>&1` in
9524 *"Compilers 5.0"*)
9525 wlarc=''
9526 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9527 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9528 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9529 ;;
9530 *)
9531 wlarc='${wl}'
9532 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9533 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9534 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9535 ;;
9536 esac
9537 fi
9538 hardcode_libdir_flag_spec='-R$libdir'
9539 hardcode_shlibpath_var=no
9540 case $host_os in
9541 solaris2.[0-5] | solaris2.[0-5].*) ;;
9542 *)
9543 # The compiler driver will combine and reorder linker options,
9544 # but understands `-z linker_flag'. GCC discards it without `$wl',
9545 # but is careful enough not to reorder.
9546 # Supported since Solaris 2.6 (maybe 2.5.1?)
9547 if test "$GCC" = yes; then
9548 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9549 else
9550 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9551 fi
9552 ;;
9553 esac
9554 link_all_deplibs=yes
9555 ;;
9556
9557 sunos4*)
9558 if test "x$host_vendor" = xsequent; then
9559 # Use $CC to link under sequent, because it throws in some extra .o
9560 # files that make .init and .fini sections work.
9561 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9562 else
9563 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9564 fi
9565 hardcode_libdir_flag_spec='-L$libdir'
9566 hardcode_direct=yes
9567 hardcode_minus_L=yes
9568 hardcode_shlibpath_var=no
9569 ;;
9570
9571 sysv4)
9572 case $host_vendor in
9573 sni)
9574 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9575 hardcode_direct=yes # is this really true???
9576 ;;
9577 siemens)
9578 ## LD is ld it makes a PLAMLIB
9579 ## CC just makes a GrossModule.
9580 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9581 reload_cmds='$CC -r -o $output$reload_objs'
9582 hardcode_direct=no
9583 ;;
9584 motorola)
9585 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9586 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9587 ;;
9588 esac
9589 runpath_var='LD_RUN_PATH'
9590 hardcode_shlibpath_var=no
9591 ;;
9592
9593 sysv4.3*)
9594 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595 hardcode_shlibpath_var=no
9596 export_dynamic_flag_spec='-Bexport'
9597 ;;
9598
9599 sysv4*MP*)
9600 if test -d /usr/nec; then
9601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9602 hardcode_shlibpath_var=no
9603 runpath_var=LD_RUN_PATH
9604 hardcode_runpath_var=yes
9605 ld_shlibs=yes
9606 fi
9607 ;;
9608
9609 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9610 no_undefined_flag='${wl}-z,text'
9611 archive_cmds_need_lc=no
9612 hardcode_shlibpath_var=no
9613 runpath_var='LD_RUN_PATH'
9614
9615 if test "$GCC" = yes; then
9616 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9618 else
9619 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9621 fi
9622 ;;
9623
9624 sysv5* | sco3.2v5* | sco5v6*)
9625 # Note: We can NOT use -z defs as we might desire, because we do not
9626 # link with -lc, and that would cause any symbols used from libc to
9627 # always be unresolved, which means just about no library would
9628 # ever link correctly. If we're not using GNU ld we use -z text
9629 # though, which does catch some bad symbols but isn't as heavy-handed
9630 # as -z defs.
9631 no_undefined_flag='${wl}-z,text'
9632 allow_undefined_flag='${wl}-z,nodefs'
9633 archive_cmds_need_lc=no
9634 hardcode_shlibpath_var=no
9635 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9636 hardcode_libdir_separator=':'
9637 link_all_deplibs=yes
9638 export_dynamic_flag_spec='${wl}-Bexport'
9639 runpath_var='LD_RUN_PATH'
9640
9641 if test "$GCC" = yes; then
9642 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9644 else
9645 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647 fi
9648 ;;
9649
9650 uts4*)
9651 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9652 hardcode_libdir_flag_spec='-L$libdir'
9653 hardcode_shlibpath_var=no
9654 ;;
9655
9656 *)
9657 ld_shlibs=no
9658 ;;
9659 esac
9660
9661 if test x$host_vendor = xsni; then
9662 case $host in
9663 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9664 export_dynamic_flag_spec='${wl}-Blargedynsym'
9665 ;;
9666 esac
9667 fi
9668 fi
9669
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9671 $as_echo "$ld_shlibs" >&6; }
9672 test "$ld_shlibs" = no && can_build_shared=no
9673
9674 with_gnu_ld=$with_gnu_ld
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690 #
9691 # Do we need to explicitly link libc?
9692 #
9693 case "x$archive_cmds_need_lc" in
9694 x|xyes)
9695 # Assume -lc should be added
9696 archive_cmds_need_lc=yes
9697
9698 if test "$enable_shared" = yes && test "$GCC" = yes; then
9699 case $archive_cmds in
9700 *'~'*)
9701 # FIXME: we may have to deal with multi-command sequences.
9702 ;;
9703 '$CC '*)
9704 # Test whether the compiler implicitly links with -lc since on some
9705 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9706 # to ld, don't add -lc before -lgcc.
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9708 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9709 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 $RM conftest*
9713 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9714
9715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9716 (eval $ac_compile) 2>&5
9717 ac_status=$?
9718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9719 test $ac_status = 0; } 2>conftest.err; then
9720 soname=conftest
9721 lib=conftest
9722 libobjs=conftest.$ac_objext
9723 deplibs=
9724 wl=$lt_prog_compiler_wl
9725 pic_flag=$lt_prog_compiler_pic
9726 compiler_flags=-v
9727 linker_flags=-v
9728 verstring=
9729 output_objdir=.
9730 libname=conftest
9731 lt_save_allow_undefined_flag=$allow_undefined_flag
9732 allow_undefined_flag=
9733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9734 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9735 ac_status=$?
9736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9737 test $ac_status = 0; }
9738 then
9739 lt_cv_archive_cmds_need_lc=no
9740 else
9741 lt_cv_archive_cmds_need_lc=yes
9742 fi
9743 allow_undefined_flag=$lt_save_allow_undefined_flag
9744 else
9745 cat conftest.err 1>&5
9746 fi
9747 $RM conftest*
9748
9749 fi
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9751 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9752 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9753 ;;
9754 esac
9755 fi
9756 ;;
9757 esac
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9916 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9917
9918 if test "$GCC" = yes; then
9919 case $host_os in
9920 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9921 *) lt_awk_arg="/^libraries:/" ;;
9922 esac
9923 case $host_os in
9924 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9925 *) lt_sed_strip_eq="s,=/,/,g" ;;
9926 esac
9927 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9928 case $lt_search_path_spec in
9929 *\;*)
9930 # if the path contains ";" then we assume it to be the separator
9931 # otherwise default to the standard path separator (i.e. ":") - it is
9932 # assumed that no part of a normal pathname contains ";" but that should
9933 # okay in the real world where ";" in dirpaths is itself problematic.
9934 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9935 ;;
9936 *)
9937 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9938 ;;
9939 esac
9940 # Ok, now we have the path, separated by spaces, we can step through it
9941 # and add multilib dir if necessary.
9942 lt_tmp_lt_search_path_spec=
9943 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9944 for lt_sys_path in $lt_search_path_spec; do
9945 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9946 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9947 else
9948 test -d "$lt_sys_path" && \
9949 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9950 fi
9951 done
9952 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9953 BEGIN {RS=" "; FS="/|\n";} {
9954 lt_foo="";
9955 lt_count=0;
9956 for (lt_i = NF; lt_i > 0; lt_i--) {
9957 if ($lt_i != "" && $lt_i != ".") {
9958 if ($lt_i == "..") {
9959 lt_count++;
9960 } else {
9961 if (lt_count == 0) {
9962 lt_foo="/" $lt_i lt_foo;
9963 } else {
9964 lt_count--;
9965 }
9966 }
9967 }
9968 }
9969 if (lt_foo != "") { lt_freq[lt_foo]++; }
9970 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9971 }'`
9972 # AWK program above erroneously prepends '/' to C:/dos/paths
9973 # for these hosts.
9974 case $host_os in
9975 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9976 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9977 esac
9978 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9979 else
9980 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9981 fi
9982 library_names_spec=
9983 libname_spec='lib$name'
9984 soname_spec=
9985 shrext_cmds=".so"
9986 postinstall_cmds=
9987 postuninstall_cmds=
9988 finish_cmds=
9989 finish_eval=
9990 shlibpath_var=
9991 shlibpath_overrides_runpath=unknown
9992 version_type=none
9993 dynamic_linker="$host_os ld.so"
9994 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9995 need_lib_prefix=unknown
9996 hardcode_into_libs=no
9997
9998 # when you set need_version to no, make sure it does not cause -set_version
9999 # flags to be left without arguments
10000 need_version=unknown
10001
10002 case $host_os in
10003 aix3*)
10004 version_type=linux
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10006 shlibpath_var=LIBPATH
10007
10008 # AIX 3 has no versioning support, so we append a major version to the name.
10009 soname_spec='${libname}${release}${shared_ext}$major'
10010 ;;
10011
10012 aix[4-9]*)
10013 version_type=linux
10014 need_lib_prefix=no
10015 need_version=no
10016 hardcode_into_libs=yes
10017 if test "$host_cpu" = ia64; then
10018 # AIX 5 supports IA64
10019 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10020 shlibpath_var=LD_LIBRARY_PATH
10021 else
10022 # With GCC up to 2.95.x, collect2 would create an import file
10023 # for dependence libraries. The import file would start with
10024 # the line `#! .'. This would cause the generated library to
10025 # depend on `.', always an invalid library. This was fixed in
10026 # development snapshots of GCC prior to 3.0.
10027 case $host_os in
10028 aix4 | aix4.[01] | aix4.[01].*)
10029 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10030 echo ' yes '
10031 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10032 :
10033 else
10034 can_build_shared=no
10035 fi
10036 ;;
10037 esac
10038 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10039 # soname into executable. Probably we can add versioning support to
10040 # collect2, so additional links can be useful in future.
10041 if test "$aix_use_runtimelinking" = yes; then
10042 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10043 # instead of lib<name>.a to let people know that these are not
10044 # typical AIX shared libraries.
10045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046 else
10047 # We preserve .a as extension for shared libraries through AIX4.2
10048 # and later when we are not doing run time linking.
10049 library_names_spec='${libname}${release}.a $libname.a'
10050 soname_spec='${libname}${release}${shared_ext}$major'
10051 fi
10052 shlibpath_var=LIBPATH
10053 fi
10054 ;;
10055
10056 amigaos*)
10057 case $host_cpu in
10058 powerpc)
10059 # Since July 2007 AmigaOS4 officially supports .so libraries.
10060 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10062 ;;
10063 m68k)
10064 library_names_spec='$libname.ixlibrary $libname.a'
10065 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10066 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'
10067 ;;
10068 esac
10069 ;;
10070
10071 beos*)
10072 library_names_spec='${libname}${shared_ext}'
10073 dynamic_linker="$host_os ld.so"
10074 shlibpath_var=LIBRARY_PATH
10075 ;;
10076
10077 bsdi[45]*)
10078 version_type=linux
10079 need_version=no
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10081 soname_spec='${libname}${release}${shared_ext}$major'
10082 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10083 shlibpath_var=LD_LIBRARY_PATH
10084 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10085 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10086 # the default ld.so.conf also contains /usr/contrib/lib and
10087 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10088 # libtool to hard-code these into programs
10089 ;;
10090
10091 cygwin* | mingw* | pw32* | cegcc*)
10092 version_type=windows
10093 shrext_cmds=".dll"
10094 need_version=no
10095 need_lib_prefix=no
10096
10097 case $GCC,$cc_basename in
10098 yes,*)
10099 # gcc
10100 library_names_spec='$libname.dll.a'
10101 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10102 postinstall_cmds='base_file=`basename \${file}`~
10103 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10104 dldir=$destdir/`dirname \$dlpath`~
10105 test -d \$dldir || mkdir -p \$dldir~
10106 $install_prog $dir/$dlname \$dldir/$dlname~
10107 chmod a+x \$dldir/$dlname~
10108 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10109 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10110 fi'
10111 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10112 dlpath=$dir/\$dldll~
10113 $RM \$dlpath'
10114 shlibpath_overrides_runpath=yes
10115
10116 case $host_os in
10117 cygwin*)
10118 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10119 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10120
10121 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10122 ;;
10123 mingw* | cegcc*)
10124 # MinGW DLLs use traditional 'lib' prefix
10125 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10126 ;;
10127 pw32*)
10128 # pw32 DLLs use 'pw' prefix rather than 'lib'
10129 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10130 ;;
10131 esac
10132 dynamic_linker='Win32 ld.exe'
10133 ;;
10134
10135 *,cl*)
10136 # Native MSVC
10137 libname_spec='$name'
10138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10139 library_names_spec='${libname}.dll.lib'
10140
10141 case $build_os in
10142 mingw*)
10143 sys_lib_search_path_spec=
10144 lt_save_ifs=$IFS
10145 IFS=';'
10146 for lt_path in $LIB
10147 do
10148 IFS=$lt_save_ifs
10149 # Let DOS variable expansion print the short 8.3 style file name.
10150 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10151 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10152 done
10153 IFS=$lt_save_ifs
10154 # Convert to MSYS style.
10155 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10156 ;;
10157 cygwin*)
10158 # Convert to unix form, then to dos form, then back to unix form
10159 # but this time dos style (no spaces!) so that the unix form looks
10160 # like /cygdrive/c/PROGRA~1:/cygdr...
10161 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10162 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10163 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10164 ;;
10165 *)
10166 sys_lib_search_path_spec="$LIB"
10167 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10168 # It is most probably a Windows format PATH.
10169 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10170 else
10171 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10172 fi
10173 # FIXME: find the short name or the path components, as spaces are
10174 # common. (e.g. "Program Files" -> "PROGRA~1")
10175 ;;
10176 esac
10177
10178 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10179 postinstall_cmds='base_file=`basename \${file}`~
10180 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10181 dldir=$destdir/`dirname \$dlpath`~
10182 test -d \$dldir || mkdir -p \$dldir~
10183 $install_prog $dir/$dlname \$dldir/$dlname'
10184 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10185 dlpath=$dir/\$dldll~
10186 $RM \$dlpath'
10187 shlibpath_overrides_runpath=yes
10188 dynamic_linker='Win32 link.exe'
10189 ;;
10190
10191 *)
10192 # Assume MSVC wrapper
10193 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10194 dynamic_linker='Win32 ld.exe'
10195 ;;
10196 esac
10197 # FIXME: first we should search . and the directory the executable is in
10198 shlibpath_var=PATH
10199 ;;
10200
10201 darwin* | rhapsody*)
10202 dynamic_linker="$host_os dyld"
10203 version_type=darwin
10204 need_lib_prefix=no
10205 need_version=no
10206 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10207 soname_spec='${libname}${release}${major}$shared_ext'
10208 shlibpath_overrides_runpath=yes
10209 shlibpath_var=DYLD_LIBRARY_PATH
10210 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10211
10212 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10213 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10214 ;;
10215
10216 dgux*)
10217 version_type=linux
10218 need_lib_prefix=no
10219 need_version=no
10220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10221 soname_spec='${libname}${release}${shared_ext}$major'
10222 shlibpath_var=LD_LIBRARY_PATH
10223 ;;
10224
10225 freebsd1*)
10226 dynamic_linker=no
10227 ;;
10228
10229 freebsd* | dragonfly*)
10230 # DragonFly does not have aout. When/if they implement a new
10231 # versioning mechanism, adjust this.
10232 if test -x /usr/bin/objformat; then
10233 objformat=`/usr/bin/objformat`
10234 else
10235 case $host_os in
10236 freebsd[123]*) objformat=aout ;;
10237 *) objformat=elf ;;
10238 esac
10239 fi
10240 version_type=freebsd-$objformat
10241 case $version_type in
10242 freebsd-elf*)
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10244 need_version=no
10245 need_lib_prefix=no
10246 ;;
10247 freebsd-*)
10248 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10249 need_version=yes
10250 ;;
10251 esac
10252 shlibpath_var=LD_LIBRARY_PATH
10253 case $host_os in
10254 freebsd2*)
10255 shlibpath_overrides_runpath=yes
10256 ;;
10257 freebsd3.[01]* | freebsdelf3.[01]*)
10258 shlibpath_overrides_runpath=yes
10259 hardcode_into_libs=yes
10260 ;;
10261 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10262 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10263 shlibpath_overrides_runpath=no
10264 hardcode_into_libs=yes
10265 ;;
10266 *) # from 4.6 on, and DragonFly
10267 shlibpath_overrides_runpath=yes
10268 hardcode_into_libs=yes
10269 ;;
10270 esac
10271 ;;
10272
10273 gnu*)
10274 version_type=linux
10275 need_lib_prefix=no
10276 need_version=no
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10278 soname_spec='${libname}${release}${shared_ext}$major'
10279 shlibpath_var=LD_LIBRARY_PATH
10280 hardcode_into_libs=yes
10281 ;;
10282
10283 haiku*)
10284 version_type=linux
10285 need_lib_prefix=no
10286 need_version=no
10287 dynamic_linker="$host_os runtime_loader"
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10289 soname_spec='${libname}${release}${shared_ext}$major'
10290 shlibpath_var=LIBRARY_PATH
10291 shlibpath_overrides_runpath=yes
10292 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10293 hardcode_into_libs=yes
10294 ;;
10295
10296 hpux9* | hpux10* | hpux11*)
10297 # Give a soname corresponding to the major version so that dld.sl refuses to
10298 # link against other versions.
10299 version_type=sunos
10300 need_lib_prefix=no
10301 need_version=no
10302 case $host_cpu in
10303 ia64*)
10304 shrext_cmds='.so'
10305 hardcode_into_libs=yes
10306 dynamic_linker="$host_os dld.so"
10307 shlibpath_var=LD_LIBRARY_PATH
10308 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310 soname_spec='${libname}${release}${shared_ext}$major'
10311 if test "X$HPUX_IA64_MODE" = X32; then
10312 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10313 else
10314 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10315 fi
10316 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10317 ;;
10318 hppa*64*)
10319 shrext_cmds='.sl'
10320 hardcode_into_libs=yes
10321 dynamic_linker="$host_os dld.sl"
10322 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10323 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325 soname_spec='${libname}${release}${shared_ext}$major'
10326 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10327 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10328 ;;
10329 *)
10330 shrext_cmds='.sl'
10331 dynamic_linker="$host_os dld.sl"
10332 shlibpath_var=SHLIB_PATH
10333 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 soname_spec='${libname}${release}${shared_ext}$major'
10336 ;;
10337 esac
10338 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10339 postinstall_cmds='chmod 555 $lib'
10340 # or fails outright, so override atomically:
10341 install_override_mode=555
10342 ;;
10343
10344 interix[3-9]*)
10345 version_type=linux
10346 need_lib_prefix=no
10347 need_version=no
10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10351 shlibpath_var=LD_LIBRARY_PATH
10352 shlibpath_overrides_runpath=no
10353 hardcode_into_libs=yes
10354 ;;
10355
10356 irix5* | irix6* | nonstopux*)
10357 case $host_os in
10358 nonstopux*) version_type=nonstopux ;;
10359 *)
10360 if test "$lt_cv_prog_gnu_ld" = yes; then
10361 version_type=linux
10362 else
10363 version_type=irix
10364 fi ;;
10365 esac
10366 need_lib_prefix=no
10367 need_version=no
10368 soname_spec='${libname}${release}${shared_ext}$major'
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10370 case $host_os in
10371 irix5* | nonstopux*)
10372 libsuff= shlibsuff=
10373 ;;
10374 *)
10375 case $LD in # libtool.m4 will add one of these switches to LD
10376 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10377 libsuff= shlibsuff= libmagic=32-bit;;
10378 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10379 libsuff=32 shlibsuff=N32 libmagic=N32;;
10380 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10381 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10382 *) libsuff= shlibsuff= libmagic=never-match;;
10383 esac
10384 ;;
10385 esac
10386 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10387 shlibpath_overrides_runpath=no
10388 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10389 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10390 hardcode_into_libs=yes
10391 ;;
10392
10393 # No shared lib support for Linux oldld, aout, or coff.
10394 linux*oldld* | linux*aout* | linux*coff*)
10395 dynamic_linker=no
10396 ;;
10397
10398 # This must be Linux ELF.
10399 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10400 version_type=linux
10401 need_lib_prefix=no
10402 need_version=no
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10404 soname_spec='${libname}${release}${shared_ext}$major'
10405 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10406 shlibpath_var=LD_LIBRARY_PATH
10407 shlibpath_overrides_runpath=no
10408
10409 # Some binutils ld are patched to set DT_RUNPATH
10410 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10411 $as_echo_n "(cached) " >&6
10412 else
10413 lt_cv_shlibpath_overrides_runpath=no
10414 save_LDFLAGS=$LDFLAGS
10415 save_libdir=$libdir
10416 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10417 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420
10421 int
10422 main ()
10423 {
10424
10425 ;
10426 return 0;
10427 }
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10431 lt_cv_shlibpath_overrides_runpath=yes
10432 fi
10433 fi
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LDFLAGS=$save_LDFLAGS
10437 libdir=$save_libdir
10438
10439 fi
10440
10441 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10442
10443 # This implies no fast_install, which is unacceptable.
10444 # Some rework will be needed to allow for fast_install
10445 # before this can be enabled.
10446 hardcode_into_libs=yes
10447
10448 # Append ld.so.conf contents to the search path
10449 if test -f /etc/ld.so.conf; then
10450 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' ' '`
10451 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10452 fi
10453
10454 # We used to test for /lib/ld.so.1 and disable shared libraries on
10455 # powerpc, because MkLinux only supported shared libraries with the
10456 # GNU dynamic linker. Since this was broken with cross compilers,
10457 # most powerpc-linux boxes support dynamic linking these days and
10458 # people can always --disable-shared, the test was removed, and we
10459 # assume the GNU/Linux dynamic linker is in use.
10460 dynamic_linker='GNU/Linux ld.so'
10461 ;;
10462
10463 netbsd*)
10464 version_type=sunos
10465 need_lib_prefix=no
10466 need_version=no
10467 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10470 dynamic_linker='NetBSD (a.out) ld.so'
10471 else
10472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10473 soname_spec='${libname}${release}${shared_ext}$major'
10474 dynamic_linker='NetBSD ld.elf_so'
10475 fi
10476 shlibpath_var=LD_LIBRARY_PATH
10477 shlibpath_overrides_runpath=yes
10478 hardcode_into_libs=yes
10479 ;;
10480
10481 newsos6)
10482 version_type=linux
10483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10484 shlibpath_var=LD_LIBRARY_PATH
10485 shlibpath_overrides_runpath=yes
10486 ;;
10487
10488 *nto* | *qnx*)
10489 version_type=qnx
10490 need_lib_prefix=no
10491 need_version=no
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 soname_spec='${libname}${release}${shared_ext}$major'
10494 shlibpath_var=LD_LIBRARY_PATH
10495 shlibpath_overrides_runpath=no
10496 hardcode_into_libs=yes
10497 dynamic_linker='ldqnx.so'
10498 ;;
10499
10500 openbsd*)
10501 version_type=sunos
10502 sys_lib_dlsearch_path_spec="/usr/lib"
10503 need_lib_prefix=no
10504 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10505 case $host_os in
10506 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10507 *) need_version=no ;;
10508 esac
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10513 case $host_os in
10514 openbsd2.[89] | openbsd2.[89].*)
10515 shlibpath_overrides_runpath=no
10516 ;;
10517 *)
10518 shlibpath_overrides_runpath=yes
10519 ;;
10520 esac
10521 else
10522 shlibpath_overrides_runpath=yes
10523 fi
10524 ;;
10525
10526 os2*)
10527 libname_spec='$name'
10528 shrext_cmds=".dll"
10529 need_lib_prefix=no
10530 library_names_spec='$libname${shared_ext} $libname.a'
10531 dynamic_linker='OS/2 ld.exe'
10532 shlibpath_var=LIBPATH
10533 ;;
10534
10535 osf3* | osf4* | osf5*)
10536 version_type=osf
10537 need_lib_prefix=no
10538 need_version=no
10539 soname_spec='${libname}${release}${shared_ext}$major'
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541 shlibpath_var=LD_LIBRARY_PATH
10542 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10543 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10544 ;;
10545
10546 rdos*)
10547 dynamic_linker=no
10548 ;;
10549
10550 solaris*)
10551 version_type=linux
10552 need_lib_prefix=no
10553 need_version=no
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 soname_spec='${libname}${release}${shared_ext}$major'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 shlibpath_overrides_runpath=yes
10558 hardcode_into_libs=yes
10559 # ldd complains unless libraries are executable
10560 postinstall_cmds='chmod +x $lib'
10561 ;;
10562
10563 sunos4*)
10564 version_type=sunos
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10566 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10567 shlibpath_var=LD_LIBRARY_PATH
10568 shlibpath_overrides_runpath=yes
10569 if test "$with_gnu_ld" = yes; then
10570 need_lib_prefix=no
10571 fi
10572 need_version=yes
10573 ;;
10574
10575 sysv4 | sysv4.3*)
10576 version_type=linux
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 shlibpath_var=LD_LIBRARY_PATH
10580 case $host_vendor in
10581 sni)
10582 shlibpath_overrides_runpath=no
10583 need_lib_prefix=no
10584 runpath_var=LD_RUN_PATH
10585 ;;
10586 siemens)
10587 need_lib_prefix=no
10588 ;;
10589 motorola)
10590 need_lib_prefix=no
10591 need_version=no
10592 shlibpath_overrides_runpath=no
10593 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10594 ;;
10595 esac
10596 ;;
10597
10598 sysv4*MP*)
10599 if test -d /usr/nec ;then
10600 version_type=linux
10601 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10602 soname_spec='$libname${shared_ext}.$major'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 fi
10605 ;;
10606
10607 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10608 version_type=freebsd-elf
10609 need_lib_prefix=no
10610 need_version=no
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10612 soname_spec='${libname}${release}${shared_ext}$major'
10613 shlibpath_var=LD_LIBRARY_PATH
10614 shlibpath_overrides_runpath=yes
10615 hardcode_into_libs=yes
10616 if test "$with_gnu_ld" = yes; then
10617 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10618 else
10619 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10620 case $host_os in
10621 sco3.2v5*)
10622 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10623 ;;
10624 esac
10625 fi
10626 sys_lib_dlsearch_path_spec='/usr/lib'
10627 ;;
10628
10629 tpf*)
10630 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 shlibpath_var=LD_LIBRARY_PATH
10636 shlibpath_overrides_runpath=no
10637 hardcode_into_libs=yes
10638 ;;
10639
10640 uts4*)
10641 version_type=linux
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 shlibpath_var=LD_LIBRARY_PATH
10645 ;;
10646
10647 *)
10648 dynamic_linker=no
10649 ;;
10650 esac
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10652 $as_echo "$dynamic_linker" >&6; }
10653 test "$dynamic_linker" = no && can_build_shared=no
10654
10655 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10656 if test "$GCC" = yes; then
10657 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10658 fi
10659
10660 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10661 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10662 fi
10663 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10664 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10665 fi
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10759 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10760 hardcode_action=
10761 if test -n "$hardcode_libdir_flag_spec" ||
10762 test -n "$runpath_var" ||
10763 test "X$hardcode_automatic" = "Xyes" ; then
10764
10765 # We can hardcode non-existent directories.
10766 if test "$hardcode_direct" != no &&
10767 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10768 # have to relink, otherwise we might link with an installed library
10769 # when we should be linking with a yet-to-be-installed one
10770 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10771 test "$hardcode_minus_L" != no; then
10772 # Linking always hardcodes the temporary library directory.
10773 hardcode_action=relink
10774 else
10775 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10776 hardcode_action=immediate
10777 fi
10778 else
10779 # We cannot hardcode anything, or else we can only hardcode existing
10780 # directories.
10781 hardcode_action=unsupported
10782 fi
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10784 $as_echo "$hardcode_action" >&6; }
10785
10786 if test "$hardcode_action" = relink ||
10787 test "$inherit_rpath" = yes; then
10788 # Fast installation is not supported
10789 enable_fast_install=no
10790 elif test "$shlibpath_overrides_runpath" = yes ||
10791 test "$enable_shared" = no; then
10792 # Fast installation is not necessary
10793 enable_fast_install=needless
10794 fi
10795
10796
10797
10798
10799
10800
10801 if test "x$enable_dlopen" != xyes; then
10802 enable_dlopen=unknown
10803 enable_dlopen_self=unknown
10804 enable_dlopen_self_static=unknown
10805 else
10806 lt_cv_dlopen=no
10807 lt_cv_dlopen_libs=
10808
10809 case $host_os in
10810 beos*)
10811 lt_cv_dlopen="load_add_on"
10812 lt_cv_dlopen_libs=
10813 lt_cv_dlopen_self=yes
10814 ;;
10815
10816 mingw* | pw32* | cegcc*)
10817 lt_cv_dlopen="LoadLibrary"
10818 lt_cv_dlopen_libs=
10819 ;;
10820
10821 cygwin*)
10822 lt_cv_dlopen="dlopen"
10823 lt_cv_dlopen_libs=
10824 ;;
10825
10826 darwin*)
10827 # if libdl is installed we need to link against it
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10829 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10830 if ${ac_cv_lib_dl_dlopen+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_lib_save_LIBS=$LIBS
10834 LIBS="-ldl $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10837
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char dlopen ();
10845 int
10846 main ()
10847 {
10848 return dlopen ();
10849 ;
10850 return 0;
10851 }
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 ac_cv_lib_dl_dlopen=yes
10855 else
10856 ac_cv_lib_dl_dlopen=no
10857 fi
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10861 fi
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10863 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10864 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10865 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10866 else
10867
10868 lt_cv_dlopen="dyld"
10869 lt_cv_dlopen_libs=
10870 lt_cv_dlopen_self=yes
10871
10872 fi
10873
10874 ;;
10875
10876 *)
10877 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10878 if test "x$ac_cv_func_shl_load" = xyes; then :
10879 lt_cv_dlopen="shl_load"
10880 else
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10882 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10883 if ${ac_cv_lib_dld_shl_load+:} false; then :
10884 $as_echo_n "(cached) " >&6
10885 else
10886 ac_check_lib_save_LIBS=$LIBS
10887 LIBS="-ldld $LIBS"
10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10890
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10894 #ifdef __cplusplus
10895 extern "C"
10896 #endif
10897 char shl_load ();
10898 int
10899 main ()
10900 {
10901 return shl_load ();
10902 ;
10903 return 0;
10904 }
10905 _ACEOF
10906 if ac_fn_c_try_link "$LINENO"; then :
10907 ac_cv_lib_dld_shl_load=yes
10908 else
10909 ac_cv_lib_dld_shl_load=no
10910 fi
10911 rm -f core conftest.err conftest.$ac_objext \
10912 conftest$ac_exeext conftest.$ac_ext
10913 LIBS=$ac_check_lib_save_LIBS
10914 fi
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10916 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10917 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10918 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10919 else
10920 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10921 if test "x$ac_cv_func_dlopen" = xyes; then :
10922 lt_cv_dlopen="dlopen"
10923 else
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10925 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10926 if ${ac_cv_lib_dl_dlopen+:} false; then :
10927 $as_echo_n "(cached) " >&6
10928 else
10929 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-ldl $LIBS"
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10933
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10937 #ifdef __cplusplus
10938 extern "C"
10939 #endif
10940 char dlopen ();
10941 int
10942 main ()
10943 {
10944 return dlopen ();
10945 ;
10946 return 0;
10947 }
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 ac_cv_lib_dl_dlopen=yes
10951 else
10952 ac_cv_lib_dl_dlopen=no
10953 fi
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10957 fi
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10959 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10960 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10961 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10962 else
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10964 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10965 if ${ac_cv_lib_svld_dlopen+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_lib_save_LIBS=$LIBS
10969 LIBS="-lsvld $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char dlopen ();
10980 int
10981 main ()
10982 {
10983 return dlopen ();
10984 ;
10985 return 0;
10986 }
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 ac_cv_lib_svld_dlopen=yes
10990 else
10991 ac_cv_lib_svld_dlopen=no
10992 fi
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10996 fi
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10998 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10999 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11000 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11001 else
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11003 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11004 if ${ac_cv_lib_dld_dld_link+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-ldld $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11011
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char dld_link ();
11019 int
11020 main ()
11021 {
11022 return dld_link ();
11023 ;
11024 return 0;
11025 }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_dld_dld_link=yes
11029 else
11030 ac_cv_lib_dld_dld_link=no
11031 fi
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11035 fi
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11037 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11038 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11039 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11040 fi
11041
11042
11043 fi
11044
11045
11046 fi
11047
11048
11049 fi
11050
11051
11052 fi
11053
11054
11055 fi
11056
11057 ;;
11058 esac
11059
11060 if test "x$lt_cv_dlopen" != xno; then
11061 enable_dlopen=yes
11062 else
11063 enable_dlopen=no
11064 fi
11065
11066 case $lt_cv_dlopen in
11067 dlopen)
11068 save_CPPFLAGS="$CPPFLAGS"
11069 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11070
11071 save_LDFLAGS="$LDFLAGS"
11072 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11073
11074 save_LIBS="$LIBS"
11075 LIBS="$lt_cv_dlopen_libs $LIBS"
11076
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11078 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11079 if ${lt_cv_dlopen_self+:} false; then :
11080 $as_echo_n "(cached) " >&6
11081 else
11082 if test "$cross_compiling" = yes; then :
11083 lt_cv_dlopen_self=cross
11084 else
11085 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11086 lt_status=$lt_dlunknown
11087 cat > conftest.$ac_ext <<_LT_EOF
11088 #line $LINENO "configure"
11089 #include "confdefs.h"
11090
11091 #if HAVE_DLFCN_H
11092 #include <dlfcn.h>
11093 #endif
11094
11095 #include <stdio.h>
11096
11097 #ifdef RTLD_GLOBAL
11098 # define LT_DLGLOBAL RTLD_GLOBAL
11099 #else
11100 # ifdef DL_GLOBAL
11101 # define LT_DLGLOBAL DL_GLOBAL
11102 # else
11103 # define LT_DLGLOBAL 0
11104 # endif
11105 #endif
11106
11107 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11108 find out it does not work in some platform. */
11109 #ifndef LT_DLLAZY_OR_NOW
11110 # ifdef RTLD_LAZY
11111 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11112 # else
11113 # ifdef DL_LAZY
11114 # define LT_DLLAZY_OR_NOW DL_LAZY
11115 # else
11116 # ifdef RTLD_NOW
11117 # define LT_DLLAZY_OR_NOW RTLD_NOW
11118 # else
11119 # ifdef DL_NOW
11120 # define LT_DLLAZY_OR_NOW DL_NOW
11121 # else
11122 # define LT_DLLAZY_OR_NOW 0
11123 # endif
11124 # endif
11125 # endif
11126 # endif
11127 #endif
11128
11129 /* When -fvisbility=hidden is used, assume the code has been annotated
11130 correspondingly for the symbols needed. */
11131 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11132 int fnord () __attribute__((visibility("default")));
11133 #endif
11134
11135 int fnord () { return 42; }
11136 int main ()
11137 {
11138 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11139 int status = $lt_dlunknown;
11140
11141 if (self)
11142 {
11143 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11144 else
11145 {
11146 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11147 else puts (dlerror ());
11148 }
11149 /* dlclose (self); */
11150 }
11151 else
11152 puts (dlerror ());
11153
11154 return status;
11155 }
11156 _LT_EOF
11157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11158 (eval $ac_link) 2>&5
11159 ac_status=$?
11160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11161 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11162 (./conftest; exit; ) >&5 2>/dev/null
11163 lt_status=$?
11164 case x$lt_status in
11165 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11166 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11167 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11168 esac
11169 else :
11170 # compilation failed
11171 lt_cv_dlopen_self=no
11172 fi
11173 fi
11174 rm -fr conftest*
11175
11176
11177 fi
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11179 $as_echo "$lt_cv_dlopen_self" >&6; }
11180
11181 if test "x$lt_cv_dlopen_self" = xyes; then
11182 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11184 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11185 if ${lt_cv_dlopen_self_static+:} false; then :
11186 $as_echo_n "(cached) " >&6
11187 else
11188 if test "$cross_compiling" = yes; then :
11189 lt_cv_dlopen_self_static=cross
11190 else
11191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11192 lt_status=$lt_dlunknown
11193 cat > conftest.$ac_ext <<_LT_EOF
11194 #line $LINENO "configure"
11195 #include "confdefs.h"
11196
11197 #if HAVE_DLFCN_H
11198 #include <dlfcn.h>
11199 #endif
11200
11201 #include <stdio.h>
11202
11203 #ifdef RTLD_GLOBAL
11204 # define LT_DLGLOBAL RTLD_GLOBAL
11205 #else
11206 # ifdef DL_GLOBAL
11207 # define LT_DLGLOBAL DL_GLOBAL
11208 # else
11209 # define LT_DLGLOBAL 0
11210 # endif
11211 #endif
11212
11213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11214 find out it does not work in some platform. */
11215 #ifndef LT_DLLAZY_OR_NOW
11216 # ifdef RTLD_LAZY
11217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11218 # else
11219 # ifdef DL_LAZY
11220 # define LT_DLLAZY_OR_NOW DL_LAZY
11221 # else
11222 # ifdef RTLD_NOW
11223 # define LT_DLLAZY_OR_NOW RTLD_NOW
11224 # else
11225 # ifdef DL_NOW
11226 # define LT_DLLAZY_OR_NOW DL_NOW
11227 # else
11228 # define LT_DLLAZY_OR_NOW 0
11229 # endif
11230 # endif
11231 # endif
11232 # endif
11233 #endif
11234
11235 /* When -fvisbility=hidden is used, assume the code has been annotated
11236 correspondingly for the symbols needed. */
11237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11238 int fnord () __attribute__((visibility("default")));
11239 #endif
11240
11241 int fnord () { return 42; }
11242 int main ()
11243 {
11244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11245 int status = $lt_dlunknown;
11246
11247 if (self)
11248 {
11249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11250 else
11251 {
11252 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11253 else puts (dlerror ());
11254 }
11255 /* dlclose (self); */
11256 }
11257 else
11258 puts (dlerror ());
11259
11260 return status;
11261 }
11262 _LT_EOF
11263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11264 (eval $ac_link) 2>&5
11265 ac_status=$?
11266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11267 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11268 (./conftest; exit; ) >&5 2>/dev/null
11269 lt_status=$?
11270 case x$lt_status in
11271 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11272 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11273 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11274 esac
11275 else :
11276 # compilation failed
11277 lt_cv_dlopen_self_static=no
11278 fi
11279 fi
11280 rm -fr conftest*
11281
11282
11283 fi
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11285 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11286 fi
11287
11288 CPPFLAGS="$save_CPPFLAGS"
11289 LDFLAGS="$save_LDFLAGS"
11290 LIBS="$save_LIBS"
11291 ;;
11292 esac
11293
11294 case $lt_cv_dlopen_self in
11295 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11296 *) enable_dlopen_self=unknown ;;
11297 esac
11298
11299 case $lt_cv_dlopen_self_static in
11300 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11301 *) enable_dlopen_self_static=unknown ;;
11302 esac
11303 fi
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321 striplib=
11322 old_striplib=
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11324 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11325 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11326 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11327 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11329 $as_echo "yes" >&6; }
11330 else
11331 # FIXME - insert some real tests, host_os isn't really good enough
11332 case $host_os in
11333 darwin*)
11334 if test -n "$STRIP" ; then
11335 striplib="$STRIP -x"
11336 old_striplib="$STRIP -S"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11338 $as_echo "yes" >&6; }
11339 else
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11341 $as_echo "no" >&6; }
11342 fi
11343 ;;
11344 *)
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11346 $as_echo "no" >&6; }
11347 ;;
11348 esac
11349 fi
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362 # Report which library types will actually be built
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11364 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11366 $as_echo "$can_build_shared" >&6; }
11367
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11369 $as_echo_n "checking whether to build shared libraries... " >&6; }
11370 test "$can_build_shared" = "no" && enable_shared=no
11371
11372 # On AIX, shared libraries and static libraries use the same namespace, and
11373 # are all built from PIC.
11374 case $host_os in
11375 aix3*)
11376 test "$enable_shared" = yes && enable_static=no
11377 if test -n "$RANLIB"; then
11378 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11379 postinstall_cmds='$RANLIB $lib'
11380 fi
11381 ;;
11382
11383 aix[4-9]*)
11384 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11385 test "$enable_shared" = yes && enable_static=no
11386 fi
11387 ;;
11388 esac
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11390 $as_echo "$enable_shared" >&6; }
11391
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11393 $as_echo_n "checking whether to build static libraries... " >&6; }
11394 # Make sure either enable_shared or enable_static is yes.
11395 test "$enable_shared" = yes || enable_static=yes
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11397 $as_echo "$enable_static" >&6; }
11398
11399
11400
11401
11402 fi
11403 ac_ext=c
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11408
11409 CC="$lt_save_CC"
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423 ac_config_commands="$ac_config_commands libtool"
11424
11425
11426
11427
11428 # Only expand once:
11429
11430
11431
11432 ac_ext=c
11433 ac_cpp='$CPP $CPPFLAGS'
11434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11437
11438
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11440 $as_echo_n "checking for ANSI C header files... " >&6; }
11441 if ${ac_cv_header_stdc+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11446 #include <stdlib.h>
11447 #include <stdarg.h>
11448 #include <string.h>
11449 #include <float.h>
11450
11451 int
11452 main ()
11453 {
11454
11455 ;
11456 return 0;
11457 }
11458 _ACEOF
11459 if ac_fn_c_try_compile "$LINENO"; then :
11460 ac_cv_header_stdc=yes
11461 else
11462 ac_cv_header_stdc=no
11463 fi
11464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11465
11466 if test $ac_cv_header_stdc = yes; then
11467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11470 #include <string.h>
11471
11472 _ACEOF
11473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11474 $EGREP "memchr" >/dev/null 2>&1; then :
11475
11476 else
11477 ac_cv_header_stdc=no
11478 fi
11479 rm -f conftest*
11480
11481 fi
11482
11483 if test $ac_cv_header_stdc = yes; then
11484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11487 #include <stdlib.h>
11488
11489 _ACEOF
11490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11491 $EGREP "free" >/dev/null 2>&1; then :
11492
11493 else
11494 ac_cv_header_stdc=no
11495 fi
11496 rm -f conftest*
11497
11498 fi
11499
11500 if test $ac_cv_header_stdc = yes; then
11501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11502 if test "$cross_compiling" = yes; then :
11503 :
11504 else
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11507 #include <ctype.h>
11508 #include <stdlib.h>
11509 #if ((' ' & 0x0FF) == 0x020)
11510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11512 #else
11513 # define ISLOWER(c) \
11514 (('a' <= (c) && (c) <= 'i') \
11515 || ('j' <= (c) && (c) <= 'r') \
11516 || ('s' <= (c) && (c) <= 'z'))
11517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11518 #endif
11519
11520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11521 int
11522 main ()
11523 {
11524 int i;
11525 for (i = 0; i < 256; i++)
11526 if (XOR (islower (i), ISLOWER (i))
11527 || toupper (i) != TOUPPER (i))
11528 return 2;
11529 return 0;
11530 }
11531 _ACEOF
11532 if ac_fn_c_try_run "$LINENO"; then :
11533
11534 else
11535 ac_cv_header_stdc=no
11536 fi
11537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11538 conftest.$ac_objext conftest.beam conftest.$ac_ext
11539 fi
11540
11541 fi
11542 fi
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11544 $as_echo "$ac_cv_header_stdc" >&6; }
11545 if test $ac_cv_header_stdc = yes; then
11546
11547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11548
11549 fi
11550
11551 for ac_header in assert.h
11552 do :
11553 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
11554 if test "x$ac_cv_header_assert_h" = xyes; then :
11555 cat >>confdefs.h <<_ACEOF
11556 #define HAVE_ASSERT_H 1
11557 _ACEOF
11558
11559 fi
11560
11561 done
11562
11563
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11565 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11566 if ${ac_cv_c_const+:} false; then :
11567 $as_echo_n "(cached) " >&6
11568 else
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571
11572 int
11573 main ()
11574 {
11575 /* FIXME: Include the comments suggested by Paul. */
11576 #ifndef __cplusplus
11577 /* Ultrix mips cc rejects this. */
11578 typedef int charset[2];
11579 const charset cs;
11580 /* SunOS 4.1.1 cc rejects this. */
11581 char const *const *pcpcc;
11582 char **ppc;
11583 /* NEC SVR4.0.2 mips cc rejects this. */
11584 struct point {int x, y;};
11585 static struct point const zero = {0,0};
11586 /* AIX XL C 1.02.0.0 rejects this.
11587 It does not let you subtract one const X* pointer from another in
11588 an arm of an if-expression whose if-part is not a constant
11589 expression */
11590 const char *g = "string";
11591 pcpcc = &g + (g ? g-g : 0);
11592 /* HPUX 7.0 cc rejects these. */
11593 ++pcpcc;
11594 ppc = (char**) pcpcc;
11595 pcpcc = (char const *const *) ppc;
11596 { /* SCO 3.2v4 cc rejects this. */
11597 char *t;
11598 char const *s = 0 ? (char *) 0 : (char const *) 0;
11599
11600 *t++ = 0;
11601 if (s) return 0;
11602 }
11603 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11604 int x[] = {25, 17};
11605 const int *foo = &x[0];
11606 ++foo;
11607 }
11608 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11609 typedef const int *iptr;
11610 iptr p = 0;
11611 ++p;
11612 }
11613 { /* AIX XL C 1.02.0.0 rejects this saying
11614 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11615 struct s { int j; const int *ap[3]; };
11616 struct s *b; b->j = 5;
11617 }
11618 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11619 const int foo = 10;
11620 if (!foo) return 0;
11621 }
11622 return !cs[0] && !zero.x;
11623 #endif
11624
11625 ;
11626 return 0;
11627 }
11628 _ACEOF
11629 if ac_fn_c_try_compile "$LINENO"; then :
11630 ac_cv_c_const=yes
11631 else
11632 ac_cv_c_const=no
11633 fi
11634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11635 fi
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11637 $as_echo "$ac_cv_c_const" >&6; }
11638 if test $ac_cv_c_const = no; then
11639
11640 $as_echo "#define const /**/" >>confdefs.h
11641
11642 fi
11643
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11645 $as_echo_n "checking for inline... " >&6; }
11646 if ${ac_cv_c_inline+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 ac_cv_c_inline=no
11650 for ac_kw in inline __inline__ __inline; do
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 #ifndef __cplusplus
11654 typedef int foo_t;
11655 static $ac_kw foo_t static_foo () {return 0; }
11656 $ac_kw foo_t foo () {return 0; }
11657 #endif
11658
11659 _ACEOF
11660 if ac_fn_c_try_compile "$LINENO"; then :
11661 ac_cv_c_inline=$ac_kw
11662 fi
11663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11664 test "$ac_cv_c_inline" != no && break
11665 done
11666
11667 fi
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
11669 $as_echo "$ac_cv_c_inline" >&6; }
11670
11671 case $ac_cv_c_inline in
11672 inline | yes) ;;
11673 *)
11674 case $ac_cv_c_inline in
11675 no) ac_val=;;
11676 *) ac_val=$ac_cv_c_inline;;
11677 esac
11678 cat >>confdefs.h <<_ACEOF
11679 #ifndef __cplusplus
11680 #define inline $ac_val
11681 #endif
11682 _ACEOF
11683 ;;
11684 esac
11685
11686 # The cast to long int works around a bug in the HP C Compiler
11687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11689 # This bug is HP SR number 8606223364.
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11691 $as_echo_n "checking size of long... " >&6; }
11692 if ${ac_cv_sizeof_long+:} false; then :
11693 $as_echo_n "(cached) " >&6
11694 else
11695 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
11696
11697 else
11698 if test "$ac_cv_type_long" = yes; then
11699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11701 as_fn_error 77 "cannot compute sizeof (long)
11702 See \`config.log' for more details" "$LINENO" 5; }
11703 else
11704 ac_cv_sizeof_long=0
11705 fi
11706 fi
11707
11708 fi
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11710 $as_echo "$ac_cv_sizeof_long" >&6; }
11711
11712
11713
11714 cat >>confdefs.h <<_ACEOF
11715 #define SIZEOF_LONG $ac_cv_sizeof_long
11716 _ACEOF
11717
11718
11719
11720 if test "$enable_mmx" = "yes" ; then
11721 transpose_64=yes
11722
11723 $as_echo "#define DVBCSA_USE_MMX 1" >>confdefs.h
11724
11725 GCC_CFLAGS="$GCC_CFLAGS -mmmx"
11726
11727 elif test "$enable_sse2" = "yes" ; then
11728 transpose_128=yes
11729
11730 $as_echo "#define DVBCSA_USE_SSE 1" >>confdefs.h
11731
11732 GCC_CFLAGS="$GCC_CFLAGS -msse -msse2"
11733
11734 elif test "$enable_altivec" = "yes" ; then
11735 transpose_128=yes
11736
11737 $as_echo "#define DVBCSA_USE_ALTIVEC 1" >>confdefs.h
11738
11739 GCC_CFLAGS="$GCC_CFLAGS -maltivec -mabi=altivec"
11740
11741 elif test "$enable_uint32" = "yes" ; then
11742 transpose_32=yes
11743
11744 $as_echo "#define DVBCSA_USE_UINT32 1" >>confdefs.h
11745
11746
11747 elif test "$enable_uint64" = "yes" ; then
11748 transpose_64=yes
11749
11750 $as_echo "#define DVBCSA_USE_UINT64 1" >>confdefs.h
11751
11752
11753 else
11754 case $ac_cv_sizeof_long in
11755 8)
11756 transpose_64=yes
11757
11758 $as_echo "#define DVBCSA_USE_UINT64 1" >>confdefs.h
11759
11760 ;;
11761 *)
11762 transpose_32=yes
11763
11764 $as_echo "#define DVBCSA_USE_UINT32 1" >>confdefs.h
11765
11766 ;;
11767 esac
11768 fi
11769
11770 if test "$transpose_128" = "yes"; then
11771 TRANSPOSE_128_TRUE=
11772 TRANSPOSE_128_FALSE='#'
11773 else
11774 TRANSPOSE_128_TRUE='#'
11775 TRANSPOSE_128_FALSE=
11776 fi
11777
11778 if test "$transpose_64" = "yes"; then
11779 TRANSPOSE_64_TRUE=
11780 TRANSPOSE_64_FALSE='#'
11781 else
11782 TRANSPOSE_64_TRUE='#'
11783 TRANSPOSE_64_FALSE=
11784 fi
11785
11786 if test "$transpose_32" = "yes"; then
11787 TRANSPOSE_32_TRUE=
11788 TRANSPOSE_32_FALSE='#'
11789 else
11790 TRANSPOSE_32_TRUE='#'
11791 TRANSPOSE_32_FALSE=
11792 fi
11793
11794
11795 if test "$GCC" = "yes" ; then
11796 CFLAGS="-Wall $GCC_CFLAGS"
11797 fi
11798
11799 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
11800 if test "x$ac_cv_func_posix_memalign" = xyes; then :
11801
11802 $as_echo "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h
11803
11804 fi
11805
11806
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking _mm_malloc availability" >&5
11808 $as_echo_n "checking _mm_malloc availability... " >&6; }
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11811 #include <mm_malloc.h>
11812 int
11813 main ()
11814 {
11815 _mm_malloc(8,8);
11816 ;
11817 return 0;
11818 }
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821
11822
11823 $as_echo "#define HAVE_MM_MALLOC 1" >>confdefs.h
11824
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11826 $as_echo "found" >&6; }
11827
11828 else
11829
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831 $as_echo "no" >&6; }
11832
11833 fi
11834 rm -f core conftest.err conftest.$ac_objext \
11835 conftest$ac_exeext conftest.$ac_ext
11836
11837 ac_config_files="$ac_config_files Makefile src/Makefile src/dvbcsa/Makefile test/Makefile"
11838
11839 cat >confcache <<\_ACEOF
11840 # This file is a shell script that caches the results of configure
11841 # tests run on this system so they can be shared between configure
11842 # scripts and configure runs, see configure's option --config-cache.
11843 # It is not useful on other systems. If it contains results you don't
11844 # want to keep, you may remove or edit it.
11845 #
11846 # config.status only pays attention to the cache file if you give it
11847 # the --recheck option to rerun configure.
11848 #
11849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11851 # following values.
11852
11853 _ACEOF
11854
11855 # The following way of writing the cache mishandles newlines in values,
11856 # but we know of no workaround that is simple, portable, and efficient.
11857 # So, we kill variables containing newlines.
11858 # Ultrix sh set writes to stderr and can't be redirected directly,
11859 # and sets the high bit in the cache file unless we assign to the vars.
11860 (
11861 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11862 eval ac_val=\$$ac_var
11863 case $ac_val in #(
11864 *${as_nl}*)
11865 case $ac_var in #(
11866 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11868 esac
11869 case $ac_var in #(
11870 _ | IFS | as_nl) ;; #(
11871 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11872 *) { eval $ac_var=; unset $ac_var;} ;;
11873 esac ;;
11874 esac
11875 done
11876
11877 (set) 2>&1 |
11878 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11879 *${as_nl}ac_space=\ *)
11880 # `set' does not quote correctly, so add quotes: double-quote
11881 # substitution turns \\\\ into \\, and sed turns \\ into \.
11882 sed -n \
11883 "s/'/'\\\\''/g;
11884 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11885 ;; #(
11886 *)
11887 # `set' quotes correctly as required by POSIX, so do not add quotes.
11888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11889 ;;
11890 esac |
11891 sort
11892 ) |
11893 sed '
11894 /^ac_cv_env_/b end
11895 t clear
11896 :clear
11897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11898 t end
11899 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11900 :end' >>confcache
11901 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11902 if test -w "$cache_file"; then
11903 if test "x$cache_file" != "x/dev/null"; then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11905 $as_echo "$as_me: updating cache $cache_file" >&6;}
11906 if test ! -f "$cache_file" || test -h "$cache_file"; then
11907 cat confcache >"$cache_file"
11908 else
11909 case $cache_file in #(
11910 */* | ?:*)
11911 mv -f confcache "$cache_file"$$ &&
11912 mv -f "$cache_file"$$ "$cache_file" ;; #(
11913 *)
11914 mv -f confcache "$cache_file" ;;
11915 esac
11916 fi
11917 fi
11918 else
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11920 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11921 fi
11922 fi
11923 rm -f confcache
11924
11925 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11926 # Let make expand exec_prefix.
11927 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11928
11929 DEFS=-DHAVE_CONFIG_H
11930
11931 ac_libobjs=
11932 ac_ltlibobjs=
11933 U=
11934 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11935 # 1. Remove the extension, and $U if already installed.
11936 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11937 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11938 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11939 # will be set to the directory where LIBOBJS objects are built.
11940 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11941 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11942 done
11943 LIBOBJS=$ac_libobjs
11944
11945 LTLIBOBJS=$ac_ltlibobjs
11946
11947
11948 if test -n "$EXEEXT"; then
11949 am__EXEEXT_TRUE=
11950 am__EXEEXT_FALSE='#'
11951 else
11952 am__EXEEXT_TRUE='#'
11953 am__EXEEXT_FALSE=
11954 fi
11955
11956 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11957 as_fn_error $? "conditional \"AMDEP\" was never defined.
11958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11959 fi
11960 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11961 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11963 fi
11964 if test -z "${TRANSPOSE_128_TRUE}" && test -z "${TRANSPOSE_128_FALSE}"; then
11965 as_fn_error $? "conditional \"TRANSPOSE_128\" was never defined.
11966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11967 fi
11968 if test -z "${TRANSPOSE_64_TRUE}" && test -z "${TRANSPOSE_64_FALSE}"; then
11969 as_fn_error $? "conditional \"TRANSPOSE_64\" was never defined.
11970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11971 fi
11972 if test -z "${TRANSPOSE_32_TRUE}" && test -z "${TRANSPOSE_32_FALSE}"; then
11973 as_fn_error $? "conditional \"TRANSPOSE_32\" was never defined.
11974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11975 fi
11976
11977 : "${CONFIG_STATUS=./config.status}"
11978 ac_write_fail=0
11979 ac_clean_files_save=$ac_clean_files
11980 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11982 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11983 as_write_fail=0
11984 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11985 #! $SHELL
11986 # Generated by $as_me.
11987 # Run this file to recreate the current configuration.
11988 # Compiler output produced by configure, useful for debugging
11989 # configure, is in config.log if it exists.
11990
11991 debug=false
11992 ac_cs_recheck=false
11993 ac_cs_silent=false
11994
11995 SHELL=\${CONFIG_SHELL-$SHELL}
11996 export SHELL
11997 _ASEOF
11998 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11999 ## -------------------- ##
12000 ## M4sh Initialization. ##
12001 ## -------------------- ##
12002
12003 # Be more Bourne compatible
12004 DUALCASE=1; export DUALCASE # for MKS sh
12005 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12006 emulate sh
12007 NULLCMD=:
12008 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12009 # is contrary to our usage. Disable this feature.
12010 alias -g '${1+"$@"}'='"$@"'
12011 setopt NO_GLOB_SUBST
12012 else
12013 case `(set -o) 2>/dev/null` in #(
12014 *posix*) :
12015 set -o posix ;; #(
12016 *) :
12017 ;;
12018 esac
12019 fi
12020
12021
12022 as_nl='
12023 '
12024 export as_nl
12025 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12026 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12027 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12028 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12029 # Prefer a ksh shell builtin over an external printf program on Solaris,
12030 # but without wasting forks for bash or zsh.
12031 if test -z "$BASH_VERSION$ZSH_VERSION" \
12032 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12033 as_echo='print -r --'
12034 as_echo_n='print -rn --'
12035 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12036 as_echo='printf %s\n'
12037 as_echo_n='printf %s'
12038 else
12039 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12040 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12041 as_echo_n='/usr/ucb/echo -n'
12042 else
12043 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12044 as_echo_n_body='eval
12045 arg=$1;
12046 case $arg in #(
12047 *"$as_nl"*)
12048 expr "X$arg" : "X\\(.*\\)$as_nl";
12049 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12050 esac;
12051 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12052 '
12053 export as_echo_n_body
12054 as_echo_n='sh -c $as_echo_n_body as_echo'
12055 fi
12056 export as_echo_body
12057 as_echo='sh -c $as_echo_body as_echo'
12058 fi
12059
12060 # The user is always right.
12061 if test "${PATH_SEPARATOR+set}" != set; then
12062 PATH_SEPARATOR=:
12063 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12064 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12065 PATH_SEPARATOR=';'
12066 }
12067 fi
12068
12069
12070 # IFS
12071 # We need space, tab and new line, in precisely that order. Quoting is
12072 # there to prevent editors from complaining about space-tab.
12073 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12074 # splitting by setting IFS to empty value.)
12075 IFS=" "" $as_nl"
12076
12077 # Find who we are. Look in the path if we contain no directory separator.
12078 as_myself=
12079 case $0 in #((
12080 *[\\/]* ) as_myself=$0 ;;
12081 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12083 do
12084 IFS=$as_save_IFS
12085 test -z "$as_dir" && as_dir=.
12086 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12087 done
12088 IFS=$as_save_IFS
12089
12090 ;;
12091 esac
12092 # We did not find ourselves, most probably we were run as `sh COMMAND'
12093 # in which case we are not to be found in the path.
12094 if test "x$as_myself" = x; then
12095 as_myself=$0
12096 fi
12097 if test ! -f "$as_myself"; then
12098 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12099 exit 1
12100 fi
12101
12102 # Unset variables that we do not need and which cause bugs (e.g. in
12103 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12104 # suppresses any "Segmentation fault" message there. '((' could
12105 # trigger a bug in pdksh 5.2.14.
12106 for as_var in BASH_ENV ENV MAIL MAILPATH
12107 do eval test x\${$as_var+set} = xset \
12108 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12109 done
12110 PS1='$ '
12111 PS2='> '
12112 PS4='+ '
12113
12114 # NLS nuisances.
12115 LC_ALL=C
12116 export LC_ALL
12117 LANGUAGE=C
12118 export LANGUAGE
12119
12120 # CDPATH.
12121 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12122
12123
12124 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12125 # ----------------------------------------
12126 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12127 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12128 # script with STATUS, using 1 if that was 0.
12129 as_fn_error ()
12130 {
12131 as_status=$1; test $as_status -eq 0 && as_status=1
12132 if test "$4"; then
12133 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12134 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12135 fi
12136 $as_echo "$as_me: error: $2" >&2
12137 as_fn_exit $as_status
12138 } # as_fn_error
12139
12140
12141 # as_fn_set_status STATUS
12142 # -----------------------
12143 # Set $? to STATUS, without forking.
12144 as_fn_set_status ()
12145 {
12146 return $1
12147 } # as_fn_set_status
12148
12149 # as_fn_exit STATUS
12150 # -----------------
12151 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12152 as_fn_exit ()
12153 {
12154 set +e
12155 as_fn_set_status $1
12156 exit $1
12157 } # as_fn_exit
12158
12159 # as_fn_unset VAR
12160 # ---------------
12161 # Portably unset VAR.
12162 as_fn_unset ()
12163 {
12164 { eval $1=; unset $1;}
12165 }
12166 as_unset=as_fn_unset
12167 # as_fn_append VAR VALUE
12168 # ----------------------
12169 # Append the text in VALUE to the end of the definition contained in VAR. Take
12170 # advantage of any shell optimizations that allow amortized linear growth over
12171 # repeated appends, instead of the typical quadratic growth present in naive
12172 # implementations.
12173 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12174 eval 'as_fn_append ()
12175 {
12176 eval $1+=\$2
12177 }'
12178 else
12179 as_fn_append ()
12180 {
12181 eval $1=\$$1\$2
12182 }
12183 fi # as_fn_append
12184
12185 # as_fn_arith ARG...
12186 # ------------------
12187 # Perform arithmetic evaluation on the ARGs, and store the result in the
12188 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12189 # must be portable across $(()) and expr.
12190 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12191 eval 'as_fn_arith ()
12192 {
12193 as_val=$(( $* ))
12194 }'
12195 else
12196 as_fn_arith ()
12197 {
12198 as_val=`expr "$@" || test $? -eq 1`
12199 }
12200 fi # as_fn_arith
12201
12202
12203 if expr a : '\(a\)' >/dev/null 2>&1 &&
12204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12205 as_expr=expr
12206 else
12207 as_expr=false
12208 fi
12209
12210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12211 as_basename=basename
12212 else
12213 as_basename=false
12214 fi
12215
12216 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12217 as_dirname=dirname
12218 else
12219 as_dirname=false
12220 fi
12221
12222 as_me=`$as_basename -- "$0" ||
12223 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12224 X"$0" : 'X\(//\)$' \| \
12225 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12226 $as_echo X/"$0" |
12227 sed '/^.*\/\([^/][^/]*\)\/*$/{
12228 s//\1/
12229 q
12230 }
12231 /^X\/\(\/\/\)$/{
12232 s//\1/
12233 q
12234 }
12235 /^X\/\(\/\).*/{
12236 s//\1/
12237 q
12238 }
12239 s/.*/./; q'`
12240
12241 # Avoid depending upon Character Ranges.
12242 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12243 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12244 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12245 as_cr_digits='0123456789'
12246 as_cr_alnum=$as_cr_Letters$as_cr_digits
12247
12248 ECHO_C= ECHO_N= ECHO_T=
12249 case `echo -n x` in #(((((
12250 -n*)
12251 case `echo 'xy\c'` in
12252 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12253 xy) ECHO_C='\c';;
12254 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12255 ECHO_T=' ';;
12256 esac;;
12257 *)
12258 ECHO_N='-n';;
12259 esac
12260
12261 rm -f conf$$ conf$$.exe conf$$.file
12262 if test -d conf$$.dir; then
12263 rm -f conf$$.dir/conf$$.file
12264 else
12265 rm -f conf$$.dir
12266 mkdir conf$$.dir 2>/dev/null
12267 fi
12268 if (echo >conf$$.file) 2>/dev/null; then
12269 if ln -s conf$$.file conf$$ 2>/dev/null; then
12270 as_ln_s='ln -s'
12271 # ... but there are two gotchas:
12272 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12273 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12274 # In both cases, we have to default to `cp -p'.
12275 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12276 as_ln_s='cp -p'
12277 elif ln conf$$.file conf$$ 2>/dev/null; then
12278 as_ln_s=ln
12279 else
12280 as_ln_s='cp -p'
12281 fi
12282 else
12283 as_ln_s='cp -p'
12284 fi
12285 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12286 rmdir conf$$.dir 2>/dev/null
12287
12288
12289 # as_fn_mkdir_p
12290 # -------------
12291 # Create "$as_dir" as a directory, including parents if necessary.
12292 as_fn_mkdir_p ()
12293 {
12294
12295 case $as_dir in #(
12296 -*) as_dir=./$as_dir;;
12297 esac
12298 test -d "$as_dir" || eval $as_mkdir_p || {
12299 as_dirs=
12300 while :; do
12301 case $as_dir in #(
12302 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12303 *) as_qdir=$as_dir;;
12304 esac
12305 as_dirs="'$as_qdir' $as_dirs"
12306 as_dir=`$as_dirname -- "$as_dir" ||
12307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12308 X"$as_dir" : 'X\(//\)[^/]' \| \
12309 X"$as_dir" : 'X\(//\)$' \| \
12310 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12311 $as_echo X"$as_dir" |
12312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12313 s//\1/
12314 q
12315 }
12316 /^X\(\/\/\)[^/].*/{
12317 s//\1/
12318 q
12319 }
12320 /^X\(\/\/\)$/{
12321 s//\1/
12322 q
12323 }
12324 /^X\(\/\).*/{
12325 s//\1/
12326 q
12327 }
12328 s/.*/./; q'`
12329 test -d "$as_dir" && break
12330 done
12331 test -z "$as_dirs" || eval "mkdir $as_dirs"
12332 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12333
12334
12335 } # as_fn_mkdir_p
12336 if mkdir -p . 2>/dev/null; then
12337 as_mkdir_p='mkdir -p "$as_dir"'
12338 else
12339 test -d ./-p && rmdir ./-p
12340 as_mkdir_p=false
12341 fi
12342
12343 if test -x / >/dev/null 2>&1; then
12344 as_test_x='test -x'
12345 else
12346 if ls -dL / >/dev/null 2>&1; then
12347 as_ls_L_option=L
12348 else
12349 as_ls_L_option=
12350 fi
12351 as_test_x='
12352 eval sh -c '\''
12353 if test -d "$1"; then
12354 test -d "$1/.";
12355 else
12356 case $1 in #(
12357 -*)set "./$1";;
12358 esac;
12359 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12360 ???[sx]*):;;*)false;;esac;fi
12361 '\'' sh
12362 '
12363 fi
12364 as_executable_p=$as_test_x
12365
12366 # Sed expression to map a string onto a valid CPP name.
12367 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12368
12369 # Sed expression to map a string onto a valid variable name.
12370 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12371
12372
12373 exec 6>&1
12374 ## ----------------------------------- ##
12375 ## Main body of $CONFIG_STATUS script. ##
12376 ## ----------------------------------- ##
12377 _ASEOF
12378 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12379
12380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12381 # Save the log message, to keep $0 and so on meaningful, and to
12382 # report actual input values of CONFIG_FILES etc. instead of their
12383 # values after options handling.
12384 ac_log="
12385 This file was extended by libdvbcsa $as_me 1.1.0, which was
12386 generated by GNU Autoconf 2.68. Invocation command line was
12387
12388 CONFIG_FILES = $CONFIG_FILES
12389 CONFIG_HEADERS = $CONFIG_HEADERS
12390 CONFIG_LINKS = $CONFIG_LINKS
12391 CONFIG_COMMANDS = $CONFIG_COMMANDS
12392 $ $0 $@
12393
12394 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12395 "
12396
12397 _ACEOF
12398
12399 case $ac_config_files in *"
12400 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12401 esac
12402
12403 case $ac_config_headers in *"
12404 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12405 esac
12406
12407
12408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12409 # Files that config.status was made for.
12410 config_files="$ac_config_files"
12411 config_headers="$ac_config_headers"
12412 config_commands="$ac_config_commands"
12413
12414 _ACEOF
12415
12416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12417 ac_cs_usage="\
12418 \`$as_me' instantiates files and other configuration actions
12419 from templates according to the current configuration. Unless the files
12420 and actions are specified as TAGs, all are instantiated by default.
12421
12422 Usage: $0 [OPTION]... [TAG]...
12423
12424 -h, --help print this help, then exit
12425 -V, --version print version number and configuration settings, then exit
12426 --config print configuration, then exit
12427 -q, --quiet, --silent
12428 do not print progress messages
12429 -d, --debug don't remove temporary files
12430 --recheck update $as_me by reconfiguring in the same conditions
12431 --file=FILE[:TEMPLATE]
12432 instantiate the configuration file FILE
12433 --header=FILE[:TEMPLATE]
12434 instantiate the configuration header FILE
12435
12436 Configuration files:
12437 $config_files
12438
12439 Configuration headers:
12440 $config_headers
12441
12442 Configuration commands:
12443 $config_commands
12444
12445 Report bugs to the package provider."
12446
12447 _ACEOF
12448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12449 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12450 ac_cs_version="\\
12451 libdvbcsa config.status 1.1.0
12452 configured by $0, generated by GNU Autoconf 2.68,
12453 with options \\"\$ac_cs_config\\"
12454
12455 Copyright (C) 2010 Free Software Foundation, Inc.
12456 This config.status script is free software; the Free Software Foundation
12457 gives unlimited permission to copy, distribute and modify it."
12458
12459 ac_pwd='$ac_pwd'
12460 srcdir='$srcdir'
12461 INSTALL='$INSTALL'
12462 MKDIR_P='$MKDIR_P'
12463 AWK='$AWK'
12464 test -n "\$AWK" || AWK=awk
12465 _ACEOF
12466
12467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12468 # The default lists apply if the user does not specify any file.
12469 ac_need_defaults=:
12470 while test $# != 0
12471 do
12472 case $1 in
12473 --*=?*)
12474 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12475 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12476 ac_shift=:
12477 ;;
12478 --*=)
12479 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12480 ac_optarg=
12481 ac_shift=:
12482 ;;
12483 *)
12484 ac_option=$1
12485 ac_optarg=$2
12486 ac_shift=shift
12487 ;;
12488 esac
12489
12490 case $ac_option in
12491 # Handling of the options.
12492 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12493 ac_cs_recheck=: ;;
12494 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12495 $as_echo "$ac_cs_version"; exit ;;
12496 --config | --confi | --conf | --con | --co | --c )
12497 $as_echo "$ac_cs_config"; exit ;;
12498 --debug | --debu | --deb | --de | --d | -d )
12499 debug=: ;;
12500 --file | --fil | --fi | --f )
12501 $ac_shift
12502 case $ac_optarg in
12503 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12504 '') as_fn_error $? "missing file argument" ;;
12505 esac
12506 as_fn_append CONFIG_FILES " '$ac_optarg'"
12507 ac_need_defaults=false;;
12508 --header | --heade | --head | --hea )
12509 $ac_shift
12510 case $ac_optarg in
12511 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12512 esac
12513 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12514 ac_need_defaults=false;;
12515 --he | --h)
12516 # Conflict between --help and --header
12517 as_fn_error $? "ambiguous option: \`$1'
12518 Try \`$0 --help' for more information.";;
12519 --help | --hel | -h )
12520 $as_echo "$ac_cs_usage"; exit ;;
12521 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12522 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12523 ac_cs_silent=: ;;
12524
12525 # This is an error.
12526 -*) as_fn_error $? "unrecognized option: \`$1'
12527 Try \`$0 --help' for more information." ;;
12528
12529 *) as_fn_append ac_config_targets " $1"
12530 ac_need_defaults=false ;;
12531
12532 esac
12533 shift
12534 done
12535
12536 ac_configure_extra_args=
12537
12538 if $ac_cs_silent; then
12539 exec 6>/dev/null
12540 ac_configure_extra_args="$ac_configure_extra_args --silent"
12541 fi
12542
12543 _ACEOF
12544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12545 if \$ac_cs_recheck; then
12546 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12547 shift
12548 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12549 CONFIG_SHELL='$SHELL'
12550 export CONFIG_SHELL
12551 exec "\$@"
12552 fi
12553
12554 _ACEOF
12555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12556 exec 5>>config.log
12557 {
12558 echo
12559 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12560 ## Running $as_me. ##
12561 _ASBOX
12562 $as_echo "$ac_log"
12563 } >&5
12564
12565 _ACEOF
12566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12567 #
12568 # INIT-COMMANDS
12569 #
12570 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12571
12572
12573 # The HP-UX ksh and POSIX shell print the target directory to stdout
12574 # if CDPATH is set.
12575 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12576
12577 sed_quote_subst='$sed_quote_subst'
12578 double_quote_subst='$double_quote_subst'
12579 delay_variable_subst='$delay_variable_subst'
12580 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12581 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12582 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12583 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12584 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12585 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12586 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12587 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12588 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12589 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12590 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12591 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12592 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12593 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12594 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12595 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12596 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12597 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12598 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12599 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12600 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12601 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12602 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12603 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12604 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12605 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12606 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12607 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12608 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12609 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12610 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12611 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12612 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12613 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12614 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12615 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12616 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12617 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12618 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12619 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12620 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12621 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12622 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12623 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12624 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12625 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12626 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12627 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12628 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12629 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12630 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12631 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12632 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12633 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12634 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12635 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"`'
12636 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12637 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12638 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12639 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12640 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12641 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12642 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12643 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12644 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12645 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12646 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12647 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12648 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12649 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12650 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12651 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12652 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12653 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12654 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12655 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12656 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12657 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12658 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12659 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12660 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12661 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12662 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12663 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12664 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12665 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12666 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12667 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12668 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12669 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12670 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12671 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12672 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12673 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12674 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12675 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12676 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12677 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12678 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12679 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12680 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12681 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12682 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12683 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12684 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12685 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12686 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12687 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12688 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12689 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12690 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12691 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12692 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12693 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12694 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12695 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12696 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12697 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12698 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12699 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12700 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12701 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12702 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12703 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12704 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12705 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12706 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12707 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12708 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12709 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12710
12711 LTCC='$LTCC'
12712 LTCFLAGS='$LTCFLAGS'
12713 compiler='$compiler_DEFAULT'
12714
12715 # A function that is used when there is no print builtin or printf.
12716 func_fallback_echo ()
12717 {
12718 eval 'cat <<_LTECHO_EOF
12719 \$1
12720 _LTECHO_EOF'
12721 }
12722
12723 # Quote evaled strings.
12724 for var in SHELL \
12725 ECHO \
12726 SED \
12727 GREP \
12728 EGREP \
12729 FGREP \
12730 LD \
12731 NM \
12732 LN_S \
12733 lt_SP2NL \
12734 lt_NL2SP \
12735 reload_flag \
12736 OBJDUMP \
12737 deplibs_check_method \
12738 file_magic_cmd \
12739 file_magic_glob \
12740 want_nocaseglob \
12741 DLLTOOL \
12742 sharedlib_from_linklib_cmd \
12743 AR \
12744 AR_FLAGS \
12745 archiver_list_spec \
12746 STRIP \
12747 RANLIB \
12748 CC \
12749 CFLAGS \
12750 compiler \
12751 lt_cv_sys_global_symbol_pipe \
12752 lt_cv_sys_global_symbol_to_cdecl \
12753 lt_cv_sys_global_symbol_to_c_name_address \
12754 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12755 nm_file_list_spec \
12756 lt_prog_compiler_no_builtin_flag \
12757 lt_prog_compiler_pic \
12758 lt_prog_compiler_wl \
12759 lt_prog_compiler_static \
12760 lt_cv_prog_compiler_c_o \
12761 need_locks \
12762 MANIFEST_TOOL \
12763 DSYMUTIL \
12764 NMEDIT \
12765 LIPO \
12766 OTOOL \
12767 OTOOL64 \
12768 shrext_cmds \
12769 export_dynamic_flag_spec \
12770 whole_archive_flag_spec \
12771 compiler_needs_object \
12772 with_gnu_ld \
12773 allow_undefined_flag \
12774 no_undefined_flag \
12775 hardcode_libdir_flag_spec \
12776 hardcode_libdir_flag_spec_ld \
12777 hardcode_libdir_separator \
12778 exclude_expsyms \
12779 include_expsyms \
12780 file_list_spec \
12781 variables_saved_for_relink \
12782 libname_spec \
12783 library_names_spec \
12784 soname_spec \
12785 install_override_mode \
12786 finish_eval \
12787 old_striplib \
12788 striplib; do
12789 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12790 *[\\\\\\\`\\"\\\$]*)
12791 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12792 ;;
12793 *)
12794 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12795 ;;
12796 esac
12797 done
12798
12799 # Double-quote double-evaled strings.
12800 for var in reload_cmds \
12801 old_postinstall_cmds \
12802 old_postuninstall_cmds \
12803 old_archive_cmds \
12804 extract_expsyms_cmds \
12805 old_archive_from_new_cmds \
12806 old_archive_from_expsyms_cmds \
12807 archive_cmds \
12808 archive_expsym_cmds \
12809 module_cmds \
12810 module_expsym_cmds \
12811 export_symbols_cmds \
12812 prelink_cmds \
12813 postlink_cmds \
12814 postinstall_cmds \
12815 postuninstall_cmds \
12816 finish_cmds \
12817 sys_lib_search_path_spec \
12818 sys_lib_dlsearch_path_spec; do
12819 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12820 *[\\\\\\\`\\"\\\$]*)
12821 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12822 ;;
12823 *)
12824 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12825 ;;
12826 esac
12827 done
12828
12829 ac_aux_dir='$ac_aux_dir'
12830 xsi_shell='$xsi_shell'
12831 lt_shell_append='$lt_shell_append'
12832
12833 # See if we are running on zsh, and set the options which allow our
12834 # commands through without removal of \ escapes INIT.
12835 if test -n "\${ZSH_VERSION+set}" ; then
12836 setopt NO_GLOB_SUBST
12837 fi
12838
12839
12840 PACKAGE='$PACKAGE'
12841 VERSION='$VERSION'
12842 TIMESTAMP='$TIMESTAMP'
12843 RM='$RM'
12844 ofile='$ofile'
12845
12846
12847
12848
12849 _ACEOF
12850
12851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12852
12853 # Handling of arguments.
12854 for ac_config_target in $ac_config_targets
12855 do
12856 case $ac_config_target in
12857 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12858 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12859 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12860 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12861 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12862 "src/dvbcsa/Makefile") CONFIG_FILES="$CONFIG_FILES src/dvbcsa/Makefile" ;;
12863 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12864
12865 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12866 esac
12867 done
12868
12869
12870 # If the user did not use the arguments to specify the items to instantiate,
12871 # then the envvar interface is used. Set only those that are not.
12872 # We use the long form for the default assignment because of an extremely
12873 # bizarre bug on SunOS 4.1.3.
12874 if $ac_need_defaults; then
12875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12878 fi
12879
12880 # Have a temporary directory for convenience. Make it in the build tree
12881 # simply because there is no reason against having it here, and in addition,
12882 # creating and moving files from /tmp can sometimes cause problems.
12883 # Hook for its removal unless debugging.
12884 # Note that there is a small window in which the directory will not be cleaned:
12885 # after its creation but before its name has been assigned to `$tmp'.
12886 $debug ||
12887 {
12888 tmp= ac_tmp=
12889 trap 'exit_status=$?
12890 : "${ac_tmp:=$tmp}"
12891 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12892 ' 0
12893 trap 'as_fn_exit 1' 1 2 13 15
12894 }
12895 # Create a (secure) tmp directory for tmp files.
12896
12897 {
12898 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12899 test -d "$tmp"
12900 } ||
12901 {
12902 tmp=./conf$$-$RANDOM
12903 (umask 077 && mkdir "$tmp")
12904 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12905 ac_tmp=$tmp
12906
12907 # Set up the scripts for CONFIG_FILES section.
12908 # No need to generate them if there are no CONFIG_FILES.
12909 # This happens for instance with `./config.status config.h'.
12910 if test -n "$CONFIG_FILES"; then
12911
12912
12913 ac_cr=`echo X | tr X '\015'`
12914 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12915 # But we know of no other shell where ac_cr would be empty at this
12916 # point, so we can use a bashism as a fallback.
12917 if test "x$ac_cr" = x; then
12918 eval ac_cr=\$\'\\r\'
12919 fi
12920 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12921 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12922 ac_cs_awk_cr='\\r'
12923 else
12924 ac_cs_awk_cr=$ac_cr
12925 fi
12926
12927 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12928 _ACEOF
12929
12930
12931 {
12932 echo "cat >conf$$subs.awk <<_ACEOF" &&
12933 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12934 echo "_ACEOF"
12935 } >conf$$subs.sh ||
12936 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12937 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12938 ac_delim='%!_!# '
12939 for ac_last_try in false false false false false :; do
12940 . ./conf$$subs.sh ||
12941 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12942
12943 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12944 if test $ac_delim_n = $ac_delim_num; then
12945 break
12946 elif $ac_last_try; then
12947 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12948 else
12949 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12950 fi
12951 done
12952 rm -f conf$$subs.sh
12953
12954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12955 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12956 _ACEOF
12957 sed -n '
12958 h
12959 s/^/S["/; s/!.*/"]=/
12960 p
12961 g
12962 s/^[^!]*!//
12963 :repl
12964 t repl
12965 s/'"$ac_delim"'$//
12966 t delim
12967 :nl
12968 h
12969 s/\(.\{148\}\)..*/\1/
12970 t more1
12971 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12972 p
12973 n
12974 b repl
12975 :more1
12976 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12977 p
12978 g
12979 s/.\{148\}//
12980 t nl
12981 :delim
12982 h
12983 s/\(.\{148\}\)..*/\1/
12984 t more2
12985 s/["\\]/\\&/g; s/^/"/; s/$/"/
12986 p
12987 b
12988 :more2
12989 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12990 p
12991 g
12992 s/.\{148\}//
12993 t delim
12994 ' <conf$$subs.awk | sed '
12995 /^[^""]/{
12996 N
12997 s/\n//
12998 }
12999 ' >>$CONFIG_STATUS || ac_write_fail=1
13000 rm -f conf$$subs.awk
13001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13002 _ACAWK
13003 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13004 for (key in S) S_is_set[key] = 1
13005 FS = ""
13006
13007 }
13008 {
13009 line = $ 0
13010 nfields = split(line, field, "@")
13011 substed = 0
13012 len = length(field[1])
13013 for (i = 2; i < nfields; i++) {
13014 key = field[i]
13015 keylen = length(key)
13016 if (S_is_set[key]) {
13017 value = S[key]
13018 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13019 len += length(value) + length(field[++i])
13020 substed = 1
13021 } else
13022 len += 1 + keylen
13023 }
13024
13025 print line
13026 }
13027
13028 _ACAWK
13029 _ACEOF
13030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13031 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13032 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13033 else
13034 cat
13035 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13036 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13037 _ACEOF
13038
13039 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13040 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13041 # trailing colons and then remove the whole line if VPATH becomes empty
13042 # (actually we leave an empty line to preserve line numbers).
13043 if test "x$srcdir" = x.; then
13044 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13045 h
13046 s///
13047 s/^/:/
13048 s/[ ]*$/:/
13049 s/:\$(srcdir):/:/g
13050 s/:\${srcdir}:/:/g
13051 s/:@srcdir@:/:/g
13052 s/^:*//
13053 s/:*$//
13054 x
13055 s/\(=[ ]*\).*/\1/
13056 G
13057 s/\n//
13058 s/^[^=]*=[ ]*$//
13059 }'
13060 fi
13061
13062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13063 fi # test -n "$CONFIG_FILES"
13064
13065 # Set up the scripts for CONFIG_HEADERS section.
13066 # No need to generate them if there are no CONFIG_HEADERS.
13067 # This happens for instance with `./config.status Makefile'.
13068 if test -n "$CONFIG_HEADERS"; then
13069 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13070 BEGIN {
13071 _ACEOF
13072
13073 # Transform confdefs.h into an awk script `defines.awk', embedded as
13074 # here-document in config.status, that substitutes the proper values into
13075 # config.h.in to produce config.h.
13076
13077 # Create a delimiter string that does not exist in confdefs.h, to ease
13078 # handling of long lines.
13079 ac_delim='%!_!# '
13080 for ac_last_try in false false :; do
13081 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13082 if test -z "$ac_tt"; then
13083 break
13084 elif $ac_last_try; then
13085 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13086 else
13087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13088 fi
13089 done
13090
13091 # For the awk script, D is an array of macro values keyed by name,
13092 # likewise P contains macro parameters if any. Preserve backslash
13093 # newline sequences.
13094
13095 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13096 sed -n '
13097 s/.\{148\}/&'"$ac_delim"'/g
13098 t rset
13099 :rset
13100 s/^[ ]*#[ ]*define[ ][ ]*/ /
13101 t def
13102 d
13103 :def
13104 s/\\$//
13105 t bsnl
13106 s/["\\]/\\&/g
13107 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13108 D["\1"]=" \3"/p
13109 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13110 d
13111 :bsnl
13112 s/["\\]/\\&/g
13113 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13114 D["\1"]=" \3\\\\\\n"\\/p
13115 t cont
13116 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13117 t cont
13118 d
13119 :cont
13120 n
13121 s/.\{148\}/&'"$ac_delim"'/g
13122 t clear
13123 :clear
13124 s/\\$//
13125 t bsnlc
13126 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13127 d
13128 :bsnlc
13129 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13130 b cont
13131 ' <confdefs.h | sed '
13132 s/'"$ac_delim"'/"\\\
13133 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13134
13135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13136 for (key in D) D_is_set[key] = 1
13137 FS = ""
13138 }
13139 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13140 line = \$ 0
13141 split(line, arg, " ")
13142 if (arg[1] == "#") {
13143 defundef = arg[2]
13144 mac1 = arg[3]
13145 } else {
13146 defundef = substr(arg[1], 2)
13147 mac1 = arg[2]
13148 }
13149 split(mac1, mac2, "(") #)
13150 macro = mac2[1]
13151 prefix = substr(line, 1, index(line, defundef) - 1)
13152 if (D_is_set[macro]) {
13153 # Preserve the white space surrounding the "#".
13154 print prefix "define", macro P[macro] D[macro]
13155 next
13156 } else {
13157 # Replace #undef with comments. This is necessary, for example,
13158 # in the case of _POSIX_SOURCE, which is predefined and required
13159 # on some systems where configure will not decide to define it.
13160 if (defundef == "undef") {
13161 print "/*", prefix defundef, macro, "*/"
13162 next
13163 }
13164 }
13165 }
13166 { print }
13167 _ACAWK
13168 _ACEOF
13169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13170 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13171 fi # test -n "$CONFIG_HEADERS"
13172
13173
13174 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13175 shift
13176 for ac_tag
13177 do
13178 case $ac_tag in
13179 :[FHLC]) ac_mode=$ac_tag; continue;;
13180 esac
13181 case $ac_mode$ac_tag in
13182 :[FHL]*:*);;
13183 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13184 :[FH]-) ac_tag=-:-;;
13185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13186 esac
13187 ac_save_IFS=$IFS
13188 IFS=:
13189 set x $ac_tag
13190 IFS=$ac_save_IFS
13191 shift
13192 ac_file=$1
13193 shift
13194
13195 case $ac_mode in
13196 :L) ac_source=$1;;
13197 :[FH])
13198 ac_file_inputs=
13199 for ac_f
13200 do
13201 case $ac_f in
13202 -) ac_f="$ac_tmp/stdin";;
13203 *) # Look for the file first in the build tree, then in the source tree
13204 # (if the path is not absolute). The absolute path cannot be DOS-style,
13205 # because $ac_f cannot contain `:'.
13206 test -f "$ac_f" ||
13207 case $ac_f in
13208 [\\/$]*) false;;
13209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13210 esac ||
13211 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13212 esac
13213 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13214 as_fn_append ac_file_inputs " '$ac_f'"
13215 done
13216
13217 # Let's still pretend it is `configure' which instantiates (i.e., don't
13218 # use $as_me), people would be surprised to read:
13219 # /* config.h. Generated by config.status. */
13220 configure_input='Generated from '`
13221 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13222 `' by configure.'
13223 if test x"$ac_file" != x-; then
13224 configure_input="$ac_file. $configure_input"
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13226 $as_echo "$as_me: creating $ac_file" >&6;}
13227 fi
13228 # Neutralize special characters interpreted by sed in replacement strings.
13229 case $configure_input in #(
13230 *\&* | *\|* | *\\* )
13231 ac_sed_conf_input=`$as_echo "$configure_input" |
13232 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13233 *) ac_sed_conf_input=$configure_input;;
13234 esac
13235
13236 case $ac_tag in
13237 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13239 esac
13240 ;;
13241 esac
13242
13243 ac_dir=`$as_dirname -- "$ac_file" ||
13244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13245 X"$ac_file" : 'X\(//\)[^/]' \| \
13246 X"$ac_file" : 'X\(//\)$' \| \
13247 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13248 $as_echo X"$ac_file" |
13249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13250 s//\1/
13251 q
13252 }
13253 /^X\(\/\/\)[^/].*/{
13254 s//\1/
13255 q
13256 }
13257 /^X\(\/\/\)$/{
13258 s//\1/
13259 q
13260 }
13261 /^X\(\/\).*/{
13262 s//\1/
13263 q
13264 }
13265 s/.*/./; q'`
13266 as_dir="$ac_dir"; as_fn_mkdir_p
13267 ac_builddir=.
13268
13269 case "$ac_dir" in
13270 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13271 *)
13272 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13273 # A ".." for each directory in $ac_dir_suffix.
13274 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13275 case $ac_top_builddir_sub in
13276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13278 esac ;;
13279 esac
13280 ac_abs_top_builddir=$ac_pwd
13281 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13282 # for backward compatibility:
13283 ac_top_builddir=$ac_top_build_prefix
13284
13285 case $srcdir in
13286 .) # We are building in place.
13287 ac_srcdir=.
13288 ac_top_srcdir=$ac_top_builddir_sub
13289 ac_abs_top_srcdir=$ac_pwd ;;
13290 [\\/]* | ?:[\\/]* ) # Absolute name.
13291 ac_srcdir=$srcdir$ac_dir_suffix;
13292 ac_top_srcdir=$srcdir
13293 ac_abs_top_srcdir=$srcdir ;;
13294 *) # Relative name.
13295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13296 ac_top_srcdir=$ac_top_build_prefix$srcdir
13297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13298 esac
13299 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13300
13301
13302 case $ac_mode in
13303 :F)
13304 #
13305 # CONFIG_FILE
13306 #
13307
13308 case $INSTALL in
13309 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13310 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13311 esac
13312 ac_MKDIR_P=$MKDIR_P
13313 case $MKDIR_P in
13314 [\\/$]* | ?:[\\/]* ) ;;
13315 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13316 esac
13317 _ACEOF
13318
13319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13320 # If the template does not know about datarootdir, expand it.
13321 # FIXME: This hack should be removed a few years after 2.60.
13322 ac_datarootdir_hack=; ac_datarootdir_seen=
13323 ac_sed_dataroot='
13324 /datarootdir/ {
13325 p
13326 q
13327 }
13328 /@datadir@/p
13329 /@docdir@/p
13330 /@infodir@/p
13331 /@localedir@/p
13332 /@mandir@/p'
13333 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13334 *datarootdir*) ac_datarootdir_seen=yes;;
13335 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13337 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13338 _ACEOF
13339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13340 ac_datarootdir_hack='
13341 s&@datadir@&$datadir&g
13342 s&@docdir@&$docdir&g
13343 s&@infodir@&$infodir&g
13344 s&@localedir@&$localedir&g
13345 s&@mandir@&$mandir&g
13346 s&\\\${datarootdir}&$datarootdir&g' ;;
13347 esac
13348 _ACEOF
13349
13350 # Neutralize VPATH when `$srcdir' = `.'.
13351 # Shell code in configure.ac might set extrasub.
13352 # FIXME: do we really want to maintain this feature?
13353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13354 ac_sed_extra="$ac_vpsub
13355 $extrasub
13356 _ACEOF
13357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13358 :t
13359 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13360 s|@configure_input@|$ac_sed_conf_input|;t t
13361 s&@top_builddir@&$ac_top_builddir_sub&;t t
13362 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13363 s&@srcdir@&$ac_srcdir&;t t
13364 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13365 s&@top_srcdir@&$ac_top_srcdir&;t t
13366 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13367 s&@builddir@&$ac_builddir&;t t
13368 s&@abs_builddir@&$ac_abs_builddir&;t t
13369 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13370 s&@INSTALL@&$ac_INSTALL&;t t
13371 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13372 $ac_datarootdir_hack
13373 "
13374 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13375 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13376
13377 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13378 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13379 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13380 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13382 which seems to be undefined. Please make sure it is defined" >&5
13383 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13384 which seems to be undefined. Please make sure it is defined" >&2;}
13385
13386 rm -f "$ac_tmp/stdin"
13387 case $ac_file in
13388 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13389 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13390 esac \
13391 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13392 ;;
13393 :H)
13394 #
13395 # CONFIG_HEADER
13396 #
13397 if test x"$ac_file" != x-; then
13398 {
13399 $as_echo "/* $configure_input */" \
13400 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13401 } >"$ac_tmp/config.h" \
13402 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13403 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13405 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13406 else
13407 rm -f "$ac_file"
13408 mv "$ac_tmp/config.h" "$ac_file" \
13409 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13410 fi
13411 else
13412 $as_echo "/* $configure_input */" \
13413 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13414 || as_fn_error $? "could not create -" "$LINENO" 5
13415 fi
13416 # Compute "$ac_file"'s index in $config_headers.
13417 _am_arg="$ac_file"
13418 _am_stamp_count=1
13419 for _am_header in $config_headers :; do
13420 case $_am_header in
13421 $_am_arg | $_am_arg:* )
13422 break ;;
13423 * )
13424 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13425 esac
13426 done
13427 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13428 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13429 X"$_am_arg" : 'X\(//\)[^/]' \| \
13430 X"$_am_arg" : 'X\(//\)$' \| \
13431 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13432 $as_echo X"$_am_arg" |
13433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13434 s//\1/
13435 q
13436 }
13437 /^X\(\/\/\)[^/].*/{
13438 s//\1/
13439 q
13440 }
13441 /^X\(\/\/\)$/{
13442 s//\1/
13443 q
13444 }
13445 /^X\(\/\).*/{
13446 s//\1/
13447 q
13448 }
13449 s/.*/./; q'`/stamp-h$_am_stamp_count
13450 ;;
13451
13452 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13453 $as_echo "$as_me: executing $ac_file commands" >&6;}
13454 ;;
13455 esac
13456
13457
13458 case $ac_file$ac_mode in
13459 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13460 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13461 # are listed without --file. Let's play safe and only enable the eval
13462 # if we detect the quoting.
13463 case $CONFIG_FILES in
13464 *\'*) eval set x "$CONFIG_FILES" ;;
13465 *) set x $CONFIG_FILES ;;
13466 esac
13467 shift
13468 for mf
13469 do
13470 # Strip MF so we end up with the name of the file.
13471 mf=`echo "$mf" | sed -e 's/:.*$//'`
13472 # Check whether this is an Automake generated Makefile or not.
13473 # We used to match only the files named `Makefile.in', but
13474 # some people rename them; so instead we look at the file content.
13475 # Grep'ing the first line is not enough: some people post-process
13476 # each Makefile.in and add a new line on top of each file to say so.
13477 # Grep'ing the whole file is not good either: AIX grep has a line
13478 # limit of 2048, but all sed's we know have understand at least 4000.
13479 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13480 dirpart=`$as_dirname -- "$mf" ||
13481 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13482 X"$mf" : 'X\(//\)[^/]' \| \
13483 X"$mf" : 'X\(//\)$' \| \
13484 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13485 $as_echo X"$mf" |
13486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13487 s//\1/
13488 q
13489 }
13490 /^X\(\/\/\)[^/].*/{
13491 s//\1/
13492 q
13493 }
13494 /^X\(\/\/\)$/{
13495 s//\1/
13496 q
13497 }
13498 /^X\(\/\).*/{
13499 s//\1/
13500 q
13501 }
13502 s/.*/./; q'`
13503 else
13504 continue
13505 fi
13506 # Extract the definition of DEPDIR, am__include, and am__quote
13507 # from the Makefile without running `make'.
13508 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13509 test -z "$DEPDIR" && continue
13510 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13511 test -z "am__include" && continue
13512 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13513 # When using ansi2knr, U may be empty or an underscore; expand it
13514 U=`sed -n 's/^U = //p' < "$mf"`
13515 # Find all dependency output files, they are included files with
13516 # $(DEPDIR) in their names. We invoke sed twice because it is the
13517 # simplest approach to changing $(DEPDIR) to its actual value in the
13518 # expansion.
13519 for file in `sed -n "
13520 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13521 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13522 # Make sure the directory exists.
13523 test -f "$dirpart/$file" && continue
13524 fdir=`$as_dirname -- "$file" ||
13525 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13526 X"$file" : 'X\(//\)[^/]' \| \
13527 X"$file" : 'X\(//\)$' \| \
13528 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13529 $as_echo X"$file" |
13530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13531 s//\1/
13532 q
13533 }
13534 /^X\(\/\/\)[^/].*/{
13535 s//\1/
13536 q
13537 }
13538 /^X\(\/\/\)$/{
13539 s//\1/
13540 q
13541 }
13542 /^X\(\/\).*/{
13543 s//\1/
13544 q
13545 }
13546 s/.*/./; q'`
13547 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13548 # echo "creating $dirpart/$file"
13549 echo '# dummy' > "$dirpart/$file"
13550 done
13551 done
13552 }
13553 ;;
13554 "libtool":C)
13555
13556 # See if we are running on zsh, and set the options which allow our
13557 # commands through without removal of \ escapes.
13558 if test -n "${ZSH_VERSION+set}" ; then
13559 setopt NO_GLOB_SUBST
13560 fi
13561
13562 cfgfile="${ofile}T"
13563 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13564 $RM "$cfgfile"
13565
13566 cat <<_LT_EOF >> "$cfgfile"
13567 #! $SHELL
13568
13569 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13570 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13571 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13572 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13573 #
13574 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13575 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13576 # Inc.
13577 # Written by Gordon Matzigkeit, 1996
13578 #
13579 # This file is part of GNU Libtool.
13580 #
13581 # GNU Libtool is free software; you can redistribute it and/or
13582 # modify it under the terms of the GNU General Public License as
13583 # published by the Free Software Foundation; either version 2 of
13584 # the License, or (at your option) any later version.
13585 #
13586 # As a special exception to the GNU General Public License,
13587 # if you distribute this file as part of a program or library that
13588 # is built using GNU Libtool, you may include this file under the
13589 # same distribution terms that you use for the rest of that program.
13590 #
13591 # GNU Libtool is distributed in the hope that it will be useful,
13592 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13593 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13594 # GNU General Public License for more details.
13595 #
13596 # You should have received a copy of the GNU General Public License
13597 # along with GNU Libtool; see the file COPYING. If not, a copy
13598 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13599 # obtained by writing to the Free Software Foundation, Inc.,
13600 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13601
13602
13603 # The names of the tagged configurations supported by this script.
13604 available_tags=""
13605
13606 # ### BEGIN LIBTOOL CONFIG
13607
13608 # Which release of libtool.m4 was used?
13609 macro_version=$macro_version
13610 macro_revision=$macro_revision
13611
13612 # Whether or not to build shared libraries.
13613 build_libtool_libs=$enable_shared
13614
13615 # Whether or not to build static libraries.
13616 build_old_libs=$enable_static
13617
13618 # What type of objects to build.
13619 pic_mode=$pic_mode
13620
13621 # Whether or not to optimize for fast installation.
13622 fast_install=$enable_fast_install
13623
13624 # Shell to use when invoking shell scripts.
13625 SHELL=$lt_SHELL
13626
13627 # An echo program that protects backslashes.
13628 ECHO=$lt_ECHO
13629
13630 # The host system.
13631 host_alias=$host_alias
13632 host=$host
13633 host_os=$host_os
13634
13635 # The build system.
13636 build_alias=$build_alias
13637 build=$build
13638 build_os=$build_os
13639
13640 # A sed program that does not truncate output.
13641 SED=$lt_SED
13642
13643 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13644 Xsed="\$SED -e 1s/^X//"
13645
13646 # A grep program that handles long lines.
13647 GREP=$lt_GREP
13648
13649 # An ERE matcher.
13650 EGREP=$lt_EGREP
13651
13652 # A literal string matcher.
13653 FGREP=$lt_FGREP
13654
13655 # A BSD- or MS-compatible name lister.
13656 NM=$lt_NM
13657
13658 # Whether we need soft or hard links.
13659 LN_S=$lt_LN_S
13660
13661 # What is the maximum length of a command?
13662 max_cmd_len=$max_cmd_len
13663
13664 # Object file suffix (normally "o").
13665 objext=$ac_objext
13666
13667 # Executable file suffix (normally "").
13668 exeext=$exeext
13669
13670 # whether the shell understands "unset".
13671 lt_unset=$lt_unset
13672
13673 # turn spaces into newlines.
13674 SP2NL=$lt_lt_SP2NL
13675
13676 # turn newlines into spaces.
13677 NL2SP=$lt_lt_NL2SP
13678
13679 # convert \$build file names to \$host format.
13680 to_host_file_cmd=$lt_cv_to_host_file_cmd
13681
13682 # convert \$build files to toolchain format.
13683 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13684
13685 # An object symbol dumper.
13686 OBJDUMP=$lt_OBJDUMP
13687
13688 # Method to check whether dependent libraries are shared objects.
13689 deplibs_check_method=$lt_deplibs_check_method
13690
13691 # Command to use when deplibs_check_method = "file_magic".
13692 file_magic_cmd=$lt_file_magic_cmd
13693
13694 # How to find potential files when deplibs_check_method = "file_magic".
13695 file_magic_glob=$lt_file_magic_glob
13696
13697 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13698 want_nocaseglob=$lt_want_nocaseglob
13699
13700 # DLL creation program.
13701 DLLTOOL=$lt_DLLTOOL
13702
13703 # Command to associate shared and link libraries.
13704 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13705
13706 # The archiver.
13707 AR=$lt_AR
13708
13709 # Flags to create an archive.
13710 AR_FLAGS=$lt_AR_FLAGS
13711
13712 # How to feed a file listing to the archiver.
13713 archiver_list_spec=$lt_archiver_list_spec
13714
13715 # A symbol stripping program.
13716 STRIP=$lt_STRIP
13717
13718 # Commands used to install an old-style archive.
13719 RANLIB=$lt_RANLIB
13720 old_postinstall_cmds=$lt_old_postinstall_cmds
13721 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13722
13723 # Whether to use a lock for old archive extraction.
13724 lock_old_archive_extraction=$lock_old_archive_extraction
13725
13726 # A C compiler.
13727 LTCC=$lt_CC
13728
13729 # LTCC compiler flags.
13730 LTCFLAGS=$lt_CFLAGS
13731
13732 # Take the output of nm and produce a listing of raw symbols and C names.
13733 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13734
13735 # Transform the output of nm in a proper C declaration.
13736 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13737
13738 # Transform the output of nm in a C name address pair.
13739 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13740
13741 # Transform the output of nm in a C name address pair when lib prefix is needed.
13742 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13743
13744 # Specify filename containing input files for \$NM.
13745 nm_file_list_spec=$lt_nm_file_list_spec
13746
13747 # The root where to search for dependent libraries,and in which our libraries should be installed.
13748 lt_sysroot=$lt_sysroot
13749
13750 # The name of the directory that contains temporary libtool files.
13751 objdir=$objdir
13752
13753 # Used to examine libraries when file_magic_cmd begins with "file".
13754 MAGIC_CMD=$MAGIC_CMD
13755
13756 # Must we lock files when doing compilation?
13757 need_locks=$lt_need_locks
13758
13759 # Manifest tool.
13760 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13761
13762 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13763 DSYMUTIL=$lt_DSYMUTIL
13764
13765 # Tool to change global to local symbols on Mac OS X.
13766 NMEDIT=$lt_NMEDIT
13767
13768 # Tool to manipulate fat objects and archives on Mac OS X.
13769 LIPO=$lt_LIPO
13770
13771 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13772 OTOOL=$lt_OTOOL
13773
13774 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13775 OTOOL64=$lt_OTOOL64
13776
13777 # Old archive suffix (normally "a").
13778 libext=$libext
13779
13780 # Shared library suffix (normally ".so").
13781 shrext_cmds=$lt_shrext_cmds
13782
13783 # The commands to extract the exported symbol list from a shared archive.
13784 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13785
13786 # Variables whose values should be saved in libtool wrapper scripts and
13787 # restored at link time.
13788 variables_saved_for_relink=$lt_variables_saved_for_relink
13789
13790 # Do we need the "lib" prefix for modules?
13791 need_lib_prefix=$need_lib_prefix
13792
13793 # Do we need a version for libraries?
13794 need_version=$need_version
13795
13796 # Library versioning type.
13797 version_type=$version_type
13798
13799 # Shared library runtime path variable.
13800 runpath_var=$runpath_var
13801
13802 # Shared library path variable.
13803 shlibpath_var=$shlibpath_var
13804
13805 # Is shlibpath searched before the hard-coded library search path?
13806 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13807
13808 # Format of library name prefix.
13809 libname_spec=$lt_libname_spec
13810
13811 # List of archive names. First name is the real one, the rest are links.
13812 # The last name is the one that the linker finds with -lNAME
13813 library_names_spec=$lt_library_names_spec
13814
13815 # The coded name of the library, if different from the real name.
13816 soname_spec=$lt_soname_spec
13817
13818 # Permission mode override for installation of shared libraries.
13819 install_override_mode=$lt_install_override_mode
13820
13821 # Command to use after installation of a shared archive.
13822 postinstall_cmds=$lt_postinstall_cmds
13823
13824 # Command to use after uninstallation of a shared archive.
13825 postuninstall_cmds=$lt_postuninstall_cmds
13826
13827 # Commands used to finish a libtool library installation in a directory.
13828 finish_cmds=$lt_finish_cmds
13829
13830 # As "finish_cmds", except a single script fragment to be evaled but
13831 # not shown.
13832 finish_eval=$lt_finish_eval
13833
13834 # Whether we should hardcode library paths into libraries.
13835 hardcode_into_libs=$hardcode_into_libs
13836
13837 # Compile-time system search path for libraries.
13838 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13839
13840 # Run-time system search path for libraries.
13841 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13842
13843 # Whether dlopen is supported.
13844 dlopen_support=$enable_dlopen
13845
13846 # Whether dlopen of programs is supported.
13847 dlopen_self=$enable_dlopen_self
13848
13849 # Whether dlopen of statically linked programs is supported.
13850 dlopen_self_static=$enable_dlopen_self_static
13851
13852 # Commands to strip libraries.
13853 old_striplib=$lt_old_striplib
13854 striplib=$lt_striplib
13855
13856
13857 # The linker used to build libraries.
13858 LD=$lt_LD
13859
13860 # How to create reloadable object files.
13861 reload_flag=$lt_reload_flag
13862 reload_cmds=$lt_reload_cmds
13863
13864 # Commands used to build an old-style archive.
13865 old_archive_cmds=$lt_old_archive_cmds
13866
13867 # A language specific compiler.
13868 CC=$lt_compiler
13869
13870 # Is the compiler the GNU compiler?
13871 with_gcc=$GCC
13872
13873 # Compiler flag to turn off builtin functions.
13874 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13875
13876 # Additional compiler flags for building library objects.
13877 pic_flag=$lt_lt_prog_compiler_pic
13878
13879 # How to pass a linker flag through the compiler.
13880 wl=$lt_lt_prog_compiler_wl
13881
13882 # Compiler flag to prevent dynamic linking.
13883 link_static_flag=$lt_lt_prog_compiler_static
13884
13885 # Does compiler simultaneously support -c and -o options?
13886 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13887
13888 # Whether or not to add -lc for building shared libraries.
13889 build_libtool_need_lc=$archive_cmds_need_lc
13890
13891 # Whether or not to disallow shared libs when runtime libs are static.
13892 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13893
13894 # Compiler flag to allow reflexive dlopens.
13895 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13896
13897 # Compiler flag to generate shared objects directly from archives.
13898 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13899
13900 # Whether the compiler copes with passing no objects directly.
13901 compiler_needs_object=$lt_compiler_needs_object
13902
13903 # Create an old-style archive from a shared archive.
13904 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13905
13906 # Create a temporary old-style archive to link instead of a shared archive.
13907 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13908
13909 # Commands used to build a shared archive.
13910 archive_cmds=$lt_archive_cmds
13911 archive_expsym_cmds=$lt_archive_expsym_cmds
13912
13913 # Commands used to build a loadable module if different from building
13914 # a shared archive.
13915 module_cmds=$lt_module_cmds
13916 module_expsym_cmds=$lt_module_expsym_cmds
13917
13918 # Whether we are building with GNU ld or not.
13919 with_gnu_ld=$lt_with_gnu_ld
13920
13921 # Flag that allows shared libraries with undefined symbols to be built.
13922 allow_undefined_flag=$lt_allow_undefined_flag
13923
13924 # Flag that enforces no undefined symbols.
13925 no_undefined_flag=$lt_no_undefined_flag
13926
13927 # Flag to hardcode \$libdir into a binary during linking.
13928 # This must work even if \$libdir does not exist
13929 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13930
13931 # If ld is used when linking, flag to hardcode \$libdir into a binary
13932 # during linking. This must work even if \$libdir does not exist.
13933 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13934
13935 # Whether we need a single "-rpath" flag with a separated argument.
13936 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13937
13938 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13939 # DIR into the resulting binary.
13940 hardcode_direct=$hardcode_direct
13941
13942 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13943 # DIR into the resulting binary and the resulting library dependency is
13944 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13945 # library is relocated.
13946 hardcode_direct_absolute=$hardcode_direct_absolute
13947
13948 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13949 # into the resulting binary.
13950 hardcode_minus_L=$hardcode_minus_L
13951
13952 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13953 # into the resulting binary.
13954 hardcode_shlibpath_var=$hardcode_shlibpath_var
13955
13956 # Set to "yes" if building a shared library automatically hardcodes DIR
13957 # into the library and all subsequent libraries and executables linked
13958 # against it.
13959 hardcode_automatic=$hardcode_automatic
13960
13961 # Set to yes if linker adds runtime paths of dependent libraries
13962 # to runtime path list.
13963 inherit_rpath=$inherit_rpath
13964
13965 # Whether libtool must link a program against all its dependency libraries.
13966 link_all_deplibs=$link_all_deplibs
13967
13968 # Set to "yes" if exported symbols are required.
13969 always_export_symbols=$always_export_symbols
13970
13971 # The commands to list exported symbols.
13972 export_symbols_cmds=$lt_export_symbols_cmds
13973
13974 # Symbols that should not be listed in the preloaded symbols.
13975 exclude_expsyms=$lt_exclude_expsyms
13976
13977 # Symbols that must always be exported.
13978 include_expsyms=$lt_include_expsyms
13979
13980 # Commands necessary for linking programs (against libraries) with templates.
13981 prelink_cmds=$lt_prelink_cmds
13982
13983 # Commands necessary for finishing linking programs.
13984 postlink_cmds=$lt_postlink_cmds
13985
13986 # Specify filename containing input files.
13987 file_list_spec=$lt_file_list_spec
13988
13989 # How to hardcode a shared library path into an executable.
13990 hardcode_action=$hardcode_action
13991
13992 # ### END LIBTOOL CONFIG
13993
13994 _LT_EOF
13995
13996 case $host_os in
13997 aix3*)
13998 cat <<\_LT_EOF >> "$cfgfile"
13999 # AIX sometimes has problems with the GCC collect2 program. For some
14000 # reason, if we set the COLLECT_NAMES environment variable, the problems
14001 # vanish in a puff of smoke.
14002 if test "X${COLLECT_NAMES+set}" != Xset; then
14003 COLLECT_NAMES=
14004 export COLLECT_NAMES
14005 fi
14006 _LT_EOF
14007 ;;
14008 esac
14009
14010
14011 ltmain="$ac_aux_dir/ltmain.sh"
14012
14013
14014 # We use sed instead of cat because bash on DJGPP gets confused if
14015 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14016 # text mode, it properly converts lines to CR/LF. This bash problem
14017 # is reportedly fixed, but why not run on old versions too?
14018 sed '$q' "$ltmain" >> "$cfgfile" \
14019 || (rm -f "$cfgfile"; exit 1)
14020
14021 if test x"$xsi_shell" = xyes; then
14022 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14023 func_dirname ()\
14024 {\
14025 \ case ${1} in\
14026 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14027 \ * ) func_dirname_result="${3}" ;;\
14028 \ esac\
14029 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14030 && mv -f "$cfgfile.tmp" "$cfgfile" \
14031 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14032 test 0 -eq $? || _lt_function_replace_fail=:
14033
14034
14035 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14036 func_basename ()\
14037 {\
14038 \ func_basename_result="${1##*/}"\
14039 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14040 && mv -f "$cfgfile.tmp" "$cfgfile" \
14041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14042 test 0 -eq $? || _lt_function_replace_fail=:
14043
14044
14045 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14046 func_dirname_and_basename ()\
14047 {\
14048 \ case ${1} in\
14049 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14050 \ * ) func_dirname_result="${3}" ;;\
14051 \ esac\
14052 \ func_basename_result="${1##*/}"\
14053 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14054 && mv -f "$cfgfile.tmp" "$cfgfile" \
14055 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14056 test 0 -eq $? || _lt_function_replace_fail=:
14057
14058
14059 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14060 func_stripname ()\
14061 {\
14062 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14063 \ # positional parameters, so assign one to ordinary parameter first.\
14064 \ func_stripname_result=${3}\
14065 \ func_stripname_result=${func_stripname_result#"${1}"}\
14066 \ func_stripname_result=${func_stripname_result%"${2}"}\
14067 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14068 && mv -f "$cfgfile.tmp" "$cfgfile" \
14069 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14070 test 0 -eq $? || _lt_function_replace_fail=:
14071
14072
14073 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14074 func_split_long_opt ()\
14075 {\
14076 \ func_split_long_opt_name=${1%%=*}\
14077 \ func_split_long_opt_arg=${1#*=}\
14078 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14079 && mv -f "$cfgfile.tmp" "$cfgfile" \
14080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14081 test 0 -eq $? || _lt_function_replace_fail=:
14082
14083
14084 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14085 func_split_short_opt ()\
14086 {\
14087 \ func_split_short_opt_arg=${1#??}\
14088 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14089 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14090 && mv -f "$cfgfile.tmp" "$cfgfile" \
14091 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14092 test 0 -eq $? || _lt_function_replace_fail=:
14093
14094
14095 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14096 func_lo2o ()\
14097 {\
14098 \ case ${1} in\
14099 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14100 \ *) func_lo2o_result=${1} ;;\
14101 \ esac\
14102 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14103 && mv -f "$cfgfile.tmp" "$cfgfile" \
14104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14105 test 0 -eq $? || _lt_function_replace_fail=:
14106
14107
14108 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14109 func_xform ()\
14110 {\
14111 func_xform_result=${1%.*}.lo\
14112 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14113 && mv -f "$cfgfile.tmp" "$cfgfile" \
14114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14115 test 0 -eq $? || _lt_function_replace_fail=:
14116
14117
14118 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14119 func_arith ()\
14120 {\
14121 func_arith_result=$(( $* ))\
14122 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14123 && mv -f "$cfgfile.tmp" "$cfgfile" \
14124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14125 test 0 -eq $? || _lt_function_replace_fail=:
14126
14127
14128 sed -e '/^func_len ()$/,/^} # func_len /c\
14129 func_len ()\
14130 {\
14131 func_len_result=${#1}\
14132 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14133 && mv -f "$cfgfile.tmp" "$cfgfile" \
14134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14135 test 0 -eq $? || _lt_function_replace_fail=:
14136
14137 fi
14138
14139 if test x"$lt_shell_append" = xyes; then
14140 sed -e '/^func_append ()$/,/^} # func_append /c\
14141 func_append ()\
14142 {\
14143 eval "${1}+=\\${2}"\
14144 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14145 && mv -f "$cfgfile.tmp" "$cfgfile" \
14146 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14147 test 0 -eq $? || _lt_function_replace_fail=:
14148
14149
14150 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14151 func_append_quoted ()\
14152 {\
14153 \ func_quote_for_eval "${2}"\
14154 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14155 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14156 && mv -f "$cfgfile.tmp" "$cfgfile" \
14157 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14158 test 0 -eq $? || _lt_function_replace_fail=:
14159
14160
14161 # Save a `func_append' function call where possible by direct use of '+='
14162 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14163 && mv -f "$cfgfile.tmp" "$cfgfile" \
14164 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14165 test 0 -eq $? || _lt_function_replace_fail=:
14166 else
14167 # Save a `func_append' function call even when '+=' is not available
14168 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14169 && mv -f "$cfgfile.tmp" "$cfgfile" \
14170 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14171 test 0 -eq $? || _lt_function_replace_fail=:
14172 fi
14173
14174 if test x"$_lt_function_replace_fail" = x":"; then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14176 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14177 fi
14178
14179
14180 mv -f "$cfgfile" "$ofile" ||
14181 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14182 chmod +x "$ofile"
14183
14184 ;;
14185
14186 esac
14187 done # for ac_tag
14188
14189
14190 as_fn_exit 0
14191 _ACEOF
14192 ac_clean_files=$ac_clean_files_save
14193
14194 test $ac_write_fail = 0 ||
14195 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14196
14197
14198 # configure is writing to config.log, and then calls config.status.
14199 # config.status does its own redirection, appending to config.log.
14200 # Unfortunately, on DOS this fails, as config.log is still kept open
14201 # by configure, so config.status won't be able to write to it; its
14202 # output is simply discarded. So we exec the FD to /dev/null,
14203 # effectively closing config.log, so it can be properly (re)opened and
14204 # appended to by config.status. When coming back to configure, we
14205 # need to make the FD available again.
14206 if test "$no_create" != yes; then
14207 ac_cs_success=:
14208 ac_config_status_args=
14209 test "$silent" = yes &&
14210 ac_config_status_args="$ac_config_status_args --quiet"
14211 exec 5>/dev/null
14212 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14213 exec 5>>config.log
14214 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14215 # would make configure fail if this is the last instruction.
14216 $ac_cs_success || as_fn_exit 1
14217 fi
14218 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14220 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14221 fi
14222
14223