Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gst-plugins-espeak 0.5.0.
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='gst-plugins-espeak'
589 PACKAGE_TARNAME='gst-plugins-espeak'
590 PACKAGE_VERSION='0.5.0'
591 PACKAGE_STRING='gst-plugins-espeak 0.5.0'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="configure.ac"
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 GST_PLUGIN_LDFLAGS
637 GST_ALL_LDFLAGS
638 plugindir
639 ESPEAK_LIBS
640 ESPEAK_CFLAGS
641 GST_AUDIO_LIBS
642 GST_AUDIO_CFLAGS
643 GST_LIBS
644 GST_CFLAGS
645 PKG_CONFIG_LIBDIR
646 PKG_CONFIG_PATH
647 PKG_CONFIG
648 CPP
649 LT_SYS_LIBRARY_PATH
650 OTOOL64
651 OTOOL
652 LIPO
653 NMEDIT
654 DSYMUTIL
655 MANIFEST_TOOL
656 RANLIB
657 ac_ct_AR
658 AR
659 DLLTOOL
660 OBJDUMP
661 LN_S
662 NM
663 ac_ct_DUMPBIN
664 DUMPBIN
665 LD
666 FGREP
667 EGREP
668 GREP
669 SED
670 host_os
671 host_vendor
672 host_cpu
673 host
674 build_os
675 build_vendor
676 build_cpu
677 build
678 LIBTOOL
679 am__fastdepCC_FALSE
680 am__fastdepCC_TRUE
681 CCDEPMODE
682 am__nodep
683 AMDEPBACKSLASH
684 AMDEP_FALSE
685 AMDEP_TRUE
686 am__quote
687 am__include
688 DEPDIR
689 OBJEXT
690 EXEEXT
691 ac_ct_CC
692 CPPFLAGS
693 LDFLAGS
694 CFLAGS
695 CC
696 MAINT
697 MAINTAINER_MODE_FALSE
698 MAINTAINER_MODE_TRUE
699 AM_BACKSLASH
700 AM_DEFAULT_VERBOSITY
701 AM_DEFAULT_V
702 AM_V
703 am__untar
704 am__tar
705 AMTAR
706 am__leading_dot
707 SET_MAKE
708 AWK
709 mkdir_p
710 MKDIR_P
711 INSTALL_STRIP_PROGRAM
712 STRIP
713 install_sh
714 MAKEINFO
715 AUTOHEADER
716 AUTOMAKE
717 AUTOCONF
718 ACLOCAL
719 VERSION
720 PACKAGE
721 CYGPATH_W
722 am__isrc
723 INSTALL_DATA
724 INSTALL_SCRIPT
725 INSTALL_PROGRAM
726 target_alias
727 host_alias
728 build_alias
729 LIBS
730 ECHO_T
731 ECHO_N
732 ECHO_C
733 DEFS
734 mandir
735 localedir
736 libdir
737 psdir
738 pdfdir
739 dvidir
740 htmldir
741 infodir
742 docdir
743 oldincludedir
744 includedir
745 runstatedir
746 localstatedir
747 sharedstatedir
748 sysconfdir
749 datadir
750 datarootdir
751 libexecdir
752 sbindir
753 bindir
754 program_transform_name
755 prefix
756 exec_prefix
757 PACKAGE_URL
758 PACKAGE_BUGREPORT
759 PACKAGE_STRING
760 PACKAGE_VERSION
761 PACKAGE_TARNAME
762 PACKAGE_NAME
763 PATH_SEPARATOR
764 SHELL'
765 ac_subst_files=''
766 ac_user_opts='
767 enable_option_checking
768 enable_silent_rules
769 enable_maintainer_mode
770 enable_dependency_tracking
771 enable_shared
772 enable_static
773 with_pic
774 enable_fast_install
775 with_aix_soname
776 with_gnu_ld
777 with_sysroot
778 enable_libtool_lock
779 '
780 ac_precious_vars='build_alias
781 host_alias
782 target_alias
783 CC
784 CFLAGS
785 LDFLAGS
786 LIBS
787 CPPFLAGS
788 LT_SYS_LIBRARY_PATH
789 CPP
790 PKG_CONFIG
791 PKG_CONFIG_PATH
792 PKG_CONFIG_LIBDIR
793 GST_CFLAGS
794 GST_LIBS
795 GST_AUDIO_CFLAGS
796 GST_AUDIO_LIBS'
797
798
799 # Initialize some variables set by options.
800 ac_init_help=
801 ac_init_version=false
802 ac_unrecognized_opts=
803 ac_unrecognized_sep=
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
806 cache_file=/dev/null
807 exec_prefix=NONE
808 no_create=
809 no_recursion=
810 prefix=NONE
811 program_prefix=NONE
812 program_suffix=NONE
813 program_transform_name=s,x,x,
814 silent=
815 site=
816 srcdir=
817 verbose=
818 x_includes=NONE
819 x_libraries=NONE
820
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir='${exec_prefix}/bin'
828 sbindir='${exec_prefix}/sbin'
829 libexecdir='${exec_prefix}/libexec'
830 datarootdir='${prefix}/share'
831 datadir='${datarootdir}'
832 sysconfdir='${prefix}/etc'
833 sharedstatedir='${prefix}/com'
834 localstatedir='${prefix}/var'
835 runstatedir='${localstatedir}/run'
836 includedir='${prefix}/include'
837 oldincludedir='/usr/include'
838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir='${datarootdir}/info'
840 htmldir='${docdir}'
841 dvidir='${docdir}'
842 pdfdir='${docdir}'
843 psdir='${docdir}'
844 libdir='${exec_prefix}/lib'
845 localedir='${datarootdir}/locale'
846 mandir='${datarootdir}/man'
847
848 ac_prev=
849 ac_dashdash=
850 for ac_option
851 do
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\$ac_option
855 ac_prev=
856 continue
857 fi
858
859 case $ac_option in
860 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861 *=) ac_optarg= ;;
862 *) ac_optarg=yes ;;
863 esac
864
865 # Accept the important Cygnus configure options, so we can diagnose typos.
866
867 case $ac_dashdash$ac_option in
868 --)
869 ac_dashdash=yes ;;
870
871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
872 ac_prev=bindir ;;
873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
874 bindir=$ac_optarg ;;
875
876 -build | --build | --buil | --bui | --bu)
877 ac_prev=build_alias ;;
878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879 build_alias=$ac_optarg ;;
880
881 -cache-file | --cache-file | --cache-fil | --cache-fi \
882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883 ac_prev=cache_file ;;
884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886 cache_file=$ac_optarg ;;
887
888 --config-cache | -C)
889 cache_file=config.cache ;;
890
891 -datadir | --datadir | --datadi | --datad)
892 ac_prev=datadir ;;
893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
894 datadir=$ac_optarg ;;
895
896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897 | --dataroo | --dataro | --datar)
898 ac_prev=datarootdir ;;
899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901 datarootdir=$ac_optarg ;;
902
903 -disable-* | --disable-*)
904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907 as_fn_error $? "invalid feature name: $ac_useropt"
908 ac_useropt_orig=$ac_useropt
909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
911 *"
912 "enable_$ac_useropt"
913 "*) ;;
914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep=', ';;
916 esac
917 eval enable_$ac_useropt=no ;;
918
919 -docdir | --docdir | --docdi | --doc | --do)
920 ac_prev=docdir ;;
921 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
922 docdir=$ac_optarg ;;
923
924 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
925 ac_prev=dvidir ;;
926 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
927 dvidir=$ac_optarg ;;
928
929 -enable-* | --enable-*)
930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933 as_fn_error $? "invalid feature name: $ac_useropt"
934 ac_useropt_orig=$ac_useropt
935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
937 *"
938 "enable_$ac_useropt"
939 "*) ;;
940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep=', ';;
942 esac
943 eval enable_$ac_useropt=\$ac_optarg ;;
944
945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
946 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
947 | --exec | --exe | --ex)
948 ac_prev=exec_prefix ;;
949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
950 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
951 | --exec=* | --exe=* | --ex=*)
952 exec_prefix=$ac_optarg ;;
953
954 -gas | --gas | --ga | --g)
955 # Obsolete; use --with-gas.
956 with_gas=yes ;;
957
958 -help | --help | --hel | --he | -h)
959 ac_init_help=long ;;
960 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
961 ac_init_help=recursive ;;
962 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
963 ac_init_help=short ;;
964
965 -host | --host | --hos | --ho)
966 ac_prev=host_alias ;;
967 -host=* | --host=* | --hos=* | --ho=*)
968 host_alias=$ac_optarg ;;
969
970 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
971 ac_prev=htmldir ;;
972 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
973 | --ht=*)
974 htmldir=$ac_optarg ;;
975
976 -includedir | --includedir | --includedi | --included | --include \
977 | --includ | --inclu | --incl | --inc)
978 ac_prev=includedir ;;
979 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
980 | --includ=* | --inclu=* | --incl=* | --inc=*)
981 includedir=$ac_optarg ;;
982
983 -infodir | --infodir | --infodi | --infod | --info | --inf)
984 ac_prev=infodir ;;
985 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
986 infodir=$ac_optarg ;;
987
988 -libdir | --libdir | --libdi | --libd)
989 ac_prev=libdir ;;
990 -libdir=* | --libdir=* | --libdi=* | --libd=*)
991 libdir=$ac_optarg ;;
992
993 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
994 | --libexe | --libex | --libe)
995 ac_prev=libexecdir ;;
996 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
997 | --libexe=* | --libex=* | --libe=*)
998 libexecdir=$ac_optarg ;;
999
1000 -localedir | --localedir | --localedi | --localed | --locale)
1001 ac_prev=localedir ;;
1002 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1003 localedir=$ac_optarg ;;
1004
1005 -localstatedir | --localstatedir | --localstatedi | --localstated \
1006 | --localstate | --localstat | --localsta | --localst | --locals)
1007 ac_prev=localstatedir ;;
1008 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1009 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1010 localstatedir=$ac_optarg ;;
1011
1012 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1013 ac_prev=mandir ;;
1014 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1015 mandir=$ac_optarg ;;
1016
1017 -nfp | --nfp | --nf)
1018 # Obsolete; use --without-fp.
1019 with_fp=no ;;
1020
1021 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1022 | --no-cr | --no-c | -n)
1023 no_create=yes ;;
1024
1025 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1026 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1027 no_recursion=yes ;;
1028
1029 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1030 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1031 | --oldin | --oldi | --old | --ol | --o)
1032 ac_prev=oldincludedir ;;
1033 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1034 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1035 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1036 oldincludedir=$ac_optarg ;;
1037
1038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1039 ac_prev=prefix ;;
1040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1041 prefix=$ac_optarg ;;
1042
1043 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1044 | --program-pre | --program-pr | --program-p)
1045 ac_prev=program_prefix ;;
1046 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1047 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1048 program_prefix=$ac_optarg ;;
1049
1050 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1051 | --program-suf | --program-su | --program-s)
1052 ac_prev=program_suffix ;;
1053 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1054 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1055 program_suffix=$ac_optarg ;;
1056
1057 -program-transform-name | --program-transform-name \
1058 | --program-transform-nam | --program-transform-na \
1059 | --program-transform-n | --program-transform- \
1060 | --program-transform | --program-transfor \
1061 | --program-transfo | --program-transf \
1062 | --program-trans | --program-tran \
1063 | --progr-tra | --program-tr | --program-t)
1064 ac_prev=program_transform_name ;;
1065 -program-transform-name=* | --program-transform-name=* \
1066 | --program-transform-nam=* | --program-transform-na=* \
1067 | --program-transform-n=* | --program-transform-=* \
1068 | --program-transform=* | --program-transfor=* \
1069 | --program-transfo=* | --program-transf=* \
1070 | --program-trans=* | --program-tran=* \
1071 | --progr-tra=* | --program-tr=* | --program-t=*)
1072 program_transform_name=$ac_optarg ;;
1073
1074 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1075 ac_prev=pdfdir ;;
1076 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1077 pdfdir=$ac_optarg ;;
1078
1079 -psdir | --psdir | --psdi | --psd | --ps)
1080 ac_prev=psdir ;;
1081 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1082 psdir=$ac_optarg ;;
1083
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1086 silent=yes ;;
1087
1088 -runstatedir | --runstatedir | --runstatedi | --runstated \
1089 | --runstate | --runstat | --runsta | --runst | --runs \
1090 | --run | --ru | --r)
1091 ac_prev=runstatedir ;;
1092 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1093 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1094 | --run=* | --ru=* | --r=*)
1095 runstatedir=$ac_optarg ;;
1096
1097 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1098 ac_prev=sbindir ;;
1099 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1100 | --sbi=* | --sb=*)
1101 sbindir=$ac_optarg ;;
1102
1103 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1104 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1105 | --sharedst | --shareds | --shared | --share | --shar \
1106 | --sha | --sh)
1107 ac_prev=sharedstatedir ;;
1108 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1109 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1110 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1111 | --sha=* | --sh=*)
1112 sharedstatedir=$ac_optarg ;;
1113
1114 -site | --site | --sit)
1115 ac_prev=site ;;
1116 -site=* | --site=* | --sit=*)
1117 site=$ac_optarg ;;
1118
1119 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1120 ac_prev=srcdir ;;
1121 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1122 srcdir=$ac_optarg ;;
1123
1124 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1125 | --syscon | --sysco | --sysc | --sys | --sy)
1126 ac_prev=sysconfdir ;;
1127 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1128 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1129 sysconfdir=$ac_optarg ;;
1130
1131 -target | --target | --targe | --targ | --tar | --ta | --t)
1132 ac_prev=target_alias ;;
1133 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1134 target_alias=$ac_optarg ;;
1135
1136 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1137 verbose=yes ;;
1138
1139 -version | --version | --versio | --versi | --vers | -V)
1140 ac_init_version=: ;;
1141
1142 -with-* | --with-*)
1143 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146 as_fn_error $? "invalid package name: $ac_useropt"
1147 ac_useropt_orig=$ac_useropt
1148 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1150 *"
1151 "with_$ac_useropt"
1152 "*) ;;
1153 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1154 ac_unrecognized_sep=', ';;
1155 esac
1156 eval with_$ac_useropt=\$ac_optarg ;;
1157
1158 -without-* | --without-*)
1159 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1162 as_fn_error $? "invalid package name: $ac_useropt"
1163 ac_useropt_orig=$ac_useropt
1164 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1166 *"
1167 "with_$ac_useropt"
1168 "*) ;;
1169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1170 ac_unrecognized_sep=', ';;
1171 esac
1172 eval with_$ac_useropt=no ;;
1173
1174 --x)
1175 # Obsolete; use --with-x.
1176 with_x=yes ;;
1177
1178 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1179 | --x-incl | --x-inc | --x-in | --x-i)
1180 ac_prev=x_includes ;;
1181 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1182 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1183 x_includes=$ac_optarg ;;
1184
1185 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1186 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1187 ac_prev=x_libraries ;;
1188 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1189 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1190 x_libraries=$ac_optarg ;;
1191
1192 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1193 Try \`$0 --help' for more information"
1194 ;;
1195
1196 *=*)
1197 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1198 # Reject names that are not valid shell variable names.
1199 case $ac_envvar in #(
1200 '' | [0-9]* | *[!_$as_cr_alnum]* )
1201 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1202 esac
1203 eval $ac_envvar=\$ac_optarg
1204 export $ac_envvar ;;
1205
1206 *)
1207 # FIXME: should be removed in autoconf 3.0.
1208 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1210 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1212 ;;
1213
1214 esac
1215 done
1216
1217 if test -n "$ac_prev"; then
1218 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1219 as_fn_error $? "missing argument to $ac_option"
1220 fi
1221
1222 if test -n "$ac_unrecognized_opts"; then
1223 case $enable_option_checking in
1224 no) ;;
1225 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1226 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 esac
1228 fi
1229
1230 # Check all directory arguments for consistency.
1231 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1232 datadir sysconfdir sharedstatedir localstatedir includedir \
1233 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1234 libdir localedir mandir runstatedir
1235 do
1236 eval ac_val=\$$ac_var
1237 # Remove trailing slashes.
1238 case $ac_val in
1239 */ )
1240 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1241 eval $ac_var=\$ac_val;;
1242 esac
1243 # Be sure to have absolute directory names.
1244 case $ac_val in
1245 [\\/$]* | ?:[\\/]* ) continue;;
1246 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1247 esac
1248 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1249 done
1250
1251 # There might be people who depend on the old broken behavior: `$host'
1252 # used to hold the argument of --host etc.
1253 # FIXME: To remove some day.
1254 build=$build_alias
1255 host=$host_alias
1256 target=$target_alias
1257
1258 # FIXME: To remove some day.
1259 if test "x$host_alias" != x; then
1260 if test "x$build_alias" = x; then
1261 cross_compiling=maybe
1262 elif test "x$build_alias" != "x$host_alias"; then
1263 cross_compiling=yes
1264 fi
1265 fi
1266
1267 ac_tool_prefix=
1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
1270 test "$silent" = yes && exec 6>/dev/null
1271
1272
1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di=`ls -di .` &&
1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276 as_fn_error $? "working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278 as_fn_error $? "pwd does not report name of working directory"
1279
1280
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$as_myself" : 'X\(//\)[^/]' \| \
1288 X"$as_myself" : 'X\(//\)$' \| \
1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 s//\1/
1293 q
1294 }
1295 /^X\(\/\/\)[^/].*/{
1296 s//\1/
1297 q
1298 }
1299 /^X\(\/\/\)$/{
1300 s//\1/
1301 q
1302 }
1303 /^X\(\/\).*/{
1304 s//\1/
1305 q
1306 }
1307 s/.*/./; q'`
1308 srcdir=$ac_confdir
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 srcdir=..
1311 fi
1312 else
1313 ac_srcdir_defaulted=no
1314 fi
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318 fi
1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 ac_abs_confdir=`(
1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322 pwd)`
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325 srcdir=.
1326 fi
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1330 case $srcdir in
1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 esac
1333 for ac_var in $ac_precious_vars; do
1334 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335 eval ac_env_${ac_var}_value=\$${ac_var}
1336 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338 done
1339
1340 #
1341 # Report the --help message.
1342 #
1343 if test "$ac_init_help" = "long"; then
1344 # Omit some internal or obsolete options to make the list less imposing.
1345 # This message is too long to be a string in the A/UX 3.1 sh.
1346 cat <<_ACEOF
1347 \`configure' configures gst-plugins-espeak 0.5.0 to adapt to many kinds of systems.
1348
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1350
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE. See below for descriptions of some of the useful variables.
1353
1354 Defaults for the options are specified in brackets.
1355
1356 Configuration:
1357 -h, --help display this help and exit
1358 --help=short display options specific to this package
1359 --help=recursive display the short help of all the included packages
1360 -V, --version display version information and exit
1361 -q, --quiet, --silent do not print \`checking ...' messages
1362 --cache-file=FILE cache test results in FILE [disabled]
1363 -C, --config-cache alias for \`--cache-file=config.cache'
1364 -n, --no-create do not create output files
1365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1366
1367 Installation directories:
1368 --prefix=PREFIX install architecture-independent files in PREFIX
1369 [$ac_default_prefix]
1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371 [PREFIX]
1372
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1377
1378 For better control, use the options below.
1379
1380 Fine tuning of the installation directories:
1381 --bindir=DIR user executables [EPREFIX/bin]
1382 --sbindir=DIR system admin executables [EPREFIX/sbin]
1383 --libexecdir=DIR program executables [EPREFIX/libexec]
1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root
1397 [DATAROOTDIR/doc/gst-plugins-espeak]
1398 --htmldir=DIR html documentation [DOCDIR]
1399 --dvidir=DIR dvi documentation [DOCDIR]
1400 --pdfdir=DIR pdf documentation [DOCDIR]
1401 --psdir=DIR ps documentation [DOCDIR]
1402 _ACEOF
1403
1404 cat <<\_ACEOF
1405
1406 Program names:
1407 --program-prefix=PREFIX prepend PREFIX to installed program names
1408 --program-suffix=SUFFIX append SUFFIX to installed program names
1409 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1410
1411 System types:
1412 --build=BUILD configure for building on BUILD [guessed]
1413 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1414 _ACEOF
1415 fi
1416
1417 if test -n "$ac_init_help"; then
1418 case $ac_init_help in
1419 short | recursive ) echo "Configuration of gst-plugins-espeak 0.5.0:";;
1420 esac
1421 cat <<\_ACEOF
1422
1423 Optional Features:
1424 --disable-option-checking ignore unrecognized --enable/--with options
1425 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1426 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1427 --enable-silent-rules less verbose build output (undo: "make V=1")
1428 --disable-silent-rules verbose build output (undo: "make V=0")
1429 --enable-maintainer-mode
1430 enable make rules and dependencies not useful (and
1431 sometimes confusing) to the casual installer
1432 --enable-dependency-tracking
1433 do not reject slow dependency extractors
1434 --disable-dependency-tracking
1435 speeds up one-time build
1436 --enable-shared[=PKGS] build shared libraries [default=yes]
1437 --enable-static[=PKGS] build static libraries [default=yes]
1438 --enable-fast-install[=PKGS]
1439 optimize for fast installation [default=yes]
1440 --disable-libtool-lock avoid locking (might break parallel builds)
1441
1442 Optional Packages:
1443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1445 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1446 both]
1447 --with-aix-soname=aix|svr4|both
1448 shared library versioning (aka "SONAME") variant to
1449 provide on AIX, [default=aix].
1450 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1451 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1452 compiler's sysroot if not specified).
1453
1454 Some influential environment variables:
1455 CC C compiler command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1458 nonstandard directory <lib dir>
1459 LIBS libraries to pass to the linker, e.g. -l<library>
1460 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1461 you have headers in a nonstandard directory <include dir>
1462 LT_SYS_LIBRARY_PATH
1463 User-defined run-time library search path.
1464 CPP C preprocessor
1465 PKG_CONFIG path to pkg-config utility
1466 PKG_CONFIG_PATH
1467 directories to add to pkg-config's search path
1468 PKG_CONFIG_LIBDIR
1469 path overriding pkg-config's built-in search path
1470 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1471 GST_LIBS linker flags for GST, overriding pkg-config
1472 GST_AUDIO_CFLAGS
1473 C compiler flags for GST_AUDIO, overriding pkg-config
1474 GST_AUDIO_LIBS
1475 linker flags for GST_AUDIO, overriding pkg-config
1476
1477 Use these variables to override the choices made by `configure' or to help
1478 it to find libraries and programs with nonstandard names/locations.
1479
1480 Report bugs to the package provider.
1481 _ACEOF
1482 ac_status=$?
1483 fi
1484
1485 if test "$ac_init_help" = "recursive"; then
1486 # If there are subdirs, report their specific --help.
1487 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1488 test -d "$ac_dir" ||
1489 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1490 continue
1491 ac_builddir=.
1492
1493 case "$ac_dir" in
1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 *)
1496 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1497 # A ".." for each directory in $ac_dir_suffix.
1498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1499 case $ac_top_builddir_sub in
1500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1502 esac ;;
1503 esac
1504 ac_abs_top_builddir=$ac_pwd
1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1506 # for backward compatibility:
1507 ac_top_builddir=$ac_top_build_prefix
1508
1509 case $srcdir in
1510 .) # We are building in place.
1511 ac_srcdir=.
1512 ac_top_srcdir=$ac_top_builddir_sub
1513 ac_abs_top_srcdir=$ac_pwd ;;
1514 [\\/]* | ?:[\\/]* ) # Absolute name.
1515 ac_srcdir=$srcdir$ac_dir_suffix;
1516 ac_top_srcdir=$srcdir
1517 ac_abs_top_srcdir=$srcdir ;;
1518 *) # Relative name.
1519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520 ac_top_srcdir=$ac_top_build_prefix$srcdir
1521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 esac
1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524
1525 cd "$ac_dir" || { ac_status=$?; continue; }
1526 # Check for guested configure.
1527 if test -f "$ac_srcdir/configure.gnu"; then
1528 echo &&
1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530 elif test -f "$ac_srcdir/configure"; then
1531 echo &&
1532 $SHELL "$ac_srcdir/configure" --help=recursive
1533 else
1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 fi || ac_status=$?
1536 cd "$ac_pwd" || { ac_status=$?; break; }
1537 done
1538 fi
1539
1540 test -n "$ac_init_help" && exit $ac_status
1541 if $ac_init_version; then
1542 cat <<\_ACEOF
1543 gst-plugins-espeak configure 0.5.0
1544 generated by GNU Autoconf 2.69
1545
1546 Copyright (C) 2012 Free Software Foundation, Inc.
1547 This configure script is free software; the Free Software Foundation
1548 gives unlimited permission to copy, distribute and modify it.
1549 _ACEOF
1550 exit
1551 fi
1552
1553 ## ------------------------ ##
1554 ## Autoconf initialization. ##
1555 ## ------------------------ ##
1556
1557 # ac_fn_c_try_compile LINENO
1558 # --------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_c_try_compile ()
1561 {
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext
1564 if { { ac_try="$ac_compile"
1565 case "(($ac_try" in
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1572 ac_status=$?
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1577 fi
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.$ac_objext; then :
1583 ac_retval=0
1584 else
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588 ac_retval=1
1589 fi
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1592
1593 } # ac_fn_c_try_compile
1594
1595 # ac_fn_c_try_link LINENO
1596 # -----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_link ()
1599 {
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext conftest$ac_exeext
1602 if { { ac_try="$ac_link"
1603 case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>conftest.err
1610 ac_status=$?
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1615 fi
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest$ac_exeext && {
1621 test "$cross_compiling" = yes ||
1622 test -x conftest$ac_exeext
1623 }; then :
1624 ac_retval=0
1625 else
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1628
1629 ac_retval=1
1630 fi
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1638
1639 } # ac_fn_c_try_link
1640
1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists and can be compiled using the include files in
1644 # INCLUDES, setting the cache variable VAR accordingly.
1645 ac_fn_c_check_header_compile ()
1646 {
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \${$3+:} false; then :
1651 $as_echo_n "(cached) " >&6
1652 else
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1655 $4
1656 #include <$2>
1657 _ACEOF
1658 if ac_fn_c_try_compile "$LINENO"; then :
1659 eval "$3=yes"
1660 else
1661 eval "$3=no"
1662 fi
1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 fi
1665 eval ac_res=\$$3
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669
1670 } # ac_fn_c_check_header_compile
1671
1672 # ac_fn_c_try_cpp LINENO
1673 # ----------------------
1674 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_cpp ()
1676 {
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 if { { ac_try="$ac_cpp conftest.$ac_ext"
1679 case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1686 ac_status=$?
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1691 fi
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } > conftest.i && {
1694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 }; then :
1697 ac_retval=0
1698 else
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1701
1702 ac_retval=1
1703 fi
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1706
1707 } # ac_fn_c_try_cpp
1708
1709 # ac_fn_c_try_run LINENO
1710 # ----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1712 # that executables *can* be run.
1713 ac_fn_c_try_run ()
1714 {
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_link"
1717 case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720 esac
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>&5
1724 ac_status=$?
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1727 { { case "(($ac_try" in
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1730 esac
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_try") 2>&5
1734 ac_status=$?
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; }; }; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: program exited with status $ac_status" >&5
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=$ac_status
1744 fi
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1748
1749 } # ac_fn_c_try_run
1750
1751 # ac_fn_c_check_func LINENO FUNC VAR
1752 # ----------------------------------
1753 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1754 ac_fn_c_check_func ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758 $as_echo_n "checking for $2... " >&6; }
1759 if eval \${$3+:} false; then :
1760 $as_echo_n "(cached) " >&6
1761 else
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1766 #define $2 innocuous_$2
1767
1768 /* System header to define __stub macros and hopefully few prototypes,
1769 which can conflict with char $2 (); below.
1770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1771 <limits.h> exists even on freestanding compilers. */
1772
1773 #ifdef __STDC__
1774 # include <limits.h>
1775 #else
1776 # include <assert.h>
1777 #endif
1778
1779 #undef $2
1780
1781 /* Override any GCC internal prototype to avoid an error.
1782 Use char because int might match the return type of a GCC
1783 builtin and then its argument prototype would still apply. */
1784 #ifdef __cplusplus
1785 extern "C"
1786 #endif
1787 char $2 ();
1788 /* The GNU C library defines this for functions which it implements
1789 to always fail with ENOSYS. Some functions are actually named
1790 something starting with __ and the normal name is an alias. */
1791 #if defined __stub_$2 || defined __stub___$2
1792 choke me
1793 #endif
1794
1795 int
1796 main ()
1797 {
1798 return $2 ();
1799 ;
1800 return 0;
1801 }
1802 _ACEOF
1803 if ac_fn_c_try_link "$LINENO"; then :
1804 eval "$3=yes"
1805 else
1806 eval "$3=no"
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext \
1809 conftest$ac_exeext conftest.$ac_ext
1810 fi
1811 eval ac_res=\$$3
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815
1816 } # ac_fn_c_check_func
1817 cat >config.log <<_ACEOF
1818 This file contains any messages produced by compilers while
1819 running configure, to aid debugging if configure makes a mistake.
1820
1821 It was created by gst-plugins-espeak $as_me 0.5.0, which was
1822 generated by GNU Autoconf 2.69. Invocation command line was
1823
1824 $ $0 $@
1825
1826 _ACEOF
1827 exec 5>>config.log
1828 {
1829 cat <<_ASUNAME
1830 ## --------- ##
1831 ## Platform. ##
1832 ## --------- ##
1833
1834 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1835 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1836 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1837 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1838 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1839
1840 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1841 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1842
1843 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1844 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1845 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1846 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1847 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1848 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1849 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1850
1851 _ASUNAME
1852
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 for as_dir in $PATH
1855 do
1856 IFS=$as_save_IFS
1857 test -z "$as_dir" && as_dir=.
1858 $as_echo "PATH: $as_dir"
1859 done
1860 IFS=$as_save_IFS
1861
1862 } >&5
1863
1864 cat >&5 <<_ACEOF
1865
1866
1867 ## ----------- ##
1868 ## Core tests. ##
1869 ## ----------- ##
1870
1871 _ACEOF
1872
1873
1874 # Keep a trace of the command line.
1875 # Strip out --no-create and --no-recursion so they do not pile up.
1876 # Strip out --silent because we don't want to record it for future runs.
1877 # Also quote any args containing shell meta-characters.
1878 # Make two passes to allow for proper duplicate-argument suppression.
1879 ac_configure_args=
1880 ac_configure_args0=
1881 ac_configure_args1=
1882 ac_must_keep_next=false
1883 for ac_pass in 1 2
1884 do
1885 for ac_arg
1886 do
1887 case $ac_arg in
1888 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1890 | -silent | --silent | --silen | --sile | --sil)
1891 continue ;;
1892 *\'*)
1893 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1894 esac
1895 case $ac_pass in
1896 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1897 2)
1898 as_fn_append ac_configure_args1 " '$ac_arg'"
1899 if test $ac_must_keep_next = true; then
1900 ac_must_keep_next=false # Got value, back to normal.
1901 else
1902 case $ac_arg in
1903 *=* | --config-cache | -C | -disable-* | --disable-* \
1904 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1905 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1906 | -with-* | --with-* | -without-* | --without-* | --x)
1907 case "$ac_configure_args0 " in
1908 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1909 esac
1910 ;;
1911 -* ) ac_must_keep_next=true ;;
1912 esac
1913 fi
1914 as_fn_append ac_configure_args " '$ac_arg'"
1915 ;;
1916 esac
1917 done
1918 done
1919 { ac_configure_args0=; unset ac_configure_args0;}
1920 { ac_configure_args1=; unset ac_configure_args1;}
1921
1922 # When interrupted or exit'd, cleanup temporary files, and complete
1923 # config.log. We remove comments because anyway the quotes in there
1924 # would cause problems or look ugly.
1925 # WARNING: Use '\'' to represent an apostrophe within the trap.
1926 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1927 trap 'exit_status=$?
1928 # Save into config.log some information that might help in debugging.
1929 {
1930 echo
1931
1932 $as_echo "## ---------------- ##
1933 ## Cache variables. ##
1934 ## ---------------- ##"
1935 echo
1936 # The following way of writing the cache mishandles newlines in values,
1937 (
1938 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1939 eval ac_val=\$$ac_var
1940 case $ac_val in #(
1941 *${as_nl}*)
1942 case $ac_var in #(
1943 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1945 esac
1946 case $ac_var in #(
1947 _ | IFS | as_nl) ;; #(
1948 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1949 *) { eval $ac_var=; unset $ac_var;} ;;
1950 esac ;;
1951 esac
1952 done
1953 (set) 2>&1 |
1954 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1955 *${as_nl}ac_space=\ *)
1956 sed -n \
1957 "s/'\''/'\''\\\\'\'''\''/g;
1958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1959 ;; #(
1960 *)
1961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1962 ;;
1963 esac |
1964 sort
1965 )
1966 echo
1967
1968 $as_echo "## ----------------- ##
1969 ## Output variables. ##
1970 ## ----------------- ##"
1971 echo
1972 for ac_var in $ac_subst_vars
1973 do
1974 eval ac_val=\$$ac_var
1975 case $ac_val in
1976 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1977 esac
1978 $as_echo "$ac_var='\''$ac_val'\''"
1979 done | sort
1980 echo
1981
1982 if test -n "$ac_subst_files"; then
1983 $as_echo "## ------------------- ##
1984 ## File substitutions. ##
1985 ## ------------------- ##"
1986 echo
1987 for ac_var in $ac_subst_files
1988 do
1989 eval ac_val=\$$ac_var
1990 case $ac_val in
1991 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1992 esac
1993 $as_echo "$ac_var='\''$ac_val'\''"
1994 done | sort
1995 echo
1996 fi
1997
1998 if test -s confdefs.h; then
1999 $as_echo "## ----------- ##
2000 ## confdefs.h. ##
2001 ## ----------- ##"
2002 echo
2003 cat confdefs.h
2004 echo
2005 fi
2006 test "$ac_signal" != 0 &&
2007 $as_echo "$as_me: caught signal $ac_signal"
2008 $as_echo "$as_me: exit $exit_status"
2009 } >&5
2010 rm -f core *.core core.conftest.* &&
2011 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2012 exit $exit_status
2013 ' 0
2014 for ac_signal in 1 2 13 15; do
2015 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2016 done
2017 ac_signal=0
2018
2019 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2020 rm -f -r conftest* confdefs.h
2021
2022 $as_echo "/* confdefs.h */" > confdefs.h
2023
2024 # Predefined preprocessor variables.
2025
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_NAME "$PACKAGE_NAME"
2028 _ACEOF
2029
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2032 _ACEOF
2033
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2036 _ACEOF
2037
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE_STRING "$PACKAGE_STRING"
2040 _ACEOF
2041
2042 cat >>confdefs.h <<_ACEOF
2043 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2044 _ACEOF
2045
2046 cat >>confdefs.h <<_ACEOF
2047 #define PACKAGE_URL "$PACKAGE_URL"
2048 _ACEOF
2049
2050
2051 # Let the site file select an alternate cache file if it wants to.
2052 # Prefer an explicitly selected file to automatically selected ones.
2053 ac_site_file1=NONE
2054 ac_site_file2=NONE
2055 if test -n "$CONFIG_SITE"; then
2056 # We do not want a PATH search for config.site.
2057 case $CONFIG_SITE in #((
2058 -*) ac_site_file1=./$CONFIG_SITE;;
2059 */*) ac_site_file1=$CONFIG_SITE;;
2060 *) ac_site_file1=./$CONFIG_SITE;;
2061 esac
2062 elif test "x$prefix" != xNONE; then
2063 ac_site_file1=$prefix/share/config.site
2064 ac_site_file2=$prefix/etc/config.site
2065 else
2066 ac_site_file1=$ac_default_prefix/share/config.site
2067 ac_site_file2=$ac_default_prefix/etc/config.site
2068 fi
2069 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2070 do
2071 test "x$ac_site_file" = xNONE && continue
2072 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2074 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2075 sed 's/^/| /' "$ac_site_file" >&5
2076 . "$ac_site_file" \
2077 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2079 as_fn_error $? "failed to load site script $ac_site_file
2080 See \`config.log' for more details" "$LINENO" 5; }
2081 fi
2082 done
2083
2084 if test -r "$cache_file"; then
2085 # Some versions of bash will fail to source /dev/null (special files
2086 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2087 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2089 $as_echo "$as_me: loading cache $cache_file" >&6;}
2090 case $cache_file in
2091 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2092 *) . "./$cache_file";;
2093 esac
2094 fi
2095 else
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2097 $as_echo "$as_me: creating cache $cache_file" >&6;}
2098 >$cache_file
2099 fi
2100
2101 # Check that the precious variables saved in the cache have kept the same
2102 # value.
2103 ac_cache_corrupted=false
2104 for ac_var in $ac_precious_vars; do
2105 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2106 eval ac_new_set=\$ac_env_${ac_var}_set
2107 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2108 eval ac_new_val=\$ac_env_${ac_var}_value
2109 case $ac_old_set,$ac_new_set in
2110 set,)
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2112 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2113 ac_cache_corrupted=: ;;
2114 ,set)
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2116 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2117 ac_cache_corrupted=: ;;
2118 ,);;
2119 *)
2120 if test "x$ac_old_val" != "x$ac_new_val"; then
2121 # differences in whitespace do not lead to failure.
2122 ac_old_val_w=`echo x $ac_old_val`
2123 ac_new_val_w=`echo x $ac_new_val`
2124 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2126 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2127 ac_cache_corrupted=:
2128 else
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2130 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2131 eval $ac_var=\$ac_old_val
2132 fi
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2134 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2136 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2137 fi;;
2138 esac
2139 # Pass precious variables to config.status.
2140 if test "$ac_new_set" = set; then
2141 case $ac_new_val in
2142 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 *) ac_arg=$ac_var=$ac_new_val ;;
2144 esac
2145 case " $ac_configure_args " in
2146 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2147 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2148 esac
2149 fi
2150 done
2151 if $ac_cache_corrupted; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2155 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2156 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2157 fi
2158 ## -------------------- ##
2159 ## Main body of script. ##
2160 ## -------------------- ##
2161
2162 ac_ext=c
2163 ac_cpp='$CPP $CPPFLAGS'
2164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167
2168
2169
2170
2171 am__api_version='1.15'
2172
2173 ac_aux_dir=
2174 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2175 if test -f "$ac_dir/install-sh"; then
2176 ac_aux_dir=$ac_dir
2177 ac_install_sh="$ac_aux_dir/install-sh -c"
2178 break
2179 elif test -f "$ac_dir/install.sh"; then
2180 ac_aux_dir=$ac_dir
2181 ac_install_sh="$ac_aux_dir/install.sh -c"
2182 break
2183 elif test -f "$ac_dir/shtool"; then
2184 ac_aux_dir=$ac_dir
2185 ac_install_sh="$ac_aux_dir/shtool install -c"
2186 break
2187 fi
2188 done
2189 if test -z "$ac_aux_dir"; then
2190 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2191 fi
2192
2193 # These three variables are undocumented and unsupported,
2194 # and are intended to be withdrawn in a future Autoconf release.
2195 # They can cause serious problems if a builder's source tree is in a directory
2196 # whose full name contains unusual characters.
2197 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2198 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2199 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2200
2201
2202 # Find a good install program. We prefer a C program (faster),
2203 # so one script is as good as another. But avoid the broken or
2204 # incompatible versions:
2205 # SysV /etc/install, /usr/sbin/install
2206 # SunOS /usr/etc/install
2207 # IRIX /sbin/install
2208 # AIX /bin/install
2209 # AmigaOS /C/install, which installs bootblocks on floppy discs
2210 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2211 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2212 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2213 # OS/2's system install, which has a completely different semantic
2214 # ./install, which can be erroneously created by make from ./install.sh.
2215 # Reject install programs that cannot install multiple files.
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2217 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2218 if test -z "$INSTALL"; then
2219 if ${ac_cv_path_install+:} false; then :
2220 $as_echo_n "(cached) " >&6
2221 else
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 for as_dir in $PATH
2224 do
2225 IFS=$as_save_IFS
2226 test -z "$as_dir" && as_dir=.
2227 # Account for people who put trailing slashes in PATH elements.
2228 case $as_dir/ in #((
2229 ./ | .// | /[cC]/* | \
2230 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2231 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2232 /usr/ucb/* ) ;;
2233 *)
2234 # OSF1 and SCO ODT 3.0 have their own names for install.
2235 # Don't use installbsd from OSF since it installs stuff as root
2236 # by default.
2237 for ac_prog in ginstall scoinst install; do
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2240 if test $ac_prog = install &&
2241 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2242 # AIX install. It has an incompatible calling convention.
2243 :
2244 elif test $ac_prog = install &&
2245 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2246 # program-specific install script used by HP pwplus--don't use.
2247 :
2248 else
2249 rm -rf conftest.one conftest.two conftest.dir
2250 echo one > conftest.one
2251 echo two > conftest.two
2252 mkdir conftest.dir
2253 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2254 test -s conftest.one && test -s conftest.two &&
2255 test -s conftest.dir/conftest.one &&
2256 test -s conftest.dir/conftest.two
2257 then
2258 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2259 break 3
2260 fi
2261 fi
2262 fi
2263 done
2264 done
2265 ;;
2266 esac
2267
2268 done
2269 IFS=$as_save_IFS
2270
2271 rm -rf conftest.one conftest.two conftest.dir
2272
2273 fi
2274 if test "${ac_cv_path_install+set}" = set; then
2275 INSTALL=$ac_cv_path_install
2276 else
2277 # As a last resort, use the slow shell script. Don't cache a
2278 # value for INSTALL within a source directory, because that will
2279 # break other packages using the cache if that directory is
2280 # removed, or if the value is a relative name.
2281 INSTALL=$ac_install_sh
2282 fi
2283 fi
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2285 $as_echo "$INSTALL" >&6; }
2286
2287 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2288 # It thinks the first close brace ends the variable substitution.
2289 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2290
2291 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2292
2293 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2294
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2296 $as_echo_n "checking whether build environment is sane... " >&6; }
2297 # Reject unsafe characters in $srcdir or the absolute working directory
2298 # name. Accept space and tab only in the latter.
2299 am_lf='
2300 '
2301 case `pwd` in
2302 *[\\\"\#\$\&\'\`$am_lf]*)
2303 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2304 esac
2305 case $srcdir in
2306 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2307 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2308 esac
2309
2310 # Do 'set' in a subshell so we don't clobber the current shell's
2311 # arguments. Must try -L first in case configure is actually a
2312 # symlink; some systems play weird games with the mod time of symlinks
2313 # (eg FreeBSD returns the mod time of the symlink's containing
2314 # directory).
2315 if (
2316 am_has_slept=no
2317 for am_try in 1 2; do
2318 echo "timestamp, slept: $am_has_slept" > conftest.file
2319 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2320 if test "$*" = "X"; then
2321 # -L didn't work.
2322 set X `ls -t "$srcdir/configure" conftest.file`
2323 fi
2324 if test "$*" != "X $srcdir/configure conftest.file" \
2325 && test "$*" != "X conftest.file $srcdir/configure"; then
2326
2327 # If neither matched, then we have a broken ls. This can happen
2328 # if, for instance, CONFIG_SHELL is bash and it inherits a
2329 # broken ls alias from the environment. This has actually
2330 # happened. Such a system could not be considered "sane".
2331 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2332 alias in your environment" "$LINENO" 5
2333 fi
2334 if test "$2" = conftest.file || test $am_try -eq 2; then
2335 break
2336 fi
2337 # Just in case.
2338 sleep 1
2339 am_has_slept=yes
2340 done
2341 test "$2" = conftest.file
2342 )
2343 then
2344 # Ok.
2345 :
2346 else
2347 as_fn_error $? "newly created file is older than distributed files!
2348 Check your system clock" "$LINENO" 5
2349 fi
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2351 $as_echo "yes" >&6; }
2352 # If we didn't sleep, we still need to ensure time stamps of config.status and
2353 # generated files are strictly newer.
2354 am_sleep_pid=
2355 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2356 ( sleep 1 ) &
2357 am_sleep_pid=$!
2358 fi
2359
2360 rm -f conftest.file
2361
2362 test "$program_prefix" != NONE &&
2363 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2364 # Use a double $ so make ignores it.
2365 test "$program_suffix" != NONE &&
2366 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2367 # Double any \ or $.
2368 # By default was `s,x,x', remove it if useless.
2369 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2370 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2371
2372 # Expand $ac_aux_dir to an absolute path.
2373 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2374
2375 if test x"${MISSING+set}" != xset; then
2376 case $am_aux_dir in
2377 *\ * | *\ *)
2378 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2379 *)
2380 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2381 esac
2382 fi
2383 # Use eval to expand $SHELL
2384 if eval "$MISSING --is-lightweight"; then
2385 am_missing_run="$MISSING "
2386 else
2387 am_missing_run=
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2389 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2390 fi
2391
2392 if test x"${install_sh+set}" != xset; then
2393 case $am_aux_dir in
2394 *\ * | *\ *)
2395 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2396 *)
2397 install_sh="\${SHELL} $am_aux_dir/install-sh"
2398 esac
2399 fi
2400
2401 # Installed binaries are usually stripped using 'strip' when the user
2402 # run "make install-strip". However 'strip' might not be the right
2403 # tool to use in cross-compilation environments, therefore Automake
2404 # will honor the 'STRIP' environment variable to overrule this program.
2405 if test "$cross_compiling" != no; then
2406 if test -n "$ac_tool_prefix"; then
2407 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2408 set dummy ${ac_tool_prefix}strip; ac_word=$2
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2410 $as_echo_n "checking for $ac_word... " >&6; }
2411 if ${ac_cv_prog_STRIP+:} false; then :
2412 $as_echo_n "(cached) " >&6
2413 else
2414 if test -n "$STRIP"; then
2415 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2416 else
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH
2419 do
2420 IFS=$as_save_IFS
2421 test -z "$as_dir" && as_dir=.
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2424 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 break 2
2427 fi
2428 done
2429 done
2430 IFS=$as_save_IFS
2431
2432 fi
2433 fi
2434 STRIP=$ac_cv_prog_STRIP
2435 if test -n "$STRIP"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2437 $as_echo "$STRIP" >&6; }
2438 else
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2440 $as_echo "no" >&6; }
2441 fi
2442
2443
2444 fi
2445 if test -z "$ac_cv_prog_STRIP"; then
2446 ac_ct_STRIP=$STRIP
2447 # Extract the first word of "strip", so it can be a program name with args.
2448 set dummy strip; ac_word=$2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2452 $as_echo_n "(cached) " >&6
2453 else
2454 if test -n "$ac_ct_STRIP"; then
2455 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2456 else
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 for as_dir in $PATH
2459 do
2460 IFS=$as_save_IFS
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2464 ac_cv_prog_ac_ct_STRIP="strip"
2465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 break 2
2467 fi
2468 done
2469 done
2470 IFS=$as_save_IFS
2471
2472 fi
2473 fi
2474 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2475 if test -n "$ac_ct_STRIP"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2477 $as_echo "$ac_ct_STRIP" >&6; }
2478 else
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 $as_echo "no" >&6; }
2481 fi
2482
2483 if test "x$ac_ct_STRIP" = x; then
2484 STRIP=":"
2485 else
2486 case $cross_compiling:$ac_tool_warned in
2487 yes:)
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2490 ac_tool_warned=yes ;;
2491 esac
2492 STRIP=$ac_ct_STRIP
2493 fi
2494 else
2495 STRIP="$ac_cv_prog_STRIP"
2496 fi
2497
2498 fi
2499 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2500
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2502 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2503 if test -z "$MKDIR_P"; then
2504 if ${ac_cv_path_mkdir+:} false; then :
2505 $as_echo_n "(cached) " >&6
2506 else
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2509 do
2510 IFS=$as_save_IFS
2511 test -z "$as_dir" && as_dir=.
2512 for ac_prog in mkdir gmkdir; do
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2515 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2516 'mkdir (GNU coreutils) '* | \
2517 'mkdir (coreutils) '* | \
2518 'mkdir (fileutils) '4.1*)
2519 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2520 break 3;;
2521 esac
2522 done
2523 done
2524 done
2525 IFS=$as_save_IFS
2526
2527 fi
2528
2529 test -d ./--version && rmdir ./--version
2530 if test "${ac_cv_path_mkdir+set}" = set; then
2531 MKDIR_P="$ac_cv_path_mkdir -p"
2532 else
2533 # As a last resort, use the slow shell script. Don't cache a
2534 # value for MKDIR_P within a source directory, because that will
2535 # break other packages using the cache if that directory is
2536 # removed, or if the value is a relative name.
2537 MKDIR_P="$ac_install_sh -d"
2538 fi
2539 fi
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2541 $as_echo "$MKDIR_P" >&6; }
2542
2543 for ac_prog in gawk mawk nawk awk
2544 do
2545 # Extract the first word of "$ac_prog", so it can be a program name with args.
2546 set dummy $ac_prog; ac_word=$2
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2548 $as_echo_n "checking for $ac_word... " >&6; }
2549 if ${ac_cv_prog_AWK+:} false; then :
2550 $as_echo_n "(cached) " >&6
2551 else
2552 if test -n "$AWK"; then
2553 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2554 else
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 for as_dir in $PATH
2557 do
2558 IFS=$as_save_IFS
2559 test -z "$as_dir" && as_dir=.
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2562 ac_cv_prog_AWK="$ac_prog"
2563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 break 2
2565 fi
2566 done
2567 done
2568 IFS=$as_save_IFS
2569
2570 fi
2571 fi
2572 AWK=$ac_cv_prog_AWK
2573 if test -n "$AWK"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2575 $as_echo "$AWK" >&6; }
2576 else
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2578 $as_echo "no" >&6; }
2579 fi
2580
2581
2582 test -n "$AWK" && break
2583 done
2584
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2586 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2587 set x ${MAKE-make}
2588 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2589 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2590 $as_echo_n "(cached) " >&6
2591 else
2592 cat >conftest.make <<\_ACEOF
2593 SHELL = /bin/sh
2594 all:
2595 @echo '@@@%%%=$(MAKE)=@@@%%%'
2596 _ACEOF
2597 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2598 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2599 *@@@%%%=?*=@@@%%%*)
2600 eval ac_cv_prog_make_${ac_make}_set=yes;;
2601 *)
2602 eval ac_cv_prog_make_${ac_make}_set=no;;
2603 esac
2604 rm -f conftest.make
2605 fi
2606 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2608 $as_echo "yes" >&6; }
2609 SET_MAKE=
2610 else
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2613 SET_MAKE="MAKE=${MAKE-make}"
2614 fi
2615
2616 rm -rf .tst 2>/dev/null
2617 mkdir .tst 2>/dev/null
2618 if test -d .tst; then
2619 am__leading_dot=.
2620 else
2621 am__leading_dot=_
2622 fi
2623 rmdir .tst 2>/dev/null
2624
2625 # Check whether --enable-silent-rules was given.
2626 if test "${enable_silent_rules+set}" = set; then :
2627 enableval=$enable_silent_rules;
2628 fi
2629
2630 case $enable_silent_rules in # (((
2631 yes) AM_DEFAULT_VERBOSITY=0;;
2632 no) AM_DEFAULT_VERBOSITY=1;;
2633 *) AM_DEFAULT_VERBOSITY=1;;
2634 esac
2635 am_make=${MAKE-make}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2637 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2638 if ${am_cv_make_support_nested_variables+:} false; then :
2639 $as_echo_n "(cached) " >&6
2640 else
2641 if $as_echo 'TRUE=$(BAR$(V))
2642 BAR0=false
2643 BAR1=true
2644 V=1
2645 am__doit:
2646 @$(TRUE)
2647 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2648 am_cv_make_support_nested_variables=yes
2649 else
2650 am_cv_make_support_nested_variables=no
2651 fi
2652 fi
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2654 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2655 if test $am_cv_make_support_nested_variables = yes; then
2656 AM_V='$(V)'
2657 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2658 else
2659 AM_V=$AM_DEFAULT_VERBOSITY
2660 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2661 fi
2662 AM_BACKSLASH='\'
2663
2664 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2665 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2666 # is not polluted with repeated "-I."
2667 am__isrc=' -I$(srcdir)'
2668 # test to see if srcdir already configured
2669 if test -f $srcdir/config.status; then
2670 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2671 fi
2672 fi
2673
2674 # test whether we have cygpath
2675 if test -z "$CYGPATH_W"; then
2676 if (cygpath --version) >/dev/null 2>/dev/null; then
2677 CYGPATH_W='cygpath -w'
2678 else
2679 CYGPATH_W=echo
2680 fi
2681 fi
2682
2683
2684 # Define the identity of the package.
2685 PACKAGE='gst-plugins-espeak'
2686 VERSION='0.5.0'
2687
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE "$PACKAGE"
2691 _ACEOF
2692
2693
2694 cat >>confdefs.h <<_ACEOF
2695 #define VERSION "$VERSION"
2696 _ACEOF
2697
2698 # Some tools Automake needs.
2699
2700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2701
2702
2703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2704
2705
2706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2707
2708
2709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2710
2711
2712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2713
2714 # For better backward compatibility. To be removed once Automake 1.9.x
2715 # dies out for good. For more background, see:
2716 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2717 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2718 mkdir_p='$(MKDIR_P)'
2719
2720 # We need awk for the "check" target (and possibly the TAP driver). The
2721 # system "awk" is bad on some platforms.
2722 # Always define AMTAR for backward compatibility. Yes, it's still used
2723 # in the wild :-( We should find a proper way to deprecate it ...
2724 AMTAR='$${TAR-tar}'
2725
2726
2727 # We'll loop over all known methods to create a tar archive until one works.
2728 _am_tools='gnutar pax cpio none'
2729
2730 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2731
2732
2733
2734
2735
2736
2737 # POSIX will say in a future version that running "rm -f" with no argument
2738 # is OK; and we want to be able to make that assumption in our Makefile
2739 # recipes. So use an aggressive probe to check that the usage we want is
2740 # actually supported "in the wild" to an acceptable degree.
2741 # See automake bug#10828.
2742 # To make any issue more visible, cause the running configure to be aborted
2743 # by default if the 'rm' program in use doesn't match our expectations; the
2744 # user can still override this though.
2745 if rm -f && rm -fr && rm -rf; then : OK; else
2746 cat >&2 <<'END'
2747 Oops!
2748
2749 Your 'rm' program seems unable to run without file operands specified
2750 on the command line, even when the '-f' option is present. This is contrary
2751 to the behaviour of most rm programs out there, and not conforming with
2752 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2753
2754 Please tell [email protected] about your system, including the value
2755 of your $PATH and any error possibly output before this message. This
2756 can help us improve future automake versions.
2757
2758 END
2759 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2760 echo 'Configuration will proceed anyway, since you have set the' >&2
2761 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2762 echo >&2
2763 else
2764 cat >&2 <<'END'
2765 Aborting the configuration process, to ensure you take notice of the issue.
2766
2767 You can download and install GNU coreutils to get an 'rm' implementation
2768 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2769
2770 If you want to complete the configuration process using your problematic
2771 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2772 to "yes", and re-run configure.
2773
2774 END
2775 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2776 fi
2777 fi
2778
2779 ac_config_headers="$ac_config_headers config.h"
2780
2781
2782
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2784 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2785 # Check whether --enable-maintainer-mode was given.
2786 if test "${enable_maintainer_mode+set}" = set; then :
2787 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2788 else
2789 USE_MAINTAINER_MODE=no
2790 fi
2791
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2793 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2794 if test $USE_MAINTAINER_MODE = yes; then
2795 MAINTAINER_MODE_TRUE=
2796 MAINTAINER_MODE_FALSE='#'
2797 else
2798 MAINTAINER_MODE_TRUE='#'
2799 MAINTAINER_MODE_FALSE=
2800 fi
2801
2802 MAINT=$MAINTAINER_MODE_TRUE
2803
2804
2805 # Check whether --enable-silent-rules was given.
2806 if test "${enable_silent_rules+set}" = set; then :
2807 enableval=$enable_silent_rules;
2808 fi
2809
2810 case $enable_silent_rules in # (((
2811 yes) AM_DEFAULT_VERBOSITY=0;;
2812 no) AM_DEFAULT_VERBOSITY=1;;
2813 *) AM_DEFAULT_VERBOSITY=0;;
2814 esac
2815 am_make=${MAKE-make}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2817 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2818 if ${am_cv_make_support_nested_variables+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 if $as_echo 'TRUE=$(BAR$(V))
2822 BAR0=false
2823 BAR1=true
2824 V=1
2825 am__doit:
2826 @$(TRUE)
2827 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2828 am_cv_make_support_nested_variables=yes
2829 else
2830 am_cv_make_support_nested_variables=no
2831 fi
2832 fi
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2834 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2835 if test $am_cv_make_support_nested_variables = yes; then
2836 AM_V='$(V)'
2837 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2838 else
2839 AM_V=$AM_DEFAULT_VERBOSITY
2840 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2841 fi
2842 AM_BACKSLASH='\'
2843
2844
2845 ac_ext=c
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2850 if test -n "$ac_tool_prefix"; then
2851 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2852 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2854 $as_echo_n "checking for $ac_word... " >&6; }
2855 if ${ac_cv_prog_CC+:} false; then :
2856 $as_echo_n "(cached) " >&6
2857 else
2858 if test -n "$CC"; then
2859 ac_cv_prog_CC="$CC" # Let the user override the test.
2860 else
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 for as_dir in $PATH
2863 do
2864 IFS=$as_save_IFS
2865 test -z "$as_dir" && as_dir=.
2866 for ac_exec_ext in '' $ac_executable_extensions; do
2867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 break 2
2871 fi
2872 done
2873 done
2874 IFS=$as_save_IFS
2875
2876 fi
2877 fi
2878 CC=$ac_cv_prog_CC
2879 if test -n "$CC"; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2881 $as_echo "$CC" >&6; }
2882 else
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2885 fi
2886
2887
2888 fi
2889 if test -z "$ac_cv_prog_CC"; then
2890 ac_ct_CC=$CC
2891 # Extract the first word of "gcc", so it can be a program name with args.
2892 set dummy gcc; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2896 $as_echo_n "(cached) " >&6
2897 else
2898 if test -n "$ac_ct_CC"; then
2899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2900 else
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 for as_dir in $PATH
2903 do
2904 IFS=$as_save_IFS
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_ac_ct_CC="gcc"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 break 2
2911 fi
2912 done
2913 done
2914 IFS=$as_save_IFS
2915
2916 fi
2917 fi
2918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2919 if test -n "$ac_ct_CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2921 $as_echo "$ac_ct_CC" >&6; }
2922 else
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2925 fi
2926
2927 if test "x$ac_ct_CC" = x; then
2928 CC=""
2929 else
2930 case $cross_compiling:$ac_tool_warned in
2931 yes:)
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2934 ac_tool_warned=yes ;;
2935 esac
2936 CC=$ac_ct_CC
2937 fi
2938 else
2939 CC="$ac_cv_prog_CC"
2940 fi
2941
2942 if test -z "$CC"; then
2943 if test -n "$ac_tool_prefix"; then
2944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2945 set dummy ${ac_tool_prefix}cc; ac_word=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; }
2948 if ${ac_cv_prog_CC+:} false; then :
2949 $as_echo_n "(cached) " >&6
2950 else
2951 if test -n "$CC"; then
2952 ac_cv_prog_CC="$CC" # Let the user override the test.
2953 else
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2956 do
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_CC="${ac_tool_prefix}cc"
2962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 break 2
2964 fi
2965 done
2966 done
2967 IFS=$as_save_IFS
2968
2969 fi
2970 fi
2971 CC=$ac_cv_prog_CC
2972 if test -n "$CC"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2974 $as_echo "$CC" >&6; }
2975 else
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2978 fi
2979
2980
2981 fi
2982 fi
2983 if test -z "$CC"; then
2984 # Extract the first word of "cc", so it can be a program name with args.
2985 set dummy cc; ac_word=$2
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 $as_echo_n "checking for $ac_word... " >&6; }
2988 if ${ac_cv_prog_CC+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 if test -n "$CC"; then
2992 ac_cv_prog_CC="$CC" # Let the user override the test.
2993 else
2994 ac_prog_rejected=no
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 for as_dir in $PATH
2997 do
2998 IFS=$as_save_IFS
2999 test -z "$as_dir" && as_dir=.
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3003 ac_prog_rejected=yes
3004 continue
3005 fi
3006 ac_cv_prog_CC="cc"
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 break 2
3009 fi
3010 done
3011 done
3012 IFS=$as_save_IFS
3013
3014 if test $ac_prog_rejected = yes; then
3015 # We found a bogon in the path, so make sure we never use it.
3016 set dummy $ac_cv_prog_CC
3017 shift
3018 if test $# != 0; then
3019 # We chose a different compiler from the bogus one.
3020 # However, it has the same basename, so the bogon will be chosen
3021 # first if we set CC to just the basename; use the full file name.
3022 shift
3023 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3024 fi
3025 fi
3026 fi
3027 fi
3028 CC=$ac_cv_prog_CC
3029 if test -n "$CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3031 $as_echo "$CC" >&6; }
3032 else
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3035 fi
3036
3037
3038 fi
3039 if test -z "$CC"; then
3040 if test -n "$ac_tool_prefix"; then
3041 for ac_prog in cl.exe
3042 do
3043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_CC+:} false; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3050 if test -n "$CC"; then
3051 ac_cv_prog_CC="$CC" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 break 2
3063 fi
3064 done
3065 done
3066 IFS=$as_save_IFS
3067
3068 fi
3069 fi
3070 CC=$ac_cv_prog_CC
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 fi
3078
3079
3080 test -n "$CC" && break
3081 done
3082 fi
3083 if test -z "$CC"; then
3084 ac_ct_CC=$CC
3085 for ac_prog in cl.exe
3086 do
3087 # Extract the first word of "$ac_prog", so it can be a program name with args.
3088 set dummy $ac_prog; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3092 $as_echo_n "(cached) " >&6
3093 else
3094 if test -n "$ac_ct_CC"; then
3095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3096 else
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 for as_dir in $PATH
3099 do
3100 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3102 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3104 ac_cv_prog_ac_ct_CC="$ac_prog"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 break 2
3107 fi
3108 done
3109 done
3110 IFS=$as_save_IFS
3111
3112 fi
3113 fi
3114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3115 if test -n "$ac_ct_CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3117 $as_echo "$ac_ct_CC" >&6; }
3118 else
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3121 fi
3122
3123
3124 test -n "$ac_ct_CC" && break
3125 done
3126
3127 if test "x$ac_ct_CC" = x; then
3128 CC=""
3129 else
3130 case $cross_compiling:$ac_tool_warned in
3131 yes:)
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3134 ac_tool_warned=yes ;;
3135 esac
3136 CC=$ac_ct_CC
3137 fi
3138 fi
3139
3140 fi
3141
3142
3143 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error $? "no acceptable C compiler found in \$PATH
3146 See \`config.log' for more details" "$LINENO" 5; }
3147
3148 # Provide some information about the compiler.
3149 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3150 set X $ac_compile
3151 ac_compiler=$2
3152 for ac_option in --version -v -V -qversion; do
3153 { { ac_try="$ac_compiler $ac_option >&5"
3154 case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3157 esac
3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
3160 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3161 ac_status=$?
3162 if test -s conftest.err; then
3163 sed '10a\
3164 ... rest of stderr output deleted ...
3165 10q' conftest.err >conftest.er1
3166 cat conftest.er1 >&5
3167 fi
3168 rm -f conftest.er1 conftest.err
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; }
3171 done
3172
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175
3176 int
3177 main ()
3178 {
3179
3180 ;
3181 return 0;
3182 }
3183 _ACEOF
3184 ac_clean_files_save=$ac_clean_files
3185 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3186 # Try to create an executable without -o first, disregard a.out.
3187 # It will help us diagnose broken compilers, and finding out an intuition
3188 # of exeext.
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3190 $as_echo_n "checking whether the C compiler works... " >&6; }
3191 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3192
3193 # The possible output files:
3194 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3195
3196 ac_rmfiles=
3197 for ac_file in $ac_files
3198 do
3199 case $ac_file in
3200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3201 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3202 esac
3203 done
3204 rm -f $ac_rmfiles
3205
3206 if { { ac_try="$ac_link_default"
3207 case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3210 esac
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_link_default") 2>&5
3214 ac_status=$?
3215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3216 test $ac_status = 0; }; then :
3217 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3218 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3219 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3220 # so that the user can short-circuit this test for compilers unknown to
3221 # Autoconf.
3222 for ac_file in $ac_files ''
3223 do
3224 test -f "$ac_file" || continue
3225 case $ac_file in
3226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3227 ;;
3228 [ab].out )
3229 # We found the default executable, but exeext='' is most
3230 # certainly right.
3231 break;;
3232 *.* )
3233 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3234 then :; else
3235 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3236 fi
3237 # We set ac_cv_exeext here because the later test for it is not
3238 # safe: cross compilers may not add the suffix if given an `-o'
3239 # argument, so we may need to know it at that point already.
3240 # Even if this section looks crufty: it has the advantage of
3241 # actually working.
3242 break;;
3243 * )
3244 break;;
3245 esac
3246 done
3247 test "$ac_cv_exeext" = no && ac_cv_exeext=
3248
3249 else
3250 ac_file=''
3251 fi
3252 if test -z "$ac_file"; then :
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 $as_echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3257
3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error 77 "C compiler cannot create executables
3261 See \`config.log' for more details" "$LINENO" 5; }
3262 else
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3264 $as_echo "yes" >&6; }
3265 fi
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3267 $as_echo_n "checking for C compiler default output file name... " >&6; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3269 $as_echo "$ac_file" >&6; }
3270 ac_exeext=$ac_cv_exeext
3271
3272 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3273 ac_clean_files=$ac_clean_files_save
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3275 $as_echo_n "checking for suffix of executables... " >&6; }
3276 if { { ac_try="$ac_link"
3277 case "(($ac_try" in
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3280 esac
3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_link") 2>&5
3284 ac_status=$?
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }; then :
3287 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3288 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3289 # work properly (i.e., refer to `conftest.exe'), while it won't with
3290 # `rm'.
3291 for ac_file in conftest.exe conftest conftest.*; do
3292 test -f "$ac_file" || continue
3293 case $ac_file in
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3296 break;;
3297 * ) break;;
3298 esac
3299 done
3300 else
3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3304 See \`config.log' for more details" "$LINENO" 5; }
3305 fi
3306 rm -f conftest conftest$ac_cv_exeext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3308 $as_echo "$ac_cv_exeext" >&6; }
3309
3310 rm -f conftest.$ac_ext
3311 EXEEXT=$ac_cv_exeext
3312 ac_exeext=$EXEEXT
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3315 #include <stdio.h>
3316 int
3317 main ()
3318 {
3319 FILE *f = fopen ("conftest.out", "w");
3320 return ferror (f) || fclose (f) != 0;
3321
3322 ;
3323 return 0;
3324 }
3325 _ACEOF
3326 ac_clean_files="$ac_clean_files conftest.out"
3327 # Check that the compiler produces executables we can run. If not, either
3328 # the compiler is broken, or we cross compile.
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3330 $as_echo_n "checking whether we are cross compiling... " >&6; }
3331 if test "$cross_compiling" != yes; then
3332 { { ac_try="$ac_link"
3333 case "(($ac_try" in
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3336 esac
3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338 $as_echo "$ac_try_echo"; } >&5
3339 (eval "$ac_link") 2>&5
3340 ac_status=$?
3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342 test $ac_status = 0; }
3343 if { ac_try='./conftest$ac_cv_exeext'
3344 { { case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_try") 2>&5
3351 ac_status=$?
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }; }; then
3354 cross_compiling=no
3355 else
3356 if test "$cross_compiling" = maybe; then
3357 cross_compiling=yes
3358 else
3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361 as_fn_error $? "cannot run C compiled programs.
3362 If you meant to cross compile, use \`--host'.
3363 See \`config.log' for more details" "$LINENO" 5; }
3364 fi
3365 fi
3366 fi
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3368 $as_echo "$cross_compiling" >&6; }
3369
3370 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3371 ac_clean_files=$ac_clean_files_save
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3373 $as_echo_n "checking for suffix of object files... " >&6; }
3374 if ${ac_cv_objext+:} false; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3379
3380 int
3381 main ()
3382 {
3383
3384 ;
3385 return 0;
3386 }
3387 _ACEOF
3388 rm -f conftest.o conftest.obj
3389 if { { ac_try="$ac_compile"
3390 case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3393 esac
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_compile") 2>&5
3397 ac_status=$?
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }; then :
3400 for ac_file in conftest.o conftest.obj conftest.*; do
3401 test -f "$ac_file" || continue;
3402 case $ac_file in
3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3404 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3405 break;;
3406 esac
3407 done
3408 else
3409 $as_echo "$as_me: failed program was:" >&5
3410 sed 's/^/| /' conftest.$ac_ext >&5
3411
3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error $? "cannot compute suffix of object files: cannot compile
3415 See \`config.log' for more details" "$LINENO" 5; }
3416 fi
3417 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3418 fi
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3420 $as_echo "$ac_cv_objext" >&6; }
3421 OBJEXT=$ac_cv_objext
3422 ac_objext=$OBJEXT
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3424 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3425 if ${ac_cv_c_compiler_gnu+:} false; then :
3426 $as_echo_n "(cached) " >&6
3427 else
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3430
3431 int
3432 main ()
3433 {
3434 #ifndef __GNUC__
3435 choke me
3436 #endif
3437
3438 ;
3439 return 0;
3440 }
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443 ac_compiler_gnu=yes
3444 else
3445 ac_compiler_gnu=no
3446 fi
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3449
3450 fi
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3452 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3453 if test $ac_compiler_gnu = yes; then
3454 GCC=yes
3455 else
3456 GCC=
3457 fi
3458 ac_test_CFLAGS=${CFLAGS+set}
3459 ac_save_CFLAGS=$CFLAGS
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3461 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3462 if ${ac_cv_prog_cc_g+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 ac_save_c_werror_flag=$ac_c_werror_flag
3466 ac_c_werror_flag=yes
3467 ac_cv_prog_cc_g=no
3468 CFLAGS="-g"
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3471
3472 int
3473 main ()
3474 {
3475
3476 ;
3477 return 0;
3478 }
3479 _ACEOF
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481 ac_cv_prog_cc_g=yes
3482 else
3483 CFLAGS=""
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3486
3487 int
3488 main ()
3489 {
3490
3491 ;
3492 return 0;
3493 }
3494 _ACEOF
3495 if ac_fn_c_try_compile "$LINENO"; then :
3496
3497 else
3498 ac_c_werror_flag=$ac_save_c_werror_flag
3499 CFLAGS="-g"
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3502
3503 int
3504 main ()
3505 {
3506
3507 ;
3508 return 0;
3509 }
3510 _ACEOF
3511 if ac_fn_c_try_compile "$LINENO"; then :
3512 ac_cv_prog_cc_g=yes
3513 fi
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 fi
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 fi
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 ac_c_werror_flag=$ac_save_c_werror_flag
3520 fi
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3522 $as_echo "$ac_cv_prog_cc_g" >&6; }
3523 if test "$ac_test_CFLAGS" = set; then
3524 CFLAGS=$ac_save_CFLAGS
3525 elif test $ac_cv_prog_cc_g = yes; then
3526 if test "$GCC" = yes; then
3527 CFLAGS="-g -O2"
3528 else
3529 CFLAGS="-g"
3530 fi
3531 else
3532 if test "$GCC" = yes; then
3533 CFLAGS="-O2"
3534 else
3535 CFLAGS=
3536 fi
3537 fi
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3539 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3540 if ${ac_cv_prog_cc_c89+:} false; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 ac_cv_prog_cc_c89=no
3544 ac_save_CC=$CC
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3547 #include <stdarg.h>
3548 #include <stdio.h>
3549 struct stat;
3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3551 struct buf { int x; };
3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3553 static char *e (p, i)
3554 char **p;
3555 int i;
3556 {
3557 return p[i];
3558 }
3559 static char *f (char * (*g) (char **, int), char **p, ...)
3560 {
3561 char *s;
3562 va_list v;
3563 va_start (v,p);
3564 s = g (p, va_arg (v,int));
3565 va_end (v);
3566 return s;
3567 }
3568
3569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3570 function prototypes and stuff, but not '\xHH' hex character constants.
3571 These don't provoke an error unfortunately, instead are silently treated
3572 as 'x'. The following induces an error, until -std is added to get
3573 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3574 array size at least. It's necessary to write '\x00'==0 to get something
3575 that's true only with -std. */
3576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3577
3578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3579 inside strings and character constants. */
3580 #define FOO(x) 'x'
3581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3582
3583 int test (int i, double x);
3584 struct s1 {int (*f) (int a);};
3585 struct s2 {int (*f) (double a);};
3586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3587 int argc;
3588 char **argv;
3589 int
3590 main ()
3591 {
3592 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3593 ;
3594 return 0;
3595 }
3596 _ACEOF
3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3598 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 do
3600 CC="$ac_save_CC $ac_arg"
3601 if ac_fn_c_try_compile "$LINENO"; then :
3602 ac_cv_prog_cc_c89=$ac_arg
3603 fi
3604 rm -f core conftest.err conftest.$ac_objext
3605 test "x$ac_cv_prog_cc_c89" != "xno" && break
3606 done
3607 rm -f conftest.$ac_ext
3608 CC=$ac_save_CC
3609
3610 fi
3611 # AC_CACHE_VAL
3612 case "x$ac_cv_prog_cc_c89" in
3613 x)
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3615 $as_echo "none needed" >&6; } ;;
3616 xno)
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3618 $as_echo "unsupported" >&6; } ;;
3619 *)
3620 CC="$CC $ac_cv_prog_cc_c89"
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3622 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3623 esac
3624 if test "x$ac_cv_prog_cc_c89" != xno; then :
3625
3626 fi
3627
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633
3634 ac_ext=c
3635 ac_cpp='$CPP $CPPFLAGS'
3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3640 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3641 if ${am_cv_prog_cc_c_o+:} false; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3646
3647 int
3648 main ()
3649 {
3650
3651 ;
3652 return 0;
3653 }
3654 _ACEOF
3655 # Make sure it works both with $CC and with simple cc.
3656 # Following AC_PROG_CC_C_O, we do the test twice because some
3657 # compilers refuse to overwrite an existing .o file with -o,
3658 # though they will create one.
3659 am_cv_prog_cc_c_o=yes
3660 for am_i in 1 2; do
3661 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3662 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3663 ac_status=$?
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } \
3666 && test -f conftest2.$ac_objext; then
3667 : OK
3668 else
3669 am_cv_prog_cc_c_o=no
3670 break
3671 fi
3672 done
3673 rm -f core conftest*
3674 unset am_i
3675 fi
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3677 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3678 if test "$am_cv_prog_cc_c_o" != yes; then
3679 # Losing compiler, so override with the script.
3680 # FIXME: It is wrong to rewrite CC.
3681 # But if we don't then we get into trouble of one sort or another.
3682 # A longer-term fix would be to have automake use am__CC in this case,
3683 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3684 CC="$am_aux_dir/compile $CC"
3685 fi
3686 ac_ext=c
3687 ac_cpp='$CPP $CPPFLAGS'
3688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3691
3692 DEPDIR="${am__leading_dot}deps"
3693
3694 ac_config_commands="$ac_config_commands depfiles"
3695
3696
3697 am_make=${MAKE-make}
3698 cat > confinc << 'END'
3699 am__doit:
3700 @echo this is the am__doit target
3701 .PHONY: am__doit
3702 END
3703 # If we don't find an include directive, just comment out the code.
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3705 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3706 am__include="#"
3707 am__quote=
3708 _am_result=none
3709 # First try GNU make style include.
3710 echo "include confinc" > confmf
3711 # Ignore all kinds of additional output from 'make'.
3712 case `$am_make -s -f confmf 2> /dev/null` in #(
3713 *the\ am__doit\ target*)
3714 am__include=include
3715 am__quote=
3716 _am_result=GNU
3717 ;;
3718 esac
3719 # Now try BSD make style include.
3720 if test "$am__include" = "#"; then
3721 echo '.include "confinc"' > confmf
3722 case `$am_make -s -f confmf 2> /dev/null` in #(
3723 *the\ am__doit\ target*)
3724 am__include=.include
3725 am__quote="\""
3726 _am_result=BSD
3727 ;;
3728 esac
3729 fi
3730
3731
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3733 $as_echo "$_am_result" >&6; }
3734 rm -f confinc confmf
3735
3736 # Check whether --enable-dependency-tracking was given.
3737 if test "${enable_dependency_tracking+set}" = set; then :
3738 enableval=$enable_dependency_tracking;
3739 fi
3740
3741 if test "x$enable_dependency_tracking" != xno; then
3742 am_depcomp="$ac_aux_dir/depcomp"
3743 AMDEPBACKSLASH='\'
3744 am__nodep='_no'
3745 fi
3746 if test "x$enable_dependency_tracking" != xno; then
3747 AMDEP_TRUE=
3748 AMDEP_FALSE='#'
3749 else
3750 AMDEP_TRUE='#'
3751 AMDEP_FALSE=
3752 fi
3753
3754
3755
3756 depcc="$CC" am_compiler_list=
3757
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3759 $as_echo_n "checking dependency style of $depcc... " >&6; }
3760 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3764 # We make a subdir and do the tests there. Otherwise we can end up
3765 # making bogus files that we don't know about and never remove. For
3766 # instance it was reported that on HP-UX the gcc test will end up
3767 # making a dummy file named 'D' -- because '-MD' means "put the output
3768 # in D".
3769 rm -rf conftest.dir
3770 mkdir conftest.dir
3771 # Copy depcomp to subdir because otherwise we won't find it if we're
3772 # using a relative directory.
3773 cp "$am_depcomp" conftest.dir
3774 cd conftest.dir
3775 # We will build objects and dependencies in a subdirectory because
3776 # it helps to detect inapplicable dependency modes. For instance
3777 # both Tru64's cc and ICC support -MD to output dependencies as a
3778 # side effect of compilation, but ICC will put the dependencies in
3779 # the current directory while Tru64 will put them in the object
3780 # directory.
3781 mkdir sub
3782
3783 am_cv_CC_dependencies_compiler_type=none
3784 if test "$am_compiler_list" = ""; then
3785 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3786 fi
3787 am__universal=false
3788 case " $depcc " in #(
3789 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3790 esac
3791
3792 for depmode in $am_compiler_list; do
3793 # Setup a source with many dependencies, because some compilers
3794 # like to wrap large dependency lists on column 80 (with \), and
3795 # we should not choose a depcomp mode which is confused by this.
3796 #
3797 # We need to recreate these files for each test, as the compiler may
3798 # overwrite some of them when testing with obscure command lines.
3799 # This happens at least with the AIX C compiler.
3800 : > sub/conftest.c
3801 for i in 1 2 3 4 5 6; do
3802 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3803 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3804 # Solaris 10 /bin/sh.
3805 echo '/* dummy */' > sub/conftst$i.h
3806 done
3807 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3808
3809 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3810 # mode. It turns out that the SunPro C++ compiler does not properly
3811 # handle '-M -o', and we need to detect this. Also, some Intel
3812 # versions had trouble with output in subdirs.
3813 am__obj=sub/conftest.${OBJEXT-o}
3814 am__minus_obj="-o $am__obj"
3815 case $depmode in
3816 gcc)
3817 # This depmode causes a compiler race in universal mode.
3818 test "$am__universal" = false || continue
3819 ;;
3820 nosideeffect)
3821 # After this tag, mechanisms are not by side-effect, so they'll
3822 # only be used when explicitly requested.
3823 if test "x$enable_dependency_tracking" = xyes; then
3824 continue
3825 else
3826 break
3827 fi
3828 ;;
3829 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3830 # This compiler won't grok '-c -o', but also, the minuso test has
3831 # not run yet. These depmodes are late enough in the game, and
3832 # so weak that their functioning should not be impacted.
3833 am__obj=conftest.${OBJEXT-o}
3834 am__minus_obj=
3835 ;;
3836 none) break ;;
3837 esac
3838 if depmode=$depmode \
3839 source=sub/conftest.c object=$am__obj \
3840 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3841 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3842 >/dev/null 2>conftest.err &&
3843 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3844 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3845 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3846 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3847 # icc doesn't choke on unknown options, it will just issue warnings
3848 # or remarks (even with -Werror). So we grep stderr for any message
3849 # that says an option was ignored or not supported.
3850 # When given -MP, icc 7.0 and 7.1 complain thusly:
3851 # icc: Command line warning: ignoring option '-M'; no argument required
3852 # The diagnosis changed in icc 8.0:
3853 # icc: Command line remark: option '-MP' not supported
3854 if (grep 'ignoring option' conftest.err ||
3855 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3856 am_cv_CC_dependencies_compiler_type=$depmode
3857 break
3858 fi
3859 fi
3860 done
3861
3862 cd ..
3863 rm -rf conftest.dir
3864 else
3865 am_cv_CC_dependencies_compiler_type=none
3866 fi
3867
3868 fi
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3870 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3871 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3872
3873 if
3874 test "x$enable_dependency_tracking" != xno \
3875 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3876 am__fastdepCC_TRUE=
3877 am__fastdepCC_FALSE='#'
3878 else
3879 am__fastdepCC_TRUE='#'
3880 am__fastdepCC_FALSE=
3881 fi
3882
3883
3884 case `pwd` in
3885 *\ * | *\ *)
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3887 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3888 esac
3889
3890
3891
3892 macro_version='2.4.6'
3893 macro_revision='2.4.6'
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907 ltmain=$ac_aux_dir/ltmain.sh
3908
3909 # Make sure we can run config.sub.
3910 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3911 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3912
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3914 $as_echo_n "checking build system type... " >&6; }
3915 if ${ac_cv_build+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 ac_build_alias=$build_alias
3919 test "x$ac_build_alias" = x &&
3920 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3921 test "x$ac_build_alias" = x &&
3922 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3923 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3924 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3925
3926 fi
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3928 $as_echo "$ac_cv_build" >&6; }
3929 case $ac_cv_build in
3930 *-*-*) ;;
3931 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3932 esac
3933 build=$ac_cv_build
3934 ac_save_IFS=$IFS; IFS='-'
3935 set x $ac_cv_build
3936 shift
3937 build_cpu=$1
3938 build_vendor=$2
3939 shift; shift
3940 # Remember, the first character of IFS is used to create $*,
3941 # except with old shells:
3942 build_os=$*
3943 IFS=$ac_save_IFS
3944 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3945
3946
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3948 $as_echo_n "checking host system type... " >&6; }
3949 if ${ac_cv_host+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 if test "x$host_alias" = x; then
3953 ac_cv_host=$ac_cv_build
3954 else
3955 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3956 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3957 fi
3958
3959 fi
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3961 $as_echo "$ac_cv_host" >&6; }
3962 case $ac_cv_host in
3963 *-*-*) ;;
3964 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3965 esac
3966 host=$ac_cv_host
3967 ac_save_IFS=$IFS; IFS='-'
3968 set x $ac_cv_host
3969 shift
3970 host_cpu=$1
3971 host_vendor=$2
3972 shift; shift
3973 # Remember, the first character of IFS is used to create $*,
3974 # except with old shells:
3975 host_os=$*
3976 IFS=$ac_save_IFS
3977 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3978
3979
3980 # Backslashify metacharacters that are still active within
3981 # double-quoted strings.
3982 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3983
3984 # Same as above, but do not quote variable references.
3985 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3986
3987 # Sed substitution to delay expansion of an escaped shell variable in a
3988 # double_quote_subst'ed string.
3989 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3990
3991 # Sed substitution to delay expansion of an escaped single quote.
3992 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3993
3994 # Sed substitution to avoid accidental globbing in evaled expressions
3995 no_glob_subst='s/\*/\\\*/g'
3996
3997 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3998 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3999 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4000
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4002 $as_echo_n "checking how to print strings... " >&6; }
4003 # Test print first, because it will be a builtin if present.
4004 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4005 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4006 ECHO='print -r --'
4007 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4008 ECHO='printf %s\n'
4009 else
4010 # Use this function as a fallback that always works.
4011 func_fallback_echo ()
4012 {
4013 eval 'cat <<_LTECHO_EOF
4014 $1
4015 _LTECHO_EOF'
4016 }
4017 ECHO='func_fallback_echo'
4018 fi
4019
4020 # func_echo_all arg...
4021 # Invoke $ECHO with all args, space-separated.
4022 func_echo_all ()
4023 {
4024 $ECHO ""
4025 }
4026
4027 case $ECHO in
4028 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4029 $as_echo "printf" >&6; } ;;
4030 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4031 $as_echo "print -r" >&6; } ;;
4032 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4033 $as_echo "cat" >&6; } ;;
4034 esac
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4050 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4051 if ${ac_cv_path_SED+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4055 for ac_i in 1 2 3 4 5 6 7; do
4056 ac_script="$ac_script$as_nl$ac_script"
4057 done
4058 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4059 { ac_script=; unset ac_script;}
4060 if test -z "$SED"; then
4061 ac_path_SED_found=false
4062 # Loop through the user's path and test for each of PROGNAME-LIST
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4065 do
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_prog in sed gsed; do
4069 for ac_exec_ext in '' $ac_executable_extensions; do
4070 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4071 as_fn_executable_p "$ac_path_SED" || continue
4072 # Check for GNU ac_path_SED and select it if it is found.
4073 # Check for GNU $ac_path_SED
4074 case `"$ac_path_SED" --version 2>&1` in
4075 *GNU*)
4076 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4077 *)
4078 ac_count=0
4079 $as_echo_n 0123456789 >"conftest.in"
4080 while :
4081 do
4082 cat "conftest.in" "conftest.in" >"conftest.tmp"
4083 mv "conftest.tmp" "conftest.in"
4084 cp "conftest.in" "conftest.nl"
4085 $as_echo '' >> "conftest.nl"
4086 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4088 as_fn_arith $ac_count + 1 && ac_count=$as_val
4089 if test $ac_count -gt ${ac_path_SED_max-0}; then
4090 # Best one so far, save it but keep looking for a better one
4091 ac_cv_path_SED="$ac_path_SED"
4092 ac_path_SED_max=$ac_count
4093 fi
4094 # 10*(2^10) chars as input seems more than enough
4095 test $ac_count -gt 10 && break
4096 done
4097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4098 esac
4099
4100 $ac_path_SED_found && break 3
4101 done
4102 done
4103 done
4104 IFS=$as_save_IFS
4105 if test -z "$ac_cv_path_SED"; then
4106 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4107 fi
4108 else
4109 ac_cv_path_SED=$SED
4110 fi
4111
4112 fi
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4114 $as_echo "$ac_cv_path_SED" >&6; }
4115 SED="$ac_cv_path_SED"
4116 rm -f conftest.sed
4117
4118 test -z "$SED" && SED=sed
4119 Xsed="$SED -e 1s/^X//"
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4132 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4133 if ${ac_cv_path_GREP+:} false; then :
4134 $as_echo_n "(cached) " >&6
4135 else
4136 if test -z "$GREP"; then
4137 ac_path_GREP_found=false
4138 # Loop through the user's path and test for each of PROGNAME-LIST
4139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4141 do
4142 IFS=$as_save_IFS
4143 test -z "$as_dir" && as_dir=.
4144 for ac_prog in grep ggrep; do
4145 for ac_exec_ext in '' $ac_executable_extensions; do
4146 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4147 as_fn_executable_p "$ac_path_GREP" || continue
4148 # Check for GNU ac_path_GREP and select it if it is found.
4149 # Check for GNU $ac_path_GREP
4150 case `"$ac_path_GREP" --version 2>&1` in
4151 *GNU*)
4152 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4153 *)
4154 ac_count=0
4155 $as_echo_n 0123456789 >"conftest.in"
4156 while :
4157 do
4158 cat "conftest.in" "conftest.in" >"conftest.tmp"
4159 mv "conftest.tmp" "conftest.in"
4160 cp "conftest.in" "conftest.nl"
4161 $as_echo 'GREP' >> "conftest.nl"
4162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4163 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4164 as_fn_arith $ac_count + 1 && ac_count=$as_val
4165 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4166 # Best one so far, save it but keep looking for a better one
4167 ac_cv_path_GREP="$ac_path_GREP"
4168 ac_path_GREP_max=$ac_count
4169 fi
4170 # 10*(2^10) chars as input seems more than enough
4171 test $ac_count -gt 10 && break
4172 done
4173 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4174 esac
4175
4176 $ac_path_GREP_found && break 3
4177 done
4178 done
4179 done
4180 IFS=$as_save_IFS
4181 if test -z "$ac_cv_path_GREP"; then
4182 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4183 fi
4184 else
4185 ac_cv_path_GREP=$GREP
4186 fi
4187
4188 fi
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4190 $as_echo "$ac_cv_path_GREP" >&6; }
4191 GREP="$ac_cv_path_GREP"
4192
4193
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4195 $as_echo_n "checking for egrep... " >&6; }
4196 if ${ac_cv_path_EGREP+:} false; then :
4197 $as_echo_n "(cached) " >&6
4198 else
4199 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4200 then ac_cv_path_EGREP="$GREP -E"
4201 else
4202 if test -z "$EGREP"; then
4203 ac_path_EGREP_found=false
4204 # Loop through the user's path and test for each of PROGNAME-LIST
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4207 do
4208 IFS=$as_save_IFS
4209 test -z "$as_dir" && as_dir=.
4210 for ac_prog in egrep; do
4211 for ac_exec_ext in '' $ac_executable_extensions; do
4212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4213 as_fn_executable_p "$ac_path_EGREP" || continue
4214 # Check for GNU ac_path_EGREP and select it if it is found.
4215 # Check for GNU $ac_path_EGREP
4216 case `"$ac_path_EGREP" --version 2>&1` in
4217 *GNU*)
4218 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4219 *)
4220 ac_count=0
4221 $as_echo_n 0123456789 >"conftest.in"
4222 while :
4223 do
4224 cat "conftest.in" "conftest.in" >"conftest.tmp"
4225 mv "conftest.tmp" "conftest.in"
4226 cp "conftest.in" "conftest.nl"
4227 $as_echo 'EGREP' >> "conftest.nl"
4228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4230 as_fn_arith $ac_count + 1 && ac_count=$as_val
4231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4232 # Best one so far, save it but keep looking for a better one
4233 ac_cv_path_EGREP="$ac_path_EGREP"
4234 ac_path_EGREP_max=$ac_count
4235 fi
4236 # 10*(2^10) chars as input seems more than enough
4237 test $ac_count -gt 10 && break
4238 done
4239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4240 esac
4241
4242 $ac_path_EGREP_found && break 3
4243 done
4244 done
4245 done
4246 IFS=$as_save_IFS
4247 if test -z "$ac_cv_path_EGREP"; then
4248 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4249 fi
4250 else
4251 ac_cv_path_EGREP=$EGREP
4252 fi
4253
4254 fi
4255 fi
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4257 $as_echo "$ac_cv_path_EGREP" >&6; }
4258 EGREP="$ac_cv_path_EGREP"
4259
4260
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4262 $as_echo_n "checking for fgrep... " >&6; }
4263 if ${ac_cv_path_FGREP+:} false; then :
4264 $as_echo_n "(cached) " >&6
4265 else
4266 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4267 then ac_cv_path_FGREP="$GREP -F"
4268 else
4269 if test -z "$FGREP"; then
4270 ac_path_FGREP_found=false
4271 # Loop through the user's path and test for each of PROGNAME-LIST
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4274 do
4275 IFS=$as_save_IFS
4276 test -z "$as_dir" && as_dir=.
4277 for ac_prog in fgrep; do
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4280 as_fn_executable_p "$ac_path_FGREP" || continue
4281 # Check for GNU ac_path_FGREP and select it if it is found.
4282 # Check for GNU $ac_path_FGREP
4283 case `"$ac_path_FGREP" --version 2>&1` in
4284 *GNU*)
4285 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4286 *)
4287 ac_count=0
4288 $as_echo_n 0123456789 >"conftest.in"
4289 while :
4290 do
4291 cat "conftest.in" "conftest.in" >"conftest.tmp"
4292 mv "conftest.tmp" "conftest.in"
4293 cp "conftest.in" "conftest.nl"
4294 $as_echo 'FGREP' >> "conftest.nl"
4295 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4296 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4297 as_fn_arith $ac_count + 1 && ac_count=$as_val
4298 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4299 # Best one so far, save it but keep looking for a better one
4300 ac_cv_path_FGREP="$ac_path_FGREP"
4301 ac_path_FGREP_max=$ac_count
4302 fi
4303 # 10*(2^10) chars as input seems more than enough
4304 test $ac_count -gt 10 && break
4305 done
4306 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4307 esac
4308
4309 $ac_path_FGREP_found && break 3
4310 done
4311 done
4312 done
4313 IFS=$as_save_IFS
4314 if test -z "$ac_cv_path_FGREP"; then
4315 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4316 fi
4317 else
4318 ac_cv_path_FGREP=$FGREP
4319 fi
4320
4321 fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4324 $as_echo "$ac_cv_path_FGREP" >&6; }
4325 FGREP="$ac_cv_path_FGREP"
4326
4327
4328 test -z "$GREP" && GREP=grep
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348 # Check whether --with-gnu-ld was given.
4349 if test "${with_gnu_ld+set}" = set; then :
4350 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4351 else
4352 with_gnu_ld=no
4353 fi
4354
4355 ac_prog=ld
4356 if test yes = "$GCC"; then
4357 # Check if gcc -print-prog-name=ld gives a path.
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4359 $as_echo_n "checking for ld used by $CC... " >&6; }
4360 case $host in
4361 *-*-mingw*)
4362 # gcc leaves a trailing carriage return, which upsets mingw
4363 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4364 *)
4365 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4366 esac
4367 case $ac_prog in
4368 # Accept absolute paths.
4369 [\\/]* | ?:[\\/]*)
4370 re_direlt='/[^/][^/]*/\.\./'
4371 # Canonicalize the pathname of ld
4372 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4373 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4374 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4375 done
4376 test -z "$LD" && LD=$ac_prog
4377 ;;
4378 "")
4379 # If it fails, then pretend we aren't using GCC.
4380 ac_prog=ld
4381 ;;
4382 *)
4383 # If it is relative, then search for the first ld in PATH.
4384 with_gnu_ld=unknown
4385 ;;
4386 esac
4387 elif test yes = "$with_gnu_ld"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4389 $as_echo_n "checking for GNU ld... " >&6; }
4390 else
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4392 $as_echo_n "checking for non-GNU ld... " >&6; }
4393 fi
4394 if ${lt_cv_path_LD+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -z "$LD"; then
4398 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4399 for ac_dir in $PATH; do
4400 IFS=$lt_save_ifs
4401 test -z "$ac_dir" && ac_dir=.
4402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4403 lt_cv_path_LD=$ac_dir/$ac_prog
4404 # Check to see if the program is GNU ld. I'd rather use --version,
4405 # but apparently some variants of GNU ld only accept -v.
4406 # Break only if it was the GNU/non-GNU ld that we prefer.
4407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4408 *GNU* | *'with BFD'*)
4409 test no != "$with_gnu_ld" && break
4410 ;;
4411 *)
4412 test yes != "$with_gnu_ld" && break
4413 ;;
4414 esac
4415 fi
4416 done
4417 IFS=$lt_save_ifs
4418 else
4419 lt_cv_path_LD=$LD # Let the user override the test with a path.
4420 fi
4421 fi
4422
4423 LD=$lt_cv_path_LD
4424 if test -n "$LD"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4426 $as_echo "$LD" >&6; }
4427 else
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 fi
4431 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4433 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4434 if ${lt_cv_prog_gnu_ld+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4438 case `$LD -v 2>&1 </dev/null` in
4439 *GNU* | *'with BFD'*)
4440 lt_cv_prog_gnu_ld=yes
4441 ;;
4442 *)
4443 lt_cv_prog_gnu_ld=no
4444 ;;
4445 esac
4446 fi
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4448 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4449 with_gnu_ld=$lt_cv_prog_gnu_ld
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4460 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4461 if ${lt_cv_path_NM+:} false; then :
4462 $as_echo_n "(cached) " >&6
4463 else
4464 if test -n "$NM"; then
4465 # Let the user override the test.
4466 lt_cv_path_NM=$NM
4467 else
4468 lt_nm_to_check=${ac_tool_prefix}nm
4469 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4470 lt_nm_to_check="$lt_nm_to_check nm"
4471 fi
4472 for lt_tmp_nm in $lt_nm_to_check; do
4473 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4474 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4475 IFS=$lt_save_ifs
4476 test -z "$ac_dir" && ac_dir=.
4477 tmp_nm=$ac_dir/$lt_tmp_nm
4478 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4479 # Check to see if the nm accepts a BSD-compat flag.
4480 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4481 # nm: unknown option "B" ignored
4482 # Tru64's nm complains that /dev/null is an invalid object file
4483 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4484 case $build_os in
4485 mingw*) lt_bad_file=conftest.nm/nofile ;;
4486 *) lt_bad_file=/dev/null ;;
4487 esac
4488 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4489 *$lt_bad_file* | *'Invalid file or object type'*)
4490 lt_cv_path_NM="$tmp_nm -B"
4491 break 2
4492 ;;
4493 *)
4494 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4495 */dev/null*)
4496 lt_cv_path_NM="$tmp_nm -p"
4497 break 2
4498 ;;
4499 *)
4500 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4501 continue # so that we can try to find one that supports BSD flags
4502 ;;
4503 esac
4504 ;;
4505 esac
4506 fi
4507 done
4508 IFS=$lt_save_ifs
4509 done
4510 : ${lt_cv_path_NM=no}
4511 fi
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4514 $as_echo "$lt_cv_path_NM" >&6; }
4515 if test no != "$lt_cv_path_NM"; then
4516 NM=$lt_cv_path_NM
4517 else
4518 # Didn't find any BSD compatible name lister, look for dumpbin.
4519 if test -n "$DUMPBIN"; then :
4520 # Let the user override the test.
4521 else
4522 if test -n "$ac_tool_prefix"; then
4523 for ac_prog in dumpbin "link -dump"
4524 do
4525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_DUMPBIN+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 if test -n "$DUMPBIN"; then
4533 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4534 else
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 for as_dir in $PATH
4537 do
4538 IFS=$as_save_IFS
4539 test -z "$as_dir" && as_dir=.
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 break 2
4545 fi
4546 done
4547 done
4548 IFS=$as_save_IFS
4549
4550 fi
4551 fi
4552 DUMPBIN=$ac_cv_prog_DUMPBIN
4553 if test -n "$DUMPBIN"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4555 $as_echo "$DUMPBIN" >&6; }
4556 else
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4559 fi
4560
4561
4562 test -n "$DUMPBIN" && break
4563 done
4564 fi
4565 if test -z "$DUMPBIN"; then
4566 ac_ct_DUMPBIN=$DUMPBIN
4567 for ac_prog in dumpbin "link -dump"
4568 do
4569 # Extract the first word of "$ac_prog", so it can be a program name with args.
4570 set dummy $ac_prog; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -n "$ac_ct_DUMPBIN"; then
4577 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4578 else
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4581 do
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 break 2
4589 fi
4590 done
4591 done
4592 IFS=$as_save_IFS
4593
4594 fi
4595 fi
4596 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4597 if test -n "$ac_ct_DUMPBIN"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4599 $as_echo "$ac_ct_DUMPBIN" >&6; }
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4603 fi
4604
4605
4606 test -n "$ac_ct_DUMPBIN" && break
4607 done
4608
4609 if test "x$ac_ct_DUMPBIN" = x; then
4610 DUMPBIN=":"
4611 else
4612 case $cross_compiling:$ac_tool_warned in
4613 yes:)
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned=yes ;;
4617 esac
4618 DUMPBIN=$ac_ct_DUMPBIN
4619 fi
4620 fi
4621
4622 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4623 *COFF*)
4624 DUMPBIN="$DUMPBIN -symbols -headers"
4625 ;;
4626 *)
4627 DUMPBIN=:
4628 ;;
4629 esac
4630 fi
4631
4632 if test : != "$DUMPBIN"; then
4633 NM=$DUMPBIN
4634 fi
4635 fi
4636 test -z "$NM" && NM=nm
4637
4638
4639
4640
4641
4642
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4644 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4645 if ${lt_cv_nm_interface+:} false; then :
4646 $as_echo_n "(cached) " >&6
4647 else
4648 lt_cv_nm_interface="BSD nm"
4649 echo "int some_variable = 0;" > conftest.$ac_ext
4650 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4651 (eval "$ac_compile" 2>conftest.err)
4652 cat conftest.err >&5
4653 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4654 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4655 cat conftest.err >&5
4656 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4657 cat conftest.out >&5
4658 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4659 lt_cv_nm_interface="MS dumpbin"
4660 fi
4661 rm -f conftest*
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4664 $as_echo "$lt_cv_nm_interface" >&6; }
4665
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4667 $as_echo_n "checking whether ln -s works... " >&6; }
4668 LN_S=$as_ln_s
4669 if test "$LN_S" = "ln -s"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4671 $as_echo "yes" >&6; }
4672 else
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4674 $as_echo "no, using $LN_S" >&6; }
4675 fi
4676
4677 # find the maximum length of command line arguments
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4679 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4680 if ${lt_cv_sys_max_cmd_len+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 i=0
4684 teststring=ABCD
4685
4686 case $build_os in
4687 msdosdjgpp*)
4688 # On DJGPP, this test can blow up pretty badly due to problems in libc
4689 # (any single argument exceeding 2000 bytes causes a buffer overrun
4690 # during glob expansion). Even if it were fixed, the result of this
4691 # check would be larger than it should be.
4692 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4693 ;;
4694
4695 gnu*)
4696 # Under GNU Hurd, this test is not required because there is
4697 # no limit to the length of command line arguments.
4698 # Libtool will interpret -1 as no limit whatsoever
4699 lt_cv_sys_max_cmd_len=-1;
4700 ;;
4701
4702 cygwin* | mingw* | cegcc*)
4703 # On Win9x/ME, this test blows up -- it succeeds, but takes
4704 # about 5 minutes as the teststring grows exponentially.
4705 # Worse, since 9x/ME are not pre-emptively multitasking,
4706 # you end up with a "frozen" computer, even though with patience
4707 # the test eventually succeeds (with a max line length of 256k).
4708 # Instead, let's just punt: use the minimum linelength reported by
4709 # all of the supported platforms: 8192 (on NT/2K/XP).
4710 lt_cv_sys_max_cmd_len=8192;
4711 ;;
4712
4713 mint*)
4714 # On MiNT this can take a long time and run out of memory.
4715 lt_cv_sys_max_cmd_len=8192;
4716 ;;
4717
4718 amigaos*)
4719 # On AmigaOS with pdksh, this test takes hours, literally.
4720 # So we just punt and use a minimum line length of 8192.
4721 lt_cv_sys_max_cmd_len=8192;
4722 ;;
4723
4724 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4725 # This has been around since 386BSD, at least. Likely further.
4726 if test -x /sbin/sysctl; then
4727 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4728 elif test -x /usr/sbin/sysctl; then
4729 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4730 else
4731 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4732 fi
4733 # And add a safety zone
4734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4736 ;;
4737
4738 interix*)
4739 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4740 lt_cv_sys_max_cmd_len=196608
4741 ;;
4742
4743 os2*)
4744 # The test takes a long time on OS/2.
4745 lt_cv_sys_max_cmd_len=8192
4746 ;;
4747
4748 osf*)
4749 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4750 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4751 # nice to cause kernel panics so lets avoid the loop below.
4752 # First set a reasonable default.
4753 lt_cv_sys_max_cmd_len=16384
4754 #
4755 if test -x /sbin/sysconfig; then
4756 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4757 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4758 esac
4759 fi
4760 ;;
4761 sco3.2v5*)
4762 lt_cv_sys_max_cmd_len=102400
4763 ;;
4764 sysv5* | sco5v6* | sysv4.2uw2*)
4765 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4766 if test -n "$kargmax"; then
4767 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4768 else
4769 lt_cv_sys_max_cmd_len=32768
4770 fi
4771 ;;
4772 *)
4773 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4774 if test -n "$lt_cv_sys_max_cmd_len" && \
4775 test undefined != "$lt_cv_sys_max_cmd_len"; then
4776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4778 else
4779 # Make teststring a little bigger before we do anything with it.
4780 # a 1K string should be a reasonable start.
4781 for i in 1 2 3 4 5 6 7 8; do
4782 teststring=$teststring$teststring
4783 done
4784 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4785 # If test is not a shell built-in, we'll probably end up computing a
4786 # maximum length that is only half of the actual maximum length, but
4787 # we can't tell.
4788 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4789 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4790 test 17 != "$i" # 1/2 MB should be enough
4791 do
4792 i=`expr $i + 1`
4793 teststring=$teststring$teststring
4794 done
4795 # Only check the string length outside the loop.
4796 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4797 teststring=
4798 # Add a significant safety factor because C++ compilers can tack on
4799 # massive amounts of additional arguments before passing them to the
4800 # linker. It appears as though 1/2 is a usable value.
4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4802 fi
4803 ;;
4804 esac
4805
4806 fi
4807
4808 if test -n "$lt_cv_sys_max_cmd_len"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4810 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4811 else
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4813 $as_echo "none" >&6; }
4814 fi
4815 max_cmd_len=$lt_cv_sys_max_cmd_len
4816
4817
4818
4819
4820
4821
4822 : ${CP="cp -f"}
4823 : ${MV="mv -f"}
4824 : ${RM="rm -f"}
4825
4826 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4827 lt_unset=unset
4828 else
4829 lt_unset=false
4830 fi
4831
4832
4833
4834
4835
4836 # test EBCDIC or ASCII
4837 case `echo X|tr X '\101'` in
4838 A) # ASCII based system
4839 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4840 lt_SP2NL='tr \040 \012'
4841 lt_NL2SP='tr \015\012 \040\040'
4842 ;;
4843 *) # EBCDIC based system
4844 lt_SP2NL='tr \100 \n'
4845 lt_NL2SP='tr \r\n \100\100'
4846 ;;
4847 esac
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4858 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4859 if ${lt_cv_to_host_file_cmd+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 case $host in
4863 *-*-mingw* )
4864 case $build in
4865 *-*-mingw* ) # actually msys
4866 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4867 ;;
4868 *-*-cygwin* )
4869 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4870 ;;
4871 * ) # otherwise, assume *nix
4872 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4873 ;;
4874 esac
4875 ;;
4876 *-*-cygwin* )
4877 case $build in
4878 *-*-mingw* ) # actually msys
4879 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4880 ;;
4881 *-*-cygwin* )
4882 lt_cv_to_host_file_cmd=func_convert_file_noop
4883 ;;
4884 * ) # otherwise, assume *nix
4885 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4886 ;;
4887 esac
4888 ;;
4889 * ) # unhandled hosts (and "normal" native builds)
4890 lt_cv_to_host_file_cmd=func_convert_file_noop
4891 ;;
4892 esac
4893
4894 fi
4895
4896 to_host_file_cmd=$lt_cv_to_host_file_cmd
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4898 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4899
4900
4901
4902
4903
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4905 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4906 if ${lt_cv_to_tool_file_cmd+:} false; then :
4907 $as_echo_n "(cached) " >&6
4908 else
4909 #assume ordinary cross tools, or native build.
4910 lt_cv_to_tool_file_cmd=func_convert_file_noop
4911 case $host in
4912 *-*-mingw* )
4913 case $build in
4914 *-*-mingw* ) # actually msys
4915 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4916 ;;
4917 esac
4918 ;;
4919 esac
4920
4921 fi
4922
4923 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4925 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4926
4927
4928
4929
4930
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4932 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4933 if ${lt_cv_ld_reload_flag+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 lt_cv_ld_reload_flag='-r'
4937 fi
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4939 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4940 reload_flag=$lt_cv_ld_reload_flag
4941 case $reload_flag in
4942 "" | " "*) ;;
4943 *) reload_flag=" $reload_flag" ;;
4944 esac
4945 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4946 case $host_os in
4947 cygwin* | mingw* | pw32* | cegcc*)
4948 if test yes != "$GCC"; then
4949 reload_cmds=false
4950 fi
4951 ;;
4952 darwin*)
4953 if test yes = "$GCC"; then
4954 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4955 else
4956 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4957 fi
4958 ;;
4959 esac
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969 if test -n "$ac_tool_prefix"; then
4970 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4971 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_OBJDUMP+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 if test -n "$OBJDUMP"; then
4978 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4979 else
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 for as_dir in $PATH
4982 do
4983 IFS=$as_save_IFS
4984 test -z "$as_dir" && as_dir=.
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 break 2
4990 fi
4991 done
4992 done
4993 IFS=$as_save_IFS
4994
4995 fi
4996 fi
4997 OBJDUMP=$ac_cv_prog_OBJDUMP
4998 if test -n "$OBJDUMP"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5000 $as_echo "$OBJDUMP" >&6; }
5001 else
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5004 fi
5005
5006
5007 fi
5008 if test -z "$ac_cv_prog_OBJDUMP"; then
5009 ac_ct_OBJDUMP=$OBJDUMP
5010 # Extract the first word of "objdump", so it can be a program name with args.
5011 set dummy objdump; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$ac_ct_OBJDUMP"; then
5018 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5022 do
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5030 fi
5031 done
5032 done
5033 IFS=$as_save_IFS
5034
5035 fi
5036 fi
5037 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5038 if test -n "$ac_ct_OBJDUMP"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5040 $as_echo "$ac_ct_OBJDUMP" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5044 fi
5045
5046 if test "x$ac_ct_OBJDUMP" = x; then
5047 OBJDUMP="false"
5048 else
5049 case $cross_compiling:$ac_tool_warned in
5050 yes:)
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5053 ac_tool_warned=yes ;;
5054 esac
5055 OBJDUMP=$ac_ct_OBJDUMP
5056 fi
5057 else
5058 OBJDUMP="$ac_cv_prog_OBJDUMP"
5059 fi
5060
5061 test -z "$OBJDUMP" && OBJDUMP=objdump
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5072 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5073 if ${lt_cv_deplibs_check_method+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 lt_cv_file_magic_cmd='$MAGIC_CMD'
5077 lt_cv_file_magic_test_file=
5078 lt_cv_deplibs_check_method='unknown'
5079 # Need to set the preceding variable on all platforms that support
5080 # interlibrary dependencies.
5081 # 'none' -- dependencies not supported.
5082 # 'unknown' -- same as none, but documents that we really don't know.
5083 # 'pass_all' -- all dependencies passed with no checks.
5084 # 'test_compile' -- check by making test program.
5085 # 'file_magic [[regex]]' -- check by looking for files in library path
5086 # that responds to the $file_magic_cmd with a given extended regex.
5087 # If you have 'file' or equivalent on your system and you're not sure
5088 # whether 'pass_all' will *always* work, you probably want this one.
5089
5090 case $host_os in
5091 aix[4-9]*)
5092 lt_cv_deplibs_check_method=pass_all
5093 ;;
5094
5095 beos*)
5096 lt_cv_deplibs_check_method=pass_all
5097 ;;
5098
5099 bsdi[45]*)
5100 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5101 lt_cv_file_magic_cmd='/usr/bin/file -L'
5102 lt_cv_file_magic_test_file=/shlib/libc.so
5103 ;;
5104
5105 cygwin*)
5106 # func_win32_libid is a shell function defined in ltmain.sh
5107 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5108 lt_cv_file_magic_cmd='func_win32_libid'
5109 ;;
5110
5111 mingw* | pw32*)
5112 # Base MSYS/MinGW do not provide the 'file' command needed by
5113 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5114 # unless we find 'file', for example because we are cross-compiling.
5115 if ( file / ) >/dev/null 2>&1; then
5116 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5117 lt_cv_file_magic_cmd='func_win32_libid'
5118 else
5119 # Keep this pattern in sync with the one in func_win32_libid.
5120 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5121 lt_cv_file_magic_cmd='$OBJDUMP -f'
5122 fi
5123 ;;
5124
5125 cegcc*)
5126 # use the weaker test based on 'objdump'. See mingw*.
5127 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5128 lt_cv_file_magic_cmd='$OBJDUMP -f'
5129 ;;
5130
5131 darwin* | rhapsody*)
5132 lt_cv_deplibs_check_method=pass_all
5133 ;;
5134
5135 freebsd* | dragonfly*)
5136 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5137 case $host_cpu in
5138 i*86 )
5139 # Not sure whether the presence of OpenBSD here was a mistake.
5140 # Let's accept both of them until this is cleared up.
5141 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5142 lt_cv_file_magic_cmd=/usr/bin/file
5143 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5144 ;;
5145 esac
5146 else
5147 lt_cv_deplibs_check_method=pass_all
5148 fi
5149 ;;
5150
5151 haiku*)
5152 lt_cv_deplibs_check_method=pass_all
5153 ;;
5154
5155 hpux10.20* | hpux11*)
5156 lt_cv_file_magic_cmd=/usr/bin/file
5157 case $host_cpu in
5158 ia64*)
5159 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5160 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5161 ;;
5162 hppa*64*)
5163 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]'
5164 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5165 ;;
5166 *)
5167 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5168 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5169 ;;
5170 esac
5171 ;;
5172
5173 interix[3-9]*)
5174 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5175 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5176 ;;
5177
5178 irix5* | irix6* | nonstopux*)
5179 case $LD in
5180 *-32|*"-32 ") libmagic=32-bit;;
5181 *-n32|*"-n32 ") libmagic=N32;;
5182 *-64|*"-64 ") libmagic=64-bit;;
5183 *) libmagic=never-match;;
5184 esac
5185 lt_cv_deplibs_check_method=pass_all
5186 ;;
5187
5188 # This must be glibc/ELF.
5189 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5190 lt_cv_deplibs_check_method=pass_all
5191 ;;
5192
5193 netbsd* | netbsdelf*-gnu)
5194 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5196 else
5197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5198 fi
5199 ;;
5200
5201 newos6*)
5202 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5203 lt_cv_file_magic_cmd=/usr/bin/file
5204 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5205 ;;
5206
5207 *nto* | *qnx*)
5208 lt_cv_deplibs_check_method=pass_all
5209 ;;
5210
5211 openbsd* | bitrig*)
5212 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5214 else
5215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5216 fi
5217 ;;
5218
5219 osf3* | osf4* | osf5*)
5220 lt_cv_deplibs_check_method=pass_all
5221 ;;
5222
5223 rdos*)
5224 lt_cv_deplibs_check_method=pass_all
5225 ;;
5226
5227 solaris*)
5228 lt_cv_deplibs_check_method=pass_all
5229 ;;
5230
5231 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5232 lt_cv_deplibs_check_method=pass_all
5233 ;;
5234
5235 sysv4 | sysv4.3*)
5236 case $host_vendor in
5237 motorola)
5238 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]'
5239 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5240 ;;
5241 ncr)
5242 lt_cv_deplibs_check_method=pass_all
5243 ;;
5244 sequent)
5245 lt_cv_file_magic_cmd='/bin/file'
5246 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5247 ;;
5248 sni)
5249 lt_cv_file_magic_cmd='/bin/file'
5250 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5251 lt_cv_file_magic_test_file=/lib/libc.so
5252 ;;
5253 siemens)
5254 lt_cv_deplibs_check_method=pass_all
5255 ;;
5256 pc)
5257 lt_cv_deplibs_check_method=pass_all
5258 ;;
5259 esac
5260 ;;
5261
5262 tpf*)
5263 lt_cv_deplibs_check_method=pass_all
5264 ;;
5265 os2*)
5266 lt_cv_deplibs_check_method=pass_all
5267 ;;
5268 esac
5269
5270 fi
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5272 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5273
5274 file_magic_glob=
5275 want_nocaseglob=no
5276 if test "$build" = "$host"; then
5277 case $host_os in
5278 mingw* | pw32*)
5279 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5280 want_nocaseglob=yes
5281 else
5282 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5283 fi
5284 ;;
5285 esac
5286 fi
5287
5288 file_magic_cmd=$lt_cv_file_magic_cmd
5289 deplibs_check_method=$lt_cv_deplibs_check_method
5290 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313 if test -n "$ac_tool_prefix"; then
5314 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5315 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_prog_DLLTOOL+:} false; then :
5319 $as_echo_n "(cached) " >&6
5320 else
5321 if test -n "$DLLTOOL"; then
5322 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5326 do
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5334 fi
5335 done
5336 done
5337 IFS=$as_save_IFS
5338
5339 fi
5340 fi
5341 DLLTOOL=$ac_cv_prog_DLLTOOL
5342 if test -n "$DLLTOOL"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5344 $as_echo "$DLLTOOL" >&6; }
5345 else
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5348 fi
5349
5350
5351 fi
5352 if test -z "$ac_cv_prog_DLLTOOL"; then
5353 ac_ct_DLLTOOL=$DLLTOOL
5354 # Extract the first word of "dlltool", so it can be a program name with args.
5355 set dummy dlltool; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 if test -n "$ac_ct_DLLTOOL"; then
5362 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5363 else
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5366 do
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5374 fi
5375 done
5376 done
5377 IFS=$as_save_IFS
5378
5379 fi
5380 fi
5381 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5382 if test -n "$ac_ct_DLLTOOL"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5384 $as_echo "$ac_ct_DLLTOOL" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5388 fi
5389
5390 if test "x$ac_ct_DLLTOOL" = x; then
5391 DLLTOOL="false"
5392 else
5393 case $cross_compiling:$ac_tool_warned in
5394 yes:)
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5397 ac_tool_warned=yes ;;
5398 esac
5399 DLLTOOL=$ac_ct_DLLTOOL
5400 fi
5401 else
5402 DLLTOOL="$ac_cv_prog_DLLTOOL"
5403 fi
5404
5405 test -z "$DLLTOOL" && DLLTOOL=dlltool
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5417 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5418 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 lt_cv_sharedlib_from_linklib_cmd='unknown'
5422
5423 case $host_os in
5424 cygwin* | mingw* | pw32* | cegcc*)
5425 # two different shell functions defined in ltmain.sh;
5426 # decide which one to use based on capabilities of $DLLTOOL
5427 case `$DLLTOOL --help 2>&1` in
5428 *--identify-strict*)
5429 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5430 ;;
5431 *)
5432 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5433 ;;
5434 esac
5435 ;;
5436 *)
5437 # fallback: assume linklib IS sharedlib
5438 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5439 ;;
5440 esac
5441
5442 fi
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5444 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5445 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5446 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5447
5448
5449
5450
5451
5452
5453
5454
5455 if test -n "$ac_tool_prefix"; then
5456 for ac_prog in ar
5457 do
5458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_AR+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$AR"; then
5466 ac_cv_prog_AR="$AR" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5470 do
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5478 fi
5479 done
5480 done
5481 IFS=$as_save_IFS
5482
5483 fi
5484 fi
5485 AR=$ac_cv_prog_AR
5486 if test -n "$AR"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5488 $as_echo "$AR" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5492 fi
5493
5494
5495 test -n "$AR" && break
5496 done
5497 fi
5498 if test -z "$AR"; then
5499 ac_ct_AR=$AR
5500 for ac_prog in ar
5501 do
5502 # Extract the first word of "$ac_prog", so it can be a program name with args.
5503 set dummy $ac_prog; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$ac_ct_AR"; then
5510 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5514 do
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_ac_ct_AR="$ac_prog"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5522 fi
5523 done
5524 done
5525 IFS=$as_save_IFS
5526
5527 fi
5528 fi
5529 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5530 if test -n "$ac_ct_AR"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5532 $as_echo "$ac_ct_AR" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5536 fi
5537
5538
5539 test -n "$ac_ct_AR" && break
5540 done
5541
5542 if test "x$ac_ct_AR" = x; then
5543 AR="false"
5544 else
5545 case $cross_compiling:$ac_tool_warned in
5546 yes:)
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549 ac_tool_warned=yes ;;
5550 esac
5551 AR=$ac_ct_AR
5552 fi
5553 fi
5554
5555 : ${AR=ar}
5556 : ${AR_FLAGS=cru}
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5569 $as_echo_n "checking for archiver @FILE support... " >&6; }
5570 if ${lt_cv_ar_at_file+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 lt_cv_ar_at_file=no
5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5576
5577 int
5578 main ()
5579 {
5580
5581 ;
5582 return 0;
5583 }
5584 _ACEOF
5585 if ac_fn_c_try_compile "$LINENO"; then :
5586 echo conftest.$ac_objext > conftest.lst
5587 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5588 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5589 (eval $lt_ar_try) 2>&5
5590 ac_status=$?
5591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5592 test $ac_status = 0; }
5593 if test 0 -eq "$ac_status"; then
5594 # Ensure the archiver fails upon bogus file names.
5595 rm -f conftest.$ac_objext libconftest.a
5596 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5597 (eval $lt_ar_try) 2>&5
5598 ac_status=$?
5599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5600 test $ac_status = 0; }
5601 if test 0 -ne "$ac_status"; then
5602 lt_cv_ar_at_file=@
5603 fi
5604 fi
5605 rm -f conftest.* libconftest.a
5606
5607 fi
5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5609
5610 fi
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5612 $as_echo "$lt_cv_ar_at_file" >&6; }
5613
5614 if test no = "$lt_cv_ar_at_file"; then
5615 archiver_list_spec=
5616 else
5617 archiver_list_spec=$lt_cv_ar_at_file
5618 fi
5619
5620
5621
5622
5623
5624
5625
5626 if test -n "$ac_tool_prefix"; then
5627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5628 set dummy ${ac_tool_prefix}strip; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_STRIP+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 if test -n "$STRIP"; then
5635 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5636 else
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in $PATH
5639 do
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5647 fi
5648 done
5649 done
5650 IFS=$as_save_IFS
5651
5652 fi
5653 fi
5654 STRIP=$ac_cv_prog_STRIP
5655 if test -n "$STRIP"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5657 $as_echo "$STRIP" >&6; }
5658 else
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5661 fi
5662
5663
5664 fi
5665 if test -z "$ac_cv_prog_STRIP"; then
5666 ac_ct_STRIP=$STRIP
5667 # Extract the first word of "strip", so it can be a program name with args.
5668 set dummy strip; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 if test -n "$ac_ct_STRIP"; then
5675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5679 do
5680 IFS=$as_save_IFS
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_ac_ct_STRIP="strip"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 break 2
5687 fi
5688 done
5689 done
5690 IFS=$as_save_IFS
5691
5692 fi
5693 fi
5694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5695 if test -n "$ac_ct_STRIP"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5697 $as_echo "$ac_ct_STRIP" >&6; }
5698 else
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5701 fi
5702
5703 if test "x$ac_ct_STRIP" = x; then
5704 STRIP=":"
5705 else
5706 case $cross_compiling:$ac_tool_warned in
5707 yes:)
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5710 ac_tool_warned=yes ;;
5711 esac
5712 STRIP=$ac_ct_STRIP
5713 fi
5714 else
5715 STRIP="$ac_cv_prog_STRIP"
5716 fi
5717
5718 test -z "$STRIP" && STRIP=:
5719
5720
5721
5722
5723
5724
5725 if test -n "$ac_tool_prefix"; then
5726 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5727 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_RANLIB+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if test -n "$RANLIB"; then
5734 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5738 do
5739 IFS=$as_save_IFS
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 break 2
5746 fi
5747 done
5748 done
5749 IFS=$as_save_IFS
5750
5751 fi
5752 fi
5753 RANLIB=$ac_cv_prog_RANLIB
5754 if test -n "$RANLIB"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5756 $as_echo "$RANLIB" >&6; }
5757 else
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5760 fi
5761
5762
5763 fi
5764 if test -z "$ac_cv_prog_RANLIB"; then
5765 ac_ct_RANLIB=$RANLIB
5766 # Extract the first word of "ranlib", so it can be a program name with args.
5767 set dummy ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$ac_ct_RANLIB"; then
5774 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5778 do
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_ac_ct_RANLIB="ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5786 fi
5787 done
5788 done
5789 IFS=$as_save_IFS
5790
5791 fi
5792 fi
5793 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5794 if test -n "$ac_ct_RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5796 $as_echo "$ac_ct_RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5800 fi
5801
5802 if test "x$ac_ct_RANLIB" = x; then
5803 RANLIB=":"
5804 else
5805 case $cross_compiling:$ac_tool_warned in
5806 yes:)
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809 ac_tool_warned=yes ;;
5810 esac
5811 RANLIB=$ac_ct_RANLIB
5812 fi
5813 else
5814 RANLIB="$ac_cv_prog_RANLIB"
5815 fi
5816
5817 test -z "$RANLIB" && RANLIB=:
5818
5819
5820
5821
5822
5823
5824 # Determine commands to create old-style static archives.
5825 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5826 old_postinstall_cmds='chmod 644 $oldlib'
5827 old_postuninstall_cmds=
5828
5829 if test -n "$RANLIB"; then
5830 case $host_os in
5831 bitrig* | openbsd*)
5832 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5833 ;;
5834 *)
5835 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5836 ;;
5837 esac
5838 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5839 fi
5840
5841 case $host_os in
5842 darwin*)
5843 lock_old_archive_extraction=yes ;;
5844 *)
5845 lock_old_archive_extraction=no ;;
5846 esac
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886 # If no C compiler was specified, use CC.
5887 LTCC=${LTCC-"$CC"}
5888
5889 # If no C compiler flags were specified, use CFLAGS.
5890 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5891
5892 # Allow CC to be a program name with arguments.
5893 compiler=$CC
5894
5895
5896 # Check for command to grab the raw symbol name followed by C symbol from nm.
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5898 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5899 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902
5903 # These are sane defaults that work on at least a few old systems.
5904 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5905
5906 # Character class describing NM global symbol codes.
5907 symcode='[BCDEGRST]'
5908
5909 # Regexp to match symbols that can be accessed directly from C.
5910 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5911
5912 # Define system-specific variables.
5913 case $host_os in
5914 aix*)
5915 symcode='[BCDT]'
5916 ;;
5917 cygwin* | mingw* | pw32* | cegcc*)
5918 symcode='[ABCDGISTW]'
5919 ;;
5920 hpux*)
5921 if test ia64 = "$host_cpu"; then
5922 symcode='[ABCDEGRST]'
5923 fi
5924 ;;
5925 irix* | nonstopux*)
5926 symcode='[BCDEGRST]'
5927 ;;
5928 osf*)
5929 symcode='[BCDEGQRST]'
5930 ;;
5931 solaris*)
5932 symcode='[BDRT]'
5933 ;;
5934 sco3.2v5*)
5935 symcode='[DT]'
5936 ;;
5937 sysv4.2uw2*)
5938 symcode='[DT]'
5939 ;;
5940 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5941 symcode='[ABDT]'
5942 ;;
5943 sysv4)
5944 symcode='[DFNSTU]'
5945 ;;
5946 esac
5947
5948 # If we're using GNU nm, then use its standard symbol codes.
5949 case `$NM -V 2>&1` in
5950 *GNU* | *'with BFD'*)
5951 symcode='[ABCDGIRSTW]' ;;
5952 esac
5953
5954 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5955 # Gets list of data symbols to import.
5956 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5957 # Adjust the below global symbol transforms to fixup imported variables.
5958 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5959 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5960 lt_c_name_lib_hook="\
5961 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5962 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5963 else
5964 # Disable hooks by default.
5965 lt_cv_sys_global_symbol_to_import=
5966 lt_cdecl_hook=
5967 lt_c_name_hook=
5968 lt_c_name_lib_hook=
5969 fi
5970
5971 # Transform an extracted symbol line into a proper C declaration.
5972 # Some systems (esp. on ia64) link data and code symbols differently,
5973 # so use this general approach.
5974 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5975 $lt_cdecl_hook\
5976 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5977 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5978
5979 # Transform an extracted symbol line into symbol name and symbol address
5980 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5981 $lt_c_name_hook\
5982 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5983 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5984
5985 # Transform an extracted symbol line into symbol name with lib prefix and
5986 # symbol address.
5987 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5988 $lt_c_name_lib_hook\
5989 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5990 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5991 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5992
5993 # Handle CRLF in mingw tool chain
5994 opt_cr=
5995 case $build_os in
5996 mingw*)
5997 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5998 ;;
5999 esac
6000
6001 # Try without a prefix underscore, then with it.
6002 for ac_symprfx in "" "_"; do
6003
6004 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6005 symxfrm="\\1 $ac_symprfx\\2 \\2"
6006
6007 # Write the raw and C identifiers.
6008 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6009 # Fake it for dumpbin and say T for any non-static function,
6010 # D for any global variable and I for any imported variable.
6011 # Also find C++ and __fastcall symbols from MSVC++,
6012 # which start with @ or ?.
6013 lt_cv_sys_global_symbol_pipe="$AWK '"\
6014 " {last_section=section; section=\$ 3};"\
6015 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6016 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6017 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6018 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6019 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6020 " \$ 0!~/External *\|/{next};"\
6021 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6022 " {if(hide[section]) next};"\
6023 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6024 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6025 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6026 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6027 " ' prfx=^$ac_symprfx"
6028 else
6029 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6030 fi
6031 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6032
6033 # Check to see that the pipe works correctly.
6034 pipe_works=no
6035
6036 rm -f conftest*
6037 cat > conftest.$ac_ext <<_LT_EOF
6038 #ifdef __cplusplus
6039 extern "C" {
6040 #endif
6041 char nm_test_var;
6042 void nm_test_func(void);
6043 void nm_test_func(void){}
6044 #ifdef __cplusplus
6045 }
6046 #endif
6047 int main(){nm_test_var='a';nm_test_func();return(0);}
6048 _LT_EOF
6049
6050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6051 (eval $ac_compile) 2>&5
6052 ac_status=$?
6053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6054 test $ac_status = 0; }; then
6055 # Now try to grab the symbols.
6056 nlist=conftest.nm
6057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6058 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6059 ac_status=$?
6060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6061 test $ac_status = 0; } && test -s "$nlist"; then
6062 # Try sorting and uniquifying the output.
6063 if sort "$nlist" | uniq > "$nlist"T; then
6064 mv -f "$nlist"T "$nlist"
6065 else
6066 rm -f "$nlist"T
6067 fi
6068
6069 # Make sure that we snagged all the symbols we need.
6070 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6071 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6072 cat <<_LT_EOF > conftest.$ac_ext
6073 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6074 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6075 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6076 relocations are performed -- see ld's documentation on pseudo-relocs. */
6077 # define LT_DLSYM_CONST
6078 #elif defined __osf__
6079 /* This system does not cope well with relocations in const data. */
6080 # define LT_DLSYM_CONST
6081 #else
6082 # define LT_DLSYM_CONST const
6083 #endif
6084
6085 #ifdef __cplusplus
6086 extern "C" {
6087 #endif
6088
6089 _LT_EOF
6090 # Now generate the symbol file.
6091 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6092
6093 cat <<_LT_EOF >> conftest.$ac_ext
6094
6095 /* The mapping between symbol names and symbols. */
6096 LT_DLSYM_CONST struct {
6097 const char *name;
6098 void *address;
6099 }
6100 lt__PROGRAM__LTX_preloaded_symbols[] =
6101 {
6102 { "@PROGRAM@", (void *) 0 },
6103 _LT_EOF
6104 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6105 cat <<\_LT_EOF >> conftest.$ac_ext
6106 {0, (void *) 0}
6107 };
6108
6109 /* This works around a problem in FreeBSD linker */
6110 #ifdef FREEBSD_WORKAROUND
6111 static const void *lt_preloaded_setup() {
6112 return lt__PROGRAM__LTX_preloaded_symbols;
6113 }
6114 #endif
6115
6116 #ifdef __cplusplus
6117 }
6118 #endif
6119 _LT_EOF
6120 # Now try linking the two files.
6121 mv conftest.$ac_objext conftstm.$ac_objext
6122 lt_globsym_save_LIBS=$LIBS
6123 lt_globsym_save_CFLAGS=$CFLAGS
6124 LIBS=conftstm.$ac_objext
6125 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6127 (eval $ac_link) 2>&5
6128 ac_status=$?
6129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6130 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6131 pipe_works=yes
6132 fi
6133 LIBS=$lt_globsym_save_LIBS
6134 CFLAGS=$lt_globsym_save_CFLAGS
6135 else
6136 echo "cannot find nm_test_func in $nlist" >&5
6137 fi
6138 else
6139 echo "cannot find nm_test_var in $nlist" >&5
6140 fi
6141 else
6142 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6143 fi
6144 else
6145 echo "$progname: failed program was:" >&5
6146 cat conftest.$ac_ext >&5
6147 fi
6148 rm -rf conftest* conftst*
6149
6150 # Do not use the global_symbol_pipe unless it works.
6151 if test yes = "$pipe_works"; then
6152 break
6153 else
6154 lt_cv_sys_global_symbol_pipe=
6155 fi
6156 done
6157
6158 fi
6159
6160 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6161 lt_cv_sys_global_symbol_to_cdecl=
6162 fi
6163 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6165 $as_echo "failed" >&6; }
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6168 $as_echo "ok" >&6; }
6169 fi
6170
6171 # Response file support.
6172 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6173 nm_file_list_spec='@'
6174 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6175 nm_file_list_spec='@'
6176 fi
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6215 $as_echo_n "checking for sysroot... " >&6; }
6216
6217 # Check whether --with-sysroot was given.
6218 if test "${with_sysroot+set}" = set; then :
6219 withval=$with_sysroot;
6220 else
6221 with_sysroot=no
6222 fi
6223
6224
6225 lt_sysroot=
6226 case $with_sysroot in #(
6227 yes)
6228 if test yes = "$GCC"; then
6229 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6230 fi
6231 ;; #(
6232 /*)
6233 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6234 ;; #(
6235 no|'')
6236 ;; #(
6237 *)
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6239 $as_echo "$with_sysroot" >&6; }
6240 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6241 ;;
6242 esac
6243
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6245 $as_echo "${lt_sysroot:-no}" >&6; }
6246
6247
6248
6249
6250
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6252 $as_echo_n "checking for a working dd... " >&6; }
6253 if ${ac_cv_path_lt_DD+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 printf 0123456789abcdef0123456789abcdef >conftest.i
6257 cat conftest.i conftest.i >conftest2.i
6258 : ${lt_DD:=$DD}
6259 if test -z "$lt_DD"; then
6260 ac_path_lt_DD_found=false
6261 # Loop through the user's path and test for each of PROGNAME-LIST
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6264 do
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_prog in dd; do
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6270 as_fn_executable_p "$ac_path_lt_DD" || continue
6271 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6272 cmp -s conftest.i conftest.out \
6273 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6274 fi
6275 $ac_path_lt_DD_found && break 3
6276 done
6277 done
6278 done
6279 IFS=$as_save_IFS
6280 if test -z "$ac_cv_path_lt_DD"; then
6281 :
6282 fi
6283 else
6284 ac_cv_path_lt_DD=$lt_DD
6285 fi
6286
6287 rm -f conftest.i conftest2.i conftest.out
6288 fi
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6290 $as_echo "$ac_cv_path_lt_DD" >&6; }
6291
6292
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6294 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6295 if ${lt_cv_truncate_bin+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 printf 0123456789abcdef0123456789abcdef >conftest.i
6299 cat conftest.i conftest.i >conftest2.i
6300 lt_cv_truncate_bin=
6301 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6302 cmp -s conftest.i conftest.out \
6303 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6304 fi
6305 rm -f conftest.i conftest2.i conftest.out
6306 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6307 fi
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6309 $as_echo "$lt_cv_truncate_bin" >&6; }
6310
6311
6312
6313
6314
6315
6316
6317 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6318 func_cc_basename ()
6319 {
6320 for cc_temp in $*""; do
6321 case $cc_temp in
6322 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6323 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6324 \-*) ;;
6325 *) break;;
6326 esac
6327 done
6328 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6329 }
6330
6331 # Check whether --enable-libtool-lock was given.
6332 if test "${enable_libtool_lock+set}" = set; then :
6333 enableval=$enable_libtool_lock;
6334 fi
6335
6336 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6337
6338 # Some flags need to be propagated to the compiler or linker for good
6339 # libtool support.
6340 case $host in
6341 ia64-*-hpux*)
6342 # Find out what ABI is being produced by ac_compile, and set mode
6343 # options accordingly.
6344 echo 'int i;' > conftest.$ac_ext
6345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6346 (eval $ac_compile) 2>&5
6347 ac_status=$?
6348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6349 test $ac_status = 0; }; then
6350 case `/usr/bin/file conftest.$ac_objext` in
6351 *ELF-32*)
6352 HPUX_IA64_MODE=32
6353 ;;
6354 *ELF-64*)
6355 HPUX_IA64_MODE=64
6356 ;;
6357 esac
6358 fi
6359 rm -rf conftest*
6360 ;;
6361 *-*-irix6*)
6362 # Find out what ABI is being produced by ac_compile, and set linker
6363 # options accordingly.
6364 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6366 (eval $ac_compile) 2>&5
6367 ac_status=$?
6368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6369 test $ac_status = 0; }; then
6370 if test yes = "$lt_cv_prog_gnu_ld"; then
6371 case `/usr/bin/file conftest.$ac_objext` in
6372 *32-bit*)
6373 LD="${LD-ld} -melf32bsmip"
6374 ;;
6375 *N32*)
6376 LD="${LD-ld} -melf32bmipn32"
6377 ;;
6378 *64-bit*)
6379 LD="${LD-ld} -melf64bmip"
6380 ;;
6381 esac
6382 else
6383 case `/usr/bin/file conftest.$ac_objext` in
6384 *32-bit*)
6385 LD="${LD-ld} -32"
6386 ;;
6387 *N32*)
6388 LD="${LD-ld} -n32"
6389 ;;
6390 *64-bit*)
6391 LD="${LD-ld} -64"
6392 ;;
6393 esac
6394 fi
6395 fi
6396 rm -rf conftest*
6397 ;;
6398
6399 mips64*-*linux*)
6400 # Find out what ABI is being produced by ac_compile, and set linker
6401 # options accordingly.
6402 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6404 (eval $ac_compile) 2>&5
6405 ac_status=$?
6406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6407 test $ac_status = 0; }; then
6408 emul=elf
6409 case `/usr/bin/file conftest.$ac_objext` in
6410 *32-bit*)
6411 emul="${emul}32"
6412 ;;
6413 *64-bit*)
6414 emul="${emul}64"
6415 ;;
6416 esac
6417 case `/usr/bin/file conftest.$ac_objext` in
6418 *MSB*)
6419 emul="${emul}btsmip"
6420 ;;
6421 *LSB*)
6422 emul="${emul}ltsmip"
6423 ;;
6424 esac
6425 case `/usr/bin/file conftest.$ac_objext` in
6426 *N32*)
6427 emul="${emul}n32"
6428 ;;
6429 esac
6430 LD="${LD-ld} -m $emul"
6431 fi
6432 rm -rf conftest*
6433 ;;
6434
6435 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6436 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6437 # Find out what ABI is being produced by ac_compile, and set linker
6438 # options accordingly. Note that the listed cases only cover the
6439 # situations where additional linker options are needed (such as when
6440 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6441 # vice versa); the common cases where no linker options are needed do
6442 # not appear in the list.
6443 echo 'int i;' > conftest.$ac_ext
6444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6445 (eval $ac_compile) 2>&5
6446 ac_status=$?
6447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6448 test $ac_status = 0; }; then
6449 case `/usr/bin/file conftest.o` in
6450 *32-bit*)
6451 case $host in
6452 x86_64-*kfreebsd*-gnu)
6453 LD="${LD-ld} -m elf_i386_fbsd"
6454 ;;
6455 x86_64-*linux*)
6456 case `/usr/bin/file conftest.o` in
6457 *x86-64*)
6458 LD="${LD-ld} -m elf32_x86_64"
6459 ;;
6460 *)
6461 LD="${LD-ld} -m elf_i386"
6462 ;;
6463 esac
6464 ;;
6465 powerpc64le-*linux*)
6466 LD="${LD-ld} -m elf32lppclinux"
6467 ;;
6468 powerpc64-*linux*)
6469 LD="${LD-ld} -m elf32ppclinux"
6470 ;;
6471 s390x-*linux*)
6472 LD="${LD-ld} -m elf_s390"
6473 ;;
6474 sparc64-*linux*)
6475 LD="${LD-ld} -m elf32_sparc"
6476 ;;
6477 esac
6478 ;;
6479 *64-bit*)
6480 case $host in
6481 x86_64-*kfreebsd*-gnu)
6482 LD="${LD-ld} -m elf_x86_64_fbsd"
6483 ;;
6484 x86_64-*linux*)
6485 LD="${LD-ld} -m elf_x86_64"
6486 ;;
6487 powerpcle-*linux*)
6488 LD="${LD-ld} -m elf64lppc"
6489 ;;
6490 powerpc-*linux*)
6491 LD="${LD-ld} -m elf64ppc"
6492 ;;
6493 s390*-*linux*|s390*-*tpf*)
6494 LD="${LD-ld} -m elf64_s390"
6495 ;;
6496 sparc*-*linux*)
6497 LD="${LD-ld} -m elf64_sparc"
6498 ;;
6499 esac
6500 ;;
6501 esac
6502 fi
6503 rm -rf conftest*
6504 ;;
6505
6506 *-*-sco3.2v5*)
6507 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6508 SAVE_CFLAGS=$CFLAGS
6509 CFLAGS="$CFLAGS -belf"
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6511 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6512 if ${lt_cv_cc_needs_belf+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 ac_ext=c
6516 ac_cpp='$CPP $CPPFLAGS'
6517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6520
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523
6524 int
6525 main ()
6526 {
6527
6528 ;
6529 return 0;
6530 }
6531 _ACEOF
6532 if ac_fn_c_try_link "$LINENO"; then :
6533 lt_cv_cc_needs_belf=yes
6534 else
6535 lt_cv_cc_needs_belf=no
6536 fi
6537 rm -f core conftest.err conftest.$ac_objext \
6538 conftest$ac_exeext conftest.$ac_ext
6539 ac_ext=c
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544
6545 fi
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6547 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6548 if test yes != "$lt_cv_cc_needs_belf"; then
6549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6550 CFLAGS=$SAVE_CFLAGS
6551 fi
6552 ;;
6553 *-*solaris*)
6554 # Find out what ABI is being produced by ac_compile, and set linker
6555 # options accordingly.
6556 echo 'int i;' > conftest.$ac_ext
6557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6558 (eval $ac_compile) 2>&5
6559 ac_status=$?
6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6561 test $ac_status = 0; }; then
6562 case `/usr/bin/file conftest.o` in
6563 *64-bit*)
6564 case $lt_cv_prog_gnu_ld in
6565 yes*)
6566 case $host in
6567 i?86-*-solaris*|x86_64-*-solaris*)
6568 LD="${LD-ld} -m elf_x86_64"
6569 ;;
6570 sparc*-*-solaris*)
6571 LD="${LD-ld} -m elf64_sparc"
6572 ;;
6573 esac
6574 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6575 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6576 LD=${LD-ld}_sol2
6577 fi
6578 ;;
6579 *)
6580 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6581 LD="${LD-ld} -64"
6582 fi
6583 ;;
6584 esac
6585 ;;
6586 esac
6587 fi
6588 rm -rf conftest*
6589 ;;
6590 esac
6591
6592 need_locks=$enable_libtool_lock
6593
6594 if test -n "$ac_tool_prefix"; then
6595 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6596 set dummy ${ac_tool_prefix}mt; ac_word=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6600 $as_echo_n "(cached) " >&6
6601 else
6602 if test -n "$MANIFEST_TOOL"; then
6603 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6604 else
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 for as_dir in $PATH
6607 do
6608 IFS=$as_save_IFS
6609 test -z "$as_dir" && as_dir=.
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6612 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6614 break 2
6615 fi
6616 done
6617 done
6618 IFS=$as_save_IFS
6619
6620 fi
6621 fi
6622 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6623 if test -n "$MANIFEST_TOOL"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6625 $as_echo "$MANIFEST_TOOL" >&6; }
6626 else
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6629 fi
6630
6631
6632 fi
6633 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6634 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6635 # Extract the first word of "mt", so it can be a program name with args.
6636 set dummy mt; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6640 $as_echo_n "(cached) " >&6
6641 else
6642 if test -n "$ac_ct_MANIFEST_TOOL"; then
6643 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6644 else
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 for as_dir in $PATH
6647 do
6648 IFS=$as_save_IFS
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 break 2
6655 fi
6656 done
6657 done
6658 IFS=$as_save_IFS
6659
6660 fi
6661 fi
6662 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6663 if test -n "$ac_ct_MANIFEST_TOOL"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6665 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6666 else
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6669 fi
6670
6671 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6672 MANIFEST_TOOL=":"
6673 else
6674 case $cross_compiling:$ac_tool_warned in
6675 yes:)
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6679 esac
6680 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6681 fi
6682 else
6683 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6684 fi
6685
6686 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6688 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6689 if ${lt_cv_path_mainfest_tool+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 lt_cv_path_mainfest_tool=no
6693 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6694 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6695 cat conftest.err >&5
6696 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6697 lt_cv_path_mainfest_tool=yes
6698 fi
6699 rm -f conftest*
6700 fi
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6702 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6703 if test yes != "$lt_cv_path_mainfest_tool"; then
6704 MANIFEST_TOOL=:
6705 fi
6706
6707
6708
6709
6710
6711
6712 case $host_os in
6713 rhapsody* | darwin*)
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6716 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6720 $as_echo_n "(cached) " >&6
6721 else
6722 if test -n "$DSYMUTIL"; then
6723 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6727 do
6728 IFS=$as_save_IFS
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 break 2
6735 fi
6736 done
6737 done
6738 IFS=$as_save_IFS
6739
6740 fi
6741 fi
6742 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6743 if test -n "$DSYMUTIL"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6745 $as_echo "$DSYMUTIL" >&6; }
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6749 fi
6750
6751
6752 fi
6753 if test -z "$ac_cv_prog_DSYMUTIL"; then
6754 ac_ct_DSYMUTIL=$DSYMUTIL
6755 # Extract the first word of "dsymutil", so it can be a program name with args.
6756 set dummy dsymutil; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 if test -n "$ac_ct_DSYMUTIL"; then
6763 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6767 do
6768 IFS=$as_save_IFS
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 break 2
6775 fi
6776 done
6777 done
6778 IFS=$as_save_IFS
6779
6780 fi
6781 fi
6782 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6783 if test -n "$ac_ct_DSYMUTIL"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6785 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6789 fi
6790
6791 if test "x$ac_ct_DSYMUTIL" = x; then
6792 DSYMUTIL=":"
6793 else
6794 case $cross_compiling:$ac_tool_warned in
6795 yes:)
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6798 ac_tool_warned=yes ;;
6799 esac
6800 DSYMUTIL=$ac_ct_DSYMUTIL
6801 fi
6802 else
6803 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6804 fi
6805
6806 if test -n "$ac_tool_prefix"; then
6807 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6808 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_NMEDIT+:} false; then :
6812 $as_echo_n "(cached) " >&6
6813 else
6814 if test -n "$NMEDIT"; then
6815 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6816 else
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 for as_dir in $PATH
6819 do
6820 IFS=$as_save_IFS
6821 test -z "$as_dir" && as_dir=.
6822 for ac_exec_ext in '' $ac_executable_extensions; do
6823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826 break 2
6827 fi
6828 done
6829 done
6830 IFS=$as_save_IFS
6831
6832 fi
6833 fi
6834 NMEDIT=$ac_cv_prog_NMEDIT
6835 if test -n "$NMEDIT"; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6837 $as_echo "$NMEDIT" >&6; }
6838 else
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6841 fi
6842
6843
6844 fi
6845 if test -z "$ac_cv_prog_NMEDIT"; then
6846 ac_ct_NMEDIT=$NMEDIT
6847 # Extract the first word of "nmedit", so it can be a program name with args.
6848 set dummy nmedit; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6852 $as_echo_n "(cached) " >&6
6853 else
6854 if test -n "$ac_ct_NMEDIT"; then
6855 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6856 else
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 for as_dir in $PATH
6859 do
6860 IFS=$as_save_IFS
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 break 2
6867 fi
6868 done
6869 done
6870 IFS=$as_save_IFS
6871
6872 fi
6873 fi
6874 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6875 if test -n "$ac_ct_NMEDIT"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6877 $as_echo "$ac_ct_NMEDIT" >&6; }
6878 else
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6881 fi
6882
6883 if test "x$ac_ct_NMEDIT" = x; then
6884 NMEDIT=":"
6885 else
6886 case $cross_compiling:$ac_tool_warned in
6887 yes:)
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned=yes ;;
6891 esac
6892 NMEDIT=$ac_ct_NMEDIT
6893 fi
6894 else
6895 NMEDIT="$ac_cv_prog_NMEDIT"
6896 fi
6897
6898 if test -n "$ac_tool_prefix"; then
6899 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6900 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902 $as_echo_n "checking for $ac_word... " >&6; }
6903 if ${ac_cv_prog_LIPO+:} false; then :
6904 $as_echo_n "(cached) " >&6
6905 else
6906 if test -n "$LIPO"; then
6907 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6908 else
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 for as_dir in $PATH
6911 do
6912 IFS=$as_save_IFS
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 break 2
6919 fi
6920 done
6921 done
6922 IFS=$as_save_IFS
6923
6924 fi
6925 fi
6926 LIPO=$ac_cv_prog_LIPO
6927 if test -n "$LIPO"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6929 $as_echo "$LIPO" >&6; }
6930 else
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6933 fi
6934
6935
6936 fi
6937 if test -z "$ac_cv_prog_LIPO"; then
6938 ac_ct_LIPO=$LIPO
6939 # Extract the first word of "lipo", so it can be a program name with args.
6940 set dummy lipo; ac_word=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6944 $as_echo_n "(cached) " >&6
6945 else
6946 if test -n "$ac_ct_LIPO"; then
6947 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6948 else
6949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 for as_dir in $PATH
6951 do
6952 IFS=$as_save_IFS
6953 test -z "$as_dir" && as_dir=.
6954 for ac_exec_ext in '' $ac_executable_extensions; do
6955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6956 ac_cv_prog_ac_ct_LIPO="lipo"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 break 2
6959 fi
6960 done
6961 done
6962 IFS=$as_save_IFS
6963
6964 fi
6965 fi
6966 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6967 if test -n "$ac_ct_LIPO"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6969 $as_echo "$ac_ct_LIPO" >&6; }
6970 else
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6973 fi
6974
6975 if test "x$ac_ct_LIPO" = x; then
6976 LIPO=":"
6977 else
6978 case $cross_compiling:$ac_tool_warned in
6979 yes:)
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6982 ac_tool_warned=yes ;;
6983 esac
6984 LIPO=$ac_ct_LIPO
6985 fi
6986 else
6987 LIPO="$ac_cv_prog_LIPO"
6988 fi
6989
6990 if test -n "$ac_tool_prefix"; then
6991 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6992 set dummy ${ac_tool_prefix}otool; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6994 $as_echo_n "checking for $ac_word... " >&6; }
6995 if ${ac_cv_prog_OTOOL+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 if test -n "$OTOOL"; then
6999 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7000 else
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 for as_dir in $PATH
7003 do
7004 IFS=$as_save_IFS
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 break 2
7011 fi
7012 done
7013 done
7014 IFS=$as_save_IFS
7015
7016 fi
7017 fi
7018 OTOOL=$ac_cv_prog_OTOOL
7019 if test -n "$OTOOL"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7021 $as_echo "$OTOOL" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7024 $as_echo "no" >&6; }
7025 fi
7026
7027
7028 fi
7029 if test -z "$ac_cv_prog_OTOOL"; then
7030 ac_ct_OTOOL=$OTOOL
7031 # Extract the first word of "otool", so it can be a program name with args.
7032 set dummy otool; ac_word=$2
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7034 $as_echo_n "checking for $ac_word... " >&6; }
7035 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7036 $as_echo_n "(cached) " >&6
7037 else
7038 if test -n "$ac_ct_OTOOL"; then
7039 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7040 else
7041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042 for as_dir in $PATH
7043 do
7044 IFS=$as_save_IFS
7045 test -z "$as_dir" && as_dir=.
7046 for ac_exec_ext in '' $ac_executable_extensions; do
7047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7048 ac_cv_prog_ac_ct_OTOOL="otool"
7049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 break 2
7051 fi
7052 done
7053 done
7054 IFS=$as_save_IFS
7055
7056 fi
7057 fi
7058 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7059 if test -n "$ac_ct_OTOOL"; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7061 $as_echo "$ac_ct_OTOOL" >&6; }
7062 else
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7064 $as_echo "no" >&6; }
7065 fi
7066
7067 if test "x$ac_ct_OTOOL" = x; then
7068 OTOOL=":"
7069 else
7070 case $cross_compiling:$ac_tool_warned in
7071 yes:)
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7074 ac_tool_warned=yes ;;
7075 esac
7076 OTOOL=$ac_ct_OTOOL
7077 fi
7078 else
7079 OTOOL="$ac_cv_prog_OTOOL"
7080 fi
7081
7082 if test -n "$ac_tool_prefix"; then
7083 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7084 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7086 $as_echo_n "checking for $ac_word... " >&6; }
7087 if ${ac_cv_prog_OTOOL64+:} false; then :
7088 $as_echo_n "(cached) " >&6
7089 else
7090 if test -n "$OTOOL64"; then
7091 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7092 else
7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 for as_dir in $PATH
7095 do
7096 IFS=$as_save_IFS
7097 test -z "$as_dir" && as_dir=.
7098 for ac_exec_ext in '' $ac_executable_extensions; do
7099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7100 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 break 2
7103 fi
7104 done
7105 done
7106 IFS=$as_save_IFS
7107
7108 fi
7109 fi
7110 OTOOL64=$ac_cv_prog_OTOOL64
7111 if test -n "$OTOOL64"; then
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7113 $as_echo "$OTOOL64" >&6; }
7114 else
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7116 $as_echo "no" >&6; }
7117 fi
7118
7119
7120 fi
7121 if test -z "$ac_cv_prog_OTOOL64"; then
7122 ac_ct_OTOOL64=$OTOOL64
7123 # Extract the first word of "otool64", so it can be a program name with args.
7124 set dummy otool64; ac_word=$2
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 $as_echo_n "checking for $ac_word... " >&6; }
7127 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7128 $as_echo_n "(cached) " >&6
7129 else
7130 if test -n "$ac_ct_OTOOL64"; then
7131 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7132 else
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 for as_dir in $PATH
7135 do
7136 IFS=$as_save_IFS
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_ac_ct_OTOOL64="otool64"
7141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 break 2
7143 fi
7144 done
7145 done
7146 IFS=$as_save_IFS
7147
7148 fi
7149 fi
7150 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7151 if test -n "$ac_ct_OTOOL64"; then
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7153 $as_echo "$ac_ct_OTOOL64" >&6; }
7154 else
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 $as_echo "no" >&6; }
7157 fi
7158
7159 if test "x$ac_ct_OTOOL64" = x; then
7160 OTOOL64=":"
7161 else
7162 case $cross_compiling:$ac_tool_warned in
7163 yes:)
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7166 ac_tool_warned=yes ;;
7167 esac
7168 OTOOL64=$ac_ct_OTOOL64
7169 fi
7170 else
7171 OTOOL64="$ac_cv_prog_OTOOL64"
7172 fi
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7201 $as_echo_n "checking for -single_module linker flag... " >&6; }
7202 if ${lt_cv_apple_cc_single_mod+:} false; then :
7203 $as_echo_n "(cached) " >&6
7204 else
7205 lt_cv_apple_cc_single_mod=no
7206 if test -z "$LT_MULTI_MODULE"; then
7207 # By default we will add the -single_module flag. You can override
7208 # by either setting the environment variable LT_MULTI_MODULE
7209 # non-empty at configure time, or by adding -multi_module to the
7210 # link flags.
7211 rm -rf libconftest.dylib*
7212 echo "int foo(void){return 1;}" > conftest.c
7213 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7214 -dynamiclib -Wl,-single_module conftest.c" >&5
7215 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7216 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7217 _lt_result=$?
7218 # If there is a non-empty error log, and "single_module"
7219 # appears in it, assume the flag caused a linker warning
7220 if test -s conftest.err && $GREP single_module conftest.err; then
7221 cat conftest.err >&5
7222 # Otherwise, if the output was created with a 0 exit code from
7223 # the compiler, it worked.
7224 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7225 lt_cv_apple_cc_single_mod=yes
7226 else
7227 cat conftest.err >&5
7228 fi
7229 rm -rf libconftest.dylib*
7230 rm -f conftest.*
7231 fi
7232 fi
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7234 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7235
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7237 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7238 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7239 $as_echo_n "(cached) " >&6
7240 else
7241 lt_cv_ld_exported_symbols_list=no
7242 save_LDFLAGS=$LDFLAGS
7243 echo "_main" > conftest.sym
7244 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7247
7248 int
7249 main ()
7250 {
7251
7252 ;
7253 return 0;
7254 }
7255 _ACEOF
7256 if ac_fn_c_try_link "$LINENO"; then :
7257 lt_cv_ld_exported_symbols_list=yes
7258 else
7259 lt_cv_ld_exported_symbols_list=no
7260 fi
7261 rm -f core conftest.err conftest.$ac_objext \
7262 conftest$ac_exeext conftest.$ac_ext
7263 LDFLAGS=$save_LDFLAGS
7264
7265 fi
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7267 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7268
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7270 $as_echo_n "checking for -force_load linker flag... " >&6; }
7271 if ${lt_cv_ld_force_load+:} false; then :
7272 $as_echo_n "(cached) " >&6
7273 else
7274 lt_cv_ld_force_load=no
7275 cat > conftest.c << _LT_EOF
7276 int forced_loaded() { return 2;}
7277 _LT_EOF
7278 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7279 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7280 echo "$AR cru libconftest.a conftest.o" >&5
7281 $AR cru libconftest.a conftest.o 2>&5
7282 echo "$RANLIB libconftest.a" >&5
7283 $RANLIB libconftest.a 2>&5
7284 cat > conftest.c << _LT_EOF
7285 int main() { return 0;}
7286 _LT_EOF
7287 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7288 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7289 _lt_result=$?
7290 if test -s conftest.err && $GREP force_load conftest.err; then
7291 cat conftest.err >&5
7292 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7293 lt_cv_ld_force_load=yes
7294 else
7295 cat conftest.err >&5
7296 fi
7297 rm -f conftest.err libconftest.a conftest conftest.c
7298 rm -rf conftest.dSYM
7299
7300 fi
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7302 $as_echo "$lt_cv_ld_force_load" >&6; }
7303 case $host_os in
7304 rhapsody* | darwin1.[012])
7305 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7306 darwin1.*)
7307 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7308 darwin*) # darwin 5.x on
7309 # if running on 10.5 or later, the deployment target defaults
7310 # to the OS version, if on x86, and 10.4, the deployment
7311 # target defaults to 10.4. Don't you love it?
7312 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7313 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7314 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7315 10.[012][,.]*)
7316 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7317 10.*)
7318 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7319 esac
7320 ;;
7321 esac
7322 if test yes = "$lt_cv_apple_cc_single_mod"; then
7323 _lt_dar_single_mod='$single_module'
7324 fi
7325 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7326 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7327 else
7328 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7329 fi
7330 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7331 _lt_dsymutil='~$DSYMUTIL $lib || :'
7332 else
7333 _lt_dsymutil=
7334 fi
7335 ;;
7336 esac
7337
7338 # func_munge_path_list VARIABLE PATH
7339 # -----------------------------------
7340 # VARIABLE is name of variable containing _space_ separated list of
7341 # directories to be munged by the contents of PATH, which is string
7342 # having a format:
7343 # "DIR[:DIR]:"
7344 # string "DIR[ DIR]" will be prepended to VARIABLE
7345 # ":DIR[:DIR]"
7346 # string "DIR[ DIR]" will be appended to VARIABLE
7347 # "DIRP[:DIRP]::[DIRA:]DIRA"
7348 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7349 # "DIRA[ DIRA]" will be appended to VARIABLE
7350 # "DIR[:DIR]"
7351 # VARIABLE will be replaced by "DIR[ DIR]"
7352 func_munge_path_list ()
7353 {
7354 case x$2 in
7355 x)
7356 ;;
7357 *:)
7358 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7359 ;;
7360 x:*)
7361 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7362 ;;
7363 *::*)
7364 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7365 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7366 ;;
7367 *)
7368 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7369 ;;
7370 esac
7371 }
7372
7373 ac_ext=c
7374 ac_cpp='$CPP $CPPFLAGS'
7375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7379 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7380 # On Suns, sometimes $CPP names a directory.
7381 if test -n "$CPP" && test -d "$CPP"; then
7382 CPP=
7383 fi
7384 if test -z "$CPP"; then
7385 if ${ac_cv_prog_CPP+:} false; then :
7386 $as_echo_n "(cached) " >&6
7387 else
7388 # Double quotes because CPP needs to be expanded
7389 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7390 do
7391 ac_preproc_ok=false
7392 for ac_c_preproc_warn_flag in '' yes
7393 do
7394 # Use a header file that comes with gcc, so configuring glibc
7395 # with a fresh cross-compiler works.
7396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7397 # <limits.h> exists even on freestanding compilers.
7398 # On the NeXT, cc -E runs the code through the compiler's parser,
7399 # not just through cpp. "Syntax error" is here to catch this case.
7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7401 /* end confdefs.h. */
7402 #ifdef __STDC__
7403 # include <limits.h>
7404 #else
7405 # include <assert.h>
7406 #endif
7407 Syntax error
7408 _ACEOF
7409 if ac_fn_c_try_cpp "$LINENO"; then :
7410
7411 else
7412 # Broken: fails on valid input.
7413 continue
7414 fi
7415 rm -f conftest.err conftest.i conftest.$ac_ext
7416
7417 # OK, works on sane cases. Now check whether nonexistent headers
7418 # can be detected and how.
7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7421 #include <ac_nonexistent.h>
7422 _ACEOF
7423 if ac_fn_c_try_cpp "$LINENO"; then :
7424 # Broken: success on invalid input.
7425 continue
7426 else
7427 # Passes both tests.
7428 ac_preproc_ok=:
7429 break
7430 fi
7431 rm -f conftest.err conftest.i conftest.$ac_ext
7432
7433 done
7434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7435 rm -f conftest.i conftest.err conftest.$ac_ext
7436 if $ac_preproc_ok; then :
7437 break
7438 fi
7439
7440 done
7441 ac_cv_prog_CPP=$CPP
7442
7443 fi
7444 CPP=$ac_cv_prog_CPP
7445 else
7446 ac_cv_prog_CPP=$CPP
7447 fi
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7449 $as_echo "$CPP" >&6; }
7450 ac_preproc_ok=false
7451 for ac_c_preproc_warn_flag in '' yes
7452 do
7453 # Use a header file that comes with gcc, so configuring glibc
7454 # with a fresh cross-compiler works.
7455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7456 # <limits.h> exists even on freestanding compilers.
7457 # On the NeXT, cc -E runs the code through the compiler's parser,
7458 # not just through cpp. "Syntax error" is here to catch this case.
7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460 /* end confdefs.h. */
7461 #ifdef __STDC__
7462 # include <limits.h>
7463 #else
7464 # include <assert.h>
7465 #endif
7466 Syntax error
7467 _ACEOF
7468 if ac_fn_c_try_cpp "$LINENO"; then :
7469
7470 else
7471 # Broken: fails on valid input.
7472 continue
7473 fi
7474 rm -f conftest.err conftest.i conftest.$ac_ext
7475
7476 # OK, works on sane cases. Now check whether nonexistent headers
7477 # can be detected and how.
7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7480 #include <ac_nonexistent.h>
7481 _ACEOF
7482 if ac_fn_c_try_cpp "$LINENO"; then :
7483 # Broken: success on invalid input.
7484 continue
7485 else
7486 # Passes both tests.
7487 ac_preproc_ok=:
7488 break
7489 fi
7490 rm -f conftest.err conftest.i conftest.$ac_ext
7491
7492 done
7493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7494 rm -f conftest.i conftest.err conftest.$ac_ext
7495 if $ac_preproc_ok; then :
7496
7497 else
7498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7500 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7501 See \`config.log' for more details" "$LINENO" 5; }
7502 fi
7503
7504 ac_ext=c
7505 ac_cpp='$CPP $CPPFLAGS'
7506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7509
7510
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7512 $as_echo_n "checking for ANSI C header files... " >&6; }
7513 if ${ac_cv_header_stdc+:} false; then :
7514 $as_echo_n "(cached) " >&6
7515 else
7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7517 /* end confdefs.h. */
7518 #include <stdlib.h>
7519 #include <stdarg.h>
7520 #include <string.h>
7521 #include <float.h>
7522
7523 int
7524 main ()
7525 {
7526
7527 ;
7528 return 0;
7529 }
7530 _ACEOF
7531 if ac_fn_c_try_compile "$LINENO"; then :
7532 ac_cv_header_stdc=yes
7533 else
7534 ac_cv_header_stdc=no
7535 fi
7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7537
7538 if test $ac_cv_header_stdc = yes; then
7539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7542 #include <string.h>
7543
7544 _ACEOF
7545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7546 $EGREP "memchr" >/dev/null 2>&1; then :
7547
7548 else
7549 ac_cv_header_stdc=no
7550 fi
7551 rm -f conftest*
7552
7553 fi
7554
7555 if test $ac_cv_header_stdc = yes; then
7556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 #include <stdlib.h>
7560
7561 _ACEOF
7562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7563 $EGREP "free" >/dev/null 2>&1; then :
7564
7565 else
7566 ac_cv_header_stdc=no
7567 fi
7568 rm -f conftest*
7569
7570 fi
7571
7572 if test $ac_cv_header_stdc = yes; then
7573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7574 if test "$cross_compiling" = yes; then :
7575 :
7576 else
7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7579 #include <ctype.h>
7580 #include <stdlib.h>
7581 #if ((' ' & 0x0FF) == 0x020)
7582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7584 #else
7585 # define ISLOWER(c) \
7586 (('a' <= (c) && (c) <= 'i') \
7587 || ('j' <= (c) && (c) <= 'r') \
7588 || ('s' <= (c) && (c) <= 'z'))
7589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7590 #endif
7591
7592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7593 int
7594 main ()
7595 {
7596 int i;
7597 for (i = 0; i < 256; i++)
7598 if (XOR (islower (i), ISLOWER (i))
7599 || toupper (i) != TOUPPER (i))
7600 return 2;
7601 return 0;
7602 }
7603 _ACEOF
7604 if ac_fn_c_try_run "$LINENO"; then :
7605
7606 else
7607 ac_cv_header_stdc=no
7608 fi
7609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7610 conftest.$ac_objext conftest.beam conftest.$ac_ext
7611 fi
7612
7613 fi
7614 fi
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7616 $as_echo "$ac_cv_header_stdc" >&6; }
7617 if test $ac_cv_header_stdc = yes; then
7618
7619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7620
7621 fi
7622
7623 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7624 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7625 inttypes.h stdint.h unistd.h
7626 do :
7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7629 "
7630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7631 cat >>confdefs.h <<_ACEOF
7632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7633 _ACEOF
7634
7635 fi
7636
7637 done
7638
7639
7640 for ac_header in dlfcn.h
7641 do :
7642 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7643 "
7644 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7645 cat >>confdefs.h <<_ACEOF
7646 #define HAVE_DLFCN_H 1
7647 _ACEOF
7648
7649 fi
7650
7651 done
7652
7653
7654
7655
7656
7657 # Set options
7658
7659
7660
7661 enable_dlopen=no
7662
7663
7664 enable_win32_dll=no
7665
7666
7667 # Check whether --enable-shared was given.
7668 if test "${enable_shared+set}" = set; then :
7669 enableval=$enable_shared; p=${PACKAGE-default}
7670 case $enableval in
7671 yes) enable_shared=yes ;;
7672 no) enable_shared=no ;;
7673 *)
7674 enable_shared=no
7675 # Look at the argument we got. We use all the common list separators.
7676 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7677 for pkg in $enableval; do
7678 IFS=$lt_save_ifs
7679 if test "X$pkg" = "X$p"; then
7680 enable_shared=yes
7681 fi
7682 done
7683 IFS=$lt_save_ifs
7684 ;;
7685 esac
7686 else
7687 enable_shared=yes
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698 # Check whether --enable-static was given.
7699 if test "${enable_static+set}" = set; then :
7700 enableval=$enable_static; p=${PACKAGE-default}
7701 case $enableval in
7702 yes) enable_static=yes ;;
7703 no) enable_static=no ;;
7704 *)
7705 enable_static=no
7706 # Look at the argument we got. We use all the common list separators.
7707 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7708 for pkg in $enableval; do
7709 IFS=$lt_save_ifs
7710 if test "X$pkg" = "X$p"; then
7711 enable_static=yes
7712 fi
7713 done
7714 IFS=$lt_save_ifs
7715 ;;
7716 esac
7717 else
7718 enable_static=yes
7719 fi
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730 # Check whether --with-pic was given.
7731 if test "${with_pic+set}" = set; then :
7732 withval=$with_pic; lt_p=${PACKAGE-default}
7733 case $withval in
7734 yes|no) pic_mode=$withval ;;
7735 *)
7736 pic_mode=default
7737 # Look at the argument we got. We use all the common list separators.
7738 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7739 for lt_pkg in $withval; do
7740 IFS=$lt_save_ifs
7741 if test "X$lt_pkg" = "X$lt_p"; then
7742 pic_mode=yes
7743 fi
7744 done
7745 IFS=$lt_save_ifs
7746 ;;
7747 esac
7748 else
7749 pic_mode=default
7750 fi
7751
7752
7753
7754
7755
7756
7757
7758
7759 # Check whether --enable-fast-install was given.
7760 if test "${enable_fast_install+set}" = set; then :
7761 enableval=$enable_fast_install; p=${PACKAGE-default}
7762 case $enableval in
7763 yes) enable_fast_install=yes ;;
7764 no) enable_fast_install=no ;;
7765 *)
7766 enable_fast_install=no
7767 # Look at the argument we got. We use all the common list separators.
7768 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7769 for pkg in $enableval; do
7770 IFS=$lt_save_ifs
7771 if test "X$pkg" = "X$p"; then
7772 enable_fast_install=yes
7773 fi
7774 done
7775 IFS=$lt_save_ifs
7776 ;;
7777 esac
7778 else
7779 enable_fast_install=yes
7780 fi
7781
7782
7783
7784
7785
7786
7787
7788
7789 shared_archive_member_spec=
7790 case $host,$enable_shared in
7791 power*-*-aix[5-9]*,yes)
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7793 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7794
7795 # Check whether --with-aix-soname was given.
7796 if test "${with_aix_soname+set}" = set; then :
7797 withval=$with_aix_soname; case $withval in
7798 aix|svr4|both)
7799 ;;
7800 *)
7801 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7802 ;;
7803 esac
7804 lt_cv_with_aix_soname=$with_aix_soname
7805 else
7806 if ${lt_cv_with_aix_soname+:} false; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_with_aix_soname=aix
7810 fi
7811
7812 with_aix_soname=$lt_cv_with_aix_soname
7813 fi
7814
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7816 $as_echo "$with_aix_soname" >&6; }
7817 if test aix != "$with_aix_soname"; then
7818 # For the AIX way of multilib, we name the shared archive member
7819 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7820 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7821 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7822 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7823 if test 64 = "${OBJECT_MODE-32}"; then
7824 shared_archive_member_spec=shr_64
7825 else
7826 shared_archive_member_spec=shr
7827 fi
7828 fi
7829 ;;
7830 *)
7831 with_aix_soname=aix
7832 ;;
7833 esac
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844 # This can be used to rebuild libtool when needed
7845 LIBTOOL_DEPS=$ltmain
7846
7847 # Always use our own libtool.
7848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879 test -z "$LN_S" && LN_S="ln -s"
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894 if test -n "${ZSH_VERSION+set}"; then
7895 setopt NO_GLOB_SUBST
7896 fi
7897
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7899 $as_echo_n "checking for objdir... " >&6; }
7900 if ${lt_cv_objdir+:} false; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 rm -f .libs 2>/dev/null
7904 mkdir .libs 2>/dev/null
7905 if test -d .libs; then
7906 lt_cv_objdir=.libs
7907 else
7908 # MS-DOS does not allow filenames that begin with a dot.
7909 lt_cv_objdir=_libs
7910 fi
7911 rmdir .libs 2>/dev/null
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7914 $as_echo "$lt_cv_objdir" >&6; }
7915 objdir=$lt_cv_objdir
7916
7917
7918
7919
7920
7921 cat >>confdefs.h <<_ACEOF
7922 #define LT_OBJDIR "$lt_cv_objdir/"
7923 _ACEOF
7924
7925
7926
7927
7928 case $host_os in
7929 aix3*)
7930 # AIX sometimes has problems with the GCC collect2 program. For some
7931 # reason, if we set the COLLECT_NAMES environment variable, the problems
7932 # vanish in a puff of smoke.
7933 if test set != "${COLLECT_NAMES+set}"; then
7934 COLLECT_NAMES=
7935 export COLLECT_NAMES
7936 fi
7937 ;;
7938 esac
7939
7940 # Global variables:
7941 ofile=libtool
7942 can_build_shared=yes
7943
7944 # All known linkers require a '.a' archive for static linking (except MSVC,
7945 # which needs '.lib').
7946 libext=a
7947
7948 with_gnu_ld=$lt_cv_prog_gnu_ld
7949
7950 old_CC=$CC
7951 old_CFLAGS=$CFLAGS
7952
7953 # Set sane defaults for various variables
7954 test -z "$CC" && CC=cc
7955 test -z "$LTCC" && LTCC=$CC
7956 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7957 test -z "$LD" && LD=ld
7958 test -z "$ac_objext" && ac_objext=o
7959
7960 func_cc_basename $compiler
7961 cc_basename=$func_cc_basename_result
7962
7963
7964 # Only perform the check for file, if the check method requires it
7965 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7966 case $deplibs_check_method in
7967 file_magic*)
7968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7970 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7971 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7972 $as_echo_n "(cached) " >&6
7973 else
7974 case $MAGIC_CMD in
7975 [\\/*] | ?:[\\/]*)
7976 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7977 ;;
7978 *)
7979 lt_save_MAGIC_CMD=$MAGIC_CMD
7980 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7981 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7982 for ac_dir in $ac_dummy; do
7983 IFS=$lt_save_ifs
7984 test -z "$ac_dir" && ac_dir=.
7985 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7986 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
7987 if test -n "$file_magic_test_file"; then
7988 case $deplibs_check_method in
7989 "file_magic "*)
7990 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7991 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7992 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7993 $EGREP "$file_magic_regex" > /dev/null; then
7994 :
7995 else
7996 cat <<_LT_EOF 1>&2
7997
7998 *** Warning: the command libtool uses to detect shared libraries,
7999 *** $file_magic_cmd, produces output that libtool cannot recognize.
8000 *** The result is that libtool may fail to recognize shared libraries
8001 *** as such. This will affect the creation of libtool libraries that
8002 *** depend on shared libraries, but programs linked with such libtool
8003 *** libraries will work regardless of this problem. Nevertheless, you
8004 *** may want to report the problem to your system manager and/or to
8005 *** [email protected]
8006
8007 _LT_EOF
8008 fi ;;
8009 esac
8010 fi
8011 break
8012 fi
8013 done
8014 IFS=$lt_save_ifs
8015 MAGIC_CMD=$lt_save_MAGIC_CMD
8016 ;;
8017 esac
8018 fi
8019
8020 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8021 if test -n "$MAGIC_CMD"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8023 $as_echo "$MAGIC_CMD" >&6; }
8024 else
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8027 fi
8028
8029
8030
8031
8032
8033 if test -z "$lt_cv_path_MAGIC_CMD"; then
8034 if test -n "$ac_tool_prefix"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8036 $as_echo_n "checking for file... " >&6; }
8037 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8038 $as_echo_n "(cached) " >&6
8039 else
8040 case $MAGIC_CMD in
8041 [\\/*] | ?:[\\/]*)
8042 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8043 ;;
8044 *)
8045 lt_save_MAGIC_CMD=$MAGIC_CMD
8046 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8048 for ac_dir in $ac_dummy; do
8049 IFS=$lt_save_ifs
8050 test -z "$ac_dir" && ac_dir=.
8051 if test -f "$ac_dir/file"; then
8052 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8053 if test -n "$file_magic_test_file"; then
8054 case $deplibs_check_method in
8055 "file_magic "*)
8056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8057 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8059 $EGREP "$file_magic_regex" > /dev/null; then
8060 :
8061 else
8062 cat <<_LT_EOF 1>&2
8063
8064 *** Warning: the command libtool uses to detect shared libraries,
8065 *** $file_magic_cmd, produces output that libtool cannot recognize.
8066 *** The result is that libtool may fail to recognize shared libraries
8067 *** as such. This will affect the creation of libtool libraries that
8068 *** depend on shared libraries, but programs linked with such libtool
8069 *** libraries will work regardless of this problem. Nevertheless, you
8070 *** may want to report the problem to your system manager and/or to
8071 *** [email protected]
8072
8073 _LT_EOF
8074 fi ;;
8075 esac
8076 fi
8077 break
8078 fi
8079 done
8080 IFS=$lt_save_ifs
8081 MAGIC_CMD=$lt_save_MAGIC_CMD
8082 ;;
8083 esac
8084 fi
8085
8086 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8087 if test -n "$MAGIC_CMD"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8089 $as_echo "$MAGIC_CMD" >&6; }
8090 else
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8093 fi
8094
8095
8096 else
8097 MAGIC_CMD=:
8098 fi
8099 fi
8100
8101 fi
8102 ;;
8103 esac
8104
8105 # Use C for the default configuration in the libtool script
8106
8107 lt_save_CC=$CC
8108 ac_ext=c
8109 ac_cpp='$CPP $CPPFLAGS'
8110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8113
8114
8115 # Source file extension for C test sources.
8116 ac_ext=c
8117
8118 # Object file extension for compiled C test sources.
8119 objext=o
8120 objext=$objext
8121
8122 # Code to be used in simple compile tests
8123 lt_simple_compile_test_code="int some_variable = 0;"
8124
8125 # Code to be used in simple link tests
8126 lt_simple_link_test_code='int main(){return(0);}'
8127
8128
8129
8130
8131
8132
8133
8134 # If no C compiler was specified, use CC.
8135 LTCC=${LTCC-"$CC"}
8136
8137 # If no C compiler flags were specified, use CFLAGS.
8138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8139
8140 # Allow CC to be a program name with arguments.
8141 compiler=$CC
8142
8143 # Save the default compiler, since it gets overwritten when the other
8144 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8145 compiler_DEFAULT=$CC
8146
8147 # save warnings/boilerplate of simple test code
8148 ac_outfile=conftest.$ac_objext
8149 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8151 _lt_compiler_boilerplate=`cat conftest.err`
8152 $RM conftest*
8153
8154 ac_outfile=conftest.$ac_objext
8155 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8157 _lt_linker_boilerplate=`cat conftest.err`
8158 $RM -r conftest*
8159
8160
8161 ## CAVEAT EMPTOR:
8162 ## There is no encapsulation within the following macros, do not change
8163 ## the running order or otherwise move them around unless you know exactly
8164 ## what you are doing...
8165 if test -n "$compiler"; then
8166
8167 lt_prog_compiler_no_builtin_flag=
8168
8169 if test yes = "$GCC"; then
8170 case $cc_basename in
8171 nvcc*)
8172 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8173 *)
8174 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8175 esac
8176
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8178 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8179 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8180 $as_echo_n "(cached) " >&6
8181 else
8182 lt_cv_prog_compiler_rtti_exceptions=no
8183 ac_outfile=conftest.$ac_objext
8184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8185 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8186 # Insert the option either (1) after the last *FLAGS variable, or
8187 # (2) before a word containing "conftest.", or (3) at the end.
8188 # Note that $ac_compile itself does not contain backslashes and begins
8189 # with a dollar sign (not a hyphen), so the echo should work correctly.
8190 # The option is referenced via a variable to avoid confusing sed.
8191 lt_compile=`echo "$ac_compile" | $SED \
8192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8194 -e 's:$: $lt_compiler_flag:'`
8195 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8196 (eval "$lt_compile" 2>conftest.err)
8197 ac_status=$?
8198 cat conftest.err >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 if (exit $ac_status) && test -s "$ac_outfile"; then
8201 # The compiler can only warn and ignore the option if not recognized
8202 # So say no if there are warnings other than the usual output.
8203 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8205 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8206 lt_cv_prog_compiler_rtti_exceptions=yes
8207 fi
8208 fi
8209 $RM conftest*
8210
8211 fi
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8213 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8214
8215 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8216 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8217 else
8218 :
8219 fi
8220
8221 fi
8222
8223
8224
8225
8226
8227
8228 lt_prog_compiler_wl=
8229 lt_prog_compiler_pic=
8230 lt_prog_compiler_static=
8231
8232
8233 if test yes = "$GCC"; then
8234 lt_prog_compiler_wl='-Wl,'
8235 lt_prog_compiler_static='-static'
8236
8237 case $host_os in
8238 aix*)
8239 # All AIX code is PIC.
8240 if test ia64 = "$host_cpu"; then
8241 # AIX 5 now supports IA64 processor
8242 lt_prog_compiler_static='-Bstatic'
8243 fi
8244 lt_prog_compiler_pic='-fPIC'
8245 ;;
8246
8247 amigaos*)
8248 case $host_cpu in
8249 powerpc)
8250 # see comment about AmigaOS4 .so support
8251 lt_prog_compiler_pic='-fPIC'
8252 ;;
8253 m68k)
8254 # FIXME: we need at least 68020 code to build shared libraries, but
8255 # adding the '-m68020' flag to GCC prevents building anything better,
8256 # like '-m68040'.
8257 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8258 ;;
8259 esac
8260 ;;
8261
8262 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8263 # PIC is the default for these OSes.
8264 ;;
8265
8266 mingw* | cygwin* | pw32* | os2* | cegcc*)
8267 # This hack is so that the source file can tell whether it is being
8268 # built for inclusion in a dll (and should export symbols for example).
8269 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8270 # (--disable-auto-import) libraries
8271 lt_prog_compiler_pic='-DDLL_EXPORT'
8272 case $host_os in
8273 os2*)
8274 lt_prog_compiler_static='$wl-static'
8275 ;;
8276 esac
8277 ;;
8278
8279 darwin* | rhapsody*)
8280 # PIC is the default on this platform
8281 # Common symbols not allowed in MH_DYLIB files
8282 lt_prog_compiler_pic='-fno-common'
8283 ;;
8284
8285 haiku*)
8286 # PIC is the default for Haiku.
8287 # The "-static" flag exists, but is broken.
8288 lt_prog_compiler_static=
8289 ;;
8290
8291 hpux*)
8292 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8293 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8294 # sets the default TLS model and affects inlining.
8295 case $host_cpu in
8296 hppa*64*)
8297 # +Z the default
8298 ;;
8299 *)
8300 lt_prog_compiler_pic='-fPIC'
8301 ;;
8302 esac
8303 ;;
8304
8305 interix[3-9]*)
8306 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8307 # Instead, we relocate shared libraries at runtime.
8308 ;;
8309
8310 msdosdjgpp*)
8311 # Just because we use GCC doesn't mean we suddenly get shared libraries
8312 # on systems that don't support them.
8313 lt_prog_compiler_can_build_shared=no
8314 enable_shared=no
8315 ;;
8316
8317 *nto* | *qnx*)
8318 # QNX uses GNU C++, but need to define -shared option too, otherwise
8319 # it will coredump.
8320 lt_prog_compiler_pic='-fPIC -shared'
8321 ;;
8322
8323 sysv4*MP*)
8324 if test -d /usr/nec; then
8325 lt_prog_compiler_pic=-Kconform_pic
8326 fi
8327 ;;
8328
8329 *)
8330 lt_prog_compiler_pic='-fPIC'
8331 ;;
8332 esac
8333
8334 case $cc_basename in
8335 nvcc*) # Cuda Compiler Driver 2.2
8336 lt_prog_compiler_wl='-Xlinker '
8337 if test -n "$lt_prog_compiler_pic"; then
8338 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8339 fi
8340 ;;
8341 esac
8342 else
8343 # PORTME Check for flag to pass linker flags through the system compiler.
8344 case $host_os in
8345 aix*)
8346 lt_prog_compiler_wl='-Wl,'
8347 if test ia64 = "$host_cpu"; then
8348 # AIX 5 now supports IA64 processor
8349 lt_prog_compiler_static='-Bstatic'
8350 else
8351 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8352 fi
8353 ;;
8354
8355 darwin* | rhapsody*)
8356 # PIC is the default on this platform
8357 # Common symbols not allowed in MH_DYLIB files
8358 lt_prog_compiler_pic='-fno-common'
8359 case $cc_basename in
8360 nagfor*)
8361 # NAG Fortran compiler
8362 lt_prog_compiler_wl='-Wl,-Wl,,'
8363 lt_prog_compiler_pic='-PIC'
8364 lt_prog_compiler_static='-Bstatic'
8365 ;;
8366 esac
8367 ;;
8368
8369 mingw* | cygwin* | pw32* | os2* | cegcc*)
8370 # This hack is so that the source file can tell whether it is being
8371 # built for inclusion in a dll (and should export symbols for example).
8372 lt_prog_compiler_pic='-DDLL_EXPORT'
8373 case $host_os in
8374 os2*)
8375 lt_prog_compiler_static='$wl-static'
8376 ;;
8377 esac
8378 ;;
8379
8380 hpux9* | hpux10* | hpux11*)
8381 lt_prog_compiler_wl='-Wl,'
8382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8383 # not for PA HP-UX.
8384 case $host_cpu in
8385 hppa*64*|ia64*)
8386 # +Z the default
8387 ;;
8388 *)
8389 lt_prog_compiler_pic='+Z'
8390 ;;
8391 esac
8392 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8393 lt_prog_compiler_static='$wl-a ${wl}archive'
8394 ;;
8395
8396 irix5* | irix6* | nonstopux*)
8397 lt_prog_compiler_wl='-Wl,'
8398 # PIC (with -KPIC) is the default.
8399 lt_prog_compiler_static='-non_shared'
8400 ;;
8401
8402 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8403 case $cc_basename in
8404 # old Intel for x86_64, which still supported -KPIC.
8405 ecc*)
8406 lt_prog_compiler_wl='-Wl,'
8407 lt_prog_compiler_pic='-KPIC'
8408 lt_prog_compiler_static='-static'
8409 ;;
8410 # icc used to be incompatible with GCC.
8411 # ICC 10 doesn't accept -KPIC any more.
8412 icc* | ifort*)
8413 lt_prog_compiler_wl='-Wl,'
8414 lt_prog_compiler_pic='-fPIC'
8415 lt_prog_compiler_static='-static'
8416 ;;
8417 # Lahey Fortran 8.1.
8418 lf95*)
8419 lt_prog_compiler_wl='-Wl,'
8420 lt_prog_compiler_pic='--shared'
8421 lt_prog_compiler_static='--static'
8422 ;;
8423 nagfor*)
8424 # NAG Fortran compiler
8425 lt_prog_compiler_wl='-Wl,-Wl,,'
8426 lt_prog_compiler_pic='-PIC'
8427 lt_prog_compiler_static='-Bstatic'
8428 ;;
8429 tcc*)
8430 # Fabrice Bellard et al's Tiny C Compiler
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='-fPIC'
8433 lt_prog_compiler_static='-static'
8434 ;;
8435 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8436 # Portland Group compilers (*not* the Pentium gcc compiler,
8437 # which looks to be a dead project)
8438 lt_prog_compiler_wl='-Wl,'
8439 lt_prog_compiler_pic='-fpic'
8440 lt_prog_compiler_static='-Bstatic'
8441 ;;
8442 ccc*)
8443 lt_prog_compiler_wl='-Wl,'
8444 # All Alpha code is PIC.
8445 lt_prog_compiler_static='-non_shared'
8446 ;;
8447 xl* | bgxl* | bgf* | mpixl*)
8448 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-qpic'
8451 lt_prog_compiler_static='-qstaticlink'
8452 ;;
8453 *)
8454 case `$CC -V 2>&1 | sed 5q` in
8455 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8456 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8457 lt_prog_compiler_pic='-KPIC'
8458 lt_prog_compiler_static='-Bstatic'
8459 lt_prog_compiler_wl=''
8460 ;;
8461 *Sun\ F* | *Sun*Fortran*)
8462 lt_prog_compiler_pic='-KPIC'
8463 lt_prog_compiler_static='-Bstatic'
8464 lt_prog_compiler_wl='-Qoption ld '
8465 ;;
8466 *Sun\ C*)
8467 # Sun C 5.9
8468 lt_prog_compiler_pic='-KPIC'
8469 lt_prog_compiler_static='-Bstatic'
8470 lt_prog_compiler_wl='-Wl,'
8471 ;;
8472 *Intel*\ [CF]*Compiler*)
8473 lt_prog_compiler_wl='-Wl,'
8474 lt_prog_compiler_pic='-fPIC'
8475 lt_prog_compiler_static='-static'
8476 ;;
8477 *Portland\ Group*)
8478 lt_prog_compiler_wl='-Wl,'
8479 lt_prog_compiler_pic='-fpic'
8480 lt_prog_compiler_static='-Bstatic'
8481 ;;
8482 esac
8483 ;;
8484 esac
8485 ;;
8486
8487 newsos6)
8488 lt_prog_compiler_pic='-KPIC'
8489 lt_prog_compiler_static='-Bstatic'
8490 ;;
8491
8492 *nto* | *qnx*)
8493 # QNX uses GNU C++, but need to define -shared option too, otherwise
8494 # it will coredump.
8495 lt_prog_compiler_pic='-fPIC -shared'
8496 ;;
8497
8498 osf3* | osf4* | osf5*)
8499 lt_prog_compiler_wl='-Wl,'
8500 # All OSF/1 code is PIC.
8501 lt_prog_compiler_static='-non_shared'
8502 ;;
8503
8504 rdos*)
8505 lt_prog_compiler_static='-non_shared'
8506 ;;
8507
8508 solaris*)
8509 lt_prog_compiler_pic='-KPIC'
8510 lt_prog_compiler_static='-Bstatic'
8511 case $cc_basename in
8512 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8513 lt_prog_compiler_wl='-Qoption ld ';;
8514 *)
8515 lt_prog_compiler_wl='-Wl,';;
8516 esac
8517 ;;
8518
8519 sunos4*)
8520 lt_prog_compiler_wl='-Qoption ld '
8521 lt_prog_compiler_pic='-PIC'
8522 lt_prog_compiler_static='-Bstatic'
8523 ;;
8524
8525 sysv4 | sysv4.2uw2* | sysv4.3*)
8526 lt_prog_compiler_wl='-Wl,'
8527 lt_prog_compiler_pic='-KPIC'
8528 lt_prog_compiler_static='-Bstatic'
8529 ;;
8530
8531 sysv4*MP*)
8532 if test -d /usr/nec; then
8533 lt_prog_compiler_pic='-Kconform_pic'
8534 lt_prog_compiler_static='-Bstatic'
8535 fi
8536 ;;
8537
8538 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_pic='-KPIC'
8541 lt_prog_compiler_static='-Bstatic'
8542 ;;
8543
8544 unicos*)
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_can_build_shared=no
8547 ;;
8548
8549 uts4*)
8550 lt_prog_compiler_pic='-pic'
8551 lt_prog_compiler_static='-Bstatic'
8552 ;;
8553
8554 *)
8555 lt_prog_compiler_can_build_shared=no
8556 ;;
8557 esac
8558 fi
8559
8560 case $host_os in
8561 # For platforms that do not support PIC, -DPIC is meaningless:
8562 *djgpp*)
8563 lt_prog_compiler_pic=
8564 ;;
8565 *)
8566 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8567 ;;
8568 esac
8569
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8571 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8572 if ${lt_cv_prog_compiler_pic+:} false; then :
8573 $as_echo_n "(cached) " >&6
8574 else
8575 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8576 fi
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8578 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8579 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8580
8581 #
8582 # Check to make sure the PIC flag actually works.
8583 #
8584 if test -n "$lt_prog_compiler_pic"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8586 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8587 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 lt_cv_prog_compiler_pic_works=no
8591 ac_outfile=conftest.$ac_objext
8592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8593 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8594 # Insert the option either (1) after the last *FLAGS variable, or
8595 # (2) before a word containing "conftest.", or (3) at the end.
8596 # Note that $ac_compile itself does not contain backslashes and begins
8597 # with a dollar sign (not a hyphen), so the echo should work correctly.
8598 # The option is referenced via a variable to avoid confusing sed.
8599 lt_compile=`echo "$ac_compile" | $SED \
8600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8602 -e 's:$: $lt_compiler_flag:'`
8603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8604 (eval "$lt_compile" 2>conftest.err)
8605 ac_status=$?
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 if (exit $ac_status) && test -s "$ac_outfile"; then
8609 # The compiler can only warn and ignore the option if not recognized
8610 # So say no if there are warnings other than the usual output.
8611 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8612 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8613 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8614 lt_cv_prog_compiler_pic_works=yes
8615 fi
8616 fi
8617 $RM conftest*
8618
8619 fi
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8621 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8622
8623 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8624 case $lt_prog_compiler_pic in
8625 "" | " "*) ;;
8626 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8627 esac
8628 else
8629 lt_prog_compiler_pic=
8630 lt_prog_compiler_can_build_shared=no
8631 fi
8632
8633 fi
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645 #
8646 # Check to make sure the static flag actually works.
8647 #
8648 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8650 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8651 if ${lt_cv_prog_compiler_static_works+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 lt_cv_prog_compiler_static_works=no
8655 save_LDFLAGS=$LDFLAGS
8656 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8657 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8658 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8659 # The linker can only warn and ignore the option if not recognized
8660 # So say no if there are warnings
8661 if test -s conftest.err; then
8662 # Append any errors to the config.log.
8663 cat conftest.err 1>&5
8664 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8665 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666 if diff conftest.exp conftest.er2 >/dev/null; then
8667 lt_cv_prog_compiler_static_works=yes
8668 fi
8669 else
8670 lt_cv_prog_compiler_static_works=yes
8671 fi
8672 fi
8673 $RM -r conftest*
8674 LDFLAGS=$save_LDFLAGS
8675
8676 fi
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8678 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8679
8680 if test yes = "$lt_cv_prog_compiler_static_works"; then
8681 :
8682 else
8683 lt_prog_compiler_static=
8684 fi
8685
8686
8687
8688
8689
8690
8691
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8693 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8694 if ${lt_cv_prog_compiler_c_o+:} false; then :
8695 $as_echo_n "(cached) " >&6
8696 else
8697 lt_cv_prog_compiler_c_o=no
8698 $RM -r conftest 2>/dev/null
8699 mkdir conftest
8700 cd conftest
8701 mkdir out
8702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8703
8704 lt_compiler_flag="-o out/conftest2.$ac_objext"
8705 # Insert the option either (1) after the last *FLAGS variable, or
8706 # (2) before a word containing "conftest.", or (3) at the end.
8707 # Note that $ac_compile itself does not contain backslashes and begins
8708 # with a dollar sign (not a hyphen), so the echo should work correctly.
8709 lt_compile=`echo "$ac_compile" | $SED \
8710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712 -e 's:$: $lt_compiler_flag:'`
8713 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8714 (eval "$lt_compile" 2>out/conftest.err)
8715 ac_status=$?
8716 cat out/conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8719 then
8720 # The compiler can only warn and ignore the option if not recognized
8721 # So say no if there are warnings
8722 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8723 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8724 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8725 lt_cv_prog_compiler_c_o=yes
8726 fi
8727 fi
8728 chmod u+w . 2>&5
8729 $RM conftest*
8730 # SGI C++ compiler will create directory out/ii_files/ for
8731 # template instantiation
8732 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8733 $RM out/* && rmdir out
8734 cd ..
8735 $RM -r conftest
8736 $RM conftest*
8737
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8740 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8741
8742
8743
8744
8745
8746
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8748 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8749 if ${lt_cv_prog_compiler_c_o+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 lt_cv_prog_compiler_c_o=no
8753 $RM -r conftest 2>/dev/null
8754 mkdir conftest
8755 cd conftest
8756 mkdir out
8757 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8758
8759 lt_compiler_flag="-o out/conftest2.$ac_objext"
8760 # Insert the option either (1) after the last *FLAGS variable, or
8761 # (2) before a word containing "conftest.", or (3) at the end.
8762 # Note that $ac_compile itself does not contain backslashes and begins
8763 # with a dollar sign (not a hyphen), so the echo should work correctly.
8764 lt_compile=`echo "$ac_compile" | $SED \
8765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8767 -e 's:$: $lt_compiler_flag:'`
8768 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8769 (eval "$lt_compile" 2>out/conftest.err)
8770 ac_status=$?
8771 cat out/conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8774 then
8775 # The compiler can only warn and ignore the option if not recognized
8776 # So say no if there are warnings
8777 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8778 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8779 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8780 lt_cv_prog_compiler_c_o=yes
8781 fi
8782 fi
8783 chmod u+w . 2>&5
8784 $RM conftest*
8785 # SGI C++ compiler will create directory out/ii_files/ for
8786 # template instantiation
8787 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8788 $RM out/* && rmdir out
8789 cd ..
8790 $RM -r conftest
8791 $RM conftest*
8792
8793 fi
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8795 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8796
8797
8798
8799
8800 hard_links=nottested
8801 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8802 # do not overwrite the value of need_locks provided by the user
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8804 $as_echo_n "checking if we can lock with hard links... " >&6; }
8805 hard_links=yes
8806 $RM conftest*
8807 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8808 touch conftest.a
8809 ln conftest.a conftest.b 2>&5 || hard_links=no
8810 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8812 $as_echo "$hard_links" >&6; }
8813 if test no = "$hard_links"; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8815 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8816 need_locks=warn
8817 fi
8818 else
8819 need_locks=no
8820 fi
8821
8822
8823
8824
8825
8826
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8828 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8829
8830 runpath_var=
8831 allow_undefined_flag=
8832 always_export_symbols=no
8833 archive_cmds=
8834 archive_expsym_cmds=
8835 compiler_needs_object=no
8836 enable_shared_with_static_runtimes=no
8837 export_dynamic_flag_spec=
8838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8839 hardcode_automatic=no
8840 hardcode_direct=no
8841 hardcode_direct_absolute=no
8842 hardcode_libdir_flag_spec=
8843 hardcode_libdir_separator=
8844 hardcode_minus_L=no
8845 hardcode_shlibpath_var=unsupported
8846 inherit_rpath=no
8847 link_all_deplibs=unknown
8848 module_cmds=
8849 module_expsym_cmds=
8850 old_archive_from_new_cmds=
8851 old_archive_from_expsyms_cmds=
8852 thread_safe_flag_spec=
8853 whole_archive_flag_spec=
8854 # include_expsyms should be a list of space-separated symbols to be *always*
8855 # included in the symbol list
8856 include_expsyms=
8857 # exclude_expsyms can be an extended regexp of symbols to exclude
8858 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8859 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8860 # as well as any symbol that contains 'd'.
8861 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8862 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8863 # platforms (ab)use it in PIC code, but their linkers get confused if
8864 # the symbol is explicitly referenced. Since portable code cannot
8865 # rely on this symbol name, it's probably fine to never include it in
8866 # preloaded symbol tables.
8867 # Exclude shared library initialization/finalization symbols.
8868 extract_expsyms_cmds=
8869
8870 case $host_os in
8871 cygwin* | mingw* | pw32* | cegcc*)
8872 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8873 # When not using gcc, we currently assume that we are using
8874 # Microsoft Visual C++.
8875 if test yes != "$GCC"; then
8876 with_gnu_ld=no
8877 fi
8878 ;;
8879 interix*)
8880 # we just hope/assume this is gcc and not c89 (= MSVC++)
8881 with_gnu_ld=yes
8882 ;;
8883 openbsd* | bitrig*)
8884 with_gnu_ld=no
8885 ;;
8886 linux* | k*bsd*-gnu | gnu*)
8887 link_all_deplibs=no
8888 ;;
8889 esac
8890
8891 ld_shlibs=yes
8892
8893 # On some targets, GNU ld is compatible enough with the native linker
8894 # that we're better off using the native interface for both.
8895 lt_use_gnu_ld_interface=no
8896 if test yes = "$with_gnu_ld"; then
8897 case $host_os in
8898 aix*)
8899 # The AIX port of GNU ld has always aspired to compatibility
8900 # with the native linker. However, as the warning in the GNU ld
8901 # block says, versions before 2.19.5* couldn't really create working
8902 # shared libraries, regardless of the interface used.
8903 case `$LD -v 2>&1` in
8904 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8905 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8906 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8907 *)
8908 lt_use_gnu_ld_interface=yes
8909 ;;
8910 esac
8911 ;;
8912 *)
8913 lt_use_gnu_ld_interface=yes
8914 ;;
8915 esac
8916 fi
8917
8918 if test yes = "$lt_use_gnu_ld_interface"; then
8919 # If archive_cmds runs LD, not CC, wlarc should be empty
8920 wlarc='$wl'
8921
8922 # Set some defaults for GNU ld with shared library support. These
8923 # are reset later if shared libraries are not supported. Putting them
8924 # here allows them to be overridden if necessary.
8925 runpath_var=LD_RUN_PATH
8926 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8927 export_dynamic_flag_spec='$wl--export-dynamic'
8928 # ancient GNU ld didn't support --whole-archive et. al.
8929 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8930 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8931 else
8932 whole_archive_flag_spec=
8933 fi
8934 supports_anon_versioning=no
8935 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8936 *GNU\ gold*) supports_anon_versioning=yes ;;
8937 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8938 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8939 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8940 *\ 2.11.*) ;; # other 2.11 versions
8941 *) supports_anon_versioning=yes ;;
8942 esac
8943
8944 # See if GNU ld supports shared libraries.
8945 case $host_os in
8946 aix[3-9]*)
8947 # On AIX/PPC, the GNU linker is very broken
8948 if test ia64 != "$host_cpu"; then
8949 ld_shlibs=no
8950 cat <<_LT_EOF 1>&2
8951
8952 *** Warning: the GNU linker, at least up to release 2.19, is reported
8953 *** to be unable to reliably create shared libraries on AIX.
8954 *** Therefore, libtool is disabling shared libraries support. If you
8955 *** really care for shared libraries, you may want to install binutils
8956 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8957 *** You will then need to restart the configuration process.
8958
8959 _LT_EOF
8960 fi
8961 ;;
8962
8963 amigaos*)
8964 case $host_cpu in
8965 powerpc)
8966 # see comment about AmigaOS4 .so support
8967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8968 archive_expsym_cmds=''
8969 ;;
8970 m68k)
8971 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)'
8972 hardcode_libdir_flag_spec='-L$libdir'
8973 hardcode_minus_L=yes
8974 ;;
8975 esac
8976 ;;
8977
8978 beos*)
8979 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8980 allow_undefined_flag=unsupported
8981 # Joseph Beckenbach <[email protected]> says some releases of gcc
8982 # support --undefined. This deserves some investigation. FIXME
8983 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8984 else
8985 ld_shlibs=no
8986 fi
8987 ;;
8988
8989 cygwin* | mingw* | pw32* | cegcc*)
8990 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8991 # as there is no search path for DLLs.
8992 hardcode_libdir_flag_spec='-L$libdir'
8993 export_dynamic_flag_spec='$wl--export-all-symbols'
8994 allow_undefined_flag=unsupported
8995 always_export_symbols=no
8996 enable_shared_with_static_runtimes=yes
8997 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'
8998 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8999
9000 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9001 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9002 # If the export-symbols file already is a .def file, use it as
9003 # is; otherwise, prepend EXPORTS...
9004 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9005 cp $export_symbols $output_objdir/$soname.def;
9006 else
9007 echo EXPORTS > $output_objdir/$soname.def;
9008 cat $export_symbols >> $output_objdir/$soname.def;
9009 fi~
9010 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9011 else
9012 ld_shlibs=no
9013 fi
9014 ;;
9015
9016 haiku*)
9017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9018 link_all_deplibs=yes
9019 ;;
9020
9021 os2*)
9022 hardcode_libdir_flag_spec='-L$libdir'
9023 hardcode_minus_L=yes
9024 allow_undefined_flag=unsupported
9025 shrext_cmds=.dll
9026 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9027 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9028 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9029 $ECHO EXPORTS >> $output_objdir/$libname.def~
9030 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9031 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9032 emximp -o $lib $output_objdir/$libname.def'
9033 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9034 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9035 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9036 $ECHO EXPORTS >> $output_objdir/$libname.def~
9037 prefix_cmds="$SED"~
9038 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9039 prefix_cmds="$prefix_cmds -e 1d";
9040 fi~
9041 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9042 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9043 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9044 emximp -o $lib $output_objdir/$libname.def'
9045 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9046 enable_shared_with_static_runtimes=yes
9047 ;;
9048
9049 interix[3-9]*)
9050 hardcode_direct=no
9051 hardcode_shlibpath_var=no
9052 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9053 export_dynamic_flag_spec='$wl-E'
9054 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9055 # Instead, shared libraries are loaded at an image base (0x10000000 by
9056 # default) and relocated if they conflict, which is a slow very memory
9057 # consuming and fragmenting process. To avoid this, we pick a random,
9058 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9059 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9060 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9061 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'
9062 ;;
9063
9064 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9065 tmp_diet=no
9066 if test linux-dietlibc = "$host_os"; then
9067 case $cc_basename in
9068 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9069 esac
9070 fi
9071 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9072 && test no = "$tmp_diet"
9073 then
9074 tmp_addflag=' $pic_flag'
9075 tmp_sharedflag='-shared'
9076 case $cc_basename,$host_cpu in
9077 pgcc*) # Portland Group C compiler
9078 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'
9079 tmp_addflag=' $pic_flag'
9080 ;;
9081 pgf77* | pgf90* | pgf95* | pgfortran*)
9082 # Portland Group f77 and f90 compilers
9083 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'
9084 tmp_addflag=' $pic_flag -Mnomain' ;;
9085 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9086 tmp_addflag=' -i_dynamic' ;;
9087 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9088 tmp_addflag=' -i_dynamic -nofor_main' ;;
9089 ifc* | ifort*) # Intel Fortran compiler
9090 tmp_addflag=' -nofor_main' ;;
9091 lf95*) # Lahey Fortran 8.1
9092 whole_archive_flag_spec=
9093 tmp_sharedflag='--shared' ;;
9094 nagfor*) # NAGFOR 5.3
9095 tmp_sharedflag='-Wl,-shared' ;;
9096 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9097 tmp_sharedflag='-qmkshrobj'
9098 tmp_addflag= ;;
9099 nvcc*) # Cuda Compiler Driver 2.2
9100 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'
9101 compiler_needs_object=yes
9102 ;;
9103 esac
9104 case `$CC -V 2>&1 | sed 5q` in
9105 *Sun\ C*) # Sun C 5.9
9106 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'
9107 compiler_needs_object=yes
9108 tmp_sharedflag='-G' ;;
9109 *Sun\ F*) # Sun Fortran 8.3
9110 tmp_sharedflag='-G' ;;
9111 esac
9112 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9113
9114 if test yes = "$supports_anon_versioning"; then
9115 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9116 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9117 echo "local: *; };" >> $output_objdir/$libname.ver~
9118 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9119 fi
9120
9121 case $cc_basename in
9122 tcc*)
9123 export_dynamic_flag_spec='-rdynamic'
9124 ;;
9125 xlf* | bgf* | bgxlf* | mpixlf*)
9126 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9127 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9128 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9129 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9130 if test yes = "$supports_anon_versioning"; then
9131 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9132 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9133 echo "local: *; };" >> $output_objdir/$libname.ver~
9134 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9135 fi
9136 ;;
9137 esac
9138 else
9139 ld_shlibs=no
9140 fi
9141 ;;
9142
9143 netbsd* | netbsdelf*-gnu)
9144 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9145 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9146 wlarc=
9147 else
9148 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9149 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9150 fi
9151 ;;
9152
9153 solaris*)
9154 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9155 ld_shlibs=no
9156 cat <<_LT_EOF 1>&2
9157
9158 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9159 *** create shared libraries on Solaris systems. Therefore, libtool
9160 *** is disabling shared libraries support. We urge you to upgrade GNU
9161 *** binutils to release 2.9.1 or newer. Another option is to modify
9162 *** your PATH or compiler configuration so that the native linker is
9163 *** used, and then restart.
9164
9165 _LT_EOF
9166 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9167 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9168 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9169 else
9170 ld_shlibs=no
9171 fi
9172 ;;
9173
9174 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9175 case `$LD -v 2>&1` in
9176 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9177 ld_shlibs=no
9178 cat <<_LT_EOF 1>&2
9179
9180 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9181 *** reliably create shared libraries on SCO systems. Therefore, libtool
9182 *** is disabling shared libraries support. We urge you to upgrade GNU
9183 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9184 *** your PATH or compiler configuration so that the native linker is
9185 *** used, and then restart.
9186
9187 _LT_EOF
9188 ;;
9189 *)
9190 # For security reasons, it is highly recommended that you always
9191 # use absolute paths for naming shared libraries, and exclude the
9192 # DT_RUNPATH tag from executables and libraries. But doing so
9193 # requires that you compile everything twice, which is a pain.
9194 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9195 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9197 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9198 else
9199 ld_shlibs=no
9200 fi
9201 ;;
9202 esac
9203 ;;
9204
9205 sunos4*)
9206 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9207 wlarc=
9208 hardcode_direct=yes
9209 hardcode_shlibpath_var=no
9210 ;;
9211
9212 *)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9215 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9216 else
9217 ld_shlibs=no
9218 fi
9219 ;;
9220 esac
9221
9222 if test no = "$ld_shlibs"; then
9223 runpath_var=
9224 hardcode_libdir_flag_spec=
9225 export_dynamic_flag_spec=
9226 whole_archive_flag_spec=
9227 fi
9228 else
9229 # PORTME fill in a description of your system's linker (not GNU ld)
9230 case $host_os in
9231 aix3*)
9232 allow_undefined_flag=unsupported
9233 always_export_symbols=yes
9234 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'
9235 # Note: this linker hardcodes the directories in LIBPATH if there
9236 # are no directories specified by -L.
9237 hardcode_minus_L=yes
9238 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9239 # Neither direct hardcoding nor static linking is supported with a
9240 # broken collect2.
9241 hardcode_direct=unsupported
9242 fi
9243 ;;
9244
9245 aix[4-9]*)
9246 if test ia64 = "$host_cpu"; then
9247 # On IA64, the linker does run time linking by default, so we don't
9248 # have to do anything special.
9249 aix_use_runtimelinking=no
9250 exp_sym_flag='-Bexport'
9251 no_entry_flag=
9252 else
9253 # If we're using GNU nm, then we don't want the "-C" option.
9254 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9255 # Without the "-l" option, or with the "-B" option, AIX nm treats
9256 # weak defined symbols like other global defined symbols, whereas
9257 # GNU nm marks them as "W".
9258 # While the 'weak' keyword is ignored in the Export File, we need
9259 # it in the Import File for the 'aix-soname' feature, so we have
9260 # to replace the "-B" option with "-P" for AIX nm.
9261 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9262 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'
9263 else
9264 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'
9265 fi
9266 aix_use_runtimelinking=no
9267
9268 # Test if we are trying to use run time linking or normal
9269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9270 # have runtime linking enabled, and use it for executables.
9271 # For shared libraries, we enable/disable runtime linking
9272 # depending on the kind of the shared library created -
9273 # when "with_aix_soname,aix_use_runtimelinking" is:
9274 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9275 # "aix,yes" lib.so shared, rtl:yes, for executables
9276 # lib.a static archive
9277 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9278 # lib.a(lib.so.V) shared, rtl:no, for executables
9279 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9280 # lib.a(lib.so.V) shared, rtl:no
9281 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9282 # lib.a static archive
9283 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9284 for ld_flag in $LDFLAGS; do
9285 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9286 aix_use_runtimelinking=yes
9287 break
9288 fi
9289 done
9290 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9291 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9292 # so we don't have lib.a shared libs to link our executables.
9293 # We have to force runtime linking in this case.
9294 aix_use_runtimelinking=yes
9295 LDFLAGS="$LDFLAGS -Wl,-brtl"
9296 fi
9297 ;;
9298 esac
9299
9300 exp_sym_flag='-bexport'
9301 no_entry_flag='-bnoentry'
9302 fi
9303
9304 # When large executables or shared objects are built, AIX ld can
9305 # have problems creating the table of contents. If linking a library
9306 # or program results in "error TOC overflow" add -mminimal-toc to
9307 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9308 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9309
9310 archive_cmds=''
9311 hardcode_direct=yes
9312 hardcode_direct_absolute=yes
9313 hardcode_libdir_separator=':'
9314 link_all_deplibs=yes
9315 file_list_spec='$wl-f,'
9316 case $with_aix_soname,$aix_use_runtimelinking in
9317 aix,*) ;; # traditional, no import file
9318 svr4,* | *,yes) # use import file
9319 # The Import File defines what to hardcode.
9320 hardcode_direct=no
9321 hardcode_direct_absolute=no
9322 ;;
9323 esac
9324
9325 if test yes = "$GCC"; then
9326 case $host_os in aix4.[012]|aix4.[012].*)
9327 # We only want to do this on AIX 4.2 and lower, the check
9328 # below for broken collect2 doesn't work under 4.3+
9329 collect2name=`$CC -print-prog-name=collect2`
9330 if test -f "$collect2name" &&
9331 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9332 then
9333 # We have reworked collect2
9334 :
9335 else
9336 # We have old collect2
9337 hardcode_direct=unsupported
9338 # It fails to find uninstalled libraries when the uninstalled
9339 # path is not listed in the libpath. Setting hardcode_minus_L
9340 # to unsupported forces relinking
9341 hardcode_minus_L=yes
9342 hardcode_libdir_flag_spec='-L$libdir'
9343 hardcode_libdir_separator=
9344 fi
9345 ;;
9346 esac
9347 shared_flag='-shared'
9348 if test yes = "$aix_use_runtimelinking"; then
9349 shared_flag="$shared_flag "'$wl-G'
9350 fi
9351 # Need to ensure runtime linking is disabled for the traditional
9352 # shared library, or the linker may eventually find shared libraries
9353 # /with/ Import File - we do not want to mix them.
9354 shared_flag_aix='-shared'
9355 shared_flag_svr4='-shared $wl-G'
9356 else
9357 # not using gcc
9358 if test ia64 = "$host_cpu"; then
9359 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9360 # chokes on -Wl,-G. The following line is correct:
9361 shared_flag='-G'
9362 else
9363 if test yes = "$aix_use_runtimelinking"; then
9364 shared_flag='$wl-G'
9365 else
9366 shared_flag='$wl-bM:SRE'
9367 fi
9368 shared_flag_aix='$wl-bM:SRE'
9369 shared_flag_svr4='$wl-G'
9370 fi
9371 fi
9372
9373 export_dynamic_flag_spec='$wl-bexpall'
9374 # It seems that -bexpall does not export symbols beginning with
9375 # underscore (_), so it is better to generate a list of symbols to export.
9376 always_export_symbols=yes
9377 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9378 # Warning - without using the other runtime loading flags (-brtl),
9379 # -berok will link without error, but may produce a broken library.
9380 allow_undefined_flag='-berok'
9381 # Determine the default libpath from the value encoded in an
9382 # empty executable.
9383 if test set = "${lt_cv_aix_libpath+set}"; then
9384 aix_libpath=$lt_cv_aix_libpath
9385 else
9386 if ${lt_cv_aix_libpath_+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391
9392 int
9393 main ()
9394 {
9395
9396 ;
9397 return 0;
9398 }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401
9402 lt_aix_libpath_sed='
9403 /Import File Strings/,/^$/ {
9404 /^0/ {
9405 s/^0 *\([^ ]*\) *$/\1/
9406 p
9407 }
9408 }'
9409 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9410 # Check for a 64-bit object if we didn't find anything.
9411 if test -z "$lt_cv_aix_libpath_"; then
9412 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9413 fi
9414 fi
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 if test -z "$lt_cv_aix_libpath_"; then
9418 lt_cv_aix_libpath_=/usr/lib:/lib
9419 fi
9420
9421 fi
9422
9423 aix_libpath=$lt_cv_aix_libpath_
9424 fi
9425
9426 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9427 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
9428 else
9429 if test ia64 = "$host_cpu"; then
9430 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9431 allow_undefined_flag="-z nodefs"
9432 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"
9433 else
9434 # Determine the default libpath from the value encoded in an
9435 # empty executable.
9436 if test set = "${lt_cv_aix_libpath+set}"; then
9437 aix_libpath=$lt_cv_aix_libpath
9438 else
9439 if ${lt_cv_aix_libpath_+:} false; then :
9440 $as_echo_n "(cached) " >&6
9441 else
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444
9445 int
9446 main ()
9447 {
9448
9449 ;
9450 return 0;
9451 }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454
9455 lt_aix_libpath_sed='
9456 /Import File Strings/,/^$/ {
9457 /^0/ {
9458 s/^0 *\([^ ]*\) *$/\1/
9459 p
9460 }
9461 }'
9462 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9463 # Check for a 64-bit object if we didn't find anything.
9464 if test -z "$lt_cv_aix_libpath_"; then
9465 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9466 fi
9467 fi
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 if test -z "$lt_cv_aix_libpath_"; then
9471 lt_cv_aix_libpath_=/usr/lib:/lib
9472 fi
9473
9474 fi
9475
9476 aix_libpath=$lt_cv_aix_libpath_
9477 fi
9478
9479 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9480 # Warning - without using the other run time loading flags,
9481 # -berok will link without error, but may produce a broken library.
9482 no_undefined_flag=' $wl-bernotok'
9483 allow_undefined_flag=' $wl-berok'
9484 if test yes = "$with_gnu_ld"; then
9485 # We only use this code for GNU lds that support --whole-archive.
9486 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9487 else
9488 # Exported symbols can be pulled into shared objects from archives
9489 whole_archive_flag_spec='$convenience'
9490 fi
9491 archive_cmds_need_lc=yes
9492 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9493 # -brtl affects multiple linker settings, -berok does not and is overridden later
9494 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9495 if test svr4 != "$with_aix_soname"; then
9496 # This is similar to how AIX traditionally builds its shared libraries.
9497 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'
9498 fi
9499 if test aix != "$with_aix_soname"; then
9500 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'
9501 else
9502 # used by -dlpreopen to get the symbols
9503 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9504 fi
9505 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9506 fi
9507 fi
9508 ;;
9509
9510 amigaos*)
9511 case $host_cpu in
9512 powerpc)
9513 # see comment about AmigaOS4 .so support
9514 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9515 archive_expsym_cmds=''
9516 ;;
9517 m68k)
9518 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)'
9519 hardcode_libdir_flag_spec='-L$libdir'
9520 hardcode_minus_L=yes
9521 ;;
9522 esac
9523 ;;
9524
9525 bsdi[45]*)
9526 export_dynamic_flag_spec=-rdynamic
9527 ;;
9528
9529 cygwin* | mingw* | pw32* | cegcc*)
9530 # When not using gcc, we currently assume that we are using
9531 # Microsoft Visual C++.
9532 # hardcode_libdir_flag_spec is actually meaningless, as there is
9533 # no search path for DLLs.
9534 case $cc_basename in
9535 cl*)
9536 # Native MSVC
9537 hardcode_libdir_flag_spec=' '
9538 allow_undefined_flag=unsupported
9539 always_export_symbols=yes
9540 file_list_spec='@'
9541 # Tell ltmain to make .lib files, not .a files.
9542 libext=lib
9543 # Tell ltmain to make .dll files, not .so files.
9544 shrext_cmds=.dll
9545 # FIXME: Setting linknames here is a bad hack.
9546 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9547 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9548 cp "$export_symbols" "$output_objdir/$soname.def";
9549 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9550 else
9551 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9552 fi~
9553 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9554 linknames='
9555 # The linker will not automatically build a static lib if we build a DLL.
9556 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9557 enable_shared_with_static_runtimes=yes
9558 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9559 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9560 # Don't use ranlib
9561 old_postinstall_cmds='chmod 644 $oldlib'
9562 postlink_cmds='lt_outputfile="@OUTPUT@"~
9563 lt_tool_outputfile="@TOOL_OUTPUT@"~
9564 case $lt_outputfile in
9565 *.exe|*.EXE) ;;
9566 *)
9567 lt_outputfile=$lt_outputfile.exe
9568 lt_tool_outputfile=$lt_tool_outputfile.exe
9569 ;;
9570 esac~
9571 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9572 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9573 $RM "$lt_outputfile.manifest";
9574 fi'
9575 ;;
9576 *)
9577 # Assume MSVC wrapper
9578 hardcode_libdir_flag_spec=' '
9579 allow_undefined_flag=unsupported
9580 # Tell ltmain to make .lib files, not .a files.
9581 libext=lib
9582 # Tell ltmain to make .dll files, not .so files.
9583 shrext_cmds=.dll
9584 # FIXME: Setting linknames here is a bad hack.
9585 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9586 # The linker will automatically build a .lib file if we build a DLL.
9587 old_archive_from_new_cmds='true'
9588 # FIXME: Should let the user specify the lib program.
9589 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9590 enable_shared_with_static_runtimes=yes
9591 ;;
9592 esac
9593 ;;
9594
9595 darwin* | rhapsody*)
9596
9597
9598 archive_cmds_need_lc=no
9599 hardcode_direct=no
9600 hardcode_automatic=yes
9601 hardcode_shlibpath_var=unsupported
9602 if test yes = "$lt_cv_ld_force_load"; then
9603 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\"`'
9604
9605 else
9606 whole_archive_flag_spec=''
9607 fi
9608 link_all_deplibs=yes
9609 allow_undefined_flag=$_lt_dar_allow_undefined
9610 case $cc_basename in
9611 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9612 *) _lt_dar_can_shared=$GCC ;;
9613 esac
9614 if test yes = "$_lt_dar_can_shared"; then
9615 output_verbose_link_cmd=func_echo_all
9616 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9617 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9618 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"
9619 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"
9620
9621 else
9622 ld_shlibs=no
9623 fi
9624
9625 ;;
9626
9627 dgux*)
9628 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9629 hardcode_libdir_flag_spec='-L$libdir'
9630 hardcode_shlibpath_var=no
9631 ;;
9632
9633 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9634 # support. Future versions do this automatically, but an explicit c++rt0.o
9635 # does not break anything, and helps significantly (at the cost of a little
9636 # extra space).
9637 freebsd2.2*)
9638 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9639 hardcode_libdir_flag_spec='-R$libdir'
9640 hardcode_direct=yes
9641 hardcode_shlibpath_var=no
9642 ;;
9643
9644 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9645 freebsd2.*)
9646 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_direct=yes
9648 hardcode_minus_L=yes
9649 hardcode_shlibpath_var=no
9650 ;;
9651
9652 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9653 freebsd* | dragonfly*)
9654 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9655 hardcode_libdir_flag_spec='-R$libdir'
9656 hardcode_direct=yes
9657 hardcode_shlibpath_var=no
9658 ;;
9659
9660 hpux9*)
9661 if test yes = "$GCC"; then
9662 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'
9663 else
9664 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'
9665 fi
9666 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9667 hardcode_libdir_separator=:
9668 hardcode_direct=yes
9669
9670 # hardcode_minus_L: Not really in the search PATH,
9671 # but as the default location of the library.
9672 hardcode_minus_L=yes
9673 export_dynamic_flag_spec='$wl-E'
9674 ;;
9675
9676 hpux10*)
9677 if test yes,no = "$GCC,$with_gnu_ld"; then
9678 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9679 else
9680 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9681 fi
9682 if test no = "$with_gnu_ld"; then
9683 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9684 hardcode_libdir_separator=:
9685 hardcode_direct=yes
9686 hardcode_direct_absolute=yes
9687 export_dynamic_flag_spec='$wl-E'
9688 # hardcode_minus_L: Not really in the search PATH,
9689 # but as the default location of the library.
9690 hardcode_minus_L=yes
9691 fi
9692 ;;
9693
9694 hpux11*)
9695 if test yes,no = "$GCC,$with_gnu_ld"; then
9696 case $host_cpu in
9697 hppa*64*)
9698 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 ;;
9700 ia64*)
9701 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9702 ;;
9703 *)
9704 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9705 ;;
9706 esac
9707 else
9708 case $host_cpu in
9709 hppa*64*)
9710 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 ;;
9712 ia64*)
9713 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9714 ;;
9715 *)
9716
9717 # Older versions of the 11.00 compiler do not understand -b yet
9718 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9720 $as_echo_n "checking if $CC understands -b... " >&6; }
9721 if ${lt_cv_prog_compiler__b+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 lt_cv_prog_compiler__b=no
9725 save_LDFLAGS=$LDFLAGS
9726 LDFLAGS="$LDFLAGS -b"
9727 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9728 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9729 # The linker can only warn and ignore the option if not recognized
9730 # So say no if there are warnings
9731 if test -s conftest.err; then
9732 # Append any errors to the config.log.
9733 cat conftest.err 1>&5
9734 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9735 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9736 if diff conftest.exp conftest.er2 >/dev/null; then
9737 lt_cv_prog_compiler__b=yes
9738 fi
9739 else
9740 lt_cv_prog_compiler__b=yes
9741 fi
9742 fi
9743 $RM -r conftest*
9744 LDFLAGS=$save_LDFLAGS
9745
9746 fi
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9748 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9749
9750 if test yes = "$lt_cv_prog_compiler__b"; then
9751 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9752 else
9753 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9754 fi
9755
9756 ;;
9757 esac
9758 fi
9759 if test no = "$with_gnu_ld"; then
9760 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9761 hardcode_libdir_separator=:
9762
9763 case $host_cpu in
9764 hppa*64*|ia64*)
9765 hardcode_direct=no
9766 hardcode_shlibpath_var=no
9767 ;;
9768 *)
9769 hardcode_direct=yes
9770 hardcode_direct_absolute=yes
9771 export_dynamic_flag_spec='$wl-E'
9772
9773 # hardcode_minus_L: Not really in the search PATH,
9774 # but as the default location of the library.
9775 hardcode_minus_L=yes
9776 ;;
9777 esac
9778 fi
9779 ;;
9780
9781 irix5* | irix6* | nonstopux*)
9782 if test yes = "$GCC"; then
9783 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'
9784 # Try to use the -exported_symbol ld option, if it does not
9785 # work, assume that -exports_file does not work either and
9786 # implicitly export all symbols.
9787 # This should be the same for all languages, so no per-tag cache variable.
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9789 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9790 if ${lt_cv_irix_exported_symbol+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 save_LDFLAGS=$LDFLAGS
9794 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9797 int foo (void) { return 0; }
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 lt_cv_irix_exported_symbol=yes
9801 else
9802 lt_cv_irix_exported_symbol=no
9803 fi
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 LDFLAGS=$save_LDFLAGS
9807 fi
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9809 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9810 if test yes = "$lt_cv_irix_exported_symbol"; then
9811 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'
9812 fi
9813 link_all_deplibs=no
9814 else
9815 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'
9816 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'
9817 fi
9818 archive_cmds_need_lc='no'
9819 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9820 hardcode_libdir_separator=:
9821 inherit_rpath=yes
9822 link_all_deplibs=yes
9823 ;;
9824
9825 linux*)
9826 case $cc_basename in
9827 tcc*)
9828 # Fabrice Bellard et al's Tiny C Compiler
9829 ld_shlibs=yes
9830 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9831 ;;
9832 esac
9833 ;;
9834
9835 netbsd* | netbsdelf*-gnu)
9836 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9837 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9838 else
9839 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9840 fi
9841 hardcode_libdir_flag_spec='-R$libdir'
9842 hardcode_direct=yes
9843 hardcode_shlibpath_var=no
9844 ;;
9845
9846 newsos6)
9847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9848 hardcode_direct=yes
9849 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9850 hardcode_libdir_separator=:
9851 hardcode_shlibpath_var=no
9852 ;;
9853
9854 *nto* | *qnx*)
9855 ;;
9856
9857 openbsd* | bitrig*)
9858 if test -f /usr/libexec/ld.so; then
9859 hardcode_direct=yes
9860 hardcode_shlibpath_var=no
9861 hardcode_direct_absolute=yes
9862 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9863 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9865 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9866 export_dynamic_flag_spec='$wl-E'
9867 else
9868 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9869 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9870 fi
9871 else
9872 ld_shlibs=no
9873 fi
9874 ;;
9875
9876 os2*)
9877 hardcode_libdir_flag_spec='-L$libdir'
9878 hardcode_minus_L=yes
9879 allow_undefined_flag=unsupported
9880 shrext_cmds=.dll
9881 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9882 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9883 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9884 $ECHO EXPORTS >> $output_objdir/$libname.def~
9885 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9886 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9887 emximp -o $lib $output_objdir/$libname.def'
9888 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9889 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9890 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9891 $ECHO EXPORTS >> $output_objdir/$libname.def~
9892 prefix_cmds="$SED"~
9893 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9894 prefix_cmds="$prefix_cmds -e 1d";
9895 fi~
9896 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9897 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9898 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9899 emximp -o $lib $output_objdir/$libname.def'
9900 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9901 enable_shared_with_static_runtimes=yes
9902 ;;
9903
9904 osf3*)
9905 if test yes = "$GCC"; then
9906 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9907 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'
9908 else
9909 allow_undefined_flag=' -expect_unresolved \*'
9910 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'
9911 fi
9912 archive_cmds_need_lc='no'
9913 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9914 hardcode_libdir_separator=:
9915 ;;
9916
9917 osf4* | osf5*) # as osf3* with the addition of -msym flag
9918 if test yes = "$GCC"; then
9919 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9920 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'
9921 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9922 else
9923 allow_undefined_flag=' -expect_unresolved \*'
9924 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'
9925 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~
9926 $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'
9927
9928 # Both c and cxx compiler support -rpath directly
9929 hardcode_libdir_flag_spec='-rpath $libdir'
9930 fi
9931 archive_cmds_need_lc='no'
9932 hardcode_libdir_separator=:
9933 ;;
9934
9935 solaris*)
9936 no_undefined_flag=' -z defs'
9937 if test yes = "$GCC"; then
9938 wlarc='$wl'
9939 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9940 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9941 $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'
9942 else
9943 case `$CC -V 2>&1` in
9944 *"Compilers 5.0"*)
9945 wlarc=''
9946 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9947 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9948 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9949 ;;
9950 *)
9951 wlarc='$wl'
9952 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9955 ;;
9956 esac
9957 fi
9958 hardcode_libdir_flag_spec='-R$libdir'
9959 hardcode_shlibpath_var=no
9960 case $host_os in
9961 solaris2.[0-5] | solaris2.[0-5].*) ;;
9962 *)
9963 # The compiler driver will combine and reorder linker options,
9964 # but understands '-z linker_flag'. GCC discards it without '$wl',
9965 # but is careful enough not to reorder.
9966 # Supported since Solaris 2.6 (maybe 2.5.1?)
9967 if test yes = "$GCC"; then
9968 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9969 else
9970 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9971 fi
9972 ;;
9973 esac
9974 link_all_deplibs=yes
9975 ;;
9976
9977 sunos4*)
9978 if test sequent = "$host_vendor"; then
9979 # Use $CC to link under sequent, because it throws in some extra .o
9980 # files that make .init and .fini sections work.
9981 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9982 else
9983 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9984 fi
9985 hardcode_libdir_flag_spec='-L$libdir'
9986 hardcode_direct=yes
9987 hardcode_minus_L=yes
9988 hardcode_shlibpath_var=no
9989 ;;
9990
9991 sysv4)
9992 case $host_vendor in
9993 sni)
9994 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9995 hardcode_direct=yes # is this really true???
9996 ;;
9997 siemens)
9998 ## LD is ld it makes a PLAMLIB
9999 ## CC just makes a GrossModule.
10000 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10001 reload_cmds='$CC -r -o $output$reload_objs'
10002 hardcode_direct=no
10003 ;;
10004 motorola)
10005 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10007 ;;
10008 esac
10009 runpath_var='LD_RUN_PATH'
10010 hardcode_shlibpath_var=no
10011 ;;
10012
10013 sysv4.3*)
10014 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10015 hardcode_shlibpath_var=no
10016 export_dynamic_flag_spec='-Bexport'
10017 ;;
10018
10019 sysv4*MP*)
10020 if test -d /usr/nec; then
10021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_shlibpath_var=no
10023 runpath_var=LD_RUN_PATH
10024 hardcode_runpath_var=yes
10025 ld_shlibs=yes
10026 fi
10027 ;;
10028
10029 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10030 no_undefined_flag='$wl-z,text'
10031 archive_cmds_need_lc=no
10032 hardcode_shlibpath_var=no
10033 runpath_var='LD_RUN_PATH'
10034
10035 if test yes = "$GCC"; then
10036 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10038 else
10039 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10040 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041 fi
10042 ;;
10043
10044 sysv5* | sco3.2v5* | sco5v6*)
10045 # Note: We CANNOT use -z defs as we might desire, because we do not
10046 # link with -lc, and that would cause any symbols used from libc to
10047 # always be unresolved, which means just about no library would
10048 # ever link correctly. If we're not using GNU ld we use -z text
10049 # though, which does catch some bad symbols but isn't as heavy-handed
10050 # as -z defs.
10051 no_undefined_flag='$wl-z,text'
10052 allow_undefined_flag='$wl-z,nodefs'
10053 archive_cmds_need_lc=no
10054 hardcode_shlibpath_var=no
10055 hardcode_libdir_flag_spec='$wl-R,$libdir'
10056 hardcode_libdir_separator=':'
10057 link_all_deplibs=yes
10058 export_dynamic_flag_spec='$wl-Bexport'
10059 runpath_var='LD_RUN_PATH'
10060
10061 if test yes = "$GCC"; then
10062 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 else
10065 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 fi
10068 ;;
10069
10070 uts4*)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_libdir_flag_spec='-L$libdir'
10073 hardcode_shlibpath_var=no
10074 ;;
10075
10076 *)
10077 ld_shlibs=no
10078 ;;
10079 esac
10080
10081 if test sni = "$host_vendor"; then
10082 case $host in
10083 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10084 export_dynamic_flag_spec='$wl-Blargedynsym'
10085 ;;
10086 esac
10087 fi
10088 fi
10089
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10091 $as_echo "$ld_shlibs" >&6; }
10092 test no = "$ld_shlibs" && can_build_shared=no
10093
10094 with_gnu_ld=$with_gnu_ld
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110 #
10111 # Do we need to explicitly link libc?
10112 #
10113 case "x$archive_cmds_need_lc" in
10114 x|xyes)
10115 # Assume -lc should be added
10116 archive_cmds_need_lc=yes
10117
10118 if test yes,yes = "$GCC,$enable_shared"; then
10119 case $archive_cmds in
10120 *'~'*)
10121 # FIXME: we may have to deal with multi-command sequences.
10122 ;;
10123 '$CC '*)
10124 # Test whether the compiler implicitly links with -lc since on some
10125 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10126 # to ld, don't add -lc before -lgcc.
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10128 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10129 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10130 $as_echo_n "(cached) " >&6
10131 else
10132 $RM conftest*
10133 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10134
10135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10136 (eval $ac_compile) 2>&5
10137 ac_status=$?
10138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10139 test $ac_status = 0; } 2>conftest.err; then
10140 soname=conftest
10141 lib=conftest
10142 libobjs=conftest.$ac_objext
10143 deplibs=
10144 wl=$lt_prog_compiler_wl
10145 pic_flag=$lt_prog_compiler_pic
10146 compiler_flags=-v
10147 linker_flags=-v
10148 verstring=
10149 output_objdir=.
10150 libname=conftest
10151 lt_save_allow_undefined_flag=$allow_undefined_flag
10152 allow_undefined_flag=
10153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10154 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10155 ac_status=$?
10156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10157 test $ac_status = 0; }
10158 then
10159 lt_cv_archive_cmds_need_lc=no
10160 else
10161 lt_cv_archive_cmds_need_lc=yes
10162 fi
10163 allow_undefined_flag=$lt_save_allow_undefined_flag
10164 else
10165 cat conftest.err 1>&5
10166 fi
10167 $RM conftest*
10168
10169 fi
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10171 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10172 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10173 ;;
10174 esac
10175 fi
10176 ;;
10177 esac
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10331 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10332
10333 if test yes = "$GCC"; then
10334 case $host_os in
10335 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10336 *) lt_awk_arg='/^libraries:/' ;;
10337 esac
10338 case $host_os in
10339 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10340 *) lt_sed_strip_eq='s|=/|/|g' ;;
10341 esac
10342 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10343 case $lt_search_path_spec in
10344 *\;*)
10345 # if the path contains ";" then we assume it to be the separator
10346 # otherwise default to the standard path separator (i.e. ":") - it is
10347 # assumed that no part of a normal pathname contains ";" but that should
10348 # okay in the real world where ";" in dirpaths is itself problematic.
10349 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10350 ;;
10351 *)
10352 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10353 ;;
10354 esac
10355 # Ok, now we have the path, separated by spaces, we can step through it
10356 # and add multilib dir if necessary...
10357 lt_tmp_lt_search_path_spec=
10358 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10359 # ...but if some path component already ends with the multilib dir we assume
10360 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10361 case "$lt_multi_os_dir; $lt_search_path_spec " in
10362 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10363 lt_multi_os_dir=
10364 ;;
10365 esac
10366 for lt_sys_path in $lt_search_path_spec; do
10367 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10368 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10369 elif test -n "$lt_multi_os_dir"; then
10370 test -d "$lt_sys_path" && \
10371 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10372 fi
10373 done
10374 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10375 BEGIN {RS = " "; FS = "/|\n";} {
10376 lt_foo = "";
10377 lt_count = 0;
10378 for (lt_i = NF; lt_i > 0; lt_i--) {
10379 if ($lt_i != "" && $lt_i != ".") {
10380 if ($lt_i == "..") {
10381 lt_count++;
10382 } else {
10383 if (lt_count == 0) {
10384 lt_foo = "/" $lt_i lt_foo;
10385 } else {
10386 lt_count--;
10387 }
10388 }
10389 }
10390 }
10391 if (lt_foo != "") { lt_freq[lt_foo]++; }
10392 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10393 }'`
10394 # AWK program above erroneously prepends '/' to C:/dos/paths
10395 # for these hosts.
10396 case $host_os in
10397 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10398 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10399 esac
10400 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10401 else
10402 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10403 fi
10404 library_names_spec=
10405 libname_spec='lib$name'
10406 soname_spec=
10407 shrext_cmds=.so
10408 postinstall_cmds=
10409 postuninstall_cmds=
10410 finish_cmds=
10411 finish_eval=
10412 shlibpath_var=
10413 shlibpath_overrides_runpath=unknown
10414 version_type=none
10415 dynamic_linker="$host_os ld.so"
10416 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10417 need_lib_prefix=unknown
10418 hardcode_into_libs=no
10419
10420 # when you set need_version to no, make sure it does not cause -set_version
10421 # flags to be left without arguments
10422 need_version=unknown
10423
10424
10425
10426 case $host_os in
10427 aix3*)
10428 version_type=linux # correct to gnu/linux during the next big refactor
10429 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10430 shlibpath_var=LIBPATH
10431
10432 # AIX 3 has no versioning support, so we append a major version to the name.
10433 soname_spec='$libname$release$shared_ext$major'
10434 ;;
10435
10436 aix[4-9]*)
10437 version_type=linux # correct to gnu/linux during the next big refactor
10438 need_lib_prefix=no
10439 need_version=no
10440 hardcode_into_libs=yes
10441 if test ia64 = "$host_cpu"; then
10442 # AIX 5 supports IA64
10443 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 else
10446 # With GCC up to 2.95.x, collect2 would create an import file
10447 # for dependence libraries. The import file would start with
10448 # the line '#! .'. This would cause the generated library to
10449 # depend on '.', always an invalid library. This was fixed in
10450 # development snapshots of GCC prior to 3.0.
10451 case $host_os in
10452 aix4 | aix4.[01] | aix4.[01].*)
10453 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10454 echo ' yes '
10455 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10456 :
10457 else
10458 can_build_shared=no
10459 fi
10460 ;;
10461 esac
10462 # Using Import Files as archive members, it is possible to support
10463 # filename-based versioning of shared library archives on AIX. While
10464 # this would work for both with and without runtime linking, it will
10465 # prevent static linking of such archives. So we do filename-based
10466 # shared library versioning with .so extension only, which is used
10467 # when both runtime linking and shared linking is enabled.
10468 # Unfortunately, runtime linking may impact performance, so we do
10469 # not want this to be the default eventually. Also, we use the
10470 # versioned .so libs for executables only if there is the -brtl
10471 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10472 # To allow for filename-based versioning support, we need to create
10473 # libNAME.so.V as an archive file, containing:
10474 # *) an Import File, referring to the versioned filename of the
10475 # archive as well as the shared archive member, telling the
10476 # bitwidth (32 or 64) of that shared object, and providing the
10477 # list of exported symbols of that shared object, eventually
10478 # decorated with the 'weak' keyword
10479 # *) the shared object with the F_LOADONLY flag set, to really avoid
10480 # it being seen by the linker.
10481 # At run time we better use the real file rather than another symlink,
10482 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10483
10484 case $with_aix_soname,$aix_use_runtimelinking in
10485 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10486 # soname into executable. Probably we can add versioning support to
10487 # collect2, so additional links can be useful in future.
10488 aix,yes) # traditional libtool
10489 dynamic_linker='AIX unversionable lib.so'
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10494 ;;
10495 aix,no) # traditional AIX only
10496 dynamic_linker='AIX lib.a(lib.so.V)'
10497 # We preserve .a as extension for shared libraries through AIX4.2
10498 # and later when we are not doing run time linking.
10499 library_names_spec='$libname$release.a $libname.a'
10500 soname_spec='$libname$release$shared_ext$major'
10501 ;;
10502 svr4,*) # full svr4 only
10503 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10504 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10505 # We do not specify a path in Import Files, so LIBPATH fires.
10506 shlibpath_overrides_runpath=yes
10507 ;;
10508 *,yes) # both, prefer svr4
10509 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10510 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10511 # unpreferred sharedlib libNAME.a needs extra handling
10512 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"'
10513 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"'
10514 # We do not specify a path in Import Files, so LIBPATH fires.
10515 shlibpath_overrides_runpath=yes
10516 ;;
10517 *,no) # both, prefer aix
10518 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10519 library_names_spec='$libname$release.a $libname.a'
10520 soname_spec='$libname$release$shared_ext$major'
10521 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10522 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)'
10523 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"'
10524 ;;
10525 esac
10526 shlibpath_var=LIBPATH
10527 fi
10528 ;;
10529
10530 amigaos*)
10531 case $host_cpu in
10532 powerpc)
10533 # Since July 2007 AmigaOS4 officially supports .so libraries.
10534 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10535 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10536 ;;
10537 m68k)
10538 library_names_spec='$libname.ixlibrary $libname.a'
10539 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10540 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'
10541 ;;
10542 esac
10543 ;;
10544
10545 beos*)
10546 library_names_spec='$libname$shared_ext'
10547 dynamic_linker="$host_os ld.so"
10548 shlibpath_var=LIBRARY_PATH
10549 ;;
10550
10551 bsdi[45]*)
10552 version_type=linux # correct to gnu/linux during the next big refactor
10553 need_version=no
10554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10555 soname_spec='$libname$release$shared_ext$major'
10556 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10557 shlibpath_var=LD_LIBRARY_PATH
10558 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10559 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10560 # the default ld.so.conf also contains /usr/contrib/lib and
10561 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10562 # libtool to hard-code these into programs
10563 ;;
10564
10565 cygwin* | mingw* | pw32* | cegcc*)
10566 version_type=windows
10567 shrext_cmds=.dll
10568 need_version=no
10569 need_lib_prefix=no
10570
10571 case $GCC,$cc_basename in
10572 yes,*)
10573 # gcc
10574 library_names_spec='$libname.dll.a'
10575 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10576 postinstall_cmds='base_file=`basename \$file`~
10577 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10578 dldir=$destdir/`dirname \$dlpath`~
10579 test -d \$dldir || mkdir -p \$dldir~
10580 $install_prog $dir/$dlname \$dldir/$dlname~
10581 chmod a+x \$dldir/$dlname~
10582 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10583 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10584 fi'
10585 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10586 dlpath=$dir/\$dldll~
10587 $RM \$dlpath'
10588 shlibpath_overrides_runpath=yes
10589
10590 case $host_os in
10591 cygwin*)
10592 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10593 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10594
10595 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10596 ;;
10597 mingw* | cegcc*)
10598 # MinGW DLLs use traditional 'lib' prefix
10599 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10600 ;;
10601 pw32*)
10602 # pw32 DLLs use 'pw' prefix rather than 'lib'
10603 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10604 ;;
10605 esac
10606 dynamic_linker='Win32 ld.exe'
10607 ;;
10608
10609 *,cl*)
10610 # Native MSVC
10611 libname_spec='$name'
10612 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10613 library_names_spec='$libname.dll.lib'
10614
10615 case $build_os in
10616 mingw*)
10617 sys_lib_search_path_spec=
10618 lt_save_ifs=$IFS
10619 IFS=';'
10620 for lt_path in $LIB
10621 do
10622 IFS=$lt_save_ifs
10623 # Let DOS variable expansion print the short 8.3 style file name.
10624 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10625 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10626 done
10627 IFS=$lt_save_ifs
10628 # Convert to MSYS style.
10629 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10630 ;;
10631 cygwin*)
10632 # Convert to unix form, then to dos form, then back to unix form
10633 # but this time dos style (no spaces!) so that the unix form looks
10634 # like /cygdrive/c/PROGRA~1:/cygdr...
10635 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10636 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10637 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10638 ;;
10639 *)
10640 sys_lib_search_path_spec=$LIB
10641 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10642 # It is most probably a Windows format PATH.
10643 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10644 else
10645 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10646 fi
10647 # FIXME: find the short name or the path components, as spaces are
10648 # common. (e.g. "Program Files" -> "PROGRA~1")
10649 ;;
10650 esac
10651
10652 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10653 postinstall_cmds='base_file=`basename \$file`~
10654 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10655 dldir=$destdir/`dirname \$dlpath`~
10656 test -d \$dldir || mkdir -p \$dldir~
10657 $install_prog $dir/$dlname \$dldir/$dlname'
10658 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10659 dlpath=$dir/\$dldll~
10660 $RM \$dlpath'
10661 shlibpath_overrides_runpath=yes
10662 dynamic_linker='Win32 link.exe'
10663 ;;
10664
10665 *)
10666 # Assume MSVC wrapper
10667 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10668 dynamic_linker='Win32 ld.exe'
10669 ;;
10670 esac
10671 # FIXME: first we should search . and the directory the executable is in
10672 shlibpath_var=PATH
10673 ;;
10674
10675 darwin* | rhapsody*)
10676 dynamic_linker="$host_os dyld"
10677 version_type=darwin
10678 need_lib_prefix=no
10679 need_version=no
10680 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10681 soname_spec='$libname$release$major$shared_ext'
10682 shlibpath_overrides_runpath=yes
10683 shlibpath_var=DYLD_LIBRARY_PATH
10684 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10685
10686 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10687 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10688 ;;
10689
10690 dgux*)
10691 version_type=linux # correct to gnu/linux during the next big refactor
10692 need_lib_prefix=no
10693 need_version=no
10694 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10695 soname_spec='$libname$release$shared_ext$major'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 ;;
10698
10699 freebsd* | dragonfly*)
10700 # DragonFly does not have aout. When/if they implement a new
10701 # versioning mechanism, adjust this.
10702 if test -x /usr/bin/objformat; then
10703 objformat=`/usr/bin/objformat`
10704 else
10705 case $host_os in
10706 freebsd[23].*) objformat=aout ;;
10707 *) objformat=elf ;;
10708 esac
10709 fi
10710 version_type=freebsd-$objformat
10711 case $version_type in
10712 freebsd-elf*)
10713 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10714 soname_spec='$libname$release$shared_ext$major'
10715 need_version=no
10716 need_lib_prefix=no
10717 ;;
10718 freebsd-*)
10719 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10720 need_version=yes
10721 ;;
10722 esac
10723 shlibpath_var=LD_LIBRARY_PATH
10724 case $host_os in
10725 freebsd2.*)
10726 shlibpath_overrides_runpath=yes
10727 ;;
10728 freebsd3.[01]* | freebsdelf3.[01]*)
10729 shlibpath_overrides_runpath=yes
10730 hardcode_into_libs=yes
10731 ;;
10732 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10733 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10734 shlibpath_overrides_runpath=no
10735 hardcode_into_libs=yes
10736 ;;
10737 *) # from 4.6 on, and DragonFly
10738 shlibpath_overrides_runpath=yes
10739 hardcode_into_libs=yes
10740 ;;
10741 esac
10742 ;;
10743
10744 haiku*)
10745 version_type=linux # correct to gnu/linux during the next big refactor
10746 need_lib_prefix=no
10747 need_version=no
10748 dynamic_linker="$host_os runtime_loader"
10749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10750 soname_spec='$libname$release$shared_ext$major'
10751 shlibpath_var=LIBRARY_PATH
10752 shlibpath_overrides_runpath=no
10753 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10754 hardcode_into_libs=yes
10755 ;;
10756
10757 hpux9* | hpux10* | hpux11*)
10758 # Give a soname corresponding to the major version so that dld.sl refuses to
10759 # link against other versions.
10760 version_type=sunos
10761 need_lib_prefix=no
10762 need_version=no
10763 case $host_cpu in
10764 ia64*)
10765 shrext_cmds='.so'
10766 hardcode_into_libs=yes
10767 dynamic_linker="$host_os dld.so"
10768 shlibpath_var=LD_LIBRARY_PATH
10769 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10770 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10771 soname_spec='$libname$release$shared_ext$major'
10772 if test 32 = "$HPUX_IA64_MODE"; then
10773 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10774 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10775 else
10776 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10777 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10778 fi
10779 ;;
10780 hppa*64*)
10781 shrext_cmds='.sl'
10782 hardcode_into_libs=yes
10783 dynamic_linker="$host_os dld.sl"
10784 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10785 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10786 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10787 soname_spec='$libname$release$shared_ext$major'
10788 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10789 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10790 ;;
10791 *)
10792 shrext_cmds='.sl'
10793 dynamic_linker="$host_os dld.sl"
10794 shlibpath_var=SHLIB_PATH
10795 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10797 soname_spec='$libname$release$shared_ext$major'
10798 ;;
10799 esac
10800 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10801 postinstall_cmds='chmod 555 $lib'
10802 # or fails outright, so override atomically:
10803 install_override_mode=555
10804 ;;
10805
10806 interix[3-9]*)
10807 version_type=linux # correct to gnu/linux during the next big refactor
10808 need_lib_prefix=no
10809 need_version=no
10810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10811 soname_spec='$libname$release$shared_ext$major'
10812 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10813 shlibpath_var=LD_LIBRARY_PATH
10814 shlibpath_overrides_runpath=no
10815 hardcode_into_libs=yes
10816 ;;
10817
10818 irix5* | irix6* | nonstopux*)
10819 case $host_os in
10820 nonstopux*) version_type=nonstopux ;;
10821 *)
10822 if test yes = "$lt_cv_prog_gnu_ld"; then
10823 version_type=linux # correct to gnu/linux during the next big refactor
10824 else
10825 version_type=irix
10826 fi ;;
10827 esac
10828 need_lib_prefix=no
10829 need_version=no
10830 soname_spec='$libname$release$shared_ext$major'
10831 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10832 case $host_os in
10833 irix5* | nonstopux*)
10834 libsuff= shlibsuff=
10835 ;;
10836 *)
10837 case $LD in # libtool.m4 will add one of these switches to LD
10838 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10839 libsuff= shlibsuff= libmagic=32-bit;;
10840 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10841 libsuff=32 shlibsuff=N32 libmagic=N32;;
10842 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10843 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10844 *) libsuff= shlibsuff= libmagic=never-match;;
10845 esac
10846 ;;
10847 esac
10848 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10849 shlibpath_overrides_runpath=no
10850 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10851 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10852 hardcode_into_libs=yes
10853 ;;
10854
10855 # No shared lib support for Linux oldld, aout, or coff.
10856 linux*oldld* | linux*aout* | linux*coff*)
10857 dynamic_linker=no
10858 ;;
10859
10860 linux*android*)
10861 version_type=none # Android doesn't support versioned libraries.
10862 need_lib_prefix=no
10863 need_version=no
10864 library_names_spec='$libname$release$shared_ext'
10865 soname_spec='$libname$release$shared_ext'
10866 finish_cmds=
10867 shlibpath_var=LD_LIBRARY_PATH
10868 shlibpath_overrides_runpath=yes
10869
10870 # This implies no fast_install, which is unacceptable.
10871 # Some rework will be needed to allow for fast_install
10872 # before this can be enabled.
10873 hardcode_into_libs=yes
10874
10875 dynamic_linker='Android linker'
10876 # Don't embed -rpath directories since the linker doesn't support them.
10877 hardcode_libdir_flag_spec='-L$libdir'
10878 ;;
10879
10880 # This must be glibc/ELF.
10881 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10882 version_type=linux # correct to gnu/linux during the next big refactor
10883 need_lib_prefix=no
10884 need_version=no
10885 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10886 soname_spec='$libname$release$shared_ext$major'
10887 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=no
10890
10891 # Some binutils ld are patched to set DT_RUNPATH
10892 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10893 $as_echo_n "(cached) " >&6
10894 else
10895 lt_cv_shlibpath_overrides_runpath=no
10896 save_LDFLAGS=$LDFLAGS
10897 save_libdir=$libdir
10898 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10899 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10902
10903 int
10904 main ()
10905 {
10906
10907 ;
10908 return 0;
10909 }
10910 _ACEOF
10911 if ac_fn_c_try_link "$LINENO"; then :
10912 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10913 lt_cv_shlibpath_overrides_runpath=yes
10914 fi
10915 fi
10916 rm -f core conftest.err conftest.$ac_objext \
10917 conftest$ac_exeext conftest.$ac_ext
10918 LDFLAGS=$save_LDFLAGS
10919 libdir=$save_libdir
10920
10921 fi
10922
10923 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10924
10925 # This implies no fast_install, which is unacceptable.
10926 # Some rework will be needed to allow for fast_install
10927 # before this can be enabled.
10928 hardcode_into_libs=yes
10929
10930 # Ideally, we could use ldconfig to report *all* directores which are
10931 # searched for libraries, however this is still not possible. Aside from not
10932 # being certain /sbin/ldconfig is available, command
10933 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10934 # even though it is searched at run-time. Try to do the best guess by
10935 # appending ld.so.conf contents (and includes) to the search path.
10936 if test -f /etc/ld.so.conf; then
10937 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' ' '`
10938 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10939 fi
10940
10941 # We used to test for /lib/ld.so.1 and disable shared libraries on
10942 # powerpc, because MkLinux only supported shared libraries with the
10943 # GNU dynamic linker. Since this was broken with cross compilers,
10944 # most powerpc-linux boxes support dynamic linking these days and
10945 # people can always --disable-shared, the test was removed, and we
10946 # assume the GNU/Linux dynamic linker is in use.
10947 dynamic_linker='GNU/Linux ld.so'
10948 ;;
10949
10950 netbsdelf*-gnu)
10951 version_type=linux
10952 need_lib_prefix=no
10953 need_version=no
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10955 soname_spec='${libname}${release}${shared_ext}$major'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath=no
10958 hardcode_into_libs=yes
10959 dynamic_linker='NetBSD ld.elf_so'
10960 ;;
10961
10962 netbsd*)
10963 version_type=sunos
10964 need_lib_prefix=no
10965 need_version=no
10966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10967 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10968 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10969 dynamic_linker='NetBSD (a.out) ld.so'
10970 else
10971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10972 soname_spec='$libname$release$shared_ext$major'
10973 dynamic_linker='NetBSD ld.elf_so'
10974 fi
10975 shlibpath_var=LD_LIBRARY_PATH
10976 shlibpath_overrides_runpath=yes
10977 hardcode_into_libs=yes
10978 ;;
10979
10980 newsos6)
10981 version_type=linux # correct to gnu/linux during the next big refactor
10982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 ;;
10986
10987 *nto* | *qnx*)
10988 version_type=qnx
10989 need_lib_prefix=no
10990 need_version=no
10991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10992 soname_spec='$libname$release$shared_ext$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=no
10995 hardcode_into_libs=yes
10996 dynamic_linker='ldqnx.so'
10997 ;;
10998
10999 openbsd* | bitrig*)
11000 version_type=sunos
11001 sys_lib_dlsearch_path_spec=/usr/lib
11002 need_lib_prefix=no
11003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11004 need_version=no
11005 else
11006 need_version=yes
11007 fi
11008 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=yes
11012 ;;
11013
11014 os2*)
11015 libname_spec='$name'
11016 version_type=windows
11017 shrext_cmds=.dll
11018 need_version=no
11019 need_lib_prefix=no
11020 # OS/2 can only load a DLL with a base name of 8 characters or less.
11021 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11022 v=$($ECHO $release$versuffix | tr -d .-);
11023 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11024 $ECHO $n$v`$shared_ext'
11025 library_names_spec='${libname}_dll.$libext'
11026 dynamic_linker='OS/2 ld.exe'
11027 shlibpath_var=BEGINLIBPATH
11028 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11030 postinstall_cmds='base_file=`basename \$file`~
11031 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11032 dldir=$destdir/`dirname \$dlpath`~
11033 test -d \$dldir || mkdir -p \$dldir~
11034 $install_prog $dir/$dlname \$dldir/$dlname~
11035 chmod a+x \$dldir/$dlname~
11036 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11037 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11038 fi'
11039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11040 dlpath=$dir/\$dldll~
11041 $RM \$dlpath'
11042 ;;
11043
11044 osf3* | osf4* | osf5*)
11045 version_type=osf
11046 need_lib_prefix=no
11047 need_version=no
11048 soname_spec='$libname$release$shared_ext$major'
11049 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11053 ;;
11054
11055 rdos*)
11056 dynamic_linker=no
11057 ;;
11058
11059 solaris*)
11060 version_type=linux # correct to gnu/linux during the next big refactor
11061 need_lib_prefix=no
11062 need_version=no
11063 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11064 soname_spec='$libname$release$shared_ext$major'
11065 shlibpath_var=LD_LIBRARY_PATH
11066 shlibpath_overrides_runpath=yes
11067 hardcode_into_libs=yes
11068 # ldd complains unless libraries are executable
11069 postinstall_cmds='chmod +x $lib'
11070 ;;
11071
11072 sunos4*)
11073 version_type=sunos
11074 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11075 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11076 shlibpath_var=LD_LIBRARY_PATH
11077 shlibpath_overrides_runpath=yes
11078 if test yes = "$with_gnu_ld"; then
11079 need_lib_prefix=no
11080 fi
11081 need_version=yes
11082 ;;
11083
11084 sysv4 | sysv4.3*)
11085 version_type=linux # correct to gnu/linux during the next big refactor
11086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11087 soname_spec='$libname$release$shared_ext$major'
11088 shlibpath_var=LD_LIBRARY_PATH
11089 case $host_vendor in
11090 sni)
11091 shlibpath_overrides_runpath=no
11092 need_lib_prefix=no
11093 runpath_var=LD_RUN_PATH
11094 ;;
11095 siemens)
11096 need_lib_prefix=no
11097 ;;
11098 motorola)
11099 need_lib_prefix=no
11100 need_version=no
11101 shlibpath_overrides_runpath=no
11102 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11103 ;;
11104 esac
11105 ;;
11106
11107 sysv4*MP*)
11108 if test -d /usr/nec; then
11109 version_type=linux # correct to gnu/linux during the next big refactor
11110 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11111 soname_spec='$libname$shared_ext.$major'
11112 shlibpath_var=LD_LIBRARY_PATH
11113 fi
11114 ;;
11115
11116 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11117 version_type=sco
11118 need_lib_prefix=no
11119 need_version=no
11120 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11121 soname_spec='$libname$release$shared_ext$major'
11122 shlibpath_var=LD_LIBRARY_PATH
11123 shlibpath_overrides_runpath=yes
11124 hardcode_into_libs=yes
11125 if test yes = "$with_gnu_ld"; then
11126 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11127 else
11128 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11129 case $host_os in
11130 sco3.2v5*)
11131 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11132 ;;
11133 esac
11134 fi
11135 sys_lib_dlsearch_path_spec='/usr/lib'
11136 ;;
11137
11138 tpf*)
11139 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11140 version_type=linux # correct to gnu/linux during the next big refactor
11141 need_lib_prefix=no
11142 need_version=no
11143 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11144 shlibpath_var=LD_LIBRARY_PATH
11145 shlibpath_overrides_runpath=no
11146 hardcode_into_libs=yes
11147 ;;
11148
11149 uts4*)
11150 version_type=linux # correct to gnu/linux during the next big refactor
11151 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11152 soname_spec='$libname$release$shared_ext$major'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 ;;
11155
11156 *)
11157 dynamic_linker=no
11158 ;;
11159 esac
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11161 $as_echo "$dynamic_linker" >&6; }
11162 test no = "$dynamic_linker" && can_build_shared=no
11163
11164 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11165 if test yes = "$GCC"; then
11166 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11167 fi
11168
11169 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11170 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11171 fi
11172
11173 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11174 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11175 fi
11176
11177 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11178 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11179
11180 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11181 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11182
11183 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11184 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11283 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11284 hardcode_action=
11285 if test -n "$hardcode_libdir_flag_spec" ||
11286 test -n "$runpath_var" ||
11287 test yes = "$hardcode_automatic"; then
11288
11289 # We can hardcode non-existent directories.
11290 if test no != "$hardcode_direct" &&
11291 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11292 # have to relink, otherwise we might link with an installed library
11293 # when we should be linking with a yet-to-be-installed one
11294 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11295 test no != "$hardcode_minus_L"; then
11296 # Linking always hardcodes the temporary library directory.
11297 hardcode_action=relink
11298 else
11299 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11300 hardcode_action=immediate
11301 fi
11302 else
11303 # We cannot hardcode anything, or else we can only hardcode existing
11304 # directories.
11305 hardcode_action=unsupported
11306 fi
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11308 $as_echo "$hardcode_action" >&6; }
11309
11310 if test relink = "$hardcode_action" ||
11311 test yes = "$inherit_rpath"; then
11312 # Fast installation is not supported
11313 enable_fast_install=no
11314 elif test yes = "$shlibpath_overrides_runpath" ||
11315 test no = "$enable_shared"; then
11316 # Fast installation is not necessary
11317 enable_fast_install=needless
11318 fi
11319
11320
11321
11322
11323
11324
11325 if test yes != "$enable_dlopen"; then
11326 enable_dlopen=unknown
11327 enable_dlopen_self=unknown
11328 enable_dlopen_self_static=unknown
11329 else
11330 lt_cv_dlopen=no
11331 lt_cv_dlopen_libs=
11332
11333 case $host_os in
11334 beos*)
11335 lt_cv_dlopen=load_add_on
11336 lt_cv_dlopen_libs=
11337 lt_cv_dlopen_self=yes
11338 ;;
11339
11340 mingw* | pw32* | cegcc*)
11341 lt_cv_dlopen=LoadLibrary
11342 lt_cv_dlopen_libs=
11343 ;;
11344
11345 cygwin*)
11346 lt_cv_dlopen=dlopen
11347 lt_cv_dlopen_libs=
11348 ;;
11349
11350 darwin*)
11351 # if libdl is installed we need to link against it
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11353 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11354 if ${ac_cv_lib_dl_dlopen+:} false; then :
11355 $as_echo_n "(cached) " >&6
11356 else
11357 ac_check_lib_save_LIBS=$LIBS
11358 LIBS="-ldl $LIBS"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char dlopen ();
11369 int
11370 main ()
11371 {
11372 return dlopen ();
11373 ;
11374 return 0;
11375 }
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 ac_cv_lib_dl_dlopen=yes
11379 else
11380 ac_cv_lib_dl_dlopen=no
11381 fi
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11385 fi
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11388 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11389 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11390 else
11391
11392 lt_cv_dlopen=dyld
11393 lt_cv_dlopen_libs=
11394 lt_cv_dlopen_self=yes
11395
11396 fi
11397
11398 ;;
11399
11400 tpf*)
11401 # Don't try to run any link tests for TPF. We know it's impossible
11402 # because TPF is a cross-compiler, and we know how we open DSOs.
11403 lt_cv_dlopen=dlopen
11404 lt_cv_dlopen_libs=
11405 lt_cv_dlopen_self=no
11406 ;;
11407
11408 *)
11409 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11410 if test "x$ac_cv_func_shl_load" = xyes; then :
11411 lt_cv_dlopen=shl_load
11412 else
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11414 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11415 if ${ac_cv_lib_dld_shl_load+:} false; then :
11416 $as_echo_n "(cached) " >&6
11417 else
11418 ac_check_lib_save_LIBS=$LIBS
11419 LIBS="-ldld $LIBS"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11422
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11426 #ifdef __cplusplus
11427 extern "C"
11428 #endif
11429 char shl_load ();
11430 int
11431 main ()
11432 {
11433 return shl_load ();
11434 ;
11435 return 0;
11436 }
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"; then :
11439 ac_cv_lib_dld_shl_load=yes
11440 else
11441 ac_cv_lib_dld_shl_load=no
11442 fi
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_lib_save_LIBS
11446 fi
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11448 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11449 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11450 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11451 else
11452 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11453 if test "x$ac_cv_func_dlopen" = xyes; then :
11454 lt_cv_dlopen=dlopen
11455 else
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11458 if ${ac_cv_lib_dl_dlopen+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_lib_save_LIBS=$LIBS
11462 LIBS="-ldl $LIBS"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char dlopen ();
11473 int
11474 main ()
11475 {
11476 return dlopen ();
11477 ;
11478 return 0;
11479 }
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 ac_cv_lib_dl_dlopen=yes
11483 else
11484 ac_cv_lib_dl_dlopen=no
11485 fi
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_lib_save_LIBS
11489 fi
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11491 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11492 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11493 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11494 else
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11496 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11497 if ${ac_cv_lib_svld_dlopen+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_lib_save_LIBS=$LIBS
11501 LIBS="-lsvld $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11504
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char dlopen ();
11512 int
11513 main ()
11514 {
11515 return dlopen ();
11516 ;
11517 return 0;
11518 }
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 ac_cv_lib_svld_dlopen=yes
11522 else
11523 ac_cv_lib_svld_dlopen=no
11524 fi
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_lib_save_LIBS
11528 fi
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11530 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11531 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11532 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11533 else
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11535 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11536 if ${ac_cv_lib_dld_dld_link+:} false; then :
11537 $as_echo_n "(cached) " >&6
11538 else
11539 ac_check_lib_save_LIBS=$LIBS
11540 LIBS="-ldld $LIBS"
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11543
11544 /* Override any GCC internal prototype to avoid an error.
11545 Use char because int might match the return type of a GCC
11546 builtin and then its argument prototype would still apply. */
11547 #ifdef __cplusplus
11548 extern "C"
11549 #endif
11550 char dld_link ();
11551 int
11552 main ()
11553 {
11554 return dld_link ();
11555 ;
11556 return 0;
11557 }
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"; then :
11560 ac_cv_lib_dld_dld_link=yes
11561 else
11562 ac_cv_lib_dld_dld_link=no
11563 fi
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_lib_save_LIBS
11567 fi
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11569 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11570 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11571 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11572 fi
11573
11574
11575 fi
11576
11577
11578 fi
11579
11580
11581 fi
11582
11583
11584 fi
11585
11586
11587 fi
11588
11589 ;;
11590 esac
11591
11592 if test no = "$lt_cv_dlopen"; then
11593 enable_dlopen=no
11594 else
11595 enable_dlopen=yes
11596 fi
11597
11598 case $lt_cv_dlopen in
11599 dlopen)
11600 save_CPPFLAGS=$CPPFLAGS
11601 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11602
11603 save_LDFLAGS=$LDFLAGS
11604 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11605
11606 save_LIBS=$LIBS
11607 LIBS="$lt_cv_dlopen_libs $LIBS"
11608
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11610 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11611 if ${lt_cv_dlopen_self+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 if test yes = "$cross_compiling"; then :
11615 lt_cv_dlopen_self=cross
11616 else
11617 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11618 lt_status=$lt_dlunknown
11619 cat > conftest.$ac_ext <<_LT_EOF
11620 #line $LINENO "configure"
11621 #include "confdefs.h"
11622
11623 #if HAVE_DLFCN_H
11624 #include <dlfcn.h>
11625 #endif
11626
11627 #include <stdio.h>
11628
11629 #ifdef RTLD_GLOBAL
11630 # define LT_DLGLOBAL RTLD_GLOBAL
11631 #else
11632 # ifdef DL_GLOBAL
11633 # define LT_DLGLOBAL DL_GLOBAL
11634 # else
11635 # define LT_DLGLOBAL 0
11636 # endif
11637 #endif
11638
11639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11640 find out it does not work in some platform. */
11641 #ifndef LT_DLLAZY_OR_NOW
11642 # ifdef RTLD_LAZY
11643 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11644 # else
11645 # ifdef DL_LAZY
11646 # define LT_DLLAZY_OR_NOW DL_LAZY
11647 # else
11648 # ifdef RTLD_NOW
11649 # define LT_DLLAZY_OR_NOW RTLD_NOW
11650 # else
11651 # ifdef DL_NOW
11652 # define LT_DLLAZY_OR_NOW DL_NOW
11653 # else
11654 # define LT_DLLAZY_OR_NOW 0
11655 # endif
11656 # endif
11657 # endif
11658 # endif
11659 #endif
11660
11661 /* When -fvisibility=hidden is used, assume the code has been annotated
11662 correspondingly for the symbols needed. */
11663 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11664 int fnord () __attribute__((visibility("default")));
11665 #endif
11666
11667 int fnord () { return 42; }
11668 int main ()
11669 {
11670 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11671 int status = $lt_dlunknown;
11672
11673 if (self)
11674 {
11675 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11676 else
11677 {
11678 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11679 else puts (dlerror ());
11680 }
11681 /* dlclose (self); */
11682 }
11683 else
11684 puts (dlerror ());
11685
11686 return status;
11687 }
11688 _LT_EOF
11689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11690 (eval $ac_link) 2>&5
11691 ac_status=$?
11692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11693 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11694 (./conftest; exit; ) >&5 2>/dev/null
11695 lt_status=$?
11696 case x$lt_status in
11697 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11698 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11699 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11700 esac
11701 else :
11702 # compilation failed
11703 lt_cv_dlopen_self=no
11704 fi
11705 fi
11706 rm -fr conftest*
11707
11708
11709 fi
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11711 $as_echo "$lt_cv_dlopen_self" >&6; }
11712
11713 if test yes = "$lt_cv_dlopen_self"; then
11714 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11716 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11717 if ${lt_cv_dlopen_self_static+:} false; then :
11718 $as_echo_n "(cached) " >&6
11719 else
11720 if test yes = "$cross_compiling"; then :
11721 lt_cv_dlopen_self_static=cross
11722 else
11723 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11724 lt_status=$lt_dlunknown
11725 cat > conftest.$ac_ext <<_LT_EOF
11726 #line $LINENO "configure"
11727 #include "confdefs.h"
11728
11729 #if HAVE_DLFCN_H
11730 #include <dlfcn.h>
11731 #endif
11732
11733 #include <stdio.h>
11734
11735 #ifdef RTLD_GLOBAL
11736 # define LT_DLGLOBAL RTLD_GLOBAL
11737 #else
11738 # ifdef DL_GLOBAL
11739 # define LT_DLGLOBAL DL_GLOBAL
11740 # else
11741 # define LT_DLGLOBAL 0
11742 # endif
11743 #endif
11744
11745 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11746 find out it does not work in some platform. */
11747 #ifndef LT_DLLAZY_OR_NOW
11748 # ifdef RTLD_LAZY
11749 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11750 # else
11751 # ifdef DL_LAZY
11752 # define LT_DLLAZY_OR_NOW DL_LAZY
11753 # else
11754 # ifdef RTLD_NOW
11755 # define LT_DLLAZY_OR_NOW RTLD_NOW
11756 # else
11757 # ifdef DL_NOW
11758 # define LT_DLLAZY_OR_NOW DL_NOW
11759 # else
11760 # define LT_DLLAZY_OR_NOW 0
11761 # endif
11762 # endif
11763 # endif
11764 # endif
11765 #endif
11766
11767 /* When -fvisibility=hidden is used, assume the code has been annotated
11768 correspondingly for the symbols needed. */
11769 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11770 int fnord () __attribute__((visibility("default")));
11771 #endif
11772
11773 int fnord () { return 42; }
11774 int main ()
11775 {
11776 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11777 int status = $lt_dlunknown;
11778
11779 if (self)
11780 {
11781 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11782 else
11783 {
11784 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11785 else puts (dlerror ());
11786 }
11787 /* dlclose (self); */
11788 }
11789 else
11790 puts (dlerror ());
11791
11792 return status;
11793 }
11794 _LT_EOF
11795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11796 (eval $ac_link) 2>&5
11797 ac_status=$?
11798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11799 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11800 (./conftest; exit; ) >&5 2>/dev/null
11801 lt_status=$?
11802 case x$lt_status in
11803 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11804 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11805 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11806 esac
11807 else :
11808 # compilation failed
11809 lt_cv_dlopen_self_static=no
11810 fi
11811 fi
11812 rm -fr conftest*
11813
11814
11815 fi
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11817 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11818 fi
11819
11820 CPPFLAGS=$save_CPPFLAGS
11821 LDFLAGS=$save_LDFLAGS
11822 LIBS=$save_LIBS
11823 ;;
11824 esac
11825
11826 case $lt_cv_dlopen_self in
11827 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11828 *) enable_dlopen_self=unknown ;;
11829 esac
11830
11831 case $lt_cv_dlopen_self_static in
11832 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11833 *) enable_dlopen_self_static=unknown ;;
11834 esac
11835 fi
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853 striplib=
11854 old_striplib=
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11856 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11857 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11858 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11859 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11861 $as_echo "yes" >&6; }
11862 else
11863 # FIXME - insert some real tests, host_os isn't really good enough
11864 case $host_os in
11865 darwin*)
11866 if test -n "$STRIP"; then
11867 striplib="$STRIP -x"
11868 old_striplib="$STRIP -S"
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11870 $as_echo "yes" >&6; }
11871 else
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11873 $as_echo "no" >&6; }
11874 fi
11875 ;;
11876 *)
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878 $as_echo "no" >&6; }
11879 ;;
11880 esac
11881 fi
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894 # Report what library types will actually be built
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11896 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11898 $as_echo "$can_build_shared" >&6; }
11899
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11901 $as_echo_n "checking whether to build shared libraries... " >&6; }
11902 test no = "$can_build_shared" && enable_shared=no
11903
11904 # On AIX, shared libraries and static libraries use the same namespace, and
11905 # are all built from PIC.
11906 case $host_os in
11907 aix3*)
11908 test yes = "$enable_shared" && enable_static=no
11909 if test -n "$RANLIB"; then
11910 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11911 postinstall_cmds='$RANLIB $lib'
11912 fi
11913 ;;
11914
11915 aix[4-9]*)
11916 if test ia64 != "$host_cpu"; then
11917 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11918 yes,aix,yes) ;; # shared object as lib.so file only
11919 yes,svr4,*) ;; # shared object as lib.so archive member only
11920 yes,*) enable_static=no ;; # shared object in lib.a archive as well
11921 esac
11922 fi
11923 ;;
11924 esac
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11926 $as_echo "$enable_shared" >&6; }
11927
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11929 $as_echo_n "checking whether to build static libraries... " >&6; }
11930 # Make sure either enable_shared or enable_static is yes.
11931 test yes = "$enable_shared" || enable_static=yes
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11933 $as_echo "$enable_static" >&6; }
11934
11935
11936
11937
11938 fi
11939 ac_ext=c
11940 ac_cpp='$CPP $CPPFLAGS'
11941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11944
11945 CC=$lt_save_CC
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961 ac_config_commands="$ac_config_commands libtool"
11962
11963
11964
11965
11966 # Only expand once:
11967
11968
11969
11970 GST_MAJORMINOR=1.0
11971
11972
11973
11974
11975
11976
11977
11978
11979 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11980 if test -n "$ac_tool_prefix"; then
11981 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11982 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11986 $as_echo_n "(cached) " >&6
11987 else
11988 case $PKG_CONFIG in
11989 [\\/]* | ?:[\\/]*)
11990 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11991 ;;
11992 *)
11993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11994 for as_dir in $PATH
11995 do
11996 IFS=$as_save_IFS
11997 test -z "$as_dir" && as_dir=.
11998 for ac_exec_ext in '' $ac_executable_extensions; do
11999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12002 break 2
12003 fi
12004 done
12005 done
12006 IFS=$as_save_IFS
12007
12008 ;;
12009 esac
12010 fi
12011 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12012 if test -n "$PKG_CONFIG"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12014 $as_echo "$PKG_CONFIG" >&6; }
12015 else
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12018 fi
12019
12020
12021 fi
12022 if test -z "$ac_cv_path_PKG_CONFIG"; then
12023 ac_pt_PKG_CONFIG=$PKG_CONFIG
12024 # Extract the first word of "pkg-config", so it can be a program name with args.
12025 set dummy pkg-config; ac_word=$2
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12027 $as_echo_n "checking for $ac_word... " >&6; }
12028 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 case $ac_pt_PKG_CONFIG in
12032 [\\/]* | ?:[\\/]*)
12033 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12034 ;;
12035 *)
12036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12037 for as_dir in $PATH
12038 do
12039 IFS=$as_save_IFS
12040 test -z "$as_dir" && as_dir=.
12041 for ac_exec_ext in '' $ac_executable_extensions; do
12042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12043 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 break 2
12046 fi
12047 done
12048 done
12049 IFS=$as_save_IFS
12050
12051 ;;
12052 esac
12053 fi
12054 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12055 if test -n "$ac_pt_PKG_CONFIG"; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12057 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12058 else
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060 $as_echo "no" >&6; }
12061 fi
12062
12063 if test "x$ac_pt_PKG_CONFIG" = x; then
12064 PKG_CONFIG=""
12065 else
12066 case $cross_compiling:$ac_tool_warned in
12067 yes:)
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12070 ac_tool_warned=yes ;;
12071 esac
12072 PKG_CONFIG=$ac_pt_PKG_CONFIG
12073 fi
12074 else
12075 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12076 fi
12077
12078 fi
12079 if test -n "$PKG_CONFIG"; then
12080 _pkg_min_version=0.9.0
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12082 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12083 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12085 $as_echo "yes" >&6; }
12086 else
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12089 PKG_CONFIG=""
12090 fi
12091 fi
12092
12093 pkg_failed=no
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
12095 $as_echo_n "checking for GST... " >&6; }
12096
12097 if test -n "$GST_CFLAGS"; then
12098 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
12099 elif test -n "$PKG_CONFIG"; then
12100 if test -n "$PKG_CONFIG" && \
12101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR\""; } >&5
12102 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR") 2>&5
12103 ac_status=$?
12104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12105 test $ac_status = 0; }; then
12106 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR" 2>/dev/null`
12107 test "x$?" != "x0" && pkg_failed=yes
12108 else
12109 pkg_failed=yes
12110 fi
12111 else
12112 pkg_failed=untried
12113 fi
12114 if test -n "$GST_LIBS"; then
12115 pkg_cv_GST_LIBS="$GST_LIBS"
12116 elif test -n "$PKG_CONFIG"; then
12117 if test -n "$PKG_CONFIG" && \
12118 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR\""; } >&5
12119 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR") 2>&5
12120 ac_status=$?
12121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12122 test $ac_status = 0; }; then
12123 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR" 2>/dev/null`
12124 test "x$?" != "x0" && pkg_failed=yes
12125 else
12126 pkg_failed=yes
12127 fi
12128 else
12129 pkg_failed=untried
12130 fi
12131
12132
12133
12134 if test $pkg_failed = yes; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12137
12138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12139 _pkg_short_errors_supported=yes
12140 else
12141 _pkg_short_errors_supported=no
12142 fi
12143 if test $_pkg_short_errors_supported = yes; then
12144 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR" 2>&1`
12145 else
12146 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR" 2>&1`
12147 fi
12148 # Put the nasty error message in config.log where it belongs
12149 echo "$GST_PKG_ERRORS" >&5
12150
12151 as_fn_error $? "Package requirements (gstreamer-$GST_MAJORMINOR) were not met:
12152
12153 $GST_PKG_ERRORS
12154
12155 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12156 installed software in a non-standard prefix.
12157
12158 Alternatively, you may set the environment variables GST_CFLAGS
12159 and GST_LIBS to avoid the need to call pkg-config.
12160 See the pkg-config man page for more details." "$LINENO" 5
12161 elif test $pkg_failed = untried; then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12166 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12167 is in your PATH or set the PKG_CONFIG environment variable to the full
12168 path to pkg-config.
12169
12170 Alternatively, you may set the environment variables GST_CFLAGS
12171 and GST_LIBS to avoid the need to call pkg-config.
12172 See the pkg-config man page for more details.
12173
12174 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12175 See \`config.log' for more details" "$LINENO" 5; }
12176 else
12177 GST_CFLAGS=$pkg_cv_GST_CFLAGS
12178 GST_LIBS=$pkg_cv_GST_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12180 $as_echo "yes" >&6; }
12181
12182 fi
12183
12184 pkg_failed=no
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_AUDIO" >&5
12186 $as_echo_n "checking for GST_AUDIO... " >&6; }
12187
12188 if test -n "$GST_AUDIO_CFLAGS"; then
12189 pkg_cv_GST_AUDIO_CFLAGS="$GST_AUDIO_CFLAGS"
12190 elif test -n "$PKG_CONFIG"; then
12191 if test -n "$PKG_CONFIG" && \
12192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-audio-\$GST_MAJORMINOR\""; } >&5
12193 ($PKG_CONFIG --exists --print-errors "gstreamer-audio-$GST_MAJORMINOR") 2>&5
12194 ac_status=$?
12195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12196 test $ac_status = 0; }; then
12197 pkg_cv_GST_AUDIO_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-audio-$GST_MAJORMINOR" 2>/dev/null`
12198 test "x$?" != "x0" && pkg_failed=yes
12199 else
12200 pkg_failed=yes
12201 fi
12202 else
12203 pkg_failed=untried
12204 fi
12205 if test -n "$GST_AUDIO_LIBS"; then
12206 pkg_cv_GST_AUDIO_LIBS="$GST_AUDIO_LIBS"
12207 elif test -n "$PKG_CONFIG"; then
12208 if test -n "$PKG_CONFIG" && \
12209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-audio-\$GST_MAJORMINOR\""; } >&5
12210 ($PKG_CONFIG --exists --print-errors "gstreamer-audio-$GST_MAJORMINOR") 2>&5
12211 ac_status=$?
12212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12213 test $ac_status = 0; }; then
12214 pkg_cv_GST_AUDIO_LIBS=`$PKG_CONFIG --libs "gstreamer-audio-$GST_MAJORMINOR" 2>/dev/null`
12215 test "x$?" != "x0" && pkg_failed=yes
12216 else
12217 pkg_failed=yes
12218 fi
12219 else
12220 pkg_failed=untried
12221 fi
12222
12223
12224
12225 if test $pkg_failed = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12228
12229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12230 _pkg_short_errors_supported=yes
12231 else
12232 _pkg_short_errors_supported=no
12233 fi
12234 if test $_pkg_short_errors_supported = yes; then
12235 GST_AUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-audio-$GST_MAJORMINOR" 2>&1`
12236 else
12237 GST_AUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-audio-$GST_MAJORMINOR" 2>&1`
12238 fi
12239 # Put the nasty error message in config.log where it belongs
12240 echo "$GST_AUDIO_PKG_ERRORS" >&5
12241
12242 have_audio=no
12243 elif test $pkg_failed = untried; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245 $as_echo "no" >&6; }
12246 have_audio=no
12247 else
12248 GST_AUDIO_CFLAGS=$pkg_cv_GST_AUDIO_CFLAGS
12249 GST_AUDIO_LIBS=$pkg_cv_GST_AUDIO_LIBS
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12251 $as_echo "yes" >&6; }
12252 have_audio=yes
12253 fi
12254 if test "x$have_audio" = "xno"; then
12255 as_ac_Lib=`$as_echo "ac_cv_lib_gstbase-$GST_MAJORMINOR''_gst_base_src_get_type" | $as_tr_sh`
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_base_src_get_type in -lgstbase-$GST_MAJORMINOR" >&5
12257 $as_echo_n "checking for gst_base_src_get_type in -lgstbase-$GST_MAJORMINOR... " >&6; }
12258 if eval \${$as_ac_Lib+:} false; then :
12259 $as_echo_n "(cached) " >&6
12260 else
12261 ac_check_lib_save_LIBS=$LIBS
12262 LIBS="-lgstbase-$GST_MAJORMINOR $LIBS"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12269 #ifdef __cplusplus
12270 extern "C"
12271 #endif
12272 char gst_base_src_get_type ();
12273 int
12274 main ()
12275 {
12276 return gst_base_src_get_type ();
12277 ;
12278 return 0;
12279 }
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 eval "$as_ac_Lib=yes"
12283 else
12284 eval "$as_ac_Lib=no"
12285 fi
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_lib_save_LIBS
12289 fi
12290 eval ac_res=\$$as_ac_Lib
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12292 $as_echo "$ac_res" >&6; }
12293 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define `$as_echo "HAVE_LIBgstbase-$GST_MAJORMINOR" | $as_tr_cpp` 1
12296 _ACEOF
12297
12298 LIBS="-lgstbase-$GST_MAJORMINOR $LIBS"
12299
12300 else
12301 as_fn_error $? "" "$LINENO" 5
12302 fi
12303
12304 as_ac_Lib=`$as_echo "ac_cv_lib_gstaudio-$GST_MAJORMINOR''_gst_base_audio_src_get_type" | $as_tr_sh`
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_base_audio_src_get_type in -lgstaudio-$GST_MAJORMINOR" >&5
12306 $as_echo_n "checking for gst_base_audio_src_get_type in -lgstaudio-$GST_MAJORMINOR... " >&6; }
12307 if eval \${$as_ac_Lib+:} false; then :
12308 $as_echo_n "(cached) " >&6
12309 else
12310 ac_check_lib_save_LIBS=$LIBS
12311 LIBS="-lgstaudio-$GST_MAJORMINOR $LIBS"
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314
12315 /* Override any GCC internal prototype to avoid an error.
12316 Use char because int might match the return type of a GCC
12317 builtin and then its argument prototype would still apply. */
12318 #ifdef __cplusplus
12319 extern "C"
12320 #endif
12321 char gst_base_audio_src_get_type ();
12322 int
12323 main ()
12324 {
12325 return gst_base_audio_src_get_type ();
12326 ;
12327 return 0;
12328 }
12329 _ACEOF
12330 if ac_fn_c_try_link "$LINENO"; then :
12331 eval "$as_ac_Lib=yes"
12332 else
12333 eval "$as_ac_Lib=no"
12334 fi
12335 rm -f core conftest.err conftest.$ac_objext \
12336 conftest$ac_exeext conftest.$ac_ext
12337 LIBS=$ac_check_lib_save_LIBS
12338 fi
12339 eval ac_res=\$$as_ac_Lib
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12341 $as_echo "$ac_res" >&6; }
12342 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12343 cat >>confdefs.h <<_ACEOF
12344 #define `$as_echo "HAVE_LIBgstaudio-$GST_MAJORMINOR" | $as_tr_cpp` 1
12345 _ACEOF
12346
12347 LIBS="-lgstaudio-$GST_MAJORMINOR $LIBS"
12348
12349 else
12350 as_fn_error $? "" "$LINENO" 5
12351 fi
12352
12353 fi
12354
12355 if test "${ESPEAK_PREFIX}"; then
12356 ESPEAK_CFLAGS="-I${ESPEAK_PREFIX}/include"
12357 ESPEAK_LIBS="-L${ESPEAK_PREFIX}/lib -lespeak"
12358
12359
12360 else
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for espeak_Initialize in -lespeak" >&5
12362 $as_echo_n "checking for espeak_Initialize in -lespeak... " >&6; }
12363 if ${ac_cv_lib_espeak_espeak_Initialize+:} false; then :
12364 $as_echo_n "(cached) " >&6
12365 else
12366 ac_check_lib_save_LIBS=$LIBS
12367 LIBS="-lespeak $LIBS"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12370
12371 /* Override any GCC internal prototype to avoid an error.
12372 Use char because int might match the return type of a GCC
12373 builtin and then its argument prototype would still apply. */
12374 #ifdef __cplusplus
12375 extern "C"
12376 #endif
12377 char espeak_Initialize ();
12378 int
12379 main ()
12380 {
12381 return espeak_Initialize ();
12382 ;
12383 return 0;
12384 }
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387 ac_cv_lib_espeak_espeak_Initialize=yes
12388 else
12389 ac_cv_lib_espeak_espeak_Initialize=no
12390 fi
12391 rm -f core conftest.err conftest.$ac_objext \
12392 conftest$ac_exeext conftest.$ac_ext
12393 LIBS=$ac_check_lib_save_LIBS
12394 fi
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_espeak_espeak_Initialize" >&5
12396 $as_echo "$ac_cv_lib_espeak_espeak_Initialize" >&6; }
12397 if test "x$ac_cv_lib_espeak_espeak_Initialize" = xyes; then :
12398 cat >>confdefs.h <<_ACEOF
12399 #define HAVE_LIBESPEAK 1
12400 _ACEOF
12401
12402 LIBS="-lespeak $LIBS"
12403
12404 else
12405 as_fn_error $? "" "$LINENO" 5
12406 fi
12407
12408 fi
12409
12410 if test "x${prefix}" = "x$HOME"; then
12411 plugindir="$HOME/.gstreamer-$GST_MAJORMINOR/plugins"
12412 else
12413 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
12414 fi
12415
12416
12417 GST_ALL_LDFLAGS="-no-undefined"
12418
12419
12420 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
12421
12422
12423 ac_config_files="$ac_config_files Makefile m4/Makefile src/Makefile"
12424
12425 cat >confcache <<\_ACEOF
12426 # This file is a shell script that caches the results of configure
12427 # tests run on this system so they can be shared between configure
12428 # scripts and configure runs, see configure's option --config-cache.
12429 # It is not useful on other systems. If it contains results you don't
12430 # want to keep, you may remove or edit it.
12431 #
12432 # config.status only pays attention to the cache file if you give it
12433 # the --recheck option to rerun configure.
12434 #
12435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12437 # following values.
12438
12439 _ACEOF
12440
12441 # The following way of writing the cache mishandles newlines in values,
12442 # but we know of no workaround that is simple, portable, and efficient.
12443 # So, we kill variables containing newlines.
12444 # Ultrix sh set writes to stderr and can't be redirected directly,
12445 # and sets the high bit in the cache file unless we assign to the vars.
12446 (
12447 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12448 eval ac_val=\$$ac_var
12449 case $ac_val in #(
12450 *${as_nl}*)
12451 case $ac_var in #(
12452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12454 esac
12455 case $ac_var in #(
12456 _ | IFS | as_nl) ;; #(
12457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12458 *) { eval $ac_var=; unset $ac_var;} ;;
12459 esac ;;
12460 esac
12461 done
12462
12463 (set) 2>&1 |
12464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12465 *${as_nl}ac_space=\ *)
12466 # `set' does not quote correctly, so add quotes: double-quote
12467 # substitution turns \\\\ into \\, and sed turns \\ into \.
12468 sed -n \
12469 "s/'/'\\\\''/g;
12470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12471 ;; #(
12472 *)
12473 # `set' quotes correctly as required by POSIX, so do not add quotes.
12474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12475 ;;
12476 esac |
12477 sort
12478 ) |
12479 sed '
12480 /^ac_cv_env_/b end
12481 t clear
12482 :clear
12483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12484 t end
12485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12486 :end' >>confcache
12487 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12488 if test -w "$cache_file"; then
12489 if test "x$cache_file" != "x/dev/null"; then
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12491 $as_echo "$as_me: updating cache $cache_file" >&6;}
12492 if test ! -f "$cache_file" || test -h "$cache_file"; then
12493 cat confcache >"$cache_file"
12494 else
12495 case $cache_file in #(
12496 */* | ?:*)
12497 mv -f confcache "$cache_file"$$ &&
12498 mv -f "$cache_file"$$ "$cache_file" ;; #(
12499 *)
12500 mv -f confcache "$cache_file" ;;
12501 esac
12502 fi
12503 fi
12504 else
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12506 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12507 fi
12508 fi
12509 rm -f confcache
12510
12511 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12512 # Let make expand exec_prefix.
12513 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12514
12515 DEFS=-DHAVE_CONFIG_H
12516
12517 ac_libobjs=
12518 ac_ltlibobjs=
12519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12520 # 1. Remove the extension, and $U if already installed.
12521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12524 # will be set to the directory where LIBOBJS objects are built.
12525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12527 done
12528 LIBOBJS=$ac_libobjs
12529
12530 LTLIBOBJS=$ac_ltlibobjs
12531
12532
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12534 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12535 if test -n "$am_sleep_pid"; then
12536 # Hide warnings about reused PIDs.
12537 wait $am_sleep_pid 2>/dev/null
12538 fi
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12540 $as_echo "done" >&6; }
12541 if test -n "$EXEEXT"; then
12542 am__EXEEXT_TRUE=
12543 am__EXEEXT_FALSE='#'
12544 else
12545 am__EXEEXT_TRUE='#'
12546 am__EXEEXT_FALSE=
12547 fi
12548
12549 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12550 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12552 fi
12553 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12554 as_fn_error $? "conditional \"AMDEP\" was never defined.
12555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12556 fi
12557 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12558 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12560 fi
12561
12562 : "${CONFIG_STATUS=./config.status}"
12563 ac_write_fail=0
12564 ac_clean_files_save=$ac_clean_files
12565 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12567 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12568 as_write_fail=0
12569 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12570 #! $SHELL
12571 # Generated by $as_me.
12572 # Run this file to recreate the current configuration.
12573 # Compiler output produced by configure, useful for debugging
12574 # configure, is in config.log if it exists.
12575
12576 debug=false
12577 ac_cs_recheck=false
12578 ac_cs_silent=false
12579
12580 SHELL=\${CONFIG_SHELL-$SHELL}
12581 export SHELL
12582 _ASEOF
12583 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12584 ## -------------------- ##
12585 ## M4sh Initialization. ##
12586 ## -------------------- ##
12587
12588 # Be more Bourne compatible
12589 DUALCASE=1; export DUALCASE # for MKS sh
12590 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12591 emulate sh
12592 NULLCMD=:
12593 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12594 # is contrary to our usage. Disable this feature.
12595 alias -g '${1+"$@"}'='"$@"'
12596 setopt NO_GLOB_SUBST
12597 else
12598 case `(set -o) 2>/dev/null` in #(
12599 *posix*) :
12600 set -o posix ;; #(
12601 *) :
12602 ;;
12603 esac
12604 fi
12605
12606
12607 as_nl='
12608 '
12609 export as_nl
12610 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12611 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12612 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12614 # Prefer a ksh shell builtin over an external printf program on Solaris,
12615 # but without wasting forks for bash or zsh.
12616 if test -z "$BASH_VERSION$ZSH_VERSION" \
12617 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12618 as_echo='print -r --'
12619 as_echo_n='print -rn --'
12620 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12621 as_echo='printf %s\n'
12622 as_echo_n='printf %s'
12623 else
12624 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12625 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12626 as_echo_n='/usr/ucb/echo -n'
12627 else
12628 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12629 as_echo_n_body='eval
12630 arg=$1;
12631 case $arg in #(
12632 *"$as_nl"*)
12633 expr "X$arg" : "X\\(.*\\)$as_nl";
12634 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12635 esac;
12636 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12637 '
12638 export as_echo_n_body
12639 as_echo_n='sh -c $as_echo_n_body as_echo'
12640 fi
12641 export as_echo_body
12642 as_echo='sh -c $as_echo_body as_echo'
12643 fi
12644
12645 # The user is always right.
12646 if test "${PATH_SEPARATOR+set}" != set; then
12647 PATH_SEPARATOR=:
12648 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12649 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12650 PATH_SEPARATOR=';'
12651 }
12652 fi
12653
12654
12655 # IFS
12656 # We need space, tab and new line, in precisely that order. Quoting is
12657 # there to prevent editors from complaining about space-tab.
12658 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12659 # splitting by setting IFS to empty value.)
12660 IFS=" "" $as_nl"
12661
12662 # Find who we are. Look in the path if we contain no directory separator.
12663 as_myself=
12664 case $0 in #((
12665 *[\\/]* ) as_myself=$0 ;;
12666 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12667 for as_dir in $PATH
12668 do
12669 IFS=$as_save_IFS
12670 test -z "$as_dir" && as_dir=.
12671 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12672 done
12673 IFS=$as_save_IFS
12674
12675 ;;
12676 esac
12677 # We did not find ourselves, most probably we were run as `sh COMMAND'
12678 # in which case we are not to be found in the path.
12679 if test "x$as_myself" = x; then
12680 as_myself=$0
12681 fi
12682 if test ! -f "$as_myself"; then
12683 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12684 exit 1
12685 fi
12686
12687 # Unset variables that we do not need and which cause bugs (e.g. in
12688 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12689 # suppresses any "Segmentation fault" message there. '((' could
12690 # trigger a bug in pdksh 5.2.14.
12691 for as_var in BASH_ENV ENV MAIL MAILPATH
12692 do eval test x\${$as_var+set} = xset \
12693 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12694 done
12695 PS1='$ '
12696 PS2='> '
12697 PS4='+ '
12698
12699 # NLS nuisances.
12700 LC_ALL=C
12701 export LC_ALL
12702 LANGUAGE=C
12703 export LANGUAGE
12704
12705 # CDPATH.
12706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12707
12708
12709 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12710 # ----------------------------------------
12711 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12712 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12713 # script with STATUS, using 1 if that was 0.
12714 as_fn_error ()
12715 {
12716 as_status=$1; test $as_status -eq 0 && as_status=1
12717 if test "$4"; then
12718 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12719 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12720 fi
12721 $as_echo "$as_me: error: $2" >&2
12722 as_fn_exit $as_status
12723 } # as_fn_error
12724
12725
12726 # as_fn_set_status STATUS
12727 # -----------------------
12728 # Set $? to STATUS, without forking.
12729 as_fn_set_status ()
12730 {
12731 return $1
12732 } # as_fn_set_status
12733
12734 # as_fn_exit STATUS
12735 # -----------------
12736 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12737 as_fn_exit ()
12738 {
12739 set +e
12740 as_fn_set_status $1
12741 exit $1
12742 } # as_fn_exit
12743
12744 # as_fn_unset VAR
12745 # ---------------
12746 # Portably unset VAR.
12747 as_fn_unset ()
12748 {
12749 { eval $1=; unset $1;}
12750 }
12751 as_unset=as_fn_unset
12752 # as_fn_append VAR VALUE
12753 # ----------------------
12754 # Append the text in VALUE to the end of the definition contained in VAR. Take
12755 # advantage of any shell optimizations that allow amortized linear growth over
12756 # repeated appends, instead of the typical quadratic growth present in naive
12757 # implementations.
12758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12759 eval 'as_fn_append ()
12760 {
12761 eval $1+=\$2
12762 }'
12763 else
12764 as_fn_append ()
12765 {
12766 eval $1=\$$1\$2
12767 }
12768 fi # as_fn_append
12769
12770 # as_fn_arith ARG...
12771 # ------------------
12772 # Perform arithmetic evaluation on the ARGs, and store the result in the
12773 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12774 # must be portable across $(()) and expr.
12775 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12776 eval 'as_fn_arith ()
12777 {
12778 as_val=$(( $* ))
12779 }'
12780 else
12781 as_fn_arith ()
12782 {
12783 as_val=`expr "$@" || test $? -eq 1`
12784 }
12785 fi # as_fn_arith
12786
12787
12788 if expr a : '\(a\)' >/dev/null 2>&1 &&
12789 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12790 as_expr=expr
12791 else
12792 as_expr=false
12793 fi
12794
12795 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12796 as_basename=basename
12797 else
12798 as_basename=false
12799 fi
12800
12801 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12802 as_dirname=dirname
12803 else
12804 as_dirname=false
12805 fi
12806
12807 as_me=`$as_basename -- "$0" ||
12808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12809 X"$0" : 'X\(//\)$' \| \
12810 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12811 $as_echo X/"$0" |
12812 sed '/^.*\/\([^/][^/]*\)\/*$/{
12813 s//\1/
12814 q
12815 }
12816 /^X\/\(\/\/\)$/{
12817 s//\1/
12818 q
12819 }
12820 /^X\/\(\/\).*/{
12821 s//\1/
12822 q
12823 }
12824 s/.*/./; q'`
12825
12826 # Avoid depending upon Character Ranges.
12827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12830 as_cr_digits='0123456789'
12831 as_cr_alnum=$as_cr_Letters$as_cr_digits
12832
12833 ECHO_C= ECHO_N= ECHO_T=
12834 case `echo -n x` in #(((((
12835 -n*)
12836 case `echo 'xy\c'` in
12837 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12838 xy) ECHO_C='\c';;
12839 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12840 ECHO_T=' ';;
12841 esac;;
12842 *)
12843 ECHO_N='-n';;
12844 esac
12845
12846 rm -f conf$$ conf$$.exe conf$$.file
12847 if test -d conf$$.dir; then
12848 rm -f conf$$.dir/conf$$.file
12849 else
12850 rm -f conf$$.dir
12851 mkdir conf$$.dir 2>/dev/null
12852 fi
12853 if (echo >conf$$.file) 2>/dev/null; then
12854 if ln -s conf$$.file conf$$ 2>/dev/null; then
12855 as_ln_s='ln -s'
12856 # ... but there are two gotchas:
12857 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12858 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12859 # In both cases, we have to default to `cp -pR'.
12860 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12861 as_ln_s='cp -pR'
12862 elif ln conf$$.file conf$$ 2>/dev/null; then
12863 as_ln_s=ln
12864 else
12865 as_ln_s='cp -pR'
12866 fi
12867 else
12868 as_ln_s='cp -pR'
12869 fi
12870 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12871 rmdir conf$$.dir 2>/dev/null
12872
12873
12874 # as_fn_mkdir_p
12875 # -------------
12876 # Create "$as_dir" as a directory, including parents if necessary.
12877 as_fn_mkdir_p ()
12878 {
12879
12880 case $as_dir in #(
12881 -*) as_dir=./$as_dir;;
12882 esac
12883 test -d "$as_dir" || eval $as_mkdir_p || {
12884 as_dirs=
12885 while :; do
12886 case $as_dir in #(
12887 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12888 *) as_qdir=$as_dir;;
12889 esac
12890 as_dirs="'$as_qdir' $as_dirs"
12891 as_dir=`$as_dirname -- "$as_dir" ||
12892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12893 X"$as_dir" : 'X\(//\)[^/]' \| \
12894 X"$as_dir" : 'X\(//\)$' \| \
12895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12896 $as_echo X"$as_dir" |
12897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12898 s//\1/
12899 q
12900 }
12901 /^X\(\/\/\)[^/].*/{
12902 s//\1/
12903 q
12904 }
12905 /^X\(\/\/\)$/{
12906 s//\1/
12907 q
12908 }
12909 /^X\(\/\).*/{
12910 s//\1/
12911 q
12912 }
12913 s/.*/./; q'`
12914 test -d "$as_dir" && break
12915 done
12916 test -z "$as_dirs" || eval "mkdir $as_dirs"
12917 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12918
12919
12920 } # as_fn_mkdir_p
12921 if mkdir -p . 2>/dev/null; then
12922 as_mkdir_p='mkdir -p "$as_dir"'
12923 else
12924 test -d ./-p && rmdir ./-p
12925 as_mkdir_p=false
12926 fi
12927
12928
12929 # as_fn_executable_p FILE
12930 # -----------------------
12931 # Test if FILE is an executable regular file.
12932 as_fn_executable_p ()
12933 {
12934 test -f "$1" && test -x "$1"
12935 } # as_fn_executable_p
12936 as_test_x='test -x'
12937 as_executable_p=as_fn_executable_p
12938
12939 # Sed expression to map a string onto a valid CPP name.
12940 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12941
12942 # Sed expression to map a string onto a valid variable name.
12943 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12944
12945
12946 exec 6>&1
12947 ## ----------------------------------- ##
12948 ## Main body of $CONFIG_STATUS script. ##
12949 ## ----------------------------------- ##
12950 _ASEOF
12951 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12952
12953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12954 # Save the log message, to keep $0 and so on meaningful, and to
12955 # report actual input values of CONFIG_FILES etc. instead of their
12956 # values after options handling.
12957 ac_log="
12958 This file was extended by gst-plugins-espeak $as_me 0.5.0, which was
12959 generated by GNU Autoconf 2.69. Invocation command line was
12960
12961 CONFIG_FILES = $CONFIG_FILES
12962 CONFIG_HEADERS = $CONFIG_HEADERS
12963 CONFIG_LINKS = $CONFIG_LINKS
12964 CONFIG_COMMANDS = $CONFIG_COMMANDS
12965 $ $0 $@
12966
12967 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12968 "
12969
12970 _ACEOF
12971
12972 case $ac_config_files in *"
12973 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12974 esac
12975
12976 case $ac_config_headers in *"
12977 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12978 esac
12979
12980
12981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12982 # Files that config.status was made for.
12983 config_files="$ac_config_files"
12984 config_headers="$ac_config_headers"
12985 config_commands="$ac_config_commands"
12986
12987 _ACEOF
12988
12989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12990 ac_cs_usage="\
12991 \`$as_me' instantiates files and other configuration actions
12992 from templates according to the current configuration. Unless the files
12993 and actions are specified as TAGs, all are instantiated by default.
12994
12995 Usage: $0 [OPTION]... [TAG]...
12996
12997 -h, --help print this help, then exit
12998 -V, --version print version number and configuration settings, then exit
12999 --config print configuration, then exit
13000 -q, --quiet, --silent
13001 do not print progress messages
13002 -d, --debug don't remove temporary files
13003 --recheck update $as_me by reconfiguring in the same conditions
13004 --file=FILE[:TEMPLATE]
13005 instantiate the configuration file FILE
13006 --header=FILE[:TEMPLATE]
13007 instantiate the configuration header FILE
13008
13009 Configuration files:
13010 $config_files
13011
13012 Configuration headers:
13013 $config_headers
13014
13015 Configuration commands:
13016 $config_commands
13017
13018 Report bugs to the package provider."
13019
13020 _ACEOF
13021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13022 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13023 ac_cs_version="\\
13024 gst-plugins-espeak config.status 0.5.0
13025 configured by $0, generated by GNU Autoconf 2.69,
13026 with options \\"\$ac_cs_config\\"
13027
13028 Copyright (C) 2012 Free Software Foundation, Inc.
13029 This config.status script is free software; the Free Software Foundation
13030 gives unlimited permission to copy, distribute and modify it."
13031
13032 ac_pwd='$ac_pwd'
13033 srcdir='$srcdir'
13034 INSTALL='$INSTALL'
13035 MKDIR_P='$MKDIR_P'
13036 AWK='$AWK'
13037 test -n "\$AWK" || AWK=awk
13038 _ACEOF
13039
13040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13041 # The default lists apply if the user does not specify any file.
13042 ac_need_defaults=:
13043 while test $# != 0
13044 do
13045 case $1 in
13046 --*=?*)
13047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13048 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13049 ac_shift=:
13050 ;;
13051 --*=)
13052 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13053 ac_optarg=
13054 ac_shift=:
13055 ;;
13056 *)
13057 ac_option=$1
13058 ac_optarg=$2
13059 ac_shift=shift
13060 ;;
13061 esac
13062
13063 case $ac_option in
13064 # Handling of the options.
13065 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13066 ac_cs_recheck=: ;;
13067 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13068 $as_echo "$ac_cs_version"; exit ;;
13069 --config | --confi | --conf | --con | --co | --c )
13070 $as_echo "$ac_cs_config"; exit ;;
13071 --debug | --debu | --deb | --de | --d | -d )
13072 debug=: ;;
13073 --file | --fil | --fi | --f )
13074 $ac_shift
13075 case $ac_optarg in
13076 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13077 '') as_fn_error $? "missing file argument" ;;
13078 esac
13079 as_fn_append CONFIG_FILES " '$ac_optarg'"
13080 ac_need_defaults=false;;
13081 --header | --heade | --head | --hea )
13082 $ac_shift
13083 case $ac_optarg in
13084 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13085 esac
13086 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13087 ac_need_defaults=false;;
13088 --he | --h)
13089 # Conflict between --help and --header
13090 as_fn_error $? "ambiguous option: \`$1'
13091 Try \`$0 --help' for more information.";;
13092 --help | --hel | -h )
13093 $as_echo "$ac_cs_usage"; exit ;;
13094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13095 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13096 ac_cs_silent=: ;;
13097
13098 # This is an error.
13099 -*) as_fn_error $? "unrecognized option: \`$1'
13100 Try \`$0 --help' for more information." ;;
13101
13102 *) as_fn_append ac_config_targets " $1"
13103 ac_need_defaults=false ;;
13104
13105 esac
13106 shift
13107 done
13108
13109 ac_configure_extra_args=
13110
13111 if $ac_cs_silent; then
13112 exec 6>/dev/null
13113 ac_configure_extra_args="$ac_configure_extra_args --silent"
13114 fi
13115
13116 _ACEOF
13117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13118 if \$ac_cs_recheck; then
13119 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13120 shift
13121 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13122 CONFIG_SHELL='$SHELL'
13123 export CONFIG_SHELL
13124 exec "\$@"
13125 fi
13126
13127 _ACEOF
13128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13129 exec 5>>config.log
13130 {
13131 echo
13132 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13133 ## Running $as_me. ##
13134 _ASBOX
13135 $as_echo "$ac_log"
13136 } >&5
13137
13138 _ACEOF
13139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13140 #
13141 # INIT-COMMANDS
13142 #
13143 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13144
13145
13146 # The HP-UX ksh and POSIX shell print the target directory to stdout
13147 # if CDPATH is set.
13148 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13149
13150 sed_quote_subst='$sed_quote_subst'
13151 double_quote_subst='$double_quote_subst'
13152 delay_variable_subst='$delay_variable_subst'
13153 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13154 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13155 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13156 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13157 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13158 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13159 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13160 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13161 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13162 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13163 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13164 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13165 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13166 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13167 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13168 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13169 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13170 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13171 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13172 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13173 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13174 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13175 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13176 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13177 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13178 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13179 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13180 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13181 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13182 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13183 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13184 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13185 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13186 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13187 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13188 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13189 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13190 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13191 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13192 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13193 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13194 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13195 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13196 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13197 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13198 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13199 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13200 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13201 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13202 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13203 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13204 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13205 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13206 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13207 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13208 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13209 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13210 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13211 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"`'
13212 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13213 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13214 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13215 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13216 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13217 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13218 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13219 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13220 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13221 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13222 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13223 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13224 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13225 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13226 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13227 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13228 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13229 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13230 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13231 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13232 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13233 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13234 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13235 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13236 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13237 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13238 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13239 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13240 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13241 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13242 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13243 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13244 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13245 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13246 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13247 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13248 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13249 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13250 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13251 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13252 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13253 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13254 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13255 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13256 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13257 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13258 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13259 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13260 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13261 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13262 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13263 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13264 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13265 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13266 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13267 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13268 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13269 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13270 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13271 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13272 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13273 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13274 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13275 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13276 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13277 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13278 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13279 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13280 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13281 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13282 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13283 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13284 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13285 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13286 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13287 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13288
13289 LTCC='$LTCC'
13290 LTCFLAGS='$LTCFLAGS'
13291 compiler='$compiler_DEFAULT'
13292
13293 # A function that is used when there is no print builtin or printf.
13294 func_fallback_echo ()
13295 {
13296 eval 'cat <<_LTECHO_EOF
13297 \$1
13298 _LTECHO_EOF'
13299 }
13300
13301 # Quote evaled strings.
13302 for var in SHELL \
13303 ECHO \
13304 PATH_SEPARATOR \
13305 SED \
13306 GREP \
13307 EGREP \
13308 FGREP \
13309 LD \
13310 NM \
13311 LN_S \
13312 lt_SP2NL \
13313 lt_NL2SP \
13314 reload_flag \
13315 OBJDUMP \
13316 deplibs_check_method \
13317 file_magic_cmd \
13318 file_magic_glob \
13319 want_nocaseglob \
13320 DLLTOOL \
13321 sharedlib_from_linklib_cmd \
13322 AR \
13323 AR_FLAGS \
13324 archiver_list_spec \
13325 STRIP \
13326 RANLIB \
13327 CC \
13328 CFLAGS \
13329 compiler \
13330 lt_cv_sys_global_symbol_pipe \
13331 lt_cv_sys_global_symbol_to_cdecl \
13332 lt_cv_sys_global_symbol_to_import \
13333 lt_cv_sys_global_symbol_to_c_name_address \
13334 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13335 lt_cv_nm_interface \
13336 nm_file_list_spec \
13337 lt_cv_truncate_bin \
13338 lt_prog_compiler_no_builtin_flag \
13339 lt_prog_compiler_pic \
13340 lt_prog_compiler_wl \
13341 lt_prog_compiler_static \
13342 lt_cv_prog_compiler_c_o \
13343 need_locks \
13344 MANIFEST_TOOL \
13345 DSYMUTIL \
13346 NMEDIT \
13347 LIPO \
13348 OTOOL \
13349 OTOOL64 \
13350 shrext_cmds \
13351 export_dynamic_flag_spec \
13352 whole_archive_flag_spec \
13353 compiler_needs_object \
13354 with_gnu_ld \
13355 allow_undefined_flag \
13356 no_undefined_flag \
13357 hardcode_libdir_flag_spec \
13358 hardcode_libdir_separator \
13359 exclude_expsyms \
13360 include_expsyms \
13361 file_list_spec \
13362 variables_saved_for_relink \
13363 libname_spec \
13364 library_names_spec \
13365 soname_spec \
13366 install_override_mode \
13367 finish_eval \
13368 old_striplib \
13369 striplib; do
13370 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13371 *[\\\\\\\`\\"\\\$]*)
13372 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13373 ;;
13374 *)
13375 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13376 ;;
13377 esac
13378 done
13379
13380 # Double-quote double-evaled strings.
13381 for var in reload_cmds \
13382 old_postinstall_cmds \
13383 old_postuninstall_cmds \
13384 old_archive_cmds \
13385 extract_expsyms_cmds \
13386 old_archive_from_new_cmds \
13387 old_archive_from_expsyms_cmds \
13388 archive_cmds \
13389 archive_expsym_cmds \
13390 module_cmds \
13391 module_expsym_cmds \
13392 export_symbols_cmds \
13393 prelink_cmds \
13394 postlink_cmds \
13395 postinstall_cmds \
13396 postuninstall_cmds \
13397 finish_cmds \
13398 sys_lib_search_path_spec \
13399 configure_time_dlsearch_path \
13400 configure_time_lt_sys_library_path; do
13401 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13402 *[\\\\\\\`\\"\\\$]*)
13403 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13404 ;;
13405 *)
13406 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13407 ;;
13408 esac
13409 done
13410
13411 ac_aux_dir='$ac_aux_dir'
13412
13413 # See if we are running on zsh, and set the options that allow our
13414 # commands through without removal of \ escapes INIT.
13415 if test -n "\${ZSH_VERSION+set}"; then
13416 setopt NO_GLOB_SUBST
13417 fi
13418
13419
13420 PACKAGE='$PACKAGE'
13421 VERSION='$VERSION'
13422 RM='$RM'
13423 ofile='$ofile'
13424
13425
13426
13427
13428 _ACEOF
13429
13430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13431
13432 # Handling of arguments.
13433 for ac_config_target in $ac_config_targets
13434 do
13435 case $ac_config_target in
13436 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13437 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13438 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13439 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13440 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13441 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13442
13443 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13444 esac
13445 done
13446
13447
13448 # If the user did not use the arguments to specify the items to instantiate,
13449 # then the envvar interface is used. Set only those that are not.
13450 # We use the long form for the default assignment because of an extremely
13451 # bizarre bug on SunOS 4.1.3.
13452 if $ac_need_defaults; then
13453 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13454 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13455 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13456 fi
13457
13458 # Have a temporary directory for convenience. Make it in the build tree
13459 # simply because there is no reason against having it here, and in addition,
13460 # creating and moving files from /tmp can sometimes cause problems.
13461 # Hook for its removal unless debugging.
13462 # Note that there is a small window in which the directory will not be cleaned:
13463 # after its creation but before its name has been assigned to `$tmp'.
13464 $debug ||
13465 {
13466 tmp= ac_tmp=
13467 trap 'exit_status=$?
13468 : "${ac_tmp:=$tmp}"
13469 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13470 ' 0
13471 trap 'as_fn_exit 1' 1 2 13 15
13472 }
13473 # Create a (secure) tmp directory for tmp files.
13474
13475 {
13476 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13477 test -d "$tmp"
13478 } ||
13479 {
13480 tmp=./conf$$-$RANDOM
13481 (umask 077 && mkdir "$tmp")
13482 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13483 ac_tmp=$tmp
13484
13485 # Set up the scripts for CONFIG_FILES section.
13486 # No need to generate them if there are no CONFIG_FILES.
13487 # This happens for instance with `./config.status config.h'.
13488 if test -n "$CONFIG_FILES"; then
13489
13490
13491 ac_cr=`echo X | tr X '\015'`
13492 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13493 # But we know of no other shell where ac_cr would be empty at this
13494 # point, so we can use a bashism as a fallback.
13495 if test "x$ac_cr" = x; then
13496 eval ac_cr=\$\'\\r\'
13497 fi
13498 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13499 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13500 ac_cs_awk_cr='\\r'
13501 else
13502 ac_cs_awk_cr=$ac_cr
13503 fi
13504
13505 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13506 _ACEOF
13507
13508
13509 {
13510 echo "cat >conf$$subs.awk <<_ACEOF" &&
13511 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13512 echo "_ACEOF"
13513 } >conf$$subs.sh ||
13514 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13515 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13516 ac_delim='%!_!# '
13517 for ac_last_try in false false false false false :; do
13518 . ./conf$$subs.sh ||
13519 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13520
13521 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13522 if test $ac_delim_n = $ac_delim_num; then
13523 break
13524 elif $ac_last_try; then
13525 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13526 else
13527 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13528 fi
13529 done
13530 rm -f conf$$subs.sh
13531
13532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13533 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13534 _ACEOF
13535 sed -n '
13536 h
13537 s/^/S["/; s/!.*/"]=/
13538 p
13539 g
13540 s/^[^!]*!//
13541 :repl
13542 t repl
13543 s/'"$ac_delim"'$//
13544 t delim
13545 :nl
13546 h
13547 s/\(.\{148\}\)..*/\1/
13548 t more1
13549 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13550 p
13551 n
13552 b repl
13553 :more1
13554 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13555 p
13556 g
13557 s/.\{148\}//
13558 t nl
13559 :delim
13560 h
13561 s/\(.\{148\}\)..*/\1/
13562 t more2
13563 s/["\\]/\\&/g; s/^/"/; s/$/"/
13564 p
13565 b
13566 :more2
13567 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13568 p
13569 g
13570 s/.\{148\}//
13571 t delim
13572 ' <conf$$subs.awk | sed '
13573 /^[^""]/{
13574 N
13575 s/\n//
13576 }
13577 ' >>$CONFIG_STATUS || ac_write_fail=1
13578 rm -f conf$$subs.awk
13579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13580 _ACAWK
13581 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13582 for (key in S) S_is_set[key] = 1
13583 FS = ""
13584
13585 }
13586 {
13587 line = $ 0
13588 nfields = split(line, field, "@")
13589 substed = 0
13590 len = length(field[1])
13591 for (i = 2; i < nfields; i++) {
13592 key = field[i]
13593 keylen = length(key)
13594 if (S_is_set[key]) {
13595 value = S[key]
13596 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13597 len += length(value) + length(field[++i])
13598 substed = 1
13599 } else
13600 len += 1 + keylen
13601 }
13602
13603 print line
13604 }
13605
13606 _ACAWK
13607 _ACEOF
13608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13609 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13610 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13611 else
13612 cat
13613 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13614 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13615 _ACEOF
13616
13617 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13618 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13619 # trailing colons and then remove the whole line if VPATH becomes empty
13620 # (actually we leave an empty line to preserve line numbers).
13621 if test "x$srcdir" = x.; then
13622 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13623 h
13624 s///
13625 s/^/:/
13626 s/[ ]*$/:/
13627 s/:\$(srcdir):/:/g
13628 s/:\${srcdir}:/:/g
13629 s/:@srcdir@:/:/g
13630 s/^:*//
13631 s/:*$//
13632 x
13633 s/\(=[ ]*\).*/\1/
13634 G
13635 s/\n//
13636 s/^[^=]*=[ ]*$//
13637 }'
13638 fi
13639
13640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13641 fi # test -n "$CONFIG_FILES"
13642
13643 # Set up the scripts for CONFIG_HEADERS section.
13644 # No need to generate them if there are no CONFIG_HEADERS.
13645 # This happens for instance with `./config.status Makefile'.
13646 if test -n "$CONFIG_HEADERS"; then
13647 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13648 BEGIN {
13649 _ACEOF
13650
13651 # Transform confdefs.h into an awk script `defines.awk', embedded as
13652 # here-document in config.status, that substitutes the proper values into
13653 # config.h.in to produce config.h.
13654
13655 # Create a delimiter string that does not exist in confdefs.h, to ease
13656 # handling of long lines.
13657 ac_delim='%!_!# '
13658 for ac_last_try in false false :; do
13659 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13660 if test -z "$ac_tt"; then
13661 break
13662 elif $ac_last_try; then
13663 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13664 else
13665 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13666 fi
13667 done
13668
13669 # For the awk script, D is an array of macro values keyed by name,
13670 # likewise P contains macro parameters if any. Preserve backslash
13671 # newline sequences.
13672
13673 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13674 sed -n '
13675 s/.\{148\}/&'"$ac_delim"'/g
13676 t rset
13677 :rset
13678 s/^[ ]*#[ ]*define[ ][ ]*/ /
13679 t def
13680 d
13681 :def
13682 s/\\$//
13683 t bsnl
13684 s/["\\]/\\&/g
13685 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13686 D["\1"]=" \3"/p
13687 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13688 d
13689 :bsnl
13690 s/["\\]/\\&/g
13691 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13692 D["\1"]=" \3\\\\\\n"\\/p
13693 t cont
13694 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13695 t cont
13696 d
13697 :cont
13698 n
13699 s/.\{148\}/&'"$ac_delim"'/g
13700 t clear
13701 :clear
13702 s/\\$//
13703 t bsnlc
13704 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13705 d
13706 :bsnlc
13707 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13708 b cont
13709 ' <confdefs.h | sed '
13710 s/'"$ac_delim"'/"\\\
13711 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13712
13713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 for (key in D) D_is_set[key] = 1
13715 FS = ""
13716 }
13717 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13718 line = \$ 0
13719 split(line, arg, " ")
13720 if (arg[1] == "#") {
13721 defundef = arg[2]
13722 mac1 = arg[3]
13723 } else {
13724 defundef = substr(arg[1], 2)
13725 mac1 = arg[2]
13726 }
13727 split(mac1, mac2, "(") #)
13728 macro = mac2[1]
13729 prefix = substr(line, 1, index(line, defundef) - 1)
13730 if (D_is_set[macro]) {
13731 # Preserve the white space surrounding the "#".
13732 print prefix "define", macro P[macro] D[macro]
13733 next
13734 } else {
13735 # Replace #undef with comments. This is necessary, for example,
13736 # in the case of _POSIX_SOURCE, which is predefined and required
13737 # on some systems where configure will not decide to define it.
13738 if (defundef == "undef") {
13739 print "/*", prefix defundef, macro, "*/"
13740 next
13741 }
13742 }
13743 }
13744 { print }
13745 _ACAWK
13746 _ACEOF
13747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13748 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13749 fi # test -n "$CONFIG_HEADERS"
13750
13751
13752 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13753 shift
13754 for ac_tag
13755 do
13756 case $ac_tag in
13757 :[FHLC]) ac_mode=$ac_tag; continue;;
13758 esac
13759 case $ac_mode$ac_tag in
13760 :[FHL]*:*);;
13761 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13762 :[FH]-) ac_tag=-:-;;
13763 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13764 esac
13765 ac_save_IFS=$IFS
13766 IFS=:
13767 set x $ac_tag
13768 IFS=$ac_save_IFS
13769 shift
13770 ac_file=$1
13771 shift
13772
13773 case $ac_mode in
13774 :L) ac_source=$1;;
13775 :[FH])
13776 ac_file_inputs=
13777 for ac_f
13778 do
13779 case $ac_f in
13780 -) ac_f="$ac_tmp/stdin";;
13781 *) # Look for the file first in the build tree, then in the source tree
13782 # (if the path is not absolute). The absolute path cannot be DOS-style,
13783 # because $ac_f cannot contain `:'.
13784 test -f "$ac_f" ||
13785 case $ac_f in
13786 [\\/$]*) false;;
13787 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13788 esac ||
13789 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13790 esac
13791 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13792 as_fn_append ac_file_inputs " '$ac_f'"
13793 done
13794
13795 # Let's still pretend it is `configure' which instantiates (i.e., don't
13796 # use $as_me), people would be surprised to read:
13797 # /* config.h. Generated by config.status. */
13798 configure_input='Generated from '`
13799 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13800 `' by configure.'
13801 if test x"$ac_file" != x-; then
13802 configure_input="$ac_file. $configure_input"
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13804 $as_echo "$as_me: creating $ac_file" >&6;}
13805 fi
13806 # Neutralize special characters interpreted by sed in replacement strings.
13807 case $configure_input in #(
13808 *\&* | *\|* | *\\* )
13809 ac_sed_conf_input=`$as_echo "$configure_input" |
13810 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13811 *) ac_sed_conf_input=$configure_input;;
13812 esac
13813
13814 case $ac_tag in
13815 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13817 esac
13818 ;;
13819 esac
13820
13821 ac_dir=`$as_dirname -- "$ac_file" ||
13822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13823 X"$ac_file" : 'X\(//\)[^/]' \| \
13824 X"$ac_file" : 'X\(//\)$' \| \
13825 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13826 $as_echo X"$ac_file" |
13827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13828 s//\1/
13829 q
13830 }
13831 /^X\(\/\/\)[^/].*/{
13832 s//\1/
13833 q
13834 }
13835 /^X\(\/\/\)$/{
13836 s//\1/
13837 q
13838 }
13839 /^X\(\/\).*/{
13840 s//\1/
13841 q
13842 }
13843 s/.*/./; q'`
13844 as_dir="$ac_dir"; as_fn_mkdir_p
13845 ac_builddir=.
13846
13847 case "$ac_dir" in
13848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13849 *)
13850 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13851 # A ".." for each directory in $ac_dir_suffix.
13852 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13853 case $ac_top_builddir_sub in
13854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13856 esac ;;
13857 esac
13858 ac_abs_top_builddir=$ac_pwd
13859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13860 # for backward compatibility:
13861 ac_top_builddir=$ac_top_build_prefix
13862
13863 case $srcdir in
13864 .) # We are building in place.
13865 ac_srcdir=.
13866 ac_top_srcdir=$ac_top_builddir_sub
13867 ac_abs_top_srcdir=$ac_pwd ;;
13868 [\\/]* | ?:[\\/]* ) # Absolute name.
13869 ac_srcdir=$srcdir$ac_dir_suffix;
13870 ac_top_srcdir=$srcdir
13871 ac_abs_top_srcdir=$srcdir ;;
13872 *) # Relative name.
13873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13874 ac_top_srcdir=$ac_top_build_prefix$srcdir
13875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13876 esac
13877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13878
13879
13880 case $ac_mode in
13881 :F)
13882 #
13883 # CONFIG_FILE
13884 #
13885
13886 case $INSTALL in
13887 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13888 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13889 esac
13890 ac_MKDIR_P=$MKDIR_P
13891 case $MKDIR_P in
13892 [\\/$]* | ?:[\\/]* ) ;;
13893 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13894 esac
13895 _ACEOF
13896
13897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13898 # If the template does not know about datarootdir, expand it.
13899 # FIXME: This hack should be removed a few years after 2.60.
13900 ac_datarootdir_hack=; ac_datarootdir_seen=
13901 ac_sed_dataroot='
13902 /datarootdir/ {
13903 p
13904 q
13905 }
13906 /@datadir@/p
13907 /@docdir@/p
13908 /@infodir@/p
13909 /@localedir@/p
13910 /@mandir@/p'
13911 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13912 *datarootdir*) ac_datarootdir_seen=yes;;
13913 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13915 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13916 _ACEOF
13917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13918 ac_datarootdir_hack='
13919 s&@datadir@&$datadir&g
13920 s&@docdir@&$docdir&g
13921 s&@infodir@&$infodir&g
13922 s&@localedir@&$localedir&g
13923 s&@mandir@&$mandir&g
13924 s&\\\${datarootdir}&$datarootdir&g' ;;
13925 esac
13926 _ACEOF
13927
13928 # Neutralize VPATH when `$srcdir' = `.'.
13929 # Shell code in configure.ac might set extrasub.
13930 # FIXME: do we really want to maintain this feature?
13931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13932 ac_sed_extra="$ac_vpsub
13933 $extrasub
13934 _ACEOF
13935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13936 :t
13937 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13938 s|@configure_input@|$ac_sed_conf_input|;t t
13939 s&@top_builddir@&$ac_top_builddir_sub&;t t
13940 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13941 s&@srcdir@&$ac_srcdir&;t t
13942 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13943 s&@top_srcdir@&$ac_top_srcdir&;t t
13944 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13945 s&@builddir@&$ac_builddir&;t t
13946 s&@abs_builddir@&$ac_abs_builddir&;t t
13947 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13948 s&@INSTALL@&$ac_INSTALL&;t t
13949 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13950 $ac_datarootdir_hack
13951 "
13952 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13953 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13954
13955 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13956 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13957 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13958 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13960 which seems to be undefined. Please make sure it is defined" >&5
13961 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13962 which seems to be undefined. Please make sure it is defined" >&2;}
13963
13964 rm -f "$ac_tmp/stdin"
13965 case $ac_file in
13966 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13967 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13968 esac \
13969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13970 ;;
13971 :H)
13972 #
13973 # CONFIG_HEADER
13974 #
13975 if test x"$ac_file" != x-; then
13976 {
13977 $as_echo "/* $configure_input */" \
13978 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13979 } >"$ac_tmp/config.h" \
13980 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13981 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13983 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13984 else
13985 rm -f "$ac_file"
13986 mv "$ac_tmp/config.h" "$ac_file" \
13987 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13988 fi
13989 else
13990 $as_echo "/* $configure_input */" \
13991 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13992 || as_fn_error $? "could not create -" "$LINENO" 5
13993 fi
13994 # Compute "$ac_file"'s index in $config_headers.
13995 _am_arg="$ac_file"
13996 _am_stamp_count=1
13997 for _am_header in $config_headers :; do
13998 case $_am_header in
13999 $_am_arg | $_am_arg:* )
14000 break ;;
14001 * )
14002 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14003 esac
14004 done
14005 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14006 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14007 X"$_am_arg" : 'X\(//\)[^/]' \| \
14008 X"$_am_arg" : 'X\(//\)$' \| \
14009 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14010 $as_echo X"$_am_arg" |
14011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14012 s//\1/
14013 q
14014 }
14015 /^X\(\/\/\)[^/].*/{
14016 s//\1/
14017 q
14018 }
14019 /^X\(\/\/\)$/{
14020 s//\1/
14021 q
14022 }
14023 /^X\(\/\).*/{
14024 s//\1/
14025 q
14026 }
14027 s/.*/./; q'`/stamp-h$_am_stamp_count
14028 ;;
14029
14030 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14031 $as_echo "$as_me: executing $ac_file commands" >&6;}
14032 ;;
14033 esac
14034
14035
14036 case $ac_file$ac_mode in
14037 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14038 # Older Autoconf quotes --file arguments for eval, but not when files
14039 # are listed without --file. Let's play safe and only enable the eval
14040 # if we detect the quoting.
14041 case $CONFIG_FILES in
14042 *\'*) eval set x "$CONFIG_FILES" ;;
14043 *) set x $CONFIG_FILES ;;
14044 esac
14045 shift
14046 for mf
14047 do
14048 # Strip MF so we end up with the name of the file.
14049 mf=`echo "$mf" | sed -e 's/:.*$//'`
14050 # Check whether this is an Automake generated Makefile or not.
14051 # We used to match only the files named 'Makefile.in', but
14052 # some people rename them; so instead we look at the file content.
14053 # Grep'ing the first line is not enough: some people post-process
14054 # each Makefile.in and add a new line on top of each file to say so.
14055 # Grep'ing the whole file is not good either: AIX grep has a line
14056 # limit of 2048, but all sed's we know have understand at least 4000.
14057 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14058 dirpart=`$as_dirname -- "$mf" ||
14059 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14060 X"$mf" : 'X\(//\)[^/]' \| \
14061 X"$mf" : 'X\(//\)$' \| \
14062 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14063 $as_echo X"$mf" |
14064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14065 s//\1/
14066 q
14067 }
14068 /^X\(\/\/\)[^/].*/{
14069 s//\1/
14070 q
14071 }
14072 /^X\(\/\/\)$/{
14073 s//\1/
14074 q
14075 }
14076 /^X\(\/\).*/{
14077 s//\1/
14078 q
14079 }
14080 s/.*/./; q'`
14081 else
14082 continue
14083 fi
14084 # Extract the definition of DEPDIR, am__include, and am__quote
14085 # from the Makefile without running 'make'.
14086 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14087 test -z "$DEPDIR" && continue
14088 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14089 test -z "$am__include" && continue
14090 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14091 # Find all dependency output files, they are included files with
14092 # $(DEPDIR) in their names. We invoke sed twice because it is the
14093 # simplest approach to changing $(DEPDIR) to its actual value in the
14094 # expansion.
14095 for file in `sed -n "
14096 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14097 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14098 # Make sure the directory exists.
14099 test -f "$dirpart/$file" && continue
14100 fdir=`$as_dirname -- "$file" ||
14101 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14102 X"$file" : 'X\(//\)[^/]' \| \
14103 X"$file" : 'X\(//\)$' \| \
14104 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14105 $as_echo X"$file" |
14106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14107 s//\1/
14108 q
14109 }
14110 /^X\(\/\/\)[^/].*/{
14111 s//\1/
14112 q
14113 }
14114 /^X\(\/\/\)$/{
14115 s//\1/
14116 q
14117 }
14118 /^X\(\/\).*/{
14119 s//\1/
14120 q
14121 }
14122 s/.*/./; q'`
14123 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14124 # echo "creating $dirpart/$file"
14125 echo '# dummy' > "$dirpart/$file"
14126 done
14127 done
14128 }
14129 ;;
14130 "libtool":C)
14131
14132 # See if we are running on zsh, and set the options that allow our
14133 # commands through without removal of \ escapes.
14134 if test -n "${ZSH_VERSION+set}"; then
14135 setopt NO_GLOB_SUBST
14136 fi
14137
14138 cfgfile=${ofile}T
14139 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14140 $RM "$cfgfile"
14141
14142 cat <<_LT_EOF >> "$cfgfile"
14143 #! $SHELL
14144 # Generated automatically by $as_me ($PACKAGE) $VERSION
14145 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14146 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14147
14148 # Provide generalized library-building support services.
14149 # Written by Gordon Matzigkeit, 1996
14150
14151 # Copyright (C) 2014 Free Software Foundation, Inc.
14152 # This is free software; see the source for copying conditions. There is NO
14153 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14154
14155 # GNU Libtool is free software; you can redistribute it and/or modify
14156 # it under the terms of the GNU General Public License as published by
14157 # the Free Software Foundation; either version 2 of of the License, or
14158 # (at your option) any later version.
14159 #
14160 # As a special exception to the GNU General Public License, if you
14161 # distribute this file as part of a program or library that is built
14162 # using GNU Libtool, you may include this file under the same
14163 # distribution terms that you use for the rest of that program.
14164 #
14165 # GNU Libtool is distributed in the hope that it will be useful, but
14166 # WITHOUT ANY WARRANTY; without even the implied warranty of
14167 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14168 # GNU General Public License for more details.
14169 #
14170 # You should have received a copy of the GNU General Public License
14171 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14172
14173
14174 # The names of the tagged configurations supported by this script.
14175 available_tags=''
14176
14177 # Configured defaults for sys_lib_dlsearch_path munging.
14178 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14179
14180 # ### BEGIN LIBTOOL CONFIG
14181
14182 # Which release of libtool.m4 was used?
14183 macro_version=$macro_version
14184 macro_revision=$macro_revision
14185
14186 # Whether or not to build shared libraries.
14187 build_libtool_libs=$enable_shared
14188
14189 # Whether or not to build static libraries.
14190 build_old_libs=$enable_static
14191
14192 # What type of objects to build.
14193 pic_mode=$pic_mode
14194
14195 # Whether or not to optimize for fast installation.
14196 fast_install=$enable_fast_install
14197
14198 # Shared archive member basename,for filename based shared library versioning on AIX.
14199 shared_archive_member_spec=$shared_archive_member_spec
14200
14201 # Shell to use when invoking shell scripts.
14202 SHELL=$lt_SHELL
14203
14204 # An echo program that protects backslashes.
14205 ECHO=$lt_ECHO
14206
14207 # The PATH separator for the build system.
14208 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14209
14210 # The host system.
14211 host_alias=$host_alias
14212 host=$host
14213 host_os=$host_os
14214
14215 # The build system.
14216 build_alias=$build_alias
14217 build=$build
14218 build_os=$build_os
14219
14220 # A sed program that does not truncate output.
14221 SED=$lt_SED
14222
14223 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14224 Xsed="\$SED -e 1s/^X//"
14225
14226 # A grep program that handles long lines.
14227 GREP=$lt_GREP
14228
14229 # An ERE matcher.
14230 EGREP=$lt_EGREP
14231
14232 # A literal string matcher.
14233 FGREP=$lt_FGREP
14234
14235 # A BSD- or MS-compatible name lister.
14236 NM=$lt_NM
14237
14238 # Whether we need soft or hard links.
14239 LN_S=$lt_LN_S
14240
14241 # What is the maximum length of a command?
14242 max_cmd_len=$max_cmd_len
14243
14244 # Object file suffix (normally "o").
14245 objext=$ac_objext
14246
14247 # Executable file suffix (normally "").
14248 exeext=$exeext
14249
14250 # whether the shell understands "unset".
14251 lt_unset=$lt_unset
14252
14253 # turn spaces into newlines.
14254 SP2NL=$lt_lt_SP2NL
14255
14256 # turn newlines into spaces.
14257 NL2SP=$lt_lt_NL2SP
14258
14259 # convert \$build file names to \$host format.
14260 to_host_file_cmd=$lt_cv_to_host_file_cmd
14261
14262 # convert \$build files to toolchain format.
14263 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14264
14265 # An object symbol dumper.
14266 OBJDUMP=$lt_OBJDUMP
14267
14268 # Method to check whether dependent libraries are shared objects.
14269 deplibs_check_method=$lt_deplibs_check_method
14270
14271 # Command to use when deplibs_check_method = "file_magic".
14272 file_magic_cmd=$lt_file_magic_cmd
14273
14274 # How to find potential files when deplibs_check_method = "file_magic".
14275 file_magic_glob=$lt_file_magic_glob
14276
14277 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14278 want_nocaseglob=$lt_want_nocaseglob
14279
14280 # DLL creation program.
14281 DLLTOOL=$lt_DLLTOOL
14282
14283 # Command to associate shared and link libraries.
14284 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14285
14286 # The archiver.
14287 AR=$lt_AR
14288
14289 # Flags to create an archive.
14290 AR_FLAGS=$lt_AR_FLAGS
14291
14292 # How to feed a file listing to the archiver.
14293 archiver_list_spec=$lt_archiver_list_spec
14294
14295 # A symbol stripping program.
14296 STRIP=$lt_STRIP
14297
14298 # Commands used to install an old-style archive.
14299 RANLIB=$lt_RANLIB
14300 old_postinstall_cmds=$lt_old_postinstall_cmds
14301 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14302
14303 # Whether to use a lock for old archive extraction.
14304 lock_old_archive_extraction=$lock_old_archive_extraction
14305
14306 # A C compiler.
14307 LTCC=$lt_CC
14308
14309 # LTCC compiler flags.
14310 LTCFLAGS=$lt_CFLAGS
14311
14312 # Take the output of nm and produce a listing of raw symbols and C names.
14313 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14314
14315 # Transform the output of nm in a proper C declaration.
14316 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14317
14318 # Transform the output of nm into a list of symbols to manually relocate.
14319 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14320
14321 # Transform the output of nm in a C name address pair.
14322 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14323
14324 # Transform the output of nm in a C name address pair when lib prefix is needed.
14325 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14326
14327 # The name lister interface.
14328 nm_interface=$lt_lt_cv_nm_interface
14329
14330 # Specify filename containing input files for \$NM.
14331 nm_file_list_spec=$lt_nm_file_list_spec
14332
14333 # The root where to search for dependent libraries,and where our libraries should be installed.
14334 lt_sysroot=$lt_sysroot
14335
14336 # Command to truncate a binary pipe.
14337 lt_truncate_bin=$lt_lt_cv_truncate_bin
14338
14339 # The name of the directory that contains temporary libtool files.
14340 objdir=$objdir
14341
14342 # Used to examine libraries when file_magic_cmd begins with "file".
14343 MAGIC_CMD=$MAGIC_CMD
14344
14345 # Must we lock files when doing compilation?
14346 need_locks=$lt_need_locks
14347
14348 # Manifest tool.
14349 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14350
14351 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14352 DSYMUTIL=$lt_DSYMUTIL
14353
14354 # Tool to change global to local symbols on Mac OS X.
14355 NMEDIT=$lt_NMEDIT
14356
14357 # Tool to manipulate fat objects and archives on Mac OS X.
14358 LIPO=$lt_LIPO
14359
14360 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14361 OTOOL=$lt_OTOOL
14362
14363 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14364 OTOOL64=$lt_OTOOL64
14365
14366 # Old archive suffix (normally "a").
14367 libext=$libext
14368
14369 # Shared library suffix (normally ".so").
14370 shrext_cmds=$lt_shrext_cmds
14371
14372 # The commands to extract the exported symbol list from a shared archive.
14373 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14374
14375 # Variables whose values should be saved in libtool wrapper scripts and
14376 # restored at link time.
14377 variables_saved_for_relink=$lt_variables_saved_for_relink
14378
14379 # Do we need the "lib" prefix for modules?
14380 need_lib_prefix=$need_lib_prefix
14381
14382 # Do we need a version for libraries?
14383 need_version=$need_version
14384
14385 # Library versioning type.
14386 version_type=$version_type
14387
14388 # Shared library runtime path variable.
14389 runpath_var=$runpath_var
14390
14391 # Shared library path variable.
14392 shlibpath_var=$shlibpath_var
14393
14394 # Is shlibpath searched before the hard-coded library search path?
14395 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14396
14397 # Format of library name prefix.
14398 libname_spec=$lt_libname_spec
14399
14400 # List of archive names. First name is the real one, the rest are links.
14401 # The last name is the one that the linker finds with -lNAME
14402 library_names_spec=$lt_library_names_spec
14403
14404 # The coded name of the library, if different from the real name.
14405 soname_spec=$lt_soname_spec
14406
14407 # Permission mode override for installation of shared libraries.
14408 install_override_mode=$lt_install_override_mode
14409
14410 # Command to use after installation of a shared archive.
14411 postinstall_cmds=$lt_postinstall_cmds
14412
14413 # Command to use after uninstallation of a shared archive.
14414 postuninstall_cmds=$lt_postuninstall_cmds
14415
14416 # Commands used to finish a libtool library installation in a directory.
14417 finish_cmds=$lt_finish_cmds
14418
14419 # As "finish_cmds", except a single script fragment to be evaled but
14420 # not shown.
14421 finish_eval=$lt_finish_eval
14422
14423 # Whether we should hardcode library paths into libraries.
14424 hardcode_into_libs=$hardcode_into_libs
14425
14426 # Compile-time system search path for libraries.
14427 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14428
14429 # Detected run-time system search path for libraries.
14430 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14431
14432 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14433 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14434
14435 # Whether dlopen is supported.
14436 dlopen_support=$enable_dlopen
14437
14438 # Whether dlopen of programs is supported.
14439 dlopen_self=$enable_dlopen_self
14440
14441 # Whether dlopen of statically linked programs is supported.
14442 dlopen_self_static=$enable_dlopen_self_static
14443
14444 # Commands to strip libraries.
14445 old_striplib=$lt_old_striplib
14446 striplib=$lt_striplib
14447
14448
14449 # The linker used to build libraries.
14450 LD=$lt_LD
14451
14452 # How to create reloadable object files.
14453 reload_flag=$lt_reload_flag
14454 reload_cmds=$lt_reload_cmds
14455
14456 # Commands used to build an old-style archive.
14457 old_archive_cmds=$lt_old_archive_cmds
14458
14459 # A language specific compiler.
14460 CC=$lt_compiler
14461
14462 # Is the compiler the GNU compiler?
14463 with_gcc=$GCC
14464
14465 # Compiler flag to turn off builtin functions.
14466 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14467
14468 # Additional compiler flags for building library objects.
14469 pic_flag=$lt_lt_prog_compiler_pic
14470
14471 # How to pass a linker flag through the compiler.
14472 wl=$lt_lt_prog_compiler_wl
14473
14474 # Compiler flag to prevent dynamic linking.
14475 link_static_flag=$lt_lt_prog_compiler_static
14476
14477 # Does compiler simultaneously support -c and -o options?
14478 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14479
14480 # Whether or not to add -lc for building shared libraries.
14481 build_libtool_need_lc=$archive_cmds_need_lc
14482
14483 # Whether or not to disallow shared libs when runtime libs are static.
14484 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14485
14486 # Compiler flag to allow reflexive dlopens.
14487 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14488
14489 # Compiler flag to generate shared objects directly from archives.
14490 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14491
14492 # Whether the compiler copes with passing no objects directly.
14493 compiler_needs_object=$lt_compiler_needs_object
14494
14495 # Create an old-style archive from a shared archive.
14496 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14497
14498 # Create a temporary old-style archive to link instead of a shared archive.
14499 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14500
14501 # Commands used to build a shared archive.
14502 archive_cmds=$lt_archive_cmds
14503 archive_expsym_cmds=$lt_archive_expsym_cmds
14504
14505 # Commands used to build a loadable module if different from building
14506 # a shared archive.
14507 module_cmds=$lt_module_cmds
14508 module_expsym_cmds=$lt_module_expsym_cmds
14509
14510 # Whether we are building with GNU ld or not.
14511 with_gnu_ld=$lt_with_gnu_ld
14512
14513 # Flag that allows shared libraries with undefined symbols to be built.
14514 allow_undefined_flag=$lt_allow_undefined_flag
14515
14516 # Flag that enforces no undefined symbols.
14517 no_undefined_flag=$lt_no_undefined_flag
14518
14519 # Flag to hardcode \$libdir into a binary during linking.
14520 # This must work even if \$libdir does not exist
14521 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14522
14523 # Whether we need a single "-rpath" flag with a separated argument.
14524 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14525
14526 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14527 # DIR into the resulting binary.
14528 hardcode_direct=$hardcode_direct
14529
14530 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14531 # DIR into the resulting binary and the resulting library dependency is
14532 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14533 # library is relocated.
14534 hardcode_direct_absolute=$hardcode_direct_absolute
14535
14536 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14537 # into the resulting binary.
14538 hardcode_minus_L=$hardcode_minus_L
14539
14540 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14541 # into the resulting binary.
14542 hardcode_shlibpath_var=$hardcode_shlibpath_var
14543
14544 # Set to "yes" if building a shared library automatically hardcodes DIR
14545 # into the library and all subsequent libraries and executables linked
14546 # against it.
14547 hardcode_automatic=$hardcode_automatic
14548
14549 # Set to yes if linker adds runtime paths of dependent libraries
14550 # to runtime path list.
14551 inherit_rpath=$inherit_rpath
14552
14553 # Whether libtool must link a program against all its dependency libraries.
14554 link_all_deplibs=$link_all_deplibs
14555
14556 # Set to "yes" if exported symbols are required.
14557 always_export_symbols=$always_export_symbols
14558
14559 # The commands to list exported symbols.
14560 export_symbols_cmds=$lt_export_symbols_cmds
14561
14562 # Symbols that should not be listed in the preloaded symbols.
14563 exclude_expsyms=$lt_exclude_expsyms
14564
14565 # Symbols that must always be exported.
14566 include_expsyms=$lt_include_expsyms
14567
14568 # Commands necessary for linking programs (against libraries) with templates.
14569 prelink_cmds=$lt_prelink_cmds
14570
14571 # Commands necessary for finishing linking programs.
14572 postlink_cmds=$lt_postlink_cmds
14573
14574 # Specify filename containing input files.
14575 file_list_spec=$lt_file_list_spec
14576
14577 # How to hardcode a shared library path into an executable.
14578 hardcode_action=$hardcode_action
14579
14580 # ### END LIBTOOL CONFIG
14581
14582 _LT_EOF
14583
14584 cat <<'_LT_EOF' >> "$cfgfile"
14585
14586 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14587
14588 # func_munge_path_list VARIABLE PATH
14589 # -----------------------------------
14590 # VARIABLE is name of variable containing _space_ separated list of
14591 # directories to be munged by the contents of PATH, which is string
14592 # having a format:
14593 # "DIR[:DIR]:"
14594 # string "DIR[ DIR]" will be prepended to VARIABLE
14595 # ":DIR[:DIR]"
14596 # string "DIR[ DIR]" will be appended to VARIABLE
14597 # "DIRP[:DIRP]::[DIRA:]DIRA"
14598 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14599 # "DIRA[ DIRA]" will be appended to VARIABLE
14600 # "DIR[:DIR]"
14601 # VARIABLE will be replaced by "DIR[ DIR]"
14602 func_munge_path_list ()
14603 {
14604 case x$2 in
14605 x)
14606 ;;
14607 *:)
14608 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14609 ;;
14610 x:*)
14611 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14612 ;;
14613 *::*)
14614 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14615 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14616 ;;
14617 *)
14618 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14619 ;;
14620 esac
14621 }
14622
14623
14624 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14625 func_cc_basename ()
14626 {
14627 for cc_temp in $*""; do
14628 case $cc_temp in
14629 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14630 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14631 \-*) ;;
14632 *) break;;
14633 esac
14634 done
14635 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14636 }
14637
14638
14639 # ### END FUNCTIONS SHARED WITH CONFIGURE
14640
14641 _LT_EOF
14642
14643 case $host_os in
14644 aix3*)
14645 cat <<\_LT_EOF >> "$cfgfile"
14646 # AIX sometimes has problems with the GCC collect2 program. For some
14647 # reason, if we set the COLLECT_NAMES environment variable, the problems
14648 # vanish in a puff of smoke.
14649 if test set != "${COLLECT_NAMES+set}"; then
14650 COLLECT_NAMES=
14651 export COLLECT_NAMES
14652 fi
14653 _LT_EOF
14654 ;;
14655 esac
14656
14657
14658 ltmain=$ac_aux_dir/ltmain.sh
14659
14660
14661 # We use sed instead of cat because bash on DJGPP gets confused if
14662 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14663 # text mode, it properly converts lines to CR/LF. This bash problem
14664 # is reportedly fixed, but why not run on old versions too?
14665 sed '$q' "$ltmain" >> "$cfgfile" \
14666 || (rm -f "$cfgfile"; exit 1)
14667
14668 mv -f "$cfgfile" "$ofile" ||
14669 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14670 chmod +x "$ofile"
14671
14672 ;;
14673
14674 esac
14675 done # for ac_tag
14676
14677
14678 as_fn_exit 0
14679 _ACEOF
14680 ac_clean_files=$ac_clean_files_save
14681
14682 test $ac_write_fail = 0 ||
14683 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14684
14685
14686 # configure is writing to config.log, and then calls config.status.
14687 # config.status does its own redirection, appending to config.log.
14688 # Unfortunately, on DOS this fails, as config.log is still kept open
14689 # by configure, so config.status won't be able to write to it; its
14690 # output is simply discarded. So we exec the FD to /dev/null,
14691 # effectively closing config.log, so it can be properly (re)opened and
14692 # appended to by config.status. When coming back to configure, we
14693 # need to make the FD available again.
14694 if test "$no_create" != yes; then
14695 ac_cs_success=:
14696 ac_config_status_args=
14697 test "$silent" = yes &&
14698 ac_config_status_args="$ac_config_status_args --quiet"
14699 exec 5>/dev/null
14700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14701 exec 5>>config.log
14702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14703 # would make configure fail if this is the last instruction.
14704 $ac_cs_success || as_fn_exit 1
14705 fi
14706 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14708 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14709 fi
14710