domain registration to AudioManager
[profile/ivi/pulseaudio-module-murphy-ivi.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for pulseaudio-genivi-mir .
4 #
5 # Report bugs to <janos.f.kovacs@nokia.com>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: janos.f.kovacs@nokia.com about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 lt_ltdl_dir='libltdl'
548
549 SHELL=${CONFIG_SHELL-/bin/sh}
550
551
552 test -n "$DJDIR" || exec 7<&0 </dev/null
553 exec 6>&1
554
555 # Name of the host.
556 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
559
560 #
561 # Initializations.
562 #
563 ac_default_prefix=/usr/local
564 ac_clean_files=
565 ac_config_libobj_dir=.
566 LIBOBJS=
567 cross_compiling=no
568 subdirs=
569 MFLAGS=
570 MAKEFLAGS=
571
572 # Identity of this package.
573 PACKAGE_NAME='pulseaudio-genivi-mir'
574 PACKAGE_TARNAME='pulseaudio-genivi-mir'
575 PACKAGE_VERSION=''
576 PACKAGE_STRING='pulseaudio-genivi-mir '
577 PACKAGE_BUGREPORT='janos.f.kovacs@nokia.com'
578 PACKAGE_URL=''
579
580 ac_unique_file="src/module-genivi-mir.c"
581 # Factoring default headers for most tests.
582 ac_includes_default="\
583 #include <stdio.h>
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
586 #endif
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
589 #endif
590 #ifdef STDC_HEADERS
591 # include <stdlib.h>
592 # include <stddef.h>
593 #else
594 # ifdef HAVE_STDLIB_H
595 #  include <stdlib.h>
596 # endif
597 #endif
598 #ifdef HAVE_STRING_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 #  include <memory.h>
601 # endif
602 # include <string.h>
603 #endif
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
606 #endif
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
609 #endif
610 #ifdef HAVE_STDINT_H
611 # include <stdint.h>
612 #endif
613 #ifdef HAVE_UNISTD_H
614 # include <unistd.h>
615 #endif"
616
617 enable_option_checking=no
618 ac_subst_vars='am__EXEEXT_FALSE
619 am__EXEEXT_TRUE
620 LTLIBOBJS
621 LIBOBJS
622 modlibexecdir
623 PULSEAUDIO_HAS_PORTS
624 DBUS_LIBS
625 DBUS_CFLAGS
626 PULSEDEVEL_LIBS
627 PULSEDEVEL_CFLAGS
628 LIBPULSE_LIBS
629 LIBPULSE_CFLAGS
630 PKG_CONFIG_LIBDIR
631 PKG_CONFIG_PATH
632 PKG_CONFIG
633 subdirs
634 OTOOL64
635 OTOOL
636 LIPO
637 NMEDIT
638 DSYMUTIL
639 MANIFEST_TOOL
640 RANLIB
641 ac_ct_AR
642 AR
643 LN_S
644 NM
645 ac_ct_DUMPBIN
646 DUMPBIN
647 LD
648 FGREP
649 SED
650 LIBTOOL
651 OBJDUMP
652 DLLTOOL
653 AS
654 host_os
655 host_vendor
656 host_cpu
657 host
658 build_os
659 build_vendor
660 build_cpu
661 build
662 INCLTDL
663 LTDLINCL
664 LTDLDEPS
665 LIBLTDL
666 M4
667 EGREP
668 GREP
669 CPP
670 am__fastdepCC_FALSE
671 am__fastdepCC_TRUE
672 CCDEPMODE
673 AMDEPBACKSLASH
674 AMDEP_FALSE
675 AMDEP_TRUE
676 am__quote
677 am__include
678 DEPDIR
679 OBJEXT
680 EXEEXT
681 ac_ct_CC
682 CPPFLAGS
683 LDFLAGS
684 CFLAGS
685 CC
686 PA_MAJORMINOR
687 LIBDIR
688 am__untar
689 am__tar
690 AMTAR
691 am__leading_dot
692 SET_MAKE
693 AWK
694 mkdir_p
695 MKDIR_P
696 INSTALL_STRIP_PROGRAM
697 STRIP
698 install_sh
699 MAKEINFO
700 AUTOHEADER
701 AUTOMAKE
702 AUTOCONF
703 ACLOCAL
704 VERSION
705 PACKAGE
706 CYGPATH_W
707 am__isrc
708 INSTALL_DATA
709 INSTALL_SCRIPT
710 INSTALL_PROGRAM
711 PD_SUPPORT_FALSE
712 PD_SUPPORT_TRUE
713 PD_DOXML2DB_STY
714 PD_XSLTPROC
715 PD_DOXYGEN
716 PD_FIG2DEV
717 PD_LYX
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 localstatedir
738 sharedstatedir
739 sysconfdir
740 datadir
741 datarootdir
742 libexecdir
743 sbindir
744 bindir
745 program_transform_name
746 prefix
747 exec_prefix
748 PACKAGE_URL
749 PACKAGE_BUGREPORT
750 PACKAGE_STRING
751 PACKAGE_VERSION
752 PACKAGE_TARNAME
753 PACKAGE_NAME
754 PATH_SEPARATOR
755 SHELL'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 enable_doc_support
760 enable_dependency_tracking
761 enable_shared
762 enable_static
763 with_pic
764 enable_fast_install
765 with_gnu_ld
766 with_sysroot
767 enable_libtool_lock
768 with_module_dir
769 '
770       ac_precious_vars='build_alias
771 host_alias
772 target_alias
773 CC
774 CFLAGS
775 LDFLAGS
776 LIBS
777 CPPFLAGS
778 CPP
779 PKG_CONFIG
780 PKG_CONFIG_PATH
781 PKG_CONFIG_LIBDIR
782 LIBPULSE_CFLAGS
783 LIBPULSE_LIBS
784 PULSEDEVEL_CFLAGS
785 PULSEDEVEL_LIBS
786 DBUS_CFLAGS
787 DBUS_LIBS'
788 ac_subdirs_all='libltdl'
789
790 # Initialize some variables set by options.
791 ac_init_help=
792 ac_init_version=false
793 ac_unrecognized_opts=
794 ac_unrecognized_sep=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
811
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
837
838 ac_prev=
839 ac_dashdash=
840 for ac_option
841 do
842   # If the previous option needs an argument, assign it.
843   if test -n "$ac_prev"; then
844     eval $ac_prev=\$ac_option
845     ac_prev=
846     continue
847   fi
848
849   case $ac_option in
850   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851   *=)   ac_optarg= ;;
852   *)    ac_optarg=yes ;;
853   esac
854
855   # Accept the important Cygnus configure options, so we can diagnose typos.
856
857   case $ac_dashdash$ac_option in
858   --)
859     ac_dashdash=yes ;;
860
861   -bindir | --bindir | --bindi | --bind | --bin | --bi)
862     ac_prev=bindir ;;
863   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864     bindir=$ac_optarg ;;
865
866   -build | --build | --buil | --bui | --bu)
867     ac_prev=build_alias ;;
868   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869     build_alias=$ac_optarg ;;
870
871   -cache-file | --cache-file | --cache-fil | --cache-fi \
872   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873     ac_prev=cache_file ;;
874   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876     cache_file=$ac_optarg ;;
877
878   --config-cache | -C)
879     cache_file=config.cache ;;
880
881   -datadir | --datadir | --datadi | --datad)
882     ac_prev=datadir ;;
883   -datadir=* | --datadir=* | --datadi=* | --datad=*)
884     datadir=$ac_optarg ;;
885
886   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887   | --dataroo | --dataro | --datar)
888     ac_prev=datarootdir ;;
889   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891     datarootdir=$ac_optarg ;;
892
893   -disable-* | --disable-*)
894     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895     # Reject names that are not valid shell variable names.
896     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897       as_fn_error $? "invalid feature name: $ac_useropt"
898     ac_useropt_orig=$ac_useropt
899     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900     case $ac_user_opts in
901       *"
902 "enable_$ac_useropt"
903 "*) ;;
904       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905          ac_unrecognized_sep=', ';;
906     esac
907     eval enable_$ac_useropt=no ;;
908
909   -docdir | --docdir | --docdi | --doc | --do)
910     ac_prev=docdir ;;
911   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912     docdir=$ac_optarg ;;
913
914   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915     ac_prev=dvidir ;;
916   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917     dvidir=$ac_optarg ;;
918
919   -enable-* | --enable-*)
920     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921     # Reject names that are not valid shell variable names.
922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923       as_fn_error $? "invalid feature name: $ac_useropt"
924     ac_useropt_orig=$ac_useropt
925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926     case $ac_user_opts in
927       *"
928 "enable_$ac_useropt"
929 "*) ;;
930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931          ac_unrecognized_sep=', ';;
932     esac
933     eval enable_$ac_useropt=\$ac_optarg ;;
934
935   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937   | --exec | --exe | --ex)
938     ac_prev=exec_prefix ;;
939   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941   | --exec=* | --exe=* | --ex=*)
942     exec_prefix=$ac_optarg ;;
943
944   -gas | --gas | --ga | --g)
945     # Obsolete; use --with-gas.
946     with_gas=yes ;;
947
948   -help | --help | --hel | --he | -h)
949     ac_init_help=long ;;
950   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951     ac_init_help=recursive ;;
952   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953     ac_init_help=short ;;
954
955   -host | --host | --hos | --ho)
956     ac_prev=host_alias ;;
957   -host=* | --host=* | --hos=* | --ho=*)
958     host_alias=$ac_optarg ;;
959
960   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961     ac_prev=htmldir ;;
962   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963   | --ht=*)
964     htmldir=$ac_optarg ;;
965
966   -includedir | --includedir | --includedi | --included | --include \
967   | --includ | --inclu | --incl | --inc)
968     ac_prev=includedir ;;
969   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970   | --includ=* | --inclu=* | --incl=* | --inc=*)
971     includedir=$ac_optarg ;;
972
973   -infodir | --infodir | --infodi | --infod | --info | --inf)
974     ac_prev=infodir ;;
975   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976     infodir=$ac_optarg ;;
977
978   -libdir | --libdir | --libdi | --libd)
979     ac_prev=libdir ;;
980   -libdir=* | --libdir=* | --libdi=* | --libd=*)
981     libdir=$ac_optarg ;;
982
983   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984   | --libexe | --libex | --libe)
985     ac_prev=libexecdir ;;
986   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987   | --libexe=* | --libex=* | --libe=*)
988     libexecdir=$ac_optarg ;;
989
990   -localedir | --localedir | --localedi | --localed | --locale)
991     ac_prev=localedir ;;
992   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993     localedir=$ac_optarg ;;
994
995   -localstatedir | --localstatedir | --localstatedi | --localstated \
996   | --localstate | --localstat | --localsta | --localst | --locals)
997     ac_prev=localstatedir ;;
998   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000     localstatedir=$ac_optarg ;;
1001
1002   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003     ac_prev=mandir ;;
1004   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005     mandir=$ac_optarg ;;
1006
1007   -nfp | --nfp | --nf)
1008     # Obsolete; use --without-fp.
1009     with_fp=no ;;
1010
1011   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012   | --no-cr | --no-c | -n)
1013     no_create=yes ;;
1014
1015   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017     no_recursion=yes ;;
1018
1019   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021   | --oldin | --oldi | --old | --ol | --o)
1022     ac_prev=oldincludedir ;;
1023   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026     oldincludedir=$ac_optarg ;;
1027
1028   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029     ac_prev=prefix ;;
1030   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031     prefix=$ac_optarg ;;
1032
1033   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034   | --program-pre | --program-pr | --program-p)
1035     ac_prev=program_prefix ;;
1036   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038     program_prefix=$ac_optarg ;;
1039
1040   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041   | --program-suf | --program-su | --program-s)
1042     ac_prev=program_suffix ;;
1043   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045     program_suffix=$ac_optarg ;;
1046
1047   -program-transform-name | --program-transform-name \
1048   | --program-transform-nam | --program-transform-na \
1049   | --program-transform-n | --program-transform- \
1050   | --program-transform | --program-transfor \
1051   | --program-transfo | --program-transf \
1052   | --program-trans | --program-tran \
1053   | --progr-tra | --program-tr | --program-t)
1054     ac_prev=program_transform_name ;;
1055   -program-transform-name=* | --program-transform-name=* \
1056   | --program-transform-nam=* | --program-transform-na=* \
1057   | --program-transform-n=* | --program-transform-=* \
1058   | --program-transform=* | --program-transfor=* \
1059   | --program-transfo=* | --program-transf=* \
1060   | --program-trans=* | --program-tran=* \
1061   | --progr-tra=* | --program-tr=* | --program-t=*)
1062     program_transform_name=$ac_optarg ;;
1063
1064   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065     ac_prev=pdfdir ;;
1066   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067     pdfdir=$ac_optarg ;;
1068
1069   -psdir | --psdir | --psdi | --psd | --ps)
1070     ac_prev=psdir ;;
1071   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072     psdir=$ac_optarg ;;
1073
1074   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075   | -silent | --silent | --silen | --sile | --sil)
1076     silent=yes ;;
1077
1078   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079     ac_prev=sbindir ;;
1080   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081   | --sbi=* | --sb=*)
1082     sbindir=$ac_optarg ;;
1083
1084   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086   | --sharedst | --shareds | --shared | --share | --shar \
1087   | --sha | --sh)
1088     ac_prev=sharedstatedir ;;
1089   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092   | --sha=* | --sh=*)
1093     sharedstatedir=$ac_optarg ;;
1094
1095   -site | --site | --sit)
1096     ac_prev=site ;;
1097   -site=* | --site=* | --sit=*)
1098     site=$ac_optarg ;;
1099
1100   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101     ac_prev=srcdir ;;
1102   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103     srcdir=$ac_optarg ;;
1104
1105   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106   | --syscon | --sysco | --sysc | --sys | --sy)
1107     ac_prev=sysconfdir ;;
1108   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110     sysconfdir=$ac_optarg ;;
1111
1112   -target | --target | --targe | --targ | --tar | --ta | --t)
1113     ac_prev=target_alias ;;
1114   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115     target_alias=$ac_optarg ;;
1116
1117   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118     verbose=yes ;;
1119
1120   -version | --version | --versio | --versi | --vers | -V)
1121     ac_init_version=: ;;
1122
1123   -with-* | --with-*)
1124     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125     # Reject names that are not valid shell variable names.
1126     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127       as_fn_error $? "invalid package name: $ac_useropt"
1128     ac_useropt_orig=$ac_useropt
1129     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130     case $ac_user_opts in
1131       *"
1132 "with_$ac_useropt"
1133 "*) ;;
1134       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135          ac_unrecognized_sep=', ';;
1136     esac
1137     eval with_$ac_useropt=\$ac_optarg ;;
1138
1139   -without-* | --without-*)
1140     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141     # Reject names that are not valid shell variable names.
1142     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143       as_fn_error $? "invalid package name: $ac_useropt"
1144     ac_useropt_orig=$ac_useropt
1145     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146     case $ac_user_opts in
1147       *"
1148 "with_$ac_useropt"
1149 "*) ;;
1150       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151          ac_unrecognized_sep=', ';;
1152     esac
1153     eval with_$ac_useropt=no ;;
1154
1155   --x)
1156     # Obsolete; use --with-x.
1157     with_x=yes ;;
1158
1159   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160   | --x-incl | --x-inc | --x-in | --x-i)
1161     ac_prev=x_includes ;;
1162   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164     x_includes=$ac_optarg ;;
1165
1166   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168     ac_prev=x_libraries ;;
1169   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171     x_libraries=$ac_optarg ;;
1172
1173   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1175     ;;
1176
1177   *=*)
1178     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179     # Reject names that are not valid shell variable names.
1180     case $ac_envvar in #(
1181       '' | [0-9]* | *[!_$as_cr_alnum]* )
1182       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1183     esac
1184     eval $ac_envvar=\$ac_optarg
1185     export $ac_envvar ;;
1186
1187   *)
1188     # FIXME: should be removed in autoconf 3.0.
1189     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193     ;;
1194
1195   esac
1196 done
1197
1198 if test -n "$ac_prev"; then
1199   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200   as_fn_error $? "missing argument to $ac_option"
1201 fi
1202
1203 if test -n "$ac_unrecognized_opts"; then
1204   case $enable_option_checking in
1205     no) ;;
1206     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208   esac
1209 fi
1210
1211 # Check all directory arguments for consistency.
1212 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213                 datadir sysconfdir sharedstatedir localstatedir includedir \
1214                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215                 libdir localedir mandir
1216 do
1217   eval ac_val=\$$ac_var
1218   # Remove trailing slashes.
1219   case $ac_val in
1220     */ )
1221       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222       eval $ac_var=\$ac_val;;
1223   esac
1224   # Be sure to have absolute directory names.
1225   case $ac_val in
1226     [\\/$]* | ?:[\\/]* )  continue;;
1227     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228   esac
1229   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1230 done
1231
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1235 build=$build_alias
1236 host=$host_alias
1237 target=$target_alias
1238
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241   if test "x$build_alias" = x; then
1242     cross_compiling=maybe
1243     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1244     If a cross compiler is detected then cross compile mode will be used" >&2
1245   elif test "x$build_alias" != "x$host_alias"; then
1246     cross_compiling=yes
1247   fi
1248 fi
1249
1250 ac_tool_prefix=
1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252
1253 test "$silent" = yes && exec 6>/dev/null
1254
1255
1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di=`ls -di .` &&
1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259   as_fn_error $? "working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261   as_fn_error $? "pwd does not report name of working directory"
1262
1263
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266   ac_srcdir_defaulted=yes
1267   # Try the directory containing this script, then the parent directory.
1268   ac_confdir=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270          X"$as_myself" : 'X\(//\)[^/]' \| \
1271          X"$as_myself" : 'X\(//\)$' \| \
1272          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275             s//\1/
1276             q
1277           }
1278           /^X\(\/\/\)[^/].*/{
1279             s//\1/
1280             q
1281           }
1282           /^X\(\/\/\)$/{
1283             s//\1/
1284             q
1285           }
1286           /^X\(\/\).*/{
1287             s//\1/
1288             q
1289           }
1290           s/.*/./; q'`
1291   srcdir=$ac_confdir
1292   if test ! -r "$srcdir/$ac_unique_file"; then
1293     srcdir=..
1294   fi
1295 else
1296   ac_srcdir_defaulted=no
1297 fi
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301 fi
1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 ac_abs_confdir=`(
1304         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305         pwd)`
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308   srcdir=.
1309 fi
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1313 case $srcdir in
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 esac
1316 for ac_var in $ac_precious_vars; do
1317   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318   eval ac_env_${ac_var}_value=\$${ac_var}
1319   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321 done
1322
1323 #
1324 # Report the --help message.
1325 #
1326 if test "$ac_init_help" = "long"; then
1327   # Omit some internal or obsolete options to make the list less imposing.
1328   # This message is too long to be a string in the A/UX 3.1 sh.
1329   cat <<_ACEOF
1330 \`configure' configures pulseaudio-genivi-mir  to adapt to many kinds of systems.
1331
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1333
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE.  See below for descriptions of some of the useful variables.
1336
1337 Defaults for the options are specified in brackets.
1338
1339 Configuration:
1340   -h, --help              display this help and exit
1341       --help=short        display options specific to this package
1342       --help=recursive    display the short help of all the included packages
1343   -V, --version           display version information and exit
1344   -q, --quiet, --silent   do not print \`checking ...' messages
1345       --cache-file=FILE   cache test results in FILE [disabled]
1346   -C, --config-cache      alias for \`--cache-file=config.cache'
1347   -n, --no-create         do not create output files
1348       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1349
1350 Installation directories:
1351   --prefix=PREFIX         install architecture-independent files in PREFIX
1352                           [$ac_default_prefix]
1353   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1354                           [PREFIX]
1355
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1360
1361 For better control, use the options below.
1362
1363 Fine tuning of the installation directories:
1364   --bindir=DIR            user executables [EPREFIX/bin]
1365   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1366   --libexecdir=DIR        program executables [EPREFIX/libexec]
1367   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1368   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1369   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1370   --libdir=DIR            object code libraries [EPREFIX/lib]
1371   --includedir=DIR        C header files [PREFIX/include]
1372   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1373   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1374   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1375   --infodir=DIR           info documentation [DATAROOTDIR/info]
1376   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1377   --mandir=DIR            man documentation [DATAROOTDIR/man]
1378   --docdir=DIR            documentation root
1379                           [DATAROOTDIR/doc/pulseaudio-genivi-mir]
1380   --htmldir=DIR           html documentation [DOCDIR]
1381   --dvidir=DIR            dvi documentation [DOCDIR]
1382   --pdfdir=DIR            pdf documentation [DOCDIR]
1383   --psdir=DIR             ps documentation [DOCDIR]
1384 _ACEOF
1385
1386   cat <<\_ACEOF
1387
1388 Program names:
1389   --program-prefix=PREFIX            prepend PREFIX to installed program names
1390   --program-suffix=SUFFIX            append SUFFIX to installed program names
1391   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1392
1393 System types:
1394   --build=BUILD     configure for building on BUILD [guessed]
1395   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1396 _ACEOF
1397 fi
1398
1399 if test -n "$ac_init_help"; then
1400   case $ac_init_help in
1401      short | recursive ) echo "Configuration of pulseaudio-genivi-mir :";;
1402    esac
1403   cat <<\_ACEOF
1404
1405 Optional Features:
1406   --disable-option-checking  ignore unrecognized --enable/--with options
1407   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409   --disable-doc-support   turns off policy-doc support
1410   --disable-dependency-tracking  speeds up one-time build
1411   --enable-dependency-tracking   do not reject slow dependency extractors
1412   --enable-shared[=PKGS]  build shared libraries [default=yes]
1413   --enable-static[=PKGS]  build static libraries [default=yes]
1414   --enable-fast-install[=PKGS]
1415                           optimize for fast installation [default=yes]
1416   --disable-libtool-lock  avoid locking (might break parallel builds)
1417
1418 Optional Packages:
1419   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1420   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1421   --with-pic              try to use only PIC/non-PIC objects [default=use
1422                           both]
1423   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1424   --with-sysroot=DIR Search for dependent libraries within DIR
1425                         (or the compiler's sysroot if not specified).
1426   --with-module-dir       Directory where to install the modules to (defaults
1427                           to ${LIBDIR}/pulse-${PA_MAJORMINOR}/modules/
1428
1429 Some influential environment variables:
1430   CC          C compiler command
1431   CFLAGS      C compiler flags
1432   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1433               nonstandard directory <lib dir>
1434   LIBS        libraries to pass to the linker, e.g. -l<library>
1435   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1436               you have headers in a nonstandard directory <include dir>
1437   CPP         C preprocessor
1438   PKG_CONFIG  path to pkg-config utility
1439   PKG_CONFIG_PATH
1440               directories to add to pkg-config's search path
1441   PKG_CONFIG_LIBDIR
1442               path overriding pkg-config's built-in search path
1443   LIBPULSE_CFLAGS
1444               C compiler flags for LIBPULSE, overriding pkg-config
1445   LIBPULSE_LIBS
1446               linker flags for LIBPULSE, overriding pkg-config
1447   PULSEDEVEL_CFLAGS
1448               C compiler flags for PULSEDEVEL, overriding pkg-config
1449   PULSEDEVEL_LIBS
1450               linker flags for PULSEDEVEL, overriding pkg-config
1451   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1452   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1453
1454 Use these variables to override the choices made by `configure' or to help
1455 it to find libraries and programs with nonstandard names/locations.
1456
1457 Report bugs to <janos.f.kovacs@nokia.com>.
1458 _ACEOF
1459 ac_status=$?
1460 fi
1461
1462 if test "$ac_init_help" = "recursive"; then
1463   # If there are subdirs, report their specific --help.
1464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465     test -d "$ac_dir" ||
1466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467       continue
1468     ac_builddir=.
1469
1470 case "$ac_dir" in
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 *)
1473   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474   # A ".." for each directory in $ac_dir_suffix.
1475   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476   case $ac_top_builddir_sub in
1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479   esac ;;
1480 esac
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1485
1486 case $srcdir in
1487   .)  # We are building in place.
1488     ac_srcdir=.
1489     ac_top_srcdir=$ac_top_builddir_sub
1490     ac_abs_top_srcdir=$ac_pwd ;;
1491   [\\/]* | ?:[\\/]* )  # Absolute name.
1492     ac_srcdir=$srcdir$ac_dir_suffix;
1493     ac_top_srcdir=$srcdir
1494     ac_abs_top_srcdir=$srcdir ;;
1495   *) # Relative name.
1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499 esac
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501
1502     cd "$ac_dir" || { ac_status=$?; continue; }
1503     # Check for guested configure.
1504     if test -f "$ac_srcdir/configure.gnu"; then
1505       echo &&
1506       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507     elif test -f "$ac_srcdir/configure"; then
1508       echo &&
1509       $SHELL "$ac_srcdir/configure" --help=recursive
1510     else
1511       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512     fi || ac_status=$?
1513     cd "$ac_pwd" || { ac_status=$?; break; }
1514   done
1515 fi
1516
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1519   cat <<\_ACEOF
1520 pulseaudio-genivi-mir configure
1521 generated by GNU Autoconf 2.68
1522
1523 Copyright (C) 2010 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1526 _ACEOF
1527   exit
1528 fi
1529
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1533
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile ()
1538 {
1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540   rm -f conftest.$ac_objext
1541   if { { ac_try="$ac_compile"
1542 case "(($ac_try" in
1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544   *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548   (eval "$ac_compile") 2>conftest.err
1549   ac_status=$?
1550   if test -s conftest.err; then
1551     grep -v '^ *+' conftest.err >conftest.er1
1552     cat conftest.er1 >&5
1553     mv -f conftest.er1 conftest.err
1554   fi
1555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556   test $ac_status = 0; } && {
1557          test -z "$ac_c_werror_flag" ||
1558          test ! -s conftest.err
1559        } && test -s conftest.$ac_objext; then :
1560   ac_retval=0
1561 else
1562   $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1564
1565         ac_retval=1
1566 fi
1567   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568   as_fn_set_status $ac_retval
1569
1570 } # ac_fn_c_try_compile
1571
1572 # ac_fn_c_try_cpp LINENO
1573 # ----------------------
1574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1575 ac_fn_c_try_cpp ()
1576 {
1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578   if { { ac_try="$ac_cpp conftest.$ac_ext"
1579 case "(($ac_try" in
1580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581   *) ac_try_echo=$ac_try;;
1582 esac
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1586   ac_status=$?
1587   if test -s conftest.err; then
1588     grep -v '^ *+' conftest.err >conftest.er1
1589     cat conftest.er1 >&5
1590     mv -f conftest.er1 conftest.err
1591   fi
1592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593   test $ac_status = 0; } > conftest.i && {
1594          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1595          test ! -s conftest.err
1596        }; then :
1597   ac_retval=0
1598 else
1599   $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1601
1602     ac_retval=1
1603 fi
1604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605   as_fn_set_status $ac_retval
1606
1607 } # ac_fn_c_try_cpp
1608
1609 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1612 # the include files in INCLUDES and setting the cache variable VAR
1613 # accordingly.
1614 ac_fn_c_check_header_mongrel ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   if eval \${$3+:} false; then :
1618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619 $as_echo_n "checking for $2... " >&6; }
1620 if eval \${$3+:} false; then :
1621   $as_echo_n "(cached) " >&6
1622 fi
1623 eval ac_res=\$$3
1624                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625 $as_echo "$ac_res" >&6; }
1626 else
1627   # Is the header compilable?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1629 $as_echo_n "checking $2 usability... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h.  */
1632 $4
1633 #include <$2>
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636   ac_header_compiler=yes
1637 else
1638   ac_header_compiler=no
1639 fi
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1642 $as_echo "$ac_header_compiler" >&6; }
1643
1644 # Is the header present?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1646 $as_echo_n "checking $2 presence... " >&6; }
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h.  */
1649 #include <$2>
1650 _ACEOF
1651 if ac_fn_c_try_cpp "$LINENO"; then :
1652   ac_header_preproc=yes
1653 else
1654   ac_header_preproc=no
1655 fi
1656 rm -f conftest.err conftest.i conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658 $as_echo "$ac_header_preproc" >&6; }
1659
1660 # So?  What about this header?
1661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1662   yes:no: )
1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1664 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1665     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667     ;;
1668   no:yes:* )
1669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1670 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1671     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1672 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1673     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1674 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1675     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1676 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1677     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 ( $as_echo "## --------------------------------------- ##
1680 ## Report this to janos.f.kovacs@nokia.com ##
1681 ## --------------------------------------- ##"
1682      ) | sed "s/^/$as_me: WARNING:     /" >&2
1683     ;;
1684 esac
1685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688   $as_echo_n "(cached) " >&6
1689 else
1690   eval "$3=\$ac_header_compiler"
1691 fi
1692 eval ac_res=\$$3
1693                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1695 fi
1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697
1698 } # ac_fn_c_check_header_mongrel
1699
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1704 ac_fn_c_try_run ()
1705 {
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   if { { ac_try="$ac_link"
1708 case "(($ac_try" in
1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710   *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714   (eval "$ac_link") 2>&5
1715   ac_status=$?
1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1718   { { case "(($ac_try" in
1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720   *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724   (eval "$ac_try") 2>&5
1725   ac_status=$?
1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727   test $ac_status = 0; }; }; then :
1728   ac_retval=0
1729 else
1730   $as_echo "$as_me: program exited with status $ac_status" >&5
1731        $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1733
1734        ac_retval=$ac_status
1735 fi
1736   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738   as_fn_set_status $ac_retval
1739
1740 } # ac_fn_c_try_run
1741
1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743 # -------------------------------------------------------
1744 # Tests whether HEADER exists and can be compiled using the include files in
1745 # INCLUDES, setting the cache variable VAR accordingly.
1746 ac_fn_c_check_header_compile ()
1747 {
1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752   $as_echo_n "(cached) " >&6
1753 else
1754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h.  */
1756 $4
1757 #include <$2>
1758 _ACEOF
1759 if ac_fn_c_try_compile "$LINENO"; then :
1760   eval "$3=yes"
1761 else
1762   eval "$3=no"
1763 fi
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765 fi
1766 eval ac_res=\$$3
1767                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770
1771 } # ac_fn_c_check_header_compile
1772
1773 # ac_fn_c_try_link LINENO
1774 # -----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded.
1776 ac_fn_c_try_link ()
1777 {
1778   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779   rm -f conftest.$ac_objext conftest$ac_exeext
1780   if { { ac_try="$ac_link"
1781 case "(($ac_try" in
1782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783   *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787   (eval "$ac_link") 2>conftest.err
1788   ac_status=$?
1789   if test -s conftest.err; then
1790     grep -v '^ *+' conftest.err >conftest.er1
1791     cat conftest.er1 >&5
1792     mv -f conftest.er1 conftest.err
1793   fi
1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795   test $ac_status = 0; } && {
1796          test -z "$ac_c_werror_flag" ||
1797          test ! -s conftest.err
1798        } && test -s conftest$ac_exeext && {
1799          test "$cross_compiling" = yes ||
1800          $as_test_x conftest$ac_exeext
1801        }; then :
1802   ac_retval=0
1803 else
1804   $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1806
1807         ac_retval=1
1808 fi
1809   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1810   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1811   # interfere with the next link command; also delete a directory that is
1812   # left behind by Apple's compiler.  We do this before executing the actions.
1813   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815   as_fn_set_status $ac_retval
1816
1817 } # ac_fn_c_try_link
1818
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func ()
1823 {
1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828   $as_echo_n "(cached) " >&6
1829 else
1830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h.  */
1832 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1834 #define $2 innocuous_$2
1835
1836 /* System header to define __stub macros and hopefully few prototypes,
1837     which can conflict with char $2 (); below.
1838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1839     <limits.h> exists even on freestanding compilers.  */
1840
1841 #ifdef __STDC__
1842 # include <limits.h>
1843 #else
1844 # include <assert.h>
1845 #endif
1846
1847 #undef $2
1848
1849 /* Override any GCC internal prototype to avoid an error.
1850    Use char because int might match the return type of a GCC
1851    builtin and then its argument prototype would still apply.  */
1852 #ifdef __cplusplus
1853 extern "C"
1854 #endif
1855 char $2 ();
1856 /* The GNU C library defines this for functions which it implements
1857     to always fail with ENOSYS.  Some functions are actually named
1858     something starting with __ and the normal name is an alias.  */
1859 #if defined __stub_$2 || defined __stub___$2
1860 choke me
1861 #endif
1862
1863 int
1864 main ()
1865 {
1866 return $2 ();
1867   ;
1868   return 0;
1869 }
1870 _ACEOF
1871 if ac_fn_c_try_link "$LINENO"; then :
1872   eval "$3=yes"
1873 else
1874   eval "$3=no"
1875 fi
1876 rm -f core conftest.err conftest.$ac_objext \
1877     conftest$ac_exeext conftest.$ac_ext
1878 fi
1879 eval ac_res=\$$3
1880                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884 } # ac_fn_c_check_func
1885
1886 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1887 # -------------------------------------------
1888 # Tests whether TYPE exists after having included INCLUDES, setting cache
1889 # variable VAR accordingly.
1890 ac_fn_c_check_type ()
1891 {
1892   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896   $as_echo_n "(cached) " >&6
1897 else
1898   eval "$3=no"
1899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h.  */
1901 $4
1902 int
1903 main ()
1904 {
1905 if (sizeof ($2))
1906          return 0;
1907   ;
1908   return 0;
1909 }
1910 _ACEOF
1911 if ac_fn_c_try_compile "$LINENO"; then :
1912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h.  */
1914 $4
1915 int
1916 main ()
1917 {
1918 if (sizeof (($2)))
1919             return 0;
1920   ;
1921   return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925
1926 else
1927   eval "$3=yes"
1928 fi
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 fi
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932 fi
1933 eval ac_res=\$$3
1934                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937
1938 } # ac_fn_c_check_type
1939
1940 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1941 # ---------------------------------------------
1942 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1943 # accordingly.
1944 ac_fn_c_check_decl ()
1945 {
1946   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947   as_decl_name=`echo $2|sed 's/ *(.*//'`
1948   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1950 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1951 if eval \${$3+:} false; then :
1952   $as_echo_n "(cached) " >&6
1953 else
1954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h.  */
1956 $4
1957 int
1958 main ()
1959 {
1960 #ifndef $as_decl_name
1961 #ifdef __cplusplus
1962   (void) $as_decl_use;
1963 #else
1964   (void) $as_decl_name;
1965 #endif
1966 #endif
1967
1968   ;
1969   return 0;
1970 }
1971 _ACEOF
1972 if ac_fn_c_try_compile "$LINENO"; then :
1973   eval "$3=yes"
1974 else
1975   eval "$3=no"
1976 fi
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983
1984 } # ac_fn_c_check_decl
1985 cat >config.log <<_ACEOF
1986 This file contains any messages produced by compilers while
1987 running configure, to aid debugging if configure makes a mistake.
1988
1989 It was created by pulseaudio-genivi-mir $as_me , which was
1990 generated by GNU Autoconf 2.68.  Invocation command line was
1991
1992   $ $0 $@
1993
1994 _ACEOF
1995 exec 5>>config.log
1996 {
1997 cat <<_ASUNAME
1998 ## --------- ##
1999 ## Platform. ##
2000 ## --------- ##
2001
2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2007
2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2009 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2010
2011 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2012 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2014 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2015 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2016 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2017 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2018
2019 _ASUNAME
2020
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 for as_dir in $PATH
2023 do
2024   IFS=$as_save_IFS
2025   test -z "$as_dir" && as_dir=.
2026     $as_echo "PATH: $as_dir"
2027   done
2028 IFS=$as_save_IFS
2029
2030 } >&5
2031
2032 cat >&5 <<_ACEOF
2033
2034
2035 ## ----------- ##
2036 ## Core tests. ##
2037 ## ----------- ##
2038
2039 _ACEOF
2040
2041
2042 # Keep a trace of the command line.
2043 # Strip out --no-create and --no-recursion so they do not pile up.
2044 # Strip out --silent because we don't want to record it for future runs.
2045 # Also quote any args containing shell meta-characters.
2046 # Make two passes to allow for proper duplicate-argument suppression.
2047 ac_configure_args=
2048 ac_configure_args0=
2049 ac_configure_args1=
2050 ac_must_keep_next=false
2051 for ac_pass in 1 2
2052 do
2053   for ac_arg
2054   do
2055     case $ac_arg in
2056     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2057     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058     | -silent | --silent | --silen | --sile | --sil)
2059       continue ;;
2060     *\'*)
2061       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2062     esac
2063     case $ac_pass in
2064     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2065     2)
2066       as_fn_append ac_configure_args1 " '$ac_arg'"
2067       if test $ac_must_keep_next = true; then
2068         ac_must_keep_next=false # Got value, back to normal.
2069       else
2070         case $ac_arg in
2071           *=* | --config-cache | -C | -disable-* | --disable-* \
2072           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2073           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2074           | -with-* | --with-* | -without-* | --without-* | --x)
2075             case "$ac_configure_args0 " in
2076               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2077             esac
2078             ;;
2079           -* ) ac_must_keep_next=true ;;
2080         esac
2081       fi
2082       as_fn_append ac_configure_args " '$ac_arg'"
2083       ;;
2084     esac
2085   done
2086 done
2087 { ac_configure_args0=; unset ac_configure_args0;}
2088 { ac_configure_args1=; unset ac_configure_args1;}
2089
2090 # When interrupted or exit'd, cleanup temporary files, and complete
2091 # config.log.  We remove comments because anyway the quotes in there
2092 # would cause problems or look ugly.
2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2095 trap 'exit_status=$?
2096   # Save into config.log some information that might help in debugging.
2097   {
2098     echo
2099
2100     $as_echo "## ---------------- ##
2101 ## Cache variables. ##
2102 ## ---------------- ##"
2103     echo
2104     # The following way of writing the cache mishandles newlines in values,
2105 (
2106   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2107     eval ac_val=\$$ac_var
2108     case $ac_val in #(
2109     *${as_nl}*)
2110       case $ac_var in #(
2111       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2113       esac
2114       case $ac_var in #(
2115       _ | IFS | as_nl) ;; #(
2116       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2117       *) { eval $ac_var=; unset $ac_var;} ;;
2118       esac ;;
2119     esac
2120   done
2121   (set) 2>&1 |
2122     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2123     *${as_nl}ac_space=\ *)
2124       sed -n \
2125         "s/'\''/'\''\\\\'\'''\''/g;
2126           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2127       ;; #(
2128     *)
2129       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2130       ;;
2131     esac |
2132     sort
2133 )
2134     echo
2135
2136     $as_echo "## ----------------- ##
2137 ## Output variables. ##
2138 ## ----------------- ##"
2139     echo
2140     for ac_var in $ac_subst_vars
2141     do
2142       eval ac_val=\$$ac_var
2143       case $ac_val in
2144       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145       esac
2146       $as_echo "$ac_var='\''$ac_val'\''"
2147     done | sort
2148     echo
2149
2150     if test -n "$ac_subst_files"; then
2151       $as_echo "## ------------------- ##
2152 ## File substitutions. ##
2153 ## ------------------- ##"
2154       echo
2155       for ac_var in $ac_subst_files
2156       do
2157         eval ac_val=\$$ac_var
2158         case $ac_val in
2159         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160         esac
2161         $as_echo "$ac_var='\''$ac_val'\''"
2162       done | sort
2163       echo
2164     fi
2165
2166     if test -s confdefs.h; then
2167       $as_echo "## ----------- ##
2168 ## confdefs.h. ##
2169 ## ----------- ##"
2170       echo
2171       cat confdefs.h
2172       echo
2173     fi
2174     test "$ac_signal" != 0 &&
2175       $as_echo "$as_me: caught signal $ac_signal"
2176     $as_echo "$as_me: exit $exit_status"
2177   } >&5
2178   rm -f core *.core core.conftest.* &&
2179     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2180     exit $exit_status
2181 ' 0
2182 for ac_signal in 1 2 13 15; do
2183   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2184 done
2185 ac_signal=0
2186
2187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2188 rm -f -r conftest* confdefs.h
2189
2190 $as_echo "/* confdefs.h */" > confdefs.h
2191
2192 # Predefined preprocessor variables.
2193
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_NAME "$PACKAGE_NAME"
2196 _ACEOF
2197
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2200 _ACEOF
2201
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2204 _ACEOF
2205
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_STRING "$PACKAGE_STRING"
2208 _ACEOF
2209
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2212 _ACEOF
2213
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_URL "$PACKAGE_URL"
2216 _ACEOF
2217
2218
2219 # Let the site file select an alternate cache file if it wants to.
2220 # Prefer an explicitly selected file to automatically selected ones.
2221 ac_site_file1=NONE
2222 ac_site_file2=NONE
2223 if test -n "$CONFIG_SITE"; then
2224   # We do not want a PATH search for config.site.
2225   case $CONFIG_SITE in #((
2226     -*)  ac_site_file1=./$CONFIG_SITE;;
2227     */*) ac_site_file1=$CONFIG_SITE;;
2228     *)   ac_site_file1=./$CONFIG_SITE;;
2229   esac
2230 elif test "x$prefix" != xNONE; then
2231   ac_site_file1=$prefix/share/config.site
2232   ac_site_file2=$prefix/etc/config.site
2233 else
2234   ac_site_file1=$ac_default_prefix/share/config.site
2235   ac_site_file2=$ac_default_prefix/etc/config.site
2236 fi
2237 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2238 do
2239   test "x$ac_site_file" = xNONE && continue
2240   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2241     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2243     sed 's/^/| /' "$ac_site_file" >&5
2244     . "$ac_site_file" \
2245       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error $? "failed to load site script $ac_site_file
2248 See \`config.log' for more details" "$LINENO" 5; }
2249   fi
2250 done
2251
2252 if test -r "$cache_file"; then
2253   # Some versions of bash will fail to source /dev/null (special files
2254   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2255   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2256     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2257 $as_echo "$as_me: loading cache $cache_file" >&6;}
2258     case $cache_file in
2259       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2260       *)                      . "./$cache_file";;
2261     esac
2262   fi
2263 else
2264   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2265 $as_echo "$as_me: creating cache $cache_file" >&6;}
2266   >$cache_file
2267 fi
2268
2269 # Check that the precious variables saved in the cache have kept the same
2270 # value.
2271 ac_cache_corrupted=false
2272 for ac_var in $ac_precious_vars; do
2273   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2274   eval ac_new_set=\$ac_env_${ac_var}_set
2275   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2276   eval ac_new_val=\$ac_env_${ac_var}_value
2277   case $ac_old_set,$ac_new_set in
2278     set,)
2279       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2280 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2281       ac_cache_corrupted=: ;;
2282     ,set)
2283       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2284 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2285       ac_cache_corrupted=: ;;
2286     ,);;
2287     *)
2288       if test "x$ac_old_val" != "x$ac_new_val"; then
2289         # differences in whitespace do not lead to failure.
2290         ac_old_val_w=`echo x $ac_old_val`
2291         ac_new_val_w=`echo x $ac_new_val`
2292         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2293           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2294 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2295           ac_cache_corrupted=:
2296         else
2297           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2298 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2299           eval $ac_var=\$ac_old_val
2300         fi
2301         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2302 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2303         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2304 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2305       fi;;
2306   esac
2307   # Pass precious variables to config.status.
2308   if test "$ac_new_set" = set; then
2309     case $ac_new_val in
2310     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2311     *) ac_arg=$ac_var=$ac_new_val ;;
2312     esac
2313     case " $ac_configure_args " in
2314       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2315       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2316     esac
2317   fi
2318 done
2319 if $ac_cache_corrupted; then
2320   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2323 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2324   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2325 fi
2326 ## -------------------- ##
2327 ## Main body of script. ##
2328 ## -------------------- ##
2329
2330 ac_ext=c
2331 ac_cpp='$CPP $CPPFLAGS'
2332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2335
2336
2337
2338
2339
2340 PD_DOC_SUPPORT_DEFVAL=true
2341 PD_DOCTOOL_PATH=/usr/share/policy-doc-tools
2342
2343 if test -n "$ac_tool_prefix"; then
2344   # Extract the first word of "${ac_tool_prefix}lyx", so it can be a program name with args.
2345 set dummy ${ac_tool_prefix}lyx; ac_word=$2
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2347 $as_echo_n "checking for $ac_word... " >&6; }
2348 if ${ac_cv_path_PD_LYX+:} false; then :
2349   $as_echo_n "(cached) " >&6
2350 else
2351   case $PD_LYX in
2352   [\\/]* | ?:[\\/]*)
2353   ac_cv_path_PD_LYX="$PD_LYX" # Let the user override the test with a path.
2354   ;;
2355   *)
2356   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2358 do
2359   IFS=$as_save_IFS
2360   test -z "$as_dir" && as_dir=.
2361     for ac_exec_ext in '' $ac_executable_extensions; do
2362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363     ac_cv_path_PD_LYX="$as_dir/$ac_word$ac_exec_ext"
2364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365     break 2
2366   fi
2367 done
2368   done
2369 IFS=$as_save_IFS
2370
2371   ;;
2372 esac
2373 fi
2374 PD_LYX=$ac_cv_path_PD_LYX
2375 if test -n "$PD_LYX"; then
2376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_LYX" >&5
2377 $as_echo "$PD_LYX" >&6; }
2378 else
2379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 $as_echo "no" >&6; }
2381 fi
2382
2383
2384 fi
2385 if test -z "$ac_cv_path_PD_LYX"; then
2386   ac_pt_PD_LYX=$PD_LYX
2387   # Extract the first word of "lyx", so it can be a program name with args.
2388 set dummy lyx; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if ${ac_cv_path_ac_pt_PD_LYX+:} false; then :
2392   $as_echo_n "(cached) " >&6
2393 else
2394   case $ac_pt_PD_LYX in
2395   [\\/]* | ?:[\\/]*)
2396   ac_cv_path_ac_pt_PD_LYX="$ac_pt_PD_LYX" # Let the user override the test with a path.
2397   ;;
2398   *)
2399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 for as_dir in $PATH
2401 do
2402   IFS=$as_save_IFS
2403   test -z "$as_dir" && as_dir=.
2404     for ac_exec_ext in '' $ac_executable_extensions; do
2405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406     ac_cv_path_ac_pt_PD_LYX="$as_dir/$ac_word$ac_exec_ext"
2407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2408     break 2
2409   fi
2410 done
2411   done
2412 IFS=$as_save_IFS
2413
2414   ;;
2415 esac
2416 fi
2417 ac_pt_PD_LYX=$ac_cv_path_ac_pt_PD_LYX
2418 if test -n "$ac_pt_PD_LYX"; then
2419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_LYX" >&5
2420 $as_echo "$ac_pt_PD_LYX" >&6; }
2421 else
2422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2424 fi
2425
2426   if test "x$ac_pt_PD_LYX" = x; then
2427     PD_LYX=""
2428   else
2429     case $cross_compiling:$ac_tool_warned in
2430 yes:)
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2433 ac_tool_warned=yes ;;
2434 esac
2435     PD_LYX=$ac_pt_PD_LYX
2436   fi
2437 else
2438   PD_LYX="$ac_cv_path_PD_LYX"
2439 fi
2440
2441
2442 if test x$PD_LYX = x; then :
2443   PD_DOC_SUPPORT_DEFVAL=false
2444        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find lyx. doc-support is going to be disabled" >&5
2445 $as_echo "$as_me: WARNING: Can't find lyx. doc-support is going to be disabled" >&2;}
2446
2447 fi
2448
2449 if test -n "$ac_tool_prefix"; then
2450   # Extract the first word of "${ac_tool_prefix}fig2dev", so it can be a program name with args.
2451 set dummy ${ac_tool_prefix}fig2dev; ac_word=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_path_PD_FIG2DEV+:} false; then :
2455   $as_echo_n "(cached) " >&6
2456 else
2457   case $PD_FIG2DEV in
2458   [\\/]* | ?:[\\/]*)
2459   ac_cv_path_PD_FIG2DEV="$PD_FIG2DEV" # Let the user override the test with a path.
2460   ;;
2461   *)
2462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 for as_dir in $PATH
2464 do
2465   IFS=$as_save_IFS
2466   test -z "$as_dir" && as_dir=.
2467     for ac_exec_ext in '' $ac_executable_extensions; do
2468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469     ac_cv_path_PD_FIG2DEV="$as_dir/$ac_word$ac_exec_ext"
2470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2471     break 2
2472   fi
2473 done
2474   done
2475 IFS=$as_save_IFS
2476
2477   ;;
2478 esac
2479 fi
2480 PD_FIG2DEV=$ac_cv_path_PD_FIG2DEV
2481 if test -n "$PD_FIG2DEV"; then
2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_FIG2DEV" >&5
2483 $as_echo "$PD_FIG2DEV" >&6; }
2484 else
2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486 $as_echo "no" >&6; }
2487 fi
2488
2489
2490 fi
2491 if test -z "$ac_cv_path_PD_FIG2DEV"; then
2492   ac_pt_PD_FIG2DEV=$PD_FIG2DEV
2493   # Extract the first word of "fig2dev", so it can be a program name with args.
2494 set dummy fig2dev; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_path_ac_pt_PD_FIG2DEV+:} false; then :
2498   $as_echo_n "(cached) " >&6
2499 else
2500   case $ac_pt_PD_FIG2DEV in
2501   [\\/]* | ?:[\\/]*)
2502   ac_cv_path_ac_pt_PD_FIG2DEV="$ac_pt_PD_FIG2DEV" # Let the user override the test with a path.
2503   ;;
2504   *)
2505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 for as_dir in $PATH
2507 do
2508   IFS=$as_save_IFS
2509   test -z "$as_dir" && as_dir=.
2510     for ac_exec_ext in '' $ac_executable_extensions; do
2511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512     ac_cv_path_ac_pt_PD_FIG2DEV="$as_dir/$ac_word$ac_exec_ext"
2513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2514     break 2
2515   fi
2516 done
2517   done
2518 IFS=$as_save_IFS
2519
2520   ;;
2521 esac
2522 fi
2523 ac_pt_PD_FIG2DEV=$ac_cv_path_ac_pt_PD_FIG2DEV
2524 if test -n "$ac_pt_PD_FIG2DEV"; then
2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_FIG2DEV" >&5
2526 $as_echo "$ac_pt_PD_FIG2DEV" >&6; }
2527 else
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 fi
2531
2532   if test "x$ac_pt_PD_FIG2DEV" = x; then
2533     PD_FIG2DEV=""
2534   else
2535     case $cross_compiling:$ac_tool_warned in
2536 yes:)
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned=yes ;;
2540 esac
2541     PD_FIG2DEV=$ac_pt_PD_FIG2DEV
2542   fi
2543 else
2544   PD_FIG2DEV="$ac_cv_path_PD_FIG2DEV"
2545 fi
2546
2547
2548 if test x$PD_FIG2DEV = x; then :
2549   PD_DOC_SUPPORT_DEFVAL=false
2550        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find fig2dev. doc-support is going to be disabled" >&5
2551 $as_echo "$as_me: WARNING: Can't find fig2dev. doc-support is going to be disabled" >&2;}
2552
2553 fi
2554
2555 if test -n "$ac_tool_prefix"; then
2556   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
2557 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if ${ac_cv_path_PD_DOXYGEN+:} false; then :
2561   $as_echo_n "(cached) " >&6
2562 else
2563   case $PD_DOXYGEN in
2564   [\\/]* | ?:[\\/]*)
2565   ac_cv_path_PD_DOXYGEN="$PD_DOXYGEN" # Let the user override the test with a path.
2566   ;;
2567   *)
2568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH
2570 do
2571   IFS=$as_save_IFS
2572   test -z "$as_dir" && as_dir=.
2573     for ac_exec_ext in '' $ac_executable_extensions; do
2574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575     ac_cv_path_PD_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577     break 2
2578   fi
2579 done
2580   done
2581 IFS=$as_save_IFS
2582
2583   ;;
2584 esac
2585 fi
2586 PD_DOXYGEN=$ac_cv_path_PD_DOXYGEN
2587 if test -n "$PD_DOXYGEN"; then
2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_DOXYGEN" >&5
2589 $as_echo "$PD_DOXYGEN" >&6; }
2590 else
2591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2593 fi
2594
2595
2596 fi
2597 if test -z "$ac_cv_path_PD_DOXYGEN"; then
2598   ac_pt_PD_DOXYGEN=$PD_DOXYGEN
2599   # Extract the first word of "doxygen", so it can be a program name with args.
2600 set dummy doxygen; ac_word=$2
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602 $as_echo_n "checking for $ac_word... " >&6; }
2603 if ${ac_cv_path_ac_pt_PD_DOXYGEN+:} false; then :
2604   $as_echo_n "(cached) " >&6
2605 else
2606   case $ac_pt_PD_DOXYGEN in
2607   [\\/]* | ?:[\\/]*)
2608   ac_cv_path_ac_pt_PD_DOXYGEN="$ac_pt_PD_DOXYGEN" # Let the user override the test with a path.
2609   ;;
2610   *)
2611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 for as_dir in $PATH
2613 do
2614   IFS=$as_save_IFS
2615   test -z "$as_dir" && as_dir=.
2616     for ac_exec_ext in '' $ac_executable_extensions; do
2617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618     ac_cv_path_ac_pt_PD_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2620     break 2
2621   fi
2622 done
2623   done
2624 IFS=$as_save_IFS
2625
2626   ;;
2627 esac
2628 fi
2629 ac_pt_PD_DOXYGEN=$ac_cv_path_ac_pt_PD_DOXYGEN
2630 if test -n "$ac_pt_PD_DOXYGEN"; then
2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_DOXYGEN" >&5
2632 $as_echo "$ac_pt_PD_DOXYGEN" >&6; }
2633 else
2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2636 fi
2637
2638   if test "x$ac_pt_PD_DOXYGEN" = x; then
2639     PD_DOXYGEN=""
2640   else
2641     case $cross_compiling:$ac_tool_warned in
2642 yes:)
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned=yes ;;
2646 esac
2647     PD_DOXYGEN=$ac_pt_PD_DOXYGEN
2648   fi
2649 else
2650   PD_DOXYGEN="$ac_cv_path_PD_DOXYGEN"
2651 fi
2652
2653
2654 if test x$PD_DOXYGEN = x; then :
2655   PD_DOC_SUPPORT_DEFVAL=false
2656        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find doxygen. doc-support is going to be disabled" >&5
2657 $as_echo "$as_me: WARNING: Can't find doxygen. doc-support is going to be disabled" >&2;}
2658
2659 fi
2660
2661 if test -n "$ac_tool_prefix"; then
2662   # Extract the first word of "${ac_tool_prefix}xsltproc", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}xsltproc; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_path_PD_XSLTPROC+:} false; then :
2667   $as_echo_n "(cached) " >&6
2668 else
2669   case $PD_XSLTPROC in
2670   [\\/]* | ?:[\\/]*)
2671   ac_cv_path_PD_XSLTPROC="$PD_XSLTPROC" # Let the user override the test with a path.
2672   ;;
2673   *)
2674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 for as_dir in $PATH
2676 do
2677   IFS=$as_save_IFS
2678   test -z "$as_dir" && as_dir=.
2679     for ac_exec_ext in '' $ac_executable_extensions; do
2680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681     ac_cv_path_PD_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683     break 2
2684   fi
2685 done
2686   done
2687 IFS=$as_save_IFS
2688
2689   ;;
2690 esac
2691 fi
2692 PD_XSLTPROC=$ac_cv_path_PD_XSLTPROC
2693 if test -n "$PD_XSLTPROC"; then
2694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PD_XSLTPROC" >&5
2695 $as_echo "$PD_XSLTPROC" >&6; }
2696 else
2697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2699 fi
2700
2701
2702 fi
2703 if test -z "$ac_cv_path_PD_XSLTPROC"; then
2704   ac_pt_PD_XSLTPROC=$PD_XSLTPROC
2705   # Extract the first word of "xsltproc", so it can be a program name with args.
2706 set dummy xsltproc; ac_word=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_path_ac_pt_PD_XSLTPROC+:} false; then :
2710   $as_echo_n "(cached) " >&6
2711 else
2712   case $ac_pt_PD_XSLTPROC in
2713   [\\/]* | ?:[\\/]*)
2714   ac_cv_path_ac_pt_PD_XSLTPROC="$ac_pt_PD_XSLTPROC" # Let the user override the test with a path.
2715   ;;
2716   *)
2717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720   IFS=$as_save_IFS
2721   test -z "$as_dir" && as_dir=.
2722     for ac_exec_ext in '' $ac_executable_extensions; do
2723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724     ac_cv_path_ac_pt_PD_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726     break 2
2727   fi
2728 done
2729   done
2730 IFS=$as_save_IFS
2731
2732   ;;
2733 esac
2734 fi
2735 ac_pt_PD_XSLTPROC=$ac_cv_path_ac_pt_PD_XSLTPROC
2736 if test -n "$ac_pt_PD_XSLTPROC"; then
2737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PD_XSLTPROC" >&5
2738 $as_echo "$ac_pt_PD_XSLTPROC" >&6; }
2739 else
2740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741 $as_echo "no" >&6; }
2742 fi
2743
2744   if test "x$ac_pt_PD_XSLTPROC" = x; then
2745     PD_XSLTPROC=""
2746   else
2747     case $cross_compiling:$ac_tool_warned in
2748 yes:)
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2751 ac_tool_warned=yes ;;
2752 esac
2753     PD_XSLTPROC=$ac_pt_PD_XSLTPROC
2754   fi
2755 else
2756   PD_XSLTPROC="$ac_cv_path_PD_XSLTPROC"
2757 fi
2758
2759
2760 if test x$PD_XSLTPROC = x; then :
2761   PD_DOC_SUPPORT_DEFVAL=false
2762        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find xsltproc. doc-support is going to be disabled" >&5
2763 $as_echo "$as_me: WARNING: Can't find xsltproc. doc-support is going to be disabled" >&2;}
2764
2765 fi
2766
2767 PD_DOXML2DB_STY=${PD_DOCTOOL_PATH}/xslt/doxml2db.sty
2768
2769
2770 as_ac_File=`$as_echo "ac_cv_file_$PD_DOXML2DB_STY" | $as_tr_sh`
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PD_DOXML2DB_STY" >&5
2772 $as_echo_n "checking for $PD_DOXML2DB_STY... " >&6; }
2773 if eval \${$as_ac_File+:} false; then :
2774   $as_echo_n "(cached) " >&6
2775 else
2776   test "$cross_compiling" = yes &&
2777   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2778 if test -r "$PD_DOXML2DB_STY"; then
2779   eval "$as_ac_File=yes"
2780 else
2781   eval "$as_ac_File=no"
2782 fi
2783 fi
2784 eval ac_res=\$$as_ac_File
2785                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2787 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2788   PD_DOXML2DB_STY_OK=true
2789 fi
2790
2791
2792 if test x$PD_DOXML2DB_STY_OK != xtrue; then :
2793   PD_DOC_SUPPORT_DEFVAL=false
2794        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find doxml2db.sty; doc-support is going to be disabled" >&5
2795 $as_echo "$as_me: WARNING: Can't find doxml2db.sty; doc-support is going to be disabled" >&2;}
2796
2797 fi
2798
2799 # Check whether --enable-doc-support was given.
2800 if test "${enable_doc_support+set}" = set; then :
2801   enableval=$enable_doc_support;
2802 case "$enableval" in #(
2803 y|Y|yes|Yes|YES) doc_support=false ;; #(
2804 n|N|no|No|NO)    doc_support=true  ;; #(
2805 *) as_fn_error $? "bad value '${enableval}' for --disable-doc-support" "$LINENO" 5 ;;
2806 esac
2807
2808 else
2809   doc_support=$PD_DOC_SUPPORT_DEFVAL
2810 fi
2811
2812
2813  if test x${doc_support} = xtrue; then
2814   PD_SUPPORT_TRUE=
2815   PD_SUPPORT_FALSE='#'
2816 else
2817   PD_SUPPORT_TRUE='#'
2818   PD_SUPPORT_FALSE=
2819 fi
2820
2821
2822
2823
2824
2825
2826
2827 am__api_version='1.11'
2828
2829 ac_aux_dir=
2830 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2831   if test -f "$ac_dir/install-sh"; then
2832     ac_aux_dir=$ac_dir
2833     ac_install_sh="$ac_aux_dir/install-sh -c"
2834     break
2835   elif test -f "$ac_dir/install.sh"; then
2836     ac_aux_dir=$ac_dir
2837     ac_install_sh="$ac_aux_dir/install.sh -c"
2838     break
2839   elif test -f "$ac_dir/shtool"; then
2840     ac_aux_dir=$ac_dir
2841     ac_install_sh="$ac_aux_dir/shtool install -c"
2842     break
2843   fi
2844 done
2845 if test -z "$ac_aux_dir"; then
2846   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2847 fi
2848
2849 # These three variables are undocumented and unsupported,
2850 # and are intended to be withdrawn in a future Autoconf release.
2851 # They can cause serious problems if a builder's source tree is in a directory
2852 # whose full name contains unusual characters.
2853 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2854 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2855 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2856
2857
2858 # Find a good install program.  We prefer a C program (faster),
2859 # so one script is as good as another.  But avoid the broken or
2860 # incompatible versions:
2861 # SysV /etc/install, /usr/sbin/install
2862 # SunOS /usr/etc/install
2863 # IRIX /sbin/install
2864 # AIX /bin/install
2865 # AmigaOS /C/install, which installs bootblocks on floppy discs
2866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2869 # OS/2's system install, which has a completely different semantic
2870 # ./install, which can be erroneously created by make from ./install.sh.
2871 # Reject install programs that cannot install multiple files.
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2873 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2874 if test -z "$INSTALL"; then
2875 if ${ac_cv_path_install+:} false; then :
2876   $as_echo_n "(cached) " >&6
2877 else
2878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 for as_dir in $PATH
2880 do
2881   IFS=$as_save_IFS
2882   test -z "$as_dir" && as_dir=.
2883     # Account for people who put trailing slashes in PATH elements.
2884 case $as_dir/ in #((
2885   ./ | .// | /[cC]/* | \
2886   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2887   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2888   /usr/ucb/* ) ;;
2889   *)
2890     # OSF1 and SCO ODT 3.0 have their own names for install.
2891     # Don't use installbsd from OSF since it installs stuff as root
2892     # by default.
2893     for ac_prog in ginstall scoinst install; do
2894       for ac_exec_ext in '' $ac_executable_extensions; do
2895         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2896           if test $ac_prog = install &&
2897             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898             # AIX install.  It has an incompatible calling convention.
2899             :
2900           elif test $ac_prog = install &&
2901             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2902             # program-specific install script used by HP pwplus--don't use.
2903             :
2904           else
2905             rm -rf conftest.one conftest.two conftest.dir
2906             echo one > conftest.one
2907             echo two > conftest.two
2908             mkdir conftest.dir
2909             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2910               test -s conftest.one && test -s conftest.two &&
2911               test -s conftest.dir/conftest.one &&
2912               test -s conftest.dir/conftest.two
2913             then
2914               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2915               break 3
2916             fi
2917           fi
2918         fi
2919       done
2920     done
2921     ;;
2922 esac
2923
2924   done
2925 IFS=$as_save_IFS
2926
2927 rm -rf conftest.one conftest.two conftest.dir
2928
2929 fi
2930   if test "${ac_cv_path_install+set}" = set; then
2931     INSTALL=$ac_cv_path_install
2932   else
2933     # As a last resort, use the slow shell script.  Don't cache a
2934     # value for INSTALL within a source directory, because that will
2935     # break other packages using the cache if that directory is
2936     # removed, or if the value is a relative name.
2937     INSTALL=$ac_install_sh
2938   fi
2939 fi
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2941 $as_echo "$INSTALL" >&6; }
2942
2943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2944 # It thinks the first close brace ends the variable substitution.
2945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2946
2947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2948
2949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2950
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2952 $as_echo_n "checking whether build environment is sane... " >&6; }
2953 # Just in case
2954 sleep 1
2955 echo timestamp > conftest.file
2956 # Reject unsafe characters in $srcdir or the absolute working directory
2957 # name.  Accept space and tab only in the latter.
2958 am_lf='
2959 '
2960 case `pwd` in
2961   *[\\\"\#\$\&\'\`$am_lf]*)
2962     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2963 esac
2964 case $srcdir in
2965   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2966     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2967 esac
2968
2969 # Do `set' in a subshell so we don't clobber the current shell's
2970 # arguments.  Must try -L first in case configure is actually a
2971 # symlink; some systems play weird games with the mod time of symlinks
2972 # (eg FreeBSD returns the mod time of the symlink's containing
2973 # directory).
2974 if (
2975    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2976    if test "$*" = "X"; then
2977       # -L didn't work.
2978       set X `ls -t "$srcdir/configure" conftest.file`
2979    fi
2980    rm -f conftest.file
2981    if test "$*" != "X $srcdir/configure conftest.file" \
2982       && test "$*" != "X conftest.file $srcdir/configure"; then
2983
2984       # If neither matched, then we have a broken ls.  This can happen
2985       # if, for instance, CONFIG_SHELL is bash and it inherits a
2986       # broken ls alias from the environment.  This has actually
2987       # happened.  Such a system could not be considered "sane".
2988       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2989 alias in your environment" "$LINENO" 5
2990    fi
2991
2992    test "$2" = conftest.file
2993    )
2994 then
2995    # Ok.
2996    :
2997 else
2998    as_fn_error $? "newly created file is older than distributed files!
2999 Check your system clock" "$LINENO" 5
3000 fi
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3002 $as_echo "yes" >&6; }
3003 test "$program_prefix" != NONE &&
3004   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3005 # Use a double $ so make ignores it.
3006 test "$program_suffix" != NONE &&
3007   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3008 # Double any \ or $.
3009 # By default was `s,x,x', remove it if useless.
3010 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3011 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3012
3013 # expand $ac_aux_dir to an absolute path
3014 am_aux_dir=`cd $ac_aux_dir && pwd`
3015
3016 if test x"${MISSING+set}" != xset; then
3017   case $am_aux_dir in
3018   *\ * | *\     *)
3019     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3020   *)
3021     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3022   esac
3023 fi
3024 # Use eval to expand $SHELL
3025 if eval "$MISSING --run true"; then
3026   am_missing_run="$MISSING --run "
3027 else
3028   am_missing_run=
3029   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3030 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3031 fi
3032
3033 if test x"${install_sh}" != xset; then
3034   case $am_aux_dir in
3035   *\ * | *\     *)
3036     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3037   *)
3038     install_sh="\${SHELL} $am_aux_dir/install-sh"
3039   esac
3040 fi
3041
3042 # Installed binaries are usually stripped using `strip' when the user
3043 # run `make install-strip'.  However `strip' might not be the right
3044 # tool to use in cross-compilation environments, therefore Automake
3045 # will honor the `STRIP' environment variable to overrule this program.
3046 if test "$cross_compiling" != no; then
3047   if test -n "$ac_tool_prefix"; then
3048   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3049 set dummy ${ac_tool_prefix}strip; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_STRIP+:} false; then :
3053   $as_echo_n "(cached) " >&6
3054 else
3055   if test -n "$STRIP"; then
3056   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3057 else
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 for as_dir in $PATH
3060 do
3061   IFS=$as_save_IFS
3062   test -z "$as_dir" && as_dir=.
3063     for ac_exec_ext in '' $ac_executable_extensions; do
3064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067     break 2
3068   fi
3069 done
3070   done
3071 IFS=$as_save_IFS
3072
3073 fi
3074 fi
3075 STRIP=$ac_cv_prog_STRIP
3076 if test -n "$STRIP"; then
3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3078 $as_echo "$STRIP" >&6; }
3079 else
3080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3082 fi
3083
3084
3085 fi
3086 if test -z "$ac_cv_prog_STRIP"; then
3087   ac_ct_STRIP=$STRIP
3088   # Extract the first word of "strip", so it can be a program name with args.
3089 set dummy strip; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3093   $as_echo_n "(cached) " >&6
3094 else
3095   if test -n "$ac_ct_STRIP"; then
3096   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3097 else
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 for as_dir in $PATH
3100 do
3101   IFS=$as_save_IFS
3102   test -z "$as_dir" && as_dir=.
3103     for ac_exec_ext in '' $ac_executable_extensions; do
3104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105     ac_cv_prog_ac_ct_STRIP="strip"
3106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107     break 2
3108   fi
3109 done
3110   done
3111 IFS=$as_save_IFS
3112
3113 fi
3114 fi
3115 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3116 if test -n "$ac_ct_STRIP"; then
3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3118 $as_echo "$ac_ct_STRIP" >&6; }
3119 else
3120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3122 fi
3123
3124   if test "x$ac_ct_STRIP" = x; then
3125     STRIP=":"
3126   else
3127     case $cross_compiling:$ac_tool_warned in
3128 yes:)
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3132 esac
3133     STRIP=$ac_ct_STRIP
3134   fi
3135 else
3136   STRIP="$ac_cv_prog_STRIP"
3137 fi
3138
3139 fi
3140 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3141
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3143 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3144 if test -z "$MKDIR_P"; then
3145   if ${ac_cv_path_mkdir+:} false; then :
3146   $as_echo_n "(cached) " >&6
3147 else
3148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3150 do
3151   IFS=$as_save_IFS
3152   test -z "$as_dir" && as_dir=.
3153     for ac_prog in mkdir gmkdir; do
3154          for ac_exec_ext in '' $ac_executable_extensions; do
3155            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3156            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3157              'mkdir (GNU coreutils) '* | \
3158              'mkdir (coreutils) '* | \
3159              'mkdir (fileutils) '4.1*)
3160                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3161                break 3;;
3162            esac
3163          done
3164        done
3165   done
3166 IFS=$as_save_IFS
3167
3168 fi
3169
3170   test -d ./--version && rmdir ./--version
3171   if test "${ac_cv_path_mkdir+set}" = set; then
3172     MKDIR_P="$ac_cv_path_mkdir -p"
3173   else
3174     # As a last resort, use the slow shell script.  Don't cache a
3175     # value for MKDIR_P within a source directory, because that will
3176     # break other packages using the cache if that directory is
3177     # removed, or if the value is a relative name.
3178     MKDIR_P="$ac_install_sh -d"
3179   fi
3180 fi
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3182 $as_echo "$MKDIR_P" >&6; }
3183
3184 mkdir_p="$MKDIR_P"
3185 case $mkdir_p in
3186   [\\/$]* | ?:[\\/]*) ;;
3187   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3188 esac
3189
3190 for ac_prog in gawk mawk nawk awk
3191 do
3192   # Extract the first word of "$ac_prog", so it can be a program name with args.
3193 set dummy $ac_prog; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_prog_AWK+:} false; then :
3197   $as_echo_n "(cached) " >&6
3198 else
3199   if test -n "$AWK"; then
3200   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3201 else
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 for as_dir in $PATH
3204 do
3205   IFS=$as_save_IFS
3206   test -z "$as_dir" && as_dir=.
3207     for ac_exec_ext in '' $ac_executable_extensions; do
3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209     ac_cv_prog_AWK="$ac_prog"
3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211     break 2
3212   fi
3213 done
3214   done
3215 IFS=$as_save_IFS
3216
3217 fi
3218 fi
3219 AWK=$ac_cv_prog_AWK
3220 if test -n "$AWK"; then
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3222 $as_echo "$AWK" >&6; }
3223 else
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 fi
3227
3228
3229   test -n "$AWK" && break
3230 done
3231
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3234 set x ${MAKE-make}
3235 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3236 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3237   $as_echo_n "(cached) " >&6
3238 else
3239   cat >conftest.make <<\_ACEOF
3240 SHELL = /bin/sh
3241 all:
3242         @echo '@@@%%%=$(MAKE)=@@@%%%'
3243 _ACEOF
3244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3246   *@@@%%%=?*=@@@%%%*)
3247     eval ac_cv_prog_make_${ac_make}_set=yes;;
3248   *)
3249     eval ac_cv_prog_make_${ac_make}_set=no;;
3250 esac
3251 rm -f conftest.make
3252 fi
3253 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 $as_echo "yes" >&6; }
3256   SET_MAKE=
3257 else
3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260   SET_MAKE="MAKE=${MAKE-make}"
3261 fi
3262
3263 rm -rf .tst 2>/dev/null
3264 mkdir .tst 2>/dev/null
3265 if test -d .tst; then
3266   am__leading_dot=.
3267 else
3268   am__leading_dot=_
3269 fi
3270 rmdir .tst 2>/dev/null
3271
3272 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3273   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3274   # is not polluted with repeated "-I."
3275   am__isrc=' -I$(srcdir)'
3276   # test to see if srcdir already configured
3277   if test -f $srcdir/config.status; then
3278     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3279   fi
3280 fi
3281
3282 # test whether we have cygpath
3283 if test -z "$CYGPATH_W"; then
3284   if (cygpath --version) >/dev/null 2>/dev/null; then
3285     CYGPATH_W='cygpath -w'
3286   else
3287     CYGPATH_W=echo
3288   fi
3289 fi
3290
3291
3292 # Define the identity of the package.
3293  PACKAGE='pulseaudio-genivi-mir'
3294  VERSION=''
3295
3296
3297 cat >>confdefs.h <<_ACEOF
3298 #define PACKAGE "$PACKAGE"
3299 _ACEOF
3300
3301
3302 cat >>confdefs.h <<_ACEOF
3303 #define VERSION "$VERSION"
3304 _ACEOF
3305
3306 # Some tools Automake needs.
3307
3308 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3309
3310
3311 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3312
3313
3314 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3315
3316
3317 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3318
3319
3320 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3321
3322 # We need awk for the "check" target.  The system "awk" is bad on
3323 # some platforms.
3324 # Always define AMTAR for backward compatibility.
3325
3326 AMTAR=${AMTAR-"${am_missing_run}tar"}
3327
3328 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3329
3330
3331
3332
3333
3334
3335 # this would not be really needed if everything would be as it should be
3336 if test x${exec_prefix} = xNONE; then :
3337   LIBDIR=$ac_default_prefix/lib
3338 else
3339   LIBDIR=${libdir}
3340 fi
3341
3342
3343 PA_MAJORMINOR=
3344
3345
3346
3347 ac_ext=c
3348 ac_cpp='$CPP $CPPFLAGS'
3349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352 if test -n "$ac_tool_prefix"; then
3353   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3354 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if ${ac_cv_prog_CC+:} false; then :
3358   $as_echo_n "(cached) " >&6
3359 else
3360   if test -n "$CC"; then
3361   ac_cv_prog_CC="$CC" # Let the user override the test.
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3365 do
3366   IFS=$as_save_IFS
3367   test -z "$as_dir" && as_dir=.
3368     for ac_exec_ext in '' $ac_executable_extensions; do
3369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372     break 2
3373   fi
3374 done
3375   done
3376 IFS=$as_save_IFS
3377
3378 fi
3379 fi
3380 CC=$ac_cv_prog_CC
3381 if test -n "$CC"; then
3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3383 $as_echo "$CC" >&6; }
3384 else
3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3387 fi
3388
3389
3390 fi
3391 if test -z "$ac_cv_prog_CC"; then
3392   ac_ct_CC=$CC
3393   # Extract the first word of "gcc", so it can be a program name with args.
3394 set dummy gcc; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3398   $as_echo_n "(cached) " >&6
3399 else
3400   if test -n "$ac_ct_CC"; then
3401   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406   IFS=$as_save_IFS
3407   test -z "$as_dir" && as_dir=.
3408     for ac_exec_ext in '' $ac_executable_extensions; do
3409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410     ac_cv_prog_ac_ct_CC="gcc"
3411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412     break 2
3413   fi
3414 done
3415   done
3416 IFS=$as_save_IFS
3417
3418 fi
3419 fi
3420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3421 if test -n "$ac_ct_CC"; then
3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3423 $as_echo "$ac_ct_CC" >&6; }
3424 else
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 fi
3428
3429   if test "x$ac_ct_CC" = x; then
3430     CC=""
3431   else
3432     case $cross_compiling:$ac_tool_warned in
3433 yes:)
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3437 esac
3438     CC=$ac_ct_CC
3439   fi
3440 else
3441   CC="$ac_cv_prog_CC"
3442 fi
3443
3444 if test -z "$CC"; then
3445           if test -n "$ac_tool_prefix"; then
3446     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3447 set dummy ${ac_tool_prefix}cc; ac_word=$2
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3449 $as_echo_n "checking for $ac_word... " >&6; }
3450 if ${ac_cv_prog_CC+:} false; then :
3451   $as_echo_n "(cached) " >&6
3452 else
3453   if test -n "$CC"; then
3454   ac_cv_prog_CC="$CC" # Let the user override the test.
3455 else
3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457 for as_dir in $PATH
3458 do
3459   IFS=$as_save_IFS
3460   test -z "$as_dir" && as_dir=.
3461     for ac_exec_ext in '' $ac_executable_extensions; do
3462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3463     ac_cv_prog_CC="${ac_tool_prefix}cc"
3464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465     break 2
3466   fi
3467 done
3468   done
3469 IFS=$as_save_IFS
3470
3471 fi
3472 fi
3473 CC=$ac_cv_prog_CC
3474 if test -n "$CC"; then
3475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3476 $as_echo "$CC" >&6; }
3477 else
3478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3480 fi
3481
3482
3483   fi
3484 fi
3485 if test -z "$CC"; then
3486   # Extract the first word of "cc", so it can be a program name with args.
3487 set dummy cc; ac_word=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_CC+:} false; then :
3491   $as_echo_n "(cached) " >&6
3492 else
3493   if test -n "$CC"; then
3494   ac_cv_prog_CC="$CC" # Let the user override the test.
3495 else
3496   ac_prog_rejected=no
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3499 do
3500   IFS=$as_save_IFS
3501   test -z "$as_dir" && as_dir=.
3502     for ac_exec_ext in '' $ac_executable_extensions; do
3503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3505        ac_prog_rejected=yes
3506        continue
3507      fi
3508     ac_cv_prog_CC="cc"
3509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510     break 2
3511   fi
3512 done
3513   done
3514 IFS=$as_save_IFS
3515
3516 if test $ac_prog_rejected = yes; then
3517   # We found a bogon in the path, so make sure we never use it.
3518   set dummy $ac_cv_prog_CC
3519   shift
3520   if test $# != 0; then
3521     # We chose a different compiler from the bogus one.
3522     # However, it has the same basename, so the bogon will be chosen
3523     # first if we set CC to just the basename; use the full file name.
3524     shift
3525     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3526   fi
3527 fi
3528 fi
3529 fi
3530 CC=$ac_cv_prog_CC
3531 if test -n "$CC"; then
3532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3534 else
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3537 fi
3538
3539
3540 fi
3541 if test -z "$CC"; then
3542   if test -n "$ac_tool_prefix"; then
3543   for ac_prog in cl.exe
3544   do
3545     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_CC+:} false; then :
3550   $as_echo_n "(cached) " >&6
3551 else
3552   if test -n "$CC"; then
3553   ac_cv_prog_CC="$CC" # Let the user override the test.
3554 else
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3557 do
3558   IFS=$as_save_IFS
3559   test -z "$as_dir" && as_dir=.
3560     for ac_exec_ext in '' $ac_executable_extensions; do
3561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564     break 2
3565   fi
3566 done
3567   done
3568 IFS=$as_save_IFS
3569
3570 fi
3571 fi
3572 CC=$ac_cv_prog_CC
3573 if test -n "$CC"; then
3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3576 else
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 fi
3580
3581
3582     test -n "$CC" && break
3583   done
3584 fi
3585 if test -z "$CC"; then
3586   ac_ct_CC=$CC
3587   for ac_prog in cl.exe
3588 do
3589   # Extract the first word of "$ac_prog", so it can be a program name with args.
3590 set dummy $ac_prog; ac_word=$2
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3592 $as_echo_n "checking for $ac_word... " >&6; }
3593 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3594   $as_echo_n "(cached) " >&6
3595 else
3596   if test -n "$ac_ct_CC"; then
3597   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3601 do
3602   IFS=$as_save_IFS
3603   test -z "$as_dir" && as_dir=.
3604     for ac_exec_ext in '' $ac_executable_extensions; do
3605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606     ac_cv_prog_ac_ct_CC="$ac_prog"
3607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608     break 2
3609   fi
3610 done
3611   done
3612 IFS=$as_save_IFS
3613
3614 fi
3615 fi
3616 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3617 if test -n "$ac_ct_CC"; then
3618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3619 $as_echo "$ac_ct_CC" >&6; }
3620 else
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3623 fi
3624
3625
3626   test -n "$ac_ct_CC" && break
3627 done
3628
3629   if test "x$ac_ct_CC" = x; then
3630     CC=""
3631   else
3632     case $cross_compiling:$ac_tool_warned in
3633 yes:)
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3636 ac_tool_warned=yes ;;
3637 esac
3638     CC=$ac_ct_CC
3639   fi
3640 fi
3641
3642 fi
3643
3644
3645 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3647 as_fn_error $? "no acceptable C compiler found in \$PATH
3648 See \`config.log' for more details" "$LINENO" 5; }
3649
3650 # Provide some information about the compiler.
3651 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3652 set X $ac_compile
3653 ac_compiler=$2
3654 for ac_option in --version -v -V -qversion; do
3655   { { ac_try="$ac_compiler $ac_option >&5"
3656 case "(($ac_try" in
3657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658   *) ac_try_echo=$ac_try;;
3659 esac
3660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661 $as_echo "$ac_try_echo"; } >&5
3662   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3663   ac_status=$?
3664   if test -s conftest.err; then
3665     sed '10a\
3666 ... rest of stderr output deleted ...
3667          10q' conftest.err >conftest.er1
3668     cat conftest.er1 >&5
3669   fi
3670   rm -f conftest.er1 conftest.err
3671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672   test $ac_status = 0; }
3673 done
3674
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h.  */
3677
3678 int
3679 main ()
3680 {
3681
3682   ;
3683   return 0;
3684 }
3685 _ACEOF
3686 ac_clean_files_save=$ac_clean_files
3687 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3688 # Try to create an executable without -o first, disregard a.out.
3689 # It will help us diagnose broken compilers, and finding out an intuition
3690 # of exeext.
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3692 $as_echo_n "checking whether the C compiler works... " >&6; }
3693 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3694
3695 # The possible output files:
3696 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3697
3698 ac_rmfiles=
3699 for ac_file in $ac_files
3700 do
3701   case $ac_file in
3702     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3703     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3704   esac
3705 done
3706 rm -f $ac_rmfiles
3707
3708 if { { ac_try="$ac_link_default"
3709 case "(($ac_try" in
3710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711   *) ac_try_echo=$ac_try;;
3712 esac
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
3715   (eval "$ac_link_default") 2>&5
3716   ac_status=$?
3717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718   test $ac_status = 0; }; then :
3719   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3720 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3721 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3722 # so that the user can short-circuit this test for compilers unknown to
3723 # Autoconf.
3724 for ac_file in $ac_files ''
3725 do
3726   test -f "$ac_file" || continue
3727   case $ac_file in
3728     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3729         ;;
3730     [ab].out )
3731         # We found the default executable, but exeext='' is most
3732         # certainly right.
3733         break;;
3734     *.* )
3735         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3736         then :; else
3737            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3738         fi
3739         # We set ac_cv_exeext here because the later test for it is not
3740         # safe: cross compilers may not add the suffix if given an `-o'
3741         # argument, so we may need to know it at that point already.
3742         # Even if this section looks crufty: it has the advantage of
3743         # actually working.
3744         break;;
3745     * )
3746         break;;
3747   esac
3748 done
3749 test "$ac_cv_exeext" = no && ac_cv_exeext=
3750
3751 else
3752   ac_file=''
3753 fi
3754 if test -z "$ac_file"; then :
3755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3757 $as_echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3759
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762 as_fn_error 77 "C compiler cannot create executables
3763 See \`config.log' for more details" "$LINENO" 5; }
3764 else
3765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3766 $as_echo "yes" >&6; }
3767 fi
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3769 $as_echo_n "checking for C compiler default output file name... " >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3771 $as_echo "$ac_file" >&6; }
3772 ac_exeext=$ac_cv_exeext
3773
3774 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3775 ac_clean_files=$ac_clean_files_save
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3777 $as_echo_n "checking for suffix of executables... " >&6; }
3778 if { { ac_try="$ac_link"
3779 case "(($ac_try" in
3780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781   *) ac_try_echo=$ac_try;;
3782 esac
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785   (eval "$ac_link") 2>&5
3786   ac_status=$?
3787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3788   test $ac_status = 0; }; then :
3789   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3790 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3791 # work properly (i.e., refer to `conftest.exe'), while it won't with
3792 # `rm'.
3793 for ac_file in conftest.exe conftest conftest.*; do
3794   test -f "$ac_file" || continue
3795   case $ac_file in
3796     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3797     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3798           break;;
3799     * ) break;;
3800   esac
3801 done
3802 else
3803   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3806 See \`config.log' for more details" "$LINENO" 5; }
3807 fi
3808 rm -f conftest conftest$ac_cv_exeext
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3810 $as_echo "$ac_cv_exeext" >&6; }
3811
3812 rm -f conftest.$ac_ext
3813 EXEEXT=$ac_cv_exeext
3814 ac_exeext=$EXEEXT
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h.  */
3817 #include <stdio.h>
3818 int
3819 main ()
3820 {
3821 FILE *f = fopen ("conftest.out", "w");
3822  return ferror (f) || fclose (f) != 0;
3823
3824   ;
3825   return 0;
3826 }
3827 _ACEOF
3828 ac_clean_files="$ac_clean_files conftest.out"
3829 # Check that the compiler produces executables we can run.  If not, either
3830 # the compiler is broken, or we cross compile.
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3832 $as_echo_n "checking whether we are cross compiling... " >&6; }
3833 if test "$cross_compiling" != yes; then
3834   { { ac_try="$ac_link"
3835 case "(($ac_try" in
3836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837   *) ac_try_echo=$ac_try;;
3838 esac
3839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840 $as_echo "$ac_try_echo"; } >&5
3841   (eval "$ac_link") 2>&5
3842   ac_status=$?
3843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844   test $ac_status = 0; }
3845   if { ac_try='./conftest$ac_cv_exeext'
3846   { { case "(($ac_try" in
3847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848   *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852   (eval "$ac_try") 2>&5
3853   ac_status=$?
3854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855   test $ac_status = 0; }; }; then
3856     cross_compiling=no
3857   else
3858     if test "$cross_compiling" = maybe; then
3859         cross_compiling=yes
3860     else
3861         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error $? "cannot run C compiled programs.
3864 If you meant to cross compile, use \`--host'.
3865 See \`config.log' for more details" "$LINENO" 5; }
3866     fi
3867   fi
3868 fi
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3870 $as_echo "$cross_compiling" >&6; }
3871
3872 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3873 ac_clean_files=$ac_clean_files_save
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3875 $as_echo_n "checking for suffix of object files... " >&6; }
3876 if ${ac_cv_objext+:} false; then :
3877   $as_echo_n "(cached) " >&6
3878 else
3879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h.  */
3881
3882 int
3883 main ()
3884 {
3885
3886   ;
3887   return 0;
3888 }
3889 _ACEOF
3890 rm -f conftest.o conftest.obj
3891 if { { ac_try="$ac_compile"
3892 case "(($ac_try" in
3893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894   *) ac_try_echo=$ac_try;;
3895 esac
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898   (eval "$ac_compile") 2>&5
3899   ac_status=$?
3900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901   test $ac_status = 0; }; then :
3902   for ac_file in conftest.o conftest.obj conftest.*; do
3903   test -f "$ac_file" || continue;
3904   case $ac_file in
3905     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3906     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3907        break;;
3908   esac
3909 done
3910 else
3911   $as_echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3913
3914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3916 as_fn_error $? "cannot compute suffix of object files: cannot compile
3917 See \`config.log' for more details" "$LINENO" 5; }
3918 fi
3919 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3920 fi
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3922 $as_echo "$ac_cv_objext" >&6; }
3923 OBJEXT=$ac_cv_objext
3924 ac_objext=$OBJEXT
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3926 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3927 if ${ac_cv_c_compiler_gnu+:} false; then :
3928   $as_echo_n "(cached) " >&6
3929 else
3930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h.  */
3932
3933 int
3934 main ()
3935 {
3936 #ifndef __GNUC__
3937        choke me
3938 #endif
3939
3940   ;
3941   return 0;
3942 }
3943 _ACEOF
3944 if ac_fn_c_try_compile "$LINENO"; then :
3945   ac_compiler_gnu=yes
3946 else
3947   ac_compiler_gnu=no
3948 fi
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3951
3952 fi
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3954 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3955 if test $ac_compiler_gnu = yes; then
3956   GCC=yes
3957 else
3958   GCC=
3959 fi
3960 ac_test_CFLAGS=${CFLAGS+set}
3961 ac_save_CFLAGS=$CFLAGS
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3963 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3964 if ${ac_cv_prog_cc_g+:} false; then :
3965   $as_echo_n "(cached) " >&6
3966 else
3967   ac_save_c_werror_flag=$ac_c_werror_flag
3968    ac_c_werror_flag=yes
3969    ac_cv_prog_cc_g=no
3970    CFLAGS="-g"
3971    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h.  */
3973
3974 int
3975 main ()
3976 {
3977
3978   ;
3979   return 0;
3980 }
3981 _ACEOF
3982 if ac_fn_c_try_compile "$LINENO"; then :
3983   ac_cv_prog_cc_g=yes
3984 else
3985   CFLAGS=""
3986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h.  */
3988
3989 int
3990 main ()
3991 {
3992
3993   ;
3994   return 0;
3995 }
3996 _ACEOF
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998
3999 else
4000   ac_c_werror_flag=$ac_save_c_werror_flag
4001          CFLAGS="-g"
4002          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h.  */
4004
4005 int
4006 main ()
4007 {
4008
4009   ;
4010   return 0;
4011 }
4012 _ACEOF
4013 if ac_fn_c_try_compile "$LINENO"; then :
4014   ac_cv_prog_cc_g=yes
4015 fi
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 fi
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 fi
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021    ac_c_werror_flag=$ac_save_c_werror_flag
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4024 $as_echo "$ac_cv_prog_cc_g" >&6; }
4025 if test "$ac_test_CFLAGS" = set; then
4026   CFLAGS=$ac_save_CFLAGS
4027 elif test $ac_cv_prog_cc_g = yes; then
4028   if test "$GCC" = yes; then
4029     CFLAGS="-g -O2"
4030   else
4031     CFLAGS="-g"
4032   fi
4033 else
4034   if test "$GCC" = yes; then
4035     CFLAGS="-O2"
4036   else
4037     CFLAGS=
4038   fi
4039 fi
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4041 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4042 if ${ac_cv_prog_cc_c89+:} false; then :
4043   $as_echo_n "(cached) " >&6
4044 else
4045   ac_cv_prog_cc_c89=no
4046 ac_save_CC=$CC
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h.  */
4049 #include <stdarg.h>
4050 #include <stdio.h>
4051 #include <sys/types.h>
4052 #include <sys/stat.h>
4053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4054 struct buf { int x; };
4055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4056 static char *e (p, i)
4057      char **p;
4058      int i;
4059 {
4060   return p[i];
4061 }
4062 static char *f (char * (*g) (char **, int), char **p, ...)
4063 {
4064   char *s;
4065   va_list v;
4066   va_start (v,p);
4067   s = g (p, va_arg (v,int));
4068   va_end (v);
4069   return s;
4070 }
4071
4072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4073    function prototypes and stuff, but not '\xHH' hex character constants.
4074    These don't provoke an error unfortunately, instead are silently treated
4075    as 'x'.  The following induces an error, until -std is added to get
4076    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4077    array size at least.  It's necessary to write '\x00'==0 to get something
4078    that's true only with -std.  */
4079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4080
4081 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4082    inside strings and character constants.  */
4083 #define FOO(x) 'x'
4084 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4085
4086 int test (int i, double x);
4087 struct s1 {int (*f) (int a);};
4088 struct s2 {int (*f) (double a);};
4089 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4090 int argc;
4091 char **argv;
4092 int
4093 main ()
4094 {
4095 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4096   ;
4097   return 0;
4098 }
4099 _ACEOF
4100 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4101         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4102 do
4103   CC="$ac_save_CC $ac_arg"
4104   if ac_fn_c_try_compile "$LINENO"; then :
4105   ac_cv_prog_cc_c89=$ac_arg
4106 fi
4107 rm -f core conftest.err conftest.$ac_objext
4108   test "x$ac_cv_prog_cc_c89" != "xno" && break
4109 done
4110 rm -f conftest.$ac_ext
4111 CC=$ac_save_CC
4112
4113 fi
4114 # AC_CACHE_VAL
4115 case "x$ac_cv_prog_cc_c89" in
4116   x)
4117     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4118 $as_echo "none needed" >&6; } ;;
4119   xno)
4120     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4121 $as_echo "unsupported" >&6; } ;;
4122   *)
4123     CC="$CC $ac_cv_prog_cc_c89"
4124     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4125 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4126 esac
4127 if test "x$ac_cv_prog_cc_c89" != xno; then :
4128
4129 fi
4130
4131 ac_ext=c
4132 ac_cpp='$CPP $CPPFLAGS'
4133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136 DEPDIR="${am__leading_dot}deps"
4137
4138 ac_config_commands="$ac_config_commands depfiles"
4139
4140
4141 am_make=${MAKE-make}
4142 cat > confinc << 'END'
4143 am__doit:
4144         @echo this is the am__doit target
4145 .PHONY: am__doit
4146 END
4147 # If we don't find an include directive, just comment out the code.
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4149 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4150 am__include="#"
4151 am__quote=
4152 _am_result=none
4153 # First try GNU make style include.
4154 echo "include confinc" > confmf
4155 # Ignore all kinds of additional output from `make'.
4156 case `$am_make -s -f confmf 2> /dev/null` in #(
4157 *the\ am__doit\ target*)
4158   am__include=include
4159   am__quote=
4160   _am_result=GNU
4161   ;;
4162 esac
4163 # Now try BSD make style include.
4164 if test "$am__include" = "#"; then
4165    echo '.include "confinc"' > confmf
4166    case `$am_make -s -f confmf 2> /dev/null` in #(
4167    *the\ am__doit\ target*)
4168      am__include=.include
4169      am__quote="\""
4170      _am_result=BSD
4171      ;;
4172    esac
4173 fi
4174
4175
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4177 $as_echo "$_am_result" >&6; }
4178 rm -f confinc confmf
4179
4180 # Check whether --enable-dependency-tracking was given.
4181 if test "${enable_dependency_tracking+set}" = set; then :
4182   enableval=$enable_dependency_tracking;
4183 fi
4184
4185 if test "x$enable_dependency_tracking" != xno; then
4186   am_depcomp="$ac_aux_dir/depcomp"
4187   AMDEPBACKSLASH='\'
4188 fi
4189  if test "x$enable_dependency_tracking" != xno; then
4190   AMDEP_TRUE=
4191   AMDEP_FALSE='#'
4192 else
4193   AMDEP_TRUE='#'
4194   AMDEP_FALSE=
4195 fi
4196
4197
4198
4199 depcc="$CC"   am_compiler_list=
4200
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4202 $as_echo_n "checking dependency style of $depcc... " >&6; }
4203 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4204   $as_echo_n "(cached) " >&6
4205 else
4206   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4207   # We make a subdir and do the tests there.  Otherwise we can end up
4208   # making bogus files that we don't know about and never remove.  For
4209   # instance it was reported that on HP-UX the gcc test will end up
4210   # making a dummy file named `D' -- because `-MD' means `put the output
4211   # in D'.
4212   mkdir conftest.dir
4213   # Copy depcomp to subdir because otherwise we won't find it if we're
4214   # using a relative directory.
4215   cp "$am_depcomp" conftest.dir
4216   cd conftest.dir
4217   # We will build objects and dependencies in a subdirectory because
4218   # it helps to detect inapplicable dependency modes.  For instance
4219   # both Tru64's cc and ICC support -MD to output dependencies as a
4220   # side effect of compilation, but ICC will put the dependencies in
4221   # the current directory while Tru64 will put them in the object
4222   # directory.
4223   mkdir sub
4224
4225   am_cv_CC_dependencies_compiler_type=none
4226   if test "$am_compiler_list" = ""; then
4227      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4228   fi
4229   am__universal=false
4230   case " $depcc " in #(
4231      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4232      esac
4233
4234   for depmode in $am_compiler_list; do
4235     # Setup a source with many dependencies, because some compilers
4236     # like to wrap large dependency lists on column 80 (with \), and
4237     # we should not choose a depcomp mode which is confused by this.
4238     #
4239     # We need to recreate these files for each test, as the compiler may
4240     # overwrite some of them when testing with obscure command lines.
4241     # This happens at least with the AIX C compiler.
4242     : > sub/conftest.c
4243     for i in 1 2 3 4 5 6; do
4244       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4245       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4246       # Solaris 8's {/usr,}/bin/sh.
4247       touch sub/conftst$i.h
4248     done
4249     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4250
4251     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4252     # mode.  It turns out that the SunPro C++ compiler does not properly
4253     # handle `-M -o', and we need to detect this.  Also, some Intel
4254     # versions had trouble with output in subdirs
4255     am__obj=sub/conftest.${OBJEXT-o}
4256     am__minus_obj="-o $am__obj"
4257     case $depmode in
4258     gcc)
4259       # This depmode causes a compiler race in universal mode.
4260       test "$am__universal" = false || continue
4261       ;;
4262     nosideeffect)
4263       # after this tag, mechanisms are not by side-effect, so they'll
4264       # only be used when explicitly requested
4265       if test "x$enable_dependency_tracking" = xyes; then
4266         continue
4267       else
4268         break
4269       fi
4270       ;;
4271     msvisualcpp | msvcmsys)
4272       # This compiler won't grok `-c -o', but also, the minuso test has
4273       # not run yet.  These depmodes are late enough in the game, and
4274       # so weak that their functioning should not be impacted.
4275       am__obj=conftest.${OBJEXT-o}
4276       am__minus_obj=
4277       ;;
4278     none) break ;;
4279     esac
4280     if depmode=$depmode \
4281        source=sub/conftest.c object=$am__obj \
4282        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4283        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4284          >/dev/null 2>conftest.err &&
4285        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4286        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4287        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4288        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4289       # icc doesn't choke on unknown options, it will just issue warnings
4290       # or remarks (even with -Werror).  So we grep stderr for any message
4291       # that says an option was ignored or not supported.
4292       # When given -MP, icc 7.0 and 7.1 complain thusly:
4293       #   icc: Command line warning: ignoring option '-M'; no argument required
4294       # The diagnosis changed in icc 8.0:
4295       #   icc: Command line remark: option '-MP' not supported
4296       if (grep 'ignoring option' conftest.err ||
4297           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4298         am_cv_CC_dependencies_compiler_type=$depmode
4299         break
4300       fi
4301     fi
4302   done
4303
4304   cd ..
4305   rm -rf conftest.dir
4306 else
4307   am_cv_CC_dependencies_compiler_type=none
4308 fi
4309
4310 fi
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4312 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4313 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4314
4315  if
4316   test "x$enable_dependency_tracking" != xno \
4317   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4318   am__fastdepCC_TRUE=
4319   am__fastdepCC_FALSE='#'
4320 else
4321   am__fastdepCC_TRUE='#'
4322   am__fastdepCC_FALSE=
4323 fi
4324
4325
4326    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4328 if ${ac_cv_prog_cc_c99+:} false; then :
4329   $as_echo_n "(cached) " >&6
4330 else
4331   ac_cv_prog_cc_c99=no
4332 ac_save_CC=$CC
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h.  */
4335 #include <stdarg.h>
4336 #include <stdbool.h>
4337 #include <stdlib.h>
4338 #include <wchar.h>
4339 #include <stdio.h>
4340
4341 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4342 #define debug(...) fprintf (stderr, __VA_ARGS__)
4343 #define showlist(...) puts (#__VA_ARGS__)
4344 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4345 static void
4346 test_varargs_macros (void)
4347 {
4348   int x = 1234;
4349   int y = 5678;
4350   debug ("Flag");
4351   debug ("X = %d\n", x);
4352   showlist (The first, second, and third items.);
4353   report (x>y, "x is %d but y is %d", x, y);
4354 }
4355
4356 // Check long long types.
4357 #define BIG64 18446744073709551615ull
4358 #define BIG32 4294967295ul
4359 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4360 #if !BIG_OK
4361   your preprocessor is broken;
4362 #endif
4363 #if BIG_OK
4364 #else
4365   your preprocessor is broken;
4366 #endif
4367 static long long int bignum = -9223372036854775807LL;
4368 static unsigned long long int ubignum = BIG64;
4369
4370 struct incomplete_array
4371 {
4372   int datasize;
4373   double data[];
4374 };
4375
4376 struct named_init {
4377   int number;
4378   const wchar_t *name;
4379   double average;
4380 };
4381
4382 typedef const char *ccp;
4383
4384 static inline int
4385 test_restrict (ccp restrict text)
4386 {
4387   // See if C++-style comments work.
4388   // Iterate through items via the restricted pointer.
4389   // Also check for declarations in for loops.
4390   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4391     continue;
4392   return 0;
4393 }
4394
4395 // Check varargs and va_copy.
4396 static void
4397 test_varargs (const char *format, ...)
4398 {
4399   va_list args;
4400   va_start (args, format);
4401   va_list args_copy;
4402   va_copy (args_copy, args);
4403
4404   const char *str;
4405   int number;
4406   float fnumber;
4407
4408   while (*format)
4409     {
4410       switch (*format++)
4411         {
4412         case 's': // string
4413           str = va_arg (args_copy, const char *);
4414           break;
4415         case 'd': // int
4416           number = va_arg (args_copy, int);
4417           break;
4418         case 'f': // float
4419           fnumber = va_arg (args_copy, double);
4420           break;
4421         default:
4422           break;
4423         }
4424     }
4425   va_end (args_copy);
4426   va_end (args);
4427 }
4428
4429 int
4430 main ()
4431 {
4432
4433   // Check bool.
4434   _Bool success = false;
4435
4436   // Check restrict.
4437   if (test_restrict ("String literal") == 0)
4438     success = true;
4439   char *restrict newvar = "Another string";
4440
4441   // Check varargs.
4442   test_varargs ("s, d' f .", "string", 65, 34.234);
4443   test_varargs_macros ();
4444
4445   // Check flexible array members.
4446   struct incomplete_array *ia =
4447     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4448   ia->datasize = 10;
4449   for (int i = 0; i < ia->datasize; ++i)
4450     ia->data[i] = i * 1.234;
4451
4452   // Check named initializers.
4453   struct named_init ni = {
4454     .number = 34,
4455     .name = L"Test wide string",
4456     .average = 543.34343,
4457   };
4458
4459   ni.number = 58;
4460
4461   int dynamic_array[ni.number];
4462   dynamic_array[ni.number - 1] = 543;
4463
4464   // work around unused variable warnings
4465   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4466           || dynamic_array[ni.number - 1] != 543);
4467
4468   ;
4469   return 0;
4470 }
4471 _ACEOF
4472 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4473 do
4474   CC="$ac_save_CC $ac_arg"
4475   if ac_fn_c_try_compile "$LINENO"; then :
4476   ac_cv_prog_cc_c99=$ac_arg
4477 fi
4478 rm -f core conftest.err conftest.$ac_objext
4479   test "x$ac_cv_prog_cc_c99" != "xno" && break
4480 done
4481 rm -f conftest.$ac_ext
4482 CC=$ac_save_CC
4483
4484 fi
4485 # AC_CACHE_VAL
4486 case "x$ac_cv_prog_cc_c99" in
4487   x)
4488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4489 $as_echo "none needed" >&6; } ;;
4490   xno)
4491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4492 $as_echo "unsupported" >&6; } ;;
4493   *)
4494     CC="$CC $ac_cv_prog_cc_c99"
4495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4496 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4497 esac
4498 if test "x$ac_cv_prog_cc_c99" != xno; then :
4499
4500 fi
4501
4502
4503 if test "x$CC" != xcc; then
4504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4505 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4506 else
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4508 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4509 fi
4510 set dummy $CC; ac_cc=`$as_echo "$2" |
4511                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4512 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4513   $as_echo_n "(cached) " >&6
4514 else
4515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h.  */
4517
4518 int
4519 main ()
4520 {
4521
4522   ;
4523   return 0;
4524 }
4525 _ACEOF
4526 # Make sure it works both with $CC and with simple cc.
4527 # We do the test twice because some compilers refuse to overwrite an
4528 # existing .o file with -o, though they will create one.
4529 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4530 rm -f conftest2.*
4531 if { { case "(($ac_try" in
4532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533   *) ac_try_echo=$ac_try;;
4534 esac
4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536 $as_echo "$ac_try_echo"; } >&5
4537   (eval "$ac_try") 2>&5
4538   ac_status=$?
4539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540   test $ac_status = 0; } &&
4541    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543   *) ac_try_echo=$ac_try;;
4544 esac
4545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4546 $as_echo "$ac_try_echo"; } >&5
4547   (eval "$ac_try") 2>&5
4548   ac_status=$?
4549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550   test $ac_status = 0; };
4551 then
4552   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4553   if test "x$CC" != xcc; then
4554     # Test first that cc exists at all.
4555     if { ac_try='cc -c conftest.$ac_ext >&5'
4556   { { case "(($ac_try" in
4557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4558   *) ac_try_echo=$ac_try;;
4559 esac
4560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4561 $as_echo "$ac_try_echo"; } >&5
4562   (eval "$ac_try") 2>&5
4563   ac_status=$?
4564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4565   test $ac_status = 0; }; }; then
4566       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4567       rm -f conftest2.*
4568       if { { case "(($ac_try" in
4569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570   *) ac_try_echo=$ac_try;;
4571 esac
4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573 $as_echo "$ac_try_echo"; } >&5
4574   (eval "$ac_try") 2>&5
4575   ac_status=$?
4576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577   test $ac_status = 0; } &&
4578          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580   *) ac_try_echo=$ac_try;;
4581 esac
4582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4583 $as_echo "$ac_try_echo"; } >&5
4584   (eval "$ac_try") 2>&5
4585   ac_status=$?
4586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587   test $ac_status = 0; };
4588       then
4589         # cc works too.
4590         :
4591       else
4592         # cc exists but doesn't like -o.
4593         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4594       fi
4595     fi
4596   fi
4597 else
4598   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4599 fi
4600 rm -f core conftest*
4601
4602 fi
4603 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4605 $as_echo "yes" >&6; }
4606 else
4607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4609
4610 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4611
4612 fi
4613
4614 # FIXME: we rely on the cache variable name because
4615 # there is no other way.
4616 set dummy $CC
4617 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4618 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4619 if test "$am_t" != yes; then
4620    # Losing compiler, so override with the script.
4621    # FIXME: It is wrong to rewrite CC.
4622    # But if we don't then we get into trouble of one sort or another.
4623    # A longer-term fix would be to have automake use am__CC in this case,
4624    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4625    CC="$am_aux_dir/compile $CC"
4626 fi
4627
4628
4629
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4636 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4637 # On Suns, sometimes $CPP names a directory.
4638 if test -n "$CPP" && test -d "$CPP"; then
4639   CPP=
4640 fi
4641 if test -z "$CPP"; then
4642   if ${ac_cv_prog_CPP+:} false; then :
4643   $as_echo_n "(cached) " >&6
4644 else
4645       # Double quotes because CPP needs to be expanded
4646     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4647     do
4648       ac_preproc_ok=false
4649 for ac_c_preproc_warn_flag in '' yes
4650 do
4651   # Use a header file that comes with gcc, so configuring glibc
4652   # with a fresh cross-compiler works.
4653   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4654   # <limits.h> exists even on freestanding compilers.
4655   # On the NeXT, cc -E runs the code through the compiler's parser,
4656   # not just through cpp. "Syntax error" is here to catch this case.
4657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h.  */
4659 #ifdef __STDC__
4660 # include <limits.h>
4661 #else
4662 # include <assert.h>
4663 #endif
4664                      Syntax error
4665 _ACEOF
4666 if ac_fn_c_try_cpp "$LINENO"; then :
4667
4668 else
4669   # Broken: fails on valid input.
4670 continue
4671 fi
4672 rm -f conftest.err conftest.i conftest.$ac_ext
4673
4674   # OK, works on sane cases.  Now check whether nonexistent headers
4675   # can be detected and how.
4676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h.  */
4678 #include <ac_nonexistent.h>
4679 _ACEOF
4680 if ac_fn_c_try_cpp "$LINENO"; then :
4681   # Broken: success on invalid input.
4682 continue
4683 else
4684   # Passes both tests.
4685 ac_preproc_ok=:
4686 break
4687 fi
4688 rm -f conftest.err conftest.i conftest.$ac_ext
4689
4690 done
4691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4692 rm -f conftest.i conftest.err conftest.$ac_ext
4693 if $ac_preproc_ok; then :
4694   break
4695 fi
4696
4697     done
4698     ac_cv_prog_CPP=$CPP
4699
4700 fi
4701   CPP=$ac_cv_prog_CPP
4702 else
4703   ac_cv_prog_CPP=$CPP
4704 fi
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4706 $as_echo "$CPP" >&6; }
4707 ac_preproc_ok=false
4708 for ac_c_preproc_warn_flag in '' yes
4709 do
4710   # Use a header file that comes with gcc, so configuring glibc
4711   # with a fresh cross-compiler works.
4712   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4713   # <limits.h> exists even on freestanding compilers.
4714   # On the NeXT, cc -E runs the code through the compiler's parser,
4715   # not just through cpp. "Syntax error" is here to catch this case.
4716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h.  */
4718 #ifdef __STDC__
4719 # include <limits.h>
4720 #else
4721 # include <assert.h>
4722 #endif
4723                      Syntax error
4724 _ACEOF
4725 if ac_fn_c_try_cpp "$LINENO"; then :
4726
4727 else
4728   # Broken: fails on valid input.
4729 continue
4730 fi
4731 rm -f conftest.err conftest.i conftest.$ac_ext
4732
4733   # OK, works on sane cases.  Now check whether nonexistent headers
4734   # can be detected and how.
4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h.  */
4737 #include <ac_nonexistent.h>
4738 _ACEOF
4739 if ac_fn_c_try_cpp "$LINENO"; then :
4740   # Broken: success on invalid input.
4741 continue
4742 else
4743   # Passes both tests.
4744 ac_preproc_ok=:
4745 break
4746 fi
4747 rm -f conftest.err conftest.i conftest.$ac_ext
4748
4749 done
4750 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4751 rm -f conftest.i conftest.err conftest.$ac_ext
4752 if $ac_preproc_ok; then :
4753
4754 else
4755   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4757 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4758 See \`config.log' for more details" "$LINENO" 5; }
4759 fi
4760
4761 ac_ext=c
4762 ac_cpp='$CPP $CPPFLAGS'
4763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4766
4767
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4769 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4770 if ${ac_cv_path_GREP+:} false; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   if test -z "$GREP"; then
4774   ac_path_GREP_found=false
4775   # Loop through the user's path and test for each of PROGNAME-LIST
4776   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4778 do
4779   IFS=$as_save_IFS
4780   test -z "$as_dir" && as_dir=.
4781     for ac_prog in grep ggrep; do
4782     for ac_exec_ext in '' $ac_executable_extensions; do
4783       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4784       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4785 # Check for GNU ac_path_GREP and select it if it is found.
4786   # Check for GNU $ac_path_GREP
4787 case `"$ac_path_GREP" --version 2>&1` in
4788 *GNU*)
4789   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4790 *)
4791   ac_count=0
4792   $as_echo_n 0123456789 >"conftest.in"
4793   while :
4794   do
4795     cat "conftest.in" "conftest.in" >"conftest.tmp"
4796     mv "conftest.tmp" "conftest.in"
4797     cp "conftest.in" "conftest.nl"
4798     $as_echo 'GREP' >> "conftest.nl"
4799     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4800     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4801     as_fn_arith $ac_count + 1 && ac_count=$as_val
4802     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4803       # Best one so far, save it but keep looking for a better one
4804       ac_cv_path_GREP="$ac_path_GREP"
4805       ac_path_GREP_max=$ac_count
4806     fi
4807     # 10*(2^10) chars as input seems more than enough
4808     test $ac_count -gt 10 && break
4809   done
4810   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4811 esac
4812
4813       $ac_path_GREP_found && break 3
4814     done
4815   done
4816   done
4817 IFS=$as_save_IFS
4818   if test -z "$ac_cv_path_GREP"; then
4819     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4820   fi
4821 else
4822   ac_cv_path_GREP=$GREP
4823 fi
4824
4825 fi
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4827 $as_echo "$ac_cv_path_GREP" >&6; }
4828  GREP="$ac_cv_path_GREP"
4829
4830
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4832 $as_echo_n "checking for egrep... " >&6; }
4833 if ${ac_cv_path_EGREP+:} false; then :
4834   $as_echo_n "(cached) " >&6
4835 else
4836   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4837    then ac_cv_path_EGREP="$GREP -E"
4838    else
4839      if test -z "$EGREP"; then
4840   ac_path_EGREP_found=false
4841   # Loop through the user's path and test for each of PROGNAME-LIST
4842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844 do
4845   IFS=$as_save_IFS
4846   test -z "$as_dir" && as_dir=.
4847     for ac_prog in egrep; do
4848     for ac_exec_ext in '' $ac_executable_extensions; do
4849       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4850       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4851 # Check for GNU ac_path_EGREP and select it if it is found.
4852   # Check for GNU $ac_path_EGREP
4853 case `"$ac_path_EGREP" --version 2>&1` in
4854 *GNU*)
4855   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4856 *)
4857   ac_count=0
4858   $as_echo_n 0123456789 >"conftest.in"
4859   while :
4860   do
4861     cat "conftest.in" "conftest.in" >"conftest.tmp"
4862     mv "conftest.tmp" "conftest.in"
4863     cp "conftest.in" "conftest.nl"
4864     $as_echo 'EGREP' >> "conftest.nl"
4865     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867     as_fn_arith $ac_count + 1 && ac_count=$as_val
4868     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4869       # Best one so far, save it but keep looking for a better one
4870       ac_cv_path_EGREP="$ac_path_EGREP"
4871       ac_path_EGREP_max=$ac_count
4872     fi
4873     # 10*(2^10) chars as input seems more than enough
4874     test $ac_count -gt 10 && break
4875   done
4876   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4877 esac
4878
4879       $ac_path_EGREP_found && break 3
4880     done
4881   done
4882   done
4883 IFS=$as_save_IFS
4884   if test -z "$ac_cv_path_EGREP"; then
4885     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886   fi
4887 else
4888   ac_cv_path_EGREP=$EGREP
4889 fi
4890
4891    fi
4892 fi
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4894 $as_echo "$ac_cv_path_EGREP" >&6; }
4895  EGREP="$ac_cv_path_EGREP"
4896
4897
4898 if test $ac_cv_c_compiler_gnu = yes; then
4899     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4900 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4901 if ${ac_cv_prog_gcc_traditional+:} false; then :
4902   $as_echo_n "(cached) " >&6
4903 else
4904     ac_pattern="Autoconf.*'x'"
4905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h.  */
4907 #include <sgtty.h>
4908 Autoconf TIOCGETP
4909 _ACEOF
4910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4911   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4912   ac_cv_prog_gcc_traditional=yes
4913 else
4914   ac_cv_prog_gcc_traditional=no
4915 fi
4916 rm -f conftest*
4917
4918
4919   if test $ac_cv_prog_gcc_traditional = no; then
4920     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h.  */
4922 #include <termio.h>
4923 Autoconf TCGETA
4924 _ACEOF
4925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
4927   ac_cv_prog_gcc_traditional=yes
4928 fi
4929 rm -f conftest*
4930
4931   fi
4932 fi
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
4934 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4935   if test $ac_cv_prog_gcc_traditional = yes; then
4936     CC="$CC -traditional"
4937   fi
4938 fi
4939
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4941 $as_echo_n "checking for ANSI C header files... " >&6; }
4942 if ${ac_cv_header_stdc+:} false; then :
4943   $as_echo_n "(cached) " >&6
4944 else
4945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h.  */
4947 #include <stdlib.h>
4948 #include <stdarg.h>
4949 #include <string.h>
4950 #include <float.h>
4951
4952 int
4953 main ()
4954 {
4955
4956   ;
4957   return 0;
4958 }
4959 _ACEOF
4960 if ac_fn_c_try_compile "$LINENO"; then :
4961   ac_cv_header_stdc=yes
4962 else
4963   ac_cv_header_stdc=no
4964 fi
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966
4967 if test $ac_cv_header_stdc = yes; then
4968   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h.  */
4971 #include <string.h>
4972
4973 _ACEOF
4974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4975   $EGREP "memchr" >/dev/null 2>&1; then :
4976
4977 else
4978   ac_cv_header_stdc=no
4979 fi
4980 rm -f conftest*
4981
4982 fi
4983
4984 if test $ac_cv_header_stdc = yes; then
4985   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h.  */
4988 #include <stdlib.h>
4989
4990 _ACEOF
4991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4992   $EGREP "free" >/dev/null 2>&1; then :
4993
4994 else
4995   ac_cv_header_stdc=no
4996 fi
4997 rm -f conftest*
4998
4999 fi
5000
5001 if test $ac_cv_header_stdc = yes; then
5002   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5003   if test "$cross_compiling" = yes; then :
5004   :
5005 else
5006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h.  */
5008 #include <ctype.h>
5009 #include <stdlib.h>
5010 #if ((' ' & 0x0FF) == 0x020)
5011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5013 #else
5014 # define ISLOWER(c) \
5015                    (('a' <= (c) && (c) <= 'i') \
5016                      || ('j' <= (c) && (c) <= 'r') \
5017                      || ('s' <= (c) && (c) <= 'z'))
5018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5019 #endif
5020
5021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5022 int
5023 main ()
5024 {
5025   int i;
5026   for (i = 0; i < 256; i++)
5027     if (XOR (islower (i), ISLOWER (i))
5028         || toupper (i) != TOUPPER (i))
5029       return 2;
5030   return 0;
5031 }
5032 _ACEOF
5033 if ac_fn_c_try_run "$LINENO"; then :
5034
5035 else
5036   ac_cv_header_stdc=no
5037 fi
5038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5039   conftest.$ac_objext conftest.beam conftest.$ac_ext
5040 fi
5041
5042 fi
5043 fi
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5045 $as_echo "$ac_cv_header_stdc" >&6; }
5046 if test $ac_cv_header_stdc = yes; then
5047
5048 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5049
5050 fi
5051
5052 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5053 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5054                   inttypes.h stdint.h unistd.h
5055 do :
5056   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5057 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5058 "
5059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5060   cat >>confdefs.h <<_ACEOF
5061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5062 _ACEOF
5063
5064 fi
5065
5066 done
5067
5068
5069
5070   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5071 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5072   MINIX=yes
5073 else
5074   MINIX=
5075 fi
5076
5077
5078   if test "$MINIX" = yes; then
5079
5080 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5081
5082
5083 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5084
5085
5086 $as_echo "#define _MINIX 1" >>confdefs.h
5087
5088   fi
5089
5090
5091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5092 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5093 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5094   $as_echo_n "(cached) " >&6
5095 else
5096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h.  */
5098
5099 #         define __EXTENSIONS__ 1
5100           $ac_includes_default
5101 int
5102 main ()
5103 {
5104
5105   ;
5106   return 0;
5107 }
5108 _ACEOF
5109 if ac_fn_c_try_compile "$LINENO"; then :
5110   ac_cv_safe_to_define___extensions__=yes
5111 else
5112   ac_cv_safe_to_define___extensions__=no
5113 fi
5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5115 fi
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5117 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5118   test $ac_cv_safe_to_define___extensions__ = yes &&
5119     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5120
5121   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5122
5123   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5124
5125   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5126
5127   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5128
5129
5130
5131 # Extract the first word of "m4 gm4", so it can be a program name with args.
5132 set dummy m4 gm4; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_path_M4+:} false; then :
5136   $as_echo_n "(cached) " >&6
5137 else
5138   case $M4 in
5139   [\\/]* | ?:[\\/]*)
5140   ac_cv_path_M4="$M4" # Let the user override the test with a path.
5141   ;;
5142   *)
5143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5145 do
5146   IFS=$as_save_IFS
5147   test -z "$as_dir" && as_dir=.
5148     for ac_exec_ext in '' $ac_executable_extensions; do
5149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150     ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
5151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152     break 2
5153   fi
5154 done
5155   done
5156 IFS=$as_save_IFS
5157
5158   test -z "$ac_cv_path_M4" && ac_cv_path_M4="no"
5159   ;;
5160 esac
5161 fi
5162 M4=$ac_cv_path_M4
5163 if test -n "$M4"; then
5164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
5165 $as_echo "$M4" >&6; }
5166 else
5167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 fi
5170
5171
5172 if test "x$M4" = xno ; then
5173    as_fn_error $? "m4 missing" "$LINENO" 5
5174 fi
5175
5176 #dnl Compiler flags
5177 #DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wconversion -Wundef -Wformat -Wlogical-op -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math"
5178
5179 #for flag in $DESIRED_FLAGS ; do
5180 #  CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"])
5181 #done
5182
5183
5184
5185
5186
5187
5188
5189 if test -f $prefix/lib/libltdl.la; then
5190   lt_save_LDFLAGS="$LDFLAGS"
5191   LDFLAGS="-L$prefix/lib $LDFLAGS"
5192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlinit in -lltdl" >&5
5193 $as_echo_n "checking for lt_dlinit in -lltdl... " >&6; }
5194 if ${ac_cv_lib_ltdl_lt_dlinit+:} false; then :
5195   $as_echo_n "(cached) " >&6
5196 else
5197   ac_check_lib_save_LIBS=$LIBS
5198 LIBS="-lltdl  $LIBS"
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h.  */
5201
5202 /* Override any GCC internal prototype to avoid an error.
5203    Use char because int might match the return type of a GCC
5204    builtin and then its argument prototype would still apply.  */
5205 #ifdef __cplusplus
5206 extern "C"
5207 #endif
5208 char lt_dlinit ();
5209 int
5210 main ()
5211 {
5212 return lt_dlinit ();
5213   ;
5214   return 0;
5215 }
5216 _ACEOF
5217 if ac_fn_c_try_link "$LINENO"; then :
5218   ac_cv_lib_ltdl_lt_dlinit=yes
5219 else
5220   ac_cv_lib_ltdl_lt_dlinit=no
5221 fi
5222 rm -f core conftest.err conftest.$ac_objext \
5223     conftest$ac_exeext conftest.$ac_ext
5224 LIBS=$ac_check_lib_save_LIBS
5225 fi
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
5227 $as_echo "$ac_cv_lib_ltdl_lt_dlinit" >&6; }
5228 if test "x$ac_cv_lib_ltdl_lt_dlinit" = xyes; then :
5229   lt_lib_ltdl=yes
5230 fi
5231
5232   LDFLAGS="$lt_save_LDFLAGS"
5233   if test x"${lt_lib_ltdl-no}" = xyes; then
5234     if test x"$enable_ltdl_install" != xyes; then
5235       # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
5236       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not overwriting libltdl at $prefix, force with \`--enable-ltdl-install'" >&5
5237 $as_echo "$as_me: WARNING: not overwriting libltdl at $prefix, force with \`--enable-ltdl-install'" >&2;}
5238       enable_ltdl_install=no
5239     fi
5240   elif test x"$enable_ltdl_install" = xno; then
5241     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libltdl not installed, but installation disabled" >&5
5242 $as_echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
5243   fi
5244 fi
5245
5246 # If configure.ac declared an installable ltdl, and the user didn't override
5247 # with --disable-ltdl-install, we will install the shipped libltdl.
5248 case $enable_ltdl_install in
5249   no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
5250       LIBLTDL="-lltdl"
5251       LTDLDEPS=
5252       LTDLINCL=
5253       ;;
5254   *)  enable_ltdl_install=yes
5255       ac_configure_args="$ac_configure_args --enable-ltdl-install"
5256       LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
5257       LTDLDEPS=$LIBLTDL
5258       LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
5259       ;;
5260 esac
5261
5262
5263
5264
5265
5266 # For backwards non-gettext consistent compatibility...
5267 INCLTDL="$LTDLINCL"
5268
5269
5270 enable_dlopen=yes
5271
5272
5273
5274 # Make sure we can run config.sub.
5275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5276   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5277
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5279 $as_echo_n "checking build system type... " >&6; }
5280 if ${ac_cv_build+:} false; then :
5281   $as_echo_n "(cached) " >&6
5282 else
5283   ac_build_alias=$build_alias
5284 test "x$ac_build_alias" = x &&
5285   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5286 test "x$ac_build_alias" = x &&
5287   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5288 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5289   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5290
5291 fi
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5293 $as_echo "$ac_cv_build" >&6; }
5294 case $ac_cv_build in
5295 *-*-*) ;;
5296 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5297 esac
5298 build=$ac_cv_build
5299 ac_save_IFS=$IFS; IFS='-'
5300 set x $ac_cv_build
5301 shift
5302 build_cpu=$1
5303 build_vendor=$2
5304 shift; shift
5305 # Remember, the first character of IFS is used to create $*,
5306 # except with old shells:
5307 build_os=$*
5308 IFS=$ac_save_IFS
5309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5310
5311
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5313 $as_echo_n "checking host system type... " >&6; }
5314 if ${ac_cv_host+:} false; then :
5315   $as_echo_n "(cached) " >&6
5316 else
5317   if test "x$host_alias" = x; then
5318   ac_cv_host=$ac_cv_build
5319 else
5320   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5321     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5322 fi
5323
5324 fi
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5326 $as_echo "$ac_cv_host" >&6; }
5327 case $ac_cv_host in
5328 *-*-*) ;;
5329 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5330 esac
5331 host=$ac_cv_host
5332 ac_save_IFS=$IFS; IFS='-'
5333 set x $ac_cv_host
5334 shift
5335 host_cpu=$1
5336 host_vendor=$2
5337 shift; shift
5338 # Remember, the first character of IFS is used to create $*,
5339 # except with old shells:
5340 host_os=$*
5341 IFS=$ac_save_IFS
5342 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5343
5344
5345 enable_win32_dll=yes
5346
5347 case $host in
5348 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5349   if test -n "$ac_tool_prefix"; then
5350   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}as; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_AS+:} false; then :
5355   $as_echo_n "(cached) " >&6
5356 else
5357   if test -n "$AS"; then
5358   ac_cv_prog_AS="$AS" # Let the user override the test.
5359 else
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH
5362 do
5363   IFS=$as_save_IFS
5364   test -z "$as_dir" && as_dir=.
5365     for ac_exec_ext in '' $ac_executable_extensions; do
5366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367     ac_cv_prog_AS="${ac_tool_prefix}as"
5368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369     break 2
5370   fi
5371 done
5372   done
5373 IFS=$as_save_IFS
5374
5375 fi
5376 fi
5377 AS=$ac_cv_prog_AS
5378 if test -n "$AS"; then
5379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5380 $as_echo "$AS" >&6; }
5381 else
5382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5384 fi
5385
5386
5387 fi
5388 if test -z "$ac_cv_prog_AS"; then
5389   ac_ct_AS=$AS
5390   # Extract the first word of "as", so it can be a program name with args.
5391 set dummy as; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5395   $as_echo_n "(cached) " >&6
5396 else
5397   if test -n "$ac_ct_AS"; then
5398   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5402 do
5403   IFS=$as_save_IFS
5404   test -z "$as_dir" && as_dir=.
5405     for ac_exec_ext in '' $ac_executable_extensions; do
5406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407     ac_cv_prog_ac_ct_AS="as"
5408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409     break 2
5410   fi
5411 done
5412   done
5413 IFS=$as_save_IFS
5414
5415 fi
5416 fi
5417 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5418 if test -n "$ac_ct_AS"; then
5419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5420 $as_echo "$ac_ct_AS" >&6; }
5421 else
5422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5424 fi
5425
5426   if test "x$ac_ct_AS" = x; then
5427     AS="false"
5428   else
5429     case $cross_compiling:$ac_tool_warned in
5430 yes:)
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435     AS=$ac_ct_AS
5436   fi
5437 else
5438   AS="$ac_cv_prog_AS"
5439 fi
5440
5441   if test -n "$ac_tool_prefix"; then
5442   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5443 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_DLLTOOL+:} false; then :
5447   $as_echo_n "(cached) " >&6
5448 else
5449   if test -n "$DLLTOOL"; then
5450   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5451 else
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in $PATH
5454 do
5455   IFS=$as_save_IFS
5456   test -z "$as_dir" && as_dir=.
5457     for ac_exec_ext in '' $ac_executable_extensions; do
5458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5459     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461     break 2
5462   fi
5463 done
5464   done
5465 IFS=$as_save_IFS
5466
5467 fi
5468 fi
5469 DLLTOOL=$ac_cv_prog_DLLTOOL
5470 if test -n "$DLLTOOL"; then
5471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5472 $as_echo "$DLLTOOL" >&6; }
5473 else
5474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5476 fi
5477
5478
5479 fi
5480 if test -z "$ac_cv_prog_DLLTOOL"; then
5481   ac_ct_DLLTOOL=$DLLTOOL
5482   # Extract the first word of "dlltool", so it can be a program name with args.
5483 set dummy dlltool; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5487   $as_echo_n "(cached) " >&6
5488 else
5489   if test -n "$ac_ct_DLLTOOL"; then
5490   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5494 do
5495   IFS=$as_save_IFS
5496   test -z "$as_dir" && as_dir=.
5497     for ac_exec_ext in '' $ac_executable_extensions; do
5498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5499     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501     break 2
5502   fi
5503 done
5504   done
5505 IFS=$as_save_IFS
5506
5507 fi
5508 fi
5509 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5510 if test -n "$ac_ct_DLLTOOL"; then
5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5512 $as_echo "$ac_ct_DLLTOOL" >&6; }
5513 else
5514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5516 fi
5517
5518   if test "x$ac_ct_DLLTOOL" = x; then
5519     DLLTOOL="false"
5520   else
5521     case $cross_compiling:$ac_tool_warned in
5522 yes:)
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned=yes ;;
5526 esac
5527     DLLTOOL=$ac_ct_DLLTOOL
5528   fi
5529 else
5530   DLLTOOL="$ac_cv_prog_DLLTOOL"
5531 fi
5532
5533   if test -n "$ac_tool_prefix"; then
5534   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5535 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_OBJDUMP+:} false; then :
5539   $as_echo_n "(cached) " >&6
5540 else
5541   if test -n "$OBJDUMP"; then
5542   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5543 else
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 for as_dir in $PATH
5546 do
5547   IFS=$as_save_IFS
5548   test -z "$as_dir" && as_dir=.
5549     for ac_exec_ext in '' $ac_executable_extensions; do
5550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553     break 2
5554   fi
5555 done
5556   done
5557 IFS=$as_save_IFS
5558
5559 fi
5560 fi
5561 OBJDUMP=$ac_cv_prog_OBJDUMP
5562 if test -n "$OBJDUMP"; then
5563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5564 $as_echo "$OBJDUMP" >&6; }
5565 else
5566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5568 fi
5569
5570
5571 fi
5572 if test -z "$ac_cv_prog_OBJDUMP"; then
5573   ac_ct_OBJDUMP=$OBJDUMP
5574   # Extract the first word of "objdump", so it can be a program name with args.
5575 set dummy objdump; ac_word=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5579   $as_echo_n "(cached) " >&6
5580 else
5581   if test -n "$ac_ct_OBJDUMP"; then
5582   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5583 else
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585 for as_dir in $PATH
5586 do
5587   IFS=$as_save_IFS
5588   test -z "$as_dir" && as_dir=.
5589     for ac_exec_ext in '' $ac_executable_extensions; do
5590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5591     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593     break 2
5594   fi
5595 done
5596   done
5597 IFS=$as_save_IFS
5598
5599 fi
5600 fi
5601 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5602 if test -n "$ac_ct_OBJDUMP"; then
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5604 $as_echo "$ac_ct_OBJDUMP" >&6; }
5605 else
5606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5608 fi
5609
5610   if test "x$ac_ct_OBJDUMP" = x; then
5611     OBJDUMP="false"
5612   else
5613     case $cross_compiling:$ac_tool_warned in
5614 yes:)
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5617 ac_tool_warned=yes ;;
5618 esac
5619     OBJDUMP=$ac_ct_OBJDUMP
5620   fi
5621 else
5622   OBJDUMP="$ac_cv_prog_OBJDUMP"
5623 fi
5624
5625   ;;
5626 esac
5627
5628 test -z "$AS" && AS=as
5629
5630
5631
5632
5633
5634 test -z "$DLLTOOL" && DLLTOOL=dlltool
5635
5636
5637
5638
5639
5640 test -z "$OBJDUMP" && OBJDUMP=objdump
5641
5642
5643
5644
5645
5646
5647
5648 case `pwd` in
5649   *\ * | *\     *)
5650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5651 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5652 esac
5653
5654
5655
5656 macro_version='2.4'
5657 macro_revision='1.3293'
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 ltmain="$ac_aux_dir/ltmain.sh"
5672
5673 # Backslashify metacharacters that are still active within
5674 # double-quoted strings.
5675 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5676
5677 # Same as above, but do not quote variable references.
5678 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5679
5680 # Sed substitution to delay expansion of an escaped shell variable in a
5681 # double_quote_subst'ed string.
5682 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5683
5684 # Sed substitution to delay expansion of an escaped single quote.
5685 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5686
5687 # Sed substitution to avoid accidental globbing in evaled expressions
5688 no_glob_subst='s/\*/\\\*/g'
5689
5690 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5691 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5692 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5693
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5695 $as_echo_n "checking how to print strings... " >&6; }
5696 # Test print first, because it will be a builtin if present.
5697 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5698    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5699   ECHO='print -r --'
5700 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5701   ECHO='printf %s\n'
5702 else
5703   # Use this function as a fallback that always works.
5704   func_fallback_echo ()
5705   {
5706     eval 'cat <<_LTECHO_EOF
5707 $1
5708 _LTECHO_EOF'
5709   }
5710   ECHO='func_fallback_echo'
5711 fi
5712
5713 # func_echo_all arg...
5714 # Invoke $ECHO with all args, space-separated.
5715 func_echo_all ()
5716 {
5717     $ECHO ""
5718 }
5719
5720 case "$ECHO" in
5721   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5722 $as_echo "printf" >&6; } ;;
5723   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5724 $as_echo "print -r" >&6; } ;;
5725   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5726 $as_echo "cat" >&6; } ;;
5727 esac
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5743 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5744 if ${ac_cv_path_SED+:} false; then :
5745   $as_echo_n "(cached) " >&6
5746 else
5747             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5748      for ac_i in 1 2 3 4 5 6 7; do
5749        ac_script="$ac_script$as_nl$ac_script"
5750      done
5751      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5752      { ac_script=; unset ac_script;}
5753      if test -z "$SED"; then
5754   ac_path_SED_found=false
5755   # Loop through the user's path and test for each of PROGNAME-LIST
5756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5758 do
5759   IFS=$as_save_IFS
5760   test -z "$as_dir" && as_dir=.
5761     for ac_prog in sed gsed; do
5762     for ac_exec_ext in '' $ac_executable_extensions; do
5763       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5764       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5765 # Check for GNU ac_path_SED and select it if it is found.
5766   # Check for GNU $ac_path_SED
5767 case `"$ac_path_SED" --version 2>&1` in
5768 *GNU*)
5769   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5770 *)
5771   ac_count=0
5772   $as_echo_n 0123456789 >"conftest.in"
5773   while :
5774   do
5775     cat "conftest.in" "conftest.in" >"conftest.tmp"
5776     mv "conftest.tmp" "conftest.in"
5777     cp "conftest.in" "conftest.nl"
5778     $as_echo '' >> "conftest.nl"
5779     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5780     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5781     as_fn_arith $ac_count + 1 && ac_count=$as_val
5782     if test $ac_count -gt ${ac_path_SED_max-0}; then
5783       # Best one so far, save it but keep looking for a better one
5784       ac_cv_path_SED="$ac_path_SED"
5785       ac_path_SED_max=$ac_count
5786     fi
5787     # 10*(2^10) chars as input seems more than enough
5788     test $ac_count -gt 10 && break
5789   done
5790   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5791 esac
5792
5793       $ac_path_SED_found && break 3
5794     done
5795   done
5796   done
5797 IFS=$as_save_IFS
5798   if test -z "$ac_cv_path_SED"; then
5799     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5800   fi
5801 else
5802   ac_cv_path_SED=$SED
5803 fi
5804
5805 fi
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5807 $as_echo "$ac_cv_path_SED" >&6; }
5808  SED="$ac_cv_path_SED"
5809   rm -f conftest.sed
5810
5811 test -z "$SED" && SED=sed
5812 Xsed="$SED -e 1s/^X//"
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5825 $as_echo_n "checking for fgrep... " >&6; }
5826 if ${ac_cv_path_FGREP+:} false; then :
5827   $as_echo_n "(cached) " >&6
5828 else
5829   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5830    then ac_cv_path_FGREP="$GREP -F"
5831    else
5832      if test -z "$FGREP"; then
5833   ac_path_FGREP_found=false
5834   # Loop through the user's path and test for each of PROGNAME-LIST
5835   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5837 do
5838   IFS=$as_save_IFS
5839   test -z "$as_dir" && as_dir=.
5840     for ac_prog in fgrep; do
5841     for ac_exec_ext in '' $ac_executable_extensions; do
5842       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5843       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5844 # Check for GNU ac_path_FGREP and select it if it is found.
5845   # Check for GNU $ac_path_FGREP
5846 case `"$ac_path_FGREP" --version 2>&1` in
5847 *GNU*)
5848   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5849 *)
5850   ac_count=0
5851   $as_echo_n 0123456789 >"conftest.in"
5852   while :
5853   do
5854     cat "conftest.in" "conftest.in" >"conftest.tmp"
5855     mv "conftest.tmp" "conftest.in"
5856     cp "conftest.in" "conftest.nl"
5857     $as_echo 'FGREP' >> "conftest.nl"
5858     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5859     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5860     as_fn_arith $ac_count + 1 && ac_count=$as_val
5861     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5862       # Best one so far, save it but keep looking for a better one
5863       ac_cv_path_FGREP="$ac_path_FGREP"
5864       ac_path_FGREP_max=$ac_count
5865     fi
5866     # 10*(2^10) chars as input seems more than enough
5867     test $ac_count -gt 10 && break
5868   done
5869   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5870 esac
5871
5872       $ac_path_FGREP_found && break 3
5873     done
5874   done
5875   done
5876 IFS=$as_save_IFS
5877   if test -z "$ac_cv_path_FGREP"; then
5878     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5879   fi
5880 else
5881   ac_cv_path_FGREP=$FGREP
5882 fi
5883
5884    fi
5885 fi
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5887 $as_echo "$ac_cv_path_FGREP" >&6; }
5888  FGREP="$ac_cv_path_FGREP"
5889
5890
5891 test -z "$GREP" && GREP=grep
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911 # Check whether --with-gnu-ld was given.
5912 if test "${with_gnu_ld+set}" = set; then :
5913   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5914 else
5915   with_gnu_ld=no
5916 fi
5917
5918 ac_prog=ld
5919 if test "$GCC" = yes; then
5920   # Check if gcc -print-prog-name=ld gives a path.
5921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5922 $as_echo_n "checking for ld used by $CC... " >&6; }
5923   case $host in
5924   *-*-mingw*)
5925     # gcc leaves a trailing carriage return which upsets mingw
5926     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5927   *)
5928     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5929   esac
5930   case $ac_prog in
5931     # Accept absolute paths.
5932     [\\/]* | ?:[\\/]*)
5933       re_direlt='/[^/][^/]*/\.\./'
5934       # Canonicalize the pathname of ld
5935       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5936       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5937         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5938       done
5939       test -z "$LD" && LD="$ac_prog"
5940       ;;
5941   "")
5942     # If it fails, then pretend we aren't using GCC.
5943     ac_prog=ld
5944     ;;
5945   *)
5946     # If it is relative, then search for the first ld in PATH.
5947     with_gnu_ld=unknown
5948     ;;
5949   esac
5950 elif test "$with_gnu_ld" = yes; then
5951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5952 $as_echo_n "checking for GNU ld... " >&6; }
5953 else
5954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5955 $as_echo_n "checking for non-GNU ld... " >&6; }
5956 fi
5957 if ${lt_cv_path_LD+:} false; then :
5958   $as_echo_n "(cached) " >&6
5959 else
5960   if test -z "$LD"; then
5961   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5962   for ac_dir in $PATH; do
5963     IFS="$lt_save_ifs"
5964     test -z "$ac_dir" && ac_dir=.
5965     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5966       lt_cv_path_LD="$ac_dir/$ac_prog"
5967       # Check to see if the program is GNU ld.  I'd rather use --version,
5968       # but apparently some variants of GNU ld only accept -v.
5969       # Break only if it was the GNU/non-GNU ld that we prefer.
5970       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5971       *GNU* | *'with BFD'*)
5972         test "$with_gnu_ld" != no && break
5973         ;;
5974       *)
5975         test "$with_gnu_ld" != yes && break
5976         ;;
5977       esac
5978     fi
5979   done
5980   IFS="$lt_save_ifs"
5981 else
5982   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5983 fi
5984 fi
5985
5986 LD="$lt_cv_path_LD"
5987 if test -n "$LD"; then
5988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5989 $as_echo "$LD" >&6; }
5990 else
5991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5993 fi
5994 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5996 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5997 if ${lt_cv_prog_gnu_ld+:} false; then :
5998   $as_echo_n "(cached) " >&6
5999 else
6000   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6001 case `$LD -v 2>&1 </dev/null` in
6002 *GNU* | *'with BFD'*)
6003   lt_cv_prog_gnu_ld=yes
6004   ;;
6005 *)
6006   lt_cv_prog_gnu_ld=no
6007   ;;
6008 esac
6009 fi
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6011 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6012 with_gnu_ld=$lt_cv_prog_gnu_ld
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6023 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6024 if ${lt_cv_path_NM+:} false; then :
6025   $as_echo_n "(cached) " >&6
6026 else
6027   if test -n "$NM"; then
6028   # Let the user override the test.
6029   lt_cv_path_NM="$NM"
6030 else
6031   lt_nm_to_check="${ac_tool_prefix}nm"
6032   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6033     lt_nm_to_check="$lt_nm_to_check nm"
6034   fi
6035   for lt_tmp_nm in $lt_nm_to_check; do
6036     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6037     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6038       IFS="$lt_save_ifs"
6039       test -z "$ac_dir" && ac_dir=.
6040       tmp_nm="$ac_dir/$lt_tmp_nm"
6041       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6042         # Check to see if the nm accepts a BSD-compat flag.
6043         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6044         #   nm: unknown option "B" ignored
6045         # Tru64's nm complains that /dev/null is an invalid object file
6046         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6047         */dev/null* | *'Invalid file or object type'*)
6048           lt_cv_path_NM="$tmp_nm -B"
6049           break
6050           ;;
6051         *)
6052           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6053           */dev/null*)
6054             lt_cv_path_NM="$tmp_nm -p"
6055             break
6056             ;;
6057           *)
6058             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6059             continue # so that we can try to find one that supports BSD flags
6060             ;;
6061           esac
6062           ;;
6063         esac
6064       fi
6065     done
6066     IFS="$lt_save_ifs"
6067   done
6068   : ${lt_cv_path_NM=no}
6069 fi
6070 fi
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6072 $as_echo "$lt_cv_path_NM" >&6; }
6073 if test "$lt_cv_path_NM" != "no"; then
6074   NM="$lt_cv_path_NM"
6075 else
6076   # Didn't find any BSD compatible name lister, look for dumpbin.
6077   if test -n "$DUMPBIN"; then :
6078     # Let the user override the test.
6079   else
6080     if test -n "$ac_tool_prefix"; then
6081   for ac_prog in dumpbin "link -dump"
6082   do
6083     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_DUMPBIN+:} false; then :
6088   $as_echo_n "(cached) " >&6
6089 else
6090   if test -n "$DUMPBIN"; then
6091   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6092 else
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 for as_dir in $PATH
6095 do
6096   IFS=$as_save_IFS
6097   test -z "$as_dir" && as_dir=.
6098     for ac_exec_ext in '' $ac_executable_extensions; do
6099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102     break 2
6103   fi
6104 done
6105   done
6106 IFS=$as_save_IFS
6107
6108 fi
6109 fi
6110 DUMPBIN=$ac_cv_prog_DUMPBIN
6111 if test -n "$DUMPBIN"; then
6112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6113 $as_echo "$DUMPBIN" >&6; }
6114 else
6115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 fi
6118
6119
6120     test -n "$DUMPBIN" && break
6121   done
6122 fi
6123 if test -z "$DUMPBIN"; then
6124   ac_ct_DUMPBIN=$DUMPBIN
6125   for ac_prog in dumpbin "link -dump"
6126 do
6127   # Extract the first word of "$ac_prog", so it can be a program name with args.
6128 set dummy $ac_prog; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6132   $as_echo_n "(cached) " >&6
6133 else
6134   if test -n "$ac_ct_DUMPBIN"; then
6135   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6139 do
6140   IFS=$as_save_IFS
6141   test -z "$as_dir" && as_dir=.
6142     for ac_exec_ext in '' $ac_executable_extensions; do
6143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146     break 2
6147   fi
6148 done
6149   done
6150 IFS=$as_save_IFS
6151
6152 fi
6153 fi
6154 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6155 if test -n "$ac_ct_DUMPBIN"; then
6156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6157 $as_echo "$ac_ct_DUMPBIN" >&6; }
6158 else
6159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6161 fi
6162
6163
6164   test -n "$ac_ct_DUMPBIN" && break
6165 done
6166
6167   if test "x$ac_ct_DUMPBIN" = x; then
6168     DUMPBIN=":"
6169   else
6170     case $cross_compiling:$ac_tool_warned in
6171 yes:)
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6174 ac_tool_warned=yes ;;
6175 esac
6176     DUMPBIN=$ac_ct_DUMPBIN
6177   fi
6178 fi
6179
6180     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6181     *COFF*)
6182       DUMPBIN="$DUMPBIN -symbols"
6183       ;;
6184     *)
6185       DUMPBIN=:
6186       ;;
6187     esac
6188   fi
6189
6190   if test "$DUMPBIN" != ":"; then
6191     NM="$DUMPBIN"
6192   fi
6193 fi
6194 test -z "$NM" && NM=nm
6195
6196
6197
6198
6199
6200
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6202 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6203 if ${lt_cv_nm_interface+:} false; then :
6204   $as_echo_n "(cached) " >&6
6205 else
6206   lt_cv_nm_interface="BSD nm"
6207   echo "int some_variable = 0;" > conftest.$ac_ext
6208   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6209   (eval "$ac_compile" 2>conftest.err)
6210   cat conftest.err >&5
6211   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6212   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6213   cat conftest.err >&5
6214   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6215   cat conftest.out >&5
6216   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6217     lt_cv_nm_interface="MS dumpbin"
6218   fi
6219   rm -f conftest*
6220 fi
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6222 $as_echo "$lt_cv_nm_interface" >&6; }
6223
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6225 $as_echo_n "checking whether ln -s works... " >&6; }
6226 LN_S=$as_ln_s
6227 if test "$LN_S" = "ln -s"; then
6228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6229 $as_echo "yes" >&6; }
6230 else
6231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6232 $as_echo "no, using $LN_S" >&6; }
6233 fi
6234
6235 # find the maximum length of command line arguments
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6237 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6238 if ${lt_cv_sys_max_cmd_len+:} false; then :
6239   $as_echo_n "(cached) " >&6
6240 else
6241     i=0
6242   teststring="ABCD"
6243
6244   case $build_os in
6245   msdosdjgpp*)
6246     # On DJGPP, this test can blow up pretty badly due to problems in libc
6247     # (any single argument exceeding 2000 bytes causes a buffer overrun
6248     # during glob expansion).  Even if it were fixed, the result of this
6249     # check would be larger than it should be.
6250     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6251     ;;
6252
6253   gnu*)
6254     # Under GNU Hurd, this test is not required because there is
6255     # no limit to the length of command line arguments.
6256     # Libtool will interpret -1 as no limit whatsoever
6257     lt_cv_sys_max_cmd_len=-1;
6258     ;;
6259
6260   cygwin* | mingw* | cegcc*)
6261     # On Win9x/ME, this test blows up -- it succeeds, but takes
6262     # about 5 minutes as the teststring grows exponentially.
6263     # Worse, since 9x/ME are not pre-emptively multitasking,
6264     # you end up with a "frozen" computer, even though with patience
6265     # the test eventually succeeds (with a max line length of 256k).
6266     # Instead, let's just punt: use the minimum linelength reported by
6267     # all of the supported platforms: 8192 (on NT/2K/XP).
6268     lt_cv_sys_max_cmd_len=8192;
6269     ;;
6270
6271   mint*)
6272     # On MiNT this can take a long time and run out of memory.
6273     lt_cv_sys_max_cmd_len=8192;
6274     ;;
6275
6276   amigaos*)
6277     # On AmigaOS with pdksh, this test takes hours, literally.
6278     # So we just punt and use a minimum line length of 8192.
6279     lt_cv_sys_max_cmd_len=8192;
6280     ;;
6281
6282   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6283     # This has been around since 386BSD, at least.  Likely further.
6284     if test -x /sbin/sysctl; then
6285       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6286     elif test -x /usr/sbin/sysctl; then
6287       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6288     else
6289       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6290     fi
6291     # And add a safety zone
6292     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6293     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6294     ;;
6295
6296   interix*)
6297     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6298     lt_cv_sys_max_cmd_len=196608
6299     ;;
6300
6301   osf*)
6302     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6303     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6304     # nice to cause kernel panics so lets avoid the loop below.
6305     # First set a reasonable default.
6306     lt_cv_sys_max_cmd_len=16384
6307     #
6308     if test -x /sbin/sysconfig; then
6309       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6310         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6311       esac
6312     fi
6313     ;;
6314   sco3.2v5*)
6315     lt_cv_sys_max_cmd_len=102400
6316     ;;
6317   sysv5* | sco5v6* | sysv4.2uw2*)
6318     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6319     if test -n "$kargmax"; then
6320       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6321     else
6322       lt_cv_sys_max_cmd_len=32768
6323     fi
6324     ;;
6325   *)
6326     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6327     if test -n "$lt_cv_sys_max_cmd_len"; then
6328       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6329       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6330     else
6331       # Make teststring a little bigger before we do anything with it.
6332       # a 1K string should be a reasonable start.
6333       for i in 1 2 3 4 5 6 7 8 ; do
6334         teststring=$teststring$teststring
6335       done
6336       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6337       # If test is not a shell built-in, we'll probably end up computing a
6338       # maximum length that is only half of the actual maximum length, but
6339       # we can't tell.
6340       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6341                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6342               test $i != 17 # 1/2 MB should be enough
6343       do
6344         i=`expr $i + 1`
6345         teststring=$teststring$teststring
6346       done
6347       # Only check the string length outside the loop.
6348       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6349       teststring=
6350       # Add a significant safety factor because C++ compilers can tack on
6351       # massive amounts of additional arguments before passing them to the
6352       # linker.  It appears as though 1/2 is a usable value.
6353       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6354     fi
6355     ;;
6356   esac
6357
6358 fi
6359
6360 if test -n $lt_cv_sys_max_cmd_len ; then
6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6362 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6363 else
6364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6365 $as_echo "none" >&6; }
6366 fi
6367 max_cmd_len=$lt_cv_sys_max_cmd_len
6368
6369
6370
6371
6372
6373
6374 : ${CP="cp -f"}
6375 : ${MV="mv -f"}
6376 : ${RM="rm -f"}
6377
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6379 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6380 # Try some XSI features
6381 xsi_shell=no
6382 ( _lt_dummy="a/b/c"
6383   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6384       = c,a/b,b/c, \
6385     && eval 'test $(( 1 + 1 )) -eq 2 \
6386     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6387   && xsi_shell=yes
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6389 $as_echo "$xsi_shell" >&6; }
6390
6391
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6393 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6394 lt_shell_append=no
6395 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6396     >/dev/null 2>&1 \
6397   && lt_shell_append=yes
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6399 $as_echo "$lt_shell_append" >&6; }
6400
6401
6402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6403   lt_unset=unset
6404 else
6405   lt_unset=false
6406 fi
6407
6408
6409
6410
6411
6412 # test EBCDIC or ASCII
6413 case `echo X|tr X '\101'` in
6414  A) # ASCII based system
6415     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6416   lt_SP2NL='tr \040 \012'
6417   lt_NL2SP='tr \015\012 \040\040'
6418   ;;
6419  *) # EBCDIC based system
6420   lt_SP2NL='tr \100 \n'
6421   lt_NL2SP='tr \r\n \100\100'
6422   ;;
6423 esac
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6434 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6435 if ${lt_cv_to_host_file_cmd+:} false; then :
6436   $as_echo_n "(cached) " >&6
6437 else
6438   case $host in
6439   *-*-mingw* )
6440     case $build in
6441       *-*-mingw* ) # actually msys
6442         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6443         ;;
6444       *-*-cygwin* )
6445         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6446         ;;
6447       * ) # otherwise, assume *nix
6448         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6449         ;;
6450     esac
6451     ;;
6452   *-*-cygwin* )
6453     case $build in
6454       *-*-mingw* ) # actually msys
6455         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6456         ;;
6457       *-*-cygwin* )
6458         lt_cv_to_host_file_cmd=func_convert_file_noop
6459         ;;
6460       * ) # otherwise, assume *nix
6461         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6462         ;;
6463     esac
6464     ;;
6465   * ) # unhandled hosts (and "normal" native builds)
6466     lt_cv_to_host_file_cmd=func_convert_file_noop
6467     ;;
6468 esac
6469
6470 fi
6471
6472 to_host_file_cmd=$lt_cv_to_host_file_cmd
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6474 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6475
6476
6477
6478
6479
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6481 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6482 if ${lt_cv_to_tool_file_cmd+:} false; then :
6483   $as_echo_n "(cached) " >&6
6484 else
6485   #assume ordinary cross tools, or native build.
6486 lt_cv_to_tool_file_cmd=func_convert_file_noop
6487 case $host in
6488   *-*-mingw* )
6489     case $build in
6490       *-*-mingw* ) # actually msys
6491         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6492         ;;
6493     esac
6494     ;;
6495 esac
6496
6497 fi
6498
6499 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6501 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6502
6503
6504
6505
6506
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6508 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6509 if ${lt_cv_ld_reload_flag+:} false; then :
6510   $as_echo_n "(cached) " >&6
6511 else
6512   lt_cv_ld_reload_flag='-r'
6513 fi
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6515 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6516 reload_flag=$lt_cv_ld_reload_flag
6517 case $reload_flag in
6518 "" | " "*) ;;
6519 *) reload_flag=" $reload_flag" ;;
6520 esac
6521 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6522 case $host_os in
6523   cygwin* | mingw* | pw32* | cegcc*)
6524     if test "$GCC" != yes; then
6525       reload_cmds=false
6526     fi
6527     ;;
6528   darwin*)
6529     if test "$GCC" = yes; then
6530       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6531     else
6532       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6533     fi
6534     ;;
6535 esac
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545 if test -n "$ac_tool_prefix"; then
6546   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6547 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_OBJDUMP+:} false; then :
6551   $as_echo_n "(cached) " >&6
6552 else
6553   if test -n "$OBJDUMP"; then
6554   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6558 do
6559   IFS=$as_save_IFS
6560   test -z "$as_dir" && as_dir=.
6561     for ac_exec_ext in '' $ac_executable_extensions; do
6562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565     break 2
6566   fi
6567 done
6568   done
6569 IFS=$as_save_IFS
6570
6571 fi
6572 fi
6573 OBJDUMP=$ac_cv_prog_OBJDUMP
6574 if test -n "$OBJDUMP"; then
6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6576 $as_echo "$OBJDUMP" >&6; }
6577 else
6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6580 fi
6581
6582
6583 fi
6584 if test -z "$ac_cv_prog_OBJDUMP"; then
6585   ac_ct_OBJDUMP=$OBJDUMP
6586   # Extract the first word of "objdump", so it can be a program name with args.
6587 set dummy objdump; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6591   $as_echo_n "(cached) " >&6
6592 else
6593   if test -n "$ac_ct_OBJDUMP"; then
6594   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6598 do
6599   IFS=$as_save_IFS
6600   test -z "$as_dir" && as_dir=.
6601     for ac_exec_ext in '' $ac_executable_extensions; do
6602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605     break 2
6606   fi
6607 done
6608   done
6609 IFS=$as_save_IFS
6610
6611 fi
6612 fi
6613 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6614 if test -n "$ac_ct_OBJDUMP"; then
6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6616 $as_echo "$ac_ct_OBJDUMP" >&6; }
6617 else
6618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6620 fi
6621
6622   if test "x$ac_ct_OBJDUMP" = x; then
6623     OBJDUMP="false"
6624   else
6625     case $cross_compiling:$ac_tool_warned in
6626 yes:)
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned=yes ;;
6630 esac
6631     OBJDUMP=$ac_ct_OBJDUMP
6632   fi
6633 else
6634   OBJDUMP="$ac_cv_prog_OBJDUMP"
6635 fi
6636
6637 test -z "$OBJDUMP" && OBJDUMP=objdump
6638
6639
6640
6641
6642
6643
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6645 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6646 if ${lt_cv_deplibs_check_method+:} false; then :
6647   $as_echo_n "(cached) " >&6
6648 else
6649   lt_cv_file_magic_cmd='$MAGIC_CMD'
6650 lt_cv_file_magic_test_file=
6651 lt_cv_deplibs_check_method='unknown'
6652 # Need to set the preceding variable on all platforms that support
6653 # interlibrary dependencies.
6654 # 'none' -- dependencies not supported.
6655 # `unknown' -- same as none, but documents that we really don't know.
6656 # 'pass_all' -- all dependencies passed with no checks.
6657 # 'test_compile' -- check by making test program.
6658 # 'file_magic [[regex]]' -- check by looking for files in library path
6659 # which responds to the $file_magic_cmd with a given extended regex.
6660 # If you have `file' or equivalent on your system and you're not sure
6661 # whether `pass_all' will *always* work, you probably want this one.
6662
6663 case $host_os in
6664 aix[4-9]*)
6665   lt_cv_deplibs_check_method=pass_all
6666   ;;
6667
6668 beos*)
6669   lt_cv_deplibs_check_method=pass_all
6670   ;;
6671
6672 bsdi[45]*)
6673   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6674   lt_cv_file_magic_cmd='/usr/bin/file -L'
6675   lt_cv_file_magic_test_file=/shlib/libc.so
6676   ;;
6677
6678 cygwin*)
6679   # func_win32_libid is a shell function defined in ltmain.sh
6680   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6681   lt_cv_file_magic_cmd='func_win32_libid'
6682   ;;
6683
6684 mingw* | pw32*)
6685   # Base MSYS/MinGW do not provide the 'file' command needed by
6686   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6687   # unless we find 'file', for example because we are cross-compiling.
6688   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6689   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6690     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6691     lt_cv_file_magic_cmd='func_win32_libid'
6692   else
6693     # Keep this pattern in sync with the one in func_win32_libid.
6694     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6695     lt_cv_file_magic_cmd='$OBJDUMP -f'
6696   fi
6697   ;;
6698
6699 cegcc*)
6700   # use the weaker test based on 'objdump'. See mingw*.
6701   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6702   lt_cv_file_magic_cmd='$OBJDUMP -f'
6703   ;;
6704
6705 darwin* | rhapsody*)
6706   lt_cv_deplibs_check_method=pass_all
6707   ;;
6708
6709 freebsd* | dragonfly*)
6710   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6711     case $host_cpu in
6712     i*86 )
6713       # Not sure whether the presence of OpenBSD here was a mistake.
6714       # Let's accept both of them until this is cleared up.
6715       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6716       lt_cv_file_magic_cmd=/usr/bin/file
6717       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6718       ;;
6719     esac
6720   else
6721     lt_cv_deplibs_check_method=pass_all
6722   fi
6723   ;;
6724
6725 gnu*)
6726   lt_cv_deplibs_check_method=pass_all
6727   ;;
6728
6729 haiku*)
6730   lt_cv_deplibs_check_method=pass_all
6731   ;;
6732
6733 hpux10.20* | hpux11*)
6734   lt_cv_file_magic_cmd=/usr/bin/file
6735   case $host_cpu in
6736   ia64*)
6737     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6738     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6739     ;;
6740   hppa*64*)
6741     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]'
6742     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6743     ;;
6744   *)
6745     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6746     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6747     ;;
6748   esac
6749   ;;
6750
6751 interix[3-9]*)
6752   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6753   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6754   ;;
6755
6756 irix5* | irix6* | nonstopux*)
6757   case $LD in
6758   *-32|*"-32 ") libmagic=32-bit;;
6759   *-n32|*"-n32 ") libmagic=N32;;
6760   *-64|*"-64 ") libmagic=64-bit;;
6761   *) libmagic=never-match;;
6762   esac
6763   lt_cv_deplibs_check_method=pass_all
6764   ;;
6765
6766 # This must be Linux ELF.
6767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6768   lt_cv_deplibs_check_method=pass_all
6769   ;;
6770
6771 netbsd*)
6772   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6773     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6774   else
6775     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6776   fi
6777   ;;
6778
6779 newos6*)
6780   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6781   lt_cv_file_magic_cmd=/usr/bin/file
6782   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6783   ;;
6784
6785 *nto* | *qnx*)
6786   lt_cv_deplibs_check_method=pass_all
6787   ;;
6788
6789 openbsd*)
6790   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6791     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6792   else
6793     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6794   fi
6795   ;;
6796
6797 osf3* | osf4* | osf5*)
6798   lt_cv_deplibs_check_method=pass_all
6799   ;;
6800
6801 rdos*)
6802   lt_cv_deplibs_check_method=pass_all
6803   ;;
6804
6805 solaris*)
6806   lt_cv_deplibs_check_method=pass_all
6807   ;;
6808
6809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6810   lt_cv_deplibs_check_method=pass_all
6811   ;;
6812
6813 sysv4 | sysv4.3*)
6814   case $host_vendor in
6815   motorola)
6816     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]'
6817     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6818     ;;
6819   ncr)
6820     lt_cv_deplibs_check_method=pass_all
6821     ;;
6822   sequent)
6823     lt_cv_file_magic_cmd='/bin/file'
6824     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6825     ;;
6826   sni)
6827     lt_cv_file_magic_cmd='/bin/file'
6828     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6829     lt_cv_file_magic_test_file=/lib/libc.so
6830     ;;
6831   siemens)
6832     lt_cv_deplibs_check_method=pass_all
6833     ;;
6834   pc)
6835     lt_cv_deplibs_check_method=pass_all
6836     ;;
6837   esac
6838   ;;
6839
6840 tpf*)
6841   lt_cv_deplibs_check_method=pass_all
6842   ;;
6843 esac
6844
6845 fi
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6847 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6848
6849 file_magic_glob=
6850 want_nocaseglob=no
6851 if test "$build" = "$host"; then
6852   case $host_os in
6853   mingw* | pw32*)
6854     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6855       want_nocaseglob=yes
6856     else
6857       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6858     fi
6859     ;;
6860   esac
6861 fi
6862
6863 file_magic_cmd=$lt_cv_file_magic_cmd
6864 deplibs_check_method=$lt_cv_deplibs_check_method
6865 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888 if test -n "$ac_tool_prefix"; then
6889   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 $as_echo_n "checking for $ac_word... " >&6; }
6893 if ${ac_cv_prog_DLLTOOL+:} false; then :
6894   $as_echo_n "(cached) " >&6
6895 else
6896   if test -n "$DLLTOOL"; then
6897   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6898 else
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 for as_dir in $PATH
6901 do
6902   IFS=$as_save_IFS
6903   test -z "$as_dir" && as_dir=.
6904     for ac_exec_ext in '' $ac_executable_extensions; do
6905   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908     break 2
6909   fi
6910 done
6911   done
6912 IFS=$as_save_IFS
6913
6914 fi
6915 fi
6916 DLLTOOL=$ac_cv_prog_DLLTOOL
6917 if test -n "$DLLTOOL"; then
6918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6919 $as_echo "$DLLTOOL" >&6; }
6920 else
6921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922 $as_echo "no" >&6; }
6923 fi
6924
6925
6926 fi
6927 if test -z "$ac_cv_prog_DLLTOOL"; then
6928   ac_ct_DLLTOOL=$DLLTOOL
6929   # Extract the first word of "dlltool", so it can be a program name with args.
6930 set dummy dlltool; ac_word=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932 $as_echo_n "checking for $ac_word... " >&6; }
6933 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6934   $as_echo_n "(cached) " >&6
6935 else
6936   if test -n "$ac_ct_DLLTOOL"; then
6937   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6938 else
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 for as_dir in $PATH
6941 do
6942   IFS=$as_save_IFS
6943   test -z "$as_dir" && as_dir=.
6944     for ac_exec_ext in '' $ac_executable_extensions; do
6945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948     break 2
6949   fi
6950 done
6951   done
6952 IFS=$as_save_IFS
6953
6954 fi
6955 fi
6956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6957 if test -n "$ac_ct_DLLTOOL"; then
6958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6959 $as_echo "$ac_ct_DLLTOOL" >&6; }
6960 else
6961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962 $as_echo "no" >&6; }
6963 fi
6964
6965   if test "x$ac_ct_DLLTOOL" = x; then
6966     DLLTOOL="false"
6967   else
6968     case $cross_compiling:$ac_tool_warned in
6969 yes:)
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972 ac_tool_warned=yes ;;
6973 esac
6974     DLLTOOL=$ac_ct_DLLTOOL
6975   fi
6976 else
6977   DLLTOOL="$ac_cv_prog_DLLTOOL"
6978 fi
6979
6980 test -z "$DLLTOOL" && DLLTOOL=dlltool
6981
6982
6983
6984
6985
6986
6987
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6989 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6990 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6991   $as_echo_n "(cached) " >&6
6992 else
6993   lt_cv_sharedlib_from_linklib_cmd='unknown'
6994
6995 case $host_os in
6996 cygwin* | mingw* | pw32* | cegcc*)
6997   # two different shell functions defined in ltmain.sh
6998   # decide which to use based on capabilities of $DLLTOOL
6999   case `$DLLTOOL --help 2>&1` in
7000   *--identify-strict*)
7001     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7002     ;;
7003   *)
7004     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7005     ;;
7006   esac
7007   ;;
7008 *)
7009   # fallback: assume linklib IS sharedlib
7010   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7011   ;;
7012 esac
7013
7014 fi
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7016 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7017 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7018 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7019
7020
7021
7022
7023
7024
7025
7026 if test -n "$ac_tool_prefix"; then
7027   for ac_prog in ar
7028   do
7029     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_AR+:} false; then :
7034   $as_echo_n "(cached) " >&6
7035 else
7036   if test -n "$AR"; then
7037   ac_cv_prog_AR="$AR" # Let the user override the test.
7038 else
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 for as_dir in $PATH
7041 do
7042   IFS=$as_save_IFS
7043   test -z "$as_dir" && as_dir=.
7044     for ac_exec_ext in '' $ac_executable_extensions; do
7045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048     break 2
7049   fi
7050 done
7051   done
7052 IFS=$as_save_IFS
7053
7054 fi
7055 fi
7056 AR=$ac_cv_prog_AR
7057 if test -n "$AR"; then
7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7059 $as_echo "$AR" >&6; }
7060 else
7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7063 fi
7064
7065
7066     test -n "$AR" && break
7067   done
7068 fi
7069 if test -z "$AR"; then
7070   ac_ct_AR=$AR
7071   for ac_prog in ar
7072 do
7073   # Extract the first word of "$ac_prog", so it can be a program name with args.
7074 set dummy $ac_prog; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7078   $as_echo_n "(cached) " >&6
7079 else
7080   if test -n "$ac_ct_AR"; then
7081   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7082 else
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in $PATH
7085 do
7086   IFS=$as_save_IFS
7087   test -z "$as_dir" && as_dir=.
7088     for ac_exec_ext in '' $ac_executable_extensions; do
7089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090     ac_cv_prog_ac_ct_AR="$ac_prog"
7091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092     break 2
7093   fi
7094 done
7095   done
7096 IFS=$as_save_IFS
7097
7098 fi
7099 fi
7100 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7101 if test -n "$ac_ct_AR"; then
7102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7103 $as_echo "$ac_ct_AR" >&6; }
7104 else
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7107 fi
7108
7109
7110   test -n "$ac_ct_AR" && break
7111 done
7112
7113   if test "x$ac_ct_AR" = x; then
7114     AR="false"
7115   else
7116     case $cross_compiling:$ac_tool_warned in
7117 yes:)
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned=yes ;;
7121 esac
7122     AR=$ac_ct_AR
7123   fi
7124 fi
7125
7126 : ${AR=ar}
7127 : ${AR_FLAGS=cru}
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7140 $as_echo_n "checking for archiver @FILE support... " >&6; }
7141 if ${lt_cv_ar_at_file+:} false; then :
7142   $as_echo_n "(cached) " >&6
7143 else
7144   lt_cv_ar_at_file=no
7145    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h.  */
7147
7148 int
7149 main ()
7150 {
7151
7152   ;
7153   return 0;
7154 }
7155 _ACEOF
7156 if ac_fn_c_try_compile "$LINENO"; then :
7157   echo conftest.$ac_objext > conftest.lst
7158       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7159       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7160   (eval $lt_ar_try) 2>&5
7161   ac_status=$?
7162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7163   test $ac_status = 0; }
7164       if test "$ac_status" -eq 0; then
7165         # Ensure the archiver fails upon bogus file names.
7166         rm -f conftest.$ac_objext libconftest.a
7167         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7168   (eval $lt_ar_try) 2>&5
7169   ac_status=$?
7170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171   test $ac_status = 0; }
7172         if test "$ac_status" -ne 0; then
7173           lt_cv_ar_at_file=@
7174         fi
7175       fi
7176       rm -f conftest.* libconftest.a
7177
7178 fi
7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7180
7181 fi
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7183 $as_echo "$lt_cv_ar_at_file" >&6; }
7184
7185 if test "x$lt_cv_ar_at_file" = xno; then
7186   archiver_list_spec=
7187 else
7188   archiver_list_spec=$lt_cv_ar_at_file
7189 fi
7190
7191
7192
7193
7194
7195
7196
7197 if test -n "$ac_tool_prefix"; then
7198   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7199 set dummy ${ac_tool_prefix}strip; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 $as_echo_n "checking for $ac_word... " >&6; }
7202 if ${ac_cv_prog_STRIP+:} false; then :
7203   $as_echo_n "(cached) " >&6
7204 else
7205   if test -n "$STRIP"; then
7206   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7207 else
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 for as_dir in $PATH
7210 do
7211   IFS=$as_save_IFS
7212   test -z "$as_dir" && as_dir=.
7213     for ac_exec_ext in '' $ac_executable_extensions; do
7214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217     break 2
7218   fi
7219 done
7220   done
7221 IFS=$as_save_IFS
7222
7223 fi
7224 fi
7225 STRIP=$ac_cv_prog_STRIP
7226 if test -n "$STRIP"; then
7227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7228 $as_echo "$STRIP" >&6; }
7229 else
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7232 fi
7233
7234
7235 fi
7236 if test -z "$ac_cv_prog_STRIP"; then
7237   ac_ct_STRIP=$STRIP
7238   # Extract the first word of "strip", so it can be a program name with args.
7239 set dummy strip; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7243   $as_echo_n "(cached) " >&6
7244 else
7245   if test -n "$ac_ct_STRIP"; then
7246   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7247 else
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 for as_dir in $PATH
7250 do
7251   IFS=$as_save_IFS
7252   test -z "$as_dir" && as_dir=.
7253     for ac_exec_ext in '' $ac_executable_extensions; do
7254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255     ac_cv_prog_ac_ct_STRIP="strip"
7256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257     break 2
7258   fi
7259 done
7260   done
7261 IFS=$as_save_IFS
7262
7263 fi
7264 fi
7265 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7266 if test -n "$ac_ct_STRIP"; then
7267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7268 $as_echo "$ac_ct_STRIP" >&6; }
7269 else
7270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7272 fi
7273
7274   if test "x$ac_ct_STRIP" = x; then
7275     STRIP=":"
7276   else
7277     case $cross_compiling:$ac_tool_warned in
7278 yes:)
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7281 ac_tool_warned=yes ;;
7282 esac
7283     STRIP=$ac_ct_STRIP
7284   fi
7285 else
7286   STRIP="$ac_cv_prog_STRIP"
7287 fi
7288
7289 test -z "$STRIP" && STRIP=:
7290
7291
7292
7293
7294
7295
7296 if test -n "$ac_tool_prefix"; then
7297   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7298 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_RANLIB+:} false; then :
7302   $as_echo_n "(cached) " >&6
7303 else
7304   if test -n "$RANLIB"; then
7305   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7309 do
7310   IFS=$as_save_IFS
7311   test -z "$as_dir" && as_dir=.
7312     for ac_exec_ext in '' $ac_executable_extensions; do
7313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316     break 2
7317   fi
7318 done
7319   done
7320 IFS=$as_save_IFS
7321
7322 fi
7323 fi
7324 RANLIB=$ac_cv_prog_RANLIB
7325 if test -n "$RANLIB"; then
7326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7327 $as_echo "$RANLIB" >&6; }
7328 else
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7331 fi
7332
7333
7334 fi
7335 if test -z "$ac_cv_prog_RANLIB"; then
7336   ac_ct_RANLIB=$RANLIB
7337   # Extract the first word of "ranlib", so it can be a program name with args.
7338 set dummy ranlib; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7342   $as_echo_n "(cached) " >&6
7343 else
7344   if test -n "$ac_ct_RANLIB"; then
7345   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7349 do
7350   IFS=$as_save_IFS
7351   test -z "$as_dir" && as_dir=.
7352     for ac_exec_ext in '' $ac_executable_extensions; do
7353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7354     ac_cv_prog_ac_ct_RANLIB="ranlib"
7355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356     break 2
7357   fi
7358 done
7359   done
7360 IFS=$as_save_IFS
7361
7362 fi
7363 fi
7364 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7365 if test -n "$ac_ct_RANLIB"; then
7366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7367 $as_echo "$ac_ct_RANLIB" >&6; }
7368 else
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7371 fi
7372
7373   if test "x$ac_ct_RANLIB" = x; then
7374     RANLIB=":"
7375   else
7376     case $cross_compiling:$ac_tool_warned in
7377 yes:)
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7381 esac
7382     RANLIB=$ac_ct_RANLIB
7383   fi
7384 else
7385   RANLIB="$ac_cv_prog_RANLIB"
7386 fi
7387
7388 test -z "$RANLIB" && RANLIB=:
7389
7390
7391
7392
7393
7394
7395 # Determine commands to create old-style static archives.
7396 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7397 old_postinstall_cmds='chmod 644 $oldlib'
7398 old_postuninstall_cmds=
7399
7400 if test -n "$RANLIB"; then
7401   case $host_os in
7402   openbsd*)
7403     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7404     ;;
7405   *)
7406     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7407     ;;
7408   esac
7409   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7410 fi
7411
7412 case $host_os in
7413   darwin*)
7414     lock_old_archive_extraction=yes ;;
7415   *)
7416     lock_old_archive_extraction=no ;;
7417 esac
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457 # If no C compiler was specified, use CC.
7458 LTCC=${LTCC-"$CC"}
7459
7460 # If no C compiler flags were specified, use CFLAGS.
7461 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7462
7463 # Allow CC to be a program name with arguments.
7464 compiler=$CC
7465
7466
7467 # Check for command to grab the raw symbol name followed by C symbol from nm.
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7469 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7470 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7471   $as_echo_n "(cached) " >&6
7472 else
7473
7474 # These are sane defaults that work on at least a few old systems.
7475 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7476
7477 # Character class describing NM global symbol codes.
7478 symcode='[BCDEGRST]'
7479
7480 # Regexp to match symbols that can be accessed directly from C.
7481 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7482
7483 # Define system-specific variables.
7484 case $host_os in
7485 aix*)
7486   symcode='[BCDT]'
7487   ;;
7488 cygwin* | mingw* | pw32* | cegcc*)
7489   symcode='[ABCDGISTW]'
7490   ;;
7491 hpux*)
7492   if test "$host_cpu" = ia64; then
7493     symcode='[ABCDEGRST]'
7494   fi
7495   ;;
7496 irix* | nonstopux*)
7497   symcode='[BCDEGRST]'
7498   ;;
7499 osf*)
7500   symcode='[BCDEGQRST]'
7501   ;;
7502 solaris*)
7503   symcode='[BDRT]'
7504   ;;
7505 sco3.2v5*)
7506   symcode='[DT]'
7507   ;;
7508 sysv4.2uw2*)
7509   symcode='[DT]'
7510   ;;
7511 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7512   symcode='[ABDT]'
7513   ;;
7514 sysv4)
7515   symcode='[DFNSTU]'
7516   ;;
7517 esac
7518
7519 # If we're using GNU nm, then use its standard symbol codes.
7520 case `$NM -V 2>&1` in
7521 *GNU* | *'with BFD'*)
7522   symcode='[ABCDGIRSTW]' ;;
7523 esac
7524
7525 # Transform an extracted symbol line into a proper C declaration.
7526 # Some systems (esp. on ia64) link data and code symbols differently,
7527 # so use this general approach.
7528 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7529
7530 # Transform an extracted symbol line into symbol name and symbol address
7531 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7532 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7533
7534 # Handle CRLF in mingw tool chain
7535 opt_cr=
7536 case $build_os in
7537 mingw*)
7538   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7539   ;;
7540 esac
7541
7542 # Try without a prefix underscore, then with it.
7543 for ac_symprfx in "" "_"; do
7544
7545   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7546   symxfrm="\\1 $ac_symprfx\\2 \\2"
7547
7548   # Write the raw and C identifiers.
7549   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7550     # Fake it for dumpbin and say T for any non-static function
7551     # and D for any global variable.
7552     # Also find C++ and __fastcall symbols from MSVC++,
7553     # which start with @ or ?.
7554     lt_cv_sys_global_symbol_pipe="$AWK '"\
7555 "     {last_section=section; section=\$ 3};"\
7556 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7557 "     \$ 0!~/External *\|/{next};"\
7558 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7559 "     {if(hide[section]) next};"\
7560 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7561 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7562 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7563 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7564 "     ' prfx=^$ac_symprfx"
7565   else
7566     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7567   fi
7568   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7569
7570   # Check to see that the pipe works correctly.
7571   pipe_works=no
7572
7573   rm -f conftest*
7574   cat > conftest.$ac_ext <<_LT_EOF
7575 #ifdef __cplusplus
7576 extern "C" {
7577 #endif
7578 char nm_test_var;
7579 void nm_test_func(void);
7580 void nm_test_func(void){}
7581 #ifdef __cplusplus
7582 }
7583 #endif
7584 int main(){nm_test_var='a';nm_test_func();return(0);}
7585 _LT_EOF
7586
7587   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588   (eval $ac_compile) 2>&5
7589   ac_status=$?
7590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7591   test $ac_status = 0; }; then
7592     # Now try to grab the symbols.
7593     nlist=conftest.nm
7594     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7595   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7596   ac_status=$?
7597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598   test $ac_status = 0; } && test -s "$nlist"; then
7599       # Try sorting and uniquifying the output.
7600       if sort "$nlist" | uniq > "$nlist"T; then
7601         mv -f "$nlist"T "$nlist"
7602       else
7603         rm -f "$nlist"T
7604       fi
7605
7606       # Make sure that we snagged all the symbols we need.
7607       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7608         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7609           cat <<_LT_EOF > conftest.$ac_ext
7610 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7611 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7612 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7613    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7614 # define LT_DLSYM_CONST
7615 #elif defined(__osf__)
7616 /* This system does not cope well with relocations in const data.  */
7617 # define LT_DLSYM_CONST
7618 #else
7619 # define LT_DLSYM_CONST const
7620 #endif
7621
7622 #ifdef __cplusplus
7623 extern "C" {
7624 #endif
7625
7626 _LT_EOF
7627           # Now generate the symbol file.
7628           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7629
7630           cat <<_LT_EOF >> conftest.$ac_ext
7631
7632 /* The mapping between symbol names and symbols.  */
7633 LT_DLSYM_CONST struct {
7634   const char *name;
7635   void       *address;
7636 }
7637 lt__PROGRAM__LTX_preloaded_symbols[] =
7638 {
7639   { "@PROGRAM@", (void *) 0 },
7640 _LT_EOF
7641           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7642           cat <<\_LT_EOF >> conftest.$ac_ext
7643   {0, (void *) 0}
7644 };
7645
7646 /* This works around a problem in FreeBSD linker */
7647 #ifdef FREEBSD_WORKAROUND
7648 static const void *lt_preloaded_setup() {
7649   return lt__PROGRAM__LTX_preloaded_symbols;
7650 }
7651 #endif
7652
7653 #ifdef __cplusplus
7654 }
7655 #endif
7656 _LT_EOF
7657           # Now try linking the two files.
7658           mv conftest.$ac_objext conftstm.$ac_objext
7659           lt_globsym_save_LIBS=$LIBS
7660           lt_globsym_save_CFLAGS=$CFLAGS
7661           LIBS="conftstm.$ac_objext"
7662           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7663           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7664   (eval $ac_link) 2>&5
7665   ac_status=$?
7666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7667   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7668             pipe_works=yes
7669           fi
7670           LIBS=$lt_globsym_save_LIBS
7671           CFLAGS=$lt_globsym_save_CFLAGS
7672         else
7673           echo "cannot find nm_test_func in $nlist" >&5
7674         fi
7675       else
7676         echo "cannot find nm_test_var in $nlist" >&5
7677       fi
7678     else
7679       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7680     fi
7681   else
7682     echo "$progname: failed program was:" >&5
7683     cat conftest.$ac_ext >&5
7684   fi
7685   rm -rf conftest* conftst*
7686
7687   # Do not use the global_symbol_pipe unless it works.
7688   if test "$pipe_works" = yes; then
7689     break
7690   else
7691     lt_cv_sys_global_symbol_pipe=
7692   fi
7693 done
7694
7695 fi
7696
7697 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7698   lt_cv_sys_global_symbol_to_cdecl=
7699 fi
7700 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7702 $as_echo "failed" >&6; }
7703 else
7704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7705 $as_echo "ok" >&6; }
7706 fi
7707
7708 # Response file support.
7709 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7710   nm_file_list_spec='@'
7711 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7712   nm_file_list_spec='@'
7713 fi
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7742 $as_echo_n "checking for sysroot... " >&6; }
7743
7744 # Check whether --with-sysroot was given.
7745 if test "${with_sysroot+set}" = set; then :
7746   withval=$with_sysroot;
7747 else
7748   with_sysroot=no
7749 fi
7750
7751
7752 lt_sysroot=
7753 case ${with_sysroot} in #(
7754  yes)
7755    if test "$GCC" = yes; then
7756      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7757    fi
7758    ;; #(
7759  /*)
7760    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7761    ;; #(
7762  no|'')
7763    ;; #(
7764  *)
7765    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7766 $as_echo "${with_sysroot}" >&6; }
7767    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7768    ;;
7769 esac
7770
7771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7772 $as_echo "${lt_sysroot:-no}" >&6; }
7773
7774
7775
7776
7777
7778 # Check whether --enable-libtool-lock was given.
7779 if test "${enable_libtool_lock+set}" = set; then :
7780   enableval=$enable_libtool_lock;
7781 fi
7782
7783 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7784
7785 # Some flags need to be propagated to the compiler or linker for good
7786 # libtool support.
7787 case $host in
7788 ia64-*-hpux*)
7789   # Find out which ABI we are using.
7790   echo 'int i;' > conftest.$ac_ext
7791   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7792   (eval $ac_compile) 2>&5
7793   ac_status=$?
7794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7795   test $ac_status = 0; }; then
7796     case `/usr/bin/file conftest.$ac_objext` in
7797       *ELF-32*)
7798         HPUX_IA64_MODE="32"
7799         ;;
7800       *ELF-64*)
7801         HPUX_IA64_MODE="64"
7802         ;;
7803     esac
7804   fi
7805   rm -rf conftest*
7806   ;;
7807 *-*-irix6*)
7808   # Find out which ABI we are using.
7809   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7810   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7811   (eval $ac_compile) 2>&5
7812   ac_status=$?
7813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7814   test $ac_status = 0; }; then
7815     if test "$lt_cv_prog_gnu_ld" = yes; then
7816       case `/usr/bin/file conftest.$ac_objext` in
7817         *32-bit*)
7818           LD="${LD-ld} -melf32bsmip"
7819           ;;
7820         *N32*)
7821           LD="${LD-ld} -melf32bmipn32"
7822           ;;
7823         *64-bit*)
7824           LD="${LD-ld} -melf64bmip"
7825         ;;
7826       esac
7827     else
7828       case `/usr/bin/file conftest.$ac_objext` in
7829         *32-bit*)
7830           LD="${LD-ld} -32"
7831           ;;
7832         *N32*)
7833           LD="${LD-ld} -n32"
7834           ;;
7835         *64-bit*)
7836           LD="${LD-ld} -64"
7837           ;;
7838       esac
7839     fi
7840   fi
7841   rm -rf conftest*
7842   ;;
7843
7844 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7845 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7846   # Find out which ABI we are using.
7847   echo 'int i;' > conftest.$ac_ext
7848   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7849   (eval $ac_compile) 2>&5
7850   ac_status=$?
7851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7852   test $ac_status = 0; }; then
7853     case `/usr/bin/file conftest.o` in
7854       *32-bit*)
7855         case $host in
7856           x86_64-*kfreebsd*-gnu)
7857             LD="${LD-ld} -m elf_i386_fbsd"
7858             ;;
7859           x86_64-*linux*)
7860             LD="${LD-ld} -m elf_i386"
7861             ;;
7862           ppc64-*linux*|powerpc64-*linux*)
7863             LD="${LD-ld} -m elf32ppclinux"
7864             ;;
7865           s390x-*linux*)
7866             LD="${LD-ld} -m elf_s390"
7867             ;;
7868           sparc64-*linux*)
7869             LD="${LD-ld} -m elf32_sparc"
7870             ;;
7871         esac
7872         ;;
7873       *64-bit*)
7874         case $host in
7875           x86_64-*kfreebsd*-gnu)
7876             LD="${LD-ld} -m elf_x86_64_fbsd"
7877             ;;
7878           x86_64-*linux*)
7879             LD="${LD-ld} -m elf_x86_64"
7880             ;;
7881           ppc*-*linux*|powerpc*-*linux*)
7882             LD="${LD-ld} -m elf64ppc"
7883             ;;
7884           s390*-*linux*|s390*-*tpf*)
7885             LD="${LD-ld} -m elf64_s390"
7886             ;;
7887           sparc*-*linux*)
7888             LD="${LD-ld} -m elf64_sparc"
7889             ;;
7890         esac
7891         ;;
7892     esac
7893   fi
7894   rm -rf conftest*
7895   ;;
7896
7897 *-*-sco3.2v5*)
7898   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7899   SAVE_CFLAGS="$CFLAGS"
7900   CFLAGS="$CFLAGS -belf"
7901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7902 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7903 if ${lt_cv_cc_needs_belf+:} false; then :
7904   $as_echo_n "(cached) " >&6
7905 else
7906   ac_ext=c
7907 ac_cpp='$CPP $CPPFLAGS'
7908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7911
7912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h.  */
7914
7915 int
7916 main ()
7917 {
7918
7919   ;
7920   return 0;
7921 }
7922 _ACEOF
7923 if ac_fn_c_try_link "$LINENO"; then :
7924   lt_cv_cc_needs_belf=yes
7925 else
7926   lt_cv_cc_needs_belf=no
7927 fi
7928 rm -f core conftest.err conftest.$ac_objext \
7929     conftest$ac_exeext conftest.$ac_ext
7930      ac_ext=c
7931 ac_cpp='$CPP $CPPFLAGS'
7932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7935
7936 fi
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7938 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7939   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7940     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7941     CFLAGS="$SAVE_CFLAGS"
7942   fi
7943   ;;
7944 sparc*-*solaris*)
7945   # Find out which ABI we are using.
7946   echo 'int i;' > conftest.$ac_ext
7947   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7948   (eval $ac_compile) 2>&5
7949   ac_status=$?
7950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7951   test $ac_status = 0; }; then
7952     case `/usr/bin/file conftest.o` in
7953     *64-bit*)
7954       case $lt_cv_prog_gnu_ld in
7955       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7956       *)
7957         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7958           LD="${LD-ld} -64"
7959         fi
7960         ;;
7961       esac
7962       ;;
7963     esac
7964   fi
7965   rm -rf conftest*
7966   ;;
7967 esac
7968
7969 need_locks="$enable_libtool_lock"
7970
7971 if test -n "$ac_tool_prefix"; then
7972   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}mt; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7977   $as_echo_n "(cached) " >&6
7978 else
7979   if test -n "$MANIFEST_TOOL"; then
7980   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7984 do
7985   IFS=$as_save_IFS
7986   test -z "$as_dir" && as_dir=.
7987     for ac_exec_ext in '' $ac_executable_extensions; do
7988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7989     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991     break 2
7992   fi
7993 done
7994   done
7995 IFS=$as_save_IFS
7996
7997 fi
7998 fi
7999 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8000 if test -n "$MANIFEST_TOOL"; then
8001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8002 $as_echo "$MANIFEST_TOOL" >&6; }
8003 else
8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8006 fi
8007
8008
8009 fi
8010 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8011   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8012   # Extract the first word of "mt", so it can be a program name with args.
8013 set dummy mt; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8017   $as_echo_n "(cached) " >&6
8018 else
8019   if test -n "$ac_ct_MANIFEST_TOOL"; then
8020   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8024 do
8025   IFS=$as_save_IFS
8026   test -z "$as_dir" && as_dir=.
8027     for ac_exec_ext in '' $ac_executable_extensions; do
8028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8029     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031     break 2
8032   fi
8033 done
8034   done
8035 IFS=$as_save_IFS
8036
8037 fi
8038 fi
8039 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8040 if test -n "$ac_ct_MANIFEST_TOOL"; then
8041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8042 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8043 else
8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8046 fi
8047
8048   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8049     MANIFEST_TOOL=":"
8050   else
8051     case $cross_compiling:$ac_tool_warned in
8052 yes:)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8056 esac
8057     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8058   fi
8059 else
8060   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8061 fi
8062
8063 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8065 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8066 if ${lt_cv_path_mainfest_tool+:} false; then :
8067   $as_echo_n "(cached) " >&6
8068 else
8069   lt_cv_path_mainfest_tool=no
8070   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8071   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8072   cat conftest.err >&5
8073   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8074     lt_cv_path_mainfest_tool=yes
8075   fi
8076   rm -f conftest*
8077 fi
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8079 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8080 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8081   MANIFEST_TOOL=:
8082 fi
8083
8084
8085
8086
8087
8088
8089   case $host_os in
8090     rhapsody* | darwin*)
8091     if test -n "$ac_tool_prefix"; then
8092   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8093 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8097   $as_echo_n "(cached) " >&6
8098 else
8099   if test -n "$DSYMUTIL"; then
8100   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8101 else
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 for as_dir in $PATH
8104 do
8105   IFS=$as_save_IFS
8106   test -z "$as_dir" && as_dir=.
8107     for ac_exec_ext in '' $ac_executable_extensions; do
8108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8109     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8111     break 2
8112   fi
8113 done
8114   done
8115 IFS=$as_save_IFS
8116
8117 fi
8118 fi
8119 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8120 if test -n "$DSYMUTIL"; then
8121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8122 $as_echo "$DSYMUTIL" >&6; }
8123 else
8124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8126 fi
8127
8128
8129 fi
8130 if test -z "$ac_cv_prog_DSYMUTIL"; then
8131   ac_ct_DSYMUTIL=$DSYMUTIL
8132   # Extract the first word of "dsymutil", so it can be a program name with args.
8133 set dummy dsymutil; ac_word=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8135 $as_echo_n "checking for $ac_word... " >&6; }
8136 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8137   $as_echo_n "(cached) " >&6
8138 else
8139   if test -n "$ac_ct_DSYMUTIL"; then
8140   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8141 else
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 for as_dir in $PATH
8144 do
8145   IFS=$as_save_IFS
8146   test -z "$as_dir" && as_dir=.
8147     for ac_exec_ext in '' $ac_executable_extensions; do
8148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8149     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8151     break 2
8152   fi
8153 done
8154   done
8155 IFS=$as_save_IFS
8156
8157 fi
8158 fi
8159 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8160 if test -n "$ac_ct_DSYMUTIL"; then
8161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8162 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8163 else
8164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8166 fi
8167
8168   if test "x$ac_ct_DSYMUTIL" = x; then
8169     DSYMUTIL=":"
8170   else
8171     case $cross_compiling:$ac_tool_warned in
8172 yes:)
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8175 ac_tool_warned=yes ;;
8176 esac
8177     DSYMUTIL=$ac_ct_DSYMUTIL
8178   fi
8179 else
8180   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8181 fi
8182
8183     if test -n "$ac_tool_prefix"; then
8184   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8185 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if ${ac_cv_prog_NMEDIT+:} false; then :
8189   $as_echo_n "(cached) " >&6
8190 else
8191   if test -n "$NMEDIT"; then
8192   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8193 else
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 for as_dir in $PATH
8196 do
8197   IFS=$as_save_IFS
8198   test -z "$as_dir" && as_dir=.
8199     for ac_exec_ext in '' $ac_executable_extensions; do
8200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8201     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203     break 2
8204   fi
8205 done
8206   done
8207 IFS=$as_save_IFS
8208
8209 fi
8210 fi
8211 NMEDIT=$ac_cv_prog_NMEDIT
8212 if test -n "$NMEDIT"; then
8213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8214 $as_echo "$NMEDIT" >&6; }
8215 else
8216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8218 fi
8219
8220
8221 fi
8222 if test -z "$ac_cv_prog_NMEDIT"; then
8223   ac_ct_NMEDIT=$NMEDIT
8224   # Extract the first word of "nmedit", so it can be a program name with args.
8225 set dummy nmedit; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8229   $as_echo_n "(cached) " >&6
8230 else
8231   if test -n "$ac_ct_NMEDIT"; then
8232   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8233 else
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 for as_dir in $PATH
8236 do
8237   IFS=$as_save_IFS
8238   test -z "$as_dir" && as_dir=.
8239     for ac_exec_ext in '' $ac_executable_extensions; do
8240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8241     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243     break 2
8244   fi
8245 done
8246   done
8247 IFS=$as_save_IFS
8248
8249 fi
8250 fi
8251 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8252 if test -n "$ac_ct_NMEDIT"; then
8253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8254 $as_echo "$ac_ct_NMEDIT" >&6; }
8255 else
8256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8258 fi
8259
8260   if test "x$ac_ct_NMEDIT" = x; then
8261     NMEDIT=":"
8262   else
8263     case $cross_compiling:$ac_tool_warned in
8264 yes:)
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8267 ac_tool_warned=yes ;;
8268 esac
8269     NMEDIT=$ac_ct_NMEDIT
8270   fi
8271 else
8272   NMEDIT="$ac_cv_prog_NMEDIT"
8273 fi
8274
8275     if test -n "$ac_tool_prefix"; then
8276   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8277 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_LIPO+:} false; then :
8281   $as_echo_n "(cached) " >&6
8282 else
8283   if test -n "$LIPO"; then
8284   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8288 do
8289   IFS=$as_save_IFS
8290   test -z "$as_dir" && as_dir=.
8291     for ac_exec_ext in '' $ac_executable_extensions; do
8292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295     break 2
8296   fi
8297 done
8298   done
8299 IFS=$as_save_IFS
8300
8301 fi
8302 fi
8303 LIPO=$ac_cv_prog_LIPO
8304 if test -n "$LIPO"; then
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8306 $as_echo "$LIPO" >&6; }
8307 else
8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8310 fi
8311
8312
8313 fi
8314 if test -z "$ac_cv_prog_LIPO"; then
8315   ac_ct_LIPO=$LIPO
8316   # Extract the first word of "lipo", so it can be a program name with args.
8317 set dummy lipo; ac_word=$2
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8319 $as_echo_n "checking for $ac_word... " >&6; }
8320 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8321   $as_echo_n "(cached) " >&6
8322 else
8323   if test -n "$ac_ct_LIPO"; then
8324   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8325 else
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 for as_dir in $PATH
8328 do
8329   IFS=$as_save_IFS
8330   test -z "$as_dir" && as_dir=.
8331     for ac_exec_ext in '' $ac_executable_extensions; do
8332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8333     ac_cv_prog_ac_ct_LIPO="lipo"
8334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8335     break 2
8336   fi
8337 done
8338   done
8339 IFS=$as_save_IFS
8340
8341 fi
8342 fi
8343 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8344 if test -n "$ac_ct_LIPO"; then
8345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8346 $as_echo "$ac_ct_LIPO" >&6; }
8347 else
8348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8349 $as_echo "no" >&6; }
8350 fi
8351
8352   if test "x$ac_ct_LIPO" = x; then
8353     LIPO=":"
8354   else
8355     case $cross_compiling:$ac_tool_warned in
8356 yes:)
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8359 ac_tool_warned=yes ;;
8360 esac
8361     LIPO=$ac_ct_LIPO
8362   fi
8363 else
8364   LIPO="$ac_cv_prog_LIPO"
8365 fi
8366
8367     if test -n "$ac_tool_prefix"; then
8368   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8369 set dummy ${ac_tool_prefix}otool; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8371 $as_echo_n "checking for $ac_word... " >&6; }
8372 if ${ac_cv_prog_OTOOL+:} false; then :
8373   $as_echo_n "(cached) " >&6
8374 else
8375   if test -n "$OTOOL"; then
8376   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8377 else
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 for as_dir in $PATH
8380 do
8381   IFS=$as_save_IFS
8382   test -z "$as_dir" && as_dir=.
8383     for ac_exec_ext in '' $ac_executable_extensions; do
8384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8385     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8387     break 2
8388   fi
8389 done
8390   done
8391 IFS=$as_save_IFS
8392
8393 fi
8394 fi
8395 OTOOL=$ac_cv_prog_OTOOL
8396 if test -n "$OTOOL"; then
8397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8398 $as_echo "$OTOOL" >&6; }
8399 else
8400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8402 fi
8403
8404
8405 fi
8406 if test -z "$ac_cv_prog_OTOOL"; then
8407   ac_ct_OTOOL=$OTOOL
8408   # Extract the first word of "otool", so it can be a program name with args.
8409 set dummy otool; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8411 $as_echo_n "checking for $ac_word... " >&6; }
8412 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8413   $as_echo_n "(cached) " >&6
8414 else
8415   if test -n "$ac_ct_OTOOL"; then
8416   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8417 else
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 for as_dir in $PATH
8420 do
8421   IFS=$as_save_IFS
8422   test -z "$as_dir" && as_dir=.
8423     for ac_exec_ext in '' $ac_executable_extensions; do
8424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425     ac_cv_prog_ac_ct_OTOOL="otool"
8426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8427     break 2
8428   fi
8429 done
8430   done
8431 IFS=$as_save_IFS
8432
8433 fi
8434 fi
8435 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8436 if test -n "$ac_ct_OTOOL"; then
8437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8438 $as_echo "$ac_ct_OTOOL" >&6; }
8439 else
8440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441 $as_echo "no" >&6; }
8442 fi
8443
8444   if test "x$ac_ct_OTOOL" = x; then
8445     OTOOL=":"
8446   else
8447     case $cross_compiling:$ac_tool_warned in
8448 yes:)
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8451 ac_tool_warned=yes ;;
8452 esac
8453     OTOOL=$ac_ct_OTOOL
8454   fi
8455 else
8456   OTOOL="$ac_cv_prog_OTOOL"
8457 fi
8458
8459     if test -n "$ac_tool_prefix"; then
8460   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8461 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8463 $as_echo_n "checking for $ac_word... " >&6; }
8464 if ${ac_cv_prog_OTOOL64+:} false; then :
8465   $as_echo_n "(cached) " >&6
8466 else
8467   if test -n "$OTOOL64"; then
8468   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8469 else
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8471 for as_dir in $PATH
8472 do
8473   IFS=$as_save_IFS
8474   test -z "$as_dir" && as_dir=.
8475     for ac_exec_ext in '' $ac_executable_extensions; do
8476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8477     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8479     break 2
8480   fi
8481 done
8482   done
8483 IFS=$as_save_IFS
8484
8485 fi
8486 fi
8487 OTOOL64=$ac_cv_prog_OTOOL64
8488 if test -n "$OTOOL64"; then
8489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8490 $as_echo "$OTOOL64" >&6; }
8491 else
8492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493 $as_echo "no" >&6; }
8494 fi
8495
8496
8497 fi
8498 if test -z "$ac_cv_prog_OTOOL64"; then
8499   ac_ct_OTOOL64=$OTOOL64
8500   # Extract the first word of "otool64", so it can be a program name with args.
8501 set dummy otool64; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8503 $as_echo_n "checking for $ac_word... " >&6; }
8504 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8505   $as_echo_n "(cached) " >&6
8506 else
8507   if test -n "$ac_ct_OTOOL64"; then
8508   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8509 else
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 for as_dir in $PATH
8512 do
8513   IFS=$as_save_IFS
8514   test -z "$as_dir" && as_dir=.
8515     for ac_exec_ext in '' $ac_executable_extensions; do
8516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8517     ac_cv_prog_ac_ct_OTOOL64="otool64"
8518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8519     break 2
8520   fi
8521 done
8522   done
8523 IFS=$as_save_IFS
8524
8525 fi
8526 fi
8527 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8528 if test -n "$ac_ct_OTOOL64"; then
8529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8530 $as_echo "$ac_ct_OTOOL64" >&6; }
8531 else
8532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533 $as_echo "no" >&6; }
8534 fi
8535
8536   if test "x$ac_ct_OTOOL64" = x; then
8537     OTOOL64=":"
8538   else
8539     case $cross_compiling:$ac_tool_warned in
8540 yes:)
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8543 ac_tool_warned=yes ;;
8544 esac
8545     OTOOL64=$ac_ct_OTOOL64
8546   fi
8547 else
8548   OTOOL64="$ac_cv_prog_OTOOL64"
8549 fi
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8578 $as_echo_n "checking for -single_module linker flag... " >&6; }
8579 if ${lt_cv_apple_cc_single_mod+:} false; then :
8580   $as_echo_n "(cached) " >&6
8581 else
8582   lt_cv_apple_cc_single_mod=no
8583       if test -z "${LT_MULTI_MODULE}"; then
8584         # By default we will add the -single_module flag. You can override
8585         # by either setting the environment variable LT_MULTI_MODULE
8586         # non-empty at configure time, or by adding -multi_module to the
8587         # link flags.
8588         rm -rf libconftest.dylib*
8589         echo "int foo(void){return 1;}" > conftest.c
8590         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8591 -dynamiclib -Wl,-single_module conftest.c" >&5
8592         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8593           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8594         _lt_result=$?
8595         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8596           lt_cv_apple_cc_single_mod=yes
8597         else
8598           cat conftest.err >&5
8599         fi
8600         rm -rf libconftest.dylib*
8601         rm -f conftest.*
8602       fi
8603 fi
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8605 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8607 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8608 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8609   $as_echo_n "(cached) " >&6
8610 else
8611   lt_cv_ld_exported_symbols_list=no
8612       save_LDFLAGS=$LDFLAGS
8613       echo "_main" > conftest.sym
8614       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h.  */
8617
8618 int
8619 main ()
8620 {
8621
8622   ;
8623   return 0;
8624 }
8625 _ACEOF
8626 if ac_fn_c_try_link "$LINENO"; then :
8627   lt_cv_ld_exported_symbols_list=yes
8628 else
8629   lt_cv_ld_exported_symbols_list=no
8630 fi
8631 rm -f core conftest.err conftest.$ac_objext \
8632     conftest$ac_exeext conftest.$ac_ext
8633         LDFLAGS="$save_LDFLAGS"
8634
8635 fi
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8637 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8639 $as_echo_n "checking for -force_load linker flag... " >&6; }
8640 if ${lt_cv_ld_force_load+:} false; then :
8641   $as_echo_n "(cached) " >&6
8642 else
8643   lt_cv_ld_force_load=no
8644       cat > conftest.c << _LT_EOF
8645 int forced_loaded() { return 2;}
8646 _LT_EOF
8647       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8648       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8649       echo "$AR cru libconftest.a conftest.o" >&5
8650       $AR cru libconftest.a conftest.o 2>&5
8651       echo "$RANLIB libconftest.a" >&5
8652       $RANLIB libconftest.a 2>&5
8653       cat > conftest.c << _LT_EOF
8654 int main() { return 0;}
8655 _LT_EOF
8656       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8657       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8658       _lt_result=$?
8659       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8660         lt_cv_ld_force_load=yes
8661       else
8662         cat conftest.err >&5
8663       fi
8664         rm -f conftest.err libconftest.a conftest conftest.c
8665         rm -rf conftest.dSYM
8666
8667 fi
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8669 $as_echo "$lt_cv_ld_force_load" >&6; }
8670     case $host_os in
8671     rhapsody* | darwin1.[012])
8672       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8673     darwin1.*)
8674       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8675     darwin*) # darwin 5.x on
8676       # if running on 10.5 or later, the deployment target defaults
8677       # to the OS version, if on x86, and 10.4, the deployment
8678       # target defaults to 10.4. Don't you love it?
8679       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8680         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8681           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8682         10.[012]*)
8683           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8684         10.*)
8685           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8686       esac
8687     ;;
8688   esac
8689     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8690       _lt_dar_single_mod='$single_module'
8691     fi
8692     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8693       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8694     else
8695       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8696     fi
8697     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8698       _lt_dsymutil='~$DSYMUTIL $lib || :'
8699     else
8700       _lt_dsymutil=
8701     fi
8702     ;;
8703   esac
8704
8705 for ac_header in dlfcn.h
8706 do :
8707   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8708 "
8709 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8710   cat >>confdefs.h <<_ACEOF
8711 #define HAVE_DLFCN_H 1
8712 _ACEOF
8713
8714 fi
8715
8716 done
8717
8718
8719
8720
8721
8722 # Set options
8723
8724
8725
8726
8727
8728             # Check whether --enable-shared was given.
8729 if test "${enable_shared+set}" = set; then :
8730   enableval=$enable_shared; p=${PACKAGE-default}
8731     case $enableval in
8732     yes) enable_shared=yes ;;
8733     no) enable_shared=no ;;
8734     *)
8735       enable_shared=no
8736       # Look at the argument we got.  We use all the common list separators.
8737       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8738       for pkg in $enableval; do
8739         IFS="$lt_save_ifs"
8740         if test "X$pkg" = "X$p"; then
8741           enable_shared=yes
8742         fi
8743       done
8744       IFS="$lt_save_ifs"
8745       ;;
8746     esac
8747 else
8748   enable_shared=yes
8749 fi
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759   # Check whether --enable-static was given.
8760 if test "${enable_static+set}" = set; then :
8761   enableval=$enable_static; p=${PACKAGE-default}
8762     case $enableval in
8763     yes) enable_static=yes ;;
8764     no) enable_static=no ;;
8765     *)
8766      enable_static=no
8767       # Look at the argument we got.  We use all the common list separators.
8768       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8769       for pkg in $enableval; do
8770         IFS="$lt_save_ifs"
8771         if test "X$pkg" = "X$p"; then
8772           enable_static=yes
8773         fi
8774       done
8775       IFS="$lt_save_ifs"
8776       ;;
8777     esac
8778 else
8779   enable_static=yes
8780 fi
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791 # Check whether --with-pic was given.
8792 if test "${with_pic+set}" = set; then :
8793   withval=$with_pic; pic_mode="$withval"
8794 else
8795   pic_mode=default
8796 fi
8797
8798
8799 test -z "$pic_mode" && pic_mode=default
8800
8801
8802
8803
8804
8805
8806
8807   # Check whether --enable-fast-install was given.
8808 if test "${enable_fast_install+set}" = set; then :
8809   enableval=$enable_fast_install; p=${PACKAGE-default}
8810     case $enableval in
8811     yes) enable_fast_install=yes ;;
8812     no) enable_fast_install=no ;;
8813     *)
8814       enable_fast_install=no
8815       # Look at the argument we got.  We use all the common list separators.
8816       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8817       for pkg in $enableval; do
8818         IFS="$lt_save_ifs"
8819         if test "X$pkg" = "X$p"; then
8820           enable_fast_install=yes
8821         fi
8822       done
8823       IFS="$lt_save_ifs"
8824       ;;
8825     esac
8826 else
8827   enable_fast_install=yes
8828 fi
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840 # This can be used to rebuild libtool when needed
8841 LIBTOOL_DEPS="$ltmain"
8842
8843 # Always use our own libtool.
8844 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871 test -z "$LN_S" && LN_S="ln -s"
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886 if test -n "${ZSH_VERSION+set}" ; then
8887    setopt NO_GLOB_SUBST
8888 fi
8889
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8891 $as_echo_n "checking for objdir... " >&6; }
8892 if ${lt_cv_objdir+:} false; then :
8893   $as_echo_n "(cached) " >&6
8894 else
8895   rm -f .libs 2>/dev/null
8896 mkdir .libs 2>/dev/null
8897 if test -d .libs; then
8898   lt_cv_objdir=.libs
8899 else
8900   # MS-DOS does not allow filenames that begin with a dot.
8901   lt_cv_objdir=_libs
8902 fi
8903 rmdir .libs 2>/dev/null
8904 fi
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8906 $as_echo "$lt_cv_objdir" >&6; }
8907 objdir=$lt_cv_objdir
8908
8909
8910
8911
8912
8913 cat >>confdefs.h <<_ACEOF
8914 #define LT_OBJDIR "$lt_cv_objdir/"
8915 _ACEOF
8916
8917
8918
8919
8920 case $host_os in
8921 aix3*)
8922   # AIX sometimes has problems with the GCC collect2 program.  For some
8923   # reason, if we set the COLLECT_NAMES environment variable, the problems
8924   # vanish in a puff of smoke.
8925   if test "X${COLLECT_NAMES+set}" != Xset; then
8926     COLLECT_NAMES=
8927     export COLLECT_NAMES
8928   fi
8929   ;;
8930 esac
8931
8932 # Global variables:
8933 ofile=libtool
8934 can_build_shared=yes
8935
8936 # All known linkers require a `.a' archive for static linking (except MSVC,
8937 # which needs '.lib').
8938 libext=a
8939
8940 with_gnu_ld="$lt_cv_prog_gnu_ld"
8941
8942 old_CC="$CC"
8943 old_CFLAGS="$CFLAGS"
8944
8945 # Set sane defaults for various variables
8946 test -z "$CC" && CC=cc
8947 test -z "$LTCC" && LTCC=$CC
8948 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8949 test -z "$LD" && LD=ld
8950 test -z "$ac_objext" && ac_objext=o
8951
8952 for cc_temp in $compiler""; do
8953   case $cc_temp in
8954     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8955     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8956     \-*) ;;
8957     *) break;;
8958   esac
8959 done
8960 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8961
8962
8963 # Only perform the check for file, if the check method requires it
8964 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8965 case $deplibs_check_method in
8966 file_magic*)
8967   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8968     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8969 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8970 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8971   $as_echo_n "(cached) " >&6
8972 else
8973   case $MAGIC_CMD in
8974 [\\/*] |  ?:[\\/]*)
8975   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8976   ;;
8977 *)
8978   lt_save_MAGIC_CMD="$MAGIC_CMD"
8979   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8980   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8981   for ac_dir in $ac_dummy; do
8982     IFS="$lt_save_ifs"
8983     test -z "$ac_dir" && ac_dir=.
8984     if test -f $ac_dir/${ac_tool_prefix}file; then
8985       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8986       if test -n "$file_magic_test_file"; then
8987         case $deplibs_check_method in
8988         "file_magic "*)
8989           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8990           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8991           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8992             $EGREP "$file_magic_regex" > /dev/null; then
8993             :
8994           else
8995             cat <<_LT_EOF 1>&2
8996
8997 *** Warning: the command libtool uses to detect shared libraries,
8998 *** $file_magic_cmd, produces output that libtool cannot recognize.
8999 *** The result is that libtool may fail to recognize shared libraries
9000 *** as such.  This will affect the creation of libtool libraries that
9001 *** depend on shared libraries, but programs linked with such libtool
9002 *** libraries will work regardless of this problem.  Nevertheless, you
9003 *** may want to report the problem to your system manager and/or to
9004 *** bug-libtool@gnu.org
9005
9006 _LT_EOF
9007           fi ;;
9008         esac
9009       fi
9010       break
9011     fi
9012   done
9013   IFS="$lt_save_ifs"
9014   MAGIC_CMD="$lt_save_MAGIC_CMD"
9015   ;;
9016 esac
9017 fi
9018
9019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9020 if test -n "$MAGIC_CMD"; then
9021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9022 $as_echo "$MAGIC_CMD" >&6; }
9023 else
9024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9025 $as_echo "no" >&6; }
9026 fi
9027
9028
9029
9030
9031
9032 if test -z "$lt_cv_path_MAGIC_CMD"; then
9033   if test -n "$ac_tool_prefix"; then
9034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9035 $as_echo_n "checking for file... " >&6; }
9036 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9037   $as_echo_n "(cached) " >&6
9038 else
9039   case $MAGIC_CMD in
9040 [\\/*] |  ?:[\\/]*)
9041   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9042   ;;
9043 *)
9044   lt_save_MAGIC_CMD="$MAGIC_CMD"
9045   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9046   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9047   for ac_dir in $ac_dummy; do
9048     IFS="$lt_save_ifs"
9049     test -z "$ac_dir" && ac_dir=.
9050     if test -f $ac_dir/file; then
9051       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9052       if test -n "$file_magic_test_file"; then
9053         case $deplibs_check_method in
9054         "file_magic "*)
9055           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9056           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9057           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9058             $EGREP "$file_magic_regex" > /dev/null; then
9059             :
9060           else
9061             cat <<_LT_EOF 1>&2
9062
9063 *** Warning: the command libtool uses to detect shared libraries,
9064 *** $file_magic_cmd, produces output that libtool cannot recognize.
9065 *** The result is that libtool may fail to recognize shared libraries
9066 *** as such.  This will affect the creation of libtool libraries that
9067 *** depend on shared libraries, but programs linked with such libtool
9068 *** libraries will work regardless of this problem.  Nevertheless, you
9069 *** may want to report the problem to your system manager and/or to
9070 *** bug-libtool@gnu.org
9071
9072 _LT_EOF
9073           fi ;;
9074         esac
9075       fi
9076       break
9077     fi
9078   done
9079   IFS="$lt_save_ifs"
9080   MAGIC_CMD="$lt_save_MAGIC_CMD"
9081   ;;
9082 esac
9083 fi
9084
9085 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9086 if test -n "$MAGIC_CMD"; then
9087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9088 $as_echo "$MAGIC_CMD" >&6; }
9089 else
9090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9092 fi
9093
9094
9095   else
9096     MAGIC_CMD=:
9097   fi
9098 fi
9099
9100   fi
9101   ;;
9102 esac
9103
9104 # Use C for the default configuration in the libtool script
9105
9106 lt_save_CC="$CC"
9107 ac_ext=c
9108 ac_cpp='$CPP $CPPFLAGS'
9109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9112
9113
9114 # Source file extension for C test sources.
9115 ac_ext=c
9116
9117 # Object file extension for compiled C test sources.
9118 objext=o
9119 objext=$objext
9120
9121 # Code to be used in simple compile tests
9122 lt_simple_compile_test_code="int some_variable = 0;"
9123
9124 # Code to be used in simple link tests
9125 lt_simple_link_test_code='int main(){return(0);}'
9126
9127
9128
9129
9130
9131
9132
9133 # If no C compiler was specified, use CC.
9134 LTCC=${LTCC-"$CC"}
9135
9136 # If no C compiler flags were specified, use CFLAGS.
9137 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9138
9139 # Allow CC to be a program name with arguments.
9140 compiler=$CC
9141
9142 # Save the default compiler, since it gets overwritten when the other
9143 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9144 compiler_DEFAULT=$CC
9145
9146 # save warnings/boilerplate of simple test code
9147 ac_outfile=conftest.$ac_objext
9148 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9149 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9150 _lt_compiler_boilerplate=`cat conftest.err`
9151 $RM conftest*
9152
9153 ac_outfile=conftest.$ac_objext
9154 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9155 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9156 _lt_linker_boilerplate=`cat conftest.err`
9157 $RM -r conftest*
9158
9159
9160 if test -n "$compiler"; then
9161
9162 lt_prog_compiler_no_builtin_flag=
9163
9164 if test "$GCC" = yes; then
9165   case $cc_basename in
9166   nvcc*)
9167     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9168   *)
9169     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9170   esac
9171
9172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9173 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9174 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9175   $as_echo_n "(cached) " >&6
9176 else
9177   lt_cv_prog_compiler_rtti_exceptions=no
9178    ac_outfile=conftest.$ac_objext
9179    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9180    lt_compiler_flag="-fno-rtti -fno-exceptions"
9181    # Insert the option either (1) after the last *FLAGS variable, or
9182    # (2) before a word containing "conftest.", or (3) at the end.
9183    # Note that $ac_compile itself does not contain backslashes and begins
9184    # with a dollar sign (not a hyphen), so the echo should work correctly.
9185    # The option is referenced via a variable to avoid confusing sed.
9186    lt_compile=`echo "$ac_compile" | $SED \
9187    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9188    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9189    -e 's:$: $lt_compiler_flag:'`
9190    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9191    (eval "$lt_compile" 2>conftest.err)
9192    ac_status=$?
9193    cat conftest.err >&5
9194    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195    if (exit $ac_status) && test -s "$ac_outfile"; then
9196      # The compiler can only warn and ignore the option if not recognized
9197      # So say no if there are warnings other than the usual output.
9198      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9199      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9200      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9201        lt_cv_prog_compiler_rtti_exceptions=yes
9202      fi
9203    fi
9204    $RM conftest*
9205
9206 fi
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9208 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9209
9210 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9211     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9212 else
9213     :
9214 fi
9215
9216 fi
9217
9218
9219
9220
9221
9222
9223   lt_prog_compiler_wl=
9224 lt_prog_compiler_pic=
9225 lt_prog_compiler_static=
9226
9227
9228   if test "$GCC" = yes; then
9229     lt_prog_compiler_wl='-Wl,'
9230     lt_prog_compiler_static='-static'
9231
9232     case $host_os in
9233       aix*)
9234       # All AIX code is PIC.
9235       if test "$host_cpu" = ia64; then
9236         # AIX 5 now supports IA64 processor
9237         lt_prog_compiler_static='-Bstatic'
9238       fi
9239       ;;
9240
9241     amigaos*)
9242       case $host_cpu in
9243       powerpc)
9244             # see comment about AmigaOS4 .so support
9245             lt_prog_compiler_pic='-fPIC'
9246         ;;
9247       m68k)
9248             # FIXME: we need at least 68020 code to build shared libraries, but
9249             # adding the `-m68020' flag to GCC prevents building anything better,
9250             # like `-m68040'.
9251             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9252         ;;
9253       esac
9254       ;;
9255
9256     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9257       # PIC is the default for these OSes.
9258       ;;
9259
9260     mingw* | cygwin* | pw32* | os2* | cegcc*)
9261       # This hack is so that the source file can tell whether it is being
9262       # built for inclusion in a dll (and should export symbols for example).
9263       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9264       # (--disable-auto-import) libraries
9265       lt_prog_compiler_pic='-DDLL_EXPORT'
9266       ;;
9267
9268     darwin* | rhapsody*)
9269       # PIC is the default on this platform
9270       # Common symbols not allowed in MH_DYLIB files
9271       lt_prog_compiler_pic='-fno-common'
9272       ;;
9273
9274     haiku*)
9275       # PIC is the default for Haiku.
9276       # The "-static" flag exists, but is broken.
9277       lt_prog_compiler_static=
9278       ;;
9279
9280     hpux*)
9281       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9282       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9283       # sets the default TLS model and affects inlining.
9284       case $host_cpu in
9285       hppa*64*)
9286         # +Z the default
9287         ;;
9288       *)
9289         lt_prog_compiler_pic='-fPIC'
9290         ;;
9291       esac
9292       ;;
9293
9294     interix[3-9]*)
9295       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9296       # Instead, we relocate shared libraries at runtime.
9297       ;;
9298
9299     msdosdjgpp*)
9300       # Just because we use GCC doesn't mean we suddenly get shared libraries
9301       # on systems that don't support them.
9302       lt_prog_compiler_can_build_shared=no
9303       enable_shared=no
9304       ;;
9305
9306     *nto* | *qnx*)
9307       # QNX uses GNU C++, but need to define -shared option too, otherwise
9308       # it will coredump.
9309       lt_prog_compiler_pic='-fPIC -shared'
9310       ;;
9311
9312     sysv4*MP*)
9313       if test -d /usr/nec; then
9314         lt_prog_compiler_pic=-Kconform_pic
9315       fi
9316       ;;
9317
9318     *)
9319       lt_prog_compiler_pic='-fPIC'
9320       ;;
9321     esac
9322
9323     case $cc_basename in
9324     nvcc*) # Cuda Compiler Driver 2.2
9325       lt_prog_compiler_wl='-Xlinker '
9326       lt_prog_compiler_pic='-Xcompiler -fPIC'
9327       ;;
9328     esac
9329   else
9330     # PORTME Check for flag to pass linker flags through the system compiler.
9331     case $host_os in
9332     aix*)
9333       lt_prog_compiler_wl='-Wl,'
9334       if test "$host_cpu" = ia64; then
9335         # AIX 5 now supports IA64 processor
9336         lt_prog_compiler_static='-Bstatic'
9337       else
9338         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9339       fi
9340       ;;
9341
9342     mingw* | cygwin* | pw32* | os2* | cegcc*)
9343       # This hack is so that the source file can tell whether it is being
9344       # built for inclusion in a dll (and should export symbols for example).
9345       lt_prog_compiler_pic='-DDLL_EXPORT'
9346       ;;
9347
9348     hpux9* | hpux10* | hpux11*)
9349       lt_prog_compiler_wl='-Wl,'
9350       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9351       # not for PA HP-UX.
9352       case $host_cpu in
9353       hppa*64*|ia64*)
9354         # +Z the default
9355         ;;
9356       *)
9357         lt_prog_compiler_pic='+Z'
9358         ;;
9359       esac
9360       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9361       lt_prog_compiler_static='${wl}-a ${wl}archive'
9362       ;;
9363
9364     irix5* | irix6* | nonstopux*)
9365       lt_prog_compiler_wl='-Wl,'
9366       # PIC (with -KPIC) is the default.
9367       lt_prog_compiler_static='-non_shared'
9368       ;;
9369
9370     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9371       case $cc_basename in
9372       # old Intel for x86_64 which still supported -KPIC.
9373       ecc*)
9374         lt_prog_compiler_wl='-Wl,'
9375         lt_prog_compiler_pic='-KPIC'
9376         lt_prog_compiler_static='-static'
9377         ;;
9378       # icc used to be incompatible with GCC.
9379       # ICC 10 doesn't accept -KPIC any more.
9380       icc* | ifort*)
9381         lt_prog_compiler_wl='-Wl,'
9382         lt_prog_compiler_pic='-fPIC'
9383         lt_prog_compiler_static='-static'
9384         ;;
9385       # Lahey Fortran 8.1.
9386       lf95*)
9387         lt_prog_compiler_wl='-Wl,'
9388         lt_prog_compiler_pic='--shared'
9389         lt_prog_compiler_static='--static'
9390         ;;
9391       nagfor*)
9392         # NAG Fortran compiler
9393         lt_prog_compiler_wl='-Wl,-Wl,,'
9394         lt_prog_compiler_pic='-PIC'
9395         lt_prog_compiler_static='-Bstatic'
9396         ;;
9397       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9398         # Portland Group compilers (*not* the Pentium gcc compiler,
9399         # which looks to be a dead project)
9400         lt_prog_compiler_wl='-Wl,'
9401         lt_prog_compiler_pic='-fpic'
9402         lt_prog_compiler_static='-Bstatic'
9403         ;;
9404       ccc*)
9405         lt_prog_compiler_wl='-Wl,'
9406         # All Alpha code is PIC.
9407         lt_prog_compiler_static='-non_shared'
9408         ;;
9409       xl* | bgxl* | bgf* | mpixl*)
9410         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9411         lt_prog_compiler_wl='-Wl,'
9412         lt_prog_compiler_pic='-qpic'
9413         lt_prog_compiler_static='-qstaticlink'
9414         ;;
9415       *)
9416         case `$CC -V 2>&1 | sed 5q` in
9417         *Sun\ F* | *Sun*Fortran*)
9418           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9419           lt_prog_compiler_pic='-KPIC'
9420           lt_prog_compiler_static='-Bstatic'
9421           lt_prog_compiler_wl=''
9422           ;;
9423         *Sun\ C*)
9424           # Sun C 5.9
9425           lt_prog_compiler_pic='-KPIC'
9426           lt_prog_compiler_static='-Bstatic'
9427           lt_prog_compiler_wl='-Wl,'
9428           ;;
9429         esac
9430         ;;
9431       esac
9432       ;;
9433
9434     newsos6)
9435       lt_prog_compiler_pic='-KPIC'
9436       lt_prog_compiler_static='-Bstatic'
9437       ;;
9438
9439     *nto* | *qnx*)
9440       # QNX uses GNU C++, but need to define -shared option too, otherwise
9441       # it will coredump.
9442       lt_prog_compiler_pic='-fPIC -shared'
9443       ;;
9444
9445     osf3* | osf4* | osf5*)
9446       lt_prog_compiler_wl='-Wl,'
9447       # All OSF/1 code is PIC.
9448       lt_prog_compiler_static='-non_shared'
9449       ;;
9450
9451     rdos*)
9452       lt_prog_compiler_static='-non_shared'
9453       ;;
9454
9455     solaris*)
9456       lt_prog_compiler_pic='-KPIC'
9457       lt_prog_compiler_static='-Bstatic'
9458       case $cc_basename in
9459       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9460         lt_prog_compiler_wl='-Qoption ld ';;
9461       *)
9462         lt_prog_compiler_wl='-Wl,';;
9463       esac
9464       ;;
9465
9466     sunos4*)
9467       lt_prog_compiler_wl='-Qoption ld '
9468       lt_prog_compiler_pic='-PIC'
9469       lt_prog_compiler_static='-Bstatic'
9470       ;;
9471
9472     sysv4 | sysv4.2uw2* | sysv4.3*)
9473       lt_prog_compiler_wl='-Wl,'
9474       lt_prog_compiler_pic='-KPIC'
9475       lt_prog_compiler_static='-Bstatic'
9476       ;;
9477
9478     sysv4*MP*)
9479       if test -d /usr/nec ;then
9480         lt_prog_compiler_pic='-Kconform_pic'
9481         lt_prog_compiler_static='-Bstatic'
9482       fi
9483       ;;
9484
9485     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9486       lt_prog_compiler_wl='-Wl,'
9487       lt_prog_compiler_pic='-KPIC'
9488       lt_prog_compiler_static='-Bstatic'
9489       ;;
9490
9491     unicos*)
9492       lt_prog_compiler_wl='-Wl,'
9493       lt_prog_compiler_can_build_shared=no
9494       ;;
9495
9496     uts4*)
9497       lt_prog_compiler_pic='-pic'
9498       lt_prog_compiler_static='-Bstatic'
9499       ;;
9500
9501     *)
9502       lt_prog_compiler_can_build_shared=no
9503       ;;
9504     esac
9505   fi
9506
9507 case $host_os in
9508   # For platforms which do not support PIC, -DPIC is meaningless:
9509   *djgpp*)
9510     lt_prog_compiler_pic=
9511     ;;
9512   *)
9513     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9514     ;;
9515 esac
9516
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9518 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9519 if ${lt_cv_prog_compiler_pic+:} false; then :
9520   $as_echo_n "(cached) " >&6
9521 else
9522   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9523 fi
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9525 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9526 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9527
9528 #
9529 # Check to make sure the PIC flag actually works.
9530 #
9531 if test -n "$lt_prog_compiler_pic"; then
9532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9533 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9534 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9535   $as_echo_n "(cached) " >&6
9536 else
9537   lt_cv_prog_compiler_pic_works=no
9538    ac_outfile=conftest.$ac_objext
9539    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9540    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9541    # Insert the option either (1) after the last *FLAGS variable, or
9542    # (2) before a word containing "conftest.", or (3) at the end.
9543    # Note that $ac_compile itself does not contain backslashes and begins
9544    # with a dollar sign (not a hyphen), so the echo should work correctly.
9545    # The option is referenced via a variable to avoid confusing sed.
9546    lt_compile=`echo "$ac_compile" | $SED \
9547    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9548    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9549    -e 's:$: $lt_compiler_flag:'`
9550    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9551    (eval "$lt_compile" 2>conftest.err)
9552    ac_status=$?
9553    cat conftest.err >&5
9554    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555    if (exit $ac_status) && test -s "$ac_outfile"; then
9556      # The compiler can only warn and ignore the option if not recognized
9557      # So say no if there are warnings other than the usual output.
9558      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9559      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9560      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9561        lt_cv_prog_compiler_pic_works=yes
9562      fi
9563    fi
9564    $RM conftest*
9565
9566 fi
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9568 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9569
9570 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9571     case $lt_prog_compiler_pic in
9572      "" | " "*) ;;
9573      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9574      esac
9575 else
9576     lt_prog_compiler_pic=
9577      lt_prog_compiler_can_build_shared=no
9578 fi
9579
9580 fi
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592 #
9593 # Check to make sure the static flag actually works.
9594 #
9595 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9597 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9598 if ${lt_cv_prog_compiler_static_works+:} false; then :
9599   $as_echo_n "(cached) " >&6
9600 else
9601   lt_cv_prog_compiler_static_works=no
9602    save_LDFLAGS="$LDFLAGS"
9603    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9604    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9605    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9606      # The linker can only warn and ignore the option if not recognized
9607      # So say no if there are warnings
9608      if test -s conftest.err; then
9609        # Append any errors to the config.log.
9610        cat conftest.err 1>&5
9611        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9612        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9613        if diff conftest.exp conftest.er2 >/dev/null; then
9614          lt_cv_prog_compiler_static_works=yes
9615        fi
9616      else
9617        lt_cv_prog_compiler_static_works=yes
9618      fi
9619    fi
9620    $RM -r conftest*
9621    LDFLAGS="$save_LDFLAGS"
9622
9623 fi
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9625 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9626
9627 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9628     :
9629 else
9630     lt_prog_compiler_static=
9631 fi
9632
9633
9634
9635
9636
9637
9638
9639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9641 if ${lt_cv_prog_compiler_c_o+:} false; then :
9642   $as_echo_n "(cached) " >&6
9643 else
9644   lt_cv_prog_compiler_c_o=no
9645    $RM -r conftest 2>/dev/null
9646    mkdir conftest
9647    cd conftest
9648    mkdir out
9649    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9650
9651    lt_compiler_flag="-o out/conftest2.$ac_objext"
9652    # Insert the option either (1) after the last *FLAGS variable, or
9653    # (2) before a word containing "conftest.", or (3) at the end.
9654    # Note that $ac_compile itself does not contain backslashes and begins
9655    # with a dollar sign (not a hyphen), so the echo should work correctly.
9656    lt_compile=`echo "$ac_compile" | $SED \
9657    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9658    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9659    -e 's:$: $lt_compiler_flag:'`
9660    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9661    (eval "$lt_compile" 2>out/conftest.err)
9662    ac_status=$?
9663    cat out/conftest.err >&5
9664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9666    then
9667      # The compiler can only warn and ignore the option if not recognized
9668      # So say no if there are warnings
9669      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9670      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9671      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9672        lt_cv_prog_compiler_c_o=yes
9673      fi
9674    fi
9675    chmod u+w . 2>&5
9676    $RM conftest*
9677    # SGI C++ compiler will create directory out/ii_files/ for
9678    # template instantiation
9679    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9680    $RM out/* && rmdir out
9681    cd ..
9682    $RM -r conftest
9683    $RM conftest*
9684
9685 fi
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9687 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9688
9689
9690
9691
9692
9693
9694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9696 if ${lt_cv_prog_compiler_c_o+:} false; then :
9697   $as_echo_n "(cached) " >&6
9698 else
9699   lt_cv_prog_compiler_c_o=no
9700    $RM -r conftest 2>/dev/null
9701    mkdir conftest
9702    cd conftest
9703    mkdir out
9704    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9705
9706    lt_compiler_flag="-o out/conftest2.$ac_objext"
9707    # Insert the option either (1) after the last *FLAGS variable, or
9708    # (2) before a word containing "conftest.", or (3) at the end.
9709    # Note that $ac_compile itself does not contain backslashes and begins
9710    # with a dollar sign (not a hyphen), so the echo should work correctly.
9711    lt_compile=`echo "$ac_compile" | $SED \
9712    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9713    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9714    -e 's:$: $lt_compiler_flag:'`
9715    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9716    (eval "$lt_compile" 2>out/conftest.err)
9717    ac_status=$?
9718    cat out/conftest.err >&5
9719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9721    then
9722      # The compiler can only warn and ignore the option if not recognized
9723      # So say no if there are warnings
9724      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9725      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9726      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9727        lt_cv_prog_compiler_c_o=yes
9728      fi
9729    fi
9730    chmod u+w . 2>&5
9731    $RM conftest*
9732    # SGI C++ compiler will create directory out/ii_files/ for
9733    # template instantiation
9734    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9735    $RM out/* && rmdir out
9736    cd ..
9737    $RM -r conftest
9738    $RM conftest*
9739
9740 fi
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9742 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9743
9744
9745
9746
9747 hard_links="nottested"
9748 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9749   # do not overwrite the value of need_locks provided by the user
9750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9751 $as_echo_n "checking if we can lock with hard links... " >&6; }
9752   hard_links=yes
9753   $RM conftest*
9754   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9755   touch conftest.a
9756   ln conftest.a conftest.b 2>&5 || hard_links=no
9757   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9759 $as_echo "$hard_links" >&6; }
9760   if test "$hard_links" = no; then
9761     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9762 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9763     need_locks=warn
9764   fi
9765 else
9766   need_locks=no
9767 fi
9768
9769
9770
9771
9772
9773
9774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9775 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9776
9777   runpath_var=
9778   allow_undefined_flag=
9779   always_export_symbols=no
9780   archive_cmds=
9781   archive_expsym_cmds=
9782   compiler_needs_object=no
9783   enable_shared_with_static_runtimes=no
9784   export_dynamic_flag_spec=
9785   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9786   hardcode_automatic=no
9787   hardcode_direct=no
9788   hardcode_direct_absolute=no
9789   hardcode_libdir_flag_spec=
9790   hardcode_libdir_flag_spec_ld=
9791   hardcode_libdir_separator=
9792   hardcode_minus_L=no
9793   hardcode_shlibpath_var=unsupported
9794   inherit_rpath=no
9795   link_all_deplibs=unknown
9796   module_cmds=
9797   module_expsym_cmds=
9798   old_archive_from_new_cmds=
9799   old_archive_from_expsyms_cmds=
9800   thread_safe_flag_spec=
9801   whole_archive_flag_spec=
9802   # include_expsyms should be a list of space-separated symbols to be *always*
9803   # included in the symbol list
9804   include_expsyms=
9805   # exclude_expsyms can be an extended regexp of symbols to exclude
9806   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9807   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9808   # as well as any symbol that contains `d'.
9809   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9810   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9811   # platforms (ab)use it in PIC code, but their linkers get confused if
9812   # the symbol is explicitly referenced.  Since portable code cannot
9813   # rely on this symbol name, it's probably fine to never include it in
9814   # preloaded symbol tables.
9815   # Exclude shared library initialization/finalization symbols.
9816   extract_expsyms_cmds=
9817
9818   case $host_os in
9819   cygwin* | mingw* | pw32* | cegcc*)
9820     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9821     # When not using gcc, we currently assume that we are using
9822     # Microsoft Visual C++.
9823     if test "$GCC" != yes; then
9824       with_gnu_ld=no
9825     fi
9826     ;;
9827   interix*)
9828     # we just hope/assume this is gcc and not c89 (= MSVC++)
9829     with_gnu_ld=yes
9830     ;;
9831   openbsd*)
9832     with_gnu_ld=no
9833     ;;
9834   esac
9835
9836   ld_shlibs=yes
9837
9838   # On some targets, GNU ld is compatible enough with the native linker
9839   # that we're better off using the native interface for both.
9840   lt_use_gnu_ld_interface=no
9841   if test "$with_gnu_ld" = yes; then
9842     case $host_os in
9843       aix*)
9844         # The AIX port of GNU ld has always aspired to compatibility
9845         # with the native linker.  However, as the warning in the GNU ld
9846         # block says, versions before 2.19.5* couldn't really create working
9847         # shared libraries, regardless of the interface used.
9848         case `$LD -v 2>&1` in
9849           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9850           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9851           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9852           *)
9853             lt_use_gnu_ld_interface=yes
9854             ;;
9855         esac
9856         ;;
9857       *)
9858         lt_use_gnu_ld_interface=yes
9859         ;;
9860     esac
9861   fi
9862
9863   if test "$lt_use_gnu_ld_interface" = yes; then
9864     # If archive_cmds runs LD, not CC, wlarc should be empty
9865     wlarc='${wl}'
9866
9867     # Set some defaults for GNU ld with shared library support. These
9868     # are reset later if shared libraries are not supported. Putting them
9869     # here allows them to be overridden if necessary.
9870     runpath_var=LD_RUN_PATH
9871     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9872     export_dynamic_flag_spec='${wl}--export-dynamic'
9873     # ancient GNU ld didn't support --whole-archive et. al.
9874     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9875       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9876     else
9877       whole_archive_flag_spec=
9878     fi
9879     supports_anon_versioning=no
9880     case `$LD -v 2>&1` in
9881       *GNU\ gold*) supports_anon_versioning=yes ;;
9882       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9883       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9884       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9885       *\ 2.11.*) ;; # other 2.11 versions
9886       *) supports_anon_versioning=yes ;;
9887     esac
9888
9889     # See if GNU ld supports shared libraries.
9890     case $host_os in
9891     aix[3-9]*)
9892       # On AIX/PPC, the GNU linker is very broken
9893       if test "$host_cpu" != ia64; then
9894         ld_shlibs=no
9895         cat <<_LT_EOF 1>&2
9896
9897 *** Warning: the GNU linker, at least up to release 2.19, is reported
9898 *** to be unable to reliably create shared libraries on AIX.
9899 *** Therefore, libtool is disabling shared libraries support.  If you
9900 *** really care for shared libraries, you may want to install binutils
9901 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9902 *** You will then need to restart the configuration process.
9903
9904 _LT_EOF
9905       fi
9906       ;;
9907
9908     amigaos*)
9909       case $host_cpu in
9910       powerpc)
9911             # see comment about AmigaOS4 .so support
9912             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9913             archive_expsym_cmds=''
9914         ;;
9915       m68k)
9916             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)'
9917             hardcode_libdir_flag_spec='-L$libdir'
9918             hardcode_minus_L=yes
9919         ;;
9920       esac
9921       ;;
9922
9923     beos*)
9924       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9925         allow_undefined_flag=unsupported
9926         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9927         # support --undefined.  This deserves some investigation.  FIXME
9928         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9929       else
9930         ld_shlibs=no
9931       fi
9932       ;;
9933
9934     cygwin* | mingw* | pw32* | cegcc*)
9935       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9936       # as there is no search path for DLLs.
9937       hardcode_libdir_flag_spec='-L$libdir'
9938       export_dynamic_flag_spec='${wl}--export-all-symbols'
9939       allow_undefined_flag=unsupported
9940       always_export_symbols=no
9941       enable_shared_with_static_runtimes=yes
9942       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'
9943       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9944
9945       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9946         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9947         # If the export-symbols file already is a .def file (1st line
9948         # is EXPORTS), use it as is; otherwise, prepend...
9949         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9950           cp $export_symbols $output_objdir/$soname.def;
9951         else
9952           echo EXPORTS > $output_objdir/$soname.def;
9953           cat $export_symbols >> $output_objdir/$soname.def;
9954         fi~
9955         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9956       else
9957         ld_shlibs=no
9958       fi
9959       ;;
9960
9961     haiku*)
9962       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963       link_all_deplibs=yes
9964       ;;
9965
9966     interix[3-9]*)
9967       hardcode_direct=no
9968       hardcode_shlibpath_var=no
9969       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9970       export_dynamic_flag_spec='${wl}-E'
9971       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9972       # Instead, shared libraries are loaded at an image base (0x10000000 by
9973       # default) and relocated if they conflict, which is a slow very memory
9974       # consuming and fragmenting process.  To avoid this, we pick a random,
9975       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9976       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9977       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9978       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'
9979       ;;
9980
9981     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9982       tmp_diet=no
9983       if test "$host_os" = linux-dietlibc; then
9984         case $cc_basename in
9985           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9986         esac
9987       fi
9988       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9989          && test "$tmp_diet" = no
9990       then
9991         tmp_addflag=' $pic_flag'
9992         tmp_sharedflag='-shared'
9993         case $cc_basename,$host_cpu in
9994         pgcc*)                          # Portland Group C compiler
9995           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'
9996           tmp_addflag=' $pic_flag'
9997           ;;
9998         pgf77* | pgf90* | pgf95* | pgfortran*)
9999                                         # Portland Group f77 and f90 compilers
10000           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'
10001           tmp_addflag=' $pic_flag -Mnomain' ;;
10002         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10003           tmp_addflag=' -i_dynamic' ;;
10004         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10005           tmp_addflag=' -i_dynamic -nofor_main' ;;
10006         ifc* | ifort*)                  # Intel Fortran compiler
10007           tmp_addflag=' -nofor_main' ;;
10008         lf95*)                          # Lahey Fortran 8.1
10009           whole_archive_flag_spec=
10010           tmp_sharedflag='--shared' ;;
10011         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10012           tmp_sharedflag='-qmkshrobj'
10013           tmp_addflag= ;;
10014         nvcc*)  # Cuda Compiler Driver 2.2
10015           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'
10016           compiler_needs_object=yes
10017           ;;
10018         esac
10019         case `$CC -V 2>&1 | sed 5q` in
10020         *Sun\ C*)                       # Sun C 5.9
10021           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'
10022           compiler_needs_object=yes
10023           tmp_sharedflag='-G' ;;
10024         *Sun\ F*)                       # Sun Fortran 8.3
10025           tmp_sharedflag='-G' ;;
10026         esac
10027         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028
10029         if test "x$supports_anon_versioning" = xyes; then
10030           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10031             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10032             echo "local: *; };" >> $output_objdir/$libname.ver~
10033             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10034         fi
10035
10036         case $cc_basename in
10037         xlf* | bgf* | bgxlf* | mpixlf*)
10038           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10039           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10040           hardcode_libdir_flag_spec=
10041           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10042           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10043           if test "x$supports_anon_versioning" = xyes; then
10044             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10045               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10046               echo "local: *; };" >> $output_objdir/$libname.ver~
10047               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10048           fi
10049           ;;
10050         esac
10051       else
10052         ld_shlibs=no
10053       fi
10054       ;;
10055
10056     netbsd*)
10057       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10058         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10059         wlarc=
10060       else
10061         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10062         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10063       fi
10064       ;;
10065
10066     solaris*)
10067       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10068         ld_shlibs=no
10069         cat <<_LT_EOF 1>&2
10070
10071 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10072 *** create shared libraries on Solaris systems.  Therefore, libtool
10073 *** is disabling shared libraries support.  We urge you to upgrade GNU
10074 *** binutils to release 2.9.1 or newer.  Another option is to modify
10075 *** your PATH or compiler configuration so that the native linker is
10076 *** used, and then restart.
10077
10078 _LT_EOF
10079       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10080         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10082       else
10083         ld_shlibs=no
10084       fi
10085       ;;
10086
10087     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10088       case `$LD -v 2>&1` in
10089         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10090         ld_shlibs=no
10091         cat <<_LT_EOF 1>&2
10092
10093 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10094 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10095 *** is disabling shared libraries support.  We urge you to upgrade GNU
10096 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10097 *** your PATH or compiler configuration so that the native linker is
10098 *** used, and then restart.
10099
10100 _LT_EOF
10101         ;;
10102         *)
10103           # For security reasons, it is highly recommended that you always
10104           # use absolute paths for naming shared libraries, and exclude the
10105           # DT_RUNPATH tag from executables and libraries.  But doing so
10106           # requires that you compile everything twice, which is a pain.
10107           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10108             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10109             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10110             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10111           else
10112             ld_shlibs=no
10113           fi
10114         ;;
10115       esac
10116       ;;
10117
10118     sunos4*)
10119       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10120       wlarc=
10121       hardcode_direct=yes
10122       hardcode_shlibpath_var=no
10123       ;;
10124
10125     *)
10126       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10127         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10128         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10129       else
10130         ld_shlibs=no
10131       fi
10132       ;;
10133     esac
10134
10135     if test "$ld_shlibs" = no; then
10136       runpath_var=
10137       hardcode_libdir_flag_spec=
10138       export_dynamic_flag_spec=
10139       whole_archive_flag_spec=
10140     fi
10141   else
10142     # PORTME fill in a description of your system's linker (not GNU ld)
10143     case $host_os in
10144     aix3*)
10145       allow_undefined_flag=unsupported
10146       always_export_symbols=yes
10147       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'
10148       # Note: this linker hardcodes the directories in LIBPATH if there
10149       # are no directories specified by -L.
10150       hardcode_minus_L=yes
10151       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10152         # Neither direct hardcoding nor static linking is supported with a
10153         # broken collect2.
10154         hardcode_direct=unsupported
10155       fi
10156       ;;
10157
10158     aix[4-9]*)
10159       if test "$host_cpu" = ia64; then
10160         # On IA64, the linker does run time linking by default, so we don't
10161         # have to do anything special.
10162         aix_use_runtimelinking=no
10163         exp_sym_flag='-Bexport'
10164         no_entry_flag=""
10165       else
10166         # If we're using GNU nm, then we don't want the "-C" option.
10167         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10168         # Also, AIX nm treats weak defined symbols like other global
10169         # defined symbols, whereas GNU nm marks them as "W".
10170         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10171           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10172         else
10173           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10174         fi
10175         aix_use_runtimelinking=no
10176
10177         # Test if we are trying to use run time linking or normal
10178         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10179         # need to do runtime linking.
10180         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10181           for ld_flag in $LDFLAGS; do
10182           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10183             aix_use_runtimelinking=yes
10184             break
10185           fi
10186           done
10187           ;;
10188         esac
10189
10190         exp_sym_flag='-bexport'
10191         no_entry_flag='-bnoentry'
10192       fi
10193
10194       # When large executables or shared objects are built, AIX ld can
10195       # have problems creating the table of contents.  If linking a library
10196       # or program results in "error TOC overflow" add -mminimal-toc to
10197       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10198       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10199
10200       archive_cmds=''
10201       hardcode_direct=yes
10202       hardcode_direct_absolute=yes
10203       hardcode_libdir_separator=':'
10204       link_all_deplibs=yes
10205       file_list_spec='${wl}-f,'
10206
10207       if test "$GCC" = yes; then
10208         case $host_os in aix4.[012]|aix4.[012].*)
10209         # We only want to do this on AIX 4.2 and lower, the check
10210         # below for broken collect2 doesn't work under 4.3+
10211           collect2name=`${CC} -print-prog-name=collect2`
10212           if test -f "$collect2name" &&
10213            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10214           then
10215           # We have reworked collect2
10216           :
10217           else
10218           # We have old collect2
10219           hardcode_direct=unsupported
10220           # It fails to find uninstalled libraries when the uninstalled
10221           # path is not listed in the libpath.  Setting hardcode_minus_L
10222           # to unsupported forces relinking
10223           hardcode_minus_L=yes
10224           hardcode_libdir_flag_spec='-L$libdir'
10225           hardcode_libdir_separator=
10226           fi
10227           ;;
10228         esac
10229         shared_flag='-shared'
10230         if test "$aix_use_runtimelinking" = yes; then
10231           shared_flag="$shared_flag "'${wl}-G'
10232         fi
10233       else
10234         # not using gcc
10235         if test "$host_cpu" = ia64; then
10236         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10237         # chokes on -Wl,-G. The following line is correct:
10238           shared_flag='-G'
10239         else
10240           if test "$aix_use_runtimelinking" = yes; then
10241             shared_flag='${wl}-G'
10242           else
10243             shared_flag='${wl}-bM:SRE'
10244           fi
10245         fi
10246       fi
10247
10248       export_dynamic_flag_spec='${wl}-bexpall'
10249       # It seems that -bexpall does not export symbols beginning with
10250       # underscore (_), so it is better to generate a list of symbols to export.
10251       always_export_symbols=yes
10252       if test "$aix_use_runtimelinking" = yes; then
10253         # Warning - without using the other runtime loading flags (-brtl),
10254         # -berok will link without error, but may produce a broken library.
10255         allow_undefined_flag='-berok'
10256         # Determine the default libpath from the value encoded in an
10257         # empty executable.
10258         if test "${lt_cv_aix_libpath+set}" = set; then
10259   aix_libpath=$lt_cv_aix_libpath
10260 else
10261   if ${lt_cv_aix_libpath_+:} false; then :
10262   $as_echo_n "(cached) " >&6
10263 else
10264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h.  */
10266
10267 int
10268 main ()
10269 {
10270
10271   ;
10272   return 0;
10273 }
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276
10277   lt_aix_libpath_sed='
10278       /Import File Strings/,/^$/ {
10279           /^0/ {
10280               s/^0  *\([^ ]*\) *$/\1/
10281               p
10282           }
10283       }'
10284   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10285   # Check for a 64-bit object if we didn't find anything.
10286   if test -z "$lt_cv_aix_libpath_"; then
10287     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10288   fi
10289 fi
10290 rm -f core conftest.err conftest.$ac_objext \
10291     conftest$ac_exeext conftest.$ac_ext
10292   if test -z "$lt_cv_aix_libpath_"; then
10293     lt_cv_aix_libpath_="/usr/lib:/lib"
10294   fi
10295
10296 fi
10297
10298   aix_libpath=$lt_cv_aix_libpath_
10299 fi
10300
10301         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10302         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10303       else
10304         if test "$host_cpu" = ia64; then
10305           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10306           allow_undefined_flag="-z nodefs"
10307           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"
10308         else
10309          # Determine the default libpath from the value encoded in an
10310          # empty executable.
10311          if test "${lt_cv_aix_libpath+set}" = set; then
10312   aix_libpath=$lt_cv_aix_libpath
10313 else
10314   if ${lt_cv_aix_libpath_+:} false; then :
10315   $as_echo_n "(cached) " >&6
10316 else
10317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h.  */
10319
10320 int
10321 main ()
10322 {
10323
10324   ;
10325   return 0;
10326 }
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329
10330   lt_aix_libpath_sed='
10331       /Import File Strings/,/^$/ {
10332           /^0/ {
10333               s/^0  *\([^ ]*\) *$/\1/
10334               p
10335           }
10336       }'
10337   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10338   # Check for a 64-bit object if we didn't find anything.
10339   if test -z "$lt_cv_aix_libpath_"; then
10340     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10341   fi
10342 fi
10343 rm -f core conftest.err conftest.$ac_objext \
10344     conftest$ac_exeext conftest.$ac_ext
10345   if test -z "$lt_cv_aix_libpath_"; then
10346     lt_cv_aix_libpath_="/usr/lib:/lib"
10347   fi
10348
10349 fi
10350
10351   aix_libpath=$lt_cv_aix_libpath_
10352 fi
10353
10354          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10355           # Warning - without using the other run time loading flags,
10356           # -berok will link without error, but may produce a broken library.
10357           no_undefined_flag=' ${wl}-bernotok'
10358           allow_undefined_flag=' ${wl}-berok'
10359           if test "$with_gnu_ld" = yes; then
10360             # We only use this code for GNU lds that support --whole-archive.
10361             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10362           else
10363             # Exported symbols can be pulled into shared objects from archives
10364             whole_archive_flag_spec='$convenience'
10365           fi
10366           archive_cmds_need_lc=yes
10367           # This is similar to how AIX traditionally builds its shared libraries.
10368           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10369         fi
10370       fi
10371       ;;
10372
10373     amigaos*)
10374       case $host_cpu in
10375       powerpc)
10376             # see comment about AmigaOS4 .so support
10377             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10378             archive_expsym_cmds=''
10379         ;;
10380       m68k)
10381             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)'
10382             hardcode_libdir_flag_spec='-L$libdir'
10383             hardcode_minus_L=yes
10384         ;;
10385       esac
10386       ;;
10387
10388     bsdi[45]*)
10389       export_dynamic_flag_spec=-rdynamic
10390       ;;
10391
10392     cygwin* | mingw* | pw32* | cegcc*)
10393       # When not using gcc, we currently assume that we are using
10394       # Microsoft Visual C++.
10395       # hardcode_libdir_flag_spec is actually meaningless, as there is
10396       # no search path for DLLs.
10397       case $cc_basename in
10398       cl*)
10399         # Native MSVC
10400         hardcode_libdir_flag_spec=' '
10401         allow_undefined_flag=unsupported
10402         always_export_symbols=yes
10403         file_list_spec='@'
10404         # Tell ltmain to make .lib files, not .a files.
10405         libext=lib
10406         # Tell ltmain to make .dll files, not .so files.
10407         shrext_cmds=".dll"
10408         # FIXME: Setting linknames here is a bad hack.
10409         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10410         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10411             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10412           else
10413             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10414           fi~
10415           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10416           linknames='
10417         # The linker will not automatically build a static lib if we build a DLL.
10418         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10419         enable_shared_with_static_runtimes=yes
10420         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10421         # Don't use ranlib
10422         old_postinstall_cmds='chmod 644 $oldlib'
10423         postlink_cmds='lt_outputfile="@OUTPUT@"~
10424           lt_tool_outputfile="@TOOL_OUTPUT@"~
10425           case $lt_outputfile in
10426             *.exe|*.EXE) ;;
10427             *)
10428               lt_outputfile="$lt_outputfile.exe"
10429               lt_tool_outputfile="$lt_tool_outputfile.exe"
10430               ;;
10431           esac~
10432           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10433             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10434             $RM "$lt_outputfile.manifest";
10435           fi'
10436         ;;
10437       *)
10438         # Assume MSVC wrapper
10439         hardcode_libdir_flag_spec=' '
10440         allow_undefined_flag=unsupported
10441         # Tell ltmain to make .lib files, not .a files.
10442         libext=lib
10443         # Tell ltmain to make .dll files, not .so files.
10444         shrext_cmds=".dll"
10445         # FIXME: Setting linknames here is a bad hack.
10446         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10447         # The linker will automatically build a .lib file if we build a DLL.
10448         old_archive_from_new_cmds='true'
10449         # FIXME: Should let the user specify the lib program.
10450         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10451         enable_shared_with_static_runtimes=yes
10452         ;;
10453       esac
10454       ;;
10455
10456     darwin* | rhapsody*)
10457
10458
10459   archive_cmds_need_lc=no
10460   hardcode_direct=no
10461   hardcode_automatic=yes
10462   hardcode_shlibpath_var=unsupported
10463   if test "$lt_cv_ld_force_load" = "yes"; then
10464     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\"`'
10465   else
10466     whole_archive_flag_spec=''
10467   fi
10468   link_all_deplibs=yes
10469   allow_undefined_flag="$_lt_dar_allow_undefined"
10470   case $cc_basename in
10471      ifort*) _lt_dar_can_shared=yes ;;
10472      *) _lt_dar_can_shared=$GCC ;;
10473   esac
10474   if test "$_lt_dar_can_shared" = "yes"; then
10475     output_verbose_link_cmd=func_echo_all
10476     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10477     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10478     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}"
10479     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}"
10480
10481   else
10482   ld_shlibs=no
10483   fi
10484
10485       ;;
10486
10487     dgux*)
10488       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10489       hardcode_libdir_flag_spec='-L$libdir'
10490       hardcode_shlibpath_var=no
10491       ;;
10492
10493     freebsd1*)
10494       ld_shlibs=no
10495       ;;
10496
10497     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10498     # support.  Future versions do this automatically, but an explicit c++rt0.o
10499     # does not break anything, and helps significantly (at the cost of a little
10500     # extra space).
10501     freebsd2.2*)
10502       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10503       hardcode_libdir_flag_spec='-R$libdir'
10504       hardcode_direct=yes
10505       hardcode_shlibpath_var=no
10506       ;;
10507
10508     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10509     freebsd2*)
10510       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10511       hardcode_direct=yes
10512       hardcode_minus_L=yes
10513       hardcode_shlibpath_var=no
10514       ;;
10515
10516     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10517     freebsd* | dragonfly*)
10518       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10519       hardcode_libdir_flag_spec='-R$libdir'
10520       hardcode_direct=yes
10521       hardcode_shlibpath_var=no
10522       ;;
10523
10524     hpux9*)
10525       if test "$GCC" = yes; then
10526         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10527       else
10528         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10529       fi
10530       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10531       hardcode_libdir_separator=:
10532       hardcode_direct=yes
10533
10534       # hardcode_minus_L: Not really in the search PATH,
10535       # but as the default location of the library.
10536       hardcode_minus_L=yes
10537       export_dynamic_flag_spec='${wl}-E'
10538       ;;
10539
10540     hpux10*)
10541       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10542         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10543       else
10544         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10545       fi
10546       if test "$with_gnu_ld" = no; then
10547         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10548         hardcode_libdir_flag_spec_ld='+b $libdir'
10549         hardcode_libdir_separator=:
10550         hardcode_direct=yes
10551         hardcode_direct_absolute=yes
10552         export_dynamic_flag_spec='${wl}-E'
10553         # hardcode_minus_L: Not really in the search PATH,
10554         # but as the default location of the library.
10555         hardcode_minus_L=yes
10556       fi
10557       ;;
10558
10559     hpux11*)
10560       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10561         case $host_cpu in
10562         hppa*64*)
10563           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10564           ;;
10565         ia64*)
10566           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10567           ;;
10568         *)
10569           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10570           ;;
10571         esac
10572       else
10573         case $host_cpu in
10574         hppa*64*)
10575           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10576           ;;
10577         ia64*)
10578           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10579           ;;
10580         *)
10581
10582           # Older versions of the 11.00 compiler do not understand -b yet
10583           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10584           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10585 $as_echo_n "checking if $CC understands -b... " >&6; }
10586 if ${lt_cv_prog_compiler__b+:} false; then :
10587   $as_echo_n "(cached) " >&6
10588 else
10589   lt_cv_prog_compiler__b=no
10590    save_LDFLAGS="$LDFLAGS"
10591    LDFLAGS="$LDFLAGS -b"
10592    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10593    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10594      # The linker can only warn and ignore the option if not recognized
10595      # So say no if there are warnings
10596      if test -s conftest.err; then
10597        # Append any errors to the config.log.
10598        cat conftest.err 1>&5
10599        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10600        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10601        if diff conftest.exp conftest.er2 >/dev/null; then
10602          lt_cv_prog_compiler__b=yes
10603        fi
10604      else
10605        lt_cv_prog_compiler__b=yes
10606      fi
10607    fi
10608    $RM -r conftest*
10609    LDFLAGS="$save_LDFLAGS"
10610
10611 fi
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10613 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10614
10615 if test x"$lt_cv_prog_compiler__b" = xyes; then
10616     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10617 else
10618     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10619 fi
10620
10621           ;;
10622         esac
10623       fi
10624       if test "$with_gnu_ld" = no; then
10625         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10626         hardcode_libdir_separator=:
10627
10628         case $host_cpu in
10629         hppa*64*|ia64*)
10630           hardcode_direct=no
10631           hardcode_shlibpath_var=no
10632           ;;
10633         *)
10634           hardcode_direct=yes
10635           hardcode_direct_absolute=yes
10636           export_dynamic_flag_spec='${wl}-E'
10637
10638           # hardcode_minus_L: Not really in the search PATH,
10639           # but as the default location of the library.
10640           hardcode_minus_L=yes
10641           ;;
10642         esac
10643       fi
10644       ;;
10645
10646     irix5* | irix6* | nonstopux*)
10647       if test "$GCC" = yes; then
10648         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'
10649         # Try to use the -exported_symbol ld option, if it does not
10650         # work, assume that -exports_file does not work either and
10651         # implicitly export all symbols.
10652         # This should be the same for all languages, so no per-tag cache variable.
10653         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10654 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10655 if ${lt_cv_irix_exported_symbol+:} false; then :
10656   $as_echo_n "(cached) " >&6
10657 else
10658   save_LDFLAGS="$LDFLAGS"
10659            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10660            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h.  */
10662 int foo (void) { return 0; }
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665   lt_cv_irix_exported_symbol=yes
10666 else
10667   lt_cv_irix_exported_symbol=no
10668 fi
10669 rm -f core conftest.err conftest.$ac_objext \
10670     conftest$ac_exeext conftest.$ac_ext
10671            LDFLAGS="$save_LDFLAGS"
10672 fi
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10674 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10675         if test "$lt_cv_irix_exported_symbol" = yes; then
10676           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'
10677         fi
10678       else
10679         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'
10680         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'
10681       fi
10682       archive_cmds_need_lc='no'
10683       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10684       hardcode_libdir_separator=:
10685       inherit_rpath=yes
10686       link_all_deplibs=yes
10687       ;;
10688
10689     netbsd*)
10690       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10691         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10692       else
10693         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10694       fi
10695       hardcode_libdir_flag_spec='-R$libdir'
10696       hardcode_direct=yes
10697       hardcode_shlibpath_var=no
10698       ;;
10699
10700     newsos6)
10701       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10702       hardcode_direct=yes
10703       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10704       hardcode_libdir_separator=:
10705       hardcode_shlibpath_var=no
10706       ;;
10707
10708     *nto* | *qnx*)
10709       ;;
10710
10711     openbsd*)
10712       if test -f /usr/libexec/ld.so; then
10713         hardcode_direct=yes
10714         hardcode_shlibpath_var=no
10715         hardcode_direct_absolute=yes
10716         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10717           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10718           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10719           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10720           export_dynamic_flag_spec='${wl}-E'
10721         else
10722           case $host_os in
10723            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10724              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10725              hardcode_libdir_flag_spec='-R$libdir'
10726              ;;
10727            *)
10728              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10729              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10730              ;;
10731           esac
10732         fi
10733       else
10734         ld_shlibs=no
10735       fi
10736       ;;
10737
10738     os2*)
10739       hardcode_libdir_flag_spec='-L$libdir'
10740       hardcode_minus_L=yes
10741       allow_undefined_flag=unsupported
10742       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10743       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10744       ;;
10745
10746     osf3*)
10747       if test "$GCC" = yes; then
10748         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10749         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'
10750       else
10751         allow_undefined_flag=' -expect_unresolved \*'
10752         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'
10753       fi
10754       archive_cmds_need_lc='no'
10755       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10756       hardcode_libdir_separator=:
10757       ;;
10758
10759     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10760       if test "$GCC" = yes; then
10761         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10762         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'
10763         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10764       else
10765         allow_undefined_flag=' -expect_unresolved \*'
10766         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'
10767         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~
10768         $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'
10769
10770         # Both c and cxx compiler support -rpath directly
10771         hardcode_libdir_flag_spec='-rpath $libdir'
10772       fi
10773       archive_cmds_need_lc='no'
10774       hardcode_libdir_separator=:
10775       ;;
10776
10777     solaris*)
10778       no_undefined_flag=' -z defs'
10779       if test "$GCC" = yes; then
10780         wlarc='${wl}'
10781         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10782         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10783           $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'
10784       else
10785         case `$CC -V 2>&1` in
10786         *"Compilers 5.0"*)
10787           wlarc=''
10788           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10789           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10790           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10791           ;;
10792         *)
10793           wlarc='${wl}'
10794           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10795           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10796           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10797           ;;
10798         esac
10799       fi
10800       hardcode_libdir_flag_spec='-R$libdir'
10801       hardcode_shlibpath_var=no
10802       case $host_os in
10803       solaris2.[0-5] | solaris2.[0-5].*) ;;
10804       *)
10805         # The compiler driver will combine and reorder linker options,
10806         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10807         # but is careful enough not to reorder.
10808         # Supported since Solaris 2.6 (maybe 2.5.1?)
10809         if test "$GCC" = yes; then
10810           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10811         else
10812           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10813         fi
10814         ;;
10815       esac
10816       link_all_deplibs=yes
10817       ;;
10818
10819     sunos4*)
10820       if test "x$host_vendor" = xsequent; then
10821         # Use $CC to link under sequent, because it throws in some extra .o
10822         # files that make .init and .fini sections work.
10823         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10824       else
10825         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10826       fi
10827       hardcode_libdir_flag_spec='-L$libdir'
10828       hardcode_direct=yes
10829       hardcode_minus_L=yes
10830       hardcode_shlibpath_var=no
10831       ;;
10832
10833     sysv4)
10834       case $host_vendor in
10835         sni)
10836           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837           hardcode_direct=yes # is this really true???
10838         ;;
10839         siemens)
10840           ## LD is ld it makes a PLAMLIB
10841           ## CC just makes a GrossModule.
10842           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10843           reload_cmds='$CC -r -o $output$reload_objs'
10844           hardcode_direct=no
10845         ;;
10846         motorola)
10847           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10849         ;;
10850       esac
10851       runpath_var='LD_RUN_PATH'
10852       hardcode_shlibpath_var=no
10853       ;;
10854
10855     sysv4.3*)
10856       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10857       hardcode_shlibpath_var=no
10858       export_dynamic_flag_spec='-Bexport'
10859       ;;
10860
10861     sysv4*MP*)
10862       if test -d /usr/nec; then
10863         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10864         hardcode_shlibpath_var=no
10865         runpath_var=LD_RUN_PATH
10866         hardcode_runpath_var=yes
10867         ld_shlibs=yes
10868       fi
10869       ;;
10870
10871     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10872       no_undefined_flag='${wl}-z,text'
10873       archive_cmds_need_lc=no
10874       hardcode_shlibpath_var=no
10875       runpath_var='LD_RUN_PATH'
10876
10877       if test "$GCC" = yes; then
10878         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10879         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10880       else
10881         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10882         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10883       fi
10884       ;;
10885
10886     sysv5* | sco3.2v5* | sco5v6*)
10887       # Note: We can NOT use -z defs as we might desire, because we do not
10888       # link with -lc, and that would cause any symbols used from libc to
10889       # always be unresolved, which means just about no library would
10890       # ever link correctly.  If we're not using GNU ld we use -z text
10891       # though, which does catch some bad symbols but isn't as heavy-handed
10892       # as -z defs.
10893       no_undefined_flag='${wl}-z,text'
10894       allow_undefined_flag='${wl}-z,nodefs'
10895       archive_cmds_need_lc=no
10896       hardcode_shlibpath_var=no
10897       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10898       hardcode_libdir_separator=':'
10899       link_all_deplibs=yes
10900       export_dynamic_flag_spec='${wl}-Bexport'
10901       runpath_var='LD_RUN_PATH'
10902
10903       if test "$GCC" = yes; then
10904         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10905         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10906       else
10907         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10908         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10909       fi
10910       ;;
10911
10912     uts4*)
10913       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10914       hardcode_libdir_flag_spec='-L$libdir'
10915       hardcode_shlibpath_var=no
10916       ;;
10917
10918     *)
10919       ld_shlibs=no
10920       ;;
10921     esac
10922
10923     if test x$host_vendor = xsni; then
10924       case $host in
10925       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10926         export_dynamic_flag_spec='${wl}-Blargedynsym'
10927         ;;
10928       esac
10929     fi
10930   fi
10931
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10933 $as_echo "$ld_shlibs" >&6; }
10934 test "$ld_shlibs" = no && can_build_shared=no
10935
10936 with_gnu_ld=$with_gnu_ld
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952 #
10953 # Do we need to explicitly link libc?
10954 #
10955 case "x$archive_cmds_need_lc" in
10956 x|xyes)
10957   # Assume -lc should be added
10958   archive_cmds_need_lc=yes
10959
10960   if test "$enable_shared" = yes && test "$GCC" = yes; then
10961     case $archive_cmds in
10962     *'~'*)
10963       # FIXME: we may have to deal with multi-command sequences.
10964       ;;
10965     '$CC '*)
10966       # Test whether the compiler implicitly links with -lc since on some
10967       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10968       # to ld, don't add -lc before -lgcc.
10969       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10971 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10972   $as_echo_n "(cached) " >&6
10973 else
10974   $RM conftest*
10975         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10976
10977         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10978   (eval $ac_compile) 2>&5
10979   ac_status=$?
10980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10981   test $ac_status = 0; } 2>conftest.err; then
10982           soname=conftest
10983           lib=conftest
10984           libobjs=conftest.$ac_objext
10985           deplibs=
10986           wl=$lt_prog_compiler_wl
10987           pic_flag=$lt_prog_compiler_pic
10988           compiler_flags=-v
10989           linker_flags=-v
10990           verstring=
10991           output_objdir=.
10992           libname=conftest
10993           lt_save_allow_undefined_flag=$allow_undefined_flag
10994           allow_undefined_flag=
10995           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10996   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10997   ac_status=$?
10998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10999   test $ac_status = 0; }
11000           then
11001             lt_cv_archive_cmds_need_lc=no
11002           else
11003             lt_cv_archive_cmds_need_lc=yes
11004           fi
11005           allow_undefined_flag=$lt_save_allow_undefined_flag
11006         else
11007           cat conftest.err 1>&5
11008         fi
11009         $RM conftest*
11010
11011 fi
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11013 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11014       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11015       ;;
11016     esac
11017   fi
11018   ;;
11019 esac
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11179
11180 if test "$GCC" = yes; then
11181   case $host_os in
11182     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11183     *) lt_awk_arg="/^libraries:/" ;;
11184   esac
11185   case $host_os in
11186     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11187     *) lt_sed_strip_eq="s,=/,/,g" ;;
11188   esac
11189   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11190   case $lt_search_path_spec in
11191   *\;*)
11192     # if the path contains ";" then we assume it to be the separator
11193     # otherwise default to the standard path separator (i.e. ":") - it is
11194     # assumed that no part of a normal pathname contains ";" but that should
11195     # okay in the real world where ";" in dirpaths is itself problematic.
11196     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11197     ;;
11198   *)
11199     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11200     ;;
11201   esac
11202   # Ok, now we have the path, separated by spaces, we can step through it
11203   # and add multilib dir if necessary.
11204   lt_tmp_lt_search_path_spec=
11205   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11206   for lt_sys_path in $lt_search_path_spec; do
11207     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11208       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11209     else
11210       test -d "$lt_sys_path" && \
11211         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11212     fi
11213   done
11214   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11215 BEGIN {RS=" "; FS="/|\n";} {
11216   lt_foo="";
11217   lt_count=0;
11218   for (lt_i = NF; lt_i > 0; lt_i--) {
11219     if ($lt_i != "" && $lt_i != ".") {
11220       if ($lt_i == "..") {
11221         lt_count++;
11222       } else {
11223         if (lt_count == 0) {
11224           lt_foo="/" $lt_i lt_foo;
11225         } else {
11226           lt_count--;
11227         }
11228       }
11229     }
11230   }
11231   if (lt_foo != "") { lt_freq[lt_foo]++; }
11232   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11233 }'`
11234   # AWK program above erroneously prepends '/' to C:/dos/paths
11235   # for these hosts.
11236   case $host_os in
11237     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11238       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11239   esac
11240   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11241 else
11242   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11243 fi
11244 library_names_spec=
11245 libname_spec='lib$name'
11246 soname_spec=
11247 shrext_cmds=".so"
11248 postinstall_cmds=
11249 postuninstall_cmds=
11250 finish_cmds=
11251 finish_eval=
11252 shlibpath_var=
11253 shlibpath_overrides_runpath=unknown
11254 version_type=none
11255 dynamic_linker="$host_os ld.so"
11256 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11257 need_lib_prefix=unknown
11258 hardcode_into_libs=no
11259
11260 # when you set need_version to no, make sure it does not cause -set_version
11261 # flags to be left without arguments
11262 need_version=unknown
11263
11264 case $host_os in
11265 aix3*)
11266   version_type=linux
11267   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11268   shlibpath_var=LIBPATH
11269
11270   # AIX 3 has no versioning support, so we append a major version to the name.
11271   soname_spec='${libname}${release}${shared_ext}$major'
11272   ;;
11273
11274 aix[4-9]*)
11275   version_type=linux
11276   need_lib_prefix=no
11277   need_version=no
11278   hardcode_into_libs=yes
11279   if test "$host_cpu" = ia64; then
11280     # AIX 5 supports IA64
11281     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11282     shlibpath_var=LD_LIBRARY_PATH
11283   else
11284     # With GCC up to 2.95.x, collect2 would create an import file
11285     # for dependence libraries.  The import file would start with
11286     # the line `#! .'.  This would cause the generated library to
11287     # depend on `.', always an invalid library.  This was fixed in
11288     # development snapshots of GCC prior to 3.0.
11289     case $host_os in
11290       aix4 | aix4.[01] | aix4.[01].*)
11291       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11292            echo ' yes '
11293            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11294         :
11295       else
11296         can_build_shared=no
11297       fi
11298       ;;
11299     esac
11300     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11301     # soname into executable. Probably we can add versioning support to
11302     # collect2, so additional links can be useful in future.
11303     if test "$aix_use_runtimelinking" = yes; then
11304       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11305       # instead of lib<name>.a to let people know that these are not
11306       # typical AIX shared libraries.
11307       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308     else
11309       # We preserve .a as extension for shared libraries through AIX4.2
11310       # and later when we are not doing run time linking.
11311       library_names_spec='${libname}${release}.a $libname.a'
11312       soname_spec='${libname}${release}${shared_ext}$major'
11313     fi
11314     shlibpath_var=LIBPATH
11315   fi
11316   ;;
11317
11318 amigaos*)
11319   case $host_cpu in
11320   powerpc)
11321     # Since July 2007 AmigaOS4 officially supports .so libraries.
11322     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11323     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324     ;;
11325   m68k)
11326     library_names_spec='$libname.ixlibrary $libname.a'
11327     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11328     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11329     ;;
11330   esac
11331   ;;
11332
11333 beos*)
11334   library_names_spec='${libname}${shared_ext}'
11335   dynamic_linker="$host_os ld.so"
11336   shlibpath_var=LIBRARY_PATH
11337   ;;
11338
11339 bsdi[45]*)
11340   version_type=linux
11341   need_version=no
11342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343   soname_spec='${libname}${release}${shared_ext}$major'
11344   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11345   shlibpath_var=LD_LIBRARY_PATH
11346   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11347   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11348   # the default ld.so.conf also contains /usr/contrib/lib and
11349   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11350   # libtool to hard-code these into programs
11351   ;;
11352
11353 cygwin* | mingw* | pw32* | cegcc*)
11354   version_type=windows
11355   shrext_cmds=".dll"
11356   need_version=no
11357   need_lib_prefix=no
11358
11359   case $GCC,$cc_basename in
11360   yes,*)
11361     # gcc
11362     library_names_spec='$libname.dll.a'
11363     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11364     postinstall_cmds='base_file=`basename \${file}`~
11365       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11366       dldir=$destdir/`dirname \$dlpath`~
11367       test -d \$dldir || mkdir -p \$dldir~
11368       $install_prog $dir/$dlname \$dldir/$dlname~
11369       chmod a+x \$dldir/$dlname~
11370       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11371         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11372       fi'
11373     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11374       dlpath=$dir/\$dldll~
11375        $RM \$dlpath'
11376     shlibpath_overrides_runpath=yes
11377
11378     case $host_os in
11379     cygwin*)
11380       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11381       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11382
11383       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11384       ;;
11385     mingw* | cegcc*)
11386       # MinGW DLLs use traditional 'lib' prefix
11387       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11388       ;;
11389     pw32*)
11390       # pw32 DLLs use 'pw' prefix rather than 'lib'
11391       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11392       ;;
11393     esac
11394     dynamic_linker='Win32 ld.exe'
11395     ;;
11396
11397   *,cl*)
11398     # Native MSVC
11399     libname_spec='$name'
11400     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11401     library_names_spec='${libname}.dll.lib'
11402
11403     case $build_os in
11404     mingw*)
11405       sys_lib_search_path_spec=
11406       lt_save_ifs=$IFS
11407       IFS=';'
11408       for lt_path in $LIB
11409       do
11410         IFS=$lt_save_ifs
11411         # Let DOS variable expansion print the short 8.3 style file name.
11412         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11413         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11414       done
11415       IFS=$lt_save_ifs
11416       # Convert to MSYS style.
11417       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11418       ;;
11419     cygwin*)
11420       # Convert to unix form, then to dos form, then back to unix form
11421       # but this time dos style (no spaces!) so that the unix form looks
11422       # like /cygdrive/c/PROGRA~1:/cygdr...
11423       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11424       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11425       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11426       ;;
11427     *)
11428       sys_lib_search_path_spec="$LIB"
11429       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11430         # It is most probably a Windows format PATH.
11431         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11432       else
11433         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11434       fi
11435       # FIXME: find the short name or the path components, as spaces are
11436       # common. (e.g. "Program Files" -> "PROGRA~1")
11437       ;;
11438     esac
11439
11440     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11441     postinstall_cmds='base_file=`basename \${file}`~
11442       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11443       dldir=$destdir/`dirname \$dlpath`~
11444       test -d \$dldir || mkdir -p \$dldir~
11445       $install_prog $dir/$dlname \$dldir/$dlname'
11446     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11447       dlpath=$dir/\$dldll~
11448        $RM \$dlpath'
11449     shlibpath_overrides_runpath=yes
11450     dynamic_linker='Win32 link.exe'
11451     ;;
11452
11453   *)
11454     # Assume MSVC wrapper
11455     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11456     dynamic_linker='Win32 ld.exe'
11457     ;;
11458   esac
11459   # FIXME: first we should search . and the directory the executable is in
11460   shlibpath_var=PATH
11461   ;;
11462
11463 darwin* | rhapsody*)
11464   dynamic_linker="$host_os dyld"
11465   version_type=darwin
11466   need_lib_prefix=no
11467   need_version=no
11468   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11469   soname_spec='${libname}${release}${major}$shared_ext'
11470   shlibpath_overrides_runpath=yes
11471   shlibpath_var=DYLD_LIBRARY_PATH
11472   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11473
11474   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11475   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11476   ;;
11477
11478 dgux*)
11479   version_type=linux
11480   need_lib_prefix=no
11481   need_version=no
11482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11483   soname_spec='${libname}${release}${shared_ext}$major'
11484   shlibpath_var=LD_LIBRARY_PATH
11485   ;;
11486
11487 freebsd1*)
11488   dynamic_linker=no
11489   ;;
11490
11491 freebsd* | dragonfly*)
11492   # DragonFly does not have aout.  When/if they implement a new
11493   # versioning mechanism, adjust this.
11494   if test -x /usr/bin/objformat; then
11495     objformat=`/usr/bin/objformat`
11496   else
11497     case $host_os in
11498     freebsd[123]*) objformat=aout ;;
11499     *) objformat=elf ;;
11500     esac
11501   fi
11502   version_type=freebsd-$objformat
11503   case $version_type in
11504     freebsd-elf*)
11505       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11506       need_version=no
11507       need_lib_prefix=no
11508       ;;
11509     freebsd-*)
11510       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11511       need_version=yes
11512       ;;
11513   esac
11514   shlibpath_var=LD_LIBRARY_PATH
11515   case $host_os in
11516   freebsd2*)
11517     shlibpath_overrides_runpath=yes
11518     ;;
11519   freebsd3.[01]* | freebsdelf3.[01]*)
11520     shlibpath_overrides_runpath=yes
11521     hardcode_into_libs=yes
11522     ;;
11523   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11524   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11525     shlibpath_overrides_runpath=no
11526     hardcode_into_libs=yes
11527     ;;
11528   *) # from 4.6 on, and DragonFly
11529     shlibpath_overrides_runpath=yes
11530     hardcode_into_libs=yes
11531     ;;
11532   esac
11533   ;;
11534
11535 gnu*)
11536   version_type=linux
11537   need_lib_prefix=no
11538   need_version=no
11539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11540   soname_spec='${libname}${release}${shared_ext}$major'
11541   shlibpath_var=LD_LIBRARY_PATH
11542   hardcode_into_libs=yes
11543   ;;
11544
11545 haiku*)
11546   version_type=linux
11547   need_lib_prefix=no
11548   need_version=no
11549   dynamic_linker="$host_os runtime_loader"
11550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11551   soname_spec='${libname}${release}${shared_ext}$major'
11552   shlibpath_var=LIBRARY_PATH
11553   shlibpath_overrides_runpath=yes
11554   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11555   hardcode_into_libs=yes
11556   ;;
11557
11558 hpux9* | hpux10* | hpux11*)
11559   # Give a soname corresponding to the major version so that dld.sl refuses to
11560   # link against other versions.
11561   version_type=sunos
11562   need_lib_prefix=no
11563   need_version=no
11564   case $host_cpu in
11565   ia64*)
11566     shrext_cmds='.so'
11567     hardcode_into_libs=yes
11568     dynamic_linker="$host_os dld.so"
11569     shlibpath_var=LD_LIBRARY_PATH
11570     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11571     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572     soname_spec='${libname}${release}${shared_ext}$major'
11573     if test "X$HPUX_IA64_MODE" = X32; then
11574       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11575     else
11576       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11577     fi
11578     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11579     ;;
11580   hppa*64*)
11581     shrext_cmds='.sl'
11582     hardcode_into_libs=yes
11583     dynamic_linker="$host_os dld.sl"
11584     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11585     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11586     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587     soname_spec='${libname}${release}${shared_ext}$major'
11588     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11589     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11590     ;;
11591   *)
11592     shrext_cmds='.sl'
11593     dynamic_linker="$host_os dld.sl"
11594     shlibpath_var=SHLIB_PATH
11595     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11596     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11597     soname_spec='${libname}${release}${shared_ext}$major'
11598     ;;
11599   esac
11600   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11601   postinstall_cmds='chmod 555 $lib'
11602   # or fails outright, so override atomically:
11603   install_override_mode=555
11604   ;;
11605
11606 interix[3-9]*)
11607   version_type=linux
11608   need_lib_prefix=no
11609   need_version=no
11610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11611   soname_spec='${libname}${release}${shared_ext}$major'
11612   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11613   shlibpath_var=LD_LIBRARY_PATH
11614   shlibpath_overrides_runpath=no
11615   hardcode_into_libs=yes
11616   ;;
11617
11618 irix5* | irix6* | nonstopux*)
11619   case $host_os in
11620     nonstopux*) version_type=nonstopux ;;
11621     *)
11622         if test "$lt_cv_prog_gnu_ld" = yes; then
11623                 version_type=linux
11624         else
11625                 version_type=irix
11626         fi ;;
11627   esac
11628   need_lib_prefix=no
11629   need_version=no
11630   soname_spec='${libname}${release}${shared_ext}$major'
11631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11632   case $host_os in
11633   irix5* | nonstopux*)
11634     libsuff= shlibsuff=
11635     ;;
11636   *)
11637     case $LD in # libtool.m4 will add one of these switches to LD
11638     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11639       libsuff= shlibsuff= libmagic=32-bit;;
11640     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11641       libsuff=32 shlibsuff=N32 libmagic=N32;;
11642     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11643       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11644     *) libsuff= shlibsuff= libmagic=never-match;;
11645     esac
11646     ;;
11647   esac
11648   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11649   shlibpath_overrides_runpath=no
11650   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11651   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11652   hardcode_into_libs=yes
11653   ;;
11654
11655 # No shared lib support for Linux oldld, aout, or coff.
11656 linux*oldld* | linux*aout* | linux*coff*)
11657   dynamic_linker=no
11658   ;;
11659
11660 # This must be Linux ELF.
11661 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11662   version_type=linux
11663   need_lib_prefix=no
11664   need_version=no
11665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11666   soname_spec='${libname}${release}${shared_ext}$major'
11667   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11668   shlibpath_var=LD_LIBRARY_PATH
11669   shlibpath_overrides_runpath=no
11670
11671   # Some binutils ld are patched to set DT_RUNPATH
11672   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11673   $as_echo_n "(cached) " >&6
11674 else
11675   lt_cv_shlibpath_overrides_runpath=no
11676     save_LDFLAGS=$LDFLAGS
11677     save_libdir=$libdir
11678     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11679          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11680     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h.  */
11682
11683 int
11684 main ()
11685 {
11686
11687   ;
11688   return 0;
11689 }
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11693   lt_cv_shlibpath_overrides_runpath=yes
11694 fi
11695 fi
11696 rm -f core conftest.err conftest.$ac_objext \
11697     conftest$ac_exeext conftest.$ac_ext
11698     LDFLAGS=$save_LDFLAGS
11699     libdir=$save_libdir
11700
11701 fi
11702
11703   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11704
11705   # This implies no fast_install, which is unacceptable.
11706   # Some rework will be needed to allow for fast_install
11707   # before this can be enabled.
11708   hardcode_into_libs=yes
11709
11710   # Add ABI-specific directories to the system library path.
11711   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11712
11713   # Append ld.so.conf contents to the search path
11714   if test -f /etc/ld.so.conf; then
11715     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' ' '`
11716     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11717
11718   fi
11719
11720   # We used to test for /lib/ld.so.1 and disable shared libraries on
11721   # powerpc, because MkLinux only supported shared libraries with the
11722   # GNU dynamic linker.  Since this was broken with cross compilers,
11723   # most powerpc-linux boxes support dynamic linking these days and
11724   # people can always --disable-shared, the test was removed, and we
11725   # assume the GNU/Linux dynamic linker is in use.
11726   dynamic_linker='GNU/Linux ld.so'
11727   ;;
11728
11729 netbsd*)
11730   version_type=sunos
11731   need_lib_prefix=no
11732   need_version=no
11733   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11734     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11735     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11736     dynamic_linker='NetBSD (a.out) ld.so'
11737   else
11738     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11739     soname_spec='${libname}${release}${shared_ext}$major'
11740     dynamic_linker='NetBSD ld.elf_so'
11741   fi
11742   shlibpath_var=LD_LIBRARY_PATH
11743   shlibpath_overrides_runpath=yes
11744   hardcode_into_libs=yes
11745   ;;
11746
11747 newsos6)
11748   version_type=linux
11749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11750   shlibpath_var=LD_LIBRARY_PATH
11751   shlibpath_overrides_runpath=yes
11752   ;;
11753
11754 *nto* | *qnx*)
11755   version_type=qnx
11756   need_lib_prefix=no
11757   need_version=no
11758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759   soname_spec='${libname}${release}${shared_ext}$major'
11760   shlibpath_var=LD_LIBRARY_PATH
11761   shlibpath_overrides_runpath=no
11762   hardcode_into_libs=yes
11763   dynamic_linker='ldqnx.so'
11764   ;;
11765
11766 openbsd*)
11767   version_type=sunos
11768   sys_lib_dlsearch_path_spec="/usr/lib"
11769   need_lib_prefix=no
11770   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11771   case $host_os in
11772     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11773     *)                          need_version=no  ;;
11774   esac
11775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11776   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11777   shlibpath_var=LD_LIBRARY_PATH
11778   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11779     case $host_os in
11780       openbsd2.[89] | openbsd2.[89].*)
11781         shlibpath_overrides_runpath=no
11782         ;;
11783       *)
11784         shlibpath_overrides_runpath=yes
11785         ;;
11786       esac
11787   else
11788     shlibpath_overrides_runpath=yes
11789   fi
11790   ;;
11791
11792 os2*)
11793   libname_spec='$name'
11794   shrext_cmds=".dll"
11795   need_lib_prefix=no
11796   library_names_spec='$libname${shared_ext} $libname.a'
11797   dynamic_linker='OS/2 ld.exe'
11798   shlibpath_var=LIBPATH
11799   ;;
11800
11801 osf3* | osf4* | osf5*)
11802   version_type=osf
11803   need_lib_prefix=no
11804   need_version=no
11805   soname_spec='${libname}${release}${shared_ext}$major'
11806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11807   shlibpath_var=LD_LIBRARY_PATH
11808   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11809   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11810   ;;
11811
11812 rdos*)
11813   dynamic_linker=no
11814   ;;
11815
11816 solaris*)
11817   version_type=linux
11818   need_lib_prefix=no
11819   need_version=no
11820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11821   soname_spec='${libname}${release}${shared_ext}$major'
11822   shlibpath_var=LD_LIBRARY_PATH
11823   shlibpath_overrides_runpath=yes
11824   hardcode_into_libs=yes
11825   # ldd complains unless libraries are executable
11826   postinstall_cmds='chmod +x $lib'
11827   ;;
11828
11829 sunos4*)
11830   version_type=sunos
11831   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11832   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11833   shlibpath_var=LD_LIBRARY_PATH
11834   shlibpath_overrides_runpath=yes
11835   if test "$with_gnu_ld" = yes; then
11836     need_lib_prefix=no
11837   fi
11838   need_version=yes
11839   ;;
11840
11841 sysv4 | sysv4.3*)
11842   version_type=linux
11843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844   soname_spec='${libname}${release}${shared_ext}$major'
11845   shlibpath_var=LD_LIBRARY_PATH
11846   case $host_vendor in
11847     sni)
11848       shlibpath_overrides_runpath=no
11849       need_lib_prefix=no
11850       runpath_var=LD_RUN_PATH
11851       ;;
11852     siemens)
11853       need_lib_prefix=no
11854       ;;
11855     motorola)
11856       need_lib_prefix=no
11857       need_version=no
11858       shlibpath_overrides_runpath=no
11859       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11860       ;;
11861   esac
11862   ;;
11863
11864 sysv4*MP*)
11865   if test -d /usr/nec ;then
11866     version_type=linux
11867     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11868     soname_spec='$libname${shared_ext}.$major'
11869     shlibpath_var=LD_LIBRARY_PATH
11870   fi
11871   ;;
11872
11873 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11874   version_type=freebsd-elf
11875   need_lib_prefix=no
11876   need_version=no
11877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11878   soname_spec='${libname}${release}${shared_ext}$major'
11879   shlibpath_var=LD_LIBRARY_PATH
11880   shlibpath_overrides_runpath=yes
11881   hardcode_into_libs=yes
11882   if test "$with_gnu_ld" = yes; then
11883     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11884   else
11885     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11886     case $host_os in
11887       sco3.2v5*)
11888         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11889         ;;
11890     esac
11891   fi
11892   sys_lib_dlsearch_path_spec='/usr/lib'
11893   ;;
11894
11895 tpf*)
11896   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11897   version_type=linux
11898   need_lib_prefix=no
11899   need_version=no
11900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11901   shlibpath_var=LD_LIBRARY_PATH
11902   shlibpath_overrides_runpath=no
11903   hardcode_into_libs=yes
11904   ;;
11905
11906 uts4*)
11907   version_type=linux
11908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11909   soname_spec='${libname}${release}${shared_ext}$major'
11910   shlibpath_var=LD_LIBRARY_PATH
11911   ;;
11912
11913 *)
11914   dynamic_linker=no
11915   ;;
11916 esac
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11918 $as_echo "$dynamic_linker" >&6; }
11919 test "$dynamic_linker" = no && can_build_shared=no
11920
11921 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11922 if test "$GCC" = yes; then
11923   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11924 fi
11925
11926 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11927   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11928 fi
11929 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11930   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11931 fi
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12025 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12026 hardcode_action=
12027 if test -n "$hardcode_libdir_flag_spec" ||
12028    test -n "$runpath_var" ||
12029    test "X$hardcode_automatic" = "Xyes" ; then
12030
12031   # We can hardcode non-existent directories.
12032   if test "$hardcode_direct" != no &&
12033      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12034      # have to relink, otherwise we might link with an installed library
12035      # when we should be linking with a yet-to-be-installed one
12036      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12037      test "$hardcode_minus_L" != no; then
12038     # Linking always hardcodes the temporary library directory.
12039     hardcode_action=relink
12040   else
12041     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12042     hardcode_action=immediate
12043   fi
12044 else
12045   # We cannot hardcode anything, or else we can only hardcode existing
12046   # directories.
12047   hardcode_action=unsupported
12048 fi
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12050 $as_echo "$hardcode_action" >&6; }
12051
12052 if test "$hardcode_action" = relink ||
12053    test "$inherit_rpath" = yes; then
12054   # Fast installation is not supported
12055   enable_fast_install=no
12056 elif test "$shlibpath_overrides_runpath" = yes ||
12057      test "$enable_shared" = no; then
12058   # Fast installation is not necessary
12059   enable_fast_install=needless
12060 fi
12061
12062
12063
12064
12065
12066
12067   if test "x$enable_dlopen" != xyes; then
12068   enable_dlopen=unknown
12069   enable_dlopen_self=unknown
12070   enable_dlopen_self_static=unknown
12071 else
12072   lt_cv_dlopen=no
12073   lt_cv_dlopen_libs=
12074
12075   case $host_os in
12076   beos*)
12077     lt_cv_dlopen="load_add_on"
12078     lt_cv_dlopen_libs=
12079     lt_cv_dlopen_self=yes
12080     ;;
12081
12082   mingw* | pw32* | cegcc*)
12083     lt_cv_dlopen="LoadLibrary"
12084     lt_cv_dlopen_libs=
12085     ;;
12086
12087   cygwin*)
12088     lt_cv_dlopen="dlopen"
12089     lt_cv_dlopen_libs=
12090     ;;
12091
12092   darwin*)
12093   # if libdl is installed we need to link against it
12094     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12095 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12096 if ${ac_cv_lib_dl_dlopen+:} false; then :
12097   $as_echo_n "(cached) " >&6
12098 else
12099   ac_check_lib_save_LIBS=$LIBS
12100 LIBS="-ldl  $LIBS"
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h.  */
12103
12104 /* Override any GCC internal prototype to avoid an error.
12105    Use char because int might match the return type of a GCC
12106    builtin and then its argument prototype would still apply.  */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12110 char dlopen ();
12111 int
12112 main ()
12113 {
12114 return dlopen ();
12115   ;
12116   return 0;
12117 }
12118 _ACEOF
12119 if ac_fn_c_try_link "$LINENO"; then :
12120   ac_cv_lib_dl_dlopen=yes
12121 else
12122   ac_cv_lib_dl_dlopen=no
12123 fi
12124 rm -f core conftest.err conftest.$ac_objext \
12125     conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_lib_save_LIBS
12127 fi
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12129 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12130 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12131   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12132 else
12133
12134     lt_cv_dlopen="dyld"
12135     lt_cv_dlopen_libs=
12136     lt_cv_dlopen_self=yes
12137
12138 fi
12139
12140     ;;
12141
12142   *)
12143     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12144 if test "x$ac_cv_func_shl_load" = xyes; then :
12145   lt_cv_dlopen="shl_load"
12146 else
12147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12148 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12149 if ${ac_cv_lib_dld_shl_load+:} false; then :
12150   $as_echo_n "(cached) " >&6
12151 else
12152   ac_check_lib_save_LIBS=$LIBS
12153 LIBS="-ldld  $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h.  */
12156
12157 /* Override any GCC internal prototype to avoid an error.
12158    Use char because int might match the return type of a GCC
12159    builtin and then its argument prototype would still apply.  */
12160 #ifdef __cplusplus
12161 extern "C"
12162 #endif
12163 char shl_load ();
12164 int
12165 main ()
12166 {
12167 return shl_load ();
12168   ;
12169   return 0;
12170 }
12171 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then :
12173   ac_cv_lib_dld_shl_load=yes
12174 else
12175   ac_cv_lib_dld_shl_load=no
12176 fi
12177 rm -f core conftest.err conftest.$ac_objext \
12178     conftest$ac_exeext conftest.$ac_ext
12179 LIBS=$ac_check_lib_save_LIBS
12180 fi
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12182 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12183 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12184   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12185 else
12186   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12187 if test "x$ac_cv_func_dlopen" = xyes; then :
12188   lt_cv_dlopen="dlopen"
12189 else
12190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12191 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12192 if ${ac_cv_lib_dl_dlopen+:} false; then :
12193   $as_echo_n "(cached) " >&6
12194 else
12195   ac_check_lib_save_LIBS=$LIBS
12196 LIBS="-ldl  $LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h.  */
12199
12200 /* Override any GCC internal prototype to avoid an error.
12201    Use char because int might match the return type of a GCC
12202    builtin and then its argument prototype would still apply.  */
12203 #ifdef __cplusplus
12204 extern "C"
12205 #endif
12206 char dlopen ();
12207 int
12208 main ()
12209 {
12210 return dlopen ();
12211   ;
12212   return 0;
12213 }
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"; then :
12216   ac_cv_lib_dl_dlopen=yes
12217 else
12218   ac_cv_lib_dl_dlopen=no
12219 fi
12220 rm -f core conftest.err conftest.$ac_objext \
12221     conftest$ac_exeext conftest.$ac_ext
12222 LIBS=$ac_check_lib_save_LIBS
12223 fi
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12225 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12226 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12227   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12228 else
12229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12230 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12231 if ${ac_cv_lib_svld_dlopen+:} false; then :
12232   $as_echo_n "(cached) " >&6
12233 else
12234   ac_check_lib_save_LIBS=$LIBS
12235 LIBS="-lsvld  $LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h.  */
12238
12239 /* Override any GCC internal prototype to avoid an error.
12240    Use char because int might match the return type of a GCC
12241    builtin and then its argument prototype would still apply.  */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char dlopen ();
12246 int
12247 main ()
12248 {
12249 return dlopen ();
12250   ;
12251   return 0;
12252 }
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255   ac_cv_lib_svld_dlopen=yes
12256 else
12257   ac_cv_lib_svld_dlopen=no
12258 fi
12259 rm -f core conftest.err conftest.$ac_objext \
12260     conftest$ac_exeext conftest.$ac_ext
12261 LIBS=$ac_check_lib_save_LIBS
12262 fi
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12264 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12265 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12266   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12267 else
12268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12269 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12270 if ${ac_cv_lib_dld_dld_link+:} false; then :
12271   $as_echo_n "(cached) " >&6
12272 else
12273   ac_check_lib_save_LIBS=$LIBS
12274 LIBS="-ldld  $LIBS"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h.  */
12277
12278 /* Override any GCC internal prototype to avoid an error.
12279    Use char because int might match the return type of a GCC
12280    builtin and then its argument prototype would still apply.  */
12281 #ifdef __cplusplus
12282 extern "C"
12283 #endif
12284 char dld_link ();
12285 int
12286 main ()
12287 {
12288 return dld_link ();
12289   ;
12290   return 0;
12291 }
12292 _ACEOF
12293 if ac_fn_c_try_link "$LINENO"; then :
12294   ac_cv_lib_dld_dld_link=yes
12295 else
12296   ac_cv_lib_dld_dld_link=no
12297 fi
12298 rm -f core conftest.err conftest.$ac_objext \
12299     conftest$ac_exeext conftest.$ac_ext
12300 LIBS=$ac_check_lib_save_LIBS
12301 fi
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12303 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12304 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12305   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12306 fi
12307
12308
12309 fi
12310
12311
12312 fi
12313
12314
12315 fi
12316
12317
12318 fi
12319
12320
12321 fi
12322
12323     ;;
12324   esac
12325
12326   if test "x$lt_cv_dlopen" != xno; then
12327     enable_dlopen=yes
12328   else
12329     enable_dlopen=no
12330   fi
12331
12332   case $lt_cv_dlopen in
12333   dlopen)
12334     save_CPPFLAGS="$CPPFLAGS"
12335     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12336
12337     save_LDFLAGS="$LDFLAGS"
12338     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12339
12340     save_LIBS="$LIBS"
12341     LIBS="$lt_cv_dlopen_libs $LIBS"
12342
12343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12344 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12345 if ${lt_cv_dlopen_self+:} false; then :
12346   $as_echo_n "(cached) " >&6
12347 else
12348           if test "$cross_compiling" = yes; then :
12349   lt_cv_dlopen_self=cross
12350 else
12351   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12352   lt_status=$lt_dlunknown
12353   cat > conftest.$ac_ext <<_LT_EOF
12354 #line $LINENO "configure"
12355 #include "confdefs.h"
12356
12357 #if HAVE_DLFCN_H
12358 #include <dlfcn.h>
12359 #endif
12360
12361 #include <stdio.h>
12362
12363 #ifdef RTLD_GLOBAL
12364 #  define LT_DLGLOBAL           RTLD_GLOBAL
12365 #else
12366 #  ifdef DL_GLOBAL
12367 #    define LT_DLGLOBAL         DL_GLOBAL
12368 #  else
12369 #    define LT_DLGLOBAL         0
12370 #  endif
12371 #endif
12372
12373 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12374    find out it does not work in some platform. */
12375 #ifndef LT_DLLAZY_OR_NOW
12376 #  ifdef RTLD_LAZY
12377 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12378 #  else
12379 #    ifdef DL_LAZY
12380 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12381 #    else
12382 #      ifdef RTLD_NOW
12383 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12384 #      else
12385 #        ifdef DL_NOW
12386 #          define LT_DLLAZY_OR_NOW      DL_NOW
12387 #        else
12388 #          define LT_DLLAZY_OR_NOW      0
12389 #        endif
12390 #      endif
12391 #    endif
12392 #  endif
12393 #endif
12394
12395 /* When -fvisbility=hidden is used, assume the code has been annotated
12396    correspondingly for the symbols needed.  */
12397 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12398 int fnord () __attribute__((visibility("default")));
12399 #endif
12400
12401 int fnord () { return 42; }
12402 int main ()
12403 {
12404   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12405   int status = $lt_dlunknown;
12406
12407   if (self)
12408     {
12409       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12410       else
12411         {
12412           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12413           else puts (dlerror ());
12414         }
12415       /* dlclose (self); */
12416     }
12417   else
12418     puts (dlerror ());
12419
12420   return status;
12421 }
12422 _LT_EOF
12423   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12424   (eval $ac_link) 2>&5
12425   ac_status=$?
12426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12427   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12428     (./conftest; exit; ) >&5 2>/dev/null
12429     lt_status=$?
12430     case x$lt_status in
12431       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12432       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12433       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12434     esac
12435   else :
12436     # compilation failed
12437     lt_cv_dlopen_self=no
12438   fi
12439 fi
12440 rm -fr conftest*
12441
12442
12443 fi
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12445 $as_echo "$lt_cv_dlopen_self" >&6; }
12446
12447     if test "x$lt_cv_dlopen_self" = xyes; then
12448       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12449       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12450 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12451 if ${lt_cv_dlopen_self_static+:} false; then :
12452   $as_echo_n "(cached) " >&6
12453 else
12454           if test "$cross_compiling" = yes; then :
12455   lt_cv_dlopen_self_static=cross
12456 else
12457   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12458   lt_status=$lt_dlunknown
12459   cat > conftest.$ac_ext <<_LT_EOF
12460 #line $LINENO "configure"
12461 #include "confdefs.h"
12462
12463 #if HAVE_DLFCN_H
12464 #include <dlfcn.h>
12465 #endif
12466
12467 #include <stdio.h>
12468
12469 #ifdef RTLD_GLOBAL
12470 #  define LT_DLGLOBAL           RTLD_GLOBAL
12471 #else
12472 #  ifdef DL_GLOBAL
12473 #    define LT_DLGLOBAL         DL_GLOBAL
12474 #  else
12475 #    define LT_DLGLOBAL         0
12476 #  endif
12477 #endif
12478
12479 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12480    find out it does not work in some platform. */
12481 #ifndef LT_DLLAZY_OR_NOW
12482 #  ifdef RTLD_LAZY
12483 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12484 #  else
12485 #    ifdef DL_LAZY
12486 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12487 #    else
12488 #      ifdef RTLD_NOW
12489 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12490 #      else
12491 #        ifdef DL_NOW
12492 #          define LT_DLLAZY_OR_NOW      DL_NOW
12493 #        else
12494 #          define LT_DLLAZY_OR_NOW      0
12495 #        endif
12496 #      endif
12497 #    endif
12498 #  endif
12499 #endif
12500
12501 /* When -fvisbility=hidden is used, assume the code has been annotated
12502    correspondingly for the symbols needed.  */
12503 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12504 int fnord () __attribute__((visibility("default")));
12505 #endif
12506
12507 int fnord () { return 42; }
12508 int main ()
12509 {
12510   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12511   int status = $lt_dlunknown;
12512
12513   if (self)
12514     {
12515       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12516       else
12517         {
12518           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12519           else puts (dlerror ());
12520         }
12521       /* dlclose (self); */
12522     }
12523   else
12524     puts (dlerror ());
12525
12526   return status;
12527 }
12528 _LT_EOF
12529   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12530   (eval $ac_link) 2>&5
12531   ac_status=$?
12532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12533   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12534     (./conftest; exit; ) >&5 2>/dev/null
12535     lt_status=$?
12536     case x$lt_status in
12537       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12538       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12539       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12540     esac
12541   else :
12542     # compilation failed
12543     lt_cv_dlopen_self_static=no
12544   fi
12545 fi
12546 rm -fr conftest*
12547
12548
12549 fi
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12551 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12552     fi
12553
12554     CPPFLAGS="$save_CPPFLAGS"
12555     LDFLAGS="$save_LDFLAGS"
12556     LIBS="$save_LIBS"
12557     ;;
12558   esac
12559
12560   case $lt_cv_dlopen_self in
12561   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12562   *) enable_dlopen_self=unknown ;;
12563   esac
12564
12565   case $lt_cv_dlopen_self_static in
12566   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12567   *) enable_dlopen_self_static=unknown ;;
12568   esac
12569 fi
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587 striplib=
12588 old_striplib=
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12590 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12591 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12592   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12593   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12595 $as_echo "yes" >&6; }
12596 else
12597 # FIXME - insert some real tests, host_os isn't really good enough
12598   case $host_os in
12599   darwin*)
12600     if test -n "$STRIP" ; then
12601       striplib="$STRIP -x"
12602       old_striplib="$STRIP -S"
12603       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12604 $as_echo "yes" >&6; }
12605     else
12606       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607 $as_echo "no" >&6; }
12608     fi
12609     ;;
12610   *)
12611     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12612 $as_echo "no" >&6; }
12613     ;;
12614   esac
12615 fi
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628   # Report which library types will actually be built
12629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12630 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12632 $as_echo "$can_build_shared" >&6; }
12633
12634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12635 $as_echo_n "checking whether to build shared libraries... " >&6; }
12636   test "$can_build_shared" = "no" && enable_shared=no
12637
12638   # On AIX, shared libraries and static libraries use the same namespace, and
12639   # are all built from PIC.
12640   case $host_os in
12641   aix3*)
12642     test "$enable_shared" = yes && enable_static=no
12643     if test -n "$RANLIB"; then
12644       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12645       postinstall_cmds='$RANLIB $lib'
12646     fi
12647     ;;
12648
12649   aix[4-9]*)
12650     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12651       test "$enable_shared" = yes && enable_static=no
12652     fi
12653     ;;
12654   esac
12655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12656 $as_echo "$enable_shared" >&6; }
12657
12658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12659 $as_echo_n "checking whether to build static libraries... " >&6; }
12660   # Make sure either enable_shared or enable_static is yes.
12661   test "$enable_shared" = yes || enable_static=yes
12662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12663 $as_echo "$enable_static" >&6; }
12664
12665
12666
12667
12668 fi
12669 ac_ext=c
12670 ac_cpp='$CPP $CPPFLAGS'
12671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12674
12675 CC="$lt_save_CC"
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689         ac_config_commands="$ac_config_commands libtool"
12690
12691
12692
12693
12694 # Only expand once:
12695
12696
12697
12698
12699
12700
12701 subdirs="$subdirs libltdl"
12702
12703
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12705 $as_echo_n "checking for ANSI C header files... " >&6; }
12706 if ${ac_cv_header_stdc+:} false; then :
12707   $as_echo_n "(cached) " >&6
12708 else
12709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h.  */
12711 #include <stdlib.h>
12712 #include <stdarg.h>
12713 #include <string.h>
12714 #include <float.h>
12715
12716 int
12717 main ()
12718 {
12719
12720   ;
12721   return 0;
12722 }
12723 _ACEOF
12724 if ac_fn_c_try_compile "$LINENO"; then :
12725   ac_cv_header_stdc=yes
12726 else
12727   ac_cv_header_stdc=no
12728 fi
12729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12730
12731 if test $ac_cv_header_stdc = yes; then
12732   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h.  */
12735 #include <string.h>
12736
12737 _ACEOF
12738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12739   $EGREP "memchr" >/dev/null 2>&1; then :
12740
12741 else
12742   ac_cv_header_stdc=no
12743 fi
12744 rm -f conftest*
12745
12746 fi
12747
12748 if test $ac_cv_header_stdc = yes; then
12749   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h.  */
12752 #include <stdlib.h>
12753
12754 _ACEOF
12755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12756   $EGREP "free" >/dev/null 2>&1; then :
12757
12758 else
12759   ac_cv_header_stdc=no
12760 fi
12761 rm -f conftest*
12762
12763 fi
12764
12765 if test $ac_cv_header_stdc = yes; then
12766   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12767   if test "$cross_compiling" = yes; then :
12768   :
12769 else
12770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h.  */
12772 #include <ctype.h>
12773 #include <stdlib.h>
12774 #if ((' ' & 0x0FF) == 0x020)
12775 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12776 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12777 #else
12778 # define ISLOWER(c) \
12779                    (('a' <= (c) && (c) <= 'i') \
12780                      || ('j' <= (c) && (c) <= 'r') \
12781                      || ('s' <= (c) && (c) <= 'z'))
12782 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12783 #endif
12784
12785 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12786 int
12787 main ()
12788 {
12789   int i;
12790   for (i = 0; i < 256; i++)
12791     if (XOR (islower (i), ISLOWER (i))
12792         || toupper (i) != TOUPPER (i))
12793       return 2;
12794   return 0;
12795 }
12796 _ACEOF
12797 if ac_fn_c_try_run "$LINENO"; then :
12798
12799 else
12800   ac_cv_header_stdc=no
12801 fi
12802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12803   conftest.$ac_objext conftest.beam conftest.$ac_ext
12804 fi
12805
12806 fi
12807 fi
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12809 $as_echo "$ac_cv_header_stdc" >&6; }
12810 if test $ac_cv_header_stdc = yes; then
12811
12812 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12813
12814 fi
12815
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12817 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12818 if ${ac_cv_c_const+:} false; then :
12819   $as_echo_n "(cached) " >&6
12820 else
12821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h.  */
12823
12824 int
12825 main ()
12826 {
12827 /* FIXME: Include the comments suggested by Paul. */
12828 #ifndef __cplusplus
12829   /* Ultrix mips cc rejects this.  */
12830   typedef int charset[2];
12831   const charset cs;
12832   /* SunOS 4.1.1 cc rejects this.  */
12833   char const *const *pcpcc;
12834   char **ppc;
12835   /* NEC SVR4.0.2 mips cc rejects this.  */
12836   struct point {int x, y;};
12837   static struct point const zero = {0,0};
12838   /* AIX XL C 1.02.0.0 rejects this.
12839      It does not let you subtract one const X* pointer from another in
12840      an arm of an if-expression whose if-part is not a constant
12841      expression */
12842   const char *g = "string";
12843   pcpcc = &g + (g ? g-g : 0);
12844   /* HPUX 7.0 cc rejects these. */
12845   ++pcpcc;
12846   ppc = (char**) pcpcc;
12847   pcpcc = (char const *const *) ppc;
12848   { /* SCO 3.2v4 cc rejects this.  */
12849     char *t;
12850     char const *s = 0 ? (char *) 0 : (char const *) 0;
12851
12852     *t++ = 0;
12853     if (s) return 0;
12854   }
12855   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12856     int x[] = {25, 17};
12857     const int *foo = &x[0];
12858     ++foo;
12859   }
12860   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12861     typedef const int *iptr;
12862     iptr p = 0;
12863     ++p;
12864   }
12865   { /* AIX XL C 1.02.0.0 rejects this saying
12866        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12867     struct s { int j; const int *ap[3]; };
12868     struct s *b; b->j = 5;
12869   }
12870   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12871     const int foo = 10;
12872     if (!foo) return 0;
12873   }
12874   return !cs[0] && !zero.x;
12875 #endif
12876
12877   ;
12878   return 0;
12879 }
12880 _ACEOF
12881 if ac_fn_c_try_compile "$LINENO"; then :
12882   ac_cv_c_const=yes
12883 else
12884   ac_cv_c_const=no
12885 fi
12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12887 fi
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12889 $as_echo "$ac_cv_c_const" >&6; }
12890 if test $ac_cv_c_const = no; then
12891
12892 $as_echo "#define const /**/" >>confdefs.h
12893
12894 fi
12895
12896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12897 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12898 if ${ac_cv_c_bigendian+:} false; then :
12899   $as_echo_n "(cached) " >&6
12900 else
12901   ac_cv_c_bigendian=unknown
12902     # See if we're dealing with a universal compiler.
12903     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h.  */
12905 #ifndef __APPLE_CC__
12906                not a universal capable compiler
12907              #endif
12908              typedef int dummy;
12909
12910 _ACEOF
12911 if ac_fn_c_try_compile "$LINENO"; then :
12912
12913         # Check for potential -arch flags.  It is not universal unless
12914         # there are at least two -arch flags with different values.
12915         ac_arch=
12916         ac_prev=
12917         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12918          if test -n "$ac_prev"; then
12919            case $ac_word in
12920              i?86 | x86_64 | ppc | ppc64)
12921                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12922                  ac_arch=$ac_word
12923                else
12924                  ac_cv_c_bigendian=universal
12925                  break
12926                fi
12927                ;;
12928            esac
12929            ac_prev=
12930          elif test "x$ac_word" = "x-arch"; then
12931            ac_prev=arch
12932          fi
12933        done
12934 fi
12935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12936     if test $ac_cv_c_bigendian = unknown; then
12937       # See if sys/param.h defines the BYTE_ORDER macro.
12938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h.  */
12940 #include <sys/types.h>
12941              #include <sys/param.h>
12942
12943 int
12944 main ()
12945 {
12946 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12947                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12948                      && LITTLE_ENDIAN)
12949               bogus endian macros
12950              #endif
12951
12952   ;
12953   return 0;
12954 }
12955 _ACEOF
12956 if ac_fn_c_try_compile "$LINENO"; then :
12957   # It does; now see whether it defined to BIG_ENDIAN or not.
12958          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h.  */
12960 #include <sys/types.h>
12961                 #include <sys/param.h>
12962
12963 int
12964 main ()
12965 {
12966 #if BYTE_ORDER != BIG_ENDIAN
12967                  not big endian
12968                 #endif
12969
12970   ;
12971   return 0;
12972 }
12973 _ACEOF
12974 if ac_fn_c_try_compile "$LINENO"; then :
12975   ac_cv_c_bigendian=yes
12976 else
12977   ac_cv_c_bigendian=no
12978 fi
12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12980 fi
12981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12982     fi
12983     if test $ac_cv_c_bigendian = unknown; then
12984       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h.  */
12987 #include <limits.h>
12988
12989 int
12990 main ()
12991 {
12992 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12993               bogus endian macros
12994              #endif
12995
12996   ;
12997   return 0;
12998 }
12999 _ACEOF
13000 if ac_fn_c_try_compile "$LINENO"; then :
13001   # It does; now see whether it defined to _BIG_ENDIAN or not.
13002          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h.  */
13004 #include <limits.h>
13005
13006 int
13007 main ()
13008 {
13009 #ifndef _BIG_ENDIAN
13010                  not big endian
13011                 #endif
13012
13013   ;
13014   return 0;
13015 }
13016 _ACEOF
13017 if ac_fn_c_try_compile "$LINENO"; then :
13018   ac_cv_c_bigendian=yes
13019 else
13020   ac_cv_c_bigendian=no
13021 fi
13022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13023 fi
13024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025     fi
13026     if test $ac_cv_c_bigendian = unknown; then
13027       # Compile a test program.
13028       if test "$cross_compiling" = yes; then :
13029   # Try to guess by grepping values from an object file.
13030          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h.  */
13032 short int ascii_mm[] =
13033                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13034                 short int ascii_ii[] =
13035                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13036                 int use_ascii (int i) {
13037                   return ascii_mm[i] + ascii_ii[i];
13038                 }
13039                 short int ebcdic_ii[] =
13040                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13041                 short int ebcdic_mm[] =
13042                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13043                 int use_ebcdic (int i) {
13044                   return ebcdic_mm[i] + ebcdic_ii[i];
13045                 }
13046                 extern int foo;
13047
13048 int
13049 main ()
13050 {
13051 return use_ascii (foo) == use_ebcdic (foo);
13052   ;
13053   return 0;
13054 }
13055 _ACEOF
13056 if ac_fn_c_try_compile "$LINENO"; then :
13057   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13058               ac_cv_c_bigendian=yes
13059             fi
13060             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13061               if test "$ac_cv_c_bigendian" = unknown; then
13062                 ac_cv_c_bigendian=no
13063               else
13064                 # finding both strings is unlikely to happen, but who knows?
13065                 ac_cv_c_bigendian=unknown
13066               fi
13067             fi
13068 fi
13069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13070 else
13071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h.  */
13073 $ac_includes_default
13074 int
13075 main ()
13076 {
13077
13078              /* Are we little or big endian?  From Harbison&Steele.  */
13079              union
13080              {
13081                long int l;
13082                char c[sizeof (long int)];
13083              } u;
13084              u.l = 1;
13085              return u.c[sizeof (long int) - 1] == 1;
13086
13087   ;
13088   return 0;
13089 }
13090 _ACEOF
13091 if ac_fn_c_try_run "$LINENO"; then :
13092   ac_cv_c_bigendian=no
13093 else
13094   ac_cv_c_bigendian=yes
13095 fi
13096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13097   conftest.$ac_objext conftest.beam conftest.$ac_ext
13098 fi
13099
13100     fi
13101 fi
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13103 $as_echo "$ac_cv_c_bigendian" >&6; }
13104  case $ac_cv_c_bigendian in #(
13105    yes)
13106      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13107 ;; #(
13108    no)
13109       ;; #(
13110    universal)
13111
13112 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13113
13114      ;; #(
13115    *)
13116      as_fn_error $? "unknown endianness
13117  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13118  esac
13119
13120 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13121 if test "x$ac_cv_type_pid_t" = xyes; then :
13122
13123 else
13124
13125 cat >>confdefs.h <<_ACEOF
13126 #define pid_t int
13127 _ACEOF
13128
13129 fi
13130
13131 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13132 if test "x$ac_cv_type_size_t" = xyes; then :
13133
13134 else
13135
13136 cat >>confdefs.h <<_ACEOF
13137 #define size_t unsigned int
13138 _ACEOF
13139
13140 fi
13141
13142 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13143 if test "x$ac_cv_type_ssize_t" = xyes; then :
13144
13145 cat >>confdefs.h <<_ACEOF
13146 #define HAVE_SSIZE_T 1
13147 _ACEOF
13148
13149
13150 else
13151
13152 $as_echo "#define ssize_t signed long" >>confdefs.h
13153
13154 fi
13155
13156 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13157 if test "x$ac_cv_type_off_t" = xyes; then :
13158
13159 else
13160
13161 cat >>confdefs.h <<_ACEOF
13162 #define off_t long int
13163 _ACEOF
13164
13165 fi
13166
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13168 $as_echo_n "checking return type of signal handlers... " >&6; }
13169 if ${ac_cv_type_signal+:} false; then :
13170   $as_echo_n "(cached) " >&6
13171 else
13172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h.  */
13174 #include <sys/types.h>
13175 #include <signal.h>
13176
13177 int
13178 main ()
13179 {
13180 return *(signal (0, 0)) (0) == 1;
13181   ;
13182   return 0;
13183 }
13184 _ACEOF
13185 if ac_fn_c_try_compile "$LINENO"; then :
13186   ac_cv_type_signal=int
13187 else
13188   ac_cv_type_signal=void
13189 fi
13190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13191 fi
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13193 $as_echo "$ac_cv_type_signal" >&6; }
13194
13195 cat >>confdefs.h <<_ACEOF
13196 #define RETSIGTYPE $ac_cv_type_signal
13197 _ACEOF
13198
13199
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13201 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13202 if ${ac_cv_type_uid_t+:} false; then :
13203   $as_echo_n "(cached) " >&6
13204 else
13205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h.  */
13207 #include <sys/types.h>
13208
13209 _ACEOF
13210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13211   $EGREP "uid_t" >/dev/null 2>&1; then :
13212   ac_cv_type_uid_t=yes
13213 else
13214   ac_cv_type_uid_t=no
13215 fi
13216 rm -f conftest*
13217
13218 fi
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
13220 $as_echo "$ac_cv_type_uid_t" >&6; }
13221 if test $ac_cv_type_uid_t = no; then
13222
13223 $as_echo "#define uid_t int" >>confdefs.h
13224
13225
13226 $as_echo "#define gid_t int" >>confdefs.h
13227
13228 fi
13229
13230 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
13231 if test "x$ac_cv_have_decl_environ" = xyes; then :
13232   ac_have_decl=1
13233 else
13234   ac_have_decl=0
13235 fi
13236
13237 cat >>confdefs.h <<_ACEOF
13238 #define HAVE_DECL_ENVIRON $ac_have_decl
13239 _ACEOF
13240
13241
13242
13243 cat >>confdefs.h <<_ACEOF
13244 #define PA_CFLAGS "$CFLAGS"
13245 _ACEOF
13246
13247
13248
13249
13250
13251
13252
13253
13254 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13255         if test -n "$ac_tool_prefix"; then
13256   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13257 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13259 $as_echo_n "checking for $ac_word... " >&6; }
13260 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13261   $as_echo_n "(cached) " >&6
13262 else
13263   case $PKG_CONFIG in
13264   [\\/]* | ?:[\\/]*)
13265   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13266   ;;
13267   *)
13268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13269 for as_dir in $PATH
13270 do
13271   IFS=$as_save_IFS
13272   test -z "$as_dir" && as_dir=.
13273     for ac_exec_ext in '' $ac_executable_extensions; do
13274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13275     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13277     break 2
13278   fi
13279 done
13280   done
13281 IFS=$as_save_IFS
13282
13283   ;;
13284 esac
13285 fi
13286 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13287 if test -n "$PKG_CONFIG"; then
13288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13289 $as_echo "$PKG_CONFIG" >&6; }
13290 else
13291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13292 $as_echo "no" >&6; }
13293 fi
13294
13295
13296 fi
13297 if test -z "$ac_cv_path_PKG_CONFIG"; then
13298   ac_pt_PKG_CONFIG=$PKG_CONFIG
13299   # Extract the first word of "pkg-config", so it can be a program name with args.
13300 set dummy pkg-config; ac_word=$2
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13302 $as_echo_n "checking for $ac_word... " >&6; }
13303 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13304   $as_echo_n "(cached) " >&6
13305 else
13306   case $ac_pt_PKG_CONFIG in
13307   [\\/]* | ?:[\\/]*)
13308   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13309   ;;
13310   *)
13311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312 for as_dir in $PATH
13313 do
13314   IFS=$as_save_IFS
13315   test -z "$as_dir" && as_dir=.
13316     for ac_exec_ext in '' $ac_executable_extensions; do
13317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13318     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13320     break 2
13321   fi
13322 done
13323   done
13324 IFS=$as_save_IFS
13325
13326   ;;
13327 esac
13328 fi
13329 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13330 if test -n "$ac_pt_PKG_CONFIG"; then
13331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13332 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13333 else
13334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13335 $as_echo "no" >&6; }
13336 fi
13337
13338   if test "x$ac_pt_PKG_CONFIG" = x; then
13339     PKG_CONFIG=""
13340   else
13341     case $cross_compiling:$ac_tool_warned in
13342 yes:)
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13345 ac_tool_warned=yes ;;
13346 esac
13347     PKG_CONFIG=$ac_pt_PKG_CONFIG
13348   fi
13349 else
13350   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13351 fi
13352
13353 fi
13354 if test -n "$PKG_CONFIG"; then
13355         _pkg_min_version=0.9.0
13356         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13357 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13358         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13359                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13360 $as_echo "yes" >&6; }
13361         else
13362                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13363 $as_echo "no" >&6; }
13364                 PKG_CONFIG=""
13365         fi
13366 fi
13367
13368 pkg_failed=no
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPULSE" >&5
13370 $as_echo_n "checking for LIBPULSE... " >&6; }
13371
13372 if test -n "$LIBPULSE_CFLAGS"; then
13373     pkg_cv_LIBPULSE_CFLAGS="$LIBPULSE_CFLAGS"
13374  elif test -n "$PKG_CONFIG"; then
13375     if test -n "$PKG_CONFIG" && \
13376     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse\""; } >&5
13377   ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
13378   ac_status=$?
13379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13380   test $ac_status = 0; }; then
13381   pkg_cv_LIBPULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse" 2>/dev/null`
13382 else
13383   pkg_failed=yes
13384 fi
13385  else
13386     pkg_failed=untried
13387 fi
13388 if test -n "$LIBPULSE_LIBS"; then
13389     pkg_cv_LIBPULSE_LIBS="$LIBPULSE_LIBS"
13390  elif test -n "$PKG_CONFIG"; then
13391     if test -n "$PKG_CONFIG" && \
13392     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse\""; } >&5
13393   ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
13394   ac_status=$?
13395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13396   test $ac_status = 0; }; then
13397   pkg_cv_LIBPULSE_LIBS=`$PKG_CONFIG --libs "libpulse" 2>/dev/null`
13398 else
13399   pkg_failed=yes
13400 fi
13401  else
13402     pkg_failed=untried
13403 fi
13404
13405
13406
13407 if test $pkg_failed = yes; then
13408         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13410
13411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13412         _pkg_short_errors_supported=yes
13413 else
13414         _pkg_short_errors_supported=no
13415 fi
13416         if test $_pkg_short_errors_supported = yes; then
13417                 LIBPULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse" 2>&1`
13418         else
13419                 LIBPULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse" 2>&1`
13420         fi
13421         # Put the nasty error message in config.log where it belongs
13422         echo "$LIBPULSE_PKG_ERRORS" >&5
13423
13424         as_fn_error $? "Package requirements (libpulse) were not met:
13425
13426 $LIBPULSE_PKG_ERRORS
13427
13428 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13429 installed software in a non-standard prefix.
13430
13431 Alternatively, you may set the environment variables LIBPULSE_CFLAGS
13432 and LIBPULSE_LIBS to avoid the need to call pkg-config.
13433 See the pkg-config man page for more details." "$LINENO" 5
13434
13435 elif test $pkg_failed = untried; then
13436         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13437 $as_echo "no" >&6; }
13438         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13440 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13441 is in your PATH or set the PKG_CONFIG environment variable to the full
13442 path to pkg-config.
13443
13444 Alternatively, you may set the environment variables LIBPULSE_CFLAGS
13445 and LIBPULSE_LIBS to avoid the need to call pkg-config.
13446 See the pkg-config man page for more details.
13447
13448 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13449 See \`config.log' for more details" "$LINENO" 5; }
13450
13451 else
13452         LIBPULSE_CFLAGS=$pkg_cv_LIBPULSE_CFLAGS
13453         LIBPULSE_LIBS=$pkg_cv_LIBPULSE_LIBS
13454         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13455 $as_echo "yes" >&6; }
13456
13457 fi
13458
13459
13460
13461 #PKG_CHECK_MODULES(LIBPULSECORE, [pulsecore])
13462 #AC_SUBST(LIBPULSECORE_CFLAGS)
13463 #AC_SUBST(LIBPULSECORE_LIBS)
13464
13465
13466 pkg_failed=no
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEDEVEL" >&5
13468 $as_echo_n "checking for PULSEDEVEL... " >&6; }
13469
13470 if test -n "$PULSEDEVEL_CFLAGS"; then
13471     pkg_cv_PULSEDEVEL_CFLAGS="$PULSEDEVEL_CFLAGS"
13472  elif test -n "$PKG_CONFIG"; then
13473     if test -n "$PKG_CONFIG" && \
13474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pulseaudio-module-devel\""; } >&5
13475   ($PKG_CONFIG --exists --print-errors "pulseaudio-module-devel") 2>&5
13476   ac_status=$?
13477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478   test $ac_status = 0; }; then
13479   pkg_cv_PULSEDEVEL_CFLAGS=`$PKG_CONFIG --cflags "pulseaudio-module-devel" 2>/dev/null`
13480 else
13481   pkg_failed=yes
13482 fi
13483  else
13484     pkg_failed=untried
13485 fi
13486 if test -n "$PULSEDEVEL_LIBS"; then
13487     pkg_cv_PULSEDEVEL_LIBS="$PULSEDEVEL_LIBS"
13488  elif test -n "$PKG_CONFIG"; then
13489     if test -n "$PKG_CONFIG" && \
13490     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pulseaudio-module-devel\""; } >&5
13491   ($PKG_CONFIG --exists --print-errors "pulseaudio-module-devel") 2>&5
13492   ac_status=$?
13493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13494   test $ac_status = 0; }; then
13495   pkg_cv_PULSEDEVEL_LIBS=`$PKG_CONFIG --libs "pulseaudio-module-devel" 2>/dev/null`
13496 else
13497   pkg_failed=yes
13498 fi
13499  else
13500     pkg_failed=untried
13501 fi
13502
13503
13504
13505 if test $pkg_failed = yes; then
13506         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507 $as_echo "no" >&6; }
13508
13509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13510         _pkg_short_errors_supported=yes
13511 else
13512         _pkg_short_errors_supported=no
13513 fi
13514         if test $_pkg_short_errors_supported = yes; then
13515                 PULSEDEVEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pulseaudio-module-devel" 2>&1`
13516         else
13517                 PULSEDEVEL_PKG_ERRORS=`$PKG_CONFIG --print-errors "pulseaudio-module-devel" 2>&1`
13518         fi
13519         # Put the nasty error message in config.log where it belongs
13520         echo "$PULSEDEVEL_PKG_ERRORS" >&5
13521
13522         as_fn_error $? "Package requirements (pulseaudio-module-devel) were not met:
13523
13524 $PULSEDEVEL_PKG_ERRORS
13525
13526 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13527 installed software in a non-standard prefix.
13528
13529 Alternatively, you may set the environment variables PULSEDEVEL_CFLAGS
13530 and PULSEDEVEL_LIBS to avoid the need to call pkg-config.
13531 See the pkg-config man page for more details." "$LINENO" 5
13532
13533 elif test $pkg_failed = untried; then
13534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13536         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13538 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13539 is in your PATH or set the PKG_CONFIG environment variable to the full
13540 path to pkg-config.
13541
13542 Alternatively, you may set the environment variables PULSEDEVEL_CFLAGS
13543 and PULSEDEVEL_LIBS to avoid the need to call pkg-config.
13544 See the pkg-config man page for more details.
13545
13546 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13547 See \`config.log' for more details" "$LINENO" 5; }
13548
13549 else
13550         PULSEDEVEL_CFLAGS=$pkg_cv_PULSEDEVEL_CFLAGS
13551         PULSEDEVEL_LIBS=$pkg_cv_PULSEDEVEL_LIBS
13552         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13553 $as_echo "yes" >&6; }
13554
13555 fi
13556
13557
13558
13559
13560
13561 pkg_failed=no
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13563 $as_echo_n "checking for DBUS... " >&6; }
13564
13565 if test -n "$DBUS_CFLAGS"; then
13566     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13567  elif test -n "$PKG_CONFIG"; then
13568     if test -n "$PKG_CONFIG" && \
13569     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13570   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13571   ac_status=$?
13572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573   test $ac_status = 0; }; then
13574   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
13575 else
13576   pkg_failed=yes
13577 fi
13578  else
13579     pkg_failed=untried
13580 fi
13581 if test -n "$DBUS_LIBS"; then
13582     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13583  elif test -n "$PKG_CONFIG"; then
13584     if test -n "$PKG_CONFIG" && \
13585     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13586   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13587   ac_status=$?
13588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13589   test $ac_status = 0; }; then
13590   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
13591 else
13592   pkg_failed=yes
13593 fi
13594  else
13595     pkg_failed=untried
13596 fi
13597
13598
13599
13600 if test $pkg_failed = yes; then
13601         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13602 $as_echo "no" >&6; }
13603
13604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13605         _pkg_short_errors_supported=yes
13606 else
13607         _pkg_short_errors_supported=no
13608 fi
13609         if test $_pkg_short_errors_supported = yes; then
13610                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1`
13611         else
13612                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1`
13613         fi
13614         # Put the nasty error message in config.log where it belongs
13615         echo "$DBUS_PKG_ERRORS" >&5
13616
13617         as_fn_error $? "Package requirements (dbus-1) were not met:
13618
13619 $DBUS_PKG_ERRORS
13620
13621 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13622 installed software in a non-standard prefix.
13623
13624 Alternatively, you may set the environment variables DBUS_CFLAGS
13625 and DBUS_LIBS to avoid the need to call pkg-config.
13626 See the pkg-config man page for more details." "$LINENO" 5
13627
13628 elif test $pkg_failed = untried; then
13629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13630 $as_echo "no" >&6; }
13631         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13633 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13634 is in your PATH or set the PKG_CONFIG environment variable to the full
13635 path to pkg-config.
13636
13637 Alternatively, you may set the environment variables DBUS_CFLAGS
13638 and DBUS_LIBS to avoid the need to call pkg-config.
13639 See the pkg-config man page for more details.
13640
13641 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13642 See \`config.log' for more details" "$LINENO" 5; }
13643
13644 else
13645         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13646         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13647         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13648 $as_echo "yes" >&6; }
13649
13650 fi
13651
13652
13653
13654
13655
13656 # Check whether --with-module-dir was given.
13657 if test "${with_module_dir+set}" = set; then :
13658   withval=$with_module_dir; modlibexecdir=$withval
13659 else
13660   modlibexecdir=${LIBDIR}/pulse-${PA_MAJORMINOR}/modules
13661 fi
13662
13663
13664 PULSEAUDIO_HAS_PORTS=0
13665 echo -e "#include <pulsecore/pulsecore-config.h>\n #include <pulsecore/sink.h>\nint main() {\nreturn pa_sink_set_port((struct pa_sink *)0,\"\",0);\n}" | ${CC} ${CFLAGS} ${LIBPULSECORE_CFLAGS} ${LIBPULSE_CFLAGS} ${AM_LIBADD} ${LIBPULSECORE_LIBS} ${LIBPULSE_LIBS} -Wmissing-declarations -Werror -x c -c -o /dev/null - && PULSEAUDIO_HAS_PORTS=1
13666
13667
13668
13669
13670
13671 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
13672
13673 cat >confcache <<\_ACEOF
13674 # This file is a shell script that caches the results of configure
13675 # tests run on this system so they can be shared between configure
13676 # scripts and configure runs, see configure's option --config-cache.
13677 # It is not useful on other systems.  If it contains results you don't
13678 # want to keep, you may remove or edit it.
13679 #
13680 # config.status only pays attention to the cache file if you give it
13681 # the --recheck option to rerun configure.
13682 #
13683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13685 # following values.
13686
13687 _ACEOF
13688
13689 # The following way of writing the cache mishandles newlines in values,
13690 # but we know of no workaround that is simple, portable, and efficient.
13691 # So, we kill variables containing newlines.
13692 # Ultrix sh set writes to stderr and can't be redirected directly,
13693 # and sets the high bit in the cache file unless we assign to the vars.
13694 (
13695   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13696     eval ac_val=\$$ac_var
13697     case $ac_val in #(
13698     *${as_nl}*)
13699       case $ac_var in #(
13700       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13702       esac
13703       case $ac_var in #(
13704       _ | IFS | as_nl) ;; #(
13705       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13706       *) { eval $ac_var=; unset $ac_var;} ;;
13707       esac ;;
13708     esac
13709   done
13710
13711   (set) 2>&1 |
13712     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13713     *${as_nl}ac_space=\ *)
13714       # `set' does not quote correctly, so add quotes: double-quote
13715       # substitution turns \\\\ into \\, and sed turns \\ into \.
13716       sed -n \
13717         "s/'/'\\\\''/g;
13718           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13719       ;; #(
13720     *)
13721       # `set' quotes correctly as required by POSIX, so do not add quotes.
13722       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13723       ;;
13724     esac |
13725     sort
13726 ) |
13727   sed '
13728      /^ac_cv_env_/b end
13729      t clear
13730      :clear
13731      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13732      t end
13733      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13734      :end' >>confcache
13735 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13736   if test -w "$cache_file"; then
13737     if test "x$cache_file" != "x/dev/null"; then
13738       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13739 $as_echo "$as_me: updating cache $cache_file" >&6;}
13740       if test ! -f "$cache_file" || test -h "$cache_file"; then
13741         cat confcache >"$cache_file"
13742       else
13743         case $cache_file in #(
13744         */* | ?:*)
13745           mv -f confcache "$cache_file"$$ &&
13746           mv -f "$cache_file"$$ "$cache_file" ;; #(
13747         *)
13748           mv -f confcache "$cache_file" ;;
13749         esac
13750       fi
13751     fi
13752   else
13753     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13754 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13755   fi
13756 fi
13757 rm -f confcache
13758
13759 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13760 # Let make expand exec_prefix.
13761 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13762
13763 # Transform confdefs.h into DEFS.
13764 # Protect against shell expansion while executing Makefile rules.
13765 # Protect against Makefile macro expansion.
13766 #
13767 # If the first sed substitution is executed (which looks for macros that
13768 # take arguments), then branch to the quote section.  Otherwise,
13769 # look for a macro that doesn't take arguments.
13770 ac_script='
13771 :mline
13772 /\\$/{
13773  N
13774  s,\\\n,,
13775  b mline
13776 }
13777 t clear
13778 :clear
13779 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
13780 t quote
13781 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
13782 t quote
13783 b any
13784 :quote
13785 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13786 s/\[/\\&/g
13787 s/\]/\\&/g
13788 s/\$/$$/g
13789 H
13790 :any
13791 ${
13792         g
13793         s/^\n//
13794         s/\n/ /g
13795         p
13796 }
13797 '
13798 DEFS=`sed -n "$ac_script" confdefs.h`
13799
13800
13801 ac_libobjs=
13802 ac_ltlibobjs=
13803 U=
13804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13805   # 1. Remove the extension, and $U if already installed.
13806   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13807   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13808   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13809   #    will be set to the directory where LIBOBJS objects are built.
13810   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13811   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13812 done
13813 LIBOBJS=$ac_libobjs
13814
13815 LTLIBOBJS=$ac_ltlibobjs
13816
13817
13818 if test -z "${PD_SUPPORT_TRUE}" && test -z "${PD_SUPPORT_FALSE}"; then
13819   as_fn_error $? "conditional \"PD_SUPPORT\" was never defined.
13820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13821 fi
13822  if test -n "$EXEEXT"; then
13823   am__EXEEXT_TRUE=
13824   am__EXEEXT_FALSE='#'
13825 else
13826   am__EXEEXT_TRUE='#'
13827   am__EXEEXT_FALSE=
13828 fi
13829
13830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13831   as_fn_error $? "conditional \"AMDEP\" was never defined.
13832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13833 fi
13834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13835   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13837 fi
13838
13839
13840 : "${CONFIG_STATUS=./config.status}"
13841 ac_write_fail=0
13842 ac_clean_files_save=$ac_clean_files
13843 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13845 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13846 as_write_fail=0
13847 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13848 #! $SHELL
13849 # Generated by $as_me.
13850 # Run this file to recreate the current configuration.
13851 # Compiler output produced by configure, useful for debugging
13852 # configure, is in config.log if it exists.
13853
13854 debug=false
13855 ac_cs_recheck=false
13856 ac_cs_silent=false
13857
13858 SHELL=\${CONFIG_SHELL-$SHELL}
13859 export SHELL
13860 _ASEOF
13861 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13862 ## -------------------- ##
13863 ## M4sh Initialization. ##
13864 ## -------------------- ##
13865
13866 # Be more Bourne compatible
13867 DUALCASE=1; export DUALCASE # for MKS sh
13868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13869   emulate sh
13870   NULLCMD=:
13871   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13872   # is contrary to our usage.  Disable this feature.
13873   alias -g '${1+"$@"}'='"$@"'
13874   setopt NO_GLOB_SUBST
13875 else
13876   case `(set -o) 2>/dev/null` in #(
13877   *posix*) :
13878     set -o posix ;; #(
13879   *) :
13880      ;;
13881 esac
13882 fi
13883
13884
13885 as_nl='
13886 '
13887 export as_nl
13888 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13889 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13890 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13892 # Prefer a ksh shell builtin over an external printf program on Solaris,
13893 # but without wasting forks for bash or zsh.
13894 if test -z "$BASH_VERSION$ZSH_VERSION" \
13895     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13896   as_echo='print -r --'
13897   as_echo_n='print -rn --'
13898 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13899   as_echo='printf %s\n'
13900   as_echo_n='printf %s'
13901 else
13902   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13903     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13904     as_echo_n='/usr/ucb/echo -n'
13905   else
13906     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13907     as_echo_n_body='eval
13908       arg=$1;
13909       case $arg in #(
13910       *"$as_nl"*)
13911         expr "X$arg" : "X\\(.*\\)$as_nl";
13912         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13913       esac;
13914       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13915     '
13916     export as_echo_n_body
13917     as_echo_n='sh -c $as_echo_n_body as_echo'
13918   fi
13919   export as_echo_body
13920   as_echo='sh -c $as_echo_body as_echo'
13921 fi
13922
13923 # The user is always right.
13924 if test "${PATH_SEPARATOR+set}" != set; then
13925   PATH_SEPARATOR=:
13926   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13927     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13928       PATH_SEPARATOR=';'
13929   }
13930 fi
13931
13932
13933 # IFS
13934 # We need space, tab and new line, in precisely that order.  Quoting is
13935 # there to prevent editors from complaining about space-tab.
13936 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13937 # splitting by setting IFS to empty value.)
13938 IFS=" ""        $as_nl"
13939
13940 # Find who we are.  Look in the path if we contain no directory separator.
13941 as_myself=
13942 case $0 in #((
13943   *[\\/]* ) as_myself=$0 ;;
13944   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13946 do
13947   IFS=$as_save_IFS
13948   test -z "$as_dir" && as_dir=.
13949     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13950   done
13951 IFS=$as_save_IFS
13952
13953      ;;
13954 esac
13955 # We did not find ourselves, most probably we were run as `sh COMMAND'
13956 # in which case we are not to be found in the path.
13957 if test "x$as_myself" = x; then
13958   as_myself=$0
13959 fi
13960 if test ! -f "$as_myself"; then
13961   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13962   exit 1
13963 fi
13964
13965 # Unset variables that we do not need and which cause bugs (e.g. in
13966 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13967 # suppresses any "Segmentation fault" message there.  '((' could
13968 # trigger a bug in pdksh 5.2.14.
13969 for as_var in BASH_ENV ENV MAIL MAILPATH
13970 do eval test x\${$as_var+set} = xset \
13971   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13972 done
13973 PS1='$ '
13974 PS2='> '
13975 PS4='+ '
13976
13977 # NLS nuisances.
13978 LC_ALL=C
13979 export LC_ALL
13980 LANGUAGE=C
13981 export LANGUAGE
13982
13983 # CDPATH.
13984 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13985
13986
13987 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13988 # ----------------------------------------
13989 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13990 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13991 # script with STATUS, using 1 if that was 0.
13992 as_fn_error ()
13993 {
13994   as_status=$1; test $as_status -eq 0 && as_status=1
13995   if test "$4"; then
13996     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13997     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13998   fi
13999   $as_echo "$as_me: error: $2" >&2
14000   as_fn_exit $as_status
14001 } # as_fn_error
14002
14003
14004 # as_fn_set_status STATUS
14005 # -----------------------
14006 # Set $? to STATUS, without forking.
14007 as_fn_set_status ()
14008 {
14009   return $1
14010 } # as_fn_set_status
14011
14012 # as_fn_exit STATUS
14013 # -----------------
14014 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14015 as_fn_exit ()
14016 {
14017   set +e
14018   as_fn_set_status $1
14019   exit $1
14020 } # as_fn_exit
14021
14022 # as_fn_unset VAR
14023 # ---------------
14024 # Portably unset VAR.
14025 as_fn_unset ()
14026 {
14027   { eval $1=; unset $1;}
14028 }
14029 as_unset=as_fn_unset
14030 # as_fn_append VAR VALUE
14031 # ----------------------
14032 # Append the text in VALUE to the end of the definition contained in VAR. Take
14033 # advantage of any shell optimizations that allow amortized linear growth over
14034 # repeated appends, instead of the typical quadratic growth present in naive
14035 # implementations.
14036 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14037   eval 'as_fn_append ()
14038   {
14039     eval $1+=\$2
14040   }'
14041 else
14042   as_fn_append ()
14043   {
14044     eval $1=\$$1\$2
14045   }
14046 fi # as_fn_append
14047
14048 # as_fn_arith ARG...
14049 # ------------------
14050 # Perform arithmetic evaluation on the ARGs, and store the result in the
14051 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14052 # must be portable across $(()) and expr.
14053 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14054   eval 'as_fn_arith ()
14055   {
14056     as_val=$(( $* ))
14057   }'
14058 else
14059   as_fn_arith ()
14060   {
14061     as_val=`expr "$@" || test $? -eq 1`
14062   }
14063 fi # as_fn_arith
14064
14065
14066 if expr a : '\(a\)' >/dev/null 2>&1 &&
14067    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14068   as_expr=expr
14069 else
14070   as_expr=false
14071 fi
14072
14073 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14074   as_basename=basename
14075 else
14076   as_basename=false
14077 fi
14078
14079 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14080   as_dirname=dirname
14081 else
14082   as_dirname=false
14083 fi
14084
14085 as_me=`$as_basename -- "$0" ||
14086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14087          X"$0" : 'X\(//\)$' \| \
14088          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14089 $as_echo X/"$0" |
14090     sed '/^.*\/\([^/][^/]*\)\/*$/{
14091             s//\1/
14092             q
14093           }
14094           /^X\/\(\/\/\)$/{
14095             s//\1/
14096             q
14097           }
14098           /^X\/\(\/\).*/{
14099             s//\1/
14100             q
14101           }
14102           s/.*/./; q'`
14103
14104 # Avoid depending upon Character Ranges.
14105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14108 as_cr_digits='0123456789'
14109 as_cr_alnum=$as_cr_Letters$as_cr_digits
14110
14111 ECHO_C= ECHO_N= ECHO_T=
14112 case `echo -n x` in #(((((
14113 -n*)
14114   case `echo 'xy\c'` in
14115   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14116   xy)  ECHO_C='\c';;
14117   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14118        ECHO_T=' ';;
14119   esac;;
14120 *)
14121   ECHO_N='-n';;
14122 esac
14123
14124 rm -f conf$$ conf$$.exe conf$$.file
14125 if test -d conf$$.dir; then
14126   rm -f conf$$.dir/conf$$.file
14127 else
14128   rm -f conf$$.dir
14129   mkdir conf$$.dir 2>/dev/null
14130 fi
14131 if (echo >conf$$.file) 2>/dev/null; then
14132   if ln -s conf$$.file conf$$ 2>/dev/null; then
14133     as_ln_s='ln -s'
14134     # ... but there are two gotchas:
14135     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14136     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14137     # In both cases, we have to default to `cp -p'.
14138     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14139       as_ln_s='cp -p'
14140   elif ln conf$$.file conf$$ 2>/dev/null; then
14141     as_ln_s=ln
14142   else
14143     as_ln_s='cp -p'
14144   fi
14145 else
14146   as_ln_s='cp -p'
14147 fi
14148 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14149 rmdir conf$$.dir 2>/dev/null
14150
14151
14152 # as_fn_mkdir_p
14153 # -------------
14154 # Create "$as_dir" as a directory, including parents if necessary.
14155 as_fn_mkdir_p ()
14156 {
14157
14158   case $as_dir in #(
14159   -*) as_dir=./$as_dir;;
14160   esac
14161   test -d "$as_dir" || eval $as_mkdir_p || {
14162     as_dirs=
14163     while :; do
14164       case $as_dir in #(
14165       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14166       *) as_qdir=$as_dir;;
14167       esac
14168       as_dirs="'$as_qdir' $as_dirs"
14169       as_dir=`$as_dirname -- "$as_dir" ||
14170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14171          X"$as_dir" : 'X\(//\)[^/]' \| \
14172          X"$as_dir" : 'X\(//\)$' \| \
14173          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14174 $as_echo X"$as_dir" |
14175     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14176             s//\1/
14177             q
14178           }
14179           /^X\(\/\/\)[^/].*/{
14180             s//\1/
14181             q
14182           }
14183           /^X\(\/\/\)$/{
14184             s//\1/
14185             q
14186           }
14187           /^X\(\/\).*/{
14188             s//\1/
14189             q
14190           }
14191           s/.*/./; q'`
14192       test -d "$as_dir" && break
14193     done
14194     test -z "$as_dirs" || eval "mkdir $as_dirs"
14195   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14196
14197
14198 } # as_fn_mkdir_p
14199 if mkdir -p . 2>/dev/null; then
14200   as_mkdir_p='mkdir -p "$as_dir"'
14201 else
14202   test -d ./-p && rmdir ./-p
14203   as_mkdir_p=false
14204 fi
14205
14206 if test -x / >/dev/null 2>&1; then
14207   as_test_x='test -x'
14208 else
14209   if ls -dL / >/dev/null 2>&1; then
14210     as_ls_L_option=L
14211   else
14212     as_ls_L_option=
14213   fi
14214   as_test_x='
14215     eval sh -c '\''
14216       if test -d "$1"; then
14217         test -d "$1/.";
14218       else
14219         case $1 in #(
14220         -*)set "./$1";;
14221         esac;
14222         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14223         ???[sx]*):;;*)false;;esac;fi
14224     '\'' sh
14225   '
14226 fi
14227 as_executable_p=$as_test_x
14228
14229 # Sed expression to map a string onto a valid CPP name.
14230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14231
14232 # Sed expression to map a string onto a valid variable name.
14233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14234
14235
14236 exec 6>&1
14237 ## ----------------------------------- ##
14238 ## Main body of $CONFIG_STATUS script. ##
14239 ## ----------------------------------- ##
14240 _ASEOF
14241 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14242
14243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14244 # Save the log message, to keep $0 and so on meaningful, and to
14245 # report actual input values of CONFIG_FILES etc. instead of their
14246 # values after options handling.
14247 ac_log="
14248 This file was extended by pulseaudio-genivi-mir $as_me , which was
14249 generated by GNU Autoconf 2.68.  Invocation command line was
14250
14251   CONFIG_FILES    = $CONFIG_FILES
14252   CONFIG_HEADERS  = $CONFIG_HEADERS
14253   CONFIG_LINKS    = $CONFIG_LINKS
14254   CONFIG_COMMANDS = $CONFIG_COMMANDS
14255   $ $0 $@
14256
14257 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14258 "
14259
14260 _ACEOF
14261
14262 case $ac_config_files in *"
14263 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14264 esac
14265
14266
14267
14268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14269 # Files that config.status was made for.
14270 config_files="$ac_config_files"
14271 config_commands="$ac_config_commands"
14272
14273 _ACEOF
14274
14275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14276 ac_cs_usage="\
14277 \`$as_me' instantiates files and other configuration actions
14278 from templates according to the current configuration.  Unless the files
14279 and actions are specified as TAGs, all are instantiated by default.
14280
14281 Usage: $0 [OPTION]... [TAG]...
14282
14283   -h, --help       print this help, then exit
14284   -V, --version    print version number and configuration settings, then exit
14285       --config     print configuration, then exit
14286   -q, --quiet, --silent
14287                    do not print progress messages
14288   -d, --debug      don't remove temporary files
14289       --recheck    update $as_me by reconfiguring in the same conditions
14290       --file=FILE[:TEMPLATE]
14291                    instantiate the configuration file FILE
14292
14293 Configuration files:
14294 $config_files
14295
14296 Configuration commands:
14297 $config_commands
14298
14299 Report bugs to <janos.f.kovacs@nokia.com>."
14300
14301 _ACEOF
14302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14304 ac_cs_version="\\
14305 pulseaudio-genivi-mir config.status
14306 configured by $0, generated by GNU Autoconf 2.68,
14307   with options \\"\$ac_cs_config\\"
14308
14309 Copyright (C) 2010 Free Software Foundation, Inc.
14310 This config.status script is free software; the Free Software Foundation
14311 gives unlimited permission to copy, distribute and modify it."
14312
14313 ac_pwd='$ac_pwd'
14314 srcdir='$srcdir'
14315 INSTALL='$INSTALL'
14316 MKDIR_P='$MKDIR_P'
14317 AWK='$AWK'
14318 test -n "\$AWK" || AWK=awk
14319 _ACEOF
14320
14321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14322 # The default lists apply if the user does not specify any file.
14323 ac_need_defaults=:
14324 while test $# != 0
14325 do
14326   case $1 in
14327   --*=?*)
14328     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14329     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14330     ac_shift=:
14331     ;;
14332   --*=)
14333     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14334     ac_optarg=
14335     ac_shift=:
14336     ;;
14337   *)
14338     ac_option=$1
14339     ac_optarg=$2
14340     ac_shift=shift
14341     ;;
14342   esac
14343
14344   case $ac_option in
14345   # Handling of the options.
14346   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14347     ac_cs_recheck=: ;;
14348   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14349     $as_echo "$ac_cs_version"; exit ;;
14350   --config | --confi | --conf | --con | --co | --c )
14351     $as_echo "$ac_cs_config"; exit ;;
14352   --debug | --debu | --deb | --de | --d | -d )
14353     debug=: ;;
14354   --file | --fil | --fi | --f )
14355     $ac_shift
14356     case $ac_optarg in
14357     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14358     '') as_fn_error $? "missing file argument" ;;
14359     esac
14360     as_fn_append CONFIG_FILES " '$ac_optarg'"
14361     ac_need_defaults=false;;
14362   --he | --h |  --help | --hel | -h )
14363     $as_echo "$ac_cs_usage"; exit ;;
14364   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14365   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14366     ac_cs_silent=: ;;
14367
14368   # This is an error.
14369   -*) as_fn_error $? "unrecognized option: \`$1'
14370 Try \`$0 --help' for more information." ;;
14371
14372   *) as_fn_append ac_config_targets " $1"
14373      ac_need_defaults=false ;;
14374
14375   esac
14376   shift
14377 done
14378
14379 ac_configure_extra_args=
14380
14381 if $ac_cs_silent; then
14382   exec 6>/dev/null
14383   ac_configure_extra_args="$ac_configure_extra_args --silent"
14384 fi
14385
14386 _ACEOF
14387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14388 if \$ac_cs_recheck; then
14389   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14390   shift
14391   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14392   CONFIG_SHELL='$SHELL'
14393   export CONFIG_SHELL
14394   exec "\$@"
14395 fi
14396
14397 _ACEOF
14398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14399 exec 5>>config.log
14400 {
14401   echo
14402   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14403 ## Running $as_me. ##
14404 _ASBOX
14405   $as_echo "$ac_log"
14406 } >&5
14407
14408 _ACEOF
14409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14410 #
14411 # INIT-COMMANDS
14412 #
14413 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14414
14415
14416 # The HP-UX ksh and POSIX shell print the target directory to stdout
14417 # if CDPATH is set.
14418 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14419
14420 sed_quote_subst='$sed_quote_subst'
14421 double_quote_subst='$double_quote_subst'
14422 delay_variable_subst='$delay_variable_subst'
14423 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14424 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14425 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14426 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14427 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14428 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14429 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14430 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14431 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14432 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14433 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14434 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14435 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14436 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14437 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14438 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14439 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14440 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14441 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14442 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14443 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14444 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14445 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14446 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14447 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14448 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14449 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14450 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14451 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14452 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14453 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14454 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14455 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14456 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14457 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14458 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14459 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14460 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14461 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14462 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14463 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14464 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14465 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14466 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14467 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14468 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14469 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14470 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14471 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14472 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14473 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14474 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14475 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14476 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14477 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14478 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14479 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"`'
14480 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14481 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14482 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14483 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14484 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14485 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14486 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14487 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14488 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14489 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14490 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14491 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14492 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14493 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14494 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14495 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14496 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14497 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14498 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14499 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14500 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14501 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14502 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14503 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14504 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14505 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14506 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14507 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14508 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14509 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14510 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14511 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14512 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14513 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14514 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14515 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14516 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14517 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14518 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14519 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14520 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14521 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14522 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14523 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14524 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14525 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14526 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14527 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14528 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14529 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14530 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14531 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14532 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14533 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14534 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14535 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14536 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14537 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14538 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14539 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14540 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14541 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14542 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14543 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14544 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14545 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14546 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14547 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14548 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14549 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14550 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14551 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14552 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14553 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14554
14555 LTCC='$LTCC'
14556 LTCFLAGS='$LTCFLAGS'
14557 compiler='$compiler_DEFAULT'
14558
14559 # A function that is used when there is no print builtin or printf.
14560 func_fallback_echo ()
14561 {
14562   eval 'cat <<_LTECHO_EOF
14563 \$1
14564 _LTECHO_EOF'
14565 }
14566
14567 # Quote evaled strings.
14568 for var in AS \
14569 DLLTOOL \
14570 OBJDUMP \
14571 SHELL \
14572 ECHO \
14573 SED \
14574 GREP \
14575 EGREP \
14576 FGREP \
14577 LD \
14578 NM \
14579 LN_S \
14580 lt_SP2NL \
14581 lt_NL2SP \
14582 reload_flag \
14583 deplibs_check_method \
14584 file_magic_cmd \
14585 file_magic_glob \
14586 want_nocaseglob \
14587 sharedlib_from_linklib_cmd \
14588 AR \
14589 AR_FLAGS \
14590 archiver_list_spec \
14591 STRIP \
14592 RANLIB \
14593 CC \
14594 CFLAGS \
14595 compiler \
14596 lt_cv_sys_global_symbol_pipe \
14597 lt_cv_sys_global_symbol_to_cdecl \
14598 lt_cv_sys_global_symbol_to_c_name_address \
14599 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14600 nm_file_list_spec \
14601 lt_prog_compiler_no_builtin_flag \
14602 lt_prog_compiler_pic \
14603 lt_prog_compiler_wl \
14604 lt_prog_compiler_static \
14605 lt_cv_prog_compiler_c_o \
14606 need_locks \
14607 MANIFEST_TOOL \
14608 DSYMUTIL \
14609 NMEDIT \
14610 LIPO \
14611 OTOOL \
14612 OTOOL64 \
14613 shrext_cmds \
14614 export_dynamic_flag_spec \
14615 whole_archive_flag_spec \
14616 compiler_needs_object \
14617 with_gnu_ld \
14618 allow_undefined_flag \
14619 no_undefined_flag \
14620 hardcode_libdir_flag_spec \
14621 hardcode_libdir_flag_spec_ld \
14622 hardcode_libdir_separator \
14623 exclude_expsyms \
14624 include_expsyms \
14625 file_list_spec \
14626 variables_saved_for_relink \
14627 libname_spec \
14628 library_names_spec \
14629 soname_spec \
14630 install_override_mode \
14631 finish_eval \
14632 old_striplib \
14633 striplib; do
14634     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14635     *[\\\\\\\`\\"\\\$]*)
14636       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14637       ;;
14638     *)
14639       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14640       ;;
14641     esac
14642 done
14643
14644 # Double-quote double-evaled strings.
14645 for var in reload_cmds \
14646 old_postinstall_cmds \
14647 old_postuninstall_cmds \
14648 old_archive_cmds \
14649 extract_expsyms_cmds \
14650 old_archive_from_new_cmds \
14651 old_archive_from_expsyms_cmds \
14652 archive_cmds \
14653 archive_expsym_cmds \
14654 module_cmds \
14655 module_expsym_cmds \
14656 export_symbols_cmds \
14657 prelink_cmds \
14658 postlink_cmds \
14659 postinstall_cmds \
14660 postuninstall_cmds \
14661 finish_cmds \
14662 sys_lib_search_path_spec \
14663 sys_lib_dlsearch_path_spec; do
14664     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14665     *[\\\\\\\`\\"\\\$]*)
14666       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14667       ;;
14668     *)
14669       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14670       ;;
14671     esac
14672 done
14673
14674 ac_aux_dir='$ac_aux_dir'
14675 xsi_shell='$xsi_shell'
14676 lt_shell_append='$lt_shell_append'
14677
14678 # See if we are running on zsh, and set the options which allow our
14679 # commands through without removal of \ escapes INIT.
14680 if test -n "\${ZSH_VERSION+set}" ; then
14681    setopt NO_GLOB_SUBST
14682 fi
14683
14684
14685     PACKAGE='$PACKAGE'
14686     VERSION='$VERSION'
14687     TIMESTAMP='$TIMESTAMP'
14688     RM='$RM'
14689     ofile='$ofile'
14690
14691
14692
14693
14694 _ACEOF
14695
14696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14697
14698 # Handling of arguments.
14699 for ac_config_target in $ac_config_targets
14700 do
14701   case $ac_config_target in
14702     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14703     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14704     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14705     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14706     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14707
14708   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14709   esac
14710 done
14711
14712
14713 # If the user did not use the arguments to specify the items to instantiate,
14714 # then the envvar interface is used.  Set only those that are not.
14715 # We use the long form for the default assignment because of an extremely
14716 # bizarre bug on SunOS 4.1.3.
14717 if $ac_need_defaults; then
14718   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14719   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14720 fi
14721
14722 # Have a temporary directory for convenience.  Make it in the build tree
14723 # simply because there is no reason against having it here, and in addition,
14724 # creating and moving files from /tmp can sometimes cause problems.
14725 # Hook for its removal unless debugging.
14726 # Note that there is a small window in which the directory will not be cleaned:
14727 # after its creation but before its name has been assigned to `$tmp'.
14728 $debug ||
14729 {
14730   tmp= ac_tmp=
14731   trap 'exit_status=$?
14732   : "${ac_tmp:=$tmp}"
14733   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14734 ' 0
14735   trap 'as_fn_exit 1' 1 2 13 15
14736 }
14737 # Create a (secure) tmp directory for tmp files.
14738
14739 {
14740   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14741   test -d "$tmp"
14742 }  ||
14743 {
14744   tmp=./conf$$-$RANDOM
14745   (umask 077 && mkdir "$tmp")
14746 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14747 ac_tmp=$tmp
14748
14749 # Set up the scripts for CONFIG_FILES section.
14750 # No need to generate them if there are no CONFIG_FILES.
14751 # This happens for instance with `./config.status config.h'.
14752 if test -n "$CONFIG_FILES"; then
14753
14754
14755 ac_cr=`echo X | tr X '\015'`
14756 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14757 # But we know of no other shell where ac_cr would be empty at this
14758 # point, so we can use a bashism as a fallback.
14759 if test "x$ac_cr" = x; then
14760   eval ac_cr=\$\'\\r\'
14761 fi
14762 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14763 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14764   ac_cs_awk_cr='\\r'
14765 else
14766   ac_cs_awk_cr=$ac_cr
14767 fi
14768
14769 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14770 _ACEOF
14771
14772
14773 {
14774   echo "cat >conf$$subs.awk <<_ACEOF" &&
14775   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14776   echo "_ACEOF"
14777 } >conf$$subs.sh ||
14778   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14780 ac_delim='%!_!# '
14781 for ac_last_try in false false false false false :; do
14782   . ./conf$$subs.sh ||
14783     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14784
14785   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14786   if test $ac_delim_n = $ac_delim_num; then
14787     break
14788   elif $ac_last_try; then
14789     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14790   else
14791     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14792   fi
14793 done
14794 rm -f conf$$subs.sh
14795
14796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14797 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14798 _ACEOF
14799 sed -n '
14800 h
14801 s/^/S["/; s/!.*/"]=/
14802 p
14803 g
14804 s/^[^!]*!//
14805 :repl
14806 t repl
14807 s/'"$ac_delim"'$//
14808 t delim
14809 :nl
14810 h
14811 s/\(.\{148\}\)..*/\1/
14812 t more1
14813 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14814 p
14815 n
14816 b repl
14817 :more1
14818 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14819 p
14820 g
14821 s/.\{148\}//
14822 t nl
14823 :delim
14824 h
14825 s/\(.\{148\}\)..*/\1/
14826 t more2
14827 s/["\\]/\\&/g; s/^/"/; s/$/"/
14828 p
14829 b
14830 :more2
14831 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14832 p
14833 g
14834 s/.\{148\}//
14835 t delim
14836 ' <conf$$subs.awk | sed '
14837 /^[^""]/{
14838   N
14839   s/\n//
14840 }
14841 ' >>$CONFIG_STATUS || ac_write_fail=1
14842 rm -f conf$$subs.awk
14843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14844 _ACAWK
14845 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14846   for (key in S) S_is_set[key] = 1
14847   FS = "\a"
14848
14849 }
14850 {
14851   line = $ 0
14852   nfields = split(line, field, "@")
14853   substed = 0
14854   len = length(field[1])
14855   for (i = 2; i < nfields; i++) {
14856     key = field[i]
14857     keylen = length(key)
14858     if (S_is_set[key]) {
14859       value = S[key]
14860       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14861       len += length(value) + length(field[++i])
14862       substed = 1
14863     } else
14864       len += 1 + keylen
14865   }
14866
14867   print line
14868 }
14869
14870 _ACAWK
14871 _ACEOF
14872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14873 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14874   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14875 else
14876   cat
14877 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14878   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14879 _ACEOF
14880
14881 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14882 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14883 # trailing colons and then remove the whole line if VPATH becomes empty
14884 # (actually we leave an empty line to preserve line numbers).
14885 if test "x$srcdir" = x.; then
14886   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14887 h
14888 s///
14889 s/^/:/
14890 s/[      ]*$/:/
14891 s/:\$(srcdir):/:/g
14892 s/:\${srcdir}:/:/g
14893 s/:@srcdir@:/:/g
14894 s/^:*//
14895 s/:*$//
14896 x
14897 s/\(=[   ]*\).*/\1/
14898 G
14899 s/\n//
14900 s/^[^=]*=[       ]*$//
14901 }'
14902 fi
14903
14904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14905 fi # test -n "$CONFIG_FILES"
14906
14907
14908 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
14909 shift
14910 for ac_tag
14911 do
14912   case $ac_tag in
14913   :[FHLC]) ac_mode=$ac_tag; continue;;
14914   esac
14915   case $ac_mode$ac_tag in
14916   :[FHL]*:*);;
14917   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14918   :[FH]-) ac_tag=-:-;;
14919   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14920   esac
14921   ac_save_IFS=$IFS
14922   IFS=:
14923   set x $ac_tag
14924   IFS=$ac_save_IFS
14925   shift
14926   ac_file=$1
14927   shift
14928
14929   case $ac_mode in
14930   :L) ac_source=$1;;
14931   :[FH])
14932     ac_file_inputs=
14933     for ac_f
14934     do
14935       case $ac_f in
14936       -) ac_f="$ac_tmp/stdin";;
14937       *) # Look for the file first in the build tree, then in the source tree
14938          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14939          # because $ac_f cannot contain `:'.
14940          test -f "$ac_f" ||
14941            case $ac_f in
14942            [\\/$]*) false;;
14943            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14944            esac ||
14945            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14946       esac
14947       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14948       as_fn_append ac_file_inputs " '$ac_f'"
14949     done
14950
14951     # Let's still pretend it is `configure' which instantiates (i.e., don't
14952     # use $as_me), people would be surprised to read:
14953     #    /* config.h.  Generated by config.status.  */
14954     configure_input='Generated from '`
14955           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14956         `' by configure.'
14957     if test x"$ac_file" != x-; then
14958       configure_input="$ac_file.  $configure_input"
14959       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14960 $as_echo "$as_me: creating $ac_file" >&6;}
14961     fi
14962     # Neutralize special characters interpreted by sed in replacement strings.
14963     case $configure_input in #(
14964     *\&* | *\|* | *\\* )
14965        ac_sed_conf_input=`$as_echo "$configure_input" |
14966        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14967     *) ac_sed_conf_input=$configure_input;;
14968     esac
14969
14970     case $ac_tag in
14971     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14972       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14973     esac
14974     ;;
14975   esac
14976
14977   ac_dir=`$as_dirname -- "$ac_file" ||
14978 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14979          X"$ac_file" : 'X\(//\)[^/]' \| \
14980          X"$ac_file" : 'X\(//\)$' \| \
14981          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14982 $as_echo X"$ac_file" |
14983     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14984             s//\1/
14985             q
14986           }
14987           /^X\(\/\/\)[^/].*/{
14988             s//\1/
14989             q
14990           }
14991           /^X\(\/\/\)$/{
14992             s//\1/
14993             q
14994           }
14995           /^X\(\/\).*/{
14996             s//\1/
14997             q
14998           }
14999           s/.*/./; q'`
15000   as_dir="$ac_dir"; as_fn_mkdir_p
15001   ac_builddir=.
15002
15003 case "$ac_dir" in
15004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15005 *)
15006   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15007   # A ".." for each directory in $ac_dir_suffix.
15008   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15009   case $ac_top_builddir_sub in
15010   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15011   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15012   esac ;;
15013 esac
15014 ac_abs_top_builddir=$ac_pwd
15015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15016 # for backward compatibility:
15017 ac_top_builddir=$ac_top_build_prefix
15018
15019 case $srcdir in
15020   .)  # We are building in place.
15021     ac_srcdir=.
15022     ac_top_srcdir=$ac_top_builddir_sub
15023     ac_abs_top_srcdir=$ac_pwd ;;
15024   [\\/]* | ?:[\\/]* )  # Absolute name.
15025     ac_srcdir=$srcdir$ac_dir_suffix;
15026     ac_top_srcdir=$srcdir
15027     ac_abs_top_srcdir=$srcdir ;;
15028   *) # Relative name.
15029     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15030     ac_top_srcdir=$ac_top_build_prefix$srcdir
15031     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15032 esac
15033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15034
15035
15036   case $ac_mode in
15037   :F)
15038   #
15039   # CONFIG_FILE
15040   #
15041
15042   case $INSTALL in
15043   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15044   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15045   esac
15046   ac_MKDIR_P=$MKDIR_P
15047   case $MKDIR_P in
15048   [\\/$]* | ?:[\\/]* ) ;;
15049   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15050   esac
15051 _ACEOF
15052
15053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15054 # If the template does not know about datarootdir, expand it.
15055 # FIXME: This hack should be removed a few years after 2.60.
15056 ac_datarootdir_hack=; ac_datarootdir_seen=
15057 ac_sed_dataroot='
15058 /datarootdir/ {
15059   p
15060   q
15061 }
15062 /@datadir@/p
15063 /@docdir@/p
15064 /@infodir@/p
15065 /@localedir@/p
15066 /@mandir@/p'
15067 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15068 *datarootdir*) ac_datarootdir_seen=yes;;
15069 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15070   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15071 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15072 _ACEOF
15073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15074   ac_datarootdir_hack='
15075   s&@datadir@&$datadir&g
15076   s&@docdir@&$docdir&g
15077   s&@infodir@&$infodir&g
15078   s&@localedir@&$localedir&g
15079   s&@mandir@&$mandir&g
15080   s&\\\${datarootdir}&$datarootdir&g' ;;
15081 esac
15082 _ACEOF
15083
15084 # Neutralize VPATH when `$srcdir' = `.'.
15085 # Shell code in configure.ac might set extrasub.
15086 # FIXME: do we really want to maintain this feature?
15087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15088 ac_sed_extra="$ac_vpsub
15089 $extrasub
15090 _ACEOF
15091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15092 :t
15093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15094 s|@configure_input@|$ac_sed_conf_input|;t t
15095 s&@top_builddir@&$ac_top_builddir_sub&;t t
15096 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15097 s&@srcdir@&$ac_srcdir&;t t
15098 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15099 s&@top_srcdir@&$ac_top_srcdir&;t t
15100 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15101 s&@builddir@&$ac_builddir&;t t
15102 s&@abs_builddir@&$ac_abs_builddir&;t t
15103 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15104 s&@INSTALL@&$ac_INSTALL&;t t
15105 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15106 $ac_datarootdir_hack
15107 "
15108 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15109   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15110
15111 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15112   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15113   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15114       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15115   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15116 which seems to be undefined.  Please make sure it is defined" >&5
15117 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15118 which seems to be undefined.  Please make sure it is defined" >&2;}
15119
15120   rm -f "$ac_tmp/stdin"
15121   case $ac_file in
15122   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15123   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15124   esac \
15125   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15126  ;;
15127
15128
15129   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15130 $as_echo "$as_me: executing $ac_file commands" >&6;}
15131  ;;
15132   esac
15133
15134
15135   case $ac_file$ac_mode in
15136     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15137   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15138   # are listed without --file.  Let's play safe and only enable the eval
15139   # if we detect the quoting.
15140   case $CONFIG_FILES in
15141   *\'*) eval set x "$CONFIG_FILES" ;;
15142   *)   set x $CONFIG_FILES ;;
15143   esac
15144   shift
15145   for mf
15146   do
15147     # Strip MF so we end up with the name of the file.
15148     mf=`echo "$mf" | sed -e 's/:.*$//'`
15149     # Check whether this is an Automake generated Makefile or not.
15150     # We used to match only the files named `Makefile.in', but
15151     # some people rename them; so instead we look at the file content.
15152     # Grep'ing the first line is not enough: some people post-process
15153     # each Makefile.in and add a new line on top of each file to say so.
15154     # Grep'ing the whole file is not good either: AIX grep has a line
15155     # limit of 2048, but all sed's we know have understand at least 4000.
15156     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15157       dirpart=`$as_dirname -- "$mf" ||
15158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15159          X"$mf" : 'X\(//\)[^/]' \| \
15160          X"$mf" : 'X\(//\)$' \| \
15161          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15162 $as_echo X"$mf" |
15163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15164             s//\1/
15165             q
15166           }
15167           /^X\(\/\/\)[^/].*/{
15168             s//\1/
15169             q
15170           }
15171           /^X\(\/\/\)$/{
15172             s//\1/
15173             q
15174           }
15175           /^X\(\/\).*/{
15176             s//\1/
15177             q
15178           }
15179           s/.*/./; q'`
15180     else
15181       continue
15182     fi
15183     # Extract the definition of DEPDIR, am__include, and am__quote
15184     # from the Makefile without running `make'.
15185     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15186     test -z "$DEPDIR" && continue
15187     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15188     test -z "am__include" && continue
15189     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15190     # When using ansi2knr, U may be empty or an underscore; expand it
15191     U=`sed -n 's/^U = //p' < "$mf"`
15192     # Find all dependency output files, they are included files with
15193     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15194     # simplest approach to changing $(DEPDIR) to its actual value in the
15195     # expansion.
15196     for file in `sed -n "
15197       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15198          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15199       # Make sure the directory exists.
15200       test -f "$dirpart/$file" && continue
15201       fdir=`$as_dirname -- "$file" ||
15202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15203          X"$file" : 'X\(//\)[^/]' \| \
15204          X"$file" : 'X\(//\)$' \| \
15205          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15206 $as_echo X"$file" |
15207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15208             s//\1/
15209             q
15210           }
15211           /^X\(\/\/\)[^/].*/{
15212             s//\1/
15213             q
15214           }
15215           /^X\(\/\/\)$/{
15216             s//\1/
15217             q
15218           }
15219           /^X\(\/\).*/{
15220             s//\1/
15221             q
15222           }
15223           s/.*/./; q'`
15224       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15225       # echo "creating $dirpart/$file"
15226       echo '# dummy' > "$dirpart/$file"
15227     done
15228   done
15229 }
15230  ;;
15231     "libtool":C)
15232
15233     # See if we are running on zsh, and set the options which allow our
15234     # commands through without removal of \ escapes.
15235     if test -n "${ZSH_VERSION+set}" ; then
15236       setopt NO_GLOB_SUBST
15237     fi
15238
15239     cfgfile="${ofile}T"
15240     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15241     $RM "$cfgfile"
15242
15243     cat <<_LT_EOF >> "$cfgfile"
15244 #! $SHELL
15245
15246 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15247 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15248 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15249 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15250 #
15251 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15252 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15253 #                 Inc.
15254 #   Written by Gordon Matzigkeit, 1996
15255 #
15256 #   This file is part of GNU Libtool.
15257 #
15258 # GNU Libtool is free software; you can redistribute it and/or
15259 # modify it under the terms of the GNU General Public License as
15260 # published by the Free Software Foundation; either version 2 of
15261 # the License, or (at your option) any later version.
15262 #
15263 # As a special exception to the GNU General Public License,
15264 # if you distribute this file as part of a program or library that
15265 # is built using GNU Libtool, you may include this file under the
15266 # same distribution terms that you use for the rest of that program.
15267 #
15268 # GNU Libtool is distributed in the hope that it will be useful,
15269 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15270 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15271 # GNU General Public License for more details.
15272 #
15273 # You should have received a copy of the GNU General Public License
15274 # along with GNU Libtool; see the file COPYING.  If not, a copy
15275 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15276 # obtained by writing to the Free Software Foundation, Inc.,
15277 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15278
15279
15280 # The names of the tagged configurations supported by this script.
15281 available_tags=""
15282
15283 # ### BEGIN LIBTOOL CONFIG
15284
15285 # Assembler program.
15286 AS=$lt_AS
15287
15288 # DLL creation program.
15289 DLLTOOL=$lt_DLLTOOL
15290
15291 # Object dumper program.
15292 OBJDUMP=$lt_OBJDUMP
15293
15294 # Which release of libtool.m4 was used?
15295 macro_version=$macro_version
15296 macro_revision=$macro_revision
15297
15298 # Whether or not to build shared libraries.
15299 build_libtool_libs=$enable_shared
15300
15301 # Whether or not to build static libraries.
15302 build_old_libs=$enable_static
15303
15304 # What type of objects to build.
15305 pic_mode=$pic_mode
15306
15307 # Whether or not to optimize for fast installation.
15308 fast_install=$enable_fast_install
15309
15310 # Shell to use when invoking shell scripts.
15311 SHELL=$lt_SHELL
15312
15313 # An echo program that protects backslashes.
15314 ECHO=$lt_ECHO
15315
15316 # The host system.
15317 host_alias=$host_alias
15318 host=$host
15319 host_os=$host_os
15320
15321 # The build system.
15322 build_alias=$build_alias
15323 build=$build
15324 build_os=$build_os
15325
15326 # A sed program that does not truncate output.
15327 SED=$lt_SED
15328
15329 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15330 Xsed="\$SED -e 1s/^X//"
15331
15332 # A grep program that handles long lines.
15333 GREP=$lt_GREP
15334
15335 # An ERE matcher.
15336 EGREP=$lt_EGREP
15337
15338 # A literal string matcher.
15339 FGREP=$lt_FGREP
15340
15341 # A BSD- or MS-compatible name lister.
15342 NM=$lt_NM
15343
15344 # Whether we need soft or hard links.
15345 LN_S=$lt_LN_S
15346
15347 # What is the maximum length of a command?
15348 max_cmd_len=$max_cmd_len
15349
15350 # Object file suffix (normally "o").
15351 objext=$ac_objext
15352
15353 # Executable file suffix (normally "").
15354 exeext=$exeext
15355
15356 # whether the shell understands "unset".
15357 lt_unset=$lt_unset
15358
15359 # turn spaces into newlines.
15360 SP2NL=$lt_lt_SP2NL
15361
15362 # turn newlines into spaces.
15363 NL2SP=$lt_lt_NL2SP
15364
15365 # convert \$build file names to \$host format.
15366 to_host_file_cmd=$lt_cv_to_host_file_cmd
15367
15368 # convert \$build files to toolchain format.
15369 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15370
15371 # Method to check whether dependent libraries are shared objects.
15372 deplibs_check_method=$lt_deplibs_check_method
15373
15374 # Command to use when deplibs_check_method = "file_magic".
15375 file_magic_cmd=$lt_file_magic_cmd
15376
15377 # How to find potential files when deplibs_check_method = "file_magic".
15378 file_magic_glob=$lt_file_magic_glob
15379
15380 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15381 want_nocaseglob=$lt_want_nocaseglob
15382
15383 # Command to associate shared and link libraries.
15384 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15385
15386 # The archiver.
15387 AR=$lt_AR
15388
15389 # Flags to create an archive.
15390 AR_FLAGS=$lt_AR_FLAGS
15391
15392 # How to feed a file listing to the archiver.
15393 archiver_list_spec=$lt_archiver_list_spec
15394
15395 # A symbol stripping program.
15396 STRIP=$lt_STRIP
15397
15398 # Commands used to install an old-style archive.
15399 RANLIB=$lt_RANLIB
15400 old_postinstall_cmds=$lt_old_postinstall_cmds
15401 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15402
15403 # Whether to use a lock for old archive extraction.
15404 lock_old_archive_extraction=$lock_old_archive_extraction
15405
15406 # A C compiler.
15407 LTCC=$lt_CC
15408
15409 # LTCC compiler flags.
15410 LTCFLAGS=$lt_CFLAGS
15411
15412 # Take the output of nm and produce a listing of raw symbols and C names.
15413 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15414
15415 # Transform the output of nm in a proper C declaration.
15416 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15417
15418 # Transform the output of nm in a C name address pair.
15419 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15420
15421 # Transform the output of nm in a C name address pair when lib prefix is needed.
15422 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15423
15424 # Specify filename containing input files for \$NM.
15425 nm_file_list_spec=$lt_nm_file_list_spec
15426
15427 # The root where to search for dependent libraries,and in which our libraries should be installed.
15428 lt_sysroot=$lt_sysroot
15429
15430 # The name of the directory that contains temporary libtool files.
15431 objdir=$objdir
15432
15433 # Used to examine libraries when file_magic_cmd begins with "file".
15434 MAGIC_CMD=$MAGIC_CMD
15435
15436 # Must we lock files when doing compilation?
15437 need_locks=$lt_need_locks
15438
15439 # Manifest tool.
15440 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15441
15442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15443 DSYMUTIL=$lt_DSYMUTIL
15444
15445 # Tool to change global to local symbols on Mac OS X.
15446 NMEDIT=$lt_NMEDIT
15447
15448 # Tool to manipulate fat objects and archives on Mac OS X.
15449 LIPO=$lt_LIPO
15450
15451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15452 OTOOL=$lt_OTOOL
15453
15454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15455 OTOOL64=$lt_OTOOL64
15456
15457 # Old archive suffix (normally "a").
15458 libext=$libext
15459
15460 # Shared library suffix (normally ".so").
15461 shrext_cmds=$lt_shrext_cmds
15462
15463 # The commands to extract the exported symbol list from a shared archive.
15464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15465
15466 # Variables whose values should be saved in libtool wrapper scripts and
15467 # restored at link time.
15468 variables_saved_for_relink=$lt_variables_saved_for_relink
15469
15470 # Do we need the "lib" prefix for modules?
15471 need_lib_prefix=$need_lib_prefix
15472
15473 # Do we need a version for libraries?
15474 need_version=$need_version
15475
15476 # Library versioning type.
15477 version_type=$version_type
15478
15479 # Shared library runtime path variable.
15480 runpath_var=$runpath_var
15481
15482 # Shared library path variable.
15483 shlibpath_var=$shlibpath_var
15484
15485 # Is shlibpath searched before the hard-coded library search path?
15486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15487
15488 # Format of library name prefix.
15489 libname_spec=$lt_libname_spec
15490
15491 # List of archive names.  First name is the real one, the rest are links.
15492 # The last name is the one that the linker finds with -lNAME
15493 library_names_spec=$lt_library_names_spec
15494
15495 # The coded name of the library, if different from the real name.
15496 soname_spec=$lt_soname_spec
15497
15498 # Permission mode override for installation of shared libraries.
15499 install_override_mode=$lt_install_override_mode
15500
15501 # Command to use after installation of a shared archive.
15502 postinstall_cmds=$lt_postinstall_cmds
15503
15504 # Command to use after uninstallation of a shared archive.
15505 postuninstall_cmds=$lt_postuninstall_cmds
15506
15507 # Commands used to finish a libtool library installation in a directory.
15508 finish_cmds=$lt_finish_cmds
15509
15510 # As "finish_cmds", except a single script fragment to be evaled but
15511 # not shown.
15512 finish_eval=$lt_finish_eval
15513
15514 # Whether we should hardcode library paths into libraries.
15515 hardcode_into_libs=$hardcode_into_libs
15516
15517 # Compile-time system search path for libraries.
15518 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15519
15520 # Run-time system search path for libraries.
15521 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15522
15523 # Whether dlopen is supported.
15524 dlopen_support=$enable_dlopen
15525
15526 # Whether dlopen of programs is supported.
15527 dlopen_self=$enable_dlopen_self
15528
15529 # Whether dlopen of statically linked programs is supported.
15530 dlopen_self_static=$enable_dlopen_self_static
15531
15532 # Commands to strip libraries.
15533 old_striplib=$lt_old_striplib
15534 striplib=$lt_striplib
15535
15536
15537 # The linker used to build libraries.
15538 LD=$lt_LD
15539
15540 # How to create reloadable object files.
15541 reload_flag=$lt_reload_flag
15542 reload_cmds=$lt_reload_cmds
15543
15544 # Commands used to build an old-style archive.
15545 old_archive_cmds=$lt_old_archive_cmds
15546
15547 # A language specific compiler.
15548 CC=$lt_compiler
15549
15550 # Is the compiler the GNU compiler?
15551 with_gcc=$GCC
15552
15553 # Compiler flag to turn off builtin functions.
15554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15555
15556 # Additional compiler flags for building library objects.
15557 pic_flag=$lt_lt_prog_compiler_pic
15558
15559 # How to pass a linker flag through the compiler.
15560 wl=$lt_lt_prog_compiler_wl
15561
15562 # Compiler flag to prevent dynamic linking.
15563 link_static_flag=$lt_lt_prog_compiler_static
15564
15565 # Does compiler simultaneously support -c and -o options?
15566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15567
15568 # Whether or not to add -lc for building shared libraries.
15569 build_libtool_need_lc=$archive_cmds_need_lc
15570
15571 # Whether or not to disallow shared libs when runtime libs are static.
15572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15573
15574 # Compiler flag to allow reflexive dlopens.
15575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15576
15577 # Compiler flag to generate shared objects directly from archives.
15578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15579
15580 # Whether the compiler copes with passing no objects directly.
15581 compiler_needs_object=$lt_compiler_needs_object
15582
15583 # Create an old-style archive from a shared archive.
15584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15585
15586 # Create a temporary old-style archive to link instead of a shared archive.
15587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15588
15589 # Commands used to build a shared archive.
15590 archive_cmds=$lt_archive_cmds
15591 archive_expsym_cmds=$lt_archive_expsym_cmds
15592
15593 # Commands used to build a loadable module if different from building
15594 # a shared archive.
15595 module_cmds=$lt_module_cmds
15596 module_expsym_cmds=$lt_module_expsym_cmds
15597
15598 # Whether we are building with GNU ld or not.
15599 with_gnu_ld=$lt_with_gnu_ld
15600
15601 # Flag that allows shared libraries with undefined symbols to be built.
15602 allow_undefined_flag=$lt_allow_undefined_flag
15603
15604 # Flag that enforces no undefined symbols.
15605 no_undefined_flag=$lt_no_undefined_flag
15606
15607 # Flag to hardcode \$libdir into a binary during linking.
15608 # This must work even if \$libdir does not exist
15609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15610
15611 # If ld is used when linking, flag to hardcode \$libdir into a binary
15612 # during linking.  This must work even if \$libdir does not exist.
15613 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15614
15615 # Whether we need a single "-rpath" flag with a separated argument.
15616 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15617
15618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15619 # DIR into the resulting binary.
15620 hardcode_direct=$hardcode_direct
15621
15622 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15623 # DIR into the resulting binary and the resulting library dependency is
15624 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15625 # library is relocated.
15626 hardcode_direct_absolute=$hardcode_direct_absolute
15627
15628 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15629 # into the resulting binary.
15630 hardcode_minus_L=$hardcode_minus_L
15631
15632 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15633 # into the resulting binary.
15634 hardcode_shlibpath_var=$hardcode_shlibpath_var
15635
15636 # Set to "yes" if building a shared library automatically hardcodes DIR
15637 # into the library and all subsequent libraries and executables linked
15638 # against it.
15639 hardcode_automatic=$hardcode_automatic
15640
15641 # Set to yes if linker adds runtime paths of dependent libraries
15642 # to runtime path list.
15643 inherit_rpath=$inherit_rpath
15644
15645 # Whether libtool must link a program against all its dependency libraries.
15646 link_all_deplibs=$link_all_deplibs
15647
15648 # Set to "yes" if exported symbols are required.
15649 always_export_symbols=$always_export_symbols
15650
15651 # The commands to list exported symbols.
15652 export_symbols_cmds=$lt_export_symbols_cmds
15653
15654 # Symbols that should not be listed in the preloaded symbols.
15655 exclude_expsyms=$lt_exclude_expsyms
15656
15657 # Symbols that must always be exported.
15658 include_expsyms=$lt_include_expsyms
15659
15660 # Commands necessary for linking programs (against libraries) with templates.
15661 prelink_cmds=$lt_prelink_cmds
15662
15663 # Commands necessary for finishing linking programs.
15664 postlink_cmds=$lt_postlink_cmds
15665
15666 # Specify filename containing input files.
15667 file_list_spec=$lt_file_list_spec
15668
15669 # How to hardcode a shared library path into an executable.
15670 hardcode_action=$hardcode_action
15671
15672 # ### END LIBTOOL CONFIG
15673
15674 _LT_EOF
15675
15676   case $host_os in
15677   aix3*)
15678     cat <<\_LT_EOF >> "$cfgfile"
15679 # AIX sometimes has problems with the GCC collect2 program.  For some
15680 # reason, if we set the COLLECT_NAMES environment variable, the problems
15681 # vanish in a puff of smoke.
15682 if test "X${COLLECT_NAMES+set}" != Xset; then
15683   COLLECT_NAMES=
15684   export COLLECT_NAMES
15685 fi
15686 _LT_EOF
15687     ;;
15688   esac
15689
15690
15691 ltmain="$ac_aux_dir/ltmain.sh"
15692
15693
15694   # We use sed instead of cat because bash on DJGPP gets confused if
15695   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15696   # text mode, it properly converts lines to CR/LF.  This bash problem
15697   # is reportedly fixed, but why not run on old versions too?
15698   sed '$q' "$ltmain" >> "$cfgfile" \
15699      || (rm -f "$cfgfile"; exit 1)
15700
15701   if test x"$xsi_shell" = xyes; then
15702   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15703 func_dirname ()\
15704 {\
15705 \    case ${1} in\
15706 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15707 \      *  ) func_dirname_result="${3}" ;;\
15708 \    esac\
15709 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15710   && mv -f "$cfgfile.tmp" "$cfgfile" \
15711     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15712 test 0 -eq $? || _lt_function_replace_fail=:
15713
15714
15715   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15716 func_basename ()\
15717 {\
15718 \    func_basename_result="${1##*/}"\
15719 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15720   && mv -f "$cfgfile.tmp" "$cfgfile" \
15721     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15722 test 0 -eq $? || _lt_function_replace_fail=:
15723
15724
15725   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15726 func_dirname_and_basename ()\
15727 {\
15728 \    case ${1} in\
15729 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15730 \      *  ) func_dirname_result="${3}" ;;\
15731 \    esac\
15732 \    func_basename_result="${1##*/}"\
15733 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15734   && mv -f "$cfgfile.tmp" "$cfgfile" \
15735     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15736 test 0 -eq $? || _lt_function_replace_fail=:
15737
15738
15739   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15740 func_stripname ()\
15741 {\
15742 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15743 \    # positional parameters, so assign one to ordinary parameter first.\
15744 \    func_stripname_result=${3}\
15745 \    func_stripname_result=${func_stripname_result#"${1}"}\
15746 \    func_stripname_result=${func_stripname_result%"${2}"}\
15747 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15748   && mv -f "$cfgfile.tmp" "$cfgfile" \
15749     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15750 test 0 -eq $? || _lt_function_replace_fail=:
15751
15752
15753   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15754 func_split_long_opt ()\
15755 {\
15756 \    func_split_long_opt_name=${1%%=*}\
15757 \    func_split_long_opt_arg=${1#*=}\
15758 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15759   && mv -f "$cfgfile.tmp" "$cfgfile" \
15760     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15761 test 0 -eq $? || _lt_function_replace_fail=:
15762
15763
15764   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15765 func_split_short_opt ()\
15766 {\
15767 \    func_split_short_opt_arg=${1#??}\
15768 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15769 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15770   && mv -f "$cfgfile.tmp" "$cfgfile" \
15771     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15772 test 0 -eq $? || _lt_function_replace_fail=:
15773
15774
15775   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15776 func_lo2o ()\
15777 {\
15778 \    case ${1} in\
15779 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15780 \      *)    func_lo2o_result=${1} ;;\
15781 \    esac\
15782 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15783   && mv -f "$cfgfile.tmp" "$cfgfile" \
15784     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15785 test 0 -eq $? || _lt_function_replace_fail=:
15786
15787
15788   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15789 func_xform ()\
15790 {\
15791     func_xform_result=${1%.*}.lo\
15792 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15793   && mv -f "$cfgfile.tmp" "$cfgfile" \
15794     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15795 test 0 -eq $? || _lt_function_replace_fail=:
15796
15797
15798   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15799 func_arith ()\
15800 {\
15801     func_arith_result=$(( $* ))\
15802 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15803   && mv -f "$cfgfile.tmp" "$cfgfile" \
15804     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15805 test 0 -eq $? || _lt_function_replace_fail=:
15806
15807
15808   sed -e '/^func_len ()$/,/^} # func_len /c\
15809 func_len ()\
15810 {\
15811     func_len_result=${#1}\
15812 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15813   && mv -f "$cfgfile.tmp" "$cfgfile" \
15814     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15815 test 0 -eq $? || _lt_function_replace_fail=:
15816
15817 fi
15818
15819 if test x"$lt_shell_append" = xyes; then
15820   sed -e '/^func_append ()$/,/^} # func_append /c\
15821 func_append ()\
15822 {\
15823     eval "${1}+=\\${2}"\
15824 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15825   && mv -f "$cfgfile.tmp" "$cfgfile" \
15826     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15827 test 0 -eq $? || _lt_function_replace_fail=:
15828
15829
15830   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15831 func_append_quoted ()\
15832 {\
15833 \    func_quote_for_eval "${2}"\
15834 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15835 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15836   && mv -f "$cfgfile.tmp" "$cfgfile" \
15837     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15838 test 0 -eq $? || _lt_function_replace_fail=:
15839
15840
15841   # Save a `func_append' function call where possible by direct use of '+='
15842   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15843     && mv -f "$cfgfile.tmp" "$cfgfile" \
15844       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15845   test 0 -eq $? || _lt_function_replace_fail=:
15846 else
15847   # Save a `func_append' function call even when '+=' is not available
15848   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15849     && mv -f "$cfgfile.tmp" "$cfgfile" \
15850       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15851   test 0 -eq $? || _lt_function_replace_fail=:
15852 fi
15853
15854 if test x"$_lt_function_replace_fail" = x":"; then
15855   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15856 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15857 fi
15858
15859
15860    mv -f "$cfgfile" "$ofile" ||
15861     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15862   chmod +x "$ofile"
15863
15864  ;;
15865
15866   esac
15867 done # for ac_tag
15868
15869
15870 as_fn_exit 0
15871 _ACEOF
15872 ac_clean_files=$ac_clean_files_save
15873
15874 test $ac_write_fail = 0 ||
15875   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15876
15877
15878 # configure is writing to config.log, and then calls config.status.
15879 # config.status does its own redirection, appending to config.log.
15880 # Unfortunately, on DOS this fails, as config.log is still kept open
15881 # by configure, so config.status won't be able to write to it; its
15882 # output is simply discarded.  So we exec the FD to /dev/null,
15883 # effectively closing config.log, so it can be properly (re)opened and
15884 # appended to by config.status.  When coming back to configure, we
15885 # need to make the FD available again.
15886 if test "$no_create" != yes; then
15887   ac_cs_success=:
15888   ac_config_status_args=
15889   test "$silent" = yes &&
15890     ac_config_status_args="$ac_config_status_args --quiet"
15891   exec 5>/dev/null
15892   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15893   exec 5>>config.log
15894   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15895   # would make configure fail if this is the last instruction.
15896   $ac_cs_success || as_fn_exit 1
15897 fi
15898
15899 #
15900 # CONFIG_SUBDIRS section.
15901 #
15902 if test "$no_recursion" != yes; then
15903
15904   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15905   # so they do not pile up.
15906   ac_sub_configure_args=
15907   ac_prev=
15908   eval "set x $ac_configure_args"
15909   shift
15910   for ac_arg
15911   do
15912     if test -n "$ac_prev"; then
15913       ac_prev=
15914       continue
15915     fi
15916     case $ac_arg in
15917     -cache-file | --cache-file | --cache-fil | --cache-fi \
15918     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15919       ac_prev=cache_file ;;
15920     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15921     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15922     | --c=*)
15923       ;;
15924     --config-cache | -C)
15925       ;;
15926     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15927       ac_prev=srcdir ;;
15928     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15929       ;;
15930     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15931       ac_prev=prefix ;;
15932     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15933       ;;
15934     --disable-option-checking)
15935       ;;
15936     *)
15937       case $ac_arg in
15938       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15939       esac
15940       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15941     esac
15942   done
15943
15944   # Always prepend --prefix to ensure using the same prefix
15945   # in subdir configurations.
15946   ac_arg="--prefix=$prefix"
15947   case $ac_arg in
15948   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15949   esac
15950   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15951
15952   # Pass --silent
15953   if test "$silent" = yes; then
15954     ac_sub_configure_args="--silent $ac_sub_configure_args"
15955   fi
15956
15957   # Always prepend --disable-option-checking to silence warnings, since
15958   # different subdirs can have different --enable and --with options.
15959   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15960
15961   ac_popdir=`pwd`
15962   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15963
15964     # Do not complain, so a configure script can configure whichever
15965     # parts of a large source tree are present.
15966     test -d "$srcdir/$ac_dir" || continue
15967
15968     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15969     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15970     $as_echo "$ac_msg" >&6
15971     as_dir="$ac_dir"; as_fn_mkdir_p
15972     ac_builddir=.
15973
15974 case "$ac_dir" in
15975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15976 *)
15977   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15978   # A ".." for each directory in $ac_dir_suffix.
15979   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15980   case $ac_top_builddir_sub in
15981   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15982   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15983   esac ;;
15984 esac
15985 ac_abs_top_builddir=$ac_pwd
15986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15987 # for backward compatibility:
15988 ac_top_builddir=$ac_top_build_prefix
15989
15990 case $srcdir in
15991   .)  # We are building in place.
15992     ac_srcdir=.
15993     ac_top_srcdir=$ac_top_builddir_sub
15994     ac_abs_top_srcdir=$ac_pwd ;;
15995   [\\/]* | ?:[\\/]* )  # Absolute name.
15996     ac_srcdir=$srcdir$ac_dir_suffix;
15997     ac_top_srcdir=$srcdir
15998     ac_abs_top_srcdir=$srcdir ;;
15999   *) # Relative name.
16000     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16001     ac_top_srcdir=$ac_top_build_prefix$srcdir
16002     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16003 esac
16004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16005
16006
16007     cd "$ac_dir"
16008
16009     # Check for guested configure; otherwise get Cygnus style configure.
16010     if test -f "$ac_srcdir/configure.gnu"; then
16011       ac_sub_configure=$ac_srcdir/configure.gnu
16012     elif test -f "$ac_srcdir/configure"; then
16013       ac_sub_configure=$ac_srcdir/configure
16014     elif test -f "$ac_srcdir/configure.in"; then
16015       # This should be Cygnus configure.
16016       ac_sub_configure=$ac_aux_dir/configure
16017     else
16018       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16019 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16020       ac_sub_configure=
16021     fi
16022
16023     # The recursion is here.
16024     if test -n "$ac_sub_configure"; then
16025       # Make the cache file name correct relative to the subdirectory.
16026       case $cache_file in
16027       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16028       *) # Relative name.
16029         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16030       esac
16031
16032       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16033 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16034       # The eval makes quoting arguments work.
16035       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16036            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16037         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16038     fi
16039
16040     cd "$ac_popdir"
16041   done
16042 fi
16043 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16044   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16045 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16046 fi
16047
16048
16049 echo "
16050  ---{ $PACKAGE_NAME $VERSION }---
16051
16052     prefix:               ${prefix}
16053     sysconfdir:           ${sysconfdir}
16054     localstatedir:        ${localstatedir}
16055     modlibexecdir:        ${modlibexecdir}
16056     Compiler:             ${CC}
16057     CFLAGS:               ${CFLAGS}
16058     LIBDIR:               ${LIBDIR}
16059     LIBPULSE_CFLAGS:      ${LIBPULSE_CFLAGS}
16060     LIBPULSE_LIBS:        ${LIBPULSE_LIBS}
16061     LIBPULSECORE_CFLAGS:  ${LIBPULSECORE_CFLAGS}
16062     LIBPULSECORE_LIBS:    ${LIBPULSECORE_LIBS}
16063     MAJORMINOR:           ${PA_MAJORMINOR}
16064     PULSEAUDIO_HAS_PORTS: ${PULSEAUDIO_HAS_PORTS}
16065     DBUS_CFLAGS:          ${DBUS_CFLAGS}
16066     DBUS_LIBS:            ${DBUS_LIBS}
16067     PD_SUPPORT:           ${PD_SUPPORT}
16068 "