Update packaging
[profile/ivi/dLeyna.git] / dleyna-renderer / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dleyna-renderer 0.4.0.
4 #
5 # Report bugs to <https://github.com/01org/dleyna-renderer/issues/new>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/01org/dleyna-renderer/issues/new
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='dleyna-renderer'
593 PACKAGE_TARNAME='dleyna-renderer'
594 PACKAGE_VERSION='0.4.0'
595 PACKAGE_STRING='dleyna-renderer 0.4.0'
596 PACKAGE_BUGREPORT='https://github.com/01org/dleyna-renderer/issues/new'
597 PACKAGE_URL='https://01.org/dleyna/'
598
599 ac_unique_file="libdleyna/renderer/server.c"
600 ac_default_prefix=/usr/local
601 # Factoring default headers for most tests.
602 ac_includes_default="\
603 #include <stdio.h>
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
606 #endif
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
609 #endif
610 #ifdef STDC_HEADERS
611 # include <stdlib.h>
612 # include <stddef.h>
613 #else
614 # ifdef HAVE_STDLIB_H
615 #  include <stdlib.h>
616 # endif
617 #endif
618 #ifdef HAVE_STRING_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
620 #  include <memory.h>
621 # endif
622 # include <string.h>
623 #endif
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_UNISTD_H
634 # include <unistd.h>
635 #endif"
636
637 ac_subst_vars='am__EXEEXT_FALSE
638 am__EXEEXT_TRUE
639 LTLIBOBJS
640 with_log_type
641 with_log_level
642 with_connector_name
643 never_quit
644 DLEYNA_INTERFACE_PUSH_HOST
645 DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE
646 DLEYNA_SERVER_INTERFACE_MANAGER
647 DLEYNA_SERVER_NAME
648 BUILD_SERVER_FALSE
649 BUILD_SERVER_TRUE
650 DBUS_SERVICE_DIR
651 DLEYNA_CORE_LIBS
652 DLEYNA_CORE_CFLAGS
653 LIBOBJS
654 SOUP_LIBS
655 SOUP_CFLAGS
656 GUPNPDLNA_LIBS
657 GUPNPDLNA_CFLAGS
658 GUPNPAV_LIBS
659 GUPNPAV_CFLAGS
660 GUPNP_LIBS
661 GUPNP_CFLAGS
662 GSSDP_LIBS
663 GSSDP_CFLAGS
664 GIO_LIBS
665 GIO_CFLAGS
666 GLIB_LIBS
667 GLIB_CFLAGS
668 PKG_CONFIG_LIBDIR
669 PKG_CONFIG_PATH
670 PKG_CONFIG
671 CPP
672 OTOOL64
673 OTOOL
674 LIPO
675 NMEDIT
676 DSYMUTIL
677 MANIFEST_TOOL
678 RANLIB
679 ac_ct_AR
680 AR
681 DLLTOOL
682 OBJDUMP
683 LN_S
684 NM
685 ac_ct_DUMPBIN
686 DUMPBIN
687 LD
688 FGREP
689 EGREP
690 GREP
691 SED
692 host_os
693 host_vendor
694 host_cpu
695 host
696 build_os
697 build_vendor
698 build_cpu
699 build
700 LIBTOOL
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__quote
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
717 CC
718 MAINT
719 MAINTAINER_MODE_FALSE
720 MAINTAINER_MODE_TRUE
721 AM_BACKSLASH
722 AM_DEFAULT_VERBOSITY
723 AM_DEFAULT_V
724 AM_V
725 am__untar
726 am__tar
727 AMTAR
728 am__leading_dot
729 SET_MAKE
730 AWK
731 mkdir_p
732 MKDIR_P
733 INSTALL_STRIP_PROGRAM
734 STRIP
735 install_sh
736 MAKEINFO
737 AUTOHEADER
738 AUTOMAKE
739 AUTOCONF
740 ACLOCAL
741 VERSION
742 PACKAGE
743 CYGPATH_W
744 am__isrc
745 INSTALL_DATA
746 INSTALL_SCRIPT
747 INSTALL_PROGRAM
748 target_alias
749 host_alias
750 build_alias
751 LIBS
752 ECHO_T
753 ECHO_N
754 ECHO_C
755 DEFS
756 mandir
757 localedir
758 libdir
759 psdir
760 pdfdir
761 dvidir
762 htmldir
763 infodir
764 docdir
765 oldincludedir
766 includedir
767 localstatedir
768 sharedstatedir
769 sysconfdir
770 datadir
771 datarootdir
772 libexecdir
773 sbindir
774 bindir
775 program_transform_name
776 prefix
777 exec_prefix
778 PACKAGE_URL
779 PACKAGE_BUGREPORT
780 PACKAGE_STRING
781 PACKAGE_VERSION
782 PACKAGE_TARNAME
783 PACKAGE_NAME
784 PATH_SEPARATOR
785 SHELL'
786 ac_subst_files=''
787 ac_user_opts='
788 enable_option_checking
789 enable_silent_rules
790 enable_maintainer_mode
791 enable_dependency_tracking
792 enable_static
793 enable_shared
794 with_pic
795 enable_fast_install
796 with_gnu_ld
797 with_sysroot
798 enable_libtool_lock
799 enable_master_build
800 enable_debug
801 enable_werror
802 enable_optimization
803 enable_never_quit
804 with_connector_name
805 with_log_level
806 with_log_type
807 with_ua_prefix
808 with_dbus_service_dir
809 enable_lib_only
810 '
811       ac_precious_vars='build_alias
812 host_alias
813 target_alias
814 CC
815 CFLAGS
816 LDFLAGS
817 LIBS
818 CPPFLAGS
819 CPP
820 PKG_CONFIG
821 PKG_CONFIG_PATH
822 PKG_CONFIG_LIBDIR
823 GLIB_CFLAGS
824 GLIB_LIBS
825 GIO_CFLAGS
826 GIO_LIBS
827 GSSDP_CFLAGS
828 GSSDP_LIBS
829 GUPNP_CFLAGS
830 GUPNP_LIBS
831 GUPNPAV_CFLAGS
832 GUPNPAV_LIBS
833 GUPNPDLNA_CFLAGS
834 GUPNPDLNA_LIBS
835 SOUP_CFLAGS
836 SOUP_LIBS
837 DLEYNA_CORE_CFLAGS
838 DLEYNA_CORE_LIBS'
839
840
841 # Initialize some variables set by options.
842 ac_init_help=
843 ac_init_version=false
844 ac_unrecognized_opts=
845 ac_unrecognized_sep=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
848 cache_file=/dev/null
849 exec_prefix=NONE
850 no_create=
851 no_recursion=
852 prefix=NONE
853 program_prefix=NONE
854 program_suffix=NONE
855 program_transform_name=s,x,x,
856 silent=
857 site=
858 srcdir=
859 verbose=
860 x_includes=NONE
861 x_libraries=NONE
862
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
881 htmldir='${docdir}'
882 dvidir='${docdir}'
883 pdfdir='${docdir}'
884 psdir='${docdir}'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
888
889 ac_prev=
890 ac_dashdash=
891 for ac_option
892 do
893   # If the previous option needs an argument, assign it.
894   if test -n "$ac_prev"; then
895     eval $ac_prev=\$ac_option
896     ac_prev=
897     continue
898   fi
899
900   case $ac_option in
901   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902   *=)   ac_optarg= ;;
903   *)    ac_optarg=yes ;;
904   esac
905
906   # Accept the important Cygnus configure options, so we can diagnose typos.
907
908   case $ac_dashdash$ac_option in
909   --)
910     ac_dashdash=yes ;;
911
912   -bindir | --bindir | --bindi | --bind | --bin | --bi)
913     ac_prev=bindir ;;
914   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915     bindir=$ac_optarg ;;
916
917   -build | --build | --buil | --bui | --bu)
918     ac_prev=build_alias ;;
919   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920     build_alias=$ac_optarg ;;
921
922   -cache-file | --cache-file | --cache-fil | --cache-fi \
923   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924     ac_prev=cache_file ;;
925   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927     cache_file=$ac_optarg ;;
928
929   --config-cache | -C)
930     cache_file=config.cache ;;
931
932   -datadir | --datadir | --datadi | --datad)
933     ac_prev=datadir ;;
934   -datadir=* | --datadir=* | --datadi=* | --datad=*)
935     datadir=$ac_optarg ;;
936
937   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938   | --dataroo | --dataro | --datar)
939     ac_prev=datarootdir ;;
940   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942     datarootdir=$ac_optarg ;;
943
944   -disable-* | --disable-*)
945     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946     # Reject names that are not valid shell variable names.
947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948       as_fn_error $? "invalid feature name: $ac_useropt"
949     ac_useropt_orig=$ac_useropt
950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951     case $ac_user_opts in
952       *"
953 "enable_$ac_useropt"
954 "*) ;;
955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956          ac_unrecognized_sep=', ';;
957     esac
958     eval enable_$ac_useropt=no ;;
959
960   -docdir | --docdir | --docdi | --doc | --do)
961     ac_prev=docdir ;;
962   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963     docdir=$ac_optarg ;;
964
965   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966     ac_prev=dvidir ;;
967   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968     dvidir=$ac_optarg ;;
969
970   -enable-* | --enable-*)
971     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972     # Reject names that are not valid shell variable names.
973     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974       as_fn_error $? "invalid feature name: $ac_useropt"
975     ac_useropt_orig=$ac_useropt
976     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977     case $ac_user_opts in
978       *"
979 "enable_$ac_useropt"
980 "*) ;;
981       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982          ac_unrecognized_sep=', ';;
983     esac
984     eval enable_$ac_useropt=\$ac_optarg ;;
985
986   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988   | --exec | --exe | --ex)
989     ac_prev=exec_prefix ;;
990   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992   | --exec=* | --exe=* | --ex=*)
993     exec_prefix=$ac_optarg ;;
994
995   -gas | --gas | --ga | --g)
996     # Obsolete; use --with-gas.
997     with_gas=yes ;;
998
999   -help | --help | --hel | --he | -h)
1000     ac_init_help=long ;;
1001   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002     ac_init_help=recursive ;;
1003   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004     ac_init_help=short ;;
1005
1006   -host | --host | --hos | --ho)
1007     ac_prev=host_alias ;;
1008   -host=* | --host=* | --hos=* | --ho=*)
1009     host_alias=$ac_optarg ;;
1010
1011   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012     ac_prev=htmldir ;;
1013   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014   | --ht=*)
1015     htmldir=$ac_optarg ;;
1016
1017   -includedir | --includedir | --includedi | --included | --include \
1018   | --includ | --inclu | --incl | --inc)
1019     ac_prev=includedir ;;
1020   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021   | --includ=* | --inclu=* | --incl=* | --inc=*)
1022     includedir=$ac_optarg ;;
1023
1024   -infodir | --infodir | --infodi | --infod | --info | --inf)
1025     ac_prev=infodir ;;
1026   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027     infodir=$ac_optarg ;;
1028
1029   -libdir | --libdir | --libdi | --libd)
1030     ac_prev=libdir ;;
1031   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032     libdir=$ac_optarg ;;
1033
1034   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035   | --libexe | --libex | --libe)
1036     ac_prev=libexecdir ;;
1037   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038   | --libexe=* | --libex=* | --libe=*)
1039     libexecdir=$ac_optarg ;;
1040
1041   -localedir | --localedir | --localedi | --localed | --locale)
1042     ac_prev=localedir ;;
1043   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044     localedir=$ac_optarg ;;
1045
1046   -localstatedir | --localstatedir | --localstatedi | --localstated \
1047   | --localstate | --localstat | --localsta | --localst | --locals)
1048     ac_prev=localstatedir ;;
1049   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051     localstatedir=$ac_optarg ;;
1052
1053   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054     ac_prev=mandir ;;
1055   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056     mandir=$ac_optarg ;;
1057
1058   -nfp | --nfp | --nf)
1059     # Obsolete; use --without-fp.
1060     with_fp=no ;;
1061
1062   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063   | --no-cr | --no-c | -n)
1064     no_create=yes ;;
1065
1066   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068     no_recursion=yes ;;
1069
1070   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072   | --oldin | --oldi | --old | --ol | --o)
1073     ac_prev=oldincludedir ;;
1074   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077     oldincludedir=$ac_optarg ;;
1078
1079   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080     ac_prev=prefix ;;
1081   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082     prefix=$ac_optarg ;;
1083
1084   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085   | --program-pre | --program-pr | --program-p)
1086     ac_prev=program_prefix ;;
1087   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089     program_prefix=$ac_optarg ;;
1090
1091   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092   | --program-suf | --program-su | --program-s)
1093     ac_prev=program_suffix ;;
1094   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096     program_suffix=$ac_optarg ;;
1097
1098   -program-transform-name | --program-transform-name \
1099   | --program-transform-nam | --program-transform-na \
1100   | --program-transform-n | --program-transform- \
1101   | --program-transform | --program-transfor \
1102   | --program-transfo | --program-transf \
1103   | --program-trans | --program-tran \
1104   | --progr-tra | --program-tr | --program-t)
1105     ac_prev=program_transform_name ;;
1106   -program-transform-name=* | --program-transform-name=* \
1107   | --program-transform-nam=* | --program-transform-na=* \
1108   | --program-transform-n=* | --program-transform-=* \
1109   | --program-transform=* | --program-transfor=* \
1110   | --program-transfo=* | --program-transf=* \
1111   | --program-trans=* | --program-tran=* \
1112   | --progr-tra=* | --program-tr=* | --program-t=*)
1113     program_transform_name=$ac_optarg ;;
1114
1115   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116     ac_prev=pdfdir ;;
1117   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118     pdfdir=$ac_optarg ;;
1119
1120   -psdir | --psdir | --psdi | --psd | --ps)
1121     ac_prev=psdir ;;
1122   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123     psdir=$ac_optarg ;;
1124
1125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126   | -silent | --silent | --silen | --sile | --sil)
1127     silent=yes ;;
1128
1129   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130     ac_prev=sbindir ;;
1131   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132   | --sbi=* | --sb=*)
1133     sbindir=$ac_optarg ;;
1134
1135   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137   | --sharedst | --shareds | --shared | --share | --shar \
1138   | --sha | --sh)
1139     ac_prev=sharedstatedir ;;
1140   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143   | --sha=* | --sh=*)
1144     sharedstatedir=$ac_optarg ;;
1145
1146   -site | --site | --sit)
1147     ac_prev=site ;;
1148   -site=* | --site=* | --sit=*)
1149     site=$ac_optarg ;;
1150
1151   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152     ac_prev=srcdir ;;
1153   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154     srcdir=$ac_optarg ;;
1155
1156   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157   | --syscon | --sysco | --sysc | --sys | --sy)
1158     ac_prev=sysconfdir ;;
1159   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161     sysconfdir=$ac_optarg ;;
1162
1163   -target | --target | --targe | --targ | --tar | --ta | --t)
1164     ac_prev=target_alias ;;
1165   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166     target_alias=$ac_optarg ;;
1167
1168   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169     verbose=yes ;;
1170
1171   -version | --version | --versio | --versi | --vers | -V)
1172     ac_init_version=: ;;
1173
1174   -with-* | --with-*)
1175     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176     # Reject names that are not valid shell variable names.
1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178       as_fn_error $? "invalid package name: $ac_useropt"
1179     ac_useropt_orig=$ac_useropt
1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181     case $ac_user_opts in
1182       *"
1183 "with_$ac_useropt"
1184 "*) ;;
1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186          ac_unrecognized_sep=', ';;
1187     esac
1188     eval with_$ac_useropt=\$ac_optarg ;;
1189
1190   -without-* | --without-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error $? "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=no ;;
1205
1206   --x)
1207     # Obsolete; use --with-x.
1208     with_x=yes ;;
1209
1210   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211   | --x-incl | --x-inc | --x-in | --x-i)
1212     ac_prev=x_includes ;;
1213   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215     x_includes=$ac_optarg ;;
1216
1217   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219     ac_prev=x_libraries ;;
1220   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222     x_libraries=$ac_optarg ;;
1223
1224   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1226     ;;
1227
1228   *=*)
1229     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230     # Reject names that are not valid shell variable names.
1231     case $ac_envvar in #(
1232       '' | [0-9]* | *[!_$as_cr_alnum]* )
1233       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234     esac
1235     eval $ac_envvar=\$ac_optarg
1236     export $ac_envvar ;;
1237
1238   *)
1239     # FIXME: should be removed in autoconf 3.0.
1240     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244     ;;
1245
1246   esac
1247 done
1248
1249 if test -n "$ac_prev"; then
1250   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251   as_fn_error $? "missing argument to $ac_option"
1252 fi
1253
1254 if test -n "$ac_unrecognized_opts"; then
1255   case $enable_option_checking in
1256     no) ;;
1257     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259   esac
1260 fi
1261
1262 # Check all directory arguments for consistency.
1263 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264                 datadir sysconfdir sharedstatedir localstatedir includedir \
1265                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266                 libdir localedir mandir
1267 do
1268   eval ac_val=\$$ac_var
1269   # Remove trailing slashes.
1270   case $ac_val in
1271     */ )
1272       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273       eval $ac_var=\$ac_val;;
1274   esac
1275   # Be sure to have absolute directory names.
1276   case $ac_val in
1277     [\\/$]* | ?:[\\/]* )  continue;;
1278     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279   esac
1280   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281 done
1282
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1286 build=$build_alias
1287 host=$host_alias
1288 target=$target_alias
1289
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292   if test "x$build_alias" = x; then
1293     cross_compiling=maybe
1294   elif test "x$build_alias" != "x$host_alias"; then
1295     cross_compiling=yes
1296   fi
1297 fi
1298
1299 ac_tool_prefix=
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1301
1302 test "$silent" = yes && exec 6>/dev/null
1303
1304
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308   as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310   as_fn_error $? "pwd does not report name of working directory"
1311
1312
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315   ac_srcdir_defaulted=yes
1316   # Try the directory containing this script, then the parent directory.
1317   ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319          X"$as_myself" : 'X\(//\)[^/]' \| \
1320          X"$as_myself" : 'X\(//\)$' \| \
1321          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\/\)[^/].*/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\/\)$/{
1332             s//\1/
1333             q
1334           }
1335           /^X\(\/\).*/{
1336             s//\1/
1337             q
1338           }
1339           s/.*/./; q'`
1340   srcdir=$ac_confdir
1341   if test ! -r "$srcdir/$ac_unique_file"; then
1342     srcdir=..
1343   fi
1344 else
1345   ac_srcdir_defaulted=no
1346 fi
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1350 fi
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 ac_abs_confdir=`(
1353         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1354         pwd)`
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357   srcdir=.
1358 fi
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1362 case $srcdir in
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 esac
1365 for ac_var in $ac_precious_vars; do
1366   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367   eval ac_env_${ac_var}_value=\$${ac_var}
1368   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 done
1371
1372 #
1373 # Report the --help message.
1374 #
1375 if test "$ac_init_help" = "long"; then
1376   # Omit some internal or obsolete options to make the list less imposing.
1377   # This message is too long to be a string in the A/UX 3.1 sh.
1378   cat <<_ACEOF
1379 \`configure' configures dleyna-renderer 0.4.0 to adapt to many kinds of systems.
1380
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1382
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE.  See below for descriptions of some of the useful variables.
1385
1386 Defaults for the options are specified in brackets.
1387
1388 Configuration:
1389   -h, --help              display this help and exit
1390       --help=short        display options specific to this package
1391       --help=recursive    display the short help of all the included packages
1392   -V, --version           display version information and exit
1393   -q, --quiet, --silent   do not print \`checking ...' messages
1394       --cache-file=FILE   cache test results in FILE [disabled]
1395   -C, --config-cache      alias for \`--cache-file=config.cache'
1396   -n, --no-create         do not create output files
1397       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1398
1399 Installation directories:
1400   --prefix=PREFIX         install architecture-independent files in PREFIX
1401                           [$ac_default_prefix]
1402   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1403                           [PREFIX]
1404
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1409
1410 For better control, use the options below.
1411
1412 Fine tuning of the installation directories:
1413   --bindir=DIR            user executables [EPREFIX/bin]
1414   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1415   --libexecdir=DIR        program executables [EPREFIX/libexec]
1416   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1417   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1418   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1419   --libdir=DIR            object code libraries [EPREFIX/lib]
1420   --includedir=DIR        C header files [PREFIX/include]
1421   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1422   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1423   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1424   --infodir=DIR           info documentation [DATAROOTDIR/info]
1425   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1426   --mandir=DIR            man documentation [DATAROOTDIR/man]
1427   --docdir=DIR            documentation root [DATAROOTDIR/doc/dleyna-renderer]
1428   --htmldir=DIR           html documentation [DOCDIR]
1429   --dvidir=DIR            dvi documentation [DOCDIR]
1430   --pdfdir=DIR            pdf documentation [DOCDIR]
1431   --psdir=DIR             ps documentation [DOCDIR]
1432 _ACEOF
1433
1434   cat <<\_ACEOF
1435
1436 Program names:
1437   --program-prefix=PREFIX            prepend PREFIX to installed program names
1438   --program-suffix=SUFFIX            append SUFFIX to installed program names
1439   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1440
1441 System types:
1442   --build=BUILD     configure for building on BUILD [guessed]
1443   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1444 _ACEOF
1445 fi
1446
1447 if test -n "$ac_init_help"; then
1448   case $ac_init_help in
1449      short | recursive ) echo "Configuration of dleyna-renderer 0.4.0:";;
1450    esac
1451   cat <<\_ACEOF
1452
1453 Optional Features:
1454   --disable-option-checking  ignore unrecognized --enable/--with options
1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1457   --enable-silent-rules   less verbose build output (undo: "make V=1")
1458   --disable-silent-rules  verbose build output (undo: "make V=0")
1459   --enable-maintainer-mode
1460                           enable make rules and dependencies not useful (and
1461                           sometimes confusing) to the casual installer
1462   --enable-dependency-tracking
1463                           do not reject slow dependency extractors
1464   --disable-dependency-tracking
1465                           speeds up one-time build
1466   --enable-static[=PKGS]  build static libraries [default=no]
1467   --enable-shared[=PKGS]  build shared libraries [default=yes]
1468   --enable-fast-install[=PKGS]
1469                           optimize for fast installation [default=yes]
1470   --disable-libtool-lock  avoid locking (might break parallel builds)
1471
1472   --enable-debug          enable compiling with debugging information
1473   --enable-werror         warnings are treated as errors
1474   --disable-optimization  disable code optimization through compiler
1475   --enable-never-quit     Service doesn't quit when last client disconnects
1476   --enable-lib-only       compile only the libdleyna-renderer library
1477
1478 Optional Packages:
1479   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1480   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1481   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1482                           both]
1483   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1484   --with-sysroot=DIR Search for dependent libraries within DIR
1485                         (or the compiler's sysroot if not specified).
1486   --with-connector-name   IPC connector name
1487   --with-log-level        enable logging information (0,1..6,7,8) 0=disabled
1488                           7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1489                           comma separated list of log level
1490   --with-log-type         Select log output technology 0=syslog 1=GLib
1491   --with-ua-prefix        Specify a user agent prefix
1492   --with-dbus-service-dir=PATH
1493                           choose directory for dbus service files,
1494                           [default=PREFIX/share/dbus-1/services]
1495
1496 Some influential environment variables:
1497   CC          C compiler command
1498   CFLAGS      C compiler flags
1499   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1500               nonstandard directory <lib dir>
1501   LIBS        libraries to pass to the linker, e.g. -l<library>
1502   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1503               you have headers in a nonstandard directory <include dir>
1504   CPP         C preprocessor
1505   PKG_CONFIG  path to pkg-config utility
1506   PKG_CONFIG_PATH
1507               directories to add to pkg-config's search path
1508   PKG_CONFIG_LIBDIR
1509               path overriding pkg-config's built-in search path
1510   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1511   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1512   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1513   GIO_LIBS    linker flags for GIO, overriding pkg-config
1514   GSSDP_CFLAGS
1515               C compiler flags for GSSDP, overriding pkg-config
1516   GSSDP_LIBS  linker flags for GSSDP, overriding pkg-config
1517   GUPNP_CFLAGS
1518               C compiler flags for GUPNP, overriding pkg-config
1519   GUPNP_LIBS  linker flags for GUPNP, overriding pkg-config
1520   GUPNPAV_CFLAGS
1521               C compiler flags for GUPNPAV, overriding pkg-config
1522   GUPNPAV_LIBS
1523               linker flags for GUPNPAV, overriding pkg-config
1524   GUPNPDLNA_CFLAGS
1525               C compiler flags for GUPNPDLNA, overriding pkg-config
1526   GUPNPDLNA_LIBS
1527               linker flags for GUPNPDLNA, overriding pkg-config
1528   SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1529   SOUP_LIBS   linker flags for SOUP, overriding pkg-config
1530   DLEYNA_CORE_CFLAGS
1531               C compiler flags for DLEYNA_CORE, overriding pkg-config
1532   DLEYNA_CORE_LIBS
1533               linker flags for DLEYNA_CORE, overriding pkg-config
1534
1535 Use these variables to override the choices made by `configure' or to help
1536 it to find libraries and programs with nonstandard names/locations.
1537
1538 Report bugs to <https://github.com/01org/dleyna-renderer/issues/new>.
1539 dleyna-renderer home page: <https://01.org/dleyna/>.
1540 _ACEOF
1541 ac_status=$?
1542 fi
1543
1544 if test "$ac_init_help" = "recursive"; then
1545   # If there are subdirs, report their specific --help.
1546   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547     test -d "$ac_dir" ||
1548       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1549       continue
1550     ac_builddir=.
1551
1552 case "$ac_dir" in
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *)
1555   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556   # A ".." for each directory in $ac_dir_suffix.
1557   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558   case $ac_top_builddir_sub in
1559   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561   esac ;;
1562 esac
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1567
1568 case $srcdir in
1569   .)  # We are building in place.
1570     ac_srcdir=.
1571     ac_top_srcdir=$ac_top_builddir_sub
1572     ac_abs_top_srcdir=$ac_pwd ;;
1573   [\\/]* | ?:[\\/]* )  # Absolute name.
1574     ac_srcdir=$srcdir$ac_dir_suffix;
1575     ac_top_srcdir=$srcdir
1576     ac_abs_top_srcdir=$srcdir ;;
1577   *) # Relative name.
1578     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579     ac_top_srcdir=$ac_top_build_prefix$srcdir
1580     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581 esac
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583
1584     cd "$ac_dir" || { ac_status=$?; continue; }
1585     # Check for guested configure.
1586     if test -f "$ac_srcdir/configure.gnu"; then
1587       echo &&
1588       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589     elif test -f "$ac_srcdir/configure"; then
1590       echo &&
1591       $SHELL "$ac_srcdir/configure" --help=recursive
1592     else
1593       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594     fi || ac_status=$?
1595     cd "$ac_pwd" || { ac_status=$?; break; }
1596   done
1597 fi
1598
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1601   cat <<\_ACEOF
1602 dleyna-renderer configure 0.4.0
1603 generated by GNU Autoconf 2.69
1604
1605 Copyright (C) 2012 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1608 _ACEOF
1609   exit
1610 fi
1611
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1615
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1620 {
1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622   rm -f conftest.$ac_objext
1623   if { { ac_try="$ac_compile"
1624 case "(($ac_try" in
1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626   *) ac_try_echo=$ac_try;;
1627 esac
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630   (eval "$ac_compile") 2>conftest.err
1631   ac_status=$?
1632   if test -s conftest.err; then
1633     grep -v '^ *+' conftest.err >conftest.er1
1634     cat conftest.er1 >&5
1635     mv -f conftest.er1 conftest.err
1636   fi
1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638   test $ac_status = 0; } && {
1639          test -z "$ac_c_werror_flag" ||
1640          test ! -s conftest.err
1641        } && test -s conftest.$ac_objext; then :
1642   ac_retval=0
1643 else
1644   $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1646
1647         ac_retval=1
1648 fi
1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650   as_fn_set_status $ac_retval
1651
1652 } # ac_fn_c_try_compile
1653
1654 # ac_fn_c_try_link LINENO
1655 # -----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_c_try_link ()
1658 {
1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660   rm -f conftest.$ac_objext conftest$ac_exeext
1661   if { { ac_try="$ac_link"
1662 case "(($ac_try" in
1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664   *) ac_try_echo=$ac_try;;
1665 esac
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668   (eval "$ac_link") 2>conftest.err
1669   ac_status=$?
1670   if test -s conftest.err; then
1671     grep -v '^ *+' conftest.err >conftest.er1
1672     cat conftest.er1 >&5
1673     mv -f conftest.er1 conftest.err
1674   fi
1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676   test $ac_status = 0; } && {
1677          test -z "$ac_c_werror_flag" ||
1678          test ! -s conftest.err
1679        } && test -s conftest$ac_exeext && {
1680          test "$cross_compiling" = yes ||
1681          test -x conftest$ac_exeext
1682        }; then :
1683   ac_retval=0
1684 else
1685   $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1687
1688         ac_retval=1
1689 fi
1690   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692   # interfere with the next link command; also delete a directory that is
1693   # left behind by Apple's compiler.  We do this before executing the actions.
1694   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696   as_fn_set_status $ac_retval
1697
1698 } # ac_fn_c_try_link
1699
1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701 # -------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_c_check_header_compile ()
1705 {
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710   $as_echo_n "(cached) " >&6
1711 else
1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h.  */
1714 $4
1715 #include <$2>
1716 _ACEOF
1717 if ac_fn_c_try_compile "$LINENO"; then :
1718   eval "$3=yes"
1719 else
1720   eval "$3=no"
1721 fi
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 fi
1724 eval ac_res=\$$3
1725                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
1729 } # ac_fn_c_check_header_compile
1730
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_c_try_cpp ()
1735 {
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737   if { { ac_try="$ac_cpp conftest.$ac_ext"
1738 case "(($ac_try" in
1739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740   *) ac_try_echo=$ac_try;;
1741 esac
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745   ac_status=$?
1746   if test -s conftest.err; then
1747     grep -v '^ *+' conftest.err >conftest.er1
1748     cat conftest.er1 >&5
1749     mv -f conftest.er1 conftest.err
1750   fi
1751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752   test $ac_status = 0; } > conftest.i && {
1753          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754          test ! -s conftest.err
1755        }; then :
1756   ac_retval=0
1757 else
1758   $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1760
1761     ac_retval=1
1762 fi
1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764   as_fn_set_status $ac_retval
1765
1766 } # ac_fn_c_try_cpp
1767
1768 # ac_fn_c_try_run LINENO
1769 # ----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771 # that executables *can* be run.
1772 ac_fn_c_try_run ()
1773 {
1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775   if { { ac_try="$ac_link"
1776 case "(($ac_try" in
1777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778   *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782   (eval "$ac_link") 2>&5
1783   ac_status=$?
1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786   { { case "(($ac_try" in
1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788   *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792   (eval "$ac_try") 2>&5
1793   ac_status=$?
1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795   test $ac_status = 0; }; }; then :
1796   ac_retval=0
1797 else
1798   $as_echo "$as_me: program exited with status $ac_status" >&5
1799        $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1801
1802        ac_retval=$ac_status
1803 fi
1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806   as_fn_set_status $ac_retval
1807
1808 } # ac_fn_c_try_run
1809
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1814 {
1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819   $as_echo_n "(cached) " >&6
1820 else
1821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h.  */
1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1825 #define $2 innocuous_$2
1826
1827 /* System header to define __stub macros and hopefully few prototypes,
1828     which can conflict with char $2 (); below.
1829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830     <limits.h> exists even on freestanding compilers.  */
1831
1832 #ifdef __STDC__
1833 # include <limits.h>
1834 #else
1835 # include <assert.h>
1836 #endif
1837
1838 #undef $2
1839
1840 /* Override any GCC internal prototype to avoid an error.
1841    Use char because int might match the return type of a GCC
1842    builtin and then its argument prototype would still apply.  */
1843 #ifdef __cplusplus
1844 extern "C"
1845 #endif
1846 char $2 ();
1847 /* The GNU C library defines this for functions which it implements
1848     to always fail with ENOSYS.  Some functions are actually named
1849     something starting with __ and the normal name is an alias.  */
1850 #if defined __stub_$2 || defined __stub___$2
1851 choke me
1852 #endif
1853
1854 int
1855 main ()
1856 {
1857 return $2 ();
1858   ;
1859   return 0;
1860 }
1861 _ACEOF
1862 if ac_fn_c_try_link "$LINENO"; then :
1863   eval "$3=yes"
1864 else
1865   eval "$3=no"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext \
1868     conftest$ac_exeext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } # ac_fn_c_check_func
1876
1877 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1878 # -------------------------------------------------------
1879 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1880 # the include files in INCLUDES and setting the cache variable VAR
1881 # accordingly.
1882 ac_fn_c_check_header_mongrel ()
1883 {
1884   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885   if eval \${$3+:} false; then :
1886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889   $as_echo_n "(cached) " >&6
1890 fi
1891 eval ac_res=\$$3
1892                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 else
1895   # Is the header compilable?
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1897 $as_echo_n "checking $2 usability... " >&6; }
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h.  */
1900 $4
1901 #include <$2>
1902 _ACEOF
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904   ac_header_compiler=yes
1905 else
1906   ac_header_compiler=no
1907 fi
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1910 $as_echo "$ac_header_compiler" >&6; }
1911
1912 # Is the header present?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1914 $as_echo_n "checking $2 presence... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h.  */
1917 #include <$2>
1918 _ACEOF
1919 if ac_fn_c_try_cpp "$LINENO"; then :
1920   ac_header_preproc=yes
1921 else
1922   ac_header_preproc=no
1923 fi
1924 rm -f conftest.err conftest.i conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1926 $as_echo "$ac_header_preproc" >&6; }
1927
1928 # So?  What about this header?
1929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1930   yes:no: )
1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1932 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935     ;;
1936   no:yes:* )
1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1938 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1940 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1942 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1944 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947 ( $as_echo "## ------------------------------------------------------------------ ##
1948 ## Report this to https://github.com/01org/dleyna-renderer/issues/new ##
1949 ## ------------------------------------------------------------------ ##"
1950      ) | sed "s/^/$as_me: WARNING:     /" >&2
1951     ;;
1952 esac
1953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if eval \${$3+:} false; then :
1956   $as_echo_n "(cached) " >&6
1957 else
1958   eval "$3=\$ac_header_compiler"
1959 fi
1960 eval ac_res=\$$3
1961                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962 $as_echo "$ac_res" >&6; }
1963 fi
1964   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965
1966 } # ac_fn_c_check_header_mongrel
1967
1968 # ac_fn_c_find_uintX_t LINENO BITS VAR
1969 # ------------------------------------
1970 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1971 # accordingly.
1972 ac_fn_c_find_uintX_t ()
1973 {
1974   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1976 $as_echo_n "checking for uint$2_t... " >&6; }
1977 if eval \${$3+:} false; then :
1978   $as_echo_n "(cached) " >&6
1979 else
1980   eval "$3=no"
1981      # Order is important - never check a type that is potentially smaller
1982      # than half of the expected target width.
1983      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1984          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1985        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h.  */
1987 $ac_includes_default
1988 int
1989 main ()
1990 {
1991 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1992 test_array [0] = 0;
1993 return test_array [0];
1994
1995   ;
1996   return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_compile "$LINENO"; then :
2000   case $ac_type in #(
2001   uint$2_t) :
2002     eval "$3=yes" ;; #(
2003   *) :
2004     eval "$3=\$ac_type" ;;
2005 esac
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008        if eval test \"x\$"$3"\" = x"no"; then :
2009
2010 else
2011   break
2012 fi
2013      done
2014 fi
2015 eval ac_res=\$$3
2016                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017 $as_echo "$ac_res" >&6; }
2018   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019
2020 } # ac_fn_c_find_uintX_t
2021
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type ()
2027 {
2028   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \${$3+:} false; then :
2032   $as_echo_n "(cached) " >&6
2033 else
2034   eval "$3=no"
2035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h.  */
2037 $4
2038 int
2039 main ()
2040 {
2041 if (sizeof ($2))
2042          return 0;
2043   ;
2044   return 0;
2045 }
2046 _ACEOF
2047 if ac_fn_c_try_compile "$LINENO"; then :
2048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h.  */
2050 $4
2051 int
2052 main ()
2053 {
2054 if (sizeof (($2)))
2055             return 0;
2056   ;
2057   return 0;
2058 }
2059 _ACEOF
2060 if ac_fn_c_try_compile "$LINENO"; then :
2061
2062 else
2063   eval "$3=yes"
2064 fi
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066 fi
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 fi
2069 eval ac_res=\$$3
2070                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073
2074 } # ac_fn_c_check_type
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2078
2079 It was created by dleyna-renderer $as_me 0.4.0, which was
2080 generated by GNU Autoconf 2.69.  Invocation command line was
2081
2082   $ $0 $@
2083
2084 _ACEOF
2085 exec 5>>config.log
2086 {
2087 cat <<_ASUNAME
2088 ## --------- ##
2089 ## Platform. ##
2090 ## --------- ##
2091
2092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2097
2098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2099 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2100
2101 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2102 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2104 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2105 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2106 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2107 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2108
2109 _ASUNAME
2110
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 for as_dir in $PATH
2113 do
2114   IFS=$as_save_IFS
2115   test -z "$as_dir" && as_dir=.
2116     $as_echo "PATH: $as_dir"
2117   done
2118 IFS=$as_save_IFS
2119
2120 } >&5
2121
2122 cat >&5 <<_ACEOF
2123
2124
2125 ## ----------- ##
2126 ## Core tests. ##
2127 ## ----------- ##
2128
2129 _ACEOF
2130
2131
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2137 ac_configure_args=
2138 ac_configure_args0=
2139 ac_configure_args1=
2140 ac_must_keep_next=false
2141 for ac_pass in 1 2
2142 do
2143   for ac_arg
2144   do
2145     case $ac_arg in
2146     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148     | -silent | --silent | --silen | --sile | --sil)
2149       continue ;;
2150     *\'*)
2151       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152     esac
2153     case $ac_pass in
2154     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2155     2)
2156       as_fn_append ac_configure_args1 " '$ac_arg'"
2157       if test $ac_must_keep_next = true; then
2158         ac_must_keep_next=false # Got value, back to normal.
2159       else
2160         case $ac_arg in
2161           *=* | --config-cache | -C | -disable-* | --disable-* \
2162           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164           | -with-* | --with-* | -without-* | --without-* | --x)
2165             case "$ac_configure_args0 " in
2166               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167             esac
2168             ;;
2169           -* ) ac_must_keep_next=true ;;
2170         esac
2171       fi
2172       as_fn_append ac_configure_args " '$ac_arg'"
2173       ;;
2174     esac
2175   done
2176 done
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2179
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log.  We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186   # Save into config.log some information that might help in debugging.
2187   {
2188     echo
2189
2190     $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2193     echo
2194     # The following way of writing the cache mishandles newlines in values,
2195 (
2196   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2197     eval ac_val=\$$ac_var
2198     case $ac_val in #(
2199     *${as_nl}*)
2200       case $ac_var in #(
2201       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203       esac
2204       case $ac_var in #(
2205       _ | IFS | as_nl) ;; #(
2206       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207       *) { eval $ac_var=; unset $ac_var;} ;;
2208       esac ;;
2209     esac
2210   done
2211   (set) 2>&1 |
2212     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2213     *${as_nl}ac_space=\ *)
2214       sed -n \
2215         "s/'\''/'\''\\\\'\'''\''/g;
2216           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2217       ;; #(
2218     *)
2219       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2220       ;;
2221     esac |
2222     sort
2223 )
2224     echo
2225
2226     $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2229     echo
2230     for ac_var in $ac_subst_vars
2231     do
2232       eval ac_val=\$$ac_var
2233       case $ac_val in
2234       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235       esac
2236       $as_echo "$ac_var='\''$ac_val'\''"
2237     done | sort
2238     echo
2239
2240     if test -n "$ac_subst_files"; then
2241       $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2244       echo
2245       for ac_var in $ac_subst_files
2246       do
2247         eval ac_val=\$$ac_var
2248         case $ac_val in
2249         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2250         esac
2251         $as_echo "$ac_var='\''$ac_val'\''"
2252       done | sort
2253       echo
2254     fi
2255
2256     if test -s confdefs.h; then
2257       $as_echo "## ----------- ##
2258 ## confdefs.h. ##
2259 ## ----------- ##"
2260       echo
2261       cat confdefs.h
2262       echo
2263     fi
2264     test "$ac_signal" != 0 &&
2265       $as_echo "$as_me: caught signal $ac_signal"
2266     $as_echo "$as_me: exit $exit_status"
2267   } >&5
2268   rm -f core *.core core.conftest.* &&
2269     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270     exit $exit_status
2271 ' 0
2272 for ac_signal in 1 2 13 15; do
2273   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2274 done
2275 ac_signal=0
2276
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2279
2280 $as_echo "/* confdefs.h */" > confdefs.h
2281
2282 # Predefined preprocessor variables.
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2286 _ACEOF
2287
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 _ACEOF
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 _ACEOF
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 _ACEOF
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 _ACEOF
2303
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2306 _ACEOF
2307
2308
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2311 ac_site_file1=NONE
2312 ac_site_file2=NONE
2313 if test -n "$CONFIG_SITE"; then
2314   # We do not want a PATH search for config.site.
2315   case $CONFIG_SITE in #((
2316     -*)  ac_site_file1=./$CONFIG_SITE;;
2317     */*) ac_site_file1=$CONFIG_SITE;;
2318     *)   ac_site_file1=./$CONFIG_SITE;;
2319   esac
2320 elif test "x$prefix" != xNONE; then
2321   ac_site_file1=$prefix/share/config.site
2322   ac_site_file2=$prefix/etc/config.site
2323 else
2324   ac_site_file1=$ac_default_prefix/share/config.site
2325   ac_site_file2=$ac_default_prefix/etc/config.site
2326 fi
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2328 do
2329   test "x$ac_site_file" = xNONE && continue
2330   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333     sed 's/^/| /' "$ac_site_file" >&5
2334     . "$ac_site_file" \
2335       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site script $ac_site_file
2338 See \`config.log' for more details" "$LINENO" 5; }
2339   fi
2340 done
2341
2342 if test -r "$cache_file"; then
2343   # Some versions of bash will fail to source /dev/null (special files
2344   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2345   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2348     case $cache_file in
2349       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350       *)                      . "./$cache_file";;
2351     esac
2352   fi
2353 else
2354   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2356   >$cache_file
2357 fi
2358
2359 # Check that the precious variables saved in the cache have kept the same
2360 # value.
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364   eval ac_new_set=\$ac_env_${ac_var}_set
2365   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366   eval ac_new_val=\$ac_env_${ac_var}_value
2367   case $ac_old_set,$ac_new_set in
2368     set,)
2369       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371       ac_cache_corrupted=: ;;
2372     ,set)
2373       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375       ac_cache_corrupted=: ;;
2376     ,);;
2377     *)
2378       if test "x$ac_old_val" != "x$ac_new_val"; then
2379         # differences in whitespace do not lead to failure.
2380         ac_old_val_w=`echo x $ac_old_val`
2381         ac_new_val_w=`echo x $ac_new_val`
2382         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2385           ac_cache_corrupted=:
2386         else
2387           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389           eval $ac_var=\$ac_old_val
2390         fi
2391         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2392 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2393         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2395       fi;;
2396   esac
2397   # Pass precious variables to config.status.
2398   if test "$ac_new_set" = set; then
2399     case $ac_new_val in
2400     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401     *) ac_arg=$ac_var=$ac_new_val ;;
2402     esac
2403     case " $ac_configure_args " in
2404       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2405       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2406     esac
2407   fi
2408 done
2409 if $ac_cache_corrupted; then
2410   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2415 fi
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2419
2420 ac_ext=c
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425
2426
2427
2428 ac_config_headers="$ac_config_headers config.h"
2429
2430 ac_aux_dir=
2431 for ac_dir in build-aux "$srcdir"/build-aux; do
2432   if test -f "$ac_dir/install-sh"; then
2433     ac_aux_dir=$ac_dir
2434     ac_install_sh="$ac_aux_dir/install-sh -c"
2435     break
2436   elif test -f "$ac_dir/install.sh"; then
2437     ac_aux_dir=$ac_dir
2438     ac_install_sh="$ac_aux_dir/install.sh -c"
2439     break
2440   elif test -f "$ac_dir/shtool"; then
2441     ac_aux_dir=$ac_dir
2442     ac_install_sh="$ac_aux_dir/shtool install -c"
2443     break
2444   fi
2445 done
2446 if test -z "$ac_aux_dir"; then
2447   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2448 fi
2449
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2457
2458
2459
2460
2461
2462
2463
2464 am__api_version='1.14'
2465
2466 # Find a good install program.  We prefer a C program (faster),
2467 # so one script is as good as another.  But avoid the broken or
2468 # incompatible versions:
2469 # SysV /etc/install, /usr/sbin/install
2470 # SunOS /usr/etc/install
2471 # IRIX /sbin/install
2472 # AIX /bin/install
2473 # AmigaOS /C/install, which installs bootblocks on floppy discs
2474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2477 # OS/2's system install, which has a completely different semantic
2478 # ./install, which can be erroneously created by make from ./install.sh.
2479 # Reject install programs that cannot install multiple files.
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2481 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2482 if test -z "$INSTALL"; then
2483 if ${ac_cv_path_install+:} false; then :
2484   $as_echo_n "(cached) " >&6
2485 else
2486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH
2488 do
2489   IFS=$as_save_IFS
2490   test -z "$as_dir" && as_dir=.
2491     # Account for people who put trailing slashes in PATH elements.
2492 case $as_dir/ in #((
2493   ./ | .// | /[cC]/* | \
2494   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2495   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2496   /usr/ucb/* ) ;;
2497   *)
2498     # OSF1 and SCO ODT 3.0 have their own names for install.
2499     # Don't use installbsd from OSF since it installs stuff as root
2500     # by default.
2501     for ac_prog in ginstall scoinst install; do
2502       for ac_exec_ext in '' $ac_executable_extensions; do
2503         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2504           if test $ac_prog = install &&
2505             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506             # AIX install.  It has an incompatible calling convention.
2507             :
2508           elif test $ac_prog = install &&
2509             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2510             # program-specific install script used by HP pwplus--don't use.
2511             :
2512           else
2513             rm -rf conftest.one conftest.two conftest.dir
2514             echo one > conftest.one
2515             echo two > conftest.two
2516             mkdir conftest.dir
2517             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2518               test -s conftest.one && test -s conftest.two &&
2519               test -s conftest.dir/conftest.one &&
2520               test -s conftest.dir/conftest.two
2521             then
2522               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2523               break 3
2524             fi
2525           fi
2526         fi
2527       done
2528     done
2529     ;;
2530 esac
2531
2532   done
2533 IFS=$as_save_IFS
2534
2535 rm -rf conftest.one conftest.two conftest.dir
2536
2537 fi
2538   if test "${ac_cv_path_install+set}" = set; then
2539     INSTALL=$ac_cv_path_install
2540   else
2541     # As a last resort, use the slow shell script.  Don't cache a
2542     # value for INSTALL within a source directory, because that will
2543     # break other packages using the cache if that directory is
2544     # removed, or if the value is a relative name.
2545     INSTALL=$ac_install_sh
2546   fi
2547 fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2549 $as_echo "$INSTALL" >&6; }
2550
2551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2552 # It thinks the first close brace ends the variable substitution.
2553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2554
2555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2556
2557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2558
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2560 $as_echo_n "checking whether build environment is sane... " >&6; }
2561 # Reject unsafe characters in $srcdir or the absolute working directory
2562 # name.  Accept space and tab only in the latter.
2563 am_lf='
2564 '
2565 case `pwd` in
2566   *[\\\"\#\$\&\'\`$am_lf]*)
2567     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2568 esac
2569 case $srcdir in
2570   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2571     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2572 esac
2573
2574 # Do 'set' in a subshell so we don't clobber the current shell's
2575 # arguments.  Must try -L first in case configure is actually a
2576 # symlink; some systems play weird games with the mod time of symlinks
2577 # (eg FreeBSD returns the mod time of the symlink's containing
2578 # directory).
2579 if (
2580    am_has_slept=no
2581    for am_try in 1 2; do
2582      echo "timestamp, slept: $am_has_slept" > conftest.file
2583      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2584      if test "$*" = "X"; then
2585         # -L didn't work.
2586         set X `ls -t "$srcdir/configure" conftest.file`
2587      fi
2588      if test "$*" != "X $srcdir/configure conftest.file" \
2589         && test "$*" != "X conftest.file $srcdir/configure"; then
2590
2591         # If neither matched, then we have a broken ls.  This can happen
2592         # if, for instance, CONFIG_SHELL is bash and it inherits a
2593         # broken ls alias from the environment.  This has actually
2594         # happened.  Such a system could not be considered "sane".
2595         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2596   alias in your environment" "$LINENO" 5
2597      fi
2598      if test "$2" = conftest.file || test $am_try -eq 2; then
2599        break
2600      fi
2601      # Just in case.
2602      sleep 1
2603      am_has_slept=yes
2604    done
2605    test "$2" = conftest.file
2606    )
2607 then
2608    # Ok.
2609    :
2610 else
2611    as_fn_error $? "newly created file is older than distributed files!
2612 Check your system clock" "$LINENO" 5
2613 fi
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2616 # If we didn't sleep, we still need to ensure time stamps of config.status and
2617 # generated files are strictly newer.
2618 am_sleep_pid=
2619 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2620   ( sleep 1 ) &
2621   am_sleep_pid=$!
2622 fi
2623
2624 rm -f conftest.file
2625
2626 test "$program_prefix" != NONE &&
2627   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2628 # Use a double $ so make ignores it.
2629 test "$program_suffix" != NONE &&
2630   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2631 # Double any \ or $.
2632 # By default was `s,x,x', remove it if useless.
2633 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2634 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2635
2636 # expand $ac_aux_dir to an absolute path
2637 am_aux_dir=`cd $ac_aux_dir && pwd`
2638
2639 if test x"${MISSING+set}" != xset; then
2640   case $am_aux_dir in
2641   *\ * | *\     *)
2642     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2643   *)
2644     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2645   esac
2646 fi
2647 # Use eval to expand $SHELL
2648 if eval "$MISSING --is-lightweight"; then
2649   am_missing_run="$MISSING "
2650 else
2651   am_missing_run=
2652   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2653 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2654 fi
2655
2656 if test x"${install_sh}" != xset; then
2657   case $am_aux_dir in
2658   *\ * | *\     *)
2659     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2660   *)
2661     install_sh="\${SHELL} $am_aux_dir/install-sh"
2662   esac
2663 fi
2664
2665 # Installed binaries are usually stripped using 'strip' when the user
2666 # run "make install-strip".  However 'strip' might not be the right
2667 # tool to use in cross-compilation environments, therefore Automake
2668 # will honor the 'STRIP' environment variable to overrule this program.
2669 if test "$cross_compiling" != no; then
2670   if test -n "$ac_tool_prefix"; then
2671   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2672 set dummy ${ac_tool_prefix}strip; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_STRIP+:} false; then :
2676   $as_echo_n "(cached) " >&6
2677 else
2678   if test -n "$STRIP"; then
2679   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2680 else
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 for as_dir in $PATH
2683 do
2684   IFS=$as_save_IFS
2685   test -z "$as_dir" && as_dir=.
2686     for ac_exec_ext in '' $ac_executable_extensions; do
2687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690     break 2
2691   fi
2692 done
2693   done
2694 IFS=$as_save_IFS
2695
2696 fi
2697 fi
2698 STRIP=$ac_cv_prog_STRIP
2699 if test -n "$STRIP"; then
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2701 $as_echo "$STRIP" >&6; }
2702 else
2703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2705 fi
2706
2707
2708 fi
2709 if test -z "$ac_cv_prog_STRIP"; then
2710   ac_ct_STRIP=$STRIP
2711   # Extract the first word of "strip", so it can be a program name with args.
2712 set dummy strip; ac_word=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2716   $as_echo_n "(cached) " >&6
2717 else
2718   if test -n "$ac_ct_STRIP"; then
2719   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2720 else
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH
2723 do
2724   IFS=$as_save_IFS
2725   test -z "$as_dir" && as_dir=.
2726     for ac_exec_ext in '' $ac_executable_extensions; do
2727   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728     ac_cv_prog_ac_ct_STRIP="strip"
2729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730     break 2
2731   fi
2732 done
2733   done
2734 IFS=$as_save_IFS
2735
2736 fi
2737 fi
2738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2739 if test -n "$ac_ct_STRIP"; then
2740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2741 $as_echo "$ac_ct_STRIP" >&6; }
2742 else
2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 $as_echo "no" >&6; }
2745 fi
2746
2747   if test "x$ac_ct_STRIP" = x; then
2748     STRIP=":"
2749   else
2750     case $cross_compiling:$ac_tool_warned in
2751 yes:)
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2754 ac_tool_warned=yes ;;
2755 esac
2756     STRIP=$ac_ct_STRIP
2757   fi
2758 else
2759   STRIP="$ac_cv_prog_STRIP"
2760 fi
2761
2762 fi
2763 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2764
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2766 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2767 if test -z "$MKDIR_P"; then
2768   if ${ac_cv_path_mkdir+:} false; then :
2769   $as_echo_n "(cached) " >&6
2770 else
2771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2773 do
2774   IFS=$as_save_IFS
2775   test -z "$as_dir" && as_dir=.
2776     for ac_prog in mkdir gmkdir; do
2777          for ac_exec_ext in '' $ac_executable_extensions; do
2778            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2779            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2780              'mkdir (GNU coreutils) '* | \
2781              'mkdir (coreutils) '* | \
2782              'mkdir (fileutils) '4.1*)
2783                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2784                break 3;;
2785            esac
2786          done
2787        done
2788   done
2789 IFS=$as_save_IFS
2790
2791 fi
2792
2793   test -d ./--version && rmdir ./--version
2794   if test "${ac_cv_path_mkdir+set}" = set; then
2795     MKDIR_P="$ac_cv_path_mkdir -p"
2796   else
2797     # As a last resort, use the slow shell script.  Don't cache a
2798     # value for MKDIR_P within a source directory, because that will
2799     # break other packages using the cache if that directory is
2800     # removed, or if the value is a relative name.
2801     MKDIR_P="$ac_install_sh -d"
2802   fi
2803 fi
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2805 $as_echo "$MKDIR_P" >&6; }
2806
2807 for ac_prog in gawk mawk nawk awk
2808 do
2809   # Extract the first word of "$ac_prog", so it can be a program name with args.
2810 set dummy $ac_prog; ac_word=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_AWK+:} false; then :
2814   $as_echo_n "(cached) " >&6
2815 else
2816   if test -n "$AWK"; then
2817   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2818 else
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH
2821 do
2822   IFS=$as_save_IFS
2823   test -z "$as_dir" && as_dir=.
2824     for ac_exec_ext in '' $ac_executable_extensions; do
2825   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826     ac_cv_prog_AWK="$ac_prog"
2827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828     break 2
2829   fi
2830 done
2831   done
2832 IFS=$as_save_IFS
2833
2834 fi
2835 fi
2836 AWK=$ac_cv_prog_AWK
2837 if test -n "$AWK"; then
2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2839 $as_echo "$AWK" >&6; }
2840 else
2841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2843 fi
2844
2845
2846   test -n "$AWK" && break
2847 done
2848
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2850 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2851 set x ${MAKE-make}
2852 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2853 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2854   $as_echo_n "(cached) " >&6
2855 else
2856   cat >conftest.make <<\_ACEOF
2857 SHELL = /bin/sh
2858 all:
2859         @echo '@@@%%%=$(MAKE)=@@@%%%'
2860 _ACEOF
2861 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2862 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2863   *@@@%%%=?*=@@@%%%*)
2864     eval ac_cv_prog_make_${ac_make}_set=yes;;
2865   *)
2866     eval ac_cv_prog_make_${ac_make}_set=no;;
2867 esac
2868 rm -f conftest.make
2869 fi
2870 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2873   SET_MAKE=
2874 else
2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2877   SET_MAKE="MAKE=${MAKE-make}"
2878 fi
2879
2880 rm -rf .tst 2>/dev/null
2881 mkdir .tst 2>/dev/null
2882 if test -d .tst; then
2883   am__leading_dot=.
2884 else
2885   am__leading_dot=_
2886 fi
2887 rmdir .tst 2>/dev/null
2888
2889 # Check whether --enable-silent-rules was given.
2890 if test "${enable_silent_rules+set}" = set; then :
2891   enableval=$enable_silent_rules;
2892 fi
2893
2894 case $enable_silent_rules in # (((
2895   yes) AM_DEFAULT_VERBOSITY=0;;
2896    no) AM_DEFAULT_VERBOSITY=1;;
2897     *) AM_DEFAULT_VERBOSITY=1;;
2898 esac
2899 am_make=${MAKE-make}
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2901 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2902 if ${am_cv_make_support_nested_variables+:} false; then :
2903   $as_echo_n "(cached) " >&6
2904 else
2905   if $as_echo 'TRUE=$(BAR$(V))
2906 BAR0=false
2907 BAR1=true
2908 V=1
2909 am__doit:
2910         @$(TRUE)
2911 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2912   am_cv_make_support_nested_variables=yes
2913 else
2914   am_cv_make_support_nested_variables=no
2915 fi
2916 fi
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2918 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2919 if test $am_cv_make_support_nested_variables = yes; then
2920     AM_V='$(V)'
2921   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2922 else
2923   AM_V=$AM_DEFAULT_VERBOSITY
2924   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2925 fi
2926 AM_BACKSLASH='\'
2927
2928 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2929   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2930   # is not polluted with repeated "-I."
2931   am__isrc=' -I$(srcdir)'
2932   # test to see if srcdir already configured
2933   if test -f $srcdir/config.status; then
2934     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2935   fi
2936 fi
2937
2938 # test whether we have cygpath
2939 if test -z "$CYGPATH_W"; then
2940   if (cygpath --version) >/dev/null 2>/dev/null; then
2941     CYGPATH_W='cygpath -w'
2942   else
2943     CYGPATH_W=echo
2944   fi
2945 fi
2946
2947
2948 # Define the identity of the package.
2949  PACKAGE='dleyna-renderer'
2950  VERSION='0.4.0'
2951
2952
2953 cat >>confdefs.h <<_ACEOF
2954 #define PACKAGE "$PACKAGE"
2955 _ACEOF
2956
2957
2958 cat >>confdefs.h <<_ACEOF
2959 #define VERSION "$VERSION"
2960 _ACEOF
2961
2962 # Some tools Automake needs.
2963
2964 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2965
2966
2967 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2968
2969
2970 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2971
2972
2973 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2974
2975
2976 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2977
2978 # For better backward compatibility.  To be removed once Automake 1.9.x
2979 # dies out for good.  For more background, see:
2980 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2981 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2982 mkdir_p='$(MKDIR_P)'
2983
2984 # We need awk for the "check" target.  The system "awk" is bad on
2985 # some platforms.
2986 # Always define AMTAR for backward compatibility.  Yes, it's still used
2987 # in the wild :-(  We should find a proper way to deprecate it ...
2988 AMTAR='$${TAR-tar}'
2989
2990
2991 # We'll loop over all known methods to create a tar archive until one works.
2992 _am_tools='gnutar  pax cpio none'
2993
2994 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2995
2996
2997
2998
2999
3000
3001 # POSIX will say in a future version that running "rm -f" with no argument
3002 # is OK; and we want to be able to make that assumption in our Makefile
3003 # recipes.  So use an aggressive probe to check that the usage we want is
3004 # actually supported "in the wild" to an acceptable degree.
3005 # See automake bug#10828.
3006 # To make any issue more visible, cause the running configure to be aborted
3007 # by default if the 'rm' program in use doesn't match our expectations; the
3008 # user can still override this though.
3009 if rm -f && rm -fr && rm -rf; then : OK; else
3010   cat >&2 <<'END'
3011 Oops!
3012
3013 Your 'rm' program seems unable to run without file operands specified
3014 on the command line, even when the '-f' option is present.  This is contrary
3015 to the behaviour of most rm programs out there, and not conforming with
3016 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3017
3018 Please tell bug-automake@gnu.org about your system, including the value
3019 of your $PATH and any error possibly output before this message.  This
3020 can help us improve future automake versions.
3021
3022 END
3023   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3024     echo 'Configuration will proceed anyway, since you have set the' >&2
3025     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3026     echo >&2
3027   else
3028     cat >&2 <<'END'
3029 Aborting the configuration process, to ensure you take notice of the issue.
3030
3031 You can download and install GNU coreutils to get an 'rm' implementation
3032 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3033
3034 If you want to complete the configuration process using your problematic
3035 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3036 to "yes", and re-run configure.
3037
3038 END
3039     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3040   fi
3041 fi
3042
3043
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3045 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3046     # Check whether --enable-maintainer-mode was given.
3047 if test "${enable_maintainer_mode+set}" = set; then :
3048   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3049 else
3050   USE_MAINTAINER_MODE=no
3051 fi
3052
3053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3054 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3055    if test $USE_MAINTAINER_MODE = yes; then
3056   MAINTAINER_MODE_TRUE=
3057   MAINTAINER_MODE_FALSE='#'
3058 else
3059   MAINTAINER_MODE_TRUE='#'
3060   MAINTAINER_MODE_FALSE=
3061 fi
3062
3063   MAINT=$MAINTAINER_MODE_TRUE
3064
3065
3066 # Check whether --enable-silent-rules was given.
3067 if test "${enable_silent_rules+set}" = set; then :
3068   enableval=$enable_silent_rules;
3069 fi
3070
3071 case $enable_silent_rules in # (((
3072   yes) AM_DEFAULT_VERBOSITY=0;;
3073    no) AM_DEFAULT_VERBOSITY=1;;
3074     *) AM_DEFAULT_VERBOSITY=0;;
3075 esac
3076 am_make=${MAKE-make}
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3078 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3079 if ${am_cv_make_support_nested_variables+:} false; then :
3080   $as_echo_n "(cached) " >&6
3081 else
3082   if $as_echo 'TRUE=$(BAR$(V))
3083 BAR0=false
3084 BAR1=true
3085 V=1
3086 am__doit:
3087         @$(TRUE)
3088 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3089   am_cv_make_support_nested_variables=yes
3090 else
3091   am_cv_make_support_nested_variables=no
3092 fi
3093 fi
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3095 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3096 if test $am_cv_make_support_nested_variables = yes; then
3097     AM_V='$(V)'
3098   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3099 else
3100   AM_V=$AM_DEFAULT_VERBOSITY
3101   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3102 fi
3103 AM_BACKSLASH='\'
3104
3105
3106
3107         if (test x"${CFLAGS}" = x""); then
3108                 CFLAGS="-Wall"
3109                 CFLAGS+=" -O2"
3110                 CFLAGS+=" -D_FORTIFY_SOURCE=2"
3111         fi
3112
3113         if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
3114                 CFLAGS+=" -Wextra"
3115                 CFLAGS+=" -Wno-unused-parameter"
3116                 CFLAGS+=" -Wno-missing-field-initializers"
3117                 CFLAGS+=" -Wdeclaration-after-statement"
3118                 CFLAGS+=" -Wmissing-declarations"
3119                 CFLAGS+=" -Wredundant-decls"
3120                 CFLAGS+=" -Wcast-align"
3121
3122                 CFLAGS+=" -Wstrict-prototypes"
3123                 CFLAGS+=" -Wmissing-prototypes"
3124                 CFLAGS+=" -Wnested-externs"
3125                 CFLAGS+=" -Wshadow"
3126                 CFLAGS+=" -Wformat=2"
3127                 CFLAGS+=" -Winit-self"
3128
3129                 CFLAGS+=" -std=gnu99"
3130                 CFLAGS+=" -pedantic"
3131                 CFLAGS+=" -Wno-overlength-strings"
3132
3133                 CFLAGS+=" -DG_DISABLE_DEPRECATED"
3134                 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
3135         fi
3136
3137         CFLAGS+=" -Wno-format-extra-args"
3138
3139
3140 # Checks for languages.
3141 ac_ext=c
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146
3147
3148 # Checks for programs.
3149 ac_ext=c
3150 ac_cpp='$CPP $CPPFLAGS'
3151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3154 if test -n "$ac_tool_prefix"; then
3155   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3156 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160   $as_echo_n "(cached) " >&6
3161 else
3162   if test -n "$CC"; then
3163   ac_cv_prog_CC="$CC" # Let the user override the test.
3164 else
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 for as_dir in $PATH
3167 do
3168   IFS=$as_save_IFS
3169   test -z "$as_dir" && as_dir=.
3170     for ac_exec_ext in '' $ac_executable_extensions; do
3171   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174     break 2
3175   fi
3176 done
3177   done
3178 IFS=$as_save_IFS
3179
3180 fi
3181 fi
3182 CC=$ac_cv_prog_CC
3183 if test -n "$CC"; then
3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3185 $as_echo "$CC" >&6; }
3186 else
3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3189 fi
3190
3191
3192 fi
3193 if test -z "$ac_cv_prog_CC"; then
3194   ac_ct_CC=$CC
3195   # Extract the first word of "gcc", so it can be a program name with args.
3196 set dummy gcc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3200   $as_echo_n "(cached) " >&6
3201 else
3202   if test -n "$ac_ct_CC"; then
3203   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3204 else
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 for as_dir in $PATH
3207 do
3208   IFS=$as_save_IFS
3209   test -z "$as_dir" && as_dir=.
3210     for ac_exec_ext in '' $ac_executable_extensions; do
3211   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212     ac_cv_prog_ac_ct_CC="gcc"
3213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214     break 2
3215   fi
3216 done
3217   done
3218 IFS=$as_save_IFS
3219
3220 fi
3221 fi
3222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3223 if test -n "$ac_ct_CC"; then
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3225 $as_echo "$ac_ct_CC" >&6; }
3226 else
3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3229 fi
3230
3231   if test "x$ac_ct_CC" = x; then
3232     CC=""
3233   else
3234     case $cross_compiling:$ac_tool_warned in
3235 yes:)
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3238 ac_tool_warned=yes ;;
3239 esac
3240     CC=$ac_ct_CC
3241   fi
3242 else
3243   CC="$ac_cv_prog_CC"
3244 fi
3245
3246 if test -z "$CC"; then
3247           if test -n "$ac_tool_prefix"; then
3248     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3249 set dummy ${ac_tool_prefix}cc; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_CC+:} false; then :
3253   $as_echo_n "(cached) " >&6
3254 else
3255   if test -n "$CC"; then
3256   ac_cv_prog_CC="$CC" # Let the user override the test.
3257 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH
3260 do
3261   IFS=$as_save_IFS
3262   test -z "$as_dir" && as_dir=.
3263     for ac_exec_ext in '' $ac_executable_extensions; do
3264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265     ac_cv_prog_CC="${ac_tool_prefix}cc"
3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267     break 2
3268   fi
3269 done
3270   done
3271 IFS=$as_save_IFS
3272
3273 fi
3274 fi
3275 CC=$ac_cv_prog_CC
3276 if test -n "$CC"; then
3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278 $as_echo "$CC" >&6; }
3279 else
3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 fi
3283
3284
3285   fi
3286 fi
3287 if test -z "$CC"; then
3288   # Extract the first word of "cc", so it can be a program name with args.
3289 set dummy cc; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_CC+:} false; then :
3293   $as_echo_n "(cached) " >&6
3294 else
3295   if test -n "$CC"; then
3296   ac_cv_prog_CC="$CC" # Let the user override the test.
3297 else
3298   ac_prog_rejected=no
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302   IFS=$as_save_IFS
3303   test -z "$as_dir" && as_dir=.
3304     for ac_exec_ext in '' $ac_executable_extensions; do
3305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3307        ac_prog_rejected=yes
3308        continue
3309      fi
3310     ac_cv_prog_CC="cc"
3311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312     break 2
3313   fi
3314 done
3315   done
3316 IFS=$as_save_IFS
3317
3318 if test $ac_prog_rejected = yes; then
3319   # We found a bogon in the path, so make sure we never use it.
3320   set dummy $ac_cv_prog_CC
3321   shift
3322   if test $# != 0; then
3323     # We chose a different compiler from the bogus one.
3324     # However, it has the same basename, so the bogon will be chosen
3325     # first if we set CC to just the basename; use the full file name.
3326     shift
3327     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3328   fi
3329 fi
3330 fi
3331 fi
3332 CC=$ac_cv_prog_CC
3333 if test -n "$CC"; then
3334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335 $as_echo "$CC" >&6; }
3336 else
3337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3339 fi
3340
3341
3342 fi
3343 if test -z "$CC"; then
3344   if test -n "$ac_tool_prefix"; then
3345   for ac_prog in cl.exe
3346   do
3347     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if ${ac_cv_prog_CC+:} false; then :
3352   $as_echo_n "(cached) " >&6
3353 else
3354   if test -n "$CC"; then
3355   ac_cv_prog_CC="$CC" # Let the user override the test.
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3359 do
3360   IFS=$as_save_IFS
3361   test -z "$as_dir" && as_dir=.
3362     for ac_exec_ext in '' $ac_executable_extensions; do
3363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366     break 2
3367   fi
3368 done
3369   done
3370 IFS=$as_save_IFS
3371
3372 fi
3373 fi
3374 CC=$ac_cv_prog_CC
3375 if test -n "$CC"; then
3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3377 $as_echo "$CC" >&6; }
3378 else
3379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3381 fi
3382
3383
3384     test -n "$CC" && break
3385   done
3386 fi
3387 if test -z "$CC"; then
3388   ac_ct_CC=$CC
3389   for ac_prog in cl.exe
3390 do
3391   # Extract the first word of "$ac_prog", so it can be a program name with args.
3392 set dummy $ac_prog; ac_word=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3396   $as_echo_n "(cached) " >&6
3397 else
3398   if test -n "$ac_ct_CC"; then
3399   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3400 else
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 for as_dir in $PATH
3403 do
3404   IFS=$as_save_IFS
3405   test -z "$as_dir" && as_dir=.
3406     for ac_exec_ext in '' $ac_executable_extensions; do
3407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408     ac_cv_prog_ac_ct_CC="$ac_prog"
3409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3410     break 2
3411   fi
3412 done
3413   done
3414 IFS=$as_save_IFS
3415
3416 fi
3417 fi
3418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3419 if test -n "$ac_ct_CC"; then
3420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3421 $as_echo "$ac_ct_CC" >&6; }
3422 else
3423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3425 fi
3426
3427
3428   test -n "$ac_ct_CC" && break
3429 done
3430
3431   if test "x$ac_ct_CC" = x; then
3432     CC=""
3433   else
3434     case $cross_compiling:$ac_tool_warned in
3435 yes:)
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned=yes ;;
3439 esac
3440     CC=$ac_ct_CC
3441   fi
3442 fi
3443
3444 fi
3445
3446
3447 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "no acceptable C compiler found in \$PATH
3450 See \`config.log' for more details" "$LINENO" 5; }
3451
3452 # Provide some information about the compiler.
3453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3454 set X $ac_compile
3455 ac_compiler=$2
3456 for ac_option in --version -v -V -qversion; do
3457   { { ac_try="$ac_compiler $ac_option >&5"
3458 case "(($ac_try" in
3459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460   *) ac_try_echo=$ac_try;;
3461 esac
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3465   ac_status=$?
3466   if test -s conftest.err; then
3467     sed '10a\
3468 ... rest of stderr output deleted ...
3469          10q' conftest.err >conftest.er1
3470     cat conftest.er1 >&5
3471   fi
3472   rm -f conftest.er1 conftest.err
3473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474   test $ac_status = 0; }
3475 done
3476
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h.  */
3479
3480 int
3481 main ()
3482 {
3483
3484   ;
3485   return 0;
3486 }
3487 _ACEOF
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3492 # of exeext.
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3494 $as_echo_n "checking whether the C compiler works... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3496
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3499
3500 ac_rmfiles=
3501 for ac_file in $ac_files
3502 do
3503   case $ac_file in
3504     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3506   esac
3507 done
3508 rm -f $ac_rmfiles
3509
3510 if { { ac_try="$ac_link_default"
3511 case "(($ac_try" in
3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513   *) ac_try_echo=$ac_try;;
3514 esac
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517   (eval "$ac_link_default") 2>&5
3518   ac_status=$?
3519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520   test $ac_status = 0; }; then :
3521   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3525 # Autoconf.
3526 for ac_file in $ac_files ''
3527 do
3528   test -f "$ac_file" || continue
3529   case $ac_file in
3530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3531         ;;
3532     [ab].out )
3533         # We found the default executable, but exeext='' is most
3534         # certainly right.
3535         break;;
3536     *.* )
3537         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3538         then :; else
3539            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3540         fi
3541         # We set ac_cv_exeext here because the later test for it is not
3542         # safe: cross compilers may not add the suffix if given an `-o'
3543         # argument, so we may need to know it at that point already.
3544         # Even if this section looks crufty: it has the advantage of
3545         # actually working.
3546         break;;
3547     * )
3548         break;;
3549   esac
3550 done
3551 test "$ac_cv_exeext" = no && ac_cv_exeext=
3552
3553 else
3554   ac_file=''
3555 fi
3556 if test -z "$ac_file"; then :
3557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3561
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error 77 "C compiler cannot create executables
3565 See \`config.log' for more details" "$LINENO" 5; }
3566 else
3567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3569 fi
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3571 $as_echo_n "checking for C compiler default output file name... " >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 ac_exeext=$ac_cv_exeext
3575
3576 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try="$ac_link"
3581 case "(($ac_try" in
3582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583   *) ac_try_echo=$ac_try;;
3584 esac
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587   (eval "$ac_link") 2>&5
3588   ac_status=$?
3589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590   test $ac_status = 0; }; then :
3591   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3594 # `rm'.
3595 for ac_file in conftest.exe conftest conftest.*; do
3596   test -f "$ac_file" || continue
3597   case $ac_file in
3598     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3600           break;;
3601     * ) break;;
3602   esac
3603 done
3604 else
3605   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details" "$LINENO" 5; }
3609 fi
3610 rm -f conftest conftest$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3613
3614 rm -f conftest.$ac_ext
3615 EXEEXT=$ac_cv_exeext
3616 ac_exeext=$EXEEXT
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h.  */
3619 #include <stdio.h>
3620 int
3621 main ()
3622 {
3623 FILE *f = fopen ("conftest.out", "w");
3624  return ferror (f) || fclose (f) != 0;
3625
3626   ;
3627   return 0;
3628 }
3629 _ACEOF
3630 ac_clean_files="$ac_clean_files conftest.out"
3631 # Check that the compiler produces executables we can run.  If not, either
3632 # the compiler is broken, or we cross compile.
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3634 $as_echo_n "checking whether we are cross compiling... " >&6; }
3635 if test "$cross_compiling" != yes; then
3636   { { ac_try="$ac_link"
3637 case "(($ac_try" in
3638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639   *) ac_try_echo=$ac_try;;
3640 esac
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643   (eval "$ac_link") 2>&5
3644   ac_status=$?
3645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646   test $ac_status = 0; }
3647   if { ac_try='./conftest$ac_cv_exeext'
3648   { { case "(($ac_try" in
3649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650   *) ac_try_echo=$ac_try;;
3651 esac
3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654   (eval "$ac_try") 2>&5
3655   ac_status=$?
3656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657   test $ac_status = 0; }; }; then
3658     cross_compiling=no
3659   else
3660     if test "$cross_compiling" = maybe; then
3661         cross_compiling=yes
3662     else
3663         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "cannot run C compiled programs.
3666 If you meant to cross compile, use \`--host'.
3667 See \`config.log' for more details" "$LINENO" 5; }
3668     fi
3669   fi
3670 fi
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3672 $as_echo "$cross_compiling" >&6; }
3673
3674 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3675 ac_clean_files=$ac_clean_files_save
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3677 $as_echo_n "checking for suffix of object files... " >&6; }
3678 if ${ac_cv_objext+:} false; then :
3679   $as_echo_n "(cached) " >&6
3680 else
3681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h.  */
3683
3684 int
3685 main ()
3686 {
3687
3688   ;
3689   return 0;
3690 }
3691 _ACEOF
3692 rm -f conftest.o conftest.obj
3693 if { { ac_try="$ac_compile"
3694 case "(($ac_try" in
3695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696   *) ac_try_echo=$ac_try;;
3697 esac
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700   (eval "$ac_compile") 2>&5
3701   ac_status=$?
3702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703   test $ac_status = 0; }; then :
3704   for ac_file in conftest.o conftest.obj conftest.*; do
3705   test -f "$ac_file" || continue;
3706   case $ac_file in
3707     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3708     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3709        break;;
3710   esac
3711 done
3712 else
3713   $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3715
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of object files: cannot compile
3719 See \`config.log' for more details" "$LINENO" 5; }
3720 fi
3721 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3722 fi
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3724 $as_echo "$ac_cv_objext" >&6; }
3725 OBJEXT=$ac_cv_objext
3726 ac_objext=$OBJEXT
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3729 if ${ac_cv_c_compiler_gnu+:} false; then :
3730   $as_echo_n "(cached) " >&6
3731 else
3732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h.  */
3734
3735 int
3736 main ()
3737 {
3738 #ifndef __GNUC__
3739        choke me
3740 #endif
3741
3742   ;
3743   return 0;
3744 }
3745 _ACEOF
3746 if ac_fn_c_try_compile "$LINENO"; then :
3747   ac_compiler_gnu=yes
3748 else
3749   ac_compiler_gnu=no
3750 fi
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3753
3754 fi
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3758   GCC=yes
3759 else
3760   GCC=
3761 fi
3762 ac_test_CFLAGS=${CFLAGS+set}
3763 ac_save_CFLAGS=$CFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3766 if ${ac_cv_prog_cc_g+:} false; then :
3767   $as_echo_n "(cached) " >&6
3768 else
3769   ac_save_c_werror_flag=$ac_c_werror_flag
3770    ac_c_werror_flag=yes
3771    ac_cv_prog_cc_g=no
3772    CFLAGS="-g"
3773    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h.  */
3775
3776 int
3777 main ()
3778 {
3779
3780   ;
3781   return 0;
3782 }
3783 _ACEOF
3784 if ac_fn_c_try_compile "$LINENO"; then :
3785   ac_cv_prog_cc_g=yes
3786 else
3787   CFLAGS=""
3788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h.  */
3790
3791 int
3792 main ()
3793 {
3794
3795   ;
3796   return 0;
3797 }
3798 _ACEOF
3799 if ac_fn_c_try_compile "$LINENO"; then :
3800
3801 else
3802   ac_c_werror_flag=$ac_save_c_werror_flag
3803          CFLAGS="-g"
3804          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h.  */
3806
3807 int
3808 main ()
3809 {
3810
3811   ;
3812   return 0;
3813 }
3814 _ACEOF
3815 if ac_fn_c_try_compile "$LINENO"; then :
3816   ac_cv_prog_cc_g=yes
3817 fi
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 fi
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 fi
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823    ac_c_werror_flag=$ac_save_c_werror_flag
3824 fi
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3826 $as_echo "$ac_cv_prog_cc_g" >&6; }
3827 if test "$ac_test_CFLAGS" = set; then
3828   CFLAGS=$ac_save_CFLAGS
3829 elif test $ac_cv_prog_cc_g = yes; then
3830   if test "$GCC" = yes; then
3831     CFLAGS="-g -O2"
3832   else
3833     CFLAGS="-g"
3834   fi
3835 else
3836   if test "$GCC" = yes; then
3837     CFLAGS="-O2"
3838   else
3839     CFLAGS=
3840   fi
3841 fi
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3844 if ${ac_cv_prog_cc_c89+:} false; then :
3845   $as_echo_n "(cached) " >&6
3846 else
3847   ac_cv_prog_cc_c89=no
3848 ac_save_CC=$CC
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h.  */
3851 #include <stdarg.h>
3852 #include <stdio.h>
3853 struct stat;
3854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3855 struct buf { int x; };
3856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3857 static char *e (p, i)
3858      char **p;
3859      int i;
3860 {
3861   return p[i];
3862 }
3863 static char *f (char * (*g) (char **, int), char **p, ...)
3864 {
3865   char *s;
3866   va_list v;
3867   va_start (v,p);
3868   s = g (p, va_arg (v,int));
3869   va_end (v);
3870   return s;
3871 }
3872
3873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3874    function prototypes and stuff, but not '\xHH' hex character constants.
3875    These don't provoke an error unfortunately, instead are silently treated
3876    as 'x'.  The following induces an error, until -std is added to get
3877    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3878    array size at least.  It's necessary to write '\x00'==0 to get something
3879    that's true only with -std.  */
3880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3881
3882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3883    inside strings and character constants.  */
3884 #define FOO(x) 'x'
3885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3886
3887 int test (int i, double x);
3888 struct s1 {int (*f) (int a);};
3889 struct s2 {int (*f) (double a);};
3890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3891 int argc;
3892 char **argv;
3893 int
3894 main ()
3895 {
3896 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3897   ;
3898   return 0;
3899 }
3900 _ACEOF
3901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3902         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3903 do
3904   CC="$ac_save_CC $ac_arg"
3905   if ac_fn_c_try_compile "$LINENO"; then :
3906   ac_cv_prog_cc_c89=$ac_arg
3907 fi
3908 rm -f core conftest.err conftest.$ac_objext
3909   test "x$ac_cv_prog_cc_c89" != "xno" && break
3910 done
3911 rm -f conftest.$ac_ext
3912 CC=$ac_save_CC
3913
3914 fi
3915 # AC_CACHE_VAL
3916 case "x$ac_cv_prog_cc_c89" in
3917   x)
3918     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3919 $as_echo "none needed" >&6; } ;;
3920   xno)
3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3922 $as_echo "unsupported" >&6; } ;;
3923   *)
3924     CC="$CC $ac_cv_prog_cc_c89"
3925     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3926 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3927 esac
3928 if test "x$ac_cv_prog_cc_c89" != xno; then :
3929
3930 fi
3931
3932 ac_ext=c
3933 ac_cpp='$CPP $CPPFLAGS'
3934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3937
3938 ac_ext=c
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3944 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3945 if ${am_cv_prog_cc_c_o+:} false; then :
3946   $as_echo_n "(cached) " >&6
3947 else
3948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h.  */
3950
3951 int
3952 main ()
3953 {
3954
3955   ;
3956   return 0;
3957 }
3958 _ACEOF
3959   # Make sure it works both with $CC and with simple cc.
3960   # Following AC_PROG_CC_C_O, we do the test twice because some
3961   # compilers refuse to overwrite an existing .o file with -o,
3962   # though they will create one.
3963   am_cv_prog_cc_c_o=yes
3964   for am_i in 1 2; do
3965     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3966    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3967    ac_status=$?
3968    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969    (exit $ac_status); } \
3970          && test -f conftest2.$ac_objext; then
3971       : OK
3972     else
3973       am_cv_prog_cc_c_o=no
3974       break
3975     fi
3976   done
3977   rm -f core conftest*
3978   unset am_i
3979 fi
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3981 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3982 if test "$am_cv_prog_cc_c_o" != yes; then
3983    # Losing compiler, so override with the script.
3984    # FIXME: It is wrong to rewrite CC.
3985    # But if we don't then we get into trouble of one sort or another.
3986    # A longer-term fix would be to have automake use am__CC in this case,
3987    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3988    CC="$am_aux_dir/compile $CC"
3989 fi
3990 ac_ext=c
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995
3996 DEPDIR="${am__leading_dot}deps"
3997
3998 ac_config_commands="$ac_config_commands depfiles"
3999
4000
4001 am_make=${MAKE-make}
4002 cat > confinc << 'END'
4003 am__doit:
4004         @echo this is the am__doit target
4005 .PHONY: am__doit
4006 END
4007 # If we don't find an include directive, just comment out the code.
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4009 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4010 am__include="#"
4011 am__quote=
4012 _am_result=none
4013 # First try GNU make style include.
4014 echo "include confinc" > confmf
4015 # Ignore all kinds of additional output from 'make'.
4016 case `$am_make -s -f confmf 2> /dev/null` in #(
4017 *the\ am__doit\ target*)
4018   am__include=include
4019   am__quote=
4020   _am_result=GNU
4021   ;;
4022 esac
4023 # Now try BSD make style include.
4024 if test "$am__include" = "#"; then
4025    echo '.include "confinc"' > confmf
4026    case `$am_make -s -f confmf 2> /dev/null` in #(
4027    *the\ am__doit\ target*)
4028      am__include=.include
4029      am__quote="\""
4030      _am_result=BSD
4031      ;;
4032    esac
4033 fi
4034
4035
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4037 $as_echo "$_am_result" >&6; }
4038 rm -f confinc confmf
4039
4040 # Check whether --enable-dependency-tracking was given.
4041 if test "${enable_dependency_tracking+set}" = set; then :
4042   enableval=$enable_dependency_tracking;
4043 fi
4044
4045 if test "x$enable_dependency_tracking" != xno; then
4046   am_depcomp="$ac_aux_dir/depcomp"
4047   AMDEPBACKSLASH='\'
4048   am__nodep='_no'
4049 fi
4050  if test "x$enable_dependency_tracking" != xno; then
4051   AMDEP_TRUE=
4052   AMDEP_FALSE='#'
4053 else
4054   AMDEP_TRUE='#'
4055   AMDEP_FALSE=
4056 fi
4057
4058
4059
4060 depcc="$CC"   am_compiler_list=
4061
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4063 $as_echo_n "checking dependency style of $depcc... " >&6; }
4064 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4065   $as_echo_n "(cached) " >&6
4066 else
4067   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4068   # We make a subdir and do the tests there.  Otherwise we can end up
4069   # making bogus files that we don't know about and never remove.  For
4070   # instance it was reported that on HP-UX the gcc test will end up
4071   # making a dummy file named 'D' -- because '-MD' means "put the output
4072   # in D".
4073   rm -rf conftest.dir
4074   mkdir conftest.dir
4075   # Copy depcomp to subdir because otherwise we won't find it if we're
4076   # using a relative directory.
4077   cp "$am_depcomp" conftest.dir
4078   cd conftest.dir
4079   # We will build objects and dependencies in a subdirectory because
4080   # it helps to detect inapplicable dependency modes.  For instance
4081   # both Tru64's cc and ICC support -MD to output dependencies as a
4082   # side effect of compilation, but ICC will put the dependencies in
4083   # the current directory while Tru64 will put them in the object
4084   # directory.
4085   mkdir sub
4086
4087   am_cv_CC_dependencies_compiler_type=none
4088   if test "$am_compiler_list" = ""; then
4089      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4090   fi
4091   am__universal=false
4092   case " $depcc " in #(
4093      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4094      esac
4095
4096   for depmode in $am_compiler_list; do
4097     # Setup a source with many dependencies, because some compilers
4098     # like to wrap large dependency lists on column 80 (with \), and
4099     # we should not choose a depcomp mode which is confused by this.
4100     #
4101     # We need to recreate these files for each test, as the compiler may
4102     # overwrite some of them when testing with obscure command lines.
4103     # This happens at least with the AIX C compiler.
4104     : > sub/conftest.c
4105     for i in 1 2 3 4 5 6; do
4106       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4107       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4108       # Solaris 10 /bin/sh.
4109       echo '/* dummy */' > sub/conftst$i.h
4110     done
4111     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4112
4113     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4114     # mode.  It turns out that the SunPro C++ compiler does not properly
4115     # handle '-M -o', and we need to detect this.  Also, some Intel
4116     # versions had trouble with output in subdirs.
4117     am__obj=sub/conftest.${OBJEXT-o}
4118     am__minus_obj="-o $am__obj"
4119     case $depmode in
4120     gcc)
4121       # This depmode causes a compiler race in universal mode.
4122       test "$am__universal" = false || continue
4123       ;;
4124     nosideeffect)
4125       # After this tag, mechanisms are not by side-effect, so they'll
4126       # only be used when explicitly requested.
4127       if test "x$enable_dependency_tracking" = xyes; then
4128         continue
4129       else
4130         break
4131       fi
4132       ;;
4133     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4134       # This compiler won't grok '-c -o', but also, the minuso test has
4135       # not run yet.  These depmodes are late enough in the game, and
4136       # so weak that their functioning should not be impacted.
4137       am__obj=conftest.${OBJEXT-o}
4138       am__minus_obj=
4139       ;;
4140     none) break ;;
4141     esac
4142     if depmode=$depmode \
4143        source=sub/conftest.c object=$am__obj \
4144        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4145        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4146          >/dev/null 2>conftest.err &&
4147        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4148        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4149        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4150        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4151       # icc doesn't choke on unknown options, it will just issue warnings
4152       # or remarks (even with -Werror).  So we grep stderr for any message
4153       # that says an option was ignored or not supported.
4154       # When given -MP, icc 7.0 and 7.1 complain thusly:
4155       #   icc: Command line warning: ignoring option '-M'; no argument required
4156       # The diagnosis changed in icc 8.0:
4157       #   icc: Command line remark: option '-MP' not supported
4158       if (grep 'ignoring option' conftest.err ||
4159           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4160         am_cv_CC_dependencies_compiler_type=$depmode
4161         break
4162       fi
4163     fi
4164   done
4165
4166   cd ..
4167   rm -rf conftest.dir
4168 else
4169   am_cv_CC_dependencies_compiler_type=none
4170 fi
4171
4172 fi
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4174 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4175 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4176
4177  if
4178   test "x$enable_dependency_tracking" != xno \
4179   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4180   am__fastdepCC_TRUE=
4181   am__fastdepCC_FALSE='#'
4182 else
4183   am__fastdepCC_TRUE='#'
4184   am__fastdepCC_FALSE=
4185 fi
4186
4187
4188
4189
4190
4191 # Initialize libtool
4192 # Disable generation of static libraries
4193
4194 case `pwd` in
4195   *\ * | *\     *)
4196     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4197 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4198 esac
4199
4200
4201
4202 macro_version='2.4.2'
4203 macro_revision='1.3337'
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217 ltmain="$ac_aux_dir/ltmain.sh"
4218
4219 # Make sure we can run config.sub.
4220 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4221   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4222
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4224 $as_echo_n "checking build system type... " >&6; }
4225 if ${ac_cv_build+:} false; then :
4226   $as_echo_n "(cached) " >&6
4227 else
4228   ac_build_alias=$build_alias
4229 test "x$ac_build_alias" = x &&
4230   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4231 test "x$ac_build_alias" = x &&
4232   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4233 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4234   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4235
4236 fi
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4238 $as_echo "$ac_cv_build" >&6; }
4239 case $ac_cv_build in
4240 *-*-*) ;;
4241 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4242 esac
4243 build=$ac_cv_build
4244 ac_save_IFS=$IFS; IFS='-'
4245 set x $ac_cv_build
4246 shift
4247 build_cpu=$1
4248 build_vendor=$2
4249 shift; shift
4250 # Remember, the first character of IFS is used to create $*,
4251 # except with old shells:
4252 build_os=$*
4253 IFS=$ac_save_IFS
4254 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4255
4256
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4258 $as_echo_n "checking host system type... " >&6; }
4259 if ${ac_cv_host+:} false; then :
4260   $as_echo_n "(cached) " >&6
4261 else
4262   if test "x$host_alias" = x; then
4263   ac_cv_host=$ac_cv_build
4264 else
4265   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4266     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4267 fi
4268
4269 fi
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4271 $as_echo "$ac_cv_host" >&6; }
4272 case $ac_cv_host in
4273 *-*-*) ;;
4274 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4275 esac
4276 host=$ac_cv_host
4277 ac_save_IFS=$IFS; IFS='-'
4278 set x $ac_cv_host
4279 shift
4280 host_cpu=$1
4281 host_vendor=$2
4282 shift; shift
4283 # Remember, the first character of IFS is used to create $*,
4284 # except with old shells:
4285 host_os=$*
4286 IFS=$ac_save_IFS
4287 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4288
4289
4290 # Backslashify metacharacters that are still active within
4291 # double-quoted strings.
4292 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4293
4294 # Same as above, but do not quote variable references.
4295 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4296
4297 # Sed substitution to delay expansion of an escaped shell variable in a
4298 # double_quote_subst'ed string.
4299 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4300
4301 # Sed substitution to delay expansion of an escaped single quote.
4302 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4303
4304 # Sed substitution to avoid accidental globbing in evaled expressions
4305 no_glob_subst='s/\*/\\\*/g'
4306
4307 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4308 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4309 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4310
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4312 $as_echo_n "checking how to print strings... " >&6; }
4313 # Test print first, because it will be a builtin if present.
4314 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4315    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4316   ECHO='print -r --'
4317 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4318   ECHO='printf %s\n'
4319 else
4320   # Use this function as a fallback that always works.
4321   func_fallback_echo ()
4322   {
4323     eval 'cat <<_LTECHO_EOF
4324 $1
4325 _LTECHO_EOF'
4326   }
4327   ECHO='func_fallback_echo'
4328 fi
4329
4330 # func_echo_all arg...
4331 # Invoke $ECHO with all args, space-separated.
4332 func_echo_all ()
4333 {
4334     $ECHO ""
4335 }
4336
4337 case "$ECHO" in
4338   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4339 $as_echo "printf" >&6; } ;;
4340   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4341 $as_echo "print -r" >&6; } ;;
4342   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4343 $as_echo "cat" >&6; } ;;
4344 esac
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4360 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4361 if ${ac_cv_path_SED+:} false; then :
4362   $as_echo_n "(cached) " >&6
4363 else
4364             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4365      for ac_i in 1 2 3 4 5 6 7; do
4366        ac_script="$ac_script$as_nl$ac_script"
4367      done
4368      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4369      { ac_script=; unset ac_script;}
4370      if test -z "$SED"; then
4371   ac_path_SED_found=false
4372   # Loop through the user's path and test for each of PROGNAME-LIST
4373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 for as_dir in $PATH
4375 do
4376   IFS=$as_save_IFS
4377   test -z "$as_dir" && as_dir=.
4378     for ac_prog in sed gsed; do
4379     for ac_exec_ext in '' $ac_executable_extensions; do
4380       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4381       as_fn_executable_p "$ac_path_SED" || continue
4382 # Check for GNU ac_path_SED and select it if it is found.
4383   # Check for GNU $ac_path_SED
4384 case `"$ac_path_SED" --version 2>&1` in
4385 *GNU*)
4386   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4387 *)
4388   ac_count=0
4389   $as_echo_n 0123456789 >"conftest.in"
4390   while :
4391   do
4392     cat "conftest.in" "conftest.in" >"conftest.tmp"
4393     mv "conftest.tmp" "conftest.in"
4394     cp "conftest.in" "conftest.nl"
4395     $as_echo '' >> "conftest.nl"
4396     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4397     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4398     as_fn_arith $ac_count + 1 && ac_count=$as_val
4399     if test $ac_count -gt ${ac_path_SED_max-0}; then
4400       # Best one so far, save it but keep looking for a better one
4401       ac_cv_path_SED="$ac_path_SED"
4402       ac_path_SED_max=$ac_count
4403     fi
4404     # 10*(2^10) chars as input seems more than enough
4405     test $ac_count -gt 10 && break
4406   done
4407   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4408 esac
4409
4410       $ac_path_SED_found && break 3
4411     done
4412   done
4413   done
4414 IFS=$as_save_IFS
4415   if test -z "$ac_cv_path_SED"; then
4416     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4417   fi
4418 else
4419   ac_cv_path_SED=$SED
4420 fi
4421
4422 fi
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4424 $as_echo "$ac_cv_path_SED" >&6; }
4425  SED="$ac_cv_path_SED"
4426   rm -f conftest.sed
4427
4428 test -z "$SED" && SED=sed
4429 Xsed="$SED -e 1s/^X//"
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4443 if ${ac_cv_path_GREP+:} false; then :
4444   $as_echo_n "(cached) " >&6
4445 else
4446   if test -z "$GREP"; then
4447   ac_path_GREP_found=false
4448   # Loop through the user's path and test for each of PROGNAME-LIST
4449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4451 do
4452   IFS=$as_save_IFS
4453   test -z "$as_dir" && as_dir=.
4454     for ac_prog in grep ggrep; do
4455     for ac_exec_ext in '' $ac_executable_extensions; do
4456       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4457       as_fn_executable_p "$ac_path_GREP" || continue
4458 # Check for GNU ac_path_GREP and select it if it is found.
4459   # Check for GNU $ac_path_GREP
4460 case `"$ac_path_GREP" --version 2>&1` in
4461 *GNU*)
4462   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4463 *)
4464   ac_count=0
4465   $as_echo_n 0123456789 >"conftest.in"
4466   while :
4467   do
4468     cat "conftest.in" "conftest.in" >"conftest.tmp"
4469     mv "conftest.tmp" "conftest.in"
4470     cp "conftest.in" "conftest.nl"
4471     $as_echo 'GREP' >> "conftest.nl"
4472     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4473     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4474     as_fn_arith $ac_count + 1 && ac_count=$as_val
4475     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4476       # Best one so far, save it but keep looking for a better one
4477       ac_cv_path_GREP="$ac_path_GREP"
4478       ac_path_GREP_max=$ac_count
4479     fi
4480     # 10*(2^10) chars as input seems more than enough
4481     test $ac_count -gt 10 && break
4482   done
4483   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4484 esac
4485
4486       $ac_path_GREP_found && break 3
4487     done
4488   done
4489   done
4490 IFS=$as_save_IFS
4491   if test -z "$ac_cv_path_GREP"; then
4492     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4493   fi
4494 else
4495   ac_cv_path_GREP=$GREP
4496 fi
4497
4498 fi
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4500 $as_echo "$ac_cv_path_GREP" >&6; }
4501  GREP="$ac_cv_path_GREP"
4502
4503
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4505 $as_echo_n "checking for egrep... " >&6; }
4506 if ${ac_cv_path_EGREP+:} false; then :
4507   $as_echo_n "(cached) " >&6
4508 else
4509   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4510    then ac_cv_path_EGREP="$GREP -E"
4511    else
4512      if test -z "$EGREP"; then
4513   ac_path_EGREP_found=false
4514   # Loop through the user's path and test for each of PROGNAME-LIST
4515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4517 do
4518   IFS=$as_save_IFS
4519   test -z "$as_dir" && as_dir=.
4520     for ac_prog in egrep; do
4521     for ac_exec_ext in '' $ac_executable_extensions; do
4522       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4523       as_fn_executable_p "$ac_path_EGREP" || continue
4524 # Check for GNU ac_path_EGREP and select it if it is found.
4525   # Check for GNU $ac_path_EGREP
4526 case `"$ac_path_EGREP" --version 2>&1` in
4527 *GNU*)
4528   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4529 *)
4530   ac_count=0
4531   $as_echo_n 0123456789 >"conftest.in"
4532   while :
4533   do
4534     cat "conftest.in" "conftest.in" >"conftest.tmp"
4535     mv "conftest.tmp" "conftest.in"
4536     cp "conftest.in" "conftest.nl"
4537     $as_echo 'EGREP' >> "conftest.nl"
4538     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4539     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4540     as_fn_arith $ac_count + 1 && ac_count=$as_val
4541     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4542       # Best one so far, save it but keep looking for a better one
4543       ac_cv_path_EGREP="$ac_path_EGREP"
4544       ac_path_EGREP_max=$ac_count
4545     fi
4546     # 10*(2^10) chars as input seems more than enough
4547     test $ac_count -gt 10 && break
4548   done
4549   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4550 esac
4551
4552       $ac_path_EGREP_found && break 3
4553     done
4554   done
4555   done
4556 IFS=$as_save_IFS
4557   if test -z "$ac_cv_path_EGREP"; then
4558     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4559   fi
4560 else
4561   ac_cv_path_EGREP=$EGREP
4562 fi
4563
4564    fi
4565 fi
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4567 $as_echo "$ac_cv_path_EGREP" >&6; }
4568  EGREP="$ac_cv_path_EGREP"
4569
4570
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4572 $as_echo_n "checking for fgrep... " >&6; }
4573 if ${ac_cv_path_FGREP+:} false; then :
4574   $as_echo_n "(cached) " >&6
4575 else
4576   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4577    then ac_cv_path_FGREP="$GREP -F"
4578    else
4579      if test -z "$FGREP"; then
4580   ac_path_FGREP_found=false
4581   # Loop through the user's path and test for each of PROGNAME-LIST
4582   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4584 do
4585   IFS=$as_save_IFS
4586   test -z "$as_dir" && as_dir=.
4587     for ac_prog in fgrep; do
4588     for ac_exec_ext in '' $ac_executable_extensions; do
4589       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4590       as_fn_executable_p "$ac_path_FGREP" || continue
4591 # Check for GNU ac_path_FGREP and select it if it is found.
4592   # Check for GNU $ac_path_FGREP
4593 case `"$ac_path_FGREP" --version 2>&1` in
4594 *GNU*)
4595   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4596 *)
4597   ac_count=0
4598   $as_echo_n 0123456789 >"conftest.in"
4599   while :
4600   do
4601     cat "conftest.in" "conftest.in" >"conftest.tmp"
4602     mv "conftest.tmp" "conftest.in"
4603     cp "conftest.in" "conftest.nl"
4604     $as_echo 'FGREP' >> "conftest.nl"
4605     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4606     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4607     as_fn_arith $ac_count + 1 && ac_count=$as_val
4608     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4609       # Best one so far, save it but keep looking for a better one
4610       ac_cv_path_FGREP="$ac_path_FGREP"
4611       ac_path_FGREP_max=$ac_count
4612     fi
4613     # 10*(2^10) chars as input seems more than enough
4614     test $ac_count -gt 10 && break
4615   done
4616   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4617 esac
4618
4619       $ac_path_FGREP_found && break 3
4620     done
4621   done
4622   done
4623 IFS=$as_save_IFS
4624   if test -z "$ac_cv_path_FGREP"; then
4625     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4626   fi
4627 else
4628   ac_cv_path_FGREP=$FGREP
4629 fi
4630
4631    fi
4632 fi
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4634 $as_echo "$ac_cv_path_FGREP" >&6; }
4635  FGREP="$ac_cv_path_FGREP"
4636
4637
4638 test -z "$GREP" && GREP=grep
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658 # Check whether --with-gnu-ld was given.
4659 if test "${with_gnu_ld+set}" = set; then :
4660   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4661 else
4662   with_gnu_ld=no
4663 fi
4664
4665 ac_prog=ld
4666 if test "$GCC" = yes; then
4667   # Check if gcc -print-prog-name=ld gives a path.
4668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4669 $as_echo_n "checking for ld used by $CC... " >&6; }
4670   case $host in
4671   *-*-mingw*)
4672     # gcc leaves a trailing carriage return which upsets mingw
4673     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4674   *)
4675     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4676   esac
4677   case $ac_prog in
4678     # Accept absolute paths.
4679     [\\/]* | ?:[\\/]*)
4680       re_direlt='/[^/][^/]*/\.\./'
4681       # Canonicalize the pathname of ld
4682       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4683       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4684         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4685       done
4686       test -z "$LD" && LD="$ac_prog"
4687       ;;
4688   "")
4689     # If it fails, then pretend we aren't using GCC.
4690     ac_prog=ld
4691     ;;
4692   *)
4693     # If it is relative, then search for the first ld in PATH.
4694     with_gnu_ld=unknown
4695     ;;
4696   esac
4697 elif test "$with_gnu_ld" = yes; then
4698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4699 $as_echo_n "checking for GNU ld... " >&6; }
4700 else
4701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4702 $as_echo_n "checking for non-GNU ld... " >&6; }
4703 fi
4704 if ${lt_cv_path_LD+:} false; then :
4705   $as_echo_n "(cached) " >&6
4706 else
4707   if test -z "$LD"; then
4708   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4709   for ac_dir in $PATH; do
4710     IFS="$lt_save_ifs"
4711     test -z "$ac_dir" && ac_dir=.
4712     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4713       lt_cv_path_LD="$ac_dir/$ac_prog"
4714       # Check to see if the program is GNU ld.  I'd rather use --version,
4715       # but apparently some variants of GNU ld only accept -v.
4716       # Break only if it was the GNU/non-GNU ld that we prefer.
4717       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4718       *GNU* | *'with BFD'*)
4719         test "$with_gnu_ld" != no && break
4720         ;;
4721       *)
4722         test "$with_gnu_ld" != yes && break
4723         ;;
4724       esac
4725     fi
4726   done
4727   IFS="$lt_save_ifs"
4728 else
4729   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4730 fi
4731 fi
4732
4733 LD="$lt_cv_path_LD"
4734 if test -n "$LD"; then
4735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4736 $as_echo "$LD" >&6; }
4737 else
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 fi
4741 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4743 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4744 if ${lt_cv_prog_gnu_ld+:} false; then :
4745   $as_echo_n "(cached) " >&6
4746 else
4747   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4748 case `$LD -v 2>&1 </dev/null` in
4749 *GNU* | *'with BFD'*)
4750   lt_cv_prog_gnu_ld=yes
4751   ;;
4752 *)
4753   lt_cv_prog_gnu_ld=no
4754   ;;
4755 esac
4756 fi
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4758 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4759 with_gnu_ld=$lt_cv_prog_gnu_ld
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4770 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4771 if ${lt_cv_path_NM+:} false; then :
4772   $as_echo_n "(cached) " >&6
4773 else
4774   if test -n "$NM"; then
4775   # Let the user override the test.
4776   lt_cv_path_NM="$NM"
4777 else
4778   lt_nm_to_check="${ac_tool_prefix}nm"
4779   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4780     lt_nm_to_check="$lt_nm_to_check nm"
4781   fi
4782   for lt_tmp_nm in $lt_nm_to_check; do
4783     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4784     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4785       IFS="$lt_save_ifs"
4786       test -z "$ac_dir" && ac_dir=.
4787       tmp_nm="$ac_dir/$lt_tmp_nm"
4788       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4789         # Check to see if the nm accepts a BSD-compat flag.
4790         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4791         #   nm: unknown option "B" ignored
4792         # Tru64's nm complains that /dev/null is an invalid object file
4793         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4794         */dev/null* | *'Invalid file or object type'*)
4795           lt_cv_path_NM="$tmp_nm -B"
4796           break
4797           ;;
4798         *)
4799           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4800           */dev/null*)
4801             lt_cv_path_NM="$tmp_nm -p"
4802             break
4803             ;;
4804           *)
4805             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4806             continue # so that we can try to find one that supports BSD flags
4807             ;;
4808           esac
4809           ;;
4810         esac
4811       fi
4812     done
4813     IFS="$lt_save_ifs"
4814   done
4815   : ${lt_cv_path_NM=no}
4816 fi
4817 fi
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4819 $as_echo "$lt_cv_path_NM" >&6; }
4820 if test "$lt_cv_path_NM" != "no"; then
4821   NM="$lt_cv_path_NM"
4822 else
4823   # Didn't find any BSD compatible name lister, look for dumpbin.
4824   if test -n "$DUMPBIN"; then :
4825     # Let the user override the test.
4826   else
4827     if test -n "$ac_tool_prefix"; then
4828   for ac_prog in dumpbin "link -dump"
4829   do
4830     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_DUMPBIN+:} false; then :
4835   $as_echo_n "(cached) " >&6
4836 else
4837   if test -n "$DUMPBIN"; then
4838   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4842 do
4843   IFS=$as_save_IFS
4844   test -z "$as_dir" && as_dir=.
4845     for ac_exec_ext in '' $ac_executable_extensions; do
4846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849     break 2
4850   fi
4851 done
4852   done
4853 IFS=$as_save_IFS
4854
4855 fi
4856 fi
4857 DUMPBIN=$ac_cv_prog_DUMPBIN
4858 if test -n "$DUMPBIN"; then
4859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4860 $as_echo "$DUMPBIN" >&6; }
4861 else
4862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4864 fi
4865
4866
4867     test -n "$DUMPBIN" && break
4868   done
4869 fi
4870 if test -z "$DUMPBIN"; then
4871   ac_ct_DUMPBIN=$DUMPBIN
4872   for ac_prog in dumpbin "link -dump"
4873 do
4874   # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4879   $as_echo_n "(cached) " >&6
4880 else
4881   if test -n "$ac_ct_DUMPBIN"; then
4882   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4886 do
4887   IFS=$as_save_IFS
4888   test -z "$as_dir" && as_dir=.
4889     for ac_exec_ext in '' $ac_executable_extensions; do
4890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893     break 2
4894   fi
4895 done
4896   done
4897 IFS=$as_save_IFS
4898
4899 fi
4900 fi
4901 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4902 if test -n "$ac_ct_DUMPBIN"; then
4903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4904 $as_echo "$ac_ct_DUMPBIN" >&6; }
4905 else
4906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 fi
4909
4910
4911   test -n "$ac_ct_DUMPBIN" && break
4912 done
4913
4914   if test "x$ac_ct_DUMPBIN" = x; then
4915     DUMPBIN=":"
4916   else
4917     case $cross_compiling:$ac_tool_warned in
4918 yes:)
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4922 esac
4923     DUMPBIN=$ac_ct_DUMPBIN
4924   fi
4925 fi
4926
4927     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4928     *COFF*)
4929       DUMPBIN="$DUMPBIN -symbols"
4930       ;;
4931     *)
4932       DUMPBIN=:
4933       ;;
4934     esac
4935   fi
4936
4937   if test "$DUMPBIN" != ":"; then
4938     NM="$DUMPBIN"
4939   fi
4940 fi
4941 test -z "$NM" && NM=nm
4942
4943
4944
4945
4946
4947
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4949 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4950 if ${lt_cv_nm_interface+:} false; then :
4951   $as_echo_n "(cached) " >&6
4952 else
4953   lt_cv_nm_interface="BSD nm"
4954   echo "int some_variable = 0;" > conftest.$ac_ext
4955   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4956   (eval "$ac_compile" 2>conftest.err)
4957   cat conftest.err >&5
4958   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4959   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4960   cat conftest.err >&5
4961   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4962   cat conftest.out >&5
4963   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4964     lt_cv_nm_interface="MS dumpbin"
4965   fi
4966   rm -f conftest*
4967 fi
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4969 $as_echo "$lt_cv_nm_interface" >&6; }
4970
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4972 $as_echo_n "checking whether ln -s works... " >&6; }
4973 LN_S=$as_ln_s
4974 if test "$LN_S" = "ln -s"; then
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4976 $as_echo "yes" >&6; }
4977 else
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4979 $as_echo "no, using $LN_S" >&6; }
4980 fi
4981
4982 # find the maximum length of command line arguments
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4984 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4985 if ${lt_cv_sys_max_cmd_len+:} false; then :
4986   $as_echo_n "(cached) " >&6
4987 else
4988     i=0
4989   teststring="ABCD"
4990
4991   case $build_os in
4992   msdosdjgpp*)
4993     # On DJGPP, this test can blow up pretty badly due to problems in libc
4994     # (any single argument exceeding 2000 bytes causes a buffer overrun
4995     # during glob expansion).  Even if it were fixed, the result of this
4996     # check would be larger than it should be.
4997     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4998     ;;
4999
5000   gnu*)
5001     # Under GNU Hurd, this test is not required because there is
5002     # no limit to the length of command line arguments.
5003     # Libtool will interpret -1 as no limit whatsoever
5004     lt_cv_sys_max_cmd_len=-1;
5005     ;;
5006
5007   cygwin* | mingw* | cegcc*)
5008     # On Win9x/ME, this test blows up -- it succeeds, but takes
5009     # about 5 minutes as the teststring grows exponentially.
5010     # Worse, since 9x/ME are not pre-emptively multitasking,
5011     # you end up with a "frozen" computer, even though with patience
5012     # the test eventually succeeds (with a max line length of 256k).
5013     # Instead, let's just punt: use the minimum linelength reported by
5014     # all of the supported platforms: 8192 (on NT/2K/XP).
5015     lt_cv_sys_max_cmd_len=8192;
5016     ;;
5017
5018   mint*)
5019     # On MiNT this can take a long time and run out of memory.
5020     lt_cv_sys_max_cmd_len=8192;
5021     ;;
5022
5023   amigaos*)
5024     # On AmigaOS with pdksh, this test takes hours, literally.
5025     # So we just punt and use a minimum line length of 8192.
5026     lt_cv_sys_max_cmd_len=8192;
5027     ;;
5028
5029   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5030     # This has been around since 386BSD, at least.  Likely further.
5031     if test -x /sbin/sysctl; then
5032       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5033     elif test -x /usr/sbin/sysctl; then
5034       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5035     else
5036       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5037     fi
5038     # And add a safety zone
5039     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5040     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5041     ;;
5042
5043   interix*)
5044     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5045     lt_cv_sys_max_cmd_len=196608
5046     ;;
5047
5048   os2*)
5049     # The test takes a long time on OS/2.
5050     lt_cv_sys_max_cmd_len=8192
5051     ;;
5052
5053   osf*)
5054     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5055     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5056     # nice to cause kernel panics so lets avoid the loop below.
5057     # First set a reasonable default.
5058     lt_cv_sys_max_cmd_len=16384
5059     #
5060     if test -x /sbin/sysconfig; then
5061       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5062         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5063       esac
5064     fi
5065     ;;
5066   sco3.2v5*)
5067     lt_cv_sys_max_cmd_len=102400
5068     ;;
5069   sysv5* | sco5v6* | sysv4.2uw2*)
5070     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5071     if test -n "$kargmax"; then
5072       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5073     else
5074       lt_cv_sys_max_cmd_len=32768
5075     fi
5076     ;;
5077   *)
5078     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5079     if test -n "$lt_cv_sys_max_cmd_len" && \
5080         test undefined != "$lt_cv_sys_max_cmd_len"; then
5081       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5082       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5083     else
5084       # Make teststring a little bigger before we do anything with it.
5085       # a 1K string should be a reasonable start.
5086       for i in 1 2 3 4 5 6 7 8 ; do
5087         teststring=$teststring$teststring
5088       done
5089       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5090       # If test is not a shell built-in, we'll probably end up computing a
5091       # maximum length that is only half of the actual maximum length, but
5092       # we can't tell.
5093       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5094                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5095               test $i != 17 # 1/2 MB should be enough
5096       do
5097         i=`expr $i + 1`
5098         teststring=$teststring$teststring
5099       done
5100       # Only check the string length outside the loop.
5101       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5102       teststring=
5103       # Add a significant safety factor because C++ compilers can tack on
5104       # massive amounts of additional arguments before passing them to the
5105       # linker.  It appears as though 1/2 is a usable value.
5106       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5107     fi
5108     ;;
5109   esac
5110
5111 fi
5112
5113 if test -n $lt_cv_sys_max_cmd_len ; then
5114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5115 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5116 else
5117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5118 $as_echo "none" >&6; }
5119 fi
5120 max_cmd_len=$lt_cv_sys_max_cmd_len
5121
5122
5123
5124
5125
5126
5127 : ${CP="cp -f"}
5128 : ${MV="mv -f"}
5129 : ${RM="rm -f"}
5130
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5132 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5133 # Try some XSI features
5134 xsi_shell=no
5135 ( _lt_dummy="a/b/c"
5136   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5137       = c,a/b,b/c, \
5138     && eval 'test $(( 1 + 1 )) -eq 2 \
5139     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5140   && xsi_shell=yes
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5142 $as_echo "$xsi_shell" >&6; }
5143
5144
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5146 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5147 lt_shell_append=no
5148 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5149     >/dev/null 2>&1 \
5150   && lt_shell_append=yes
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5152 $as_echo "$lt_shell_append" >&6; }
5153
5154
5155 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5156   lt_unset=unset
5157 else
5158   lt_unset=false
5159 fi
5160
5161
5162
5163
5164
5165 # test EBCDIC or ASCII
5166 case `echo X|tr X '\101'` in
5167  A) # ASCII based system
5168     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5169   lt_SP2NL='tr \040 \012'
5170   lt_NL2SP='tr \015\012 \040\040'
5171   ;;
5172  *) # EBCDIC based system
5173   lt_SP2NL='tr \100 \n'
5174   lt_NL2SP='tr \r\n \100\100'
5175   ;;
5176 esac
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5187 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5188 if ${lt_cv_to_host_file_cmd+:} false; then :
5189   $as_echo_n "(cached) " >&6
5190 else
5191   case $host in
5192   *-*-mingw* )
5193     case $build in
5194       *-*-mingw* ) # actually msys
5195         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5196         ;;
5197       *-*-cygwin* )
5198         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5199         ;;
5200       * ) # otherwise, assume *nix
5201         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5202         ;;
5203     esac
5204     ;;
5205   *-*-cygwin* )
5206     case $build in
5207       *-*-mingw* ) # actually msys
5208         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5209         ;;
5210       *-*-cygwin* )
5211         lt_cv_to_host_file_cmd=func_convert_file_noop
5212         ;;
5213       * ) # otherwise, assume *nix
5214         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5215         ;;
5216     esac
5217     ;;
5218   * ) # unhandled hosts (and "normal" native builds)
5219     lt_cv_to_host_file_cmd=func_convert_file_noop
5220     ;;
5221 esac
5222
5223 fi
5224
5225 to_host_file_cmd=$lt_cv_to_host_file_cmd
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5227 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5228
5229
5230
5231
5232
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5234 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5235 if ${lt_cv_to_tool_file_cmd+:} false; then :
5236   $as_echo_n "(cached) " >&6
5237 else
5238   #assume ordinary cross tools, or native build.
5239 lt_cv_to_tool_file_cmd=func_convert_file_noop
5240 case $host in
5241   *-*-mingw* )
5242     case $build in
5243       *-*-mingw* ) # actually msys
5244         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5245         ;;
5246     esac
5247     ;;
5248 esac
5249
5250 fi
5251
5252 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5254 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5255
5256
5257
5258
5259
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5261 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5262 if ${lt_cv_ld_reload_flag+:} false; then :
5263   $as_echo_n "(cached) " >&6
5264 else
5265   lt_cv_ld_reload_flag='-r'
5266 fi
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5268 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5269 reload_flag=$lt_cv_ld_reload_flag
5270 case $reload_flag in
5271 "" | " "*) ;;
5272 *) reload_flag=" $reload_flag" ;;
5273 esac
5274 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5275 case $host_os in
5276   cygwin* | mingw* | pw32* | cegcc*)
5277     if test "$GCC" != yes; then
5278       reload_cmds=false
5279     fi
5280     ;;
5281   darwin*)
5282     if test "$GCC" = yes; then
5283       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5284     else
5285       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5286     fi
5287     ;;
5288 esac
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298 if test -n "$ac_tool_prefix"; then
5299   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5300 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_OBJDUMP+:} false; then :
5304   $as_echo_n "(cached) " >&6
5305 else
5306   if test -n "$OBJDUMP"; then
5307   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5311 do
5312   IFS=$as_save_IFS
5313   test -z "$as_dir" && as_dir=.
5314     for ac_exec_ext in '' $ac_executable_extensions; do
5315   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318     break 2
5319   fi
5320 done
5321   done
5322 IFS=$as_save_IFS
5323
5324 fi
5325 fi
5326 OBJDUMP=$ac_cv_prog_OBJDUMP
5327 if test -n "$OBJDUMP"; then
5328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5329 $as_echo "$OBJDUMP" >&6; }
5330 else
5331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5333 fi
5334
5335
5336 fi
5337 if test -z "$ac_cv_prog_OBJDUMP"; then
5338   ac_ct_OBJDUMP=$OBJDUMP
5339   # Extract the first word of "objdump", so it can be a program name with args.
5340 set dummy objdump; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   if test -n "$ac_ct_OBJDUMP"; then
5347   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5351 do
5352   IFS=$as_save_IFS
5353   test -z "$as_dir" && as_dir=.
5354     for ac_exec_ext in '' $ac_executable_extensions; do
5355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358     break 2
5359   fi
5360 done
5361   done
5362 IFS=$as_save_IFS
5363
5364 fi
5365 fi
5366 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5367 if test -n "$ac_ct_OBJDUMP"; then
5368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5369 $as_echo "$ac_ct_OBJDUMP" >&6; }
5370 else
5371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5373 fi
5374
5375   if test "x$ac_ct_OBJDUMP" = x; then
5376     OBJDUMP="false"
5377   else
5378     case $cross_compiling:$ac_tool_warned in
5379 yes:)
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384     OBJDUMP=$ac_ct_OBJDUMP
5385   fi
5386 else
5387   OBJDUMP="$ac_cv_prog_OBJDUMP"
5388 fi
5389
5390 test -z "$OBJDUMP" && OBJDUMP=objdump
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5401 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5402 if ${lt_cv_deplibs_check_method+:} false; then :
5403   $as_echo_n "(cached) " >&6
5404 else
5405   lt_cv_file_magic_cmd='$MAGIC_CMD'
5406 lt_cv_file_magic_test_file=
5407 lt_cv_deplibs_check_method='unknown'
5408 # Need to set the preceding variable on all platforms that support
5409 # interlibrary dependencies.
5410 # 'none' -- dependencies not supported.
5411 # `unknown' -- same as none, but documents that we really don't know.
5412 # 'pass_all' -- all dependencies passed with no checks.
5413 # 'test_compile' -- check by making test program.
5414 # 'file_magic [[regex]]' -- check by looking for files in library path
5415 # which responds to the $file_magic_cmd with a given extended regex.
5416 # If you have `file' or equivalent on your system and you're not sure
5417 # whether `pass_all' will *always* work, you probably want this one.
5418
5419 case $host_os in
5420 aix[4-9]*)
5421   lt_cv_deplibs_check_method=pass_all
5422   ;;
5423
5424 beos*)
5425   lt_cv_deplibs_check_method=pass_all
5426   ;;
5427
5428 bsdi[45]*)
5429   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5430   lt_cv_file_magic_cmd='/usr/bin/file -L'
5431   lt_cv_file_magic_test_file=/shlib/libc.so
5432   ;;
5433
5434 cygwin*)
5435   # func_win32_libid is a shell function defined in ltmain.sh
5436   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5437   lt_cv_file_magic_cmd='func_win32_libid'
5438   ;;
5439
5440 mingw* | pw32*)
5441   # Base MSYS/MinGW do not provide the 'file' command needed by
5442   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5443   # unless we find 'file', for example because we are cross-compiling.
5444   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5445   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5446     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5447     lt_cv_file_magic_cmd='func_win32_libid'
5448   else
5449     # Keep this pattern in sync with the one in func_win32_libid.
5450     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5451     lt_cv_file_magic_cmd='$OBJDUMP -f'
5452   fi
5453   ;;
5454
5455 cegcc*)
5456   # use the weaker test based on 'objdump'. See mingw*.
5457   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5458   lt_cv_file_magic_cmd='$OBJDUMP -f'
5459   ;;
5460
5461 darwin* | rhapsody*)
5462   lt_cv_deplibs_check_method=pass_all
5463   ;;
5464
5465 freebsd* | dragonfly*)
5466   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5467     case $host_cpu in
5468     i*86 )
5469       # Not sure whether the presence of OpenBSD here was a mistake.
5470       # Let's accept both of them until this is cleared up.
5471       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5472       lt_cv_file_magic_cmd=/usr/bin/file
5473       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5474       ;;
5475     esac
5476   else
5477     lt_cv_deplibs_check_method=pass_all
5478   fi
5479   ;;
5480
5481 haiku*)
5482   lt_cv_deplibs_check_method=pass_all
5483   ;;
5484
5485 hpux10.20* | hpux11*)
5486   lt_cv_file_magic_cmd=/usr/bin/file
5487   case $host_cpu in
5488   ia64*)
5489     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5490     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5491     ;;
5492   hppa*64*)
5493     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]'
5494     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5495     ;;
5496   *)
5497     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5498     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5499     ;;
5500   esac
5501   ;;
5502
5503 interix[3-9]*)
5504   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5505   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5506   ;;
5507
5508 irix5* | irix6* | nonstopux*)
5509   case $LD in
5510   *-32|*"-32 ") libmagic=32-bit;;
5511   *-n32|*"-n32 ") libmagic=N32;;
5512   *-64|*"-64 ") libmagic=64-bit;;
5513   *) libmagic=never-match;;
5514   esac
5515   lt_cv_deplibs_check_method=pass_all
5516   ;;
5517
5518 # This must be glibc/ELF.
5519 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5520   lt_cv_deplibs_check_method=pass_all
5521   ;;
5522
5523 netbsd* | netbsdelf*-gnu)
5524   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5525     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5526   else
5527     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5528   fi
5529   ;;
5530
5531 newos6*)
5532   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5533   lt_cv_file_magic_cmd=/usr/bin/file
5534   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5535   ;;
5536
5537 *nto* | *qnx*)
5538   lt_cv_deplibs_check_method=pass_all
5539   ;;
5540
5541 openbsd*)
5542   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5543     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5544   else
5545     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5546   fi
5547   ;;
5548
5549 osf3* | osf4* | osf5*)
5550   lt_cv_deplibs_check_method=pass_all
5551   ;;
5552
5553 rdos*)
5554   lt_cv_deplibs_check_method=pass_all
5555   ;;
5556
5557 solaris*)
5558   lt_cv_deplibs_check_method=pass_all
5559   ;;
5560
5561 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5562   lt_cv_deplibs_check_method=pass_all
5563   ;;
5564
5565 sysv4 | sysv4.3*)
5566   case $host_vendor in
5567   motorola)
5568     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]'
5569     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5570     ;;
5571   ncr)
5572     lt_cv_deplibs_check_method=pass_all
5573     ;;
5574   sequent)
5575     lt_cv_file_magic_cmd='/bin/file'
5576     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5577     ;;
5578   sni)
5579     lt_cv_file_magic_cmd='/bin/file'
5580     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5581     lt_cv_file_magic_test_file=/lib/libc.so
5582     ;;
5583   siemens)
5584     lt_cv_deplibs_check_method=pass_all
5585     ;;
5586   pc)
5587     lt_cv_deplibs_check_method=pass_all
5588     ;;
5589   esac
5590   ;;
5591
5592 tpf*)
5593   lt_cv_deplibs_check_method=pass_all
5594   ;;
5595 esac
5596
5597 fi
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5600
5601 file_magic_glob=
5602 want_nocaseglob=no
5603 if test "$build" = "$host"; then
5604   case $host_os in
5605   mingw* | pw32*)
5606     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5607       want_nocaseglob=yes
5608     else
5609       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5610     fi
5611     ;;
5612   esac
5613 fi
5614
5615 file_magic_cmd=$lt_cv_file_magic_cmd
5616 deplibs_check_method=$lt_cv_deplibs_check_method
5617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640 if test -n "$ac_tool_prefix"; then
5641   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_DLLTOOL+:} false; then :
5646   $as_echo_n "(cached) " >&6
5647 else
5648   if test -n "$DLLTOOL"; then
5649   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5653 do
5654   IFS=$as_save_IFS
5655   test -z "$as_dir" && as_dir=.
5656     for ac_exec_ext in '' $ac_executable_extensions; do
5657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660     break 2
5661   fi
5662 done
5663   done
5664 IFS=$as_save_IFS
5665
5666 fi
5667 fi
5668 DLLTOOL=$ac_cv_prog_DLLTOOL
5669 if test -n "$DLLTOOL"; then
5670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5671 $as_echo "$DLLTOOL" >&6; }
5672 else
5673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5675 fi
5676
5677
5678 fi
5679 if test -z "$ac_cv_prog_DLLTOOL"; then
5680   ac_ct_DLLTOOL=$DLLTOOL
5681   # Extract the first word of "dlltool", so it can be a program name with args.
5682 set dummy dlltool; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5686   $as_echo_n "(cached) " >&6
5687 else
5688   if test -n "$ac_ct_DLLTOOL"; then
5689   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5693 do
5694   IFS=$as_save_IFS
5695   test -z "$as_dir" && as_dir=.
5696     for ac_exec_ext in '' $ac_executable_extensions; do
5697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700     break 2
5701   fi
5702 done
5703   done
5704 IFS=$as_save_IFS
5705
5706 fi
5707 fi
5708 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5709 if test -n "$ac_ct_DLLTOOL"; then
5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5711 $as_echo "$ac_ct_DLLTOOL" >&6; }
5712 else
5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5715 fi
5716
5717   if test "x$ac_ct_DLLTOOL" = x; then
5718     DLLTOOL="false"
5719   else
5720     case $cross_compiling:$ac_tool_warned in
5721 yes:)
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724 ac_tool_warned=yes ;;
5725 esac
5726     DLLTOOL=$ac_ct_DLLTOOL
5727   fi
5728 else
5729   DLLTOOL="$ac_cv_prog_DLLTOOL"
5730 fi
5731
5732 test -z "$DLLTOOL" && DLLTOOL=dlltool
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5744 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5745 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5746   $as_echo_n "(cached) " >&6
5747 else
5748   lt_cv_sharedlib_from_linklib_cmd='unknown'
5749
5750 case $host_os in
5751 cygwin* | mingw* | pw32* | cegcc*)
5752   # two different shell functions defined in ltmain.sh
5753   # decide which to use based on capabilities of $DLLTOOL
5754   case `$DLLTOOL --help 2>&1` in
5755   *--identify-strict*)
5756     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5757     ;;
5758   *)
5759     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5760     ;;
5761   esac
5762   ;;
5763 *)
5764   # fallback: assume linklib IS sharedlib
5765   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5766   ;;
5767 esac
5768
5769 fi
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5771 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5772 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5773 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5774
5775
5776
5777
5778
5779
5780
5781
5782 if test -n "$ac_tool_prefix"; then
5783   for ac_prog in ar
5784   do
5785     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_AR+:} false; then :
5790   $as_echo_n "(cached) " >&6
5791 else
5792   if test -n "$AR"; then
5793   ac_cv_prog_AR="$AR" # Let the user override the test.
5794 else
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in $PATH
5797 do
5798   IFS=$as_save_IFS
5799   test -z "$as_dir" && as_dir=.
5800     for ac_exec_ext in '' $ac_executable_extensions; do
5801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804     break 2
5805   fi
5806 done
5807   done
5808 IFS=$as_save_IFS
5809
5810 fi
5811 fi
5812 AR=$ac_cv_prog_AR
5813 if test -n "$AR"; then
5814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5815 $as_echo "$AR" >&6; }
5816 else
5817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5819 fi
5820
5821
5822     test -n "$AR" && break
5823   done
5824 fi
5825 if test -z "$AR"; then
5826   ac_ct_AR=$AR
5827   for ac_prog in ar
5828 do
5829   # Extract the first word of "$ac_prog", so it can be a program name with args.
5830 set dummy $ac_prog; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5834   $as_echo_n "(cached) " >&6
5835 else
5836   if test -n "$ac_ct_AR"; then
5837   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5838 else
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 for as_dir in $PATH
5841 do
5842   IFS=$as_save_IFS
5843   test -z "$as_dir" && as_dir=.
5844     for ac_exec_ext in '' $ac_executable_extensions; do
5845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846     ac_cv_prog_ac_ct_AR="$ac_prog"
5847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848     break 2
5849   fi
5850 done
5851   done
5852 IFS=$as_save_IFS
5853
5854 fi
5855 fi
5856 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5857 if test -n "$ac_ct_AR"; then
5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5859 $as_echo "$ac_ct_AR" >&6; }
5860 else
5861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5863 fi
5864
5865
5866   test -n "$ac_ct_AR" && break
5867 done
5868
5869   if test "x$ac_ct_AR" = x; then
5870     AR="false"
5871   else
5872     case $cross_compiling:$ac_tool_warned in
5873 yes:)
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned=yes ;;
5877 esac
5878     AR=$ac_ct_AR
5879   fi
5880 fi
5881
5882 : ${AR=ar}
5883 : ${AR_FLAGS=cru}
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5896 $as_echo_n "checking for archiver @FILE support... " >&6; }
5897 if ${lt_cv_ar_at_file+:} false; then :
5898   $as_echo_n "(cached) " >&6
5899 else
5900   lt_cv_ar_at_file=no
5901    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h.  */
5903
5904 int
5905 main ()
5906 {
5907
5908   ;
5909   return 0;
5910 }
5911 _ACEOF
5912 if ac_fn_c_try_compile "$LINENO"; then :
5913   echo conftest.$ac_objext > conftest.lst
5914       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5915       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5916   (eval $lt_ar_try) 2>&5
5917   ac_status=$?
5918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5919   test $ac_status = 0; }
5920       if test "$ac_status" -eq 0; then
5921         # Ensure the archiver fails upon bogus file names.
5922         rm -f conftest.$ac_objext libconftest.a
5923         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5924   (eval $lt_ar_try) 2>&5
5925   ac_status=$?
5926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5927   test $ac_status = 0; }
5928         if test "$ac_status" -ne 0; then
5929           lt_cv_ar_at_file=@
5930         fi
5931       fi
5932       rm -f conftest.* libconftest.a
5933
5934 fi
5935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5936
5937 fi
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5939 $as_echo "$lt_cv_ar_at_file" >&6; }
5940
5941 if test "x$lt_cv_ar_at_file" = xno; then
5942   archiver_list_spec=
5943 else
5944   archiver_list_spec=$lt_cv_ar_at_file
5945 fi
5946
5947
5948
5949
5950
5951
5952
5953 if test -n "$ac_tool_prefix"; then
5954   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5955 set dummy ${ac_tool_prefix}strip; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_STRIP+:} false; then :
5959   $as_echo_n "(cached) " >&6
5960 else
5961   if test -n "$STRIP"; then
5962   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5966 do
5967   IFS=$as_save_IFS
5968   test -z "$as_dir" && as_dir=.
5969     for ac_exec_ext in '' $ac_executable_extensions; do
5970   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973     break 2
5974   fi
5975 done
5976   done
5977 IFS=$as_save_IFS
5978
5979 fi
5980 fi
5981 STRIP=$ac_cv_prog_STRIP
5982 if test -n "$STRIP"; then
5983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5984 $as_echo "$STRIP" >&6; }
5985 else
5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5988 fi
5989
5990
5991 fi
5992 if test -z "$ac_cv_prog_STRIP"; then
5993   ac_ct_STRIP=$STRIP
5994   # Extract the first word of "strip", so it can be a program name with args.
5995 set dummy strip; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5999   $as_echo_n "(cached) " >&6
6000 else
6001   if test -n "$ac_ct_STRIP"; then
6002   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6003 else
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH
6006 do
6007   IFS=$as_save_IFS
6008   test -z "$as_dir" && as_dir=.
6009     for ac_exec_ext in '' $ac_executable_extensions; do
6010   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011     ac_cv_prog_ac_ct_STRIP="strip"
6012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013     break 2
6014   fi
6015 done
6016   done
6017 IFS=$as_save_IFS
6018
6019 fi
6020 fi
6021 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6022 if test -n "$ac_ct_STRIP"; then
6023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6024 $as_echo "$ac_ct_STRIP" >&6; }
6025 else
6026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6028 fi
6029
6030   if test "x$ac_ct_STRIP" = x; then
6031     STRIP=":"
6032   else
6033     case $cross_compiling:$ac_tool_warned in
6034 yes:)
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6037 ac_tool_warned=yes ;;
6038 esac
6039     STRIP=$ac_ct_STRIP
6040   fi
6041 else
6042   STRIP="$ac_cv_prog_STRIP"
6043 fi
6044
6045 test -z "$STRIP" && STRIP=:
6046
6047
6048
6049
6050
6051
6052 if test -n "$ac_tool_prefix"; then
6053   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_RANLIB+:} false; then :
6058   $as_echo_n "(cached) " >&6
6059 else
6060   if test -n "$RANLIB"; then
6061   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6065 do
6066   IFS=$as_save_IFS
6067   test -z "$as_dir" && as_dir=.
6068     for ac_exec_ext in '' $ac_executable_extensions; do
6069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072     break 2
6073   fi
6074 done
6075   done
6076 IFS=$as_save_IFS
6077
6078 fi
6079 fi
6080 RANLIB=$ac_cv_prog_RANLIB
6081 if test -n "$RANLIB"; then
6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6083 $as_echo "$RANLIB" >&6; }
6084 else
6085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6087 fi
6088
6089
6090 fi
6091 if test -z "$ac_cv_prog_RANLIB"; then
6092   ac_ct_RANLIB=$RANLIB
6093   # Extract the first word of "ranlib", so it can be a program name with args.
6094 set dummy ranlib; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6098   $as_echo_n "(cached) " >&6
6099 else
6100   if test -n "$ac_ct_RANLIB"; then
6101   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106   IFS=$as_save_IFS
6107   test -z "$as_dir" && as_dir=.
6108     for ac_exec_ext in '' $ac_executable_extensions; do
6109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110     ac_cv_prog_ac_ct_RANLIB="ranlib"
6111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112     break 2
6113   fi
6114 done
6115   done
6116 IFS=$as_save_IFS
6117
6118 fi
6119 fi
6120 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6121 if test -n "$ac_ct_RANLIB"; then
6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6123 $as_echo "$ac_ct_RANLIB" >&6; }
6124 else
6125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6127 fi
6128
6129   if test "x$ac_ct_RANLIB" = x; then
6130     RANLIB=":"
6131   else
6132     case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138     RANLIB=$ac_ct_RANLIB
6139   fi
6140 else
6141   RANLIB="$ac_cv_prog_RANLIB"
6142 fi
6143
6144 test -z "$RANLIB" && RANLIB=:
6145
6146
6147
6148
6149
6150
6151 # Determine commands to create old-style static archives.
6152 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6153 old_postinstall_cmds='chmod 644 $oldlib'
6154 old_postuninstall_cmds=
6155
6156 if test -n "$RANLIB"; then
6157   case $host_os in
6158   openbsd*)
6159     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6160     ;;
6161   *)
6162     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6163     ;;
6164   esac
6165   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6166 fi
6167
6168 case $host_os in
6169   darwin*)
6170     lock_old_archive_extraction=yes ;;
6171   *)
6172     lock_old_archive_extraction=no ;;
6173 esac
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213 # If no C compiler was specified, use CC.
6214 LTCC=${LTCC-"$CC"}
6215
6216 # If no C compiler flags were specified, use CFLAGS.
6217 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6218
6219 # Allow CC to be a program name with arguments.
6220 compiler=$CC
6221
6222
6223 # Check for command to grab the raw symbol name followed by C symbol from nm.
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6225 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6226 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6227   $as_echo_n "(cached) " >&6
6228 else
6229
6230 # These are sane defaults that work on at least a few old systems.
6231 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6232
6233 # Character class describing NM global symbol codes.
6234 symcode='[BCDEGRST]'
6235
6236 # Regexp to match symbols that can be accessed directly from C.
6237 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6238
6239 # Define system-specific variables.
6240 case $host_os in
6241 aix*)
6242   symcode='[BCDT]'
6243   ;;
6244 cygwin* | mingw* | pw32* | cegcc*)
6245   symcode='[ABCDGISTW]'
6246   ;;
6247 hpux*)
6248   if test "$host_cpu" = ia64; then
6249     symcode='[ABCDEGRST]'
6250   fi
6251   ;;
6252 irix* | nonstopux*)
6253   symcode='[BCDEGRST]'
6254   ;;
6255 osf*)
6256   symcode='[BCDEGQRST]'
6257   ;;
6258 solaris*)
6259   symcode='[BDRT]'
6260   ;;
6261 sco3.2v5*)
6262   symcode='[DT]'
6263   ;;
6264 sysv4.2uw2*)
6265   symcode='[DT]'
6266   ;;
6267 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6268   symcode='[ABDT]'
6269   ;;
6270 sysv4)
6271   symcode='[DFNSTU]'
6272   ;;
6273 esac
6274
6275 # If we're using GNU nm, then use its standard symbol codes.
6276 case `$NM -V 2>&1` in
6277 *GNU* | *'with BFD'*)
6278   symcode='[ABCDGIRSTW]' ;;
6279 esac
6280
6281 # Transform an extracted symbol line into a proper C declaration.
6282 # Some systems (esp. on ia64) link data and code symbols differently,
6283 # so use this general approach.
6284 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6285
6286 # Transform an extracted symbol line into symbol name and symbol address
6287 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6288 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'"
6289
6290 # Handle CRLF in mingw tool chain
6291 opt_cr=
6292 case $build_os in
6293 mingw*)
6294   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6295   ;;
6296 esac
6297
6298 # Try without a prefix underscore, then with it.
6299 for ac_symprfx in "" "_"; do
6300
6301   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6302   symxfrm="\\1 $ac_symprfx\\2 \\2"
6303
6304   # Write the raw and C identifiers.
6305   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6306     # Fake it for dumpbin and say T for any non-static function
6307     # and D for any global variable.
6308     # Also find C++ and __fastcall symbols from MSVC++,
6309     # which start with @ or ?.
6310     lt_cv_sys_global_symbol_pipe="$AWK '"\
6311 "     {last_section=section; section=\$ 3};"\
6312 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6313 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6314 "     \$ 0!~/External *\|/{next};"\
6315 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6316 "     {if(hide[section]) next};"\
6317 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6318 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6319 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6320 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6321 "     ' prfx=^$ac_symprfx"
6322   else
6323     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6324   fi
6325   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6326
6327   # Check to see that the pipe works correctly.
6328   pipe_works=no
6329
6330   rm -f conftest*
6331   cat > conftest.$ac_ext <<_LT_EOF
6332 #ifdef __cplusplus
6333 extern "C" {
6334 #endif
6335 char nm_test_var;
6336 void nm_test_func(void);
6337 void nm_test_func(void){}
6338 #ifdef __cplusplus
6339 }
6340 #endif
6341 int main(){nm_test_var='a';nm_test_func();return(0);}
6342 _LT_EOF
6343
6344   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6345   (eval $ac_compile) 2>&5
6346   ac_status=$?
6347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6348   test $ac_status = 0; }; then
6349     # Now try to grab the symbols.
6350     nlist=conftest.nm
6351     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6352   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6353   ac_status=$?
6354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6355   test $ac_status = 0; } && test -s "$nlist"; then
6356       # Try sorting and uniquifying the output.
6357       if sort "$nlist" | uniq > "$nlist"T; then
6358         mv -f "$nlist"T "$nlist"
6359       else
6360         rm -f "$nlist"T
6361       fi
6362
6363       # Make sure that we snagged all the symbols we need.
6364       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6365         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6366           cat <<_LT_EOF > conftest.$ac_ext
6367 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6368 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6369 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6370    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6371 # define LT_DLSYM_CONST
6372 #elif defined(__osf__)
6373 /* This system does not cope well with relocations in const data.  */
6374 # define LT_DLSYM_CONST
6375 #else
6376 # define LT_DLSYM_CONST const
6377 #endif
6378
6379 #ifdef __cplusplus
6380 extern "C" {
6381 #endif
6382
6383 _LT_EOF
6384           # Now generate the symbol file.
6385           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6386
6387           cat <<_LT_EOF >> conftest.$ac_ext
6388
6389 /* The mapping between symbol names and symbols.  */
6390 LT_DLSYM_CONST struct {
6391   const char *name;
6392   void       *address;
6393 }
6394 lt__PROGRAM__LTX_preloaded_symbols[] =
6395 {
6396   { "@PROGRAM@", (void *) 0 },
6397 _LT_EOF
6398           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6399           cat <<\_LT_EOF >> conftest.$ac_ext
6400   {0, (void *) 0}
6401 };
6402
6403 /* This works around a problem in FreeBSD linker */
6404 #ifdef FREEBSD_WORKAROUND
6405 static const void *lt_preloaded_setup() {
6406   return lt__PROGRAM__LTX_preloaded_symbols;
6407 }
6408 #endif
6409
6410 #ifdef __cplusplus
6411 }
6412 #endif
6413 _LT_EOF
6414           # Now try linking the two files.
6415           mv conftest.$ac_objext conftstm.$ac_objext
6416           lt_globsym_save_LIBS=$LIBS
6417           lt_globsym_save_CFLAGS=$CFLAGS
6418           LIBS="conftstm.$ac_objext"
6419           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6420           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6421   (eval $ac_link) 2>&5
6422   ac_status=$?
6423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6425             pipe_works=yes
6426           fi
6427           LIBS=$lt_globsym_save_LIBS
6428           CFLAGS=$lt_globsym_save_CFLAGS
6429         else
6430           echo "cannot find nm_test_func in $nlist" >&5
6431         fi
6432       else
6433         echo "cannot find nm_test_var in $nlist" >&5
6434       fi
6435     else
6436       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6437     fi
6438   else
6439     echo "$progname: failed program was:" >&5
6440     cat conftest.$ac_ext >&5
6441   fi
6442   rm -rf conftest* conftst*
6443
6444   # Do not use the global_symbol_pipe unless it works.
6445   if test "$pipe_works" = yes; then
6446     break
6447   else
6448     lt_cv_sys_global_symbol_pipe=
6449   fi
6450 done
6451
6452 fi
6453
6454 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6455   lt_cv_sys_global_symbol_to_cdecl=
6456 fi
6457 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6459 $as_echo "failed" >&6; }
6460 else
6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6462 $as_echo "ok" >&6; }
6463 fi
6464
6465 # Response file support.
6466 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6467   nm_file_list_spec='@'
6468 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6469   nm_file_list_spec='@'
6470 fi
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6499 $as_echo_n "checking for sysroot... " >&6; }
6500
6501 # Check whether --with-sysroot was given.
6502 if test "${with_sysroot+set}" = set; then :
6503   withval=$with_sysroot;
6504 else
6505   with_sysroot=no
6506 fi
6507
6508
6509 lt_sysroot=
6510 case ${with_sysroot} in #(
6511  yes)
6512    if test "$GCC" = yes; then
6513      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6514    fi
6515    ;; #(
6516  /*)
6517    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6518    ;; #(
6519  no|'')
6520    ;; #(
6521  *)
6522    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6523 $as_echo "${with_sysroot}" >&6; }
6524    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6525    ;;
6526 esac
6527
6528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6529 $as_echo "${lt_sysroot:-no}" >&6; }
6530
6531
6532
6533
6534
6535 # Check whether --enable-libtool-lock was given.
6536 if test "${enable_libtool_lock+set}" = set; then :
6537   enableval=$enable_libtool_lock;
6538 fi
6539
6540 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6541
6542 # Some flags need to be propagated to the compiler or linker for good
6543 # libtool support.
6544 case $host in
6545 ia64-*-hpux*)
6546   # Find out which ABI we are using.
6547   echo 'int i;' > conftest.$ac_ext
6548   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6549   (eval $ac_compile) 2>&5
6550   ac_status=$?
6551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6552   test $ac_status = 0; }; then
6553     case `/usr/bin/file conftest.$ac_objext` in
6554       *ELF-32*)
6555         HPUX_IA64_MODE="32"
6556         ;;
6557       *ELF-64*)
6558         HPUX_IA64_MODE="64"
6559         ;;
6560     esac
6561   fi
6562   rm -rf conftest*
6563   ;;
6564 *-*-irix6*)
6565   # Find out which ABI we are using.
6566   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6567   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6568   (eval $ac_compile) 2>&5
6569   ac_status=$?
6570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6571   test $ac_status = 0; }; then
6572     if test "$lt_cv_prog_gnu_ld" = yes; then
6573       case `/usr/bin/file conftest.$ac_objext` in
6574         *32-bit*)
6575           LD="${LD-ld} -melf32bsmip"
6576           ;;
6577         *N32*)
6578           LD="${LD-ld} -melf32bmipn32"
6579           ;;
6580         *64-bit*)
6581           LD="${LD-ld} -melf64bmip"
6582         ;;
6583       esac
6584     else
6585       case `/usr/bin/file conftest.$ac_objext` in
6586         *32-bit*)
6587           LD="${LD-ld} -32"
6588           ;;
6589         *N32*)
6590           LD="${LD-ld} -n32"
6591           ;;
6592         *64-bit*)
6593           LD="${LD-ld} -64"
6594           ;;
6595       esac
6596     fi
6597   fi
6598   rm -rf conftest*
6599   ;;
6600
6601 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6602 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6603   # Find out which ABI we are using.
6604   echo 'int i;' > conftest.$ac_ext
6605   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6606   (eval $ac_compile) 2>&5
6607   ac_status=$?
6608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6609   test $ac_status = 0; }; then
6610     case `/usr/bin/file conftest.o` in
6611       *32-bit*)
6612         case $host in
6613           x86_64-*kfreebsd*-gnu)
6614             LD="${LD-ld} -m elf_i386_fbsd"
6615             ;;
6616           x86_64-*linux*)
6617             case `/usr/bin/file conftest.o` in
6618               *x86-64*)
6619                 LD="${LD-ld} -m elf32_x86_64"
6620                 ;;
6621               *)
6622                 LD="${LD-ld} -m elf_i386"
6623                 ;;
6624             esac
6625             ;;
6626           ppc64-*linux*|powerpc64-*linux*)
6627             LD="${LD-ld} -m elf32ppclinux"
6628             ;;
6629           s390x-*linux*)
6630             LD="${LD-ld} -m elf_s390"
6631             ;;
6632           sparc64-*linux*)
6633             LD="${LD-ld} -m elf32_sparc"
6634             ;;
6635         esac
6636         ;;
6637       *64-bit*)
6638         case $host in
6639           x86_64-*kfreebsd*-gnu)
6640             LD="${LD-ld} -m elf_x86_64_fbsd"
6641             ;;
6642           x86_64-*linux*)
6643             LD="${LD-ld} -m elf_x86_64"
6644             ;;
6645           ppc*-*linux*|powerpc*-*linux*)
6646             LD="${LD-ld} -m elf64ppc"
6647             ;;
6648           s390*-*linux*|s390*-*tpf*)
6649             LD="${LD-ld} -m elf64_s390"
6650             ;;
6651           sparc*-*linux*)
6652             LD="${LD-ld} -m elf64_sparc"
6653             ;;
6654         esac
6655         ;;
6656     esac
6657   fi
6658   rm -rf conftest*
6659   ;;
6660
6661 *-*-sco3.2v5*)
6662   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6663   SAVE_CFLAGS="$CFLAGS"
6664   CFLAGS="$CFLAGS -belf"
6665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6666 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6667 if ${lt_cv_cc_needs_belf+:} false; then :
6668   $as_echo_n "(cached) " >&6
6669 else
6670   ac_ext=c
6671 ac_cpp='$CPP $CPPFLAGS'
6672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6675
6676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h.  */
6678
6679 int
6680 main ()
6681 {
6682
6683   ;
6684   return 0;
6685 }
6686 _ACEOF
6687 if ac_fn_c_try_link "$LINENO"; then :
6688   lt_cv_cc_needs_belf=yes
6689 else
6690   lt_cv_cc_needs_belf=no
6691 fi
6692 rm -f core conftest.err conftest.$ac_objext \
6693     conftest$ac_exeext conftest.$ac_ext
6694      ac_ext=c
6695 ac_cpp='$CPP $CPPFLAGS'
6696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6699
6700 fi
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6702 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6703   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6704     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6705     CFLAGS="$SAVE_CFLAGS"
6706   fi
6707   ;;
6708 *-*solaris*)
6709   # Find out which ABI we are using.
6710   echo 'int i;' > conftest.$ac_ext
6711   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6712   (eval $ac_compile) 2>&5
6713   ac_status=$?
6714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715   test $ac_status = 0; }; then
6716     case `/usr/bin/file conftest.o` in
6717     *64-bit*)
6718       case $lt_cv_prog_gnu_ld in
6719       yes*)
6720         case $host in
6721         i?86-*-solaris*)
6722           LD="${LD-ld} -m elf_x86_64"
6723           ;;
6724         sparc*-*-solaris*)
6725           LD="${LD-ld} -m elf64_sparc"
6726           ;;
6727         esac
6728         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6729         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6730           LD="${LD-ld}_sol2"
6731         fi
6732         ;;
6733       *)
6734         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6735           LD="${LD-ld} -64"
6736         fi
6737         ;;
6738       esac
6739       ;;
6740     esac
6741   fi
6742   rm -rf conftest*
6743   ;;
6744 esac
6745
6746 need_locks="$enable_libtool_lock"
6747
6748 if test -n "$ac_tool_prefix"; then
6749   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}mt; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6754   $as_echo_n "(cached) " >&6
6755 else
6756   if test -n "$MANIFEST_TOOL"; then
6757   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6758 else
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 for as_dir in $PATH
6761 do
6762   IFS=$as_save_IFS
6763   test -z "$as_dir" && as_dir=.
6764     for ac_exec_ext in '' $ac_executable_extensions; do
6765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768     break 2
6769   fi
6770 done
6771   done
6772 IFS=$as_save_IFS
6773
6774 fi
6775 fi
6776 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6777 if test -n "$MANIFEST_TOOL"; then
6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6779 $as_echo "$MANIFEST_TOOL" >&6; }
6780 else
6781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6783 fi
6784
6785
6786 fi
6787 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6788   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6789   # Extract the first word of "mt", so it can be a program name with args.
6790 set dummy mt; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6794   $as_echo_n "(cached) " >&6
6795 else
6796   if test -n "$ac_ct_MANIFEST_TOOL"; then
6797   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6801 do
6802   IFS=$as_save_IFS
6803   test -z "$as_dir" && as_dir=.
6804     for ac_exec_ext in '' $ac_executable_extensions; do
6805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808     break 2
6809   fi
6810 done
6811   done
6812 IFS=$as_save_IFS
6813
6814 fi
6815 fi
6816 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6817 if test -n "$ac_ct_MANIFEST_TOOL"; then
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6819 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6820 else
6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6823 fi
6824
6825   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6826     MANIFEST_TOOL=":"
6827   else
6828     case $cross_compiling:$ac_tool_warned in
6829 yes:)
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned=yes ;;
6833 esac
6834     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6835   fi
6836 else
6837   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6838 fi
6839
6840 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6842 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6843 if ${lt_cv_path_mainfest_tool+:} false; then :
6844   $as_echo_n "(cached) " >&6
6845 else
6846   lt_cv_path_mainfest_tool=no
6847   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6848   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6849   cat conftest.err >&5
6850   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6851     lt_cv_path_mainfest_tool=yes
6852   fi
6853   rm -f conftest*
6854 fi
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6856 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6857 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6858   MANIFEST_TOOL=:
6859 fi
6860
6861
6862
6863
6864
6865
6866   case $host_os in
6867     rhapsody* | darwin*)
6868     if test -n "$ac_tool_prefix"; then
6869   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6870 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6874   $as_echo_n "(cached) " >&6
6875 else
6876   if test -n "$DSYMUTIL"; then
6877   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6878 else
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 for as_dir in $PATH
6881 do
6882   IFS=$as_save_IFS
6883   test -z "$as_dir" && as_dir=.
6884     for ac_exec_ext in '' $ac_executable_extensions; do
6885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888     break 2
6889   fi
6890 done
6891   done
6892 IFS=$as_save_IFS
6893
6894 fi
6895 fi
6896 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6897 if test -n "$DSYMUTIL"; then
6898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6899 $as_echo "$DSYMUTIL" >&6; }
6900 else
6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6903 fi
6904
6905
6906 fi
6907 if test -z "$ac_cv_prog_DSYMUTIL"; then
6908   ac_ct_DSYMUTIL=$DSYMUTIL
6909   # Extract the first word of "dsymutil", so it can be a program name with args.
6910 set dummy dsymutil; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6914   $as_echo_n "(cached) " >&6
6915 else
6916   if test -n "$ac_ct_DSYMUTIL"; then
6917   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6918 else
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 for as_dir in $PATH
6921 do
6922   IFS=$as_save_IFS
6923   test -z "$as_dir" && as_dir=.
6924     for ac_exec_ext in '' $ac_executable_extensions; do
6925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928     break 2
6929   fi
6930 done
6931   done
6932 IFS=$as_save_IFS
6933
6934 fi
6935 fi
6936 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6937 if test -n "$ac_ct_DSYMUTIL"; then
6938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6939 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6940 else
6941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6943 fi
6944
6945   if test "x$ac_ct_DSYMUTIL" = x; then
6946     DSYMUTIL=":"
6947   else
6948     case $cross_compiling:$ac_tool_warned in
6949 yes:)
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6952 ac_tool_warned=yes ;;
6953 esac
6954     DSYMUTIL=$ac_ct_DSYMUTIL
6955   fi
6956 else
6957   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6958 fi
6959
6960     if test -n "$ac_tool_prefix"; then
6961   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_NMEDIT+:} false; then :
6966   $as_echo_n "(cached) " >&6
6967 else
6968   if test -n "$NMEDIT"; then
6969   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6970 else
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 for as_dir in $PATH
6973 do
6974   IFS=$as_save_IFS
6975   test -z "$as_dir" && as_dir=.
6976     for ac_exec_ext in '' $ac_executable_extensions; do
6977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980     break 2
6981   fi
6982 done
6983   done
6984 IFS=$as_save_IFS
6985
6986 fi
6987 fi
6988 NMEDIT=$ac_cv_prog_NMEDIT
6989 if test -n "$NMEDIT"; then
6990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6991 $as_echo "$NMEDIT" >&6; }
6992 else
6993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6995 fi
6996
6997
6998 fi
6999 if test -z "$ac_cv_prog_NMEDIT"; then
7000   ac_ct_NMEDIT=$NMEDIT
7001   # Extract the first word of "nmedit", so it can be a program name with args.
7002 set dummy nmedit; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7006   $as_echo_n "(cached) " >&6
7007 else
7008   if test -n "$ac_ct_NMEDIT"; then
7009   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7013 do
7014   IFS=$as_save_IFS
7015   test -z "$as_dir" && as_dir=.
7016     for ac_exec_ext in '' $ac_executable_extensions; do
7017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020     break 2
7021   fi
7022 done
7023   done
7024 IFS=$as_save_IFS
7025
7026 fi
7027 fi
7028 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7029 if test -n "$ac_ct_NMEDIT"; then
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7031 $as_echo "$ac_ct_NMEDIT" >&6; }
7032 else
7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7035 fi
7036
7037   if test "x$ac_ct_NMEDIT" = x; then
7038     NMEDIT=":"
7039   else
7040     case $cross_compiling:$ac_tool_warned in
7041 yes:)
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7045 esac
7046     NMEDIT=$ac_ct_NMEDIT
7047   fi
7048 else
7049   NMEDIT="$ac_cv_prog_NMEDIT"
7050 fi
7051
7052     if test -n "$ac_tool_prefix"; then
7053   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7054 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 $as_echo_n "checking for $ac_word... " >&6; }
7057 if ${ac_cv_prog_LIPO+:} false; then :
7058   $as_echo_n "(cached) " >&6
7059 else
7060   if test -n "$LIPO"; then
7061   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7062 else
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 for as_dir in $PATH
7065 do
7066   IFS=$as_save_IFS
7067   test -z "$as_dir" && as_dir=.
7068     for ac_exec_ext in '' $ac_executable_extensions; do
7069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7070     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072     break 2
7073   fi
7074 done
7075   done
7076 IFS=$as_save_IFS
7077
7078 fi
7079 fi
7080 LIPO=$ac_cv_prog_LIPO
7081 if test -n "$LIPO"; then
7082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7083 $as_echo "$LIPO" >&6; }
7084 else
7085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7087 fi
7088
7089
7090 fi
7091 if test -z "$ac_cv_prog_LIPO"; then
7092   ac_ct_LIPO=$LIPO
7093   # Extract the first word of "lipo", so it can be a program name with args.
7094 set dummy lipo; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7098   $as_echo_n "(cached) " >&6
7099 else
7100   if test -n "$ac_ct_LIPO"; then
7101   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7102 else
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in $PATH
7105 do
7106   IFS=$as_save_IFS
7107   test -z "$as_dir" && as_dir=.
7108     for ac_exec_ext in '' $ac_executable_extensions; do
7109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110     ac_cv_prog_ac_ct_LIPO="lipo"
7111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112     break 2
7113   fi
7114 done
7115   done
7116 IFS=$as_save_IFS
7117
7118 fi
7119 fi
7120 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7121 if test -n "$ac_ct_LIPO"; then
7122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7123 $as_echo "$ac_ct_LIPO" >&6; }
7124 else
7125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7127 fi
7128
7129   if test "x$ac_ct_LIPO" = x; then
7130     LIPO=":"
7131   else
7132     case $cross_compiling:$ac_tool_warned in
7133 yes:)
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7136 ac_tool_warned=yes ;;
7137 esac
7138     LIPO=$ac_ct_LIPO
7139   fi
7140 else
7141   LIPO="$ac_cv_prog_LIPO"
7142 fi
7143
7144     if test -n "$ac_tool_prefix"; then
7145   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}otool; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_OTOOL+:} false; then :
7150   $as_echo_n "(cached) " >&6
7151 else
7152   if test -n "$OTOOL"; then
7153   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7157 do
7158   IFS=$as_save_IFS
7159   test -z "$as_dir" && as_dir=.
7160     for ac_exec_ext in '' $ac_executable_extensions; do
7161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164     break 2
7165   fi
7166 done
7167   done
7168 IFS=$as_save_IFS
7169
7170 fi
7171 fi
7172 OTOOL=$ac_cv_prog_OTOOL
7173 if test -n "$OTOOL"; then
7174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7175 $as_echo "$OTOOL" >&6; }
7176 else
7177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7179 fi
7180
7181
7182 fi
7183 if test -z "$ac_cv_prog_OTOOL"; then
7184   ac_ct_OTOOL=$OTOOL
7185   # Extract the first word of "otool", so it can be a program name with args.
7186 set dummy otool; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7190   $as_echo_n "(cached) " >&6
7191 else
7192   if test -n "$ac_ct_OTOOL"; then
7193   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7197 do
7198   IFS=$as_save_IFS
7199   test -z "$as_dir" && as_dir=.
7200     for ac_exec_ext in '' $ac_executable_extensions; do
7201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202     ac_cv_prog_ac_ct_OTOOL="otool"
7203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204     break 2
7205   fi
7206 done
7207   done
7208 IFS=$as_save_IFS
7209
7210 fi
7211 fi
7212 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7213 if test -n "$ac_ct_OTOOL"; then
7214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7215 $as_echo "$ac_ct_OTOOL" >&6; }
7216 else
7217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7219 fi
7220
7221   if test "x$ac_ct_OTOOL" = x; then
7222     OTOOL=":"
7223   else
7224     case $cross_compiling:$ac_tool_warned in
7225 yes:)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7229 esac
7230     OTOOL=$ac_ct_OTOOL
7231   fi
7232 else
7233   OTOOL="$ac_cv_prog_OTOOL"
7234 fi
7235
7236     if test -n "$ac_tool_prefix"; then
7237   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7238 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 $as_echo_n "checking for $ac_word... " >&6; }
7241 if ${ac_cv_prog_OTOOL64+:} false; then :
7242   $as_echo_n "(cached) " >&6
7243 else
7244   if test -n "$OTOOL64"; then
7245   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7246 else
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 for as_dir in $PATH
7249 do
7250   IFS=$as_save_IFS
7251   test -z "$as_dir" && as_dir=.
7252     for ac_exec_ext in '' $ac_executable_extensions; do
7253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256     break 2
7257   fi
7258 done
7259   done
7260 IFS=$as_save_IFS
7261
7262 fi
7263 fi
7264 OTOOL64=$ac_cv_prog_OTOOL64
7265 if test -n "$OTOOL64"; then
7266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7267 $as_echo "$OTOOL64" >&6; }
7268 else
7269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7271 fi
7272
7273
7274 fi
7275 if test -z "$ac_cv_prog_OTOOL64"; then
7276   ac_ct_OTOOL64=$OTOOL64
7277   # Extract the first word of "otool64", so it can be a program name with args.
7278 set dummy otool64; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7282   $as_echo_n "(cached) " >&6
7283 else
7284   if test -n "$ac_ct_OTOOL64"; then
7285   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7286 else
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288 for as_dir in $PATH
7289 do
7290   IFS=$as_save_IFS
7291   test -z "$as_dir" && as_dir=.
7292     for ac_exec_ext in '' $ac_executable_extensions; do
7293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294     ac_cv_prog_ac_ct_OTOOL64="otool64"
7295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296     break 2
7297   fi
7298 done
7299   done
7300 IFS=$as_save_IFS
7301
7302 fi
7303 fi
7304 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7305 if test -n "$ac_ct_OTOOL64"; then
7306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7307 $as_echo "$ac_ct_OTOOL64" >&6; }
7308 else
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 $as_echo "no" >&6; }
7311 fi
7312
7313   if test "x$ac_ct_OTOOL64" = x; then
7314     OTOOL64=":"
7315   else
7316     case $cross_compiling:$ac_tool_warned in
7317 yes:)
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7320 ac_tool_warned=yes ;;
7321 esac
7322     OTOOL64=$ac_ct_OTOOL64
7323   fi
7324 else
7325   OTOOL64="$ac_cv_prog_OTOOL64"
7326 fi
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7355 $as_echo_n "checking for -single_module linker flag... " >&6; }
7356 if ${lt_cv_apple_cc_single_mod+:} false; then :
7357   $as_echo_n "(cached) " >&6
7358 else
7359   lt_cv_apple_cc_single_mod=no
7360       if test -z "${LT_MULTI_MODULE}"; then
7361         # By default we will add the -single_module flag. You can override
7362         # by either setting the environment variable LT_MULTI_MODULE
7363         # non-empty at configure time, or by adding -multi_module to the
7364         # link flags.
7365         rm -rf libconftest.dylib*
7366         echo "int foo(void){return 1;}" > conftest.c
7367         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7368 -dynamiclib -Wl,-single_module conftest.c" >&5
7369         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7370           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7371         _lt_result=$?
7372         # If there is a non-empty error log, and "single_module"
7373         # appears in it, assume the flag caused a linker warning
7374         if test -s conftest.err && $GREP single_module conftest.err; then
7375           cat conftest.err >&5
7376         # Otherwise, if the output was created with a 0 exit code from
7377         # the compiler, it worked.
7378         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7379           lt_cv_apple_cc_single_mod=yes
7380         else
7381           cat conftest.err >&5
7382         fi
7383         rm -rf libconftest.dylib*
7384         rm -f conftest.*
7385       fi
7386 fi
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7388 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7389
7390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7391 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7392 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7393   $as_echo_n "(cached) " >&6
7394 else
7395   lt_cv_ld_exported_symbols_list=no
7396       save_LDFLAGS=$LDFLAGS
7397       echo "_main" > conftest.sym
7398       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7400 /* end confdefs.h.  */
7401
7402 int
7403 main ()
7404 {
7405
7406   ;
7407   return 0;
7408 }
7409 _ACEOF
7410 if ac_fn_c_try_link "$LINENO"; then :
7411   lt_cv_ld_exported_symbols_list=yes
7412 else
7413   lt_cv_ld_exported_symbols_list=no
7414 fi
7415 rm -f core conftest.err conftest.$ac_objext \
7416     conftest$ac_exeext conftest.$ac_ext
7417         LDFLAGS="$save_LDFLAGS"
7418
7419 fi
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7421 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7422
7423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7424 $as_echo_n "checking for -force_load linker flag... " >&6; }
7425 if ${lt_cv_ld_force_load+:} false; then :
7426   $as_echo_n "(cached) " >&6
7427 else
7428   lt_cv_ld_force_load=no
7429       cat > conftest.c << _LT_EOF
7430 int forced_loaded() { return 2;}
7431 _LT_EOF
7432       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7433       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7434       echo "$AR cru libconftest.a conftest.o" >&5
7435       $AR cru libconftest.a conftest.o 2>&5
7436       echo "$RANLIB libconftest.a" >&5
7437       $RANLIB libconftest.a 2>&5
7438       cat > conftest.c << _LT_EOF
7439 int main() { return 0;}
7440 _LT_EOF
7441       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7442       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7443       _lt_result=$?
7444       if test -s conftest.err && $GREP force_load conftest.err; then
7445         cat conftest.err >&5
7446       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7447         lt_cv_ld_force_load=yes
7448       else
7449         cat conftest.err >&5
7450       fi
7451         rm -f conftest.err libconftest.a conftest conftest.c
7452         rm -rf conftest.dSYM
7453
7454 fi
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7456 $as_echo "$lt_cv_ld_force_load" >&6; }
7457     case $host_os in
7458     rhapsody* | darwin1.[012])
7459       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7460     darwin1.*)
7461       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7462     darwin*) # darwin 5.x on
7463       # if running on 10.5 or later, the deployment target defaults
7464       # to the OS version, if on x86, and 10.4, the deployment
7465       # target defaults to 10.4. Don't you love it?
7466       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7467         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7468           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7469         10.[012]*)
7470           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7471         10.*)
7472           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7473       esac
7474     ;;
7475   esac
7476     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7477       _lt_dar_single_mod='$single_module'
7478     fi
7479     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7480       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7481     else
7482       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7483     fi
7484     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7485       _lt_dsymutil='~$DSYMUTIL $lib || :'
7486     else
7487       _lt_dsymutil=
7488     fi
7489     ;;
7490   esac
7491
7492 ac_ext=c
7493 ac_cpp='$CPP $CPPFLAGS'
7494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7498 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7499 # On Suns, sometimes $CPP names a directory.
7500 if test -n "$CPP" && test -d "$CPP"; then
7501   CPP=
7502 fi
7503 if test -z "$CPP"; then
7504   if ${ac_cv_prog_CPP+:} false; then :
7505   $as_echo_n "(cached) " >&6
7506 else
7507       # Double quotes because CPP needs to be expanded
7508     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7509     do
7510       ac_preproc_ok=false
7511 for ac_c_preproc_warn_flag in '' yes
7512 do
7513   # Use a header file that comes with gcc, so configuring glibc
7514   # with a fresh cross-compiler works.
7515   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7516   # <limits.h> exists even on freestanding compilers.
7517   # On the NeXT, cc -E runs the code through the compiler's parser,
7518   # not just through cpp. "Syntax error" is here to catch this case.
7519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7520 /* end confdefs.h.  */
7521 #ifdef __STDC__
7522 # include <limits.h>
7523 #else
7524 # include <assert.h>
7525 #endif
7526                      Syntax error
7527 _ACEOF
7528 if ac_fn_c_try_cpp "$LINENO"; then :
7529
7530 else
7531   # Broken: fails on valid input.
7532 continue
7533 fi
7534 rm -f conftest.err conftest.i conftest.$ac_ext
7535
7536   # OK, works on sane cases.  Now check whether nonexistent headers
7537   # can be detected and how.
7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h.  */
7540 #include <ac_nonexistent.h>
7541 _ACEOF
7542 if ac_fn_c_try_cpp "$LINENO"; then :
7543   # Broken: success on invalid input.
7544 continue
7545 else
7546   # Passes both tests.
7547 ac_preproc_ok=:
7548 break
7549 fi
7550 rm -f conftest.err conftest.i conftest.$ac_ext
7551
7552 done
7553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7554 rm -f conftest.i conftest.err conftest.$ac_ext
7555 if $ac_preproc_ok; then :
7556   break
7557 fi
7558
7559     done
7560     ac_cv_prog_CPP=$CPP
7561
7562 fi
7563   CPP=$ac_cv_prog_CPP
7564 else
7565   ac_cv_prog_CPP=$CPP
7566 fi
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7568 $as_echo "$CPP" >&6; }
7569 ac_preproc_ok=false
7570 for ac_c_preproc_warn_flag in '' yes
7571 do
7572   # Use a header file that comes with gcc, so configuring glibc
7573   # with a fresh cross-compiler works.
7574   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7575   # <limits.h> exists even on freestanding compilers.
7576   # On the NeXT, cc -E runs the code through the compiler's parser,
7577   # not just through cpp. "Syntax error" is here to catch this case.
7578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h.  */
7580 #ifdef __STDC__
7581 # include <limits.h>
7582 #else
7583 # include <assert.h>
7584 #endif
7585                      Syntax error
7586 _ACEOF
7587 if ac_fn_c_try_cpp "$LINENO"; then :
7588
7589 else
7590   # Broken: fails on valid input.
7591 continue
7592 fi
7593 rm -f conftest.err conftest.i conftest.$ac_ext
7594
7595   # OK, works on sane cases.  Now check whether nonexistent headers
7596   # can be detected and how.
7597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h.  */
7599 #include <ac_nonexistent.h>
7600 _ACEOF
7601 if ac_fn_c_try_cpp "$LINENO"; then :
7602   # Broken: success on invalid input.
7603 continue
7604 else
7605   # Passes both tests.
7606 ac_preproc_ok=:
7607 break
7608 fi
7609 rm -f conftest.err conftest.i conftest.$ac_ext
7610
7611 done
7612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7613 rm -f conftest.i conftest.err conftest.$ac_ext
7614 if $ac_preproc_ok; then :
7615
7616 else
7617   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7619 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7620 See \`config.log' for more details" "$LINENO" 5; }
7621 fi
7622
7623 ac_ext=c
7624 ac_cpp='$CPP $CPPFLAGS'
7625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7628
7629
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7631 $as_echo_n "checking for ANSI C header files... " >&6; }
7632 if ${ac_cv_header_stdc+:} false; then :
7633   $as_echo_n "(cached) " >&6
7634 else
7635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h.  */
7637 #include <stdlib.h>
7638 #include <stdarg.h>
7639 #include <string.h>
7640 #include <float.h>
7641
7642 int
7643 main ()
7644 {
7645
7646   ;
7647   return 0;
7648 }
7649 _ACEOF
7650 if ac_fn_c_try_compile "$LINENO"; then :
7651   ac_cv_header_stdc=yes
7652 else
7653   ac_cv_header_stdc=no
7654 fi
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7656
7657 if test $ac_cv_header_stdc = yes; then
7658   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h.  */
7661 #include <string.h>
7662
7663 _ACEOF
7664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7665   $EGREP "memchr" >/dev/null 2>&1; then :
7666
7667 else
7668   ac_cv_header_stdc=no
7669 fi
7670 rm -f conftest*
7671
7672 fi
7673
7674 if test $ac_cv_header_stdc = yes; then
7675   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h.  */
7678 #include <stdlib.h>
7679
7680 _ACEOF
7681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7682   $EGREP "free" >/dev/null 2>&1; then :
7683
7684 else
7685   ac_cv_header_stdc=no
7686 fi
7687 rm -f conftest*
7688
7689 fi
7690
7691 if test $ac_cv_header_stdc = yes; then
7692   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7693   if test "$cross_compiling" = yes; then :
7694   :
7695 else
7696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h.  */
7698 #include <ctype.h>
7699 #include <stdlib.h>
7700 #if ((' ' & 0x0FF) == 0x020)
7701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7703 #else
7704 # define ISLOWER(c) \
7705                    (('a' <= (c) && (c) <= 'i') \
7706                      || ('j' <= (c) && (c) <= 'r') \
7707                      || ('s' <= (c) && (c) <= 'z'))
7708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7709 #endif
7710
7711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7712 int
7713 main ()
7714 {
7715   int i;
7716   for (i = 0; i < 256; i++)
7717     if (XOR (islower (i), ISLOWER (i))
7718         || toupper (i) != TOUPPER (i))
7719       return 2;
7720   return 0;
7721 }
7722 _ACEOF
7723 if ac_fn_c_try_run "$LINENO"; then :
7724
7725 else
7726   ac_cv_header_stdc=no
7727 fi
7728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7729   conftest.$ac_objext conftest.beam conftest.$ac_ext
7730 fi
7731
7732 fi
7733 fi
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7735 $as_echo "$ac_cv_header_stdc" >&6; }
7736 if test $ac_cv_header_stdc = yes; then
7737
7738 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7739
7740 fi
7741
7742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7743 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7744                   inttypes.h stdint.h unistd.h
7745 do :
7746   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7748 "
7749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7750   cat >>confdefs.h <<_ACEOF
7751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7752 _ACEOF
7753
7754 fi
7755
7756 done
7757
7758
7759 for ac_header in dlfcn.h
7760 do :
7761   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7762 "
7763 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7764   cat >>confdefs.h <<_ACEOF
7765 #define HAVE_DLFCN_H 1
7766 _ACEOF
7767
7768 fi
7769
7770 done
7771
7772
7773
7774
7775
7776 # Set options
7777 enable_dlopen=yes
7778 # Check whether --enable-static was given.
7779 if test "${enable_static+set}" = set; then :
7780   enableval=$enable_static; p=${PACKAGE-default}
7781     case $enableval in
7782     yes) enable_static=yes ;;
7783     no) enable_static=no ;;
7784     *)
7785      enable_static=no
7786       # Look at the argument we got.  We use all the common list separators.
7787       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7788       for pkg in $enableval; do
7789         IFS="$lt_save_ifs"
7790         if test "X$pkg" = "X$p"; then
7791           enable_static=yes
7792         fi
7793       done
7794       IFS="$lt_save_ifs"
7795       ;;
7796     esac
7797 else
7798   enable_static=no
7799 fi
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811   enable_win32_dll=no
7812
7813
7814             # Check whether --enable-shared was given.
7815 if test "${enable_shared+set}" = set; then :
7816   enableval=$enable_shared; p=${PACKAGE-default}
7817     case $enableval in
7818     yes) enable_shared=yes ;;
7819     no) enable_shared=no ;;
7820     *)
7821       enable_shared=no
7822       # Look at the argument we got.  We use all the common list separators.
7823       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7824       for pkg in $enableval; do
7825         IFS="$lt_save_ifs"
7826         if test "X$pkg" = "X$p"; then
7827           enable_shared=yes
7828         fi
7829       done
7830       IFS="$lt_save_ifs"
7831       ;;
7832     esac
7833 else
7834   enable_shared=yes
7835 fi
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847 # Check whether --with-pic was given.
7848 if test "${with_pic+set}" = set; then :
7849   withval=$with_pic; lt_p=${PACKAGE-default}
7850     case $withval in
7851     yes|no) pic_mode=$withval ;;
7852     *)
7853       pic_mode=default
7854       # Look at the argument we got.  We use all the common list separators.
7855       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7856       for lt_pkg in $withval; do
7857         IFS="$lt_save_ifs"
7858         if test "X$lt_pkg" = "X$lt_p"; then
7859           pic_mode=yes
7860         fi
7861       done
7862       IFS="$lt_save_ifs"
7863       ;;
7864     esac
7865 else
7866   pic_mode=default
7867 fi
7868
7869
7870 test -z "$pic_mode" && pic_mode=default
7871
7872
7873
7874
7875
7876
7877
7878   # Check whether --enable-fast-install was given.
7879 if test "${enable_fast_install+set}" = set; then :
7880   enableval=$enable_fast_install; p=${PACKAGE-default}
7881     case $enableval in
7882     yes) enable_fast_install=yes ;;
7883     no) enable_fast_install=no ;;
7884     *)
7885       enable_fast_install=no
7886       # Look at the argument we got.  We use all the common list separators.
7887       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7888       for pkg in $enableval; do
7889         IFS="$lt_save_ifs"
7890         if test "X$pkg" = "X$p"; then
7891           enable_fast_install=yes
7892         fi
7893       done
7894       IFS="$lt_save_ifs"
7895       ;;
7896     esac
7897 else
7898   enable_fast_install=yes
7899 fi
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911 # This can be used to rebuild libtool when needed
7912 LIBTOOL_DEPS="$ltmain"
7913
7914 # Always use our own libtool.
7915 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946 test -z "$LN_S" && LN_S="ln -s"
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961 if test -n "${ZSH_VERSION+set}" ; then
7962    setopt NO_GLOB_SUBST
7963 fi
7964
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7966 $as_echo_n "checking for objdir... " >&6; }
7967 if ${lt_cv_objdir+:} false; then :
7968   $as_echo_n "(cached) " >&6
7969 else
7970   rm -f .libs 2>/dev/null
7971 mkdir .libs 2>/dev/null
7972 if test -d .libs; then
7973   lt_cv_objdir=.libs
7974 else
7975   # MS-DOS does not allow filenames that begin with a dot.
7976   lt_cv_objdir=_libs
7977 fi
7978 rmdir .libs 2>/dev/null
7979 fi
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7981 $as_echo "$lt_cv_objdir" >&6; }
7982 objdir=$lt_cv_objdir
7983
7984
7985
7986
7987
7988 cat >>confdefs.h <<_ACEOF
7989 #define LT_OBJDIR "$lt_cv_objdir/"
7990 _ACEOF
7991
7992
7993
7994
7995 case $host_os in
7996 aix3*)
7997   # AIX sometimes has problems with the GCC collect2 program.  For some
7998   # reason, if we set the COLLECT_NAMES environment variable, the problems
7999   # vanish in a puff of smoke.
8000   if test "X${COLLECT_NAMES+set}" != Xset; then
8001     COLLECT_NAMES=
8002     export COLLECT_NAMES
8003   fi
8004   ;;
8005 esac
8006
8007 # Global variables:
8008 ofile=libtool
8009 can_build_shared=yes
8010
8011 # All known linkers require a `.a' archive for static linking (except MSVC,
8012 # which needs '.lib').
8013 libext=a
8014
8015 with_gnu_ld="$lt_cv_prog_gnu_ld"
8016
8017 old_CC="$CC"
8018 old_CFLAGS="$CFLAGS"
8019
8020 # Set sane defaults for various variables
8021 test -z "$CC" && CC=cc
8022 test -z "$LTCC" && LTCC=$CC
8023 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8024 test -z "$LD" && LD=ld
8025 test -z "$ac_objext" && ac_objext=o
8026
8027 for cc_temp in $compiler""; do
8028   case $cc_temp in
8029     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8030     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8031     \-*) ;;
8032     *) break;;
8033   esac
8034 done
8035 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8036
8037
8038 # Only perform the check for file, if the check method requires it
8039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8040 case $deplibs_check_method in
8041 file_magic*)
8042   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8044 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8046   $as_echo_n "(cached) " >&6
8047 else
8048   case $MAGIC_CMD in
8049 [\\/*] |  ?:[\\/]*)
8050   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8051   ;;
8052 *)
8053   lt_save_MAGIC_CMD="$MAGIC_CMD"
8054   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8055   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8056   for ac_dir in $ac_dummy; do
8057     IFS="$lt_save_ifs"
8058     test -z "$ac_dir" && ac_dir=.
8059     if test -f $ac_dir/${ac_tool_prefix}file; then
8060       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8061       if test -n "$file_magic_test_file"; then
8062         case $deplibs_check_method in
8063         "file_magic "*)
8064           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8065           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8066           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8067             $EGREP "$file_magic_regex" > /dev/null; then
8068             :
8069           else
8070             cat <<_LT_EOF 1>&2
8071
8072 *** Warning: the command libtool uses to detect shared libraries,
8073 *** $file_magic_cmd, produces output that libtool cannot recognize.
8074 *** The result is that libtool may fail to recognize shared libraries
8075 *** as such.  This will affect the creation of libtool libraries that
8076 *** depend on shared libraries, but programs linked with such libtool
8077 *** libraries will work regardless of this problem.  Nevertheless, you
8078 *** may want to report the problem to your system manager and/or to
8079 *** bug-libtool@gnu.org
8080
8081 _LT_EOF
8082           fi ;;
8083         esac
8084       fi
8085       break
8086     fi
8087   done
8088   IFS="$lt_save_ifs"
8089   MAGIC_CMD="$lt_save_MAGIC_CMD"
8090   ;;
8091 esac
8092 fi
8093
8094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8095 if test -n "$MAGIC_CMD"; then
8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8097 $as_echo "$MAGIC_CMD" >&6; }
8098 else
8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8101 fi
8102
8103
8104
8105
8106
8107 if test -z "$lt_cv_path_MAGIC_CMD"; then
8108   if test -n "$ac_tool_prefix"; then
8109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8110 $as_echo_n "checking for file... " >&6; }
8111 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   case $MAGIC_CMD in
8115 [\\/*] |  ?:[\\/]*)
8116   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8117   ;;
8118 *)
8119   lt_save_MAGIC_CMD="$MAGIC_CMD"
8120   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8121   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8122   for ac_dir in $ac_dummy; do
8123     IFS="$lt_save_ifs"
8124     test -z "$ac_dir" && ac_dir=.
8125     if test -f $ac_dir/file; then
8126       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8127       if test -n "$file_magic_test_file"; then
8128         case $deplibs_check_method in
8129         "file_magic "*)
8130           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8131           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8132           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8133             $EGREP "$file_magic_regex" > /dev/null; then
8134             :
8135           else
8136             cat <<_LT_EOF 1>&2
8137
8138 *** Warning: the command libtool uses to detect shared libraries,
8139 *** $file_magic_cmd, produces output that libtool cannot recognize.
8140 *** The result is that libtool may fail to recognize shared libraries
8141 *** as such.  This will affect the creation of libtool libraries that
8142 *** depend on shared libraries, but programs linked with such libtool
8143 *** libraries will work regardless of this problem.  Nevertheless, you
8144 *** may want to report the problem to your system manager and/or to
8145 *** bug-libtool@gnu.org
8146
8147 _LT_EOF
8148           fi ;;
8149         esac
8150       fi
8151       break
8152     fi
8153   done
8154   IFS="$lt_save_ifs"
8155   MAGIC_CMD="$lt_save_MAGIC_CMD"
8156   ;;
8157 esac
8158 fi
8159
8160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8161 if test -n "$MAGIC_CMD"; then
8162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8163 $as_echo "$MAGIC_CMD" >&6; }
8164 else
8165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8167 fi
8168
8169
8170   else
8171     MAGIC_CMD=:
8172   fi
8173 fi
8174
8175   fi
8176   ;;
8177 esac
8178
8179 # Use C for the default configuration in the libtool script
8180
8181 lt_save_CC="$CC"
8182 ac_ext=c
8183 ac_cpp='$CPP $CPPFLAGS'
8184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8187
8188
8189 # Source file extension for C test sources.
8190 ac_ext=c
8191
8192 # Object file extension for compiled C test sources.
8193 objext=o
8194 objext=$objext
8195
8196 # Code to be used in simple compile tests
8197 lt_simple_compile_test_code="int some_variable = 0;"
8198
8199 # Code to be used in simple link tests
8200 lt_simple_link_test_code='int main(){return(0);}'
8201
8202
8203
8204
8205
8206
8207
8208 # If no C compiler was specified, use CC.
8209 LTCC=${LTCC-"$CC"}
8210
8211 # If no C compiler flags were specified, use CFLAGS.
8212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8213
8214 # Allow CC to be a program name with arguments.
8215 compiler=$CC
8216
8217 # Save the default compiler, since it gets overwritten when the other
8218 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8219 compiler_DEFAULT=$CC
8220
8221 # save warnings/boilerplate of simple test code
8222 ac_outfile=conftest.$ac_objext
8223 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8224 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8225 _lt_compiler_boilerplate=`cat conftest.err`
8226 $RM conftest*
8227
8228 ac_outfile=conftest.$ac_objext
8229 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8230 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8231 _lt_linker_boilerplate=`cat conftest.err`
8232 $RM -r conftest*
8233
8234
8235 ## CAVEAT EMPTOR:
8236 ## There is no encapsulation within the following macros, do not change
8237 ## the running order or otherwise move them around unless you know exactly
8238 ## what you are doing...
8239 if test -n "$compiler"; then
8240
8241 lt_prog_compiler_no_builtin_flag=
8242
8243 if test "$GCC" = yes; then
8244   case $cc_basename in
8245   nvcc*)
8246     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8247   *)
8248     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8249   esac
8250
8251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8252 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8253 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8254   $as_echo_n "(cached) " >&6
8255 else
8256   lt_cv_prog_compiler_rtti_exceptions=no
8257    ac_outfile=conftest.$ac_objext
8258    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8259    lt_compiler_flag="-fno-rtti -fno-exceptions"
8260    # Insert the option either (1) after the last *FLAGS variable, or
8261    # (2) before a word containing "conftest.", or (3) at the end.
8262    # Note that $ac_compile itself does not contain backslashes and begins
8263    # with a dollar sign (not a hyphen), so the echo should work correctly.
8264    # The option is referenced via a variable to avoid confusing sed.
8265    lt_compile=`echo "$ac_compile" | $SED \
8266    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8267    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8268    -e 's:$: $lt_compiler_flag:'`
8269    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8270    (eval "$lt_compile" 2>conftest.err)
8271    ac_status=$?
8272    cat conftest.err >&5
8273    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274    if (exit $ac_status) && test -s "$ac_outfile"; then
8275      # The compiler can only warn and ignore the option if not recognized
8276      # So say no if there are warnings other than the usual output.
8277      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8278      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8279      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8280        lt_cv_prog_compiler_rtti_exceptions=yes
8281      fi
8282    fi
8283    $RM conftest*
8284
8285 fi
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8287 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8288
8289 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8290     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8291 else
8292     :
8293 fi
8294
8295 fi
8296
8297
8298
8299
8300
8301
8302   lt_prog_compiler_wl=
8303 lt_prog_compiler_pic=
8304 lt_prog_compiler_static=
8305
8306
8307   if test "$GCC" = yes; then
8308     lt_prog_compiler_wl='-Wl,'
8309     lt_prog_compiler_static='-static'
8310
8311     case $host_os in
8312       aix*)
8313       # All AIX code is PIC.
8314       if test "$host_cpu" = ia64; then
8315         # AIX 5 now supports IA64 processor
8316         lt_prog_compiler_static='-Bstatic'
8317       fi
8318       ;;
8319
8320     amigaos*)
8321       case $host_cpu in
8322       powerpc)
8323             # see comment about AmigaOS4 .so support
8324             lt_prog_compiler_pic='-fPIC'
8325         ;;
8326       m68k)
8327             # FIXME: we need at least 68020 code to build shared libraries, but
8328             # adding the `-m68020' flag to GCC prevents building anything better,
8329             # like `-m68040'.
8330             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8331         ;;
8332       esac
8333       ;;
8334
8335     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8336       # PIC is the default for these OSes.
8337       ;;
8338
8339     mingw* | cygwin* | pw32* | os2* | cegcc*)
8340       # This hack is so that the source file can tell whether it is being
8341       # built for inclusion in a dll (and should export symbols for example).
8342       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8343       # (--disable-auto-import) libraries
8344       lt_prog_compiler_pic='-DDLL_EXPORT'
8345       ;;
8346
8347     darwin* | rhapsody*)
8348       # PIC is the default on this platform
8349       # Common symbols not allowed in MH_DYLIB files
8350       lt_prog_compiler_pic='-fno-common'
8351       ;;
8352
8353     haiku*)
8354       # PIC is the default for Haiku.
8355       # The "-static" flag exists, but is broken.
8356       lt_prog_compiler_static=
8357       ;;
8358
8359     hpux*)
8360       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8361       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8362       # sets the default TLS model and affects inlining.
8363       case $host_cpu in
8364       hppa*64*)
8365         # +Z the default
8366         ;;
8367       *)
8368         lt_prog_compiler_pic='-fPIC'
8369         ;;
8370       esac
8371       ;;
8372
8373     interix[3-9]*)
8374       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8375       # Instead, we relocate shared libraries at runtime.
8376       ;;
8377
8378     msdosdjgpp*)
8379       # Just because we use GCC doesn't mean we suddenly get shared libraries
8380       # on systems that don't support them.
8381       lt_prog_compiler_can_build_shared=no
8382       enable_shared=no
8383       ;;
8384
8385     *nto* | *qnx*)
8386       # QNX uses GNU C++, but need to define -shared option too, otherwise
8387       # it will coredump.
8388       lt_prog_compiler_pic='-fPIC -shared'
8389       ;;
8390
8391     sysv4*MP*)
8392       if test -d /usr/nec; then
8393         lt_prog_compiler_pic=-Kconform_pic
8394       fi
8395       ;;
8396
8397     *)
8398       lt_prog_compiler_pic='-fPIC'
8399       ;;
8400     esac
8401
8402     case $cc_basename in
8403     nvcc*) # Cuda Compiler Driver 2.2
8404       lt_prog_compiler_wl='-Xlinker '
8405       if test -n "$lt_prog_compiler_pic"; then
8406         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8407       fi
8408       ;;
8409     esac
8410   else
8411     # PORTME Check for flag to pass linker flags through the system compiler.
8412     case $host_os in
8413     aix*)
8414       lt_prog_compiler_wl='-Wl,'
8415       if test "$host_cpu" = ia64; then
8416         # AIX 5 now supports IA64 processor
8417         lt_prog_compiler_static='-Bstatic'
8418       else
8419         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8420       fi
8421       ;;
8422
8423     mingw* | cygwin* | pw32* | os2* | cegcc*)
8424       # This hack is so that the source file can tell whether it is being
8425       # built for inclusion in a dll (and should export symbols for example).
8426       lt_prog_compiler_pic='-DDLL_EXPORT'
8427       ;;
8428
8429     hpux9* | hpux10* | hpux11*)
8430       lt_prog_compiler_wl='-Wl,'
8431       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8432       # not for PA HP-UX.
8433       case $host_cpu in
8434       hppa*64*|ia64*)
8435         # +Z the default
8436         ;;
8437       *)
8438         lt_prog_compiler_pic='+Z'
8439         ;;
8440       esac
8441       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8442       lt_prog_compiler_static='${wl}-a ${wl}archive'
8443       ;;
8444
8445     irix5* | irix6* | nonstopux*)
8446       lt_prog_compiler_wl='-Wl,'
8447       # PIC (with -KPIC) is the default.
8448       lt_prog_compiler_static='-non_shared'
8449       ;;
8450
8451     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8452       case $cc_basename in
8453       # old Intel for x86_64 which still supported -KPIC.
8454       ecc*)
8455         lt_prog_compiler_wl='-Wl,'
8456         lt_prog_compiler_pic='-KPIC'
8457         lt_prog_compiler_static='-static'
8458         ;;
8459       # icc used to be incompatible with GCC.
8460       # ICC 10 doesn't accept -KPIC any more.
8461       icc* | ifort*)
8462         lt_prog_compiler_wl='-Wl,'
8463         lt_prog_compiler_pic='-fPIC'
8464         lt_prog_compiler_static='-static'
8465         ;;
8466       # Lahey Fortran 8.1.
8467       lf95*)
8468         lt_prog_compiler_wl='-Wl,'
8469         lt_prog_compiler_pic='--shared'
8470         lt_prog_compiler_static='--static'
8471         ;;
8472       nagfor*)
8473         # NAG Fortran compiler
8474         lt_prog_compiler_wl='-Wl,-Wl,,'
8475         lt_prog_compiler_pic='-PIC'
8476         lt_prog_compiler_static='-Bstatic'
8477         ;;
8478       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8479         # Portland Group compilers (*not* the Pentium gcc compiler,
8480         # which looks to be a dead project)
8481         lt_prog_compiler_wl='-Wl,'
8482         lt_prog_compiler_pic='-fpic'
8483         lt_prog_compiler_static='-Bstatic'
8484         ;;
8485       ccc*)
8486         lt_prog_compiler_wl='-Wl,'
8487         # All Alpha code is PIC.
8488         lt_prog_compiler_static='-non_shared'
8489         ;;
8490       xl* | bgxl* | bgf* | mpixl*)
8491         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8492         lt_prog_compiler_wl='-Wl,'
8493         lt_prog_compiler_pic='-qpic'
8494         lt_prog_compiler_static='-qstaticlink'
8495         ;;
8496       *)
8497         case `$CC -V 2>&1 | sed 5q` in
8498         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8499           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8500           lt_prog_compiler_pic='-KPIC'
8501           lt_prog_compiler_static='-Bstatic'
8502           lt_prog_compiler_wl=''
8503           ;;
8504         *Sun\ F* | *Sun*Fortran*)
8505           lt_prog_compiler_pic='-KPIC'
8506           lt_prog_compiler_static='-Bstatic'
8507           lt_prog_compiler_wl='-Qoption ld '
8508           ;;
8509         *Sun\ C*)
8510           # Sun C 5.9
8511           lt_prog_compiler_pic='-KPIC'
8512           lt_prog_compiler_static='-Bstatic'
8513           lt_prog_compiler_wl='-Wl,'
8514           ;;
8515         *Intel*\ [CF]*Compiler*)
8516           lt_prog_compiler_wl='-Wl,'
8517           lt_prog_compiler_pic='-fPIC'
8518           lt_prog_compiler_static='-static'
8519           ;;
8520         *Portland\ Group*)
8521           lt_prog_compiler_wl='-Wl,'
8522           lt_prog_compiler_pic='-fpic'
8523           lt_prog_compiler_static='-Bstatic'
8524           ;;
8525         esac
8526         ;;
8527       esac
8528       ;;
8529
8530     newsos6)
8531       lt_prog_compiler_pic='-KPIC'
8532       lt_prog_compiler_static='-Bstatic'
8533       ;;
8534
8535     *nto* | *qnx*)
8536       # QNX uses GNU C++, but need to define -shared option too, otherwise
8537       # it will coredump.
8538       lt_prog_compiler_pic='-fPIC -shared'
8539       ;;
8540
8541     osf3* | osf4* | osf5*)
8542       lt_prog_compiler_wl='-Wl,'
8543       # All OSF/1 code is PIC.
8544       lt_prog_compiler_static='-non_shared'
8545       ;;
8546
8547     rdos*)
8548       lt_prog_compiler_static='-non_shared'
8549       ;;
8550
8551     solaris*)
8552       lt_prog_compiler_pic='-KPIC'
8553       lt_prog_compiler_static='-Bstatic'
8554       case $cc_basename in
8555       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8556         lt_prog_compiler_wl='-Qoption ld ';;
8557       *)
8558         lt_prog_compiler_wl='-Wl,';;
8559       esac
8560       ;;
8561
8562     sunos4*)
8563       lt_prog_compiler_wl='-Qoption ld '
8564       lt_prog_compiler_pic='-PIC'
8565       lt_prog_compiler_static='-Bstatic'
8566       ;;
8567
8568     sysv4 | sysv4.2uw2* | sysv4.3*)
8569       lt_prog_compiler_wl='-Wl,'
8570       lt_prog_compiler_pic='-KPIC'
8571       lt_prog_compiler_static='-Bstatic'
8572       ;;
8573
8574     sysv4*MP*)
8575       if test -d /usr/nec ;then
8576         lt_prog_compiler_pic='-Kconform_pic'
8577         lt_prog_compiler_static='-Bstatic'
8578       fi
8579       ;;
8580
8581     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8582       lt_prog_compiler_wl='-Wl,'
8583       lt_prog_compiler_pic='-KPIC'
8584       lt_prog_compiler_static='-Bstatic'
8585       ;;
8586
8587     unicos*)
8588       lt_prog_compiler_wl='-Wl,'
8589       lt_prog_compiler_can_build_shared=no
8590       ;;
8591
8592     uts4*)
8593       lt_prog_compiler_pic='-pic'
8594       lt_prog_compiler_static='-Bstatic'
8595       ;;
8596
8597     *)
8598       lt_prog_compiler_can_build_shared=no
8599       ;;
8600     esac
8601   fi
8602
8603 case $host_os in
8604   # For platforms which do not support PIC, -DPIC is meaningless:
8605   *djgpp*)
8606     lt_prog_compiler_pic=
8607     ;;
8608   *)
8609     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8610     ;;
8611 esac
8612
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8614 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8615 if ${lt_cv_prog_compiler_pic+:} false; then :
8616   $as_echo_n "(cached) " >&6
8617 else
8618   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8619 fi
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8621 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8622 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8623
8624 #
8625 # Check to make sure the PIC flag actually works.
8626 #
8627 if test -n "$lt_prog_compiler_pic"; then
8628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8629 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8630 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8631   $as_echo_n "(cached) " >&6
8632 else
8633   lt_cv_prog_compiler_pic_works=no
8634    ac_outfile=conftest.$ac_objext
8635    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8636    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8637    # Insert the option either (1) after the last *FLAGS variable, or
8638    # (2) before a word containing "conftest.", or (3) at the end.
8639    # Note that $ac_compile itself does not contain backslashes and begins
8640    # with a dollar sign (not a hyphen), so the echo should work correctly.
8641    # The option is referenced via a variable to avoid confusing sed.
8642    lt_compile=`echo "$ac_compile" | $SED \
8643    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8644    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8645    -e 's:$: $lt_compiler_flag:'`
8646    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8647    (eval "$lt_compile" 2>conftest.err)
8648    ac_status=$?
8649    cat conftest.err >&5
8650    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651    if (exit $ac_status) && test -s "$ac_outfile"; then
8652      # The compiler can only warn and ignore the option if not recognized
8653      # So say no if there are warnings other than the usual output.
8654      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8655      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8656      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8657        lt_cv_prog_compiler_pic_works=yes
8658      fi
8659    fi
8660    $RM conftest*
8661
8662 fi
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8664 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8665
8666 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8667     case $lt_prog_compiler_pic in
8668      "" | " "*) ;;
8669      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8670      esac
8671 else
8672     lt_prog_compiler_pic=
8673      lt_prog_compiler_can_build_shared=no
8674 fi
8675
8676 fi
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688 #
8689 # Check to make sure the static flag actually works.
8690 #
8691 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8693 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8694 if ${lt_cv_prog_compiler_static_works+:} false; then :
8695   $as_echo_n "(cached) " >&6
8696 else
8697   lt_cv_prog_compiler_static_works=no
8698    save_LDFLAGS="$LDFLAGS"
8699    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8700    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8701    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8702      # The linker can only warn and ignore the option if not recognized
8703      # So say no if there are warnings
8704      if test -s conftest.err; then
8705        # Append any errors to the config.log.
8706        cat conftest.err 1>&5
8707        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8708        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8709        if diff conftest.exp conftest.er2 >/dev/null; then
8710          lt_cv_prog_compiler_static_works=yes
8711        fi
8712      else
8713        lt_cv_prog_compiler_static_works=yes
8714      fi
8715    fi
8716    $RM -r conftest*
8717    LDFLAGS="$save_LDFLAGS"
8718
8719 fi
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8721 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8722
8723 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8724     :
8725 else
8726     lt_prog_compiler_static=
8727 fi
8728
8729
8730
8731
8732
8733
8734
8735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8737 if ${lt_cv_prog_compiler_c_o+:} false; then :
8738   $as_echo_n "(cached) " >&6
8739 else
8740   lt_cv_prog_compiler_c_o=no
8741    $RM -r conftest 2>/dev/null
8742    mkdir conftest
8743    cd conftest
8744    mkdir out
8745    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8746
8747    lt_compiler_flag="-o out/conftest2.$ac_objext"
8748    # Insert the option either (1) after the last *FLAGS variable, or
8749    # (2) before a word containing "conftest.", or (3) at the end.
8750    # Note that $ac_compile itself does not contain backslashes and begins
8751    # with a dollar sign (not a hyphen), so the echo should work correctly.
8752    lt_compile=`echo "$ac_compile" | $SED \
8753    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8754    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8755    -e 's:$: $lt_compiler_flag:'`
8756    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8757    (eval "$lt_compile" 2>out/conftest.err)
8758    ac_status=$?
8759    cat out/conftest.err >&5
8760    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8762    then
8763      # The compiler can only warn and ignore the option if not recognized
8764      # So say no if there are warnings
8765      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8766      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8767      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8768        lt_cv_prog_compiler_c_o=yes
8769      fi
8770    fi
8771    chmod u+w . 2>&5
8772    $RM conftest*
8773    # SGI C++ compiler will create directory out/ii_files/ for
8774    # template instantiation
8775    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8776    $RM out/* && rmdir out
8777    cd ..
8778    $RM -r conftest
8779    $RM conftest*
8780
8781 fi
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8783 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8784
8785
8786
8787
8788
8789
8790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8791 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8792 if ${lt_cv_prog_compiler_c_o+:} false; then :
8793   $as_echo_n "(cached) " >&6
8794 else
8795   lt_cv_prog_compiler_c_o=no
8796    $RM -r conftest 2>/dev/null
8797    mkdir conftest
8798    cd conftest
8799    mkdir out
8800    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8801
8802    lt_compiler_flag="-o out/conftest2.$ac_objext"
8803    # Insert the option either (1) after the last *FLAGS variable, or
8804    # (2) before a word containing "conftest.", or (3) at the end.
8805    # Note that $ac_compile itself does not contain backslashes and begins
8806    # with a dollar sign (not a hyphen), so the echo should work correctly.
8807    lt_compile=`echo "$ac_compile" | $SED \
8808    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8809    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8810    -e 's:$: $lt_compiler_flag:'`
8811    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8812    (eval "$lt_compile" 2>out/conftest.err)
8813    ac_status=$?
8814    cat out/conftest.err >&5
8815    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8817    then
8818      # The compiler can only warn and ignore the option if not recognized
8819      # So say no if there are warnings
8820      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8821      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8822      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8823        lt_cv_prog_compiler_c_o=yes
8824      fi
8825    fi
8826    chmod u+w . 2>&5
8827    $RM conftest*
8828    # SGI C++ compiler will create directory out/ii_files/ for
8829    # template instantiation
8830    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8831    $RM out/* && rmdir out
8832    cd ..
8833    $RM -r conftest
8834    $RM conftest*
8835
8836 fi
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8838 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8839
8840
8841
8842
8843 hard_links="nottested"
8844 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8845   # do not overwrite the value of need_locks provided by the user
8846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8847 $as_echo_n "checking if we can lock with hard links... " >&6; }
8848   hard_links=yes
8849   $RM conftest*
8850   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8851   touch conftest.a
8852   ln conftest.a conftest.b 2>&5 || hard_links=no
8853   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8855 $as_echo "$hard_links" >&6; }
8856   if test "$hard_links" = no; then
8857     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8858 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8859     need_locks=warn
8860   fi
8861 else
8862   need_locks=no
8863 fi
8864
8865
8866
8867
8868
8869
8870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8871 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8872
8873   runpath_var=
8874   allow_undefined_flag=
8875   always_export_symbols=no
8876   archive_cmds=
8877   archive_expsym_cmds=
8878   compiler_needs_object=no
8879   enable_shared_with_static_runtimes=no
8880   export_dynamic_flag_spec=
8881   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8882   hardcode_automatic=no
8883   hardcode_direct=no
8884   hardcode_direct_absolute=no
8885   hardcode_libdir_flag_spec=
8886   hardcode_libdir_separator=
8887   hardcode_minus_L=no
8888   hardcode_shlibpath_var=unsupported
8889   inherit_rpath=no
8890   link_all_deplibs=unknown
8891   module_cmds=
8892   module_expsym_cmds=
8893   old_archive_from_new_cmds=
8894   old_archive_from_expsyms_cmds=
8895   thread_safe_flag_spec=
8896   whole_archive_flag_spec=
8897   # include_expsyms should be a list of space-separated symbols to be *always*
8898   # included in the symbol list
8899   include_expsyms=
8900   # exclude_expsyms can be an extended regexp of symbols to exclude
8901   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8902   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8903   # as well as any symbol that contains `d'.
8904   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8905   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8906   # platforms (ab)use it in PIC code, but their linkers get confused if
8907   # the symbol is explicitly referenced.  Since portable code cannot
8908   # rely on this symbol name, it's probably fine to never include it in
8909   # preloaded symbol tables.
8910   # Exclude shared library initialization/finalization symbols.
8911   extract_expsyms_cmds=
8912
8913   case $host_os in
8914   cygwin* | mingw* | pw32* | cegcc*)
8915     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8916     # When not using gcc, we currently assume that we are using
8917     # Microsoft Visual C++.
8918     if test "$GCC" != yes; then
8919       with_gnu_ld=no
8920     fi
8921     ;;
8922   interix*)
8923     # we just hope/assume this is gcc and not c89 (= MSVC++)
8924     with_gnu_ld=yes
8925     ;;
8926   openbsd*)
8927     with_gnu_ld=no
8928     ;;
8929   linux* | k*bsd*-gnu | gnu*)
8930     link_all_deplibs=no
8931     ;;
8932   esac
8933
8934   ld_shlibs=yes
8935
8936   # On some targets, GNU ld is compatible enough with the native linker
8937   # that we're better off using the native interface for both.
8938   lt_use_gnu_ld_interface=no
8939   if test "$with_gnu_ld" = yes; then
8940     case $host_os in
8941       aix*)
8942         # The AIX port of GNU ld has always aspired to compatibility
8943         # with the native linker.  However, as the warning in the GNU ld
8944         # block says, versions before 2.19.5* couldn't really create working
8945         # shared libraries, regardless of the interface used.
8946         case `$LD -v 2>&1` in
8947           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8948           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8949           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8950           *)
8951             lt_use_gnu_ld_interface=yes
8952             ;;
8953         esac
8954         ;;
8955       *)
8956         lt_use_gnu_ld_interface=yes
8957         ;;
8958     esac
8959   fi
8960
8961   if test "$lt_use_gnu_ld_interface" = yes; then
8962     # If archive_cmds runs LD, not CC, wlarc should be empty
8963     wlarc='${wl}'
8964
8965     # Set some defaults for GNU ld with shared library support. These
8966     # are reset later if shared libraries are not supported. Putting them
8967     # here allows them to be overridden if necessary.
8968     runpath_var=LD_RUN_PATH
8969     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8970     export_dynamic_flag_spec='${wl}--export-dynamic'
8971     # ancient GNU ld didn't support --whole-archive et. al.
8972     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8973       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8974     else
8975       whole_archive_flag_spec=
8976     fi
8977     supports_anon_versioning=no
8978     case `$LD -v 2>&1` in
8979       *GNU\ gold*) supports_anon_versioning=yes ;;
8980       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8981       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8982       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8983       *\ 2.11.*) ;; # other 2.11 versions
8984       *) supports_anon_versioning=yes ;;
8985     esac
8986
8987     # See if GNU ld supports shared libraries.
8988     case $host_os in
8989     aix[3-9]*)
8990       # On AIX/PPC, the GNU linker is very broken
8991       if test "$host_cpu" != ia64; then
8992         ld_shlibs=no
8993         cat <<_LT_EOF 1>&2
8994
8995 *** Warning: the GNU linker, at least up to release 2.19, is reported
8996 *** to be unable to reliably create shared libraries on AIX.
8997 *** Therefore, libtool is disabling shared libraries support.  If you
8998 *** really care for shared libraries, you may want to install binutils
8999 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9000 *** You will then need to restart the configuration process.
9001
9002 _LT_EOF
9003       fi
9004       ;;
9005
9006     amigaos*)
9007       case $host_cpu in
9008       powerpc)
9009             # see comment about AmigaOS4 .so support
9010             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011             archive_expsym_cmds=''
9012         ;;
9013       m68k)
9014             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)'
9015             hardcode_libdir_flag_spec='-L$libdir'
9016             hardcode_minus_L=yes
9017         ;;
9018       esac
9019       ;;
9020
9021     beos*)
9022       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9023         allow_undefined_flag=unsupported
9024         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9025         # support --undefined.  This deserves some investigation.  FIXME
9026         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027       else
9028         ld_shlibs=no
9029       fi
9030       ;;
9031
9032     cygwin* | mingw* | pw32* | cegcc*)
9033       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9034       # as there is no search path for DLLs.
9035       hardcode_libdir_flag_spec='-L$libdir'
9036       export_dynamic_flag_spec='${wl}--export-all-symbols'
9037       allow_undefined_flag=unsupported
9038       always_export_symbols=no
9039       enable_shared_with_static_runtimes=yes
9040       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'
9041       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9042
9043       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9044         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9045         # If the export-symbols file already is a .def file (1st line
9046         # is EXPORTS), use it as is; otherwise, prepend...
9047         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9048           cp $export_symbols $output_objdir/$soname.def;
9049         else
9050           echo EXPORTS > $output_objdir/$soname.def;
9051           cat $export_symbols >> $output_objdir/$soname.def;
9052         fi~
9053         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9054       else
9055         ld_shlibs=no
9056       fi
9057       ;;
9058
9059     haiku*)
9060       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9061       link_all_deplibs=yes
9062       ;;
9063
9064     interix[3-9]*)
9065       hardcode_direct=no
9066       hardcode_shlibpath_var=no
9067       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9068       export_dynamic_flag_spec='${wl}-E'
9069       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9070       # Instead, shared libraries are loaded at an image base (0x10000000 by
9071       # default) and relocated if they conflict, which is a slow very memory
9072       # consuming and fragmenting process.  To avoid this, we pick a random,
9073       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9074       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9075       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9076       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'
9077       ;;
9078
9079     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9080       tmp_diet=no
9081       if test "$host_os" = linux-dietlibc; then
9082         case $cc_basename in
9083           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9084         esac
9085       fi
9086       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9087          && test "$tmp_diet" = no
9088       then
9089         tmp_addflag=' $pic_flag'
9090         tmp_sharedflag='-shared'
9091         case $cc_basename,$host_cpu in
9092         pgcc*)                          # Portland Group C compiler
9093           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'
9094           tmp_addflag=' $pic_flag'
9095           ;;
9096         pgf77* | pgf90* | pgf95* | pgfortran*)
9097                                         # Portland Group f77 and f90 compilers
9098           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'
9099           tmp_addflag=' $pic_flag -Mnomain' ;;
9100         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9101           tmp_addflag=' -i_dynamic' ;;
9102         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9103           tmp_addflag=' -i_dynamic -nofor_main' ;;
9104         ifc* | ifort*)                  # Intel Fortran compiler
9105           tmp_addflag=' -nofor_main' ;;
9106         lf95*)                          # Lahey Fortran 8.1
9107           whole_archive_flag_spec=
9108           tmp_sharedflag='--shared' ;;
9109         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9110           tmp_sharedflag='-qmkshrobj'
9111           tmp_addflag= ;;
9112         nvcc*)  # Cuda Compiler Driver 2.2
9113           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'
9114           compiler_needs_object=yes
9115           ;;
9116         esac
9117         case `$CC -V 2>&1 | sed 5q` in
9118         *Sun\ C*)                       # Sun C 5.9
9119           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'
9120           compiler_needs_object=yes
9121           tmp_sharedflag='-G' ;;
9122         *Sun\ F*)                       # Sun Fortran 8.3
9123           tmp_sharedflag='-G' ;;
9124         esac
9125         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126
9127         if test "x$supports_anon_versioning" = xyes; then
9128           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9129             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9130             echo "local: *; };" >> $output_objdir/$libname.ver~
9131             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9132         fi
9133
9134         case $cc_basename in
9135         xlf* | bgf* | bgxlf* | mpixlf*)
9136           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9137           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9138           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9139           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9140           if test "x$supports_anon_versioning" = xyes; then
9141             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9142               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9143               echo "local: *; };" >> $output_objdir/$libname.ver~
9144               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9145           fi
9146           ;;
9147         esac
9148       else
9149         ld_shlibs=no
9150       fi
9151       ;;
9152
9153     netbsd* | netbsdelf*-gnu)
9154       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9155         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9156         wlarc=
9157       else
9158         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160       fi
9161       ;;
9162
9163     solaris*)
9164       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9165         ld_shlibs=no
9166         cat <<_LT_EOF 1>&2
9167
9168 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9169 *** create shared libraries on Solaris systems.  Therefore, libtool
9170 *** is disabling shared libraries support.  We urge you to upgrade GNU
9171 *** binutils to release 2.9.1 or newer.  Another option is to modify
9172 *** your PATH or compiler configuration so that the native linker is
9173 *** used, and then restart.
9174
9175 _LT_EOF
9176       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9177         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9179       else
9180         ld_shlibs=no
9181       fi
9182       ;;
9183
9184     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9185       case `$LD -v 2>&1` in
9186         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9187         ld_shlibs=no
9188         cat <<_LT_EOF 1>&2
9189
9190 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9191 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9192 *** is disabling shared libraries support.  We urge you to upgrade GNU
9193 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9194 *** your PATH or compiler configuration so that the native linker is
9195 *** used, and then restart.
9196
9197 _LT_EOF
9198         ;;
9199         *)
9200           # For security reasons, it is highly recommended that you always
9201           # use absolute paths for naming shared libraries, and exclude the
9202           # DT_RUNPATH tag from executables and libraries.  But doing so
9203           # requires that you compile everything twice, which is a pain.
9204           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9205             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9206             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9208           else
9209             ld_shlibs=no
9210           fi
9211         ;;
9212       esac
9213       ;;
9214
9215     sunos4*)
9216       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9217       wlarc=
9218       hardcode_direct=yes
9219       hardcode_shlibpath_var=no
9220       ;;
9221
9222     *)
9223       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9224         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226       else
9227         ld_shlibs=no
9228       fi
9229       ;;
9230     esac
9231
9232     if test "$ld_shlibs" = no; then
9233       runpath_var=
9234       hardcode_libdir_flag_spec=
9235       export_dynamic_flag_spec=
9236       whole_archive_flag_spec=
9237     fi
9238   else
9239     # PORTME fill in a description of your system's linker (not GNU ld)
9240     case $host_os in
9241     aix3*)
9242       allow_undefined_flag=unsupported
9243       always_export_symbols=yes
9244       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'
9245       # Note: this linker hardcodes the directories in LIBPATH if there
9246       # are no directories specified by -L.
9247       hardcode_minus_L=yes
9248       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9249         # Neither direct hardcoding nor static linking is supported with a
9250         # broken collect2.
9251         hardcode_direct=unsupported
9252       fi
9253       ;;
9254
9255     aix[4-9]*)
9256       if test "$host_cpu" = ia64; then
9257         # On IA64, the linker does run time linking by default, so we don't
9258         # have to do anything special.
9259         aix_use_runtimelinking=no
9260         exp_sym_flag='-Bexport'
9261         no_entry_flag=""
9262       else
9263         # If we're using GNU nm, then we don't want the "-C" option.
9264         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9265         # Also, AIX nm treats weak defined symbols like other global
9266         # defined symbols, whereas GNU nm marks them as "W".
9267         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9268           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'
9269         else
9270           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'
9271         fi
9272         aix_use_runtimelinking=no
9273
9274         # Test if we are trying to use run time linking or normal
9275         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9276         # need to do runtime linking.
9277         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9278           for ld_flag in $LDFLAGS; do
9279           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9280             aix_use_runtimelinking=yes
9281             break
9282           fi
9283           done
9284           ;;
9285         esac
9286
9287         exp_sym_flag='-bexport'
9288         no_entry_flag='-bnoentry'
9289       fi
9290
9291       # When large executables or shared objects are built, AIX ld can
9292       # have problems creating the table of contents.  If linking a library
9293       # or program results in "error TOC overflow" add -mminimal-toc to
9294       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9295       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9296
9297       archive_cmds=''
9298       hardcode_direct=yes
9299       hardcode_direct_absolute=yes
9300       hardcode_libdir_separator=':'
9301       link_all_deplibs=yes
9302       file_list_spec='${wl}-f,'
9303
9304       if test "$GCC" = yes; then
9305         case $host_os in aix4.[012]|aix4.[012].*)
9306         # We only want to do this on AIX 4.2 and lower, the check
9307         # below for broken collect2 doesn't work under 4.3+
9308           collect2name=`${CC} -print-prog-name=collect2`
9309           if test -f "$collect2name" &&
9310            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9311           then
9312           # We have reworked collect2
9313           :
9314           else
9315           # We have old collect2
9316           hardcode_direct=unsupported
9317           # It fails to find uninstalled libraries when the uninstalled
9318           # path is not listed in the libpath.  Setting hardcode_minus_L
9319           # to unsupported forces relinking
9320           hardcode_minus_L=yes
9321           hardcode_libdir_flag_spec='-L$libdir'
9322           hardcode_libdir_separator=
9323           fi
9324           ;;
9325         esac
9326         shared_flag='-shared'
9327         if test "$aix_use_runtimelinking" = yes; then
9328           shared_flag="$shared_flag "'${wl}-G'
9329         fi
9330         link_all_deplibs=no
9331       else
9332         # not using gcc
9333         if test "$host_cpu" = ia64; then
9334         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9335         # chokes on -Wl,-G. The following line is correct:
9336           shared_flag='-G'
9337         else
9338           if test "$aix_use_runtimelinking" = yes; then
9339             shared_flag='${wl}-G'
9340           else
9341             shared_flag='${wl}-bM:SRE'
9342           fi
9343         fi
9344       fi
9345
9346       export_dynamic_flag_spec='${wl}-bexpall'
9347       # It seems that -bexpall does not export symbols beginning with
9348       # underscore (_), so it is better to generate a list of symbols to export.
9349       always_export_symbols=yes
9350       if test "$aix_use_runtimelinking" = yes; then
9351         # Warning - without using the other runtime loading flags (-brtl),
9352         # -berok will link without error, but may produce a broken library.
9353         allow_undefined_flag='-berok'
9354         # Determine the default libpath from the value encoded in an
9355         # empty executable.
9356         if test "${lt_cv_aix_libpath+set}" = set; then
9357   aix_libpath=$lt_cv_aix_libpath
9358 else
9359   if ${lt_cv_aix_libpath_+:} false; then :
9360   $as_echo_n "(cached) " >&6
9361 else
9362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h.  */
9364
9365 int
9366 main ()
9367 {
9368
9369   ;
9370   return 0;
9371 }
9372 _ACEOF
9373 if ac_fn_c_try_link "$LINENO"; then :
9374
9375   lt_aix_libpath_sed='
9376       /Import File Strings/,/^$/ {
9377           /^0/ {
9378               s/^0  *\([^ ]*\) *$/\1/
9379               p
9380           }
9381       }'
9382   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9383   # Check for a 64-bit object if we didn't find anything.
9384   if test -z "$lt_cv_aix_libpath_"; then
9385     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9386   fi
9387 fi
9388 rm -f core conftest.err conftest.$ac_objext \
9389     conftest$ac_exeext conftest.$ac_ext
9390   if test -z "$lt_cv_aix_libpath_"; then
9391     lt_cv_aix_libpath_="/usr/lib:/lib"
9392   fi
9393
9394 fi
9395
9396   aix_libpath=$lt_cv_aix_libpath_
9397 fi
9398
9399         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9400         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"
9401       else
9402         if test "$host_cpu" = ia64; then
9403           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9404           allow_undefined_flag="-z nodefs"
9405           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"
9406         else
9407          # Determine the default libpath from the value encoded in an
9408          # empty executable.
9409          if test "${lt_cv_aix_libpath+set}" = set; then
9410   aix_libpath=$lt_cv_aix_libpath
9411 else
9412   if ${lt_cv_aix_libpath_+:} false; then :
9413   $as_echo_n "(cached) " >&6
9414 else
9415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h.  */
9417
9418 int
9419 main ()
9420 {
9421
9422   ;
9423   return 0;
9424 }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427
9428   lt_aix_libpath_sed='
9429       /Import File Strings/,/^$/ {
9430           /^0/ {
9431               s/^0  *\([^ ]*\) *$/\1/
9432               p
9433           }
9434       }'
9435   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436   # Check for a 64-bit object if we didn't find anything.
9437   if test -z "$lt_cv_aix_libpath_"; then
9438     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9439   fi
9440 fi
9441 rm -f core conftest.err conftest.$ac_objext \
9442     conftest$ac_exeext conftest.$ac_ext
9443   if test -z "$lt_cv_aix_libpath_"; then
9444     lt_cv_aix_libpath_="/usr/lib:/lib"
9445   fi
9446
9447 fi
9448
9449   aix_libpath=$lt_cv_aix_libpath_
9450 fi
9451
9452          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9453           # Warning - without using the other run time loading flags,
9454           # -berok will link without error, but may produce a broken library.
9455           no_undefined_flag=' ${wl}-bernotok'
9456           allow_undefined_flag=' ${wl}-berok'
9457           if test "$with_gnu_ld" = yes; then
9458             # We only use this code for GNU lds that support --whole-archive.
9459             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9460           else
9461             # Exported symbols can be pulled into shared objects from archives
9462             whole_archive_flag_spec='$convenience'
9463           fi
9464           archive_cmds_need_lc=yes
9465           # This is similar to how AIX traditionally builds its shared libraries.
9466           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'
9467         fi
9468       fi
9469       ;;
9470
9471     amigaos*)
9472       case $host_cpu in
9473       powerpc)
9474             # see comment about AmigaOS4 .so support
9475             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476             archive_expsym_cmds=''
9477         ;;
9478       m68k)
9479             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)'
9480             hardcode_libdir_flag_spec='-L$libdir'
9481             hardcode_minus_L=yes
9482         ;;
9483       esac
9484       ;;
9485
9486     bsdi[45]*)
9487       export_dynamic_flag_spec=-rdynamic
9488       ;;
9489
9490     cygwin* | mingw* | pw32* | cegcc*)
9491       # When not using gcc, we currently assume that we are using
9492       # Microsoft Visual C++.
9493       # hardcode_libdir_flag_spec is actually meaningless, as there is
9494       # no search path for DLLs.
9495       case $cc_basename in
9496       cl*)
9497         # Native MSVC
9498         hardcode_libdir_flag_spec=' '
9499         allow_undefined_flag=unsupported
9500         always_export_symbols=yes
9501         file_list_spec='@'
9502         # Tell ltmain to make .lib files, not .a files.
9503         libext=lib
9504         # Tell ltmain to make .dll files, not .so files.
9505         shrext_cmds=".dll"
9506         # FIXME: Setting linknames here is a bad hack.
9507         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9508         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9509             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9510           else
9511             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9512           fi~
9513           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9514           linknames='
9515         # The linker will not automatically build a static lib if we build a DLL.
9516         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9517         enable_shared_with_static_runtimes=yes
9518         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9519         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9520         # Don't use ranlib
9521         old_postinstall_cmds='chmod 644 $oldlib'
9522         postlink_cmds='lt_outputfile="@OUTPUT@"~
9523           lt_tool_outputfile="@TOOL_OUTPUT@"~
9524           case $lt_outputfile in
9525             *.exe|*.EXE) ;;
9526             *)
9527               lt_outputfile="$lt_outputfile.exe"
9528               lt_tool_outputfile="$lt_tool_outputfile.exe"
9529               ;;
9530           esac~
9531           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9532             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9533             $RM "$lt_outputfile.manifest";
9534           fi'
9535         ;;
9536       *)
9537         # Assume MSVC wrapper
9538         hardcode_libdir_flag_spec=' '
9539         allow_undefined_flag=unsupported
9540         # Tell ltmain to make .lib files, not .a files.
9541         libext=lib
9542         # Tell ltmain to make .dll files, not .so files.
9543         shrext_cmds=".dll"
9544         # FIXME: Setting linknames here is a bad hack.
9545         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9546         # The linker will automatically build a .lib file if we build a DLL.
9547         old_archive_from_new_cmds='true'
9548         # FIXME: Should let the user specify the lib program.
9549         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9550         enable_shared_with_static_runtimes=yes
9551         ;;
9552       esac
9553       ;;
9554
9555     darwin* | rhapsody*)
9556
9557
9558   archive_cmds_need_lc=no
9559   hardcode_direct=no
9560   hardcode_automatic=yes
9561   hardcode_shlibpath_var=unsupported
9562   if test "$lt_cv_ld_force_load" = "yes"; then
9563     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\"`'
9564
9565   else
9566     whole_archive_flag_spec=''
9567   fi
9568   link_all_deplibs=yes
9569   allow_undefined_flag="$_lt_dar_allow_undefined"
9570   case $cc_basename in
9571      ifort*) _lt_dar_can_shared=yes ;;
9572      *) _lt_dar_can_shared=$GCC ;;
9573   esac
9574   if test "$_lt_dar_can_shared" = "yes"; then
9575     output_verbose_link_cmd=func_echo_all
9576     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9577     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9578     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}"
9579     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}"
9580
9581   else
9582   ld_shlibs=no
9583   fi
9584
9585       ;;
9586
9587     dgux*)
9588       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9589       hardcode_libdir_flag_spec='-L$libdir'
9590       hardcode_shlibpath_var=no
9591       ;;
9592
9593     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9594     # support.  Future versions do this automatically, but an explicit c++rt0.o
9595     # does not break anything, and helps significantly (at the cost of a little
9596     # extra space).
9597     freebsd2.2*)
9598       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9599       hardcode_libdir_flag_spec='-R$libdir'
9600       hardcode_direct=yes
9601       hardcode_shlibpath_var=no
9602       ;;
9603
9604     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9605     freebsd2.*)
9606       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9607       hardcode_direct=yes
9608       hardcode_minus_L=yes
9609       hardcode_shlibpath_var=no
9610       ;;
9611
9612     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9613     freebsd* | dragonfly*)
9614       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9615       hardcode_libdir_flag_spec='-R$libdir'
9616       hardcode_direct=yes
9617       hardcode_shlibpath_var=no
9618       ;;
9619
9620     hpux9*)
9621       if test "$GCC" = yes; then
9622         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'
9623       else
9624         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'
9625       fi
9626       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9627       hardcode_libdir_separator=:
9628       hardcode_direct=yes
9629
9630       # hardcode_minus_L: Not really in the search PATH,
9631       # but as the default location of the library.
9632       hardcode_minus_L=yes
9633       export_dynamic_flag_spec='${wl}-E'
9634       ;;
9635
9636     hpux10*)
9637       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9638         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9639       else
9640         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9641       fi
9642       if test "$with_gnu_ld" = no; then
9643         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9644         hardcode_libdir_separator=:
9645         hardcode_direct=yes
9646         hardcode_direct_absolute=yes
9647         export_dynamic_flag_spec='${wl}-E'
9648         # hardcode_minus_L: Not really in the search PATH,
9649         # but as the default location of the library.
9650         hardcode_minus_L=yes
9651       fi
9652       ;;
9653
9654     hpux11*)
9655       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9656         case $host_cpu in
9657         hppa*64*)
9658           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9659           ;;
9660         ia64*)
9661           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9662           ;;
9663         *)
9664           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9665           ;;
9666         esac
9667       else
9668         case $host_cpu in
9669         hppa*64*)
9670           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9671           ;;
9672         ia64*)
9673           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9674           ;;
9675         *)
9676
9677           # Older versions of the 11.00 compiler do not understand -b yet
9678           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9679           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9680 $as_echo_n "checking if $CC understands -b... " >&6; }
9681 if ${lt_cv_prog_compiler__b+:} false; then :
9682   $as_echo_n "(cached) " >&6
9683 else
9684   lt_cv_prog_compiler__b=no
9685    save_LDFLAGS="$LDFLAGS"
9686    LDFLAGS="$LDFLAGS -b"
9687    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9688    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9689      # The linker can only warn and ignore the option if not recognized
9690      # So say no if there are warnings
9691      if test -s conftest.err; then
9692        # Append any errors to the config.log.
9693        cat conftest.err 1>&5
9694        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9695        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9696        if diff conftest.exp conftest.er2 >/dev/null; then
9697          lt_cv_prog_compiler__b=yes
9698        fi
9699      else
9700        lt_cv_prog_compiler__b=yes
9701      fi
9702    fi
9703    $RM -r conftest*
9704    LDFLAGS="$save_LDFLAGS"
9705
9706 fi
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9708 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9709
9710 if test x"$lt_cv_prog_compiler__b" = xyes; then
9711     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9712 else
9713     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9714 fi
9715
9716           ;;
9717         esac
9718       fi
9719       if test "$with_gnu_ld" = no; then
9720         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721         hardcode_libdir_separator=:
9722
9723         case $host_cpu in
9724         hppa*64*|ia64*)
9725           hardcode_direct=no
9726           hardcode_shlibpath_var=no
9727           ;;
9728         *)
9729           hardcode_direct=yes
9730           hardcode_direct_absolute=yes
9731           export_dynamic_flag_spec='${wl}-E'
9732
9733           # hardcode_minus_L: Not really in the search PATH,
9734           # but as the default location of the library.
9735           hardcode_minus_L=yes
9736           ;;
9737         esac
9738       fi
9739       ;;
9740
9741     irix5* | irix6* | nonstopux*)
9742       if test "$GCC" = yes; then
9743         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'
9744         # Try to use the -exported_symbol ld option, if it does not
9745         # work, assume that -exports_file does not work either and
9746         # implicitly export all symbols.
9747         # This should be the same for all languages, so no per-tag cache variable.
9748         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9749 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9750 if ${lt_cv_irix_exported_symbol+:} false; then :
9751   $as_echo_n "(cached) " >&6
9752 else
9753   save_LDFLAGS="$LDFLAGS"
9754            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9755            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h.  */
9757 int foo (void) { return 0; }
9758 _ACEOF
9759 if ac_fn_c_try_link "$LINENO"; then :
9760   lt_cv_irix_exported_symbol=yes
9761 else
9762   lt_cv_irix_exported_symbol=no
9763 fi
9764 rm -f core conftest.err conftest.$ac_objext \
9765     conftest$ac_exeext conftest.$ac_ext
9766            LDFLAGS="$save_LDFLAGS"
9767 fi
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9769 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9770         if test "$lt_cv_irix_exported_symbol" = yes; then
9771           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'
9772         fi
9773       else
9774         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'
9775         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'
9776       fi
9777       archive_cmds_need_lc='no'
9778       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9779       hardcode_libdir_separator=:
9780       inherit_rpath=yes
9781       link_all_deplibs=yes
9782       ;;
9783
9784     netbsd* | netbsdelf*-gnu)
9785       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9786         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9787       else
9788         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9789       fi
9790       hardcode_libdir_flag_spec='-R$libdir'
9791       hardcode_direct=yes
9792       hardcode_shlibpath_var=no
9793       ;;
9794
9795     newsos6)
9796       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797       hardcode_direct=yes
9798       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9799       hardcode_libdir_separator=:
9800       hardcode_shlibpath_var=no
9801       ;;
9802
9803     *nto* | *qnx*)
9804       ;;
9805
9806     openbsd*)
9807       if test -f /usr/libexec/ld.so; then
9808         hardcode_direct=yes
9809         hardcode_shlibpath_var=no
9810         hardcode_direct_absolute=yes
9811         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9812           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9813           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9814           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9815           export_dynamic_flag_spec='${wl}-E'
9816         else
9817           case $host_os in
9818            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9819              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9820              hardcode_libdir_flag_spec='-R$libdir'
9821              ;;
9822            *)
9823              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9824              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9825              ;;
9826           esac
9827         fi
9828       else
9829         ld_shlibs=no
9830       fi
9831       ;;
9832
9833     os2*)
9834       hardcode_libdir_flag_spec='-L$libdir'
9835       hardcode_minus_L=yes
9836       allow_undefined_flag=unsupported
9837       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'
9838       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9839       ;;
9840
9841     osf3*)
9842       if test "$GCC" = yes; then
9843         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9844         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'
9845       else
9846         allow_undefined_flag=' -expect_unresolved \*'
9847         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'
9848       fi
9849       archive_cmds_need_lc='no'
9850       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9851       hardcode_libdir_separator=:
9852       ;;
9853
9854     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9855       if test "$GCC" = yes; then
9856         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9857         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'
9858         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859       else
9860         allow_undefined_flag=' -expect_unresolved \*'
9861         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'
9862         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~
9863         $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'
9864
9865         # Both c and cxx compiler support -rpath directly
9866         hardcode_libdir_flag_spec='-rpath $libdir'
9867       fi
9868       archive_cmds_need_lc='no'
9869       hardcode_libdir_separator=:
9870       ;;
9871
9872     solaris*)
9873       no_undefined_flag=' -z defs'
9874       if test "$GCC" = yes; then
9875         wlarc='${wl}'
9876         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9877         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9878           $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'
9879       else
9880         case `$CC -V 2>&1` in
9881         *"Compilers 5.0"*)
9882           wlarc=''
9883           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9885           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9886           ;;
9887         *)
9888           wlarc='${wl}'
9889           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9890           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9891           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9892           ;;
9893         esac
9894       fi
9895       hardcode_libdir_flag_spec='-R$libdir'
9896       hardcode_shlibpath_var=no
9897       case $host_os in
9898       solaris2.[0-5] | solaris2.[0-5].*) ;;
9899       *)
9900         # The compiler driver will combine and reorder linker options,
9901         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9902         # but is careful enough not to reorder.
9903         # Supported since Solaris 2.6 (maybe 2.5.1?)
9904         if test "$GCC" = yes; then
9905           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9906         else
9907           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9908         fi
9909         ;;
9910       esac
9911       link_all_deplibs=yes
9912       ;;
9913
9914     sunos4*)
9915       if test "x$host_vendor" = xsequent; then
9916         # Use $CC to link under sequent, because it throws in some extra .o
9917         # files that make .init and .fini sections work.
9918         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9919       else
9920         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9921       fi
9922       hardcode_libdir_flag_spec='-L$libdir'
9923       hardcode_direct=yes
9924       hardcode_minus_L=yes
9925       hardcode_shlibpath_var=no
9926       ;;
9927
9928     sysv4)
9929       case $host_vendor in
9930         sni)
9931           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9932           hardcode_direct=yes # is this really true???
9933         ;;
9934         siemens)
9935           ## LD is ld it makes a PLAMLIB
9936           ## CC just makes a GrossModule.
9937           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9938           reload_cmds='$CC -r -o $output$reload_objs'
9939           hardcode_direct=no
9940         ;;
9941         motorola)
9942           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9944         ;;
9945       esac
9946       runpath_var='LD_RUN_PATH'
9947       hardcode_shlibpath_var=no
9948       ;;
9949
9950     sysv4.3*)
9951       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952       hardcode_shlibpath_var=no
9953       export_dynamic_flag_spec='-Bexport'
9954       ;;
9955
9956     sysv4*MP*)
9957       if test -d /usr/nec; then
9958         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9959         hardcode_shlibpath_var=no
9960         runpath_var=LD_RUN_PATH
9961         hardcode_runpath_var=yes
9962         ld_shlibs=yes
9963       fi
9964       ;;
9965
9966     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9967       no_undefined_flag='${wl}-z,text'
9968       archive_cmds_need_lc=no
9969       hardcode_shlibpath_var=no
9970       runpath_var='LD_RUN_PATH'
9971
9972       if test "$GCC" = yes; then
9973         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975       else
9976         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9978       fi
9979       ;;
9980
9981     sysv5* | sco3.2v5* | sco5v6*)
9982       # Note: We can NOT use -z defs as we might desire, because we do not
9983       # link with -lc, and that would cause any symbols used from libc to
9984       # always be unresolved, which means just about no library would
9985       # ever link correctly.  If we're not using GNU ld we use -z text
9986       # though, which does catch some bad symbols but isn't as heavy-handed
9987       # as -z defs.
9988       no_undefined_flag='${wl}-z,text'
9989       allow_undefined_flag='${wl}-z,nodefs'
9990       archive_cmds_need_lc=no
9991       hardcode_shlibpath_var=no
9992       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9993       hardcode_libdir_separator=':'
9994       link_all_deplibs=yes
9995       export_dynamic_flag_spec='${wl}-Bexport'
9996       runpath_var='LD_RUN_PATH'
9997
9998       if test "$GCC" = yes; then
9999         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10001       else
10002         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10003         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10004       fi
10005       ;;
10006
10007     uts4*)
10008       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10009       hardcode_libdir_flag_spec='-L$libdir'
10010       hardcode_shlibpath_var=no
10011       ;;
10012
10013     *)
10014       ld_shlibs=no
10015       ;;
10016     esac
10017
10018     if test x$host_vendor = xsni; then
10019       case $host in
10020       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10021         export_dynamic_flag_spec='${wl}-Blargedynsym'
10022         ;;
10023       esac
10024     fi
10025   fi
10026
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10028 $as_echo "$ld_shlibs" >&6; }
10029 test "$ld_shlibs" = no && can_build_shared=no
10030
10031 with_gnu_ld=$with_gnu_ld
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047 #
10048 # Do we need to explicitly link libc?
10049 #
10050 case "x$archive_cmds_need_lc" in
10051 x|xyes)
10052   # Assume -lc should be added
10053   archive_cmds_need_lc=yes
10054
10055   if test "$enable_shared" = yes && test "$GCC" = yes; then
10056     case $archive_cmds in
10057     *'~'*)
10058       # FIXME: we may have to deal with multi-command sequences.
10059       ;;
10060     '$CC '*)
10061       # Test whether the compiler implicitly links with -lc since on some
10062       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10063       # to ld, don't add -lc before -lgcc.
10064       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10065 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10066 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10067   $as_echo_n "(cached) " >&6
10068 else
10069   $RM conftest*
10070         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10071
10072         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10073   (eval $ac_compile) 2>&5
10074   ac_status=$?
10075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10076   test $ac_status = 0; } 2>conftest.err; then
10077           soname=conftest
10078           lib=conftest
10079           libobjs=conftest.$ac_objext
10080           deplibs=
10081           wl=$lt_prog_compiler_wl
10082           pic_flag=$lt_prog_compiler_pic
10083           compiler_flags=-v
10084           linker_flags=-v
10085           verstring=
10086           output_objdir=.
10087           libname=conftest
10088           lt_save_allow_undefined_flag=$allow_undefined_flag
10089           allow_undefined_flag=
10090           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10091   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10092   ac_status=$?
10093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10094   test $ac_status = 0; }
10095           then
10096             lt_cv_archive_cmds_need_lc=no
10097           else
10098             lt_cv_archive_cmds_need_lc=yes
10099           fi
10100           allow_undefined_flag=$lt_save_allow_undefined_flag
10101         else
10102           cat conftest.err 1>&5
10103         fi
10104         $RM conftest*
10105
10106 fi
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10108 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10109       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10110       ;;
10111     esac
10112   fi
10113   ;;
10114 esac
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10268 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10269
10270 if test "$GCC" = yes; then
10271   case $host_os in
10272     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10273     *) lt_awk_arg="/^libraries:/" ;;
10274   esac
10275   case $host_os in
10276     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10277     *) lt_sed_strip_eq="s,=/,/,g" ;;
10278   esac
10279   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10280   case $lt_search_path_spec in
10281   *\;*)
10282     # if the path contains ";" then we assume it to be the separator
10283     # otherwise default to the standard path separator (i.e. ":") - it is
10284     # assumed that no part of a normal pathname contains ";" but that should
10285     # okay in the real world where ";" in dirpaths is itself problematic.
10286     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10287     ;;
10288   *)
10289     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10290     ;;
10291   esac
10292   # Ok, now we have the path, separated by spaces, we can step through it
10293   # and add multilib dir if necessary.
10294   lt_tmp_lt_search_path_spec=
10295   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10296   for lt_sys_path in $lt_search_path_spec; do
10297     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10298       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10299     else
10300       test -d "$lt_sys_path" && \
10301         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10302     fi
10303   done
10304   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10305 BEGIN {RS=" "; FS="/|\n";} {
10306   lt_foo="";
10307   lt_count=0;
10308   for (lt_i = NF; lt_i > 0; lt_i--) {
10309     if ($lt_i != "" && $lt_i != ".") {
10310       if ($lt_i == "..") {
10311         lt_count++;
10312       } else {
10313         if (lt_count == 0) {
10314           lt_foo="/" $lt_i lt_foo;
10315         } else {
10316           lt_count--;
10317         }
10318       }
10319     }
10320   }
10321   if (lt_foo != "") { lt_freq[lt_foo]++; }
10322   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10323 }'`
10324   # AWK program above erroneously prepends '/' to C:/dos/paths
10325   # for these hosts.
10326   case $host_os in
10327     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10328       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10329   esac
10330   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10331 else
10332   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10333 fi
10334 library_names_spec=
10335 libname_spec='lib$name'
10336 soname_spec=
10337 shrext_cmds=".so"
10338 postinstall_cmds=
10339 postuninstall_cmds=
10340 finish_cmds=
10341 finish_eval=
10342 shlibpath_var=
10343 shlibpath_overrides_runpath=unknown
10344 version_type=none
10345 dynamic_linker="$host_os ld.so"
10346 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10347 need_lib_prefix=unknown
10348 hardcode_into_libs=no
10349
10350 # when you set need_version to no, make sure it does not cause -set_version
10351 # flags to be left without arguments
10352 need_version=unknown
10353
10354 case $host_os in
10355 aix3*)
10356   version_type=linux # correct to gnu/linux during the next big refactor
10357   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10358   shlibpath_var=LIBPATH
10359
10360   # AIX 3 has no versioning support, so we append a major version to the name.
10361   soname_spec='${libname}${release}${shared_ext}$major'
10362   ;;
10363
10364 aix[4-9]*)
10365   version_type=linux # correct to gnu/linux during the next big refactor
10366   need_lib_prefix=no
10367   need_version=no
10368   hardcode_into_libs=yes
10369   if test "$host_cpu" = ia64; then
10370     # AIX 5 supports IA64
10371     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10372     shlibpath_var=LD_LIBRARY_PATH
10373   else
10374     # With GCC up to 2.95.x, collect2 would create an import file
10375     # for dependence libraries.  The import file would start with
10376     # the line `#! .'.  This would cause the generated library to
10377     # depend on `.', always an invalid library.  This was fixed in
10378     # development snapshots of GCC prior to 3.0.
10379     case $host_os in
10380       aix4 | aix4.[01] | aix4.[01].*)
10381       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10382            echo ' yes '
10383            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10384         :
10385       else
10386         can_build_shared=no
10387       fi
10388       ;;
10389     esac
10390     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10391     # soname into executable. Probably we can add versioning support to
10392     # collect2, so additional links can be useful in future.
10393     if test "$aix_use_runtimelinking" = yes; then
10394       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10395       # instead of lib<name>.a to let people know that these are not
10396       # typical AIX shared libraries.
10397       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398     else
10399       # We preserve .a as extension for shared libraries through AIX4.2
10400       # and later when we are not doing run time linking.
10401       library_names_spec='${libname}${release}.a $libname.a'
10402       soname_spec='${libname}${release}${shared_ext}$major'
10403     fi
10404     shlibpath_var=LIBPATH
10405   fi
10406   ;;
10407
10408 amigaos*)
10409   case $host_cpu in
10410   powerpc)
10411     # Since July 2007 AmigaOS4 officially supports .so libraries.
10412     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10413     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414     ;;
10415   m68k)
10416     library_names_spec='$libname.ixlibrary $libname.a'
10417     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10418     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'
10419     ;;
10420   esac
10421   ;;
10422
10423 beos*)
10424   library_names_spec='${libname}${shared_ext}'
10425   dynamic_linker="$host_os ld.so"
10426   shlibpath_var=LIBRARY_PATH
10427   ;;
10428
10429 bsdi[45]*)
10430   version_type=linux # correct to gnu/linux during the next big refactor
10431   need_version=no
10432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10433   soname_spec='${libname}${release}${shared_ext}$major'
10434   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10435   shlibpath_var=LD_LIBRARY_PATH
10436   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10437   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10438   # the default ld.so.conf also contains /usr/contrib/lib and
10439   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10440   # libtool to hard-code these into programs
10441   ;;
10442
10443 cygwin* | mingw* | pw32* | cegcc*)
10444   version_type=windows
10445   shrext_cmds=".dll"
10446   need_version=no
10447   need_lib_prefix=no
10448
10449   case $GCC,$cc_basename in
10450   yes,*)
10451     # gcc
10452     library_names_spec='$libname.dll.a'
10453     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10454     postinstall_cmds='base_file=`basename \${file}`~
10455       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10456       dldir=$destdir/`dirname \$dlpath`~
10457       test -d \$dldir || mkdir -p \$dldir~
10458       $install_prog $dir/$dlname \$dldir/$dlname~
10459       chmod a+x \$dldir/$dlname~
10460       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10461         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10462       fi'
10463     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10464       dlpath=$dir/\$dldll~
10465        $RM \$dlpath'
10466     shlibpath_overrides_runpath=yes
10467
10468     case $host_os in
10469     cygwin*)
10470       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10471       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10472
10473       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10474       ;;
10475     mingw* | cegcc*)
10476       # MinGW DLLs use traditional 'lib' prefix
10477       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10478       ;;
10479     pw32*)
10480       # pw32 DLLs use 'pw' prefix rather than 'lib'
10481       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10482       ;;
10483     esac
10484     dynamic_linker='Win32 ld.exe'
10485     ;;
10486
10487   *,cl*)
10488     # Native MSVC
10489     libname_spec='$name'
10490     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10491     library_names_spec='${libname}.dll.lib'
10492
10493     case $build_os in
10494     mingw*)
10495       sys_lib_search_path_spec=
10496       lt_save_ifs=$IFS
10497       IFS=';'
10498       for lt_path in $LIB
10499       do
10500         IFS=$lt_save_ifs
10501         # Let DOS variable expansion print the short 8.3 style file name.
10502         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10503         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10504       done
10505       IFS=$lt_save_ifs
10506       # Convert to MSYS style.
10507       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10508       ;;
10509     cygwin*)
10510       # Convert to unix form, then to dos form, then back to unix form
10511       # but this time dos style (no spaces!) so that the unix form looks
10512       # like /cygdrive/c/PROGRA~1:/cygdr...
10513       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10514       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10515       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10516       ;;
10517     *)
10518       sys_lib_search_path_spec="$LIB"
10519       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10520         # It is most probably a Windows format PATH.
10521         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10522       else
10523         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10524       fi
10525       # FIXME: find the short name or the path components, as spaces are
10526       # common. (e.g. "Program Files" -> "PROGRA~1")
10527       ;;
10528     esac
10529
10530     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10531     postinstall_cmds='base_file=`basename \${file}`~
10532       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10533       dldir=$destdir/`dirname \$dlpath`~
10534       test -d \$dldir || mkdir -p \$dldir~
10535       $install_prog $dir/$dlname \$dldir/$dlname'
10536     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10537       dlpath=$dir/\$dldll~
10538        $RM \$dlpath'
10539     shlibpath_overrides_runpath=yes
10540     dynamic_linker='Win32 link.exe'
10541     ;;
10542
10543   *)
10544     # Assume MSVC wrapper
10545     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10546     dynamic_linker='Win32 ld.exe'
10547     ;;
10548   esac
10549   # FIXME: first we should search . and the directory the executable is in
10550   shlibpath_var=PATH
10551   ;;
10552
10553 darwin* | rhapsody*)
10554   dynamic_linker="$host_os dyld"
10555   version_type=darwin
10556   need_lib_prefix=no
10557   need_version=no
10558   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10559   soname_spec='${libname}${release}${major}$shared_ext'
10560   shlibpath_overrides_runpath=yes
10561   shlibpath_var=DYLD_LIBRARY_PATH
10562   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10563
10564   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10565   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10566   ;;
10567
10568 dgux*)
10569   version_type=linux # correct to gnu/linux during the next big refactor
10570   need_lib_prefix=no
10571   need_version=no
10572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10573   soname_spec='${libname}${release}${shared_ext}$major'
10574   shlibpath_var=LD_LIBRARY_PATH
10575   ;;
10576
10577 freebsd* | dragonfly*)
10578   # DragonFly does not have aout.  When/if they implement a new
10579   # versioning mechanism, adjust this.
10580   if test -x /usr/bin/objformat; then
10581     objformat=`/usr/bin/objformat`
10582   else
10583     case $host_os in
10584     freebsd[23].*) objformat=aout ;;
10585     *) objformat=elf ;;
10586     esac
10587   fi
10588   version_type=freebsd-$objformat
10589   case $version_type in
10590     freebsd-elf*)
10591       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10592       need_version=no
10593       need_lib_prefix=no
10594       ;;
10595     freebsd-*)
10596       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10597       need_version=yes
10598       ;;
10599   esac
10600   shlibpath_var=LD_LIBRARY_PATH
10601   case $host_os in
10602   freebsd2.*)
10603     shlibpath_overrides_runpath=yes
10604     ;;
10605   freebsd3.[01]* | freebsdelf3.[01]*)
10606     shlibpath_overrides_runpath=yes
10607     hardcode_into_libs=yes
10608     ;;
10609   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10610   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10611     shlibpath_overrides_runpath=no
10612     hardcode_into_libs=yes
10613     ;;
10614   *) # from 4.6 on, and DragonFly
10615     shlibpath_overrides_runpath=yes
10616     hardcode_into_libs=yes
10617     ;;
10618   esac
10619   ;;
10620
10621 haiku*)
10622   version_type=linux # correct to gnu/linux during the next big refactor
10623   need_lib_prefix=no
10624   need_version=no
10625   dynamic_linker="$host_os runtime_loader"
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   shlibpath_var=LIBRARY_PATH
10629   shlibpath_overrides_runpath=yes
10630   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10631   hardcode_into_libs=yes
10632   ;;
10633
10634 hpux9* | hpux10* | hpux11*)
10635   # Give a soname corresponding to the major version so that dld.sl refuses to
10636   # link against other versions.
10637   version_type=sunos
10638   need_lib_prefix=no
10639   need_version=no
10640   case $host_cpu in
10641   ia64*)
10642     shrext_cmds='.so'
10643     hardcode_into_libs=yes
10644     dynamic_linker="$host_os dld.so"
10645     shlibpath_var=LD_LIBRARY_PATH
10646     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648     soname_spec='${libname}${release}${shared_ext}$major'
10649     if test "X$HPUX_IA64_MODE" = X32; then
10650       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10651     else
10652       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10653     fi
10654     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10655     ;;
10656   hppa*64*)
10657     shrext_cmds='.sl'
10658     hardcode_into_libs=yes
10659     dynamic_linker="$host_os dld.sl"
10660     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10661     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10662     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663     soname_spec='${libname}${release}${shared_ext}$major'
10664     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10665     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10666     ;;
10667   *)
10668     shrext_cmds='.sl'
10669     dynamic_linker="$host_os dld.sl"
10670     shlibpath_var=SHLIB_PATH
10671     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10672     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673     soname_spec='${libname}${release}${shared_ext}$major'
10674     ;;
10675   esac
10676   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10677   postinstall_cmds='chmod 555 $lib'
10678   # or fails outright, so override atomically:
10679   install_override_mode=555
10680   ;;
10681
10682 interix[3-9]*)
10683   version_type=linux # correct to gnu/linux during the next big refactor
10684   need_lib_prefix=no
10685   need_version=no
10686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10687   soname_spec='${libname}${release}${shared_ext}$major'
10688   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10689   shlibpath_var=LD_LIBRARY_PATH
10690   shlibpath_overrides_runpath=no
10691   hardcode_into_libs=yes
10692   ;;
10693
10694 irix5* | irix6* | nonstopux*)
10695   case $host_os in
10696     nonstopux*) version_type=nonstopux ;;
10697     *)
10698         if test "$lt_cv_prog_gnu_ld" = yes; then
10699                 version_type=linux # correct to gnu/linux during the next big refactor
10700         else
10701                 version_type=irix
10702         fi ;;
10703   esac
10704   need_lib_prefix=no
10705   need_version=no
10706   soname_spec='${libname}${release}${shared_ext}$major'
10707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10708   case $host_os in
10709   irix5* | nonstopux*)
10710     libsuff= shlibsuff=
10711     ;;
10712   *)
10713     case $LD in # libtool.m4 will add one of these switches to LD
10714     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10715       libsuff= shlibsuff= libmagic=32-bit;;
10716     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10717       libsuff=32 shlibsuff=N32 libmagic=N32;;
10718     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10719       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10720     *) libsuff= shlibsuff= libmagic=never-match;;
10721     esac
10722     ;;
10723   esac
10724   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10725   shlibpath_overrides_runpath=no
10726   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10727   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10728   hardcode_into_libs=yes
10729   ;;
10730
10731 # No shared lib support for Linux oldld, aout, or coff.
10732 linux*oldld* | linux*aout* | linux*coff*)
10733   dynamic_linker=no
10734   ;;
10735
10736 # This must be glibc/ELF.
10737 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10738   version_type=linux # correct to gnu/linux during the next big refactor
10739   need_lib_prefix=no
10740   need_version=no
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742   soname_spec='${libname}${release}${shared_ext}$major'
10743   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10744   shlibpath_var=LD_LIBRARY_PATH
10745   shlibpath_overrides_runpath=no
10746
10747   # Some binutils ld are patched to set DT_RUNPATH
10748   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10749   $as_echo_n "(cached) " >&6
10750 else
10751   lt_cv_shlibpath_overrides_runpath=no
10752     save_LDFLAGS=$LDFLAGS
10753     save_libdir=$libdir
10754     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10755          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10756     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h.  */
10758
10759 int
10760 main ()
10761 {
10762
10763   ;
10764   return 0;
10765 }
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10769   lt_cv_shlibpath_overrides_runpath=yes
10770 fi
10771 fi
10772 rm -f core conftest.err conftest.$ac_objext \
10773     conftest$ac_exeext conftest.$ac_ext
10774     LDFLAGS=$save_LDFLAGS
10775     libdir=$save_libdir
10776
10777 fi
10778
10779   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10780
10781   # This implies no fast_install, which is unacceptable.
10782   # Some rework will be needed to allow for fast_install
10783   # before this can be enabled.
10784   hardcode_into_libs=yes
10785
10786   # Append ld.so.conf contents to the search path
10787   if test -f /etc/ld.so.conf; then
10788     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' ' '`
10789     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10790   fi
10791
10792   # We used to test for /lib/ld.so.1 and disable shared libraries on
10793   # powerpc, because MkLinux only supported shared libraries with the
10794   # GNU dynamic linker.  Since this was broken with cross compilers,
10795   # most powerpc-linux boxes support dynamic linking these days and
10796   # people can always --disable-shared, the test was removed, and we
10797   # assume the GNU/Linux dynamic linker is in use.
10798   dynamic_linker='GNU/Linux ld.so'
10799   ;;
10800
10801 netbsdelf*-gnu)
10802   version_type=linux
10803   need_lib_prefix=no
10804   need_version=no
10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10806   soname_spec='${libname}${release}${shared_ext}$major'
10807   shlibpath_var=LD_LIBRARY_PATH
10808   shlibpath_overrides_runpath=no
10809   hardcode_into_libs=yes
10810   dynamic_linker='NetBSD ld.elf_so'
10811   ;;
10812
10813 netbsd*)
10814   version_type=sunos
10815   need_lib_prefix=no
10816   need_version=no
10817   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10818     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10819     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10820     dynamic_linker='NetBSD (a.out) ld.so'
10821   else
10822     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10823     soname_spec='${libname}${release}${shared_ext}$major'
10824     dynamic_linker='NetBSD ld.elf_so'
10825   fi
10826   shlibpath_var=LD_LIBRARY_PATH
10827   shlibpath_overrides_runpath=yes
10828   hardcode_into_libs=yes
10829   ;;
10830
10831 newsos6)
10832   version_type=linux # correct to gnu/linux during the next big refactor
10833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834   shlibpath_var=LD_LIBRARY_PATH
10835   shlibpath_overrides_runpath=yes
10836   ;;
10837
10838 *nto* | *qnx*)
10839   version_type=qnx
10840   need_lib_prefix=no
10841   need_version=no
10842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10843   soname_spec='${libname}${release}${shared_ext}$major'
10844   shlibpath_var=LD_LIBRARY_PATH
10845   shlibpath_overrides_runpath=no
10846   hardcode_into_libs=yes
10847   dynamic_linker='ldqnx.so'
10848   ;;
10849
10850 openbsd*)
10851   version_type=sunos
10852   sys_lib_dlsearch_path_spec="/usr/lib"
10853   need_lib_prefix=no
10854   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10855   case $host_os in
10856     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10857     *)                          need_version=no  ;;
10858   esac
10859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10860   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10861   shlibpath_var=LD_LIBRARY_PATH
10862   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10863     case $host_os in
10864       openbsd2.[89] | openbsd2.[89].*)
10865         shlibpath_overrides_runpath=no
10866         ;;
10867       *)
10868         shlibpath_overrides_runpath=yes
10869         ;;
10870       esac
10871   else
10872     shlibpath_overrides_runpath=yes
10873   fi
10874   ;;
10875
10876 os2*)
10877   libname_spec='$name'
10878   shrext_cmds=".dll"
10879   need_lib_prefix=no
10880   library_names_spec='$libname${shared_ext} $libname.a'
10881   dynamic_linker='OS/2 ld.exe'
10882   shlibpath_var=LIBPATH
10883   ;;
10884
10885 osf3* | osf4* | osf5*)
10886   version_type=osf
10887   need_lib_prefix=no
10888   need_version=no
10889   soname_spec='${libname}${release}${shared_ext}$major'
10890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10893   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10894   ;;
10895
10896 rdos*)
10897   dynamic_linker=no
10898   ;;
10899
10900 solaris*)
10901   version_type=linux # correct to gnu/linux during the next big refactor
10902   need_lib_prefix=no
10903   need_version=no
10904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905   soname_spec='${libname}${release}${shared_ext}$major'
10906   shlibpath_var=LD_LIBRARY_PATH
10907   shlibpath_overrides_runpath=yes
10908   hardcode_into_libs=yes
10909   # ldd complains unless libraries are executable
10910   postinstall_cmds='chmod +x $lib'
10911   ;;
10912
10913 sunos4*)
10914   version_type=sunos
10915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10916   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10917   shlibpath_var=LD_LIBRARY_PATH
10918   shlibpath_overrides_runpath=yes
10919   if test "$with_gnu_ld" = yes; then
10920     need_lib_prefix=no
10921   fi
10922   need_version=yes
10923   ;;
10924
10925 sysv4 | sysv4.3*)
10926   version_type=linux # correct to gnu/linux during the next big refactor
10927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928   soname_spec='${libname}${release}${shared_ext}$major'
10929   shlibpath_var=LD_LIBRARY_PATH
10930   case $host_vendor in
10931     sni)
10932       shlibpath_overrides_runpath=no
10933       need_lib_prefix=no
10934       runpath_var=LD_RUN_PATH
10935       ;;
10936     siemens)
10937       need_lib_prefix=no
10938       ;;
10939     motorola)
10940       need_lib_prefix=no
10941       need_version=no
10942       shlibpath_overrides_runpath=no
10943       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10944       ;;
10945   esac
10946   ;;
10947
10948 sysv4*MP*)
10949   if test -d /usr/nec ;then
10950     version_type=linux # correct to gnu/linux during the next big refactor
10951     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10952     soname_spec='$libname${shared_ext}.$major'
10953     shlibpath_var=LD_LIBRARY_PATH
10954   fi
10955   ;;
10956
10957 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10958   version_type=freebsd-elf
10959   need_lib_prefix=no
10960   need_version=no
10961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10962   soname_spec='${libname}${release}${shared_ext}$major'
10963   shlibpath_var=LD_LIBRARY_PATH
10964   shlibpath_overrides_runpath=yes
10965   hardcode_into_libs=yes
10966   if test "$with_gnu_ld" = yes; then
10967     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10968   else
10969     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10970     case $host_os in
10971       sco3.2v5*)
10972         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10973         ;;
10974     esac
10975   fi
10976   sys_lib_dlsearch_path_spec='/usr/lib'
10977   ;;
10978
10979 tpf*)
10980   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10981   version_type=linux # correct to gnu/linux during the next big refactor
10982   need_lib_prefix=no
10983   need_version=no
10984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985   shlibpath_var=LD_LIBRARY_PATH
10986   shlibpath_overrides_runpath=no
10987   hardcode_into_libs=yes
10988   ;;
10989
10990 uts4*)
10991   version_type=linux # correct to gnu/linux during the next big refactor
10992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10993   soname_spec='${libname}${release}${shared_ext}$major'
10994   shlibpath_var=LD_LIBRARY_PATH
10995   ;;
10996
10997 *)
10998   dynamic_linker=no
10999   ;;
11000 esac
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11002 $as_echo "$dynamic_linker" >&6; }
11003 test "$dynamic_linker" = no && can_build_shared=no
11004
11005 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11006 if test "$GCC" = yes; then
11007   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11008 fi
11009
11010 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11011   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11012 fi
11013 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11014   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11015 fi
11016
11017
11018
11019
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11109 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11110 hardcode_action=
11111 if test -n "$hardcode_libdir_flag_spec" ||
11112    test -n "$runpath_var" ||
11113    test "X$hardcode_automatic" = "Xyes" ; then
11114
11115   # We can hardcode non-existent directories.
11116   if test "$hardcode_direct" != no &&
11117      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11118      # have to relink, otherwise we might link with an installed library
11119      # when we should be linking with a yet-to-be-installed one
11120      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11121      test "$hardcode_minus_L" != no; then
11122     # Linking always hardcodes the temporary library directory.
11123     hardcode_action=relink
11124   else
11125     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11126     hardcode_action=immediate
11127   fi
11128 else
11129   # We cannot hardcode anything, or else we can only hardcode existing
11130   # directories.
11131   hardcode_action=unsupported
11132 fi
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11134 $as_echo "$hardcode_action" >&6; }
11135
11136 if test "$hardcode_action" = relink ||
11137    test "$inherit_rpath" = yes; then
11138   # Fast installation is not supported
11139   enable_fast_install=no
11140 elif test "$shlibpath_overrides_runpath" = yes ||
11141      test "$enable_shared" = no; then
11142   # Fast installation is not necessary
11143   enable_fast_install=needless
11144 fi
11145
11146
11147
11148
11149
11150
11151   if test "x$enable_dlopen" != xyes; then
11152   enable_dlopen=unknown
11153   enable_dlopen_self=unknown
11154   enable_dlopen_self_static=unknown
11155 else
11156   lt_cv_dlopen=no
11157   lt_cv_dlopen_libs=
11158
11159   case $host_os in
11160   beos*)
11161     lt_cv_dlopen="load_add_on"
11162     lt_cv_dlopen_libs=
11163     lt_cv_dlopen_self=yes
11164     ;;
11165
11166   mingw* | pw32* | cegcc*)
11167     lt_cv_dlopen="LoadLibrary"
11168     lt_cv_dlopen_libs=
11169     ;;
11170
11171   cygwin*)
11172     lt_cv_dlopen="dlopen"
11173     lt_cv_dlopen_libs=
11174     ;;
11175
11176   darwin*)
11177   # if libdl is installed we need to link against it
11178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11179 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11180 if ${ac_cv_lib_dl_dlopen+:} false; then :
11181   $as_echo_n "(cached) " >&6
11182 else
11183   ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-ldl  $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h.  */
11187
11188 /* Override any GCC internal prototype to avoid an error.
11189    Use char because int might match the return type of a GCC
11190    builtin and then its argument prototype would still apply.  */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char dlopen ();
11195 int
11196 main ()
11197 {
11198 return dlopen ();
11199   ;
11200   return 0;
11201 }
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204   ac_cv_lib_dl_dlopen=yes
11205 else
11206   ac_cv_lib_dl_dlopen=no
11207 fi
11208 rm -f core conftest.err conftest.$ac_objext \
11209     conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11211 fi
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11213 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11214 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11215   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11216 else
11217
11218     lt_cv_dlopen="dyld"
11219     lt_cv_dlopen_libs=
11220     lt_cv_dlopen_self=yes
11221
11222 fi
11223
11224     ;;
11225
11226   *)
11227     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11228 if test "x$ac_cv_func_shl_load" = xyes; then :
11229   lt_cv_dlopen="shl_load"
11230 else
11231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11232 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11233 if ${ac_cv_lib_dld_shl_load+:} false; then :
11234   $as_echo_n "(cached) " >&6
11235 else
11236   ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-ldld  $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h.  */
11240
11241 /* Override any GCC internal prototype to avoid an error.
11242    Use char because int might match the return type of a GCC
11243    builtin and then its argument prototype would still apply.  */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char shl_load ();
11248 int
11249 main ()
11250 {
11251 return shl_load ();
11252   ;
11253   return 0;
11254 }
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257   ac_cv_lib_dld_shl_load=yes
11258 else
11259   ac_cv_lib_dld_shl_load=no
11260 fi
11261 rm -f core conftest.err conftest.$ac_objext \
11262     conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11264 fi
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11266 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11267 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11268   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11269 else
11270   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11271 if test "x$ac_cv_func_dlopen" = xyes; then :
11272   lt_cv_dlopen="dlopen"
11273 else
11274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11275 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11276 if ${ac_cv_lib_dl_dlopen+:} false; then :
11277   $as_echo_n "(cached) " >&6
11278 else
11279   ac_check_lib_save_LIBS=$LIBS
11280 LIBS="-ldl  $LIBS"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h.  */
11283
11284 /* Override any GCC internal prototype to avoid an error.
11285    Use char because int might match the return type of a GCC
11286    builtin and then its argument prototype would still apply.  */
11287 #ifdef __cplusplus
11288 extern "C"
11289 #endif
11290 char dlopen ();
11291 int
11292 main ()
11293 {
11294 return dlopen ();
11295   ;
11296   return 0;
11297 }
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300   ac_cv_lib_dl_dlopen=yes
11301 else
11302   ac_cv_lib_dl_dlopen=no
11303 fi
11304 rm -f core conftest.err conftest.$ac_objext \
11305     conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11307 fi
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11309 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11310 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11311   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11312 else
11313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11314 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11315 if ${ac_cv_lib_svld_dlopen+:} false; then :
11316   $as_echo_n "(cached) " >&6
11317 else
11318   ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lsvld  $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h.  */
11322
11323 /* Override any GCC internal prototype to avoid an error.
11324    Use char because int might match the return type of a GCC
11325    builtin and then its argument prototype would still apply.  */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char dlopen ();
11330 int
11331 main ()
11332 {
11333 return dlopen ();
11334   ;
11335   return 0;
11336 }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339   ac_cv_lib_svld_dlopen=yes
11340 else
11341   ac_cv_lib_svld_dlopen=no
11342 fi
11343 rm -f core conftest.err conftest.$ac_objext \
11344     conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11346 fi
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11348 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11349 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11350   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11351 else
11352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11353 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11354 if ${ac_cv_lib_dld_dld_link+:} false; then :
11355   $as_echo_n "(cached) " >&6
11356 else
11357   ac_check_lib_save_LIBS=$LIBS
11358 LIBS="-ldld  $LIBS"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h.  */
11361
11362 /* Override any GCC internal prototype to avoid an error.
11363    Use char because int might match the return type of a GCC
11364    builtin and then its argument prototype would still apply.  */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char dld_link ();
11369 int
11370 main ()
11371 {
11372 return dld_link ();
11373   ;
11374   return 0;
11375 }
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378   ac_cv_lib_dld_dld_link=yes
11379 else
11380   ac_cv_lib_dld_dld_link=no
11381 fi
11382 rm -f core conftest.err conftest.$ac_objext \
11383     conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11385 fi
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11387 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11388 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11389   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11390 fi
11391
11392
11393 fi
11394
11395
11396 fi
11397
11398
11399 fi
11400
11401
11402 fi
11403
11404
11405 fi
11406
11407     ;;
11408   esac
11409
11410   if test "x$lt_cv_dlopen" != xno; then
11411     enable_dlopen=yes
11412   else
11413     enable_dlopen=no
11414   fi
11415
11416   case $lt_cv_dlopen in
11417   dlopen)
11418     save_CPPFLAGS="$CPPFLAGS"
11419     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11420
11421     save_LDFLAGS="$LDFLAGS"
11422     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11423
11424     save_LIBS="$LIBS"
11425     LIBS="$lt_cv_dlopen_libs $LIBS"
11426
11427     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11428 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11429 if ${lt_cv_dlopen_self+:} false; then :
11430   $as_echo_n "(cached) " >&6
11431 else
11432           if test "$cross_compiling" = yes; then :
11433   lt_cv_dlopen_self=cross
11434 else
11435   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11436   lt_status=$lt_dlunknown
11437   cat > conftest.$ac_ext <<_LT_EOF
11438 #line $LINENO "configure"
11439 #include "confdefs.h"
11440
11441 #if HAVE_DLFCN_H
11442 #include <dlfcn.h>
11443 #endif
11444
11445 #include <stdio.h>
11446
11447 #ifdef RTLD_GLOBAL
11448 #  define LT_DLGLOBAL           RTLD_GLOBAL
11449 #else
11450 #  ifdef DL_GLOBAL
11451 #    define LT_DLGLOBAL         DL_GLOBAL
11452 #  else
11453 #    define LT_DLGLOBAL         0
11454 #  endif
11455 #endif
11456
11457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11458    find out it does not work in some platform. */
11459 #ifndef LT_DLLAZY_OR_NOW
11460 #  ifdef RTLD_LAZY
11461 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11462 #  else
11463 #    ifdef DL_LAZY
11464 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11465 #    else
11466 #      ifdef RTLD_NOW
11467 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11468 #      else
11469 #        ifdef DL_NOW
11470 #          define LT_DLLAZY_OR_NOW      DL_NOW
11471 #        else
11472 #          define LT_DLLAZY_OR_NOW      0
11473 #        endif
11474 #      endif
11475 #    endif
11476 #  endif
11477 #endif
11478
11479 /* When -fvisbility=hidden is used, assume the code has been annotated
11480    correspondingly for the symbols needed.  */
11481 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11482 int fnord () __attribute__((visibility("default")));
11483 #endif
11484
11485 int fnord () { return 42; }
11486 int main ()
11487 {
11488   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11489   int status = $lt_dlunknown;
11490
11491   if (self)
11492     {
11493       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11494       else
11495         {
11496           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11497           else puts (dlerror ());
11498         }
11499       /* dlclose (self); */
11500     }
11501   else
11502     puts (dlerror ());
11503
11504   return status;
11505 }
11506 _LT_EOF
11507   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11508   (eval $ac_link) 2>&5
11509   ac_status=$?
11510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11511   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11512     (./conftest; exit; ) >&5 2>/dev/null
11513     lt_status=$?
11514     case x$lt_status in
11515       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11516       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11517       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11518     esac
11519   else :
11520     # compilation failed
11521     lt_cv_dlopen_self=no
11522   fi
11523 fi
11524 rm -fr conftest*
11525
11526
11527 fi
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11529 $as_echo "$lt_cv_dlopen_self" >&6; }
11530
11531     if test "x$lt_cv_dlopen_self" = xyes; then
11532       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11533       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11534 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11535 if ${lt_cv_dlopen_self_static+:} false; then :
11536   $as_echo_n "(cached) " >&6
11537 else
11538           if test "$cross_compiling" = yes; then :
11539   lt_cv_dlopen_self_static=cross
11540 else
11541   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11542   lt_status=$lt_dlunknown
11543   cat > conftest.$ac_ext <<_LT_EOF
11544 #line $LINENO "configure"
11545 #include "confdefs.h"
11546
11547 #if HAVE_DLFCN_H
11548 #include <dlfcn.h>
11549 #endif
11550
11551 #include <stdio.h>
11552
11553 #ifdef RTLD_GLOBAL
11554 #  define LT_DLGLOBAL           RTLD_GLOBAL
11555 #else
11556 #  ifdef DL_GLOBAL
11557 #    define LT_DLGLOBAL         DL_GLOBAL
11558 #  else
11559 #    define LT_DLGLOBAL         0
11560 #  endif
11561 #endif
11562
11563 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11564    find out it does not work in some platform. */
11565 #ifndef LT_DLLAZY_OR_NOW
11566 #  ifdef RTLD_LAZY
11567 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11568 #  else
11569 #    ifdef DL_LAZY
11570 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11571 #    else
11572 #      ifdef RTLD_NOW
11573 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11574 #      else
11575 #        ifdef DL_NOW
11576 #          define LT_DLLAZY_OR_NOW      DL_NOW
11577 #        else
11578 #          define LT_DLLAZY_OR_NOW      0
11579 #        endif
11580 #      endif
11581 #    endif
11582 #  endif
11583 #endif
11584
11585 /* When -fvisbility=hidden is used, assume the code has been annotated
11586    correspondingly for the symbols needed.  */
11587 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11588 int fnord () __attribute__((visibility("default")));
11589 #endif
11590
11591 int fnord () { return 42; }
11592 int main ()
11593 {
11594   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11595   int status = $lt_dlunknown;
11596
11597   if (self)
11598     {
11599       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11600       else
11601         {
11602           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11603           else puts (dlerror ());
11604         }
11605       /* dlclose (self); */
11606     }
11607   else
11608     puts (dlerror ());
11609
11610   return status;
11611 }
11612 _LT_EOF
11613   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11614   (eval $ac_link) 2>&5
11615   ac_status=$?
11616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11617   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11618     (./conftest; exit; ) >&5 2>/dev/null
11619     lt_status=$?
11620     case x$lt_status in
11621       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11622       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11623       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11624     esac
11625   else :
11626     # compilation failed
11627     lt_cv_dlopen_self_static=no
11628   fi
11629 fi
11630 rm -fr conftest*
11631
11632
11633 fi
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11635 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11636     fi
11637
11638     CPPFLAGS="$save_CPPFLAGS"
11639     LDFLAGS="$save_LDFLAGS"
11640     LIBS="$save_LIBS"
11641     ;;
11642   esac
11643
11644   case $lt_cv_dlopen_self in
11645   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11646   *) enable_dlopen_self=unknown ;;
11647   esac
11648
11649   case $lt_cv_dlopen_self_static in
11650   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11651   *) enable_dlopen_self_static=unknown ;;
11652   esac
11653 fi
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671 striplib=
11672 old_striplib=
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11674 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11675 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11676   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11677   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11679 $as_echo "yes" >&6; }
11680 else
11681 # FIXME - insert some real tests, host_os isn't really good enough
11682   case $host_os in
11683   darwin*)
11684     if test -n "$STRIP" ; then
11685       striplib="$STRIP -x"
11686       old_striplib="$STRIP -S"
11687       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11688 $as_echo "yes" >&6; }
11689     else
11690       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11691 $as_echo "no" >&6; }
11692     fi
11693     ;;
11694   *)
11695     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11696 $as_echo "no" >&6; }
11697     ;;
11698   esac
11699 fi
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712   # Report which library types will actually be built
11713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11714 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11716 $as_echo "$can_build_shared" >&6; }
11717
11718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11719 $as_echo_n "checking whether to build shared libraries... " >&6; }
11720   test "$can_build_shared" = "no" && enable_shared=no
11721
11722   # On AIX, shared libraries and static libraries use the same namespace, and
11723   # are all built from PIC.
11724   case $host_os in
11725   aix3*)
11726     test "$enable_shared" = yes && enable_static=no
11727     if test -n "$RANLIB"; then
11728       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11729       postinstall_cmds='$RANLIB $lib'
11730     fi
11731     ;;
11732
11733   aix[4-9]*)
11734     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11735       test "$enable_shared" = yes && enable_static=no
11736     fi
11737     ;;
11738   esac
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11740 $as_echo "$enable_shared" >&6; }
11741
11742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11743 $as_echo_n "checking whether to build static libraries... " >&6; }
11744   # Make sure either enable_shared or enable_static is yes.
11745   test "$enable_shared" = yes || enable_static=yes
11746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11747 $as_echo "$enable_static" >&6; }
11748
11749
11750
11751
11752 fi
11753 ac_ext=c
11754 ac_cpp='$CPP $CPPFLAGS'
11755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11758
11759 CC="$lt_save_CC"
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775         ac_config_commands="$ac_config_commands libtool"
11776
11777
11778
11779
11780 # Only expand once:
11781
11782
11783
11784
11785 # Checks for libraries.
11786
11787
11788
11789
11790
11791
11792
11793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11794         if test -n "$ac_tool_prefix"; then
11795   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11798 $as_echo_n "checking for $ac_word... " >&6; }
11799 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11800   $as_echo_n "(cached) " >&6
11801 else
11802   case $PKG_CONFIG in
11803   [\\/]* | ?:[\\/]*)
11804   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11805   ;;
11806   *)
11807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11808 for as_dir in $PATH
11809 do
11810   IFS=$as_save_IFS
11811   test -z "$as_dir" && as_dir=.
11812     for ac_exec_ext in '' $ac_executable_extensions; do
11813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11814     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11816     break 2
11817   fi
11818 done
11819   done
11820 IFS=$as_save_IFS
11821
11822   ;;
11823 esac
11824 fi
11825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11826 if test -n "$PKG_CONFIG"; then
11827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11828 $as_echo "$PKG_CONFIG" >&6; }
11829 else
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831 $as_echo "no" >&6; }
11832 fi
11833
11834
11835 fi
11836 if test -z "$ac_cv_path_PKG_CONFIG"; then
11837   ac_pt_PKG_CONFIG=$PKG_CONFIG
11838   # Extract the first word of "pkg-config", so it can be a program name with args.
11839 set dummy pkg-config; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11843   $as_echo_n "(cached) " >&6
11844 else
11845   case $ac_pt_PKG_CONFIG in
11846   [\\/]* | ?:[\\/]*)
11847   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11848   ;;
11849   *)
11850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11852 do
11853   IFS=$as_save_IFS
11854   test -z "$as_dir" && as_dir=.
11855     for ac_exec_ext in '' $ac_executable_extensions; do
11856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11859     break 2
11860   fi
11861 done
11862   done
11863 IFS=$as_save_IFS
11864
11865   ;;
11866 esac
11867 fi
11868 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11869 if test -n "$ac_pt_PKG_CONFIG"; then
11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11871 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11872 else
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11875 fi
11876
11877   if test "x$ac_pt_PKG_CONFIG" = x; then
11878     PKG_CONFIG=""
11879   else
11880     case $cross_compiling:$ac_tool_warned in
11881 yes:)
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11884 ac_tool_warned=yes ;;
11885 esac
11886     PKG_CONFIG=$ac_pt_PKG_CONFIG
11887   fi
11888 else
11889   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11890 fi
11891
11892 fi
11893 if test -n "$PKG_CONFIG"; then
11894         _pkg_min_version=0.16
11895         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11896 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11897         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11898                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11900         else
11901                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11903                 PKG_CONFIG=""
11904         fi
11905 fi
11906
11907 pkg_failed=no
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11909 $as_echo_n "checking for GLIB... " >&6; }
11910
11911 if test -n "$GLIB_CFLAGS"; then
11912     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11913  elif test -n "$PKG_CONFIG"; then
11914     if test -n "$PKG_CONFIG" && \
11915     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11916   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11917   ac_status=$?
11918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11919   test $ac_status = 0; }; then
11920   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11921                       test "x$?" != "x0" && pkg_failed=yes
11922 else
11923   pkg_failed=yes
11924 fi
11925  else
11926     pkg_failed=untried
11927 fi
11928 if test -n "$GLIB_LIBS"; then
11929     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11930  elif test -n "$PKG_CONFIG"; then
11931     if test -n "$PKG_CONFIG" && \
11932     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11933   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11934   ac_status=$?
11935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11936   test $ac_status = 0; }; then
11937   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11938                       test "x$?" != "x0" && pkg_failed=yes
11939 else
11940   pkg_failed=yes
11941 fi
11942  else
11943     pkg_failed=untried
11944 fi
11945
11946
11947
11948 if test $pkg_failed = yes; then
11949         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11951
11952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11953         _pkg_short_errors_supported=yes
11954 else
11955         _pkg_short_errors_supported=no
11956 fi
11957         if test $_pkg_short_errors_supported = yes; then
11958                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11959         else
11960                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11961         fi
11962         # Put the nasty error message in config.log where it belongs
11963         echo "$GLIB_PKG_ERRORS" >&5
11964
11965         as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11966
11967 $GLIB_PKG_ERRORS
11968
11969 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11970 installed software in a non-standard prefix.
11971
11972 Alternatively, you may set the environment variables GLIB_CFLAGS
11973 and GLIB_LIBS to avoid the need to call pkg-config.
11974 See the pkg-config man page for more details." "$LINENO" 5
11975 elif test $pkg_failed = untried; then
11976         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11978         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11980 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11981 is in your PATH or set the PKG_CONFIG environment variable to the full
11982 path to pkg-config.
11983
11984 Alternatively, you may set the environment variables GLIB_CFLAGS
11985 and GLIB_LIBS to avoid the need to call pkg-config.
11986 See the pkg-config man page for more details.
11987
11988 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11989 See \`config.log' for more details" "$LINENO" 5; }
11990 else
11991         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11992         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11993         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11994 $as_echo "yes" >&6; }
11995
11996 fi
11997
11998 pkg_failed=no
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12000 $as_echo_n "checking for GIO... " >&6; }
12001
12002 if test -n "$GIO_CFLAGS"; then
12003     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12004  elif test -n "$PKG_CONFIG"; then
12005     if test -n "$PKG_CONFIG" && \
12006     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12007   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12008   ac_status=$?
12009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010   test $ac_status = 0; }; then
12011   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12012                       test "x$?" != "x0" && pkg_failed=yes
12013 else
12014   pkg_failed=yes
12015 fi
12016  else
12017     pkg_failed=untried
12018 fi
12019 if test -n "$GIO_LIBS"; then
12020     pkg_cv_GIO_LIBS="$GIO_LIBS"
12021  elif test -n "$PKG_CONFIG"; then
12022     if test -n "$PKG_CONFIG" && \
12023     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12024   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12025   ac_status=$?
12026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027   test $ac_status = 0; }; then
12028   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12029                       test "x$?" != "x0" && pkg_failed=yes
12030 else
12031   pkg_failed=yes
12032 fi
12033  else
12034     pkg_failed=untried
12035 fi
12036
12037
12038
12039 if test $pkg_failed = yes; then
12040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12042
12043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044         _pkg_short_errors_supported=yes
12045 else
12046         _pkg_short_errors_supported=no
12047 fi
12048         if test $_pkg_short_errors_supported = yes; then
12049                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12050         else
12051                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12052         fi
12053         # Put the nasty error message in config.log where it belongs
12054         echo "$GIO_PKG_ERRORS" >&5
12055
12056         as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12057
12058 $GIO_PKG_ERRORS
12059
12060 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12061 installed software in a non-standard prefix.
12062
12063 Alternatively, you may set the environment variables GIO_CFLAGS
12064 and GIO_LIBS to avoid the need to call pkg-config.
12065 See the pkg-config man page for more details." "$LINENO" 5
12066 elif test $pkg_failed = untried; then
12067         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12069         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12071 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12072 is in your PATH or set the PKG_CONFIG environment variable to the full
12073 path to pkg-config.
12074
12075 Alternatively, you may set the environment variables GIO_CFLAGS
12076 and GIO_LIBS to avoid the need to call pkg-config.
12077 See the pkg-config man page for more details.
12078
12079 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12080 See \`config.log' for more details" "$LINENO" 5; }
12081 else
12082         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12083         GIO_LIBS=$pkg_cv_GIO_LIBS
12084         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12085 $as_echo "yes" >&6; }
12086
12087 fi
12088
12089 pkg_failed=no
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
12091 $as_echo_n "checking for GSSDP... " >&6; }
12092
12093 if test -n "$GSSDP_CFLAGS"; then
12094     pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
12095  elif test -n "$PKG_CONFIG"; then
12096     if test -n "$PKG_CONFIG" && \
12097     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12098   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12099   ac_status=$?
12100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12101   test $ac_status = 0; }; then
12102   pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12103                       test "x$?" != "x0" && pkg_failed=yes
12104 else
12105   pkg_failed=yes
12106 fi
12107  else
12108     pkg_failed=untried
12109 fi
12110 if test -n "$GSSDP_LIBS"; then
12111     pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
12112  elif test -n "$PKG_CONFIG"; then
12113     if test -n "$PKG_CONFIG" && \
12114     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12115   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12116   ac_status=$?
12117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12118   test $ac_status = 0; }; then
12119   pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12120                       test "x$?" != "x0" && pkg_failed=yes
12121 else
12122   pkg_failed=yes
12123 fi
12124  else
12125     pkg_failed=untried
12126 fi
12127
12128
12129
12130 if test $pkg_failed = yes; then
12131         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 $as_echo "no" >&6; }
12133
12134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12135         _pkg_short_errors_supported=yes
12136 else
12137         _pkg_short_errors_supported=no
12138 fi
12139         if test $_pkg_short_errors_supported = yes; then
12140                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12141         else
12142                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12143         fi
12144         # Put the nasty error message in config.log where it belongs
12145         echo "$GSSDP_PKG_ERRORS" >&5
12146
12147         as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.2) were not met:
12148
12149 $GSSDP_PKG_ERRORS
12150
12151 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12152 installed software in a non-standard prefix.
12153
12154 Alternatively, you may set the environment variables GSSDP_CFLAGS
12155 and GSSDP_LIBS to avoid the need to call pkg-config.
12156 See the pkg-config man page for more details." "$LINENO" 5
12157 elif test $pkg_failed = untried; then
12158         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159 $as_echo "no" >&6; }
12160         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12162 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12163 is in your PATH or set the PKG_CONFIG environment variable to the full
12164 path to pkg-config.
12165
12166 Alternatively, you may set the environment variables GSSDP_CFLAGS
12167 and GSSDP_LIBS to avoid the need to call pkg-config.
12168 See the pkg-config man page for more details.
12169
12170 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12171 See \`config.log' for more details" "$LINENO" 5; }
12172 else
12173         GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
12174         GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
12175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12176 $as_echo "yes" >&6; }
12177
12178 fi
12179
12180 pkg_failed=no
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12182 $as_echo_n "checking for GUPNP... " >&6; }
12183
12184 if test -n "$GUPNP_CFLAGS"; then
12185     pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12186  elif test -n "$PKG_CONFIG"; then
12187     if test -n "$PKG_CONFIG" && \
12188     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.5\""; } >&5
12189   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.5") 2>&5
12190   ac_status=$?
12191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12192   test $ac_status = 0; }; then
12193   pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.20.5" 2>/dev/null`
12194                       test "x$?" != "x0" && pkg_failed=yes
12195 else
12196   pkg_failed=yes
12197 fi
12198  else
12199     pkg_failed=untried
12200 fi
12201 if test -n "$GUPNP_LIBS"; then
12202     pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12203  elif test -n "$PKG_CONFIG"; then
12204     if test -n "$PKG_CONFIG" && \
12205     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.5\""; } >&5
12206   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.5") 2>&5
12207   ac_status=$?
12208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12209   test $ac_status = 0; }; then
12210   pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.20.5" 2>/dev/null`
12211                       test "x$?" != "x0" && pkg_failed=yes
12212 else
12213   pkg_failed=yes
12214 fi
12215  else
12216     pkg_failed=untried
12217 fi
12218
12219
12220
12221 if test $pkg_failed = yes; then
12222         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12224
12225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12226         _pkg_short_errors_supported=yes
12227 else
12228         _pkg_short_errors_supported=no
12229 fi
12230         if test $_pkg_short_errors_supported = yes; then
12231                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.20.5" 2>&1`
12232         else
12233                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.20.5" 2>&1`
12234         fi
12235         # Put the nasty error message in config.log where it belongs
12236         echo "$GUPNP_PKG_ERRORS" >&5
12237
12238         as_fn_error $? "Package requirements (gupnp-1.0 >= 0.20.5) were not met:
12239
12240 $GUPNP_PKG_ERRORS
12241
12242 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12243 installed software in a non-standard prefix.
12244
12245 Alternatively, you may set the environment variables GUPNP_CFLAGS
12246 and GUPNP_LIBS to avoid the need to call pkg-config.
12247 See the pkg-config man page for more details." "$LINENO" 5
12248 elif test $pkg_failed = untried; then
12249         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250 $as_echo "no" >&6; }
12251         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12253 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12254 is in your PATH or set the PKG_CONFIG environment variable to the full
12255 path to pkg-config.
12256
12257 Alternatively, you may set the environment variables GUPNP_CFLAGS
12258 and GUPNP_LIBS to avoid the need to call pkg-config.
12259 See the pkg-config man page for more details.
12260
12261 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12262 See \`config.log' for more details" "$LINENO" 5; }
12263 else
12264         GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12265         GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12266         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12267 $as_echo "yes" >&6; }
12268
12269 fi
12270
12271 pkg_failed=no
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
12273 $as_echo_n "checking for GUPNPAV... " >&6; }
12274
12275 if test -n "$GUPNPAV_CFLAGS"; then
12276     pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
12277  elif test -n "$PKG_CONFIG"; then
12278     if test -n "$PKG_CONFIG" && \
12279     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12280   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12281   ac_status=$?
12282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12283   test $ac_status = 0; }; then
12284   pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12285                       test "x$?" != "x0" && pkg_failed=yes
12286 else
12287   pkg_failed=yes
12288 fi
12289  else
12290     pkg_failed=untried
12291 fi
12292 if test -n "$GUPNPAV_LIBS"; then
12293     pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
12294  elif test -n "$PKG_CONFIG"; then
12295     if test -n "$PKG_CONFIG" && \
12296     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12297   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12298   ac_status=$?
12299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12300   test $ac_status = 0; }; then
12301   pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12302                       test "x$?" != "x0" && pkg_failed=yes
12303 else
12304   pkg_failed=yes
12305 fi
12306  else
12307     pkg_failed=untried
12308 fi
12309
12310
12311
12312 if test $pkg_failed = yes; then
12313         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12315
12316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12317         _pkg_short_errors_supported=yes
12318 else
12319         _pkg_short_errors_supported=no
12320 fi
12321         if test $_pkg_short_errors_supported = yes; then
12322                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12323         else
12324                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12325         fi
12326         # Put the nasty error message in config.log where it belongs
12327         echo "$GUPNPAV_PKG_ERRORS" >&5
12328
12329         as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.5) were not met:
12330
12331 $GUPNPAV_PKG_ERRORS
12332
12333 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12334 installed software in a non-standard prefix.
12335
12336 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12337 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12338 See the pkg-config man page for more details." "$LINENO" 5
12339 elif test $pkg_failed = untried; then
12340         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12341 $as_echo "no" >&6; }
12342         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12344 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12345 is in your PATH or set the PKG_CONFIG environment variable to the full
12346 path to pkg-config.
12347
12348 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12349 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12350 See the pkg-config man page for more details.
12351
12352 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12353 See \`config.log' for more details" "$LINENO" 5; }
12354 else
12355         GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
12356         GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
12357         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12358 $as_echo "yes" >&6; }
12359
12360 fi
12361
12362 pkg_failed=no
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPDLNA" >&5
12364 $as_echo_n "checking for GUPNPDLNA... " >&6; }
12365
12366 if test -n "$GUPNPDLNA_CFLAGS"; then
12367     pkg_cv_GUPNPDLNA_CFLAGS="$GUPNPDLNA_CFLAGS"
12368  elif test -n "$PKG_CONFIG"; then
12369     if test -n "$PKG_CONFIG" && \
12370     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12371   ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12372   ac_status=$?
12373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12374   test $ac_status = 0; }; then
12375   pkg_cv_GUPNPDLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12376                       test "x$?" != "x0" && pkg_failed=yes
12377 else
12378   pkg_failed=yes
12379 fi
12380  else
12381     pkg_failed=untried
12382 fi
12383 if test -n "$GUPNPDLNA_LIBS"; then
12384     pkg_cv_GUPNPDLNA_LIBS="$GUPNPDLNA_LIBS"
12385  elif test -n "$PKG_CONFIG"; then
12386     if test -n "$PKG_CONFIG" && \
12387     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12388   ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12389   ac_status=$?
12390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12391   test $ac_status = 0; }; then
12392   pkg_cv_GUPNPDLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12393                       test "x$?" != "x0" && pkg_failed=yes
12394 else
12395   pkg_failed=yes
12396 fi
12397  else
12398     pkg_failed=untried
12399 fi
12400
12401
12402
12403 if test $pkg_failed = yes; then
12404         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405 $as_echo "no" >&6; }
12406
12407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12408         _pkg_short_errors_supported=yes
12409 else
12410         _pkg_short_errors_supported=no
12411 fi
12412         if test $_pkg_short_errors_supported = yes; then
12413                 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12414         else
12415                 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12416         fi
12417         # Put the nasty error message in config.log where it belongs
12418         echo "$GUPNPDLNA_PKG_ERRORS" >&5
12419
12420         as_fn_error $? "Package requirements (gupnp-dlna-2.0 >= 0.9.4) were not met:
12421
12422 $GUPNPDLNA_PKG_ERRORS
12423
12424 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12425 installed software in a non-standard prefix.
12426
12427 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12428 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12429 See the pkg-config man page for more details." "$LINENO" 5
12430 elif test $pkg_failed = untried; then
12431         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12433         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12435 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12436 is in your PATH or set the PKG_CONFIG environment variable to the full
12437 path to pkg-config.
12438
12439 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12440 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12441 See the pkg-config man page for more details.
12442
12443 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12444 See \`config.log' for more details" "$LINENO" 5; }
12445 else
12446         GUPNPDLNA_CFLAGS=$pkg_cv_GUPNPDLNA_CFLAGS
12447         GUPNPDLNA_LIBS=$pkg_cv_GUPNPDLNA_LIBS
12448         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12449 $as_echo "yes" >&6; }
12450
12451 fi
12452
12453 pkg_failed=no
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
12455 $as_echo_n "checking for SOUP... " >&6; }
12456
12457 if test -n "$SOUP_CFLAGS"; then
12458     pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
12459  elif test -n "$PKG_CONFIG"; then
12460     if test -n "$PKG_CONFIG" && \
12461     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12462   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12463   ac_status=$?
12464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12465   test $ac_status = 0; }; then
12466   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12467                       test "x$?" != "x0" && pkg_failed=yes
12468 else
12469   pkg_failed=yes
12470 fi
12471  else
12472     pkg_failed=untried
12473 fi
12474 if test -n "$SOUP_LIBS"; then
12475     pkg_cv_SOUP_LIBS="$SOUP_LIBS"
12476  elif test -n "$PKG_CONFIG"; then
12477     if test -n "$PKG_CONFIG" && \
12478     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12479   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12480   ac_status=$?
12481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12482   test $ac_status = 0; }; then
12483   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12484                       test "x$?" != "x0" && pkg_failed=yes
12485 else
12486   pkg_failed=yes
12487 fi
12488  else
12489     pkg_failed=untried
12490 fi
12491
12492
12493
12494 if test $pkg_failed = yes; then
12495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 $as_echo "no" >&6; }
12497
12498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12499         _pkg_short_errors_supported=yes
12500 else
12501         _pkg_short_errors_supported=no
12502 fi
12503         if test $_pkg_short_errors_supported = yes; then
12504                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12505         else
12506                 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12507         fi
12508         # Put the nasty error message in config.log where it belongs
12509         echo "$SOUP_PKG_ERRORS" >&5
12510
12511         as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
12512
12513 $SOUP_PKG_ERRORS
12514
12515 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12516 installed software in a non-standard prefix.
12517
12518 Alternatively, you may set the environment variables SOUP_CFLAGS
12519 and SOUP_LIBS to avoid the need to call pkg-config.
12520 See the pkg-config man page for more details." "$LINENO" 5
12521 elif test $pkg_failed = untried; then
12522         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12523 $as_echo "no" >&6; }
12524         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12526 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12527 is in your PATH or set the PKG_CONFIG environment variable to the full
12528 path to pkg-config.
12529
12530 Alternatively, you may set the environment variables SOUP_CFLAGS
12531 and SOUP_LIBS to avoid the need to call pkg-config.
12532 See the pkg-config man page for more details.
12533
12534 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12535 See \`config.log' for more details" "$LINENO" 5; }
12536 else
12537         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
12538         SOUP_LIBS=$pkg_cv_SOUP_LIBS
12539         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12540 $as_echo "yes" >&6; }
12541
12542 fi
12543
12544 # Checks for header files.
12545 for ac_header in stdlib.h string.h syslog.h
12546 do :
12547   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12548 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12550   cat >>confdefs.h <<_ACEOF
12551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12552 _ACEOF
12553
12554 fi
12555
12556 done
12557
12558
12559 # Checks for typedefs, structures, and compiler characteristics.
12560 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12561 case $ac_cv_c_uint8_t in #(
12562   no|yes) ;; #(
12563   *)
12564
12565 $as_echo "#define _UINT8_T 1" >>confdefs.h
12566
12567
12568 cat >>confdefs.h <<_ACEOF
12569 #define uint8_t $ac_cv_c_uint8_t
12570 _ACEOF
12571 ;;
12572   esac
12573
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12575 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12576 if ${ac_cv_header_stdbool_h+:} false; then :
12577   $as_echo_n "(cached) " >&6
12578 else
12579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h.  */
12581
12582              #include <stdbool.h>
12583              #ifndef bool
12584               "error: bool is not defined"
12585              #endif
12586              #ifndef false
12587               "error: false is not defined"
12588              #endif
12589              #if false
12590               "error: false is not 0"
12591              #endif
12592              #ifndef true
12593               "error: true is not defined"
12594              #endif
12595              #if true != 1
12596               "error: true is not 1"
12597              #endif
12598              #ifndef __bool_true_false_are_defined
12599               "error: __bool_true_false_are_defined is not defined"
12600              #endif
12601
12602              struct s { _Bool s: 1; _Bool t; } s;
12603
12604              char a[true == 1 ? 1 : -1];
12605              char b[false == 0 ? 1 : -1];
12606              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12607              char d[(bool) 0.5 == true ? 1 : -1];
12608              /* See body of main program for 'e'.  */
12609              char f[(_Bool) 0.0 == false ? 1 : -1];
12610              char g[true];
12611              char h[sizeof (_Bool)];
12612              char i[sizeof s.t];
12613              enum { j = false, k = true, l = false * true, m = true * 256 };
12614              /* The following fails for
12615                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12616              _Bool n[m];
12617              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12618              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12619              /* Catch a bug in an HP-UX C compiler.  See
12620                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12621                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12622               */
12623              _Bool q = true;
12624              _Bool *pq = &q;
12625
12626 int
12627 main ()
12628 {
12629
12630              bool e = &s;
12631              *pq |= q;
12632              *pq |= ! q;
12633              /* Refer to every declared value, to avoid compiler optimizations.  */
12634              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12635                      + !m + !n + !o + !p + !q + !pq);
12636
12637   ;
12638   return 0;
12639 }
12640 _ACEOF
12641 if ac_fn_c_try_compile "$LINENO"; then :
12642   ac_cv_header_stdbool_h=yes
12643 else
12644   ac_cv_header_stdbool_h=no
12645 fi
12646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12647 fi
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12649 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12650    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12651 if test "x$ac_cv_type__Bool" = xyes; then :
12652
12653 cat >>confdefs.h <<_ACEOF
12654 #define HAVE__BOOL 1
12655 _ACEOF
12656
12657
12658 fi
12659
12660
12661 if test $ac_cv_header_stdbool_h = yes; then
12662
12663 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12664
12665 fi
12666
12667 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12668 if test "x$ac_cv_type_size_t" = xyes; then :
12669
12670 else
12671
12672 cat >>confdefs.h <<_ACEOF
12673 #define size_t unsigned int
12674 _ACEOF
12675
12676 fi
12677
12678
12679 # Checks for library functions.
12680 for ac_header in stdlib.h
12681 do :
12682   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12683 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12684   cat >>confdefs.h <<_ACEOF
12685 #define HAVE_STDLIB_H 1
12686 _ACEOF
12687
12688 fi
12689
12690 done
12691
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12693 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12694 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12695   $as_echo_n "(cached) " >&6
12696 else
12697   if test "$cross_compiling" = yes; then :
12698   ac_cv_func_malloc_0_nonnull=no
12699 else
12700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h.  */
12702 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12703 # include <stdlib.h>
12704 #else
12705 char *malloc ();
12706 #endif
12707
12708 int
12709 main ()
12710 {
12711 return ! malloc (0);
12712   ;
12713   return 0;
12714 }
12715 _ACEOF
12716 if ac_fn_c_try_run "$LINENO"; then :
12717   ac_cv_func_malloc_0_nonnull=yes
12718 else
12719   ac_cv_func_malloc_0_nonnull=no
12720 fi
12721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12722   conftest.$ac_objext conftest.beam conftest.$ac_ext
12723 fi
12724
12725 fi
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12727 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12728 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12729
12730 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12731
12732 else
12733   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12734
12735    case " $LIBOBJS " in
12736   *" malloc.$ac_objext "* ) ;;
12737   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12738  ;;
12739 esac
12740
12741
12742 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12743
12744 fi
12745
12746
12747 for ac_header in stdlib.h
12748 do :
12749   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12750 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12751   cat >>confdefs.h <<_ACEOF
12752 #define HAVE_STDLIB_H 1
12753 _ACEOF
12754
12755 fi
12756
12757 done
12758
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12760 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12761 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12762   $as_echo_n "(cached) " >&6
12763 else
12764   if test "$cross_compiling" = yes; then :
12765   ac_cv_func_realloc_0_nonnull=no
12766 else
12767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h.  */
12769 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12770 # include <stdlib.h>
12771 #else
12772 char *realloc ();
12773 #endif
12774
12775 int
12776 main ()
12777 {
12778 return ! realloc (0, 0);
12779   ;
12780   return 0;
12781 }
12782 _ACEOF
12783 if ac_fn_c_try_run "$LINENO"; then :
12784   ac_cv_func_realloc_0_nonnull=yes
12785 else
12786   ac_cv_func_realloc_0_nonnull=no
12787 fi
12788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12789   conftest.$ac_objext conftest.beam conftest.$ac_ext
12790 fi
12791
12792 fi
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12794 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12795 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12796
12797 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12798
12799 else
12800   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12801
12802    case " $LIBOBJS " in
12803   *" realloc.$ac_objext "* ) ;;
12804   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12805  ;;
12806 esac
12807
12808
12809 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12810
12811 fi
12812
12813
12814 for ac_func in memset strchr strrchr strstr
12815 do :
12816   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12819   cat >>confdefs.h <<_ACEOF
12820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12821 _ACEOF
12822
12823 fi
12824 done
12825
12826
12827 # Define Log Level values
12828 LOG_LEVEL_0=0x00
12829 LOG_LEVEL_1=0x01
12830 LOG_LEVEL_2=0x02
12831 LOG_LEVEL_3=0x04
12832 LOG_LEVEL_4=0x08
12833 LOG_LEVEL_5=0x10
12834 LOG_LEVEL_6=0x20
12835 LOG_LEVEL_7=0x13
12836 LOG_LEVEL_8=0x3F
12837
12838
12839 cat >>confdefs.h <<_ACEOF
12840 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12841 _ACEOF
12842
12843
12844 cat >>confdefs.h <<_ACEOF
12845 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12846 _ACEOF
12847
12848
12849 cat >>confdefs.h <<_ACEOF
12850 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12851 _ACEOF
12852
12853
12854 cat >>confdefs.h <<_ACEOF
12855 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12856 _ACEOF
12857
12858
12859 cat >>confdefs.h <<_ACEOF
12860 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12861 _ACEOF
12862
12863
12864 cat >>confdefs.h <<_ACEOF
12865 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12866 _ACEOF
12867
12868
12869 cat >>confdefs.h <<_ACEOF
12870 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12871 _ACEOF
12872
12873
12874 cat >>confdefs.h <<_ACEOF
12875 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12876 _ACEOF
12877
12878
12879 cat >>confdefs.h <<_ACEOF
12880 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12881 _ACEOF
12882
12883
12884 # Check whether --enable-master-build was given.
12885 if test "${enable_master_build+set}" = set; then :
12886   enableval=$enable_master_build;
12887 else
12888   master_build=no
12889 fi
12890
12891
12892 if test "x$master_build" = "xno"; then :
12893
12894 pkg_failed=no
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLEYNA_CORE" >&5
12896 $as_echo_n "checking for DLEYNA_CORE... " >&6; }
12897
12898 if test -n "$DLEYNA_CORE_CFLAGS"; then
12899     pkg_cv_DLEYNA_CORE_CFLAGS="$DLEYNA_CORE_CFLAGS"
12900  elif test -n "$PKG_CONFIG"; then
12901     if test -n "$PKG_CONFIG" && \
12902     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12903   ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12904   ac_status=$?
12905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12906   test $ac_status = 0; }; then
12907   pkg_cv_DLEYNA_CORE_CFLAGS=`$PKG_CONFIG --cflags "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12908                       test "x$?" != "x0" && pkg_failed=yes
12909 else
12910   pkg_failed=yes
12911 fi
12912  else
12913     pkg_failed=untried
12914 fi
12915 if test -n "$DLEYNA_CORE_LIBS"; then
12916     pkg_cv_DLEYNA_CORE_LIBS="$DLEYNA_CORE_LIBS"
12917  elif test -n "$PKG_CONFIG"; then
12918     if test -n "$PKG_CONFIG" && \
12919     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12920   ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12921   ac_status=$?
12922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923   test $ac_status = 0; }; then
12924   pkg_cv_DLEYNA_CORE_LIBS=`$PKG_CONFIG --libs "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12925                       test "x$?" != "x0" && pkg_failed=yes
12926 else
12927   pkg_failed=yes
12928 fi
12929  else
12930     pkg_failed=untried
12931 fi
12932
12933
12934
12935 if test $pkg_failed = yes; then
12936         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12938
12939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12940         _pkg_short_errors_supported=yes
12941 else
12942         _pkg_short_errors_supported=no
12943 fi
12944         if test $_pkg_short_errors_supported = yes; then
12945                 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12946         else
12947                 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12948         fi
12949         # Put the nasty error message in config.log where it belongs
12950         echo "$DLEYNA_CORE_PKG_ERRORS" >&5
12951
12952         as_fn_error $? "Package requirements (dleyna-core-1.0 >= 0.4.0) were not met:
12953
12954 $DLEYNA_CORE_PKG_ERRORS
12955
12956 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12957 installed software in a non-standard prefix.
12958
12959 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12960 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12961 See the pkg-config man page for more details." "$LINENO" 5
12962 elif test $pkg_failed = untried; then
12963         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12965         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12967 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12968 is in your PATH or set the PKG_CONFIG environment variable to the full
12969 path to pkg-config.
12970
12971 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12972 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12973 See the pkg-config man page for more details.
12974
12975 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12976 See \`config.log' for more details" "$LINENO" 5; }
12977 else
12978         DLEYNA_CORE_CFLAGS=$pkg_cv_DLEYNA_CORE_CFLAGS
12979         DLEYNA_CORE_LIBS=$pkg_cv_DLEYNA_CORE_LIBS
12980         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12981 $as_echo "yes" >&6; }
12982
12983 fi
12984 else
12985   this_abs_top_srcdir=`cd "$srcdir" && pwd`;
12986        DLEYNA_CORE_CFLAGS="-I$this_abs_top_srcdir/../dleyna-core";
12987        DLEYNA_CORE_LIBS="-L$this_abs_top_srcdir/../dleyna-core/.libs -ldleyna-core-1.0"
12988
12989 fi
12990
12991 # Check whether --enable-debug was given.
12992 if test "${enable_debug+set}" = set; then :
12993   enableval=$enable_debug;
12994 else
12995   enable_debug=no
12996 fi
12997
12998
12999 case "${enable_debug}" in #(
13000   yes) :
13001     CFLAGS="$CFLAGS -g";
13002
13003 cat >>confdefs.h <<_ACEOF
13004 #define DLEYNA_DEBUG_ENABLED 1
13005 _ACEOF
13006
13007                 ;; #(
13008   no) :
13009      ;; #(
13010   *) :
13011     as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
13012 esac
13013
13014
13015 # Check whether --enable-werror was given.
13016 if test "${enable_werror+set}" = set; then :
13017   enableval=$enable_werror;
13018 else
13019   enable_werror=no
13020 fi
13021
13022
13023 case "${enable_werror}" in #(
13024   yes) :
13025     CFLAGS="$CFLAGS -Werror" ;; #(
13026   no) :
13027      ;; #(
13028   *) :
13029     as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
13030 esac
13031
13032
13033 # Check whether --enable-optimization was given.
13034 if test "${enable_optimization+set}" = set; then :
13035   enableval=$enable_optimization;
13036 else
13037   enable_optimization=yes
13038 fi
13039
13040
13041 case "${enable_optimization}" in #(
13042   yes) :
13043     disable_optimization=no ;; #(
13044   no) :
13045     CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
13046   *) :
13047     as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
13048 esac
13049
13050
13051 # Check whether --enable-never-quit was given.
13052 if test "${enable_never_quit+set}" = set; then :
13053   enableval=$enable_never_quit;
13054 else
13055   enable_never_quit=no
13056 fi
13057
13058
13059 case "${enable_never_quit}" in #(
13060   yes) :
13061     never_quit=true ;; #(
13062   no) :
13063     never_quit=false ;; #(
13064   *) :
13065     as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
13066 esac
13067
13068
13069
13070 # Check whether --with-connector-name was given.
13071 if test "${with_connector_name+set}" = set; then :
13072   withval=$with_connector_name;
13073 else
13074   with_connector_name=dbus
13075 fi
13076
13077
13078
13079
13080 # Check whether --with-log-level was given.
13081 if test "${with_log_level+set}" = set; then :
13082   withval=$with_log_level;
13083 else
13084   with_log_level=7
13085 fi
13086
13087
13088
13089         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
13090 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
13091
13092         old_IFS=${IFS}
13093         IFS=","
13094
13095         log_ok=yes
13096         log_single=no
13097         log_level_count=0
13098         LOG_LEVEL=0
13099         log_array=(0 0 0 0 0 0 0 0 0)
13100
13101         for log_level in ${with_log_level}
13102         do
13103                 IFS=${old_IFS}
13104
13105         case $log_level in #(
13106   [1-6]) :
13107     if test ${log_array[${log_level}]} -ne 0; then :
13108
13109                                         as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
13110
13111 elif test "x${log_single}" = xyes; then :
13112
13113                                         as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
13114
13115 fi
13116                          ;; #(
13117   0|7|8) :
13118     if test ${log_level_count} -ne 0; then :
13119
13120                                         as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
13121
13122 fi
13123                           log_single=yes
13124                          ;; #(
13125   *) :
13126     as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
13127          ;;
13128 esac
13129
13130         log_name=LOG_LEVEL_${log_level}
13131         eval log_value=\$${log_name}
13132         let "LOG_LEVEL |= ${log_value}"
13133
13134
13135                 IFS=","
13136
13137                 let log_level_count++
13138                 let log_array[${log_level}]++
13139         done
13140
13141         IFS=${old_IFS}
13142
13143
13144 cat >>confdefs.h <<_ACEOF
13145 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
13146 _ACEOF
13147
13148
13149         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13150 $as_echo "ok" >&6; }
13151
13152
13153
13154
13155
13156 # Check whether --with-log-type was given.
13157 if test "${with_log_type+set}" = set; then :
13158   withval=$with_log_type;
13159 else
13160   with_log_type=0
13161 fi
13162
13163
13164
13165         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
13166 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
13167
13168         case ${with_log_type} in #(
13169   0|1) :
13170      ;; #(
13171   *) :
13172     as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
13173          ;;
13174 esac
13175
13176         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13177 $as_echo "ok" >&6; }
13178
13179
13180
13181
13182
13183 # Check whether --with-ua-prefix was given.
13184 if test "${with_ua_prefix+set}" = set; then :
13185   withval=$with_ua_prefix; with_ua_prefix = "$withval";
13186 cat >>confdefs.h <<_ACEOF
13187 #define UA_PREFIX "$with_ua_prefix"
13188 _ACEOF
13189
13190 fi
13191
13192
13193
13194 # Check whether --with-dbus_service_dir was given.
13195 if test "${with_dbus_service_dir+set}" = set; then :
13196   withval=$with_dbus_service_dir; with_dbus_service_dir="$withval"
13197 else
13198   with_dbus_service_dir=$datadir/dbus-1/services
13199 fi
13200
13201 DBUS_SERVICE_DIR=$with_dbus_service_dir
13202
13203
13204 # Check whether --enable-lib-only was given.
13205 if test "${enable_lib_only+set}" = set; then :
13206   enableval=$enable_lib_only;
13207 else
13208   enable_lib_only=no
13209 fi
13210
13211
13212  if test "x$enable_lib_only" = "xno"; then
13213   BUILD_SERVER_TRUE=
13214   BUILD_SERVER_FALSE='#'
13215 else
13216   BUILD_SERVER_TRUE='#'
13217   BUILD_SERVER_FALSE=
13218 fi
13219
13220
13221
13222
13223 $as_echo "#define DLEYNA_SERVER_OBJECT \"/com/intel/dLeynaRenderer\"" >>confdefs.h
13224
13225
13226 $as_echo "#define DLEYNA_SERVER_PATH \"/com/intel/dLeynaRenderer/server\"" >>confdefs.h
13227
13228
13229 DLEYNA_SERVER_NAME=com.intel.dleyna-renderer
13230
13231
13232 $as_echo "#define DLEYNA_SERVER_NAME \"com.intel.dleyna-renderer\"" >>confdefs.h
13233
13234
13235 DLEYNA_SERVER_INTERFACE_MANAGER=com.intel.dLeynaRenderer.Manager
13236
13237
13238 $as_echo "#define DLEYNA_SERVER_INTERFACE_MANAGER \"com.intel.dLeynaRenderer.Manager\"" >>confdefs.h
13239
13240
13241 DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE=com.intel.dLeynaRenderer.RendererDevice
13242
13243
13244 $as_echo "#define DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE \"com.intel.dLeynaRenderer.RendererDevice\"" >>confdefs.h
13245
13246
13247 DLEYNA_INTERFACE_PUSH_HOST=com.intel.dLeynaRenderer.PushHost
13248
13249
13250 $as_echo "#define DLEYNA_INTERFACE_PUSH_HOST \"com.intel.dLeynaRenderer.PushHost\"" >>confdefs.h
13251
13252
13253
13254
13255
13256
13257
13258
13259 ac_config_files="$ac_config_files Makefile libdleyna/renderer/Makefile libdleyna/renderer/dleyna-renderer-1.0.pc libdleyna/renderer/dleyna-renderer-service.conf server/dleyna-renderer-service-1.0.pc server/Makefile"
13260
13261
13262 cat >confcache <<\_ACEOF
13263 # This file is a shell script that caches the results of configure
13264 # tests run on this system so they can be shared between configure
13265 # scripts and configure runs, see configure's option --config-cache.
13266 # It is not useful on other systems.  If it contains results you don't
13267 # want to keep, you may remove or edit it.
13268 #
13269 # config.status only pays attention to the cache file if you give it
13270 # the --recheck option to rerun configure.
13271 #
13272 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13273 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13274 # following values.
13275
13276 _ACEOF
13277
13278 # The following way of writing the cache mishandles newlines in values,
13279 # but we know of no workaround that is simple, portable, and efficient.
13280 # So, we kill variables containing newlines.
13281 # Ultrix sh set writes to stderr and can't be redirected directly,
13282 # and sets the high bit in the cache file unless we assign to the vars.
13283 (
13284   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13285     eval ac_val=\$$ac_var
13286     case $ac_val in #(
13287     *${as_nl}*)
13288       case $ac_var in #(
13289       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13290 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13291       esac
13292       case $ac_var in #(
13293       _ | IFS | as_nl) ;; #(
13294       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13295       *) { eval $ac_var=; unset $ac_var;} ;;
13296       esac ;;
13297     esac
13298   done
13299
13300   (set) 2>&1 |
13301     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13302     *${as_nl}ac_space=\ *)
13303       # `set' does not quote correctly, so add quotes: double-quote
13304       # substitution turns \\\\ into \\, and sed turns \\ into \.
13305       sed -n \
13306         "s/'/'\\\\''/g;
13307           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13308       ;; #(
13309     *)
13310       # `set' quotes correctly as required by POSIX, so do not add quotes.
13311       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13312       ;;
13313     esac |
13314     sort
13315 ) |
13316   sed '
13317      /^ac_cv_env_/b end
13318      t clear
13319      :clear
13320      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13321      t end
13322      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13323      :end' >>confcache
13324 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13325   if test -w "$cache_file"; then
13326     if test "x$cache_file" != "x/dev/null"; then
13327       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13328 $as_echo "$as_me: updating cache $cache_file" >&6;}
13329       if test ! -f "$cache_file" || test -h "$cache_file"; then
13330         cat confcache >"$cache_file"
13331       else
13332         case $cache_file in #(
13333         */* | ?:*)
13334           mv -f confcache "$cache_file"$$ &&
13335           mv -f "$cache_file"$$ "$cache_file" ;; #(
13336         *)
13337           mv -f confcache "$cache_file" ;;
13338         esac
13339       fi
13340     fi
13341   else
13342     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13343 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13344   fi
13345 fi
13346 rm -f confcache
13347
13348 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13349 # Let make expand exec_prefix.
13350 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13351
13352 DEFS=-DHAVE_CONFIG_H
13353
13354 ac_libobjs=
13355 ac_ltlibobjs=
13356 U=
13357 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13358   # 1. Remove the extension, and $U if already installed.
13359   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13360   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13361   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13362   #    will be set to the directory where LIBOBJS objects are built.
13363   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13364   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13365 done
13366 LIBOBJS=$ac_libobjs
13367
13368 LTLIBOBJS=$ac_ltlibobjs
13369
13370
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13372 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13373    if test -n "$am_sleep_pid"; then
13374      # Hide warnings about reused PIDs.
13375      wait $am_sleep_pid 2>/dev/null
13376    fi
13377    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13378 $as_echo "done" >&6; }
13379  if test -n "$EXEEXT"; then
13380   am__EXEEXT_TRUE=
13381   am__EXEEXT_FALSE='#'
13382 else
13383   am__EXEEXT_TRUE='#'
13384   am__EXEEXT_FALSE=
13385 fi
13386
13387 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13388   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13390 fi
13391 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13392   as_fn_error $? "conditional \"AMDEP\" was never defined.
13393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13394 fi
13395 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13396   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13398 fi
13399 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13400   as_fn_error $? "conditional \"BUILD_SERVER\" was never defined.
13401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13402 fi
13403
13404 : "${CONFIG_STATUS=./config.status}"
13405 ac_write_fail=0
13406 ac_clean_files_save=$ac_clean_files
13407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13410 as_write_fail=0
13411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13412 #! $SHELL
13413 # Generated by $as_me.
13414 # Run this file to recreate the current configuration.
13415 # Compiler output produced by configure, useful for debugging
13416 # configure, is in config.log if it exists.
13417
13418 debug=false
13419 ac_cs_recheck=false
13420 ac_cs_silent=false
13421
13422 SHELL=\${CONFIG_SHELL-$SHELL}
13423 export SHELL
13424 _ASEOF
13425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13426 ## -------------------- ##
13427 ## M4sh Initialization. ##
13428 ## -------------------- ##
13429
13430 # Be more Bourne compatible
13431 DUALCASE=1; export DUALCASE # for MKS sh
13432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13433   emulate sh
13434   NULLCMD=:
13435   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13436   # is contrary to our usage.  Disable this feature.
13437   alias -g '${1+"$@"}'='"$@"'
13438   setopt NO_GLOB_SUBST
13439 else
13440   case `(set -o) 2>/dev/null` in #(
13441   *posix*) :
13442     set -o posix ;; #(
13443   *) :
13444      ;;
13445 esac
13446 fi
13447
13448
13449 as_nl='
13450 '
13451 export as_nl
13452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13456 # Prefer a ksh shell builtin over an external printf program on Solaris,
13457 # but without wasting forks for bash or zsh.
13458 if test -z "$BASH_VERSION$ZSH_VERSION" \
13459     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13460   as_echo='print -r --'
13461   as_echo_n='print -rn --'
13462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13463   as_echo='printf %s\n'
13464   as_echo_n='printf %s'
13465 else
13466   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13467     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13468     as_echo_n='/usr/ucb/echo -n'
13469   else
13470     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13471     as_echo_n_body='eval
13472       arg=$1;
13473       case $arg in #(
13474       *"$as_nl"*)
13475         expr "X$arg" : "X\\(.*\\)$as_nl";
13476         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13477       esac;
13478       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13479     '
13480     export as_echo_n_body
13481     as_echo_n='sh -c $as_echo_n_body as_echo'
13482   fi
13483   export as_echo_body
13484   as_echo='sh -c $as_echo_body as_echo'
13485 fi
13486
13487 # The user is always right.
13488 if test "${PATH_SEPARATOR+set}" != set; then
13489   PATH_SEPARATOR=:
13490   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13491     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13492       PATH_SEPARATOR=';'
13493   }
13494 fi
13495
13496
13497 # IFS
13498 # We need space, tab and new line, in precisely that order.  Quoting is
13499 # there to prevent editors from complaining about space-tab.
13500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13501 # splitting by setting IFS to empty value.)
13502 IFS=" ""        $as_nl"
13503
13504 # Find who we are.  Look in the path if we contain no directory separator.
13505 as_myself=
13506 case $0 in #((
13507   *[\\/]* ) as_myself=$0 ;;
13508   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13509 for as_dir in $PATH
13510 do
13511   IFS=$as_save_IFS
13512   test -z "$as_dir" && as_dir=.
13513     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13514   done
13515 IFS=$as_save_IFS
13516
13517      ;;
13518 esac
13519 # We did not find ourselves, most probably we were run as `sh COMMAND'
13520 # in which case we are not to be found in the path.
13521 if test "x$as_myself" = x; then
13522   as_myself=$0
13523 fi
13524 if test ! -f "$as_myself"; then
13525   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13526   exit 1
13527 fi
13528
13529 # Unset variables that we do not need and which cause bugs (e.g. in
13530 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13531 # suppresses any "Segmentation fault" message there.  '((' could
13532 # trigger a bug in pdksh 5.2.14.
13533 for as_var in BASH_ENV ENV MAIL MAILPATH
13534 do eval test x\${$as_var+set} = xset \
13535   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13536 done
13537 PS1='$ '
13538 PS2='> '
13539 PS4='+ '
13540
13541 # NLS nuisances.
13542 LC_ALL=C
13543 export LC_ALL
13544 LANGUAGE=C
13545 export LANGUAGE
13546
13547 # CDPATH.
13548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13549
13550
13551 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13552 # ----------------------------------------
13553 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13554 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13555 # script with STATUS, using 1 if that was 0.
13556 as_fn_error ()
13557 {
13558   as_status=$1; test $as_status -eq 0 && as_status=1
13559   if test "$4"; then
13560     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13561     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13562   fi
13563   $as_echo "$as_me: error: $2" >&2
13564   as_fn_exit $as_status
13565 } # as_fn_error
13566
13567
13568 # as_fn_set_status STATUS
13569 # -----------------------
13570 # Set $? to STATUS, without forking.
13571 as_fn_set_status ()
13572 {
13573   return $1
13574 } # as_fn_set_status
13575
13576 # as_fn_exit STATUS
13577 # -----------------
13578 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13579 as_fn_exit ()
13580 {
13581   set +e
13582   as_fn_set_status $1
13583   exit $1
13584 } # as_fn_exit
13585
13586 # as_fn_unset VAR
13587 # ---------------
13588 # Portably unset VAR.
13589 as_fn_unset ()
13590 {
13591   { eval $1=; unset $1;}
13592 }
13593 as_unset=as_fn_unset
13594 # as_fn_append VAR VALUE
13595 # ----------------------
13596 # Append the text in VALUE to the end of the definition contained in VAR. Take
13597 # advantage of any shell optimizations that allow amortized linear growth over
13598 # repeated appends, instead of the typical quadratic growth present in naive
13599 # implementations.
13600 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13601   eval 'as_fn_append ()
13602   {
13603     eval $1+=\$2
13604   }'
13605 else
13606   as_fn_append ()
13607   {
13608     eval $1=\$$1\$2
13609   }
13610 fi # as_fn_append
13611
13612 # as_fn_arith ARG...
13613 # ------------------
13614 # Perform arithmetic evaluation on the ARGs, and store the result in the
13615 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13616 # must be portable across $(()) and expr.
13617 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13618   eval 'as_fn_arith ()
13619   {
13620     as_val=$(( $* ))
13621   }'
13622 else
13623   as_fn_arith ()
13624   {
13625     as_val=`expr "$@" || test $? -eq 1`
13626   }
13627 fi # as_fn_arith
13628
13629
13630 if expr a : '\(a\)' >/dev/null 2>&1 &&
13631    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13632   as_expr=expr
13633 else
13634   as_expr=false
13635 fi
13636
13637 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13638   as_basename=basename
13639 else
13640   as_basename=false
13641 fi
13642
13643 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13644   as_dirname=dirname
13645 else
13646   as_dirname=false
13647 fi
13648
13649 as_me=`$as_basename -- "$0" ||
13650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13651          X"$0" : 'X\(//\)$' \| \
13652          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13653 $as_echo X/"$0" |
13654     sed '/^.*\/\([^/][^/]*\)\/*$/{
13655             s//\1/
13656             q
13657           }
13658           /^X\/\(\/\/\)$/{
13659             s//\1/
13660             q
13661           }
13662           /^X\/\(\/\).*/{
13663             s//\1/
13664             q
13665           }
13666           s/.*/./; q'`
13667
13668 # Avoid depending upon Character Ranges.
13669 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13670 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13671 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13672 as_cr_digits='0123456789'
13673 as_cr_alnum=$as_cr_Letters$as_cr_digits
13674
13675 ECHO_C= ECHO_N= ECHO_T=
13676 case `echo -n x` in #(((((
13677 -n*)
13678   case `echo 'xy\c'` in
13679   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13680   xy)  ECHO_C='\c';;
13681   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13682        ECHO_T=' ';;
13683   esac;;
13684 *)
13685   ECHO_N='-n';;
13686 esac
13687
13688 rm -f conf$$ conf$$.exe conf$$.file
13689 if test -d conf$$.dir; then
13690   rm -f conf$$.dir/conf$$.file
13691 else
13692   rm -f conf$$.dir
13693   mkdir conf$$.dir 2>/dev/null
13694 fi
13695 if (echo >conf$$.file) 2>/dev/null; then
13696   if ln -s conf$$.file conf$$ 2>/dev/null; then
13697     as_ln_s='ln -s'
13698     # ... but there are two gotchas:
13699     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13700     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13701     # In both cases, we have to default to `cp -pR'.
13702     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13703       as_ln_s='cp -pR'
13704   elif ln conf$$.file conf$$ 2>/dev/null; then
13705     as_ln_s=ln
13706   else
13707     as_ln_s='cp -pR'
13708   fi
13709 else
13710   as_ln_s='cp -pR'
13711 fi
13712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13713 rmdir conf$$.dir 2>/dev/null
13714
13715
13716 # as_fn_mkdir_p
13717 # -------------
13718 # Create "$as_dir" as a directory, including parents if necessary.
13719 as_fn_mkdir_p ()
13720 {
13721
13722   case $as_dir in #(
13723   -*) as_dir=./$as_dir;;
13724   esac
13725   test -d "$as_dir" || eval $as_mkdir_p || {
13726     as_dirs=
13727     while :; do
13728       case $as_dir in #(
13729       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13730       *) as_qdir=$as_dir;;
13731       esac
13732       as_dirs="'$as_qdir' $as_dirs"
13733       as_dir=`$as_dirname -- "$as_dir" ||
13734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13735          X"$as_dir" : 'X\(//\)[^/]' \| \
13736          X"$as_dir" : 'X\(//\)$' \| \
13737          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13738 $as_echo X"$as_dir" |
13739     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13740             s//\1/
13741             q
13742           }
13743           /^X\(\/\/\)[^/].*/{
13744             s//\1/
13745             q
13746           }
13747           /^X\(\/\/\)$/{
13748             s//\1/
13749             q
13750           }
13751           /^X\(\/\).*/{
13752             s//\1/
13753             q
13754           }
13755           s/.*/./; q'`
13756       test -d "$as_dir" && break
13757     done
13758     test -z "$as_dirs" || eval "mkdir $as_dirs"
13759   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13760
13761
13762 } # as_fn_mkdir_p
13763 if mkdir -p . 2>/dev/null; then
13764   as_mkdir_p='mkdir -p "$as_dir"'
13765 else
13766   test -d ./-p && rmdir ./-p
13767   as_mkdir_p=false
13768 fi
13769
13770
13771 # as_fn_executable_p FILE
13772 # -----------------------
13773 # Test if FILE is an executable regular file.
13774 as_fn_executable_p ()
13775 {
13776   test -f "$1" && test -x "$1"
13777 } # as_fn_executable_p
13778 as_test_x='test -x'
13779 as_executable_p=as_fn_executable_p
13780
13781 # Sed expression to map a string onto a valid CPP name.
13782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13783
13784 # Sed expression to map a string onto a valid variable name.
13785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13786
13787
13788 exec 6>&1
13789 ## ----------------------------------- ##
13790 ## Main body of $CONFIG_STATUS script. ##
13791 ## ----------------------------------- ##
13792 _ASEOF
13793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13794
13795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13796 # Save the log message, to keep $0 and so on meaningful, and to
13797 # report actual input values of CONFIG_FILES etc. instead of their
13798 # values after options handling.
13799 ac_log="
13800 This file was extended by dleyna-renderer $as_me 0.4.0, which was
13801 generated by GNU Autoconf 2.69.  Invocation command line was
13802
13803   CONFIG_FILES    = $CONFIG_FILES
13804   CONFIG_HEADERS  = $CONFIG_HEADERS
13805   CONFIG_LINKS    = $CONFIG_LINKS
13806   CONFIG_COMMANDS = $CONFIG_COMMANDS
13807   $ $0 $@
13808
13809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13810 "
13811
13812 _ACEOF
13813
13814 case $ac_config_files in *"
13815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13816 esac
13817
13818 case $ac_config_headers in *"
13819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13820 esac
13821
13822
13823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13824 # Files that config.status was made for.
13825 config_files="$ac_config_files"
13826 config_headers="$ac_config_headers"
13827 config_commands="$ac_config_commands"
13828
13829 _ACEOF
13830
13831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13832 ac_cs_usage="\
13833 \`$as_me' instantiates files and other configuration actions
13834 from templates according to the current configuration.  Unless the files
13835 and actions are specified as TAGs, all are instantiated by default.
13836
13837 Usage: $0 [OPTION]... [TAG]...
13838
13839   -h, --help       print this help, then exit
13840   -V, --version    print version number and configuration settings, then exit
13841       --config     print configuration, then exit
13842   -q, --quiet, --silent
13843                    do not print progress messages
13844   -d, --debug      don't remove temporary files
13845       --recheck    update $as_me by reconfiguring in the same conditions
13846       --file=FILE[:TEMPLATE]
13847                    instantiate the configuration file FILE
13848       --header=FILE[:TEMPLATE]
13849                    instantiate the configuration header FILE
13850
13851 Configuration files:
13852 $config_files
13853
13854 Configuration headers:
13855 $config_headers
13856
13857 Configuration commands:
13858 $config_commands
13859
13860 Report bugs to <https://github.com/01org/dleyna-renderer/issues/new>.
13861 dleyna-renderer home page: <https://01.org/dleyna/>."
13862
13863 _ACEOF
13864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13865 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13866 ac_cs_version="\\
13867 dleyna-renderer config.status 0.4.0
13868 configured by $0, generated by GNU Autoconf 2.69,
13869   with options \\"\$ac_cs_config\\"
13870
13871 Copyright (C) 2012 Free Software Foundation, Inc.
13872 This config.status script is free software; the Free Software Foundation
13873 gives unlimited permission to copy, distribute and modify it."
13874
13875 ac_pwd='$ac_pwd'
13876 srcdir='$srcdir'
13877 INSTALL='$INSTALL'
13878 MKDIR_P='$MKDIR_P'
13879 AWK='$AWK'
13880 test -n "\$AWK" || AWK=awk
13881 _ACEOF
13882
13883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13884 # The default lists apply if the user does not specify any file.
13885 ac_need_defaults=:
13886 while test $# != 0
13887 do
13888   case $1 in
13889   --*=?*)
13890     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13891     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13892     ac_shift=:
13893     ;;
13894   --*=)
13895     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13896     ac_optarg=
13897     ac_shift=:
13898     ;;
13899   *)
13900     ac_option=$1
13901     ac_optarg=$2
13902     ac_shift=shift
13903     ;;
13904   esac
13905
13906   case $ac_option in
13907   # Handling of the options.
13908   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13909     ac_cs_recheck=: ;;
13910   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13911     $as_echo "$ac_cs_version"; exit ;;
13912   --config | --confi | --conf | --con | --co | --c )
13913     $as_echo "$ac_cs_config"; exit ;;
13914   --debug | --debu | --deb | --de | --d | -d )
13915     debug=: ;;
13916   --file | --fil | --fi | --f )
13917     $ac_shift
13918     case $ac_optarg in
13919     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13920     '') as_fn_error $? "missing file argument" ;;
13921     esac
13922     as_fn_append CONFIG_FILES " '$ac_optarg'"
13923     ac_need_defaults=false;;
13924   --header | --heade | --head | --hea )
13925     $ac_shift
13926     case $ac_optarg in
13927     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13928     esac
13929     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13930     ac_need_defaults=false;;
13931   --he | --h)
13932     # Conflict between --help and --header
13933     as_fn_error $? "ambiguous option: \`$1'
13934 Try \`$0 --help' for more information.";;
13935   --help | --hel | -h )
13936     $as_echo "$ac_cs_usage"; exit ;;
13937   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13938   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13939     ac_cs_silent=: ;;
13940
13941   # This is an error.
13942   -*) as_fn_error $? "unrecognized option: \`$1'
13943 Try \`$0 --help' for more information." ;;
13944
13945   *) as_fn_append ac_config_targets " $1"
13946      ac_need_defaults=false ;;
13947
13948   esac
13949   shift
13950 done
13951
13952 ac_configure_extra_args=
13953
13954 if $ac_cs_silent; then
13955   exec 6>/dev/null
13956   ac_configure_extra_args="$ac_configure_extra_args --silent"
13957 fi
13958
13959 _ACEOF
13960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13961 if \$ac_cs_recheck; then
13962   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13963   shift
13964   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13965   CONFIG_SHELL='$SHELL'
13966   export CONFIG_SHELL
13967   exec "\$@"
13968 fi
13969
13970 _ACEOF
13971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13972 exec 5>>config.log
13973 {
13974   echo
13975   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13976 ## Running $as_me. ##
13977 _ASBOX
13978   $as_echo "$ac_log"
13979 } >&5
13980
13981 _ACEOF
13982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13983 #
13984 # INIT-COMMANDS
13985 #
13986 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13987
13988
13989 # The HP-UX ksh and POSIX shell print the target directory to stdout
13990 # if CDPATH is set.
13991 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13992
13993 sed_quote_subst='$sed_quote_subst'
13994 double_quote_subst='$double_quote_subst'
13995 delay_variable_subst='$delay_variable_subst'
13996 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13997 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13998 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13999 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14000 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14001 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14002 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14003 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14004 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14005 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14006 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14007 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14008 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14009 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14010 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14011 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14012 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14013 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14014 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14015 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14016 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14017 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14018 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14019 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14020 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14021 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14022 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14023 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14024 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14025 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14026 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14027 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14028 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14029 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14030 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14031 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14032 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14033 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14034 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14035 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14036 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14037 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14038 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14039 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14040 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14041 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14042 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14043 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14044 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14045 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14046 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14047 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14048 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14049 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14050 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14051 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14052 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"`'
14053 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14054 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14055 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14056 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14057 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14058 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14059 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14060 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14061 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14062 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14063 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14064 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14065 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14066 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14067 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14068 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14069 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14070 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14071 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14072 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14073 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14074 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14075 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14076 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14077 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14078 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14079 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14080 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14081 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14082 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14083 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14084 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14085 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14086 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14087 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14088 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14089 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14090 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14091 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14092 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14093 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14094 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14095 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14096 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14097 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14098 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14099 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14100 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14101 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14102 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14103 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14104 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14105 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14106 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14107 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14108 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14109 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14110 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14111 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14112 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14113 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14114 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14115 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14116 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14117 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14118 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14119 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14120 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14121 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14122 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14123 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14124 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14125 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14126
14127 LTCC='$LTCC'
14128 LTCFLAGS='$LTCFLAGS'
14129 compiler='$compiler_DEFAULT'
14130
14131 # A function that is used when there is no print builtin or printf.
14132 func_fallback_echo ()
14133 {
14134   eval 'cat <<_LTECHO_EOF
14135 \$1
14136 _LTECHO_EOF'
14137 }
14138
14139 # Quote evaled strings.
14140 for var in SHELL \
14141 ECHO \
14142 PATH_SEPARATOR \
14143 SED \
14144 GREP \
14145 EGREP \
14146 FGREP \
14147 LD \
14148 NM \
14149 LN_S \
14150 lt_SP2NL \
14151 lt_NL2SP \
14152 reload_flag \
14153 OBJDUMP \
14154 deplibs_check_method \
14155 file_magic_cmd \
14156 file_magic_glob \
14157 want_nocaseglob \
14158 DLLTOOL \
14159 sharedlib_from_linklib_cmd \
14160 AR \
14161 AR_FLAGS \
14162 archiver_list_spec \
14163 STRIP \
14164 RANLIB \
14165 CC \
14166 CFLAGS \
14167 compiler \
14168 lt_cv_sys_global_symbol_pipe \
14169 lt_cv_sys_global_symbol_to_cdecl \
14170 lt_cv_sys_global_symbol_to_c_name_address \
14171 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14172 nm_file_list_spec \
14173 lt_prog_compiler_no_builtin_flag \
14174 lt_prog_compiler_pic \
14175 lt_prog_compiler_wl \
14176 lt_prog_compiler_static \
14177 lt_cv_prog_compiler_c_o \
14178 need_locks \
14179 MANIFEST_TOOL \
14180 DSYMUTIL \
14181 NMEDIT \
14182 LIPO \
14183 OTOOL \
14184 OTOOL64 \
14185 shrext_cmds \
14186 export_dynamic_flag_spec \
14187 whole_archive_flag_spec \
14188 compiler_needs_object \
14189 with_gnu_ld \
14190 allow_undefined_flag \
14191 no_undefined_flag \
14192 hardcode_libdir_flag_spec \
14193 hardcode_libdir_separator \
14194 exclude_expsyms \
14195 include_expsyms \
14196 file_list_spec \
14197 variables_saved_for_relink \
14198 libname_spec \
14199 library_names_spec \
14200 soname_spec \
14201 install_override_mode \
14202 finish_eval \
14203 old_striplib \
14204 striplib; do
14205     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14206     *[\\\\\\\`\\"\\\$]*)
14207       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14208       ;;
14209     *)
14210       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14211       ;;
14212     esac
14213 done
14214
14215 # Double-quote double-evaled strings.
14216 for var in reload_cmds \
14217 old_postinstall_cmds \
14218 old_postuninstall_cmds \
14219 old_archive_cmds \
14220 extract_expsyms_cmds \
14221 old_archive_from_new_cmds \
14222 old_archive_from_expsyms_cmds \
14223 archive_cmds \
14224 archive_expsym_cmds \
14225 module_cmds \
14226 module_expsym_cmds \
14227 export_symbols_cmds \
14228 prelink_cmds \
14229 postlink_cmds \
14230 postinstall_cmds \
14231 postuninstall_cmds \
14232 finish_cmds \
14233 sys_lib_search_path_spec \
14234 sys_lib_dlsearch_path_spec; do
14235     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14236     *[\\\\\\\`\\"\\\$]*)
14237       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14238       ;;
14239     *)
14240       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14241       ;;
14242     esac
14243 done
14244
14245 ac_aux_dir='$ac_aux_dir'
14246 xsi_shell='$xsi_shell'
14247 lt_shell_append='$lt_shell_append'
14248
14249 # See if we are running on zsh, and set the options which allow our
14250 # commands through without removal of \ escapes INIT.
14251 if test -n "\${ZSH_VERSION+set}" ; then
14252    setopt NO_GLOB_SUBST
14253 fi
14254
14255
14256     PACKAGE='$PACKAGE'
14257     VERSION='$VERSION'
14258     TIMESTAMP='$TIMESTAMP'
14259     RM='$RM'
14260     ofile='$ofile'
14261
14262
14263
14264
14265 _ACEOF
14266
14267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14268
14269 # Handling of arguments.
14270 for ac_config_target in $ac_config_targets
14271 do
14272   case $ac_config_target in
14273     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14274     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14275     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14276     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14277     "libdleyna/renderer/Makefile") CONFIG_FILES="$CONFIG_FILES libdleyna/renderer/Makefile" ;;
14278     "libdleyna/renderer/dleyna-renderer-1.0.pc") CONFIG_FILES="$CONFIG_FILES libdleyna/renderer/dleyna-renderer-1.0.pc" ;;
14279     "libdleyna/renderer/dleyna-renderer-service.conf") CONFIG_FILES="$CONFIG_FILES libdleyna/renderer/dleyna-renderer-service.conf" ;;
14280     "server/dleyna-renderer-service-1.0.pc") CONFIG_FILES="$CONFIG_FILES server/dleyna-renderer-service-1.0.pc" ;;
14281     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14282
14283   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14284   esac
14285 done
14286
14287
14288 # If the user did not use the arguments to specify the items to instantiate,
14289 # then the envvar interface is used.  Set only those that are not.
14290 # We use the long form for the default assignment because of an extremely
14291 # bizarre bug on SunOS 4.1.3.
14292 if $ac_need_defaults; then
14293   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14294   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14295   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14296 fi
14297
14298 # Have a temporary directory for convenience.  Make it in the build tree
14299 # simply because there is no reason against having it here, and in addition,
14300 # creating and moving files from /tmp can sometimes cause problems.
14301 # Hook for its removal unless debugging.
14302 # Note that there is a small window in which the directory will not be cleaned:
14303 # after its creation but before its name has been assigned to `$tmp'.
14304 $debug ||
14305 {
14306   tmp= ac_tmp=
14307   trap 'exit_status=$?
14308   : "${ac_tmp:=$tmp}"
14309   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14310 ' 0
14311   trap 'as_fn_exit 1' 1 2 13 15
14312 }
14313 # Create a (secure) tmp directory for tmp files.
14314
14315 {
14316   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14317   test -d "$tmp"
14318 }  ||
14319 {
14320   tmp=./conf$$-$RANDOM
14321   (umask 077 && mkdir "$tmp")
14322 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14323 ac_tmp=$tmp
14324
14325 # Set up the scripts for CONFIG_FILES section.
14326 # No need to generate them if there are no CONFIG_FILES.
14327 # This happens for instance with `./config.status config.h'.
14328 if test -n "$CONFIG_FILES"; then
14329
14330
14331 ac_cr=`echo X | tr X '\015'`
14332 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14333 # But we know of no other shell where ac_cr would be empty at this
14334 # point, so we can use a bashism as a fallback.
14335 if test "x$ac_cr" = x; then
14336   eval ac_cr=\$\'\\r\'
14337 fi
14338 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14339 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14340   ac_cs_awk_cr='\\r'
14341 else
14342   ac_cs_awk_cr=$ac_cr
14343 fi
14344
14345 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14346 _ACEOF
14347
14348
14349 {
14350   echo "cat >conf$$subs.awk <<_ACEOF" &&
14351   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14352   echo "_ACEOF"
14353 } >conf$$subs.sh ||
14354   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14355 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14356 ac_delim='%!_!# '
14357 for ac_last_try in false false false false false :; do
14358   . ./conf$$subs.sh ||
14359     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14360
14361   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14362   if test $ac_delim_n = $ac_delim_num; then
14363     break
14364   elif $ac_last_try; then
14365     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14366   else
14367     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14368   fi
14369 done
14370 rm -f conf$$subs.sh
14371
14372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14373 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14374 _ACEOF
14375 sed -n '
14376 h
14377 s/^/S["/; s/!.*/"]=/
14378 p
14379 g
14380 s/^[^!]*!//
14381 :repl
14382 t repl
14383 s/'"$ac_delim"'$//
14384 t delim
14385 :nl
14386 h
14387 s/\(.\{148\}\)..*/\1/
14388 t more1
14389 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14390 p
14391 n
14392 b repl
14393 :more1
14394 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14395 p
14396 g
14397 s/.\{148\}//
14398 t nl
14399 :delim
14400 h
14401 s/\(.\{148\}\)..*/\1/
14402 t more2
14403 s/["\\]/\\&/g; s/^/"/; s/$/"/
14404 p
14405 b
14406 :more2
14407 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14408 p
14409 g
14410 s/.\{148\}//
14411 t delim
14412 ' <conf$$subs.awk | sed '
14413 /^[^""]/{
14414   N
14415   s/\n//
14416 }
14417 ' >>$CONFIG_STATUS || ac_write_fail=1
14418 rm -f conf$$subs.awk
14419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14420 _ACAWK
14421 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14422   for (key in S) S_is_set[key] = 1
14423   FS = "\a"
14424
14425 }
14426 {
14427   line = $ 0
14428   nfields = split(line, field, "@")
14429   substed = 0
14430   len = length(field[1])
14431   for (i = 2; i < nfields; i++) {
14432     key = field[i]
14433     keylen = length(key)
14434     if (S_is_set[key]) {
14435       value = S[key]
14436       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14437       len += length(value) + length(field[++i])
14438       substed = 1
14439     } else
14440       len += 1 + keylen
14441   }
14442
14443   print line
14444 }
14445
14446 _ACAWK
14447 _ACEOF
14448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14449 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14450   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14451 else
14452   cat
14453 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14454   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14455 _ACEOF
14456
14457 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14458 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14459 # trailing colons and then remove the whole line if VPATH becomes empty
14460 # (actually we leave an empty line to preserve line numbers).
14461 if test "x$srcdir" = x.; then
14462   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14463 h
14464 s///
14465 s/^/:/
14466 s/[      ]*$/:/
14467 s/:\$(srcdir):/:/g
14468 s/:\${srcdir}:/:/g
14469 s/:@srcdir@:/:/g
14470 s/^:*//
14471 s/:*$//
14472 x
14473 s/\(=[   ]*\).*/\1/
14474 G
14475 s/\n//
14476 s/^[^=]*=[       ]*$//
14477 }'
14478 fi
14479
14480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14481 fi # test -n "$CONFIG_FILES"
14482
14483 # Set up the scripts for CONFIG_HEADERS section.
14484 # No need to generate them if there are no CONFIG_HEADERS.
14485 # This happens for instance with `./config.status Makefile'.
14486 if test -n "$CONFIG_HEADERS"; then
14487 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14488 BEGIN {
14489 _ACEOF
14490
14491 # Transform confdefs.h into an awk script `defines.awk', embedded as
14492 # here-document in config.status, that substitutes the proper values into
14493 # config.h.in to produce config.h.
14494
14495 # Create a delimiter string that does not exist in confdefs.h, to ease
14496 # handling of long lines.
14497 ac_delim='%!_!# '
14498 for ac_last_try in false false :; do
14499   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14500   if test -z "$ac_tt"; then
14501     break
14502   elif $ac_last_try; then
14503     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14504   else
14505     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14506   fi
14507 done
14508
14509 # For the awk script, D is an array of macro values keyed by name,
14510 # likewise P contains macro parameters if any.  Preserve backslash
14511 # newline sequences.
14512
14513 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14514 sed -n '
14515 s/.\{148\}/&'"$ac_delim"'/g
14516 t rset
14517 :rset
14518 s/^[     ]*#[    ]*define[       ][      ]*/ /
14519 t def
14520 d
14521 :def
14522 s/\\$//
14523 t bsnl
14524 s/["\\]/\\&/g
14525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14526 D["\1"]=" \3"/p
14527 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14528 d
14529 :bsnl
14530 s/["\\]/\\&/g
14531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14532 D["\1"]=" \3\\\\\\n"\\/p
14533 t cont
14534 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14535 t cont
14536 d
14537 :cont
14538 n
14539 s/.\{148\}/&'"$ac_delim"'/g
14540 t clear
14541 :clear
14542 s/\\$//
14543 t bsnlc
14544 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14545 d
14546 :bsnlc
14547 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14548 b cont
14549 ' <confdefs.h | sed '
14550 s/'"$ac_delim"'/"\\\
14551 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14552
14553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14554   for (key in D) D_is_set[key] = 1
14555   FS = "\a"
14556 }
14557 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14558   line = \$ 0
14559   split(line, arg, " ")
14560   if (arg[1] == "#") {
14561     defundef = arg[2]
14562     mac1 = arg[3]
14563   } else {
14564     defundef = substr(arg[1], 2)
14565     mac1 = arg[2]
14566   }
14567   split(mac1, mac2, "(") #)
14568   macro = mac2[1]
14569   prefix = substr(line, 1, index(line, defundef) - 1)
14570   if (D_is_set[macro]) {
14571     # Preserve the white space surrounding the "#".
14572     print prefix "define", macro P[macro] D[macro]
14573     next
14574   } else {
14575     # Replace #undef with comments.  This is necessary, for example,
14576     # in the case of _POSIX_SOURCE, which is predefined and required
14577     # on some systems where configure will not decide to define it.
14578     if (defundef == "undef") {
14579       print "/*", prefix defundef, macro, "*/"
14580       next
14581     }
14582   }
14583 }
14584 { print }
14585 _ACAWK
14586 _ACEOF
14587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14588   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14589 fi # test -n "$CONFIG_HEADERS"
14590
14591
14592 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14593 shift
14594 for ac_tag
14595 do
14596   case $ac_tag in
14597   :[FHLC]) ac_mode=$ac_tag; continue;;
14598   esac
14599   case $ac_mode$ac_tag in
14600   :[FHL]*:*);;
14601   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14602   :[FH]-) ac_tag=-:-;;
14603   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14604   esac
14605   ac_save_IFS=$IFS
14606   IFS=:
14607   set x $ac_tag
14608   IFS=$ac_save_IFS
14609   shift
14610   ac_file=$1
14611   shift
14612
14613   case $ac_mode in
14614   :L) ac_source=$1;;
14615   :[FH])
14616     ac_file_inputs=
14617     for ac_f
14618     do
14619       case $ac_f in
14620       -) ac_f="$ac_tmp/stdin";;
14621       *) # Look for the file first in the build tree, then in the source tree
14622          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14623          # because $ac_f cannot contain `:'.
14624          test -f "$ac_f" ||
14625            case $ac_f in
14626            [\\/$]*) false;;
14627            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14628            esac ||
14629            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14630       esac
14631       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14632       as_fn_append ac_file_inputs " '$ac_f'"
14633     done
14634
14635     # Let's still pretend it is `configure' which instantiates (i.e., don't
14636     # use $as_me), people would be surprised to read:
14637     #    /* config.h.  Generated by config.status.  */
14638     configure_input='Generated from '`
14639           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14640         `' by configure.'
14641     if test x"$ac_file" != x-; then
14642       configure_input="$ac_file.  $configure_input"
14643       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14644 $as_echo "$as_me: creating $ac_file" >&6;}
14645     fi
14646     # Neutralize special characters interpreted by sed in replacement strings.
14647     case $configure_input in #(
14648     *\&* | *\|* | *\\* )
14649        ac_sed_conf_input=`$as_echo "$configure_input" |
14650        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14651     *) ac_sed_conf_input=$configure_input;;
14652     esac
14653
14654     case $ac_tag in
14655     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14656       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14657     esac
14658     ;;
14659   esac
14660
14661   ac_dir=`$as_dirname -- "$ac_file" ||
14662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14663          X"$ac_file" : 'X\(//\)[^/]' \| \
14664          X"$ac_file" : 'X\(//\)$' \| \
14665          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14666 $as_echo X"$ac_file" |
14667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14668             s//\1/
14669             q
14670           }
14671           /^X\(\/\/\)[^/].*/{
14672             s//\1/
14673             q
14674           }
14675           /^X\(\/\/\)$/{
14676             s//\1/
14677             q
14678           }
14679           /^X\(\/\).*/{
14680             s//\1/
14681             q
14682           }
14683           s/.*/./; q'`
14684   as_dir="$ac_dir"; as_fn_mkdir_p
14685   ac_builddir=.
14686
14687 case "$ac_dir" in
14688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14689 *)
14690   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14691   # A ".." for each directory in $ac_dir_suffix.
14692   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14693   case $ac_top_builddir_sub in
14694   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14695   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14696   esac ;;
14697 esac
14698 ac_abs_top_builddir=$ac_pwd
14699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14700 # for backward compatibility:
14701 ac_top_builddir=$ac_top_build_prefix
14702
14703 case $srcdir in
14704   .)  # We are building in place.
14705     ac_srcdir=.
14706     ac_top_srcdir=$ac_top_builddir_sub
14707     ac_abs_top_srcdir=$ac_pwd ;;
14708   [\\/]* | ?:[\\/]* )  # Absolute name.
14709     ac_srcdir=$srcdir$ac_dir_suffix;
14710     ac_top_srcdir=$srcdir
14711     ac_abs_top_srcdir=$srcdir ;;
14712   *) # Relative name.
14713     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14714     ac_top_srcdir=$ac_top_build_prefix$srcdir
14715     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14716 esac
14717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14718
14719
14720   case $ac_mode in
14721   :F)
14722   #
14723   # CONFIG_FILE
14724   #
14725
14726   case $INSTALL in
14727   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14728   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14729   esac
14730   ac_MKDIR_P=$MKDIR_P
14731   case $MKDIR_P in
14732   [\\/$]* | ?:[\\/]* ) ;;
14733   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14734   esac
14735 _ACEOF
14736
14737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14738 # If the template does not know about datarootdir, expand it.
14739 # FIXME: This hack should be removed a few years after 2.60.
14740 ac_datarootdir_hack=; ac_datarootdir_seen=
14741 ac_sed_dataroot='
14742 /datarootdir/ {
14743   p
14744   q
14745 }
14746 /@datadir@/p
14747 /@docdir@/p
14748 /@infodir@/p
14749 /@localedir@/p
14750 /@mandir@/p'
14751 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14752 *datarootdir*) ac_datarootdir_seen=yes;;
14753 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14754   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14755 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14756 _ACEOF
14757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14758   ac_datarootdir_hack='
14759   s&@datadir@&$datadir&g
14760   s&@docdir@&$docdir&g
14761   s&@infodir@&$infodir&g
14762   s&@localedir@&$localedir&g
14763   s&@mandir@&$mandir&g
14764   s&\\\${datarootdir}&$datarootdir&g' ;;
14765 esac
14766 _ACEOF
14767
14768 # Neutralize VPATH when `$srcdir' = `.'.
14769 # Shell code in configure.ac might set extrasub.
14770 # FIXME: do we really want to maintain this feature?
14771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14772 ac_sed_extra="$ac_vpsub
14773 $extrasub
14774 _ACEOF
14775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14776 :t
14777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14778 s|@configure_input@|$ac_sed_conf_input|;t t
14779 s&@top_builddir@&$ac_top_builddir_sub&;t t
14780 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14781 s&@srcdir@&$ac_srcdir&;t t
14782 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14783 s&@top_srcdir@&$ac_top_srcdir&;t t
14784 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14785 s&@builddir@&$ac_builddir&;t t
14786 s&@abs_builddir@&$ac_abs_builddir&;t t
14787 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14788 s&@INSTALL@&$ac_INSTALL&;t t
14789 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14790 $ac_datarootdir_hack
14791 "
14792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14793   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14794
14795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14796   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14797   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14798       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14799   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14800 which seems to be undefined.  Please make sure it is defined" >&5
14801 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14802 which seems to be undefined.  Please make sure it is defined" >&2;}
14803
14804   rm -f "$ac_tmp/stdin"
14805   case $ac_file in
14806   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14807   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14808   esac \
14809   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14810  ;;
14811   :H)
14812   #
14813   # CONFIG_HEADER
14814   #
14815   if test x"$ac_file" != x-; then
14816     {
14817       $as_echo "/* $configure_input  */" \
14818       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14819     } >"$ac_tmp/config.h" \
14820       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14821     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14822       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14823 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14824     else
14825       rm -f "$ac_file"
14826       mv "$ac_tmp/config.h" "$ac_file" \
14827         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14828     fi
14829   else
14830     $as_echo "/* $configure_input  */" \
14831       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14832       || as_fn_error $? "could not create -" "$LINENO" 5
14833   fi
14834 # Compute "$ac_file"'s index in $config_headers.
14835 _am_arg="$ac_file"
14836 _am_stamp_count=1
14837 for _am_header in $config_headers :; do
14838   case $_am_header in
14839     $_am_arg | $_am_arg:* )
14840       break ;;
14841     * )
14842       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14843   esac
14844 done
14845 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14846 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14847          X"$_am_arg" : 'X\(//\)[^/]' \| \
14848          X"$_am_arg" : 'X\(//\)$' \| \
14849          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14850 $as_echo X"$_am_arg" |
14851     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14852             s//\1/
14853             q
14854           }
14855           /^X\(\/\/\)[^/].*/{
14856             s//\1/
14857             q
14858           }
14859           /^X\(\/\/\)$/{
14860             s//\1/
14861             q
14862           }
14863           /^X\(\/\).*/{
14864             s//\1/
14865             q
14866           }
14867           s/.*/./; q'`/stamp-h$_am_stamp_count
14868  ;;
14869
14870   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14871 $as_echo "$as_me: executing $ac_file commands" >&6;}
14872  ;;
14873   esac
14874
14875
14876   case $ac_file$ac_mode in
14877     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14878   # Older Autoconf quotes --file arguments for eval, but not when files
14879   # are listed without --file.  Let's play safe and only enable the eval
14880   # if we detect the quoting.
14881   case $CONFIG_FILES in
14882   *\'*) eval set x "$CONFIG_FILES" ;;
14883   *)   set x $CONFIG_FILES ;;
14884   esac
14885   shift
14886   for mf
14887   do
14888     # Strip MF so we end up with the name of the file.
14889     mf=`echo "$mf" | sed -e 's/:.*$//'`
14890     # Check whether this is an Automake generated Makefile or not.
14891     # We used to match only the files named 'Makefile.in', but
14892     # some people rename them; so instead we look at the file content.
14893     # Grep'ing the first line is not enough: some people post-process
14894     # each Makefile.in and add a new line on top of each file to say so.
14895     # Grep'ing the whole file is not good either: AIX grep has a line
14896     # limit of 2048, but all sed's we know have understand at least 4000.
14897     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14898       dirpart=`$as_dirname -- "$mf" ||
14899 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14900          X"$mf" : 'X\(//\)[^/]' \| \
14901          X"$mf" : 'X\(//\)$' \| \
14902          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14903 $as_echo X"$mf" |
14904     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14905             s//\1/
14906             q
14907           }
14908           /^X\(\/\/\)[^/].*/{
14909             s//\1/
14910             q
14911           }
14912           /^X\(\/\/\)$/{
14913             s//\1/
14914             q
14915           }
14916           /^X\(\/\).*/{
14917             s//\1/
14918             q
14919           }
14920           s/.*/./; q'`
14921     else
14922       continue
14923     fi
14924     # Extract the definition of DEPDIR, am__include, and am__quote
14925     # from the Makefile without running 'make'.
14926     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14927     test -z "$DEPDIR" && continue
14928     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14929     test -z "$am__include" && continue
14930     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14931     # Find all dependency output files, they are included files with
14932     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14933     # simplest approach to changing $(DEPDIR) to its actual value in the
14934     # expansion.
14935     for file in `sed -n "
14936       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14937          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14938       # Make sure the directory exists.
14939       test -f "$dirpart/$file" && continue
14940       fdir=`$as_dirname -- "$file" ||
14941 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14942          X"$file" : 'X\(//\)[^/]' \| \
14943          X"$file" : 'X\(//\)$' \| \
14944          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14945 $as_echo X"$file" |
14946     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14947             s//\1/
14948             q
14949           }
14950           /^X\(\/\/\)[^/].*/{
14951             s//\1/
14952             q
14953           }
14954           /^X\(\/\/\)$/{
14955             s//\1/
14956             q
14957           }
14958           /^X\(\/\).*/{
14959             s//\1/
14960             q
14961           }
14962           s/.*/./; q'`
14963       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14964       # echo "creating $dirpart/$file"
14965       echo '# dummy' > "$dirpart/$file"
14966     done
14967   done
14968 }
14969  ;;
14970     "libtool":C)
14971
14972     # See if we are running on zsh, and set the options which allow our
14973     # commands through without removal of \ escapes.
14974     if test -n "${ZSH_VERSION+set}" ; then
14975       setopt NO_GLOB_SUBST
14976     fi
14977
14978     cfgfile="${ofile}T"
14979     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14980     $RM "$cfgfile"
14981
14982     cat <<_LT_EOF >> "$cfgfile"
14983 #! $SHELL
14984
14985 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14986 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14987 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14988 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14989 #
14990 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14991 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14992 #                 Foundation, Inc.
14993 #   Written by Gordon Matzigkeit, 1996
14994 #
14995 #   This file is part of GNU Libtool.
14996 #
14997 # GNU Libtool is free software; you can redistribute it and/or
14998 # modify it under the terms of the GNU General Public License as
14999 # published by the Free Software Foundation; either version 2 of
15000 # the License, or (at your option) any later version.
15001 #
15002 # As a special exception to the GNU General Public License,
15003 # if you distribute this file as part of a program or library that
15004 # is built using GNU Libtool, you may include this file under the
15005 # same distribution terms that you use for the rest of that program.
15006 #
15007 # GNU Libtool is distributed in the hope that it will be useful,
15008 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15009 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15010 # GNU General Public License for more details.
15011 #
15012 # You should have received a copy of the GNU General Public License
15013 # along with GNU Libtool; see the file COPYING.  If not, a copy
15014 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15015 # obtained by writing to the Free Software Foundation, Inc.,
15016 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15017
15018
15019 # The names of the tagged configurations supported by this script.
15020 available_tags=""
15021
15022 # ### BEGIN LIBTOOL CONFIG
15023
15024 # Which release of libtool.m4 was used?
15025 macro_version=$macro_version
15026 macro_revision=$macro_revision
15027
15028 # Whether or not to build static libraries.
15029 build_old_libs=$enable_static
15030
15031 # Whether or not to build shared libraries.
15032 build_libtool_libs=$enable_shared
15033
15034 # What type of objects to build.
15035 pic_mode=$pic_mode
15036
15037 # Whether or not to optimize for fast installation.
15038 fast_install=$enable_fast_install
15039
15040 # Shell to use when invoking shell scripts.
15041 SHELL=$lt_SHELL
15042
15043 # An echo program that protects backslashes.
15044 ECHO=$lt_ECHO
15045
15046 # The PATH separator for the build system.
15047 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15048
15049 # The host system.
15050 host_alias=$host_alias
15051 host=$host
15052 host_os=$host_os
15053
15054 # The build system.
15055 build_alias=$build_alias
15056 build=$build
15057 build_os=$build_os
15058
15059 # A sed program that does not truncate output.
15060 SED=$lt_SED
15061
15062 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15063 Xsed="\$SED -e 1s/^X//"
15064
15065 # A grep program that handles long lines.
15066 GREP=$lt_GREP
15067
15068 # An ERE matcher.
15069 EGREP=$lt_EGREP
15070
15071 # A literal string matcher.
15072 FGREP=$lt_FGREP
15073
15074 # A BSD- or MS-compatible name lister.
15075 NM=$lt_NM
15076
15077 # Whether we need soft or hard links.
15078 LN_S=$lt_LN_S
15079
15080 # What is the maximum length of a command?
15081 max_cmd_len=$max_cmd_len
15082
15083 # Object file suffix (normally "o").
15084 objext=$ac_objext
15085
15086 # Executable file suffix (normally "").
15087 exeext=$exeext
15088
15089 # whether the shell understands "unset".
15090 lt_unset=$lt_unset
15091
15092 # turn spaces into newlines.
15093 SP2NL=$lt_lt_SP2NL
15094
15095 # turn newlines into spaces.
15096 NL2SP=$lt_lt_NL2SP
15097
15098 # convert \$build file names to \$host format.
15099 to_host_file_cmd=$lt_cv_to_host_file_cmd
15100
15101 # convert \$build files to toolchain format.
15102 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15103
15104 # An object symbol dumper.
15105 OBJDUMP=$lt_OBJDUMP
15106
15107 # Method to check whether dependent libraries are shared objects.
15108 deplibs_check_method=$lt_deplibs_check_method
15109
15110 # Command to use when deplibs_check_method = "file_magic".
15111 file_magic_cmd=$lt_file_magic_cmd
15112
15113 # How to find potential files when deplibs_check_method = "file_magic".
15114 file_magic_glob=$lt_file_magic_glob
15115
15116 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15117 want_nocaseglob=$lt_want_nocaseglob
15118
15119 # DLL creation program.
15120 DLLTOOL=$lt_DLLTOOL
15121
15122 # Command to associate shared and link libraries.
15123 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15124
15125 # The archiver.
15126 AR=$lt_AR
15127
15128 # Flags to create an archive.
15129 AR_FLAGS=$lt_AR_FLAGS
15130
15131 # How to feed a file listing to the archiver.
15132 archiver_list_spec=$lt_archiver_list_spec
15133
15134 # A symbol stripping program.
15135 STRIP=$lt_STRIP
15136
15137 # Commands used to install an old-style archive.
15138 RANLIB=$lt_RANLIB
15139 old_postinstall_cmds=$lt_old_postinstall_cmds
15140 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15141
15142 # Whether to use a lock for old archive extraction.
15143 lock_old_archive_extraction=$lock_old_archive_extraction
15144
15145 # A C compiler.
15146 LTCC=$lt_CC
15147
15148 # LTCC compiler flags.
15149 LTCFLAGS=$lt_CFLAGS
15150
15151 # Take the output of nm and produce a listing of raw symbols and C names.
15152 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15153
15154 # Transform the output of nm in a proper C declaration.
15155 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15156
15157 # Transform the output of nm in a C name address pair.
15158 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15159
15160 # Transform the output of nm in a C name address pair when lib prefix is needed.
15161 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15162
15163 # Specify filename containing input files for \$NM.
15164 nm_file_list_spec=$lt_nm_file_list_spec
15165
15166 # The root where to search for dependent libraries,and in which our libraries should be installed.
15167 lt_sysroot=$lt_sysroot
15168
15169 # The name of the directory that contains temporary libtool files.
15170 objdir=$objdir
15171
15172 # Used to examine libraries when file_magic_cmd begins with "file".
15173 MAGIC_CMD=$MAGIC_CMD
15174
15175 # Must we lock files when doing compilation?
15176 need_locks=$lt_need_locks
15177
15178 # Manifest tool.
15179 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15180
15181 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15182 DSYMUTIL=$lt_DSYMUTIL
15183
15184 # Tool to change global to local symbols on Mac OS X.
15185 NMEDIT=$lt_NMEDIT
15186
15187 # Tool to manipulate fat objects and archives on Mac OS X.
15188 LIPO=$lt_LIPO
15189
15190 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15191 OTOOL=$lt_OTOOL
15192
15193 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15194 OTOOL64=$lt_OTOOL64
15195
15196 # Old archive suffix (normally "a").
15197 libext=$libext
15198
15199 # Shared library suffix (normally ".so").
15200 shrext_cmds=$lt_shrext_cmds
15201
15202 # The commands to extract the exported symbol list from a shared archive.
15203 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15204
15205 # Variables whose values should be saved in libtool wrapper scripts and
15206 # restored at link time.
15207 variables_saved_for_relink=$lt_variables_saved_for_relink
15208
15209 # Do we need the "lib" prefix for modules?
15210 need_lib_prefix=$need_lib_prefix
15211
15212 # Do we need a version for libraries?
15213 need_version=$need_version
15214
15215 # Library versioning type.
15216 version_type=$version_type
15217
15218 # Shared library runtime path variable.
15219 runpath_var=$runpath_var
15220
15221 # Shared library path variable.
15222 shlibpath_var=$shlibpath_var
15223
15224 # Is shlibpath searched before the hard-coded library search path?
15225 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15226
15227 # Format of library name prefix.
15228 libname_spec=$lt_libname_spec
15229
15230 # List of archive names.  First name is the real one, the rest are links.
15231 # The last name is the one that the linker finds with -lNAME
15232 library_names_spec=$lt_library_names_spec
15233
15234 # The coded name of the library, if different from the real name.
15235 soname_spec=$lt_soname_spec
15236
15237 # Permission mode override for installation of shared libraries.
15238 install_override_mode=$lt_install_override_mode
15239
15240 # Command to use after installation of a shared archive.
15241 postinstall_cmds=$lt_postinstall_cmds
15242
15243 # Command to use after uninstallation of a shared archive.
15244 postuninstall_cmds=$lt_postuninstall_cmds
15245
15246 # Commands used to finish a libtool library installation in a directory.
15247 finish_cmds=$lt_finish_cmds
15248
15249 # As "finish_cmds", except a single script fragment to be evaled but
15250 # not shown.
15251 finish_eval=$lt_finish_eval
15252
15253 # Whether we should hardcode library paths into libraries.
15254 hardcode_into_libs=$hardcode_into_libs
15255
15256 # Compile-time system search path for libraries.
15257 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15258
15259 # Run-time system search path for libraries.
15260 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15261
15262 # Whether dlopen is supported.
15263 dlopen_support=$enable_dlopen
15264
15265 # Whether dlopen of programs is supported.
15266 dlopen_self=$enable_dlopen_self
15267
15268 # Whether dlopen of statically linked programs is supported.
15269 dlopen_self_static=$enable_dlopen_self_static
15270
15271 # Commands to strip libraries.
15272 old_striplib=$lt_old_striplib
15273 striplib=$lt_striplib
15274
15275
15276 # The linker used to build libraries.
15277 LD=$lt_LD
15278
15279 # How to create reloadable object files.
15280 reload_flag=$lt_reload_flag
15281 reload_cmds=$lt_reload_cmds
15282
15283 # Commands used to build an old-style archive.
15284 old_archive_cmds=$lt_old_archive_cmds
15285
15286 # A language specific compiler.
15287 CC=$lt_compiler
15288
15289 # Is the compiler the GNU compiler?
15290 with_gcc=$GCC
15291
15292 # Compiler flag to turn off builtin functions.
15293 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15294
15295 # Additional compiler flags for building library objects.
15296 pic_flag=$lt_lt_prog_compiler_pic
15297
15298 # How to pass a linker flag through the compiler.
15299 wl=$lt_lt_prog_compiler_wl
15300
15301 # Compiler flag to prevent dynamic linking.
15302 link_static_flag=$lt_lt_prog_compiler_static
15303
15304 # Does compiler simultaneously support -c and -o options?
15305 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15306
15307 # Whether or not to add -lc for building shared libraries.
15308 build_libtool_need_lc=$archive_cmds_need_lc
15309
15310 # Whether or not to disallow shared libs when runtime libs are static.
15311 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15312
15313 # Compiler flag to allow reflexive dlopens.
15314 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15315
15316 # Compiler flag to generate shared objects directly from archives.
15317 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15318
15319 # Whether the compiler copes with passing no objects directly.
15320 compiler_needs_object=$lt_compiler_needs_object
15321
15322 # Create an old-style archive from a shared archive.
15323 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15324
15325 # Create a temporary old-style archive to link instead of a shared archive.
15326 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15327
15328 # Commands used to build a shared archive.
15329 archive_cmds=$lt_archive_cmds
15330 archive_expsym_cmds=$lt_archive_expsym_cmds
15331
15332 # Commands used to build a loadable module if different from building
15333 # a shared archive.
15334 module_cmds=$lt_module_cmds
15335 module_expsym_cmds=$lt_module_expsym_cmds
15336
15337 # Whether we are building with GNU ld or not.
15338 with_gnu_ld=$lt_with_gnu_ld
15339
15340 # Flag that allows shared libraries with undefined symbols to be built.
15341 allow_undefined_flag=$lt_allow_undefined_flag
15342
15343 # Flag that enforces no undefined symbols.
15344 no_undefined_flag=$lt_no_undefined_flag
15345
15346 # Flag to hardcode \$libdir into a binary during linking.
15347 # This must work even if \$libdir does not exist
15348 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15349
15350 # Whether we need a single "-rpath" flag with a separated argument.
15351 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15352
15353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15354 # DIR into the resulting binary.
15355 hardcode_direct=$hardcode_direct
15356
15357 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15358 # DIR into the resulting binary and the resulting library dependency is
15359 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15360 # library is relocated.
15361 hardcode_direct_absolute=$hardcode_direct_absolute
15362
15363 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15364 # into the resulting binary.
15365 hardcode_minus_L=$hardcode_minus_L
15366
15367 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15368 # into the resulting binary.
15369 hardcode_shlibpath_var=$hardcode_shlibpath_var
15370
15371 # Set to "yes" if building a shared library automatically hardcodes DIR
15372 # into the library and all subsequent libraries and executables linked
15373 # against it.
15374 hardcode_automatic=$hardcode_automatic
15375
15376 # Set to yes if linker adds runtime paths of dependent libraries
15377 # to runtime path list.
15378 inherit_rpath=$inherit_rpath
15379
15380 # Whether libtool must link a program against all its dependency libraries.
15381 link_all_deplibs=$link_all_deplibs
15382
15383 # Set to "yes" if exported symbols are required.
15384 always_export_symbols=$always_export_symbols
15385
15386 # The commands to list exported symbols.
15387 export_symbols_cmds=$lt_export_symbols_cmds
15388
15389 # Symbols that should not be listed in the preloaded symbols.
15390 exclude_expsyms=$lt_exclude_expsyms
15391
15392 # Symbols that must always be exported.
15393 include_expsyms=$lt_include_expsyms
15394
15395 # Commands necessary for linking programs (against libraries) with templates.
15396 prelink_cmds=$lt_prelink_cmds
15397
15398 # Commands necessary for finishing linking programs.
15399 postlink_cmds=$lt_postlink_cmds
15400
15401 # Specify filename containing input files.
15402 file_list_spec=$lt_file_list_spec
15403
15404 # How to hardcode a shared library path into an executable.
15405 hardcode_action=$hardcode_action
15406
15407 # ### END LIBTOOL CONFIG
15408
15409 _LT_EOF
15410
15411   case $host_os in
15412   aix3*)
15413     cat <<\_LT_EOF >> "$cfgfile"
15414 # AIX sometimes has problems with the GCC collect2 program.  For some
15415 # reason, if we set the COLLECT_NAMES environment variable, the problems
15416 # vanish in a puff of smoke.
15417 if test "X${COLLECT_NAMES+set}" != Xset; then
15418   COLLECT_NAMES=
15419   export COLLECT_NAMES
15420 fi
15421 _LT_EOF
15422     ;;
15423   esac
15424
15425
15426 ltmain="$ac_aux_dir/ltmain.sh"
15427
15428
15429   # We use sed instead of cat because bash on DJGPP gets confused if
15430   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15431   # text mode, it properly converts lines to CR/LF.  This bash problem
15432   # is reportedly fixed, but why not run on old versions too?
15433   sed '$q' "$ltmain" >> "$cfgfile" \
15434      || (rm -f "$cfgfile"; exit 1)
15435
15436   if test x"$xsi_shell" = xyes; then
15437   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15438 func_dirname ()\
15439 {\
15440 \    case ${1} in\
15441 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15442 \      *  ) func_dirname_result="${3}" ;;\
15443 \    esac\
15444 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15445   && mv -f "$cfgfile.tmp" "$cfgfile" \
15446     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15447 test 0 -eq $? || _lt_function_replace_fail=:
15448
15449
15450   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15451 func_basename ()\
15452 {\
15453 \    func_basename_result="${1##*/}"\
15454 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15455   && mv -f "$cfgfile.tmp" "$cfgfile" \
15456     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15457 test 0 -eq $? || _lt_function_replace_fail=:
15458
15459
15460   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15461 func_dirname_and_basename ()\
15462 {\
15463 \    case ${1} in\
15464 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15465 \      *  ) func_dirname_result="${3}" ;;\
15466 \    esac\
15467 \    func_basename_result="${1##*/}"\
15468 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15469   && mv -f "$cfgfile.tmp" "$cfgfile" \
15470     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15471 test 0 -eq $? || _lt_function_replace_fail=:
15472
15473
15474   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15475 func_stripname ()\
15476 {\
15477 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15478 \    # positional parameters, so assign one to ordinary parameter first.\
15479 \    func_stripname_result=${3}\
15480 \    func_stripname_result=${func_stripname_result#"${1}"}\
15481 \    func_stripname_result=${func_stripname_result%"${2}"}\
15482 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15483   && mv -f "$cfgfile.tmp" "$cfgfile" \
15484     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15485 test 0 -eq $? || _lt_function_replace_fail=:
15486
15487
15488   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15489 func_split_long_opt ()\
15490 {\
15491 \    func_split_long_opt_name=${1%%=*}\
15492 \    func_split_long_opt_arg=${1#*=}\
15493 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15494   && mv -f "$cfgfile.tmp" "$cfgfile" \
15495     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15496 test 0 -eq $? || _lt_function_replace_fail=:
15497
15498
15499   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15500 func_split_short_opt ()\
15501 {\
15502 \    func_split_short_opt_arg=${1#??}\
15503 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15504 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15505   && mv -f "$cfgfile.tmp" "$cfgfile" \
15506     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15507 test 0 -eq $? || _lt_function_replace_fail=:
15508
15509
15510   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15511 func_lo2o ()\
15512 {\
15513 \    case ${1} in\
15514 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15515 \      *)    func_lo2o_result=${1} ;;\
15516 \    esac\
15517 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15518   && mv -f "$cfgfile.tmp" "$cfgfile" \
15519     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15520 test 0 -eq $? || _lt_function_replace_fail=:
15521
15522
15523   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15524 func_xform ()\
15525 {\
15526     func_xform_result=${1%.*}.lo\
15527 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15528   && mv -f "$cfgfile.tmp" "$cfgfile" \
15529     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15530 test 0 -eq $? || _lt_function_replace_fail=:
15531
15532
15533   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15534 func_arith ()\
15535 {\
15536     func_arith_result=$(( $* ))\
15537 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15538   && mv -f "$cfgfile.tmp" "$cfgfile" \
15539     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15540 test 0 -eq $? || _lt_function_replace_fail=:
15541
15542
15543   sed -e '/^func_len ()$/,/^} # func_len /c\
15544 func_len ()\
15545 {\
15546     func_len_result=${#1}\
15547 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15548   && mv -f "$cfgfile.tmp" "$cfgfile" \
15549     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15550 test 0 -eq $? || _lt_function_replace_fail=:
15551
15552 fi
15553
15554 if test x"$lt_shell_append" = xyes; then
15555   sed -e '/^func_append ()$/,/^} # func_append /c\
15556 func_append ()\
15557 {\
15558     eval "${1}+=\\${2}"\
15559 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15560   && mv -f "$cfgfile.tmp" "$cfgfile" \
15561     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15562 test 0 -eq $? || _lt_function_replace_fail=:
15563
15564
15565   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15566 func_append_quoted ()\
15567 {\
15568 \    func_quote_for_eval "${2}"\
15569 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15570 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15571   && mv -f "$cfgfile.tmp" "$cfgfile" \
15572     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15573 test 0 -eq $? || _lt_function_replace_fail=:
15574
15575
15576   # Save a `func_append' function call where possible by direct use of '+='
15577   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15578     && mv -f "$cfgfile.tmp" "$cfgfile" \
15579       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15580   test 0 -eq $? || _lt_function_replace_fail=:
15581 else
15582   # Save a `func_append' function call even when '+=' is not available
15583   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15584     && mv -f "$cfgfile.tmp" "$cfgfile" \
15585       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15586   test 0 -eq $? || _lt_function_replace_fail=:
15587 fi
15588
15589 if test x"$_lt_function_replace_fail" = x":"; then
15590   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15591 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15592 fi
15593
15594
15595    mv -f "$cfgfile" "$ofile" ||
15596     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15597   chmod +x "$ofile"
15598
15599  ;;
15600
15601   esac
15602 done # for ac_tag
15603
15604
15605 as_fn_exit 0
15606 _ACEOF
15607 ac_clean_files=$ac_clean_files_save
15608
15609 test $ac_write_fail = 0 ||
15610   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15611
15612
15613 # configure is writing to config.log, and then calls config.status.
15614 # config.status does its own redirection, appending to config.log.
15615 # Unfortunately, on DOS this fails, as config.log is still kept open
15616 # by configure, so config.status won't be able to write to it; its
15617 # output is simply discarded.  So we exec the FD to /dev/null,
15618 # effectively closing config.log, so it can be properly (re)opened and
15619 # appended to by config.status.  When coming back to configure, we
15620 # need to make the FD available again.
15621 if test "$no_create" != yes; then
15622   ac_cs_success=:
15623   ac_config_status_args=
15624   test "$silent" = yes &&
15625     ac_config_status_args="$ac_config_status_args --quiet"
15626   exec 5>/dev/null
15627   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15628   exec 5>>config.log
15629   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15630   # would make configure fail if this is the last instruction.
15631   $ac_cs_success || as_fn_exit 1
15632 fi
15633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15634   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15636 fi
15637
15638
15639 $as_echo "-------------------------------------------------
15640
15641 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15642
15643 Prefix    : '${prefix}'
15644 Compiler  : '${CC}'
15645 CFLAGS    : '${CFLAGS}'
15646
15647 -Package features:
15648         - enable-werror       : ${enable_werror}
15649         - enable-debug        : ${enable_debug}
15650         - enable-never-quit   : ${enable_never_quit}
15651         - with-connector-name : ${with_connector_name}
15652         - disable-optimization: ${disable_optimization}
15653         - with-log-level      : ${with_log_level}
15654         - with-log-type       : ${with_log_type}
15655         - enable-lib-only     : ${enable_lib_only}
15656         - with-ua-prefix      : ${with_ua_prefix}
15657
15658 --------------------------------------------------"