Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for alsa-plugins 1.2.12.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell [email protected] about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279 fi
280 exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='alsa-plugins'
589 PACKAGE_TARNAME='alsa-plugins'
590 PACKAGE_VERSION='1.2.12'
591 PACKAGE_STRING='alsa-plugins 1.2.12'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_default_prefix=/usr
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 ALSA_LCONF_DIR
637 ALSA_GCONF_DIR
638 ALSA_DATA_DIR
639 ALSA_PLUGIN_DIR
640 HAVE_AAF_FALSE
641 HAVE_AAF_TRUE
642 AVTP_LIBS
643 AVTP_CFLAGS
644 USE_LIBSPEEX_FALSE
645 USE_LIBSPEEX_TRUE
646 HAVE_PPH_FALSE
647 HAVE_PPH_TRUE
648 HAVE_SPEEXDSP_FALSE
649 HAVE_SPEEXDSP_TRUE
650 speexdsp_LIBS
651 speexdsp_CFLAGS
652 HAVE_LAVRATE_FALSE
653 HAVE_LAVRATE_TRUE
654 HAVE_A52_FALSE
655 HAVE_A52_TRUE
656 LIBAV_RESAMPLE_LIBS
657 LIBAV_CODEC_LIBS
658 HAVE_LIBAV_FALSE
659 HAVE_LIBAV_TRUE
660 LIBAV_LIBS
661 LIBAV_CFLAGS
662 DBUS_LIBS
663 DBUS_CFLAGS
664 HAVE_MAEMO_PLUGIN_FALSE
665 HAVE_MAEMO_PLUGIN_TRUE
666 HAVE_SAMPLERATE_FALSE
667 HAVE_SAMPLERATE_TRUE
668 samplerate_LIBS
669 samplerate_CFLAGS
670 HAVE_PULSE_FALSE
671 HAVE_PULSE_TRUE
672 pulseaudio_LIBS
673 pulseaudio_CFLAGS
674 HAVE_JACK_FALSE
675 HAVE_JACK_TRUE
676 JACK_LIBS
677 JACK_CFLAGS
678 HAVE_ARCAMAV_FALSE
679 HAVE_ARCAMAV_TRUE
680 HAVE_USBSTREAM_FALSE
681 HAVE_USBSTREAM_TRUE
682 HAVE_MIX_FALSE
683 HAVE_MIX_TRUE
684 HAVE_OSS_FALSE
685 HAVE_OSS_TRUE
686 ALSA_LIBS
687 ALSA_CFLAGS
688 PKG_CONFIG_LIBDIR
689 PKG_CONFIG_PATH
690 PKG_CONFIG
691 LDFLAGS_NOUNDEFINED
692 CPP
693 LT_SYS_LIBRARY_PATH
694 OTOOL64
695 OTOOL
696 LIPO
697 NMEDIT
698 DSYMUTIL
699 MANIFEST_TOOL
700 RANLIB
701 ac_ct_AR
702 AR
703 DLLTOOL
704 OBJDUMP
705 LN_S
706 NM
707 ac_ct_DUMPBIN
708 DUMPBIN
709 LD
710 FGREP
711 EGREP
712 GREP
713 SED
714 host_os
715 host_vendor
716 host_cpu
717 host
718 build_os
719 build_vendor
720 build_cpu
721 build
722 LIBTOOL
723 am__fastdepCC_FALSE
724 am__fastdepCC_TRUE
725 CCDEPMODE
726 am__nodep
727 AMDEPBACKSLASH
728 AMDEP_FALSE
729 AMDEP_TRUE
730 am__include
731 DEPDIR
732 OBJEXT
733 EXEEXT
734 ac_ct_CC
735 CPPFLAGS
736 LDFLAGS
737 CFLAGS
738 CC
739 MAINT
740 MAINTAINER_MODE_FALSE
741 MAINTAINER_MODE_TRUE
742 AM_BACKSLASH
743 AM_DEFAULT_VERBOSITY
744 AM_DEFAULT_V
745 AM_V
746 am__untar
747 am__tar
748 AMTAR
749 am__leading_dot
750 SET_MAKE
751 AWK
752 mkdir_p
753 MKDIR_P
754 INSTALL_STRIP_PROGRAM
755 STRIP
756 install_sh
757 MAKEINFO
758 AUTOHEADER
759 AUTOMAKE
760 AUTOCONF
761 ACLOCAL
762 VERSION
763 PACKAGE
764 CYGPATH_W
765 am__isrc
766 INSTALL_DATA
767 INSTALL_SCRIPT
768 INSTALL_PROGRAM
769 target_alias
770 host_alias
771 build_alias
772 LIBS
773 ECHO_T
774 ECHO_N
775 ECHO_C
776 DEFS
777 mandir
778 localedir
779 libdir
780 psdir
781 pdfdir
782 dvidir
783 htmldir
784 infodir
785 docdir
786 oldincludedir
787 includedir
788 runstatedir
789 localstatedir
790 sharedstatedir
791 sysconfdir
792 datadir
793 datarootdir
794 libexecdir
795 sbindir
796 bindir
797 program_transform_name
798 prefix
799 exec_prefix
800 PACKAGE_URL
801 PACKAGE_BUGREPORT
802 PACKAGE_STRING
803 PACKAGE_VERSION
804 PACKAGE_TARNAME
805 PACKAGE_NAME
806 PATH_SEPARATOR
807 SHELL
808 am__quote'
809 ac_subst_files=''
810 ac_user_opts='
811 enable_option_checking
812 enable_silent_rules
813 enable_maintainer_mode
814 enable_dependency_tracking
815 enable_static
816 enable_shared
817 with_pic
818 enable_fast_install
819 with_aix_soname
820 with_gnu_ld
821 with_sysroot
822 enable_libtool_lock
823 enable_oss
824 enable_mix
825 enable_usbstream
826 enable_arcamav
827 enable_jack
828 enable_pulseaudio
829 enable_samplerate
830 enable_maemo_plugin
831 enable_maemo_resource_manager
832 enable_libav
833 with_libav_includedir
834 with_libav_libdir
835 enable_a52
836 enable_lavrate
837 enable_speexdsp
838 with_speex
839 enable_aaf
840 with_plugindir
841 with_alsadatadir
842 with_alsagconfdir
843 with_alsalconfdir
844 '
845 ac_precious_vars='build_alias
846 host_alias
847 target_alias
848 CC
849 CFLAGS
850 LDFLAGS
851 LIBS
852 CPPFLAGS
853 LT_SYS_LIBRARY_PATH
854 CPP
855 PKG_CONFIG
856 PKG_CONFIG_PATH
857 PKG_CONFIG_LIBDIR
858 ALSA_CFLAGS
859 ALSA_LIBS
860 JACK_CFLAGS
861 JACK_LIBS
862 pulseaudio_CFLAGS
863 pulseaudio_LIBS
864 samplerate_CFLAGS
865 samplerate_LIBS
866 DBUS_CFLAGS
867 DBUS_LIBS
868 LIBAV_CFLAGS
869 LIBAV_LIBS
870 speexdsp_CFLAGS
871 speexdsp_LIBS
872 AVTP_CFLAGS
873 AVTP_LIBS'
874
875
876 # Initialize some variables set by options.
877 ac_init_help=
878 ac_init_version=false
879 ac_unrecognized_opts=
880 ac_unrecognized_sep=
881 # The variables have the same names as the options, with
882 # dashes changed to underlines.
883 cache_file=/dev/null
884 exec_prefix=NONE
885 no_create=
886 no_recursion=
887 prefix=NONE
888 program_prefix=NONE
889 program_suffix=NONE
890 program_transform_name=s,x,x,
891 silent=
892 site=
893 srcdir=
894 verbose=
895 x_includes=NONE
896 x_libraries=NONE
897
898 # Installation directory options.
899 # These are left unexpanded so users can "make install exec_prefix=/foo"
900 # and all the variables that are supposed to be based on exec_prefix
901 # by default will actually change.
902 # Use braces instead of parens because sh, perl, etc. also accept them.
903 # (The list follows the same order as the GNU Coding Standards.)
904 bindir='${exec_prefix}/bin'
905 sbindir='${exec_prefix}/sbin'
906 libexecdir='${exec_prefix}/libexec'
907 datarootdir='${prefix}/share'
908 datadir='${datarootdir}'
909 sysconfdir='${prefix}/etc'
910 sharedstatedir='${prefix}/com'
911 localstatedir='${prefix}/var'
912 runstatedir='${localstatedir}/run'
913 includedir='${prefix}/include'
914 oldincludedir='/usr/include'
915 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
916 infodir='${datarootdir}/info'
917 htmldir='${docdir}'
918 dvidir='${docdir}'
919 pdfdir='${docdir}'
920 psdir='${docdir}'
921 libdir='${exec_prefix}/lib'
922 localedir='${datarootdir}/locale'
923 mandir='${datarootdir}/man'
924
925 ac_prev=
926 ac_dashdash=
927 for ac_option
928 do
929 # If the previous option needs an argument, assign it.
930 if test -n "$ac_prev"; then
931 eval $ac_prev=\$ac_option
932 ac_prev=
933 continue
934 fi
935
936 case $ac_option in
937 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
938 *=) ac_optarg= ;;
939 *) ac_optarg=yes ;;
940 esac
941
942 # Accept the important Cygnus configure options, so we can diagnose typos.
943
944 case $ac_dashdash$ac_option in
945 --)
946 ac_dashdash=yes ;;
947
948 -bindir | --bindir | --bindi | --bind | --bin | --bi)
949 ac_prev=bindir ;;
950 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
951 bindir=$ac_optarg ;;
952
953 -build | --build | --buil | --bui | --bu)
954 ac_prev=build_alias ;;
955 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
956 build_alias=$ac_optarg ;;
957
958 -cache-file | --cache-file | --cache-fil | --cache-fi \
959 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
960 ac_prev=cache_file ;;
961 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
962 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
963 cache_file=$ac_optarg ;;
964
965 --config-cache | -C)
966 cache_file=config.cache ;;
967
968 -datadir | --datadir | --datadi | --datad)
969 ac_prev=datadir ;;
970 -datadir=* | --datadir=* | --datadi=* | --datad=*)
971 datadir=$ac_optarg ;;
972
973 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
974 | --dataroo | --dataro | --datar)
975 ac_prev=datarootdir ;;
976 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
977 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
978 datarootdir=$ac_optarg ;;
979
980 -disable-* | --disable-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid feature name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
988 *"
989 "enable_$ac_useropt"
990 "*) ;;
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
993 esac
994 eval enable_$ac_useropt=no ;;
995
996 -docdir | --docdir | --docdi | --doc | --do)
997 ac_prev=docdir ;;
998 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
999 docdir=$ac_optarg ;;
1000
1001 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1002 ac_prev=dvidir ;;
1003 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1004 dvidir=$ac_optarg ;;
1005
1006 -enable-* | --enable-*)
1007 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error $? "invalid feature name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1014 *"
1015 "enable_$ac_useropt"
1016 "*) ;;
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1019 esac
1020 eval enable_$ac_useropt=\$ac_optarg ;;
1021
1022 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1023 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1024 | --exec | --exe | --ex)
1025 ac_prev=exec_prefix ;;
1026 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1027 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1028 | --exec=* | --exe=* | --ex=*)
1029 exec_prefix=$ac_optarg ;;
1030
1031 -gas | --gas | --ga | --g)
1032 # Obsolete; use --with-gas.
1033 with_gas=yes ;;
1034
1035 -help | --help | --hel | --he | -h)
1036 ac_init_help=long ;;
1037 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1038 ac_init_help=recursive ;;
1039 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1040 ac_init_help=short ;;
1041
1042 -host | --host | --hos | --ho)
1043 ac_prev=host_alias ;;
1044 -host=* | --host=* | --hos=* | --ho=*)
1045 host_alias=$ac_optarg ;;
1046
1047 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1048 ac_prev=htmldir ;;
1049 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1050 | --ht=*)
1051 htmldir=$ac_optarg ;;
1052
1053 -includedir | --includedir | --includedi | --included | --include \
1054 | --includ | --inclu | --incl | --inc)
1055 ac_prev=includedir ;;
1056 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1057 | --includ=* | --inclu=* | --incl=* | --inc=*)
1058 includedir=$ac_optarg ;;
1059
1060 -infodir | --infodir | --infodi | --infod | --info | --inf)
1061 ac_prev=infodir ;;
1062 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1063 infodir=$ac_optarg ;;
1064
1065 -libdir | --libdir | --libdi | --libd)
1066 ac_prev=libdir ;;
1067 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1068 libdir=$ac_optarg ;;
1069
1070 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1071 | --libexe | --libex | --libe)
1072 ac_prev=libexecdir ;;
1073 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1074 | --libexe=* | --libex=* | --libe=*)
1075 libexecdir=$ac_optarg ;;
1076
1077 -localedir | --localedir | --localedi | --localed | --locale)
1078 ac_prev=localedir ;;
1079 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1080 localedir=$ac_optarg ;;
1081
1082 -localstatedir | --localstatedir | --localstatedi | --localstated \
1083 | --localstate | --localstat | --localsta | --localst | --locals)
1084 ac_prev=localstatedir ;;
1085 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1086 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1087 localstatedir=$ac_optarg ;;
1088
1089 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1090 ac_prev=mandir ;;
1091 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1092 mandir=$ac_optarg ;;
1093
1094 -nfp | --nfp | --nf)
1095 # Obsolete; use --without-fp.
1096 with_fp=no ;;
1097
1098 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1099 | --no-cr | --no-c | -n)
1100 no_create=yes ;;
1101
1102 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1103 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1104 no_recursion=yes ;;
1105
1106 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1107 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1108 | --oldin | --oldi | --old | --ol | --o)
1109 ac_prev=oldincludedir ;;
1110 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1111 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1112 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1113 oldincludedir=$ac_optarg ;;
1114
1115 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1116 ac_prev=prefix ;;
1117 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1118 prefix=$ac_optarg ;;
1119
1120 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1121 | --program-pre | --program-pr | --program-p)
1122 ac_prev=program_prefix ;;
1123 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1124 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1125 program_prefix=$ac_optarg ;;
1126
1127 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1128 | --program-suf | --program-su | --program-s)
1129 ac_prev=program_suffix ;;
1130 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1131 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1132 program_suffix=$ac_optarg ;;
1133
1134 -program-transform-name | --program-transform-name \
1135 | --program-transform-nam | --program-transform-na \
1136 | --program-transform-n | --program-transform- \
1137 | --program-transform | --program-transfor \
1138 | --program-transfo | --program-transf \
1139 | --program-trans | --program-tran \
1140 | --progr-tra | --program-tr | --program-t)
1141 ac_prev=program_transform_name ;;
1142 -program-transform-name=* | --program-transform-name=* \
1143 | --program-transform-nam=* | --program-transform-na=* \
1144 | --program-transform-n=* | --program-transform-=* \
1145 | --program-transform=* | --program-transfor=* \
1146 | --program-transfo=* | --program-transf=* \
1147 | --program-trans=* | --program-tran=* \
1148 | --progr-tra=* | --program-tr=* | --program-t=*)
1149 program_transform_name=$ac_optarg ;;
1150
1151 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1152 ac_prev=pdfdir ;;
1153 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1154 pdfdir=$ac_optarg ;;
1155
1156 -psdir | --psdir | --psdi | --psd | --ps)
1157 ac_prev=psdir ;;
1158 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1159 psdir=$ac_optarg ;;
1160
1161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1162 | -silent | --silent | --silen | --sile | --sil)
1163 silent=yes ;;
1164
1165 -runstatedir | --runstatedir | --runstatedi | --runstated \
1166 | --runstate | --runstat | --runsta | --runst | --runs \
1167 | --run | --ru | --r)
1168 ac_prev=runstatedir ;;
1169 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1170 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1171 | --run=* | --ru=* | --r=*)
1172 runstatedir=$ac_optarg ;;
1173
1174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 ac_prev=sbindir ;;
1176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 | --sbi=* | --sb=*)
1178 sbindir=$ac_optarg ;;
1179
1180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182 | --sharedst | --shareds | --shared | --share | --shar \
1183 | --sha | --sh)
1184 ac_prev=sharedstatedir ;;
1185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 | --sha=* | --sh=*)
1189 sharedstatedir=$ac_optarg ;;
1190
1191 -site | --site | --sit)
1192 ac_prev=site ;;
1193 -site=* | --site=* | --sit=*)
1194 site=$ac_optarg ;;
1195
1196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 ac_prev=srcdir ;;
1198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199 srcdir=$ac_optarg ;;
1200
1201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202 | --syscon | --sysco | --sysc | --sys | --sy)
1203 ac_prev=sysconfdir ;;
1204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206 sysconfdir=$ac_optarg ;;
1207
1208 -target | --target | --targe | --targ | --tar | --ta | --t)
1209 ac_prev=target_alias ;;
1210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211 target_alias=$ac_optarg ;;
1212
1213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214 verbose=yes ;;
1215
1216 -version | --version | --versio | --versi | --vers | -V)
1217 ac_init_version=: ;;
1218
1219 -with-* | --with-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error $? "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1227 *"
1228 "with_$ac_useropt"
1229 "*) ;;
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1232 esac
1233 eval with_$ac_useropt=\$ac_optarg ;;
1234
1235 -without-* | --without-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error $? "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1243 *"
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=no ;;
1250
1251 --x)
1252 # Obsolete; use --with-x.
1253 with_x=yes ;;
1254
1255 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1256 | --x-incl | --x-inc | --x-in | --x-i)
1257 ac_prev=x_includes ;;
1258 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1259 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1260 x_includes=$ac_optarg ;;
1261
1262 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1263 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1264 ac_prev=x_libraries ;;
1265 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1266 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1267 x_libraries=$ac_optarg ;;
1268
1269 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information"
1271 ;;
1272
1273 *=*)
1274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' | [0-9]* | *[!_$as_cr_alnum]* )
1278 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1279 esac
1280 eval $ac_envvar=\$ac_optarg
1281 export $ac_envvar ;;
1282
1283 *)
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1289 ;;
1290
1291 esac
1292 done
1293
1294 if test -n "$ac_prev"; then
1295 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error $? "missing argument to $ac_option"
1297 fi
1298
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1301 no) ;;
1302 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 esac
1305 fi
1306
1307 # Check all directory arguments for consistency.
1308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir runstatedir
1312 do
1313 eval ac_val=\$$ac_var
1314 # Remove trailing slashes.
1315 case $ac_val in
1316 */ )
1317 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\$ac_val;;
1319 esac
1320 # Be sure to have absolute directory names.
1321 case $ac_val in
1322 [\\/$]* | ?:[\\/]* ) continue;;
1323 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 esac
1325 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1326 done
1327
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1331 build=$build_alias
1332 host=$host_alias
1333 target=$target_alias
1334
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337 if test "x$build_alias" = x; then
1338 cross_compiling=maybe
1339 elif test "x$build_alias" != "x$host_alias"; then
1340 cross_compiling=yes
1341 fi
1342 fi
1343
1344 ac_tool_prefix=
1345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1346
1347 test "$silent" = yes && exec 6>/dev/null
1348
1349
1350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di=`ls -di .` &&
1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error $? "working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error $? "pwd does not report name of working directory"
1356
1357
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1369 s//\1/
1370 q
1371 }
1372 /^X\(\/\/\)[^/].*/{
1373 s//\1/
1374 q
1375 }
1376 /^X\(\/\/\)$/{
1377 s//\1/
1378 q
1379 }
1380 /^X\(\/\).*/{
1381 s//\1/
1382 q
1383 }
1384 s/.*/./; q'`
1385 srcdir=$ac_confdir
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1387 srcdir=..
1388 fi
1389 else
1390 ac_srcdir_defaulted=no
1391 fi
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1395 fi
1396 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1397 ac_abs_confdir=`(
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1399 pwd)`
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1402 srcdir=.
1403 fi
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1407 case $srcdir in
1408 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1409 esac
1410 for ac_var in $ac_precious_vars; do
1411 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_${ac_var}_value=\$${ac_var}
1413 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1415 done
1416
1417 #
1418 # Report the --help message.
1419 #
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1423 cat <<_ACEOF
1424 \`configure' configures alsa-plugins 1.2.12 to adapt to many kinds of systems.
1425
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1427
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1430
1431 Defaults for the options are specified in brackets.
1432
1433 Configuration:
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking ...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1443
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1448 [PREFIX]
1449
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1454
1455 For better control, use the options below.
1456
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/alsa-plugins]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1478 _ACEOF
1479
1480 cat <<\_ACEOF
1481
1482 Program names:
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1486
1487 System types:
1488 --build=BUILD configure for building on BUILD [guessed]
1489 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1490 _ACEOF
1491 fi
1492
1493 if test -n "$ac_init_help"; then
1494 case $ac_init_help in
1495 short | recursive ) echo "Configuration of alsa-plugins 1.2.12:";;
1496 esac
1497 cat <<\_ACEOF
1498
1499 Optional Features:
1500 --disable-option-checking ignore unrecognized --enable/--with options
1501 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1502 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1503 --enable-silent-rules less verbose build output (undo: "make V=1")
1504 --disable-silent-rules verbose build output (undo: "make V=0")
1505 --disable-maintainer-mode
1506 disable make rules and dependencies not useful (and
1507 sometimes confusing) to the casual installer
1508 --enable-dependency-tracking
1509 do not reject slow dependency extractors
1510 --disable-dependency-tracking
1511 speeds up one-time build
1512 --enable-static[=PKGS] build static libraries [default=no]
1513 --enable-shared[=PKGS] build shared libraries [default=yes]
1514 --enable-fast-install[=PKGS]
1515 optimize for fast installation [default=yes]
1516 --disable-libtool-lock avoid locking (might break parallel builds)
1517 --disable-oss Disable building of OSS plugin
1518 --disable-mix Disable building of upmix and vdownmix plugins
1519 --disable-usbstream Disable building of usb_stream plugin
1520 --disable-arcamav Disable building of Arcam AV control plugin
1521 --disable-jack Disable building of JACK plugin
1522 --disable-pulseaudio Disable building of pulseaudio plugin
1523 --disable-samplerate Disable building of samplerate plugin
1524 --enable-maemo-plugin Build Maemo DSP plugin
1525 --enable-maemo-resource-manager
1526 Use Maemo resource manager
1527 --disable-libav Do not build plugins depending on libav/ffmpeg
1528 (a52,lavrate...)
1529 --disable-a52 Disable building of A52 encoder plugin
1530 --disable-lavrate Disable building of libav/ffmpeg rate plugin
1531 --disable-speexdsp Disable building of speexdsp plugin
1532 --disable-aaf Disable building of AAF plugin
1533
1534 Optional Packages:
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1538 both]
1539 --with-aix-soname=aix|svr4|both
1540 shared library versioning (aka "SONAME") variant to
1541 provide on AIX, [default=aix].
1542 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1543 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1544 compiler's sysroot if not specified).
1545 --with-libav-includedir=dir
1546 Libav/ffmpeg include directory
1547 --with-libav-libdir=dir Libav/ffmpeg library directory
1548 --with-speex={builtin|lib|no}
1549 build speex resampler (built-in code, link with
1550 external lib, or no build)
1551 --with-plugindir=dir path where ALSA plugin files are stored
1552 --with-alsadatadir=dir path where ALSA data files are stored
1553 --with-alsagconfdir=dir path where ALSA global add-on config files are
1554 stored
1555 --with-alsalconfdir=dir path where ALSA local add-on config files are stored
1556
1557 Some influential environment variables:
1558 CC C compiler command
1559 CFLAGS C compiler flags
1560 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1561 nonstandard directory <lib dir>
1562 LIBS libraries to pass to the linker, e.g. -l<library>
1563 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1564 you have headers in a nonstandard directory <include dir>
1565 LT_SYS_LIBRARY_PATH
1566 User-defined run-time library search path.
1567 CPP C preprocessor
1568 PKG_CONFIG path to pkg-config utility
1569 PKG_CONFIG_PATH
1570 directories to add to pkg-config's search path
1571 PKG_CONFIG_LIBDIR
1572 path overriding pkg-config's built-in search path
1573 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1574 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1575 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1576 JACK_LIBS linker flags for JACK, overriding pkg-config
1577 pulseaudio_CFLAGS
1578 C compiler flags for pulseaudio, overriding pkg-config
1579 pulseaudio_LIBS
1580 linker flags for pulseaudio, overriding pkg-config
1581 samplerate_CFLAGS
1582 C compiler flags for samplerate, overriding pkg-config
1583 samplerate_LIBS
1584 linker flags for samplerate, overriding pkg-config
1585 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1586 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1587 LIBAV_CFLAGS
1588 C compiler flags for LIBAV, overriding pkg-config
1589 LIBAV_LIBS linker flags for LIBAV, overriding pkg-config
1590 speexdsp_CFLAGS
1591 C compiler flags for speexdsp, overriding pkg-config
1592 speexdsp_LIBS
1593 linker flags for speexdsp, overriding pkg-config
1594 AVTP_CFLAGS C compiler flags for AVTP, overriding pkg-config
1595 AVTP_LIBS linker flags for AVTP, overriding pkg-config
1596
1597 Use these variables to override the choices made by `configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1599
1600 Report bugs to the package provider.
1601 _ACEOF
1602 ac_status=$?
1603 fi
1604
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610 continue
1611 ac_builddir=.
1612
1613 case "$ac_dir" in
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 *)
1616 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1622 esac ;;
1623 esac
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1628
1629 case $srcdir in
1630 .) # We are building in place.
1631 ac_srcdir=.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1638 *) # Relative name.
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 esac
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1648 echo &&
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1651 echo &&
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1653 else
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655 fi || ac_status=$?
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1657 done
1658 fi
1659
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1662 cat <<\_ACEOF
1663 alsa-plugins configure 1.2.12
1664 generated by GNU Autoconf 2.69
1665
1666 Copyright (C) 2012 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1669 _ACEOF
1670 exit
1671 fi
1672
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1676
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1681 {
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rm -f conftest.$ac_objext
1684 if { { ac_try="$ac_compile"
1685 case "(($ac_try" in
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1692 ac_status=$?
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1697 fi
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.$ac_objext; then :
1703 ac_retval=0
1704 else
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1707
1708 ac_retval=1
1709 fi
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1712
1713 } # ac_fn_c_try_compile
1714
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_link ()
1719 {
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext conftest$ac_exeext
1722 if { { ac_try="$ac_link"
1723 case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1735 fi
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest$ac_exeext && {
1741 test "$cross_compiling" = yes ||
1742 test -x conftest$ac_exeext
1743 }; then :
1744 ac_retval=0
1745 else
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749 ac_retval=1
1750 fi
1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753 # interfere with the next link command; also delete a directory that is
1754 # left behind by Apple's compiler. We do this before executing the actions.
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1758
1759 } # ac_fn_c_try_link
1760
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1766 {
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1772 else
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1775 $4
1776 #include <$2>
1777 _ACEOF
1778 if ac_fn_c_try_compile "$LINENO"; then :
1779 eval "$3=yes"
1780 else
1781 eval "$3=no"
1782 fi
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 fi
1785 eval ac_res=\$$3
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789
1790 } # ac_fn_c_check_header_compile
1791
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_c_try_cpp ()
1796 {
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 case "(($ac_try" in
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 ac_status=$?
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1811 fi
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i && {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1826
1827 } # ac_fn_c_try_cpp
1828
1829 # ac_fn_c_try_run LINENO
1830 # ----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1832 # that executables *can* be run.
1833 ac_fn_c_try_run ()
1834 {
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 if { { ac_try="$ac_link"
1837 case "(($ac_try" in
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1840 esac
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>&5
1844 ac_status=$?
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1847 { { case "(($ac_try" in
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1850 esac
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_try") 2>&5
1854 ac_status=$?
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; }; }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: program exited with status $ac_status" >&5
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1862
1863 ac_retval=$ac_status
1864 fi
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 as_fn_set_status $ac_retval
1868
1869 } # ac_fn_c_try_run
1870
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1875 {
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1887
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1892
1893 #ifdef __STDC__
1894 # include <limits.h>
1895 #else
1896 # include <assert.h>
1897 #endif
1898
1899 #undef $2
1900
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1904 #ifdef __cplusplus
1905 extern "C"
1906 #endif
1907 char $2 ();
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1912 choke me
1913 #endif
1914
1915 int
1916 main ()
1917 {
1918 return $2 ();
1919 ;
1920 return 0;
1921 }
1922 _ACEOF
1923 if ac_fn_c_try_link "$LINENO"; then :
1924 eval "$3=yes"
1925 else
1926 eval "$3=no"
1927 fi
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1930 fi
1931 eval ac_res=\$$3
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935
1936 } # ac_fn_c_check_func
1937
1938 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1939 # -------------------------------------------------------
1940 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1941 # the include files in INCLUDES and setting the cache variable VAR
1942 # accordingly.
1943 ac_fn_c_check_header_mongrel ()
1944 {
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if eval \${$3+:} false; then :
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1951 fi
1952 eval ac_res=\$$3
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 else
1956 # Is the header compilable?
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1958 $as_echo_n "checking $2 usability... " >&6; }
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1961 $4
1962 #include <$2>
1963 _ACEOF
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965 ac_header_compiler=yes
1966 else
1967 ac_header_compiler=no
1968 fi
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1971 $as_echo "$ac_header_compiler" >&6; }
1972
1973 # Is the header present?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1975 $as_echo_n "checking $2 presence... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1978 #include <$2>
1979 _ACEOF
1980 if ac_fn_c_try_cpp "$LINENO"; then :
1981 ac_header_preproc=yes
1982 else
1983 ac_header_preproc=no
1984 fi
1985 rm -f conftest.err conftest.i conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1987 $as_echo "$ac_header_preproc" >&6; }
1988
1989 # So? What about this header?
1990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1991 yes:no: )
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1993 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1996 ;;
1997 no:yes:* )
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1999 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2001 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2003 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2005 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 ;;
2009 esac
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2011 $as_echo_n "checking for $2... " >&6; }
2012 if eval \${$3+:} false; then :
2013 $as_echo_n "(cached) " >&6
2014 else
2015 eval "$3=\$ac_header_compiler"
2016 fi
2017 eval ac_res=\$$3
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019 $as_echo "$ac_res" >&6; }
2020 fi
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022
2023 } # ac_fn_c_check_header_mongrel
2024 cat >config.log <<_ACEOF
2025 This file contains any messages produced by compilers while
2026 running configure, to aid debugging if configure makes a mistake.
2027
2028 It was created by alsa-plugins $as_me 1.2.12, which was
2029 generated by GNU Autoconf 2.69. Invocation command line was
2030
2031 $ $0 $@
2032
2033 _ACEOF
2034 exec 5>>config.log
2035 {
2036 cat <<_ASUNAME
2037 ## --------- ##
2038 ## Platform. ##
2039 ## --------- ##
2040
2041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2046
2047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2049
2050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2053 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2057
2058 _ASUNAME
2059
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2062 do
2063 IFS=$as_save_IFS
2064 test -z "$as_dir" && as_dir=.
2065 $as_echo "PATH: $as_dir"
2066 done
2067 IFS=$as_save_IFS
2068
2069 } >&5
2070
2071 cat >&5 <<_ACEOF
2072
2073
2074 ## ----------- ##
2075 ## Core tests. ##
2076 ## ----------- ##
2077
2078 _ACEOF
2079
2080
2081 # Keep a trace of the command line.
2082 # Strip out --no-create and --no-recursion so they do not pile up.
2083 # Strip out --silent because we don't want to record it for future runs.
2084 # Also quote any args containing shell meta-characters.
2085 # Make two passes to allow for proper duplicate-argument suppression.
2086 ac_configure_args=
2087 ac_configure_args0=
2088 ac_configure_args1=
2089 ac_must_keep_next=false
2090 for ac_pass in 1 2
2091 do
2092 for ac_arg
2093 do
2094 case $ac_arg in
2095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2098 continue ;;
2099 *\'*)
2100 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 esac
2102 case $ac_pass in
2103 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2104 2)
2105 as_fn_append ac_configure_args1 " '$ac_arg'"
2106 if test $ac_must_keep_next = true; then
2107 ac_must_keep_next=false # Got value, back to normal.
2108 else
2109 case $ac_arg in
2110 *=* | --config-cache | -C | -disable-* | --disable-* \
2111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2113 | -with-* | --with-* | -without-* | --without-* | --x)
2114 case "$ac_configure_args0 " in
2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2116 esac
2117 ;;
2118 -* ) ac_must_keep_next=true ;;
2119 esac
2120 fi
2121 as_fn_append ac_configure_args " '$ac_arg'"
2122 ;;
2123 esac
2124 done
2125 done
2126 { ac_configure_args0=; unset ac_configure_args0;}
2127 { ac_configure_args1=; unset ac_configure_args1;}
2128
2129 # When interrupted or exit'd, cleanup temporary files, and complete
2130 # config.log. We remove comments because anyway the quotes in there
2131 # would cause problems or look ugly.
2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2134 trap 'exit_status=$?
2135 # Save into config.log some information that might help in debugging.
2136 {
2137 echo
2138
2139 $as_echo "## ---------------- ##
2140 ## Cache variables. ##
2141 ## ---------------- ##"
2142 echo
2143 # The following way of writing the cache mishandles newlines in values,
2144 (
2145 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2146 eval ac_val=\$$ac_var
2147 case $ac_val in #(
2148 *${as_nl}*)
2149 case $ac_var in #(
2150 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2151 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2152 esac
2153 case $ac_var in #(
2154 _ | IFS | as_nl) ;; #(
2155 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2156 *) { eval $ac_var=; unset $ac_var;} ;;
2157 esac ;;
2158 esac
2159 done
2160 (set) 2>&1 |
2161 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2162 *${as_nl}ac_space=\ *)
2163 sed -n \
2164 "s/'\''/'\''\\\\'\'''\''/g;
2165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2166 ;; #(
2167 *)
2168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2169 ;;
2170 esac |
2171 sort
2172 )
2173 echo
2174
2175 $as_echo "## ----------------- ##
2176 ## Output variables. ##
2177 ## ----------------- ##"
2178 echo
2179 for ac_var in $ac_subst_vars
2180 do
2181 eval ac_val=\$$ac_var
2182 case $ac_val in
2183 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 esac
2185 $as_echo "$ac_var='\''$ac_val'\''"
2186 done | sort
2187 echo
2188
2189 if test -n "$ac_subst_files"; then
2190 $as_echo "## ------------------- ##
2191 ## File substitutions. ##
2192 ## ------------------- ##"
2193 echo
2194 for ac_var in $ac_subst_files
2195 do
2196 eval ac_val=\$$ac_var
2197 case $ac_val in
2198 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2199 esac
2200 $as_echo "$ac_var='\''$ac_val'\''"
2201 done | sort
2202 echo
2203 fi
2204
2205 if test -s confdefs.h; then
2206 $as_echo "## ----------- ##
2207 ## confdefs.h. ##
2208 ## ----------- ##"
2209 echo
2210 cat confdefs.h
2211 echo
2212 fi
2213 test "$ac_signal" != 0 &&
2214 $as_echo "$as_me: caught signal $ac_signal"
2215 $as_echo "$as_me: exit $exit_status"
2216 } >&5
2217 rm -f core *.core core.conftest.* &&
2218 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2219 exit $exit_status
2220 ' 0
2221 for ac_signal in 1 2 13 15; do
2222 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2223 done
2224 ac_signal=0
2225
2226 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2227 rm -f -r conftest* confdefs.h
2228
2229 $as_echo "/* confdefs.h */" > confdefs.h
2230
2231 # Predefined preprocessor variables.
2232
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_NAME "$PACKAGE_NAME"
2235 _ACEOF
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2239 _ACEOF
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2243 _ACEOF
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_STRING "$PACKAGE_STRING"
2247 _ACEOF
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2251 _ACEOF
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_URL "$PACKAGE_URL"
2255 _ACEOF
2256
2257
2258 # Let the site file select an alternate cache file if it wants to.
2259 # Prefer an explicitly selected file to automatically selected ones.
2260 ac_site_file1=NONE
2261 ac_site_file2=NONE
2262 if test -n "$CONFIG_SITE"; then
2263 # We do not want a PATH search for config.site.
2264 case $CONFIG_SITE in #((
2265 -*) ac_site_file1=./$CONFIG_SITE;;
2266 */*) ac_site_file1=$CONFIG_SITE;;
2267 *) ac_site_file1=./$CONFIG_SITE;;
2268 esac
2269 elif test "x$prefix" != xNONE; then
2270 ac_site_file1=$prefix/share/config.site
2271 ac_site_file2=$prefix/etc/config.site
2272 else
2273 ac_site_file1=$ac_default_prefix/share/config.site
2274 ac_site_file2=$ac_default_prefix/etc/config.site
2275 fi
2276 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2277 do
2278 test "x$ac_site_file" = xNONE && continue
2279 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2281 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2282 sed 's/^/| /' "$ac_site_file" >&5
2283 . "$ac_site_file" \
2284 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2286 as_fn_error $? "failed to load site script $ac_site_file
2287 See \`config.log' for more details" "$LINENO" 5; }
2288 fi
2289 done
2290
2291 if test -r "$cache_file"; then
2292 # Some versions of bash will fail to source /dev/null (special files
2293 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2294 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2296 $as_echo "$as_me: loading cache $cache_file" >&6;}
2297 case $cache_file in
2298 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2299 *) . "./$cache_file";;
2300 esac
2301 fi
2302 else
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2304 $as_echo "$as_me: creating cache $cache_file" >&6;}
2305 >$cache_file
2306 fi
2307
2308 # Check that the precious variables saved in the cache have kept the same
2309 # value.
2310 ac_cache_corrupted=false
2311 for ac_var in $ac_precious_vars; do
2312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2313 eval ac_new_set=\$ac_env_${ac_var}_set
2314 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2315 eval ac_new_val=\$ac_env_${ac_var}_value
2316 case $ac_old_set,$ac_new_set in
2317 set,)
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2319 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2320 ac_cache_corrupted=: ;;
2321 ,set)
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2323 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2325 ,);;
2326 *)
2327 if test "x$ac_old_val" != "x$ac_new_val"; then
2328 # differences in whitespace do not lead to failure.
2329 ac_old_val_w=`echo x $ac_old_val`
2330 ac_new_val_w=`echo x $ac_new_val`
2331 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2333 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2334 ac_cache_corrupted=:
2335 else
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2337 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2338 eval $ac_var=\$ac_old_val
2339 fi
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2341 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2343 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2344 fi;;
2345 esac
2346 # Pass precious variables to config.status.
2347 if test "$ac_new_set" = set; then
2348 case $ac_new_val in
2349 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 *) ac_arg=$ac_var=$ac_new_val ;;
2351 esac
2352 case " $ac_configure_args " in
2353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2354 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2355 esac
2356 fi
2357 done
2358 if $ac_cache_corrupted; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2362 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2363 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2364 fi
2365 ## -------------------- ##
2366 ## Main body of script. ##
2367 ## -------------------- ##
2368
2369 ac_ext=c
2370 ac_cpp='$CPP $CPPFLAGS'
2371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2374
2375
2376 am__api_version='1.16'
2377
2378 ac_aux_dir=
2379 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2380 if test -f "$ac_dir/install-sh"; then
2381 ac_aux_dir=$ac_dir
2382 ac_install_sh="$ac_aux_dir/install-sh -c"
2383 break
2384 elif test -f "$ac_dir/install.sh"; then
2385 ac_aux_dir=$ac_dir
2386 ac_install_sh="$ac_aux_dir/install.sh -c"
2387 break
2388 elif test -f "$ac_dir/shtool"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/shtool install -c"
2391 break
2392 fi
2393 done
2394 if test -z "$ac_aux_dir"; then
2395 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2396 fi
2397
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2403 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2404 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2405
2406
2407 # Find a good install program. We prefer a C program (faster),
2408 # so one script is as good as another. But avoid the broken or
2409 # incompatible versions:
2410 # SysV /etc/install, /usr/sbin/install
2411 # SunOS /usr/etc/install
2412 # IRIX /sbin/install
2413 # AIX /bin/install
2414 # AmigaOS /C/install, which installs bootblocks on floppy discs
2415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2418 # OS/2's system install, which has a completely different semantic
2419 # ./install, which can be erroneously created by make from ./install.sh.
2420 # Reject install programs that cannot install multiple files.
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2423 if test -z "$INSTALL"; then
2424 if ${ac_cv_path_install+:} false; then :
2425 $as_echo_n "(cached) " >&6
2426 else
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2429 do
2430 IFS=$as_save_IFS
2431 test -z "$as_dir" && as_dir=.
2432 # Account for people who put trailing slashes in PATH elements.
2433 case $as_dir/ in #((
2434 ./ | .// | /[cC]/* | \
2435 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2436 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2437 /usr/ucb/* ) ;;
2438 *)
2439 # OSF1 and SCO ODT 3.0 have their own names for install.
2440 # Don't use installbsd from OSF since it installs stuff as root
2441 # by default.
2442 for ac_prog in ginstall scoinst install; do
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2445 if test $ac_prog = install &&
2446 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2447 # AIX install. It has an incompatible calling convention.
2448 :
2449 elif test $ac_prog = install &&
2450 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2451 # program-specific install script used by HP pwplus--don't use.
2452 :
2453 else
2454 rm -rf conftest.one conftest.two conftest.dir
2455 echo one > conftest.one
2456 echo two > conftest.two
2457 mkdir conftest.dir
2458 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2459 test -s conftest.one && test -s conftest.two &&
2460 test -s conftest.dir/conftest.one &&
2461 test -s conftest.dir/conftest.two
2462 then
2463 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2464 break 3
2465 fi
2466 fi
2467 fi
2468 done
2469 done
2470 ;;
2471 esac
2472
2473 done
2474 IFS=$as_save_IFS
2475
2476 rm -rf conftest.one conftest.two conftest.dir
2477
2478 fi
2479 if test "${ac_cv_path_install+set}" = set; then
2480 INSTALL=$ac_cv_path_install
2481 else
2482 # As a last resort, use the slow shell script. Don't cache a
2483 # value for INSTALL within a source directory, because that will
2484 # break other packages using the cache if that directory is
2485 # removed, or if the value is a relative name.
2486 INSTALL=$ac_install_sh
2487 fi
2488 fi
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2490 $as_echo "$INSTALL" >&6; }
2491
2492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2493 # It thinks the first close brace ends the variable substitution.
2494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2495
2496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2497
2498 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2499
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2501 $as_echo_n "checking whether build environment is sane... " >&6; }
2502 # Reject unsafe characters in $srcdir or the absolute working directory
2503 # name. Accept space and tab only in the latter.
2504 am_lf='
2505 '
2506 case `pwd` in
2507 *[\\\"\#\$\&\'\`$am_lf]*)
2508 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2509 esac
2510 case $srcdir in
2511 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2512 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2513 esac
2514
2515 # Do 'set' in a subshell so we don't clobber the current shell's
2516 # arguments. Must try -L first in case configure is actually a
2517 # symlink; some systems play weird games with the mod time of symlinks
2518 # (eg FreeBSD returns the mod time of the symlink's containing
2519 # directory).
2520 if (
2521 am_has_slept=no
2522 for am_try in 1 2; do
2523 echo "timestamp, slept: $am_has_slept" > conftest.file
2524 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2525 if test "$*" = "X"; then
2526 # -L didn't work.
2527 set X `ls -t "$srcdir/configure" conftest.file`
2528 fi
2529 if test "$*" != "X $srcdir/configure conftest.file" \
2530 && test "$*" != "X conftest.file $srcdir/configure"; then
2531
2532 # If neither matched, then we have a broken ls. This can happen
2533 # if, for instance, CONFIG_SHELL is bash and it inherits a
2534 # broken ls alias from the environment. This has actually
2535 # happened. Such a system could not be considered "sane".
2536 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2537 alias in your environment" "$LINENO" 5
2538 fi
2539 if test "$2" = conftest.file || test $am_try -eq 2; then
2540 break
2541 fi
2542 # Just in case.
2543 sleep 1
2544 am_has_slept=yes
2545 done
2546 test "$2" = conftest.file
2547 )
2548 then
2549 # Ok.
2550 :
2551 else
2552 as_fn_error $? "newly created file is older than distributed files!
2553 Check your system clock" "$LINENO" 5
2554 fi
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2557 # If we didn't sleep, we still need to ensure time stamps of config.status and
2558 # generated files are strictly newer.
2559 am_sleep_pid=
2560 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2561 ( sleep 1 ) &
2562 am_sleep_pid=$!
2563 fi
2564
2565 rm -f conftest.file
2566
2567 test "$program_prefix" != NONE &&
2568 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2569 # Use a double $ so make ignores it.
2570 test "$program_suffix" != NONE &&
2571 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2572 # Double any \ or $.
2573 # By default was `s,x,x', remove it if useless.
2574 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2575 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2576
2577 # Expand $ac_aux_dir to an absolute path.
2578 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2579
2580 if test x"${MISSING+set}" != xset; then
2581 case $am_aux_dir in
2582 *\ * | *\ *)
2583 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2584 *)
2585 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2586 esac
2587 fi
2588 # Use eval to expand $SHELL
2589 if eval "$MISSING --is-lightweight"; then
2590 am_missing_run="$MISSING "
2591 else
2592 am_missing_run=
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2594 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2595 fi
2596
2597 if test x"${install_sh+set}" != xset; then
2598 case $am_aux_dir in
2599 *\ * | *\ *)
2600 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2601 *)
2602 install_sh="\${SHELL} $am_aux_dir/install-sh"
2603 esac
2604 fi
2605
2606 # Installed binaries are usually stripped using 'strip' when the user
2607 # run "make install-strip". However 'strip' might not be the right
2608 # tool to use in cross-compilation environments, therefore Automake
2609 # will honor the 'STRIP' environment variable to overrule this program.
2610 if test "$cross_compiling" != no; then
2611 if test -n "$ac_tool_prefix"; then
2612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2613 set dummy ${ac_tool_prefix}strip; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_STRIP+:} false; then :
2617 $as_echo_n "(cached) " >&6
2618 else
2619 if test -n "$STRIP"; then
2620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2621 else
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH
2624 do
2625 IFS=$as_save_IFS
2626 test -z "$as_dir" && as_dir=.
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 break 2
2632 fi
2633 done
2634 done
2635 IFS=$as_save_IFS
2636
2637 fi
2638 fi
2639 STRIP=$ac_cv_prog_STRIP
2640 if test -n "$STRIP"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2642 $as_echo "$STRIP" >&6; }
2643 else
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2646 fi
2647
2648
2649 fi
2650 if test -z "$ac_cv_prog_STRIP"; then
2651 ac_ct_STRIP=$STRIP
2652 # Extract the first word of "strip", so it can be a program name with args.
2653 set dummy strip; ac_word=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 if test -n "$ac_ct_STRIP"; then
2660 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2661 else
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2664 do
2665 IFS=$as_save_IFS
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669 ac_cv_prog_ac_ct_STRIP="strip"
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 break 2
2672 fi
2673 done
2674 done
2675 IFS=$as_save_IFS
2676
2677 fi
2678 fi
2679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2680 if test -n "$ac_ct_STRIP"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2682 $as_echo "$ac_ct_STRIP" >&6; }
2683 else
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2686 fi
2687
2688 if test "x$ac_ct_STRIP" = x; then
2689 STRIP=":"
2690 else
2691 case $cross_compiling:$ac_tool_warned in
2692 yes:)
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2695 ac_tool_warned=yes ;;
2696 esac
2697 STRIP=$ac_ct_STRIP
2698 fi
2699 else
2700 STRIP="$ac_cv_prog_STRIP"
2701 fi
2702
2703 fi
2704 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2705
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2707 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2708 if test -z "$MKDIR_P"; then
2709 if ${ac_cv_path_mkdir+:} false; then :
2710 $as_echo_n "(cached) " >&6
2711 else
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2714 do
2715 IFS=$as_save_IFS
2716 test -z "$as_dir" && as_dir=.
2717 for ac_prog in mkdir gmkdir; do
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2720 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2721 'mkdir (GNU coreutils) '* | \
2722 'mkdir (coreutils) '* | \
2723 'mkdir (fileutils) '4.1*)
2724 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2725 break 3;;
2726 esac
2727 done
2728 done
2729 done
2730 IFS=$as_save_IFS
2731
2732 fi
2733
2734 test -d ./--version && rmdir ./--version
2735 if test "${ac_cv_path_mkdir+set}" = set; then
2736 MKDIR_P="$ac_cv_path_mkdir -p"
2737 else
2738 # As a last resort, use the slow shell script. Don't cache a
2739 # value for MKDIR_P within a source directory, because that will
2740 # break other packages using the cache if that directory is
2741 # removed, or if the value is a relative name.
2742 MKDIR_P="$ac_install_sh -d"
2743 fi
2744 fi
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2746 $as_echo "$MKDIR_P" >&6; }
2747
2748 for ac_prog in gawk mawk nawk awk
2749 do
2750 # Extract the first word of "$ac_prog", so it can be a program name with args.
2751 set dummy $ac_prog; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_AWK+:} false; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 if test -n "$AWK"; then
2758 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2762 do
2763 IFS=$as_save_IFS
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_AWK="$ac_prog"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 break 2
2770 fi
2771 done
2772 done
2773 IFS=$as_save_IFS
2774
2775 fi
2776 fi
2777 AWK=$ac_cv_prog_AWK
2778 if test -n "$AWK"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2780 $as_echo "$AWK" >&6; }
2781 else
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 fi
2785
2786
2787 test -n "$AWK" && break
2788 done
2789
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2791 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2792 set x ${MAKE-make}
2793 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2794 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 cat >conftest.make <<\_ACEOF
2798 SHELL = /bin/sh
2799 all:
2800 @echo '@@@%%%=$(MAKE)=@@@%%%'
2801 _ACEOF
2802 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2803 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2804 *@@@%%%=?*=@@@%%%*)
2805 eval ac_cv_prog_make_${ac_make}_set=yes;;
2806 *)
2807 eval ac_cv_prog_make_${ac_make}_set=no;;
2808 esac
2809 rm -f conftest.make
2810 fi
2811 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813 $as_echo "yes" >&6; }
2814 SET_MAKE=
2815 else
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2818 SET_MAKE="MAKE=${MAKE-make}"
2819 fi
2820
2821 rm -rf .tst 2>/dev/null
2822 mkdir .tst 2>/dev/null
2823 if test -d .tst; then
2824 am__leading_dot=.
2825 else
2826 am__leading_dot=_
2827 fi
2828 rmdir .tst 2>/dev/null
2829
2830 # Check whether --enable-silent-rules was given.
2831 if test "${enable_silent_rules+set}" = set; then :
2832 enableval=$enable_silent_rules;
2833 fi
2834
2835 case $enable_silent_rules in # (((
2836 yes) AM_DEFAULT_VERBOSITY=0;;
2837 no) AM_DEFAULT_VERBOSITY=1;;
2838 *) AM_DEFAULT_VERBOSITY=1;;
2839 esac
2840 am_make=${MAKE-make}
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2842 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2843 if ${am_cv_make_support_nested_variables+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if $as_echo 'TRUE=$(BAR$(V))
2847 BAR0=false
2848 BAR1=true
2849 V=1
2850 am__doit:
2851 @$(TRUE)
2852 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2853 am_cv_make_support_nested_variables=yes
2854 else
2855 am_cv_make_support_nested_variables=no
2856 fi
2857 fi
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2859 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2860 if test $am_cv_make_support_nested_variables = yes; then
2861 AM_V='$(V)'
2862 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2863 else
2864 AM_V=$AM_DEFAULT_VERBOSITY
2865 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2866 fi
2867 AM_BACKSLASH='\'
2868
2869 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2870 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2871 # is not polluted with repeated "-I."
2872 am__isrc=' -I$(srcdir)'
2873 # test to see if srcdir already configured
2874 if test -f $srcdir/config.status; then
2875 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2876 fi
2877 fi
2878
2879 # test whether we have cygpath
2880 if test -z "$CYGPATH_W"; then
2881 if (cygpath --version) >/dev/null 2>/dev/null; then
2882 CYGPATH_W='cygpath -w'
2883 else
2884 CYGPATH_W=echo
2885 fi
2886 fi
2887
2888
2889 # Define the identity of the package.
2890 PACKAGE='alsa-plugins'
2891 VERSION='1.2.12'
2892
2893
2894 cat >>confdefs.h <<_ACEOF
2895 #define PACKAGE "$PACKAGE"
2896 _ACEOF
2897
2898
2899 cat >>confdefs.h <<_ACEOF
2900 #define VERSION "$VERSION"
2901 _ACEOF
2902
2903 # Some tools Automake needs.
2904
2905 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2906
2907
2908 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2909
2910
2911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2912
2913
2914 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2915
2916
2917 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2918
2919 # For better backward compatibility. To be removed once Automake 1.9.x
2920 # dies out for good. For more background, see:
2921 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2922 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2923 mkdir_p='$(MKDIR_P)'
2924
2925 # We need awk for the "check" target (and possibly the TAP driver). The
2926 # system "awk" is bad on some platforms.
2927 # Always define AMTAR for backward compatibility. Yes, it's still used
2928 # in the wild :-( We should find a proper way to deprecate it ...
2929 AMTAR='$${TAR-tar}'
2930
2931
2932 # We'll loop over all known methods to create a tar archive until one works.
2933 _am_tools='gnutar pax cpio none'
2934
2935 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2936
2937
2938
2939
2940
2941
2942 # POSIX will say in a future version that running "rm -f" with no argument
2943 # is OK; and we want to be able to make that assumption in our Makefile
2944 # recipes. So use an aggressive probe to check that the usage we want is
2945 # actually supported "in the wild" to an acceptable degree.
2946 # See automake bug#10828.
2947 # To make any issue more visible, cause the running configure to be aborted
2948 # by default if the 'rm' program in use doesn't match our expectations; the
2949 # user can still override this though.
2950 if rm -f && rm -fr && rm -rf; then : OK; else
2951 cat >&2 <<'END'
2952 Oops!
2953
2954 Your 'rm' program seems unable to run without file operands specified
2955 on the command line, even when the '-f' option is present. This is contrary
2956 to the behaviour of most rm programs out there, and not conforming with
2957 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2958
2959 Please tell [email protected] about your system, including the value
2960 of your $PATH and any error possibly output before this message. This
2961 can help us improve future automake versions.
2962
2963 END
2964 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2965 echo 'Configuration will proceed anyway, since you have set the' >&2
2966 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2967 echo >&2
2968 else
2969 cat >&2 <<'END'
2970 Aborting the configuration process, to ensure you take notice of the issue.
2971
2972 You can download and install GNU coreutils to get an 'rm' implementation
2973 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2974
2975 If you want to complete the configuration process using your problematic
2976 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2977 to "yes", and re-run configure.
2978
2979 END
2980 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2981 fi
2982 fi
2983
2984
2985
2986
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2988 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2989 # Check whether --enable-maintainer-mode was given.
2990 if test "${enable_maintainer_mode+set}" = set; then :
2991 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2992 else
2993 USE_MAINTAINER_MODE=yes
2994 fi
2995
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2997 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2998 if test $USE_MAINTAINER_MODE = yes; then
2999 MAINTAINER_MODE_TRUE=
3000 MAINTAINER_MODE_FALSE='#'
3001 else
3002 MAINTAINER_MODE_TRUE='#'
3003 MAINTAINER_MODE_FALSE=
3004 fi
3005
3006 MAINT=$MAINTAINER_MODE_TRUE
3007
3008
3009
3010 ac_config_headers="$ac_config_headers config.h"
3011
3012
3013
3014 ac_ext=c
3015 ac_cpp='$CPP $CPPFLAGS'
3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 if test -n "$ac_tool_prefix"; then
3020 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3021 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_CC+:} false; then :
3025 $as_echo_n "(cached) " >&6
3026 else
3027 if test -n "$CC"; then
3028 ac_cv_prog_CC="$CC" # Let the user override the test.
3029 else
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3032 do
3033 IFS=$as_save_IFS
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 break 2
3040 fi
3041 done
3042 done
3043 IFS=$as_save_IFS
3044
3045 fi
3046 fi
3047 CC=$ac_cv_prog_CC
3048 if test -n "$CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3050 $as_echo "$CC" >&6; }
3051 else
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3054 fi
3055
3056
3057 fi
3058 if test -z "$ac_cv_prog_CC"; then
3059 ac_ct_CC=$CC
3060 # Extract the first word of "gcc", so it can be a program name with args.
3061 set dummy gcc; ac_word=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3065 $as_echo_n "(cached) " >&6
3066 else
3067 if test -n "$ac_ct_CC"; then
3068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3069 else
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 for as_dir in $PATH
3072 do
3073 IFS=$as_save_IFS
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_CC="gcc"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 break 2
3080 fi
3081 done
3082 done
3083 IFS=$as_save_IFS
3084
3085 fi
3086 fi
3087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3088 if test -n "$ac_ct_CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3090 $as_echo "$ac_ct_CC" >&6; }
3091 else
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3094 fi
3095
3096 if test "x$ac_ct_CC" = x; then
3097 CC=""
3098 else
3099 case $cross_compiling:$ac_tool_warned in
3100 yes:)
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3103 ac_tool_warned=yes ;;
3104 esac
3105 CC=$ac_ct_CC
3106 fi
3107 else
3108 CC="$ac_cv_prog_CC"
3109 fi
3110
3111 if test -z "$CC"; then
3112 if test -n "$ac_tool_prefix"; then
3113 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3114 set dummy ${ac_tool_prefix}cc; ac_word=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false; then :
3118 $as_echo_n "(cached) " >&6
3119 else
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC="$CC" # Let the user override the test.
3122 else
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 for as_dir in $PATH
3125 do
3126 IFS=$as_save_IFS
3127 test -z "$as_dir" && as_dir=.
3128 for ac_exec_ext in '' $ac_executable_extensions; do
3129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3130 ac_cv_prog_CC="${ac_tool_prefix}cc"
3131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 break 2
3133 fi
3134 done
3135 done
3136 IFS=$as_save_IFS
3137
3138 fi
3139 fi
3140 CC=$ac_cv_prog_CC
3141 if test -n "$CC"; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3144 else
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3147 fi
3148
3149
3150 fi
3151 fi
3152 if test -z "$CC"; then
3153 # Extract the first word of "cc", so it can be a program name with args.
3154 set dummy cc; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CC+:} false; then :
3158 $as_echo_n "(cached) " >&6
3159 else
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC="$CC" # Let the user override the test.
3162 else
3163 ac_prog_rejected=no
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 for as_dir in $PATH
3166 do
3167 IFS=$as_save_IFS
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3172 ac_prog_rejected=yes
3173 continue
3174 fi
3175 ac_cv_prog_CC="cc"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 break 2
3178 fi
3179 done
3180 done
3181 IFS=$as_save_IFS
3182
3183 if test $ac_prog_rejected = yes; then
3184 # We found a bogon in the path, so make sure we never use it.
3185 set dummy $ac_cv_prog_CC
3186 shift
3187 if test $# != 0; then
3188 # We chose a different compiler from the bogus one.
3189 # However, it has the same basename, so the bogon will be chosen
3190 # first if we set CC to just the basename; use the full file name.
3191 shift
3192 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3193 fi
3194 fi
3195 fi
3196 fi
3197 CC=$ac_cv_prog_CC
3198 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 fi
3205
3206
3207 fi
3208 if test -z "$CC"; then
3209 if test -n "$ac_tool_prefix"; then
3210 for ac_prog in cl.exe
3211 do
3212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_prog_CC+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 if test -n "$CC"; then
3220 ac_cv_prog_CC="$CC" # Let the user override the test.
3221 else
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 for as_dir in $PATH
3224 do
3225 IFS=$as_save_IFS
3226 test -z "$as_dir" && as_dir=.
3227 for ac_exec_ext in '' $ac_executable_extensions; do
3228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 break 2
3232 fi
3233 done
3234 done
3235 IFS=$as_save_IFS
3236
3237 fi
3238 fi
3239 CC=$ac_cv_prog_CC
3240 if test -n "$CC"; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3242 $as_echo "$CC" >&6; }
3243 else
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3246 fi
3247
3248
3249 test -n "$CC" && break
3250 done
3251 fi
3252 if test -z "$CC"; then
3253 ac_ct_CC=$CC
3254 for ac_prog in cl.exe
3255 do
3256 # Extract the first word of "$ac_prog", so it can be a program name with args.
3257 set dummy $ac_prog; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -n "$ac_ct_CC"; then
3264 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3268 do
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_ac_ct_CC="$ac_prog"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3276 fi
3277 done
3278 done
3279 IFS=$as_save_IFS
3280
3281 fi
3282 fi
3283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3284 if test -n "$ac_ct_CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3286 $as_echo "$ac_ct_CC" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3290 fi
3291
3292
3293 test -n "$ac_ct_CC" && break
3294 done
3295
3296 if test "x$ac_ct_CC" = x; then
3297 CC=""
3298 else
3299 case $cross_compiling:$ac_tool_warned in
3300 yes:)
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3303 ac_tool_warned=yes ;;
3304 esac
3305 CC=$ac_ct_CC
3306 fi
3307 fi
3308
3309 fi
3310
3311
3312 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error $? "no acceptable C compiler found in \$PATH
3315 See \`config.log' for more details" "$LINENO" 5; }
3316
3317 # Provide some information about the compiler.
3318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3319 set X $ac_compile
3320 ac_compiler=$2
3321 for ac_option in --version -v -V -qversion; do
3322 { { ac_try="$ac_compiler $ac_option >&5"
3323 case "(($ac_try" in
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3326 esac
3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3330 ac_status=$?
3331 if test -s conftest.err; then
3332 sed '10a\
3333 ... rest of stderr output deleted ...
3334 10q' conftest.err >conftest.er1
3335 cat conftest.er1 >&5
3336 fi
3337 rm -f conftest.er1 conftest.err
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }
3340 done
3341
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3344
3345 int
3346 main ()
3347 {
3348
3349 ;
3350 return 0;
3351 }
3352 _ACEOF
3353 ac_clean_files_save=$ac_clean_files
3354 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3355 # Try to create an executable without -o first, disregard a.out.
3356 # It will help us diagnose broken compilers, and finding out an intuition
3357 # of exeext.
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3359 $as_echo_n "checking whether the C compiler works... " >&6; }
3360 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3361
3362 # The possible output files:
3363 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3364
3365 ac_rmfiles=
3366 for ac_file in $ac_files
3367 do
3368 case $ac_file in
3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3371 esac
3372 done
3373 rm -f $ac_rmfiles
3374
3375 if { { ac_try="$ac_link_default"
3376 case "(($ac_try" in
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3379 esac
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_link_default") 2>&5
3383 ac_status=$?
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }; then :
3386 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3387 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3388 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3389 # so that the user can short-circuit this test for compilers unknown to
3390 # Autoconf.
3391 for ac_file in $ac_files ''
3392 do
3393 test -f "$ac_file" || continue
3394 case $ac_file in
3395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3396 ;;
3397 [ab].out )
3398 # We found the default executable, but exeext='' is most
3399 # certainly right.
3400 break;;
3401 *.* )
3402 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3403 then :; else
3404 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3405 fi
3406 # We set ac_cv_exeext here because the later test for it is not
3407 # safe: cross compilers may not add the suffix if given an `-o'
3408 # argument, so we may need to know it at that point already.
3409 # Even if this section looks crufty: it has the advantage of
3410 # actually working.
3411 break;;
3412 * )
3413 break;;
3414 esac
3415 done
3416 test "$ac_cv_exeext" = no && ac_cv_exeext=
3417
3418 else
3419 ac_file=''
3420 fi
3421 if test -z "$ac_file"; then :
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424 $as_echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.$ac_ext >&5
3426
3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error 77 "C compiler cannot create executables
3430 See \`config.log' for more details" "$LINENO" 5; }
3431 else
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3433 $as_echo "yes" >&6; }
3434 fi
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3436 $as_echo_n "checking for C compiler default output file name... " >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3438 $as_echo "$ac_file" >&6; }
3439 ac_exeext=$ac_cv_exeext
3440
3441 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3442 ac_clean_files=$ac_clean_files_save
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3444 $as_echo_n "checking for suffix of executables... " >&6; }
3445 if { { ac_try="$ac_link"
3446 case "(($ac_try" in
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3449 esac
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_link") 2>&5
3453 ac_status=$?
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3457 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3458 # work properly (i.e., refer to `conftest.exe'), while it won't with
3459 # `rm'.
3460 for ac_file in conftest.exe conftest conftest.*; do
3461 test -f "$ac_file" || continue
3462 case $ac_file in
3463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3464 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3465 break;;
3466 * ) break;;
3467 esac
3468 done
3469 else
3470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3473 See \`config.log' for more details" "$LINENO" 5; }
3474 fi
3475 rm -f conftest conftest$ac_cv_exeext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3477 $as_echo "$ac_cv_exeext" >&6; }
3478
3479 rm -f conftest.$ac_ext
3480 EXEEXT=$ac_cv_exeext
3481 ac_exeext=$EXEEXT
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3484 #include <stdio.h>
3485 int
3486 main ()
3487 {
3488 FILE *f = fopen ("conftest.out", "w");
3489 return ferror (f) || fclose (f) != 0;
3490
3491 ;
3492 return 0;
3493 }
3494 _ACEOF
3495 ac_clean_files="$ac_clean_files conftest.out"
3496 # Check that the compiler produces executables we can run. If not, either
3497 # the compiler is broken, or we cross compile.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3499 $as_echo_n "checking whether we are cross compiling... " >&6; }
3500 if test "$cross_compiling" != yes; then
3501 { { ac_try="$ac_link"
3502 case "(($ac_try" in
3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3505 esac
3506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3507 $as_echo "$ac_try_echo"; } >&5
3508 (eval "$ac_link") 2>&5
3509 ac_status=$?
3510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511 test $ac_status = 0; }
3512 if { ac_try='./conftest$ac_cv_exeext'
3513 { { case "(($ac_try" in
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3516 esac
3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_try") 2>&5
3520 ac_status=$?
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }; }; then
3523 cross_compiling=no
3524 else
3525 if test "$cross_compiling" = maybe; then
3526 cross_compiling=yes
3527 else
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error $? "cannot run C compiled programs.
3531 If you meant to cross compile, use \`--host'.
3532 See \`config.log' for more details" "$LINENO" 5; }
3533 fi
3534 fi
3535 fi
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3537 $as_echo "$cross_compiling" >&6; }
3538
3539 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3540 ac_clean_files=$ac_clean_files_save
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3542 $as_echo_n "checking for suffix of object files... " >&6; }
3543 if ${ac_cv_objext+:} false; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3548
3549 int
3550 main ()
3551 {
3552
3553 ;
3554 return 0;
3555 }
3556 _ACEOF
3557 rm -f conftest.o conftest.obj
3558 if { { ac_try="$ac_compile"
3559 case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3562 esac
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565 (eval "$ac_compile") 2>&5
3566 ac_status=$?
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }; then :
3569 for ac_file in conftest.o conftest.obj conftest.*; do
3570 test -f "$ac_file" || continue;
3571 case $ac_file in
3572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3573 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3574 break;;
3575 esac
3576 done
3577 else
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3580
3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583 as_fn_error $? "cannot compute suffix of object files: cannot compile
3584 See \`config.log' for more details" "$LINENO" 5; }
3585 fi
3586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3587 fi
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3589 $as_echo "$ac_cv_objext" >&6; }
3590 OBJEXT=$ac_cv_objext
3591 ac_objext=$OBJEXT
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3593 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3594 if ${ac_cv_c_compiler_gnu+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3599
3600 int
3601 main ()
3602 {
3603 #ifndef __GNUC__
3604 choke me
3605 #endif
3606
3607 ;
3608 return 0;
3609 }
3610 _ACEOF
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 ac_compiler_gnu=yes
3613 else
3614 ac_compiler_gnu=no
3615 fi
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3618
3619 fi
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3621 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3622 if test $ac_compiler_gnu = yes; then
3623 GCC=yes
3624 else
3625 GCC=
3626 fi
3627 ac_test_CFLAGS=${CFLAGS+set}
3628 ac_save_CFLAGS=$CFLAGS
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3630 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3631 if ${ac_cv_prog_cc_g+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 ac_save_c_werror_flag=$ac_c_werror_flag
3635 ac_c_werror_flag=yes
3636 ac_cv_prog_cc_g=no
3637 CFLAGS="-g"
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3640
3641 int
3642 main ()
3643 {
3644
3645 ;
3646 return 0;
3647 }
3648 _ACEOF
3649 if ac_fn_c_try_compile "$LINENO"; then :
3650 ac_cv_prog_cc_g=yes
3651 else
3652 CFLAGS=""
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3655
3656 int
3657 main ()
3658 {
3659
3660 ;
3661 return 0;
3662 }
3663 _ACEOF
3664 if ac_fn_c_try_compile "$LINENO"; then :
3665
3666 else
3667 ac_c_werror_flag=$ac_save_c_werror_flag
3668 CFLAGS="-g"
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3671
3672 int
3673 main ()
3674 {
3675
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 if ac_fn_c_try_compile "$LINENO"; then :
3681 ac_cv_prog_cc_g=yes
3682 fi
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684 fi
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 fi
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 ac_c_werror_flag=$ac_save_c_werror_flag
3689 fi
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3691 $as_echo "$ac_cv_prog_cc_g" >&6; }
3692 if test "$ac_test_CFLAGS" = set; then
3693 CFLAGS=$ac_save_CFLAGS
3694 elif test $ac_cv_prog_cc_g = yes; then
3695 if test "$GCC" = yes; then
3696 CFLAGS="-g -O2"
3697 else
3698 CFLAGS="-g"
3699 fi
3700 else
3701 if test "$GCC" = yes; then
3702 CFLAGS="-O2"
3703 else
3704 CFLAGS=
3705 fi
3706 fi
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3709 if ${ac_cv_prog_cc_c89+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 ac_cv_prog_cc_c89=no
3713 ac_save_CC=$CC
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3716 #include <stdarg.h>
3717 #include <stdio.h>
3718 struct stat;
3719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3720 struct buf { int x; };
3721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3722 static char *e (p, i)
3723 char **p;
3724 int i;
3725 {
3726 return p[i];
3727 }
3728 static char *f (char * (*g) (char **, int), char **p, ...)
3729 {
3730 char *s;
3731 va_list v;
3732 va_start (v,p);
3733 s = g (p, va_arg (v,int));
3734 va_end (v);
3735 return s;
3736 }
3737
3738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3739 function prototypes and stuff, but not '\xHH' hex character constants.
3740 These don't provoke an error unfortunately, instead are silently treated
3741 as 'x'. The following induces an error, until -std is added to get
3742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3743 array size at least. It's necessary to write '\x00'==0 to get something
3744 that's true only with -std. */
3745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3746
3747 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3748 inside strings and character constants. */
3749 #define FOO(x) 'x'
3750 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3751
3752 int test (int i, double x);
3753 struct s1 {int (*f) (int a);};
3754 struct s2 {int (*f) (double a);};
3755 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3756 int argc;
3757 char **argv;
3758 int
3759 main ()
3760 {
3761 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3762 ;
3763 return 0;
3764 }
3765 _ACEOF
3766 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3767 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3768 do
3769 CC="$ac_save_CC $ac_arg"
3770 if ac_fn_c_try_compile "$LINENO"; then :
3771 ac_cv_prog_cc_c89=$ac_arg
3772 fi
3773 rm -f core conftest.err conftest.$ac_objext
3774 test "x$ac_cv_prog_cc_c89" != "xno" && break
3775 done
3776 rm -f conftest.$ac_ext
3777 CC=$ac_save_CC
3778
3779 fi
3780 # AC_CACHE_VAL
3781 case "x$ac_cv_prog_cc_c89" in
3782 x)
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3784 $as_echo "none needed" >&6; } ;;
3785 xno)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3787 $as_echo "unsupported" >&6; } ;;
3788 *)
3789 CC="$CC $ac_cv_prog_cc_c89"
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3791 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3792 esac
3793 if test "x$ac_cv_prog_cc_c89" != xno; then :
3794
3795 fi
3796
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802
3803 ac_ext=c
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3809 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3810 if ${am_cv_prog_cc_c_o+:} false; then :
3811 $as_echo_n "(cached) " >&6
3812 else
3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3815
3816 int
3817 main ()
3818 {
3819
3820 ;
3821 return 0;
3822 }
3823 _ACEOF
3824 # Make sure it works both with $CC and with simple cc.
3825 # Following AC_PROG_CC_C_O, we do the test twice because some
3826 # compilers refuse to overwrite an existing .o file with -o,
3827 # though they will create one.
3828 am_cv_prog_cc_c_o=yes
3829 for am_i in 1 2; do
3830 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3831 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3832 ac_status=$?
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); } \
3835 && test -f conftest2.$ac_objext; then
3836 : OK
3837 else
3838 am_cv_prog_cc_c_o=no
3839 break
3840 fi
3841 done
3842 rm -f core conftest*
3843 unset am_i
3844 fi
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3846 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3847 if test "$am_cv_prog_cc_c_o" != yes; then
3848 # Losing compiler, so override with the script.
3849 # FIXME: It is wrong to rewrite CC.
3850 # But if we don't then we get into trouble of one sort or another.
3851 # A longer-term fix would be to have automake use am__CC in this case,
3852 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3853 CC="$am_aux_dir/compile $CC"
3854 fi
3855 ac_ext=c
3856 ac_cpp='$CPP $CPPFLAGS'
3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3860
3861 DEPDIR="${am__leading_dot}deps"
3862
3863 ac_config_commands="$ac_config_commands depfiles"
3864
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3866 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3867 cat > confinc.mk << 'END'
3868 am__doit:
3869 @echo this is the am__doit target >confinc.out
3870 .PHONY: am__doit
3871 END
3872 am__include="#"
3873 am__quote=
3874 # BSD make does it like this.
3875 echo '.include "confinc.mk" # ignored' > confmf.BSD
3876 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3877 echo 'include confinc.mk # ignored' > confmf.GNU
3878 _am_result=no
3879 for s in GNU BSD; do
3880 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3881 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3882 ac_status=$?
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }
3885 case $?:`cat confinc.out 2>/dev/null` in #(
3886 '0:this is the am__doit target') :
3887 case $s in #(
3888 BSD) :
3889 am__include='.include' am__quote='"' ;; #(
3890 *) :
3891 am__include='include' am__quote='' ;;
3892 esac ;; #(
3893 *) :
3894 ;;
3895 esac
3896 if test "$am__include" != "#"; then
3897 _am_result="yes ($s style)"
3898 break
3899 fi
3900 done
3901 rm -f confinc.* confmf.*
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3903 $as_echo "${_am_result}" >&6; }
3904
3905 # Check whether --enable-dependency-tracking was given.
3906 if test "${enable_dependency_tracking+set}" = set; then :
3907 enableval=$enable_dependency_tracking;
3908 fi
3909
3910 if test "x$enable_dependency_tracking" != xno; then
3911 am_depcomp="$ac_aux_dir/depcomp"
3912 AMDEPBACKSLASH='\'
3913 am__nodep='_no'
3914 fi
3915 if test "x$enable_dependency_tracking" != xno; then
3916 AMDEP_TRUE=
3917 AMDEP_FALSE='#'
3918 else
3919 AMDEP_TRUE='#'
3920 AMDEP_FALSE=
3921 fi
3922
3923
3924
3925 depcc="$CC" am_compiler_list=
3926
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3928 $as_echo_n "checking dependency style of $depcc... " >&6; }
3929 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3930 $as_echo_n "(cached) " >&6
3931 else
3932 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3933 # We make a subdir and do the tests there. Otherwise we can end up
3934 # making bogus files that we don't know about and never remove. For
3935 # instance it was reported that on HP-UX the gcc test will end up
3936 # making a dummy file named 'D' -- because '-MD' means "put the output
3937 # in D".
3938 rm -rf conftest.dir
3939 mkdir conftest.dir
3940 # Copy depcomp to subdir because otherwise we won't find it if we're
3941 # using a relative directory.
3942 cp "$am_depcomp" conftest.dir
3943 cd conftest.dir
3944 # We will build objects and dependencies in a subdirectory because
3945 # it helps to detect inapplicable dependency modes. For instance
3946 # both Tru64's cc and ICC support -MD to output dependencies as a
3947 # side effect of compilation, but ICC will put the dependencies in
3948 # the current directory while Tru64 will put them in the object
3949 # directory.
3950 mkdir sub
3951
3952 am_cv_CC_dependencies_compiler_type=none
3953 if test "$am_compiler_list" = ""; then
3954 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3955 fi
3956 am__universal=false
3957 case " $depcc " in #(
3958 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3959 esac
3960
3961 for depmode in $am_compiler_list; do
3962 # Setup a source with many dependencies, because some compilers
3963 # like to wrap large dependency lists on column 80 (with \), and
3964 # we should not choose a depcomp mode which is confused by this.
3965 #
3966 # We need to recreate these files for each test, as the compiler may
3967 # overwrite some of them when testing with obscure command lines.
3968 # This happens at least with the AIX C compiler.
3969 : > sub/conftest.c
3970 for i in 1 2 3 4 5 6; do
3971 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3972 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3973 # Solaris 10 /bin/sh.
3974 echo '/* dummy */' > sub/conftst$i.h
3975 done
3976 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3977
3978 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3979 # mode. It turns out that the SunPro C++ compiler does not properly
3980 # handle '-M -o', and we need to detect this. Also, some Intel
3981 # versions had trouble with output in subdirs.
3982 am__obj=sub/conftest.${OBJEXT-o}
3983 am__minus_obj="-o $am__obj"
3984 case $depmode in
3985 gcc)
3986 # This depmode causes a compiler race in universal mode.
3987 test "$am__universal" = false || continue
3988 ;;
3989 nosideeffect)
3990 # After this tag, mechanisms are not by side-effect, so they'll
3991 # only be used when explicitly requested.
3992 if test "x$enable_dependency_tracking" = xyes; then
3993 continue
3994 else
3995 break
3996 fi
3997 ;;
3998 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3999 # This compiler won't grok '-c -o', but also, the minuso test has
4000 # not run yet. These depmodes are late enough in the game, and
4001 # so weak that their functioning should not be impacted.
4002 am__obj=conftest.${OBJEXT-o}
4003 am__minus_obj=
4004 ;;
4005 none) break ;;
4006 esac
4007 if depmode=$depmode \
4008 source=sub/conftest.c object=$am__obj \
4009 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4010 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4011 >/dev/null 2>conftest.err &&
4012 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4013 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4014 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4015 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4016 # icc doesn't choke on unknown options, it will just issue warnings
4017 # or remarks (even with -Werror). So we grep stderr for any message
4018 # that says an option was ignored or not supported.
4019 # When given -MP, icc 7.0 and 7.1 complain thusly:
4020 # icc: Command line warning: ignoring option '-M'; no argument required
4021 # The diagnosis changed in icc 8.0:
4022 # icc: Command line remark: option '-MP' not supported
4023 if (grep 'ignoring option' conftest.err ||
4024 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4025 am_cv_CC_dependencies_compiler_type=$depmode
4026 break
4027 fi
4028 fi
4029 done
4030
4031 cd ..
4032 rm -rf conftest.dir
4033 else
4034 am_cv_CC_dependencies_compiler_type=none
4035 fi
4036
4037 fi
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4039 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4040 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4041
4042 if
4043 test "x$enable_dependency_tracking" != xno \
4044 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4045 am__fastdepCC_TRUE=
4046 am__fastdepCC_FALSE='#'
4047 else
4048 am__fastdepCC_TRUE='#'
4049 am__fastdepCC_FALSE=
4050 fi
4051
4052
4053
4054 # Check whether --enable-static was given.
4055 if test "${enable_static+set}" = set; then :
4056 enableval=$enable_static; p=${PACKAGE-default}
4057 case $enableval in
4058 yes) enable_static=yes ;;
4059 no) enable_static=no ;;
4060 *)
4061 enable_static=no
4062 # Look at the argument we got. We use all the common list separators.
4063 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4064 for pkg in $enableval; do
4065 IFS=$lt_save_ifs
4066 if test "X$pkg" = "X$p"; then
4067 enable_static=yes
4068 fi
4069 done
4070 IFS=$lt_save_ifs
4071 ;;
4072 esac
4073 else
4074 enable_static=no
4075 fi
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085 case `pwd` in
4086 *\ * | *\ *)
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4088 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4089 esac
4090
4091
4092
4093 macro_version='2.4.6'
4094 macro_revision='2.4.6'
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108 ltmain=$ac_aux_dir/ltmain.sh
4109
4110 # Make sure we can run config.sub.
4111 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4112 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4113
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4115 $as_echo_n "checking build system type... " >&6; }
4116 if ${ac_cv_build+:} false; then :
4117 $as_echo_n "(cached) " >&6
4118 else
4119 ac_build_alias=$build_alias
4120 test "x$ac_build_alias" = x &&
4121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4122 test "x$ac_build_alias" = x &&
4123 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4124 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4125 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4126
4127 fi
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4129 $as_echo "$ac_cv_build" >&6; }
4130 case $ac_cv_build in
4131 *-*-*) ;;
4132 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4133 esac
4134 build=$ac_cv_build
4135 ac_save_IFS=$IFS; IFS='-'
4136 set x $ac_cv_build
4137 shift
4138 build_cpu=$1
4139 build_vendor=$2
4140 shift; shift
4141 # Remember, the first character of IFS is used to create $*,
4142 # except with old shells:
4143 build_os=$*
4144 IFS=$ac_save_IFS
4145 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4146
4147
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4149 $as_echo_n "checking host system type... " >&6; }
4150 if ${ac_cv_host+:} false; then :
4151 $as_echo_n "(cached) " >&6
4152 else
4153 if test "x$host_alias" = x; then
4154 ac_cv_host=$ac_cv_build
4155 else
4156 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4157 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4158 fi
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4162 $as_echo "$ac_cv_host" >&6; }
4163 case $ac_cv_host in
4164 *-*-*) ;;
4165 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4166 esac
4167 host=$ac_cv_host
4168 ac_save_IFS=$IFS; IFS='-'
4169 set x $ac_cv_host
4170 shift
4171 host_cpu=$1
4172 host_vendor=$2
4173 shift; shift
4174 # Remember, the first character of IFS is used to create $*,
4175 # except with old shells:
4176 host_os=$*
4177 IFS=$ac_save_IFS
4178 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4179
4180
4181 # Backslashify metacharacters that are still active within
4182 # double-quoted strings.
4183 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4184
4185 # Same as above, but do not quote variable references.
4186 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4187
4188 # Sed substitution to delay expansion of an escaped shell variable in a
4189 # double_quote_subst'ed string.
4190 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4191
4192 # Sed substitution to delay expansion of an escaped single quote.
4193 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4194
4195 # Sed substitution to avoid accidental globbing in evaled expressions
4196 no_glob_subst='s/\*/\\\*/g'
4197
4198 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4199 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4200 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4201
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4203 $as_echo_n "checking how to print strings... " >&6; }
4204 # Test print first, because it will be a builtin if present.
4205 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4206 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4207 ECHO='print -r --'
4208 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4209 ECHO='printf %s\n'
4210 else
4211 # Use this function as a fallback that always works.
4212 func_fallback_echo ()
4213 {
4214 eval 'cat <<_LTECHO_EOF
4215 $1
4216 _LTECHO_EOF'
4217 }
4218 ECHO='func_fallback_echo'
4219 fi
4220
4221 # func_echo_all arg...
4222 # Invoke $ECHO with all args, space-separated.
4223 func_echo_all ()
4224 {
4225 $ECHO ""
4226 }
4227
4228 case $ECHO in
4229 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4230 $as_echo "printf" >&6; } ;;
4231 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4232 $as_echo "print -r" >&6; } ;;
4233 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4234 $as_echo "cat" >&6; } ;;
4235 esac
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4251 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4252 if ${ac_cv_path_SED+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4256 for ac_i in 1 2 3 4 5 6 7; do
4257 ac_script="$ac_script$as_nl$ac_script"
4258 done
4259 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4260 { ac_script=; unset ac_script;}
4261 if test -z "$SED"; then
4262 ac_path_SED_found=false
4263 # Loop through the user's path and test for each of PROGNAME-LIST
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH
4266 do
4267 IFS=$as_save_IFS
4268 test -z "$as_dir" && as_dir=.
4269 for ac_prog in sed gsed; do
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4272 as_fn_executable_p "$ac_path_SED" || continue
4273 # Check for GNU ac_path_SED and select it if it is found.
4274 # Check for GNU $ac_path_SED
4275 case `"$ac_path_SED" --version 2>&1` in
4276 *GNU*)
4277 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4278 *)
4279 ac_count=0
4280 $as_echo_n 0123456789 >"conftest.in"
4281 while :
4282 do
4283 cat "conftest.in" "conftest.in" >"conftest.tmp"
4284 mv "conftest.tmp" "conftest.in"
4285 cp "conftest.in" "conftest.nl"
4286 $as_echo '' >> "conftest.nl"
4287 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4288 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4289 as_fn_arith $ac_count + 1 && ac_count=$as_val
4290 if test $ac_count -gt ${ac_path_SED_max-0}; then
4291 # Best one so far, save it but keep looking for a better one
4292 ac_cv_path_SED="$ac_path_SED"
4293 ac_path_SED_max=$ac_count
4294 fi
4295 # 10*(2^10) chars as input seems more than enough
4296 test $ac_count -gt 10 && break
4297 done
4298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4299 esac
4300
4301 $ac_path_SED_found && break 3
4302 done
4303 done
4304 done
4305 IFS=$as_save_IFS
4306 if test -z "$ac_cv_path_SED"; then
4307 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4308 fi
4309 else
4310 ac_cv_path_SED=$SED
4311 fi
4312
4313 fi
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4315 $as_echo "$ac_cv_path_SED" >&6; }
4316 SED="$ac_cv_path_SED"
4317 rm -f conftest.sed
4318
4319 test -z "$SED" && SED=sed
4320 Xsed="$SED -e 1s/^X//"
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4333 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4334 if ${ac_cv_path_GREP+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 if test -z "$GREP"; then
4338 ac_path_GREP_found=false
4339 # Loop through the user's path and test for each of PROGNAME-LIST
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4342 do
4343 IFS=$as_save_IFS
4344 test -z "$as_dir" && as_dir=.
4345 for ac_prog in grep ggrep; do
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4348 as_fn_executable_p "$ac_path_GREP" || continue
4349 # Check for GNU ac_path_GREP and select it if it is found.
4350 # Check for GNU $ac_path_GREP
4351 case `"$ac_path_GREP" --version 2>&1` in
4352 *GNU*)
4353 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4354 *)
4355 ac_count=0
4356 $as_echo_n 0123456789 >"conftest.in"
4357 while :
4358 do
4359 cat "conftest.in" "conftest.in" >"conftest.tmp"
4360 mv "conftest.tmp" "conftest.in"
4361 cp "conftest.in" "conftest.nl"
4362 $as_echo 'GREP' >> "conftest.nl"
4363 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4364 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4365 as_fn_arith $ac_count + 1 && ac_count=$as_val
4366 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4367 # Best one so far, save it but keep looking for a better one
4368 ac_cv_path_GREP="$ac_path_GREP"
4369 ac_path_GREP_max=$ac_count
4370 fi
4371 # 10*(2^10) chars as input seems more than enough
4372 test $ac_count -gt 10 && break
4373 done
4374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4375 esac
4376
4377 $ac_path_GREP_found && break 3
4378 done
4379 done
4380 done
4381 IFS=$as_save_IFS
4382 if test -z "$ac_cv_path_GREP"; then
4383 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4384 fi
4385 else
4386 ac_cv_path_GREP=$GREP
4387 fi
4388
4389 fi
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4391 $as_echo "$ac_cv_path_GREP" >&6; }
4392 GREP="$ac_cv_path_GREP"
4393
4394
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4396 $as_echo_n "checking for egrep... " >&6; }
4397 if ${ac_cv_path_EGREP+:} false; then :
4398 $as_echo_n "(cached) " >&6
4399 else
4400 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4401 then ac_cv_path_EGREP="$GREP -E"
4402 else
4403 if test -z "$EGREP"; then
4404 ac_path_EGREP_found=false
4405 # Loop through the user's path and test for each of PROGNAME-LIST
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4408 do
4409 IFS=$as_save_IFS
4410 test -z "$as_dir" && as_dir=.
4411 for ac_prog in egrep; do
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4414 as_fn_executable_p "$ac_path_EGREP" || continue
4415 # Check for GNU ac_path_EGREP and select it if it is found.
4416 # Check for GNU $ac_path_EGREP
4417 case `"$ac_path_EGREP" --version 2>&1` in
4418 *GNU*)
4419 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4420 *)
4421 ac_count=0
4422 $as_echo_n 0123456789 >"conftest.in"
4423 while :
4424 do
4425 cat "conftest.in" "conftest.in" >"conftest.tmp"
4426 mv "conftest.tmp" "conftest.in"
4427 cp "conftest.in" "conftest.nl"
4428 $as_echo 'EGREP' >> "conftest.nl"
4429 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4431 as_fn_arith $ac_count + 1 && ac_count=$as_val
4432 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4433 # Best one so far, save it but keep looking for a better one
4434 ac_cv_path_EGREP="$ac_path_EGREP"
4435 ac_path_EGREP_max=$ac_count
4436 fi
4437 # 10*(2^10) chars as input seems more than enough
4438 test $ac_count -gt 10 && break
4439 done
4440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4441 esac
4442
4443 $ac_path_EGREP_found && break 3
4444 done
4445 done
4446 done
4447 IFS=$as_save_IFS
4448 if test -z "$ac_cv_path_EGREP"; then
4449 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4450 fi
4451 else
4452 ac_cv_path_EGREP=$EGREP
4453 fi
4454
4455 fi
4456 fi
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4458 $as_echo "$ac_cv_path_EGREP" >&6; }
4459 EGREP="$ac_cv_path_EGREP"
4460
4461
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4463 $as_echo_n "checking for fgrep... " >&6; }
4464 if ${ac_cv_path_FGREP+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4468 then ac_cv_path_FGREP="$GREP -F"
4469 else
4470 if test -z "$FGREP"; then
4471 ac_path_FGREP_found=false
4472 # Loop through the user's path and test for each of PROGNAME-LIST
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4475 do
4476 IFS=$as_save_IFS
4477 test -z "$as_dir" && as_dir=.
4478 for ac_prog in fgrep; do
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4481 as_fn_executable_p "$ac_path_FGREP" || continue
4482 # Check for GNU ac_path_FGREP and select it if it is found.
4483 # Check for GNU $ac_path_FGREP
4484 case `"$ac_path_FGREP" --version 2>&1` in
4485 *GNU*)
4486 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4487 *)
4488 ac_count=0
4489 $as_echo_n 0123456789 >"conftest.in"
4490 while :
4491 do
4492 cat "conftest.in" "conftest.in" >"conftest.tmp"
4493 mv "conftest.tmp" "conftest.in"
4494 cp "conftest.in" "conftest.nl"
4495 $as_echo 'FGREP' >> "conftest.nl"
4496 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4497 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4498 as_fn_arith $ac_count + 1 && ac_count=$as_val
4499 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4500 # Best one so far, save it but keep looking for a better one
4501 ac_cv_path_FGREP="$ac_path_FGREP"
4502 ac_path_FGREP_max=$ac_count
4503 fi
4504 # 10*(2^10) chars as input seems more than enough
4505 test $ac_count -gt 10 && break
4506 done
4507 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4508 esac
4509
4510 $ac_path_FGREP_found && break 3
4511 done
4512 done
4513 done
4514 IFS=$as_save_IFS
4515 if test -z "$ac_cv_path_FGREP"; then
4516 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4517 fi
4518 else
4519 ac_cv_path_FGREP=$FGREP
4520 fi
4521
4522 fi
4523 fi
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4525 $as_echo "$ac_cv_path_FGREP" >&6; }
4526 FGREP="$ac_cv_path_FGREP"
4527
4528
4529 test -z "$GREP" && GREP=grep
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549 # Check whether --with-gnu-ld was given.
4550 if test "${with_gnu_ld+set}" = set; then :
4551 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4552 else
4553 with_gnu_ld=no
4554 fi
4555
4556 ac_prog=ld
4557 if test yes = "$GCC"; then
4558 # Check if gcc -print-prog-name=ld gives a path.
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4560 $as_echo_n "checking for ld used by $CC... " >&6; }
4561 case $host in
4562 *-*-mingw*)
4563 # gcc leaves a trailing carriage return, which upsets mingw
4564 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4565 *)
4566 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4567 esac
4568 case $ac_prog in
4569 # Accept absolute paths.
4570 [\\/]* | ?:[\\/]*)
4571 re_direlt='/[^/][^/]*/\.\./'
4572 # Canonicalize the pathname of ld
4573 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4574 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4575 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4576 done
4577 test -z "$LD" && LD=$ac_prog
4578 ;;
4579 "")
4580 # If it fails, then pretend we aren't using GCC.
4581 ac_prog=ld
4582 ;;
4583 *)
4584 # If it is relative, then search for the first ld in PATH.
4585 with_gnu_ld=unknown
4586 ;;
4587 esac
4588 elif test yes = "$with_gnu_ld"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4590 $as_echo_n "checking for GNU ld... " >&6; }
4591 else
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4593 $as_echo_n "checking for non-GNU ld... " >&6; }
4594 fi
4595 if ${lt_cv_path_LD+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test -z "$LD"; then
4599 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4600 for ac_dir in $PATH; do
4601 IFS=$lt_save_ifs
4602 test -z "$ac_dir" && ac_dir=.
4603 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4604 lt_cv_path_LD=$ac_dir/$ac_prog
4605 # Check to see if the program is GNU ld. I'd rather use --version,
4606 # but apparently some variants of GNU ld only accept -v.
4607 # Break only if it was the GNU/non-GNU ld that we prefer.
4608 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4609 *GNU* | *'with BFD'*)
4610 test no != "$with_gnu_ld" && break
4611 ;;
4612 *)
4613 test yes != "$with_gnu_ld" && break
4614 ;;
4615 esac
4616 fi
4617 done
4618 IFS=$lt_save_ifs
4619 else
4620 lt_cv_path_LD=$LD # Let the user override the test with a path.
4621 fi
4622 fi
4623
4624 LD=$lt_cv_path_LD
4625 if test -n "$LD"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4627 $as_echo "$LD" >&6; }
4628 else
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4631 fi
4632 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4634 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4635 if ${lt_cv_prog_gnu_ld+:} false; then :
4636 $as_echo_n "(cached) " >&6
4637 else
4638 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4639 case `$LD -v 2>&1 </dev/null` in
4640 *GNU* | *'with BFD'*)
4641 lt_cv_prog_gnu_ld=yes
4642 ;;
4643 *)
4644 lt_cv_prog_gnu_ld=no
4645 ;;
4646 esac
4647 fi
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4649 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4650 with_gnu_ld=$lt_cv_prog_gnu_ld
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4661 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4662 if ${lt_cv_path_NM+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test -n "$NM"; then
4666 # Let the user override the test.
4667 lt_cv_path_NM=$NM
4668 else
4669 lt_nm_to_check=${ac_tool_prefix}nm
4670 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4671 lt_nm_to_check="$lt_nm_to_check nm"
4672 fi
4673 for lt_tmp_nm in $lt_nm_to_check; do
4674 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4675 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4676 IFS=$lt_save_ifs
4677 test -z "$ac_dir" && ac_dir=.
4678 tmp_nm=$ac_dir/$lt_tmp_nm
4679 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4680 # Check to see if the nm accepts a BSD-compat flag.
4681 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4682 # nm: unknown option "B" ignored
4683 # Tru64's nm complains that /dev/null is an invalid object file
4684 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4685 case $build_os in
4686 mingw*) lt_bad_file=conftest.nm/nofile ;;
4687 *) lt_bad_file=/dev/null ;;
4688 esac
4689 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4690 *$lt_bad_file* | *'Invalid file or object type'*)
4691 lt_cv_path_NM="$tmp_nm -B"
4692 break 2
4693 ;;
4694 *)
4695 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4696 */dev/null*)
4697 lt_cv_path_NM="$tmp_nm -p"
4698 break 2
4699 ;;
4700 *)
4701 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4702 continue # so that we can try to find one that supports BSD flags
4703 ;;
4704 esac
4705 ;;
4706 esac
4707 fi
4708 done
4709 IFS=$lt_save_ifs
4710 done
4711 : ${lt_cv_path_NM=no}
4712 fi
4713 fi
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4715 $as_echo "$lt_cv_path_NM" >&6; }
4716 if test no != "$lt_cv_path_NM"; then
4717 NM=$lt_cv_path_NM
4718 else
4719 # Didn't find any BSD compatible name lister, look for dumpbin.
4720 if test -n "$DUMPBIN"; then :
4721 # Let the user override the test.
4722 else
4723 if test -n "$ac_tool_prefix"; then
4724 for ac_prog in dumpbin "link -dump"
4725 do
4726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_DUMPBIN+:} false; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -n "$DUMPBIN"; then
4734 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4738 do
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 break 2
4746 fi
4747 done
4748 done
4749 IFS=$as_save_IFS
4750
4751 fi
4752 fi
4753 DUMPBIN=$ac_cv_prog_DUMPBIN
4754 if test -n "$DUMPBIN"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4756 $as_echo "$DUMPBIN" >&6; }
4757 else
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4760 fi
4761
4762
4763 test -n "$DUMPBIN" && break
4764 done
4765 fi
4766 if test -z "$DUMPBIN"; then
4767 ac_ct_DUMPBIN=$DUMPBIN
4768 for ac_prog in dumpbin "link -dump"
4769 do
4770 # Extract the first word of "$ac_prog", so it can be a program name with args.
4771 set dummy $ac_prog; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 if test -n "$ac_ct_DUMPBIN"; then
4778 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4779 else
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 for as_dir in $PATH
4782 do
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4790 fi
4791 done
4792 done
4793 IFS=$as_save_IFS
4794
4795 fi
4796 fi
4797 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4798 if test -n "$ac_ct_DUMPBIN"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4800 $as_echo "$ac_ct_DUMPBIN" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4804 fi
4805
4806
4807 test -n "$ac_ct_DUMPBIN" && break
4808 done
4809
4810 if test "x$ac_ct_DUMPBIN" = x; then
4811 DUMPBIN=":"
4812 else
4813 case $cross_compiling:$ac_tool_warned in
4814 yes:)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned=yes ;;
4818 esac
4819 DUMPBIN=$ac_ct_DUMPBIN
4820 fi
4821 fi
4822
4823 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4824 *COFF*)
4825 DUMPBIN="$DUMPBIN -symbols -headers"
4826 ;;
4827 *)
4828 DUMPBIN=:
4829 ;;
4830 esac
4831 fi
4832
4833 if test : != "$DUMPBIN"; then
4834 NM=$DUMPBIN
4835 fi
4836 fi
4837 test -z "$NM" && NM=nm
4838
4839
4840
4841
4842
4843
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4845 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4846 if ${lt_cv_nm_interface+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
4849 lt_cv_nm_interface="BSD nm"
4850 echo "int some_variable = 0;" > conftest.$ac_ext
4851 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4852 (eval "$ac_compile" 2>conftest.err)
4853 cat conftest.err >&5
4854 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4855 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4856 cat conftest.err >&5
4857 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4858 cat conftest.out >&5
4859 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4860 lt_cv_nm_interface="MS dumpbin"
4861 fi
4862 rm -f conftest*
4863 fi
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4865 $as_echo "$lt_cv_nm_interface" >&6; }
4866
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4868 $as_echo_n "checking whether ln -s works... " >&6; }
4869 LN_S=$as_ln_s
4870 if test "$LN_S" = "ln -s"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4872 $as_echo "yes" >&6; }
4873 else
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4875 $as_echo "no, using $LN_S" >&6; }
4876 fi
4877
4878 # find the maximum length of command line arguments
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4880 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4881 if ${lt_cv_sys_max_cmd_len+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 i=0
4885 teststring=ABCD
4886
4887 case $build_os in
4888 msdosdjgpp*)
4889 # On DJGPP, this test can blow up pretty badly due to problems in libc
4890 # (any single argument exceeding 2000 bytes causes a buffer overrun
4891 # during glob expansion). Even if it were fixed, the result of this
4892 # check would be larger than it should be.
4893 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4894 ;;
4895
4896 gnu*)
4897 # Under GNU Hurd, this test is not required because there is
4898 # no limit to the length of command line arguments.
4899 # Libtool will interpret -1 as no limit whatsoever
4900 lt_cv_sys_max_cmd_len=-1;
4901 ;;
4902
4903 cygwin* | mingw* | cegcc*)
4904 # On Win9x/ME, this test blows up -- it succeeds, but takes
4905 # about 5 minutes as the teststring grows exponentially.
4906 # Worse, since 9x/ME are not pre-emptively multitasking,
4907 # you end up with a "frozen" computer, even though with patience
4908 # the test eventually succeeds (with a max line length of 256k).
4909 # Instead, let's just punt: use the minimum linelength reported by
4910 # all of the supported platforms: 8192 (on NT/2K/XP).
4911 lt_cv_sys_max_cmd_len=8192;
4912 ;;
4913
4914 mint*)
4915 # On MiNT this can take a long time and run out of memory.
4916 lt_cv_sys_max_cmd_len=8192;
4917 ;;
4918
4919 amigaos*)
4920 # On AmigaOS with pdksh, this test takes hours, literally.
4921 # So we just punt and use a minimum line length of 8192.
4922 lt_cv_sys_max_cmd_len=8192;
4923 ;;
4924
4925 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4926 # This has been around since 386BSD, at least. Likely further.
4927 if test -x /sbin/sysctl; then
4928 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4929 elif test -x /usr/sbin/sysctl; then
4930 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4931 else
4932 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4933 fi
4934 # And add a safety zone
4935 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4936 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4937 ;;
4938
4939 interix*)
4940 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4941 lt_cv_sys_max_cmd_len=196608
4942 ;;
4943
4944 os2*)
4945 # The test takes a long time on OS/2.
4946 lt_cv_sys_max_cmd_len=8192
4947 ;;
4948
4949 osf*)
4950 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4951 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4952 # nice to cause kernel panics so lets avoid the loop below.
4953 # First set a reasonable default.
4954 lt_cv_sys_max_cmd_len=16384
4955 #
4956 if test -x /sbin/sysconfig; then
4957 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4958 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4959 esac
4960 fi
4961 ;;
4962 sco3.2v5*)
4963 lt_cv_sys_max_cmd_len=102400
4964 ;;
4965 sysv5* | sco5v6* | sysv4.2uw2*)
4966 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4967 if test -n "$kargmax"; then
4968 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4969 else
4970 lt_cv_sys_max_cmd_len=32768
4971 fi
4972 ;;
4973 *)
4974 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4975 if test -n "$lt_cv_sys_max_cmd_len" && \
4976 test undefined != "$lt_cv_sys_max_cmd_len"; then
4977 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4979 else
4980 # Make teststring a little bigger before we do anything with it.
4981 # a 1K string should be a reasonable start.
4982 for i in 1 2 3 4 5 6 7 8; do
4983 teststring=$teststring$teststring
4984 done
4985 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4986 # If test is not a shell built-in, we'll probably end up computing a
4987 # maximum length that is only half of the actual maximum length, but
4988 # we can't tell.
4989 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4990 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4991 test 17 != "$i" # 1/2 MB should be enough
4992 do
4993 i=`expr $i + 1`
4994 teststring=$teststring$teststring
4995 done
4996 # Only check the string length outside the loop.
4997 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4998 teststring=
4999 # Add a significant safety factor because C++ compilers can tack on
5000 # massive amounts of additional arguments before passing them to the
5001 # linker. It appears as though 1/2 is a usable value.
5002 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5003 fi
5004 ;;
5005 esac
5006
5007 fi
5008
5009 if test -n "$lt_cv_sys_max_cmd_len"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5011 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5012 else
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5014 $as_echo "none" >&6; }
5015 fi
5016 max_cmd_len=$lt_cv_sys_max_cmd_len
5017
5018
5019
5020
5021
5022
5023 : ${CP="cp -f"}
5024 : ${MV="mv -f"}
5025 : ${RM="rm -f"}
5026
5027 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5028 lt_unset=unset
5029 else
5030 lt_unset=false
5031 fi
5032
5033
5034
5035
5036
5037 # test EBCDIC or ASCII
5038 case `echo X|tr X '\101'` in
5039 A) # ASCII based system
5040 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5041 lt_SP2NL='tr \040 \012'
5042 lt_NL2SP='tr \015\012 \040\040'
5043 ;;
5044 *) # EBCDIC based system
5045 lt_SP2NL='tr \100 \n'
5046 lt_NL2SP='tr \r\n \100\100'
5047 ;;
5048 esac
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5059 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5060 if ${lt_cv_to_host_file_cmd+:} false; then :
5061 $as_echo_n "(cached) " >&6
5062 else
5063 case $host in
5064 *-*-mingw* )
5065 case $build in
5066 *-*-mingw* ) # actually msys
5067 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5068 ;;
5069 *-*-cygwin* )
5070 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5071 ;;
5072 * ) # otherwise, assume *nix
5073 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5074 ;;
5075 esac
5076 ;;
5077 *-*-cygwin* )
5078 case $build in
5079 *-*-mingw* ) # actually msys
5080 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5081 ;;
5082 *-*-cygwin* )
5083 lt_cv_to_host_file_cmd=func_convert_file_noop
5084 ;;
5085 * ) # otherwise, assume *nix
5086 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5087 ;;
5088 esac
5089 ;;
5090 * ) # unhandled hosts (and "normal" native builds)
5091 lt_cv_to_host_file_cmd=func_convert_file_noop
5092 ;;
5093 esac
5094
5095 fi
5096
5097 to_host_file_cmd=$lt_cv_to_host_file_cmd
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5099 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5100
5101
5102
5103
5104
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5106 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5107 if ${lt_cv_to_tool_file_cmd+:} false; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 #assume ordinary cross tools, or native build.
5111 lt_cv_to_tool_file_cmd=func_convert_file_noop
5112 case $host in
5113 *-*-mingw* )
5114 case $build in
5115 *-*-mingw* ) # actually msys
5116 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5117 ;;
5118 esac
5119 ;;
5120 esac
5121
5122 fi
5123
5124 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5126 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5127
5128
5129
5130
5131
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5133 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5134 if ${lt_cv_ld_reload_flag+:} false; then :
5135 $as_echo_n "(cached) " >&6
5136 else
5137 lt_cv_ld_reload_flag='-r'
5138 fi
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5140 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5141 reload_flag=$lt_cv_ld_reload_flag
5142 case $reload_flag in
5143 "" | " "*) ;;
5144 *) reload_flag=" $reload_flag" ;;
5145 esac
5146 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5147 case $host_os in
5148 cygwin* | mingw* | pw32* | cegcc*)
5149 if test yes != "$GCC"; then
5150 reload_cmds=false
5151 fi
5152 ;;
5153 darwin*)
5154 if test yes = "$GCC"; then
5155 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5156 else
5157 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5158 fi
5159 ;;
5160 esac
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170 if test -n "$ac_tool_prefix"; then
5171 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5172 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_OBJDUMP+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$OBJDUMP"; then
5179 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5183 do
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5191 fi
5192 done
5193 done
5194 IFS=$as_save_IFS
5195
5196 fi
5197 fi
5198 OBJDUMP=$ac_cv_prog_OBJDUMP
5199 if test -n "$OBJDUMP"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5201 $as_echo "$OBJDUMP" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5205 fi
5206
5207
5208 fi
5209 if test -z "$ac_cv_prog_OBJDUMP"; then
5210 ac_ct_OBJDUMP=$OBJDUMP
5211 # Extract the first word of "objdump", so it can be a program name with args.
5212 set dummy objdump; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$ac_ct_OBJDUMP"; then
5219 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5223 do
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5231 fi
5232 done
5233 done
5234 IFS=$as_save_IFS
5235
5236 fi
5237 fi
5238 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5239 if test -n "$ac_ct_OBJDUMP"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5241 $as_echo "$ac_ct_OBJDUMP" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5245 fi
5246
5247 if test "x$ac_ct_OBJDUMP" = x; then
5248 OBJDUMP="false"
5249 else
5250 case $cross_compiling:$ac_tool_warned in
5251 yes:)
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned=yes ;;
5255 esac
5256 OBJDUMP=$ac_ct_OBJDUMP
5257 fi
5258 else
5259 OBJDUMP="$ac_cv_prog_OBJDUMP"
5260 fi
5261
5262 test -z "$OBJDUMP" && OBJDUMP=objdump
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5273 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5274 if ${lt_cv_deplibs_check_method+:} false; then :
5275 $as_echo_n "(cached) " >&6
5276 else
5277 lt_cv_file_magic_cmd='$MAGIC_CMD'
5278 lt_cv_file_magic_test_file=
5279 lt_cv_deplibs_check_method='unknown'
5280 # Need to set the preceding variable on all platforms that support
5281 # interlibrary dependencies.
5282 # 'none' -- dependencies not supported.
5283 # 'unknown' -- same as none, but documents that we really don't know.
5284 # 'pass_all' -- all dependencies passed with no checks.
5285 # 'test_compile' -- check by making test program.
5286 # 'file_magic [[regex]]' -- check by looking for files in library path
5287 # that responds to the $file_magic_cmd with a given extended regex.
5288 # If you have 'file' or equivalent on your system and you're not sure
5289 # whether 'pass_all' will *always* work, you probably want this one.
5290
5291 case $host_os in
5292 aix[4-9]*)
5293 lt_cv_deplibs_check_method=pass_all
5294 ;;
5295
5296 beos*)
5297 lt_cv_deplibs_check_method=pass_all
5298 ;;
5299
5300 bsdi[45]*)
5301 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5302 lt_cv_file_magic_cmd='/usr/bin/file -L'
5303 lt_cv_file_magic_test_file=/shlib/libc.so
5304 ;;
5305
5306 cygwin*)
5307 # func_win32_libid is a shell function defined in ltmain.sh
5308 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5309 lt_cv_file_magic_cmd='func_win32_libid'
5310 ;;
5311
5312 mingw* | pw32*)
5313 # Base MSYS/MinGW do not provide the 'file' command needed by
5314 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5315 # unless we find 'file', for example because we are cross-compiling.
5316 if ( file / ) >/dev/null 2>&1; then
5317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5318 lt_cv_file_magic_cmd='func_win32_libid'
5319 else
5320 # Keep this pattern in sync with the one in func_win32_libid.
5321 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5322 lt_cv_file_magic_cmd='$OBJDUMP -f'
5323 fi
5324 ;;
5325
5326 cegcc*)
5327 # use the weaker test based on 'objdump'. See mingw*.
5328 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5329 lt_cv_file_magic_cmd='$OBJDUMP -f'
5330 ;;
5331
5332 darwin* | rhapsody*)
5333 lt_cv_deplibs_check_method=pass_all
5334 ;;
5335
5336 freebsd* | dragonfly*)
5337 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5338 case $host_cpu in
5339 i*86 )
5340 # Not sure whether the presence of OpenBSD here was a mistake.
5341 # Let's accept both of them until this is cleared up.
5342 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5343 lt_cv_file_magic_cmd=/usr/bin/file
5344 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5345 ;;
5346 esac
5347 else
5348 lt_cv_deplibs_check_method=pass_all
5349 fi
5350 ;;
5351
5352 haiku*)
5353 lt_cv_deplibs_check_method=pass_all
5354 ;;
5355
5356 hpux10.20* | hpux11*)
5357 lt_cv_file_magic_cmd=/usr/bin/file
5358 case $host_cpu in
5359 ia64*)
5360 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5361 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5362 ;;
5363 hppa*64*)
5364 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]'
5365 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5366 ;;
5367 *)
5368 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5369 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5370 ;;
5371 esac
5372 ;;
5373
5374 interix[3-9]*)
5375 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5377 ;;
5378
5379 irix5* | irix6* | nonstopux*)
5380 case $LD in
5381 *-32|*"-32 ") libmagic=32-bit;;
5382 *-n32|*"-n32 ") libmagic=N32;;
5383 *-64|*"-64 ") libmagic=64-bit;;
5384 *) libmagic=never-match;;
5385 esac
5386 lt_cv_deplibs_check_method=pass_all
5387 ;;
5388
5389 # This must be glibc/ELF.
5390 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5391 lt_cv_deplibs_check_method=pass_all
5392 ;;
5393
5394 netbsd*)
5395 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5396 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5397 else
5398 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5399 fi
5400 ;;
5401
5402 newos6*)
5403 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5404 lt_cv_file_magic_cmd=/usr/bin/file
5405 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5406 ;;
5407
5408 *nto* | *qnx*)
5409 lt_cv_deplibs_check_method=pass_all
5410 ;;
5411
5412 openbsd* | bitrig*)
5413 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5415 else
5416 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5417 fi
5418 ;;
5419
5420 osf3* | osf4* | osf5*)
5421 lt_cv_deplibs_check_method=pass_all
5422 ;;
5423
5424 rdos*)
5425 lt_cv_deplibs_check_method=pass_all
5426 ;;
5427
5428 solaris*)
5429 lt_cv_deplibs_check_method=pass_all
5430 ;;
5431
5432 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5433 lt_cv_deplibs_check_method=pass_all
5434 ;;
5435
5436 sysv4 | sysv4.3*)
5437 case $host_vendor in
5438 motorola)
5439 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]'
5440 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5441 ;;
5442 ncr)
5443 lt_cv_deplibs_check_method=pass_all
5444 ;;
5445 sequent)
5446 lt_cv_file_magic_cmd='/bin/file'
5447 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5448 ;;
5449 sni)
5450 lt_cv_file_magic_cmd='/bin/file'
5451 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5452 lt_cv_file_magic_test_file=/lib/libc.so
5453 ;;
5454 siemens)
5455 lt_cv_deplibs_check_method=pass_all
5456 ;;
5457 pc)
5458 lt_cv_deplibs_check_method=pass_all
5459 ;;
5460 esac
5461 ;;
5462
5463 tpf*)
5464 lt_cv_deplibs_check_method=pass_all
5465 ;;
5466 os2*)
5467 lt_cv_deplibs_check_method=pass_all
5468 ;;
5469 esac
5470
5471 fi
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5473 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5474
5475 file_magic_glob=
5476 want_nocaseglob=no
5477 if test "$build" = "$host"; then
5478 case $host_os in
5479 mingw* | pw32*)
5480 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5481 want_nocaseglob=yes
5482 else
5483 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5484 fi
5485 ;;
5486 esac
5487 fi
5488
5489 file_magic_cmd=$lt_cv_file_magic_cmd
5490 deplibs_check_method=$lt_cv_deplibs_check_method
5491 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514 if test -n "$ac_tool_prefix"; then
5515 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5516 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_DLLTOOL+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if test -n "$DLLTOOL"; then
5523 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5527 do
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 break 2
5535 fi
5536 done
5537 done
5538 IFS=$as_save_IFS
5539
5540 fi
5541 fi
5542 DLLTOOL=$ac_cv_prog_DLLTOOL
5543 if test -n "$DLLTOOL"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5545 $as_echo "$DLLTOOL" >&6; }
5546 else
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5549 fi
5550
5551
5552 fi
5553 if test -z "$ac_cv_prog_DLLTOOL"; then
5554 ac_ct_DLLTOOL=$DLLTOOL
5555 # Extract the first word of "dlltool", so it can be a program name with args.
5556 set dummy dlltool; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -n "$ac_ct_DLLTOOL"; then
5563 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5564 else
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH
5567 do
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5575 fi
5576 done
5577 done
5578 IFS=$as_save_IFS
5579
5580 fi
5581 fi
5582 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5583 if test -n "$ac_ct_DLLTOOL"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5585 $as_echo "$ac_ct_DLLTOOL" >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5589 fi
5590
5591 if test "x$ac_ct_DLLTOOL" = x; then
5592 DLLTOOL="false"
5593 else
5594 case $cross_compiling:$ac_tool_warned in
5595 yes:)
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5598 ac_tool_warned=yes ;;
5599 esac
5600 DLLTOOL=$ac_ct_DLLTOOL
5601 fi
5602 else
5603 DLLTOOL="$ac_cv_prog_DLLTOOL"
5604 fi
5605
5606 test -z "$DLLTOOL" && DLLTOOL=dlltool
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5618 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5619 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 lt_cv_sharedlib_from_linklib_cmd='unknown'
5623
5624 case $host_os in
5625 cygwin* | mingw* | pw32* | cegcc*)
5626 # two different shell functions defined in ltmain.sh;
5627 # decide which one to use based on capabilities of $DLLTOOL
5628 case `$DLLTOOL --help 2>&1` in
5629 *--identify-strict*)
5630 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5631 ;;
5632 *)
5633 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5634 ;;
5635 esac
5636 ;;
5637 *)
5638 # fallback: assume linklib IS sharedlib
5639 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5640 ;;
5641 esac
5642
5643 fi
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5645 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5646 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5647 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5648
5649
5650
5651
5652
5653
5654
5655
5656 if test -n "$ac_tool_prefix"; then
5657 for ac_prog in ar
5658 do
5659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if ${ac_cv_prog_AR+:} false; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 if test -n "$AR"; then
5667 ac_cv_prog_AR="$AR" # Let the user override the test.
5668 else
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 for as_dir in $PATH
5671 do
5672 IFS=$as_save_IFS
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 break 2
5679 fi
5680 done
5681 done
5682 IFS=$as_save_IFS
5683
5684 fi
5685 fi
5686 AR=$ac_cv_prog_AR
5687 if test -n "$AR"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5689 $as_echo "$AR" >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5693 fi
5694
5695
5696 test -n "$AR" && break
5697 done
5698 fi
5699 if test -z "$AR"; then
5700 ac_ct_AR=$AR
5701 for ac_prog in ar
5702 do
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if test -n "$ac_ct_AR"; then
5711 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5715 do
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_ac_ct_AR="$ac_prog"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5723 fi
5724 done
5725 done
5726 IFS=$as_save_IFS
5727
5728 fi
5729 fi
5730 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5731 if test -n "$ac_ct_AR"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5733 $as_echo "$ac_ct_AR" >&6; }
5734 else
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5737 fi
5738
5739
5740 test -n "$ac_ct_AR" && break
5741 done
5742
5743 if test "x$ac_ct_AR" = x; then
5744 AR="false"
5745 else
5746 case $cross_compiling:$ac_tool_warned in
5747 yes:)
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5750 ac_tool_warned=yes ;;
5751 esac
5752 AR=$ac_ct_AR
5753 fi
5754 fi
5755
5756 : ${AR=ar}
5757 : ${AR_FLAGS=cru}
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5770 $as_echo_n "checking for archiver @FILE support... " >&6; }
5771 if ${lt_cv_ar_at_file+:} false; then :
5772 $as_echo_n "(cached) " >&6
5773 else
5774 lt_cv_ar_at_file=no
5775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5776 /* end confdefs.h. */
5777
5778 int
5779 main ()
5780 {
5781
5782 ;
5783 return 0;
5784 }
5785 _ACEOF
5786 if ac_fn_c_try_compile "$LINENO"; then :
5787 echo conftest.$ac_objext > conftest.lst
5788 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5789 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5790 (eval $lt_ar_try) 2>&5
5791 ac_status=$?
5792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5793 test $ac_status = 0; }
5794 if test 0 -eq "$ac_status"; then
5795 # Ensure the archiver fails upon bogus file names.
5796 rm -f conftest.$ac_objext libconftest.a
5797 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5798 (eval $lt_ar_try) 2>&5
5799 ac_status=$?
5800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5801 test $ac_status = 0; }
5802 if test 0 -ne "$ac_status"; then
5803 lt_cv_ar_at_file=@
5804 fi
5805 fi
5806 rm -f conftest.* libconftest.a
5807
5808 fi
5809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5810
5811 fi
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5813 $as_echo "$lt_cv_ar_at_file" >&6; }
5814
5815 if test no = "$lt_cv_ar_at_file"; then
5816 archiver_list_spec=
5817 else
5818 archiver_list_spec=$lt_cv_ar_at_file
5819 fi
5820
5821
5822
5823
5824
5825
5826
5827 if test -n "$ac_tool_prefix"; then
5828 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}strip; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_STRIP+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if test -n "$STRIP"; then
5836 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5840 do
5841 IFS=$as_save_IFS
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 break 2
5848 fi
5849 done
5850 done
5851 IFS=$as_save_IFS
5852
5853 fi
5854 fi
5855 STRIP=$ac_cv_prog_STRIP
5856 if test -n "$STRIP"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5858 $as_echo "$STRIP" >&6; }
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5862 fi
5863
5864
5865 fi
5866 if test -z "$ac_cv_prog_STRIP"; then
5867 ac_ct_STRIP=$STRIP
5868 # Extract the first word of "strip", so it can be a program name with args.
5869 set dummy strip; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if test -n "$ac_ct_STRIP"; then
5876 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5880 do
5881 IFS=$as_save_IFS
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_ac_ct_STRIP="strip"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 break 2
5888 fi
5889 done
5890 done
5891 IFS=$as_save_IFS
5892
5893 fi
5894 fi
5895 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5896 if test -n "$ac_ct_STRIP"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5898 $as_echo "$ac_ct_STRIP" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5902 fi
5903
5904 if test "x$ac_ct_STRIP" = x; then
5905 STRIP=":"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 STRIP=$ac_ct_STRIP
5914 fi
5915 else
5916 STRIP="$ac_cv_prog_STRIP"
5917 fi
5918
5919 test -z "$STRIP" && STRIP=:
5920
5921
5922
5923
5924
5925
5926 if test -n "$ac_tool_prefix"; then
5927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_RANLIB+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$RANLIB"; then
5935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5939 do
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5947 fi
5948 done
5949 done
5950 IFS=$as_save_IFS
5951
5952 fi
5953 fi
5954 RANLIB=$ac_cv_prog_RANLIB
5955 if test -n "$RANLIB"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5957 $as_echo "$RANLIB" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5961 fi
5962
5963
5964 fi
5965 if test -z "$ac_cv_prog_RANLIB"; then
5966 ac_ct_RANLIB=$RANLIB
5967 # Extract the first word of "ranlib", so it can be a program name with args.
5968 set dummy ranlib; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 if test -n "$ac_ct_RANLIB"; then
5975 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5979 do
5980 IFS=$as_save_IFS
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_ac_ct_RANLIB="ranlib"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 break 2
5987 fi
5988 done
5989 done
5990 IFS=$as_save_IFS
5991
5992 fi
5993 fi
5994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5995 if test -n "$ac_ct_RANLIB"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5997 $as_echo "$ac_ct_RANLIB" >&6; }
5998 else
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6001 fi
6002
6003 if test "x$ac_ct_RANLIB" = x; then
6004 RANLIB=":"
6005 else
6006 case $cross_compiling:$ac_tool_warned in
6007 yes:)
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6010 ac_tool_warned=yes ;;
6011 esac
6012 RANLIB=$ac_ct_RANLIB
6013 fi
6014 else
6015 RANLIB="$ac_cv_prog_RANLIB"
6016 fi
6017
6018 test -z "$RANLIB" && RANLIB=:
6019
6020
6021
6022
6023
6024
6025 # Determine commands to create old-style static archives.
6026 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6027 old_postinstall_cmds='chmod 644 $oldlib'
6028 old_postuninstall_cmds=
6029
6030 if test -n "$RANLIB"; then
6031 case $host_os in
6032 bitrig* | openbsd*)
6033 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6034 ;;
6035 *)
6036 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6037 ;;
6038 esac
6039 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6040 fi
6041
6042 case $host_os in
6043 darwin*)
6044 lock_old_archive_extraction=yes ;;
6045 *)
6046 lock_old_archive_extraction=no ;;
6047 esac
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 # If no C compiler was specified, use CC.
6088 LTCC=${LTCC-"$CC"}
6089
6090 # If no C compiler flags were specified, use CFLAGS.
6091 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6092
6093 # Allow CC to be a program name with arguments.
6094 compiler=$CC
6095
6096
6097 # Check for command to grab the raw symbol name followed by C symbol from nm.
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6099 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6100 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103
6104 # These are sane defaults that work on at least a few old systems.
6105 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6106
6107 # Character class describing NM global symbol codes.
6108 symcode='[BCDEGRST]'
6109
6110 # Regexp to match symbols that can be accessed directly from C.
6111 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6112
6113 # Define system-specific variables.
6114 case $host_os in
6115 aix*)
6116 symcode='[BCDT]'
6117 ;;
6118 cygwin* | mingw* | pw32* | cegcc*)
6119 symcode='[ABCDGISTW]'
6120 ;;
6121 hpux*)
6122 if test ia64 = "$host_cpu"; then
6123 symcode='[ABCDEGRST]'
6124 fi
6125 ;;
6126 irix* | nonstopux*)
6127 symcode='[BCDEGRST]'
6128 ;;
6129 osf*)
6130 symcode='[BCDEGQRST]'
6131 ;;
6132 solaris*)
6133 symcode='[BDRT]'
6134 ;;
6135 sco3.2v5*)
6136 symcode='[DT]'
6137 ;;
6138 sysv4.2uw2*)
6139 symcode='[DT]'
6140 ;;
6141 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6142 symcode='[ABDT]'
6143 ;;
6144 sysv4)
6145 symcode='[DFNSTU]'
6146 ;;
6147 esac
6148
6149 # If we're using GNU nm, then use its standard symbol codes.
6150 case `$NM -V 2>&1` in
6151 *GNU* | *'with BFD'*)
6152 symcode='[ABCDGIRSTW]' ;;
6153 esac
6154
6155 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6156 # Gets list of data symbols to import.
6157 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6158 # Adjust the below global symbol transforms to fixup imported variables.
6159 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6160 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6161 lt_c_name_lib_hook="\
6162 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6163 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6164 else
6165 # Disable hooks by default.
6166 lt_cv_sys_global_symbol_to_import=
6167 lt_cdecl_hook=
6168 lt_c_name_hook=
6169 lt_c_name_lib_hook=
6170 fi
6171
6172 # Transform an extracted symbol line into a proper C declaration.
6173 # Some systems (esp. on ia64) link data and code symbols differently,
6174 # so use this general approach.
6175 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6176 $lt_cdecl_hook\
6177 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6178 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6179
6180 # Transform an extracted symbol line into symbol name and symbol address
6181 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6182 $lt_c_name_hook\
6183 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6184 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6185
6186 # Transform an extracted symbol line into symbol name with lib prefix and
6187 # symbol address.
6188 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6189 $lt_c_name_lib_hook\
6190 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6191 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6192 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6193
6194 # Handle CRLF in mingw tool chain
6195 opt_cr=
6196 case $build_os in
6197 mingw*)
6198 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6199 ;;
6200 esac
6201
6202 # Try without a prefix underscore, then with it.
6203 for ac_symprfx in "" "_"; do
6204
6205 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6206 symxfrm="\\1 $ac_symprfx\\2 \\2"
6207
6208 # Write the raw and C identifiers.
6209 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6210 # Fake it for dumpbin and say T for any non-static function,
6211 # D for any global variable and I for any imported variable.
6212 # Also find C++ and __fastcall symbols from MSVC++,
6213 # which start with @ or ?.
6214 lt_cv_sys_global_symbol_pipe="$AWK '"\
6215 " {last_section=section; section=\$ 3};"\
6216 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6217 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6218 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6219 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6220 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6221 " \$ 0!~/External *\|/{next};"\
6222 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6223 " {if(hide[section]) next};"\
6224 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6225 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6226 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6227 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6228 " ' prfx=^$ac_symprfx"
6229 else
6230 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6231 fi
6232 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6233
6234 # Check to see that the pipe works correctly.
6235 pipe_works=no
6236
6237 rm -f conftest*
6238 cat > conftest.$ac_ext <<_LT_EOF
6239 #ifdef __cplusplus
6240 extern "C" {
6241 #endif
6242 char nm_test_var;
6243 void nm_test_func(void);
6244 void nm_test_func(void){}
6245 #ifdef __cplusplus
6246 }
6247 #endif
6248 int main(){nm_test_var='a';nm_test_func();return(0);}
6249 _LT_EOF
6250
6251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6252 (eval $ac_compile) 2>&5
6253 ac_status=$?
6254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255 test $ac_status = 0; }; then
6256 # Now try to grab the symbols.
6257 nlist=conftest.nm
6258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6259 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6260 ac_status=$?
6261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6262 test $ac_status = 0; } && test -s "$nlist"; then
6263 # Try sorting and uniquifying the output.
6264 if sort "$nlist" | uniq > "$nlist"T; then
6265 mv -f "$nlist"T "$nlist"
6266 else
6267 rm -f "$nlist"T
6268 fi
6269
6270 # Make sure that we snagged all the symbols we need.
6271 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6272 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6273 cat <<_LT_EOF > conftest.$ac_ext
6274 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6275 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6276 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6277 relocations are performed -- see ld's documentation on pseudo-relocs. */
6278 # define LT_DLSYM_CONST
6279 #elif defined __osf__
6280 /* This system does not cope well with relocations in const data. */
6281 # define LT_DLSYM_CONST
6282 #else
6283 # define LT_DLSYM_CONST const
6284 #endif
6285
6286 #ifdef __cplusplus
6287 extern "C" {
6288 #endif
6289
6290 _LT_EOF
6291 # Now generate the symbol file.
6292 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6293
6294 cat <<_LT_EOF >> conftest.$ac_ext
6295
6296 /* The mapping between symbol names and symbols. */
6297 LT_DLSYM_CONST struct {
6298 const char *name;
6299 void *address;
6300 }
6301 lt__PROGRAM__LTX_preloaded_symbols[] =
6302 {
6303 { "@PROGRAM@", (void *) 0 },
6304 _LT_EOF
6305 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6306 cat <<\_LT_EOF >> conftest.$ac_ext
6307 {0, (void *) 0}
6308 };
6309
6310 /* This works around a problem in FreeBSD linker */
6311 #ifdef FREEBSD_WORKAROUND
6312 static const void *lt_preloaded_setup() {
6313 return lt__PROGRAM__LTX_preloaded_symbols;
6314 }
6315 #endif
6316
6317 #ifdef __cplusplus
6318 }
6319 #endif
6320 _LT_EOF
6321 # Now try linking the two files.
6322 mv conftest.$ac_objext conftstm.$ac_objext
6323 lt_globsym_save_LIBS=$LIBS
6324 lt_globsym_save_CFLAGS=$CFLAGS
6325 LIBS=conftstm.$ac_objext
6326 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6328 (eval $ac_link) 2>&5
6329 ac_status=$?
6330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6331 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6332 pipe_works=yes
6333 fi
6334 LIBS=$lt_globsym_save_LIBS
6335 CFLAGS=$lt_globsym_save_CFLAGS
6336 else
6337 echo "cannot find nm_test_func in $nlist" >&5
6338 fi
6339 else
6340 echo "cannot find nm_test_var in $nlist" >&5
6341 fi
6342 else
6343 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6344 fi
6345 else
6346 echo "$progname: failed program was:" >&5
6347 cat conftest.$ac_ext >&5
6348 fi
6349 rm -rf conftest* conftst*
6350
6351 # Do not use the global_symbol_pipe unless it works.
6352 if test yes = "$pipe_works"; then
6353 break
6354 else
6355 lt_cv_sys_global_symbol_pipe=
6356 fi
6357 done
6358
6359 fi
6360
6361 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6362 lt_cv_sys_global_symbol_to_cdecl=
6363 fi
6364 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6366 $as_echo "failed" >&6; }
6367 else
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6369 $as_echo "ok" >&6; }
6370 fi
6371
6372 # Response file support.
6373 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6374 nm_file_list_spec='@'
6375 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6376 nm_file_list_spec='@'
6377 fi
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6416 $as_echo_n "checking for sysroot... " >&6; }
6417
6418 # Check whether --with-sysroot was given.
6419 if test "${with_sysroot+set}" = set; then :
6420 withval=$with_sysroot;
6421 else
6422 with_sysroot=no
6423 fi
6424
6425
6426 lt_sysroot=
6427 case $with_sysroot in #(
6428 yes)
6429 if test yes = "$GCC"; then
6430 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6431 fi
6432 ;; #(
6433 /*)
6434 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6435 ;; #(
6436 no|'')
6437 ;; #(
6438 *)
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6440 $as_echo "$with_sysroot" >&6; }
6441 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6442 ;;
6443 esac
6444
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6446 $as_echo "${lt_sysroot:-no}" >&6; }
6447
6448
6449
6450
6451
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6453 $as_echo_n "checking for a working dd... " >&6; }
6454 if ${ac_cv_path_lt_DD+:} false; then :
6455 $as_echo_n "(cached) " >&6
6456 else
6457 printf 0123456789abcdef0123456789abcdef >conftest.i
6458 cat conftest.i conftest.i >conftest2.i
6459 : ${lt_DD:=$DD}
6460 if test -z "$lt_DD"; then
6461 ac_path_lt_DD_found=false
6462 # Loop through the user's path and test for each of PROGNAME-LIST
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH
6465 do
6466 IFS=$as_save_IFS
6467 test -z "$as_dir" && as_dir=.
6468 for ac_prog in dd; do
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6471 as_fn_executable_p "$ac_path_lt_DD" || continue
6472 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6473 cmp -s conftest.i conftest.out \
6474 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6475 fi
6476 $ac_path_lt_DD_found && break 3
6477 done
6478 done
6479 done
6480 IFS=$as_save_IFS
6481 if test -z "$ac_cv_path_lt_DD"; then
6482 :
6483 fi
6484 else
6485 ac_cv_path_lt_DD=$lt_DD
6486 fi
6487
6488 rm -f conftest.i conftest2.i conftest.out
6489 fi
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6491 $as_echo "$ac_cv_path_lt_DD" >&6; }
6492
6493
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6495 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6496 if ${lt_cv_truncate_bin+:} false; then :
6497 $as_echo_n "(cached) " >&6
6498 else
6499 printf 0123456789abcdef0123456789abcdef >conftest.i
6500 cat conftest.i conftest.i >conftest2.i
6501 lt_cv_truncate_bin=
6502 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6503 cmp -s conftest.i conftest.out \
6504 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6505 fi
6506 rm -f conftest.i conftest2.i conftest.out
6507 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6508 fi
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6510 $as_echo "$lt_cv_truncate_bin" >&6; }
6511
6512
6513
6514
6515
6516
6517
6518 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6519 func_cc_basename ()
6520 {
6521 for cc_temp in $*""; do
6522 case $cc_temp in
6523 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6524 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6525 \-*) ;;
6526 *) break;;
6527 esac
6528 done
6529 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6530 }
6531
6532 # Check whether --enable-libtool-lock was given.
6533 if test "${enable_libtool_lock+set}" = set; then :
6534 enableval=$enable_libtool_lock;
6535 fi
6536
6537 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6538
6539 # Some flags need to be propagated to the compiler or linker for good
6540 # libtool support.
6541 case $host in
6542 ia64-*-hpux*)
6543 # Find out what ABI is being produced by ac_compile, and set mode
6544 # options accordingly.
6545 echo 'int i;' > conftest.$ac_ext
6546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6547 (eval $ac_compile) 2>&5
6548 ac_status=$?
6549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6550 test $ac_status = 0; }; then
6551 case `/usr/bin/file conftest.$ac_objext` in
6552 *ELF-32*)
6553 HPUX_IA64_MODE=32
6554 ;;
6555 *ELF-64*)
6556 HPUX_IA64_MODE=64
6557 ;;
6558 esac
6559 fi
6560 rm -rf conftest*
6561 ;;
6562 *-*-irix6*)
6563 # Find out what ABI is being produced by ac_compile, and set linker
6564 # options accordingly.
6565 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6567 (eval $ac_compile) 2>&5
6568 ac_status=$?
6569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6570 test $ac_status = 0; }; then
6571 if test yes = "$lt_cv_prog_gnu_ld"; then
6572 case `/usr/bin/file conftest.$ac_objext` in
6573 *32-bit*)
6574 LD="${LD-ld} -melf32bsmip"
6575 ;;
6576 *N32*)
6577 LD="${LD-ld} -melf32bmipn32"
6578 ;;
6579 *64-bit*)
6580 LD="${LD-ld} -melf64bmip"
6581 ;;
6582 esac
6583 else
6584 case `/usr/bin/file conftest.$ac_objext` in
6585 *32-bit*)
6586 LD="${LD-ld} -32"
6587 ;;
6588 *N32*)
6589 LD="${LD-ld} -n32"
6590 ;;
6591 *64-bit*)
6592 LD="${LD-ld} -64"
6593 ;;
6594 esac
6595 fi
6596 fi
6597 rm -rf conftest*
6598 ;;
6599
6600 mips64*-*linux*)
6601 # Find out what ABI is being produced by ac_compile, and set linker
6602 # options accordingly.
6603 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605 (eval $ac_compile) 2>&5
6606 ac_status=$?
6607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608 test $ac_status = 0; }; then
6609 emul=elf
6610 case `/usr/bin/file conftest.$ac_objext` in
6611 *32-bit*)
6612 emul="${emul}32"
6613 ;;
6614 *64-bit*)
6615 emul="${emul}64"
6616 ;;
6617 esac
6618 case `/usr/bin/file conftest.$ac_objext` in
6619 *MSB*)
6620 emul="${emul}btsmip"
6621 ;;
6622 *LSB*)
6623 emul="${emul}ltsmip"
6624 ;;
6625 esac
6626 case `/usr/bin/file conftest.$ac_objext` in
6627 *N32*)
6628 emul="${emul}n32"
6629 ;;
6630 esac
6631 LD="${LD-ld} -m $emul"
6632 fi
6633 rm -rf conftest*
6634 ;;
6635
6636 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6637 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6638 # Find out what ABI is being produced by ac_compile, and set linker
6639 # options accordingly. Note that the listed cases only cover the
6640 # situations where additional linker options are needed (such as when
6641 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6642 # vice versa); the common cases where no linker options are needed do
6643 # not appear in the list.
6644 echo 'int i;' > conftest.$ac_ext
6645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6646 (eval $ac_compile) 2>&5
6647 ac_status=$?
6648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6649 test $ac_status = 0; }; then
6650 case `/usr/bin/file conftest.o` in
6651 *32-bit*)
6652 case $host in
6653 x86_64-*kfreebsd*-gnu)
6654 LD="${LD-ld} -m elf_i386_fbsd"
6655 ;;
6656 x86_64-*linux*)
6657 case `/usr/bin/file conftest.o` in
6658 *x86-64*)
6659 LD="${LD-ld} -m elf32_x86_64"
6660 ;;
6661 *)
6662 LD="${LD-ld} -m elf_i386"
6663 ;;
6664 esac
6665 ;;
6666 powerpc64le-*linux*)
6667 LD="${LD-ld} -m elf32lppclinux"
6668 ;;
6669 powerpc64-*linux*)
6670 LD="${LD-ld} -m elf32ppclinux"
6671 ;;
6672 s390x-*linux*)
6673 LD="${LD-ld} -m elf_s390"
6674 ;;
6675 sparc64-*linux*)
6676 LD="${LD-ld} -m elf32_sparc"
6677 ;;
6678 esac
6679 ;;
6680 *64-bit*)
6681 case $host in
6682 x86_64-*kfreebsd*-gnu)
6683 LD="${LD-ld} -m elf_x86_64_fbsd"
6684 ;;
6685 x86_64-*linux*)
6686 LD="${LD-ld} -m elf_x86_64"
6687 ;;
6688 powerpcle-*linux*)
6689 LD="${LD-ld} -m elf64lppc"
6690 ;;
6691 powerpc-*linux*)
6692 LD="${LD-ld} -m elf64ppc"
6693 ;;
6694 s390*-*linux*|s390*-*tpf*)
6695 LD="${LD-ld} -m elf64_s390"
6696 ;;
6697 sparc*-*linux*)
6698 LD="${LD-ld} -m elf64_sparc"
6699 ;;
6700 esac
6701 ;;
6702 esac
6703 fi
6704 rm -rf conftest*
6705 ;;
6706
6707 *-*-sco3.2v5*)
6708 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6709 SAVE_CFLAGS=$CFLAGS
6710 CFLAGS="$CFLAGS -belf"
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6712 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6713 if ${lt_cv_cc_needs_belf+:} false; then :
6714 $as_echo_n "(cached) " >&6
6715 else
6716 ac_ext=c
6717 ac_cpp='$CPP $CPPFLAGS'
6718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6721
6722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6724
6725 int
6726 main ()
6727 {
6728
6729 ;
6730 return 0;
6731 }
6732 _ACEOF
6733 if ac_fn_c_try_link "$LINENO"; then :
6734 lt_cv_cc_needs_belf=yes
6735 else
6736 lt_cv_cc_needs_belf=no
6737 fi
6738 rm -f core conftest.err conftest.$ac_objext \
6739 conftest$ac_exeext conftest.$ac_ext
6740 ac_ext=c
6741 ac_cpp='$CPP $CPPFLAGS'
6742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6745
6746 fi
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6748 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6749 if test yes != "$lt_cv_cc_needs_belf"; then
6750 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6751 CFLAGS=$SAVE_CFLAGS
6752 fi
6753 ;;
6754 *-*solaris*)
6755 # Find out what ABI is being produced by ac_compile, and set linker
6756 # options accordingly.
6757 echo 'int i;' > conftest.$ac_ext
6758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6759 (eval $ac_compile) 2>&5
6760 ac_status=$?
6761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6762 test $ac_status = 0; }; then
6763 case `/usr/bin/file conftest.o` in
6764 *64-bit*)
6765 case $lt_cv_prog_gnu_ld in
6766 yes*)
6767 case $host in
6768 i?86-*-solaris*|x86_64-*-solaris*)
6769 LD="${LD-ld} -m elf_x86_64"
6770 ;;
6771 sparc*-*-solaris*)
6772 LD="${LD-ld} -m elf64_sparc"
6773 ;;
6774 esac
6775 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6776 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6777 LD=${LD-ld}_sol2
6778 fi
6779 ;;
6780 *)
6781 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6782 LD="${LD-ld} -64"
6783 fi
6784 ;;
6785 esac
6786 ;;
6787 esac
6788 fi
6789 rm -rf conftest*
6790 ;;
6791 esac
6792
6793 need_locks=$enable_libtool_lock
6794
6795 if test -n "$ac_tool_prefix"; then
6796 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6797 set dummy ${ac_tool_prefix}mt; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6799 $as_echo_n "checking for $ac_word... " >&6; }
6800 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 if test -n "$MANIFEST_TOOL"; then
6804 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6805 else
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 for as_dir in $PATH
6808 do
6809 IFS=$as_save_IFS
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 break 2
6816 fi
6817 done
6818 done
6819 IFS=$as_save_IFS
6820
6821 fi
6822 fi
6823 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6824 if test -n "$MANIFEST_TOOL"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6826 $as_echo "$MANIFEST_TOOL" >&6; }
6827 else
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829 $as_echo "no" >&6; }
6830 fi
6831
6832
6833 fi
6834 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6835 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6836 # Extract the first word of "mt", so it can be a program name with args.
6837 set dummy mt; ac_word=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839 $as_echo_n "checking for $ac_word... " >&6; }
6840 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6841 $as_echo_n "(cached) " >&6
6842 else
6843 if test -n "$ac_ct_MANIFEST_TOOL"; then
6844 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6848 do
6849 IFS=$as_save_IFS
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 break 2
6856 fi
6857 done
6858 done
6859 IFS=$as_save_IFS
6860
6861 fi
6862 fi
6863 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6864 if test -n "$ac_ct_MANIFEST_TOOL"; then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6866 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6867 else
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 $as_echo "no" >&6; }
6870 fi
6871
6872 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6873 MANIFEST_TOOL=":"
6874 else
6875 case $cross_compiling:$ac_tool_warned in
6876 yes:)
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6879 ac_tool_warned=yes ;;
6880 esac
6881 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6882 fi
6883 else
6884 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6885 fi
6886
6887 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6889 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6890 if ${lt_cv_path_mainfest_tool+:} false; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6893 lt_cv_path_mainfest_tool=no
6894 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6895 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6896 cat conftest.err >&5
6897 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6898 lt_cv_path_mainfest_tool=yes
6899 fi
6900 rm -f conftest*
6901 fi
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6903 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6904 if test yes != "$lt_cv_path_mainfest_tool"; then
6905 MANIFEST_TOOL=:
6906 fi
6907
6908
6909
6910
6911
6912
6913 case $host_os in
6914 rhapsody* | darwin*)
6915 if test -n "$ac_tool_prefix"; then
6916 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6917 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6921 $as_echo_n "(cached) " >&6
6922 else
6923 if test -n "$DSYMUTIL"; then
6924 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6925 else
6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 for as_dir in $PATH
6928 do
6929 IFS=$as_save_IFS
6930 test -z "$as_dir" && as_dir=.
6931 for ac_exec_ext in '' $ac_executable_extensions; do
6932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6933 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 break 2
6936 fi
6937 done
6938 done
6939 IFS=$as_save_IFS
6940
6941 fi
6942 fi
6943 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6944 if test -n "$DSYMUTIL"; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6946 $as_echo "$DSYMUTIL" >&6; }
6947 else
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6949 $as_echo "no" >&6; }
6950 fi
6951
6952
6953 fi
6954 if test -z "$ac_cv_prog_DSYMUTIL"; then
6955 ac_ct_DSYMUTIL=$DSYMUTIL
6956 # Extract the first word of "dsymutil", so it can be a program name with args.
6957 set dummy dsymutil; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 if test -n "$ac_ct_DSYMUTIL"; then
6964 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6968 do
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6976 fi
6977 done
6978 done
6979 IFS=$as_save_IFS
6980
6981 fi
6982 fi
6983 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6984 if test -n "$ac_ct_DSYMUTIL"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6986 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6990 fi
6991
6992 if test "x$ac_ct_DSYMUTIL" = x; then
6993 DSYMUTIL=":"
6994 else
6995 case $cross_compiling:$ac_tool_warned in
6996 yes:)
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6999 ac_tool_warned=yes ;;
7000 esac
7001 DSYMUTIL=$ac_ct_DSYMUTIL
7002 fi
7003 else
7004 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7005 fi
7006
7007 if test -n "$ac_tool_prefix"; then
7008 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7009 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if ${ac_cv_prog_NMEDIT+:} false; then :
7013 $as_echo_n "(cached) " >&6
7014 else
7015 if test -n "$NMEDIT"; then
7016 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7017 else
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 for as_dir in $PATH
7020 do
7021 IFS=$as_save_IFS
7022 test -z "$as_dir" && as_dir=.
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7025 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 break 2
7028 fi
7029 done
7030 done
7031 IFS=$as_save_IFS
7032
7033 fi
7034 fi
7035 NMEDIT=$ac_cv_prog_NMEDIT
7036 if test -n "$NMEDIT"; then
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7038 $as_echo "$NMEDIT" >&6; }
7039 else
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7042 fi
7043
7044
7045 fi
7046 if test -z "$ac_cv_prog_NMEDIT"; then
7047 ac_ct_NMEDIT=$NMEDIT
7048 # Extract the first word of "nmedit", so it can be a program name with args.
7049 set dummy nmedit; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7053 $as_echo_n "(cached) " >&6
7054 else
7055 if test -n "$ac_ct_NMEDIT"; then
7056 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7057 else
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 for as_dir in $PATH
7060 do
7061 IFS=$as_save_IFS
7062 test -z "$as_dir" && as_dir=.
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7065 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 break 2
7068 fi
7069 done
7070 done
7071 IFS=$as_save_IFS
7072
7073 fi
7074 fi
7075 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7076 if test -n "$ac_ct_NMEDIT"; then
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7078 $as_echo "$ac_ct_NMEDIT" >&6; }
7079 else
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 $as_echo "no" >&6; }
7082 fi
7083
7084 if test "x$ac_ct_NMEDIT" = x; then
7085 NMEDIT=":"
7086 else
7087 case $cross_compiling:$ac_tool_warned in
7088 yes:)
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7091 ac_tool_warned=yes ;;
7092 esac
7093 NMEDIT=$ac_ct_NMEDIT
7094 fi
7095 else
7096 NMEDIT="$ac_cv_prog_NMEDIT"
7097 fi
7098
7099 if test -n "$ac_tool_prefix"; then
7100 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7101 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_LIPO+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 if test -n "$LIPO"; then
7108 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7112 do
7113 IFS=$as_save_IFS
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 break 2
7120 fi
7121 done
7122 done
7123 IFS=$as_save_IFS
7124
7125 fi
7126 fi
7127 LIPO=$ac_cv_prog_LIPO
7128 if test -n "$LIPO"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7130 $as_echo "$LIPO" >&6; }
7131 else
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7134 fi
7135
7136
7137 fi
7138 if test -z "$ac_cv_prog_LIPO"; then
7139 ac_ct_LIPO=$LIPO
7140 # Extract the first word of "lipo", so it can be a program name with args.
7141 set dummy lipo; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 $as_echo_n "checking for $ac_word... " >&6; }
7144 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7145 $as_echo_n "(cached) " >&6
7146 else
7147 if test -n "$ac_ct_LIPO"; then
7148 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7149 else
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 for as_dir in $PATH
7152 do
7153 IFS=$as_save_IFS
7154 test -z "$as_dir" && as_dir=.
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_ac_ct_LIPO="lipo"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 break 2
7160 fi
7161 done
7162 done
7163 IFS=$as_save_IFS
7164
7165 fi
7166 fi
7167 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7168 if test -n "$ac_ct_LIPO"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7170 $as_echo "$ac_ct_LIPO" >&6; }
7171 else
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7174 fi
7175
7176 if test "x$ac_ct_LIPO" = x; then
7177 LIPO=":"
7178 else
7179 case $cross_compiling:$ac_tool_warned in
7180 yes:)
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7183 ac_tool_warned=yes ;;
7184 esac
7185 LIPO=$ac_ct_LIPO
7186 fi
7187 else
7188 LIPO="$ac_cv_prog_LIPO"
7189 fi
7190
7191 if test -n "$ac_tool_prefix"; then
7192 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7193 set dummy ${ac_tool_prefix}otool; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if ${ac_cv_prog_OTOOL+:} false; then :
7197 $as_echo_n "(cached) " >&6
7198 else
7199 if test -n "$OTOOL"; then
7200 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7201 else
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 for as_dir in $PATH
7204 do
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7212 fi
7213 done
7214 done
7215 IFS=$as_save_IFS
7216
7217 fi
7218 fi
7219 OTOOL=$ac_cv_prog_OTOOL
7220 if test -n "$OTOOL"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7222 $as_echo "$OTOOL" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228
7229 fi
7230 if test -z "$ac_cv_prog_OTOOL"; then
7231 ac_ct_OTOOL=$OTOOL
7232 # Extract the first word of "otool", so it can be a program name with args.
7233 set dummy otool; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$ac_ct_OTOOL"; then
7240 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_ac_ct_OTOOL="otool"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7252 fi
7253 done
7254 done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7260 if test -n "$ac_ct_OTOOL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7262 $as_echo "$ac_ct_OTOOL" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268 if test "x$ac_ct_OTOOL" = x; then
7269 OTOOL=":"
7270 else
7271 case $cross_compiling:$ac_tool_warned in
7272 yes:)
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7275 ac_tool_warned=yes ;;
7276 esac
7277 OTOOL=$ac_ct_OTOOL
7278 fi
7279 else
7280 OTOOL="$ac_cv_prog_OTOOL"
7281 fi
7282
7283 if test -n "$ac_tool_prefix"; then
7284 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7285 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_OTOOL64+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$OTOOL64"; then
7292 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7296 do
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7304 fi
7305 done
7306 done
7307 IFS=$as_save_IFS
7308
7309 fi
7310 fi
7311 OTOOL64=$ac_cv_prog_OTOOL64
7312 if test -n "$OTOOL64"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7314 $as_echo "$OTOOL64" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7318 fi
7319
7320
7321 fi
7322 if test -z "$ac_cv_prog_OTOOL64"; then
7323 ac_ct_OTOOL64=$OTOOL64
7324 # Extract the first word of "otool64", so it can be a program name with args.
7325 set dummy otool64; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$ac_ct_OTOOL64"; then
7332 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7336 do
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_ac_ct_OTOOL64="otool64"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7344 fi
7345 done
7346 done
7347 IFS=$as_save_IFS
7348
7349 fi
7350 fi
7351 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7352 if test -n "$ac_ct_OTOOL64"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7354 $as_echo "$ac_ct_OTOOL64" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7358 fi
7359
7360 if test "x$ac_ct_OTOOL64" = x; then
7361 OTOOL64=":"
7362 else
7363 case $cross_compiling:$ac_tool_warned in
7364 yes:)
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7367 ac_tool_warned=yes ;;
7368 esac
7369 OTOOL64=$ac_ct_OTOOL64
7370 fi
7371 else
7372 OTOOL64="$ac_cv_prog_OTOOL64"
7373 fi
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7402 $as_echo_n "checking for -single_module linker flag... " >&6; }
7403 if ${lt_cv_apple_cc_single_mod+:} false; then :
7404 $as_echo_n "(cached) " >&6
7405 else
7406 lt_cv_apple_cc_single_mod=no
7407 if test -z "$LT_MULTI_MODULE"; then
7408 # By default we will add the -single_module flag. You can override
7409 # by either setting the environment variable LT_MULTI_MODULE
7410 # non-empty at configure time, or by adding -multi_module to the
7411 # link flags.
7412 rm -rf libconftest.dylib*
7413 echo "int foo(void){return 1;}" > conftest.c
7414 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7415 -dynamiclib -Wl,-single_module conftest.c" >&5
7416 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7417 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7418 _lt_result=$?
7419 # If there is a non-empty error log, and "single_module"
7420 # appears in it, assume the flag caused a linker warning
7421 if test -s conftest.err && $GREP single_module conftest.err; then
7422 cat conftest.err >&5
7423 # Otherwise, if the output was created with a 0 exit code from
7424 # the compiler, it worked.
7425 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7426 lt_cv_apple_cc_single_mod=yes
7427 else
7428 cat conftest.err >&5
7429 fi
7430 rm -rf libconftest.dylib*
7431 rm -f conftest.*
7432 fi
7433 fi
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7435 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7436
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7438 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7439 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 lt_cv_ld_exported_symbols_list=no
7443 save_LDFLAGS=$LDFLAGS
7444 echo "_main" > conftest.sym
7445 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h. */
7448
7449 int
7450 main ()
7451 {
7452
7453 ;
7454 return 0;
7455 }
7456 _ACEOF
7457 if ac_fn_c_try_link "$LINENO"; then :
7458 lt_cv_ld_exported_symbols_list=yes
7459 else
7460 lt_cv_ld_exported_symbols_list=no
7461 fi
7462 rm -f core conftest.err conftest.$ac_objext \
7463 conftest$ac_exeext conftest.$ac_ext
7464 LDFLAGS=$save_LDFLAGS
7465
7466 fi
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7468 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7469
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7471 $as_echo_n "checking for -force_load linker flag... " >&6; }
7472 if ${lt_cv_ld_force_load+:} false; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 lt_cv_ld_force_load=no
7476 cat > conftest.c << _LT_EOF
7477 int forced_loaded() { return 2;}
7478 _LT_EOF
7479 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7480 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7481 echo "$AR cru libconftest.a conftest.o" >&5
7482 $AR cru libconftest.a conftest.o 2>&5
7483 echo "$RANLIB libconftest.a" >&5
7484 $RANLIB libconftest.a 2>&5
7485 cat > conftest.c << _LT_EOF
7486 int main() { return 0;}
7487 _LT_EOF
7488 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7489 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7490 _lt_result=$?
7491 if test -s conftest.err && $GREP force_load conftest.err; then
7492 cat conftest.err >&5
7493 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7494 lt_cv_ld_force_load=yes
7495 else
7496 cat conftest.err >&5
7497 fi
7498 rm -f conftest.err libconftest.a conftest conftest.c
7499 rm -rf conftest.dSYM
7500
7501 fi
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7503 $as_echo "$lt_cv_ld_force_load" >&6; }
7504 case $host_os in
7505 rhapsody* | darwin1.[012])
7506 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7507 darwin1.*)
7508 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7509 darwin*) # darwin 5.x on
7510 # if running on 10.5 or later, the deployment target defaults
7511 # to the OS version, if on x86, and 10.4, the deployment
7512 # target defaults to 10.4. Don't you love it?
7513 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7514 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7515 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7516 10.[012][,.]*)
7517 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7518 10.*)
7519 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7520 esac
7521 ;;
7522 esac
7523 if test yes = "$lt_cv_apple_cc_single_mod"; then
7524 _lt_dar_single_mod='$single_module'
7525 fi
7526 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7527 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7528 else
7529 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7530 fi
7531 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7532 _lt_dsymutil='~$DSYMUTIL $lib || :'
7533 else
7534 _lt_dsymutil=
7535 fi
7536 ;;
7537 esac
7538
7539 # func_munge_path_list VARIABLE PATH
7540 # -----------------------------------
7541 # VARIABLE is name of variable containing _space_ separated list of
7542 # directories to be munged by the contents of PATH, which is string
7543 # having a format:
7544 # "DIR[:DIR]:"
7545 # string "DIR[ DIR]" will be prepended to VARIABLE
7546 # ":DIR[:DIR]"
7547 # string "DIR[ DIR]" will be appended to VARIABLE
7548 # "DIRP[:DIRP]::[DIRA:]DIRA"
7549 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7550 # "DIRA[ DIRA]" will be appended to VARIABLE
7551 # "DIR[:DIR]"
7552 # VARIABLE will be replaced by "DIR[ DIR]"
7553 func_munge_path_list ()
7554 {
7555 case x$2 in
7556 x)
7557 ;;
7558 *:)
7559 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7560 ;;
7561 x:*)
7562 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7563 ;;
7564 *::*)
7565 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7566 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7567 ;;
7568 *)
7569 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7570 ;;
7571 esac
7572 }
7573
7574 ac_ext=c
7575 ac_cpp='$CPP $CPPFLAGS'
7576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7580 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7581 # On Suns, sometimes $CPP names a directory.
7582 if test -n "$CPP" && test -d "$CPP"; then
7583 CPP=
7584 fi
7585 if test -z "$CPP"; then
7586 if ${ac_cv_prog_CPP+:} false; then :
7587 $as_echo_n "(cached) " >&6
7588 else
7589 # Double quotes because CPP needs to be expanded
7590 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7591 do
7592 ac_preproc_ok=false
7593 for ac_c_preproc_warn_flag in '' yes
7594 do
7595 # Use a header file that comes with gcc, so configuring glibc
7596 # with a fresh cross-compiler works.
7597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7598 # <limits.h> exists even on freestanding compilers.
7599 # On the NeXT, cc -E runs the code through the compiler's parser,
7600 # not just through cpp. "Syntax error" is here to catch this case.
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #ifdef __STDC__
7604 # include <limits.h>
7605 #else
7606 # include <assert.h>
7607 #endif
7608 Syntax error
7609 _ACEOF
7610 if ac_fn_c_try_cpp "$LINENO"; then :
7611
7612 else
7613 # Broken: fails on valid input.
7614 continue
7615 fi
7616 rm -f conftest.err conftest.i conftest.$ac_ext
7617
7618 # OK, works on sane cases. Now check whether nonexistent headers
7619 # can be detected and how.
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7622 #include <ac_nonexistent.h>
7623 _ACEOF
7624 if ac_fn_c_try_cpp "$LINENO"; then :
7625 # Broken: success on invalid input.
7626 continue
7627 else
7628 # Passes both tests.
7629 ac_preproc_ok=:
7630 break
7631 fi
7632 rm -f conftest.err conftest.i conftest.$ac_ext
7633
7634 done
7635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7636 rm -f conftest.i conftest.err conftest.$ac_ext
7637 if $ac_preproc_ok; then :
7638 break
7639 fi
7640
7641 done
7642 ac_cv_prog_CPP=$CPP
7643
7644 fi
7645 CPP=$ac_cv_prog_CPP
7646 else
7647 ac_cv_prog_CPP=$CPP
7648 fi
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7650 $as_echo "$CPP" >&6; }
7651 ac_preproc_ok=false
7652 for ac_c_preproc_warn_flag in '' yes
7653 do
7654 # Use a header file that comes with gcc, so configuring glibc
7655 # with a fresh cross-compiler works.
7656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7657 # <limits.h> exists even on freestanding compilers.
7658 # On the NeXT, cc -E runs the code through the compiler's parser,
7659 # not just through cpp. "Syntax error" is here to catch this case.
7660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7661 /* end confdefs.h. */
7662 #ifdef __STDC__
7663 # include <limits.h>
7664 #else
7665 # include <assert.h>
7666 #endif
7667 Syntax error
7668 _ACEOF
7669 if ac_fn_c_try_cpp "$LINENO"; then :
7670
7671 else
7672 # Broken: fails on valid input.
7673 continue
7674 fi
7675 rm -f conftest.err conftest.i conftest.$ac_ext
7676
7677 # OK, works on sane cases. Now check whether nonexistent headers
7678 # can be detected and how.
7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7681 #include <ac_nonexistent.h>
7682 _ACEOF
7683 if ac_fn_c_try_cpp "$LINENO"; then :
7684 # Broken: success on invalid input.
7685 continue
7686 else
7687 # Passes both tests.
7688 ac_preproc_ok=:
7689 break
7690 fi
7691 rm -f conftest.err conftest.i conftest.$ac_ext
7692
7693 done
7694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7695 rm -f conftest.i conftest.err conftest.$ac_ext
7696 if $ac_preproc_ok; then :
7697
7698 else
7699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7701 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7702 See \`config.log' for more details" "$LINENO" 5; }
7703 fi
7704
7705 ac_ext=c
7706 ac_cpp='$CPP $CPPFLAGS'
7707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7710
7711
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7713 $as_echo_n "checking for ANSI C header files... " >&6; }
7714 if ${ac_cv_header_stdc+:} false; then :
7715 $as_echo_n "(cached) " >&6
7716 else
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <stdlib.h>
7720 #include <stdarg.h>
7721 #include <string.h>
7722 #include <float.h>
7723
7724 int
7725 main ()
7726 {
7727
7728 ;
7729 return 0;
7730 }
7731 _ACEOF
7732 if ac_fn_c_try_compile "$LINENO"; then :
7733 ac_cv_header_stdc=yes
7734 else
7735 ac_cv_header_stdc=no
7736 fi
7737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738
7739 if test $ac_cv_header_stdc = yes; then
7740 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #include <string.h>
7744
7745 _ACEOF
7746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7747 $EGREP "memchr" >/dev/null 2>&1; then :
7748
7749 else
7750 ac_cv_header_stdc=no
7751 fi
7752 rm -f conftest*
7753
7754 fi
7755
7756 if test $ac_cv_header_stdc = yes; then
7757 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <stdlib.h>
7761
7762 _ACEOF
7763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7764 $EGREP "free" >/dev/null 2>&1; then :
7765
7766 else
7767 ac_cv_header_stdc=no
7768 fi
7769 rm -f conftest*
7770
7771 fi
7772
7773 if test $ac_cv_header_stdc = yes; then
7774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7775 if test "$cross_compiling" = yes; then :
7776 :
7777 else
7778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7780 #include <ctype.h>
7781 #include <stdlib.h>
7782 #if ((' ' & 0x0FF) == 0x020)
7783 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7784 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7785 #else
7786 # define ISLOWER(c) \
7787 (('a' <= (c) && (c) <= 'i') \
7788 || ('j' <= (c) && (c) <= 'r') \
7789 || ('s' <= (c) && (c) <= 'z'))
7790 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7791 #endif
7792
7793 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7794 int
7795 main ()
7796 {
7797 int i;
7798 for (i = 0; i < 256; i++)
7799 if (XOR (islower (i), ISLOWER (i))
7800 || toupper (i) != TOUPPER (i))
7801 return 2;
7802 return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_run "$LINENO"; then :
7806
7807 else
7808 ac_cv_header_stdc=no
7809 fi
7810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7811 conftest.$ac_objext conftest.beam conftest.$ac_ext
7812 fi
7813
7814 fi
7815 fi
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7817 $as_echo "$ac_cv_header_stdc" >&6; }
7818 if test $ac_cv_header_stdc = yes; then
7819
7820 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7821
7822 fi
7823
7824 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7825 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7826 inttypes.h stdint.h unistd.h
7827 do :
7828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7829 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7830 "
7831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7832 cat >>confdefs.h <<_ACEOF
7833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7834 _ACEOF
7835
7836 fi
7837
7838 done
7839
7840
7841 for ac_header in dlfcn.h
7842 do :
7843 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7844 "
7845 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_DLFCN_H 1
7848 _ACEOF
7849
7850 fi
7851
7852 done
7853
7854
7855
7856
7857
7858 # Set options
7859
7860
7861
7862 enable_dlopen=no
7863
7864
7865 enable_win32_dll=no
7866
7867
7868 # Check whether --enable-shared was given.
7869 if test "${enable_shared+set}" = set; then :
7870 enableval=$enable_shared; p=${PACKAGE-default}
7871 case $enableval in
7872 yes) enable_shared=yes ;;
7873 no) enable_shared=no ;;
7874 *)
7875 enable_shared=no
7876 # Look at the argument we got. We use all the common list separators.
7877 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7878 for pkg in $enableval; do
7879 IFS=$lt_save_ifs
7880 if test "X$pkg" = "X$p"; then
7881 enable_shared=yes
7882 fi
7883 done
7884 IFS=$lt_save_ifs
7885 ;;
7886 esac
7887 else
7888 enable_shared=yes
7889 fi
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901 # Check whether --with-pic was given.
7902 if test "${with_pic+set}" = set; then :
7903 withval=$with_pic; lt_p=${PACKAGE-default}
7904 case $withval in
7905 yes|no) pic_mode=$withval ;;
7906 *)
7907 pic_mode=default
7908 # Look at the argument we got. We use all the common list separators.
7909 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7910 for lt_pkg in $withval; do
7911 IFS=$lt_save_ifs
7912 if test "X$lt_pkg" = "X$lt_p"; then
7913 pic_mode=yes
7914 fi
7915 done
7916 IFS=$lt_save_ifs
7917 ;;
7918 esac
7919 else
7920 pic_mode=default
7921 fi
7922
7923
7924
7925
7926
7927
7928
7929
7930 # Check whether --enable-fast-install was given.
7931 if test "${enable_fast_install+set}" = set; then :
7932 enableval=$enable_fast_install; p=${PACKAGE-default}
7933 case $enableval in
7934 yes) enable_fast_install=yes ;;
7935 no) enable_fast_install=no ;;
7936 *)
7937 enable_fast_install=no
7938 # Look at the argument we got. We use all the common list separators.
7939 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7940 for pkg in $enableval; do
7941 IFS=$lt_save_ifs
7942 if test "X$pkg" = "X$p"; then
7943 enable_fast_install=yes
7944 fi
7945 done
7946 IFS=$lt_save_ifs
7947 ;;
7948 esac
7949 else
7950 enable_fast_install=yes
7951 fi
7952
7953
7954
7955
7956
7957
7958
7959
7960 shared_archive_member_spec=
7961 case $host,$enable_shared in
7962 power*-*-aix[5-9]*,yes)
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7964 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7965
7966 # Check whether --with-aix-soname was given.
7967 if test "${with_aix_soname+set}" = set; then :
7968 withval=$with_aix_soname; case $withval in
7969 aix|svr4|both)
7970 ;;
7971 *)
7972 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7973 ;;
7974 esac
7975 lt_cv_with_aix_soname=$with_aix_soname
7976 else
7977 if ${lt_cv_with_aix_soname+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 lt_cv_with_aix_soname=aix
7981 fi
7982
7983 with_aix_soname=$lt_cv_with_aix_soname
7984 fi
7985
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7987 $as_echo "$with_aix_soname" >&6; }
7988 if test aix != "$with_aix_soname"; then
7989 # For the AIX way of multilib, we name the shared archive member
7990 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7991 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7992 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7993 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7994 if test 64 = "${OBJECT_MODE-32}"; then
7995 shared_archive_member_spec=shr_64
7996 else
7997 shared_archive_member_spec=shr
7998 fi
7999 fi
8000 ;;
8001 *)
8002 with_aix_soname=aix
8003 ;;
8004 esac
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015 # This can be used to rebuild libtool when needed
8016 LIBTOOL_DEPS=$ltmain
8017
8018 # Always use our own libtool.
8019 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050 test -z "$LN_S" && LN_S="ln -s"
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065 if test -n "${ZSH_VERSION+set}"; then
8066 setopt NO_GLOB_SUBST
8067 fi
8068
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8070 $as_echo_n "checking for objdir... " >&6; }
8071 if ${lt_cv_objdir+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 rm -f .libs 2>/dev/null
8075 mkdir .libs 2>/dev/null
8076 if test -d .libs; then
8077 lt_cv_objdir=.libs
8078 else
8079 # MS-DOS does not allow filenames that begin with a dot.
8080 lt_cv_objdir=_libs
8081 fi
8082 rmdir .libs 2>/dev/null
8083 fi
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8085 $as_echo "$lt_cv_objdir" >&6; }
8086 objdir=$lt_cv_objdir
8087
8088
8089
8090
8091
8092 cat >>confdefs.h <<_ACEOF
8093 #define LT_OBJDIR "$lt_cv_objdir/"
8094 _ACEOF
8095
8096
8097
8098
8099 case $host_os in
8100 aix3*)
8101 # AIX sometimes has problems with the GCC collect2 program. For some
8102 # reason, if we set the COLLECT_NAMES environment variable, the problems
8103 # vanish in a puff of smoke.
8104 if test set != "${COLLECT_NAMES+set}"; then
8105 COLLECT_NAMES=
8106 export COLLECT_NAMES
8107 fi
8108 ;;
8109 esac
8110
8111 # Global variables:
8112 ofile=libtool
8113 can_build_shared=yes
8114
8115 # All known linkers require a '.a' archive for static linking (except MSVC,
8116 # which needs '.lib').
8117 libext=a
8118
8119 with_gnu_ld=$lt_cv_prog_gnu_ld
8120
8121 old_CC=$CC
8122 old_CFLAGS=$CFLAGS
8123
8124 # Set sane defaults for various variables
8125 test -z "$CC" && CC=cc
8126 test -z "$LTCC" && LTCC=$CC
8127 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8128 test -z "$LD" && LD=ld
8129 test -z "$ac_objext" && ac_objext=o
8130
8131 func_cc_basename $compiler
8132 cc_basename=$func_cc_basename_result
8133
8134
8135 # Only perform the check for file, if the check method requires it
8136 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8137 case $deplibs_check_method in
8138 file_magic*)
8139 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8141 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8142 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 case $MAGIC_CMD in
8146 [\\/*] | ?:[\\/]*)
8147 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8148 ;;
8149 *)
8150 lt_save_MAGIC_CMD=$MAGIC_CMD
8151 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8152 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8153 for ac_dir in $ac_dummy; do
8154 IFS=$lt_save_ifs
8155 test -z "$ac_dir" && ac_dir=.
8156 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8157 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8158 if test -n "$file_magic_test_file"; then
8159 case $deplibs_check_method in
8160 "file_magic "*)
8161 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8162 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8164 $EGREP "$file_magic_regex" > /dev/null; then
8165 :
8166 else
8167 cat <<_LT_EOF 1>&2
8168
8169 *** Warning: the command libtool uses to detect shared libraries,
8170 *** $file_magic_cmd, produces output that libtool cannot recognize.
8171 *** The result is that libtool may fail to recognize shared libraries
8172 *** as such. This will affect the creation of libtool libraries that
8173 *** depend on shared libraries, but programs linked with such libtool
8174 *** libraries will work regardless of this problem. Nevertheless, you
8175 *** may want to report the problem to your system manager and/or to
8176 *** [email protected]
8177
8178 _LT_EOF
8179 fi ;;
8180 esac
8181 fi
8182 break
8183 fi
8184 done
8185 IFS=$lt_save_ifs
8186 MAGIC_CMD=$lt_save_MAGIC_CMD
8187 ;;
8188 esac
8189 fi
8190
8191 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8192 if test -n "$MAGIC_CMD"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8194 $as_echo "$MAGIC_CMD" >&6; }
8195 else
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8198 fi
8199
8200
8201
8202
8203
8204 if test -z "$lt_cv_path_MAGIC_CMD"; then
8205 if test -n "$ac_tool_prefix"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8207 $as_echo_n "checking for file... " >&6; }
8208 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 case $MAGIC_CMD in
8212 [\\/*] | ?:[\\/]*)
8213 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8214 ;;
8215 *)
8216 lt_save_MAGIC_CMD=$MAGIC_CMD
8217 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8218 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8219 for ac_dir in $ac_dummy; do
8220 IFS=$lt_save_ifs
8221 test -z "$ac_dir" && ac_dir=.
8222 if test -f "$ac_dir/file"; then
8223 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8224 if test -n "$file_magic_test_file"; then
8225 case $deplibs_check_method in
8226 "file_magic "*)
8227 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8228 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8229 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8230 $EGREP "$file_magic_regex" > /dev/null; then
8231 :
8232 else
8233 cat <<_LT_EOF 1>&2
8234
8235 *** Warning: the command libtool uses to detect shared libraries,
8236 *** $file_magic_cmd, produces output that libtool cannot recognize.
8237 *** The result is that libtool may fail to recognize shared libraries
8238 *** as such. This will affect the creation of libtool libraries that
8239 *** depend on shared libraries, but programs linked with such libtool
8240 *** libraries will work regardless of this problem. Nevertheless, you
8241 *** may want to report the problem to your system manager and/or to
8242 *** [email protected]
8243
8244 _LT_EOF
8245 fi ;;
8246 esac
8247 fi
8248 break
8249 fi
8250 done
8251 IFS=$lt_save_ifs
8252 MAGIC_CMD=$lt_save_MAGIC_CMD
8253 ;;
8254 esac
8255 fi
8256
8257 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8258 if test -n "$MAGIC_CMD"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8260 $as_echo "$MAGIC_CMD" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8264 fi
8265
8266
8267 else
8268 MAGIC_CMD=:
8269 fi
8270 fi
8271
8272 fi
8273 ;;
8274 esac
8275
8276 # Use C for the default configuration in the libtool script
8277
8278 lt_save_CC=$CC
8279 ac_ext=c
8280 ac_cpp='$CPP $CPPFLAGS'
8281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8284
8285
8286 # Source file extension for C test sources.
8287 ac_ext=c
8288
8289 # Object file extension for compiled C test sources.
8290 objext=o
8291 objext=$objext
8292
8293 # Code to be used in simple compile tests
8294 lt_simple_compile_test_code="int some_variable = 0;"
8295
8296 # Code to be used in simple link tests
8297 lt_simple_link_test_code='int main(){return(0);}'
8298
8299
8300
8301
8302
8303
8304
8305 # If no C compiler was specified, use CC.
8306 LTCC=${LTCC-"$CC"}
8307
8308 # If no C compiler flags were specified, use CFLAGS.
8309 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8310
8311 # Allow CC to be a program name with arguments.
8312 compiler=$CC
8313
8314 # Save the default compiler, since it gets overwritten when the other
8315 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8316 compiler_DEFAULT=$CC
8317
8318 # save warnings/boilerplate of simple test code
8319 ac_outfile=conftest.$ac_objext
8320 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8321 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8322 _lt_compiler_boilerplate=`cat conftest.err`
8323 $RM conftest*
8324
8325 ac_outfile=conftest.$ac_objext
8326 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8327 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8328 _lt_linker_boilerplate=`cat conftest.err`
8329 $RM -r conftest*
8330
8331
8332 ## CAVEAT EMPTOR:
8333 ## There is no encapsulation within the following macros, do not change
8334 ## the running order or otherwise move them around unless you know exactly
8335 ## what you are doing...
8336 if test -n "$compiler"; then
8337
8338 lt_prog_compiler_no_builtin_flag=
8339
8340 if test yes = "$GCC"; then
8341 case $cc_basename in
8342 nvcc*)
8343 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8344 *)
8345 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8346 esac
8347
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8349 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8350 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 lt_cv_prog_compiler_rtti_exceptions=no
8354 ac_outfile=conftest.$ac_objext
8355 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8356 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8357 # Insert the option either (1) after the last *FLAGS variable, or
8358 # (2) before a word containing "conftest.", or (3) at the end.
8359 # Note that $ac_compile itself does not contain backslashes and begins
8360 # with a dollar sign (not a hyphen), so the echo should work correctly.
8361 # The option is referenced via a variable to avoid confusing sed.
8362 lt_compile=`echo "$ac_compile" | $SED \
8363 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8364 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8365 -e 's:$: $lt_compiler_flag:'`
8366 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8367 (eval "$lt_compile" 2>conftest.err)
8368 ac_status=$?
8369 cat conftest.err >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 if (exit $ac_status) && test -s "$ac_outfile"; then
8372 # The compiler can only warn and ignore the option if not recognized
8373 # So say no if there are warnings other than the usual output.
8374 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8375 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8376 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8377 lt_cv_prog_compiler_rtti_exceptions=yes
8378 fi
8379 fi
8380 $RM conftest*
8381
8382 fi
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8384 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8385
8386 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8387 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8388 else
8389 :
8390 fi
8391
8392 fi
8393
8394
8395
8396
8397
8398
8399 lt_prog_compiler_wl=
8400 lt_prog_compiler_pic=
8401 lt_prog_compiler_static=
8402
8403
8404 if test yes = "$GCC"; then
8405 lt_prog_compiler_wl='-Wl,'
8406 lt_prog_compiler_static='-static'
8407
8408 case $host_os in
8409 aix*)
8410 # All AIX code is PIC.
8411 if test ia64 = "$host_cpu"; then
8412 # AIX 5 now supports IA64 processor
8413 lt_prog_compiler_static='-Bstatic'
8414 fi
8415 lt_prog_compiler_pic='-fPIC'
8416 ;;
8417
8418 amigaos*)
8419 case $host_cpu in
8420 powerpc)
8421 # see comment about AmigaOS4 .so support
8422 lt_prog_compiler_pic='-fPIC'
8423 ;;
8424 m68k)
8425 # FIXME: we need at least 68020 code to build shared libraries, but
8426 # adding the '-m68020' flag to GCC prevents building anything better,
8427 # like '-m68040'.
8428 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8429 ;;
8430 esac
8431 ;;
8432
8433 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8434 # PIC is the default for these OSes.
8435 ;;
8436
8437 mingw* | cygwin* | pw32* | os2* | cegcc*)
8438 # This hack is so that the source file can tell whether it is being
8439 # built for inclusion in a dll (and should export symbols for example).
8440 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8441 # (--disable-auto-import) libraries
8442 lt_prog_compiler_pic='-DDLL_EXPORT'
8443 case $host_os in
8444 os2*)
8445 lt_prog_compiler_static='$wl-static'
8446 ;;
8447 esac
8448 ;;
8449
8450 darwin* | rhapsody*)
8451 # PIC is the default on this platform
8452 # Common symbols not allowed in MH_DYLIB files
8453 lt_prog_compiler_pic='-fno-common'
8454 ;;
8455
8456 haiku*)
8457 # PIC is the default for Haiku.
8458 # The "-static" flag exists, but is broken.
8459 lt_prog_compiler_static=
8460 ;;
8461
8462 hpux*)
8463 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8464 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8465 # sets the default TLS model and affects inlining.
8466 case $host_cpu in
8467 hppa*64*)
8468 # +Z the default
8469 ;;
8470 *)
8471 lt_prog_compiler_pic='-fPIC'
8472 ;;
8473 esac
8474 ;;
8475
8476 interix[3-9]*)
8477 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8478 # Instead, we relocate shared libraries at runtime.
8479 ;;
8480
8481 msdosdjgpp*)
8482 # Just because we use GCC doesn't mean we suddenly get shared libraries
8483 # on systems that don't support them.
8484 lt_prog_compiler_can_build_shared=no
8485 enable_shared=no
8486 ;;
8487
8488 *nto* | *qnx*)
8489 # QNX uses GNU C++, but need to define -shared option too, otherwise
8490 # it will coredump.
8491 lt_prog_compiler_pic='-fPIC -shared'
8492 ;;
8493
8494 sysv4*MP*)
8495 if test -d /usr/nec; then
8496 lt_prog_compiler_pic=-Kconform_pic
8497 fi
8498 ;;
8499
8500 *)
8501 lt_prog_compiler_pic='-fPIC'
8502 ;;
8503 esac
8504
8505 case $cc_basename in
8506 nvcc*) # Cuda Compiler Driver 2.2
8507 lt_prog_compiler_wl='-Xlinker '
8508 if test -n "$lt_prog_compiler_pic"; then
8509 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8510 fi
8511 ;;
8512 esac
8513 else
8514 # PORTME Check for flag to pass linker flags through the system compiler.
8515 case $host_os in
8516 aix*)
8517 lt_prog_compiler_wl='-Wl,'
8518 if test ia64 = "$host_cpu"; then
8519 # AIX 5 now supports IA64 processor
8520 lt_prog_compiler_static='-Bstatic'
8521 else
8522 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8523 fi
8524 ;;
8525
8526 darwin* | rhapsody*)
8527 # PIC is the default on this platform
8528 # Common symbols not allowed in MH_DYLIB files
8529 lt_prog_compiler_pic='-fno-common'
8530 case $cc_basename in
8531 nagfor*)
8532 # NAG Fortran compiler
8533 lt_prog_compiler_wl='-Wl,-Wl,,'
8534 lt_prog_compiler_pic='-PIC'
8535 lt_prog_compiler_static='-Bstatic'
8536 ;;
8537 esac
8538 ;;
8539
8540 mingw* | cygwin* | pw32* | os2* | cegcc*)
8541 # This hack is so that the source file can tell whether it is being
8542 # built for inclusion in a dll (and should export symbols for example).
8543 lt_prog_compiler_pic='-DDLL_EXPORT'
8544 case $host_os in
8545 os2*)
8546 lt_prog_compiler_static='$wl-static'
8547 ;;
8548 esac
8549 ;;
8550
8551 hpux9* | hpux10* | hpux11*)
8552 lt_prog_compiler_wl='-Wl,'
8553 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8554 # not for PA HP-UX.
8555 case $host_cpu in
8556 hppa*64*|ia64*)
8557 # +Z the default
8558 ;;
8559 *)
8560 lt_prog_compiler_pic='+Z'
8561 ;;
8562 esac
8563 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8564 lt_prog_compiler_static='$wl-a ${wl}archive'
8565 ;;
8566
8567 irix5* | irix6* | nonstopux*)
8568 lt_prog_compiler_wl='-Wl,'
8569 # PIC (with -KPIC) is the default.
8570 lt_prog_compiler_static='-non_shared'
8571 ;;
8572
8573 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8574 case $cc_basename in
8575 # old Intel for x86_64, which still supported -KPIC.
8576 ecc*)
8577 lt_prog_compiler_wl='-Wl,'
8578 lt_prog_compiler_pic='-KPIC'
8579 lt_prog_compiler_static='-static'
8580 ;;
8581 # icc used to be incompatible with GCC.
8582 # ICC 10 doesn't accept -KPIC any more.
8583 icc* | ifort*)
8584 lt_prog_compiler_wl='-Wl,'
8585 lt_prog_compiler_pic='-fPIC'
8586 lt_prog_compiler_static='-static'
8587 ;;
8588 # Lahey Fortran 8.1.
8589 lf95*)
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='--shared'
8592 lt_prog_compiler_static='--static'
8593 ;;
8594 nagfor*)
8595 # NAG Fortran compiler
8596 lt_prog_compiler_wl='-Wl,-Wl,,'
8597 lt_prog_compiler_pic='-PIC'
8598 lt_prog_compiler_static='-Bstatic'
8599 ;;
8600 tcc*)
8601 # Fabrice Bellard et al's Tiny C Compiler
8602 lt_prog_compiler_wl='-Wl,'
8603 lt_prog_compiler_pic='-fPIC'
8604 lt_prog_compiler_static='-static'
8605 ;;
8606 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8607 # Portland Group compilers (*not* the Pentium gcc compiler,
8608 # which looks to be a dead project)
8609 lt_prog_compiler_wl='-Wl,'
8610 lt_prog_compiler_pic='-fpic'
8611 lt_prog_compiler_static='-Bstatic'
8612 ;;
8613 ccc*)
8614 lt_prog_compiler_wl='-Wl,'
8615 # All Alpha code is PIC.
8616 lt_prog_compiler_static='-non_shared'
8617 ;;
8618 xl* | bgxl* | bgf* | mpixl*)
8619 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8620 lt_prog_compiler_wl='-Wl,'
8621 lt_prog_compiler_pic='-qpic'
8622 lt_prog_compiler_static='-qstaticlink'
8623 ;;
8624 *)
8625 case `$CC -V 2>&1 | sed 5q` in
8626 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8627 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8628 lt_prog_compiler_pic='-KPIC'
8629 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_wl=''
8631 ;;
8632 *Sun\ F* | *Sun*Fortran*)
8633 lt_prog_compiler_pic='-KPIC'
8634 lt_prog_compiler_static='-Bstatic'
8635 lt_prog_compiler_wl='-Qoption ld '
8636 ;;
8637 *Sun\ C*)
8638 # Sun C 5.9
8639 lt_prog_compiler_pic='-KPIC'
8640 lt_prog_compiler_static='-Bstatic'
8641 lt_prog_compiler_wl='-Wl,'
8642 ;;
8643 *Intel*\ [CF]*Compiler*)
8644 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_pic='-fPIC'
8646 lt_prog_compiler_static='-static'
8647 ;;
8648 *Portland\ Group*)
8649 lt_prog_compiler_wl='-Wl,'
8650 lt_prog_compiler_pic='-fpic'
8651 lt_prog_compiler_static='-Bstatic'
8652 ;;
8653 esac
8654 ;;
8655 esac
8656 ;;
8657
8658 newsos6)
8659 lt_prog_compiler_pic='-KPIC'
8660 lt_prog_compiler_static='-Bstatic'
8661 ;;
8662
8663 *nto* | *qnx*)
8664 # QNX uses GNU C++, but need to define -shared option too, otherwise
8665 # it will coredump.
8666 lt_prog_compiler_pic='-fPIC -shared'
8667 ;;
8668
8669 osf3* | osf4* | osf5*)
8670 lt_prog_compiler_wl='-Wl,'
8671 # All OSF/1 code is PIC.
8672 lt_prog_compiler_static='-non_shared'
8673 ;;
8674
8675 rdos*)
8676 lt_prog_compiler_static='-non_shared'
8677 ;;
8678
8679 solaris*)
8680 lt_prog_compiler_pic='-KPIC'
8681 lt_prog_compiler_static='-Bstatic'
8682 case $cc_basename in
8683 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8684 lt_prog_compiler_wl='-Qoption ld ';;
8685 *)
8686 lt_prog_compiler_wl='-Wl,';;
8687 esac
8688 ;;
8689
8690 sunos4*)
8691 lt_prog_compiler_wl='-Qoption ld '
8692 lt_prog_compiler_pic='-PIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 ;;
8695
8696 sysv4 | sysv4.2uw2* | sysv4.3*)
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 ;;
8701
8702 sysv4*MP*)
8703 if test -d /usr/nec; then
8704 lt_prog_compiler_pic='-Kconform_pic'
8705 lt_prog_compiler_static='-Bstatic'
8706 fi
8707 ;;
8708
8709 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 ;;
8714
8715 unicos*)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_can_build_shared=no
8718 ;;
8719
8720 uts4*)
8721 lt_prog_compiler_pic='-pic'
8722 lt_prog_compiler_static='-Bstatic'
8723 ;;
8724
8725 *)
8726 lt_prog_compiler_can_build_shared=no
8727 ;;
8728 esac
8729 fi
8730
8731 case $host_os in
8732 # For platforms that do not support PIC, -DPIC is meaningless:
8733 *djgpp*)
8734 lt_prog_compiler_pic=
8735 ;;
8736 *)
8737 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8738 ;;
8739 esac
8740
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8742 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8743 if ${lt_cv_prog_compiler_pic+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8747 fi
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8749 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8750 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8751
8752 #
8753 # Check to make sure the PIC flag actually works.
8754 #
8755 if test -n "$lt_prog_compiler_pic"; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8757 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8758 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 lt_cv_prog_compiler_pic_works=no
8762 ac_outfile=conftest.$ac_objext
8763 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8764 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8765 # Insert the option either (1) after the last *FLAGS variable, or
8766 # (2) before a word containing "conftest.", or (3) at the end.
8767 # Note that $ac_compile itself does not contain backslashes and begins
8768 # with a dollar sign (not a hyphen), so the echo should work correctly.
8769 # The option is referenced via a variable to avoid confusing sed.
8770 lt_compile=`echo "$ac_compile" | $SED \
8771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8773 -e 's:$: $lt_compiler_flag:'`
8774 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8775 (eval "$lt_compile" 2>conftest.err)
8776 ac_status=$?
8777 cat conftest.err >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 if (exit $ac_status) && test -s "$ac_outfile"; then
8780 # The compiler can only warn and ignore the option if not recognized
8781 # So say no if there are warnings other than the usual output.
8782 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8783 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8784 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8785 lt_cv_prog_compiler_pic_works=yes
8786 fi
8787 fi
8788 $RM conftest*
8789
8790 fi
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8792 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8793
8794 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8795 case $lt_prog_compiler_pic in
8796 "" | " "*) ;;
8797 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8798 esac
8799 else
8800 lt_prog_compiler_pic=
8801 lt_prog_compiler_can_build_shared=no
8802 fi
8803
8804 fi
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816 #
8817 # Check to make sure the static flag actually works.
8818 #
8819 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8821 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8822 if ${lt_cv_prog_compiler_static_works+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 lt_cv_prog_compiler_static_works=no
8826 save_LDFLAGS=$LDFLAGS
8827 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8828 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8829 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8830 # The linker can only warn and ignore the option if not recognized
8831 # So say no if there are warnings
8832 if test -s conftest.err; then
8833 # Append any errors to the config.log.
8834 cat conftest.err 1>&5
8835 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8836 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8837 if diff conftest.exp conftest.er2 >/dev/null; then
8838 lt_cv_prog_compiler_static_works=yes
8839 fi
8840 else
8841 lt_cv_prog_compiler_static_works=yes
8842 fi
8843 fi
8844 $RM -r conftest*
8845 LDFLAGS=$save_LDFLAGS
8846
8847 fi
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8849 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8850
8851 if test yes = "$lt_cv_prog_compiler_static_works"; then
8852 :
8853 else
8854 lt_prog_compiler_static=
8855 fi
8856
8857
8858
8859
8860
8861
8862
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8864 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8865 if ${lt_cv_prog_compiler_c_o+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 lt_cv_prog_compiler_c_o=no
8869 $RM -r conftest 2>/dev/null
8870 mkdir conftest
8871 cd conftest
8872 mkdir out
8873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8874
8875 lt_compiler_flag="-o out/conftest2.$ac_objext"
8876 # Insert the option either (1) after the last *FLAGS variable, or
8877 # (2) before a word containing "conftest.", or (3) at the end.
8878 # Note that $ac_compile itself does not contain backslashes and begins
8879 # with a dollar sign (not a hyphen), so the echo should work correctly.
8880 lt_compile=`echo "$ac_compile" | $SED \
8881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8883 -e 's:$: $lt_compiler_flag:'`
8884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8885 (eval "$lt_compile" 2>out/conftest.err)
8886 ac_status=$?
8887 cat out/conftest.err >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8890 then
8891 # The compiler can only warn and ignore the option if not recognized
8892 # So say no if there are warnings
8893 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8894 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8895 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8896 lt_cv_prog_compiler_c_o=yes
8897 fi
8898 fi
8899 chmod u+w . 2>&5
8900 $RM conftest*
8901 # SGI C++ compiler will create directory out/ii_files/ for
8902 # template instantiation
8903 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8904 $RM out/* && rmdir out
8905 cd ..
8906 $RM -r conftest
8907 $RM conftest*
8908
8909 fi
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8911 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8912
8913
8914
8915
8916
8917
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8919 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8920 if ${lt_cv_prog_compiler_c_o+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 lt_cv_prog_compiler_c_o=no
8924 $RM -r conftest 2>/dev/null
8925 mkdir conftest
8926 cd conftest
8927 mkdir out
8928 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8929
8930 lt_compiler_flag="-o out/conftest2.$ac_objext"
8931 # Insert the option either (1) after the last *FLAGS variable, or
8932 # (2) before a word containing "conftest.", or (3) at the end.
8933 # Note that $ac_compile itself does not contain backslashes and begins
8934 # with a dollar sign (not a hyphen), so the echo should work correctly.
8935 lt_compile=`echo "$ac_compile" | $SED \
8936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8938 -e 's:$: $lt_compiler_flag:'`
8939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8940 (eval "$lt_compile" 2>out/conftest.err)
8941 ac_status=$?
8942 cat out/conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8945 then
8946 # The compiler can only warn and ignore the option if not recognized
8947 # So say no if there are warnings
8948 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8949 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8950 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8951 lt_cv_prog_compiler_c_o=yes
8952 fi
8953 fi
8954 chmod u+w . 2>&5
8955 $RM conftest*
8956 # SGI C++ compiler will create directory out/ii_files/ for
8957 # template instantiation
8958 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8959 $RM out/* && rmdir out
8960 cd ..
8961 $RM -r conftest
8962 $RM conftest*
8963
8964 fi
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8966 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8967
8968
8969
8970
8971 hard_links=nottested
8972 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8973 # do not overwrite the value of need_locks provided by the user
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8975 $as_echo_n "checking if we can lock with hard links... " >&6; }
8976 hard_links=yes
8977 $RM conftest*
8978 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8979 touch conftest.a
8980 ln conftest.a conftest.b 2>&5 || hard_links=no
8981 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8983 $as_echo "$hard_links" >&6; }
8984 if test no = "$hard_links"; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8986 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8987 need_locks=warn
8988 fi
8989 else
8990 need_locks=no
8991 fi
8992
8993
8994
8995
8996
8997
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8999 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9000
9001 runpath_var=
9002 allow_undefined_flag=
9003 always_export_symbols=no
9004 archive_cmds=
9005 archive_expsym_cmds=
9006 compiler_needs_object=no
9007 enable_shared_with_static_runtimes=no
9008 export_dynamic_flag_spec=
9009 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9010 hardcode_automatic=no
9011 hardcode_direct=no
9012 hardcode_direct_absolute=no
9013 hardcode_libdir_flag_spec=
9014 hardcode_libdir_separator=
9015 hardcode_minus_L=no
9016 hardcode_shlibpath_var=unsupported
9017 inherit_rpath=no
9018 link_all_deplibs=unknown
9019 module_cmds=
9020 module_expsym_cmds=
9021 old_archive_from_new_cmds=
9022 old_archive_from_expsyms_cmds=
9023 thread_safe_flag_spec=
9024 whole_archive_flag_spec=
9025 # include_expsyms should be a list of space-separated symbols to be *always*
9026 # included in the symbol list
9027 include_expsyms=
9028 # exclude_expsyms can be an extended regexp of symbols to exclude
9029 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9030 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9031 # as well as any symbol that contains 'd'.
9032 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9033 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9034 # platforms (ab)use it in PIC code, but their linkers get confused if
9035 # the symbol is explicitly referenced. Since portable code cannot
9036 # rely on this symbol name, it's probably fine to never include it in
9037 # preloaded symbol tables.
9038 # Exclude shared library initialization/finalization symbols.
9039 extract_expsyms_cmds=
9040
9041 case $host_os in
9042 cygwin* | mingw* | pw32* | cegcc*)
9043 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9044 # When not using gcc, we currently assume that we are using
9045 # Microsoft Visual C++.
9046 if test yes != "$GCC"; then
9047 with_gnu_ld=no
9048 fi
9049 ;;
9050 interix*)
9051 # we just hope/assume this is gcc and not c89 (= MSVC++)
9052 with_gnu_ld=yes
9053 ;;
9054 openbsd* | bitrig*)
9055 with_gnu_ld=no
9056 ;;
9057 esac
9058
9059 ld_shlibs=yes
9060
9061 # On some targets, GNU ld is compatible enough with the native linker
9062 # that we're better off using the native interface for both.
9063 lt_use_gnu_ld_interface=no
9064 if test yes = "$with_gnu_ld"; then
9065 case $host_os in
9066 aix*)
9067 # The AIX port of GNU ld has always aspired to compatibility
9068 # with the native linker. However, as the warning in the GNU ld
9069 # block says, versions before 2.19.5* couldn't really create working
9070 # shared libraries, regardless of the interface used.
9071 case `$LD -v 2>&1` in
9072 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9073 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9074 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9075 *)
9076 lt_use_gnu_ld_interface=yes
9077 ;;
9078 esac
9079 ;;
9080 *)
9081 lt_use_gnu_ld_interface=yes
9082 ;;
9083 esac
9084 fi
9085
9086 if test yes = "$lt_use_gnu_ld_interface"; then
9087 # If archive_cmds runs LD, not CC, wlarc should be empty
9088 wlarc='$wl'
9089
9090 # Set some defaults for GNU ld with shared library support. These
9091 # are reset later if shared libraries are not supported. Putting them
9092 # here allows them to be overridden if necessary.
9093 runpath_var=LD_RUN_PATH
9094 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9095 export_dynamic_flag_spec='$wl--export-dynamic'
9096 # ancient GNU ld didn't support --whole-archive et. al.
9097 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9098 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9099 else
9100 whole_archive_flag_spec=
9101 fi
9102 supports_anon_versioning=no
9103 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9104 *GNU\ gold*) supports_anon_versioning=yes ;;
9105 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9106 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9107 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9108 *\ 2.11.*) ;; # other 2.11 versions
9109 *) supports_anon_versioning=yes ;;
9110 esac
9111
9112 # See if GNU ld supports shared libraries.
9113 case $host_os in
9114 aix[3-9]*)
9115 # On AIX/PPC, the GNU linker is very broken
9116 if test ia64 != "$host_cpu"; then
9117 ld_shlibs=no
9118 cat <<_LT_EOF 1>&2
9119
9120 *** Warning: the GNU linker, at least up to release 2.19, is reported
9121 *** to be unable to reliably create shared libraries on AIX.
9122 *** Therefore, libtool is disabling shared libraries support. If you
9123 *** really care for shared libraries, you may want to install binutils
9124 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9125 *** You will then need to restart the configuration process.
9126
9127 _LT_EOF
9128 fi
9129 ;;
9130
9131 amigaos*)
9132 case $host_cpu in
9133 powerpc)
9134 # see comment about AmigaOS4 .so support
9135 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9136 archive_expsym_cmds=''
9137 ;;
9138 m68k)
9139 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)'
9140 hardcode_libdir_flag_spec='-L$libdir'
9141 hardcode_minus_L=yes
9142 ;;
9143 esac
9144 ;;
9145
9146 beos*)
9147 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9148 allow_undefined_flag=unsupported
9149 # Joseph Beckenbach <[email protected]> says some releases of gcc
9150 # support --undefined. This deserves some investigation. FIXME
9151 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9152 else
9153 ld_shlibs=no
9154 fi
9155 ;;
9156
9157 cygwin* | mingw* | pw32* | cegcc*)
9158 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9159 # as there is no search path for DLLs.
9160 hardcode_libdir_flag_spec='-L$libdir'
9161 export_dynamic_flag_spec='$wl--export-all-symbols'
9162 allow_undefined_flag=unsupported
9163 always_export_symbols=no
9164 enable_shared_with_static_runtimes=yes
9165 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'
9166 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9167
9168 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9169 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9170 # If the export-symbols file already is a .def file, use it as
9171 # is; otherwise, prepend EXPORTS...
9172 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9173 cp $export_symbols $output_objdir/$soname.def;
9174 else
9175 echo EXPORTS > $output_objdir/$soname.def;
9176 cat $export_symbols >> $output_objdir/$soname.def;
9177 fi~
9178 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9179 else
9180 ld_shlibs=no
9181 fi
9182 ;;
9183
9184 haiku*)
9185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9186 link_all_deplibs=yes
9187 ;;
9188
9189 os2*)
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 hardcode_minus_L=yes
9192 allow_undefined_flag=unsupported
9193 shrext_cmds=.dll
9194 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9195 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9196 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9197 $ECHO EXPORTS >> $output_objdir/$libname.def~
9198 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9199 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9200 emximp -o $lib $output_objdir/$libname.def'
9201 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9202 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9203 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9204 $ECHO EXPORTS >> $output_objdir/$libname.def~
9205 prefix_cmds="$SED"~
9206 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9207 prefix_cmds="$prefix_cmds -e 1d";
9208 fi~
9209 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9210 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9211 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9212 emximp -o $lib $output_objdir/$libname.def'
9213 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9214 enable_shared_with_static_runtimes=yes
9215 ;;
9216
9217 interix[3-9]*)
9218 hardcode_direct=no
9219 hardcode_shlibpath_var=no
9220 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9221 export_dynamic_flag_spec='$wl-E'
9222 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9223 # Instead, shared libraries are loaded at an image base (0x10000000 by
9224 # default) and relocated if they conflict, which is a slow very memory
9225 # consuming and fragmenting process. To avoid this, we pick a random,
9226 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9227 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9228 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9229 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'
9230 ;;
9231
9232 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9233 tmp_diet=no
9234 if test linux-dietlibc = "$host_os"; then
9235 case $cc_basename in
9236 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9237 esac
9238 fi
9239 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9240 && test no = "$tmp_diet"
9241 then
9242 tmp_addflag=' $pic_flag'
9243 tmp_sharedflag='-shared'
9244 case $cc_basename,$host_cpu in
9245 pgcc*) # Portland Group C compiler
9246 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'
9247 tmp_addflag=' $pic_flag'
9248 ;;
9249 pgf77* | pgf90* | pgf95* | pgfortran*)
9250 # Portland Group f77 and f90 compilers
9251 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'
9252 tmp_addflag=' $pic_flag -Mnomain' ;;
9253 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9254 tmp_addflag=' -i_dynamic' ;;
9255 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9256 tmp_addflag=' -i_dynamic -nofor_main' ;;
9257 ifc* | ifort*) # Intel Fortran compiler
9258 tmp_addflag=' -nofor_main' ;;
9259 lf95*) # Lahey Fortran 8.1
9260 whole_archive_flag_spec=
9261 tmp_sharedflag='--shared' ;;
9262 nagfor*) # NAGFOR 5.3
9263 tmp_sharedflag='-Wl,-shared' ;;
9264 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9265 tmp_sharedflag='-qmkshrobj'
9266 tmp_addflag= ;;
9267 nvcc*) # Cuda Compiler Driver 2.2
9268 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'
9269 compiler_needs_object=yes
9270 ;;
9271 esac
9272 case `$CC -V 2>&1 | sed 5q` in
9273 *Sun\ C*) # Sun C 5.9
9274 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'
9275 compiler_needs_object=yes
9276 tmp_sharedflag='-G' ;;
9277 *Sun\ F*) # Sun Fortran 8.3
9278 tmp_sharedflag='-G' ;;
9279 esac
9280 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9281
9282 if test yes = "$supports_anon_versioning"; then
9283 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9284 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9285 echo "local: *; };" >> $output_objdir/$libname.ver~
9286 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9287 fi
9288
9289 case $cc_basename in
9290 tcc*)
9291 export_dynamic_flag_spec='-rdynamic'
9292 ;;
9293 xlf* | bgf* | bgxlf* | mpixlf*)
9294 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9295 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9296 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9297 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9298 if test yes = "$supports_anon_versioning"; then
9299 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9300 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9301 echo "local: *; };" >> $output_objdir/$libname.ver~
9302 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9303 fi
9304 ;;
9305 esac
9306 else
9307 ld_shlibs=no
9308 fi
9309 ;;
9310
9311 netbsd*)
9312 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9313 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9314 wlarc=
9315 else
9316 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9317 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9318 fi
9319 ;;
9320
9321 solaris*)
9322 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9323 ld_shlibs=no
9324 cat <<_LT_EOF 1>&2
9325
9326 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9327 *** create shared libraries on Solaris systems. Therefore, libtool
9328 *** is disabling shared libraries support. We urge you to upgrade GNU
9329 *** binutils to release 2.9.1 or newer. Another option is to modify
9330 *** your PATH or compiler configuration so that the native linker is
9331 *** used, and then restart.
9332
9333 _LT_EOF
9334 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9335 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9336 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9337 else
9338 ld_shlibs=no
9339 fi
9340 ;;
9341
9342 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9343 case `$LD -v 2>&1` in
9344 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9345 ld_shlibs=no
9346 cat <<_LT_EOF 1>&2
9347
9348 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9349 *** reliably create shared libraries on SCO systems. Therefore, libtool
9350 *** is disabling shared libraries support. We urge you to upgrade GNU
9351 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9352 *** your PATH or compiler configuration so that the native linker is
9353 *** used, and then restart.
9354
9355 _LT_EOF
9356 ;;
9357 *)
9358 # For security reasons, it is highly recommended that you always
9359 # use absolute paths for naming shared libraries, and exclude the
9360 # DT_RUNPATH tag from executables and libraries. But doing so
9361 # requires that you compile everything twice, which is a pain.
9362 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9363 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9364 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9365 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9366 else
9367 ld_shlibs=no
9368 fi
9369 ;;
9370 esac
9371 ;;
9372
9373 sunos4*)
9374 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9375 wlarc=
9376 hardcode_direct=yes
9377 hardcode_shlibpath_var=no
9378 ;;
9379
9380 *)
9381 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9382 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9383 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9384 else
9385 ld_shlibs=no
9386 fi
9387 ;;
9388 esac
9389
9390 if test no = "$ld_shlibs"; then
9391 runpath_var=
9392 hardcode_libdir_flag_spec=
9393 export_dynamic_flag_spec=
9394 whole_archive_flag_spec=
9395 fi
9396 else
9397 # PORTME fill in a description of your system's linker (not GNU ld)
9398 case $host_os in
9399 aix3*)
9400 allow_undefined_flag=unsupported
9401 always_export_symbols=yes
9402 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'
9403 # Note: this linker hardcodes the directories in LIBPATH if there
9404 # are no directories specified by -L.
9405 hardcode_minus_L=yes
9406 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9407 # Neither direct hardcoding nor static linking is supported with a
9408 # broken collect2.
9409 hardcode_direct=unsupported
9410 fi
9411 ;;
9412
9413 aix[4-9]*)
9414 if test ia64 = "$host_cpu"; then
9415 # On IA64, the linker does run time linking by default, so we don't
9416 # have to do anything special.
9417 aix_use_runtimelinking=no
9418 exp_sym_flag='-Bexport'
9419 no_entry_flag=
9420 else
9421 # If we're using GNU nm, then we don't want the "-C" option.
9422 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9423 # Without the "-l" option, or with the "-B" option, AIX nm treats
9424 # weak defined symbols like other global defined symbols, whereas
9425 # GNU nm marks them as "W".
9426 # While the 'weak' keyword is ignored in the Export File, we need
9427 # it in the Import File for the 'aix-soname' feature, so we have
9428 # to replace the "-B" option with "-P" for AIX nm.
9429 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9430 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9431 else
9432 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9433 fi
9434 aix_use_runtimelinking=no
9435
9436 # Test if we are trying to use run time linking or normal
9437 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9438 # have runtime linking enabled, and use it for executables.
9439 # For shared libraries, we enable/disable runtime linking
9440 # depending on the kind of the shared library created -
9441 # when "with_aix_soname,aix_use_runtimelinking" is:
9442 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9443 # "aix,yes" lib.so shared, rtl:yes, for executables
9444 # lib.a static archive
9445 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9446 # lib.a(lib.so.V) shared, rtl:no, for executables
9447 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9448 # lib.a(lib.so.V) shared, rtl:no
9449 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9450 # lib.a static archive
9451 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9452 for ld_flag in $LDFLAGS; do
9453 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9454 aix_use_runtimelinking=yes
9455 break
9456 fi
9457 done
9458 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9459 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9460 # so we don't have lib.a shared libs to link our executables.
9461 # We have to force runtime linking in this case.
9462 aix_use_runtimelinking=yes
9463 LDFLAGS="$LDFLAGS -Wl,-brtl"
9464 fi
9465 ;;
9466 esac
9467
9468 exp_sym_flag='-bexport'
9469 no_entry_flag='-bnoentry'
9470 fi
9471
9472 # When large executables or shared objects are built, AIX ld can
9473 # have problems creating the table of contents. If linking a library
9474 # or program results in "error TOC overflow" add -mminimal-toc to
9475 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9476 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9477
9478 archive_cmds=''
9479 hardcode_direct=yes
9480 hardcode_direct_absolute=yes
9481 hardcode_libdir_separator=':'
9482 link_all_deplibs=yes
9483 file_list_spec='$wl-f,'
9484 case $with_aix_soname,$aix_use_runtimelinking in
9485 aix,*) ;; # traditional, no import file
9486 svr4,* | *,yes) # use import file
9487 # The Import File defines what to hardcode.
9488 hardcode_direct=no
9489 hardcode_direct_absolute=no
9490 ;;
9491 esac
9492
9493 if test yes = "$GCC"; then
9494 case $host_os in aix4.[012]|aix4.[012].*)
9495 # We only want to do this on AIX 4.2 and lower, the check
9496 # below for broken collect2 doesn't work under 4.3+
9497 collect2name=`$CC -print-prog-name=collect2`
9498 if test -f "$collect2name" &&
9499 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9500 then
9501 # We have reworked collect2
9502 :
9503 else
9504 # We have old collect2
9505 hardcode_direct=unsupported
9506 # It fails to find uninstalled libraries when the uninstalled
9507 # path is not listed in the libpath. Setting hardcode_minus_L
9508 # to unsupported forces relinking
9509 hardcode_minus_L=yes
9510 hardcode_libdir_flag_spec='-L$libdir'
9511 hardcode_libdir_separator=
9512 fi
9513 ;;
9514 esac
9515 shared_flag='-shared'
9516 if test yes = "$aix_use_runtimelinking"; then
9517 shared_flag="$shared_flag "'$wl-G'
9518 fi
9519 # Need to ensure runtime linking is disabled for the traditional
9520 # shared library, or the linker may eventually find shared libraries
9521 # /with/ Import File - we do not want to mix them.
9522 shared_flag_aix='-shared'
9523 shared_flag_svr4='-shared $wl-G'
9524 else
9525 # not using gcc
9526 if test ia64 = "$host_cpu"; then
9527 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9528 # chokes on -Wl,-G. The following line is correct:
9529 shared_flag='-G'
9530 else
9531 if test yes = "$aix_use_runtimelinking"; then
9532 shared_flag='$wl-G'
9533 else
9534 shared_flag='$wl-bM:SRE'
9535 fi
9536 shared_flag_aix='$wl-bM:SRE'
9537 shared_flag_svr4='$wl-G'
9538 fi
9539 fi
9540
9541 export_dynamic_flag_spec='$wl-bexpall'
9542 # It seems that -bexpall does not export symbols beginning with
9543 # underscore (_), so it is better to generate a list of symbols to export.
9544 always_export_symbols=yes
9545 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9546 # Warning - without using the other runtime loading flags (-brtl),
9547 # -berok will link without error, but may produce a broken library.
9548 allow_undefined_flag='-berok'
9549 # Determine the default libpath from the value encoded in an
9550 # empty executable.
9551 if test set = "${lt_cv_aix_libpath+set}"; then
9552 aix_libpath=$lt_cv_aix_libpath
9553 else
9554 if ${lt_cv_aix_libpath_+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9559
9560 int
9561 main ()
9562 {
9563
9564 ;
9565 return 0;
9566 }
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569
9570 lt_aix_libpath_sed='
9571 /Import File Strings/,/^$/ {
9572 /^0/ {
9573 s/^0 *\([^ ]*\) *$/\1/
9574 p
9575 }
9576 }'
9577 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9578 # Check for a 64-bit object if we didn't find anything.
9579 if test -z "$lt_cv_aix_libpath_"; then
9580 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 fi
9582 fi
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 if test -z "$lt_cv_aix_libpath_"; then
9586 lt_cv_aix_libpath_=/usr/lib:/lib
9587 fi
9588
9589 fi
9590
9591 aix_libpath=$lt_cv_aix_libpath_
9592 fi
9593
9594 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9595 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9596 else
9597 if test ia64 = "$host_cpu"; then
9598 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9599 allow_undefined_flag="-z nodefs"
9600 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"
9601 else
9602 # Determine the default libpath from the value encoded in an
9603 # empty executable.
9604 if test set = "${lt_cv_aix_libpath+set}"; then
9605 aix_libpath=$lt_cv_aix_libpath
9606 else
9607 if ${lt_cv_aix_libpath_+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9612
9613 int
9614 main ()
9615 {
9616
9617 ;
9618 return 0;
9619 }
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622
9623 lt_aix_libpath_sed='
9624 /Import File Strings/,/^$/ {
9625 /^0/ {
9626 s/^0 *\([^ ]*\) *$/\1/
9627 p
9628 }
9629 }'
9630 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 # Check for a 64-bit object if we didn't find anything.
9632 if test -z "$lt_cv_aix_libpath_"; then
9633 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9634 fi
9635 fi
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 if test -z "$lt_cv_aix_libpath_"; then
9639 lt_cv_aix_libpath_=/usr/lib:/lib
9640 fi
9641
9642 fi
9643
9644 aix_libpath=$lt_cv_aix_libpath_
9645 fi
9646
9647 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9648 # Warning - without using the other run time loading flags,
9649 # -berok will link without error, but may produce a broken library.
9650 no_undefined_flag=' $wl-bernotok'
9651 allow_undefined_flag=' $wl-berok'
9652 if test yes = "$with_gnu_ld"; then
9653 # We only use this code for GNU lds that support --whole-archive.
9654 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9655 else
9656 # Exported symbols can be pulled into shared objects from archives
9657 whole_archive_flag_spec='$convenience'
9658 fi
9659 archive_cmds_need_lc=yes
9660 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9661 # -brtl affects multiple linker settings, -berok does not and is overridden later
9662 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9663 if test svr4 != "$with_aix_soname"; then
9664 # This is similar to how AIX traditionally builds its shared libraries.
9665 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9666 fi
9667 if test aix != "$with_aix_soname"; then
9668 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9669 else
9670 # used by -dlpreopen to get the symbols
9671 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9672 fi
9673 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9674 fi
9675 fi
9676 ;;
9677
9678 amigaos*)
9679 case $host_cpu in
9680 powerpc)
9681 # see comment about AmigaOS4 .so support
9682 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9683 archive_expsym_cmds=''
9684 ;;
9685 m68k)
9686 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)'
9687 hardcode_libdir_flag_spec='-L$libdir'
9688 hardcode_minus_L=yes
9689 ;;
9690 esac
9691 ;;
9692
9693 bsdi[45]*)
9694 export_dynamic_flag_spec=-rdynamic
9695 ;;
9696
9697 cygwin* | mingw* | pw32* | cegcc*)
9698 # When not using gcc, we currently assume that we are using
9699 # Microsoft Visual C++.
9700 # hardcode_libdir_flag_spec is actually meaningless, as there is
9701 # no search path for DLLs.
9702 case $cc_basename in
9703 cl*)
9704 # Native MSVC
9705 hardcode_libdir_flag_spec=' '
9706 allow_undefined_flag=unsupported
9707 always_export_symbols=yes
9708 file_list_spec='@'
9709 # Tell ltmain to make .lib files, not .a files.
9710 libext=lib
9711 # Tell ltmain to make .dll files, not .so files.
9712 shrext_cmds=.dll
9713 # FIXME: Setting linknames here is a bad hack.
9714 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9715 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9716 cp "$export_symbols" "$output_objdir/$soname.def";
9717 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9718 else
9719 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9720 fi~
9721 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9722 linknames='
9723 # The linker will not automatically build a static lib if we build a DLL.
9724 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9725 enable_shared_with_static_runtimes=yes
9726 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9727 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9728 # Don't use ranlib
9729 old_postinstall_cmds='chmod 644 $oldlib'
9730 postlink_cmds='lt_outputfile="@OUTPUT@"~
9731 lt_tool_outputfile="@TOOL_OUTPUT@"~
9732 case $lt_outputfile in
9733 *.exe|*.EXE) ;;
9734 *)
9735 lt_outputfile=$lt_outputfile.exe
9736 lt_tool_outputfile=$lt_tool_outputfile.exe
9737 ;;
9738 esac~
9739 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9740 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9741 $RM "$lt_outputfile.manifest";
9742 fi'
9743 ;;
9744 *)
9745 # Assume MSVC wrapper
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=.dll
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 enable_shared_with_static_runtimes=yes
9759 ;;
9760 esac
9761 ;;
9762
9763 darwin* | rhapsody*)
9764
9765
9766 archive_cmds_need_lc=no
9767 hardcode_direct=no
9768 hardcode_automatic=yes
9769 hardcode_shlibpath_var=unsupported
9770 if test yes = "$lt_cv_ld_force_load"; then
9771 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\"`'
9772
9773 else
9774 whole_archive_flag_spec=''
9775 fi
9776 link_all_deplibs=yes
9777 allow_undefined_flag=$_lt_dar_allow_undefined
9778 case $cc_basename in
9779 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test yes = "$_lt_dar_can_shared"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9786 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"
9787 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"
9788
9789 else
9790 ld_shlibs=no
9791 fi
9792
9793 ;;
9794
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9799 ;;
9800
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9810 ;;
9811
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9818 ;;
9819
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9826 ;;
9827
9828 hpux9*)
9829 if test yes = "$GCC"; then
9830 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9831 else
9832 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9833 fi
9834 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9837
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='$wl-E'
9842 ;;
9843
9844 hpux10*)
9845 if test yes,no = "$GCC,$with_gnu_ld"; then
9846 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9849 fi
9850 if test no = "$with_gnu_ld"; then
9851 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9852 hardcode_libdir_separator=:
9853 hardcode_direct=yes
9854 hardcode_direct_absolute=yes
9855 export_dynamic_flag_spec='$wl-E'
9856 # hardcode_minus_L: Not really in the search PATH,
9857 # but as the default location of the library.
9858 hardcode_minus_L=yes
9859 fi
9860 ;;
9861
9862 hpux11*)
9863 if test yes,no = "$GCC,$with_gnu_ld"; then
9864 case $host_cpu in
9865 hppa*64*)
9866 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 ;;
9868 ia64*)
9869 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9870 ;;
9871 *)
9872 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9873 ;;
9874 esac
9875 else
9876 case $host_cpu in
9877 hppa*64*)
9878 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ;;
9880 ia64*)
9881 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882 ;;
9883 *)
9884
9885 # Older versions of the 11.00 compiler do not understand -b yet
9886 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9888 $as_echo_n "checking if $CC understands -b... " >&6; }
9889 if ${lt_cv_prog_compiler__b+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 lt_cv_prog_compiler__b=no
9893 save_LDFLAGS=$LDFLAGS
9894 LDFLAGS="$LDFLAGS -b"
9895 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9896 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9897 # The linker can only warn and ignore the option if not recognized
9898 # So say no if there are warnings
9899 if test -s conftest.err; then
9900 # Append any errors to the config.log.
9901 cat conftest.err 1>&5
9902 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9903 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9904 if diff conftest.exp conftest.er2 >/dev/null; then
9905 lt_cv_prog_compiler__b=yes
9906 fi
9907 else
9908 lt_cv_prog_compiler__b=yes
9909 fi
9910 fi
9911 $RM -r conftest*
9912 LDFLAGS=$save_LDFLAGS
9913
9914 fi
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9916 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9917
9918 if test yes = "$lt_cv_prog_compiler__b"; then
9919 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9920 else
9921 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9922 fi
9923
9924 ;;
9925 esac
9926 fi
9927 if test no = "$with_gnu_ld"; then
9928 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9929 hardcode_libdir_separator=:
9930
9931 case $host_cpu in
9932 hppa*64*|ia64*)
9933 hardcode_direct=no
9934 hardcode_shlibpath_var=no
9935 ;;
9936 *)
9937 hardcode_direct=yes
9938 hardcode_direct_absolute=yes
9939 export_dynamic_flag_spec='$wl-E'
9940
9941 # hardcode_minus_L: Not really in the search PATH,
9942 # but as the default location of the library.
9943 hardcode_minus_L=yes
9944 ;;
9945 esac
9946 fi
9947 ;;
9948
9949 irix5* | irix6* | nonstopux*)
9950 if test yes = "$GCC"; then
9951 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'
9952 # Try to use the -exported_symbol ld option, if it does not
9953 # work, assume that -exports_file does not work either and
9954 # implicitly export all symbols.
9955 # This should be the same for all languages, so no per-tag cache variable.
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9957 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9958 if ${lt_cv_irix_exported_symbol+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 save_LDFLAGS=$LDFLAGS
9962 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9965 int foo (void) { return 0; }
9966 _ACEOF
9967 if ac_fn_c_try_link "$LINENO"; then :
9968 lt_cv_irix_exported_symbol=yes
9969 else
9970 lt_cv_irix_exported_symbol=no
9971 fi
9972 rm -f core conftest.err conftest.$ac_objext \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LDFLAGS=$save_LDFLAGS
9975 fi
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9977 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9978 if test yes = "$lt_cv_irix_exported_symbol"; then
9979 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'
9980 fi
9981 else
9982 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'
9983 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'
9984 fi
9985 archive_cmds_need_lc='no'
9986 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9987 hardcode_libdir_separator=:
9988 inherit_rpath=yes
9989 link_all_deplibs=yes
9990 ;;
9991
9992 linux*)
9993 case $cc_basename in
9994 tcc*)
9995 # Fabrice Bellard et al's Tiny C Compiler
9996 ld_shlibs=yes
9997 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9998 ;;
9999 esac
10000 ;;
10001
10002 netbsd*)
10003 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10004 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10005 else
10006 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10007 fi
10008 hardcode_libdir_flag_spec='-R$libdir'
10009 hardcode_direct=yes
10010 hardcode_shlibpath_var=no
10011 ;;
10012
10013 newsos6)
10014 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10015 hardcode_direct=yes
10016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10017 hardcode_libdir_separator=:
10018 hardcode_shlibpath_var=no
10019 ;;
10020
10021 *nto* | *qnx*)
10022 ;;
10023
10024 openbsd* | bitrig*)
10025 if test -f /usr/libexec/ld.so; then
10026 hardcode_direct=yes
10027 hardcode_shlibpath_var=no
10028 hardcode_direct_absolute=yes
10029 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10030 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10032 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10033 export_dynamic_flag_spec='$wl-E'
10034 else
10035 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10036 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10037 fi
10038 else
10039 ld_shlibs=no
10040 fi
10041 ;;
10042
10043 os2*)
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_minus_L=yes
10046 allow_undefined_flag=unsupported
10047 shrext_cmds=.dll
10048 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10049 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10050 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10051 $ECHO EXPORTS >> $output_objdir/$libname.def~
10052 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10053 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10054 emximp -o $lib $output_objdir/$libname.def'
10055 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10056 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10057 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10058 $ECHO EXPORTS >> $output_objdir/$libname.def~
10059 prefix_cmds="$SED"~
10060 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10061 prefix_cmds="$prefix_cmds -e 1d";
10062 fi~
10063 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10064 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10065 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10066 emximp -o $lib $output_objdir/$libname.def'
10067 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10068 enable_shared_with_static_runtimes=yes
10069 ;;
10070
10071 osf3*)
10072 if test yes = "$GCC"; then
10073 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10074 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'
10075 else
10076 allow_undefined_flag=' -expect_unresolved \*'
10077 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'
10078 fi
10079 archive_cmds_need_lc='no'
10080 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10081 hardcode_libdir_separator=:
10082 ;;
10083
10084 osf4* | osf5*) # as osf3* with the addition of -msym flag
10085 if test yes = "$GCC"; then
10086 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10087 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'
10088 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10089 else
10090 allow_undefined_flag=' -expect_unresolved \*'
10091 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'
10092 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~
10093 $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'
10094
10095 # Both c and cxx compiler support -rpath directly
10096 hardcode_libdir_flag_spec='-rpath $libdir'
10097 fi
10098 archive_cmds_need_lc='no'
10099 hardcode_libdir_separator=:
10100 ;;
10101
10102 solaris*)
10103 no_undefined_flag=' -z defs'
10104 if test yes = "$GCC"; then
10105 wlarc='$wl'
10106 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10108 $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'
10109 else
10110 case `$CC -V 2>&1` in
10111 *"Compilers 5.0"*)
10112 wlarc=''
10113 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10115 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10116 ;;
10117 *)
10118 wlarc='$wl'
10119 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10121 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10122 ;;
10123 esac
10124 fi
10125 hardcode_libdir_flag_spec='-R$libdir'
10126 hardcode_shlibpath_var=no
10127 case $host_os in
10128 solaris2.[0-5] | solaris2.[0-5].*) ;;
10129 *)
10130 # The compiler driver will combine and reorder linker options,
10131 # but understands '-z linker_flag'. GCC discards it without '$wl',
10132 # but is careful enough not to reorder.
10133 # Supported since Solaris 2.6 (maybe 2.5.1?)
10134 if test yes = "$GCC"; then
10135 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10136 else
10137 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10138 fi
10139 ;;
10140 esac
10141 link_all_deplibs=yes
10142 ;;
10143
10144 sunos4*)
10145 if test sequent = "$host_vendor"; then
10146 # Use $CC to link under sequent, because it throws in some extra .o
10147 # files that make .init and .fini sections work.
10148 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10149 else
10150 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10151 fi
10152 hardcode_libdir_flag_spec='-L$libdir'
10153 hardcode_direct=yes
10154 hardcode_minus_L=yes
10155 hardcode_shlibpath_var=no
10156 ;;
10157
10158 sysv4)
10159 case $host_vendor in
10160 sni)
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_direct=yes # is this really true???
10163 ;;
10164 siemens)
10165 ## LD is ld it makes a PLAMLIB
10166 ## CC just makes a GrossModule.
10167 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10168 reload_cmds='$CC -r -o $output$reload_objs'
10169 hardcode_direct=no
10170 ;;
10171 motorola)
10172 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10173 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10174 ;;
10175 esac
10176 runpath_var='LD_RUN_PATH'
10177 hardcode_shlibpath_var=no
10178 ;;
10179
10180 sysv4.3*)
10181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10182 hardcode_shlibpath_var=no
10183 export_dynamic_flag_spec='-Bexport'
10184 ;;
10185
10186 sysv4*MP*)
10187 if test -d /usr/nec; then
10188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189 hardcode_shlibpath_var=no
10190 runpath_var=LD_RUN_PATH
10191 hardcode_runpath_var=yes
10192 ld_shlibs=yes
10193 fi
10194 ;;
10195
10196 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10197 no_undefined_flag='$wl-z,text'
10198 archive_cmds_need_lc=no
10199 hardcode_shlibpath_var=no
10200 runpath_var='LD_RUN_PATH'
10201
10202 if test yes = "$GCC"; then
10203 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10205 else
10206 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 fi
10209 ;;
10210
10211 sysv5* | sco3.2v5* | sco5v6*)
10212 # Note: We CANNOT use -z defs as we might desire, because we do not
10213 # link with -lc, and that would cause any symbols used from libc to
10214 # always be unresolved, which means just about no library would
10215 # ever link correctly. If we're not using GNU ld we use -z text
10216 # though, which does catch some bad symbols but isn't as heavy-handed
10217 # as -z defs.
10218 no_undefined_flag='$wl-z,text'
10219 allow_undefined_flag='$wl-z,nodefs'
10220 archive_cmds_need_lc=no
10221 hardcode_shlibpath_var=no
10222 hardcode_libdir_flag_spec='$wl-R,$libdir'
10223 hardcode_libdir_separator=':'
10224 link_all_deplibs=yes
10225 export_dynamic_flag_spec='$wl-Bexport'
10226 runpath_var='LD_RUN_PATH'
10227
10228 if test yes = "$GCC"; then
10229 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231 else
10232 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234 fi
10235 ;;
10236
10237 uts4*)
10238 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10239 hardcode_libdir_flag_spec='-L$libdir'
10240 hardcode_shlibpath_var=no
10241 ;;
10242
10243 *)
10244 ld_shlibs=no
10245 ;;
10246 esac
10247
10248 if test sni = "$host_vendor"; then
10249 case $host in
10250 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10251 export_dynamic_flag_spec='$wl-Blargedynsym'
10252 ;;
10253 esac
10254 fi
10255 fi
10256
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10258 $as_echo "$ld_shlibs" >&6; }
10259 test no = "$ld_shlibs" && can_build_shared=no
10260
10261 with_gnu_ld=$with_gnu_ld
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277 #
10278 # Do we need to explicitly link libc?
10279 #
10280 case "x$archive_cmds_need_lc" in
10281 x|xyes)
10282 # Assume -lc should be added
10283 archive_cmds_need_lc=yes
10284
10285 if test yes,yes = "$GCC,$enable_shared"; then
10286 case $archive_cmds in
10287 *'~'*)
10288 # FIXME: we may have to deal with multi-command sequences.
10289 ;;
10290 '$CC '*)
10291 # Test whether the compiler implicitly links with -lc since on some
10292 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10293 # to ld, don't add -lc before -lgcc.
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10295 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10296 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10297 $as_echo_n "(cached) " >&6
10298 else
10299 $RM conftest*
10300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10301
10302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10303 (eval $ac_compile) 2>&5
10304 ac_status=$?
10305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10306 test $ac_status = 0; } 2>conftest.err; then
10307 soname=conftest
10308 lib=conftest
10309 libobjs=conftest.$ac_objext
10310 deplibs=
10311 wl=$lt_prog_compiler_wl
10312 pic_flag=$lt_prog_compiler_pic
10313 compiler_flags=-v
10314 linker_flags=-v
10315 verstring=
10316 output_objdir=.
10317 libname=conftest
10318 lt_save_allow_undefined_flag=$allow_undefined_flag
10319 allow_undefined_flag=
10320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10321 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10322 ac_status=$?
10323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10324 test $ac_status = 0; }
10325 then
10326 lt_cv_archive_cmds_need_lc=no
10327 else
10328 lt_cv_archive_cmds_need_lc=yes
10329 fi
10330 allow_undefined_flag=$lt_save_allow_undefined_flag
10331 else
10332 cat conftest.err 1>&5
10333 fi
10334 $RM conftest*
10335
10336 fi
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10338 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10339 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10340 ;;
10341 esac
10342 fi
10343 ;;
10344 esac
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10499
10500 if test yes = "$GCC"; then
10501 case $host_os in
10502 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10503 *) lt_awk_arg='/^libraries:/' ;;
10504 esac
10505 case $host_os in
10506 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10507 *) lt_sed_strip_eq='s|=/|/|g' ;;
10508 esac
10509 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10510 case $lt_search_path_spec in
10511 *\;*)
10512 # if the path contains ";" then we assume it to be the separator
10513 # otherwise default to the standard path separator (i.e. ":") - it is
10514 # assumed that no part of a normal pathname contains ";" but that should
10515 # okay in the real world where ";" in dirpaths is itself problematic.
10516 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10517 ;;
10518 *)
10519 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10520 ;;
10521 esac
10522 # Ok, now we have the path, separated by spaces, we can step through it
10523 # and add multilib dir if necessary...
10524 lt_tmp_lt_search_path_spec=
10525 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10526 # ...but if some path component already ends with the multilib dir we assume
10527 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10528 case "$lt_multi_os_dir; $lt_search_path_spec " in
10529 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10530 lt_multi_os_dir=
10531 ;;
10532 esac
10533 for lt_sys_path in $lt_search_path_spec; do
10534 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10535 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10536 elif test -n "$lt_multi_os_dir"; then
10537 test -d "$lt_sys_path" && \
10538 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10539 fi
10540 done
10541 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10542 BEGIN {RS = " "; FS = "/|\n";} {
10543 lt_foo = "";
10544 lt_count = 0;
10545 for (lt_i = NF; lt_i > 0; lt_i--) {
10546 if ($lt_i != "" && $lt_i != ".") {
10547 if ($lt_i == "..") {
10548 lt_count++;
10549 } else {
10550 if (lt_count == 0) {
10551 lt_foo = "/" $lt_i lt_foo;
10552 } else {
10553 lt_count--;
10554 }
10555 }
10556 }
10557 }
10558 if (lt_foo != "") { lt_freq[lt_foo]++; }
10559 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10560 }'`
10561 # AWK program above erroneously prepends '/' to C:/dos/paths
10562 # for these hosts.
10563 case $host_os in
10564 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10565 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10566 esac
10567 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10568 else
10569 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10570 fi
10571 library_names_spec=
10572 libname_spec='lib$name'
10573 soname_spec=
10574 shrext_cmds=.so
10575 postinstall_cmds=
10576 postuninstall_cmds=
10577 finish_cmds=
10578 finish_eval=
10579 shlibpath_var=
10580 shlibpath_overrides_runpath=unknown
10581 version_type=none
10582 dynamic_linker="$host_os ld.so"
10583 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10584 need_lib_prefix=unknown
10585 hardcode_into_libs=no
10586
10587 # when you set need_version to no, make sure it does not cause -set_version
10588 # flags to be left without arguments
10589 need_version=unknown
10590
10591
10592
10593 case $host_os in
10594 aix3*)
10595 version_type=linux # correct to gnu/linux during the next big refactor
10596 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10597 shlibpath_var=LIBPATH
10598
10599 # AIX 3 has no versioning support, so we append a major version to the name.
10600 soname_spec='$libname$release$shared_ext$major'
10601 ;;
10602
10603 aix[4-9]*)
10604 version_type=linux # correct to gnu/linux during the next big refactor
10605 need_lib_prefix=no
10606 need_version=no
10607 hardcode_into_libs=yes
10608 if test ia64 = "$host_cpu"; then
10609 # AIX 5 supports IA64
10610 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 else
10613 # With GCC up to 2.95.x, collect2 would create an import file
10614 # for dependence libraries. The import file would start with
10615 # the line '#! .'. This would cause the generated library to
10616 # depend on '.', always an invalid library. This was fixed in
10617 # development snapshots of GCC prior to 3.0.
10618 case $host_os in
10619 aix4 | aix4.[01] | aix4.[01].*)
10620 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10621 echo ' yes '
10622 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10623 :
10624 else
10625 can_build_shared=no
10626 fi
10627 ;;
10628 esac
10629 # Using Import Files as archive members, it is possible to support
10630 # filename-based versioning of shared library archives on AIX. While
10631 # this would work for both with and without runtime linking, it will
10632 # prevent static linking of such archives. So we do filename-based
10633 # shared library versioning with .so extension only, which is used
10634 # when both runtime linking and shared linking is enabled.
10635 # Unfortunately, runtime linking may impact performance, so we do
10636 # not want this to be the default eventually. Also, we use the
10637 # versioned .so libs for executables only if there is the -brtl
10638 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10639 # To allow for filename-based versioning support, we need to create
10640 # libNAME.so.V as an archive file, containing:
10641 # *) an Import File, referring to the versioned filename of the
10642 # archive as well as the shared archive member, telling the
10643 # bitwidth (32 or 64) of that shared object, and providing the
10644 # list of exported symbols of that shared object, eventually
10645 # decorated with the 'weak' keyword
10646 # *) the shared object with the F_LOADONLY flag set, to really avoid
10647 # it being seen by the linker.
10648 # At run time we better use the real file rather than another symlink,
10649 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10650
10651 case $with_aix_soname,$aix_use_runtimelinking in
10652 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10653 # soname into executable. Probably we can add versioning support to
10654 # collect2, so additional links can be useful in future.
10655 aix,yes) # traditional libtool
10656 dynamic_linker='AIX unversionable lib.so'
10657 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10658 # instead of lib<name>.a to let people know that these are not
10659 # typical AIX shared libraries.
10660 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10661 ;;
10662 aix,no) # traditional AIX only
10663 dynamic_linker='AIX lib.a(lib.so.V)'
10664 # We preserve .a as extension for shared libraries through AIX4.2
10665 # and later when we are not doing run time linking.
10666 library_names_spec='$libname$release.a $libname.a'
10667 soname_spec='$libname$release$shared_ext$major'
10668 ;;
10669 svr4,*) # full svr4 only
10670 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10671 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10672 # We do not specify a path in Import Files, so LIBPATH fires.
10673 shlibpath_overrides_runpath=yes
10674 ;;
10675 *,yes) # both, prefer svr4
10676 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10677 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10678 # unpreferred sharedlib libNAME.a needs extra handling
10679 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10680 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10681 # We do not specify a path in Import Files, so LIBPATH fires.
10682 shlibpath_overrides_runpath=yes
10683 ;;
10684 *,no) # both, prefer aix
10685 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10686 library_names_spec='$libname$release.a $libname.a'
10687 soname_spec='$libname$release$shared_ext$major'
10688 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10689 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10690 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10691 ;;
10692 esac
10693 shlibpath_var=LIBPATH
10694 fi
10695 ;;
10696
10697 amigaos*)
10698 case $host_cpu in
10699 powerpc)
10700 # Since July 2007 AmigaOS4 officially supports .so libraries.
10701 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10703 ;;
10704 m68k)
10705 library_names_spec='$libname.ixlibrary $libname.a'
10706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10707 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10708 ;;
10709 esac
10710 ;;
10711
10712 beos*)
10713 library_names_spec='$libname$shared_ext'
10714 dynamic_linker="$host_os ld.so"
10715 shlibpath_var=LIBRARY_PATH
10716 ;;
10717
10718 bsdi[45]*)
10719 version_type=linux # correct to gnu/linux during the next big refactor
10720 need_version=no
10721 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10722 soname_spec='$libname$release$shared_ext$major'
10723 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10724 shlibpath_var=LD_LIBRARY_PATH
10725 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10726 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10727 # the default ld.so.conf also contains /usr/contrib/lib and
10728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10729 # libtool to hard-code these into programs
10730 ;;
10731
10732 cygwin* | mingw* | pw32* | cegcc*)
10733 version_type=windows
10734 shrext_cmds=.dll
10735 need_version=no
10736 need_lib_prefix=no
10737
10738 case $GCC,$cc_basename in
10739 yes,*)
10740 # gcc
10741 library_names_spec='$libname.dll.a'
10742 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10743 postinstall_cmds='base_file=`basename \$file`~
10744 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10745 dldir=$destdir/`dirname \$dlpath`~
10746 test -d \$dldir || mkdir -p \$dldir~
10747 $install_prog $dir/$dlname \$dldir/$dlname~
10748 chmod a+x \$dldir/$dlname~
10749 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10750 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10751 fi'
10752 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10753 dlpath=$dir/\$dldll~
10754 $RM \$dlpath'
10755 shlibpath_overrides_runpath=yes
10756
10757 case $host_os in
10758 cygwin*)
10759 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10760 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10761
10762 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10763 ;;
10764 mingw* | cegcc*)
10765 # MinGW DLLs use traditional 'lib' prefix
10766 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10767 ;;
10768 pw32*)
10769 # pw32 DLLs use 'pw' prefix rather than 'lib'
10770 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10771 ;;
10772 esac
10773 dynamic_linker='Win32 ld.exe'
10774 ;;
10775
10776 *,cl*)
10777 # Native MSVC
10778 libname_spec='$name'
10779 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10780 library_names_spec='$libname.dll.lib'
10781
10782 case $build_os in
10783 mingw*)
10784 sys_lib_search_path_spec=
10785 lt_save_ifs=$IFS
10786 IFS=';'
10787 for lt_path in $LIB
10788 do
10789 IFS=$lt_save_ifs
10790 # Let DOS variable expansion print the short 8.3 style file name.
10791 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10792 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10793 done
10794 IFS=$lt_save_ifs
10795 # Convert to MSYS style.
10796 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10797 ;;
10798 cygwin*)
10799 # Convert to unix form, then to dos form, then back to unix form
10800 # but this time dos style (no spaces!) so that the unix form looks
10801 # like /cygdrive/c/PROGRA~1:/cygdr...
10802 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10803 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10804 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10805 ;;
10806 *)
10807 sys_lib_search_path_spec=$LIB
10808 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10809 # It is most probably a Windows format PATH.
10810 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10811 else
10812 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10813 fi
10814 # FIXME: find the short name or the path components, as spaces are
10815 # common. (e.g. "Program Files" -> "PROGRA~1")
10816 ;;
10817 esac
10818
10819 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10820 postinstall_cmds='base_file=`basename \$file`~
10821 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10822 dldir=$destdir/`dirname \$dlpath`~
10823 test -d \$dldir || mkdir -p \$dldir~
10824 $install_prog $dir/$dlname \$dldir/$dlname'
10825 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10826 dlpath=$dir/\$dldll~
10827 $RM \$dlpath'
10828 shlibpath_overrides_runpath=yes
10829 dynamic_linker='Win32 link.exe'
10830 ;;
10831
10832 *)
10833 # Assume MSVC wrapper
10834 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10835 dynamic_linker='Win32 ld.exe'
10836 ;;
10837 esac
10838 # FIXME: first we should search . and the directory the executable is in
10839 shlibpath_var=PATH
10840 ;;
10841
10842 darwin* | rhapsody*)
10843 dynamic_linker="$host_os dyld"
10844 version_type=darwin
10845 need_lib_prefix=no
10846 need_version=no
10847 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10848 soname_spec='$libname$release$major$shared_ext'
10849 shlibpath_overrides_runpath=yes
10850 shlibpath_var=DYLD_LIBRARY_PATH
10851 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10852
10853 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10854 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10855 ;;
10856
10857 dgux*)
10858 version_type=linux # correct to gnu/linux during the next big refactor
10859 need_lib_prefix=no
10860 need_version=no
10861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10862 soname_spec='$libname$release$shared_ext$major'
10863 shlibpath_var=LD_LIBRARY_PATH
10864 ;;
10865
10866 freebsd* | dragonfly*)
10867 # DragonFly does not have aout. When/if they implement a new
10868 # versioning mechanism, adjust this.
10869 if test -x /usr/bin/objformat; then
10870 objformat=`/usr/bin/objformat`
10871 else
10872 case $host_os in
10873 freebsd[23].*) objformat=aout ;;
10874 *) objformat=elf ;;
10875 esac
10876 fi
10877 version_type=freebsd-$objformat
10878 case $version_type in
10879 freebsd-elf*)
10880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10881 soname_spec='$libname$release$shared_ext$major'
10882 need_version=no
10883 need_lib_prefix=no
10884 ;;
10885 freebsd-*)
10886 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10887 need_version=yes
10888 ;;
10889 esac
10890 shlibpath_var=LD_LIBRARY_PATH
10891 case $host_os in
10892 freebsd2.*)
10893 shlibpath_overrides_runpath=yes
10894 ;;
10895 freebsd3.[01]* | freebsdelf3.[01]*)
10896 shlibpath_overrides_runpath=yes
10897 hardcode_into_libs=yes
10898 ;;
10899 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10900 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10901 shlibpath_overrides_runpath=no
10902 hardcode_into_libs=yes
10903 ;;
10904 *) # from 4.6 on, and DragonFly
10905 shlibpath_overrides_runpath=yes
10906 hardcode_into_libs=yes
10907 ;;
10908 esac
10909 ;;
10910
10911 haiku*)
10912 version_type=linux # correct to gnu/linux during the next big refactor
10913 need_lib_prefix=no
10914 need_version=no
10915 dynamic_linker="$host_os runtime_loader"
10916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10917 soname_spec='$libname$release$shared_ext$major'
10918 shlibpath_var=LIBRARY_PATH
10919 shlibpath_overrides_runpath=no
10920 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10921 hardcode_into_libs=yes
10922 ;;
10923
10924 hpux9* | hpux10* | hpux11*)
10925 # Give a soname corresponding to the major version so that dld.sl refuses to
10926 # link against other versions.
10927 version_type=sunos
10928 need_lib_prefix=no
10929 need_version=no
10930 case $host_cpu in
10931 ia64*)
10932 shrext_cmds='.so'
10933 hardcode_into_libs=yes
10934 dynamic_linker="$host_os dld.so"
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10937 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10938 soname_spec='$libname$release$shared_ext$major'
10939 if test 32 = "$HPUX_IA64_MODE"; then
10940 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10941 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10942 else
10943 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10944 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10945 fi
10946 ;;
10947 hppa*64*)
10948 shrext_cmds='.sl'
10949 hardcode_into_libs=yes
10950 dynamic_linker="$host_os dld.sl"
10951 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10952 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10953 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10954 soname_spec='$libname$release$shared_ext$major'
10955 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10956 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10957 ;;
10958 *)
10959 shrext_cmds='.sl'
10960 dynamic_linker="$host_os dld.sl"
10961 shlibpath_var=SHLIB_PATH
10962 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10963 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10964 soname_spec='$libname$release$shared_ext$major'
10965 ;;
10966 esac
10967 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10968 postinstall_cmds='chmod 555 $lib'
10969 # or fails outright, so override atomically:
10970 install_override_mode=555
10971 ;;
10972
10973 interix[3-9]*)
10974 version_type=linux # correct to gnu/linux during the next big refactor
10975 need_lib_prefix=no
10976 need_version=no
10977 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10978 soname_spec='$libname$release$shared_ext$major'
10979 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=no
10982 hardcode_into_libs=yes
10983 ;;
10984
10985 irix5* | irix6* | nonstopux*)
10986 case $host_os in
10987 nonstopux*) version_type=nonstopux ;;
10988 *)
10989 if test yes = "$lt_cv_prog_gnu_ld"; then
10990 version_type=linux # correct to gnu/linux during the next big refactor
10991 else
10992 version_type=irix
10993 fi ;;
10994 esac
10995 need_lib_prefix=no
10996 need_version=no
10997 soname_spec='$libname$release$shared_ext$major'
10998 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10999 case $host_os in
11000 irix5* | nonstopux*)
11001 libsuff= shlibsuff=
11002 ;;
11003 *)
11004 case $LD in # libtool.m4 will add one of these switches to LD
11005 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11006 libsuff= shlibsuff= libmagic=32-bit;;
11007 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11008 libsuff=32 shlibsuff=N32 libmagic=N32;;
11009 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11010 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11011 *) libsuff= shlibsuff= libmagic=never-match;;
11012 esac
11013 ;;
11014 esac
11015 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11016 shlibpath_overrides_runpath=no
11017 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11018 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11019 hardcode_into_libs=yes
11020 ;;
11021
11022 # No shared lib support for Linux oldld, aout, or coff.
11023 linux*oldld* | linux*aout* | linux*coff*)
11024 dynamic_linker=no
11025 ;;
11026
11027 linux*android*)
11028 version_type=none # Android doesn't support versioned libraries.
11029 need_lib_prefix=no
11030 need_version=no
11031 library_names_spec='$libname$release$shared_ext'
11032 soname_spec='$libname$release$shared_ext'
11033 finish_cmds=
11034 shlibpath_var=LD_LIBRARY_PATH
11035 shlibpath_overrides_runpath=yes
11036
11037 # This implies no fast_install, which is unacceptable.
11038 # Some rework will be needed to allow for fast_install
11039 # before this can be enabled.
11040 hardcode_into_libs=yes
11041
11042 dynamic_linker='Android linker'
11043 # Don't embed -rpath directories since the linker doesn't support them.
11044 hardcode_libdir_flag_spec='-L$libdir'
11045 ;;
11046
11047 # This must be glibc/ELF.
11048 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11049 version_type=linux # correct to gnu/linux during the next big refactor
11050 need_lib_prefix=no
11051 need_version=no
11052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11053 soname_spec='$libname$release$shared_ext$major'
11054 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=no
11057
11058 # Some binutils ld are patched to set DT_RUNPATH
11059 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 lt_cv_shlibpath_overrides_runpath=no
11063 save_LDFLAGS=$LDFLAGS
11064 save_libdir=$libdir
11065 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11066 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11069
11070 int
11071 main ()
11072 {
11073
11074 ;
11075 return 0;
11076 }
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11080 lt_cv_shlibpath_overrides_runpath=yes
11081 fi
11082 fi
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LDFLAGS=$save_LDFLAGS
11086 libdir=$save_libdir
11087
11088 fi
11089
11090 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11091
11092 # This implies no fast_install, which is unacceptable.
11093 # Some rework will be needed to allow for fast_install
11094 # before this can be enabled.
11095 hardcode_into_libs=yes
11096
11097 # Add ABI-specific directories to the system library path.
11098 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11099
11100 # Ideally, we could use ldconfig to report *all* directores which are
11101 # searched for libraries, however this is still not possible. Aside from not
11102 # being certain /sbin/ldconfig is available, command
11103 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11104 # even though it is searched at run-time. Try to do the best guess by
11105 # appending ld.so.conf contents (and includes) to the search path.
11106 if test -f /etc/ld.so.conf; then
11107 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' ' '`
11108 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11109 fi
11110
11111 # We used to test for /lib/ld.so.1 and disable shared libraries on
11112 # powerpc, because MkLinux only supported shared libraries with the
11113 # GNU dynamic linker. Since this was broken with cross compilers,
11114 # most powerpc-linux boxes support dynamic linking these days and
11115 # people can always --disable-shared, the test was removed, and we
11116 # assume the GNU/Linux dynamic linker is in use.
11117 dynamic_linker='GNU/Linux ld.so'
11118 ;;
11119
11120 netbsd*)
11121 version_type=sunos
11122 need_lib_prefix=no
11123 need_version=no
11124 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11125 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11126 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11127 dynamic_linker='NetBSD (a.out) ld.so'
11128 else
11129 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11130 soname_spec='$libname$release$shared_ext$major'
11131 dynamic_linker='NetBSD ld.elf_so'
11132 fi
11133 shlibpath_var=LD_LIBRARY_PATH
11134 shlibpath_overrides_runpath=yes
11135 hardcode_into_libs=yes
11136 ;;
11137
11138 newsos6)
11139 version_type=linux # correct to gnu/linux during the next big refactor
11140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11141 shlibpath_var=LD_LIBRARY_PATH
11142 shlibpath_overrides_runpath=yes
11143 ;;
11144
11145 *nto* | *qnx*)
11146 version_type=qnx
11147 need_lib_prefix=no
11148 need_version=no
11149 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11150 soname_spec='$libname$release$shared_ext$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 shlibpath_overrides_runpath=no
11153 hardcode_into_libs=yes
11154 dynamic_linker='ldqnx.so'
11155 ;;
11156
11157 openbsd* | bitrig*)
11158 version_type=sunos
11159 sys_lib_dlsearch_path_spec=/usr/lib
11160 need_lib_prefix=no
11161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11162 need_version=no
11163 else
11164 need_version=yes
11165 fi
11166 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11167 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11168 shlibpath_var=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath=yes
11170 ;;
11171
11172 os2*)
11173 libname_spec='$name'
11174 version_type=windows
11175 shrext_cmds=.dll
11176 need_version=no
11177 need_lib_prefix=no
11178 # OS/2 can only load a DLL with a base name of 8 characters or less.
11179 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11180 v=$($ECHO $release$versuffix | tr -d .-);
11181 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11182 $ECHO $n$v`$shared_ext'
11183 library_names_spec='${libname}_dll.$libext'
11184 dynamic_linker='OS/2 ld.exe'
11185 shlibpath_var=BEGINLIBPATH
11186 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11187 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11188 postinstall_cmds='base_file=`basename \$file`~
11189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11190 dldir=$destdir/`dirname \$dlpath`~
11191 test -d \$dldir || mkdir -p \$dldir~
11192 $install_prog $dir/$dlname \$dldir/$dlname~
11193 chmod a+x \$dldir/$dlname~
11194 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11195 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11196 fi'
11197 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11198 dlpath=$dir/\$dldll~
11199 $RM \$dlpath'
11200 ;;
11201
11202 osf3* | osf4* | osf5*)
11203 version_type=osf
11204 need_lib_prefix=no
11205 need_version=no
11206 soname_spec='$libname$release$shared_ext$major'
11207 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11208 shlibpath_var=LD_LIBRARY_PATH
11209 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11210 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11211 ;;
11212
11213 rdos*)
11214 dynamic_linker=no
11215 ;;
11216
11217 solaris*)
11218 version_type=linux # correct to gnu/linux during the next big refactor
11219 need_lib_prefix=no
11220 need_version=no
11221 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11222 soname_spec='$libname$release$shared_ext$major'
11223 shlibpath_var=LD_LIBRARY_PATH
11224 shlibpath_overrides_runpath=yes
11225 hardcode_into_libs=yes
11226 # ldd complains unless libraries are executable
11227 postinstall_cmds='chmod +x $lib'
11228 ;;
11229
11230 sunos4*)
11231 version_type=sunos
11232 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11233 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11234 shlibpath_var=LD_LIBRARY_PATH
11235 shlibpath_overrides_runpath=yes
11236 if test yes = "$with_gnu_ld"; then
11237 need_lib_prefix=no
11238 fi
11239 need_version=yes
11240 ;;
11241
11242 sysv4 | sysv4.3*)
11243 version_type=linux # correct to gnu/linux during the next big refactor
11244 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11245 soname_spec='$libname$release$shared_ext$major'
11246 shlibpath_var=LD_LIBRARY_PATH
11247 case $host_vendor in
11248 sni)
11249 shlibpath_overrides_runpath=no
11250 need_lib_prefix=no
11251 runpath_var=LD_RUN_PATH
11252 ;;
11253 siemens)
11254 need_lib_prefix=no
11255 ;;
11256 motorola)
11257 need_lib_prefix=no
11258 need_version=no
11259 shlibpath_overrides_runpath=no
11260 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11261 ;;
11262 esac
11263 ;;
11264
11265 sysv4*MP*)
11266 if test -d /usr/nec; then
11267 version_type=linux # correct to gnu/linux during the next big refactor
11268 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11269 soname_spec='$libname$shared_ext.$major'
11270 shlibpath_var=LD_LIBRARY_PATH
11271 fi
11272 ;;
11273
11274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11275 version_type=sco
11276 need_lib_prefix=no
11277 need_version=no
11278 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11279 soname_spec='$libname$release$shared_ext$major'
11280 shlibpath_var=LD_LIBRARY_PATH
11281 shlibpath_overrides_runpath=yes
11282 hardcode_into_libs=yes
11283 if test yes = "$with_gnu_ld"; then
11284 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11285 else
11286 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11287 case $host_os in
11288 sco3.2v5*)
11289 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11290 ;;
11291 esac
11292 fi
11293 sys_lib_dlsearch_path_spec='/usr/lib'
11294 ;;
11295
11296 tpf*)
11297 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11298 version_type=linux # correct to gnu/linux during the next big refactor
11299 need_lib_prefix=no
11300 need_version=no
11301 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11302 shlibpath_var=LD_LIBRARY_PATH
11303 shlibpath_overrides_runpath=no
11304 hardcode_into_libs=yes
11305 ;;
11306
11307 uts4*)
11308 version_type=linux # correct to gnu/linux during the next big refactor
11309 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11310 soname_spec='$libname$release$shared_ext$major'
11311 shlibpath_var=LD_LIBRARY_PATH
11312 ;;
11313
11314 *)
11315 dynamic_linker=no
11316 ;;
11317 esac
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11319 $as_echo "$dynamic_linker" >&6; }
11320 test no = "$dynamic_linker" && can_build_shared=no
11321
11322 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11323 if test yes = "$GCC"; then
11324 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11325 fi
11326
11327 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11328 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11329 fi
11330
11331 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11332 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11333 fi
11334
11335 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11336 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11337
11338 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11339 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11340
11341 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11342 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11441 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11442 hardcode_action=
11443 if test -n "$hardcode_libdir_flag_spec" ||
11444 test -n "$runpath_var" ||
11445 test yes = "$hardcode_automatic"; then
11446
11447 # We can hardcode non-existent directories.
11448 if test no != "$hardcode_direct" &&
11449 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11450 # have to relink, otherwise we might link with an installed library
11451 # when we should be linking with a yet-to-be-installed one
11452 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11453 test no != "$hardcode_minus_L"; then
11454 # Linking always hardcodes the temporary library directory.
11455 hardcode_action=relink
11456 else
11457 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11458 hardcode_action=immediate
11459 fi
11460 else
11461 # We cannot hardcode anything, or else we can only hardcode existing
11462 # directories.
11463 hardcode_action=unsupported
11464 fi
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11466 $as_echo "$hardcode_action" >&6; }
11467
11468 if test relink = "$hardcode_action" ||
11469 test yes = "$inherit_rpath"; then
11470 # Fast installation is not supported
11471 enable_fast_install=no
11472 elif test yes = "$shlibpath_overrides_runpath" ||
11473 test no = "$enable_shared"; then
11474 # Fast installation is not necessary
11475 enable_fast_install=needless
11476 fi
11477
11478
11479
11480
11481
11482
11483 if test yes != "$enable_dlopen"; then
11484 enable_dlopen=unknown
11485 enable_dlopen_self=unknown
11486 enable_dlopen_self_static=unknown
11487 else
11488 lt_cv_dlopen=no
11489 lt_cv_dlopen_libs=
11490
11491 case $host_os in
11492 beos*)
11493 lt_cv_dlopen=load_add_on
11494 lt_cv_dlopen_libs=
11495 lt_cv_dlopen_self=yes
11496 ;;
11497
11498 mingw* | pw32* | cegcc*)
11499 lt_cv_dlopen=LoadLibrary
11500 lt_cv_dlopen_libs=
11501 ;;
11502
11503 cygwin*)
11504 lt_cv_dlopen=dlopen
11505 lt_cv_dlopen_libs=
11506 ;;
11507
11508 darwin*)
11509 # if libdl is installed we need to link against it
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11511 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11512 if ${ac_cv_lib_dl_dlopen+:} false; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldl $LIBS"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11519
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char dlopen ();
11527 int
11528 main ()
11529 {
11530 return dlopen ();
11531 ;
11532 return 0;
11533 }
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 ac_cv_lib_dl_dlopen=yes
11537 else
11538 ac_cv_lib_dl_dlopen=no
11539 fi
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_lib_save_LIBS
11543 fi
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11545 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11546 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11547 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11548 else
11549
11550 lt_cv_dlopen=dyld
11551 lt_cv_dlopen_libs=
11552 lt_cv_dlopen_self=yes
11553
11554 fi
11555
11556 ;;
11557
11558 tpf*)
11559 # Don't try to run any link tests for TPF. We know it's impossible
11560 # because TPF is a cross-compiler, and we know how we open DSOs.
11561 lt_cv_dlopen=dlopen
11562 lt_cv_dlopen_libs=
11563 lt_cv_dlopen_self=no
11564 ;;
11565
11566 *)
11567 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11568 if test "x$ac_cv_func_shl_load" = xyes; then :
11569 lt_cv_dlopen=shl_load
11570 else
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11572 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11573 if ${ac_cv_lib_dld_shl_load+:} false; then :
11574 $as_echo_n "(cached) " >&6
11575 else
11576 ac_check_lib_save_LIBS=$LIBS
11577 LIBS="-ldld $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11580
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char shl_load ();
11588 int
11589 main ()
11590 {
11591 return shl_load ();
11592 ;
11593 return 0;
11594 }
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 ac_cv_lib_dld_shl_load=yes
11598 else
11599 ac_cv_lib_dld_shl_load=no
11600 fi
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_lib_save_LIBS
11604 fi
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11606 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11607 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11608 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11609 else
11610 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11611 if test "x$ac_cv_func_dlopen" = xyes; then :
11612 lt_cv_dlopen=dlopen
11613 else
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11615 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11616 if ${ac_cv_lib_dl_dlopen+:} false; then :
11617 $as_echo_n "(cached) " >&6
11618 else
11619 ac_check_lib_save_LIBS=$LIBS
11620 LIBS="-ldl $LIBS"
11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11623
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 #endif
11630 char dlopen ();
11631 int
11632 main ()
11633 {
11634 return dlopen ();
11635 ;
11636 return 0;
11637 }
11638 _ACEOF
11639 if ac_fn_c_try_link "$LINENO"; then :
11640 ac_cv_lib_dl_dlopen=yes
11641 else
11642 ac_cv_lib_dl_dlopen=no
11643 fi
11644 rm -f core conftest.err conftest.$ac_objext \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_lib_save_LIBS
11647 fi
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11649 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11650 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11651 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11652 else
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11654 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11655 if ${ac_cv_lib_svld_dlopen+:} false; then :
11656 $as_echo_n "(cached) " >&6
11657 else
11658 ac_check_lib_save_LIBS=$LIBS
11659 LIBS="-lsvld $LIBS"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11662
11663 /* Override any GCC internal prototype to avoid an error.
11664 Use char because int might match the return type of a GCC
11665 builtin and then its argument prototype would still apply. */
11666 #ifdef __cplusplus
11667 extern "C"
11668 #endif
11669 char dlopen ();
11670 int
11671 main ()
11672 {
11673 return dlopen ();
11674 ;
11675 return 0;
11676 }
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"; then :
11679 ac_cv_lib_svld_dlopen=yes
11680 else
11681 ac_cv_lib_svld_dlopen=no
11682 fi
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_lib_save_LIBS
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11688 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11689 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11690 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11691 else
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11693 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11694 if ${ac_cv_lib_dld_dld_link+:} false; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 ac_check_lib_save_LIBS=$LIBS
11698 LIBS="-ldld $LIBS"
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11701
11702 /* Override any GCC internal prototype to avoid an error.
11703 Use char because int might match the return type of a GCC
11704 builtin and then its argument prototype would still apply. */
11705 #ifdef __cplusplus
11706 extern "C"
11707 #endif
11708 char dld_link ();
11709 int
11710 main ()
11711 {
11712 return dld_link ();
11713 ;
11714 return 0;
11715 }
11716 _ACEOF
11717 if ac_fn_c_try_link "$LINENO"; then :
11718 ac_cv_lib_dld_dld_link=yes
11719 else
11720 ac_cv_lib_dld_dld_link=no
11721 fi
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_lib_save_LIBS
11725 fi
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11727 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11728 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11729 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11730 fi
11731
11732
11733 fi
11734
11735
11736 fi
11737
11738
11739 fi
11740
11741
11742 fi
11743
11744
11745 fi
11746
11747 ;;
11748 esac
11749
11750 if test no = "$lt_cv_dlopen"; then
11751 enable_dlopen=no
11752 else
11753 enable_dlopen=yes
11754 fi
11755
11756 case $lt_cv_dlopen in
11757 dlopen)
11758 save_CPPFLAGS=$CPPFLAGS
11759 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11760
11761 save_LDFLAGS=$LDFLAGS
11762 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11763
11764 save_LIBS=$LIBS
11765 LIBS="$lt_cv_dlopen_libs $LIBS"
11766
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11768 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11769 if ${lt_cv_dlopen_self+:} false; then :
11770 $as_echo_n "(cached) " >&6
11771 else
11772 if test yes = "$cross_compiling"; then :
11773 lt_cv_dlopen_self=cross
11774 else
11775 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11776 lt_status=$lt_dlunknown
11777 cat > conftest.$ac_ext <<_LT_EOF
11778 #line $LINENO "configure"
11779 #include "confdefs.h"
11780
11781 #if HAVE_DLFCN_H
11782 #include <dlfcn.h>
11783 #endif
11784
11785 #include <stdio.h>
11786
11787 #ifdef RTLD_GLOBAL
11788 # define LT_DLGLOBAL RTLD_GLOBAL
11789 #else
11790 # ifdef DL_GLOBAL
11791 # define LT_DLGLOBAL DL_GLOBAL
11792 # else
11793 # define LT_DLGLOBAL 0
11794 # endif
11795 #endif
11796
11797 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11798 find out it does not work in some platform. */
11799 #ifndef LT_DLLAZY_OR_NOW
11800 # ifdef RTLD_LAZY
11801 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11802 # else
11803 # ifdef DL_LAZY
11804 # define LT_DLLAZY_OR_NOW DL_LAZY
11805 # else
11806 # ifdef RTLD_NOW
11807 # define LT_DLLAZY_OR_NOW RTLD_NOW
11808 # else
11809 # ifdef DL_NOW
11810 # define LT_DLLAZY_OR_NOW DL_NOW
11811 # else
11812 # define LT_DLLAZY_OR_NOW 0
11813 # endif
11814 # endif
11815 # endif
11816 # endif
11817 #endif
11818
11819 /* When -fvisibility=hidden is used, assume the code has been annotated
11820 correspondingly for the symbols needed. */
11821 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11822 int fnord () __attribute__((visibility("default")));
11823 #endif
11824
11825 int fnord () { return 42; }
11826 int main ()
11827 {
11828 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11829 int status = $lt_dlunknown;
11830
11831 if (self)
11832 {
11833 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11834 else
11835 {
11836 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11837 else puts (dlerror ());
11838 }
11839 /* dlclose (self); */
11840 }
11841 else
11842 puts (dlerror ());
11843
11844 return status;
11845 }
11846 _LT_EOF
11847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11848 (eval $ac_link) 2>&5
11849 ac_status=$?
11850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11851 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11852 (./conftest; exit; ) >&5 2>/dev/null
11853 lt_status=$?
11854 case x$lt_status in
11855 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11856 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11857 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11858 esac
11859 else :
11860 # compilation failed
11861 lt_cv_dlopen_self=no
11862 fi
11863 fi
11864 rm -fr conftest*
11865
11866
11867 fi
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11869 $as_echo "$lt_cv_dlopen_self" >&6; }
11870
11871 if test yes = "$lt_cv_dlopen_self"; then
11872 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11874 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11875 if ${lt_cv_dlopen_self_static+:} false; then :
11876 $as_echo_n "(cached) " >&6
11877 else
11878 if test yes = "$cross_compiling"; then :
11879 lt_cv_dlopen_self_static=cross
11880 else
11881 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11882 lt_status=$lt_dlunknown
11883 cat > conftest.$ac_ext <<_LT_EOF
11884 #line $LINENO "configure"
11885 #include "confdefs.h"
11886
11887 #if HAVE_DLFCN_H
11888 #include <dlfcn.h>
11889 #endif
11890
11891 #include <stdio.h>
11892
11893 #ifdef RTLD_GLOBAL
11894 # define LT_DLGLOBAL RTLD_GLOBAL
11895 #else
11896 # ifdef DL_GLOBAL
11897 # define LT_DLGLOBAL DL_GLOBAL
11898 # else
11899 # define LT_DLGLOBAL 0
11900 # endif
11901 #endif
11902
11903 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11904 find out it does not work in some platform. */
11905 #ifndef LT_DLLAZY_OR_NOW
11906 # ifdef RTLD_LAZY
11907 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11908 # else
11909 # ifdef DL_LAZY
11910 # define LT_DLLAZY_OR_NOW DL_LAZY
11911 # else
11912 # ifdef RTLD_NOW
11913 # define LT_DLLAZY_OR_NOW RTLD_NOW
11914 # else
11915 # ifdef DL_NOW
11916 # define LT_DLLAZY_OR_NOW DL_NOW
11917 # else
11918 # define LT_DLLAZY_OR_NOW 0
11919 # endif
11920 # endif
11921 # endif
11922 # endif
11923 #endif
11924
11925 /* When -fvisibility=hidden is used, assume the code has been annotated
11926 correspondingly for the symbols needed. */
11927 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11928 int fnord () __attribute__((visibility("default")));
11929 #endif
11930
11931 int fnord () { return 42; }
11932 int main ()
11933 {
11934 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11935 int status = $lt_dlunknown;
11936
11937 if (self)
11938 {
11939 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11940 else
11941 {
11942 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11943 else puts (dlerror ());
11944 }
11945 /* dlclose (self); */
11946 }
11947 else
11948 puts (dlerror ());
11949
11950 return status;
11951 }
11952 _LT_EOF
11953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11954 (eval $ac_link) 2>&5
11955 ac_status=$?
11956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11957 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11958 (./conftest; exit; ) >&5 2>/dev/null
11959 lt_status=$?
11960 case x$lt_status in
11961 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11962 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11963 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11964 esac
11965 else :
11966 # compilation failed
11967 lt_cv_dlopen_self_static=no
11968 fi
11969 fi
11970 rm -fr conftest*
11971
11972
11973 fi
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11975 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11976 fi
11977
11978 CPPFLAGS=$save_CPPFLAGS
11979 LDFLAGS=$save_LDFLAGS
11980 LIBS=$save_LIBS
11981 ;;
11982 esac
11983
11984 case $lt_cv_dlopen_self in
11985 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11986 *) enable_dlopen_self=unknown ;;
11987 esac
11988
11989 case $lt_cv_dlopen_self_static in
11990 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11991 *) enable_dlopen_self_static=unknown ;;
11992 esac
11993 fi
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011 striplib=
12012 old_striplib=
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12014 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12015 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12016 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12017 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12019 $as_echo "yes" >&6; }
12020 else
12021 # FIXME - insert some real tests, host_os isn't really good enough
12022 case $host_os in
12023 darwin*)
12024 if test -n "$STRIP"; then
12025 striplib="$STRIP -x"
12026 old_striplib="$STRIP -S"
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12028 $as_echo "yes" >&6; }
12029 else
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031 $as_echo "no" >&6; }
12032 fi
12033 ;;
12034 *)
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036 $as_echo "no" >&6; }
12037 ;;
12038 esac
12039 fi
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052 # Report what library types will actually be built
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12054 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12056 $as_echo "$can_build_shared" >&6; }
12057
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12059 $as_echo_n "checking whether to build shared libraries... " >&6; }
12060 test no = "$can_build_shared" && enable_shared=no
12061
12062 # On AIX, shared libraries and static libraries use the same namespace, and
12063 # are all built from PIC.
12064 case $host_os in
12065 aix3*)
12066 test yes = "$enable_shared" && enable_static=no
12067 if test -n "$RANLIB"; then
12068 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12069 postinstall_cmds='$RANLIB $lib'
12070 fi
12071 ;;
12072
12073 aix[4-9]*)
12074 if test ia64 != "$host_cpu"; then
12075 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12076 yes,aix,yes) ;; # shared object as lib.so file only
12077 yes,svr4,*) ;; # shared object as lib.so archive member only
12078 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12079 esac
12080 fi
12081 ;;
12082 esac
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12084 $as_echo "$enable_shared" >&6; }
12085
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12087 $as_echo_n "checking whether to build static libraries... " >&6; }
12088 # Make sure either enable_shared or enable_static is yes.
12089 test yes = "$enable_shared" || enable_static=yes
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12091 $as_echo "$enable_static" >&6; }
12092
12093
12094
12095
12096 fi
12097 ac_ext=c
12098 ac_cpp='$CPP $CPPFLAGS'
12099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12102
12103 CC=$lt_save_CC
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119 ac_config_commands="$ac_config_commands libtool"
12120
12121
12122
12123
12124 # Only expand once:
12125
12126
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12128 $as_echo_n "checking for ANSI C header files... " >&6; }
12129 if ${ac_cv_header_stdc+:} false; then :
12130 $as_echo_n "(cached) " >&6
12131 else
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12134 #include <stdlib.h>
12135 #include <stdarg.h>
12136 #include <string.h>
12137 #include <float.h>
12138
12139 int
12140 main ()
12141 {
12142
12143 ;
12144 return 0;
12145 }
12146 _ACEOF
12147 if ac_fn_c_try_compile "$LINENO"; then :
12148 ac_cv_header_stdc=yes
12149 else
12150 ac_cv_header_stdc=no
12151 fi
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153
12154 if test $ac_cv_header_stdc = yes; then
12155 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12158 #include <string.h>
12159
12160 _ACEOF
12161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12162 $EGREP "memchr" >/dev/null 2>&1; then :
12163
12164 else
12165 ac_cv_header_stdc=no
12166 fi
12167 rm -f conftest*
12168
12169 fi
12170
12171 if test $ac_cv_header_stdc = yes; then
12172 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12175 #include <stdlib.h>
12176
12177 _ACEOF
12178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12179 $EGREP "free" >/dev/null 2>&1; then :
12180
12181 else
12182 ac_cv_header_stdc=no
12183 fi
12184 rm -f conftest*
12185
12186 fi
12187
12188 if test $ac_cv_header_stdc = yes; then
12189 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12190 if test "$cross_compiling" = yes; then :
12191 :
12192 else
12193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12195 #include <ctype.h>
12196 #include <stdlib.h>
12197 #if ((' ' & 0x0FF) == 0x020)
12198 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12199 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12200 #else
12201 # define ISLOWER(c) \
12202 (('a' <= (c) && (c) <= 'i') \
12203 || ('j' <= (c) && (c) <= 'r') \
12204 || ('s' <= (c) && (c) <= 'z'))
12205 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12206 #endif
12207
12208 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12209 int
12210 main ()
12211 {
12212 int i;
12213 for (i = 0; i < 256; i++)
12214 if (XOR (islower (i), ISLOWER (i))
12215 || toupper (i) != TOUPPER (i))
12216 return 2;
12217 return 0;
12218 }
12219 _ACEOF
12220 if ac_fn_c_try_run "$LINENO"; then :
12221
12222 else
12223 ac_cv_header_stdc=no
12224 fi
12225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12226 conftest.$ac_objext conftest.beam conftest.$ac_ext
12227 fi
12228
12229 fi
12230 fi
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12232 $as_echo "$ac_cv_header_stdc" >&6; }
12233 if test $ac_cv_header_stdc = yes; then
12234
12235 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12236
12237 fi
12238
12239
12240
12241
12242
12243 case $host in
12244
12245 *-freebsd* | *-openbsd*) ;;
12246 *-mingw*)
12247 LDFLAGS_NOUNDEFINED="-no-undefined"
12248 ;;
12249 *)
12250 for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
12251
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $possible_flags flag" >&5
12253 $as_echo_n "checking if $CC supports $possible_flags flag... " >&6; }
12254 if { as_var=`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
12255 $as_echo_n "(cached) " >&6
12256 else
12257 ac_save_LDFLAGS="$LDFLAGS"
12258 LDFLAGS="$LDFLAGS $possible_flags"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12261 int main() { return 1; }
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 eval "`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`='yes'"
12265 else
12266 eval "`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`="
12267 fi
12268 rm -f core conftest.err conftest.$ac_objext \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LDFLAGS="$ac_save_LDFLAGS"
12271
12272 fi
12273 eval ac_res=\$`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12275 $as_echo "$ac_res" >&6; }
12276
12277 if eval test x$`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh` = xyes; then :
12278 LDFLAGS_NOUNDEFINED="$possible_flags"
12279 fi
12280
12281 if test "x$LDFLAGS_NOUNDEFINED" = "x"; then break; fi
12282 done
12283 ;;
12284 esac
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12297 if test -n "$ac_tool_prefix"; then
12298 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12299 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12303 $as_echo_n "(cached) " >&6
12304 else
12305 case $PKG_CONFIG in
12306 [\\/]* | ?:[\\/]*)
12307 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12308 ;;
12309 *)
12310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12312 do
12313 IFS=$as_save_IFS
12314 test -z "$as_dir" && as_dir=.
12315 for ac_exec_ext in '' $ac_executable_extensions; do
12316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12317 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 break 2
12320 fi
12321 done
12322 done
12323 IFS=$as_save_IFS
12324
12325 ;;
12326 esac
12327 fi
12328 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12329 if test -n "$PKG_CONFIG"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12331 $as_echo "$PKG_CONFIG" >&6; }
12332 else
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12335 fi
12336
12337
12338 fi
12339 if test -z "$ac_cv_path_PKG_CONFIG"; then
12340 ac_pt_PKG_CONFIG=$PKG_CONFIG
12341 # Extract the first word of "pkg-config", so it can be a program name with args.
12342 set dummy pkg-config; ac_word=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12346 $as_echo_n "(cached) " >&6
12347 else
12348 case $ac_pt_PKG_CONFIG in
12349 [\\/]* | ?:[\\/]*)
12350 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12351 ;;
12352 *)
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12355 do
12356 IFS=$as_save_IFS
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12362 break 2
12363 fi
12364 done
12365 done
12366 IFS=$as_save_IFS
12367
12368 ;;
12369 esac
12370 fi
12371 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12372 if test -n "$ac_pt_PKG_CONFIG"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12374 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12375 else
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12378 fi
12379
12380 if test "x$ac_pt_PKG_CONFIG" = x; then
12381 PKG_CONFIG=""
12382 else
12383 case $cross_compiling:$ac_tool_warned in
12384 yes:)
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12387 ac_tool_warned=yes ;;
12388 esac
12389 PKG_CONFIG=$ac_pt_PKG_CONFIG
12390 fi
12391 else
12392 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12393 fi
12394
12395 fi
12396 if test -n "$PKG_CONFIG"; then
12397 _pkg_min_version=0.9.0
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12399 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12400 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402 $as_echo "yes" >&6; }
12403 else
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405 $as_echo "no" >&6; }
12406 PKG_CONFIG=""
12407 fi
12408 fi
12409
12410 pkg_failed=no
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12412 $as_echo_n "checking for ALSA... " >&6; }
12413
12414 if test -n "$ALSA_CFLAGS"; then
12415 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12416 elif test -n "$PKG_CONFIG"; then
12417 if test -n "$PKG_CONFIG" && \
12418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.1.6\""; } >&5
12419 ($PKG_CONFIG --exists --print-errors "alsa >= 1.1.6") 2>&5
12420 ac_status=$?
12421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422 test $ac_status = 0; }; then
12423 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.1.6" 2>/dev/null`
12424 test "x$?" != "x0" && pkg_failed=yes
12425 else
12426 pkg_failed=yes
12427 fi
12428 else
12429 pkg_failed=untried
12430 fi
12431 if test -n "$ALSA_LIBS"; then
12432 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12433 elif test -n "$PKG_CONFIG"; then
12434 if test -n "$PKG_CONFIG" && \
12435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.1.6\""; } >&5
12436 ($PKG_CONFIG --exists --print-errors "alsa >= 1.1.6") 2>&5
12437 ac_status=$?
12438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12439 test $ac_status = 0; }; then
12440 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 1.1.6" 2>/dev/null`
12441 test "x$?" != "x0" && pkg_failed=yes
12442 else
12443 pkg_failed=yes
12444 fi
12445 else
12446 pkg_failed=untried
12447 fi
12448
12449
12450
12451 if test $pkg_failed = yes; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453 $as_echo "no" >&6; }
12454
12455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12456 _pkg_short_errors_supported=yes
12457 else
12458 _pkg_short_errors_supported=no
12459 fi
12460 if test $_pkg_short_errors_supported = yes; then
12461 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.1.6" 2>&1`
12462 else
12463 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.1.6" 2>&1`
12464 fi
12465 # Put the nasty error message in config.log where it belongs
12466 echo "$ALSA_PKG_ERRORS" >&5
12467
12468 as_fn_error $? "Package requirements (alsa >= 1.1.6) were not met:
12469
12470 $ALSA_PKG_ERRORS
12471
12472 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12473 installed software in a non-standard prefix.
12474
12475 Alternatively, you may set the environment variables ALSA_CFLAGS
12476 and ALSA_LIBS to avoid the need to call pkg-config.
12477 See the pkg-config man page for more details." "$LINENO" 5
12478 elif test $pkg_failed = untried; then
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12480 $as_echo "no" >&6; }
12481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12483 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12484 is in your PATH or set the PKG_CONFIG environment variable to the full
12485 path to pkg-config.
12486
12487 Alternatively, you may set the environment variables ALSA_CFLAGS
12488 and ALSA_LIBS to avoid the need to call pkg-config.
12489 See the pkg-config man page for more details.
12490
12491 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12492 See \`config.log' for more details" "$LINENO" 5; }
12493 else
12494 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12495 ALSA_LIBS=$pkg_cv_ALSA_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12497 $as_echo "yes" >&6; }
12498
12499 fi
12500 case $host_os in
12501 netbsd* | freebsd* | dragonfly* | openbsd*)
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_ioplug_create in -lasound" >&5
12503 $as_echo_n "checking for snd_pcm_ioplug_create in -lasound... " >&6; }
12504 if ${ac_cv_lib_asound_snd_pcm_ioplug_create+:} false; then :
12505 $as_echo_n "(cached) " >&6
12506 else
12507 ac_check_lib_save_LIBS=$LIBS
12508 LIBS="-lasound $LIBS"
12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12511
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12515 #ifdef __cplusplus
12516 extern "C"
12517 #endif
12518 char snd_pcm_ioplug_create ();
12519 int
12520 main ()
12521 {
12522 return snd_pcm_ioplug_create ();
12523 ;
12524 return 0;
12525 }
12526 _ACEOF
12527 if ac_fn_c_try_link "$LINENO"; then :
12528 ac_cv_lib_asound_snd_pcm_ioplug_create=yes
12529 else
12530 ac_cv_lib_asound_snd_pcm_ioplug_create=no
12531 fi
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_lib_save_LIBS
12535 fi
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_ioplug_create" >&5
12537 $as_echo "$ac_cv_lib_asound_snd_pcm_ioplug_create" >&6; }
12538 if test "x$ac_cv_lib_asound_snd_pcm_ioplug_create" = xyes; then :
12539 cat >>confdefs.h <<_ACEOF
12540 #define HAVE_LIBASOUND 1
12541 _ACEOF
12542
12543 LIBS="-lasound $LIBS"
12544
12545 else
12546 as_fn_error $? "*** libasound has no external plugin SDK" "$LINENO" 5
12547 fi
12548
12549 ;;
12550 *)
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_ioplug_create in -lasound" >&5
12552 $as_echo_n "checking for snd_pcm_ioplug_create in -lasound... " >&6; }
12553 if ${ac_cv_lib_asound_snd_pcm_ioplug_create+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lasound -ldl $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12560
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char snd_pcm_ioplug_create ();
12568 int
12569 main ()
12570 {
12571 return snd_pcm_ioplug_create ();
12572 ;
12573 return 0;
12574 }
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_asound_snd_pcm_ioplug_create=yes
12578 else
12579 ac_cv_lib_asound_snd_pcm_ioplug_create=no
12580 fi
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12584 fi
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_ioplug_create" >&5
12586 $as_echo "$ac_cv_lib_asound_snd_pcm_ioplug_create" >&6; }
12587 if test "x$ac_cv_lib_asound_snd_pcm_ioplug_create" = xyes; then :
12588 cat >>confdefs.h <<_ACEOF
12589 #define HAVE_LIBASOUND 1
12590 _ACEOF
12591
12592 LIBS="-lasound $LIBS"
12593
12594 else
12595 as_fn_error $? "*** libasound has no external plugin SDK" "$LINENO" 5
12596 fi
12597
12598 ;;
12599 esac
12600
12601 # Check whether --enable-oss was given.
12602 if test "${enable_oss+set}" = set; then :
12603 enableval=$enable_oss;
12604 fi
12605
12606 if test "x$enable_oss" != "xno"; then
12607 if true; then
12608 HAVE_OSS_TRUE=
12609 HAVE_OSS_FALSE='#'
12610 else
12611 HAVE_OSS_TRUE='#'
12612 HAVE_OSS_FALSE=
12613 fi
12614
12615 for ac_header in sys/soundcard.h soundcard.h
12616 do :
12617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12618 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12620 cat >>confdefs.h <<_ACEOF
12621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12622 _ACEOF
12623
12624 fi
12625
12626 done
12627
12628 else
12629 if false; then
12630 HAVE_OSS_TRUE=
12631 HAVE_OSS_FALSE='#'
12632 else
12633 HAVE_OSS_TRUE='#'
12634 HAVE_OSS_FALSE=
12635 fi
12636
12637 fi
12638
12639 # Check whether --enable-mix was given.
12640 if test "${enable_mix+set}" = set; then :
12641 enableval=$enable_mix;
12642 fi
12643
12644 if test "x$enable_mix" != "xno"; then :
12645 if true; then
12646 HAVE_MIX_TRUE=
12647 HAVE_MIX_FALSE='#'
12648 else
12649 HAVE_MIX_TRUE='#'
12650 HAVE_MIX_FALSE=
12651 fi
12652
12653 else
12654 if false; then
12655 HAVE_MIX_TRUE=
12656 HAVE_MIX_FALSE='#'
12657 else
12658 HAVE_MIX_TRUE='#'
12659 HAVE_MIX_FALSE=
12660 fi
12661
12662 fi
12663
12664 # Check whether --enable-usbstream was given.
12665 if test "${enable_usbstream+set}" = set; then :
12666 enableval=$enable_usbstream;
12667 fi
12668
12669 if test "x$enable_usbstream" != "xno"; then :
12670 if true; then
12671 HAVE_USBSTREAM_TRUE=
12672 HAVE_USBSTREAM_FALSE='#'
12673 else
12674 HAVE_USBSTREAM_TRUE='#'
12675 HAVE_USBSTREAM_FALSE=
12676 fi
12677
12678 else
12679 if false; then
12680 HAVE_USBSTREAM_TRUE=
12681 HAVE_USBSTREAM_FALSE='#'
12682 else
12683 HAVE_USBSTREAM_TRUE='#'
12684 HAVE_USBSTREAM_FALSE=
12685 fi
12686
12687 fi
12688
12689 # Check whether --enable-arcamav was given.
12690 if test "${enable_arcamav+set}" = set; then :
12691 enableval=$enable_arcamav;
12692 fi
12693
12694 if test "x$enable_arcamav" != "xno"; then :
12695 if true; then
12696 HAVE_ARCAMAV_TRUE=
12697 HAVE_ARCAMAV_FALSE='#'
12698 else
12699 HAVE_ARCAMAV_TRUE='#'
12700 HAVE_ARCAMAV_FALSE=
12701 fi
12702
12703 else
12704 if false; then
12705 HAVE_ARCAMAV_TRUE=
12706 HAVE_ARCAMAV_FALSE='#'
12707 else
12708 HAVE_ARCAMAV_TRUE='#'
12709 HAVE_ARCAMAV_FALSE=
12710 fi
12711
12712 fi
12713
12714 # Check whether --enable-jack was given.
12715 if test "${enable_jack+set}" = set; then :
12716 enableval=$enable_jack;
12717 fi
12718
12719
12720 if test "x$enable_jack" != "xno"; then
12721
12722 pkg_failed=no
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
12724 $as_echo_n "checking for JACK... " >&6; }
12725
12726 if test -n "$JACK_CFLAGS"; then
12727 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
12728 elif test -n "$PKG_CONFIG"; then
12729 if test -n "$PKG_CONFIG" && \
12730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98\""; } >&5
12731 ($PKG_CONFIG --exists --print-errors "jack >= 0.98") 2>&5
12732 ac_status=$?
12733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12734 test $ac_status = 0; }; then
12735 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.98" 2>/dev/null`
12736 test "x$?" != "x0" && pkg_failed=yes
12737 else
12738 pkg_failed=yes
12739 fi
12740 else
12741 pkg_failed=untried
12742 fi
12743 if test -n "$JACK_LIBS"; then
12744 pkg_cv_JACK_LIBS="$JACK_LIBS"
12745 elif test -n "$PKG_CONFIG"; then
12746 if test -n "$PKG_CONFIG" && \
12747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98\""; } >&5
12748 ($PKG_CONFIG --exists --print-errors "jack >= 0.98") 2>&5
12749 ac_status=$?
12750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12751 test $ac_status = 0; }; then
12752 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.98" 2>/dev/null`
12753 test "x$?" != "x0" && pkg_failed=yes
12754 else
12755 pkg_failed=yes
12756 fi
12757 else
12758 pkg_failed=untried
12759 fi
12760
12761
12762
12763 if test $pkg_failed = yes; then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12766
12767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12768 _pkg_short_errors_supported=yes
12769 else
12770 _pkg_short_errors_supported=no
12771 fi
12772 if test $_pkg_short_errors_supported = yes; then
12773 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack >= 0.98" 2>&1`
12774 else
12775 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack >= 0.98" 2>&1`
12776 fi
12777 # Put the nasty error message in config.log where it belongs
12778 echo "$JACK_PKG_ERRORS" >&5
12779
12780 HAVE_JACK=no
12781 elif test $pkg_failed = untried; then
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12783 $as_echo "no" >&6; }
12784 HAVE_JACK=no
12785 else
12786 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
12787 JACK_LIBS=$pkg_cv_JACK_LIBS
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12789 $as_echo "yes" >&6; }
12790 HAVE_JACK=yes
12791 fi
12792 fi
12793 if test x$HAVE_JACK = xyes; then
12794 HAVE_JACK_TRUE=
12795 HAVE_JACK_FALSE='#'
12796 else
12797 HAVE_JACK_TRUE='#'
12798 HAVE_JACK_FALSE=
12799 fi
12800
12801
12802 # Check whether --enable-pulseaudio was given.
12803 if test "${enable_pulseaudio+set}" = set; then :
12804 enableval=$enable_pulseaudio;
12805 fi
12806
12807
12808 if test "x$enable_pulseaudio" != "xno"; then
12809
12810 pkg_failed=no
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pulseaudio" >&5
12812 $as_echo_n "checking for pulseaudio... " >&6; }
12813
12814 if test -n "$pulseaudio_CFLAGS"; then
12815 pkg_cv_pulseaudio_CFLAGS="$pulseaudio_CFLAGS"
12816 elif test -n "$PKG_CONFIG"; then
12817 if test -n "$PKG_CONFIG" && \
12818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= 0.9.11\""; } >&5
12819 ($PKG_CONFIG --exists --print-errors "libpulse >= 0.9.11") 2>&5
12820 ac_status=$?
12821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12822 test $ac_status = 0; }; then
12823 pkg_cv_pulseaudio_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= 0.9.11" 2>/dev/null`
12824 test "x$?" != "x0" && pkg_failed=yes
12825 else
12826 pkg_failed=yes
12827 fi
12828 else
12829 pkg_failed=untried
12830 fi
12831 if test -n "$pulseaudio_LIBS"; then
12832 pkg_cv_pulseaudio_LIBS="$pulseaudio_LIBS"
12833 elif test -n "$PKG_CONFIG"; then
12834 if test -n "$PKG_CONFIG" && \
12835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= 0.9.11\""; } >&5
12836 ($PKG_CONFIG --exists --print-errors "libpulse >= 0.9.11") 2>&5
12837 ac_status=$?
12838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12839 test $ac_status = 0; }; then
12840 pkg_cv_pulseaudio_LIBS=`$PKG_CONFIG --libs "libpulse >= 0.9.11" 2>/dev/null`
12841 test "x$?" != "x0" && pkg_failed=yes
12842 else
12843 pkg_failed=yes
12844 fi
12845 else
12846 pkg_failed=untried
12847 fi
12848
12849
12850
12851 if test $pkg_failed = yes; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12853 $as_echo "no" >&6; }
12854
12855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12856 _pkg_short_errors_supported=yes
12857 else
12858 _pkg_short_errors_supported=no
12859 fi
12860 if test $_pkg_short_errors_supported = yes; then
12861 pulseaudio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse >= 0.9.11" 2>&1`
12862 else
12863 pulseaudio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse >= 0.9.11" 2>&1`
12864 fi
12865 # Put the nasty error message in config.log where it belongs
12866 echo "$pulseaudio_PKG_ERRORS" >&5
12867
12868 HAVE_PULSE=no
12869 elif test $pkg_failed = untried; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12871 $as_echo "no" >&6; }
12872 HAVE_PULSE=no
12873 else
12874 pulseaudio_CFLAGS=$pkg_cv_pulseaudio_CFLAGS
12875 pulseaudio_LIBS=$pkg_cv_pulseaudio_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12877 $as_echo "yes" >&6; }
12878 HAVE_PULSE=yes
12879 fi
12880 fi
12881 if test x$HAVE_PULSE = xyes; then
12882 HAVE_PULSE_TRUE=
12883 HAVE_PULSE_FALSE='#'
12884 else
12885 HAVE_PULSE_TRUE='#'
12886 HAVE_PULSE_FALSE=
12887 fi
12888
12889
12890 # Check whether --enable-samplerate was given.
12891 if test "${enable_samplerate+set}" = set; then :
12892 enableval=$enable_samplerate;
12893 fi
12894
12895
12896 if test "x$enable_samplerate" != "xno"; then
12897
12898 pkg_failed=no
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5
12900 $as_echo_n "checking for samplerate... " >&6; }
12901
12902 if test -n "$samplerate_CFLAGS"; then
12903 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS"
12904 elif test -n "$PKG_CONFIG"; then
12905 if test -n "$PKG_CONFIG" && \
12906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5
12907 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
12908 ac_status=$?
12909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12910 test $ac_status = 0; }; then
12911 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null`
12912 test "x$?" != "x0" && pkg_failed=yes
12913 else
12914 pkg_failed=yes
12915 fi
12916 else
12917 pkg_failed=untried
12918 fi
12919 if test -n "$samplerate_LIBS"; then
12920 pkg_cv_samplerate_LIBS="$samplerate_LIBS"
12921 elif test -n "$PKG_CONFIG"; then
12922 if test -n "$PKG_CONFIG" && \
12923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5
12924 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
12925 ac_status=$?
12926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927 test $ac_status = 0; }; then
12928 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null`
12929 test "x$?" != "x0" && pkg_failed=yes
12930 else
12931 pkg_failed=yes
12932 fi
12933 else
12934 pkg_failed=untried
12935 fi
12936
12937
12938
12939 if test $pkg_failed = yes; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12942
12943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12944 _pkg_short_errors_supported=yes
12945 else
12946 _pkg_short_errors_supported=no
12947 fi
12948 if test $_pkg_short_errors_supported = yes; then
12949 samplerate_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate" 2>&1`
12950 else
12951 samplerate_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate" 2>&1`
12952 fi
12953 # Put the nasty error message in config.log where it belongs
12954 echo "$samplerate_PKG_ERRORS" >&5
12955
12956 HAVE_SAMPLERATE=no
12957 elif test $pkg_failed = untried; then
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12959 $as_echo "no" >&6; }
12960 HAVE_SAMPLERATE=no
12961 else
12962 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS
12963 samplerate_LIBS=$pkg_cv_samplerate_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12965 $as_echo "yes" >&6; }
12966 HAVE_SAMPLERATE=yes
12967 fi
12968 fi
12969 if test x$HAVE_SAMPLERATE = xyes; then
12970 HAVE_SAMPLERATE_TRUE=
12971 HAVE_SAMPLERATE_FALSE='#'
12972 else
12973 HAVE_SAMPLERATE_TRUE='#'
12974 HAVE_SAMPLERATE_FALSE=
12975 fi
12976
12977
12978 # Check whether --enable-maemo-plugin was given.
12979 if test "${enable_maemo_plugin+set}" = set; then :
12980 enableval=$enable_maemo_plugin; HAVE_MAEMO_PLUGIN="$enableval"
12981 else
12982 HAVE_MAEMO_PLUGIN="no"
12983 fi
12984
12985 if test x$HAVE_MAEMO_PLUGIN = xyes; then
12986 HAVE_MAEMO_PLUGIN_TRUE=
12987 HAVE_MAEMO_PLUGIN_FALSE='#'
12988 else
12989 HAVE_MAEMO_PLUGIN_TRUE='#'
12990 HAVE_MAEMO_PLUGIN_FALSE=
12991 fi
12992
12993
12994 # Check whether --enable-maemo-resource-manager was given.
12995 if test "${enable_maemo_resource_manager+set}" = set; then :
12996 enableval=$enable_maemo_resource_manager; use_maemo_rm="$enableval"
12997 else
12998 use_maemo_rm="no"
12999 fi
13000
13001
13002 if test "$use_maemo_rm" = "yes"; then
13003
13004 pkg_failed=no
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13006 $as_echo_n "checking for DBUS... " >&6; }
13007
13008 if test -n "$DBUS_CFLAGS"; then
13009 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13010 elif test -n "$PKG_CONFIG"; then
13011 if test -n "$PKG_CONFIG" && \
13012 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13013 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13014 ac_status=$?
13015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13016 test $ac_status = 0; }; then
13017 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
13018 test "x$?" != "x0" && pkg_failed=yes
13019 else
13020 pkg_failed=yes
13021 fi
13022 else
13023 pkg_failed=untried
13024 fi
13025 if test -n "$DBUS_LIBS"; then
13026 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13027 elif test -n "$PKG_CONFIG"; then
13028 if test -n "$PKG_CONFIG" && \
13029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13030 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13031 ac_status=$?
13032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13033 test $ac_status = 0; }; then
13034 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
13035 test "x$?" != "x0" && pkg_failed=yes
13036 else
13037 pkg_failed=yes
13038 fi
13039 else
13040 pkg_failed=untried
13041 fi
13042
13043
13044
13045 if test $pkg_failed = yes; then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13048
13049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13050 _pkg_short_errors_supported=yes
13051 else
13052 _pkg_short_errors_supported=no
13053 fi
13054 if test $_pkg_short_errors_supported = yes; then
13055 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
13056 else
13057 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
13058 fi
13059 # Put the nasty error message in config.log where it belongs
13060 echo "$DBUS_PKG_ERRORS" >&5
13061
13062 HAVE_DBUS=no
13063 elif test $pkg_failed = untried; then
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13065 $as_echo "no" >&6; }
13066 HAVE_DBUS=no
13067 else
13068 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13069 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13071 $as_echo "yes" >&6; }
13072 HAVE_DBUS=yes
13073 fi
13074
13075 if test "$HAVE_DBUS" = "yes"; then
13076
13077 $as_echo "#define USE_RESOURCE_MANAGER 1" >>confdefs.h
13078
13079 else
13080 as_fn_error $? "You must have D-Bus installed if you want to enable the Maemo resource manager" "$LINENO" 5
13081 fi
13082 fi
13083
13084 # Check whether --enable-libav was given.
13085 if test "${enable_libav+set}" = set; then :
13086 enableval=$enable_libav;
13087 fi
13088
13089
13090 if test "x$enable_libav" != "xno"; then
13091
13092 pkg_failed=no
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAV" >&5
13094 $as_echo_n "checking for LIBAV... " >&6; }
13095
13096 if test -n "$LIBAV_CFLAGS"; then
13097 pkg_cv_LIBAV_CFLAGS="$LIBAV_CFLAGS"
13098 elif test -n "$PKG_CONFIG"; then
13099 if test -n "$PKG_CONFIG" && \
13100 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec libavutil libswresample\""; } >&5
13101 ($PKG_CONFIG --exists --print-errors "libavcodec libavutil libswresample") 2>&5
13102 ac_status=$?
13103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13104 test $ac_status = 0; }; then
13105 pkg_cv_LIBAV_CFLAGS=`$PKG_CONFIG --cflags "libavcodec libavutil libswresample" 2>/dev/null`
13106 test "x$?" != "x0" && pkg_failed=yes
13107 else
13108 pkg_failed=yes
13109 fi
13110 else
13111 pkg_failed=untried
13112 fi
13113 if test -n "$LIBAV_LIBS"; then
13114 pkg_cv_LIBAV_LIBS="$LIBAV_LIBS"
13115 elif test -n "$PKG_CONFIG"; then
13116 if test -n "$PKG_CONFIG" && \
13117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec libavutil libswresample\""; } >&5
13118 ($PKG_CONFIG --exists --print-errors "libavcodec libavutil libswresample") 2>&5
13119 ac_status=$?
13120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 test $ac_status = 0; }; then
13122 pkg_cv_LIBAV_LIBS=`$PKG_CONFIG --libs "libavcodec libavutil libswresample" 2>/dev/null`
13123 test "x$?" != "x0" && pkg_failed=yes
13124 else
13125 pkg_failed=yes
13126 fi
13127 else
13128 pkg_failed=untried
13129 fi
13130
13131
13132
13133 if test $pkg_failed = yes; then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13136
13137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13138 _pkg_short_errors_supported=yes
13139 else
13140 _pkg_short_errors_supported=no
13141 fi
13142 if test $_pkg_short_errors_supported = yes; then
13143 LIBAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavcodec libavutil libswresample" 2>&1`
13144 else
13145 LIBAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavcodec libavutil libswresample" 2>&1`
13146 fi
13147 # Put the nasty error message in config.log where it belongs
13148 echo "$LIBAV_PKG_ERRORS" >&5
13149
13150 HAVE_LIBAV=no
13151 elif test $pkg_failed = untried; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13154 HAVE_LIBAV=no
13155 else
13156 LIBAV_CFLAGS=$pkg_cv_LIBAV_CFLAGS
13157 LIBAV_LIBS=$pkg_cv_LIBAV_LIBS
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13159 $as_echo "yes" >&6; }
13160 HAVE_LIBAV=yes
13161 fi
13162 fi
13163
13164 if test "x$HAVE_LIBAV" = "xno"; then
13165
13166 # Check whether --with-libav-includedir was given.
13167 if test "${with_libav_includedir+set}" = set; then :
13168 withval=$with_libav_includedir; LIBAV_CFLAGS="-I$(withval)"
13169 else
13170 LIBAV_CFLAGS=""
13171 fi
13172
13173
13174 # Check whether --with-libav-libdir was given.
13175 if test "${with_libav_libdir+set}" = set; then :
13176 withval=$with_libav_libdir; LIBAV_LIBS="-L$withval"
13177 else
13178 LIBAV_LIBS=""
13179 fi
13180
13181
13182 CFLAGS_saved="$CFLAGS"
13183 LDFLAGS_saved="$LDFLAGS"
13184 CFLAGS="$CFLAGS $LIBAV_CFLAGS"
13185 LDFLAGS="$LDFLAGS $LIBAV_LIBS"
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_open in -lavcodec" >&5
13187 $as_echo_n "checking for avcodec_open in -lavcodec... " >&6; }
13188 if ${ac_cv_lib_avcodec_avcodec_open+:} false; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 ac_check_lib_save_LIBS=$LIBS
13192 LIBS="-lavcodec $LIBS"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13195
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13199 #ifdef __cplusplus
13200 extern "C"
13201 #endif
13202 char avcodec_open ();
13203 int
13204 main ()
13205 {
13206 return avcodec_open ();
13207 ;
13208 return 0;
13209 }
13210 _ACEOF
13211 if ac_fn_c_try_link "$LINENO"; then :
13212 ac_cv_lib_avcodec_avcodec_open=yes
13213 else
13214 ac_cv_lib_avcodec_avcodec_open=no
13215 fi
13216 rm -f core conftest.err conftest.$ac_objext \
13217 conftest$ac_exeext conftest.$ac_ext
13218 LIBS=$ac_check_lib_save_LIBS
13219 fi
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_open" >&5
13221 $as_echo "$ac_cv_lib_avcodec_avcodec_open" >&6; }
13222 if test "x$ac_cv_lib_avcodec_avcodec_open" = xyes; then :
13223 HAVE_LIBAV=yes
13224 else
13225 HAVE_LIBAV=no
13226 fi
13227
13228 CFLAGS="$CFLAGS_saved"
13229 LDFLAGS="$LDFLAGS_saved"
13230 LIBAV_CODEC_LIBS="-lavcodec"
13231 LIBAV_RESAMPLE_LIBS="-lavresample -lavutil"
13232 fi
13233
13234 if test x$HAVE_LIBAV = xyes; then
13235 HAVE_LIBAV_TRUE=
13236 HAVE_LIBAV_FALSE='#'
13237 else
13238 HAVE_LIBAV_TRUE='#'
13239 HAVE_LIBAV_FALSE=
13240 fi
13241
13242
13243
13244
13245
13246
13247 # Check whether --enable-a52 was given.
13248 if test "${enable_a52+set}" = set; then :
13249 enableval=$enable_a52;
13250 fi
13251
13252
13253 if test "x$enable_a52" != "xno" -a "$HAVE_LIBAV" = "yes"; then
13254 HAVE_A52=yes
13255 fi
13256 if test x$HAVE_A52 = xyes; then
13257 HAVE_A52_TRUE=
13258 HAVE_A52_FALSE='#'
13259 else
13260 HAVE_A52_TRUE='#'
13261 HAVE_A52_FALSE=
13262 fi
13263
13264
13265 # Check whether --enable-lavrate was given.
13266 if test "${enable_lavrate+set}" = set; then :
13267 enableval=$enable_lavrate;
13268 fi
13269
13270
13271 if test "x$enable_lavrate" != "xno" -a "$HAVE_LIBAV" = "yes"; then
13272 HAVE_LAVRATE=yes
13273 fi
13274 if test x$HAVE_LAVRATE = xyes; then
13275 HAVE_LAVRATE_TRUE=
13276 HAVE_LAVRATE_FALSE='#'
13277 else
13278 HAVE_LAVRATE_TRUE='#'
13279 HAVE_LAVRATE_FALSE=
13280 fi
13281
13282
13283 # Check whether --enable-speexdsp was given.
13284 if test "${enable_speexdsp+set}" = set; then :
13285 enableval=$enable_speexdsp;
13286 fi
13287
13288
13289 if test "x$enable_speexdsp" != "xno"; then
13290
13291 pkg_failed=no
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speexdsp" >&5
13293 $as_echo_n "checking for speexdsp... " >&6; }
13294
13295 if test -n "$speexdsp_CFLAGS"; then
13296 pkg_cv_speexdsp_CFLAGS="$speexdsp_CFLAGS"
13297 elif test -n "$PKG_CONFIG"; then
13298 if test -n "$PKG_CONFIG" && \
13299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speexdsp >= 1.2rc2\""; } >&5
13300 ($PKG_CONFIG --exists --print-errors "speexdsp >= 1.2rc2") 2>&5
13301 ac_status=$?
13302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13303 test $ac_status = 0; }; then
13304 pkg_cv_speexdsp_CFLAGS=`$PKG_CONFIG --cflags "speexdsp >= 1.2rc2" 2>/dev/null`
13305 test "x$?" != "x0" && pkg_failed=yes
13306 else
13307 pkg_failed=yes
13308 fi
13309 else
13310 pkg_failed=untried
13311 fi
13312 if test -n "$speexdsp_LIBS"; then
13313 pkg_cv_speexdsp_LIBS="$speexdsp_LIBS"
13314 elif test -n "$PKG_CONFIG"; then
13315 if test -n "$PKG_CONFIG" && \
13316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speexdsp >= 1.2rc2\""; } >&5
13317 ($PKG_CONFIG --exists --print-errors "speexdsp >= 1.2rc2") 2>&5
13318 ac_status=$?
13319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13320 test $ac_status = 0; }; then
13321 pkg_cv_speexdsp_LIBS=`$PKG_CONFIG --libs "speexdsp >= 1.2rc2" 2>/dev/null`
13322 test "x$?" != "x0" && pkg_failed=yes
13323 else
13324 pkg_failed=yes
13325 fi
13326 else
13327 pkg_failed=untried
13328 fi
13329
13330
13331
13332 if test $pkg_failed = yes; then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13334 $as_echo "no" >&6; }
13335
13336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13337 _pkg_short_errors_supported=yes
13338 else
13339 _pkg_short_errors_supported=no
13340 fi
13341 if test $_pkg_short_errors_supported = yes; then
13342 speexdsp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "speexdsp >= 1.2rc2" 2>&1`
13343 else
13344 speexdsp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "speexdsp >= 1.2rc2" 2>&1`
13345 fi
13346 # Put the nasty error message in config.log where it belongs
13347 echo "$speexdsp_PKG_ERRORS" >&5
13348
13349 HAVE_SPEEXDSP=""
13350 elif test $pkg_failed = untried; then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352 $as_echo "no" >&6; }
13353 HAVE_SPEEXDSP=""
13354 else
13355 speexdsp_CFLAGS=$pkg_cv_speexdsp_CFLAGS
13356 speexdsp_LIBS=$pkg_cv_speexdsp_LIBS
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13358 $as_echo "yes" >&6; }
13359 HAVE_SPEEXDSP="yes"
13360 fi
13361 fi
13362 if test "$HAVE_SPEEXDSP" = "yes"; then
13363 HAVE_SPEEXDSP_TRUE=
13364 HAVE_SPEEXDSP_FALSE='#'
13365 else
13366 HAVE_SPEEXDSP_TRUE='#'
13367 HAVE_SPEEXDSP_FALSE=
13368 fi
13369
13370
13371
13372 # Check whether --with-speex was given.
13373 if test "${with_speex+set}" = set; then :
13374 withval=$with_speex; PPH=$withval
13375 else
13376 PPH="lib"
13377 fi
13378
13379
13380 USE_LIBSPEEX=""
13381 if test "$PPH" = "lib"; then
13382 if test "$HAVE_SPEEXDSP" = "yes"; then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_resampler_init in -lspeexdsp" >&5
13384 $as_echo_n "checking for speex_resampler_init in -lspeexdsp... " >&6; }
13385 if ${ac_cv_lib_speexdsp_speex_resampler_init+:} false; then :
13386 $as_echo_n "(cached) " >&6
13387 else
13388 ac_check_lib_save_LIBS=$LIBS
13389 LIBS="-lspeexdsp $LIBS"
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13392
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13396 #ifdef __cplusplus
13397 extern "C"
13398 #endif
13399 char speex_resampler_init ();
13400 int
13401 main ()
13402 {
13403 return speex_resampler_init ();
13404 ;
13405 return 0;
13406 }
13407 _ACEOF
13408 if ac_fn_c_try_link "$LINENO"; then :
13409 ac_cv_lib_speexdsp_speex_resampler_init=yes
13410 else
13411 ac_cv_lib_speexdsp_speex_resampler_init=no
13412 fi
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_lib_save_LIBS
13416 fi
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speexdsp_speex_resampler_init" >&5
13418 $as_echo "$ac_cv_lib_speexdsp_speex_resampler_init" >&6; }
13419 if test "x$ac_cv_lib_speexdsp_speex_resampler_init" = xyes; then :
13420 USE_LIBSPEEX="yes"
13421 else
13422 USE_LIBSPEEX=""
13423 fi
13424
13425 fi
13426 if test "$USE_LIBSPEEX" = "yes"; then
13427
13428 $as_echo "#define USE_LIBSPEEX 1" >>confdefs.h
13429
13430 else
13431 echo "No libspeex with resampler unit; use built-in code"
13432 PPH="builtin"
13433 fi
13434 fi
13435
13436 if test "$PPH" = "builtin" -o "$PPH" = "lib"; then
13437 HAVE_PPH_TRUE=
13438 HAVE_PPH_FALSE='#'
13439 else
13440 HAVE_PPH_TRUE='#'
13441 HAVE_PPH_FALSE=
13442 fi
13443
13444 if test "$PPH" = "lib"; then
13445 USE_LIBSPEEX_TRUE=
13446 USE_LIBSPEEX_FALSE='#'
13447 else
13448 USE_LIBSPEEX_TRUE='#'
13449 USE_LIBSPEEX_FALSE=
13450 fi
13451
13452
13453 if test "$PPH" = "lib"; then
13454 for ac_header in speex/speexdsp_types.h
13455 do :
13456 ac_fn_c_check_header_mongrel "$LINENO" "speex/speexdsp_types.h" "ac_cv_header_speex_speexdsp_types_h" "$ac_includes_default"
13457 if test "x$ac_cv_header_speex_speexdsp_types_h" = xyes; then :
13458 cat >>confdefs.h <<_ACEOF
13459 #define HAVE_SPEEX_SPEEXDSP_TYPES_H 1
13460 _ACEOF
13461
13462 fi
13463
13464 done
13465
13466 fi
13467
13468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13469 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
13470
13471 # Check whether --enable-aaf was given.
13472 if test "${enable_aaf+set}" = set; then :
13473 enableval=$enable_aaf;
13474 fi
13475
13476
13477 if test "x$enable_aaf" != "xno"; then
13478
13479 pkg_failed=no
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVTP" >&5
13481 $as_echo_n "checking for AVTP... " >&6; }
13482
13483 if test -n "$AVTP_CFLAGS"; then
13484 pkg_cv_AVTP_CFLAGS="$AVTP_CFLAGS"
13485 elif test -n "$PKG_CONFIG"; then
13486 if test -n "$PKG_CONFIG" && \
13487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avtp >= 0.1\""; } >&5
13488 ($PKG_CONFIG --exists --print-errors "avtp >= 0.1") 2>&5
13489 ac_status=$?
13490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13491 test $ac_status = 0; }; then
13492 pkg_cv_AVTP_CFLAGS=`$PKG_CONFIG --cflags "avtp >= 0.1" 2>/dev/null`
13493 test "x$?" != "x0" && pkg_failed=yes
13494 else
13495 pkg_failed=yes
13496 fi
13497 else
13498 pkg_failed=untried
13499 fi
13500 if test -n "$AVTP_LIBS"; then
13501 pkg_cv_AVTP_LIBS="$AVTP_LIBS"
13502 elif test -n "$PKG_CONFIG"; then
13503 if test -n "$PKG_CONFIG" && \
13504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avtp >= 0.1\""; } >&5
13505 ($PKG_CONFIG --exists --print-errors "avtp >= 0.1") 2>&5
13506 ac_status=$?
13507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13508 test $ac_status = 0; }; then
13509 pkg_cv_AVTP_LIBS=`$PKG_CONFIG --libs "avtp >= 0.1" 2>/dev/null`
13510 test "x$?" != "x0" && pkg_failed=yes
13511 else
13512 pkg_failed=yes
13513 fi
13514 else
13515 pkg_failed=untried
13516 fi
13517
13518
13519
13520 if test $pkg_failed = yes; then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13522 $as_echo "no" >&6; }
13523
13524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13525 _pkg_short_errors_supported=yes
13526 else
13527 _pkg_short_errors_supported=no
13528 fi
13529 if test $_pkg_short_errors_supported = yes; then
13530 AVTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avtp >= 0.1" 2>&1`
13531 else
13532 AVTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "avtp >= 0.1" 2>&1`
13533 fi
13534 # Put the nasty error message in config.log where it belongs
13535 echo "$AVTP_PKG_ERRORS" >&5
13536
13537 HAVE_AAF=no
13538 elif test $pkg_failed = untried; then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13540 $as_echo "no" >&6; }
13541 HAVE_AAF=no
13542 else
13543 AVTP_CFLAGS=$pkg_cv_AVTP_CFLAGS
13544 AVTP_LIBS=$pkg_cv_AVTP_LIBS
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13546 $as_echo "yes" >&6; }
13547 HAVE_AAF=yes
13548 fi
13549 for ac_header in linux/if_ether.h linux/if_packet.h linux/net_tstamp.h
13550 do :
13551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13552 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13554 cat >>confdefs.h <<_ACEOF
13555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13556 _ACEOF
13557
13558 else
13559 HAVE_AAF=no
13560 fi
13561
13562 done
13563
13564 fi
13565 if test x$HAVE_AAF = xyes; then
13566 HAVE_AAF_TRUE=
13567 HAVE_AAF_FALSE='#'
13568 else
13569 HAVE_AAF_TRUE='#'
13570 HAVE_AAF_FALSE=
13571 fi
13572
13573
13574
13575 # Check whether --with-plugindir was given.
13576 if test "${with_plugindir+set}" = set; then :
13577 withval=$with_plugindir; plugindir="$withval"
13578 else
13579 plugindir=""
13580 fi
13581
13582 if test -z "$plugindir"; then
13583 eval dir="$libdir"
13584 case "$dir" in
13585 /*) ;;
13586 *) dir="$dir"
13587 esac
13588 plugindir="$dir/alsa-lib"
13589 fi
13590
13591 cat >>confdefs.h <<_ACEOF
13592 #define ALSA_PLUGIN_DIR "$plugindir"
13593 _ACEOF
13594
13595 ALSA_PLUGIN_DIR="$plugindir"
13596
13597
13598
13599 # Check whether --with-alsadatadir was given.
13600 if test "${with_alsadatadir+set}" = set; then :
13601 withval=$with_alsadatadir; alsadatadir="$withval"
13602 else
13603 alsadatadir=""
13604 fi
13605
13606 if test -z "$alsadatadir"; then
13607 eval dir="$datadir"
13608 case "$dir" in
13609 /*) ;;
13610 *) eval dir="$dir"
13611 esac
13612 alsadatadir="$dir/alsa"
13613 fi
13614
13615 cat >>confdefs.h <<_ACEOF
13616 #define ALSA_DATA_DIR "$alsadatadir"
13617 _ACEOF
13618
13619 ALSA_DATA_DIR="$alsadatadir"
13620
13621
13622
13623 # Check whether --with-alsagconfdir was given.
13624 if test "${with_alsagconfdir+set}" = set; then :
13625 withval=$with_alsagconfdir; alsagconfdir="$withval"
13626 else
13627 alsagconfdir=""
13628 fi
13629
13630 if test -z "$alsagconfdir"; then
13631 alsagconfdir="$ALSA_DATA_DIR/alsa.conf.d"
13632 fi
13633
13634 cat >>confdefs.h <<_ACEOF
13635 #define ALSA_GCONF_DIR "$alsagconfdir"
13636 _ACEOF
13637
13638 ALSA_GCONF_DIR="$alsagconfdir"
13639
13640
13641
13642 # Check whether --with-alsalconfdir was given.
13643 if test "${with_alsalconfdir+set}" = set; then :
13644 withval=$with_alsalconfdir; alsalconfdir="$withval"
13645 else
13646 alsalconfdir=""
13647 fi
13648
13649 if test -z "$alsalconfdir"; then
13650 eval dir="$sysconfdir"
13651 case "$dir" in
13652 /*) ;;
13653 *) dir="$dir"
13654 esac
13655 alsalconfdir="$dir/alsa/conf.d"
13656 fi
13657
13658 cat >>confdefs.h <<_ACEOF
13659 #define ALSA_LCONF_DIR "$alsalconfdir"
13660 _ACEOF
13661
13662 ALSA_LCONF_DIR="$alsalconfdir"
13663
13664
13665
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for plugins version" >&5
13667 $as_echo_n "checking for plugins version... " >&6; }
13668 SND_PLUGINS_VERSION=$VERSION
13669 echo $VERSION > $srcdir/version
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SND_PLUGINS_VERSION" >&5
13671 $as_echo "$SND_PLUGINS_VERSION" >&6; }
13672
13673
13674 ac_config_files="$ac_config_files Makefile oss/Makefile pph/Makefile jack/Makefile pulse/Makefile mix/Makefile rate/Makefile a52/Makefile rate-lav/Makefile maemo/Makefile doc/Makefile usb_stream/Makefile speex/Makefile arcam-av/Makefile aaf/Makefile"
13675
13676 cat >confcache <<\_ACEOF
13677 # This file is a shell script that caches the results of configure
13678 # tests run on this system so they can be shared between configure
13679 # scripts and configure runs, see configure's option --config-cache.
13680 # It is not useful on other systems. If it contains results you don't
13681 # want to keep, you may remove or edit it.
13682 #
13683 # config.status only pays attention to the cache file if you give it
13684 # the --recheck option to rerun configure.
13685 #
13686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13688 # following values.
13689
13690 _ACEOF
13691
13692 # The following way of writing the cache mishandles newlines in values,
13693 # but we know of no workaround that is simple, portable, and efficient.
13694 # So, we kill variables containing newlines.
13695 # Ultrix sh set writes to stderr and can't be redirected directly,
13696 # and sets the high bit in the cache file unless we assign to the vars.
13697 (
13698 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13699 eval ac_val=\$$ac_var
13700 case $ac_val in #(
13701 *${as_nl}*)
13702 case $ac_var in #(
13703 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13704 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13705 esac
13706 case $ac_var in #(
13707 _ | IFS | as_nl) ;; #(
13708 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13709 *) { eval $ac_var=; unset $ac_var;} ;;
13710 esac ;;
13711 esac
13712 done
13713
13714 (set) 2>&1 |
13715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13716 *${as_nl}ac_space=\ *)
13717 # `set' does not quote correctly, so add quotes: double-quote
13718 # substitution turns \\\\ into \\, and sed turns \\ into \.
13719 sed -n \
13720 "s/'/'\\\\''/g;
13721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13722 ;; #(
13723 *)
13724 # `set' quotes correctly as required by POSIX, so do not add quotes.
13725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13726 ;;
13727 esac |
13728 sort
13729 ) |
13730 sed '
13731 /^ac_cv_env_/b end
13732 t clear
13733 :clear
13734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13735 t end
13736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13737 :end' >>confcache
13738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13739 if test -w "$cache_file"; then
13740 if test "x$cache_file" != "x/dev/null"; then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13742 $as_echo "$as_me: updating cache $cache_file" >&6;}
13743 if test ! -f "$cache_file" || test -h "$cache_file"; then
13744 cat confcache >"$cache_file"
13745 else
13746 case $cache_file in #(
13747 */* | ?:*)
13748 mv -f confcache "$cache_file"$$ &&
13749 mv -f "$cache_file"$$ "$cache_file" ;; #(
13750 *)
13751 mv -f confcache "$cache_file" ;;
13752 esac
13753 fi
13754 fi
13755 else
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13757 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13758 fi
13759 fi
13760 rm -f confcache
13761
13762 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13763 # Let make expand exec_prefix.
13764 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13765
13766 DEFS=-DHAVE_CONFIG_H
13767
13768 ac_libobjs=
13769 ac_ltlibobjs=
13770 U=
13771 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13772 # 1. Remove the extension, and $U if already installed.
13773 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13774 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13775 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13776 # will be set to the directory where LIBOBJS objects are built.
13777 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13778 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13779 done
13780 LIBOBJS=$ac_libobjs
13781
13782 LTLIBOBJS=$ac_ltlibobjs
13783
13784
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13786 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13787 if test -n "$am_sleep_pid"; then
13788 # Hide warnings about reused PIDs.
13789 wait $am_sleep_pid 2>/dev/null
13790 fi
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13792 $as_echo "done" >&6; }
13793 if test -n "$EXEEXT"; then
13794 am__EXEEXT_TRUE=
13795 am__EXEEXT_FALSE='#'
13796 else
13797 am__EXEEXT_TRUE='#'
13798 am__EXEEXT_FALSE=
13799 fi
13800
13801 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13802 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13804 fi
13805 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13806 as_fn_error $? "conditional \"AMDEP\" was never defined.
13807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13808 fi
13809 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13810 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13812 fi
13813 if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then
13814 as_fn_error $? "conditional \"HAVE_OSS\" was never defined.
13815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13816 fi
13817 if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then
13818 as_fn_error $? "conditional \"HAVE_OSS\" was never defined.
13819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13820 fi
13821 if test -z "${HAVE_MIX_TRUE}" && test -z "${HAVE_MIX_FALSE}"; then
13822 as_fn_error $? "conditional \"HAVE_MIX\" was never defined.
13823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13824 fi
13825 if test -z "${HAVE_MIX_TRUE}" && test -z "${HAVE_MIX_FALSE}"; then
13826 as_fn_error $? "conditional \"HAVE_MIX\" was never defined.
13827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13828 fi
13829 if test -z "${HAVE_USBSTREAM_TRUE}" && test -z "${HAVE_USBSTREAM_FALSE}"; then
13830 as_fn_error $? "conditional \"HAVE_USBSTREAM\" was never defined.
13831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13832 fi
13833 if test -z "${HAVE_USBSTREAM_TRUE}" && test -z "${HAVE_USBSTREAM_FALSE}"; then
13834 as_fn_error $? "conditional \"HAVE_USBSTREAM\" was never defined.
13835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13836 fi
13837 if test -z "${HAVE_ARCAMAV_TRUE}" && test -z "${HAVE_ARCAMAV_FALSE}"; then
13838 as_fn_error $? "conditional \"HAVE_ARCAMAV\" was never defined.
13839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13840 fi
13841 if test -z "${HAVE_ARCAMAV_TRUE}" && test -z "${HAVE_ARCAMAV_FALSE}"; then
13842 as_fn_error $? "conditional \"HAVE_ARCAMAV\" was never defined.
13843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13844 fi
13845 if test -z "${HAVE_JACK_TRUE}" && test -z "${HAVE_JACK_FALSE}"; then
13846 as_fn_error $? "conditional \"HAVE_JACK\" was never defined.
13847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13848 fi
13849 if test -z "${HAVE_PULSE_TRUE}" && test -z "${HAVE_PULSE_FALSE}"; then
13850 as_fn_error $? "conditional \"HAVE_PULSE\" was never defined.
13851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13852 fi
13853 if test -z "${HAVE_SAMPLERATE_TRUE}" && test -z "${HAVE_SAMPLERATE_FALSE}"; then
13854 as_fn_error $? "conditional \"HAVE_SAMPLERATE\" was never defined.
13855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13856 fi
13857 if test -z "${HAVE_MAEMO_PLUGIN_TRUE}" && test -z "${HAVE_MAEMO_PLUGIN_FALSE}"; then
13858 as_fn_error $? "conditional \"HAVE_MAEMO_PLUGIN\" was never defined.
13859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13860 fi
13861 if test -z "${HAVE_LIBAV_TRUE}" && test -z "${HAVE_LIBAV_FALSE}"; then
13862 as_fn_error $? "conditional \"HAVE_LIBAV\" was never defined.
13863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13864 fi
13865 if test -z "${HAVE_A52_TRUE}" && test -z "${HAVE_A52_FALSE}"; then
13866 as_fn_error $? "conditional \"HAVE_A52\" was never defined.
13867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13868 fi
13869 if test -z "${HAVE_LAVRATE_TRUE}" && test -z "${HAVE_LAVRATE_FALSE}"; then
13870 as_fn_error $? "conditional \"HAVE_LAVRATE\" was never defined.
13871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13872 fi
13873 if test -z "${HAVE_SPEEXDSP_TRUE}" && test -z "${HAVE_SPEEXDSP_FALSE}"; then
13874 as_fn_error $? "conditional \"HAVE_SPEEXDSP\" was never defined.
13875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13876 fi
13877 if test -z "${HAVE_PPH_TRUE}" && test -z "${HAVE_PPH_FALSE}"; then
13878 as_fn_error $? "conditional \"HAVE_PPH\" was never defined.
13879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13880 fi
13881 if test -z "${USE_LIBSPEEX_TRUE}" && test -z "${USE_LIBSPEEX_FALSE}"; then
13882 as_fn_error $? "conditional \"USE_LIBSPEEX\" was never defined.
13883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13884 fi
13885 if test -z "${HAVE_AAF_TRUE}" && test -z "${HAVE_AAF_FALSE}"; then
13886 as_fn_error $? "conditional \"HAVE_AAF\" was never defined.
13887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888 fi
13889
13890 : "${CONFIG_STATUS=./config.status}"
13891 ac_write_fail=0
13892 ac_clean_files_save=$ac_clean_files
13893 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13895 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13896 as_write_fail=0
13897 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13898 #! $SHELL
13899 # Generated by $as_me.
13900 # Run this file to recreate the current configuration.
13901 # Compiler output produced by configure, useful for debugging
13902 # configure, is in config.log if it exists.
13903
13904 debug=false
13905 ac_cs_recheck=false
13906 ac_cs_silent=false
13907
13908 SHELL=\${CONFIG_SHELL-$SHELL}
13909 export SHELL
13910 _ASEOF
13911 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13912 ## -------------------- ##
13913 ## M4sh Initialization. ##
13914 ## -------------------- ##
13915
13916 # Be more Bourne compatible
13917 DUALCASE=1; export DUALCASE # for MKS sh
13918 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13919 emulate sh
13920 NULLCMD=:
13921 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13922 # is contrary to our usage. Disable this feature.
13923 alias -g '${1+"$@"}'='"$@"'
13924 setopt NO_GLOB_SUBST
13925 else
13926 case `(set -o) 2>/dev/null` in #(
13927 *posix*) :
13928 set -o posix ;; #(
13929 *) :
13930 ;;
13931 esac
13932 fi
13933
13934
13935 as_nl='
13936 '
13937 export as_nl
13938 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13939 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13940 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13941 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13942 # Prefer a ksh shell builtin over an external printf program on Solaris,
13943 # but without wasting forks for bash or zsh.
13944 if test -z "$BASH_VERSION$ZSH_VERSION" \
13945 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13946 as_echo='print -r --'
13947 as_echo_n='print -rn --'
13948 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13949 as_echo='printf %s\n'
13950 as_echo_n='printf %s'
13951 else
13952 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13953 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13954 as_echo_n='/usr/ucb/echo -n'
13955 else
13956 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13957 as_echo_n_body='eval
13958 arg=$1;
13959 case $arg in #(
13960 *"$as_nl"*)
13961 expr "X$arg" : "X\\(.*\\)$as_nl";
13962 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13963 esac;
13964 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13965 '
13966 export as_echo_n_body
13967 as_echo_n='sh -c $as_echo_n_body as_echo'
13968 fi
13969 export as_echo_body
13970 as_echo='sh -c $as_echo_body as_echo'
13971 fi
13972
13973 # The user is always right.
13974 if test "${PATH_SEPARATOR+set}" != set; then
13975 PATH_SEPARATOR=:
13976 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13977 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13978 PATH_SEPARATOR=';'
13979 }
13980 fi
13981
13982
13983 # IFS
13984 # We need space, tab and new line, in precisely that order. Quoting is
13985 # there to prevent editors from complaining about space-tab.
13986 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13987 # splitting by setting IFS to empty value.)
13988 IFS=" "" $as_nl"
13989
13990 # Find who we are. Look in the path if we contain no directory separator.
13991 as_myself=
13992 case $0 in #((
13993 *[\\/]* ) as_myself=$0 ;;
13994 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13995 for as_dir in $PATH
13996 do
13997 IFS=$as_save_IFS
13998 test -z "$as_dir" && as_dir=.
13999 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14000 done
14001 IFS=$as_save_IFS
14002
14003 ;;
14004 esac
14005 # We did not find ourselves, most probably we were run as `sh COMMAND'
14006 # in which case we are not to be found in the path.
14007 if test "x$as_myself" = x; then
14008 as_myself=$0
14009 fi
14010 if test ! -f "$as_myself"; then
14011 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14012 exit 1
14013 fi
14014
14015 # Unset variables that we do not need and which cause bugs (e.g. in
14016 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14017 # suppresses any "Segmentation fault" message there. '((' could
14018 # trigger a bug in pdksh 5.2.14.
14019 for as_var in BASH_ENV ENV MAIL MAILPATH
14020 do eval test x\${$as_var+set} = xset \
14021 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14022 done
14023 PS1='$ '
14024 PS2='> '
14025 PS4='+ '
14026
14027 # NLS nuisances.
14028 LC_ALL=C
14029 export LC_ALL
14030 LANGUAGE=C
14031 export LANGUAGE
14032
14033 # CDPATH.
14034 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14035
14036
14037 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14038 # ----------------------------------------
14039 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14040 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14041 # script with STATUS, using 1 if that was 0.
14042 as_fn_error ()
14043 {
14044 as_status=$1; test $as_status -eq 0 && as_status=1
14045 if test "$4"; then
14046 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14047 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14048 fi
14049 $as_echo "$as_me: error: $2" >&2
14050 as_fn_exit $as_status
14051 } # as_fn_error
14052
14053
14054 # as_fn_set_status STATUS
14055 # -----------------------
14056 # Set $? to STATUS, without forking.
14057 as_fn_set_status ()
14058 {
14059 return $1
14060 } # as_fn_set_status
14061
14062 # as_fn_exit STATUS
14063 # -----------------
14064 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14065 as_fn_exit ()
14066 {
14067 set +e
14068 as_fn_set_status $1
14069 exit $1
14070 } # as_fn_exit
14071
14072 # as_fn_unset VAR
14073 # ---------------
14074 # Portably unset VAR.
14075 as_fn_unset ()
14076 {
14077 { eval $1=; unset $1;}
14078 }
14079 as_unset=as_fn_unset
14080 # as_fn_append VAR VALUE
14081 # ----------------------
14082 # Append the text in VALUE to the end of the definition contained in VAR. Take
14083 # advantage of any shell optimizations that allow amortized linear growth over
14084 # repeated appends, instead of the typical quadratic growth present in naive
14085 # implementations.
14086 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14087 eval 'as_fn_append ()
14088 {
14089 eval $1+=\$2
14090 }'
14091 else
14092 as_fn_append ()
14093 {
14094 eval $1=\$$1\$2
14095 }
14096 fi # as_fn_append
14097
14098 # as_fn_arith ARG...
14099 # ------------------
14100 # Perform arithmetic evaluation on the ARGs, and store the result in the
14101 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14102 # must be portable across $(()) and expr.
14103 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14104 eval 'as_fn_arith ()
14105 {
14106 as_val=$(( $* ))
14107 }'
14108 else
14109 as_fn_arith ()
14110 {
14111 as_val=`expr "$@" || test $? -eq 1`
14112 }
14113 fi # as_fn_arith
14114
14115
14116 if expr a : '\(a\)' >/dev/null 2>&1 &&
14117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14118 as_expr=expr
14119 else
14120 as_expr=false
14121 fi
14122
14123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14124 as_basename=basename
14125 else
14126 as_basename=false
14127 fi
14128
14129 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14130 as_dirname=dirname
14131 else
14132 as_dirname=false
14133 fi
14134
14135 as_me=`$as_basename -- "$0" ||
14136 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14137 X"$0" : 'X\(//\)$' \| \
14138 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14139 $as_echo X/"$0" |
14140 sed '/^.*\/\([^/][^/]*\)\/*$/{
14141 s//\1/
14142 q
14143 }
14144 /^X\/\(\/\/\)$/{
14145 s//\1/
14146 q
14147 }
14148 /^X\/\(\/\).*/{
14149 s//\1/
14150 q
14151 }
14152 s/.*/./; q'`
14153
14154 # Avoid depending upon Character Ranges.
14155 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14156 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14157 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14158 as_cr_digits='0123456789'
14159 as_cr_alnum=$as_cr_Letters$as_cr_digits
14160
14161 ECHO_C= ECHO_N= ECHO_T=
14162 case `echo -n x` in #(((((
14163 -n*)
14164 case `echo 'xy\c'` in
14165 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14166 xy) ECHO_C='\c';;
14167 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14168 ECHO_T=' ';;
14169 esac;;
14170 *)
14171 ECHO_N='-n';;
14172 esac
14173
14174 rm -f conf$$ conf$$.exe conf$$.file
14175 if test -d conf$$.dir; then
14176 rm -f conf$$.dir/conf$$.file
14177 else
14178 rm -f conf$$.dir
14179 mkdir conf$$.dir 2>/dev/null
14180 fi
14181 if (echo >conf$$.file) 2>/dev/null; then
14182 if ln -s conf$$.file conf$$ 2>/dev/null; then
14183 as_ln_s='ln -s'
14184 # ... but there are two gotchas:
14185 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14186 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14187 # In both cases, we have to default to `cp -pR'.
14188 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14189 as_ln_s='cp -pR'
14190 elif ln conf$$.file conf$$ 2>/dev/null; then
14191 as_ln_s=ln
14192 else
14193 as_ln_s='cp -pR'
14194 fi
14195 else
14196 as_ln_s='cp -pR'
14197 fi
14198 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14199 rmdir conf$$.dir 2>/dev/null
14200
14201
14202 # as_fn_mkdir_p
14203 # -------------
14204 # Create "$as_dir" as a directory, including parents if necessary.
14205 as_fn_mkdir_p ()
14206 {
14207
14208 case $as_dir in #(
14209 -*) as_dir=./$as_dir;;
14210 esac
14211 test -d "$as_dir" || eval $as_mkdir_p || {
14212 as_dirs=
14213 while :; do
14214 case $as_dir in #(
14215 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14216 *) as_qdir=$as_dir;;
14217 esac
14218 as_dirs="'$as_qdir' $as_dirs"
14219 as_dir=`$as_dirname -- "$as_dir" ||
14220 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14221 X"$as_dir" : 'X\(//\)[^/]' \| \
14222 X"$as_dir" : 'X\(//\)$' \| \
14223 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14224 $as_echo X"$as_dir" |
14225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14226 s//\1/
14227 q
14228 }
14229 /^X\(\/\/\)[^/].*/{
14230 s//\1/
14231 q
14232 }
14233 /^X\(\/\/\)$/{
14234 s//\1/
14235 q
14236 }
14237 /^X\(\/\).*/{
14238 s//\1/
14239 q
14240 }
14241 s/.*/./; q'`
14242 test -d "$as_dir" && break
14243 done
14244 test -z "$as_dirs" || eval "mkdir $as_dirs"
14245 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14246
14247
14248 } # as_fn_mkdir_p
14249 if mkdir -p . 2>/dev/null; then
14250 as_mkdir_p='mkdir -p "$as_dir"'
14251 else
14252 test -d ./-p && rmdir ./-p
14253 as_mkdir_p=false
14254 fi
14255
14256
14257 # as_fn_executable_p FILE
14258 # -----------------------
14259 # Test if FILE is an executable regular file.
14260 as_fn_executable_p ()
14261 {
14262 test -f "$1" && test -x "$1"
14263 } # as_fn_executable_p
14264 as_test_x='test -x'
14265 as_executable_p=as_fn_executable_p
14266
14267 # Sed expression to map a string onto a valid CPP name.
14268 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14269
14270 # Sed expression to map a string onto a valid variable name.
14271 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14272
14273
14274 exec 6>&1
14275 ## ----------------------------------- ##
14276 ## Main body of $CONFIG_STATUS script. ##
14277 ## ----------------------------------- ##
14278 _ASEOF
14279 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14280
14281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14282 # Save the log message, to keep $0 and so on meaningful, and to
14283 # report actual input values of CONFIG_FILES etc. instead of their
14284 # values after options handling.
14285 ac_log="
14286 This file was extended by alsa-plugins $as_me 1.2.12, which was
14287 generated by GNU Autoconf 2.69. Invocation command line was
14288
14289 CONFIG_FILES = $CONFIG_FILES
14290 CONFIG_HEADERS = $CONFIG_HEADERS
14291 CONFIG_LINKS = $CONFIG_LINKS
14292 CONFIG_COMMANDS = $CONFIG_COMMANDS
14293 $ $0 $@
14294
14295 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14296 "
14297
14298 _ACEOF
14299
14300 case $ac_config_files in *"
14301 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14302 esac
14303
14304 case $ac_config_headers in *"
14305 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14306 esac
14307
14308
14309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14310 # Files that config.status was made for.
14311 config_files="$ac_config_files"
14312 config_headers="$ac_config_headers"
14313 config_commands="$ac_config_commands"
14314
14315 _ACEOF
14316
14317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14318 ac_cs_usage="\
14319 \`$as_me' instantiates files and other configuration actions
14320 from templates according to the current configuration. Unless the files
14321 and actions are specified as TAGs, all are instantiated by default.
14322
14323 Usage: $0 [OPTION]... [TAG]...
14324
14325 -h, --help print this help, then exit
14326 -V, --version print version number and configuration settings, then exit
14327 --config print configuration, then exit
14328 -q, --quiet, --silent
14329 do not print progress messages
14330 -d, --debug don't remove temporary files
14331 --recheck update $as_me by reconfiguring in the same conditions
14332 --file=FILE[:TEMPLATE]
14333 instantiate the configuration file FILE
14334 --header=FILE[:TEMPLATE]
14335 instantiate the configuration header FILE
14336
14337 Configuration files:
14338 $config_files
14339
14340 Configuration headers:
14341 $config_headers
14342
14343 Configuration commands:
14344 $config_commands
14345
14346 Report bugs to the package provider."
14347
14348 _ACEOF
14349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14350 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14351 ac_cs_version="\\
14352 alsa-plugins config.status 1.2.12
14353 configured by $0, generated by GNU Autoconf 2.69,
14354 with options \\"\$ac_cs_config\\"
14355
14356 Copyright (C) 2012 Free Software Foundation, Inc.
14357 This config.status script is free software; the Free Software Foundation
14358 gives unlimited permission to copy, distribute and modify it."
14359
14360 ac_pwd='$ac_pwd'
14361 srcdir='$srcdir'
14362 INSTALL='$INSTALL'
14363 MKDIR_P='$MKDIR_P'
14364 AWK='$AWK'
14365 test -n "\$AWK" || AWK=awk
14366 _ACEOF
14367
14368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14369 # The default lists apply if the user does not specify any file.
14370 ac_need_defaults=:
14371 while test $# != 0
14372 do
14373 case $1 in
14374 --*=?*)
14375 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14376 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14377 ac_shift=:
14378 ;;
14379 --*=)
14380 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14381 ac_optarg=
14382 ac_shift=:
14383 ;;
14384 *)
14385 ac_option=$1
14386 ac_optarg=$2
14387 ac_shift=shift
14388 ;;
14389 esac
14390
14391 case $ac_option in
14392 # Handling of the options.
14393 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14394 ac_cs_recheck=: ;;
14395 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14396 $as_echo "$ac_cs_version"; exit ;;
14397 --config | --confi | --conf | --con | --co | --c )
14398 $as_echo "$ac_cs_config"; exit ;;
14399 --debug | --debu | --deb | --de | --d | -d )
14400 debug=: ;;
14401 --file | --fil | --fi | --f )
14402 $ac_shift
14403 case $ac_optarg in
14404 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14405 '') as_fn_error $? "missing file argument" ;;
14406 esac
14407 as_fn_append CONFIG_FILES " '$ac_optarg'"
14408 ac_need_defaults=false;;
14409 --header | --heade | --head | --hea )
14410 $ac_shift
14411 case $ac_optarg in
14412 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14413 esac
14414 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14415 ac_need_defaults=false;;
14416 --he | --h)
14417 # Conflict between --help and --header
14418 as_fn_error $? "ambiguous option: \`$1'
14419 Try \`$0 --help' for more information.";;
14420 --help | --hel | -h )
14421 $as_echo "$ac_cs_usage"; exit ;;
14422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14423 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14424 ac_cs_silent=: ;;
14425
14426 # This is an error.
14427 -*) as_fn_error $? "unrecognized option: \`$1'
14428 Try \`$0 --help' for more information." ;;
14429
14430 *) as_fn_append ac_config_targets " $1"
14431 ac_need_defaults=false ;;
14432
14433 esac
14434 shift
14435 done
14436
14437 ac_configure_extra_args=
14438
14439 if $ac_cs_silent; then
14440 exec 6>/dev/null
14441 ac_configure_extra_args="$ac_configure_extra_args --silent"
14442 fi
14443
14444 _ACEOF
14445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14446 if \$ac_cs_recheck; then
14447 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14448 shift
14449 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14450 CONFIG_SHELL='$SHELL'
14451 export CONFIG_SHELL
14452 exec "\$@"
14453 fi
14454
14455 _ACEOF
14456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14457 exec 5>>config.log
14458 {
14459 echo
14460 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14461 ## Running $as_me. ##
14462 _ASBOX
14463 $as_echo "$ac_log"
14464 } >&5
14465
14466 _ACEOF
14467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14468 #
14469 # INIT-COMMANDS
14470 #
14471 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14472
14473
14474 # The HP-UX ksh and POSIX shell print the target directory to stdout
14475 # if CDPATH is set.
14476 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14477
14478 sed_quote_subst='$sed_quote_subst'
14479 double_quote_subst='$double_quote_subst'
14480 delay_variable_subst='$delay_variable_subst'
14481 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14482 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14483 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14484 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14485 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14486 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14487 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14488 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14489 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14490 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14491 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14492 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14493 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14494 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14495 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14496 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14497 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14498 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14499 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14500 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14501 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14502 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14503 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14504 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14505 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14506 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14507 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14508 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14509 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14510 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14511 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14512 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14513 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14514 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14515 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14516 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14517 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14518 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14519 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14520 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14521 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14522 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14523 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14524 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14525 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14526 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14527 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14528 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14529 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14530 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14531 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14532 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14533 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14534 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14535 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14536 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14537 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14538 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14539 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"`'
14540 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14541 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14542 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14543 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14544 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14545 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14546 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14547 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14548 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14549 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14550 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14551 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14552 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14553 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14554 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14555 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14556 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14557 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14558 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14559 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14560 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14561 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14562 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14563 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14564 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14565 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14566 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14567 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14568 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14569 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14570 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14571 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14572 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14573 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14574 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14575 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14576 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14577 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14578 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14579 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14580 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14581 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14582 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14583 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14584 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14585 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14586 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14587 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14588 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14589 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14590 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14591 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14592 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14593 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14594 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14595 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14596 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14597 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14598 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14599 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14600 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14601 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14602 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14603 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14604 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14605 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14606 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14607 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14608 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14609 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14610 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14611 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14612 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14613 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14614 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14615 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14616
14617 LTCC='$LTCC'
14618 LTCFLAGS='$LTCFLAGS'
14619 compiler='$compiler_DEFAULT'
14620
14621 # A function that is used when there is no print builtin or printf.
14622 func_fallback_echo ()
14623 {
14624 eval 'cat <<_LTECHO_EOF
14625 \$1
14626 _LTECHO_EOF'
14627 }
14628
14629 # Quote evaled strings.
14630 for var in SHELL \
14631 ECHO \
14632 PATH_SEPARATOR \
14633 SED \
14634 GREP \
14635 EGREP \
14636 FGREP \
14637 LD \
14638 NM \
14639 LN_S \
14640 lt_SP2NL \
14641 lt_NL2SP \
14642 reload_flag \
14643 OBJDUMP \
14644 deplibs_check_method \
14645 file_magic_cmd \
14646 file_magic_glob \
14647 want_nocaseglob \
14648 DLLTOOL \
14649 sharedlib_from_linklib_cmd \
14650 AR \
14651 AR_FLAGS \
14652 archiver_list_spec \
14653 STRIP \
14654 RANLIB \
14655 CC \
14656 CFLAGS \
14657 compiler \
14658 lt_cv_sys_global_symbol_pipe \
14659 lt_cv_sys_global_symbol_to_cdecl \
14660 lt_cv_sys_global_symbol_to_import \
14661 lt_cv_sys_global_symbol_to_c_name_address \
14662 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14663 lt_cv_nm_interface \
14664 nm_file_list_spec \
14665 lt_cv_truncate_bin \
14666 lt_prog_compiler_no_builtin_flag \
14667 lt_prog_compiler_pic \
14668 lt_prog_compiler_wl \
14669 lt_prog_compiler_static \
14670 lt_cv_prog_compiler_c_o \
14671 need_locks \
14672 MANIFEST_TOOL \
14673 DSYMUTIL \
14674 NMEDIT \
14675 LIPO \
14676 OTOOL \
14677 OTOOL64 \
14678 shrext_cmds \
14679 export_dynamic_flag_spec \
14680 whole_archive_flag_spec \
14681 compiler_needs_object \
14682 with_gnu_ld \
14683 allow_undefined_flag \
14684 no_undefined_flag \
14685 hardcode_libdir_flag_spec \
14686 hardcode_libdir_separator \
14687 exclude_expsyms \
14688 include_expsyms \
14689 file_list_spec \
14690 variables_saved_for_relink \
14691 libname_spec \
14692 library_names_spec \
14693 soname_spec \
14694 install_override_mode \
14695 finish_eval \
14696 old_striplib \
14697 striplib; do
14698 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14699 *[\\\\\\\`\\"\\\$]*)
14700 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14701 ;;
14702 *)
14703 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14704 ;;
14705 esac
14706 done
14707
14708 # Double-quote double-evaled strings.
14709 for var in reload_cmds \
14710 old_postinstall_cmds \
14711 old_postuninstall_cmds \
14712 old_archive_cmds \
14713 extract_expsyms_cmds \
14714 old_archive_from_new_cmds \
14715 old_archive_from_expsyms_cmds \
14716 archive_cmds \
14717 archive_expsym_cmds \
14718 module_cmds \
14719 module_expsym_cmds \
14720 export_symbols_cmds \
14721 prelink_cmds \
14722 postlink_cmds \
14723 postinstall_cmds \
14724 postuninstall_cmds \
14725 finish_cmds \
14726 sys_lib_search_path_spec \
14727 configure_time_dlsearch_path \
14728 configure_time_lt_sys_library_path; do
14729 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14730 *[\\\\\\\`\\"\\\$]*)
14731 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14732 ;;
14733 *)
14734 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14735 ;;
14736 esac
14737 done
14738
14739 ac_aux_dir='$ac_aux_dir'
14740
14741 # See if we are running on zsh, and set the options that allow our
14742 # commands through without removal of \ escapes INIT.
14743 if test -n "\${ZSH_VERSION+set}"; then
14744 setopt NO_GLOB_SUBST
14745 fi
14746
14747
14748 PACKAGE='$PACKAGE'
14749 VERSION='$VERSION'
14750 RM='$RM'
14751 ofile='$ofile'
14752
14753
14754
14755
14756 _ACEOF
14757
14758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14759
14760 # Handling of arguments.
14761 for ac_config_target in $ac_config_targets
14762 do
14763 case $ac_config_target in
14764 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14765 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14766 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14767 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14768 "oss/Makefile") CONFIG_FILES="$CONFIG_FILES oss/Makefile" ;;
14769 "pph/Makefile") CONFIG_FILES="$CONFIG_FILES pph/Makefile" ;;
14770 "jack/Makefile") CONFIG_FILES="$CONFIG_FILES jack/Makefile" ;;
14771 "pulse/Makefile") CONFIG_FILES="$CONFIG_FILES pulse/Makefile" ;;
14772 "mix/Makefile") CONFIG_FILES="$CONFIG_FILES mix/Makefile" ;;
14773 "rate/Makefile") CONFIG_FILES="$CONFIG_FILES rate/Makefile" ;;
14774 "a52/Makefile") CONFIG_FILES="$CONFIG_FILES a52/Makefile" ;;
14775 "rate-lav/Makefile") CONFIG_FILES="$CONFIG_FILES rate-lav/Makefile" ;;
14776 "maemo/Makefile") CONFIG_FILES="$CONFIG_FILES maemo/Makefile" ;;
14777 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14778 "usb_stream/Makefile") CONFIG_FILES="$CONFIG_FILES usb_stream/Makefile" ;;
14779 "speex/Makefile") CONFIG_FILES="$CONFIG_FILES speex/Makefile" ;;
14780 "arcam-av/Makefile") CONFIG_FILES="$CONFIG_FILES arcam-av/Makefile" ;;
14781 "aaf/Makefile") CONFIG_FILES="$CONFIG_FILES aaf/Makefile" ;;
14782
14783 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14784 esac
14785 done
14786
14787
14788 # If the user did not use the arguments to specify the items to instantiate,
14789 # then the envvar interface is used. Set only those that are not.
14790 # We use the long form for the default assignment because of an extremely
14791 # bizarre bug on SunOS 4.1.3.
14792 if $ac_need_defaults; then
14793 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14794 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14795 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14796 fi
14797
14798 # Have a temporary directory for convenience. Make it in the build tree
14799 # simply because there is no reason against having it here, and in addition,
14800 # creating and moving files from /tmp can sometimes cause problems.
14801 # Hook for its removal unless debugging.
14802 # Note that there is a small window in which the directory will not be cleaned:
14803 # after its creation but before its name has been assigned to `$tmp'.
14804 $debug ||
14805 {
14806 tmp= ac_tmp=
14807 trap 'exit_status=$?
14808 : "${ac_tmp:=$tmp}"
14809 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14810 ' 0
14811 trap 'as_fn_exit 1' 1 2 13 15
14812 }
14813 # Create a (secure) tmp directory for tmp files.
14814
14815 {
14816 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14817 test -d "$tmp"
14818 } ||
14819 {
14820 tmp=./conf$$-$RANDOM
14821 (umask 077 && mkdir "$tmp")
14822 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14823 ac_tmp=$tmp
14824
14825 # Set up the scripts for CONFIG_FILES section.
14826 # No need to generate them if there are no CONFIG_FILES.
14827 # This happens for instance with `./config.status config.h'.
14828 if test -n "$CONFIG_FILES"; then
14829
14830
14831 ac_cr=`echo X | tr X '\015'`
14832 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14833 # But we know of no other shell where ac_cr would be empty at this
14834 # point, so we can use a bashism as a fallback.
14835 if test "x$ac_cr" = x; then
14836 eval ac_cr=\$\'\\r\'
14837 fi
14838 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14839 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14840 ac_cs_awk_cr='\\r'
14841 else
14842 ac_cs_awk_cr=$ac_cr
14843 fi
14844
14845 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14846 _ACEOF
14847
14848
14849 {
14850 echo "cat >conf$$subs.awk <<_ACEOF" &&
14851 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14852 echo "_ACEOF"
14853 } >conf$$subs.sh ||
14854 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14855 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14856 ac_delim='%!_!# '
14857 for ac_last_try in false false false false false :; do
14858 . ./conf$$subs.sh ||
14859 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14860
14861 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14862 if test $ac_delim_n = $ac_delim_num; then
14863 break
14864 elif $ac_last_try; then
14865 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14866 else
14867 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14868 fi
14869 done
14870 rm -f conf$$subs.sh
14871
14872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14873 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14874 _ACEOF
14875 sed -n '
14876 h
14877 s/^/S["/; s/!.*/"]=/
14878 p
14879 g
14880 s/^[^!]*!//
14881 :repl
14882 t repl
14883 s/'"$ac_delim"'$//
14884 t delim
14885 :nl
14886 h
14887 s/\(.\{148\}\)..*/\1/
14888 t more1
14889 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14890 p
14891 n
14892 b repl
14893 :more1
14894 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14895 p
14896 g
14897 s/.\{148\}//
14898 t nl
14899 :delim
14900 h
14901 s/\(.\{148\}\)..*/\1/
14902 t more2
14903 s/["\\]/\\&/g; s/^/"/; s/$/"/
14904 p
14905 b
14906 :more2
14907 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14908 p
14909 g
14910 s/.\{148\}//
14911 t delim
14912 ' <conf$$subs.awk | sed '
14913 /^[^""]/{
14914 N
14915 s/\n//
14916 }
14917 ' >>$CONFIG_STATUS || ac_write_fail=1
14918 rm -f conf$$subs.awk
14919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14920 _ACAWK
14921 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14922 for (key in S) S_is_set[key] = 1
14923 FS = ""
14924
14925 }
14926 {
14927 line = $ 0
14928 nfields = split(line, field, "@")
14929 substed = 0
14930 len = length(field[1])
14931 for (i = 2; i < nfields; i++) {
14932 key = field[i]
14933 keylen = length(key)
14934 if (S_is_set[key]) {
14935 value = S[key]
14936 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14937 len += length(value) + length(field[++i])
14938 substed = 1
14939 } else
14940 len += 1 + keylen
14941 }
14942
14943 print line
14944 }
14945
14946 _ACAWK
14947 _ACEOF
14948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14949 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14950 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14951 else
14952 cat
14953 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14954 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14955 _ACEOF
14956
14957 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14958 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14959 # trailing colons and then remove the whole line if VPATH becomes empty
14960 # (actually we leave an empty line to preserve line numbers).
14961 if test "x$srcdir" = x.; then
14962 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14963 h
14964 s///
14965 s/^/:/
14966 s/[ ]*$/:/
14967 s/:\$(srcdir):/:/g
14968 s/:\${srcdir}:/:/g
14969 s/:@srcdir@:/:/g
14970 s/^:*//
14971 s/:*$//
14972 x
14973 s/\(=[ ]*\).*/\1/
14974 G
14975 s/\n//
14976 s/^[^=]*=[ ]*$//
14977 }'
14978 fi
14979
14980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14981 fi # test -n "$CONFIG_FILES"
14982
14983 # Set up the scripts for CONFIG_HEADERS section.
14984 # No need to generate them if there are no CONFIG_HEADERS.
14985 # This happens for instance with `./config.status Makefile'.
14986 if test -n "$CONFIG_HEADERS"; then
14987 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14988 BEGIN {
14989 _ACEOF
14990
14991 # Transform confdefs.h into an awk script `defines.awk', embedded as
14992 # here-document in config.status, that substitutes the proper values into
14993 # config.h.in to produce config.h.
14994
14995 # Create a delimiter string that does not exist in confdefs.h, to ease
14996 # handling of long lines.
14997 ac_delim='%!_!# '
14998 for ac_last_try in false false :; do
14999 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15000 if test -z "$ac_tt"; then
15001 break
15002 elif $ac_last_try; then
15003 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15004 else
15005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15006 fi
15007 done
15008
15009 # For the awk script, D is an array of macro values keyed by name,
15010 # likewise P contains macro parameters if any. Preserve backslash
15011 # newline sequences.
15012
15013 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15014 sed -n '
15015 s/.\{148\}/&'"$ac_delim"'/g
15016 t rset
15017 :rset
15018 s/^[ ]*#[ ]*define[ ][ ]*/ /
15019 t def
15020 d
15021 :def
15022 s/\\$//
15023 t bsnl
15024 s/["\\]/\\&/g
15025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15026 D["\1"]=" \3"/p
15027 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15028 d
15029 :bsnl
15030 s/["\\]/\\&/g
15031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15032 D["\1"]=" \3\\\\\\n"\\/p
15033 t cont
15034 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15035 t cont
15036 d
15037 :cont
15038 n
15039 s/.\{148\}/&'"$ac_delim"'/g
15040 t clear
15041 :clear
15042 s/\\$//
15043 t bsnlc
15044 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15045 d
15046 :bsnlc
15047 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15048 b cont
15049 ' <confdefs.h | sed '
15050 s/'"$ac_delim"'/"\\\
15051 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15052
15053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15054 for (key in D) D_is_set[key] = 1
15055 FS = ""
15056 }
15057 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15058 line = \$ 0
15059 split(line, arg, " ")
15060 if (arg[1] == "#") {
15061 defundef = arg[2]
15062 mac1 = arg[3]
15063 } else {
15064 defundef = substr(arg[1], 2)
15065 mac1 = arg[2]
15066 }
15067 split(mac1, mac2, "(") #)
15068 macro = mac2[1]
15069 prefix = substr(line, 1, index(line, defundef) - 1)
15070 if (D_is_set[macro]) {
15071 # Preserve the white space surrounding the "#".
15072 print prefix "define", macro P[macro] D[macro]
15073 next
15074 } else {
15075 # Replace #undef with comments. This is necessary, for example,
15076 # in the case of _POSIX_SOURCE, which is predefined and required
15077 # on some systems where configure will not decide to define it.
15078 if (defundef == "undef") {
15079 print "/*", prefix defundef, macro, "*/"
15080 next
15081 }
15082 }
15083 }
15084 { print }
15085 _ACAWK
15086 _ACEOF
15087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15088 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15089 fi # test -n "$CONFIG_HEADERS"
15090
15091
15092 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15093 shift
15094 for ac_tag
15095 do
15096 case $ac_tag in
15097 :[FHLC]) ac_mode=$ac_tag; continue;;
15098 esac
15099 case $ac_mode$ac_tag in
15100 :[FHL]*:*);;
15101 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15102 :[FH]-) ac_tag=-:-;;
15103 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15104 esac
15105 ac_save_IFS=$IFS
15106 IFS=:
15107 set x $ac_tag
15108 IFS=$ac_save_IFS
15109 shift
15110 ac_file=$1
15111 shift
15112
15113 case $ac_mode in
15114 :L) ac_source=$1;;
15115 :[FH])
15116 ac_file_inputs=
15117 for ac_f
15118 do
15119 case $ac_f in
15120 -) ac_f="$ac_tmp/stdin";;
15121 *) # Look for the file first in the build tree, then in the source tree
15122 # (if the path is not absolute). The absolute path cannot be DOS-style,
15123 # because $ac_f cannot contain `:'.
15124 test -f "$ac_f" ||
15125 case $ac_f in
15126 [\\/$]*) false;;
15127 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15128 esac ||
15129 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15130 esac
15131 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15132 as_fn_append ac_file_inputs " '$ac_f'"
15133 done
15134
15135 # Let's still pretend it is `configure' which instantiates (i.e., don't
15136 # use $as_me), people would be surprised to read:
15137 # /* config.h. Generated by config.status. */
15138 configure_input='Generated from '`
15139 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15140 `' by configure.'
15141 if test x"$ac_file" != x-; then
15142 configure_input="$ac_file. $configure_input"
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15144 $as_echo "$as_me: creating $ac_file" >&6;}
15145 fi
15146 # Neutralize special characters interpreted by sed in replacement strings.
15147 case $configure_input in #(
15148 *\&* | *\|* | *\\* )
15149 ac_sed_conf_input=`$as_echo "$configure_input" |
15150 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15151 *) ac_sed_conf_input=$configure_input;;
15152 esac
15153
15154 case $ac_tag in
15155 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15156 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15157 esac
15158 ;;
15159 esac
15160
15161 ac_dir=`$as_dirname -- "$ac_file" ||
15162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15163 X"$ac_file" : 'X\(//\)[^/]' \| \
15164 X"$ac_file" : 'X\(//\)$' \| \
15165 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15166 $as_echo X"$ac_file" |
15167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15168 s//\1/
15169 q
15170 }
15171 /^X\(\/\/\)[^/].*/{
15172 s//\1/
15173 q
15174 }
15175 /^X\(\/\/\)$/{
15176 s//\1/
15177 q
15178 }
15179 /^X\(\/\).*/{
15180 s//\1/
15181 q
15182 }
15183 s/.*/./; q'`
15184 as_dir="$ac_dir"; as_fn_mkdir_p
15185 ac_builddir=.
15186
15187 case "$ac_dir" in
15188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15189 *)
15190 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15191 # A ".." for each directory in $ac_dir_suffix.
15192 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15193 case $ac_top_builddir_sub in
15194 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15195 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15196 esac ;;
15197 esac
15198 ac_abs_top_builddir=$ac_pwd
15199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15200 # for backward compatibility:
15201 ac_top_builddir=$ac_top_build_prefix
15202
15203 case $srcdir in
15204 .) # We are building in place.
15205 ac_srcdir=.
15206 ac_top_srcdir=$ac_top_builddir_sub
15207 ac_abs_top_srcdir=$ac_pwd ;;
15208 [\\/]* | ?:[\\/]* ) # Absolute name.
15209 ac_srcdir=$srcdir$ac_dir_suffix;
15210 ac_top_srcdir=$srcdir
15211 ac_abs_top_srcdir=$srcdir ;;
15212 *) # Relative name.
15213 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15214 ac_top_srcdir=$ac_top_build_prefix$srcdir
15215 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15216 esac
15217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15218
15219
15220 case $ac_mode in
15221 :F)
15222 #
15223 # CONFIG_FILE
15224 #
15225
15226 case $INSTALL in
15227 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15228 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15229 esac
15230 ac_MKDIR_P=$MKDIR_P
15231 case $MKDIR_P in
15232 [\\/$]* | ?:[\\/]* ) ;;
15233 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15234 esac
15235 _ACEOF
15236
15237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15238 # If the template does not know about datarootdir, expand it.
15239 # FIXME: This hack should be removed a few years after 2.60.
15240 ac_datarootdir_hack=; ac_datarootdir_seen=
15241 ac_sed_dataroot='
15242 /datarootdir/ {
15243 p
15244 q
15245 }
15246 /@datadir@/p
15247 /@docdir@/p
15248 /@infodir@/p
15249 /@localedir@/p
15250 /@mandir@/p'
15251 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15252 *datarootdir*) ac_datarootdir_seen=yes;;
15253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15255 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15256 _ACEOF
15257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15258 ac_datarootdir_hack='
15259 s&@datadir@&$datadir&g
15260 s&@docdir@&$docdir&g
15261 s&@infodir@&$infodir&g
15262 s&@localedir@&$localedir&g
15263 s&@mandir@&$mandir&g
15264 s&\\\${datarootdir}&$datarootdir&g' ;;
15265 esac
15266 _ACEOF
15267
15268 # Neutralize VPATH when `$srcdir' = `.'.
15269 # Shell code in configure.ac might set extrasub.
15270 # FIXME: do we really want to maintain this feature?
15271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15272 ac_sed_extra="$ac_vpsub
15273 $extrasub
15274 _ACEOF
15275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15276 :t
15277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15278 s|@configure_input@|$ac_sed_conf_input|;t t
15279 s&@top_builddir@&$ac_top_builddir_sub&;t t
15280 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15281 s&@srcdir@&$ac_srcdir&;t t
15282 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15283 s&@top_srcdir@&$ac_top_srcdir&;t t
15284 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15285 s&@builddir@&$ac_builddir&;t t
15286 s&@abs_builddir@&$ac_abs_builddir&;t t
15287 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15288 s&@INSTALL@&$ac_INSTALL&;t t
15289 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15290 $ac_datarootdir_hack
15291 "
15292 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15293 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15294
15295 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15296 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15297 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15298 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15300 which seems to be undefined. Please make sure it is defined" >&5
15301 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15302 which seems to be undefined. Please make sure it is defined" >&2;}
15303
15304 rm -f "$ac_tmp/stdin"
15305 case $ac_file in
15306 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15307 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15308 esac \
15309 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15310 ;;
15311 :H)
15312 #
15313 # CONFIG_HEADER
15314 #
15315 if test x"$ac_file" != x-; then
15316 {
15317 $as_echo "/* $configure_input */" \
15318 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15319 } >"$ac_tmp/config.h" \
15320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15321 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15323 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15324 else
15325 rm -f "$ac_file"
15326 mv "$ac_tmp/config.h" "$ac_file" \
15327 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15328 fi
15329 else
15330 $as_echo "/* $configure_input */" \
15331 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15332 || as_fn_error $? "could not create -" "$LINENO" 5
15333 fi
15334 # Compute "$ac_file"'s index in $config_headers.
15335 _am_arg="$ac_file"
15336 _am_stamp_count=1
15337 for _am_header in $config_headers :; do
15338 case $_am_header in
15339 $_am_arg | $_am_arg:* )
15340 break ;;
15341 * )
15342 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15343 esac
15344 done
15345 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15346 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15347 X"$_am_arg" : 'X\(//\)[^/]' \| \
15348 X"$_am_arg" : 'X\(//\)$' \| \
15349 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15350 $as_echo X"$_am_arg" |
15351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15352 s//\1/
15353 q
15354 }
15355 /^X\(\/\/\)[^/].*/{
15356 s//\1/
15357 q
15358 }
15359 /^X\(\/\/\)$/{
15360 s//\1/
15361 q
15362 }
15363 /^X\(\/\).*/{
15364 s//\1/
15365 q
15366 }
15367 s/.*/./; q'`/stamp-h$_am_stamp_count
15368 ;;
15369
15370 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15371 $as_echo "$as_me: executing $ac_file commands" >&6;}
15372 ;;
15373 esac
15374
15375
15376 case $ac_file$ac_mode in
15377 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15378 # Older Autoconf quotes --file arguments for eval, but not when files
15379 # are listed without --file. Let's play safe and only enable the eval
15380 # if we detect the quoting.
15381 # TODO: see whether this extra hack can be removed once we start
15382 # requiring Autoconf 2.70 or later.
15383 case $CONFIG_FILES in #(
15384 *\'*) :
15385 eval set x "$CONFIG_FILES" ;; #(
15386 *) :
15387 set x $CONFIG_FILES ;; #(
15388 *) :
15389 ;;
15390 esac
15391 shift
15392 # Used to flag and report bootstrapping failures.
15393 am_rc=0
15394 for am_mf
15395 do
15396 # Strip MF so we end up with the name of the file.
15397 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15398 # Check whether this is an Automake generated Makefile which includes
15399 # dependency-tracking related rules and includes.
15400 # Grep'ing the whole file directly is not great: AIX grep has a line
15401 # limit of 2048, but all sed's we know have understand at least 4000.
15402 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15403 || continue
15404 am_dirpart=`$as_dirname -- "$am_mf" ||
15405 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15406 X"$am_mf" : 'X\(//\)[^/]' \| \
15407 X"$am_mf" : 'X\(//\)$' \| \
15408 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15409 $as_echo X"$am_mf" |
15410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15411 s//\1/
15412 q
15413 }
15414 /^X\(\/\/\)[^/].*/{
15415 s//\1/
15416 q
15417 }
15418 /^X\(\/\/\)$/{
15419 s//\1/
15420 q
15421 }
15422 /^X\(\/\).*/{
15423 s//\1/
15424 q
15425 }
15426 s/.*/./; q'`
15427 am_filepart=`$as_basename -- "$am_mf" ||
15428 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15429 X"$am_mf" : 'X\(//\)$' \| \
15430 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15431 $as_echo X/"$am_mf" |
15432 sed '/^.*\/\([^/][^/]*\)\/*$/{
15433 s//\1/
15434 q
15435 }
15436 /^X\/\(\/\/\)$/{
15437 s//\1/
15438 q
15439 }
15440 /^X\/\(\/\).*/{
15441 s//\1/
15442 q
15443 }
15444 s/.*/./; q'`
15445 { echo "$as_me:$LINENO: cd "$am_dirpart" \
15446 && sed -e '/# am--include-marker/d' "$am_filepart" \
15447 | $MAKE -f - am--depfiles" >&5
15448 (cd "$am_dirpart" \
15449 && sed -e '/# am--include-marker/d' "$am_filepart" \
15450 | $MAKE -f - am--depfiles) >&5 2>&5
15451 ac_status=$?
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } || am_rc=$?
15454 done
15455 if test $am_rc -ne 0; then
15456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15458 as_fn_error $? "Something went wrong bootstrapping makefile fragments
15459 for automatic dependency tracking. If GNU make was not used, consider
15460 re-running the configure script with MAKE=\"gmake\" (or whatever is
15461 necessary). You can also try re-running configure with the
15462 '--disable-dependency-tracking' option to at least be able to build
15463 the package (albeit without support for automatic dependency tracking).
15464 See \`config.log' for more details" "$LINENO" 5; }
15465 fi
15466 { am_dirpart=; unset am_dirpart;}
15467 { am_filepart=; unset am_filepart;}
15468 { am_mf=; unset am_mf;}
15469 { am_rc=; unset am_rc;}
15470 rm -f conftest-deps.mk
15471 }
15472 ;;
15473 "libtool":C)
15474
15475 # See if we are running on zsh, and set the options that allow our
15476 # commands through without removal of \ escapes.
15477 if test -n "${ZSH_VERSION+set}"; then
15478 setopt NO_GLOB_SUBST
15479 fi
15480
15481 cfgfile=${ofile}T
15482 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15483 $RM "$cfgfile"
15484
15485 cat <<_LT_EOF >> "$cfgfile"
15486 #! $SHELL
15487 # Generated automatically by $as_me ($PACKAGE) $VERSION
15488 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15489 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15490
15491 # Provide generalized library-building support services.
15492 # Written by Gordon Matzigkeit, 1996
15493
15494 # Copyright (C) 2014 Free Software Foundation, Inc.
15495 # This is free software; see the source for copying conditions. There is NO
15496 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15497
15498 # GNU Libtool is free software; you can redistribute it and/or modify
15499 # it under the terms of the GNU General Public License as published by
15500 # the Free Software Foundation; either version 2 of of the License, or
15501 # (at your option) any later version.
15502 #
15503 # As a special exception to the GNU General Public License, if you
15504 # distribute this file as part of a program or library that is built
15505 # using GNU Libtool, you may include this file under the same
15506 # distribution terms that you use for the rest of that program.
15507 #
15508 # GNU Libtool is distributed in the hope that it will be useful, but
15509 # WITHOUT ANY WARRANTY; without even the implied warranty of
15510 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15511 # GNU General Public License for more details.
15512 #
15513 # You should have received a copy of the GNU General Public License
15514 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15515
15516
15517 # The names of the tagged configurations supported by this script.
15518 available_tags=''
15519
15520 # Configured defaults for sys_lib_dlsearch_path munging.
15521 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15522
15523 # ### BEGIN LIBTOOL CONFIG
15524
15525 # Whether or not to build static libraries.
15526 build_old_libs=$enable_static
15527
15528 # Which release of libtool.m4 was used?
15529 macro_version=$macro_version
15530 macro_revision=$macro_revision
15531
15532 # Whether or not to build shared libraries.
15533 build_libtool_libs=$enable_shared
15534
15535 # What type of objects to build.
15536 pic_mode=$pic_mode
15537
15538 # Whether or not to optimize for fast installation.
15539 fast_install=$enable_fast_install
15540
15541 # Shared archive member basename,for filename based shared library versioning on AIX.
15542 shared_archive_member_spec=$shared_archive_member_spec
15543
15544 # Shell to use when invoking shell scripts.
15545 SHELL=$lt_SHELL
15546
15547 # An echo program that protects backslashes.
15548 ECHO=$lt_ECHO
15549
15550 # The PATH separator for the build system.
15551 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15552
15553 # The host system.
15554 host_alias=$host_alias
15555 host=$host
15556 host_os=$host_os
15557
15558 # The build system.
15559 build_alias=$build_alias
15560 build=$build
15561 build_os=$build_os
15562
15563 # A sed program that does not truncate output.
15564 SED=$lt_SED
15565
15566 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15567 Xsed="\$SED -e 1s/^X//"
15568
15569 # A grep program that handles long lines.
15570 GREP=$lt_GREP
15571
15572 # An ERE matcher.
15573 EGREP=$lt_EGREP
15574
15575 # A literal string matcher.
15576 FGREP=$lt_FGREP
15577
15578 # A BSD- or MS-compatible name lister.
15579 NM=$lt_NM
15580
15581 # Whether we need soft or hard links.
15582 LN_S=$lt_LN_S
15583
15584 # What is the maximum length of a command?
15585 max_cmd_len=$max_cmd_len
15586
15587 # Object file suffix (normally "o").
15588 objext=$ac_objext
15589
15590 # Executable file suffix (normally "").
15591 exeext=$exeext
15592
15593 # whether the shell understands "unset".
15594 lt_unset=$lt_unset
15595
15596 # turn spaces into newlines.
15597 SP2NL=$lt_lt_SP2NL
15598
15599 # turn newlines into spaces.
15600 NL2SP=$lt_lt_NL2SP
15601
15602 # convert \$build file names to \$host format.
15603 to_host_file_cmd=$lt_cv_to_host_file_cmd
15604
15605 # convert \$build files to toolchain format.
15606 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15607
15608 # An object symbol dumper.
15609 OBJDUMP=$lt_OBJDUMP
15610
15611 # Method to check whether dependent libraries are shared objects.
15612 deplibs_check_method=$lt_deplibs_check_method
15613
15614 # Command to use when deplibs_check_method = "file_magic".
15615 file_magic_cmd=$lt_file_magic_cmd
15616
15617 # How to find potential files when deplibs_check_method = "file_magic".
15618 file_magic_glob=$lt_file_magic_glob
15619
15620 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15621 want_nocaseglob=$lt_want_nocaseglob
15622
15623 # DLL creation program.
15624 DLLTOOL=$lt_DLLTOOL
15625
15626 # Command to associate shared and link libraries.
15627 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15628
15629 # The archiver.
15630 AR=$lt_AR
15631
15632 # Flags to create an archive.
15633 AR_FLAGS=$lt_AR_FLAGS
15634
15635 # How to feed a file listing to the archiver.
15636 archiver_list_spec=$lt_archiver_list_spec
15637
15638 # A symbol stripping program.
15639 STRIP=$lt_STRIP
15640
15641 # Commands used to install an old-style archive.
15642 RANLIB=$lt_RANLIB
15643 old_postinstall_cmds=$lt_old_postinstall_cmds
15644 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15645
15646 # Whether to use a lock for old archive extraction.
15647 lock_old_archive_extraction=$lock_old_archive_extraction
15648
15649 # A C compiler.
15650 LTCC=$lt_CC
15651
15652 # LTCC compiler flags.
15653 LTCFLAGS=$lt_CFLAGS
15654
15655 # Take the output of nm and produce a listing of raw symbols and C names.
15656 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15657
15658 # Transform the output of nm in a proper C declaration.
15659 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15660
15661 # Transform the output of nm into a list of symbols to manually relocate.
15662 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15663
15664 # Transform the output of nm in a C name address pair.
15665 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15666
15667 # Transform the output of nm in a C name address pair when lib prefix is needed.
15668 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15669
15670 # The name lister interface.
15671 nm_interface=$lt_lt_cv_nm_interface
15672
15673 # Specify filename containing input files for \$NM.
15674 nm_file_list_spec=$lt_nm_file_list_spec
15675
15676 # The root where to search for dependent libraries,and where our libraries should be installed.
15677 lt_sysroot=$lt_sysroot
15678
15679 # Command to truncate a binary pipe.
15680 lt_truncate_bin=$lt_lt_cv_truncate_bin
15681
15682 # The name of the directory that contains temporary libtool files.
15683 objdir=$objdir
15684
15685 # Used to examine libraries when file_magic_cmd begins with "file".
15686 MAGIC_CMD=$MAGIC_CMD
15687
15688 # Must we lock files when doing compilation?
15689 need_locks=$lt_need_locks
15690
15691 # Manifest tool.
15692 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15693
15694 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15695 DSYMUTIL=$lt_DSYMUTIL
15696
15697 # Tool to change global to local symbols on Mac OS X.
15698 NMEDIT=$lt_NMEDIT
15699
15700 # Tool to manipulate fat objects and archives on Mac OS X.
15701 LIPO=$lt_LIPO
15702
15703 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15704 OTOOL=$lt_OTOOL
15705
15706 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15707 OTOOL64=$lt_OTOOL64
15708
15709 # Old archive suffix (normally "a").
15710 libext=$libext
15711
15712 # Shared library suffix (normally ".so").
15713 shrext_cmds=$lt_shrext_cmds
15714
15715 # The commands to extract the exported symbol list from a shared archive.
15716 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15717
15718 # Variables whose values should be saved in libtool wrapper scripts and
15719 # restored at link time.
15720 variables_saved_for_relink=$lt_variables_saved_for_relink
15721
15722 # Do we need the "lib" prefix for modules?
15723 need_lib_prefix=$need_lib_prefix
15724
15725 # Do we need a version for libraries?
15726 need_version=$need_version
15727
15728 # Library versioning type.
15729 version_type=$version_type
15730
15731 # Shared library runtime path variable.
15732 runpath_var=$runpath_var
15733
15734 # Shared library path variable.
15735 shlibpath_var=$shlibpath_var
15736
15737 # Is shlibpath searched before the hard-coded library search path?
15738 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15739
15740 # Format of library name prefix.
15741 libname_spec=$lt_libname_spec
15742
15743 # List of archive names. First name is the real one, the rest are links.
15744 # The last name is the one that the linker finds with -lNAME
15745 library_names_spec=$lt_library_names_spec
15746
15747 # The coded name of the library, if different from the real name.
15748 soname_spec=$lt_soname_spec
15749
15750 # Permission mode override for installation of shared libraries.
15751 install_override_mode=$lt_install_override_mode
15752
15753 # Command to use after installation of a shared archive.
15754 postinstall_cmds=$lt_postinstall_cmds
15755
15756 # Command to use after uninstallation of a shared archive.
15757 postuninstall_cmds=$lt_postuninstall_cmds
15758
15759 # Commands used to finish a libtool library installation in a directory.
15760 finish_cmds=$lt_finish_cmds
15761
15762 # As "finish_cmds", except a single script fragment to be evaled but
15763 # not shown.
15764 finish_eval=$lt_finish_eval
15765
15766 # Whether we should hardcode library paths into libraries.
15767 hardcode_into_libs=$hardcode_into_libs
15768
15769 # Compile-time system search path for libraries.
15770 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15771
15772 # Detected run-time system search path for libraries.
15773 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15774
15775 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15776 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15777
15778 # Whether dlopen is supported.
15779 dlopen_support=$enable_dlopen
15780
15781 # Whether dlopen of programs is supported.
15782 dlopen_self=$enable_dlopen_self
15783
15784 # Whether dlopen of statically linked programs is supported.
15785 dlopen_self_static=$enable_dlopen_self_static
15786
15787 # Commands to strip libraries.
15788 old_striplib=$lt_old_striplib
15789 striplib=$lt_striplib
15790
15791
15792 # The linker used to build libraries.
15793 LD=$lt_LD
15794
15795 # How to create reloadable object files.
15796 reload_flag=$lt_reload_flag
15797 reload_cmds=$lt_reload_cmds
15798
15799 # Commands used to build an old-style archive.
15800 old_archive_cmds=$lt_old_archive_cmds
15801
15802 # A language specific compiler.
15803 CC=$lt_compiler
15804
15805 # Is the compiler the GNU compiler?
15806 with_gcc=$GCC
15807
15808 # Compiler flag to turn off builtin functions.
15809 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15810
15811 # Additional compiler flags for building library objects.
15812 pic_flag=$lt_lt_prog_compiler_pic
15813
15814 # How to pass a linker flag through the compiler.
15815 wl=$lt_lt_prog_compiler_wl
15816
15817 # Compiler flag to prevent dynamic linking.
15818 link_static_flag=$lt_lt_prog_compiler_static
15819
15820 # Does compiler simultaneously support -c and -o options?
15821 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15822
15823 # Whether or not to add -lc for building shared libraries.
15824 build_libtool_need_lc=$archive_cmds_need_lc
15825
15826 # Whether or not to disallow shared libs when runtime libs are static.
15827 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15828
15829 # Compiler flag to allow reflexive dlopens.
15830 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15831
15832 # Compiler flag to generate shared objects directly from archives.
15833 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15834
15835 # Whether the compiler copes with passing no objects directly.
15836 compiler_needs_object=$lt_compiler_needs_object
15837
15838 # Create an old-style archive from a shared archive.
15839 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15840
15841 # Create a temporary old-style archive to link instead of a shared archive.
15842 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15843
15844 # Commands used to build a shared archive.
15845 archive_cmds=$lt_archive_cmds
15846 archive_expsym_cmds=$lt_archive_expsym_cmds
15847
15848 # Commands used to build a loadable module if different from building
15849 # a shared archive.
15850 module_cmds=$lt_module_cmds
15851 module_expsym_cmds=$lt_module_expsym_cmds
15852
15853 # Whether we are building with GNU ld or not.
15854 with_gnu_ld=$lt_with_gnu_ld
15855
15856 # Flag that allows shared libraries with undefined symbols to be built.
15857 allow_undefined_flag=$lt_allow_undefined_flag
15858
15859 # Flag that enforces no undefined symbols.
15860 no_undefined_flag=$lt_no_undefined_flag
15861
15862 # Flag to hardcode \$libdir into a binary during linking.
15863 # This must work even if \$libdir does not exist
15864 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15865
15866 # Whether we need a single "-rpath" flag with a separated argument.
15867 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15868
15869 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15870 # DIR into the resulting binary.
15871 hardcode_direct=$hardcode_direct
15872
15873 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15874 # DIR into the resulting binary and the resulting library dependency is
15875 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15876 # library is relocated.
15877 hardcode_direct_absolute=$hardcode_direct_absolute
15878
15879 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15880 # into the resulting binary.
15881 hardcode_minus_L=$hardcode_minus_L
15882
15883 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15884 # into the resulting binary.
15885 hardcode_shlibpath_var=$hardcode_shlibpath_var
15886
15887 # Set to "yes" if building a shared library automatically hardcodes DIR
15888 # into the library and all subsequent libraries and executables linked
15889 # against it.
15890 hardcode_automatic=$hardcode_automatic
15891
15892 # Set to yes if linker adds runtime paths of dependent libraries
15893 # to runtime path list.
15894 inherit_rpath=$inherit_rpath
15895
15896 # Whether libtool must link a program against all its dependency libraries.
15897 link_all_deplibs=$link_all_deplibs
15898
15899 # Set to "yes" if exported symbols are required.
15900 always_export_symbols=$always_export_symbols
15901
15902 # The commands to list exported symbols.
15903 export_symbols_cmds=$lt_export_symbols_cmds
15904
15905 # Symbols that should not be listed in the preloaded symbols.
15906 exclude_expsyms=$lt_exclude_expsyms
15907
15908 # Symbols that must always be exported.
15909 include_expsyms=$lt_include_expsyms
15910
15911 # Commands necessary for linking programs (against libraries) with templates.
15912 prelink_cmds=$lt_prelink_cmds
15913
15914 # Commands necessary for finishing linking programs.
15915 postlink_cmds=$lt_postlink_cmds
15916
15917 # Specify filename containing input files.
15918 file_list_spec=$lt_file_list_spec
15919
15920 # How to hardcode a shared library path into an executable.
15921 hardcode_action=$hardcode_action
15922
15923 # ### END LIBTOOL CONFIG
15924
15925 _LT_EOF
15926
15927 cat <<'_LT_EOF' >> "$cfgfile"
15928
15929 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15930
15931 # func_munge_path_list VARIABLE PATH
15932 # -----------------------------------
15933 # VARIABLE is name of variable containing _space_ separated list of
15934 # directories to be munged by the contents of PATH, which is string
15935 # having a format:
15936 # "DIR[:DIR]:"
15937 # string "DIR[ DIR]" will be prepended to VARIABLE
15938 # ":DIR[:DIR]"
15939 # string "DIR[ DIR]" will be appended to VARIABLE
15940 # "DIRP[:DIRP]::[DIRA:]DIRA"
15941 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15942 # "DIRA[ DIRA]" will be appended to VARIABLE
15943 # "DIR[:DIR]"
15944 # VARIABLE will be replaced by "DIR[ DIR]"
15945 func_munge_path_list ()
15946 {
15947 case x$2 in
15948 x)
15949 ;;
15950 *:)
15951 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15952 ;;
15953 x:*)
15954 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15955 ;;
15956 *::*)
15957 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15958 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15959 ;;
15960 *)
15961 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15962 ;;
15963 esac
15964 }
15965
15966
15967 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15968 func_cc_basename ()
15969 {
15970 for cc_temp in $*""; do
15971 case $cc_temp in
15972 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15973 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15974 \-*) ;;
15975 *) break;;
15976 esac
15977 done
15978 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15979 }
15980
15981
15982 # ### END FUNCTIONS SHARED WITH CONFIGURE
15983
15984 _LT_EOF
15985
15986 case $host_os in
15987 aix3*)
15988 cat <<\_LT_EOF >> "$cfgfile"
15989 # AIX sometimes has problems with the GCC collect2 program. For some
15990 # reason, if we set the COLLECT_NAMES environment variable, the problems
15991 # vanish in a puff of smoke.
15992 if test set != "${COLLECT_NAMES+set}"; then
15993 COLLECT_NAMES=
15994 export COLLECT_NAMES
15995 fi
15996 _LT_EOF
15997 ;;
15998 esac
15999
16000
16001 ltmain=$ac_aux_dir/ltmain.sh
16002
16003
16004 # We use sed instead of cat because bash on DJGPP gets confused if
16005 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16006 # text mode, it properly converts lines to CR/LF. This bash problem
16007 # is reportedly fixed, but why not run on old versions too?
16008 sed '$q' "$ltmain" >> "$cfgfile" \
16009 || (rm -f "$cfgfile"; exit 1)
16010
16011 mv -f "$cfgfile" "$ofile" ||
16012 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16013 chmod +x "$ofile"
16014
16015 ;;
16016
16017 esac
16018 done # for ac_tag
16019
16020
16021 as_fn_exit 0
16022 _ACEOF
16023 ac_clean_files=$ac_clean_files_save
16024
16025 test $ac_write_fail = 0 ||
16026 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16027
16028
16029 # configure is writing to config.log, and then calls config.status.
16030 # config.status does its own redirection, appending to config.log.
16031 # Unfortunately, on DOS this fails, as config.log is still kept open
16032 # by configure, so config.status won't be able to write to it; its
16033 # output is simply discarded. So we exec the FD to /dev/null,
16034 # effectively closing config.log, so it can be properly (re)opened and
16035 # appended to by config.status. When coming back to configure, we
16036 # need to make the FD available again.
16037 if test "$no_create" != yes; then
16038 ac_cs_success=:
16039 ac_config_status_args=
16040 test "$silent" = yes &&
16041 ac_config_status_args="$ac_config_status_args --quiet"
16042 exec 5>/dev/null
16043 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16044 exec 5>>config.log
16045 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16046 # would make configure fail if this is the last instruction.
16047 $ac_cs_success || as_fn_exit 1
16048 fi
16049 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16051 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16052 fi
16053
16054
16055
16056 echo
16057 echo "Plugin directory: $ALSA_PLUGIN_DIR"
16058 echo "ALSA_CFLAGS: $ALSA_CFLAGS"
16059 echo "ALSA_LIBS: $ALSA_LIBS"
16060 echo "JACK plugin: $HAVE_JACK"
16061 if test "$HAVE_JACK" = "yes"; then
16062 echo " JACK_CFLAGS: $JACK_CFLAGS"
16063 echo " JACK_LIBS: $JACK_LIBS"
16064 fi
16065 echo "Pulseaudio plugin: $HAVE_PULSE"
16066 if test "$HAVE_PULSE" = "yes"; then
16067 echo " pulseaudio_CFLAGS: $pulseaudio_CFLAGS"
16068 echo " pulseaudio_LIBS: $pulseaudio_LIBS"
16069 fi
16070 echo "Samplerate plugin: $HAVE_SAMPLERATE"
16071 if test "$HAVE_SAMPLERATE" = "yes"; then
16072 echo " samplerate_CFLAGS: $samplerate_CFLAGS"
16073 echo " samplerate_LIBS: $samplerate_LIBS"
16074 fi
16075 echo "Maemo plugin: $HAVE_MAEMO_PLUGIN"
16076 echo " Using Osso resource manager: $use_maemo_rm"
16077 if test "$HAVE_LIBAV" = "yes"; then
16078 echo "Libav/ffmpeg config:"
16079 echo " LIBAV_CFLAGS: $LIBAV_CFLAGS"
16080 echo " LIBAV_LIBS: $LIBAV_LIBS / $LIBAV_CODEC_LIBS / $LIBAV_RESAMPLE_LIBS"
16081 fi
16082 echo "Libav A52 plugin: $HAVE_A52"
16083 echo "Libav rate plugin: $HAVE_LAVRATE"
16084 echo "Speex rate plugin: $PPH"
16085 echo "Speex preprocess plugin: $HAVE_SPEEXDSP"
16086 if test "$HAVE_SPEEX" = "yes"; then
16087 echo " speexdsp_CFLAGS: $speexdsp_CFLAGS"
16088 echo " speexdsp_LIBS: $speexdsp_LIBS"
16089 fi
16090 echo "AAF plugin: $HAVE_AAF"