Initial Submission of GUPnP-DLNA to Tizen IVI
[profile/ivi/GUPnP-DLNA.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp-dlna 0.6.6.
4 #
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
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 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna
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='gupnp-dlna'
593 PACKAGE_TARNAME='gupnp-dlna'
594 PACKAGE_VERSION='0.6.6'
595 PACKAGE_STRING='gupnp-dlna 0.6.6'
596 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna'
597 PACKAGE_URL='http://www.gupnp.org/'
598
599 ac_unique_file="libgupnp-dlna/gupnp-dlna-profile.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 GTK_DOC_USE_REBASE_FALSE
641 GTK_DOC_USE_REBASE_TRUE
642 GTK_DOC_USE_LIBTOOL_FALSE
643 GTK_DOC_USE_LIBTOOL_TRUE
644 GTK_DOC_BUILD_PDF_FALSE
645 GTK_DOC_BUILD_PDF_TRUE
646 GTK_DOC_BUILD_HTML_FALSE
647 GTK_DOC_BUILD_HTML_TRUE
648 ENABLE_GTK_DOC_FALSE
649 ENABLE_GTK_DOC_TRUE
650 GTKDOC_DEPS_LIBS
651 GTKDOC_DEPS_CFLAGS
652 HTML_DIR
653 GTKDOC_MKPDF
654 GTKDOC_REBASE
655 GTKDOC_CHECK
656 HAVE_INTROSPECTION_FALSE
657 HAVE_INTROSPECTION_TRUE
658 INTROSPECTION_MAKEFILE
659 INTROSPECTION_LIBS
660 INTROSPECTION_CFLAGS
661 INTROSPECTION_TYPELIBDIR
662 INTROSPECTION_GIRDIR
663 INTROSPECTION_GENERATE
664 INTROSPECTION_COMPILER
665 INTROSPECTION_SCANNER
666 GLIB_GENMARSHAL
667 GST_MAJORMINOR
668 GST_PBU_LIBS
669 GST_PBU_CFLAGS
670 GST_LIBS
671 GST_CFLAGS
672 LIBXML_LIBS
673 LIBXML_CFLAGS
674 PKG_CONFIG_LIBDIR
675 PKG_CONFIG_PATH
676 PKG_CONFIG
677 OTOOL64
678 OTOOL
679 LIPO
680 NMEDIT
681 DSYMUTIL
682 MANIFEST_TOOL
683 RANLIB
684 ac_ct_AR
685 AR
686 LN_S
687 NM
688 ac_ct_DUMPBIN
689 DUMPBIN
690 LD
691 FGREP
692 SED
693 host_os
694 host_vendor
695 host_cpu
696 host
697 build_os
698 build_vendor
699 build_cpu
700 build
701 LIBTOOL
702 OBJDUMP
703 DLLTOOL
704 AS
705 EGREP
706 GREP
707 CPP
708 am__fastdepCC_FALSE
709 am__fastdepCC_TRUE
710 CCDEPMODE
711 am__nodep
712 AMDEPBACKSLASH
713 AMDEP_FALSE
714 AMDEP_TRUE
715 am__quote
716 am__include
717 DEPDIR
718 OBJEXT
719 EXEEXT
720 ac_ct_CC
721 CPPFLAGS
722 LDFLAGS
723 CFLAGS
724 CC
725 GUPNP_DLNA_VERSION_INFO
726 AM_BACKSLASH
727 AM_DEFAULT_VERBOSITY
728 AM_DEFAULT_V
729 AM_V
730 am__untar
731 am__tar
732 AMTAR
733 am__leading_dot
734 SET_MAKE
735 AWK
736 mkdir_p
737 MKDIR_P
738 INSTALL_STRIP_PROGRAM
739 STRIP
740 install_sh
741 MAKEINFO
742 AUTOHEADER
743 AUTOMAKE
744 AUTOCONF
745 ACLOCAL
746 VERSION
747 PACKAGE
748 CYGPATH_W
749 am__isrc
750 INSTALL_DATA
751 INSTALL_SCRIPT
752 INSTALL_PROGRAM
753 target_alias
754 host_alias
755 build_alias
756 LIBS
757 ECHO_T
758 ECHO_N
759 ECHO_C
760 DEFS
761 mandir
762 localedir
763 libdir
764 psdir
765 pdfdir
766 dvidir
767 htmldir
768 infodir
769 docdir
770 oldincludedir
771 includedir
772 localstatedir
773 sharedstatedir
774 sysconfdir
775 datadir
776 datarootdir
777 libexecdir
778 sbindir
779 bindir
780 program_transform_name
781 prefix
782 exec_prefix
783 PACKAGE_URL
784 PACKAGE_BUGREPORT
785 PACKAGE_STRING
786 PACKAGE_VERSION
787 PACKAGE_TARNAME
788 PACKAGE_NAME
789 PATH_SEPARATOR
790 SHELL'
791 ac_subst_files=''
792 ac_user_opts='
793 enable_option_checking
794 enable_silent_rules
795 enable_dependency_tracking
796 enable_shared
797 enable_static
798 with_pic
799 enable_fast_install
800 with_gnu_ld
801 with_sysroot
802 enable_libtool_lock
803 enable_debug
804 enable_introspection
805 with_html_dir
806 enable_gtk_doc
807 enable_gtk_doc_html
808 enable_gtk_doc_pdf
809 '
810       ac_precious_vars='build_alias
811 host_alias
812 target_alias
813 CC
814 CFLAGS
815 LDFLAGS
816 LIBS
817 CPPFLAGS
818 CPP
819 PKG_CONFIG
820 PKG_CONFIG_PATH
821 PKG_CONFIG_LIBDIR
822 LIBXML_CFLAGS
823 LIBXML_LIBS
824 GST_CFLAGS
825 GST_LIBS
826 GST_PBU_CFLAGS
827 GST_PBU_LIBS
828 GTKDOC_DEPS_CFLAGS
829 GTKDOC_DEPS_LIBS'
830
831
832 # Initialize some variables set by options.
833 ac_init_help=
834 ac_init_version=false
835 ac_unrecognized_opts=
836 ac_unrecognized_sep=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
839 cache_file=/dev/null
840 exec_prefix=NONE
841 no_create=
842 no_recursion=
843 prefix=NONE
844 program_prefix=NONE
845 program_suffix=NONE
846 program_transform_name=s,x,x,
847 silent=
848 site=
849 srcdir=
850 verbose=
851 x_includes=NONE
852 x_libraries=NONE
853
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
872 htmldir='${docdir}'
873 dvidir='${docdir}'
874 pdfdir='${docdir}'
875 psdir='${docdir}'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
879
880 ac_prev=
881 ac_dashdash=
882 for ac_option
883 do
884   # If the previous option needs an argument, assign it.
885   if test -n "$ac_prev"; then
886     eval $ac_prev=\$ac_option
887     ac_prev=
888     continue
889   fi
890
891   case $ac_option in
892   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893   *=)   ac_optarg= ;;
894   *)    ac_optarg=yes ;;
895   esac
896
897   # Accept the important Cygnus configure options, so we can diagnose typos.
898
899   case $ac_dashdash$ac_option in
900   --)
901     ac_dashdash=yes ;;
902
903   -bindir | --bindir | --bindi | --bind | --bin | --bi)
904     ac_prev=bindir ;;
905   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
906     bindir=$ac_optarg ;;
907
908   -build | --build | --buil | --bui | --bu)
909     ac_prev=build_alias ;;
910   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
911     build_alias=$ac_optarg ;;
912
913   -cache-file | --cache-file | --cache-fil | --cache-fi \
914   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
915     ac_prev=cache_file ;;
916   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
917   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
918     cache_file=$ac_optarg ;;
919
920   --config-cache | -C)
921     cache_file=config.cache ;;
922
923   -datadir | --datadir | --datadi | --datad)
924     ac_prev=datadir ;;
925   -datadir=* | --datadir=* | --datadi=* | --datad=*)
926     datadir=$ac_optarg ;;
927
928   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
929   | --dataroo | --dataro | --datar)
930     ac_prev=datarootdir ;;
931   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
932   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
933     datarootdir=$ac_optarg ;;
934
935   -disable-* | --disable-*)
936     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937     # Reject names that are not valid shell variable names.
938     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939       as_fn_error $? "invalid feature name: $ac_useropt"
940     ac_useropt_orig=$ac_useropt
941     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942     case $ac_user_opts in
943       *"
944 "enable_$ac_useropt"
945 "*) ;;
946       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947          ac_unrecognized_sep=', ';;
948     esac
949     eval enable_$ac_useropt=no ;;
950
951   -docdir | --docdir | --docdi | --doc | --do)
952     ac_prev=docdir ;;
953   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
954     docdir=$ac_optarg ;;
955
956   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
957     ac_prev=dvidir ;;
958   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
959     dvidir=$ac_optarg ;;
960
961   -enable-* | --enable-*)
962     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963     # Reject names that are not valid shell variable names.
964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965       as_fn_error $? "invalid feature name: $ac_useropt"
966     ac_useropt_orig=$ac_useropt
967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968     case $ac_user_opts in
969       *"
970 "enable_$ac_useropt"
971 "*) ;;
972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973          ac_unrecognized_sep=', ';;
974     esac
975     eval enable_$ac_useropt=\$ac_optarg ;;
976
977   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
978   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
979   | --exec | --exe | --ex)
980     ac_prev=exec_prefix ;;
981   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
982   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
983   | --exec=* | --exe=* | --ex=*)
984     exec_prefix=$ac_optarg ;;
985
986   -gas | --gas | --ga | --g)
987     # Obsolete; use --with-gas.
988     with_gas=yes ;;
989
990   -help | --help | --hel | --he | -h)
991     ac_init_help=long ;;
992   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
993     ac_init_help=recursive ;;
994   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
995     ac_init_help=short ;;
996
997   -host | --host | --hos | --ho)
998     ac_prev=host_alias ;;
999   -host=* | --host=* | --hos=* | --ho=*)
1000     host_alias=$ac_optarg ;;
1001
1002   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1003     ac_prev=htmldir ;;
1004   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1005   | --ht=*)
1006     htmldir=$ac_optarg ;;
1007
1008   -includedir | --includedir | --includedi | --included | --include \
1009   | --includ | --inclu | --incl | --inc)
1010     ac_prev=includedir ;;
1011   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1012   | --includ=* | --inclu=* | --incl=* | --inc=*)
1013     includedir=$ac_optarg ;;
1014
1015   -infodir | --infodir | --infodi | --infod | --info | --inf)
1016     ac_prev=infodir ;;
1017   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1018     infodir=$ac_optarg ;;
1019
1020   -libdir | --libdir | --libdi | --libd)
1021     ac_prev=libdir ;;
1022   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1023     libdir=$ac_optarg ;;
1024
1025   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1026   | --libexe | --libex | --libe)
1027     ac_prev=libexecdir ;;
1028   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1029   | --libexe=* | --libex=* | --libe=*)
1030     libexecdir=$ac_optarg ;;
1031
1032   -localedir | --localedir | --localedi | --localed | --locale)
1033     ac_prev=localedir ;;
1034   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1035     localedir=$ac_optarg ;;
1036
1037   -localstatedir | --localstatedir | --localstatedi | --localstated \
1038   | --localstate | --localstat | --localsta | --localst | --locals)
1039     ac_prev=localstatedir ;;
1040   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1041   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1042     localstatedir=$ac_optarg ;;
1043
1044   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1045     ac_prev=mandir ;;
1046   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1047     mandir=$ac_optarg ;;
1048
1049   -nfp | --nfp | --nf)
1050     # Obsolete; use --without-fp.
1051     with_fp=no ;;
1052
1053   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1054   | --no-cr | --no-c | -n)
1055     no_create=yes ;;
1056
1057   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1058   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1059     no_recursion=yes ;;
1060
1061   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1062   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1063   | --oldin | --oldi | --old | --ol | --o)
1064     ac_prev=oldincludedir ;;
1065   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1066   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1067   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1068     oldincludedir=$ac_optarg ;;
1069
1070   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1071     ac_prev=prefix ;;
1072   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1073     prefix=$ac_optarg ;;
1074
1075   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1076   | --program-pre | --program-pr | --program-p)
1077     ac_prev=program_prefix ;;
1078   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1079   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1080     program_prefix=$ac_optarg ;;
1081
1082   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1083   | --program-suf | --program-su | --program-s)
1084     ac_prev=program_suffix ;;
1085   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1086   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1087     program_suffix=$ac_optarg ;;
1088
1089   -program-transform-name | --program-transform-name \
1090   | --program-transform-nam | --program-transform-na \
1091   | --program-transform-n | --program-transform- \
1092   | --program-transform | --program-transfor \
1093   | --program-transfo | --program-transf \
1094   | --program-trans | --program-tran \
1095   | --progr-tra | --program-tr | --program-t)
1096     ac_prev=program_transform_name ;;
1097   -program-transform-name=* | --program-transform-name=* \
1098   | --program-transform-nam=* | --program-transform-na=* \
1099   | --program-transform-n=* | --program-transform-=* \
1100   | --program-transform=* | --program-transfor=* \
1101   | --program-transfo=* | --program-transf=* \
1102   | --program-trans=* | --program-tran=* \
1103   | --progr-tra=* | --program-tr=* | --program-t=*)
1104     program_transform_name=$ac_optarg ;;
1105
1106   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1107     ac_prev=pdfdir ;;
1108   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1109     pdfdir=$ac_optarg ;;
1110
1111   -psdir | --psdir | --psdi | --psd | --ps)
1112     ac_prev=psdir ;;
1113   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1114     psdir=$ac_optarg ;;
1115
1116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1117   | -silent | --silent | --silen | --sile | --sil)
1118     silent=yes ;;
1119
1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121     ac_prev=sbindir ;;
1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123   | --sbi=* | --sb=*)
1124     sbindir=$ac_optarg ;;
1125
1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128   | --sharedst | --shareds | --shared | --share | --shar \
1129   | --sha | --sh)
1130     ac_prev=sharedstatedir ;;
1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134   | --sha=* | --sh=*)
1135     sharedstatedir=$ac_optarg ;;
1136
1137   -site | --site | --sit)
1138     ac_prev=site ;;
1139   -site=* | --site=* | --sit=*)
1140     site=$ac_optarg ;;
1141
1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143     ac_prev=srcdir ;;
1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145     srcdir=$ac_optarg ;;
1146
1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148   | --syscon | --sysco | --sysc | --sys | --sy)
1149     ac_prev=sysconfdir ;;
1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152     sysconfdir=$ac_optarg ;;
1153
1154   -target | --target | --targe | --targ | --tar | --ta | --t)
1155     ac_prev=target_alias ;;
1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157     target_alias=$ac_optarg ;;
1158
1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160     verbose=yes ;;
1161
1162   -version | --version | --versio | --versi | --vers | -V)
1163     ac_init_version=: ;;
1164
1165   -with-* | --with-*)
1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167     # Reject names that are not valid shell variable names.
1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169       as_fn_error $? "invalid package name: $ac_useropt"
1170     ac_useropt_orig=$ac_useropt
1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172     case $ac_user_opts in
1173       *"
1174 "with_$ac_useropt"
1175 "*) ;;
1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177          ac_unrecognized_sep=', ';;
1178     esac
1179     eval with_$ac_useropt=\$ac_optarg ;;
1180
1181   -without-* | --without-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=no ;;
1196
1197   --x)
1198     # Obsolete; use --with-x.
1199     with_x=yes ;;
1200
1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202   | --x-incl | --x-inc | --x-in | --x-i)
1203     ac_prev=x_includes ;;
1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206     x_includes=$ac_optarg ;;
1207
1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210     ac_prev=x_libraries ;;
1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213     x_libraries=$ac_optarg ;;
1214
1215   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1217     ;;
1218
1219   *=*)
1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221     # Reject names that are not valid shell variable names.
1222     case $ac_envvar in #(
1223       '' | [0-9]* | *[!_$as_cr_alnum]* )
1224       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225     esac
1226     eval $ac_envvar=\$ac_optarg
1227     export $ac_envvar ;;
1228
1229   *)
1230     # FIXME: should be removed in autoconf 3.0.
1231     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235     ;;
1236
1237   esac
1238 done
1239
1240 if test -n "$ac_prev"; then
1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242   as_fn_error $? "missing argument to $ac_option"
1243 fi
1244
1245 if test -n "$ac_unrecognized_opts"; then
1246   case $enable_option_checking in
1247     no) ;;
1248     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250   esac
1251 fi
1252
1253 # Check all directory arguments for consistency.
1254 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255                 datadir sysconfdir sharedstatedir localstatedir includedir \
1256                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257                 libdir localedir mandir
1258 do
1259   eval ac_val=\$$ac_var
1260   # Remove trailing slashes.
1261   case $ac_val in
1262     */ )
1263       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264       eval $ac_var=\$ac_val;;
1265   esac
1266   # Be sure to have absolute directory names.
1267   case $ac_val in
1268     [\\/$]* | ?:[\\/]* )  continue;;
1269     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270   esac
1271   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272 done
1273
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1277 build=$build_alias
1278 host=$host_alias
1279 target=$target_alias
1280
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283   if test "x$build_alias" = x; then
1284     cross_compiling=maybe
1285   elif test "x$build_alias" != "x$host_alias"; then
1286     cross_compiling=yes
1287   fi
1288 fi
1289
1290 ac_tool_prefix=
1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1292
1293 test "$silent" = yes && exec 6>/dev/null
1294
1295
1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di=`ls -di .` &&
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299   as_fn_error $? "working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301   as_fn_error $? "pwd does not report name of working directory"
1302
1303
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306   ac_srcdir_defaulted=yes
1307   # Try the directory containing this script, then the parent directory.
1308   ac_confdir=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310          X"$as_myself" : 'X\(//\)[^/]' \| \
1311          X"$as_myself" : 'X\(//\)$' \| \
1312          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315             s//\1/
1316             q
1317           }
1318           /^X\(\/\/\)[^/].*/{
1319             s//\1/
1320             q
1321           }
1322           /^X\(\/\/\)$/{
1323             s//\1/
1324             q
1325           }
1326           /^X\(\/\).*/{
1327             s//\1/
1328             q
1329           }
1330           s/.*/./; q'`
1331   srcdir=$ac_confdir
1332   if test ! -r "$srcdir/$ac_unique_file"; then
1333     srcdir=..
1334   fi
1335 else
1336   ac_srcdir_defaulted=no
1337 fi
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1341 fi
1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 ac_abs_confdir=`(
1344         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345         pwd)`
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1348   srcdir=.
1349 fi
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1353 case $srcdir in
1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 esac
1356 for ac_var in $ac_precious_vars; do
1357   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1358   eval ac_env_${ac_var}_value=\$${ac_var}
1359   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1360   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1361 done
1362
1363 #
1364 # Report the --help message.
1365 #
1366 if test "$ac_init_help" = "long"; then
1367   # Omit some internal or obsolete options to make the list less imposing.
1368   # This message is too long to be a string in the A/UX 3.1 sh.
1369   cat <<_ACEOF
1370 \`configure' configures gupnp-dlna 0.6.6 to adapt to many kinds of systems.
1371
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1373
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE.  See below for descriptions of some of the useful variables.
1376
1377 Defaults for the options are specified in brackets.
1378
1379 Configuration:
1380   -h, --help              display this help and exit
1381       --help=short        display options specific to this package
1382       --help=recursive    display the short help of all the included packages
1383   -V, --version           display version information and exit
1384   -q, --quiet, --silent   do not print \`checking ...' messages
1385       --cache-file=FILE   cache test results in FILE [disabled]
1386   -C, --config-cache      alias for \`--cache-file=config.cache'
1387   -n, --no-create         do not create output files
1388       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1389
1390 Installation directories:
1391   --prefix=PREFIX         install architecture-independent files in PREFIX
1392                           [$ac_default_prefix]
1393   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1394                           [PREFIX]
1395
1396 By default, \`make install' will install all the files in
1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1399 for instance \`--prefix=\$HOME'.
1400
1401 For better control, use the options below.
1402
1403 Fine tuning of the installation directories:
1404   --bindir=DIR            user executables [EPREFIX/bin]
1405   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1406   --libexecdir=DIR        program executables [EPREFIX/libexec]
1407   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1408   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1409   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1410   --libdir=DIR            object code libraries [EPREFIX/lib]
1411   --includedir=DIR        C header files [PREFIX/include]
1412   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1413   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1414   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1415   --infodir=DIR           info documentation [DATAROOTDIR/info]
1416   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1417   --mandir=DIR            man documentation [DATAROOTDIR/man]
1418   --docdir=DIR            documentation root [DATAROOTDIR/doc/gupnp-dlna]
1419   --htmldir=DIR           html documentation [DOCDIR]
1420   --dvidir=DIR            dvi documentation [DOCDIR]
1421   --pdfdir=DIR            pdf documentation [DOCDIR]
1422   --psdir=DIR             ps documentation [DOCDIR]
1423 _ACEOF
1424
1425   cat <<\_ACEOF
1426
1427 Program names:
1428   --program-prefix=PREFIX            prepend PREFIX to installed program names
1429   --program-suffix=SUFFIX            append SUFFIX to installed program names
1430   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1431
1432 System types:
1433   --build=BUILD     configure for building on BUILD [guessed]
1434   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1435 _ACEOF
1436 fi
1437
1438 if test -n "$ac_init_help"; then
1439   case $ac_init_help in
1440      short | recursive ) echo "Configuration of gupnp-dlna 0.6.6:";;
1441    esac
1442   cat <<\_ACEOF
1443
1444 Optional Features:
1445   --disable-option-checking  ignore unrecognized --enable/--with options
1446   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1447   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1448   --enable-silent-rules          less verbose build output (undo: `make V=1')
1449   --disable-silent-rules         verbose build output (undo: `make V=0')
1450   --disable-dependency-tracking  speeds up one-time build
1451   --enable-dependency-tracking   do not reject slow dependency extractors
1452   --enable-shared[=PKGS]  build shared libraries [default=yes]
1453   --enable-static[=PKGS]  build static libraries [default=yes]
1454   --enable-fast-install[=PKGS]
1455                           optimize for fast installation [default=yes]
1456   --disable-libtool-lock  avoid locking (might break parallel builds)
1457   --enable-debug          enable debugging
1458   --enable-introspection=[no/auto/yes]
1459                           Enable introspection for this build
1460   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1461   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1462   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1463
1464 Optional Packages:
1465   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1466   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1467   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1468                           both]
1469   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1470   --with-sysroot=DIR Search for dependent libraries within DIR
1471                         (or the compiler's sysroot if not specified).
1472   --with-html-dir=PATH    path to installed docs
1473
1474 Some influential environment variables:
1475   CC          C compiler command
1476   CFLAGS      C compiler flags
1477   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1478               nonstandard directory <lib dir>
1479   LIBS        libraries to pass to the linker, e.g. -l<library>
1480   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1481               you have headers in a nonstandard directory <include dir>
1482   CPP         C preprocessor
1483   PKG_CONFIG  path to pkg-config utility
1484   PKG_CONFIG_PATH
1485               directories to add to pkg-config's search path
1486   PKG_CONFIG_LIBDIR
1487               path overriding pkg-config's built-in search path
1488   LIBXML_CFLAGS
1489               C compiler flags for LIBXML, overriding pkg-config
1490   LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1491   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1492   GST_LIBS    linker flags for GST, overriding pkg-config
1493   GST_PBU_CFLAGS
1494               C compiler flags for GST_PBU, overriding pkg-config
1495   GST_PBU_LIBS
1496               linker flags for GST_PBU, overriding pkg-config
1497   GTKDOC_DEPS_CFLAGS
1498               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1499   GTKDOC_DEPS_LIBS
1500               linker flags for GTKDOC_DEPS, overriding pkg-config
1501
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1504
1505 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
1506 gupnp-dlna home page: <http://www.gupnp.org/>.
1507 _ACEOF
1508 ac_status=$?
1509 fi
1510
1511 if test "$ac_init_help" = "recursive"; then
1512   # If there are subdirs, report their specific --help.
1513   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514     test -d "$ac_dir" ||
1515       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1516       continue
1517     ac_builddir=.
1518
1519 case "$ac_dir" in
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *)
1522   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523   # A ".." for each directory in $ac_dir_suffix.
1524   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525   case $ac_top_builddir_sub in
1526   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528   esac ;;
1529 esac
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1534
1535 case $srcdir in
1536   .)  # We are building in place.
1537     ac_srcdir=.
1538     ac_top_srcdir=$ac_top_builddir_sub
1539     ac_abs_top_srcdir=$ac_pwd ;;
1540   [\\/]* | ?:[\\/]* )  # Absolute name.
1541     ac_srcdir=$srcdir$ac_dir_suffix;
1542     ac_top_srcdir=$srcdir
1543     ac_abs_top_srcdir=$srcdir ;;
1544   *) # Relative name.
1545     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546     ac_top_srcdir=$ac_top_build_prefix$srcdir
1547     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 esac
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550
1551     cd "$ac_dir" || { ac_status=$?; continue; }
1552     # Check for guested configure.
1553     if test -f "$ac_srcdir/configure.gnu"; then
1554       echo &&
1555       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556     elif test -f "$ac_srcdir/configure"; then
1557       echo &&
1558       $SHELL "$ac_srcdir/configure" --help=recursive
1559     else
1560       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561     fi || ac_status=$?
1562     cd "$ac_pwd" || { ac_status=$?; break; }
1563   done
1564 fi
1565
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1568   cat <<\_ACEOF
1569 gupnp-dlna configure 0.6.6
1570 generated by GNU Autoconf 2.69
1571
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1575 _ACEOF
1576   exit
1577 fi
1578
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1582
1583 # ac_fn_c_try_compile LINENO
1584 # --------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_c_try_compile ()
1587 {
1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589   rm -f conftest.$ac_objext
1590   if { { ac_try="$ac_compile"
1591 case "(($ac_try" in
1592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593   *) ac_try_echo=$ac_try;;
1594 esac
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597   (eval "$ac_compile") 2>conftest.err
1598   ac_status=$?
1599   if test -s conftest.err; then
1600     grep -v '^ *+' conftest.err >conftest.er1
1601     cat conftest.er1 >&5
1602     mv -f conftest.er1 conftest.err
1603   fi
1604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605   test $ac_status = 0; } && {
1606          test -z "$ac_c_werror_flag" ||
1607          test ! -s conftest.err
1608        } && test -s conftest.$ac_objext; then :
1609   ac_retval=0
1610 else
1611   $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1613
1614         ac_retval=1
1615 fi
1616   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617   as_fn_set_status $ac_retval
1618
1619 } # ac_fn_c_try_compile
1620
1621 # ac_fn_c_try_cpp LINENO
1622 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_cpp ()
1625 {
1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627   if { { ac_try="$ac_cpp conftest.$ac_ext"
1628 case "(($ac_try" in
1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630   *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1635   ac_status=$?
1636   if test -s conftest.err; then
1637     grep -v '^ *+' conftest.err >conftest.er1
1638     cat conftest.er1 >&5
1639     mv -f conftest.er1 conftest.err
1640   fi
1641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642   test $ac_status = 0; } > conftest.i && {
1643          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644          test ! -s conftest.err
1645        }; then :
1646   ac_retval=0
1647 else
1648   $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1650
1651     ac_retval=1
1652 fi
1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654   as_fn_set_status $ac_retval
1655
1656 } # ac_fn_c_try_cpp
1657
1658 # ac_fn_c_try_run LINENO
1659 # ----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1662 ac_fn_c_try_run ()
1663 {
1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665   if { { ac_try="$ac_link"
1666 case "(($ac_try" in
1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668   *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672   (eval "$ac_link") 2>&5
1673   ac_status=$?
1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676   { { case "(($ac_try" in
1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678   *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682   (eval "$ac_try") 2>&5
1683   ac_status=$?
1684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685   test $ac_status = 0; }; }; then :
1686   ac_retval=0
1687 else
1688   $as_echo "$as_me: program exited with status $ac_status" >&5
1689        $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1691
1692        ac_retval=$ac_status
1693 fi
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_run
1699
1700 # ac_fn_c_try_link LINENO
1701 # -----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded.
1703 ac_fn_c_try_link ()
1704 {
1705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706   rm -f conftest.$ac_objext conftest$ac_exeext
1707   if { { ac_try="$ac_link"
1708 case "(($ac_try" in
1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710   *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714   (eval "$ac_link") 2>conftest.err
1715   ac_status=$?
1716   if test -s conftest.err; then
1717     grep -v '^ *+' conftest.err >conftest.er1
1718     cat conftest.er1 >&5
1719     mv -f conftest.er1 conftest.err
1720   fi
1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722   test $ac_status = 0; } && {
1723          test -z "$ac_c_werror_flag" ||
1724          test ! -s conftest.err
1725        } && test -s conftest$ac_exeext && {
1726          test "$cross_compiling" = yes ||
1727          test -x conftest$ac_exeext
1728        }; then :
1729   ac_retval=0
1730 else
1731   $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1733
1734         ac_retval=1
1735 fi
1736   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738   # interfere with the next link command; also delete a directory that is
1739   # left behind by Apple's compiler.  We do this before executing the actions.
1740   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742   as_fn_set_status $ac_retval
1743
1744 } # ac_fn_c_try_link
1745
1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747 # -------------------------------------------------------
1748 # Tests whether HEADER exists and can be compiled using the include files in
1749 # INCLUDES, setting the cache variable VAR accordingly.
1750 ac_fn_c_check_header_compile ()
1751 {
1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756   $as_echo_n "(cached) " >&6
1757 else
1758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h.  */
1760 $4
1761 #include <$2>
1762 _ACEOF
1763 if ac_fn_c_try_compile "$LINENO"; then :
1764   eval "$3=yes"
1765 else
1766   eval "$3=no"
1767 fi
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 fi
1770 eval ac_res=\$$3
1771                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1775 } # ac_fn_c_check_header_compile
1776
1777 # ac_fn_c_check_func LINENO FUNC VAR
1778 # ----------------------------------
1779 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1780 ac_fn_c_check_func ()
1781 {
1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786   $as_echo_n "(cached) " >&6
1787 else
1788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h.  */
1790 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1792 #define $2 innocuous_$2
1793
1794 /* System header to define __stub macros and hopefully few prototypes,
1795     which can conflict with char $2 (); below.
1796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1797     <limits.h> exists even on freestanding compilers.  */
1798
1799 #ifdef __STDC__
1800 # include <limits.h>
1801 #else
1802 # include <assert.h>
1803 #endif
1804
1805 #undef $2
1806
1807 /* Override any GCC internal prototype to avoid an error.
1808    Use char because int might match the return type of a GCC
1809    builtin and then its argument prototype would still apply.  */
1810 #ifdef __cplusplus
1811 extern "C"
1812 #endif
1813 char $2 ();
1814 /* The GNU C library defines this for functions which it implements
1815     to always fail with ENOSYS.  Some functions are actually named
1816     something starting with __ and the normal name is an alias.  */
1817 #if defined __stub_$2 || defined __stub___$2
1818 choke me
1819 #endif
1820
1821 int
1822 main ()
1823 {
1824 return $2 ();
1825   ;
1826   return 0;
1827 }
1828 _ACEOF
1829 if ac_fn_c_try_link "$LINENO"; then :
1830   eval "$3=yes"
1831 else
1832   eval "$3=no"
1833 fi
1834 rm -f core conftest.err conftest.$ac_objext \
1835     conftest$ac_exeext conftest.$ac_ext
1836 fi
1837 eval ac_res=\$$3
1838                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841
1842 } # ac_fn_c_check_func
1843 cat >config.log <<_ACEOF
1844 This file contains any messages produced by compilers while
1845 running configure, to aid debugging if configure makes a mistake.
1846
1847 It was created by gupnp-dlna $as_me 0.6.6, which was
1848 generated by GNU Autoconf 2.69.  Invocation command line was
1849
1850   $ $0 $@
1851
1852 _ACEOF
1853 exec 5>>config.log
1854 {
1855 cat <<_ASUNAME
1856 ## --------- ##
1857 ## Platform. ##
1858 ## --------- ##
1859
1860 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1861 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1862 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1863 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1864 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1865
1866 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1867 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1868
1869 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1870 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1871 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1872 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1873 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1874 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1875 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1876
1877 _ASUNAME
1878
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 for as_dir in $PATH
1881 do
1882   IFS=$as_save_IFS
1883   test -z "$as_dir" && as_dir=.
1884     $as_echo "PATH: $as_dir"
1885   done
1886 IFS=$as_save_IFS
1887
1888 } >&5
1889
1890 cat >&5 <<_ACEOF
1891
1892
1893 ## ----------- ##
1894 ## Core tests. ##
1895 ## ----------- ##
1896
1897 _ACEOF
1898
1899
1900 # Keep a trace of the command line.
1901 # Strip out --no-create and --no-recursion so they do not pile up.
1902 # Strip out --silent because we don't want to record it for future runs.
1903 # Also quote any args containing shell meta-characters.
1904 # Make two passes to allow for proper duplicate-argument suppression.
1905 ac_configure_args=
1906 ac_configure_args0=
1907 ac_configure_args1=
1908 ac_must_keep_next=false
1909 for ac_pass in 1 2
1910 do
1911   for ac_arg
1912   do
1913     case $ac_arg in
1914     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1915     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1916     | -silent | --silent | --silen | --sile | --sil)
1917       continue ;;
1918     *\'*)
1919       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1920     esac
1921     case $ac_pass in
1922     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1923     2)
1924       as_fn_append ac_configure_args1 " '$ac_arg'"
1925       if test $ac_must_keep_next = true; then
1926         ac_must_keep_next=false # Got value, back to normal.
1927       else
1928         case $ac_arg in
1929           *=* | --config-cache | -C | -disable-* | --disable-* \
1930           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1931           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1932           | -with-* | --with-* | -without-* | --without-* | --x)
1933             case "$ac_configure_args0 " in
1934               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1935             esac
1936             ;;
1937           -* ) ac_must_keep_next=true ;;
1938         esac
1939       fi
1940       as_fn_append ac_configure_args " '$ac_arg'"
1941       ;;
1942     esac
1943   done
1944 done
1945 { ac_configure_args0=; unset ac_configure_args0;}
1946 { ac_configure_args1=; unset ac_configure_args1;}
1947
1948 # When interrupted or exit'd, cleanup temporary files, and complete
1949 # config.log.  We remove comments because anyway the quotes in there
1950 # would cause problems or look ugly.
1951 # WARNING: Use '\'' to represent an apostrophe within the trap.
1952 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1953 trap 'exit_status=$?
1954   # Save into config.log some information that might help in debugging.
1955   {
1956     echo
1957
1958     $as_echo "## ---------------- ##
1959 ## Cache variables. ##
1960 ## ---------------- ##"
1961     echo
1962     # The following way of writing the cache mishandles newlines in values,
1963 (
1964   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1965     eval ac_val=\$$ac_var
1966     case $ac_val in #(
1967     *${as_nl}*)
1968       case $ac_var in #(
1969       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1971       esac
1972       case $ac_var in #(
1973       _ | IFS | as_nl) ;; #(
1974       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1975       *) { eval $ac_var=; unset $ac_var;} ;;
1976       esac ;;
1977     esac
1978   done
1979   (set) 2>&1 |
1980     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1981     *${as_nl}ac_space=\ *)
1982       sed -n \
1983         "s/'\''/'\''\\\\'\'''\''/g;
1984           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1985       ;; #(
1986     *)
1987       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1988       ;;
1989     esac |
1990     sort
1991 )
1992     echo
1993
1994     $as_echo "## ----------------- ##
1995 ## Output variables. ##
1996 ## ----------------- ##"
1997     echo
1998     for ac_var in $ac_subst_vars
1999     do
2000       eval ac_val=\$$ac_var
2001       case $ac_val in
2002       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2003       esac
2004       $as_echo "$ac_var='\''$ac_val'\''"
2005     done | sort
2006     echo
2007
2008     if test -n "$ac_subst_files"; then
2009       $as_echo "## ------------------- ##
2010 ## File substitutions. ##
2011 ## ------------------- ##"
2012       echo
2013       for ac_var in $ac_subst_files
2014       do
2015         eval ac_val=\$$ac_var
2016         case $ac_val in
2017         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018         esac
2019         $as_echo "$ac_var='\''$ac_val'\''"
2020       done | sort
2021       echo
2022     fi
2023
2024     if test -s confdefs.h; then
2025       $as_echo "## ----------- ##
2026 ## confdefs.h. ##
2027 ## ----------- ##"
2028       echo
2029       cat confdefs.h
2030       echo
2031     fi
2032     test "$ac_signal" != 0 &&
2033       $as_echo "$as_me: caught signal $ac_signal"
2034     $as_echo "$as_me: exit $exit_status"
2035   } >&5
2036   rm -f core *.core core.conftest.* &&
2037     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2038     exit $exit_status
2039 ' 0
2040 for ac_signal in 1 2 13 15; do
2041   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2042 done
2043 ac_signal=0
2044
2045 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2046 rm -f -r conftest* confdefs.h
2047
2048 $as_echo "/* confdefs.h */" > confdefs.h
2049
2050 # Predefined preprocessor variables.
2051
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_NAME "$PACKAGE_NAME"
2054 _ACEOF
2055
2056 cat >>confdefs.h <<_ACEOF
2057 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2058 _ACEOF
2059
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2062 _ACEOF
2063
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_STRING "$PACKAGE_STRING"
2066 _ACEOF
2067
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2070 _ACEOF
2071
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_URL "$PACKAGE_URL"
2074 _ACEOF
2075
2076
2077 # Let the site file select an alternate cache file if it wants to.
2078 # Prefer an explicitly selected file to automatically selected ones.
2079 ac_site_file1=NONE
2080 ac_site_file2=NONE
2081 if test -n "$CONFIG_SITE"; then
2082   # We do not want a PATH search for config.site.
2083   case $CONFIG_SITE in #((
2084     -*)  ac_site_file1=./$CONFIG_SITE;;
2085     */*) ac_site_file1=$CONFIG_SITE;;
2086     *)   ac_site_file1=./$CONFIG_SITE;;
2087   esac
2088 elif test "x$prefix" != xNONE; then
2089   ac_site_file1=$prefix/share/config.site
2090   ac_site_file2=$prefix/etc/config.site
2091 else
2092   ac_site_file1=$ac_default_prefix/share/config.site
2093   ac_site_file2=$ac_default_prefix/etc/config.site
2094 fi
2095 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2096 do
2097   test "x$ac_site_file" = xNONE && continue
2098   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2099     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2100 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2101     sed 's/^/| /' "$ac_site_file" >&5
2102     . "$ac_site_file" \
2103       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2105 as_fn_error $? "failed to load site script $ac_site_file
2106 See \`config.log' for more details" "$LINENO" 5; }
2107   fi
2108 done
2109
2110 if test -r "$cache_file"; then
2111   # Some versions of bash will fail to source /dev/null (special files
2112   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2113   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2114     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2115 $as_echo "$as_me: loading cache $cache_file" >&6;}
2116     case $cache_file in
2117       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2118       *)                      . "./$cache_file";;
2119     esac
2120   fi
2121 else
2122   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2123 $as_echo "$as_me: creating cache $cache_file" >&6;}
2124   >$cache_file
2125 fi
2126
2127 # Check that the precious variables saved in the cache have kept the same
2128 # value.
2129 ac_cache_corrupted=false
2130 for ac_var in $ac_precious_vars; do
2131   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2132   eval ac_new_set=\$ac_env_${ac_var}_set
2133   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2134   eval ac_new_val=\$ac_env_${ac_var}_value
2135   case $ac_old_set,$ac_new_set in
2136     set,)
2137       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2138 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2139       ac_cache_corrupted=: ;;
2140     ,set)
2141       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2142 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2143       ac_cache_corrupted=: ;;
2144     ,);;
2145     *)
2146       if test "x$ac_old_val" != "x$ac_new_val"; then
2147         # differences in whitespace do not lead to failure.
2148         ac_old_val_w=`echo x $ac_old_val`
2149         ac_new_val_w=`echo x $ac_new_val`
2150         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2151           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2152 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2153           ac_cache_corrupted=:
2154         else
2155           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2156 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2157           eval $ac_var=\$ac_old_val
2158         fi
2159         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2160 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2161         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2162 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2163       fi;;
2164   esac
2165   # Pass precious variables to config.status.
2166   if test "$ac_new_set" = set; then
2167     case $ac_new_val in
2168     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2169     *) ac_arg=$ac_var=$ac_new_val ;;
2170     esac
2171     case " $ac_configure_args " in
2172       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2173       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2174     esac
2175   fi
2176 done
2177 if $ac_cache_corrupted; then
2178   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2181 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2182   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2183 fi
2184 ## -------------------- ##
2185 ## Main body of script. ##
2186 ## -------------------- ##
2187
2188 ac_ext=c
2189 ac_cpp='$CPP $CPPFLAGS'
2190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2193
2194
2195
2196 ac_config_headers="$ac_config_headers config.h"
2197
2198
2199
2200 ac_aux_dir=
2201 for ac_dir in build-aux "$srcdir"/build-aux; do
2202   if test -f "$ac_dir/install-sh"; then
2203     ac_aux_dir=$ac_dir
2204     ac_install_sh="$ac_aux_dir/install-sh -c"
2205     break
2206   elif test -f "$ac_dir/install.sh"; then
2207     ac_aux_dir=$ac_dir
2208     ac_install_sh="$ac_aux_dir/install.sh -c"
2209     break
2210   elif test -f "$ac_dir/shtool"; then
2211     ac_aux_dir=$ac_dir
2212     ac_install_sh="$ac_aux_dir/shtool install -c"
2213     break
2214   fi
2215 done
2216 if test -z "$ac_aux_dir"; then
2217   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2218 fi
2219
2220 # These three variables are undocumented and unsupported,
2221 # and are intended to be withdrawn in a future Autoconf release.
2222 # They can cause serious problems if a builder's source tree is in a directory
2223 # whose full name contains unusual characters.
2224 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2225 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2226 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2227
2228
2229
2230 am__api_version='1.11'
2231
2232 # Find a good install program.  We prefer a C program (faster),
2233 # so one script is as good as another.  But avoid the broken or
2234 # incompatible versions:
2235 # SysV /etc/install, /usr/sbin/install
2236 # SunOS /usr/etc/install
2237 # IRIX /sbin/install
2238 # AIX /bin/install
2239 # AmigaOS /C/install, which installs bootblocks on floppy discs
2240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2243 # OS/2's system install, which has a completely different semantic
2244 # ./install, which can be erroneously created by make from ./install.sh.
2245 # Reject install programs that cannot install multiple files.
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2247 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2248 if test -z "$INSTALL"; then
2249 if ${ac_cv_path_install+:} false; then :
2250   $as_echo_n "(cached) " >&6
2251 else
2252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255   IFS=$as_save_IFS
2256   test -z "$as_dir" && as_dir=.
2257     # Account for people who put trailing slashes in PATH elements.
2258 case $as_dir/ in #((
2259   ./ | .// | /[cC]/* | \
2260   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2261   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2262   /usr/ucb/* ) ;;
2263   *)
2264     # OSF1 and SCO ODT 3.0 have their own names for install.
2265     # Don't use installbsd from OSF since it installs stuff as root
2266     # by default.
2267     for ac_prog in ginstall scoinst install; do
2268       for ac_exec_ext in '' $ac_executable_extensions; do
2269         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2270           if test $ac_prog = install &&
2271             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272             # AIX install.  It has an incompatible calling convention.
2273             :
2274           elif test $ac_prog = install &&
2275             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276             # program-specific install script used by HP pwplus--don't use.
2277             :
2278           else
2279             rm -rf conftest.one conftest.two conftest.dir
2280             echo one > conftest.one
2281             echo two > conftest.two
2282             mkdir conftest.dir
2283             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2284               test -s conftest.one && test -s conftest.two &&
2285               test -s conftest.dir/conftest.one &&
2286               test -s conftest.dir/conftest.two
2287             then
2288               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2289               break 3
2290             fi
2291           fi
2292         fi
2293       done
2294     done
2295     ;;
2296 esac
2297
2298   done
2299 IFS=$as_save_IFS
2300
2301 rm -rf conftest.one conftest.two conftest.dir
2302
2303 fi
2304   if test "${ac_cv_path_install+set}" = set; then
2305     INSTALL=$ac_cv_path_install
2306   else
2307     # As a last resort, use the slow shell script.  Don't cache a
2308     # value for INSTALL within a source directory, because that will
2309     # break other packages using the cache if that directory is
2310     # removed, or if the value is a relative name.
2311     INSTALL=$ac_install_sh
2312   fi
2313 fi
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2315 $as_echo "$INSTALL" >&6; }
2316
2317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2318 # It thinks the first close brace ends the variable substitution.
2319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2320
2321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2322
2323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2324
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2326 $as_echo_n "checking whether build environment is sane... " >&6; }
2327 # Just in case
2328 sleep 1
2329 echo timestamp > conftest.file
2330 # Reject unsafe characters in $srcdir or the absolute working directory
2331 # name.  Accept space and tab only in the latter.
2332 am_lf='
2333 '
2334 case `pwd` in
2335   *[\\\"\#\$\&\'\`$am_lf]*)
2336     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2337 esac
2338 case $srcdir in
2339   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2340     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2341 esac
2342
2343 # Do `set' in a subshell so we don't clobber the current shell's
2344 # arguments.  Must try -L first in case configure is actually a
2345 # symlink; some systems play weird games with the mod time of symlinks
2346 # (eg FreeBSD returns the mod time of the symlink's containing
2347 # directory).
2348 if (
2349    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2350    if test "$*" = "X"; then
2351       # -L didn't work.
2352       set X `ls -t "$srcdir/configure" conftest.file`
2353    fi
2354    rm -f conftest.file
2355    if test "$*" != "X $srcdir/configure conftest.file" \
2356       && test "$*" != "X conftest.file $srcdir/configure"; then
2357
2358       # If neither matched, then we have a broken ls.  This can happen
2359       # if, for instance, CONFIG_SHELL is bash and it inherits a
2360       # broken ls alias from the environment.  This has actually
2361       # happened.  Such a system could not be considered "sane".
2362       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2363 alias in your environment" "$LINENO" 5
2364    fi
2365
2366    test "$2" = conftest.file
2367    )
2368 then
2369    # Ok.
2370    :
2371 else
2372    as_fn_error $? "newly created file is older than distributed files!
2373 Check your system clock" "$LINENO" 5
2374 fi
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2376 $as_echo "yes" >&6; }
2377 test "$program_prefix" != NONE &&
2378   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2379 # Use a double $ so make ignores it.
2380 test "$program_suffix" != NONE &&
2381   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2382 # Double any \ or $.
2383 # By default was `s,x,x', remove it if useless.
2384 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2385 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2386
2387 # expand $ac_aux_dir to an absolute path
2388 am_aux_dir=`cd $ac_aux_dir && pwd`
2389
2390 if test x"${MISSING+set}" != xset; then
2391   case $am_aux_dir in
2392   *\ * | *\     *)
2393     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2394   *)
2395     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2396   esac
2397 fi
2398 # Use eval to expand $SHELL
2399 if eval "$MISSING --run true"; then
2400   am_missing_run="$MISSING --run "
2401 else
2402   am_missing_run=
2403   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2404 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2405 fi
2406
2407 if test x"${install_sh}" != xset; then
2408   case $am_aux_dir in
2409   *\ * | *\     *)
2410     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2411   *)
2412     install_sh="\${SHELL} $am_aux_dir/install-sh"
2413   esac
2414 fi
2415
2416 # Installed binaries are usually stripped using `strip' when the user
2417 # run `make install-strip'.  However `strip' might not be the right
2418 # tool to use in cross-compilation environments, therefore Automake
2419 # will honor the `STRIP' environment variable to overrule this program.
2420 if test "$cross_compiling" != no; then
2421   if test -n "$ac_tool_prefix"; then
2422   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2423 set dummy ${ac_tool_prefix}strip; ac_word=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if ${ac_cv_prog_STRIP+:} false; then :
2427   $as_echo_n "(cached) " >&6
2428 else
2429   if test -n "$STRIP"; then
2430   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2431 else
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 for as_dir in $PATH
2434 do
2435   IFS=$as_save_IFS
2436   test -z "$as_dir" && as_dir=.
2437     for ac_exec_ext in '' $ac_executable_extensions; do
2438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441     break 2
2442   fi
2443 done
2444   done
2445 IFS=$as_save_IFS
2446
2447 fi
2448 fi
2449 STRIP=$ac_cv_prog_STRIP
2450 if test -n "$STRIP"; then
2451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2452 $as_echo "$STRIP" >&6; }
2453 else
2454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2455 $as_echo "no" >&6; }
2456 fi
2457
2458
2459 fi
2460 if test -z "$ac_cv_prog_STRIP"; then
2461   ac_ct_STRIP=$STRIP
2462   # Extract the first word of "strip", so it can be a program name with args.
2463 set dummy strip; ac_word=$2
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465 $as_echo_n "checking for $ac_word... " >&6; }
2466 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2467   $as_echo_n "(cached) " >&6
2468 else
2469   if test -n "$ac_ct_STRIP"; then
2470   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2471 else
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 for as_dir in $PATH
2474 do
2475   IFS=$as_save_IFS
2476   test -z "$as_dir" && as_dir=.
2477     for ac_exec_ext in '' $ac_executable_extensions; do
2478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479     ac_cv_prog_ac_ct_STRIP="strip"
2480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2481     break 2
2482   fi
2483 done
2484   done
2485 IFS=$as_save_IFS
2486
2487 fi
2488 fi
2489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2490 if test -n "$ac_ct_STRIP"; then
2491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2492 $as_echo "$ac_ct_STRIP" >&6; }
2493 else
2494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2495 $as_echo "no" >&6; }
2496 fi
2497
2498   if test "x$ac_ct_STRIP" = x; then
2499     STRIP=":"
2500   else
2501     case $cross_compiling:$ac_tool_warned in
2502 yes:)
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2505 ac_tool_warned=yes ;;
2506 esac
2507     STRIP=$ac_ct_STRIP
2508   fi
2509 else
2510   STRIP="$ac_cv_prog_STRIP"
2511 fi
2512
2513 fi
2514 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2515
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2517 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2518 if test -z "$MKDIR_P"; then
2519   if ${ac_cv_path_mkdir+:} false; then :
2520   $as_echo_n "(cached) " >&6
2521 else
2522   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2524 do
2525   IFS=$as_save_IFS
2526   test -z "$as_dir" && as_dir=.
2527     for ac_prog in mkdir gmkdir; do
2528          for ac_exec_ext in '' $ac_executable_extensions; do
2529            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2530            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2531              'mkdir (GNU coreutils) '* | \
2532              'mkdir (coreutils) '* | \
2533              'mkdir (fileutils) '4.1*)
2534                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2535                break 3;;
2536            esac
2537          done
2538        done
2539   done
2540 IFS=$as_save_IFS
2541
2542 fi
2543
2544   test -d ./--version && rmdir ./--version
2545   if test "${ac_cv_path_mkdir+set}" = set; then
2546     MKDIR_P="$ac_cv_path_mkdir -p"
2547   else
2548     # As a last resort, use the slow shell script.  Don't cache a
2549     # value for MKDIR_P within a source directory, because that will
2550     # break other packages using the cache if that directory is
2551     # removed, or if the value is a relative name.
2552     MKDIR_P="$ac_install_sh -d"
2553   fi
2554 fi
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2556 $as_echo "$MKDIR_P" >&6; }
2557
2558 mkdir_p="$MKDIR_P"
2559 case $mkdir_p in
2560   [\\/$]* | ?:[\\/]*) ;;
2561   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2562 esac
2563
2564 for ac_prog in gawk mawk nawk awk
2565 do
2566   # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy $ac_prog; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_AWK+:} false; then :
2571   $as_echo_n "(cached) " >&6
2572 else
2573   if test -n "$AWK"; then
2574   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2578 do
2579   IFS=$as_save_IFS
2580   test -z "$as_dir" && as_dir=.
2581     for ac_exec_ext in '' $ac_executable_extensions; do
2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583     ac_cv_prog_AWK="$ac_prog"
2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585     break 2
2586   fi
2587 done
2588   done
2589 IFS=$as_save_IFS
2590
2591 fi
2592 fi
2593 AWK=$ac_cv_prog_AWK
2594 if test -n "$AWK"; then
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2596 $as_echo "$AWK" >&6; }
2597 else
2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 fi
2601
2602
2603   test -n "$AWK" && break
2604 done
2605
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2607 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2608 set x ${MAKE-make}
2609 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2610 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2611   $as_echo_n "(cached) " >&6
2612 else
2613   cat >conftest.make <<\_ACEOF
2614 SHELL = /bin/sh
2615 all:
2616         @echo '@@@%%%=$(MAKE)=@@@%%%'
2617 _ACEOF
2618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2620   *@@@%%%=?*=@@@%%%*)
2621     eval ac_cv_prog_make_${ac_make}_set=yes;;
2622   *)
2623     eval ac_cv_prog_make_${ac_make}_set=no;;
2624 esac
2625 rm -f conftest.make
2626 fi
2627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2629 $as_echo "yes" >&6; }
2630   SET_MAKE=
2631 else
2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2634   SET_MAKE="MAKE=${MAKE-make}"
2635 fi
2636
2637 rm -rf .tst 2>/dev/null
2638 mkdir .tst 2>/dev/null
2639 if test -d .tst; then
2640   am__leading_dot=.
2641 else
2642   am__leading_dot=_
2643 fi
2644 rmdir .tst 2>/dev/null
2645
2646 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2647   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2648   # is not polluted with repeated "-I."
2649   am__isrc=' -I$(srcdir)'
2650   # test to see if srcdir already configured
2651   if test -f $srcdir/config.status; then
2652     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2653   fi
2654 fi
2655
2656 # test whether we have cygpath
2657 if test -z "$CYGPATH_W"; then
2658   if (cygpath --version) >/dev/null 2>/dev/null; then
2659     CYGPATH_W='cygpath -w'
2660   else
2661     CYGPATH_W=echo
2662   fi
2663 fi
2664
2665
2666 # Define the identity of the package.
2667  PACKAGE='gupnp-dlna'
2668  VERSION='0.6.6'
2669
2670
2671 cat >>confdefs.h <<_ACEOF
2672 #define PACKAGE "$PACKAGE"
2673 _ACEOF
2674
2675
2676 cat >>confdefs.h <<_ACEOF
2677 #define VERSION "$VERSION"
2678 _ACEOF
2679
2680 # Some tools Automake needs.
2681
2682 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2683
2684
2685 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2686
2687
2688 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2689
2690
2691 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2692
2693
2694 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2695
2696 # We need awk for the "check" target.  The system "awk" is bad on
2697 # some platforms.
2698 # Always define AMTAR for backward compatibility.  Yes, it's still used
2699 # in the wild :-(  We should find a proper way to deprecate it ...
2700 AMTAR='$${TAR-tar}'
2701
2702
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2704 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2705 # Loop over all known methods to create a tar archive until one works.
2706 _am_tools='gnutar plaintar pax cpio none'
2707 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2708 # Do not fold the above two line into one, because Tru64 sh and
2709 # Solaris sh will not grok spaces in the rhs of `-'.
2710 for _am_tool in $_am_tools
2711 do
2712   case $_am_tool in
2713   gnutar)
2714     for _am_tar in tar gnutar gtar;
2715     do
2716       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2717    ($_am_tar --version) >&5 2>&5
2718    ac_status=$?
2719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720    (exit $ac_status); } && break
2721     done
2722     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2723     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2724     am__untar="$_am_tar -xf -"
2725     ;;
2726   plaintar)
2727     # Must skip GNU tar: if it does not support --format= it doesn't create
2728     # ustar tarball either.
2729     (tar --version) >/dev/null 2>&1 && continue
2730     am__tar='tar chf - "$$tardir"'
2731     am__tar_='tar chf - "$tardir"'
2732     am__untar='tar xf -'
2733     ;;
2734   pax)
2735     am__tar='pax -L -x ustar -w "$$tardir"'
2736     am__tar_='pax -L -x ustar -w "$tardir"'
2737     am__untar='pax -r'
2738     ;;
2739   cpio)
2740     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2741     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2742     am__untar='cpio -i -H ustar -d'
2743     ;;
2744   none)
2745     am__tar=false
2746     am__tar_=false
2747     am__untar=false
2748     ;;
2749   esac
2750
2751   # If the value was cached, stop now.  We just wanted to have am__tar
2752   # and am__untar set.
2753   test -n "${am_cv_prog_tar_ustar}" && break
2754
2755   # tar/untar a dummy directory, and stop if the command works
2756   rm -rf conftest.dir
2757   mkdir conftest.dir
2758   echo GrepMe > conftest.dir/file
2759   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2760    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2761    ac_status=$?
2762    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763    (exit $ac_status); }
2764   rm -rf conftest.dir
2765   if test -s conftest.tar; then
2766     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2767    ($am__untar <conftest.tar) >&5 2>&5
2768    ac_status=$?
2769    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770    (exit $ac_status); }
2771     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2772   fi
2773 done
2774 rm -rf conftest.dir
2775
2776 if ${am_cv_prog_tar_ustar+:} false; then :
2777   $as_echo_n "(cached) " >&6
2778 else
2779   am_cv_prog_tar_ustar=$_am_tool
2780 fi
2781
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2783 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2784
2785
2786
2787
2788
2789
2790 # Check whether --enable-silent-rules was given.
2791 if test "${enable_silent_rules+set}" = set; then :
2792   enableval=$enable_silent_rules;
2793 fi
2794
2795 case $enable_silent_rules in
2796 yes) AM_DEFAULT_VERBOSITY=0;;
2797 no)  AM_DEFAULT_VERBOSITY=1;;
2798 *)   AM_DEFAULT_VERBOSITY=0;;
2799 esac
2800 am_make=${MAKE-make}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2802 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2803 if ${am_cv_make_support_nested_variables+:} false; then :
2804   $as_echo_n "(cached) " >&6
2805 else
2806   if $as_echo 'TRUE=$(BAR$(V))
2807 BAR0=false
2808 BAR1=true
2809 V=1
2810 am__doit:
2811         @$(TRUE)
2812 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2813   am_cv_make_support_nested_variables=yes
2814 else
2815   am_cv_make_support_nested_variables=no
2816 fi
2817 fi
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2819 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2820 if test $am_cv_make_support_nested_variables = yes; then
2821     AM_V='$(V)'
2822   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2823 else
2824   AM_V=$AM_DEFAULT_VERBOSITY
2825   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2826 fi
2827 AM_BACKSLASH='\'
2828
2829
2830 GUPNP_DLNA_CURRENT=2
2831
2832 GUPNP_DLNA_REVISION=0
2833
2834 GUPNP_DLNA_AGE=0
2835
2836 GUPNP_DLNA_VERSION_INFO="$GUPNP_DLNA_CURRENT:$GUPNP_DLNA_REVISION:$GUPNP_DLNA_AGE"
2837
2838
2839 # Check for programs
2840 ac_ext=c
2841 ac_cpp='$CPP $CPPFLAGS'
2842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2845 if test -n "$ac_tool_prefix"; then
2846   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_CC+:} false; then :
2851   $as_echo_n "(cached) " >&6
2852 else
2853   if test -n "$CC"; then
2854   ac_cv_prog_CC="$CC" # Let the user override the test.
2855 else
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 for as_dir in $PATH
2858 do
2859   IFS=$as_save_IFS
2860   test -z "$as_dir" && as_dir=.
2861     for ac_exec_ext in '' $ac_executable_extensions; do
2862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2863     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865     break 2
2866   fi
2867 done
2868   done
2869 IFS=$as_save_IFS
2870
2871 fi
2872 fi
2873 CC=$ac_cv_prog_CC
2874 if test -n "$CC"; then
2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2876 $as_echo "$CC" >&6; }
2877 else
2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2880 fi
2881
2882
2883 fi
2884 if test -z "$ac_cv_prog_CC"; then
2885   ac_ct_CC=$CC
2886   # Extract the first word of "gcc", so it can be a program name with args.
2887 set dummy gcc; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2891   $as_echo_n "(cached) " >&6
2892 else
2893   if test -n "$ac_ct_CC"; then
2894   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2895 else
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 for as_dir in $PATH
2898 do
2899   IFS=$as_save_IFS
2900   test -z "$as_dir" && as_dir=.
2901     for ac_exec_ext in '' $ac_executable_extensions; do
2902   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903     ac_cv_prog_ac_ct_CC="gcc"
2904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905     break 2
2906   fi
2907 done
2908   done
2909 IFS=$as_save_IFS
2910
2911 fi
2912 fi
2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2914 if test -n "$ac_ct_CC"; then
2915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2916 $as_echo "$ac_ct_CC" >&6; }
2917 else
2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2920 fi
2921
2922   if test "x$ac_ct_CC" = x; then
2923     CC=""
2924   else
2925     case $cross_compiling:$ac_tool_warned in
2926 yes:)
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned=yes ;;
2930 esac
2931     CC=$ac_ct_CC
2932   fi
2933 else
2934   CC="$ac_cv_prog_CC"
2935 fi
2936
2937 if test -z "$CC"; then
2938           if test -n "$ac_tool_prefix"; then
2939     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}cc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944   $as_echo_n "(cached) " >&6
2945 else
2946   if test -n "$CC"; then
2947   ac_cv_prog_CC="$CC" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952   IFS=$as_save_IFS
2953   test -z "$as_dir" && as_dir=.
2954     for ac_exec_ext in '' $ac_executable_extensions; do
2955   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956     ac_cv_prog_CC="${ac_tool_prefix}cc"
2957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958     break 2
2959   fi
2960 done
2961   done
2962 IFS=$as_save_IFS
2963
2964 fi
2965 fi
2966 CC=$ac_cv_prog_CC
2967 if test -n "$CC"; then
2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2970 else
2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 fi
2974
2975
2976   fi
2977 fi
2978 if test -z "$CC"; then
2979   # Extract the first word of "cc", so it can be a program name with args.
2980 set dummy cc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false; then :
2984   $as_echo_n "(cached) " >&6
2985 else
2986   if test -n "$CC"; then
2987   ac_cv_prog_CC="$CC" # Let the user override the test.
2988 else
2989   ac_prog_rejected=no
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 for as_dir in $PATH
2992 do
2993   IFS=$as_save_IFS
2994   test -z "$as_dir" && as_dir=.
2995     for ac_exec_ext in '' $ac_executable_extensions; do
2996   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2998        ac_prog_rejected=yes
2999        continue
3000      fi
3001     ac_cv_prog_CC="cc"
3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003     break 2
3004   fi
3005 done
3006   done
3007 IFS=$as_save_IFS
3008
3009 if test $ac_prog_rejected = yes; then
3010   # We found a bogon in the path, so make sure we never use it.
3011   set dummy $ac_cv_prog_CC
3012   shift
3013   if test $# != 0; then
3014     # We chose a different compiler from the bogus one.
3015     # However, it has the same basename, so the bogon will be chosen
3016     # first if we set CC to just the basename; use the full file name.
3017     shift
3018     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3019   fi
3020 fi
3021 fi
3022 fi
3023 CC=$ac_cv_prog_CC
3024 if test -n "$CC"; then
3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3027 else
3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3030 fi
3031
3032
3033 fi
3034 if test -z "$CC"; then
3035   if test -n "$ac_tool_prefix"; then
3036   for ac_prog in cl.exe
3037   do
3038     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_CC+:} false; then :
3043   $as_echo_n "(cached) " >&6
3044 else
3045   if test -n "$CC"; then
3046   ac_cv_prog_CC="$CC" # Let the user override the test.
3047 else
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH
3050 do
3051   IFS=$as_save_IFS
3052   test -z "$as_dir" && as_dir=.
3053     for ac_exec_ext in '' $ac_executable_extensions; do
3054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3055     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057     break 2
3058   fi
3059 done
3060   done
3061 IFS=$as_save_IFS
3062
3063 fi
3064 fi
3065 CC=$ac_cv_prog_CC
3066 if test -n "$CC"; then
3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3069 else
3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3072 fi
3073
3074
3075     test -n "$CC" && break
3076   done
3077 fi
3078 if test -z "$CC"; then
3079   ac_ct_CC=$CC
3080   for ac_prog in cl.exe
3081 do
3082   # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy $ac_prog; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3087   $as_echo_n "(cached) " >&6
3088 else
3089   if test -n "$ac_ct_CC"; then
3090   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3091 else
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 for as_dir in $PATH
3094 do
3095   IFS=$as_save_IFS
3096   test -z "$as_dir" && as_dir=.
3097     for ac_exec_ext in '' $ac_executable_extensions; do
3098   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099     ac_cv_prog_ac_ct_CC="$ac_prog"
3100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101     break 2
3102   fi
3103 done
3104   done
3105 IFS=$as_save_IFS
3106
3107 fi
3108 fi
3109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110 if test -n "$ac_ct_CC"; then
3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112 $as_echo "$ac_ct_CC" >&6; }
3113 else
3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3116 fi
3117
3118
3119   test -n "$ac_ct_CC" && break
3120 done
3121
3122   if test "x$ac_ct_CC" = x; then
3123     CC=""
3124   else
3125     case $cross_compiling:$ac_tool_warned in
3126 yes:)
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129 ac_tool_warned=yes ;;
3130 esac
3131     CC=$ac_ct_CC
3132   fi
3133 fi
3134
3135 fi
3136
3137
3138 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error $? "no acceptable C compiler found in \$PATH
3141 See \`config.log' for more details" "$LINENO" 5; }
3142
3143 # Provide some information about the compiler.
3144 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3145 set X $ac_compile
3146 ac_compiler=$2
3147 for ac_option in --version -v -V -qversion; do
3148   { { ac_try="$ac_compiler $ac_option >&5"
3149 case "(($ac_try" in
3150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151   *) ac_try_echo=$ac_try;;
3152 esac
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3156   ac_status=$?
3157   if test -s conftest.err; then
3158     sed '10a\
3159 ... rest of stderr output deleted ...
3160          10q' conftest.err >conftest.er1
3161     cat conftest.er1 >&5
3162   fi
3163   rm -f conftest.er1 conftest.err
3164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165   test $ac_status = 0; }
3166 done
3167
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h.  */
3170
3171 int
3172 main ()
3173 {
3174
3175   ;
3176   return 0;
3177 }
3178 _ACEOF
3179 ac_clean_files_save=$ac_clean_files
3180 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3181 # Try to create an executable without -o first, disregard a.out.
3182 # It will help us diagnose broken compilers, and finding out an intuition
3183 # of exeext.
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3185 $as_echo_n "checking whether the C compiler works... " >&6; }
3186 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3187
3188 # The possible output files:
3189 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3190
3191 ac_rmfiles=
3192 for ac_file in $ac_files
3193 do
3194   case $ac_file in
3195     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3196     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3197   esac
3198 done
3199 rm -f $ac_rmfiles
3200
3201 if { { ac_try="$ac_link_default"
3202 case "(($ac_try" in
3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204   *) ac_try_echo=$ac_try;;
3205 esac
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208   (eval "$ac_link_default") 2>&5
3209   ac_status=$?
3210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211   test $ac_status = 0; }; then :
3212   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3213 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3214 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3215 # so that the user can short-circuit this test for compilers unknown to
3216 # Autoconf.
3217 for ac_file in $ac_files ''
3218 do
3219   test -f "$ac_file" || continue
3220   case $ac_file in
3221     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3222         ;;
3223     [ab].out )
3224         # We found the default executable, but exeext='' is most
3225         # certainly right.
3226         break;;
3227     *.* )
3228         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3229         then :; else
3230            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3231         fi
3232         # We set ac_cv_exeext here because the later test for it is not
3233         # safe: cross compilers may not add the suffix if given an `-o'
3234         # argument, so we may need to know it at that point already.
3235         # Even if this section looks crufty: it has the advantage of
3236         # actually working.
3237         break;;
3238     * )
3239         break;;
3240   esac
3241 done
3242 test "$ac_cv_exeext" = no && ac_cv_exeext=
3243
3244 else
3245   ac_file=''
3246 fi
3247 if test -z "$ac_file"; then :
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3252
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error 77 "C compiler cannot create executables
3256 See \`config.log' for more details" "$LINENO" 5; }
3257 else
3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3260 fi
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3262 $as_echo_n "checking for C compiler default output file name... " >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3264 $as_echo "$ac_file" >&6; }
3265 ac_exeext=$ac_cv_exeext
3266
3267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3268 ac_clean_files=$ac_clean_files_save
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3270 $as_echo_n "checking for suffix of executables... " >&6; }
3271 if { { ac_try="$ac_link"
3272 case "(($ac_try" in
3273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274   *) ac_try_echo=$ac_try;;
3275 esac
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278   (eval "$ac_link") 2>&5
3279   ac_status=$?
3280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281   test $ac_status = 0; }; then :
3282   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3283 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3284 # work properly (i.e., refer to `conftest.exe'), while it won't with
3285 # `rm'.
3286 for ac_file in conftest.exe conftest conftest.*; do
3287   test -f "$ac_file" || continue
3288   case $ac_file in
3289     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3291           break;;
3292     * ) break;;
3293   esac
3294 done
3295 else
3296   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3299 See \`config.log' for more details" "$LINENO" 5; }
3300 fi
3301 rm -f conftest conftest$ac_cv_exeext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3303 $as_echo "$ac_cv_exeext" >&6; }
3304
3305 rm -f conftest.$ac_ext
3306 EXEEXT=$ac_cv_exeext
3307 ac_exeext=$EXEEXT
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h.  */
3310 #include <stdio.h>
3311 int
3312 main ()
3313 {
3314 FILE *f = fopen ("conftest.out", "w");
3315  return ferror (f) || fclose (f) != 0;
3316
3317   ;
3318   return 0;
3319 }
3320 _ACEOF
3321 ac_clean_files="$ac_clean_files conftest.out"
3322 # Check that the compiler produces executables we can run.  If not, either
3323 # the compiler is broken, or we cross compile.
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3325 $as_echo_n "checking whether we are cross compiling... " >&6; }
3326 if test "$cross_compiling" != yes; then
3327   { { ac_try="$ac_link"
3328 case "(($ac_try" in
3329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330   *) ac_try_echo=$ac_try;;
3331 esac
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334   (eval "$ac_link") 2>&5
3335   ac_status=$?
3336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337   test $ac_status = 0; }
3338   if { ac_try='./conftest$ac_cv_exeext'
3339   { { case "(($ac_try" in
3340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341   *) ac_try_echo=$ac_try;;
3342 esac
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345   (eval "$ac_try") 2>&5
3346   ac_status=$?
3347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348   test $ac_status = 0; }; }; then
3349     cross_compiling=no
3350   else
3351     if test "$cross_compiling" = maybe; then
3352         cross_compiling=yes
3353     else
3354         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "cannot run C compiled programs.
3357 If you meant to cross compile, use \`--host'.
3358 See \`config.log' for more details" "$LINENO" 5; }
3359     fi
3360   fi
3361 fi
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3363 $as_echo "$cross_compiling" >&6; }
3364
3365 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3366 ac_clean_files=$ac_clean_files_save
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3368 $as_echo_n "checking for suffix of object files... " >&6; }
3369 if ${ac_cv_objext+:} false; then :
3370   $as_echo_n "(cached) " >&6
3371 else
3372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h.  */
3374
3375 int
3376 main ()
3377 {
3378
3379   ;
3380   return 0;
3381 }
3382 _ACEOF
3383 rm -f conftest.o conftest.obj
3384 if { { ac_try="$ac_compile"
3385 case "(($ac_try" in
3386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387   *) ac_try_echo=$ac_try;;
3388 esac
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391   (eval "$ac_compile") 2>&5
3392   ac_status=$?
3393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394   test $ac_status = 0; }; then :
3395   for ac_file in conftest.o conftest.obj conftest.*; do
3396   test -f "$ac_file" || continue;
3397   case $ac_file in
3398     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3399     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3400        break;;
3401   esac
3402 done
3403 else
3404   $as_echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3406
3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "cannot compute suffix of object files: cannot compile
3410 See \`config.log' for more details" "$LINENO" 5; }
3411 fi
3412 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3413 fi
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3415 $as_echo "$ac_cv_objext" >&6; }
3416 OBJEXT=$ac_cv_objext
3417 ac_objext=$OBJEXT
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3419 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3420 if ${ac_cv_c_compiler_gnu+:} false; then :
3421   $as_echo_n "(cached) " >&6
3422 else
3423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h.  */
3425
3426 int
3427 main ()
3428 {
3429 #ifndef __GNUC__
3430        choke me
3431 #endif
3432
3433   ;
3434   return 0;
3435 }
3436 _ACEOF
3437 if ac_fn_c_try_compile "$LINENO"; then :
3438   ac_compiler_gnu=yes
3439 else
3440   ac_compiler_gnu=no
3441 fi
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3444
3445 fi
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3447 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3448 if test $ac_compiler_gnu = yes; then
3449   GCC=yes
3450 else
3451   GCC=
3452 fi
3453 ac_test_CFLAGS=${CFLAGS+set}
3454 ac_save_CFLAGS=$CFLAGS
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3456 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3457 if ${ac_cv_prog_cc_g+:} false; then :
3458   $as_echo_n "(cached) " >&6
3459 else
3460   ac_save_c_werror_flag=$ac_c_werror_flag
3461    ac_c_werror_flag=yes
3462    ac_cv_prog_cc_g=no
3463    CFLAGS="-g"
3464    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h.  */
3466
3467 int
3468 main ()
3469 {
3470
3471   ;
3472   return 0;
3473 }
3474 _ACEOF
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476   ac_cv_prog_cc_g=yes
3477 else
3478   CFLAGS=""
3479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h.  */
3481
3482 int
3483 main ()
3484 {
3485
3486   ;
3487   return 0;
3488 }
3489 _ACEOF
3490 if ac_fn_c_try_compile "$LINENO"; then :
3491
3492 else
3493   ac_c_werror_flag=$ac_save_c_werror_flag
3494          CFLAGS="-g"
3495          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h.  */
3497
3498 int
3499 main ()
3500 {
3501
3502   ;
3503   return 0;
3504 }
3505 _ACEOF
3506 if ac_fn_c_try_compile "$LINENO"; then :
3507   ac_cv_prog_cc_g=yes
3508 fi
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 fi
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 fi
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514    ac_c_werror_flag=$ac_save_c_werror_flag
3515 fi
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3517 $as_echo "$ac_cv_prog_cc_g" >&6; }
3518 if test "$ac_test_CFLAGS" = set; then
3519   CFLAGS=$ac_save_CFLAGS
3520 elif test $ac_cv_prog_cc_g = yes; then
3521   if test "$GCC" = yes; then
3522     CFLAGS="-g -O2"
3523   else
3524     CFLAGS="-g"
3525   fi
3526 else
3527   if test "$GCC" = yes; then
3528     CFLAGS="-O2"
3529   else
3530     CFLAGS=
3531   fi
3532 fi
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3534 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3535 if ${ac_cv_prog_cc_c89+:} false; then :
3536   $as_echo_n "(cached) " >&6
3537 else
3538   ac_cv_prog_cc_c89=no
3539 ac_save_CC=$CC
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h.  */
3542 #include <stdarg.h>
3543 #include <stdio.h>
3544 struct stat;
3545 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3546 struct buf { int x; };
3547 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3548 static char *e (p, i)
3549      char **p;
3550      int i;
3551 {
3552   return p[i];
3553 }
3554 static char *f (char * (*g) (char **, int), char **p, ...)
3555 {
3556   char *s;
3557   va_list v;
3558   va_start (v,p);
3559   s = g (p, va_arg (v,int));
3560   va_end (v);
3561   return s;
3562 }
3563
3564 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3565    function prototypes and stuff, but not '\xHH' hex character constants.
3566    These don't provoke an error unfortunately, instead are silently treated
3567    as 'x'.  The following induces an error, until -std is added to get
3568    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3569    array size at least.  It's necessary to write '\x00'==0 to get something
3570    that's true only with -std.  */
3571 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3572
3573 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3574    inside strings and character constants.  */
3575 #define FOO(x) 'x'
3576 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3577
3578 int test (int i, double x);
3579 struct s1 {int (*f) (int a);};
3580 struct s2 {int (*f) (double a);};
3581 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3582 int argc;
3583 char **argv;
3584 int
3585 main ()
3586 {
3587 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3588   ;
3589   return 0;
3590 }
3591 _ACEOF
3592 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3593         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3594 do
3595   CC="$ac_save_CC $ac_arg"
3596   if ac_fn_c_try_compile "$LINENO"; then :
3597   ac_cv_prog_cc_c89=$ac_arg
3598 fi
3599 rm -f core conftest.err conftest.$ac_objext
3600   test "x$ac_cv_prog_cc_c89" != "xno" && break
3601 done
3602 rm -f conftest.$ac_ext
3603 CC=$ac_save_CC
3604
3605 fi
3606 # AC_CACHE_VAL
3607 case "x$ac_cv_prog_cc_c89" in
3608   x)
3609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3610 $as_echo "none needed" >&6; } ;;
3611   xno)
3612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3613 $as_echo "unsupported" >&6; } ;;
3614   *)
3615     CC="$CC $ac_cv_prog_cc_c89"
3616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3617 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3618 esac
3619 if test "x$ac_cv_prog_cc_c89" != xno; then :
3620
3621 fi
3622
3623 ac_ext=c
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3628 DEPDIR="${am__leading_dot}deps"
3629
3630 ac_config_commands="$ac_config_commands depfiles"
3631
3632
3633 am_make=${MAKE-make}
3634 cat > confinc << 'END'
3635 am__doit:
3636         @echo this is the am__doit target
3637 .PHONY: am__doit
3638 END
3639 # If we don't find an include directive, just comment out the code.
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3641 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3642 am__include="#"
3643 am__quote=
3644 _am_result=none
3645 # First try GNU make style include.
3646 echo "include confinc" > confmf
3647 # Ignore all kinds of additional output from `make'.
3648 case `$am_make -s -f confmf 2> /dev/null` in #(
3649 *the\ am__doit\ target*)
3650   am__include=include
3651   am__quote=
3652   _am_result=GNU
3653   ;;
3654 esac
3655 # Now try BSD make style include.
3656 if test "$am__include" = "#"; then
3657    echo '.include "confinc"' > confmf
3658    case `$am_make -s -f confmf 2> /dev/null` in #(
3659    *the\ am__doit\ target*)
3660      am__include=.include
3661      am__quote="\""
3662      _am_result=BSD
3663      ;;
3664    esac
3665 fi
3666
3667
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3669 $as_echo "$_am_result" >&6; }
3670 rm -f confinc confmf
3671
3672 # Check whether --enable-dependency-tracking was given.
3673 if test "${enable_dependency_tracking+set}" = set; then :
3674   enableval=$enable_dependency_tracking;
3675 fi
3676
3677 if test "x$enable_dependency_tracking" != xno; then
3678   am_depcomp="$ac_aux_dir/depcomp"
3679   AMDEPBACKSLASH='\'
3680   am__nodep='_no'
3681 fi
3682  if test "x$enable_dependency_tracking" != xno; then
3683   AMDEP_TRUE=
3684   AMDEP_FALSE='#'
3685 else
3686   AMDEP_TRUE='#'
3687   AMDEP_FALSE=
3688 fi
3689
3690
3691
3692 depcc="$CC"   am_compiler_list=
3693
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3695 $as_echo_n "checking dependency style of $depcc... " >&6; }
3696 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3697   $as_echo_n "(cached) " >&6
3698 else
3699   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3700   # We make a subdir and do the tests there.  Otherwise we can end up
3701   # making bogus files that we don't know about and never remove.  For
3702   # instance it was reported that on HP-UX the gcc test will end up
3703   # making a dummy file named `D' -- because `-MD' means `put the output
3704   # in D'.
3705   rm -rf conftest.dir
3706   mkdir conftest.dir
3707   # Copy depcomp to subdir because otherwise we won't find it if we're
3708   # using a relative directory.
3709   cp "$am_depcomp" conftest.dir
3710   cd conftest.dir
3711   # We will build objects and dependencies in a subdirectory because
3712   # it helps to detect inapplicable dependency modes.  For instance
3713   # both Tru64's cc and ICC support -MD to output dependencies as a
3714   # side effect of compilation, but ICC will put the dependencies in
3715   # the current directory while Tru64 will put them in the object
3716   # directory.
3717   mkdir sub
3718
3719   am_cv_CC_dependencies_compiler_type=none
3720   if test "$am_compiler_list" = ""; then
3721      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3722   fi
3723   am__universal=false
3724   case " $depcc " in #(
3725      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3726      esac
3727
3728   for depmode in $am_compiler_list; do
3729     # Setup a source with many dependencies, because some compilers
3730     # like to wrap large dependency lists on column 80 (with \), and
3731     # we should not choose a depcomp mode which is confused by this.
3732     #
3733     # We need to recreate these files for each test, as the compiler may
3734     # overwrite some of them when testing with obscure command lines.
3735     # This happens at least with the AIX C compiler.
3736     : > sub/conftest.c
3737     for i in 1 2 3 4 5 6; do
3738       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3739       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3740       # Solaris 8's {/usr,}/bin/sh.
3741       touch sub/conftst$i.h
3742     done
3743     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3744
3745     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3746     # mode.  It turns out that the SunPro C++ compiler does not properly
3747     # handle `-M -o', and we need to detect this.  Also, some Intel
3748     # versions had trouble with output in subdirs
3749     am__obj=sub/conftest.${OBJEXT-o}
3750     am__minus_obj="-o $am__obj"
3751     case $depmode in
3752     gcc)
3753       # This depmode causes a compiler race in universal mode.
3754       test "$am__universal" = false || continue
3755       ;;
3756     nosideeffect)
3757       # after this tag, mechanisms are not by side-effect, so they'll
3758       # only be used when explicitly requested
3759       if test "x$enable_dependency_tracking" = xyes; then
3760         continue
3761       else
3762         break
3763       fi
3764       ;;
3765     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3766       # This compiler won't grok `-c -o', but also, the minuso test has
3767       # not run yet.  These depmodes are late enough in the game, and
3768       # so weak that their functioning should not be impacted.
3769       am__obj=conftest.${OBJEXT-o}
3770       am__minus_obj=
3771       ;;
3772     none) break ;;
3773     esac
3774     if depmode=$depmode \
3775        source=sub/conftest.c object=$am__obj \
3776        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3777        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3778          >/dev/null 2>conftest.err &&
3779        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3780        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3781        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3782        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3783       # icc doesn't choke on unknown options, it will just issue warnings
3784       # or remarks (even with -Werror).  So we grep stderr for any message
3785       # that says an option was ignored or not supported.
3786       # When given -MP, icc 7.0 and 7.1 complain thusly:
3787       #   icc: Command line warning: ignoring option '-M'; no argument required
3788       # The diagnosis changed in icc 8.0:
3789       #   icc: Command line remark: option '-MP' not supported
3790       if (grep 'ignoring option' conftest.err ||
3791           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3792         am_cv_CC_dependencies_compiler_type=$depmode
3793         break
3794       fi
3795     fi
3796   done
3797
3798   cd ..
3799   rm -rf conftest.dir
3800 else
3801   am_cv_CC_dependencies_compiler_type=none
3802 fi
3803
3804 fi
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3806 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3807 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3808
3809  if
3810   test "x$enable_dependency_tracking" != xno \
3811   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3812   am__fastdepCC_TRUE=
3813   am__fastdepCC_FALSE='#'
3814 else
3815   am__fastdepCC_TRUE='#'
3816   am__fastdepCC_FALSE=
3817 fi
3818
3819
3820
3821 ac_ext=c
3822 ac_cpp='$CPP $CPPFLAGS'
3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3827 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3828 # On Suns, sometimes $CPP names a directory.
3829 if test -n "$CPP" && test -d "$CPP"; then
3830   CPP=
3831 fi
3832 if test -z "$CPP"; then
3833   if ${ac_cv_prog_CPP+:} false; then :
3834   $as_echo_n "(cached) " >&6
3835 else
3836       # Double quotes because CPP needs to be expanded
3837     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3838     do
3839       ac_preproc_ok=false
3840 for ac_c_preproc_warn_flag in '' yes
3841 do
3842   # Use a header file that comes with gcc, so configuring glibc
3843   # with a fresh cross-compiler works.
3844   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3845   # <limits.h> exists even on freestanding compilers.
3846   # On the NeXT, cc -E runs the code through the compiler's parser,
3847   # not just through cpp. "Syntax error" is here to catch this case.
3848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h.  */
3850 #ifdef __STDC__
3851 # include <limits.h>
3852 #else
3853 # include <assert.h>
3854 #endif
3855                      Syntax error
3856 _ACEOF
3857 if ac_fn_c_try_cpp "$LINENO"; then :
3858
3859 else
3860   # Broken: fails on valid input.
3861 continue
3862 fi
3863 rm -f conftest.err conftest.i conftest.$ac_ext
3864
3865   # OK, works on sane cases.  Now check whether nonexistent headers
3866   # can be detected and how.
3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h.  */
3869 #include <ac_nonexistent.h>
3870 _ACEOF
3871 if ac_fn_c_try_cpp "$LINENO"; then :
3872   # Broken: success on invalid input.
3873 continue
3874 else
3875   # Passes both tests.
3876 ac_preproc_ok=:
3877 break
3878 fi
3879 rm -f conftest.err conftest.i conftest.$ac_ext
3880
3881 done
3882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3883 rm -f conftest.i conftest.err conftest.$ac_ext
3884 if $ac_preproc_ok; then :
3885   break
3886 fi
3887
3888     done
3889     ac_cv_prog_CPP=$CPP
3890
3891 fi
3892   CPP=$ac_cv_prog_CPP
3893 else
3894   ac_cv_prog_CPP=$CPP
3895 fi
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3897 $as_echo "$CPP" >&6; }
3898 ac_preproc_ok=false
3899 for ac_c_preproc_warn_flag in '' yes
3900 do
3901   # Use a header file that comes with gcc, so configuring glibc
3902   # with a fresh cross-compiler works.
3903   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3904   # <limits.h> exists even on freestanding compilers.
3905   # On the NeXT, cc -E runs the code through the compiler's parser,
3906   # not just through cpp. "Syntax error" is here to catch this case.
3907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h.  */
3909 #ifdef __STDC__
3910 # include <limits.h>
3911 #else
3912 # include <assert.h>
3913 #endif
3914                      Syntax error
3915 _ACEOF
3916 if ac_fn_c_try_cpp "$LINENO"; then :
3917
3918 else
3919   # Broken: fails on valid input.
3920 continue
3921 fi
3922 rm -f conftest.err conftest.i conftest.$ac_ext
3923
3924   # OK, works on sane cases.  Now check whether nonexistent headers
3925   # can be detected and how.
3926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h.  */
3928 #include <ac_nonexistent.h>
3929 _ACEOF
3930 if ac_fn_c_try_cpp "$LINENO"; then :
3931   # Broken: success on invalid input.
3932 continue
3933 else
3934   # Passes both tests.
3935 ac_preproc_ok=:
3936 break
3937 fi
3938 rm -f conftest.err conftest.i conftest.$ac_ext
3939
3940 done
3941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3942 rm -f conftest.i conftest.err conftest.$ac_ext
3943 if $ac_preproc_ok; then :
3944
3945 else
3946   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3949 See \`config.log' for more details" "$LINENO" 5; }
3950 fi
3951
3952 ac_ext=c
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957
3958
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3960 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3961 if ${ac_cv_path_GREP+:} false; then :
3962   $as_echo_n "(cached) " >&6
3963 else
3964   if test -z "$GREP"; then
3965   ac_path_GREP_found=false
3966   # Loop through the user's path and test for each of PROGNAME-LIST
3967   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3969 do
3970   IFS=$as_save_IFS
3971   test -z "$as_dir" && as_dir=.
3972     for ac_prog in grep ggrep; do
3973     for ac_exec_ext in '' $ac_executable_extensions; do
3974       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3975       as_fn_executable_p "$ac_path_GREP" || continue
3976 # Check for GNU ac_path_GREP and select it if it is found.
3977   # Check for GNU $ac_path_GREP
3978 case `"$ac_path_GREP" --version 2>&1` in
3979 *GNU*)
3980   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3981 *)
3982   ac_count=0
3983   $as_echo_n 0123456789 >"conftest.in"
3984   while :
3985   do
3986     cat "conftest.in" "conftest.in" >"conftest.tmp"
3987     mv "conftest.tmp" "conftest.in"
3988     cp "conftest.in" "conftest.nl"
3989     $as_echo 'GREP' >> "conftest.nl"
3990     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3991     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3992     as_fn_arith $ac_count + 1 && ac_count=$as_val
3993     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3994       # Best one so far, save it but keep looking for a better one
3995       ac_cv_path_GREP="$ac_path_GREP"
3996       ac_path_GREP_max=$ac_count
3997     fi
3998     # 10*(2^10) chars as input seems more than enough
3999     test $ac_count -gt 10 && break
4000   done
4001   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4002 esac
4003
4004       $ac_path_GREP_found && break 3
4005     done
4006   done
4007   done
4008 IFS=$as_save_IFS
4009   if test -z "$ac_cv_path_GREP"; then
4010     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4011   fi
4012 else
4013   ac_cv_path_GREP=$GREP
4014 fi
4015
4016 fi
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4018 $as_echo "$ac_cv_path_GREP" >&6; }
4019  GREP="$ac_cv_path_GREP"
4020
4021
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4023 $as_echo_n "checking for egrep... " >&6; }
4024 if ${ac_cv_path_EGREP+:} false; then :
4025   $as_echo_n "(cached) " >&6
4026 else
4027   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4028    then ac_cv_path_EGREP="$GREP -E"
4029    else
4030      if test -z "$EGREP"; then
4031   ac_path_EGREP_found=false
4032   # Loop through the user's path and test for each of PROGNAME-LIST
4033   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4035 do
4036   IFS=$as_save_IFS
4037   test -z "$as_dir" && as_dir=.
4038     for ac_prog in egrep; do
4039     for ac_exec_ext in '' $ac_executable_extensions; do
4040       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4041       as_fn_executable_p "$ac_path_EGREP" || continue
4042 # Check for GNU ac_path_EGREP and select it if it is found.
4043   # Check for GNU $ac_path_EGREP
4044 case `"$ac_path_EGREP" --version 2>&1` in
4045 *GNU*)
4046   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4047 *)
4048   ac_count=0
4049   $as_echo_n 0123456789 >"conftest.in"
4050   while :
4051   do
4052     cat "conftest.in" "conftest.in" >"conftest.tmp"
4053     mv "conftest.tmp" "conftest.in"
4054     cp "conftest.in" "conftest.nl"
4055     $as_echo 'EGREP' >> "conftest.nl"
4056     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4057     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4058     as_fn_arith $ac_count + 1 && ac_count=$as_val
4059     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4060       # Best one so far, save it but keep looking for a better one
4061       ac_cv_path_EGREP="$ac_path_EGREP"
4062       ac_path_EGREP_max=$ac_count
4063     fi
4064     # 10*(2^10) chars as input seems more than enough
4065     test $ac_count -gt 10 && break
4066   done
4067   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4068 esac
4069
4070       $ac_path_EGREP_found && break 3
4071     done
4072   done
4073   done
4074 IFS=$as_save_IFS
4075   if test -z "$ac_cv_path_EGREP"; then
4076     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4077   fi
4078 else
4079   ac_cv_path_EGREP=$EGREP
4080 fi
4081
4082    fi
4083 fi
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4085 $as_echo "$ac_cv_path_EGREP" >&6; }
4086  EGREP="$ac_cv_path_EGREP"
4087
4088
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4090 $as_echo_n "checking for ANSI C header files... " >&6; }
4091 if ${ac_cv_header_stdc+:} false; then :
4092   $as_echo_n "(cached) " >&6
4093 else
4094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096 #include <stdlib.h>
4097 #include <stdarg.h>
4098 #include <string.h>
4099 #include <float.h>
4100
4101 int
4102 main ()
4103 {
4104
4105   ;
4106   return 0;
4107 }
4108 _ACEOF
4109 if ac_fn_c_try_compile "$LINENO"; then :
4110   ac_cv_header_stdc=yes
4111 else
4112   ac_cv_header_stdc=no
4113 fi
4114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4115
4116 if test $ac_cv_header_stdc = yes; then
4117   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h.  */
4120 #include <string.h>
4121
4122 _ACEOF
4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4124   $EGREP "memchr" >/dev/null 2>&1; then :
4125
4126 else
4127   ac_cv_header_stdc=no
4128 fi
4129 rm -f conftest*
4130
4131 fi
4132
4133 if test $ac_cv_header_stdc = yes; then
4134   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h.  */
4137 #include <stdlib.h>
4138
4139 _ACEOF
4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4141   $EGREP "free" >/dev/null 2>&1; then :
4142
4143 else
4144   ac_cv_header_stdc=no
4145 fi
4146 rm -f conftest*
4147
4148 fi
4149
4150 if test $ac_cv_header_stdc = yes; then
4151   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4152   if test "$cross_compiling" = yes; then :
4153   :
4154 else
4155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h.  */
4157 #include <ctype.h>
4158 #include <stdlib.h>
4159 #if ((' ' & 0x0FF) == 0x020)
4160 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4161 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4162 #else
4163 # define ISLOWER(c) \
4164                    (('a' <= (c) && (c) <= 'i') \
4165                      || ('j' <= (c) && (c) <= 'r') \
4166                      || ('s' <= (c) && (c) <= 'z'))
4167 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4168 #endif
4169
4170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4171 int
4172 main ()
4173 {
4174   int i;
4175   for (i = 0; i < 256; i++)
4176     if (XOR (islower (i), ISLOWER (i))
4177         || toupper (i) != TOUPPER (i))
4178       return 2;
4179   return 0;
4180 }
4181 _ACEOF
4182 if ac_fn_c_try_run "$LINENO"; then :
4183
4184 else
4185   ac_cv_header_stdc=no
4186 fi
4187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4188   conftest.$ac_objext conftest.beam conftest.$ac_ext
4189 fi
4190
4191 fi
4192 fi
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4194 $as_echo "$ac_cv_header_stdc" >&6; }
4195 if test $ac_cv_header_stdc = yes; then
4196
4197 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4198
4199 fi
4200
4201
4202 # Initialize libtool
4203
4204 case `pwd` in
4205   *\ * | *\     *)
4206     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4207 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4208 esac
4209
4210
4211
4212 macro_version='2.4.2'
4213 macro_revision='1.3337'
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227 ltmain="$ac_aux_dir/ltmain.sh"
4228
4229 # Make sure we can run config.sub.
4230 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4231   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4232
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4234 $as_echo_n "checking build system type... " >&6; }
4235 if ${ac_cv_build+:} false; then :
4236   $as_echo_n "(cached) " >&6
4237 else
4238   ac_build_alias=$build_alias
4239 test "x$ac_build_alias" = x &&
4240   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4241 test "x$ac_build_alias" = x &&
4242   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4243 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4244   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4245
4246 fi
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4248 $as_echo "$ac_cv_build" >&6; }
4249 case $ac_cv_build in
4250 *-*-*) ;;
4251 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4252 esac
4253 build=$ac_cv_build
4254 ac_save_IFS=$IFS; IFS='-'
4255 set x $ac_cv_build
4256 shift
4257 build_cpu=$1
4258 build_vendor=$2
4259 shift; shift
4260 # Remember, the first character of IFS is used to create $*,
4261 # except with old shells:
4262 build_os=$*
4263 IFS=$ac_save_IFS
4264 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4265
4266
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4268 $as_echo_n "checking host system type... " >&6; }
4269 if ${ac_cv_host+:} false; then :
4270   $as_echo_n "(cached) " >&6
4271 else
4272   if test "x$host_alias" = x; then
4273   ac_cv_host=$ac_cv_build
4274 else
4275   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4276     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4277 fi
4278
4279 fi
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4281 $as_echo "$ac_cv_host" >&6; }
4282 case $ac_cv_host in
4283 *-*-*) ;;
4284 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4285 esac
4286 host=$ac_cv_host
4287 ac_save_IFS=$IFS; IFS='-'
4288 set x $ac_cv_host
4289 shift
4290 host_cpu=$1
4291 host_vendor=$2
4292 shift; shift
4293 # Remember, the first character of IFS is used to create $*,
4294 # except with old shells:
4295 host_os=$*
4296 IFS=$ac_save_IFS
4297 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4298
4299
4300 # Backslashify metacharacters that are still active within
4301 # double-quoted strings.
4302 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4303
4304 # Same as above, but do not quote variable references.
4305 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4306
4307 # Sed substitution to delay expansion of an escaped shell variable in a
4308 # double_quote_subst'ed string.
4309 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4310
4311 # Sed substitution to delay expansion of an escaped single quote.
4312 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4313
4314 # Sed substitution to avoid accidental globbing in evaled expressions
4315 no_glob_subst='s/\*/\\\*/g'
4316
4317 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4318 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4319 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4320
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4322 $as_echo_n "checking how to print strings... " >&6; }
4323 # Test print first, because it will be a builtin if present.
4324 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4325    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4326   ECHO='print -r --'
4327 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4328   ECHO='printf %s\n'
4329 else
4330   # Use this function as a fallback that always works.
4331   func_fallback_echo ()
4332   {
4333     eval 'cat <<_LTECHO_EOF
4334 $1
4335 _LTECHO_EOF'
4336   }
4337   ECHO='func_fallback_echo'
4338 fi
4339
4340 # func_echo_all arg...
4341 # Invoke $ECHO with all args, space-separated.
4342 func_echo_all ()
4343 {
4344     $ECHO ""
4345 }
4346
4347 case "$ECHO" in
4348   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4349 $as_echo "printf" >&6; } ;;
4350   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4351 $as_echo "print -r" >&6; } ;;
4352   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4353 $as_echo "cat" >&6; } ;;
4354 esac
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4370 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4371 if ${ac_cv_path_SED+:} false; then :
4372   $as_echo_n "(cached) " >&6
4373 else
4374             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4375      for ac_i in 1 2 3 4 5 6 7; do
4376        ac_script="$ac_script$as_nl$ac_script"
4377      done
4378      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4379      { ac_script=; unset ac_script;}
4380      if test -z "$SED"; then
4381   ac_path_SED_found=false
4382   # Loop through the user's path and test for each of PROGNAME-LIST
4383   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4385 do
4386   IFS=$as_save_IFS
4387   test -z "$as_dir" && as_dir=.
4388     for ac_prog in sed gsed; do
4389     for ac_exec_ext in '' $ac_executable_extensions; do
4390       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4391       as_fn_executable_p "$ac_path_SED" || continue
4392 # Check for GNU ac_path_SED and select it if it is found.
4393   # Check for GNU $ac_path_SED
4394 case `"$ac_path_SED" --version 2>&1` in
4395 *GNU*)
4396   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4397 *)
4398   ac_count=0
4399   $as_echo_n 0123456789 >"conftest.in"
4400   while :
4401   do
4402     cat "conftest.in" "conftest.in" >"conftest.tmp"
4403     mv "conftest.tmp" "conftest.in"
4404     cp "conftest.in" "conftest.nl"
4405     $as_echo '' >> "conftest.nl"
4406     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408     as_fn_arith $ac_count + 1 && ac_count=$as_val
4409     if test $ac_count -gt ${ac_path_SED_max-0}; then
4410       # Best one so far, save it but keep looking for a better one
4411       ac_cv_path_SED="$ac_path_SED"
4412       ac_path_SED_max=$ac_count
4413     fi
4414     # 10*(2^10) chars as input seems more than enough
4415     test $ac_count -gt 10 && break
4416   done
4417   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4418 esac
4419
4420       $ac_path_SED_found && break 3
4421     done
4422   done
4423   done
4424 IFS=$as_save_IFS
4425   if test -z "$ac_cv_path_SED"; then
4426     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4427   fi
4428 else
4429   ac_cv_path_SED=$SED
4430 fi
4431
4432 fi
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4434 $as_echo "$ac_cv_path_SED" >&6; }
4435  SED="$ac_cv_path_SED"
4436   rm -f conftest.sed
4437
4438 test -z "$SED" && SED=sed
4439 Xsed="$SED -e 1s/^X//"
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4452 $as_echo_n "checking for fgrep... " >&6; }
4453 if ${ac_cv_path_FGREP+:} false; then :
4454   $as_echo_n "(cached) " >&6
4455 else
4456   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4457    then ac_cv_path_FGREP="$GREP -F"
4458    else
4459      if test -z "$FGREP"; then
4460   ac_path_FGREP_found=false
4461   # Loop through the user's path and test for each of PROGNAME-LIST
4462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4464 do
4465   IFS=$as_save_IFS
4466   test -z "$as_dir" && as_dir=.
4467     for ac_prog in fgrep; do
4468     for ac_exec_ext in '' $ac_executable_extensions; do
4469       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4470       as_fn_executable_p "$ac_path_FGREP" || continue
4471 # Check for GNU ac_path_FGREP and select it if it is found.
4472   # Check for GNU $ac_path_FGREP
4473 case `"$ac_path_FGREP" --version 2>&1` in
4474 *GNU*)
4475   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4476 *)
4477   ac_count=0
4478   $as_echo_n 0123456789 >"conftest.in"
4479   while :
4480   do
4481     cat "conftest.in" "conftest.in" >"conftest.tmp"
4482     mv "conftest.tmp" "conftest.in"
4483     cp "conftest.in" "conftest.nl"
4484     $as_echo 'FGREP' >> "conftest.nl"
4485     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4486     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4487     as_fn_arith $ac_count + 1 && ac_count=$as_val
4488     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4489       # Best one so far, save it but keep looking for a better one
4490       ac_cv_path_FGREP="$ac_path_FGREP"
4491       ac_path_FGREP_max=$ac_count
4492     fi
4493     # 10*(2^10) chars as input seems more than enough
4494     test $ac_count -gt 10 && break
4495   done
4496   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4497 esac
4498
4499       $ac_path_FGREP_found && break 3
4500     done
4501   done
4502   done
4503 IFS=$as_save_IFS
4504   if test -z "$ac_cv_path_FGREP"; then
4505     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4506   fi
4507 else
4508   ac_cv_path_FGREP=$FGREP
4509 fi
4510
4511    fi
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4514 $as_echo "$ac_cv_path_FGREP" >&6; }
4515  FGREP="$ac_cv_path_FGREP"
4516
4517
4518 test -z "$GREP" && GREP=grep
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538 # Check whether --with-gnu-ld was given.
4539 if test "${with_gnu_ld+set}" = set; then :
4540   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4541 else
4542   with_gnu_ld=no
4543 fi
4544
4545 ac_prog=ld
4546 if test "$GCC" = yes; then
4547   # Check if gcc -print-prog-name=ld gives a path.
4548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4549 $as_echo_n "checking for ld used by $CC... " >&6; }
4550   case $host in
4551   *-*-mingw*)
4552     # gcc leaves a trailing carriage return which upsets mingw
4553     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4554   *)
4555     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4556   esac
4557   case $ac_prog in
4558     # Accept absolute paths.
4559     [\\/]* | ?:[\\/]*)
4560       re_direlt='/[^/][^/]*/\.\./'
4561       # Canonicalize the pathname of ld
4562       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4563       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4564         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4565       done
4566       test -z "$LD" && LD="$ac_prog"
4567       ;;
4568   "")
4569     # If it fails, then pretend we aren't using GCC.
4570     ac_prog=ld
4571     ;;
4572   *)
4573     # If it is relative, then search for the first ld in PATH.
4574     with_gnu_ld=unknown
4575     ;;
4576   esac
4577 elif test "$with_gnu_ld" = yes; then
4578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4579 $as_echo_n "checking for GNU ld... " >&6; }
4580 else
4581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4582 $as_echo_n "checking for non-GNU ld... " >&6; }
4583 fi
4584 if ${lt_cv_path_LD+:} false; then :
4585   $as_echo_n "(cached) " >&6
4586 else
4587   if test -z "$LD"; then
4588   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4589   for ac_dir in $PATH; do
4590     IFS="$lt_save_ifs"
4591     test -z "$ac_dir" && ac_dir=.
4592     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4593       lt_cv_path_LD="$ac_dir/$ac_prog"
4594       # Check to see if the program is GNU ld.  I'd rather use --version,
4595       # but apparently some variants of GNU ld only accept -v.
4596       # Break only if it was the GNU/non-GNU ld that we prefer.
4597       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4598       *GNU* | *'with BFD'*)
4599         test "$with_gnu_ld" != no && break
4600         ;;
4601       *)
4602         test "$with_gnu_ld" != yes && break
4603         ;;
4604       esac
4605     fi
4606   done
4607   IFS="$lt_save_ifs"
4608 else
4609   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4610 fi
4611 fi
4612
4613 LD="$lt_cv_path_LD"
4614 if test -n "$LD"; then
4615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4616 $as_echo "$LD" >&6; }
4617 else
4618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4620 fi
4621 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4624 if ${lt_cv_prog_gnu_ld+:} false; then :
4625   $as_echo_n "(cached) " >&6
4626 else
4627   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4628 case `$LD -v 2>&1 </dev/null` in
4629 *GNU* | *'with BFD'*)
4630   lt_cv_prog_gnu_ld=yes
4631   ;;
4632 *)
4633   lt_cv_prog_gnu_ld=no
4634   ;;
4635 esac
4636 fi
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4638 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4639 with_gnu_ld=$lt_cv_prog_gnu_ld
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4650 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4651 if ${lt_cv_path_NM+:} false; then :
4652   $as_echo_n "(cached) " >&6
4653 else
4654   if test -n "$NM"; then
4655   # Let the user override the test.
4656   lt_cv_path_NM="$NM"
4657 else
4658   lt_nm_to_check="${ac_tool_prefix}nm"
4659   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4660     lt_nm_to_check="$lt_nm_to_check nm"
4661   fi
4662   for lt_tmp_nm in $lt_nm_to_check; do
4663     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4664     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4665       IFS="$lt_save_ifs"
4666       test -z "$ac_dir" && ac_dir=.
4667       tmp_nm="$ac_dir/$lt_tmp_nm"
4668       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4669         # Check to see if the nm accepts a BSD-compat flag.
4670         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4671         #   nm: unknown option "B" ignored
4672         # Tru64's nm complains that /dev/null is an invalid object file
4673         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4674         */dev/null* | *'Invalid file or object type'*)
4675           lt_cv_path_NM="$tmp_nm -B"
4676           break
4677           ;;
4678         *)
4679           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4680           */dev/null*)
4681             lt_cv_path_NM="$tmp_nm -p"
4682             break
4683             ;;
4684           *)
4685             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4686             continue # so that we can try to find one that supports BSD flags
4687             ;;
4688           esac
4689           ;;
4690         esac
4691       fi
4692     done
4693     IFS="$lt_save_ifs"
4694   done
4695   : ${lt_cv_path_NM=no}
4696 fi
4697 fi
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4699 $as_echo "$lt_cv_path_NM" >&6; }
4700 if test "$lt_cv_path_NM" != "no"; then
4701   NM="$lt_cv_path_NM"
4702 else
4703   # Didn't find any BSD compatible name lister, look for dumpbin.
4704   if test -n "$DUMPBIN"; then :
4705     # Let the user override the test.
4706   else
4707     if test -n "$ac_tool_prefix"; then
4708   for ac_prog in dumpbin "link -dump"
4709   do
4710     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if ${ac_cv_prog_DUMPBIN+:} false; then :
4715   $as_echo_n "(cached) " >&6
4716 else
4717   if test -n "$DUMPBIN"; then
4718   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4719 else
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 for as_dir in $PATH
4722 do
4723   IFS=$as_save_IFS
4724   test -z "$as_dir" && as_dir=.
4725     for ac_exec_ext in '' $ac_executable_extensions; do
4726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4727     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729     break 2
4730   fi
4731 done
4732   done
4733 IFS=$as_save_IFS
4734
4735 fi
4736 fi
4737 DUMPBIN=$ac_cv_prog_DUMPBIN
4738 if test -n "$DUMPBIN"; then
4739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4740 $as_echo "$DUMPBIN" >&6; }
4741 else
4742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4744 fi
4745
4746
4747     test -n "$DUMPBIN" && break
4748   done
4749 fi
4750 if test -z "$DUMPBIN"; then
4751   ac_ct_DUMPBIN=$DUMPBIN
4752   for ac_prog in dumpbin "link -dump"
4753 do
4754   # Extract the first word of "$ac_prog", so it can be a program name with args.
4755 set dummy $ac_prog; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4759   $as_echo_n "(cached) " >&6
4760 else
4761   if test -n "$ac_ct_DUMPBIN"; then
4762   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4763 else
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4766 do
4767   IFS=$as_save_IFS
4768   test -z "$as_dir" && as_dir=.
4769     for ac_exec_ext in '' $ac_executable_extensions; do
4770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773     break 2
4774   fi
4775 done
4776   done
4777 IFS=$as_save_IFS
4778
4779 fi
4780 fi
4781 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4782 if test -n "$ac_ct_DUMPBIN"; then
4783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4784 $as_echo "$ac_ct_DUMPBIN" >&6; }
4785 else
4786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4788 fi
4789
4790
4791   test -n "$ac_ct_DUMPBIN" && break
4792 done
4793
4794   if test "x$ac_ct_DUMPBIN" = x; then
4795     DUMPBIN=":"
4796   else
4797     case $cross_compiling:$ac_tool_warned in
4798 yes:)
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4801 ac_tool_warned=yes ;;
4802 esac
4803     DUMPBIN=$ac_ct_DUMPBIN
4804   fi
4805 fi
4806
4807     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4808     *COFF*)
4809       DUMPBIN="$DUMPBIN -symbols"
4810       ;;
4811     *)
4812       DUMPBIN=:
4813       ;;
4814     esac
4815   fi
4816
4817   if test "$DUMPBIN" != ":"; then
4818     NM="$DUMPBIN"
4819   fi
4820 fi
4821 test -z "$NM" && NM=nm
4822
4823
4824
4825
4826
4827
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4829 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4830 if ${lt_cv_nm_interface+:} false; then :
4831   $as_echo_n "(cached) " >&6
4832 else
4833   lt_cv_nm_interface="BSD nm"
4834   echo "int some_variable = 0;" > conftest.$ac_ext
4835   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4836   (eval "$ac_compile" 2>conftest.err)
4837   cat conftest.err >&5
4838   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4839   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4840   cat conftest.err >&5
4841   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4842   cat conftest.out >&5
4843   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4844     lt_cv_nm_interface="MS dumpbin"
4845   fi
4846   rm -f conftest*
4847 fi
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4849 $as_echo "$lt_cv_nm_interface" >&6; }
4850
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4852 $as_echo_n "checking whether ln -s works... " >&6; }
4853 LN_S=$as_ln_s
4854 if test "$LN_S" = "ln -s"; then
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4856 $as_echo "yes" >&6; }
4857 else
4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4859 $as_echo "no, using $LN_S" >&6; }
4860 fi
4861
4862 # find the maximum length of command line arguments
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4864 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4865 if ${lt_cv_sys_max_cmd_len+:} false; then :
4866   $as_echo_n "(cached) " >&6
4867 else
4868     i=0
4869   teststring="ABCD"
4870
4871   case $build_os in
4872   msdosdjgpp*)
4873     # On DJGPP, this test can blow up pretty badly due to problems in libc
4874     # (any single argument exceeding 2000 bytes causes a buffer overrun
4875     # during glob expansion).  Even if it were fixed, the result of this
4876     # check would be larger than it should be.
4877     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4878     ;;
4879
4880   gnu*)
4881     # Under GNU Hurd, this test is not required because there is
4882     # no limit to the length of command line arguments.
4883     # Libtool will interpret -1 as no limit whatsoever
4884     lt_cv_sys_max_cmd_len=-1;
4885     ;;
4886
4887   cygwin* | mingw* | cegcc*)
4888     # On Win9x/ME, this test blows up -- it succeeds, but takes
4889     # about 5 minutes as the teststring grows exponentially.
4890     # Worse, since 9x/ME are not pre-emptively multitasking,
4891     # you end up with a "frozen" computer, even though with patience
4892     # the test eventually succeeds (with a max line length of 256k).
4893     # Instead, let's just punt: use the minimum linelength reported by
4894     # all of the supported platforms: 8192 (on NT/2K/XP).
4895     lt_cv_sys_max_cmd_len=8192;
4896     ;;
4897
4898   mint*)
4899     # On MiNT this can take a long time and run out of memory.
4900     lt_cv_sys_max_cmd_len=8192;
4901     ;;
4902
4903   amigaos*)
4904     # On AmigaOS with pdksh, this test takes hours, literally.
4905     # So we just punt and use a minimum line length of 8192.
4906     lt_cv_sys_max_cmd_len=8192;
4907     ;;
4908
4909   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4910     # This has been around since 386BSD, at least.  Likely further.
4911     if test -x /sbin/sysctl; then
4912       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4913     elif test -x /usr/sbin/sysctl; then
4914       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4915     else
4916       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4917     fi
4918     # And add a safety zone
4919     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4920     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4921     ;;
4922
4923   interix*)
4924     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4925     lt_cv_sys_max_cmd_len=196608
4926     ;;
4927
4928   os2*)
4929     # The test takes a long time on OS/2.
4930     lt_cv_sys_max_cmd_len=8192
4931     ;;
4932
4933   osf*)
4934     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4935     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4936     # nice to cause kernel panics so lets avoid the loop below.
4937     # First set a reasonable default.
4938     lt_cv_sys_max_cmd_len=16384
4939     #
4940     if test -x /sbin/sysconfig; then
4941       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4942         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4943       esac
4944     fi
4945     ;;
4946   sco3.2v5*)
4947     lt_cv_sys_max_cmd_len=102400
4948     ;;
4949   sysv5* | sco5v6* | sysv4.2uw2*)
4950     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4951     if test -n "$kargmax"; then
4952       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4953     else
4954       lt_cv_sys_max_cmd_len=32768
4955     fi
4956     ;;
4957   *)
4958     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4959     if test -n "$lt_cv_sys_max_cmd_len"; then
4960       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4961       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4962     else
4963       # Make teststring a little bigger before we do anything with it.
4964       # a 1K string should be a reasonable start.
4965       for i in 1 2 3 4 5 6 7 8 ; do
4966         teststring=$teststring$teststring
4967       done
4968       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4969       # If test is not a shell built-in, we'll probably end up computing a
4970       # maximum length that is only half of the actual maximum length, but
4971       # we can't tell.
4972       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4973                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4974               test $i != 17 # 1/2 MB should be enough
4975       do
4976         i=`expr $i + 1`
4977         teststring=$teststring$teststring
4978       done
4979       # Only check the string length outside the loop.
4980       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4981       teststring=
4982       # Add a significant safety factor because C++ compilers can tack on
4983       # massive amounts of additional arguments before passing them to the
4984       # linker.  It appears as though 1/2 is a usable value.
4985       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4986     fi
4987     ;;
4988   esac
4989
4990 fi
4991
4992 if test -n $lt_cv_sys_max_cmd_len ; then
4993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4994 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4995 else
4996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4997 $as_echo "none" >&6; }
4998 fi
4999 max_cmd_len=$lt_cv_sys_max_cmd_len
5000
5001
5002
5003
5004
5005
5006 : ${CP="cp -f"}
5007 : ${MV="mv -f"}
5008 : ${RM="rm -f"}
5009
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5011 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5012 # Try some XSI features
5013 xsi_shell=no
5014 ( _lt_dummy="a/b/c"
5015   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5016       = c,a/b,b/c, \
5017     && eval 'test $(( 1 + 1 )) -eq 2 \
5018     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5019   && xsi_shell=yes
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5021 $as_echo "$xsi_shell" >&6; }
5022
5023
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5025 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5026 lt_shell_append=no
5027 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5028     >/dev/null 2>&1 \
5029   && lt_shell_append=yes
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5031 $as_echo "$lt_shell_append" >&6; }
5032
5033
5034 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5035   lt_unset=unset
5036 else
5037   lt_unset=false
5038 fi
5039
5040
5041
5042
5043
5044 # test EBCDIC or ASCII
5045 case `echo X|tr X '\101'` in
5046  A) # ASCII based system
5047     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5048   lt_SP2NL='tr \040 \012'
5049   lt_NL2SP='tr \015\012 \040\040'
5050   ;;
5051  *) # EBCDIC based system
5052   lt_SP2NL='tr \100 \n'
5053   lt_NL2SP='tr \r\n \100\100'
5054   ;;
5055 esac
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5066 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5067 if ${lt_cv_to_host_file_cmd+:} false; then :
5068   $as_echo_n "(cached) " >&6
5069 else
5070   case $host in
5071   *-*-mingw* )
5072     case $build in
5073       *-*-mingw* ) # actually msys
5074         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5075         ;;
5076       *-*-cygwin* )
5077         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5078         ;;
5079       * ) # otherwise, assume *nix
5080         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5081         ;;
5082     esac
5083     ;;
5084   *-*-cygwin* )
5085     case $build in
5086       *-*-mingw* ) # actually msys
5087         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5088         ;;
5089       *-*-cygwin* )
5090         lt_cv_to_host_file_cmd=func_convert_file_noop
5091         ;;
5092       * ) # otherwise, assume *nix
5093         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5094         ;;
5095     esac
5096     ;;
5097   * ) # unhandled hosts (and "normal" native builds)
5098     lt_cv_to_host_file_cmd=func_convert_file_noop
5099     ;;
5100 esac
5101
5102 fi
5103
5104 to_host_file_cmd=$lt_cv_to_host_file_cmd
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5106 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5107
5108
5109
5110
5111
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5113 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5114 if ${lt_cv_to_tool_file_cmd+:} false; then :
5115   $as_echo_n "(cached) " >&6
5116 else
5117   #assume ordinary cross tools, or native build.
5118 lt_cv_to_tool_file_cmd=func_convert_file_noop
5119 case $host in
5120   *-*-mingw* )
5121     case $build in
5122       *-*-mingw* ) # actually msys
5123         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5124         ;;
5125     esac
5126     ;;
5127 esac
5128
5129 fi
5130
5131 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5133 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5134
5135
5136
5137
5138
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5140 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5141 if ${lt_cv_ld_reload_flag+:} false; then :
5142   $as_echo_n "(cached) " >&6
5143 else
5144   lt_cv_ld_reload_flag='-r'
5145 fi
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5147 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5148 reload_flag=$lt_cv_ld_reload_flag
5149 case $reload_flag in
5150 "" | " "*) ;;
5151 *) reload_flag=" $reload_flag" ;;
5152 esac
5153 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5154 case $host_os in
5155   cygwin* | mingw* | pw32* | cegcc*)
5156     if test "$GCC" != yes; then
5157       reload_cmds=false
5158     fi
5159     ;;
5160   darwin*)
5161     if test "$GCC" = yes; then
5162       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5163     else
5164       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5165     fi
5166     ;;
5167 esac
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177 if test -n "$ac_tool_prefix"; then
5178   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5179 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_OBJDUMP+:} false; then :
5183   $as_echo_n "(cached) " >&6
5184 else
5185   if test -n "$OBJDUMP"; then
5186   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5187 else
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5190 do
5191   IFS=$as_save_IFS
5192   test -z "$as_dir" && as_dir=.
5193     for ac_exec_ext in '' $ac_executable_extensions; do
5194   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197     break 2
5198   fi
5199 done
5200   done
5201 IFS=$as_save_IFS
5202
5203 fi
5204 fi
5205 OBJDUMP=$ac_cv_prog_OBJDUMP
5206 if test -n "$OBJDUMP"; then
5207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5208 $as_echo "$OBJDUMP" >&6; }
5209 else
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5212 fi
5213
5214
5215 fi
5216 if test -z "$ac_cv_prog_OBJDUMP"; then
5217   ac_ct_OBJDUMP=$OBJDUMP
5218   # Extract the first word of "objdump", so it can be a program name with args.
5219 set dummy objdump; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5223   $as_echo_n "(cached) " >&6
5224 else
5225   if test -n "$ac_ct_OBJDUMP"; then
5226   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5230 do
5231   IFS=$as_save_IFS
5232   test -z "$as_dir" && as_dir=.
5233     for ac_exec_ext in '' $ac_executable_extensions; do
5234   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237     break 2
5238   fi
5239 done
5240   done
5241 IFS=$as_save_IFS
5242
5243 fi
5244 fi
5245 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5246 if test -n "$ac_ct_OBJDUMP"; then
5247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5248 $as_echo "$ac_ct_OBJDUMP" >&6; }
5249 else
5250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5252 fi
5253
5254   if test "x$ac_ct_OBJDUMP" = x; then
5255     OBJDUMP="false"
5256   else
5257     case $cross_compiling:$ac_tool_warned in
5258 yes:)
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261 ac_tool_warned=yes ;;
5262 esac
5263     OBJDUMP=$ac_ct_OBJDUMP
5264   fi
5265 else
5266   OBJDUMP="$ac_cv_prog_OBJDUMP"
5267 fi
5268
5269 test -z "$OBJDUMP" && OBJDUMP=objdump
5270
5271
5272
5273
5274
5275
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5277 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5278 if ${lt_cv_deplibs_check_method+:} false; then :
5279   $as_echo_n "(cached) " >&6
5280 else
5281   lt_cv_file_magic_cmd='$MAGIC_CMD'
5282 lt_cv_file_magic_test_file=
5283 lt_cv_deplibs_check_method='unknown'
5284 # Need to set the preceding variable on all platforms that support
5285 # interlibrary dependencies.
5286 # 'none' -- dependencies not supported.
5287 # `unknown' -- same as none, but documents that we really don't know.
5288 # 'pass_all' -- all dependencies passed with no checks.
5289 # 'test_compile' -- check by making test program.
5290 # 'file_magic [[regex]]' -- check by looking for files in library path
5291 # which responds to the $file_magic_cmd with a given extended regex.
5292 # If you have `file' or equivalent on your system and you're not sure
5293 # whether `pass_all' will *always* work, you probably want this one.
5294
5295 case $host_os in
5296 aix[4-9]*)
5297   lt_cv_deplibs_check_method=pass_all
5298   ;;
5299
5300 beos*)
5301   lt_cv_deplibs_check_method=pass_all
5302   ;;
5303
5304 bsdi[45]*)
5305   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5306   lt_cv_file_magic_cmd='/usr/bin/file -L'
5307   lt_cv_file_magic_test_file=/shlib/libc.so
5308   ;;
5309
5310 cygwin*)
5311   # func_win32_libid is a shell function defined in ltmain.sh
5312   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5313   lt_cv_file_magic_cmd='func_win32_libid'
5314   ;;
5315
5316 mingw* | pw32*)
5317   # Base MSYS/MinGW do not provide the 'file' command needed by
5318   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5319   # unless we find 'file', for example because we are cross-compiling.
5320   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5321   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5322     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5323     lt_cv_file_magic_cmd='func_win32_libid'
5324   else
5325     # Keep this pattern in sync with the one in func_win32_libid.
5326     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5327     lt_cv_file_magic_cmd='$OBJDUMP -f'
5328   fi
5329   ;;
5330
5331 cegcc*)
5332   # use the weaker test based on 'objdump'. See mingw*.
5333   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5334   lt_cv_file_magic_cmd='$OBJDUMP -f'
5335   ;;
5336
5337 darwin* | rhapsody*)
5338   lt_cv_deplibs_check_method=pass_all
5339   ;;
5340
5341 freebsd* | dragonfly*)
5342   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5343     case $host_cpu in
5344     i*86 )
5345       # Not sure whether the presence of OpenBSD here was a mistake.
5346       # Let's accept both of them until this is cleared up.
5347       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5348       lt_cv_file_magic_cmd=/usr/bin/file
5349       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5350       ;;
5351     esac
5352   else
5353     lt_cv_deplibs_check_method=pass_all
5354   fi
5355   ;;
5356
5357 gnu*)
5358   lt_cv_deplibs_check_method=pass_all
5359   ;;
5360
5361 haiku*)
5362   lt_cv_deplibs_check_method=pass_all
5363   ;;
5364
5365 hpux10.20* | hpux11*)
5366   lt_cv_file_magic_cmd=/usr/bin/file
5367   case $host_cpu in
5368   ia64*)
5369     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5370     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5371     ;;
5372   hppa*64*)
5373     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]'
5374     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5375     ;;
5376   *)
5377     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5378     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5379     ;;
5380   esac
5381   ;;
5382
5383 interix[3-9]*)
5384   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5385   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5386   ;;
5387
5388 irix5* | irix6* | nonstopux*)
5389   case $LD in
5390   *-32|*"-32 ") libmagic=32-bit;;
5391   *-n32|*"-n32 ") libmagic=N32;;
5392   *-64|*"-64 ") libmagic=64-bit;;
5393   *) libmagic=never-match;;
5394   esac
5395   lt_cv_deplibs_check_method=pass_all
5396   ;;
5397
5398 # This must be glibc/ELF.
5399 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5400   lt_cv_deplibs_check_method=pass_all
5401   ;;
5402
5403 netbsd* | netbsdelf*-gnu)
5404   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5405     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5406   else
5407     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5408   fi
5409   ;;
5410
5411 newos6*)
5412   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5413   lt_cv_file_magic_cmd=/usr/bin/file
5414   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5415   ;;
5416
5417 *nto* | *qnx*)
5418   lt_cv_deplibs_check_method=pass_all
5419   ;;
5420
5421 openbsd*)
5422   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5423     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5424   else
5425     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5426   fi
5427   ;;
5428
5429 osf3* | osf4* | osf5*)
5430   lt_cv_deplibs_check_method=pass_all
5431   ;;
5432
5433 rdos*)
5434   lt_cv_deplibs_check_method=pass_all
5435   ;;
5436
5437 solaris*)
5438   lt_cv_deplibs_check_method=pass_all
5439   ;;
5440
5441 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5442   lt_cv_deplibs_check_method=pass_all
5443   ;;
5444
5445 sysv4 | sysv4.3*)
5446   case $host_vendor in
5447   motorola)
5448     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]'
5449     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5450     ;;
5451   ncr)
5452     lt_cv_deplibs_check_method=pass_all
5453     ;;
5454   sequent)
5455     lt_cv_file_magic_cmd='/bin/file'
5456     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5457     ;;
5458   sni)
5459     lt_cv_file_magic_cmd='/bin/file'
5460     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5461     lt_cv_file_magic_test_file=/lib/libc.so
5462     ;;
5463   siemens)
5464     lt_cv_deplibs_check_method=pass_all
5465     ;;
5466   pc)
5467     lt_cv_deplibs_check_method=pass_all
5468     ;;
5469   esac
5470   ;;
5471
5472 tpf*)
5473   lt_cv_deplibs_check_method=pass_all
5474   ;;
5475 esac
5476
5477 fi
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5479 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5480
5481 file_magic_glob=
5482 want_nocaseglob=no
5483 if test "$build" = "$host"; then
5484   case $host_os in
5485   mingw* | pw32*)
5486     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5487       want_nocaseglob=yes
5488     else
5489       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5490     fi
5491     ;;
5492   esac
5493 fi
5494
5495 file_magic_cmd=$lt_cv_file_magic_cmd
5496 deplibs_check_method=$lt_cv_deplibs_check_method
5497 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520 if test -n "$ac_tool_prefix"; then
5521   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_DLLTOOL+:} false; then :
5526   $as_echo_n "(cached) " >&6
5527 else
5528   if test -n "$DLLTOOL"; then
5529   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5533 do
5534   IFS=$as_save_IFS
5535   test -z "$as_dir" && as_dir=.
5536     for ac_exec_ext in '' $ac_executable_extensions; do
5537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540     break 2
5541   fi
5542 done
5543   done
5544 IFS=$as_save_IFS
5545
5546 fi
5547 fi
5548 DLLTOOL=$ac_cv_prog_DLLTOOL
5549 if test -n "$DLLTOOL"; then
5550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5551 $as_echo "$DLLTOOL" >&6; }
5552 else
5553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5555 fi
5556
5557
5558 fi
5559 if test -z "$ac_cv_prog_DLLTOOL"; then
5560   ac_ct_DLLTOOL=$DLLTOOL
5561   # Extract the first word of "dlltool", so it can be a program name with args.
5562 set dummy dlltool; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5566   $as_echo_n "(cached) " >&6
5567 else
5568   if test -n "$ac_ct_DLLTOOL"; then
5569   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5573 do
5574   IFS=$as_save_IFS
5575   test -z "$as_dir" && as_dir=.
5576     for ac_exec_ext in '' $ac_executable_extensions; do
5577   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580     break 2
5581   fi
5582 done
5583   done
5584 IFS=$as_save_IFS
5585
5586 fi
5587 fi
5588 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5589 if test -n "$ac_ct_DLLTOOL"; then
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5591 $as_echo "$ac_ct_DLLTOOL" >&6; }
5592 else
5593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5595 fi
5596
5597   if test "x$ac_ct_DLLTOOL" = x; then
5598     DLLTOOL="false"
5599   else
5600     case $cross_compiling:$ac_tool_warned in
5601 yes:)
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5605 esac
5606     DLLTOOL=$ac_ct_DLLTOOL
5607   fi
5608 else
5609   DLLTOOL="$ac_cv_prog_DLLTOOL"
5610 fi
5611
5612 test -z "$DLLTOOL" && DLLTOOL=dlltool
5613
5614
5615
5616
5617
5618
5619
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5621 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5622 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5623   $as_echo_n "(cached) " >&6
5624 else
5625   lt_cv_sharedlib_from_linklib_cmd='unknown'
5626
5627 case $host_os in
5628 cygwin* | mingw* | pw32* | cegcc*)
5629   # two different shell functions defined in ltmain.sh
5630   # decide which to use based on capabilities of $DLLTOOL
5631   case `$DLLTOOL --help 2>&1` in
5632   *--identify-strict*)
5633     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5634     ;;
5635   *)
5636     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5637     ;;
5638   esac
5639   ;;
5640 *)
5641   # fallback: assume linklib IS sharedlib
5642   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5643   ;;
5644 esac
5645
5646 fi
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5648 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5649 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5650 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5651
5652
5653
5654
5655
5656
5657
5658 if test -n "$ac_tool_prefix"; then
5659   for ac_prog in ar
5660   do
5661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_AR+:} false; then :
5666   $as_echo_n "(cached) " >&6
5667 else
5668   if test -n "$AR"; then
5669   ac_cv_prog_AR="$AR" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5673 do
5674   IFS=$as_save_IFS
5675   test -z "$as_dir" && as_dir=.
5676     for ac_exec_ext in '' $ac_executable_extensions; do
5677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680     break 2
5681   fi
5682 done
5683   done
5684 IFS=$as_save_IFS
5685
5686 fi
5687 fi
5688 AR=$ac_cv_prog_AR
5689 if test -n "$AR"; then
5690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5691 $as_echo "$AR" >&6; }
5692 else
5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5695 fi
5696
5697
5698     test -n "$AR" && break
5699   done
5700 fi
5701 if test -z "$AR"; then
5702   ac_ct_AR=$AR
5703   for ac_prog in ar
5704 do
5705   # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5710   $as_echo_n "(cached) " >&6
5711 else
5712   if test -n "$ac_ct_AR"; then
5713   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5717 do
5718   IFS=$as_save_IFS
5719   test -z "$as_dir" && as_dir=.
5720     for ac_exec_ext in '' $ac_executable_extensions; do
5721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722     ac_cv_prog_ac_ct_AR="$ac_prog"
5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724     break 2
5725   fi
5726 done
5727   done
5728 IFS=$as_save_IFS
5729
5730 fi
5731 fi
5732 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5733 if test -n "$ac_ct_AR"; then
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5735 $as_echo "$ac_ct_AR" >&6; }
5736 else
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5739 fi
5740
5741
5742   test -n "$ac_ct_AR" && break
5743 done
5744
5745   if test "x$ac_ct_AR" = x; then
5746     AR="false"
5747   else
5748     case $cross_compiling:$ac_tool_warned in
5749 yes:)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5753 esac
5754     AR=$ac_ct_AR
5755   fi
5756 fi
5757
5758 : ${AR=ar}
5759 : ${AR_FLAGS=cru}
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5772 $as_echo_n "checking for archiver @FILE support... " >&6; }
5773 if ${lt_cv_ar_at_file+:} false; then :
5774   $as_echo_n "(cached) " >&6
5775 else
5776   lt_cv_ar_at_file=no
5777    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5778 /* end confdefs.h.  */
5779
5780 int
5781 main ()
5782 {
5783
5784   ;
5785   return 0;
5786 }
5787 _ACEOF
5788 if ac_fn_c_try_compile "$LINENO"; then :
5789   echo conftest.$ac_objext > conftest.lst
5790       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5791       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5792   (eval $lt_ar_try) 2>&5
5793   ac_status=$?
5794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5795   test $ac_status = 0; }
5796       if test "$ac_status" -eq 0; then
5797         # Ensure the archiver fails upon bogus file names.
5798         rm -f conftest.$ac_objext libconftest.a
5799         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5800   (eval $lt_ar_try) 2>&5
5801   ac_status=$?
5802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5803   test $ac_status = 0; }
5804         if test "$ac_status" -ne 0; then
5805           lt_cv_ar_at_file=@
5806         fi
5807       fi
5808       rm -f conftest.* libconftest.a
5809
5810 fi
5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5812
5813 fi
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5815 $as_echo "$lt_cv_ar_at_file" >&6; }
5816
5817 if test "x$lt_cv_ar_at_file" = xno; then
5818   archiver_list_spec=
5819 else
5820   archiver_list_spec=$lt_cv_ar_at_file
5821 fi
5822
5823
5824
5825
5826
5827
5828
5829 if test -n "$ac_tool_prefix"; then
5830   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5831 set dummy ${ac_tool_prefix}strip; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if ${ac_cv_prog_STRIP+:} false; then :
5835   $as_echo_n "(cached) " >&6
5836 else
5837   if test -n "$STRIP"; then
5838   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5839 else
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 for as_dir in $PATH
5842 do
5843   IFS=$as_save_IFS
5844   test -z "$as_dir" && as_dir=.
5845     for ac_exec_ext in '' $ac_executable_extensions; do
5846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849     break 2
5850   fi
5851 done
5852   done
5853 IFS=$as_save_IFS
5854
5855 fi
5856 fi
5857 STRIP=$ac_cv_prog_STRIP
5858 if test -n "$STRIP"; then
5859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5860 $as_echo "$STRIP" >&6; }
5861 else
5862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5864 fi
5865
5866
5867 fi
5868 if test -z "$ac_cv_prog_STRIP"; then
5869   ac_ct_STRIP=$STRIP
5870   # Extract the first word of "strip", so it can be a program name with args.
5871 set dummy strip; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5875   $as_echo_n "(cached) " >&6
5876 else
5877   if test -n "$ac_ct_STRIP"; then
5878   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5879 else
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in $PATH
5882 do
5883   IFS=$as_save_IFS
5884   test -z "$as_dir" && as_dir=.
5885     for ac_exec_ext in '' $ac_executable_extensions; do
5886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887     ac_cv_prog_ac_ct_STRIP="strip"
5888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889     break 2
5890   fi
5891 done
5892   done
5893 IFS=$as_save_IFS
5894
5895 fi
5896 fi
5897 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5898 if test -n "$ac_ct_STRIP"; then
5899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5900 $as_echo "$ac_ct_STRIP" >&6; }
5901 else
5902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5904 fi
5905
5906   if test "x$ac_ct_STRIP" = x; then
5907     STRIP=":"
5908   else
5909     case $cross_compiling:$ac_tool_warned in
5910 yes:)
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915     STRIP=$ac_ct_STRIP
5916   fi
5917 else
5918   STRIP="$ac_cv_prog_STRIP"
5919 fi
5920
5921 test -z "$STRIP" && STRIP=:
5922
5923
5924
5925
5926
5927
5928 if test -n "$ac_tool_prefix"; then
5929   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5930 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_RANLIB+:} false; then :
5934   $as_echo_n "(cached) " >&6
5935 else
5936   if test -n "$RANLIB"; then
5937   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5941 do
5942   IFS=$as_save_IFS
5943   test -z "$as_dir" && as_dir=.
5944     for ac_exec_ext in '' $ac_executable_extensions; do
5945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948     break 2
5949   fi
5950 done
5951   done
5952 IFS=$as_save_IFS
5953
5954 fi
5955 fi
5956 RANLIB=$ac_cv_prog_RANLIB
5957 if test -n "$RANLIB"; then
5958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5959 $as_echo "$RANLIB" >&6; }
5960 else
5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5963 fi
5964
5965
5966 fi
5967 if test -z "$ac_cv_prog_RANLIB"; then
5968   ac_ct_RANLIB=$RANLIB
5969   # Extract the first word of "ranlib", so it can be a program name with args.
5970 set dummy ranlib; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5974   $as_echo_n "(cached) " >&6
5975 else
5976   if test -n "$ac_ct_RANLIB"; then
5977   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5981 do
5982   IFS=$as_save_IFS
5983   test -z "$as_dir" && as_dir=.
5984     for ac_exec_ext in '' $ac_executable_extensions; do
5985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986     ac_cv_prog_ac_ct_RANLIB="ranlib"
5987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988     break 2
5989   fi
5990 done
5991   done
5992 IFS=$as_save_IFS
5993
5994 fi
5995 fi
5996 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5997 if test -n "$ac_ct_RANLIB"; then
5998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5999 $as_echo "$ac_ct_RANLIB" >&6; }
6000 else
6001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6003 fi
6004
6005   if test "x$ac_ct_RANLIB" = x; then
6006     RANLIB=":"
6007   else
6008     case $cross_compiling:$ac_tool_warned in
6009 yes:)
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6012 ac_tool_warned=yes ;;
6013 esac
6014     RANLIB=$ac_ct_RANLIB
6015   fi
6016 else
6017   RANLIB="$ac_cv_prog_RANLIB"
6018 fi
6019
6020 test -z "$RANLIB" && RANLIB=:
6021
6022
6023
6024
6025
6026
6027 # Determine commands to create old-style static archives.
6028 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6029 old_postinstall_cmds='chmod 644 $oldlib'
6030 old_postuninstall_cmds=
6031
6032 if test -n "$RANLIB"; then
6033   case $host_os in
6034   openbsd*)
6035     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6036     ;;
6037   *)
6038     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6039     ;;
6040   esac
6041   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6042 fi
6043
6044 case $host_os in
6045   darwin*)
6046     lock_old_archive_extraction=yes ;;
6047   *)
6048     lock_old_archive_extraction=no ;;
6049 esac
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089 # If no C compiler was specified, use CC.
6090 LTCC=${LTCC-"$CC"}
6091
6092 # If no C compiler flags were specified, use CFLAGS.
6093 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6094
6095 # Allow CC to be a program name with arguments.
6096 compiler=$CC
6097
6098
6099 # Check for command to grab the raw symbol name followed by C symbol from nm.
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6101 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6102 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6103   $as_echo_n "(cached) " >&6
6104 else
6105
6106 # These are sane defaults that work on at least a few old systems.
6107 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6108
6109 # Character class describing NM global symbol codes.
6110 symcode='[BCDEGRST]'
6111
6112 # Regexp to match symbols that can be accessed directly from C.
6113 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6114
6115 # Define system-specific variables.
6116 case $host_os in
6117 aix*)
6118   symcode='[BCDT]'
6119   ;;
6120 cygwin* | mingw* | pw32* | cegcc*)
6121   symcode='[ABCDGISTW]'
6122   ;;
6123 hpux*)
6124   if test "$host_cpu" = ia64; then
6125     symcode='[ABCDEGRST]'
6126   fi
6127   ;;
6128 irix* | nonstopux*)
6129   symcode='[BCDEGRST]'
6130   ;;
6131 osf*)
6132   symcode='[BCDEGQRST]'
6133   ;;
6134 solaris*)
6135   symcode='[BDRT]'
6136   ;;
6137 sco3.2v5*)
6138   symcode='[DT]'
6139   ;;
6140 sysv4.2uw2*)
6141   symcode='[DT]'
6142   ;;
6143 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6144   symcode='[ABDT]'
6145   ;;
6146 sysv4)
6147   symcode='[DFNSTU]'
6148   ;;
6149 esac
6150
6151 # If we're using GNU nm, then use its standard symbol codes.
6152 case `$NM -V 2>&1` in
6153 *GNU* | *'with BFD'*)
6154   symcode='[ABCDGIRSTW]' ;;
6155 esac
6156
6157 # Transform an extracted symbol line into a proper C declaration.
6158 # Some systems (esp. on ia64) link data and code symbols differently,
6159 # so use this general approach.
6160 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6161
6162 # Transform an extracted symbol line into symbol name and symbol address
6163 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6164 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'"
6165
6166 # Handle CRLF in mingw tool chain
6167 opt_cr=
6168 case $build_os in
6169 mingw*)
6170   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6171   ;;
6172 esac
6173
6174 # Try without a prefix underscore, then with it.
6175 for ac_symprfx in "" "_"; do
6176
6177   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6178   symxfrm="\\1 $ac_symprfx\\2 \\2"
6179
6180   # Write the raw and C identifiers.
6181   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6182     # Fake it for dumpbin and say T for any non-static function
6183     # and D for any global variable.
6184     # Also find C++ and __fastcall symbols from MSVC++,
6185     # which start with @ or ?.
6186     lt_cv_sys_global_symbol_pipe="$AWK '"\
6187 "     {last_section=section; section=\$ 3};"\
6188 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6189 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6190 "     \$ 0!~/External *\|/{next};"\
6191 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6192 "     {if(hide[section]) next};"\
6193 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6194 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6195 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6196 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6197 "     ' prfx=^$ac_symprfx"
6198   else
6199     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6200   fi
6201   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6202
6203   # Check to see that the pipe works correctly.
6204   pipe_works=no
6205
6206   rm -f conftest*
6207   cat > conftest.$ac_ext <<_LT_EOF
6208 #ifdef __cplusplus
6209 extern "C" {
6210 #endif
6211 char nm_test_var;
6212 void nm_test_func(void);
6213 void nm_test_func(void){}
6214 #ifdef __cplusplus
6215 }
6216 #endif
6217 int main(){nm_test_var='a';nm_test_func();return(0);}
6218 _LT_EOF
6219
6220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6221   (eval $ac_compile) 2>&5
6222   ac_status=$?
6223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6224   test $ac_status = 0; }; then
6225     # Now try to grab the symbols.
6226     nlist=conftest.nm
6227     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6228   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6229   ac_status=$?
6230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6231   test $ac_status = 0; } && test -s "$nlist"; then
6232       # Try sorting and uniquifying the output.
6233       if sort "$nlist" | uniq > "$nlist"T; then
6234         mv -f "$nlist"T "$nlist"
6235       else
6236         rm -f "$nlist"T
6237       fi
6238
6239       # Make sure that we snagged all the symbols we need.
6240       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6241         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6242           cat <<_LT_EOF > conftest.$ac_ext
6243 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6244 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6245 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6246    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6247 # define LT_DLSYM_CONST
6248 #elif defined(__osf__)
6249 /* This system does not cope well with relocations in const data.  */
6250 # define LT_DLSYM_CONST
6251 #else
6252 # define LT_DLSYM_CONST const
6253 #endif
6254
6255 #ifdef __cplusplus
6256 extern "C" {
6257 #endif
6258
6259 _LT_EOF
6260           # Now generate the symbol file.
6261           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6262
6263           cat <<_LT_EOF >> conftest.$ac_ext
6264
6265 /* The mapping between symbol names and symbols.  */
6266 LT_DLSYM_CONST struct {
6267   const char *name;
6268   void       *address;
6269 }
6270 lt__PROGRAM__LTX_preloaded_symbols[] =
6271 {
6272   { "@PROGRAM@", (void *) 0 },
6273 _LT_EOF
6274           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6275           cat <<\_LT_EOF >> conftest.$ac_ext
6276   {0, (void *) 0}
6277 };
6278
6279 /* This works around a problem in FreeBSD linker */
6280 #ifdef FREEBSD_WORKAROUND
6281 static const void *lt_preloaded_setup() {
6282   return lt__PROGRAM__LTX_preloaded_symbols;
6283 }
6284 #endif
6285
6286 #ifdef __cplusplus
6287 }
6288 #endif
6289 _LT_EOF
6290           # Now try linking the two files.
6291           mv conftest.$ac_objext conftstm.$ac_objext
6292           lt_globsym_save_LIBS=$LIBS
6293           lt_globsym_save_CFLAGS=$CFLAGS
6294           LIBS="conftstm.$ac_objext"
6295           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6296           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6297   (eval $ac_link) 2>&5
6298   ac_status=$?
6299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6300   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6301             pipe_works=yes
6302           fi
6303           LIBS=$lt_globsym_save_LIBS
6304           CFLAGS=$lt_globsym_save_CFLAGS
6305         else
6306           echo "cannot find nm_test_func in $nlist" >&5
6307         fi
6308       else
6309         echo "cannot find nm_test_var in $nlist" >&5
6310       fi
6311     else
6312       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6313     fi
6314   else
6315     echo "$progname: failed program was:" >&5
6316     cat conftest.$ac_ext >&5
6317   fi
6318   rm -rf conftest* conftst*
6319
6320   # Do not use the global_symbol_pipe unless it works.
6321   if test "$pipe_works" = yes; then
6322     break
6323   else
6324     lt_cv_sys_global_symbol_pipe=
6325   fi
6326 done
6327
6328 fi
6329
6330 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6331   lt_cv_sys_global_symbol_to_cdecl=
6332 fi
6333 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6335 $as_echo "failed" >&6; }
6336 else
6337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6338 $as_echo "ok" >&6; }
6339 fi
6340
6341 # Response file support.
6342 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6343   nm_file_list_spec='@'
6344 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6345   nm_file_list_spec='@'
6346 fi
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6375 $as_echo_n "checking for sysroot... " >&6; }
6376
6377 # Check whether --with-sysroot was given.
6378 if test "${with_sysroot+set}" = set; then :
6379   withval=$with_sysroot;
6380 else
6381   with_sysroot=no
6382 fi
6383
6384
6385 lt_sysroot=
6386 case ${with_sysroot} in #(
6387  yes)
6388    if test "$GCC" = yes; then
6389      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6390    fi
6391    ;; #(
6392  /*)
6393    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6394    ;; #(
6395  no|'')
6396    ;; #(
6397  *)
6398    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6399 $as_echo "${with_sysroot}" >&6; }
6400    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6401    ;;
6402 esac
6403
6404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6405 $as_echo "${lt_sysroot:-no}" >&6; }
6406
6407
6408
6409
6410
6411 # Check whether --enable-libtool-lock was given.
6412 if test "${enable_libtool_lock+set}" = set; then :
6413   enableval=$enable_libtool_lock;
6414 fi
6415
6416 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6417
6418 # Some flags need to be propagated to the compiler or linker for good
6419 # libtool support.
6420 case $host in
6421 ia64-*-hpux*)
6422   # Find out which ABI we are using.
6423   echo 'int i;' > conftest.$ac_ext
6424   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6425   (eval $ac_compile) 2>&5
6426   ac_status=$?
6427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428   test $ac_status = 0; }; then
6429     case `/usr/bin/file conftest.$ac_objext` in
6430       *ELF-32*)
6431         HPUX_IA64_MODE="32"
6432         ;;
6433       *ELF-64*)
6434         HPUX_IA64_MODE="64"
6435         ;;
6436     esac
6437   fi
6438   rm -rf conftest*
6439   ;;
6440 *-*-irix6*)
6441   # Find out which ABI we are using.
6442   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6443   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6444   (eval $ac_compile) 2>&5
6445   ac_status=$?
6446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447   test $ac_status = 0; }; then
6448     if test "$lt_cv_prog_gnu_ld" = yes; then
6449       case `/usr/bin/file conftest.$ac_objext` in
6450         *32-bit*)
6451           LD="${LD-ld} -melf32bsmip"
6452           ;;
6453         *N32*)
6454           LD="${LD-ld} -melf32bmipn32"
6455           ;;
6456         *64-bit*)
6457           LD="${LD-ld} -melf64bmip"
6458         ;;
6459       esac
6460     else
6461       case `/usr/bin/file conftest.$ac_objext` in
6462         *32-bit*)
6463           LD="${LD-ld} -32"
6464           ;;
6465         *N32*)
6466           LD="${LD-ld} -n32"
6467           ;;
6468         *64-bit*)
6469           LD="${LD-ld} -64"
6470           ;;
6471       esac
6472     fi
6473   fi
6474   rm -rf conftest*
6475   ;;
6476
6477 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6478 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6479   # Find out which ABI we are using.
6480   echo 'int i;' > conftest.$ac_ext
6481   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6482   (eval $ac_compile) 2>&5
6483   ac_status=$?
6484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6485   test $ac_status = 0; }; then
6486     case `/usr/bin/file conftest.o` in
6487       *32-bit*)
6488         case $host in
6489           x86_64-*kfreebsd*-gnu)
6490             LD="${LD-ld} -m elf_i386_fbsd"
6491             ;;
6492           x86_64-*linux*)
6493             LD="${LD-ld} -m elf_i386"
6494             ;;
6495           ppc64-*linux*|powerpc64-*linux*)
6496             LD="${LD-ld} -m elf32ppclinux"
6497             ;;
6498           s390x-*linux*)
6499             LD="${LD-ld} -m elf_s390"
6500             ;;
6501           sparc64-*linux*)
6502             LD="${LD-ld} -m elf32_sparc"
6503             ;;
6504         esac
6505         ;;
6506       *64-bit*)
6507         case $host in
6508           x86_64-*kfreebsd*-gnu)
6509             LD="${LD-ld} -m elf_x86_64_fbsd"
6510             ;;
6511           x86_64-*linux*)
6512             LD="${LD-ld} -m elf_x86_64"
6513             ;;
6514           ppc*-*linux*|powerpc*-*linux*)
6515             LD="${LD-ld} -m elf64ppc"
6516             ;;
6517           s390*-*linux*|s390*-*tpf*)
6518             LD="${LD-ld} -m elf64_s390"
6519             ;;
6520           sparc*-*linux*)
6521             LD="${LD-ld} -m elf64_sparc"
6522             ;;
6523         esac
6524         ;;
6525     esac
6526   fi
6527   rm -rf conftest*
6528   ;;
6529
6530 *-*-sco3.2v5*)
6531   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6532   SAVE_CFLAGS="$CFLAGS"
6533   CFLAGS="$CFLAGS -belf"
6534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6535 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6536 if ${lt_cv_cc_needs_belf+:} false; then :
6537   $as_echo_n "(cached) " >&6
6538 else
6539   ac_ext=c
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544
6545      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h.  */
6547
6548 int
6549 main ()
6550 {
6551
6552   ;
6553   return 0;
6554 }
6555 _ACEOF
6556 if ac_fn_c_try_link "$LINENO"; then :
6557   lt_cv_cc_needs_belf=yes
6558 else
6559   lt_cv_cc_needs_belf=no
6560 fi
6561 rm -f core conftest.err conftest.$ac_objext \
6562     conftest$ac_exeext conftest.$ac_ext
6563      ac_ext=c
6564 ac_cpp='$CPP $CPPFLAGS'
6565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568
6569 fi
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6571 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6572   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6573     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6574     CFLAGS="$SAVE_CFLAGS"
6575   fi
6576   ;;
6577 *-*solaris*)
6578   # Find out which ABI we are using.
6579   echo 'int i;' > conftest.$ac_ext
6580   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6581   (eval $ac_compile) 2>&5
6582   ac_status=$?
6583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584   test $ac_status = 0; }; then
6585     case `/usr/bin/file conftest.o` in
6586     *64-bit*)
6587       case $lt_cv_prog_gnu_ld in
6588       yes*)
6589         case $host in
6590         i?86-*-solaris*)
6591           LD="${LD-ld} -m elf_x86_64"
6592           ;;
6593         sparc*-*-solaris*)
6594           LD="${LD-ld} -m elf64_sparc"
6595           ;;
6596         esac
6597         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6598         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6599           LD="${LD-ld}_sol2"
6600         fi
6601         ;;
6602       *)
6603         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6604           LD="${LD-ld} -64"
6605         fi
6606         ;;
6607       esac
6608       ;;
6609     esac
6610   fi
6611   rm -rf conftest*
6612   ;;
6613 esac
6614
6615 need_locks="$enable_libtool_lock"
6616
6617 if test -n "$ac_tool_prefix"; then
6618   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}mt; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6623   $as_echo_n "(cached) " >&6
6624 else
6625   if test -n "$MANIFEST_TOOL"; then
6626   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6630 do
6631   IFS=$as_save_IFS
6632   test -z "$as_dir" && as_dir=.
6633     for ac_exec_ext in '' $ac_executable_extensions; do
6634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637     break 2
6638   fi
6639 done
6640   done
6641 IFS=$as_save_IFS
6642
6643 fi
6644 fi
6645 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6646 if test -n "$MANIFEST_TOOL"; then
6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6648 $as_echo "$MANIFEST_TOOL" >&6; }
6649 else
6650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6652 fi
6653
6654
6655 fi
6656 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6657   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6658   # Extract the first word of "mt", so it can be a program name with args.
6659 set dummy mt; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6663   $as_echo_n "(cached) " >&6
6664 else
6665   if test -n "$ac_ct_MANIFEST_TOOL"; then
6666   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6670 do
6671   IFS=$as_save_IFS
6672   test -z "$as_dir" && as_dir=.
6673     for ac_exec_ext in '' $ac_executable_extensions; do
6674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6675     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677     break 2
6678   fi
6679 done
6680   done
6681 IFS=$as_save_IFS
6682
6683 fi
6684 fi
6685 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6686 if test -n "$ac_ct_MANIFEST_TOOL"; then
6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6688 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6689 else
6690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6692 fi
6693
6694   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6695     MANIFEST_TOOL=":"
6696   else
6697     case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6704   fi
6705 else
6706   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6707 fi
6708
6709 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6711 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6712 if ${lt_cv_path_mainfest_tool+:} false; then :
6713   $as_echo_n "(cached) " >&6
6714 else
6715   lt_cv_path_mainfest_tool=no
6716   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6717   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6718   cat conftest.err >&5
6719   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6720     lt_cv_path_mainfest_tool=yes
6721   fi
6722   rm -f conftest*
6723 fi
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6725 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6726 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6727   MANIFEST_TOOL=:
6728 fi
6729
6730
6731
6732
6733
6734
6735   case $host_os in
6736     rhapsody* | darwin*)
6737     if test -n "$ac_tool_prefix"; then
6738   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6739 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 $as_echo_n "checking for $ac_word... " >&6; }
6742 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6743   $as_echo_n "(cached) " >&6
6744 else
6745   if test -n "$DSYMUTIL"; then
6746   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6747 else
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 for as_dir in $PATH
6750 do
6751   IFS=$as_save_IFS
6752   test -z "$as_dir" && as_dir=.
6753     for ac_exec_ext in '' $ac_executable_extensions; do
6754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757     break 2
6758   fi
6759 done
6760   done
6761 IFS=$as_save_IFS
6762
6763 fi
6764 fi
6765 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6766 if test -n "$DSYMUTIL"; then
6767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6768 $as_echo "$DSYMUTIL" >&6; }
6769 else
6770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 $as_echo "no" >&6; }
6772 fi
6773
6774
6775 fi
6776 if test -z "$ac_cv_prog_DSYMUTIL"; then
6777   ac_ct_DSYMUTIL=$DSYMUTIL
6778   # Extract the first word of "dsymutil", so it can be a program name with args.
6779 set dummy dsymutil; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6783   $as_echo_n "(cached) " >&6
6784 else
6785   if test -n "$ac_ct_DSYMUTIL"; then
6786   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6787 else
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $PATH
6790 do
6791   IFS=$as_save_IFS
6792   test -z "$as_dir" && as_dir=.
6793     for ac_exec_ext in '' $ac_executable_extensions; do
6794   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797     break 2
6798   fi
6799 done
6800   done
6801 IFS=$as_save_IFS
6802
6803 fi
6804 fi
6805 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6806 if test -n "$ac_ct_DSYMUTIL"; then
6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6808 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6809 else
6810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6812 fi
6813
6814   if test "x$ac_ct_DSYMUTIL" = x; then
6815     DSYMUTIL=":"
6816   else
6817     case $cross_compiling:$ac_tool_warned in
6818 yes:)
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6821 ac_tool_warned=yes ;;
6822 esac
6823     DSYMUTIL=$ac_ct_DSYMUTIL
6824   fi
6825 else
6826   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6827 fi
6828
6829     if test -n "$ac_tool_prefix"; then
6830   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6831 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 $as_echo_n "checking for $ac_word... " >&6; }
6834 if ${ac_cv_prog_NMEDIT+:} false; then :
6835   $as_echo_n "(cached) " >&6
6836 else
6837   if test -n "$NMEDIT"; then
6838   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6839 else
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 for as_dir in $PATH
6842 do
6843   IFS=$as_save_IFS
6844   test -z "$as_dir" && as_dir=.
6845     for ac_exec_ext in '' $ac_executable_extensions; do
6846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6849     break 2
6850   fi
6851 done
6852   done
6853 IFS=$as_save_IFS
6854
6855 fi
6856 fi
6857 NMEDIT=$ac_cv_prog_NMEDIT
6858 if test -n "$NMEDIT"; then
6859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6860 $as_echo "$NMEDIT" >&6; }
6861 else
6862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 $as_echo "no" >&6; }
6864 fi
6865
6866
6867 fi
6868 if test -z "$ac_cv_prog_NMEDIT"; then
6869   ac_ct_NMEDIT=$NMEDIT
6870   # Extract the first word of "nmedit", so it can be a program name with args.
6871 set dummy nmedit; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6875   $as_echo_n "(cached) " >&6
6876 else
6877   if test -n "$ac_ct_NMEDIT"; then
6878   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6879 else
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 for as_dir in $PATH
6882 do
6883   IFS=$as_save_IFS
6884   test -z "$as_dir" && as_dir=.
6885     for ac_exec_ext in '' $ac_executable_extensions; do
6886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889     break 2
6890   fi
6891 done
6892   done
6893 IFS=$as_save_IFS
6894
6895 fi
6896 fi
6897 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6898 if test -n "$ac_ct_NMEDIT"; then
6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6900 $as_echo "$ac_ct_NMEDIT" >&6; }
6901 else
6902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6904 fi
6905
6906   if test "x$ac_ct_NMEDIT" = x; then
6907     NMEDIT=":"
6908   else
6909     case $cross_compiling:$ac_tool_warned in
6910 yes:)
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6913 ac_tool_warned=yes ;;
6914 esac
6915     NMEDIT=$ac_ct_NMEDIT
6916   fi
6917 else
6918   NMEDIT="$ac_cv_prog_NMEDIT"
6919 fi
6920
6921     if test -n "$ac_tool_prefix"; then
6922   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6923 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6925 $as_echo_n "checking for $ac_word... " >&6; }
6926 if ${ac_cv_prog_LIPO+:} false; then :
6927   $as_echo_n "(cached) " >&6
6928 else
6929   if test -n "$LIPO"; then
6930   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6931 else
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 for as_dir in $PATH
6934 do
6935   IFS=$as_save_IFS
6936   test -z "$as_dir" && as_dir=.
6937     for ac_exec_ext in '' $ac_executable_extensions; do
6938   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6939     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6941     break 2
6942   fi
6943 done
6944   done
6945 IFS=$as_save_IFS
6946
6947 fi
6948 fi
6949 LIPO=$ac_cv_prog_LIPO
6950 if test -n "$LIPO"; then
6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6952 $as_echo "$LIPO" >&6; }
6953 else
6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6956 fi
6957
6958
6959 fi
6960 if test -z "$ac_cv_prog_LIPO"; then
6961   ac_ct_LIPO=$LIPO
6962   # Extract the first word of "lipo", so it can be a program name with args.
6963 set dummy lipo; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6967   $as_echo_n "(cached) " >&6
6968 else
6969   if test -n "$ac_ct_LIPO"; then
6970   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6971 else
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 for as_dir in $PATH
6974 do
6975   IFS=$as_save_IFS
6976   test -z "$as_dir" && as_dir=.
6977     for ac_exec_ext in '' $ac_executable_extensions; do
6978   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979     ac_cv_prog_ac_ct_LIPO="lipo"
6980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981     break 2
6982   fi
6983 done
6984   done
6985 IFS=$as_save_IFS
6986
6987 fi
6988 fi
6989 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6990 if test -n "$ac_ct_LIPO"; then
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6992 $as_echo "$ac_ct_LIPO" >&6; }
6993 else
6994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6996 fi
6997
6998   if test "x$ac_ct_LIPO" = x; then
6999     LIPO=":"
7000   else
7001     case $cross_compiling:$ac_tool_warned in
7002 yes:)
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7005 ac_tool_warned=yes ;;
7006 esac
7007     LIPO=$ac_ct_LIPO
7008   fi
7009 else
7010   LIPO="$ac_cv_prog_LIPO"
7011 fi
7012
7013     if test -n "$ac_tool_prefix"; then
7014   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7015 set dummy ${ac_tool_prefix}otool; ac_word=$2
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7017 $as_echo_n "checking for $ac_word... " >&6; }
7018 if ${ac_cv_prog_OTOOL+:} false; then :
7019   $as_echo_n "(cached) " >&6
7020 else
7021   if test -n "$OTOOL"; then
7022   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7023 else
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 for as_dir in $PATH
7026 do
7027   IFS=$as_save_IFS
7028   test -z "$as_dir" && as_dir=.
7029     for ac_exec_ext in '' $ac_executable_extensions; do
7030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7033     break 2
7034   fi
7035 done
7036   done
7037 IFS=$as_save_IFS
7038
7039 fi
7040 fi
7041 OTOOL=$ac_cv_prog_OTOOL
7042 if test -n "$OTOOL"; then
7043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7044 $as_echo "$OTOOL" >&6; }
7045 else
7046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7048 fi
7049
7050
7051 fi
7052 if test -z "$ac_cv_prog_OTOOL"; then
7053   ac_ct_OTOOL=$OTOOL
7054   # Extract the first word of "otool", so it can be a program name with args.
7055 set dummy otool; ac_word=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7059   $as_echo_n "(cached) " >&6
7060 else
7061   if test -n "$ac_ct_OTOOL"; then
7062   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7063 else
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 for as_dir in $PATH
7066 do
7067   IFS=$as_save_IFS
7068   test -z "$as_dir" && as_dir=.
7069     for ac_exec_ext in '' $ac_executable_extensions; do
7070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7071     ac_cv_prog_ac_ct_OTOOL="otool"
7072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7073     break 2
7074   fi
7075 done
7076   done
7077 IFS=$as_save_IFS
7078
7079 fi
7080 fi
7081 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7082 if test -n "$ac_ct_OTOOL"; then
7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7084 $as_echo "$ac_ct_OTOOL" >&6; }
7085 else
7086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7087 $as_echo "no" >&6; }
7088 fi
7089
7090   if test "x$ac_ct_OTOOL" = x; then
7091     OTOOL=":"
7092   else
7093     case $cross_compiling:$ac_tool_warned in
7094 yes:)
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7097 ac_tool_warned=yes ;;
7098 esac
7099     OTOOL=$ac_ct_OTOOL
7100   fi
7101 else
7102   OTOOL="$ac_cv_prog_OTOOL"
7103 fi
7104
7105     if test -n "$ac_tool_prefix"; then
7106   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7107 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_prog_OTOOL64+:} false; then :
7111   $as_echo_n "(cached) " >&6
7112 else
7113   if test -n "$OTOOL64"; then
7114   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7115 else
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 for as_dir in $PATH
7118 do
7119   IFS=$as_save_IFS
7120   test -z "$as_dir" && as_dir=.
7121     for ac_exec_ext in '' $ac_executable_extensions; do
7122   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125     break 2
7126   fi
7127 done
7128   done
7129 IFS=$as_save_IFS
7130
7131 fi
7132 fi
7133 OTOOL64=$ac_cv_prog_OTOOL64
7134 if test -n "$OTOOL64"; then
7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7136 $as_echo "$OTOOL64" >&6; }
7137 else
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7140 fi
7141
7142
7143 fi
7144 if test -z "$ac_cv_prog_OTOOL64"; then
7145   ac_ct_OTOOL64=$OTOOL64
7146   # Extract the first word of "otool64", so it can be a program name with args.
7147 set dummy otool64; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7151   $as_echo_n "(cached) " >&6
7152 else
7153   if test -n "$ac_ct_OTOOL64"; then
7154   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7155 else
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 for as_dir in $PATH
7158 do
7159   IFS=$as_save_IFS
7160   test -z "$as_dir" && as_dir=.
7161     for ac_exec_ext in '' $ac_executable_extensions; do
7162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7163     ac_cv_prog_ac_ct_OTOOL64="otool64"
7164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165     break 2
7166   fi
7167 done
7168   done
7169 IFS=$as_save_IFS
7170
7171 fi
7172 fi
7173 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7174 if test -n "$ac_ct_OTOOL64"; then
7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7176 $as_echo "$ac_ct_OTOOL64" >&6; }
7177 else
7178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7180 fi
7181
7182   if test "x$ac_ct_OTOOL64" = x; then
7183     OTOOL64=":"
7184   else
7185     case $cross_compiling:$ac_tool_warned in
7186 yes:)
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7189 ac_tool_warned=yes ;;
7190 esac
7191     OTOOL64=$ac_ct_OTOOL64
7192   fi
7193 else
7194   OTOOL64="$ac_cv_prog_OTOOL64"
7195 fi
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7224 $as_echo_n "checking for -single_module linker flag... " >&6; }
7225 if ${lt_cv_apple_cc_single_mod+:} false; then :
7226   $as_echo_n "(cached) " >&6
7227 else
7228   lt_cv_apple_cc_single_mod=no
7229       if test -z "${LT_MULTI_MODULE}"; then
7230         # By default we will add the -single_module flag. You can override
7231         # by either setting the environment variable LT_MULTI_MODULE
7232         # non-empty at configure time, or by adding -multi_module to the
7233         # link flags.
7234         rm -rf libconftest.dylib*
7235         echo "int foo(void){return 1;}" > conftest.c
7236         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7237 -dynamiclib -Wl,-single_module conftest.c" >&5
7238         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7239           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7240         _lt_result=$?
7241         # If there is a non-empty error log, and "single_module"
7242         # appears in it, assume the flag caused a linker warning
7243         if test -s conftest.err && $GREP single_module conftest.err; then
7244           cat conftest.err >&5
7245         # Otherwise, if the output was created with a 0 exit code from
7246         # the compiler, it worked.
7247         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7248           lt_cv_apple_cc_single_mod=yes
7249         else
7250           cat conftest.err >&5
7251         fi
7252         rm -rf libconftest.dylib*
7253         rm -f conftest.*
7254       fi
7255 fi
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7257 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7258
7259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7260 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7261 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7262   $as_echo_n "(cached) " >&6
7263 else
7264   lt_cv_ld_exported_symbols_list=no
7265       save_LDFLAGS=$LDFLAGS
7266       echo "_main" > conftest.sym
7267       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h.  */
7270
7271 int
7272 main ()
7273 {
7274
7275   ;
7276   return 0;
7277 }
7278 _ACEOF
7279 if ac_fn_c_try_link "$LINENO"; then :
7280   lt_cv_ld_exported_symbols_list=yes
7281 else
7282   lt_cv_ld_exported_symbols_list=no
7283 fi
7284 rm -f core conftest.err conftest.$ac_objext \
7285     conftest$ac_exeext conftest.$ac_ext
7286         LDFLAGS="$save_LDFLAGS"
7287
7288 fi
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7290 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7291
7292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7293 $as_echo_n "checking for -force_load linker flag... " >&6; }
7294 if ${lt_cv_ld_force_load+:} false; then :
7295   $as_echo_n "(cached) " >&6
7296 else
7297   lt_cv_ld_force_load=no
7298       cat > conftest.c << _LT_EOF
7299 int forced_loaded() { return 2;}
7300 _LT_EOF
7301       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7302       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7303       echo "$AR cru libconftest.a conftest.o" >&5
7304       $AR cru libconftest.a conftest.o 2>&5
7305       echo "$RANLIB libconftest.a" >&5
7306       $RANLIB libconftest.a 2>&5
7307       cat > conftest.c << _LT_EOF
7308 int main() { return 0;}
7309 _LT_EOF
7310       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7311       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7312       _lt_result=$?
7313       if test -s conftest.err && $GREP force_load conftest.err; then
7314         cat conftest.err >&5
7315       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7316         lt_cv_ld_force_load=yes
7317       else
7318         cat conftest.err >&5
7319       fi
7320         rm -f conftest.err libconftest.a conftest conftest.c
7321         rm -rf conftest.dSYM
7322
7323 fi
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7325 $as_echo "$lt_cv_ld_force_load" >&6; }
7326     case $host_os in
7327     rhapsody* | darwin1.[012])
7328       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7329     darwin1.*)
7330       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7331     darwin*) # darwin 5.x on
7332       # if running on 10.5 or later, the deployment target defaults
7333       # to the OS version, if on x86, and 10.4, the deployment
7334       # target defaults to 10.4. Don't you love it?
7335       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7336         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7337           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7338         10.[012]*)
7339           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7340         10.*)
7341           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7342       esac
7343     ;;
7344   esac
7345     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7346       _lt_dar_single_mod='$single_module'
7347     fi
7348     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7349       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7350     else
7351       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7352     fi
7353     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7354       _lt_dsymutil='~$DSYMUTIL $lib || :'
7355     else
7356       _lt_dsymutil=
7357     fi
7358     ;;
7359   esac
7360
7361 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7362 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7363                   inttypes.h stdint.h unistd.h
7364 do :
7365   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7367 "
7368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7369   cat >>confdefs.h <<_ACEOF
7370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7371 _ACEOF
7372
7373 fi
7374
7375 done
7376
7377
7378 for ac_header in dlfcn.h
7379 do :
7380   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7381 "
7382 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7383   cat >>confdefs.h <<_ACEOF
7384 #define HAVE_DLFCN_H 1
7385 _ACEOF
7386
7387 fi
7388
7389 done
7390
7391
7392
7393
7394
7395 # Set options
7396 enable_win32_dll=yes
7397
7398 case $host in
7399 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7400   if test -n "$ac_tool_prefix"; then
7401   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}as; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_AS+:} false; then :
7406   $as_echo_n "(cached) " >&6
7407 else
7408   if test -n "$AS"; then
7409   ac_cv_prog_AS="$AS" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7413 do
7414   IFS=$as_save_IFS
7415   test -z "$as_dir" && as_dir=.
7416     for ac_exec_ext in '' $ac_executable_extensions; do
7417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418     ac_cv_prog_AS="${ac_tool_prefix}as"
7419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420     break 2
7421   fi
7422 done
7423   done
7424 IFS=$as_save_IFS
7425
7426 fi
7427 fi
7428 AS=$ac_cv_prog_AS
7429 if test -n "$AS"; then
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7431 $as_echo "$AS" >&6; }
7432 else
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7435 fi
7436
7437
7438 fi
7439 if test -z "$ac_cv_prog_AS"; then
7440   ac_ct_AS=$AS
7441   # Extract the first word of "as", so it can be a program name with args.
7442 set dummy as; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7446   $as_echo_n "(cached) " >&6
7447 else
7448   if test -n "$ac_ct_AS"; then
7449   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7453 do
7454   IFS=$as_save_IFS
7455   test -z "$as_dir" && as_dir=.
7456     for ac_exec_ext in '' $ac_executable_extensions; do
7457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458     ac_cv_prog_ac_ct_AS="as"
7459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460     break 2
7461   fi
7462 done
7463   done
7464 IFS=$as_save_IFS
7465
7466 fi
7467 fi
7468 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7469 if test -n "$ac_ct_AS"; then
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7471 $as_echo "$ac_ct_AS" >&6; }
7472 else
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7475 fi
7476
7477   if test "x$ac_ct_AS" = x; then
7478     AS="false"
7479   else
7480     case $cross_compiling:$ac_tool_warned in
7481 yes:)
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned=yes ;;
7485 esac
7486     AS=$ac_ct_AS
7487   fi
7488 else
7489   AS="$ac_cv_prog_AS"
7490 fi
7491
7492   if test -n "$ac_tool_prefix"; then
7493   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7494 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if ${ac_cv_prog_DLLTOOL+:} false; then :
7498   $as_echo_n "(cached) " >&6
7499 else
7500   if test -n "$DLLTOOL"; then
7501   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7502 else
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 for as_dir in $PATH
7505 do
7506   IFS=$as_save_IFS
7507   test -z "$as_dir" && as_dir=.
7508     for ac_exec_ext in '' $ac_executable_extensions; do
7509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7510     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512     break 2
7513   fi
7514 done
7515   done
7516 IFS=$as_save_IFS
7517
7518 fi
7519 fi
7520 DLLTOOL=$ac_cv_prog_DLLTOOL
7521 if test -n "$DLLTOOL"; then
7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7523 $as_echo "$DLLTOOL" >&6; }
7524 else
7525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7527 fi
7528
7529
7530 fi
7531 if test -z "$ac_cv_prog_DLLTOOL"; then
7532   ac_ct_DLLTOOL=$DLLTOOL
7533   # Extract the first word of "dlltool", so it can be a program name with args.
7534 set dummy dlltool; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7538   $as_echo_n "(cached) " >&6
7539 else
7540   if test -n "$ac_ct_DLLTOOL"; then
7541   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7545 do
7546   IFS=$as_save_IFS
7547   test -z "$as_dir" && as_dir=.
7548     for ac_exec_ext in '' $ac_executable_extensions; do
7549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7550     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552     break 2
7553   fi
7554 done
7555   done
7556 IFS=$as_save_IFS
7557
7558 fi
7559 fi
7560 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7561 if test -n "$ac_ct_DLLTOOL"; then
7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7563 $as_echo "$ac_ct_DLLTOOL" >&6; }
7564 else
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7567 fi
7568
7569   if test "x$ac_ct_DLLTOOL" = x; then
7570     DLLTOOL="false"
7571   else
7572     case $cross_compiling:$ac_tool_warned in
7573 yes:)
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7576 ac_tool_warned=yes ;;
7577 esac
7578     DLLTOOL=$ac_ct_DLLTOOL
7579   fi
7580 else
7581   DLLTOOL="$ac_cv_prog_DLLTOOL"
7582 fi
7583
7584   if test -n "$ac_tool_prefix"; then
7585   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7586 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_OBJDUMP+:} false; then :
7590   $as_echo_n "(cached) " >&6
7591 else
7592   if test -n "$OBJDUMP"; then
7593   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7597 do
7598   IFS=$as_save_IFS
7599   test -z "$as_dir" && as_dir=.
7600     for ac_exec_ext in '' $ac_executable_extensions; do
7601   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604     break 2
7605   fi
7606 done
7607   done
7608 IFS=$as_save_IFS
7609
7610 fi
7611 fi
7612 OBJDUMP=$ac_cv_prog_OBJDUMP
7613 if test -n "$OBJDUMP"; then
7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7615 $as_echo "$OBJDUMP" >&6; }
7616 else
7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7619 fi
7620
7621
7622 fi
7623 if test -z "$ac_cv_prog_OBJDUMP"; then
7624   ac_ct_OBJDUMP=$OBJDUMP
7625   # Extract the first word of "objdump", so it can be a program name with args.
7626 set dummy objdump; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7630   $as_echo_n "(cached) " >&6
7631 else
7632   if test -n "$ac_ct_OBJDUMP"; then
7633   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7637 do
7638   IFS=$as_save_IFS
7639   test -z "$as_dir" && as_dir=.
7640     for ac_exec_ext in '' $ac_executable_extensions; do
7641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644     break 2
7645   fi
7646 done
7647   done
7648 IFS=$as_save_IFS
7649
7650 fi
7651 fi
7652 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7653 if test -n "$ac_ct_OBJDUMP"; then
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7655 $as_echo "$ac_ct_OBJDUMP" >&6; }
7656 else
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7659 fi
7660
7661   if test "x$ac_ct_OBJDUMP" = x; then
7662     OBJDUMP="false"
7663   else
7664     case $cross_compiling:$ac_tool_warned in
7665 yes:)
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned=yes ;;
7669 esac
7670     OBJDUMP=$ac_ct_OBJDUMP
7671   fi
7672 else
7673   OBJDUMP="$ac_cv_prog_OBJDUMP"
7674 fi
7675
7676   ;;
7677 esac
7678
7679 test -z "$AS" && AS=as
7680
7681
7682
7683
7684
7685 test -z "$DLLTOOL" && DLLTOOL=dlltool
7686
7687
7688
7689
7690
7691 test -z "$OBJDUMP" && OBJDUMP=objdump
7692
7693
7694
7695
7696
7697
7698
7699         enable_dlopen=no
7700
7701
7702
7703             # Check whether --enable-shared was given.
7704 if test "${enable_shared+set}" = set; then :
7705   enableval=$enable_shared; p=${PACKAGE-default}
7706     case $enableval in
7707     yes) enable_shared=yes ;;
7708     no) enable_shared=no ;;
7709     *)
7710       enable_shared=no
7711       # Look at the argument we got.  We use all the common list separators.
7712       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7713       for pkg in $enableval; do
7714         IFS="$lt_save_ifs"
7715         if test "X$pkg" = "X$p"; then
7716           enable_shared=yes
7717         fi
7718       done
7719       IFS="$lt_save_ifs"
7720       ;;
7721     esac
7722 else
7723   enable_shared=yes
7724 fi
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734   # Check whether --enable-static was given.
7735 if test "${enable_static+set}" = set; then :
7736   enableval=$enable_static; p=${PACKAGE-default}
7737     case $enableval in
7738     yes) enable_static=yes ;;
7739     no) enable_static=no ;;
7740     *)
7741      enable_static=no
7742       # Look at the argument we got.  We use all the common list separators.
7743       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7744       for pkg in $enableval; do
7745         IFS="$lt_save_ifs"
7746         if test "X$pkg" = "X$p"; then
7747           enable_static=yes
7748         fi
7749       done
7750       IFS="$lt_save_ifs"
7751       ;;
7752     esac
7753 else
7754   enable_static=yes
7755 fi
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766 # Check whether --with-pic was given.
7767 if test "${with_pic+set}" = set; then :
7768   withval=$with_pic; lt_p=${PACKAGE-default}
7769     case $withval in
7770     yes|no) pic_mode=$withval ;;
7771     *)
7772       pic_mode=default
7773       # Look at the argument we got.  We use all the common list separators.
7774       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7775       for lt_pkg in $withval; do
7776         IFS="$lt_save_ifs"
7777         if test "X$lt_pkg" = "X$lt_p"; then
7778           pic_mode=yes
7779         fi
7780       done
7781       IFS="$lt_save_ifs"
7782       ;;
7783     esac
7784 else
7785   pic_mode=default
7786 fi
7787
7788
7789 test -z "$pic_mode" && pic_mode=default
7790
7791
7792
7793
7794
7795
7796
7797   # Check whether --enable-fast-install was given.
7798 if test "${enable_fast_install+set}" = set; then :
7799   enableval=$enable_fast_install; p=${PACKAGE-default}
7800     case $enableval in
7801     yes) enable_fast_install=yes ;;
7802     no) enable_fast_install=no ;;
7803     *)
7804       enable_fast_install=no
7805       # Look at the argument we got.  We use all the common list separators.
7806       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7807       for pkg in $enableval; do
7808         IFS="$lt_save_ifs"
7809         if test "X$pkg" = "X$p"; then
7810           enable_fast_install=yes
7811         fi
7812       done
7813       IFS="$lt_save_ifs"
7814       ;;
7815     esac
7816 else
7817   enable_fast_install=yes
7818 fi
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830 # This can be used to rebuild libtool when needed
7831 LIBTOOL_DEPS="$ltmain"
7832
7833 # Always use our own libtool.
7834 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865 test -z "$LN_S" && LN_S="ln -s"
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880 if test -n "${ZSH_VERSION+set}" ; then
7881    setopt NO_GLOB_SUBST
7882 fi
7883
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7885 $as_echo_n "checking for objdir... " >&6; }
7886 if ${lt_cv_objdir+:} false; then :
7887   $as_echo_n "(cached) " >&6
7888 else
7889   rm -f .libs 2>/dev/null
7890 mkdir .libs 2>/dev/null
7891 if test -d .libs; then
7892   lt_cv_objdir=.libs
7893 else
7894   # MS-DOS does not allow filenames that begin with a dot.
7895   lt_cv_objdir=_libs
7896 fi
7897 rmdir .libs 2>/dev/null
7898 fi
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7900 $as_echo "$lt_cv_objdir" >&6; }
7901 objdir=$lt_cv_objdir
7902
7903
7904
7905
7906
7907 cat >>confdefs.h <<_ACEOF
7908 #define LT_OBJDIR "$lt_cv_objdir/"
7909 _ACEOF
7910
7911
7912
7913
7914 case $host_os in
7915 aix3*)
7916   # AIX sometimes has problems with the GCC collect2 program.  For some
7917   # reason, if we set the COLLECT_NAMES environment variable, the problems
7918   # vanish in a puff of smoke.
7919   if test "X${COLLECT_NAMES+set}" != Xset; then
7920     COLLECT_NAMES=
7921     export COLLECT_NAMES
7922   fi
7923   ;;
7924 esac
7925
7926 # Global variables:
7927 ofile=libtool
7928 can_build_shared=yes
7929
7930 # All known linkers require a `.a' archive for static linking (except MSVC,
7931 # which needs '.lib').
7932 libext=a
7933
7934 with_gnu_ld="$lt_cv_prog_gnu_ld"
7935
7936 old_CC="$CC"
7937 old_CFLAGS="$CFLAGS"
7938
7939 # Set sane defaults for various variables
7940 test -z "$CC" && CC=cc
7941 test -z "$LTCC" && LTCC=$CC
7942 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7943 test -z "$LD" && LD=ld
7944 test -z "$ac_objext" && ac_objext=o
7945
7946 for cc_temp in $compiler""; do
7947   case $cc_temp in
7948     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7949     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7950     \-*) ;;
7951     *) break;;
7952   esac
7953 done
7954 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7955
7956
7957 # Only perform the check for file, if the check method requires it
7958 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7959 case $deplibs_check_method in
7960 file_magic*)
7961   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7963 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7964 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7965   $as_echo_n "(cached) " >&6
7966 else
7967   case $MAGIC_CMD in
7968 [\\/*] |  ?:[\\/]*)
7969   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7970   ;;
7971 *)
7972   lt_save_MAGIC_CMD="$MAGIC_CMD"
7973   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7974   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7975   for ac_dir in $ac_dummy; do
7976     IFS="$lt_save_ifs"
7977     test -z "$ac_dir" && ac_dir=.
7978     if test -f $ac_dir/${ac_tool_prefix}file; then
7979       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7980       if test -n "$file_magic_test_file"; then
7981         case $deplibs_check_method in
7982         "file_magic "*)
7983           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7984           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7985           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7986             $EGREP "$file_magic_regex" > /dev/null; then
7987             :
7988           else
7989             cat <<_LT_EOF 1>&2
7990
7991 *** Warning: the command libtool uses to detect shared libraries,
7992 *** $file_magic_cmd, produces output that libtool cannot recognize.
7993 *** The result is that libtool may fail to recognize shared libraries
7994 *** as such.  This will affect the creation of libtool libraries that
7995 *** depend on shared libraries, but programs linked with such libtool
7996 *** libraries will work regardless of this problem.  Nevertheless, you
7997 *** may want to report the problem to your system manager and/or to
7998 *** bug-libtool@gnu.org
7999
8000 _LT_EOF
8001           fi ;;
8002         esac
8003       fi
8004       break
8005     fi
8006   done
8007   IFS="$lt_save_ifs"
8008   MAGIC_CMD="$lt_save_MAGIC_CMD"
8009   ;;
8010 esac
8011 fi
8012
8013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8014 if test -n "$MAGIC_CMD"; then
8015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8016 $as_echo "$MAGIC_CMD" >&6; }
8017 else
8018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8020 fi
8021
8022
8023
8024
8025
8026 if test -z "$lt_cv_path_MAGIC_CMD"; then
8027   if test -n "$ac_tool_prefix"; then
8028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8029 $as_echo_n "checking for file... " >&6; }
8030 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8031   $as_echo_n "(cached) " >&6
8032 else
8033   case $MAGIC_CMD in
8034 [\\/*] |  ?:[\\/]*)
8035   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8036   ;;
8037 *)
8038   lt_save_MAGIC_CMD="$MAGIC_CMD"
8039   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8040   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8041   for ac_dir in $ac_dummy; do
8042     IFS="$lt_save_ifs"
8043     test -z "$ac_dir" && ac_dir=.
8044     if test -f $ac_dir/file; then
8045       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8046       if test -n "$file_magic_test_file"; then
8047         case $deplibs_check_method in
8048         "file_magic "*)
8049           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8050           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8051           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8052             $EGREP "$file_magic_regex" > /dev/null; then
8053             :
8054           else
8055             cat <<_LT_EOF 1>&2
8056
8057 *** Warning: the command libtool uses to detect shared libraries,
8058 *** $file_magic_cmd, produces output that libtool cannot recognize.
8059 *** The result is that libtool may fail to recognize shared libraries
8060 *** as such.  This will affect the creation of libtool libraries that
8061 *** depend on shared libraries, but programs linked with such libtool
8062 *** libraries will work regardless of this problem.  Nevertheless, you
8063 *** may want to report the problem to your system manager and/or to
8064 *** bug-libtool@gnu.org
8065
8066 _LT_EOF
8067           fi ;;
8068         esac
8069       fi
8070       break
8071     fi
8072   done
8073   IFS="$lt_save_ifs"
8074   MAGIC_CMD="$lt_save_MAGIC_CMD"
8075   ;;
8076 esac
8077 fi
8078
8079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8080 if test -n "$MAGIC_CMD"; then
8081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8082 $as_echo "$MAGIC_CMD" >&6; }
8083 else
8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8086 fi
8087
8088
8089   else
8090     MAGIC_CMD=:
8091   fi
8092 fi
8093
8094   fi
8095   ;;
8096 esac
8097
8098 # Use C for the default configuration in the libtool script
8099
8100 lt_save_CC="$CC"
8101 ac_ext=c
8102 ac_cpp='$CPP $CPPFLAGS'
8103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8106
8107
8108 # Source file extension for C test sources.
8109 ac_ext=c
8110
8111 # Object file extension for compiled C test sources.
8112 objext=o
8113 objext=$objext
8114
8115 # Code to be used in simple compile tests
8116 lt_simple_compile_test_code="int some_variable = 0;"
8117
8118 # Code to be used in simple link tests
8119 lt_simple_link_test_code='int main(){return(0);}'
8120
8121
8122
8123
8124
8125
8126
8127 # If no C compiler was specified, use CC.
8128 LTCC=${LTCC-"$CC"}
8129
8130 # If no C compiler flags were specified, use CFLAGS.
8131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8132
8133 # Allow CC to be a program name with arguments.
8134 compiler=$CC
8135
8136 # Save the default compiler, since it gets overwritten when the other
8137 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8138 compiler_DEFAULT=$CC
8139
8140 # save warnings/boilerplate of simple test code
8141 ac_outfile=conftest.$ac_objext
8142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8144 _lt_compiler_boilerplate=`cat conftest.err`
8145 $RM conftest*
8146
8147 ac_outfile=conftest.$ac_objext
8148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8150 _lt_linker_boilerplate=`cat conftest.err`
8151 $RM -r conftest*
8152
8153
8154 ## CAVEAT EMPTOR:
8155 ## There is no encapsulation within the following macros, do not change
8156 ## the running order or otherwise move them around unless you know exactly
8157 ## what you are doing...
8158 if test -n "$compiler"; then
8159
8160 lt_prog_compiler_no_builtin_flag=
8161
8162 if test "$GCC" = yes; then
8163   case $cc_basename in
8164   nvcc*)
8165     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8166   *)
8167     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8168   esac
8169
8170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8171 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8172 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8173   $as_echo_n "(cached) " >&6
8174 else
8175   lt_cv_prog_compiler_rtti_exceptions=no
8176    ac_outfile=conftest.$ac_objext
8177    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8178    lt_compiler_flag="-fno-rtti -fno-exceptions"
8179    # Insert the option either (1) after the last *FLAGS variable, or
8180    # (2) before a word containing "conftest.", or (3) at the end.
8181    # Note that $ac_compile itself does not contain backslashes and begins
8182    # with a dollar sign (not a hyphen), so the echo should work correctly.
8183    # The option is referenced via a variable to avoid confusing sed.
8184    lt_compile=`echo "$ac_compile" | $SED \
8185    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8186    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8187    -e 's:$: $lt_compiler_flag:'`
8188    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8189    (eval "$lt_compile" 2>conftest.err)
8190    ac_status=$?
8191    cat conftest.err >&5
8192    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193    if (exit $ac_status) && test -s "$ac_outfile"; then
8194      # The compiler can only warn and ignore the option if not recognized
8195      # So say no if there are warnings other than the usual output.
8196      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8197      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8198      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8199        lt_cv_prog_compiler_rtti_exceptions=yes
8200      fi
8201    fi
8202    $RM conftest*
8203
8204 fi
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8206 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8207
8208 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8209     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8210 else
8211     :
8212 fi
8213
8214 fi
8215
8216
8217
8218
8219
8220
8221   lt_prog_compiler_wl=
8222 lt_prog_compiler_pic=
8223 lt_prog_compiler_static=
8224
8225
8226   if test "$GCC" = yes; then
8227     lt_prog_compiler_wl='-Wl,'
8228     lt_prog_compiler_static='-static'
8229
8230     case $host_os in
8231       aix*)
8232       # All AIX code is PIC.
8233       if test "$host_cpu" = ia64; then
8234         # AIX 5 now supports IA64 processor
8235         lt_prog_compiler_static='-Bstatic'
8236       fi
8237       ;;
8238
8239     amigaos*)
8240       case $host_cpu in
8241       powerpc)
8242             # see comment about AmigaOS4 .so support
8243             lt_prog_compiler_pic='-fPIC'
8244         ;;
8245       m68k)
8246             # FIXME: we need at least 68020 code to build shared libraries, but
8247             # adding the `-m68020' flag to GCC prevents building anything better,
8248             # like `-m68040'.
8249             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8250         ;;
8251       esac
8252       ;;
8253
8254     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8255       # PIC is the default for these OSes.
8256       ;;
8257
8258     mingw* | cygwin* | pw32* | os2* | cegcc*)
8259       # This hack is so that the source file can tell whether it is being
8260       # built for inclusion in a dll (and should export symbols for example).
8261       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8262       # (--disable-auto-import) libraries
8263       lt_prog_compiler_pic='-DDLL_EXPORT'
8264       ;;
8265
8266     darwin* | rhapsody*)
8267       # PIC is the default on this platform
8268       # Common symbols not allowed in MH_DYLIB files
8269       lt_prog_compiler_pic='-fno-common'
8270       ;;
8271
8272     haiku*)
8273       # PIC is the default for Haiku.
8274       # The "-static" flag exists, but is broken.
8275       lt_prog_compiler_static=
8276       ;;
8277
8278     hpux*)
8279       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8280       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8281       # sets the default TLS model and affects inlining.
8282       case $host_cpu in
8283       hppa*64*)
8284         # +Z the default
8285         ;;
8286       *)
8287         lt_prog_compiler_pic='-fPIC'
8288         ;;
8289       esac
8290       ;;
8291
8292     interix[3-9]*)
8293       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8294       # Instead, we relocate shared libraries at runtime.
8295       ;;
8296
8297     msdosdjgpp*)
8298       # Just because we use GCC doesn't mean we suddenly get shared libraries
8299       # on systems that don't support them.
8300       lt_prog_compiler_can_build_shared=no
8301       enable_shared=no
8302       ;;
8303
8304     *nto* | *qnx*)
8305       # QNX uses GNU C++, but need to define -shared option too, otherwise
8306       # it will coredump.
8307       lt_prog_compiler_pic='-fPIC -shared'
8308       ;;
8309
8310     sysv4*MP*)
8311       if test -d /usr/nec; then
8312         lt_prog_compiler_pic=-Kconform_pic
8313       fi
8314       ;;
8315
8316     *)
8317       lt_prog_compiler_pic='-fPIC'
8318       ;;
8319     esac
8320
8321     case $cc_basename in
8322     nvcc*) # Cuda Compiler Driver 2.2
8323       lt_prog_compiler_wl='-Xlinker '
8324       if test -n "$lt_prog_compiler_pic"; then
8325         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8326       fi
8327       ;;
8328     esac
8329   else
8330     # PORTME Check for flag to pass linker flags through the system compiler.
8331     case $host_os in
8332     aix*)
8333       lt_prog_compiler_wl='-Wl,'
8334       if test "$host_cpu" = ia64; then
8335         # AIX 5 now supports IA64 processor
8336         lt_prog_compiler_static='-Bstatic'
8337       else
8338         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8339       fi
8340       ;;
8341
8342     mingw* | cygwin* | pw32* | os2* | cegcc*)
8343       # This hack is so that the source file can tell whether it is being
8344       # built for inclusion in a dll (and should export symbols for example).
8345       lt_prog_compiler_pic='-DDLL_EXPORT'
8346       ;;
8347
8348     hpux9* | hpux10* | hpux11*)
8349       lt_prog_compiler_wl='-Wl,'
8350       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8351       # not for PA HP-UX.
8352       case $host_cpu in
8353       hppa*64*|ia64*)
8354         # +Z the default
8355         ;;
8356       *)
8357         lt_prog_compiler_pic='+Z'
8358         ;;
8359       esac
8360       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8361       lt_prog_compiler_static='${wl}-a ${wl}archive'
8362       ;;
8363
8364     irix5* | irix6* | nonstopux*)
8365       lt_prog_compiler_wl='-Wl,'
8366       # PIC (with -KPIC) is the default.
8367       lt_prog_compiler_static='-non_shared'
8368       ;;
8369
8370     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8371       case $cc_basename in
8372       # old Intel for x86_64 which still supported -KPIC.
8373       ecc*)
8374         lt_prog_compiler_wl='-Wl,'
8375         lt_prog_compiler_pic='-KPIC'
8376         lt_prog_compiler_static='-static'
8377         ;;
8378       # icc used to be incompatible with GCC.
8379       # ICC 10 doesn't accept -KPIC any more.
8380       icc* | ifort*)
8381         lt_prog_compiler_wl='-Wl,'
8382         lt_prog_compiler_pic='-fPIC'
8383         lt_prog_compiler_static='-static'
8384         ;;
8385       # Lahey Fortran 8.1.
8386       lf95*)
8387         lt_prog_compiler_wl='-Wl,'
8388         lt_prog_compiler_pic='--shared'
8389         lt_prog_compiler_static='--static'
8390         ;;
8391       nagfor*)
8392         # NAG Fortran compiler
8393         lt_prog_compiler_wl='-Wl,-Wl,,'
8394         lt_prog_compiler_pic='-PIC'
8395         lt_prog_compiler_static='-Bstatic'
8396         ;;
8397       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8398         # Portland Group compilers (*not* the Pentium gcc compiler,
8399         # which looks to be a dead project)
8400         lt_prog_compiler_wl='-Wl,'
8401         lt_prog_compiler_pic='-fpic'
8402         lt_prog_compiler_static='-Bstatic'
8403         ;;
8404       ccc*)
8405         lt_prog_compiler_wl='-Wl,'
8406         # All Alpha code is PIC.
8407         lt_prog_compiler_static='-non_shared'
8408         ;;
8409       xl* | bgxl* | bgf* | mpixl*)
8410         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8411         lt_prog_compiler_wl='-Wl,'
8412         lt_prog_compiler_pic='-qpic'
8413         lt_prog_compiler_static='-qstaticlink'
8414         ;;
8415       *)
8416         case `$CC -V 2>&1 | sed 5q` in
8417         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8418           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8419           lt_prog_compiler_pic='-KPIC'
8420           lt_prog_compiler_static='-Bstatic'
8421           lt_prog_compiler_wl=''
8422           ;;
8423         *Sun\ F* | *Sun*Fortran*)
8424           lt_prog_compiler_pic='-KPIC'
8425           lt_prog_compiler_static='-Bstatic'
8426           lt_prog_compiler_wl='-Qoption ld '
8427           ;;
8428         *Sun\ C*)
8429           # Sun C 5.9
8430           lt_prog_compiler_pic='-KPIC'
8431           lt_prog_compiler_static='-Bstatic'
8432           lt_prog_compiler_wl='-Wl,'
8433           ;;
8434         *Intel*\ [CF]*Compiler*)
8435           lt_prog_compiler_wl='-Wl,'
8436           lt_prog_compiler_pic='-fPIC'
8437           lt_prog_compiler_static='-static'
8438           ;;
8439         *Portland\ Group*)
8440           lt_prog_compiler_wl='-Wl,'
8441           lt_prog_compiler_pic='-fpic'
8442           lt_prog_compiler_static='-Bstatic'
8443           ;;
8444         esac
8445         ;;
8446       esac
8447       ;;
8448
8449     newsos6)
8450       lt_prog_compiler_pic='-KPIC'
8451       lt_prog_compiler_static='-Bstatic'
8452       ;;
8453
8454     *nto* | *qnx*)
8455       # QNX uses GNU C++, but need to define -shared option too, otherwise
8456       # it will coredump.
8457       lt_prog_compiler_pic='-fPIC -shared'
8458       ;;
8459
8460     osf3* | osf4* | osf5*)
8461       lt_prog_compiler_wl='-Wl,'
8462       # All OSF/1 code is PIC.
8463       lt_prog_compiler_static='-non_shared'
8464       ;;
8465
8466     rdos*)
8467       lt_prog_compiler_static='-non_shared'
8468       ;;
8469
8470     solaris*)
8471       lt_prog_compiler_pic='-KPIC'
8472       lt_prog_compiler_static='-Bstatic'
8473       case $cc_basename in
8474       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8475         lt_prog_compiler_wl='-Qoption ld ';;
8476       *)
8477         lt_prog_compiler_wl='-Wl,';;
8478       esac
8479       ;;
8480
8481     sunos4*)
8482       lt_prog_compiler_wl='-Qoption ld '
8483       lt_prog_compiler_pic='-PIC'
8484       lt_prog_compiler_static='-Bstatic'
8485       ;;
8486
8487     sysv4 | sysv4.2uw2* | sysv4.3*)
8488       lt_prog_compiler_wl='-Wl,'
8489       lt_prog_compiler_pic='-KPIC'
8490       lt_prog_compiler_static='-Bstatic'
8491       ;;
8492
8493     sysv4*MP*)
8494       if test -d /usr/nec ;then
8495         lt_prog_compiler_pic='-Kconform_pic'
8496         lt_prog_compiler_static='-Bstatic'
8497       fi
8498       ;;
8499
8500     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8501       lt_prog_compiler_wl='-Wl,'
8502       lt_prog_compiler_pic='-KPIC'
8503       lt_prog_compiler_static='-Bstatic'
8504       ;;
8505
8506     unicos*)
8507       lt_prog_compiler_wl='-Wl,'
8508       lt_prog_compiler_can_build_shared=no
8509       ;;
8510
8511     uts4*)
8512       lt_prog_compiler_pic='-pic'
8513       lt_prog_compiler_static='-Bstatic'
8514       ;;
8515
8516     *)
8517       lt_prog_compiler_can_build_shared=no
8518       ;;
8519     esac
8520   fi
8521
8522 case $host_os in
8523   # For platforms which do not support PIC, -DPIC is meaningless:
8524   *djgpp*)
8525     lt_prog_compiler_pic=
8526     ;;
8527   *)
8528     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8529     ;;
8530 esac
8531
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8533 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8534 if ${lt_cv_prog_compiler_pic+:} false; then :
8535   $as_echo_n "(cached) " >&6
8536 else
8537   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8538 fi
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8540 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8541 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8542
8543 #
8544 # Check to make sure the PIC flag actually works.
8545 #
8546 if test -n "$lt_prog_compiler_pic"; then
8547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8548 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8549 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8550   $as_echo_n "(cached) " >&6
8551 else
8552   lt_cv_prog_compiler_pic_works=no
8553    ac_outfile=conftest.$ac_objext
8554    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8555    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8556    # Insert the option either (1) after the last *FLAGS variable, or
8557    # (2) before a word containing "conftest.", or (3) at the end.
8558    # Note that $ac_compile itself does not contain backslashes and begins
8559    # with a dollar sign (not a hyphen), so the echo should work correctly.
8560    # The option is referenced via a variable to avoid confusing sed.
8561    lt_compile=`echo "$ac_compile" | $SED \
8562    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8563    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8564    -e 's:$: $lt_compiler_flag:'`
8565    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8566    (eval "$lt_compile" 2>conftest.err)
8567    ac_status=$?
8568    cat conftest.err >&5
8569    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570    if (exit $ac_status) && test -s "$ac_outfile"; then
8571      # The compiler can only warn and ignore the option if not recognized
8572      # So say no if there are warnings other than the usual output.
8573      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8574      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8575      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8576        lt_cv_prog_compiler_pic_works=yes
8577      fi
8578    fi
8579    $RM conftest*
8580
8581 fi
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8583 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8584
8585 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8586     case $lt_prog_compiler_pic in
8587      "" | " "*) ;;
8588      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8589      esac
8590 else
8591     lt_prog_compiler_pic=
8592      lt_prog_compiler_can_build_shared=no
8593 fi
8594
8595 fi
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607 #
8608 # Check to make sure the static flag actually works.
8609 #
8610 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8612 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8613 if ${lt_cv_prog_compiler_static_works+:} false; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   lt_cv_prog_compiler_static_works=no
8617    save_LDFLAGS="$LDFLAGS"
8618    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8619    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8620    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8621      # The linker can only warn and ignore the option if not recognized
8622      # So say no if there are warnings
8623      if test -s conftest.err; then
8624        # Append any errors to the config.log.
8625        cat conftest.err 1>&5
8626        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8627        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8628        if diff conftest.exp conftest.er2 >/dev/null; then
8629          lt_cv_prog_compiler_static_works=yes
8630        fi
8631      else
8632        lt_cv_prog_compiler_static_works=yes
8633      fi
8634    fi
8635    $RM -r conftest*
8636    LDFLAGS="$save_LDFLAGS"
8637
8638 fi
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8640 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8641
8642 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8643     :
8644 else
8645     lt_prog_compiler_static=
8646 fi
8647
8648
8649
8650
8651
8652
8653
8654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8655 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8656 if ${lt_cv_prog_compiler_c_o+:} false; then :
8657   $as_echo_n "(cached) " >&6
8658 else
8659   lt_cv_prog_compiler_c_o=no
8660    $RM -r conftest 2>/dev/null
8661    mkdir conftest
8662    cd conftest
8663    mkdir out
8664    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8665
8666    lt_compiler_flag="-o out/conftest2.$ac_objext"
8667    # Insert the option either (1) after the last *FLAGS variable, or
8668    # (2) before a word containing "conftest.", or (3) at the end.
8669    # Note that $ac_compile itself does not contain backslashes and begins
8670    # with a dollar sign (not a hyphen), so the echo should work correctly.
8671    lt_compile=`echo "$ac_compile" | $SED \
8672    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8673    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8674    -e 's:$: $lt_compiler_flag:'`
8675    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8676    (eval "$lt_compile" 2>out/conftest.err)
8677    ac_status=$?
8678    cat out/conftest.err >&5
8679    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8681    then
8682      # The compiler can only warn and ignore the option if not recognized
8683      # So say no if there are warnings
8684      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8685      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8686      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8687        lt_cv_prog_compiler_c_o=yes
8688      fi
8689    fi
8690    chmod u+w . 2>&5
8691    $RM conftest*
8692    # SGI C++ compiler will create directory out/ii_files/ for
8693    # template instantiation
8694    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8695    $RM out/* && rmdir out
8696    cd ..
8697    $RM -r conftest
8698    $RM conftest*
8699
8700 fi
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8702 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8703
8704
8705
8706
8707
8708
8709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8710 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8711 if ${lt_cv_prog_compiler_c_o+:} false; then :
8712   $as_echo_n "(cached) " >&6
8713 else
8714   lt_cv_prog_compiler_c_o=no
8715    $RM -r conftest 2>/dev/null
8716    mkdir conftest
8717    cd conftest
8718    mkdir out
8719    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8720
8721    lt_compiler_flag="-o out/conftest2.$ac_objext"
8722    # Insert the option either (1) after the last *FLAGS variable, or
8723    # (2) before a word containing "conftest.", or (3) at the end.
8724    # Note that $ac_compile itself does not contain backslashes and begins
8725    # with a dollar sign (not a hyphen), so the echo should work correctly.
8726    lt_compile=`echo "$ac_compile" | $SED \
8727    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8728    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8729    -e 's:$: $lt_compiler_flag:'`
8730    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8731    (eval "$lt_compile" 2>out/conftest.err)
8732    ac_status=$?
8733    cat out/conftest.err >&5
8734    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8736    then
8737      # The compiler can only warn and ignore the option if not recognized
8738      # So say no if there are warnings
8739      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8740      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8741      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8742        lt_cv_prog_compiler_c_o=yes
8743      fi
8744    fi
8745    chmod u+w . 2>&5
8746    $RM conftest*
8747    # SGI C++ compiler will create directory out/ii_files/ for
8748    # template instantiation
8749    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8750    $RM out/* && rmdir out
8751    cd ..
8752    $RM -r conftest
8753    $RM conftest*
8754
8755 fi
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8757 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8758
8759
8760
8761
8762 hard_links="nottested"
8763 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8764   # do not overwrite the value of need_locks provided by the user
8765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8766 $as_echo_n "checking if we can lock with hard links... " >&6; }
8767   hard_links=yes
8768   $RM conftest*
8769   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8770   touch conftest.a
8771   ln conftest.a conftest.b 2>&5 || hard_links=no
8772   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8774 $as_echo "$hard_links" >&6; }
8775   if test "$hard_links" = no; then
8776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8777 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8778     need_locks=warn
8779   fi
8780 else
8781   need_locks=no
8782 fi
8783
8784
8785
8786
8787
8788
8789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8790 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8791
8792   runpath_var=
8793   allow_undefined_flag=
8794   always_export_symbols=no
8795   archive_cmds=
8796   archive_expsym_cmds=
8797   compiler_needs_object=no
8798   enable_shared_with_static_runtimes=no
8799   export_dynamic_flag_spec=
8800   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8801   hardcode_automatic=no
8802   hardcode_direct=no
8803   hardcode_direct_absolute=no
8804   hardcode_libdir_flag_spec=
8805   hardcode_libdir_separator=
8806   hardcode_minus_L=no
8807   hardcode_shlibpath_var=unsupported
8808   inherit_rpath=no
8809   link_all_deplibs=unknown
8810   module_cmds=
8811   module_expsym_cmds=
8812   old_archive_from_new_cmds=
8813   old_archive_from_expsyms_cmds=
8814   thread_safe_flag_spec=
8815   whole_archive_flag_spec=
8816   # include_expsyms should be a list of space-separated symbols to be *always*
8817   # included in the symbol list
8818   include_expsyms=
8819   # exclude_expsyms can be an extended regexp of symbols to exclude
8820   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8821   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8822   # as well as any symbol that contains `d'.
8823   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8824   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8825   # platforms (ab)use it in PIC code, but their linkers get confused if
8826   # the symbol is explicitly referenced.  Since portable code cannot
8827   # rely on this symbol name, it's probably fine to never include it in
8828   # preloaded symbol tables.
8829   # Exclude shared library initialization/finalization symbols.
8830   extract_expsyms_cmds=
8831
8832   case $host_os in
8833   cygwin* | mingw* | pw32* | cegcc*)
8834     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8835     # When not using gcc, we currently assume that we are using
8836     # Microsoft Visual C++.
8837     if test "$GCC" != yes; then
8838       with_gnu_ld=no
8839     fi
8840     ;;
8841   interix*)
8842     # we just hope/assume this is gcc and not c89 (= MSVC++)
8843     with_gnu_ld=yes
8844     ;;
8845   openbsd*)
8846     with_gnu_ld=no
8847     ;;
8848   linux* | k*bsd*-gnu | gnu*)
8849     link_all_deplibs=no
8850     ;;
8851   esac
8852
8853   ld_shlibs=yes
8854
8855   # On some targets, GNU ld is compatible enough with the native linker
8856   # that we're better off using the native interface for both.
8857   lt_use_gnu_ld_interface=no
8858   if test "$with_gnu_ld" = yes; then
8859     case $host_os in
8860       aix*)
8861         # The AIX port of GNU ld has always aspired to compatibility
8862         # with the native linker.  However, as the warning in the GNU ld
8863         # block says, versions before 2.19.5* couldn't really create working
8864         # shared libraries, regardless of the interface used.
8865         case `$LD -v 2>&1` in
8866           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8867           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8868           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8869           *)
8870             lt_use_gnu_ld_interface=yes
8871             ;;
8872         esac
8873         ;;
8874       *)
8875         lt_use_gnu_ld_interface=yes
8876         ;;
8877     esac
8878   fi
8879
8880   if test "$lt_use_gnu_ld_interface" = yes; then
8881     # If archive_cmds runs LD, not CC, wlarc should be empty
8882     wlarc='${wl}'
8883
8884     # Set some defaults for GNU ld with shared library support. These
8885     # are reset later if shared libraries are not supported. Putting them
8886     # here allows them to be overridden if necessary.
8887     runpath_var=LD_RUN_PATH
8888     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8889     export_dynamic_flag_spec='${wl}--export-dynamic'
8890     # ancient GNU ld didn't support --whole-archive et. al.
8891     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8892       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8893     else
8894       whole_archive_flag_spec=
8895     fi
8896     supports_anon_versioning=no
8897     case `$LD -v 2>&1` in
8898       *GNU\ gold*) supports_anon_versioning=yes ;;
8899       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8900       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8901       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8902       *\ 2.11.*) ;; # other 2.11 versions
8903       *) supports_anon_versioning=yes ;;
8904     esac
8905
8906     # See if GNU ld supports shared libraries.
8907     case $host_os in
8908     aix[3-9]*)
8909       # On AIX/PPC, the GNU linker is very broken
8910       if test "$host_cpu" != ia64; then
8911         ld_shlibs=no
8912         cat <<_LT_EOF 1>&2
8913
8914 *** Warning: the GNU linker, at least up to release 2.19, is reported
8915 *** to be unable to reliably create shared libraries on AIX.
8916 *** Therefore, libtool is disabling shared libraries support.  If you
8917 *** really care for shared libraries, you may want to install binutils
8918 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8919 *** You will then need to restart the configuration process.
8920
8921 _LT_EOF
8922       fi
8923       ;;
8924
8925     amigaos*)
8926       case $host_cpu in
8927       powerpc)
8928             # see comment about AmigaOS4 .so support
8929             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8930             archive_expsym_cmds=''
8931         ;;
8932       m68k)
8933             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)'
8934             hardcode_libdir_flag_spec='-L$libdir'
8935             hardcode_minus_L=yes
8936         ;;
8937       esac
8938       ;;
8939
8940     beos*)
8941       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8942         allow_undefined_flag=unsupported
8943         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8944         # support --undefined.  This deserves some investigation.  FIXME
8945         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8946       else
8947         ld_shlibs=no
8948       fi
8949       ;;
8950
8951     cygwin* | mingw* | pw32* | cegcc*)
8952       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8953       # as there is no search path for DLLs.
8954       hardcode_libdir_flag_spec='-L$libdir'
8955       export_dynamic_flag_spec='${wl}--export-all-symbols'
8956       allow_undefined_flag=unsupported
8957       always_export_symbols=no
8958       enable_shared_with_static_runtimes=yes
8959       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'
8960       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8961
8962       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8963         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8964         # If the export-symbols file already is a .def file (1st line
8965         # is EXPORTS), use it as is; otherwise, prepend...
8966         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8967           cp $export_symbols $output_objdir/$soname.def;
8968         else
8969           echo EXPORTS > $output_objdir/$soname.def;
8970           cat $export_symbols >> $output_objdir/$soname.def;
8971         fi~
8972         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8973       else
8974         ld_shlibs=no
8975       fi
8976       ;;
8977
8978     haiku*)
8979       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8980       link_all_deplibs=yes
8981       ;;
8982
8983     interix[3-9]*)
8984       hardcode_direct=no
8985       hardcode_shlibpath_var=no
8986       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8987       export_dynamic_flag_spec='${wl}-E'
8988       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8989       # Instead, shared libraries are loaded at an image base (0x10000000 by
8990       # default) and relocated if they conflict, which is a slow very memory
8991       # consuming and fragmenting process.  To avoid this, we pick a random,
8992       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8993       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8994       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8995       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'
8996       ;;
8997
8998     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8999       tmp_diet=no
9000       if test "$host_os" = linux-dietlibc; then
9001         case $cc_basename in
9002           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9003         esac
9004       fi
9005       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9006          && test "$tmp_diet" = no
9007       then
9008         tmp_addflag=' $pic_flag'
9009         tmp_sharedflag='-shared'
9010         case $cc_basename,$host_cpu in
9011         pgcc*)                          # Portland Group C compiler
9012           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'
9013           tmp_addflag=' $pic_flag'
9014           ;;
9015         pgf77* | pgf90* | pgf95* | pgfortran*)
9016                                         # Portland Group f77 and f90 compilers
9017           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'
9018           tmp_addflag=' $pic_flag -Mnomain' ;;
9019         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9020           tmp_addflag=' -i_dynamic' ;;
9021         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9022           tmp_addflag=' -i_dynamic -nofor_main' ;;
9023         ifc* | ifort*)                  # Intel Fortran compiler
9024           tmp_addflag=' -nofor_main' ;;
9025         lf95*)                          # Lahey Fortran 8.1
9026           whole_archive_flag_spec=
9027           tmp_sharedflag='--shared' ;;
9028         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9029           tmp_sharedflag='-qmkshrobj'
9030           tmp_addflag= ;;
9031         nvcc*)  # Cuda Compiler Driver 2.2
9032           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'
9033           compiler_needs_object=yes
9034           ;;
9035         esac
9036         case `$CC -V 2>&1 | sed 5q` in
9037         *Sun\ C*)                       # Sun C 5.9
9038           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'
9039           compiler_needs_object=yes
9040           tmp_sharedflag='-G' ;;
9041         *Sun\ F*)                       # Sun Fortran 8.3
9042           tmp_sharedflag='-G' ;;
9043         esac
9044         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045
9046         if test "x$supports_anon_versioning" = xyes; then
9047           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9048             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9049             echo "local: *; };" >> $output_objdir/$libname.ver~
9050             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9051         fi
9052
9053         case $cc_basename in
9054         xlf* | bgf* | bgxlf* | mpixlf*)
9055           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9056           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9057           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9058           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9059           if test "x$supports_anon_versioning" = xyes; then
9060             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9061               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9062               echo "local: *; };" >> $output_objdir/$libname.ver~
9063               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9064           fi
9065           ;;
9066         esac
9067       else
9068         ld_shlibs=no
9069       fi
9070       ;;
9071
9072     netbsd* | netbsdelf*-gnu)
9073       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9074         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9075         wlarc=
9076       else
9077         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9078         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9079       fi
9080       ;;
9081
9082     solaris*)
9083       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9084         ld_shlibs=no
9085         cat <<_LT_EOF 1>&2
9086
9087 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9088 *** create shared libraries on Solaris systems.  Therefore, libtool
9089 *** is disabling shared libraries support.  We urge you to upgrade GNU
9090 *** binutils to release 2.9.1 or newer.  Another option is to modify
9091 *** your PATH or compiler configuration so that the native linker is
9092 *** used, and then restart.
9093
9094 _LT_EOF
9095       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9096         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9097         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9098       else
9099         ld_shlibs=no
9100       fi
9101       ;;
9102
9103     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9104       case `$LD -v 2>&1` in
9105         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9106         ld_shlibs=no
9107         cat <<_LT_EOF 1>&2
9108
9109 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9110 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9111 *** is disabling shared libraries support.  We urge you to upgrade GNU
9112 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9113 *** your PATH or compiler configuration so that the native linker is
9114 *** used, and then restart.
9115
9116 _LT_EOF
9117         ;;
9118         *)
9119           # For security reasons, it is highly recommended that you always
9120           # use absolute paths for naming shared libraries, and exclude the
9121           # DT_RUNPATH tag from executables and libraries.  But doing so
9122           # requires that you compile everything twice, which is a pain.
9123           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9124             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9125             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9127           else
9128             ld_shlibs=no
9129           fi
9130         ;;
9131       esac
9132       ;;
9133
9134     sunos4*)
9135       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9136       wlarc=
9137       hardcode_direct=yes
9138       hardcode_shlibpath_var=no
9139       ;;
9140
9141     *)
9142       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9143         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9145       else
9146         ld_shlibs=no
9147       fi
9148       ;;
9149     esac
9150
9151     if test "$ld_shlibs" = no; then
9152       runpath_var=
9153       hardcode_libdir_flag_spec=
9154       export_dynamic_flag_spec=
9155       whole_archive_flag_spec=
9156     fi
9157   else
9158     # PORTME fill in a description of your system's linker (not GNU ld)
9159     case $host_os in
9160     aix3*)
9161       allow_undefined_flag=unsupported
9162       always_export_symbols=yes
9163       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'
9164       # Note: this linker hardcodes the directories in LIBPATH if there
9165       # are no directories specified by -L.
9166       hardcode_minus_L=yes
9167       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9168         # Neither direct hardcoding nor static linking is supported with a
9169         # broken collect2.
9170         hardcode_direct=unsupported
9171       fi
9172       ;;
9173
9174     aix[4-9]*)
9175       if test "$host_cpu" = ia64; then
9176         # On IA64, the linker does run time linking by default, so we don't
9177         # have to do anything special.
9178         aix_use_runtimelinking=no
9179         exp_sym_flag='-Bexport'
9180         no_entry_flag=""
9181       else
9182         # If we're using GNU nm, then we don't want the "-C" option.
9183         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9184         # Also, AIX nm treats weak defined symbols like other global
9185         # defined symbols, whereas GNU nm marks them as "W".
9186         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9187           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'
9188         else
9189           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'
9190         fi
9191         aix_use_runtimelinking=no
9192
9193         # Test if we are trying to use run time linking or normal
9194         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9195         # need to do runtime linking.
9196         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9197           for ld_flag in $LDFLAGS; do
9198           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9199             aix_use_runtimelinking=yes
9200             break
9201           fi
9202           done
9203           ;;
9204         esac
9205
9206         exp_sym_flag='-bexport'
9207         no_entry_flag='-bnoentry'
9208       fi
9209
9210       # When large executables or shared objects are built, AIX ld can
9211       # have problems creating the table of contents.  If linking a library
9212       # or program results in "error TOC overflow" add -mminimal-toc to
9213       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9214       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9215
9216       archive_cmds=''
9217       hardcode_direct=yes
9218       hardcode_direct_absolute=yes
9219       hardcode_libdir_separator=':'
9220       link_all_deplibs=yes
9221       file_list_spec='${wl}-f,'
9222
9223       if test "$GCC" = yes; then
9224         case $host_os in aix4.[012]|aix4.[012].*)
9225         # We only want to do this on AIX 4.2 and lower, the check
9226         # below for broken collect2 doesn't work under 4.3+
9227           collect2name=`${CC} -print-prog-name=collect2`
9228           if test -f "$collect2name" &&
9229            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9230           then
9231           # We have reworked collect2
9232           :
9233           else
9234           # We have old collect2
9235           hardcode_direct=unsupported
9236           # It fails to find uninstalled libraries when the uninstalled
9237           # path is not listed in the libpath.  Setting hardcode_minus_L
9238           # to unsupported forces relinking
9239           hardcode_minus_L=yes
9240           hardcode_libdir_flag_spec='-L$libdir'
9241           hardcode_libdir_separator=
9242           fi
9243           ;;
9244         esac
9245         shared_flag='-shared'
9246         if test "$aix_use_runtimelinking" = yes; then
9247           shared_flag="$shared_flag "'${wl}-G'
9248         fi
9249         link_all_deplibs=no
9250       else
9251         # not using gcc
9252         if test "$host_cpu" = ia64; then
9253         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9254         # chokes on -Wl,-G. The following line is correct:
9255           shared_flag='-G'
9256         else
9257           if test "$aix_use_runtimelinking" = yes; then
9258             shared_flag='${wl}-G'
9259           else
9260             shared_flag='${wl}-bM:SRE'
9261           fi
9262         fi
9263       fi
9264
9265       export_dynamic_flag_spec='${wl}-bexpall'
9266       # It seems that -bexpall does not export symbols beginning with
9267       # underscore (_), so it is better to generate a list of symbols to export.
9268       always_export_symbols=yes
9269       if test "$aix_use_runtimelinking" = yes; then
9270         # Warning - without using the other runtime loading flags (-brtl),
9271         # -berok will link without error, but may produce a broken library.
9272         allow_undefined_flag='-berok'
9273         # Determine the default libpath from the value encoded in an
9274         # empty executable.
9275         if test "${lt_cv_aix_libpath+set}" = set; then
9276   aix_libpath=$lt_cv_aix_libpath
9277 else
9278   if ${lt_cv_aix_libpath_+:} false; then :
9279   $as_echo_n "(cached) " >&6
9280 else
9281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h.  */
9283
9284 int
9285 main ()
9286 {
9287
9288   ;
9289   return 0;
9290 }
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293
9294   lt_aix_libpath_sed='
9295       /Import File Strings/,/^$/ {
9296           /^0/ {
9297               s/^0  *\([^ ]*\) *$/\1/
9298               p
9299           }
9300       }'
9301   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9302   # Check for a 64-bit object if we didn't find anything.
9303   if test -z "$lt_cv_aix_libpath_"; then
9304     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9305   fi
9306 fi
9307 rm -f core conftest.err conftest.$ac_objext \
9308     conftest$ac_exeext conftest.$ac_ext
9309   if test -z "$lt_cv_aix_libpath_"; then
9310     lt_cv_aix_libpath_="/usr/lib:/lib"
9311   fi
9312
9313 fi
9314
9315   aix_libpath=$lt_cv_aix_libpath_
9316 fi
9317
9318         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9319         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"
9320       else
9321         if test "$host_cpu" = ia64; then
9322           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9323           allow_undefined_flag="-z nodefs"
9324           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"
9325         else
9326          # Determine the default libpath from the value encoded in an
9327          # empty executable.
9328          if test "${lt_cv_aix_libpath+set}" = set; then
9329   aix_libpath=$lt_cv_aix_libpath
9330 else
9331   if ${lt_cv_aix_libpath_+:} false; then :
9332   $as_echo_n "(cached) " >&6
9333 else
9334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h.  */
9336
9337 int
9338 main ()
9339 {
9340
9341   ;
9342   return 0;
9343 }
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346
9347   lt_aix_libpath_sed='
9348       /Import File Strings/,/^$/ {
9349           /^0/ {
9350               s/^0  *\([^ ]*\) *$/\1/
9351               p
9352           }
9353       }'
9354   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355   # Check for a 64-bit object if we didn't find anything.
9356   if test -z "$lt_cv_aix_libpath_"; then
9357     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9358   fi
9359 fi
9360 rm -f core conftest.err conftest.$ac_objext \
9361     conftest$ac_exeext conftest.$ac_ext
9362   if test -z "$lt_cv_aix_libpath_"; then
9363     lt_cv_aix_libpath_="/usr/lib:/lib"
9364   fi
9365
9366 fi
9367
9368   aix_libpath=$lt_cv_aix_libpath_
9369 fi
9370
9371          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9372           # Warning - without using the other run time loading flags,
9373           # -berok will link without error, but may produce a broken library.
9374           no_undefined_flag=' ${wl}-bernotok'
9375           allow_undefined_flag=' ${wl}-berok'
9376           if test "$with_gnu_ld" = yes; then
9377             # We only use this code for GNU lds that support --whole-archive.
9378             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9379           else
9380             # Exported symbols can be pulled into shared objects from archives
9381             whole_archive_flag_spec='$convenience'
9382           fi
9383           archive_cmds_need_lc=yes
9384           # This is similar to how AIX traditionally builds its shared libraries.
9385           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'
9386         fi
9387       fi
9388       ;;
9389
9390     amigaos*)
9391       case $host_cpu in
9392       powerpc)
9393             # see comment about AmigaOS4 .so support
9394             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395             archive_expsym_cmds=''
9396         ;;
9397       m68k)
9398             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)'
9399             hardcode_libdir_flag_spec='-L$libdir'
9400             hardcode_minus_L=yes
9401         ;;
9402       esac
9403       ;;
9404
9405     bsdi[45]*)
9406       export_dynamic_flag_spec=-rdynamic
9407       ;;
9408
9409     cygwin* | mingw* | pw32* | cegcc*)
9410       # When not using gcc, we currently assume that we are using
9411       # Microsoft Visual C++.
9412       # hardcode_libdir_flag_spec is actually meaningless, as there is
9413       # no search path for DLLs.
9414       case $cc_basename in
9415       cl*)
9416         # Native MSVC
9417         hardcode_libdir_flag_spec=' '
9418         allow_undefined_flag=unsupported
9419         always_export_symbols=yes
9420         file_list_spec='@'
9421         # Tell ltmain to make .lib files, not .a files.
9422         libext=lib
9423         # Tell ltmain to make .dll files, not .so files.
9424         shrext_cmds=".dll"
9425         # FIXME: Setting linknames here is a bad hack.
9426         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9427         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9428             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9429           else
9430             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9431           fi~
9432           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9433           linknames='
9434         # The linker will not automatically build a static lib if we build a DLL.
9435         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9436         enable_shared_with_static_runtimes=yes
9437         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9438         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9439         # Don't use ranlib
9440         old_postinstall_cmds='chmod 644 $oldlib'
9441         postlink_cmds='lt_outputfile="@OUTPUT@"~
9442           lt_tool_outputfile="@TOOL_OUTPUT@"~
9443           case $lt_outputfile in
9444             *.exe|*.EXE) ;;
9445             *)
9446               lt_outputfile="$lt_outputfile.exe"
9447               lt_tool_outputfile="$lt_tool_outputfile.exe"
9448               ;;
9449           esac~
9450           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9451             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9452             $RM "$lt_outputfile.manifest";
9453           fi'
9454         ;;
9455       *)
9456         # Assume MSVC wrapper
9457         hardcode_libdir_flag_spec=' '
9458         allow_undefined_flag=unsupported
9459         # Tell ltmain to make .lib files, not .a files.
9460         libext=lib
9461         # Tell ltmain to make .dll files, not .so files.
9462         shrext_cmds=".dll"
9463         # FIXME: Setting linknames here is a bad hack.
9464         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9465         # The linker will automatically build a .lib file if we build a DLL.
9466         old_archive_from_new_cmds='true'
9467         # FIXME: Should let the user specify the lib program.
9468         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9469         enable_shared_with_static_runtimes=yes
9470         ;;
9471       esac
9472       ;;
9473
9474     darwin* | rhapsody*)
9475
9476
9477   archive_cmds_need_lc=no
9478   hardcode_direct=no
9479   hardcode_automatic=yes
9480   hardcode_shlibpath_var=unsupported
9481   if test "$lt_cv_ld_force_load" = "yes"; then
9482     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\"`'
9483
9484   else
9485     whole_archive_flag_spec=''
9486   fi
9487   link_all_deplibs=yes
9488   allow_undefined_flag="$_lt_dar_allow_undefined"
9489   case $cc_basename in
9490      ifort*) _lt_dar_can_shared=yes ;;
9491      *) _lt_dar_can_shared=$GCC ;;
9492   esac
9493   if test "$_lt_dar_can_shared" = "yes"; then
9494     output_verbose_link_cmd=func_echo_all
9495     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9496     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9497     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}"
9498     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}"
9499
9500   else
9501   ld_shlibs=no
9502   fi
9503
9504       ;;
9505
9506     dgux*)
9507       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9508       hardcode_libdir_flag_spec='-L$libdir'
9509       hardcode_shlibpath_var=no
9510       ;;
9511
9512     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9513     # support.  Future versions do this automatically, but an explicit c++rt0.o
9514     # does not break anything, and helps significantly (at the cost of a little
9515     # extra space).
9516     freebsd2.2*)
9517       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9518       hardcode_libdir_flag_spec='-R$libdir'
9519       hardcode_direct=yes
9520       hardcode_shlibpath_var=no
9521       ;;
9522
9523     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9524     freebsd2.*)
9525       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9526       hardcode_direct=yes
9527       hardcode_minus_L=yes
9528       hardcode_shlibpath_var=no
9529       ;;
9530
9531     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9532     freebsd* | dragonfly*)
9533       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9534       hardcode_libdir_flag_spec='-R$libdir'
9535       hardcode_direct=yes
9536       hardcode_shlibpath_var=no
9537       ;;
9538
9539     hpux9*)
9540       if test "$GCC" = yes; then
9541         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'
9542       else
9543         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'
9544       fi
9545       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9546       hardcode_libdir_separator=:
9547       hardcode_direct=yes
9548
9549       # hardcode_minus_L: Not really in the search PATH,
9550       # but as the default location of the library.
9551       hardcode_minus_L=yes
9552       export_dynamic_flag_spec='${wl}-E'
9553       ;;
9554
9555     hpux10*)
9556       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9557         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9558       else
9559         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9560       fi
9561       if test "$with_gnu_ld" = no; then
9562         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9563         hardcode_libdir_separator=:
9564         hardcode_direct=yes
9565         hardcode_direct_absolute=yes
9566         export_dynamic_flag_spec='${wl}-E'
9567         # hardcode_minus_L: Not really in the search PATH,
9568         # but as the default location of the library.
9569         hardcode_minus_L=yes
9570       fi
9571       ;;
9572
9573     hpux11*)
9574       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9575         case $host_cpu in
9576         hppa*64*)
9577           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9578           ;;
9579         ia64*)
9580           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9581           ;;
9582         *)
9583           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9584           ;;
9585         esac
9586       else
9587         case $host_cpu in
9588         hppa*64*)
9589           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9590           ;;
9591         ia64*)
9592           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593           ;;
9594         *)
9595
9596           # Older versions of the 11.00 compiler do not understand -b yet
9597           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9598           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9599 $as_echo_n "checking if $CC understands -b... " >&6; }
9600 if ${lt_cv_prog_compiler__b+:} false; then :
9601   $as_echo_n "(cached) " >&6
9602 else
9603   lt_cv_prog_compiler__b=no
9604    save_LDFLAGS="$LDFLAGS"
9605    LDFLAGS="$LDFLAGS -b"
9606    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9607    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9608      # The linker can only warn and ignore the option if not recognized
9609      # So say no if there are warnings
9610      if test -s conftest.err; then
9611        # Append any errors to the config.log.
9612        cat conftest.err 1>&5
9613        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9614        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9615        if diff conftest.exp conftest.er2 >/dev/null; then
9616          lt_cv_prog_compiler__b=yes
9617        fi
9618      else
9619        lt_cv_prog_compiler__b=yes
9620      fi
9621    fi
9622    $RM -r conftest*
9623    LDFLAGS="$save_LDFLAGS"
9624
9625 fi
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9627 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9628
9629 if test x"$lt_cv_prog_compiler__b" = xyes; then
9630     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9631 else
9632     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9633 fi
9634
9635           ;;
9636         esac
9637       fi
9638       if test "$with_gnu_ld" = no; then
9639         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9640         hardcode_libdir_separator=:
9641
9642         case $host_cpu in
9643         hppa*64*|ia64*)
9644           hardcode_direct=no
9645           hardcode_shlibpath_var=no
9646           ;;
9647         *)
9648           hardcode_direct=yes
9649           hardcode_direct_absolute=yes
9650           export_dynamic_flag_spec='${wl}-E'
9651
9652           # hardcode_minus_L: Not really in the search PATH,
9653           # but as the default location of the library.
9654           hardcode_minus_L=yes
9655           ;;
9656         esac
9657       fi
9658       ;;
9659
9660     irix5* | irix6* | nonstopux*)
9661       if test "$GCC" = yes; then
9662         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'
9663         # Try to use the -exported_symbol ld option, if it does not
9664         # work, assume that -exports_file does not work either and
9665         # implicitly export all symbols.
9666         # This should be the same for all languages, so no per-tag cache variable.
9667         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9668 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9669 if ${lt_cv_irix_exported_symbol+:} false; then :
9670   $as_echo_n "(cached) " >&6
9671 else
9672   save_LDFLAGS="$LDFLAGS"
9673            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9674            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h.  */
9676 int foo (void) { return 0; }
9677 _ACEOF
9678 if ac_fn_c_try_link "$LINENO"; then :
9679   lt_cv_irix_exported_symbol=yes
9680 else
9681   lt_cv_irix_exported_symbol=no
9682 fi
9683 rm -f core conftest.err conftest.$ac_objext \
9684     conftest$ac_exeext conftest.$ac_ext
9685            LDFLAGS="$save_LDFLAGS"
9686 fi
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9688 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9689         if test "$lt_cv_irix_exported_symbol" = yes; then
9690           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'
9691         fi
9692       else
9693         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'
9694         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'
9695       fi
9696       archive_cmds_need_lc='no'
9697       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9698       hardcode_libdir_separator=:
9699       inherit_rpath=yes
9700       link_all_deplibs=yes
9701       ;;
9702
9703     netbsd* | netbsdelf*-gnu)
9704       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9705         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9706       else
9707         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9708       fi
9709       hardcode_libdir_flag_spec='-R$libdir'
9710       hardcode_direct=yes
9711       hardcode_shlibpath_var=no
9712       ;;
9713
9714     newsos6)
9715       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716       hardcode_direct=yes
9717       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9718       hardcode_libdir_separator=:
9719       hardcode_shlibpath_var=no
9720       ;;
9721
9722     *nto* | *qnx*)
9723       ;;
9724
9725     openbsd*)
9726       if test -f /usr/libexec/ld.so; then
9727         hardcode_direct=yes
9728         hardcode_shlibpath_var=no
9729         hardcode_direct_absolute=yes
9730         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9731           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9732           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9733           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9734           export_dynamic_flag_spec='${wl}-E'
9735         else
9736           case $host_os in
9737            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9738              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9739              hardcode_libdir_flag_spec='-R$libdir'
9740              ;;
9741            *)
9742              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9743              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9744              ;;
9745           esac
9746         fi
9747       else
9748         ld_shlibs=no
9749       fi
9750       ;;
9751
9752     os2*)
9753       hardcode_libdir_flag_spec='-L$libdir'
9754       hardcode_minus_L=yes
9755       allow_undefined_flag=unsupported
9756       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'
9757       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9758       ;;
9759
9760     osf3*)
9761       if test "$GCC" = yes; then
9762         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9763         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'
9764       else
9765         allow_undefined_flag=' -expect_unresolved \*'
9766         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'
9767       fi
9768       archive_cmds_need_lc='no'
9769       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9770       hardcode_libdir_separator=:
9771       ;;
9772
9773     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9774       if test "$GCC" = yes; then
9775         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9776         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'
9777         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9778       else
9779         allow_undefined_flag=' -expect_unresolved \*'
9780         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'
9781         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~
9782         $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'
9783
9784         # Both c and cxx compiler support -rpath directly
9785         hardcode_libdir_flag_spec='-rpath $libdir'
9786       fi
9787       archive_cmds_need_lc='no'
9788       hardcode_libdir_separator=:
9789       ;;
9790
9791     solaris*)
9792       no_undefined_flag=' -z defs'
9793       if test "$GCC" = yes; then
9794         wlarc='${wl}'
9795         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9796         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9797           $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'
9798       else
9799         case `$CC -V 2>&1` in
9800         *"Compilers 5.0"*)
9801           wlarc=''
9802           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9803           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9804           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9805           ;;
9806         *)
9807           wlarc='${wl}'
9808           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9809           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9810           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9811           ;;
9812         esac
9813       fi
9814       hardcode_libdir_flag_spec='-R$libdir'
9815       hardcode_shlibpath_var=no
9816       case $host_os in
9817       solaris2.[0-5] | solaris2.[0-5].*) ;;
9818       *)
9819         # The compiler driver will combine and reorder linker options,
9820         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9821         # but is careful enough not to reorder.
9822         # Supported since Solaris 2.6 (maybe 2.5.1?)
9823         if test "$GCC" = yes; then
9824           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9825         else
9826           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9827         fi
9828         ;;
9829       esac
9830       link_all_deplibs=yes
9831       ;;
9832
9833     sunos4*)
9834       if test "x$host_vendor" = xsequent; then
9835         # Use $CC to link under sequent, because it throws in some extra .o
9836         # files that make .init and .fini sections work.
9837         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9838       else
9839         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9840       fi
9841       hardcode_libdir_flag_spec='-L$libdir'
9842       hardcode_direct=yes
9843       hardcode_minus_L=yes
9844       hardcode_shlibpath_var=no
9845       ;;
9846
9847     sysv4)
9848       case $host_vendor in
9849         sni)
9850           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9851           hardcode_direct=yes # is this really true???
9852         ;;
9853         siemens)
9854           ## LD is ld it makes a PLAMLIB
9855           ## CC just makes a GrossModule.
9856           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9857           reload_cmds='$CC -r -o $output$reload_objs'
9858           hardcode_direct=no
9859         ;;
9860         motorola)
9861           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9862           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9863         ;;
9864       esac
9865       runpath_var='LD_RUN_PATH'
9866       hardcode_shlibpath_var=no
9867       ;;
9868
9869     sysv4.3*)
9870       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871       hardcode_shlibpath_var=no
9872       export_dynamic_flag_spec='-Bexport'
9873       ;;
9874
9875     sysv4*MP*)
9876       if test -d /usr/nec; then
9877         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878         hardcode_shlibpath_var=no
9879         runpath_var=LD_RUN_PATH
9880         hardcode_runpath_var=yes
9881         ld_shlibs=yes
9882       fi
9883       ;;
9884
9885     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9886       no_undefined_flag='${wl}-z,text'
9887       archive_cmds_need_lc=no
9888       hardcode_shlibpath_var=no
9889       runpath_var='LD_RUN_PATH'
9890
9891       if test "$GCC" = yes; then
9892         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894       else
9895         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9896         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9897       fi
9898       ;;
9899
9900     sysv5* | sco3.2v5* | sco5v6*)
9901       # Note: We can NOT use -z defs as we might desire, because we do not
9902       # link with -lc, and that would cause any symbols used from libc to
9903       # always be unresolved, which means just about no library would
9904       # ever link correctly.  If we're not using GNU ld we use -z text
9905       # though, which does catch some bad symbols but isn't as heavy-handed
9906       # as -z defs.
9907       no_undefined_flag='${wl}-z,text'
9908       allow_undefined_flag='${wl}-z,nodefs'
9909       archive_cmds_need_lc=no
9910       hardcode_shlibpath_var=no
9911       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9912       hardcode_libdir_separator=':'
9913       link_all_deplibs=yes
9914       export_dynamic_flag_spec='${wl}-Bexport'
9915       runpath_var='LD_RUN_PATH'
9916
9917       if test "$GCC" = yes; then
9918         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920       else
9921         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9923       fi
9924       ;;
9925
9926     uts4*)
9927       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9928       hardcode_libdir_flag_spec='-L$libdir'
9929       hardcode_shlibpath_var=no
9930       ;;
9931
9932     *)
9933       ld_shlibs=no
9934       ;;
9935     esac
9936
9937     if test x$host_vendor = xsni; then
9938       case $host in
9939       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9940         export_dynamic_flag_spec='${wl}-Blargedynsym'
9941         ;;
9942       esac
9943     fi
9944   fi
9945
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9947 $as_echo "$ld_shlibs" >&6; }
9948 test "$ld_shlibs" = no && can_build_shared=no
9949
9950 with_gnu_ld=$with_gnu_ld
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966 #
9967 # Do we need to explicitly link libc?
9968 #
9969 case "x$archive_cmds_need_lc" in
9970 x|xyes)
9971   # Assume -lc should be added
9972   archive_cmds_need_lc=yes
9973
9974   if test "$enable_shared" = yes && test "$GCC" = yes; then
9975     case $archive_cmds in
9976     *'~'*)
9977       # FIXME: we may have to deal with multi-command sequences.
9978       ;;
9979     '$CC '*)
9980       # Test whether the compiler implicitly links with -lc since on some
9981       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9982       # to ld, don't add -lc before -lgcc.
9983       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9984 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9985 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9986   $as_echo_n "(cached) " >&6
9987 else
9988   $RM conftest*
9989         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9990
9991         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9992   (eval $ac_compile) 2>&5
9993   ac_status=$?
9994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9995   test $ac_status = 0; } 2>conftest.err; then
9996           soname=conftest
9997           lib=conftest
9998           libobjs=conftest.$ac_objext
9999           deplibs=
10000           wl=$lt_prog_compiler_wl
10001           pic_flag=$lt_prog_compiler_pic
10002           compiler_flags=-v
10003           linker_flags=-v
10004           verstring=
10005           output_objdir=.
10006           libname=conftest
10007           lt_save_allow_undefined_flag=$allow_undefined_flag
10008           allow_undefined_flag=
10009           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10010   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10011   ac_status=$?
10012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10013   test $ac_status = 0; }
10014           then
10015             lt_cv_archive_cmds_need_lc=no
10016           else
10017             lt_cv_archive_cmds_need_lc=yes
10018           fi
10019           allow_undefined_flag=$lt_save_allow_undefined_flag
10020         else
10021           cat conftest.err 1>&5
10022         fi
10023         $RM conftest*
10024
10025 fi
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10027 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10028       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10029       ;;
10030     esac
10031   fi
10032   ;;
10033 esac
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10187 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10188
10189 if test "$GCC" = yes; then
10190   case $host_os in
10191     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10192     *) lt_awk_arg="/^libraries:/" ;;
10193   esac
10194   case $host_os in
10195     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10196     *) lt_sed_strip_eq="s,=/,/,g" ;;
10197   esac
10198   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10199   case $lt_search_path_spec in
10200   *\;*)
10201     # if the path contains ";" then we assume it to be the separator
10202     # otherwise default to the standard path separator (i.e. ":") - it is
10203     # assumed that no part of a normal pathname contains ";" but that should
10204     # okay in the real world where ";" in dirpaths is itself problematic.
10205     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10206     ;;
10207   *)
10208     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10209     ;;
10210   esac
10211   # Ok, now we have the path, separated by spaces, we can step through it
10212   # and add multilib dir if necessary.
10213   lt_tmp_lt_search_path_spec=
10214   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10215   for lt_sys_path in $lt_search_path_spec; do
10216     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10217       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10218     else
10219       test -d "$lt_sys_path" && \
10220         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10221     fi
10222   done
10223   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10224 BEGIN {RS=" "; FS="/|\n";} {
10225   lt_foo="";
10226   lt_count=0;
10227   for (lt_i = NF; lt_i > 0; lt_i--) {
10228     if ($lt_i != "" && $lt_i != ".") {
10229       if ($lt_i == "..") {
10230         lt_count++;
10231       } else {
10232         if (lt_count == 0) {
10233           lt_foo="/" $lt_i lt_foo;
10234         } else {
10235           lt_count--;
10236         }
10237       }
10238     }
10239   }
10240   if (lt_foo != "") { lt_freq[lt_foo]++; }
10241   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10242 }'`
10243   # AWK program above erroneously prepends '/' to C:/dos/paths
10244   # for these hosts.
10245   case $host_os in
10246     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10247       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10248   esac
10249   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10250 else
10251   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10252 fi
10253 library_names_spec=
10254 libname_spec='lib$name'
10255 soname_spec=
10256 shrext_cmds=".so"
10257 postinstall_cmds=
10258 postuninstall_cmds=
10259 finish_cmds=
10260 finish_eval=
10261 shlibpath_var=
10262 shlibpath_overrides_runpath=unknown
10263 version_type=none
10264 dynamic_linker="$host_os ld.so"
10265 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10266 need_lib_prefix=unknown
10267 hardcode_into_libs=no
10268
10269 # when you set need_version to no, make sure it does not cause -set_version
10270 # flags to be left without arguments
10271 need_version=unknown
10272
10273 case $host_os in
10274 aix3*)
10275   version_type=linux # correct to gnu/linux during the next big refactor
10276   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10277   shlibpath_var=LIBPATH
10278
10279   # AIX 3 has no versioning support, so we append a major version to the name.
10280   soname_spec='${libname}${release}${shared_ext}$major'
10281   ;;
10282
10283 aix[4-9]*)
10284   version_type=linux # correct to gnu/linux during the next big refactor
10285   need_lib_prefix=no
10286   need_version=no
10287   hardcode_into_libs=yes
10288   if test "$host_cpu" = ia64; then
10289     # AIX 5 supports IA64
10290     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10291     shlibpath_var=LD_LIBRARY_PATH
10292   else
10293     # With GCC up to 2.95.x, collect2 would create an import file
10294     # for dependence libraries.  The import file would start with
10295     # the line `#! .'.  This would cause the generated library to
10296     # depend on `.', always an invalid library.  This was fixed in
10297     # development snapshots of GCC prior to 3.0.
10298     case $host_os in
10299       aix4 | aix4.[01] | aix4.[01].*)
10300       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10301            echo ' yes '
10302            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10303         :
10304       else
10305         can_build_shared=no
10306       fi
10307       ;;
10308     esac
10309     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10310     # soname into executable. Probably we can add versioning support to
10311     # collect2, so additional links can be useful in future.
10312     if test "$aix_use_runtimelinking" = yes; then
10313       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10314       # instead of lib<name>.a to let people know that these are not
10315       # typical AIX shared libraries.
10316       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317     else
10318       # We preserve .a as extension for shared libraries through AIX4.2
10319       # and later when we are not doing run time linking.
10320       library_names_spec='${libname}${release}.a $libname.a'
10321       soname_spec='${libname}${release}${shared_ext}$major'
10322     fi
10323     shlibpath_var=LIBPATH
10324   fi
10325   ;;
10326
10327 amigaos*)
10328   case $host_cpu in
10329   powerpc)
10330     # Since July 2007 AmigaOS4 officially supports .so libraries.
10331     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10333     ;;
10334   m68k)
10335     library_names_spec='$libname.ixlibrary $libname.a'
10336     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10337     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'
10338     ;;
10339   esac
10340   ;;
10341
10342 beos*)
10343   library_names_spec='${libname}${shared_ext}'
10344   dynamic_linker="$host_os ld.so"
10345   shlibpath_var=LIBRARY_PATH
10346   ;;
10347
10348 bsdi[45]*)
10349   version_type=linux # correct to gnu/linux during the next big refactor
10350   need_version=no
10351   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352   soname_spec='${libname}${release}${shared_ext}$major'
10353   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10354   shlibpath_var=LD_LIBRARY_PATH
10355   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10356   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10357   # the default ld.so.conf also contains /usr/contrib/lib and
10358   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10359   # libtool to hard-code these into programs
10360   ;;
10361
10362 cygwin* | mingw* | pw32* | cegcc*)
10363   version_type=windows
10364   shrext_cmds=".dll"
10365   need_version=no
10366   need_lib_prefix=no
10367
10368   case $GCC,$cc_basename in
10369   yes,*)
10370     # gcc
10371     library_names_spec='$libname.dll.a'
10372     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10373     postinstall_cmds='base_file=`basename \${file}`~
10374       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10375       dldir=$destdir/`dirname \$dlpath`~
10376       test -d \$dldir || mkdir -p \$dldir~
10377       $install_prog $dir/$dlname \$dldir/$dlname~
10378       chmod a+x \$dldir/$dlname~
10379       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10380         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10381       fi'
10382     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10383       dlpath=$dir/\$dldll~
10384        $RM \$dlpath'
10385     shlibpath_overrides_runpath=yes
10386
10387     case $host_os in
10388     cygwin*)
10389       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10390       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10391
10392       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10393       ;;
10394     mingw* | cegcc*)
10395       # MinGW DLLs use traditional 'lib' prefix
10396       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10397       ;;
10398     pw32*)
10399       # pw32 DLLs use 'pw' prefix rather than 'lib'
10400       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10401       ;;
10402     esac
10403     dynamic_linker='Win32 ld.exe'
10404     ;;
10405
10406   *,cl*)
10407     # Native MSVC
10408     libname_spec='$name'
10409     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10410     library_names_spec='${libname}.dll.lib'
10411
10412     case $build_os in
10413     mingw*)
10414       sys_lib_search_path_spec=
10415       lt_save_ifs=$IFS
10416       IFS=';'
10417       for lt_path in $LIB
10418       do
10419         IFS=$lt_save_ifs
10420         # Let DOS variable expansion print the short 8.3 style file name.
10421         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10422         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10423       done
10424       IFS=$lt_save_ifs
10425       # Convert to MSYS style.
10426       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10427       ;;
10428     cygwin*)
10429       # Convert to unix form, then to dos form, then back to unix form
10430       # but this time dos style (no spaces!) so that the unix form looks
10431       # like /cygdrive/c/PROGRA~1:/cygdr...
10432       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10433       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10434       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10435       ;;
10436     *)
10437       sys_lib_search_path_spec="$LIB"
10438       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10439         # It is most probably a Windows format PATH.
10440         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10441       else
10442         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10443       fi
10444       # FIXME: find the short name or the path components, as spaces are
10445       # common. (e.g. "Program Files" -> "PROGRA~1")
10446       ;;
10447     esac
10448
10449     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10450     postinstall_cmds='base_file=`basename \${file}`~
10451       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10452       dldir=$destdir/`dirname \$dlpath`~
10453       test -d \$dldir || mkdir -p \$dldir~
10454       $install_prog $dir/$dlname \$dldir/$dlname'
10455     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10456       dlpath=$dir/\$dldll~
10457        $RM \$dlpath'
10458     shlibpath_overrides_runpath=yes
10459     dynamic_linker='Win32 link.exe'
10460     ;;
10461
10462   *)
10463     # Assume MSVC wrapper
10464     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10465     dynamic_linker='Win32 ld.exe'
10466     ;;
10467   esac
10468   # FIXME: first we should search . and the directory the executable is in
10469   shlibpath_var=PATH
10470   ;;
10471
10472 darwin* | rhapsody*)
10473   dynamic_linker="$host_os dyld"
10474   version_type=darwin
10475   need_lib_prefix=no
10476   need_version=no
10477   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10478   soname_spec='${libname}${release}${major}$shared_ext'
10479   shlibpath_overrides_runpath=yes
10480   shlibpath_var=DYLD_LIBRARY_PATH
10481   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10482
10483   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10484   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10485   ;;
10486
10487 dgux*)
10488   version_type=linux # correct to gnu/linux during the next big refactor
10489   need_lib_prefix=no
10490   need_version=no
10491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10492   soname_spec='${libname}${release}${shared_ext}$major'
10493   shlibpath_var=LD_LIBRARY_PATH
10494   ;;
10495
10496 freebsd* | dragonfly*)
10497   # DragonFly does not have aout.  When/if they implement a new
10498   # versioning mechanism, adjust this.
10499   if test -x /usr/bin/objformat; then
10500     objformat=`/usr/bin/objformat`
10501   else
10502     case $host_os in
10503     freebsd[23].*) objformat=aout ;;
10504     *) objformat=elf ;;
10505     esac
10506   fi
10507   version_type=freebsd-$objformat
10508   case $version_type in
10509     freebsd-elf*)
10510       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10511       need_version=no
10512       need_lib_prefix=no
10513       ;;
10514     freebsd-*)
10515       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10516       need_version=yes
10517       ;;
10518   esac
10519   shlibpath_var=LD_LIBRARY_PATH
10520   case $host_os in
10521   freebsd2.*)
10522     shlibpath_overrides_runpath=yes
10523     ;;
10524   freebsd3.[01]* | freebsdelf3.[01]*)
10525     shlibpath_overrides_runpath=yes
10526     hardcode_into_libs=yes
10527     ;;
10528   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10529   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10530     shlibpath_overrides_runpath=no
10531     hardcode_into_libs=yes
10532     ;;
10533   *) # from 4.6 on, and DragonFly
10534     shlibpath_overrides_runpath=yes
10535     hardcode_into_libs=yes
10536     ;;
10537   esac
10538   ;;
10539
10540 gnu*)
10541   version_type=linux # correct to gnu/linux during the next big refactor
10542   need_lib_prefix=no
10543   need_version=no
10544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10545   soname_spec='${libname}${release}${shared_ext}$major'
10546   shlibpath_var=LD_LIBRARY_PATH
10547   shlibpath_overrides_runpath=no
10548   hardcode_into_libs=yes
10549   ;;
10550
10551 haiku*)
10552   version_type=linux # correct to gnu/linux during the next big refactor
10553   need_lib_prefix=no
10554   need_version=no
10555   dynamic_linker="$host_os runtime_loader"
10556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10557   soname_spec='${libname}${release}${shared_ext}$major'
10558   shlibpath_var=LIBRARY_PATH
10559   shlibpath_overrides_runpath=yes
10560   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10561   hardcode_into_libs=yes
10562   ;;
10563
10564 hpux9* | hpux10* | hpux11*)
10565   # Give a soname corresponding to the major version so that dld.sl refuses to
10566   # link against other versions.
10567   version_type=sunos
10568   need_lib_prefix=no
10569   need_version=no
10570   case $host_cpu in
10571   ia64*)
10572     shrext_cmds='.so'
10573     hardcode_into_libs=yes
10574     dynamic_linker="$host_os dld.so"
10575     shlibpath_var=LD_LIBRARY_PATH
10576     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10577     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578     soname_spec='${libname}${release}${shared_ext}$major'
10579     if test "X$HPUX_IA64_MODE" = X32; then
10580       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10581     else
10582       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10583     fi
10584     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10585     ;;
10586   hppa*64*)
10587     shrext_cmds='.sl'
10588     hardcode_into_libs=yes
10589     dynamic_linker="$host_os dld.sl"
10590     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10591     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593     soname_spec='${libname}${release}${shared_ext}$major'
10594     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10595     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10596     ;;
10597   *)
10598     shrext_cmds='.sl'
10599     dynamic_linker="$host_os dld.sl"
10600     shlibpath_var=SHLIB_PATH
10601     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10602     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603     soname_spec='${libname}${release}${shared_ext}$major'
10604     ;;
10605   esac
10606   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10607   postinstall_cmds='chmod 555 $lib'
10608   # or fails outright, so override atomically:
10609   install_override_mode=555
10610   ;;
10611
10612 interix[3-9]*)
10613   version_type=linux # correct to gnu/linux during the next big refactor
10614   need_lib_prefix=no
10615   need_version=no
10616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10617   soname_spec='${libname}${release}${shared_ext}$major'
10618   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10619   shlibpath_var=LD_LIBRARY_PATH
10620   shlibpath_overrides_runpath=no
10621   hardcode_into_libs=yes
10622   ;;
10623
10624 irix5* | irix6* | nonstopux*)
10625   case $host_os in
10626     nonstopux*) version_type=nonstopux ;;
10627     *)
10628         if test "$lt_cv_prog_gnu_ld" = yes; then
10629                 version_type=linux # correct to gnu/linux during the next big refactor
10630         else
10631                 version_type=irix
10632         fi ;;
10633   esac
10634   need_lib_prefix=no
10635   need_version=no
10636   soname_spec='${libname}${release}${shared_ext}$major'
10637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10638   case $host_os in
10639   irix5* | nonstopux*)
10640     libsuff= shlibsuff=
10641     ;;
10642   *)
10643     case $LD in # libtool.m4 will add one of these switches to LD
10644     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10645       libsuff= shlibsuff= libmagic=32-bit;;
10646     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10647       libsuff=32 shlibsuff=N32 libmagic=N32;;
10648     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10649       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10650     *) libsuff= shlibsuff= libmagic=never-match;;
10651     esac
10652     ;;
10653   esac
10654   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10655   shlibpath_overrides_runpath=no
10656   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10657   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10658   hardcode_into_libs=yes
10659   ;;
10660
10661 # No shared lib support for Linux oldld, aout, or coff.
10662 linux*oldld* | linux*aout* | linux*coff*)
10663   dynamic_linker=no
10664   ;;
10665
10666 # This must be glibc/ELF.
10667 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10668   version_type=linux # correct to gnu/linux during the next big refactor
10669   need_lib_prefix=no
10670   need_version=no
10671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672   soname_spec='${libname}${release}${shared_ext}$major'
10673   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10674   shlibpath_var=LD_LIBRARY_PATH
10675   shlibpath_overrides_runpath=no
10676
10677   # Some binutils ld are patched to set DT_RUNPATH
10678   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10679   $as_echo_n "(cached) " >&6
10680 else
10681   lt_cv_shlibpath_overrides_runpath=no
10682     save_LDFLAGS=$LDFLAGS
10683     save_libdir=$libdir
10684     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10685          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10686     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h.  */
10688
10689 int
10690 main ()
10691 {
10692
10693   ;
10694   return 0;
10695 }
10696 _ACEOF
10697 if ac_fn_c_try_link "$LINENO"; then :
10698   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10699   lt_cv_shlibpath_overrides_runpath=yes
10700 fi
10701 fi
10702 rm -f core conftest.err conftest.$ac_objext \
10703     conftest$ac_exeext conftest.$ac_ext
10704     LDFLAGS=$save_LDFLAGS
10705     libdir=$save_libdir
10706
10707 fi
10708
10709   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10710
10711   # This implies no fast_install, which is unacceptable.
10712   # Some rework will be needed to allow for fast_install
10713   # before this can be enabled.
10714   hardcode_into_libs=yes
10715
10716   # Append ld.so.conf contents to the search path
10717   if test -f /etc/ld.so.conf; then
10718     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' ' '`
10719     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10720   fi
10721
10722   # We used to test for /lib/ld.so.1 and disable shared libraries on
10723   # powerpc, because MkLinux only supported shared libraries with the
10724   # GNU dynamic linker.  Since this was broken with cross compilers,
10725   # most powerpc-linux boxes support dynamic linking these days and
10726   # people can always --disable-shared, the test was removed, and we
10727   # assume the GNU/Linux dynamic linker is in use.
10728   dynamic_linker='GNU/Linux ld.so'
10729   ;;
10730
10731 netbsdelf*-gnu)
10732   version_type=linux
10733   need_lib_prefix=no
10734   need_version=no
10735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10736   soname_spec='${libname}${release}${shared_ext}$major'
10737   shlibpath_var=LD_LIBRARY_PATH
10738   shlibpath_overrides_runpath=no
10739   hardcode_into_libs=yes
10740   dynamic_linker='NetBSD ld.elf_so'
10741   ;;
10742
10743 netbsd*)
10744   version_type=sunos
10745   need_lib_prefix=no
10746   need_version=no
10747   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10748     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10749     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10750     dynamic_linker='NetBSD (a.out) ld.so'
10751   else
10752     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10753     soname_spec='${libname}${release}${shared_ext}$major'
10754     dynamic_linker='NetBSD ld.elf_so'
10755   fi
10756   shlibpath_var=LD_LIBRARY_PATH
10757   shlibpath_overrides_runpath=yes
10758   hardcode_into_libs=yes
10759   ;;
10760
10761 newsos6)
10762   version_type=linux # correct to gnu/linux during the next big refactor
10763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764   shlibpath_var=LD_LIBRARY_PATH
10765   shlibpath_overrides_runpath=yes
10766   ;;
10767
10768 *nto* | *qnx*)
10769   version_type=qnx
10770   need_lib_prefix=no
10771   need_version=no
10772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773   soname_spec='${libname}${release}${shared_ext}$major'
10774   shlibpath_var=LD_LIBRARY_PATH
10775   shlibpath_overrides_runpath=no
10776   hardcode_into_libs=yes
10777   dynamic_linker='ldqnx.so'
10778   ;;
10779
10780 openbsd*)
10781   version_type=sunos
10782   sys_lib_dlsearch_path_spec="/usr/lib"
10783   need_lib_prefix=no
10784   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10785   case $host_os in
10786     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10787     *)                          need_version=no  ;;
10788   esac
10789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10790   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10791   shlibpath_var=LD_LIBRARY_PATH
10792   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10793     case $host_os in
10794       openbsd2.[89] | openbsd2.[89].*)
10795         shlibpath_overrides_runpath=no
10796         ;;
10797       *)
10798         shlibpath_overrides_runpath=yes
10799         ;;
10800       esac
10801   else
10802     shlibpath_overrides_runpath=yes
10803   fi
10804   ;;
10805
10806 os2*)
10807   libname_spec='$name'
10808   shrext_cmds=".dll"
10809   need_lib_prefix=no
10810   library_names_spec='$libname${shared_ext} $libname.a'
10811   dynamic_linker='OS/2 ld.exe'
10812   shlibpath_var=LIBPATH
10813   ;;
10814
10815 osf3* | osf4* | osf5*)
10816   version_type=osf
10817   need_lib_prefix=no
10818   need_version=no
10819   soname_spec='${libname}${release}${shared_ext}$major'
10820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10821   shlibpath_var=LD_LIBRARY_PATH
10822   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10823   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10824   ;;
10825
10826 rdos*)
10827   dynamic_linker=no
10828   ;;
10829
10830 solaris*)
10831   version_type=linux # correct to gnu/linux during the next big refactor
10832   need_lib_prefix=no
10833   need_version=no
10834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835   soname_spec='${libname}${release}${shared_ext}$major'
10836   shlibpath_var=LD_LIBRARY_PATH
10837   shlibpath_overrides_runpath=yes
10838   hardcode_into_libs=yes
10839   # ldd complains unless libraries are executable
10840   postinstall_cmds='chmod +x $lib'
10841   ;;
10842
10843 sunos4*)
10844   version_type=sunos
10845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10846   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10847   shlibpath_var=LD_LIBRARY_PATH
10848   shlibpath_overrides_runpath=yes
10849   if test "$with_gnu_ld" = yes; then
10850     need_lib_prefix=no
10851   fi
10852   need_version=yes
10853   ;;
10854
10855 sysv4 | sysv4.3*)
10856   version_type=linux # correct to gnu/linux during the next big refactor
10857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10858   soname_spec='${libname}${release}${shared_ext}$major'
10859   shlibpath_var=LD_LIBRARY_PATH
10860   case $host_vendor in
10861     sni)
10862       shlibpath_overrides_runpath=no
10863       need_lib_prefix=no
10864       runpath_var=LD_RUN_PATH
10865       ;;
10866     siemens)
10867       need_lib_prefix=no
10868       ;;
10869     motorola)
10870       need_lib_prefix=no
10871       need_version=no
10872       shlibpath_overrides_runpath=no
10873       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10874       ;;
10875   esac
10876   ;;
10877
10878 sysv4*MP*)
10879   if test -d /usr/nec ;then
10880     version_type=linux # correct to gnu/linux during the next big refactor
10881     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10882     soname_spec='$libname${shared_ext}.$major'
10883     shlibpath_var=LD_LIBRARY_PATH
10884   fi
10885   ;;
10886
10887 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10888   version_type=freebsd-elf
10889   need_lib_prefix=no
10890   need_version=no
10891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10892   soname_spec='${libname}${release}${shared_ext}$major'
10893   shlibpath_var=LD_LIBRARY_PATH
10894   shlibpath_overrides_runpath=yes
10895   hardcode_into_libs=yes
10896   if test "$with_gnu_ld" = yes; then
10897     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10898   else
10899     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10900     case $host_os in
10901       sco3.2v5*)
10902         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10903         ;;
10904     esac
10905   fi
10906   sys_lib_dlsearch_path_spec='/usr/lib'
10907   ;;
10908
10909 tpf*)
10910   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10911   version_type=linux # correct to gnu/linux during the next big refactor
10912   need_lib_prefix=no
10913   need_version=no
10914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915   shlibpath_var=LD_LIBRARY_PATH
10916   shlibpath_overrides_runpath=no
10917   hardcode_into_libs=yes
10918   ;;
10919
10920 uts4*)
10921   version_type=linux # correct to gnu/linux during the next big refactor
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923   soname_spec='${libname}${release}${shared_ext}$major'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   ;;
10926
10927 *)
10928   dynamic_linker=no
10929   ;;
10930 esac
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10932 $as_echo "$dynamic_linker" >&6; }
10933 test "$dynamic_linker" = no && can_build_shared=no
10934
10935 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10936 if test "$GCC" = yes; then
10937   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10938 fi
10939
10940 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10941   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10942 fi
10943 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10944   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10945 fi
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11039 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11040 hardcode_action=
11041 if test -n "$hardcode_libdir_flag_spec" ||
11042    test -n "$runpath_var" ||
11043    test "X$hardcode_automatic" = "Xyes" ; then
11044
11045   # We can hardcode non-existent directories.
11046   if test "$hardcode_direct" != no &&
11047      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11048      # have to relink, otherwise we might link with an installed library
11049      # when we should be linking with a yet-to-be-installed one
11050      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11051      test "$hardcode_minus_L" != no; then
11052     # Linking always hardcodes the temporary library directory.
11053     hardcode_action=relink
11054   else
11055     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11056     hardcode_action=immediate
11057   fi
11058 else
11059   # We cannot hardcode anything, or else we can only hardcode existing
11060   # directories.
11061   hardcode_action=unsupported
11062 fi
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11064 $as_echo "$hardcode_action" >&6; }
11065
11066 if test "$hardcode_action" = relink ||
11067    test "$inherit_rpath" = yes; then
11068   # Fast installation is not supported
11069   enable_fast_install=no
11070 elif test "$shlibpath_overrides_runpath" = yes ||
11071      test "$enable_shared" = no; then
11072   # Fast installation is not necessary
11073   enable_fast_install=needless
11074 fi
11075
11076
11077
11078
11079
11080
11081   if test "x$enable_dlopen" != xyes; then
11082   enable_dlopen=unknown
11083   enable_dlopen_self=unknown
11084   enable_dlopen_self_static=unknown
11085 else
11086   lt_cv_dlopen=no
11087   lt_cv_dlopen_libs=
11088
11089   case $host_os in
11090   beos*)
11091     lt_cv_dlopen="load_add_on"
11092     lt_cv_dlopen_libs=
11093     lt_cv_dlopen_self=yes
11094     ;;
11095
11096   mingw* | pw32* | cegcc*)
11097     lt_cv_dlopen="LoadLibrary"
11098     lt_cv_dlopen_libs=
11099     ;;
11100
11101   cygwin*)
11102     lt_cv_dlopen="dlopen"
11103     lt_cv_dlopen_libs=
11104     ;;
11105
11106   darwin*)
11107   # if libdl is installed we need to link against it
11108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11110 if ${ac_cv_lib_dl_dlopen+:} false; then :
11111   $as_echo_n "(cached) " >&6
11112 else
11113   ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-ldl  $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h.  */
11117
11118 /* Override any GCC internal prototype to avoid an error.
11119    Use char because int might match the return type of a GCC
11120    builtin and then its argument prototype would still apply.  */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char dlopen ();
11125 int
11126 main ()
11127 {
11128 return dlopen ();
11129   ;
11130   return 0;
11131 }
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134   ac_cv_lib_dl_dlopen=yes
11135 else
11136   ac_cv_lib_dl_dlopen=no
11137 fi
11138 rm -f core conftest.err conftest.$ac_objext \
11139     conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11141 fi
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11143 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11144 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11145   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11146 else
11147
11148     lt_cv_dlopen="dyld"
11149     lt_cv_dlopen_libs=
11150     lt_cv_dlopen_self=yes
11151
11152 fi
11153
11154     ;;
11155
11156   *)
11157     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11158 if test "x$ac_cv_func_shl_load" = xyes; then :
11159   lt_cv_dlopen="shl_load"
11160 else
11161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11162 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11163 if ${ac_cv_lib_dld_shl_load+:} false; then :
11164   $as_echo_n "(cached) " >&6
11165 else
11166   ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-ldld  $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h.  */
11170
11171 /* Override any GCC internal prototype to avoid an error.
11172    Use char because int might match the return type of a GCC
11173    builtin and then its argument prototype would still apply.  */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char shl_load ();
11178 int
11179 main ()
11180 {
11181 return shl_load ();
11182   ;
11183   return 0;
11184 }
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187   ac_cv_lib_dld_shl_load=yes
11188 else
11189   ac_cv_lib_dld_shl_load=no
11190 fi
11191 rm -f core conftest.err conftest.$ac_objext \
11192     conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11194 fi
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11196 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11197 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11198   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11199 else
11200   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11201 if test "x$ac_cv_func_dlopen" = xyes; then :
11202   lt_cv_dlopen="dlopen"
11203 else
11204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11205 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11206 if ${ac_cv_lib_dl_dlopen+:} false; then :
11207   $as_echo_n "(cached) " >&6
11208 else
11209   ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-ldl  $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h.  */
11213
11214 /* Override any GCC internal prototype to avoid an error.
11215    Use char because int might match the return type of a GCC
11216    builtin and then its argument prototype would still apply.  */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char dlopen ();
11221 int
11222 main ()
11223 {
11224 return dlopen ();
11225   ;
11226   return 0;
11227 }
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230   ac_cv_lib_dl_dlopen=yes
11231 else
11232   ac_cv_lib_dl_dlopen=no
11233 fi
11234 rm -f core conftest.err conftest.$ac_objext \
11235     conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11237 fi
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11239 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11240 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11241   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11242 else
11243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11244 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11245 if ${ac_cv_lib_svld_dlopen+:} false; then :
11246   $as_echo_n "(cached) " >&6
11247 else
11248   ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-lsvld  $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h.  */
11252
11253 /* Override any GCC internal prototype to avoid an error.
11254    Use char because int might match the return type of a GCC
11255    builtin and then its argument prototype would still apply.  */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char dlopen ();
11260 int
11261 main ()
11262 {
11263 return dlopen ();
11264   ;
11265   return 0;
11266 }
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269   ac_cv_lib_svld_dlopen=yes
11270 else
11271   ac_cv_lib_svld_dlopen=no
11272 fi
11273 rm -f core conftest.err conftest.$ac_objext \
11274     conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11278 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11279 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11280   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11281 else
11282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11283 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11284 if ${ac_cv_lib_dld_dld_link+:} false; then :
11285   $as_echo_n "(cached) " >&6
11286 else
11287   ac_check_lib_save_LIBS=$LIBS
11288 LIBS="-ldld  $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h.  */
11291
11292 /* Override any GCC internal prototype to avoid an error.
11293    Use char because int might match the return type of a GCC
11294    builtin and then its argument prototype would still apply.  */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char dld_link ();
11299 int
11300 main ()
11301 {
11302 return dld_link ();
11303   ;
11304   return 0;
11305 }
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308   ac_cv_lib_dld_dld_link=yes
11309 else
11310   ac_cv_lib_dld_dld_link=no
11311 fi
11312 rm -f core conftest.err conftest.$ac_objext \
11313     conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11315 fi
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11317 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11318 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11319   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11320 fi
11321
11322
11323 fi
11324
11325
11326 fi
11327
11328
11329 fi
11330
11331
11332 fi
11333
11334
11335 fi
11336
11337     ;;
11338   esac
11339
11340   if test "x$lt_cv_dlopen" != xno; then
11341     enable_dlopen=yes
11342   else
11343     enable_dlopen=no
11344   fi
11345
11346   case $lt_cv_dlopen in
11347   dlopen)
11348     save_CPPFLAGS="$CPPFLAGS"
11349     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11350
11351     save_LDFLAGS="$LDFLAGS"
11352     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11353
11354     save_LIBS="$LIBS"
11355     LIBS="$lt_cv_dlopen_libs $LIBS"
11356
11357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11358 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11359 if ${lt_cv_dlopen_self+:} false; then :
11360   $as_echo_n "(cached) " >&6
11361 else
11362           if test "$cross_compiling" = yes; then :
11363   lt_cv_dlopen_self=cross
11364 else
11365   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11366   lt_status=$lt_dlunknown
11367   cat > conftest.$ac_ext <<_LT_EOF
11368 #line $LINENO "configure"
11369 #include "confdefs.h"
11370
11371 #if HAVE_DLFCN_H
11372 #include <dlfcn.h>
11373 #endif
11374
11375 #include <stdio.h>
11376
11377 #ifdef RTLD_GLOBAL
11378 #  define LT_DLGLOBAL           RTLD_GLOBAL
11379 #else
11380 #  ifdef DL_GLOBAL
11381 #    define LT_DLGLOBAL         DL_GLOBAL
11382 #  else
11383 #    define LT_DLGLOBAL         0
11384 #  endif
11385 #endif
11386
11387 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11388    find out it does not work in some platform. */
11389 #ifndef LT_DLLAZY_OR_NOW
11390 #  ifdef RTLD_LAZY
11391 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11392 #  else
11393 #    ifdef DL_LAZY
11394 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11395 #    else
11396 #      ifdef RTLD_NOW
11397 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11398 #      else
11399 #        ifdef DL_NOW
11400 #          define LT_DLLAZY_OR_NOW      DL_NOW
11401 #        else
11402 #          define LT_DLLAZY_OR_NOW      0
11403 #        endif
11404 #      endif
11405 #    endif
11406 #  endif
11407 #endif
11408
11409 /* When -fvisbility=hidden is used, assume the code has been annotated
11410    correspondingly for the symbols needed.  */
11411 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11412 int fnord () __attribute__((visibility("default")));
11413 #endif
11414
11415 int fnord () { return 42; }
11416 int main ()
11417 {
11418   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11419   int status = $lt_dlunknown;
11420
11421   if (self)
11422     {
11423       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11424       else
11425         {
11426           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11427           else puts (dlerror ());
11428         }
11429       /* dlclose (self); */
11430     }
11431   else
11432     puts (dlerror ());
11433
11434   return status;
11435 }
11436 _LT_EOF
11437   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11438   (eval $ac_link) 2>&5
11439   ac_status=$?
11440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11441   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11442     (./conftest; exit; ) >&5 2>/dev/null
11443     lt_status=$?
11444     case x$lt_status in
11445       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11446       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11447       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11448     esac
11449   else :
11450     # compilation failed
11451     lt_cv_dlopen_self=no
11452   fi
11453 fi
11454 rm -fr conftest*
11455
11456
11457 fi
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11459 $as_echo "$lt_cv_dlopen_self" >&6; }
11460
11461     if test "x$lt_cv_dlopen_self" = xyes; then
11462       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11463       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11464 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11465 if ${lt_cv_dlopen_self_static+:} false; then :
11466   $as_echo_n "(cached) " >&6
11467 else
11468           if test "$cross_compiling" = yes; then :
11469   lt_cv_dlopen_self_static=cross
11470 else
11471   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11472   lt_status=$lt_dlunknown
11473   cat > conftest.$ac_ext <<_LT_EOF
11474 #line $LINENO "configure"
11475 #include "confdefs.h"
11476
11477 #if HAVE_DLFCN_H
11478 #include <dlfcn.h>
11479 #endif
11480
11481 #include <stdio.h>
11482
11483 #ifdef RTLD_GLOBAL
11484 #  define LT_DLGLOBAL           RTLD_GLOBAL
11485 #else
11486 #  ifdef DL_GLOBAL
11487 #    define LT_DLGLOBAL         DL_GLOBAL
11488 #  else
11489 #    define LT_DLGLOBAL         0
11490 #  endif
11491 #endif
11492
11493 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11494    find out it does not work in some platform. */
11495 #ifndef LT_DLLAZY_OR_NOW
11496 #  ifdef RTLD_LAZY
11497 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11498 #  else
11499 #    ifdef DL_LAZY
11500 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11501 #    else
11502 #      ifdef RTLD_NOW
11503 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11504 #      else
11505 #        ifdef DL_NOW
11506 #          define LT_DLLAZY_OR_NOW      DL_NOW
11507 #        else
11508 #          define LT_DLLAZY_OR_NOW      0
11509 #        endif
11510 #      endif
11511 #    endif
11512 #  endif
11513 #endif
11514
11515 /* When -fvisbility=hidden is used, assume the code has been annotated
11516    correspondingly for the symbols needed.  */
11517 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11518 int fnord () __attribute__((visibility("default")));
11519 #endif
11520
11521 int fnord () { return 42; }
11522 int main ()
11523 {
11524   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11525   int status = $lt_dlunknown;
11526
11527   if (self)
11528     {
11529       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11530       else
11531         {
11532           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11533           else puts (dlerror ());
11534         }
11535       /* dlclose (self); */
11536     }
11537   else
11538     puts (dlerror ());
11539
11540   return status;
11541 }
11542 _LT_EOF
11543   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11544   (eval $ac_link) 2>&5
11545   ac_status=$?
11546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11547   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11548     (./conftest; exit; ) >&5 2>/dev/null
11549     lt_status=$?
11550     case x$lt_status in
11551       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11552       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11553       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11554     esac
11555   else :
11556     # compilation failed
11557     lt_cv_dlopen_self_static=no
11558   fi
11559 fi
11560 rm -fr conftest*
11561
11562
11563 fi
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11565 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11566     fi
11567
11568     CPPFLAGS="$save_CPPFLAGS"
11569     LDFLAGS="$save_LDFLAGS"
11570     LIBS="$save_LIBS"
11571     ;;
11572   esac
11573
11574   case $lt_cv_dlopen_self in
11575   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11576   *) enable_dlopen_self=unknown ;;
11577   esac
11578
11579   case $lt_cv_dlopen_self_static in
11580   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11581   *) enable_dlopen_self_static=unknown ;;
11582   esac
11583 fi
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601 striplib=
11602 old_striplib=
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11604 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11605 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11606   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11607   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11609 $as_echo "yes" >&6; }
11610 else
11611 # FIXME - insert some real tests, host_os isn't really good enough
11612   case $host_os in
11613   darwin*)
11614     if test -n "$STRIP" ; then
11615       striplib="$STRIP -x"
11616       old_striplib="$STRIP -S"
11617       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11618 $as_echo "yes" >&6; }
11619     else
11620       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11621 $as_echo "no" >&6; }
11622     fi
11623     ;;
11624   *)
11625     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11627     ;;
11628   esac
11629 fi
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642   # Report which library types will actually be built
11643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11644 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11646 $as_echo "$can_build_shared" >&6; }
11647
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11649 $as_echo_n "checking whether to build shared libraries... " >&6; }
11650   test "$can_build_shared" = "no" && enable_shared=no
11651
11652   # On AIX, shared libraries and static libraries use the same namespace, and
11653   # are all built from PIC.
11654   case $host_os in
11655   aix3*)
11656     test "$enable_shared" = yes && enable_static=no
11657     if test -n "$RANLIB"; then
11658       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11659       postinstall_cmds='$RANLIB $lib'
11660     fi
11661     ;;
11662
11663   aix[4-9]*)
11664     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11665       test "$enable_shared" = yes && enable_static=no
11666     fi
11667     ;;
11668   esac
11669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11670 $as_echo "$enable_shared" >&6; }
11671
11672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11673 $as_echo_n "checking whether to build static libraries... " >&6; }
11674   # Make sure either enable_shared or enable_static is yes.
11675   test "$enable_shared" = yes || enable_static=yes
11676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11677 $as_echo "$enable_static" >&6; }
11678
11679
11680
11681
11682 fi
11683 ac_ext=c
11684 ac_cpp='$CPP $CPPFLAGS'
11685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11688
11689 CC="$lt_save_CC"
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705         ac_config_commands="$ac_config_commands libtool"
11706
11707
11708
11709
11710 # Only expand once:
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11722         if test -n "$ac_tool_prefix"; then
11723   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11726 $as_echo_n "checking for $ac_word... " >&6; }
11727 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11728   $as_echo_n "(cached) " >&6
11729 else
11730   case $PKG_CONFIG in
11731   [\\/]* | ?:[\\/]*)
11732   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11733   ;;
11734   *)
11735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11736 for as_dir in $PATH
11737 do
11738   IFS=$as_save_IFS
11739   test -z "$as_dir" && as_dir=.
11740     for ac_exec_ext in '' $ac_executable_extensions; do
11741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11742     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744     break 2
11745   fi
11746 done
11747   done
11748 IFS=$as_save_IFS
11749
11750   ;;
11751 esac
11752 fi
11753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11754 if test -n "$PKG_CONFIG"; then
11755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11756 $as_echo "$PKG_CONFIG" >&6; }
11757 else
11758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11760 fi
11761
11762
11763 fi
11764 if test -z "$ac_cv_path_PKG_CONFIG"; then
11765   ac_pt_PKG_CONFIG=$PKG_CONFIG
11766   # Extract the first word of "pkg-config", so it can be a program name with args.
11767 set dummy pkg-config; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11771   $as_echo_n "(cached) " >&6
11772 else
11773   case $ac_pt_PKG_CONFIG in
11774   [\\/]* | ?:[\\/]*)
11775   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11776   ;;
11777   *)
11778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $PATH
11780 do
11781   IFS=$as_save_IFS
11782   test -z "$as_dir" && as_dir=.
11783     for ac_exec_ext in '' $ac_executable_extensions; do
11784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11785     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11787     break 2
11788   fi
11789 done
11790   done
11791 IFS=$as_save_IFS
11792
11793   ;;
11794 esac
11795 fi
11796 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11797 if test -n "$ac_pt_PKG_CONFIG"; then
11798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11799 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11800 else
11801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11803 fi
11804
11805   if test "x$ac_pt_PKG_CONFIG" = x; then
11806     PKG_CONFIG=""
11807   else
11808     case $cross_compiling:$ac_tool_warned in
11809 yes:)
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11812 ac_tool_warned=yes ;;
11813 esac
11814     PKG_CONFIG=$ac_pt_PKG_CONFIG
11815   fi
11816 else
11817   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11818 fi
11819
11820 fi
11821 if test -n "$PKG_CONFIG"; then
11822         _pkg_min_version=0.9.0
11823         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11824 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11825         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11826                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11827 $as_echo "yes" >&6; }
11828         else
11829                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11831                 PKG_CONFIG=""
11832         fi
11833 fi
11834
11835 pkg_failed=no
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
11837 $as_echo_n "checking for LIBXML... " >&6; }
11838
11839 if test -n "$LIBXML_CFLAGS"; then
11840     pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
11841  elif test -n "$PKG_CONFIG"; then
11842     if test -n "$PKG_CONFIG" && \
11843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
11844   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
11845   ac_status=$?
11846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11847   test $ac_status = 0; }; then
11848   pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5.0" 2>/dev/null`
11849                       test "x$?" != "x0" && pkg_failed=yes
11850 else
11851   pkg_failed=yes
11852 fi
11853  else
11854     pkg_failed=untried
11855 fi
11856 if test -n "$LIBXML_LIBS"; then
11857     pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
11858  elif test -n "$PKG_CONFIG"; then
11859     if test -n "$PKG_CONFIG" && \
11860     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
11861   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
11862   ac_status=$?
11863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11864   test $ac_status = 0; }; then
11865   pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5.0" 2>/dev/null`
11866                       test "x$?" != "x0" && pkg_failed=yes
11867 else
11868   pkg_failed=yes
11869 fi
11870  else
11871     pkg_failed=untried
11872 fi
11873
11874
11875
11876 if test $pkg_failed = yes; then
11877         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878 $as_echo "no" >&6; }
11879
11880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11881         _pkg_short_errors_supported=yes
11882 else
11883         _pkg_short_errors_supported=no
11884 fi
11885         if test $_pkg_short_errors_supported = yes; then
11886                 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
11887         else
11888                 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
11889         fi
11890         # Put the nasty error message in config.log where it belongs
11891         echo "$LIBXML_PKG_ERRORS" >&5
11892
11893         as_fn_error $? "Package requirements (libxml-2.0 >= 2.5.0) were not met:
11894
11895 $LIBXML_PKG_ERRORS
11896
11897 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11898 installed software in a non-standard prefix.
11899
11900 Alternatively, you may set the environment variables LIBXML_CFLAGS
11901 and LIBXML_LIBS to avoid the need to call pkg-config.
11902 See the pkg-config man page for more details." "$LINENO" 5
11903 elif test $pkg_failed = untried; then
11904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11906         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11908 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11909 is in your PATH or set the PKG_CONFIG environment variable to the full
11910 path to pkg-config.
11911
11912 Alternatively, you may set the environment variables LIBXML_CFLAGS
11913 and LIBXML_LIBS to avoid the need to call pkg-config.
11914 See the pkg-config man page for more details.
11915
11916 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11917 See \`config.log' for more details" "$LINENO" 5; }
11918 else
11919         LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
11920         LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
11921         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11922 $as_echo "yes" >&6; }
11923
11924 fi
11925
11926 GST_MAJORMINOR=0.10
11927 GST_REQ=0.10.29.2
11928 GSTPBU_REQ=0.10.32
11929
11930
11931 pkg_failed=no
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
11933 $as_echo_n "checking for GST... " >&6; }
11934
11935 if test -n "$GST_CFLAGS"; then
11936     pkg_cv_GST_CFLAGS="$GST_CFLAGS"
11937  elif test -n "$PKG_CONFIG"; then
11938     if test -n "$PKG_CONFIG" && \
11939     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
11940   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
11941   ac_status=$?
11942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11943   test $ac_status = 0; }; then
11944   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
11945                       test "x$?" != "x0" && pkg_failed=yes
11946 else
11947   pkg_failed=yes
11948 fi
11949  else
11950     pkg_failed=untried
11951 fi
11952 if test -n "$GST_LIBS"; then
11953     pkg_cv_GST_LIBS="$GST_LIBS"
11954  elif test -n "$PKG_CONFIG"; then
11955     if test -n "$PKG_CONFIG" && \
11956     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
11957   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
11958   ac_status=$?
11959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11960   test $ac_status = 0; }; then
11961   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
11962                       test "x$?" != "x0" && pkg_failed=yes
11963 else
11964   pkg_failed=yes
11965 fi
11966  else
11967     pkg_failed=untried
11968 fi
11969
11970
11971
11972 if test $pkg_failed = yes; then
11973         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11975
11976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11977         _pkg_short_errors_supported=yes
11978 else
11979         _pkg_short_errors_supported=no
11980 fi
11981         if test $_pkg_short_errors_supported = yes; then
11982                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
11983         else
11984                 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
11985         fi
11986         # Put the nasty error message in config.log where it belongs
11987         echo "$GST_PKG_ERRORS" >&5
11988
11989         as_fn_error $? "Package requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQ) were not met:
11990
11991 $GST_PKG_ERRORS
11992
11993 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11994 installed software in a non-standard prefix.
11995
11996 Alternatively, you may set the environment variables GST_CFLAGS
11997 and GST_LIBS to avoid the need to call pkg-config.
11998 See the pkg-config man page for more details." "$LINENO" 5
11999 elif test $pkg_failed = untried; then
12000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 $as_echo "no" >&6; }
12002         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12004 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12005 is in your PATH or set the PKG_CONFIG environment variable to the full
12006 path to pkg-config.
12007
12008 Alternatively, you may set the environment variables GST_CFLAGS
12009 and GST_LIBS to avoid the need to call pkg-config.
12010 See the pkg-config man page for more details.
12011
12012 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12013 See \`config.log' for more details" "$LINENO" 5; }
12014 else
12015         GST_CFLAGS=$pkg_cv_GST_CFLAGS
12016         GST_LIBS=$pkg_cv_GST_LIBS
12017         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12018 $as_echo "yes" >&6; }
12019
12020 fi
12021
12022 pkg_failed=no
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU" >&5
12024 $as_echo_n "checking for GST_PBU... " >&6; }
12025
12026 if test -n "$GST_PBU_CFLAGS"; then
12027     pkg_cv_GST_PBU_CFLAGS="$GST_PBU_CFLAGS"
12028  elif test -n "$PKG_CONFIG"; then
12029     if test -n "$PKG_CONFIG" && \
12030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12031   ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12032   ac_status=$?
12033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12034   test $ac_status = 0; }; then
12035   pkg_cv_GST_PBU_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12036                       test "x$?" != "x0" && pkg_failed=yes
12037 else
12038   pkg_failed=yes
12039 fi
12040  else
12041     pkg_failed=untried
12042 fi
12043 if test -n "$GST_PBU_LIBS"; then
12044     pkg_cv_GST_PBU_LIBS="$GST_PBU_LIBS"
12045  elif test -n "$PKG_CONFIG"; then
12046     if test -n "$PKG_CONFIG" && \
12047     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12048   ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12049   ac_status=$?
12050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12051   test $ac_status = 0; }; then
12052   pkg_cv_GST_PBU_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12053                       test "x$?" != "x0" && pkg_failed=yes
12054 else
12055   pkg_failed=yes
12056 fi
12057  else
12058     pkg_failed=untried
12059 fi
12060
12061
12062
12063 if test $pkg_failed = yes; then
12064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12066
12067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12068         _pkg_short_errors_supported=yes
12069 else
12070         _pkg_short_errors_supported=no
12071 fi
12072         if test $_pkg_short_errors_supported = yes; then
12073                 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12074         else
12075                 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12076         fi
12077         # Put the nasty error message in config.log where it belongs
12078         echo "$GST_PBU_PKG_ERRORS" >&5
12079
12080         as_fn_error $? "Package requirements (gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ) were not met:
12081
12082 $GST_PBU_PKG_ERRORS
12083
12084 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12085 installed software in a non-standard prefix.
12086
12087 Alternatively, you may set the environment variables GST_PBU_CFLAGS
12088 and GST_PBU_LIBS to avoid the need to call pkg-config.
12089 See the pkg-config man page for more details." "$LINENO" 5
12090 elif test $pkg_failed = untried; then
12091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12092 $as_echo "no" >&6; }
12093         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12095 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12096 is in your PATH or set the PKG_CONFIG environment variable to the full
12097 path to pkg-config.
12098
12099 Alternatively, you may set the environment variables GST_PBU_CFLAGS
12100 and GST_PBU_LIBS to avoid the need to call pkg-config.
12101 See the pkg-config man page for more details.
12102
12103 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12104 See \`config.log' for more details" "$LINENO" 5; }
12105 else
12106         GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS
12107         GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS
12108         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12109 $as_echo "yes" >&6; }
12110
12111 fi
12112
12113
12114 GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
12115
12116
12117 # glib-genmarshal
12118 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12119
12120
12121 # Debugging
12122 # Check whether --enable-debug was given.
12123 if test "${enable_debug+set}" = set; then :
12124   enableval=$enable_debug;
12125 else
12126   enable_debug=no
12127 fi
12128
12129 if test "x$enable_debug" = "xyes"; then
12130         CFLAGS="$CFLAGS -g -Wall"
12131 fi
12132
12133
12134
12135
12136                 # Check whether --enable-introspection was given.
12137 if test "${enable_introspection+set}" = set; then :
12138   enableval=$enable_introspection;
12139 else
12140   enable_introspection=auto
12141 fi
12142
12143
12144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12145 $as_echo_n "checking for gobject-introspection... " >&6; }
12146
12147         case $enable_introspection in #(
12148   no) :
12149             found_introspection="no (disabled, use --enable-introspection to enable)"
12150      ;; #(
12151       yes) :
12152             if test -n "$PKG_CONFIG" && \
12153     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12154   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12155   ac_status=$?
12156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12157   test $ac_status = 0; }; then
12158   :
12159 else
12160   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12161 fi
12162         if test -n "$PKG_CONFIG" && \
12163     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12164   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12165   ac_status=$?
12166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12167   test $ac_status = 0; }; then
12168   found_introspection=yes
12169 else
12170   as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build gupnp-dlna" "$LINENO" 5
12171 fi
12172      ;; #(
12173       auto) :
12174             if test -n "$PKG_CONFIG" && \
12175     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12176   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12177   ac_status=$?
12178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12179   test $ac_status = 0; }; then
12180   found_introspection=yes
12181 else
12182   found_introspection=no
12183 fi
12184      ;; #(
12185   *) :
12186                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12187      ;;
12188 esac
12189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12190 $as_echo "$found_introspection" >&6; }
12191
12192     INTROSPECTION_SCANNER=
12193     INTROSPECTION_COMPILER=
12194     INTROSPECTION_GENERATE=
12195     INTROSPECTION_GIRDIR=
12196     INTROSPECTION_TYPELIBDIR=
12197     if test "x$found_introspection" = "xyes"; then
12198        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12199        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12200        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12201        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12202        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12203        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12204        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12205        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12206     fi
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216      if test "x$found_introspection" = "xyes"; then
12217   HAVE_INTROSPECTION_TRUE=
12218   HAVE_INTROSPECTION_FALSE='#'
12219 else
12220   HAVE_INTROSPECTION_TRUE='#'
12221   HAVE_INTROSPECTION_FALSE=
12222 fi
12223
12224
12225
12226
12227
12228
12229
12230     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12231 set dummy gtkdoc-check; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; }
12234 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12235   $as_echo_n "(cached) " >&6
12236 else
12237   case $GTKDOC_CHECK in
12238   [\\/]* | ?:[\\/]*)
12239   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12240   ;;
12241   *)
12242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12244 do
12245   IFS=$as_save_IFS
12246   test -z "$as_dir" && as_dir=.
12247     for ac_exec_ext in '' $ac_executable_extensions; do
12248   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12251     break 2
12252   fi
12253 done
12254   done
12255 IFS=$as_save_IFS
12256
12257   ;;
12258 esac
12259 fi
12260 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12261 if test -n "$GTKDOC_CHECK"; then
12262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12263 $as_echo "$GTKDOC_CHECK" >&6; }
12264 else
12265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12267 fi
12268
12269
12270   for ac_prog in gtkdoc-rebase
12271 do
12272   # Extract the first word of "$ac_prog", so it can be a program name with args.
12273 set dummy $ac_prog; ac_word=$2
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12275 $as_echo_n "checking for $ac_word... " >&6; }
12276 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12277   $as_echo_n "(cached) " >&6
12278 else
12279   case $GTKDOC_REBASE in
12280   [\\/]* | ?:[\\/]*)
12281   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12282   ;;
12283   *)
12284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12285 for as_dir in $PATH
12286 do
12287   IFS=$as_save_IFS
12288   test -z "$as_dir" && as_dir=.
12289     for ac_exec_ext in '' $ac_executable_extensions; do
12290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12291     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12293     break 2
12294   fi
12295 done
12296   done
12297 IFS=$as_save_IFS
12298
12299   ;;
12300 esac
12301 fi
12302 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12303 if test -n "$GTKDOC_REBASE"; then
12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12305 $as_echo "$GTKDOC_REBASE" >&6; }
12306 else
12307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12308 $as_echo "no" >&6; }
12309 fi
12310
12311
12312   test -n "$GTKDOC_REBASE" && break
12313 done
12314 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12315
12316   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12317 set dummy gtkdoc-mkpdf; ac_word=$2
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12319 $as_echo_n "checking for $ac_word... " >&6; }
12320 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12321   $as_echo_n "(cached) " >&6
12322 else
12323   case $GTKDOC_MKPDF in
12324   [\\/]* | ?:[\\/]*)
12325   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12326   ;;
12327   *)
12328   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12329 for as_dir in $PATH
12330 do
12331   IFS=$as_save_IFS
12332   test -z "$as_dir" && as_dir=.
12333     for ac_exec_ext in '' $ac_executable_extensions; do
12334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12335     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12337     break 2
12338   fi
12339 done
12340   done
12341 IFS=$as_save_IFS
12342
12343   ;;
12344 esac
12345 fi
12346 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12347 if test -n "$GTKDOC_MKPDF"; then
12348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12349 $as_echo "$GTKDOC_MKPDF" >&6; }
12350 else
12351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352 $as_echo "no" >&6; }
12353 fi
12354
12355
12356
12357
12358 # Check whether --with-html-dir was given.
12359 if test "${with_html_dir+set}" = set; then :
12360   withval=$with_html_dir;
12361 else
12362   with_html_dir='${datadir}/gtk-doc/html'
12363 fi
12364
12365   HTML_DIR="$with_html_dir"
12366
12367
12368     # Check whether --enable-gtk-doc was given.
12369 if test "${enable_gtk_doc+set}" = set; then :
12370   enableval=$enable_gtk_doc;
12371 else
12372   enable_gtk_doc=no
12373 fi
12374
12375
12376   if test x$enable_gtk_doc = xyes; then
12377     if test -n "$PKG_CONFIG" && \
12378     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
12379   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
12380   ac_status=$?
12381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12382   test $ac_status = 0; }; then
12383   :
12384 else
12385   as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
12386 fi
12387         if test "x$PACKAGE_NAME" != "xglib"; then
12388
12389 pkg_failed=no
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12391 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12392
12393 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12394     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12395  elif test -n "$PKG_CONFIG"; then
12396     if test -n "$PKG_CONFIG" && \
12397     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12398   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12399   ac_status=$?
12400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12401   test $ac_status = 0; }; then
12402   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12403                       test "x$?" != "x0" && pkg_failed=yes
12404 else
12405   pkg_failed=yes
12406 fi
12407  else
12408     pkg_failed=untried
12409 fi
12410 if test -n "$GTKDOC_DEPS_LIBS"; then
12411     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12412  elif test -n "$PKG_CONFIG"; then
12413     if test -n "$PKG_CONFIG" && \
12414     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12415   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12416   ac_status=$?
12417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12418   test $ac_status = 0; }; then
12419   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12420                       test "x$?" != "x0" && pkg_failed=yes
12421 else
12422   pkg_failed=yes
12423 fi
12424  else
12425     pkg_failed=untried
12426 fi
12427
12428
12429
12430 if test $pkg_failed = yes; then
12431         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12433
12434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12435         _pkg_short_errors_supported=yes
12436 else
12437         _pkg_short_errors_supported=no
12438 fi
12439         if test $_pkg_short_errors_supported = yes; then
12440                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12441         else
12442                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12443         fi
12444         # Put the nasty error message in config.log where it belongs
12445         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12446
12447         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12448
12449 $GTKDOC_DEPS_PKG_ERRORS
12450
12451 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12452 installed software in a non-standard prefix.
12453
12454 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12455 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12456 See the pkg-config man page for more details." "$LINENO" 5
12457 elif test $pkg_failed = untried; then
12458         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12459 $as_echo "no" >&6; }
12460         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12462 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12463 is in your PATH or set the PKG_CONFIG environment variable to the full
12464 path to pkg-config.
12465
12466 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12467 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12468 See the pkg-config man page for more details.
12469
12470 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12471 See \`config.log' for more details" "$LINENO" 5; }
12472 else
12473         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12474         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12475         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12476 $as_echo "yes" >&6; }
12477
12478 fi
12479     fi
12480   fi
12481
12482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12483 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12485 $as_echo "$enable_gtk_doc" >&6; }
12486
12487     # Check whether --enable-gtk-doc-html was given.
12488 if test "${enable_gtk_doc_html+set}" = set; then :
12489   enableval=$enable_gtk_doc_html;
12490 else
12491   enable_gtk_doc_html=yes
12492 fi
12493
12494     # Check whether --enable-gtk-doc-pdf was given.
12495 if test "${enable_gtk_doc_pdf+set}" = set; then :
12496   enableval=$enable_gtk_doc_pdf;
12497 else
12498   enable_gtk_doc_pdf=no
12499 fi
12500
12501
12502   if test -z "$GTKDOC_MKPDF"; then
12503     enable_gtk_doc_pdf=no
12504   fi
12505
12506
12507    if test x$enable_gtk_doc = xyes; then
12508   ENABLE_GTK_DOC_TRUE=
12509   ENABLE_GTK_DOC_FALSE='#'
12510 else
12511   ENABLE_GTK_DOC_TRUE='#'
12512   ENABLE_GTK_DOC_FALSE=
12513 fi
12514
12515    if test x$enable_gtk_doc_html = xyes; then
12516   GTK_DOC_BUILD_HTML_TRUE=
12517   GTK_DOC_BUILD_HTML_FALSE='#'
12518 else
12519   GTK_DOC_BUILD_HTML_TRUE='#'
12520   GTK_DOC_BUILD_HTML_FALSE=
12521 fi
12522
12523    if test x$enable_gtk_doc_pdf = xyes; then
12524   GTK_DOC_BUILD_PDF_TRUE=
12525   GTK_DOC_BUILD_PDF_FALSE='#'
12526 else
12527   GTK_DOC_BUILD_PDF_TRUE='#'
12528   GTK_DOC_BUILD_PDF_FALSE=
12529 fi
12530
12531    if test -n "$LIBTOOL"; then
12532   GTK_DOC_USE_LIBTOOL_TRUE=
12533   GTK_DOC_USE_LIBTOOL_FALSE='#'
12534 else
12535   GTK_DOC_USE_LIBTOOL_TRUE='#'
12536   GTK_DOC_USE_LIBTOOL_FALSE=
12537 fi
12538
12539    if test -n "$GTKDOC_REBASE"; then
12540   GTK_DOC_USE_REBASE_TRUE=
12541   GTK_DOC_USE_REBASE_FALSE='#'
12542 else
12543   GTK_DOC_USE_REBASE_TRUE='#'
12544   GTK_DOC_USE_REBASE_FALSE=
12545 fi
12546
12547
12548
12549 ac_config_files="$ac_config_files Makefile libgupnp-dlna/Makefile tools/Makefile tests/Makefile tests/test-discoverer.sh doc/Makefile doc/version.xml data/Makefile gupnp-dlna-1.0.pc gupnp-dlna-1.0-uninstalled.pc"
12550
12551 cat >confcache <<\_ACEOF
12552 # This file is a shell script that caches the results of configure
12553 # tests run on this system so they can be shared between configure
12554 # scripts and configure runs, see configure's option --config-cache.
12555 # It is not useful on other systems.  If it contains results you don't
12556 # want to keep, you may remove or edit it.
12557 #
12558 # config.status only pays attention to the cache file if you give it
12559 # the --recheck option to rerun configure.
12560 #
12561 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12562 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12563 # following values.
12564
12565 _ACEOF
12566
12567 # The following way of writing the cache mishandles newlines in values,
12568 # but we know of no workaround that is simple, portable, and efficient.
12569 # So, we kill variables containing newlines.
12570 # Ultrix sh set writes to stderr and can't be redirected directly,
12571 # and sets the high bit in the cache file unless we assign to the vars.
12572 (
12573   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12574     eval ac_val=\$$ac_var
12575     case $ac_val in #(
12576     *${as_nl}*)
12577       case $ac_var in #(
12578       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12580       esac
12581       case $ac_var in #(
12582       _ | IFS | as_nl) ;; #(
12583       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12584       *) { eval $ac_var=; unset $ac_var;} ;;
12585       esac ;;
12586     esac
12587   done
12588
12589   (set) 2>&1 |
12590     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12591     *${as_nl}ac_space=\ *)
12592       # `set' does not quote correctly, so add quotes: double-quote
12593       # substitution turns \\\\ into \\, and sed turns \\ into \.
12594       sed -n \
12595         "s/'/'\\\\''/g;
12596           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12597       ;; #(
12598     *)
12599       # `set' quotes correctly as required by POSIX, so do not add quotes.
12600       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12601       ;;
12602     esac |
12603     sort
12604 ) |
12605   sed '
12606      /^ac_cv_env_/b end
12607      t clear
12608      :clear
12609      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12610      t end
12611      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12612      :end' >>confcache
12613 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12614   if test -w "$cache_file"; then
12615     if test "x$cache_file" != "x/dev/null"; then
12616       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12617 $as_echo "$as_me: updating cache $cache_file" >&6;}
12618       if test ! -f "$cache_file" || test -h "$cache_file"; then
12619         cat confcache >"$cache_file"
12620       else
12621         case $cache_file in #(
12622         */* | ?:*)
12623           mv -f confcache "$cache_file"$$ &&
12624           mv -f "$cache_file"$$ "$cache_file" ;; #(
12625         *)
12626           mv -f confcache "$cache_file" ;;
12627         esac
12628       fi
12629     fi
12630   else
12631     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12632 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12633   fi
12634 fi
12635 rm -f confcache
12636
12637 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12638 # Let make expand exec_prefix.
12639 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12640
12641 DEFS=-DHAVE_CONFIG_H
12642
12643 ac_libobjs=
12644 ac_ltlibobjs=
12645 U=
12646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12647   # 1. Remove the extension, and $U if already installed.
12648   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12649   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12650   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12651   #    will be set to the directory where LIBOBJS objects are built.
12652   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12653   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12654 done
12655 LIBOBJS=$ac_libobjs
12656
12657 LTLIBOBJS=$ac_ltlibobjs
12658
12659
12660  if test -n "$EXEEXT"; then
12661   am__EXEEXT_TRUE=
12662   am__EXEEXT_FALSE='#'
12663 else
12664   am__EXEEXT_TRUE='#'
12665   am__EXEEXT_FALSE=
12666 fi
12667
12668 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12669   as_fn_error $? "conditional \"AMDEP\" was never defined.
12670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12671 fi
12672 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12673   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12675 fi
12676 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
12677   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
12678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12679 fi
12680 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12681   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12683 fi
12684 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12685   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12687 fi
12688 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12689   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12691 fi
12692 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12693   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12695 fi
12696 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12697   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12699 fi
12700
12701 : "${CONFIG_STATUS=./config.status}"
12702 ac_write_fail=0
12703 ac_clean_files_save=$ac_clean_files
12704 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12706 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12707 as_write_fail=0
12708 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12709 #! $SHELL
12710 # Generated by $as_me.
12711 # Run this file to recreate the current configuration.
12712 # Compiler output produced by configure, useful for debugging
12713 # configure, is in config.log if it exists.
12714
12715 debug=false
12716 ac_cs_recheck=false
12717 ac_cs_silent=false
12718
12719 SHELL=\${CONFIG_SHELL-$SHELL}
12720 export SHELL
12721 _ASEOF
12722 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12723 ## -------------------- ##
12724 ## M4sh Initialization. ##
12725 ## -------------------- ##
12726
12727 # Be more Bourne compatible
12728 DUALCASE=1; export DUALCASE # for MKS sh
12729 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12730   emulate sh
12731   NULLCMD=:
12732   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12733   # is contrary to our usage.  Disable this feature.
12734   alias -g '${1+"$@"}'='"$@"'
12735   setopt NO_GLOB_SUBST
12736 else
12737   case `(set -o) 2>/dev/null` in #(
12738   *posix*) :
12739     set -o posix ;; #(
12740   *) :
12741      ;;
12742 esac
12743 fi
12744
12745
12746 as_nl='
12747 '
12748 export as_nl
12749 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12750 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12753 # Prefer a ksh shell builtin over an external printf program on Solaris,
12754 # but without wasting forks for bash or zsh.
12755 if test -z "$BASH_VERSION$ZSH_VERSION" \
12756     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12757   as_echo='print -r --'
12758   as_echo_n='print -rn --'
12759 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12760   as_echo='printf %s\n'
12761   as_echo_n='printf %s'
12762 else
12763   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12764     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12765     as_echo_n='/usr/ucb/echo -n'
12766   else
12767     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12768     as_echo_n_body='eval
12769       arg=$1;
12770       case $arg in #(
12771       *"$as_nl"*)
12772         expr "X$arg" : "X\\(.*\\)$as_nl";
12773         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12774       esac;
12775       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12776     '
12777     export as_echo_n_body
12778     as_echo_n='sh -c $as_echo_n_body as_echo'
12779   fi
12780   export as_echo_body
12781   as_echo='sh -c $as_echo_body as_echo'
12782 fi
12783
12784 # The user is always right.
12785 if test "${PATH_SEPARATOR+set}" != set; then
12786   PATH_SEPARATOR=:
12787   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12788     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12789       PATH_SEPARATOR=';'
12790   }
12791 fi
12792
12793
12794 # IFS
12795 # We need space, tab and new line, in precisely that order.  Quoting is
12796 # there to prevent editors from complaining about space-tab.
12797 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12798 # splitting by setting IFS to empty value.)
12799 IFS=" ""        $as_nl"
12800
12801 # Find who we are.  Look in the path if we contain no directory separator.
12802 as_myself=
12803 case $0 in #((
12804   *[\\/]* ) as_myself=$0 ;;
12805   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12807 do
12808   IFS=$as_save_IFS
12809   test -z "$as_dir" && as_dir=.
12810     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12811   done
12812 IFS=$as_save_IFS
12813
12814      ;;
12815 esac
12816 # We did not find ourselves, most probably we were run as `sh COMMAND'
12817 # in which case we are not to be found in the path.
12818 if test "x$as_myself" = x; then
12819   as_myself=$0
12820 fi
12821 if test ! -f "$as_myself"; then
12822   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12823   exit 1
12824 fi
12825
12826 # Unset variables that we do not need and which cause bugs (e.g. in
12827 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12828 # suppresses any "Segmentation fault" message there.  '((' could
12829 # trigger a bug in pdksh 5.2.14.
12830 for as_var in BASH_ENV ENV MAIL MAILPATH
12831 do eval test x\${$as_var+set} = xset \
12832   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12833 done
12834 PS1='$ '
12835 PS2='> '
12836 PS4='+ '
12837
12838 # NLS nuisances.
12839 LC_ALL=C
12840 export LC_ALL
12841 LANGUAGE=C
12842 export LANGUAGE
12843
12844 # CDPATH.
12845 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12846
12847
12848 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12849 # ----------------------------------------
12850 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12851 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12852 # script with STATUS, using 1 if that was 0.
12853 as_fn_error ()
12854 {
12855   as_status=$1; test $as_status -eq 0 && as_status=1
12856   if test "$4"; then
12857     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12858     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12859   fi
12860   $as_echo "$as_me: error: $2" >&2
12861   as_fn_exit $as_status
12862 } # as_fn_error
12863
12864
12865 # as_fn_set_status STATUS
12866 # -----------------------
12867 # Set $? to STATUS, without forking.
12868 as_fn_set_status ()
12869 {
12870   return $1
12871 } # as_fn_set_status
12872
12873 # as_fn_exit STATUS
12874 # -----------------
12875 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12876 as_fn_exit ()
12877 {
12878   set +e
12879   as_fn_set_status $1
12880   exit $1
12881 } # as_fn_exit
12882
12883 # as_fn_unset VAR
12884 # ---------------
12885 # Portably unset VAR.
12886 as_fn_unset ()
12887 {
12888   { eval $1=; unset $1;}
12889 }
12890 as_unset=as_fn_unset
12891 # as_fn_append VAR VALUE
12892 # ----------------------
12893 # Append the text in VALUE to the end of the definition contained in VAR. Take
12894 # advantage of any shell optimizations that allow amortized linear growth over
12895 # repeated appends, instead of the typical quadratic growth present in naive
12896 # implementations.
12897 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12898   eval 'as_fn_append ()
12899   {
12900     eval $1+=\$2
12901   }'
12902 else
12903   as_fn_append ()
12904   {
12905     eval $1=\$$1\$2
12906   }
12907 fi # as_fn_append
12908
12909 # as_fn_arith ARG...
12910 # ------------------
12911 # Perform arithmetic evaluation on the ARGs, and store the result in the
12912 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12913 # must be portable across $(()) and expr.
12914 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12915   eval 'as_fn_arith ()
12916   {
12917     as_val=$(( $* ))
12918   }'
12919 else
12920   as_fn_arith ()
12921   {
12922     as_val=`expr "$@" || test $? -eq 1`
12923   }
12924 fi # as_fn_arith
12925
12926
12927 if expr a : '\(a\)' >/dev/null 2>&1 &&
12928    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12929   as_expr=expr
12930 else
12931   as_expr=false
12932 fi
12933
12934 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12935   as_basename=basename
12936 else
12937   as_basename=false
12938 fi
12939
12940 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12941   as_dirname=dirname
12942 else
12943   as_dirname=false
12944 fi
12945
12946 as_me=`$as_basename -- "$0" ||
12947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12948          X"$0" : 'X\(//\)$' \| \
12949          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12950 $as_echo X/"$0" |
12951     sed '/^.*\/\([^/][^/]*\)\/*$/{
12952             s//\1/
12953             q
12954           }
12955           /^X\/\(\/\/\)$/{
12956             s//\1/
12957             q
12958           }
12959           /^X\/\(\/\).*/{
12960             s//\1/
12961             q
12962           }
12963           s/.*/./; q'`
12964
12965 # Avoid depending upon Character Ranges.
12966 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12967 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12968 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12969 as_cr_digits='0123456789'
12970 as_cr_alnum=$as_cr_Letters$as_cr_digits
12971
12972 ECHO_C= ECHO_N= ECHO_T=
12973 case `echo -n x` in #(((((
12974 -n*)
12975   case `echo 'xy\c'` in
12976   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12977   xy)  ECHO_C='\c';;
12978   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12979        ECHO_T=' ';;
12980   esac;;
12981 *)
12982   ECHO_N='-n';;
12983 esac
12984
12985 rm -f conf$$ conf$$.exe conf$$.file
12986 if test -d conf$$.dir; then
12987   rm -f conf$$.dir/conf$$.file
12988 else
12989   rm -f conf$$.dir
12990   mkdir conf$$.dir 2>/dev/null
12991 fi
12992 if (echo >conf$$.file) 2>/dev/null; then
12993   if ln -s conf$$.file conf$$ 2>/dev/null; then
12994     as_ln_s='ln -s'
12995     # ... but there are two gotchas:
12996     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12997     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12998     # In both cases, we have to default to `cp -pR'.
12999     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13000       as_ln_s='cp -pR'
13001   elif ln conf$$.file conf$$ 2>/dev/null; then
13002     as_ln_s=ln
13003   else
13004     as_ln_s='cp -pR'
13005   fi
13006 else
13007   as_ln_s='cp -pR'
13008 fi
13009 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13010 rmdir conf$$.dir 2>/dev/null
13011
13012
13013 # as_fn_mkdir_p
13014 # -------------
13015 # Create "$as_dir" as a directory, including parents if necessary.
13016 as_fn_mkdir_p ()
13017 {
13018
13019   case $as_dir in #(
13020   -*) as_dir=./$as_dir;;
13021   esac
13022   test -d "$as_dir" || eval $as_mkdir_p || {
13023     as_dirs=
13024     while :; do
13025       case $as_dir in #(
13026       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13027       *) as_qdir=$as_dir;;
13028       esac
13029       as_dirs="'$as_qdir' $as_dirs"
13030       as_dir=`$as_dirname -- "$as_dir" ||
13031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13032          X"$as_dir" : 'X\(//\)[^/]' \| \
13033          X"$as_dir" : 'X\(//\)$' \| \
13034          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13035 $as_echo X"$as_dir" |
13036     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13037             s//\1/
13038             q
13039           }
13040           /^X\(\/\/\)[^/].*/{
13041             s//\1/
13042             q
13043           }
13044           /^X\(\/\/\)$/{
13045             s//\1/
13046             q
13047           }
13048           /^X\(\/\).*/{
13049             s//\1/
13050             q
13051           }
13052           s/.*/./; q'`
13053       test -d "$as_dir" && break
13054     done
13055     test -z "$as_dirs" || eval "mkdir $as_dirs"
13056   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13057
13058
13059 } # as_fn_mkdir_p
13060 if mkdir -p . 2>/dev/null; then
13061   as_mkdir_p='mkdir -p "$as_dir"'
13062 else
13063   test -d ./-p && rmdir ./-p
13064   as_mkdir_p=false
13065 fi
13066
13067
13068 # as_fn_executable_p FILE
13069 # -----------------------
13070 # Test if FILE is an executable regular file.
13071 as_fn_executable_p ()
13072 {
13073   test -f "$1" && test -x "$1"
13074 } # as_fn_executable_p
13075 as_test_x='test -x'
13076 as_executable_p=as_fn_executable_p
13077
13078 # Sed expression to map a string onto a valid CPP name.
13079 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13080
13081 # Sed expression to map a string onto a valid variable name.
13082 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13083
13084
13085 exec 6>&1
13086 ## ----------------------------------- ##
13087 ## Main body of $CONFIG_STATUS script. ##
13088 ## ----------------------------------- ##
13089 _ASEOF
13090 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13091
13092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13093 # Save the log message, to keep $0 and so on meaningful, and to
13094 # report actual input values of CONFIG_FILES etc. instead of their
13095 # values after options handling.
13096 ac_log="
13097 This file was extended by gupnp-dlna $as_me 0.6.6, which was
13098 generated by GNU Autoconf 2.69.  Invocation command line was
13099
13100   CONFIG_FILES    = $CONFIG_FILES
13101   CONFIG_HEADERS  = $CONFIG_HEADERS
13102   CONFIG_LINKS    = $CONFIG_LINKS
13103   CONFIG_COMMANDS = $CONFIG_COMMANDS
13104   $ $0 $@
13105
13106 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13107 "
13108
13109 _ACEOF
13110
13111 case $ac_config_files in *"
13112 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13113 esac
13114
13115 case $ac_config_headers in *"
13116 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13117 esac
13118
13119
13120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13121 # Files that config.status was made for.
13122 config_files="$ac_config_files"
13123 config_headers="$ac_config_headers"
13124 config_commands="$ac_config_commands"
13125
13126 _ACEOF
13127
13128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13129 ac_cs_usage="\
13130 \`$as_me' instantiates files and other configuration actions
13131 from templates according to the current configuration.  Unless the files
13132 and actions are specified as TAGs, all are instantiated by default.
13133
13134 Usage: $0 [OPTION]... [TAG]...
13135
13136   -h, --help       print this help, then exit
13137   -V, --version    print version number and configuration settings, then exit
13138       --config     print configuration, then exit
13139   -q, --quiet, --silent
13140                    do not print progress messages
13141   -d, --debug      don't remove temporary files
13142       --recheck    update $as_me by reconfiguring in the same conditions
13143       --file=FILE[:TEMPLATE]
13144                    instantiate the configuration file FILE
13145       --header=FILE[:TEMPLATE]
13146                    instantiate the configuration header FILE
13147
13148 Configuration files:
13149 $config_files
13150
13151 Configuration headers:
13152 $config_headers
13153
13154 Configuration commands:
13155 $config_commands
13156
13157 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
13158 gupnp-dlna home page: <http://www.gupnp.org/>."
13159
13160 _ACEOF
13161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13162 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13163 ac_cs_version="\\
13164 gupnp-dlna config.status 0.6.6
13165 configured by $0, generated by GNU Autoconf 2.69,
13166   with options \\"\$ac_cs_config\\"
13167
13168 Copyright (C) 2012 Free Software Foundation, Inc.
13169 This config.status script is free software; the Free Software Foundation
13170 gives unlimited permission to copy, distribute and modify it."
13171
13172 ac_pwd='$ac_pwd'
13173 srcdir='$srcdir'
13174 INSTALL='$INSTALL'
13175 MKDIR_P='$MKDIR_P'
13176 AWK='$AWK'
13177 test -n "\$AWK" || AWK=awk
13178 _ACEOF
13179
13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13181 # The default lists apply if the user does not specify any file.
13182 ac_need_defaults=:
13183 while test $# != 0
13184 do
13185   case $1 in
13186   --*=?*)
13187     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13188     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13189     ac_shift=:
13190     ;;
13191   --*=)
13192     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13193     ac_optarg=
13194     ac_shift=:
13195     ;;
13196   *)
13197     ac_option=$1
13198     ac_optarg=$2
13199     ac_shift=shift
13200     ;;
13201   esac
13202
13203   case $ac_option in
13204   # Handling of the options.
13205   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13206     ac_cs_recheck=: ;;
13207   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13208     $as_echo "$ac_cs_version"; exit ;;
13209   --config | --confi | --conf | --con | --co | --c )
13210     $as_echo "$ac_cs_config"; exit ;;
13211   --debug | --debu | --deb | --de | --d | -d )
13212     debug=: ;;
13213   --file | --fil | --fi | --f )
13214     $ac_shift
13215     case $ac_optarg in
13216     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13217     '') as_fn_error $? "missing file argument" ;;
13218     esac
13219     as_fn_append CONFIG_FILES " '$ac_optarg'"
13220     ac_need_defaults=false;;
13221   --header | --heade | --head | --hea )
13222     $ac_shift
13223     case $ac_optarg in
13224     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13225     esac
13226     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13227     ac_need_defaults=false;;
13228   --he | --h)
13229     # Conflict between --help and --header
13230     as_fn_error $? "ambiguous option: \`$1'
13231 Try \`$0 --help' for more information.";;
13232   --help | --hel | -h )
13233     $as_echo "$ac_cs_usage"; exit ;;
13234   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13235   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13236     ac_cs_silent=: ;;
13237
13238   # This is an error.
13239   -*) as_fn_error $? "unrecognized option: \`$1'
13240 Try \`$0 --help' for more information." ;;
13241
13242   *) as_fn_append ac_config_targets " $1"
13243      ac_need_defaults=false ;;
13244
13245   esac
13246   shift
13247 done
13248
13249 ac_configure_extra_args=
13250
13251 if $ac_cs_silent; then
13252   exec 6>/dev/null
13253   ac_configure_extra_args="$ac_configure_extra_args --silent"
13254 fi
13255
13256 _ACEOF
13257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13258 if \$ac_cs_recheck; then
13259   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13260   shift
13261   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13262   CONFIG_SHELL='$SHELL'
13263   export CONFIG_SHELL
13264   exec "\$@"
13265 fi
13266
13267 _ACEOF
13268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13269 exec 5>>config.log
13270 {
13271   echo
13272   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13273 ## Running $as_me. ##
13274 _ASBOX
13275   $as_echo "$ac_log"
13276 } >&5
13277
13278 _ACEOF
13279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13280 #
13281 # INIT-COMMANDS
13282 #
13283 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13284
13285
13286 # The HP-UX ksh and POSIX shell print the target directory to stdout
13287 # if CDPATH is set.
13288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13289
13290 sed_quote_subst='$sed_quote_subst'
13291 double_quote_subst='$double_quote_subst'
13292 delay_variable_subst='$delay_variable_subst'
13293 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13294 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13295 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13296 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13297 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13298 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13299 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13300 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13301 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13302 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13303 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13304 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13305 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13306 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13307 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13308 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13309 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13310 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13311 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13312 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13313 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13314 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13315 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13316 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13317 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13318 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13319 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13320 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13321 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13322 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13323 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13324 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13325 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13326 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13327 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13328 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13329 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13330 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13331 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13332 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13333 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13334 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13335 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13336 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13337 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13338 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13339 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13340 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13341 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13342 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13343 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13344 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13345 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13346 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13347 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13348 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13349 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13350 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"`'
13351 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13352 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13353 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13354 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13355 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13356 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13357 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13358 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13359 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13360 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13361 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13362 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13363 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13364 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13365 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13366 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13367 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13368 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13369 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13370 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13371 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13372 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13373 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13374 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13375 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13376 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13377 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13378 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13379 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13380 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13381 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13382 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13383 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13384 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13385 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13386 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13387 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13388 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13389 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13390 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13391 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13392 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13393 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13394 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13395 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13396 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13397 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13398 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13399 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13400 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13401 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13402 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13403 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13404 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13405 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13406 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13407 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13408 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13409 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13410 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13411 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13412 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13413 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13414 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13415 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13416 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13417 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13418 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13419 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13420 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13421 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13422 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13423 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13424
13425 LTCC='$LTCC'
13426 LTCFLAGS='$LTCFLAGS'
13427 compiler='$compiler_DEFAULT'
13428
13429 # A function that is used when there is no print builtin or printf.
13430 func_fallback_echo ()
13431 {
13432   eval 'cat <<_LTECHO_EOF
13433 \$1
13434 _LTECHO_EOF'
13435 }
13436
13437 # Quote evaled strings.
13438 for var in AS \
13439 DLLTOOL \
13440 OBJDUMP \
13441 SHELL \
13442 ECHO \
13443 PATH_SEPARATOR \
13444 SED \
13445 GREP \
13446 EGREP \
13447 FGREP \
13448 LD \
13449 NM \
13450 LN_S \
13451 lt_SP2NL \
13452 lt_NL2SP \
13453 reload_flag \
13454 deplibs_check_method \
13455 file_magic_cmd \
13456 file_magic_glob \
13457 want_nocaseglob \
13458 sharedlib_from_linklib_cmd \
13459 AR \
13460 AR_FLAGS \
13461 archiver_list_spec \
13462 STRIP \
13463 RANLIB \
13464 CC \
13465 CFLAGS \
13466 compiler \
13467 lt_cv_sys_global_symbol_pipe \
13468 lt_cv_sys_global_symbol_to_cdecl \
13469 lt_cv_sys_global_symbol_to_c_name_address \
13470 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13471 nm_file_list_spec \
13472 lt_prog_compiler_no_builtin_flag \
13473 lt_prog_compiler_pic \
13474 lt_prog_compiler_wl \
13475 lt_prog_compiler_static \
13476 lt_cv_prog_compiler_c_o \
13477 need_locks \
13478 MANIFEST_TOOL \
13479 DSYMUTIL \
13480 NMEDIT \
13481 LIPO \
13482 OTOOL \
13483 OTOOL64 \
13484 shrext_cmds \
13485 export_dynamic_flag_spec \
13486 whole_archive_flag_spec \
13487 compiler_needs_object \
13488 with_gnu_ld \
13489 allow_undefined_flag \
13490 no_undefined_flag \
13491 hardcode_libdir_flag_spec \
13492 hardcode_libdir_separator \
13493 exclude_expsyms \
13494 include_expsyms \
13495 file_list_spec \
13496 variables_saved_for_relink \
13497 libname_spec \
13498 library_names_spec \
13499 soname_spec \
13500 install_override_mode \
13501 finish_eval \
13502 old_striplib \
13503 striplib; do
13504     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13505     *[\\\\\\\`\\"\\\$]*)
13506       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13507       ;;
13508     *)
13509       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13510       ;;
13511     esac
13512 done
13513
13514 # Double-quote double-evaled strings.
13515 for var in reload_cmds \
13516 old_postinstall_cmds \
13517 old_postuninstall_cmds \
13518 old_archive_cmds \
13519 extract_expsyms_cmds \
13520 old_archive_from_new_cmds \
13521 old_archive_from_expsyms_cmds \
13522 archive_cmds \
13523 archive_expsym_cmds \
13524 module_cmds \
13525 module_expsym_cmds \
13526 export_symbols_cmds \
13527 prelink_cmds \
13528 postlink_cmds \
13529 postinstall_cmds \
13530 postuninstall_cmds \
13531 finish_cmds \
13532 sys_lib_search_path_spec \
13533 sys_lib_dlsearch_path_spec; do
13534     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13535     *[\\\\\\\`\\"\\\$]*)
13536       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13537       ;;
13538     *)
13539       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13540       ;;
13541     esac
13542 done
13543
13544 ac_aux_dir='$ac_aux_dir'
13545 xsi_shell='$xsi_shell'
13546 lt_shell_append='$lt_shell_append'
13547
13548 # See if we are running on zsh, and set the options which allow our
13549 # commands through without removal of \ escapes INIT.
13550 if test -n "\${ZSH_VERSION+set}" ; then
13551    setopt NO_GLOB_SUBST
13552 fi
13553
13554
13555     PACKAGE='$PACKAGE'
13556     VERSION='$VERSION'
13557     TIMESTAMP='$TIMESTAMP'
13558     RM='$RM'
13559     ofile='$ofile'
13560
13561
13562
13563
13564 _ACEOF
13565
13566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13567
13568 # Handling of arguments.
13569 for ac_config_target in $ac_config_targets
13570 do
13571   case $ac_config_target in
13572     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13573     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13574     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13575     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13576     "libgupnp-dlna/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp-dlna/Makefile" ;;
13577     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13578     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13579     "tests/test-discoverer.sh") CONFIG_FILES="$CONFIG_FILES tests/test-discoverer.sh" ;;
13580     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13581     "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
13582     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13583     "gupnp-dlna-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0.pc" ;;
13584     "gupnp-dlna-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0-uninstalled.pc" ;;
13585
13586   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13587   esac
13588 done
13589
13590
13591 # If the user did not use the arguments to specify the items to instantiate,
13592 # then the envvar interface is used.  Set only those that are not.
13593 # We use the long form for the default assignment because of an extremely
13594 # bizarre bug on SunOS 4.1.3.
13595 if $ac_need_defaults; then
13596   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13597   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13598   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13599 fi
13600
13601 # Have a temporary directory for convenience.  Make it in the build tree
13602 # simply because there is no reason against having it here, and in addition,
13603 # creating and moving files from /tmp can sometimes cause problems.
13604 # Hook for its removal unless debugging.
13605 # Note that there is a small window in which the directory will not be cleaned:
13606 # after its creation but before its name has been assigned to `$tmp'.
13607 $debug ||
13608 {
13609   tmp= ac_tmp=
13610   trap 'exit_status=$?
13611   : "${ac_tmp:=$tmp}"
13612   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13613 ' 0
13614   trap 'as_fn_exit 1' 1 2 13 15
13615 }
13616 # Create a (secure) tmp directory for tmp files.
13617
13618 {
13619   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13620   test -d "$tmp"
13621 }  ||
13622 {
13623   tmp=./conf$$-$RANDOM
13624   (umask 077 && mkdir "$tmp")
13625 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13626 ac_tmp=$tmp
13627
13628 # Set up the scripts for CONFIG_FILES section.
13629 # No need to generate them if there are no CONFIG_FILES.
13630 # This happens for instance with `./config.status config.h'.
13631 if test -n "$CONFIG_FILES"; then
13632
13633
13634 ac_cr=`echo X | tr X '\015'`
13635 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13636 # But we know of no other shell where ac_cr would be empty at this
13637 # point, so we can use a bashism as a fallback.
13638 if test "x$ac_cr" = x; then
13639   eval ac_cr=\$\'\\r\'
13640 fi
13641 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13642 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13643   ac_cs_awk_cr='\\r'
13644 else
13645   ac_cs_awk_cr=$ac_cr
13646 fi
13647
13648 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13649 _ACEOF
13650
13651
13652 {
13653   echo "cat >conf$$subs.awk <<_ACEOF" &&
13654   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13655   echo "_ACEOF"
13656 } >conf$$subs.sh ||
13657   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13658 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13659 ac_delim='%!_!# '
13660 for ac_last_try in false false false false false :; do
13661   . ./conf$$subs.sh ||
13662     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13663
13664   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13665   if test $ac_delim_n = $ac_delim_num; then
13666     break
13667   elif $ac_last_try; then
13668     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13669   else
13670     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13671   fi
13672 done
13673 rm -f conf$$subs.sh
13674
13675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13676 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13677 _ACEOF
13678 sed -n '
13679 h
13680 s/^/S["/; s/!.*/"]=/
13681 p
13682 g
13683 s/^[^!]*!//
13684 :repl
13685 t repl
13686 s/'"$ac_delim"'$//
13687 t delim
13688 :nl
13689 h
13690 s/\(.\{148\}\)..*/\1/
13691 t more1
13692 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13693 p
13694 n
13695 b repl
13696 :more1
13697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13698 p
13699 g
13700 s/.\{148\}//
13701 t nl
13702 :delim
13703 h
13704 s/\(.\{148\}\)..*/\1/
13705 t more2
13706 s/["\\]/\\&/g; s/^/"/; s/$/"/
13707 p
13708 b
13709 :more2
13710 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13711 p
13712 g
13713 s/.\{148\}//
13714 t delim
13715 ' <conf$$subs.awk | sed '
13716 /^[^""]/{
13717   N
13718   s/\n//
13719 }
13720 ' >>$CONFIG_STATUS || ac_write_fail=1
13721 rm -f conf$$subs.awk
13722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13723 _ACAWK
13724 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13725   for (key in S) S_is_set[key] = 1
13726   FS = "\a"
13727
13728 }
13729 {
13730   line = $ 0
13731   nfields = split(line, field, "@")
13732   substed = 0
13733   len = length(field[1])
13734   for (i = 2; i < nfields; i++) {
13735     key = field[i]
13736     keylen = length(key)
13737     if (S_is_set[key]) {
13738       value = S[key]
13739       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13740       len += length(value) + length(field[++i])
13741       substed = 1
13742     } else
13743       len += 1 + keylen
13744   }
13745
13746   print line
13747 }
13748
13749 _ACAWK
13750 _ACEOF
13751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13752 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13753   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13754 else
13755   cat
13756 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13757   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13758 _ACEOF
13759
13760 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13761 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13762 # trailing colons and then remove the whole line if VPATH becomes empty
13763 # (actually we leave an empty line to preserve line numbers).
13764 if test "x$srcdir" = x.; then
13765   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13766 h
13767 s///
13768 s/^/:/
13769 s/[      ]*$/:/
13770 s/:\$(srcdir):/:/g
13771 s/:\${srcdir}:/:/g
13772 s/:@srcdir@:/:/g
13773 s/^:*//
13774 s/:*$//
13775 x
13776 s/\(=[   ]*\).*/\1/
13777 G
13778 s/\n//
13779 s/^[^=]*=[       ]*$//
13780 }'
13781 fi
13782
13783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13784 fi # test -n "$CONFIG_FILES"
13785
13786 # Set up the scripts for CONFIG_HEADERS section.
13787 # No need to generate them if there are no CONFIG_HEADERS.
13788 # This happens for instance with `./config.status Makefile'.
13789 if test -n "$CONFIG_HEADERS"; then
13790 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13791 BEGIN {
13792 _ACEOF
13793
13794 # Transform confdefs.h into an awk script `defines.awk', embedded as
13795 # here-document in config.status, that substitutes the proper values into
13796 # config.h.in to produce config.h.
13797
13798 # Create a delimiter string that does not exist in confdefs.h, to ease
13799 # handling of long lines.
13800 ac_delim='%!_!# '
13801 for ac_last_try in false false :; do
13802   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13803   if test -z "$ac_tt"; then
13804     break
13805   elif $ac_last_try; then
13806     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13807   else
13808     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13809   fi
13810 done
13811
13812 # For the awk script, D is an array of macro values keyed by name,
13813 # likewise P contains macro parameters if any.  Preserve backslash
13814 # newline sequences.
13815
13816 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13817 sed -n '
13818 s/.\{148\}/&'"$ac_delim"'/g
13819 t rset
13820 :rset
13821 s/^[     ]*#[    ]*define[       ][      ]*/ /
13822 t def
13823 d
13824 :def
13825 s/\\$//
13826 t bsnl
13827 s/["\\]/\\&/g
13828 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13829 D["\1"]=" \3"/p
13830 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13831 d
13832 :bsnl
13833 s/["\\]/\\&/g
13834 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13835 D["\1"]=" \3\\\\\\n"\\/p
13836 t cont
13837 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13838 t cont
13839 d
13840 :cont
13841 n
13842 s/.\{148\}/&'"$ac_delim"'/g
13843 t clear
13844 :clear
13845 s/\\$//
13846 t bsnlc
13847 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13848 d
13849 :bsnlc
13850 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13851 b cont
13852 ' <confdefs.h | sed '
13853 s/'"$ac_delim"'/"\\\
13854 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13855
13856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13857   for (key in D) D_is_set[key] = 1
13858   FS = "\a"
13859 }
13860 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13861   line = \$ 0
13862   split(line, arg, " ")
13863   if (arg[1] == "#") {
13864     defundef = arg[2]
13865     mac1 = arg[3]
13866   } else {
13867     defundef = substr(arg[1], 2)
13868     mac1 = arg[2]
13869   }
13870   split(mac1, mac2, "(") #)
13871   macro = mac2[1]
13872   prefix = substr(line, 1, index(line, defundef) - 1)
13873   if (D_is_set[macro]) {
13874     # Preserve the white space surrounding the "#".
13875     print prefix "define", macro P[macro] D[macro]
13876     next
13877   } else {
13878     # Replace #undef with comments.  This is necessary, for example,
13879     # in the case of _POSIX_SOURCE, which is predefined and required
13880     # on some systems where configure will not decide to define it.
13881     if (defundef == "undef") {
13882       print "/*", prefix defundef, macro, "*/"
13883       next
13884     }
13885   }
13886 }
13887 { print }
13888 _ACAWK
13889 _ACEOF
13890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13891   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13892 fi # test -n "$CONFIG_HEADERS"
13893
13894
13895 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13896 shift
13897 for ac_tag
13898 do
13899   case $ac_tag in
13900   :[FHLC]) ac_mode=$ac_tag; continue;;
13901   esac
13902   case $ac_mode$ac_tag in
13903   :[FHL]*:*);;
13904   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13905   :[FH]-) ac_tag=-:-;;
13906   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13907   esac
13908   ac_save_IFS=$IFS
13909   IFS=:
13910   set x $ac_tag
13911   IFS=$ac_save_IFS
13912   shift
13913   ac_file=$1
13914   shift
13915
13916   case $ac_mode in
13917   :L) ac_source=$1;;
13918   :[FH])
13919     ac_file_inputs=
13920     for ac_f
13921     do
13922       case $ac_f in
13923       -) ac_f="$ac_tmp/stdin";;
13924       *) # Look for the file first in the build tree, then in the source tree
13925          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13926          # because $ac_f cannot contain `:'.
13927          test -f "$ac_f" ||
13928            case $ac_f in
13929            [\\/$]*) false;;
13930            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13931            esac ||
13932            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13933       esac
13934       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13935       as_fn_append ac_file_inputs " '$ac_f'"
13936     done
13937
13938     # Let's still pretend it is `configure' which instantiates (i.e., don't
13939     # use $as_me), people would be surprised to read:
13940     #    /* config.h.  Generated by config.status.  */
13941     configure_input='Generated from '`
13942           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13943         `' by configure.'
13944     if test x"$ac_file" != x-; then
13945       configure_input="$ac_file.  $configure_input"
13946       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13947 $as_echo "$as_me: creating $ac_file" >&6;}
13948     fi
13949     # Neutralize special characters interpreted by sed in replacement strings.
13950     case $configure_input in #(
13951     *\&* | *\|* | *\\* )
13952        ac_sed_conf_input=`$as_echo "$configure_input" |
13953        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13954     *) ac_sed_conf_input=$configure_input;;
13955     esac
13956
13957     case $ac_tag in
13958     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13959       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13960     esac
13961     ;;
13962   esac
13963
13964   ac_dir=`$as_dirname -- "$ac_file" ||
13965 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13966          X"$ac_file" : 'X\(//\)[^/]' \| \
13967          X"$ac_file" : 'X\(//\)$' \| \
13968          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13969 $as_echo X"$ac_file" |
13970     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13971             s//\1/
13972             q
13973           }
13974           /^X\(\/\/\)[^/].*/{
13975             s//\1/
13976             q
13977           }
13978           /^X\(\/\/\)$/{
13979             s//\1/
13980             q
13981           }
13982           /^X\(\/\).*/{
13983             s//\1/
13984             q
13985           }
13986           s/.*/./; q'`
13987   as_dir="$ac_dir"; as_fn_mkdir_p
13988   ac_builddir=.
13989
13990 case "$ac_dir" in
13991 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13992 *)
13993   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13994   # A ".." for each directory in $ac_dir_suffix.
13995   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13996   case $ac_top_builddir_sub in
13997   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13998   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13999   esac ;;
14000 esac
14001 ac_abs_top_builddir=$ac_pwd
14002 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14003 # for backward compatibility:
14004 ac_top_builddir=$ac_top_build_prefix
14005
14006 case $srcdir in
14007   .)  # We are building in place.
14008     ac_srcdir=.
14009     ac_top_srcdir=$ac_top_builddir_sub
14010     ac_abs_top_srcdir=$ac_pwd ;;
14011   [\\/]* | ?:[\\/]* )  # Absolute name.
14012     ac_srcdir=$srcdir$ac_dir_suffix;
14013     ac_top_srcdir=$srcdir
14014     ac_abs_top_srcdir=$srcdir ;;
14015   *) # Relative name.
14016     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14017     ac_top_srcdir=$ac_top_build_prefix$srcdir
14018     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14019 esac
14020 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14021
14022
14023   case $ac_mode in
14024   :F)
14025   #
14026   # CONFIG_FILE
14027   #
14028
14029   case $INSTALL in
14030   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14031   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14032   esac
14033   ac_MKDIR_P=$MKDIR_P
14034   case $MKDIR_P in
14035   [\\/$]* | ?:[\\/]* ) ;;
14036   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14037   esac
14038 _ACEOF
14039
14040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14041 # If the template does not know about datarootdir, expand it.
14042 # FIXME: This hack should be removed a few years after 2.60.
14043 ac_datarootdir_hack=; ac_datarootdir_seen=
14044 ac_sed_dataroot='
14045 /datarootdir/ {
14046   p
14047   q
14048 }
14049 /@datadir@/p
14050 /@docdir@/p
14051 /@infodir@/p
14052 /@localedir@/p
14053 /@mandir@/p'
14054 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14055 *datarootdir*) ac_datarootdir_seen=yes;;
14056 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14057   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14058 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14059 _ACEOF
14060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14061   ac_datarootdir_hack='
14062   s&@datadir@&$datadir&g
14063   s&@docdir@&$docdir&g
14064   s&@infodir@&$infodir&g
14065   s&@localedir@&$localedir&g
14066   s&@mandir@&$mandir&g
14067   s&\\\${datarootdir}&$datarootdir&g' ;;
14068 esac
14069 _ACEOF
14070
14071 # Neutralize VPATH when `$srcdir' = `.'.
14072 # Shell code in configure.ac might set extrasub.
14073 # FIXME: do we really want to maintain this feature?
14074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14075 ac_sed_extra="$ac_vpsub
14076 $extrasub
14077 _ACEOF
14078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14079 :t
14080 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14081 s|@configure_input@|$ac_sed_conf_input|;t t
14082 s&@top_builddir@&$ac_top_builddir_sub&;t t
14083 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14084 s&@srcdir@&$ac_srcdir&;t t
14085 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14086 s&@top_srcdir@&$ac_top_srcdir&;t t
14087 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14088 s&@builddir@&$ac_builddir&;t t
14089 s&@abs_builddir@&$ac_abs_builddir&;t t
14090 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14091 s&@INSTALL@&$ac_INSTALL&;t t
14092 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14093 $ac_datarootdir_hack
14094 "
14095 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14096   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14097
14098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14099   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14100   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14101       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14102   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14103 which seems to be undefined.  Please make sure it is defined" >&5
14104 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14105 which seems to be undefined.  Please make sure it is defined" >&2;}
14106
14107   rm -f "$ac_tmp/stdin"
14108   case $ac_file in
14109   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14110   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14111   esac \
14112   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14113  ;;
14114   :H)
14115   #
14116   # CONFIG_HEADER
14117   #
14118   if test x"$ac_file" != x-; then
14119     {
14120       $as_echo "/* $configure_input  */" \
14121       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14122     } >"$ac_tmp/config.h" \
14123       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14124     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14125       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14126 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14127     else
14128       rm -f "$ac_file"
14129       mv "$ac_tmp/config.h" "$ac_file" \
14130         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14131     fi
14132   else
14133     $as_echo "/* $configure_input  */" \
14134       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14135       || as_fn_error $? "could not create -" "$LINENO" 5
14136   fi
14137 # Compute "$ac_file"'s index in $config_headers.
14138 _am_arg="$ac_file"
14139 _am_stamp_count=1
14140 for _am_header in $config_headers :; do
14141   case $_am_header in
14142     $_am_arg | $_am_arg:* )
14143       break ;;
14144     * )
14145       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14146   esac
14147 done
14148 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14149 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14150          X"$_am_arg" : 'X\(//\)[^/]' \| \
14151          X"$_am_arg" : 'X\(//\)$' \| \
14152          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14153 $as_echo X"$_am_arg" |
14154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14155             s//\1/
14156             q
14157           }
14158           /^X\(\/\/\)[^/].*/{
14159             s//\1/
14160             q
14161           }
14162           /^X\(\/\/\)$/{
14163             s//\1/
14164             q
14165           }
14166           /^X\(\/\).*/{
14167             s//\1/
14168             q
14169           }
14170           s/.*/./; q'`/stamp-h$_am_stamp_count
14171  ;;
14172
14173   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14174 $as_echo "$as_me: executing $ac_file commands" >&6;}
14175  ;;
14176   esac
14177
14178
14179   case $ac_file$ac_mode in
14180     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14181   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14182   # are listed without --file.  Let's play safe and only enable the eval
14183   # if we detect the quoting.
14184   case $CONFIG_FILES in
14185   *\'*) eval set x "$CONFIG_FILES" ;;
14186   *)   set x $CONFIG_FILES ;;
14187   esac
14188   shift
14189   for mf
14190   do
14191     # Strip MF so we end up with the name of the file.
14192     mf=`echo "$mf" | sed -e 's/:.*$//'`
14193     # Check whether this is an Automake generated Makefile or not.
14194     # We used to match only the files named `Makefile.in', but
14195     # some people rename them; so instead we look at the file content.
14196     # Grep'ing the first line is not enough: some people post-process
14197     # each Makefile.in and add a new line on top of each file to say so.
14198     # Grep'ing the whole file is not good either: AIX grep has a line
14199     # limit of 2048, but all sed's we know have understand at least 4000.
14200     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14201       dirpart=`$as_dirname -- "$mf" ||
14202 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14203          X"$mf" : 'X\(//\)[^/]' \| \
14204          X"$mf" : 'X\(//\)$' \| \
14205          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14206 $as_echo X"$mf" |
14207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14208             s//\1/
14209             q
14210           }
14211           /^X\(\/\/\)[^/].*/{
14212             s//\1/
14213             q
14214           }
14215           /^X\(\/\/\)$/{
14216             s//\1/
14217             q
14218           }
14219           /^X\(\/\).*/{
14220             s//\1/
14221             q
14222           }
14223           s/.*/./; q'`
14224     else
14225       continue
14226     fi
14227     # Extract the definition of DEPDIR, am__include, and am__quote
14228     # from the Makefile without running `make'.
14229     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14230     test -z "$DEPDIR" && continue
14231     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14232     test -z "am__include" && continue
14233     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14234     # When using ansi2knr, U may be empty or an underscore; expand it
14235     U=`sed -n 's/^U = //p' < "$mf"`
14236     # Find all dependency output files, they are included files with
14237     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14238     # simplest approach to changing $(DEPDIR) to its actual value in the
14239     # expansion.
14240     for file in `sed -n "
14241       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14242          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14243       # Make sure the directory exists.
14244       test -f "$dirpart/$file" && continue
14245       fdir=`$as_dirname -- "$file" ||
14246 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14247          X"$file" : 'X\(//\)[^/]' \| \
14248          X"$file" : 'X\(//\)$' \| \
14249          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14250 $as_echo X"$file" |
14251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14252             s//\1/
14253             q
14254           }
14255           /^X\(\/\/\)[^/].*/{
14256             s//\1/
14257             q
14258           }
14259           /^X\(\/\/\)$/{
14260             s//\1/
14261             q
14262           }
14263           /^X\(\/\).*/{
14264             s//\1/
14265             q
14266           }
14267           s/.*/./; q'`
14268       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14269       # echo "creating $dirpart/$file"
14270       echo '# dummy' > "$dirpart/$file"
14271     done
14272   done
14273 }
14274  ;;
14275     "libtool":C)
14276
14277     # See if we are running on zsh, and set the options which allow our
14278     # commands through without removal of \ escapes.
14279     if test -n "${ZSH_VERSION+set}" ; then
14280       setopt NO_GLOB_SUBST
14281     fi
14282
14283     cfgfile="${ofile}T"
14284     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14285     $RM "$cfgfile"
14286
14287     cat <<_LT_EOF >> "$cfgfile"
14288 #! $SHELL
14289
14290 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14291 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14292 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14293 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14294 #
14295 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14296 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14297 #                 Foundation, Inc.
14298 #   Written by Gordon Matzigkeit, 1996
14299 #
14300 #   This file is part of GNU Libtool.
14301 #
14302 # GNU Libtool is free software; you can redistribute it and/or
14303 # modify it under the terms of the GNU General Public License as
14304 # published by the Free Software Foundation; either version 2 of
14305 # the License, or (at your option) any later version.
14306 #
14307 # As a special exception to the GNU General Public License,
14308 # if you distribute this file as part of a program or library that
14309 # is built using GNU Libtool, you may include this file under the
14310 # same distribution terms that you use for the rest of that program.
14311 #
14312 # GNU Libtool is distributed in the hope that it will be useful,
14313 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14314 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14315 # GNU General Public License for more details.
14316 #
14317 # You should have received a copy of the GNU General Public License
14318 # along with GNU Libtool; see the file COPYING.  If not, a copy
14319 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14320 # obtained by writing to the Free Software Foundation, Inc.,
14321 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14322
14323
14324 # The names of the tagged configurations supported by this script.
14325 available_tags=""
14326
14327 # ### BEGIN LIBTOOL CONFIG
14328
14329 # Which release of libtool.m4 was used?
14330 macro_version=$macro_version
14331 macro_revision=$macro_revision
14332
14333 # Assembler program.
14334 AS=$lt_AS
14335
14336 # DLL creation program.
14337 DLLTOOL=$lt_DLLTOOL
14338
14339 # Object dumper program.
14340 OBJDUMP=$lt_OBJDUMP
14341
14342 # Whether or not to build shared libraries.
14343 build_libtool_libs=$enable_shared
14344
14345 # Whether or not to build static libraries.
14346 build_old_libs=$enable_static
14347
14348 # What type of objects to build.
14349 pic_mode=$pic_mode
14350
14351 # Whether or not to optimize for fast installation.
14352 fast_install=$enable_fast_install
14353
14354 # Shell to use when invoking shell scripts.
14355 SHELL=$lt_SHELL
14356
14357 # An echo program that protects backslashes.
14358 ECHO=$lt_ECHO
14359
14360 # The PATH separator for the build system.
14361 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14362
14363 # The host system.
14364 host_alias=$host_alias
14365 host=$host
14366 host_os=$host_os
14367
14368 # The build system.
14369 build_alias=$build_alias
14370 build=$build
14371 build_os=$build_os
14372
14373 # A sed program that does not truncate output.
14374 SED=$lt_SED
14375
14376 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14377 Xsed="\$SED -e 1s/^X//"
14378
14379 # A grep program that handles long lines.
14380 GREP=$lt_GREP
14381
14382 # An ERE matcher.
14383 EGREP=$lt_EGREP
14384
14385 # A literal string matcher.
14386 FGREP=$lt_FGREP
14387
14388 # A BSD- or MS-compatible name lister.
14389 NM=$lt_NM
14390
14391 # Whether we need soft or hard links.
14392 LN_S=$lt_LN_S
14393
14394 # What is the maximum length of a command?
14395 max_cmd_len=$max_cmd_len
14396
14397 # Object file suffix (normally "o").
14398 objext=$ac_objext
14399
14400 # Executable file suffix (normally "").
14401 exeext=$exeext
14402
14403 # whether the shell understands "unset".
14404 lt_unset=$lt_unset
14405
14406 # turn spaces into newlines.
14407 SP2NL=$lt_lt_SP2NL
14408
14409 # turn newlines into spaces.
14410 NL2SP=$lt_lt_NL2SP
14411
14412 # convert \$build file names to \$host format.
14413 to_host_file_cmd=$lt_cv_to_host_file_cmd
14414
14415 # convert \$build files to toolchain format.
14416 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14417
14418 # Method to check whether dependent libraries are shared objects.
14419 deplibs_check_method=$lt_deplibs_check_method
14420
14421 # Command to use when deplibs_check_method = "file_magic".
14422 file_magic_cmd=$lt_file_magic_cmd
14423
14424 # How to find potential files when deplibs_check_method = "file_magic".
14425 file_magic_glob=$lt_file_magic_glob
14426
14427 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14428 want_nocaseglob=$lt_want_nocaseglob
14429
14430 # Command to associate shared and link libraries.
14431 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14432
14433 # The archiver.
14434 AR=$lt_AR
14435
14436 # Flags to create an archive.
14437 AR_FLAGS=$lt_AR_FLAGS
14438
14439 # How to feed a file listing to the archiver.
14440 archiver_list_spec=$lt_archiver_list_spec
14441
14442 # A symbol stripping program.
14443 STRIP=$lt_STRIP
14444
14445 # Commands used to install an old-style archive.
14446 RANLIB=$lt_RANLIB
14447 old_postinstall_cmds=$lt_old_postinstall_cmds
14448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14449
14450 # Whether to use a lock for old archive extraction.
14451 lock_old_archive_extraction=$lock_old_archive_extraction
14452
14453 # A C compiler.
14454 LTCC=$lt_CC
14455
14456 # LTCC compiler flags.
14457 LTCFLAGS=$lt_CFLAGS
14458
14459 # Take the output of nm and produce a listing of raw symbols and C names.
14460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14461
14462 # Transform the output of nm in a proper C declaration.
14463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14464
14465 # Transform the output of nm in a C name address pair.
14466 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14467
14468 # Transform the output of nm in a C name address pair when lib prefix is needed.
14469 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14470
14471 # Specify filename containing input files for \$NM.
14472 nm_file_list_spec=$lt_nm_file_list_spec
14473
14474 # The root where to search for dependent libraries,and in which our libraries should be installed.
14475 lt_sysroot=$lt_sysroot
14476
14477 # The name of the directory that contains temporary libtool files.
14478 objdir=$objdir
14479
14480 # Used to examine libraries when file_magic_cmd begins with "file".
14481 MAGIC_CMD=$MAGIC_CMD
14482
14483 # Must we lock files when doing compilation?
14484 need_locks=$lt_need_locks
14485
14486 # Manifest tool.
14487 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14488
14489 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14490 DSYMUTIL=$lt_DSYMUTIL
14491
14492 # Tool to change global to local symbols on Mac OS X.
14493 NMEDIT=$lt_NMEDIT
14494
14495 # Tool to manipulate fat objects and archives on Mac OS X.
14496 LIPO=$lt_LIPO
14497
14498 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14499 OTOOL=$lt_OTOOL
14500
14501 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14502 OTOOL64=$lt_OTOOL64
14503
14504 # Old archive suffix (normally "a").
14505 libext=$libext
14506
14507 # Shared library suffix (normally ".so").
14508 shrext_cmds=$lt_shrext_cmds
14509
14510 # The commands to extract the exported symbol list from a shared archive.
14511 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14512
14513 # Variables whose values should be saved in libtool wrapper scripts and
14514 # restored at link time.
14515 variables_saved_for_relink=$lt_variables_saved_for_relink
14516
14517 # Do we need the "lib" prefix for modules?
14518 need_lib_prefix=$need_lib_prefix
14519
14520 # Do we need a version for libraries?
14521 need_version=$need_version
14522
14523 # Library versioning type.
14524 version_type=$version_type
14525
14526 # Shared library runtime path variable.
14527 runpath_var=$runpath_var
14528
14529 # Shared library path variable.
14530 shlibpath_var=$shlibpath_var
14531
14532 # Is shlibpath searched before the hard-coded library search path?
14533 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14534
14535 # Format of library name prefix.
14536 libname_spec=$lt_libname_spec
14537
14538 # List of archive names.  First name is the real one, the rest are links.
14539 # The last name is the one that the linker finds with -lNAME
14540 library_names_spec=$lt_library_names_spec
14541
14542 # The coded name of the library, if different from the real name.
14543 soname_spec=$lt_soname_spec
14544
14545 # Permission mode override for installation of shared libraries.
14546 install_override_mode=$lt_install_override_mode
14547
14548 # Command to use after installation of a shared archive.
14549 postinstall_cmds=$lt_postinstall_cmds
14550
14551 # Command to use after uninstallation of a shared archive.
14552 postuninstall_cmds=$lt_postuninstall_cmds
14553
14554 # Commands used to finish a libtool library installation in a directory.
14555 finish_cmds=$lt_finish_cmds
14556
14557 # As "finish_cmds", except a single script fragment to be evaled but
14558 # not shown.
14559 finish_eval=$lt_finish_eval
14560
14561 # Whether we should hardcode library paths into libraries.
14562 hardcode_into_libs=$hardcode_into_libs
14563
14564 # Compile-time system search path for libraries.
14565 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14566
14567 # Run-time system search path for libraries.
14568 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14569
14570 # Whether dlopen is supported.
14571 dlopen_support=$enable_dlopen
14572
14573 # Whether dlopen of programs is supported.
14574 dlopen_self=$enable_dlopen_self
14575
14576 # Whether dlopen of statically linked programs is supported.
14577 dlopen_self_static=$enable_dlopen_self_static
14578
14579 # Commands to strip libraries.
14580 old_striplib=$lt_old_striplib
14581 striplib=$lt_striplib
14582
14583
14584 # The linker used to build libraries.
14585 LD=$lt_LD
14586
14587 # How to create reloadable object files.
14588 reload_flag=$lt_reload_flag
14589 reload_cmds=$lt_reload_cmds
14590
14591 # Commands used to build an old-style archive.
14592 old_archive_cmds=$lt_old_archive_cmds
14593
14594 # A language specific compiler.
14595 CC=$lt_compiler
14596
14597 # Is the compiler the GNU compiler?
14598 with_gcc=$GCC
14599
14600 # Compiler flag to turn off builtin functions.
14601 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14602
14603 # Additional compiler flags for building library objects.
14604 pic_flag=$lt_lt_prog_compiler_pic
14605
14606 # How to pass a linker flag through the compiler.
14607 wl=$lt_lt_prog_compiler_wl
14608
14609 # Compiler flag to prevent dynamic linking.
14610 link_static_flag=$lt_lt_prog_compiler_static
14611
14612 # Does compiler simultaneously support -c and -o options?
14613 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14614
14615 # Whether or not to add -lc for building shared libraries.
14616 build_libtool_need_lc=$archive_cmds_need_lc
14617
14618 # Whether or not to disallow shared libs when runtime libs are static.
14619 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14620
14621 # Compiler flag to allow reflexive dlopens.
14622 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14623
14624 # Compiler flag to generate shared objects directly from archives.
14625 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14626
14627 # Whether the compiler copes with passing no objects directly.
14628 compiler_needs_object=$lt_compiler_needs_object
14629
14630 # Create an old-style archive from a shared archive.
14631 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14632
14633 # Create a temporary old-style archive to link instead of a shared archive.
14634 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14635
14636 # Commands used to build a shared archive.
14637 archive_cmds=$lt_archive_cmds
14638 archive_expsym_cmds=$lt_archive_expsym_cmds
14639
14640 # Commands used to build a loadable module if different from building
14641 # a shared archive.
14642 module_cmds=$lt_module_cmds
14643 module_expsym_cmds=$lt_module_expsym_cmds
14644
14645 # Whether we are building with GNU ld or not.
14646 with_gnu_ld=$lt_with_gnu_ld
14647
14648 # Flag that allows shared libraries with undefined symbols to be built.
14649 allow_undefined_flag=$lt_allow_undefined_flag
14650
14651 # Flag that enforces no undefined symbols.
14652 no_undefined_flag=$lt_no_undefined_flag
14653
14654 # Flag to hardcode \$libdir into a binary during linking.
14655 # This must work even if \$libdir does not exist
14656 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14657
14658 # Whether we need a single "-rpath" flag with a separated argument.
14659 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14660
14661 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14662 # DIR into the resulting binary.
14663 hardcode_direct=$hardcode_direct
14664
14665 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14666 # DIR into the resulting binary and the resulting library dependency is
14667 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14668 # library is relocated.
14669 hardcode_direct_absolute=$hardcode_direct_absolute
14670
14671 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14672 # into the resulting binary.
14673 hardcode_minus_L=$hardcode_minus_L
14674
14675 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14676 # into the resulting binary.
14677 hardcode_shlibpath_var=$hardcode_shlibpath_var
14678
14679 # Set to "yes" if building a shared library automatically hardcodes DIR
14680 # into the library and all subsequent libraries and executables linked
14681 # against it.
14682 hardcode_automatic=$hardcode_automatic
14683
14684 # Set to yes if linker adds runtime paths of dependent libraries
14685 # to runtime path list.
14686 inherit_rpath=$inherit_rpath
14687
14688 # Whether libtool must link a program against all its dependency libraries.
14689 link_all_deplibs=$link_all_deplibs
14690
14691 # Set to "yes" if exported symbols are required.
14692 always_export_symbols=$always_export_symbols
14693
14694 # The commands to list exported symbols.
14695 export_symbols_cmds=$lt_export_symbols_cmds
14696
14697 # Symbols that should not be listed in the preloaded symbols.
14698 exclude_expsyms=$lt_exclude_expsyms
14699
14700 # Symbols that must always be exported.
14701 include_expsyms=$lt_include_expsyms
14702
14703 # Commands necessary for linking programs (against libraries) with templates.
14704 prelink_cmds=$lt_prelink_cmds
14705
14706 # Commands necessary for finishing linking programs.
14707 postlink_cmds=$lt_postlink_cmds
14708
14709 # Specify filename containing input files.
14710 file_list_spec=$lt_file_list_spec
14711
14712 # How to hardcode a shared library path into an executable.
14713 hardcode_action=$hardcode_action
14714
14715 # ### END LIBTOOL CONFIG
14716
14717 _LT_EOF
14718
14719   case $host_os in
14720   aix3*)
14721     cat <<\_LT_EOF >> "$cfgfile"
14722 # AIX sometimes has problems with the GCC collect2 program.  For some
14723 # reason, if we set the COLLECT_NAMES environment variable, the problems
14724 # vanish in a puff of smoke.
14725 if test "X${COLLECT_NAMES+set}" != Xset; then
14726   COLLECT_NAMES=
14727   export COLLECT_NAMES
14728 fi
14729 _LT_EOF
14730     ;;
14731   esac
14732
14733
14734 ltmain="$ac_aux_dir/ltmain.sh"
14735
14736
14737   # We use sed instead of cat because bash on DJGPP gets confused if
14738   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14739   # text mode, it properly converts lines to CR/LF.  This bash problem
14740   # is reportedly fixed, but why not run on old versions too?
14741   sed '$q' "$ltmain" >> "$cfgfile" \
14742      || (rm -f "$cfgfile"; exit 1)
14743
14744   if test x"$xsi_shell" = xyes; then
14745   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14746 func_dirname ()\
14747 {\
14748 \    case ${1} in\
14749 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14750 \      *  ) func_dirname_result="${3}" ;;\
14751 \    esac\
14752 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14753   && mv -f "$cfgfile.tmp" "$cfgfile" \
14754     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14755 test 0 -eq $? || _lt_function_replace_fail=:
14756
14757
14758   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14759 func_basename ()\
14760 {\
14761 \    func_basename_result="${1##*/}"\
14762 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14763   && mv -f "$cfgfile.tmp" "$cfgfile" \
14764     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14765 test 0 -eq $? || _lt_function_replace_fail=:
14766
14767
14768   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14769 func_dirname_and_basename ()\
14770 {\
14771 \    case ${1} in\
14772 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14773 \      *  ) func_dirname_result="${3}" ;;\
14774 \    esac\
14775 \    func_basename_result="${1##*/}"\
14776 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14777   && mv -f "$cfgfile.tmp" "$cfgfile" \
14778     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14779 test 0 -eq $? || _lt_function_replace_fail=:
14780
14781
14782   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14783 func_stripname ()\
14784 {\
14785 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14786 \    # positional parameters, so assign one to ordinary parameter first.\
14787 \    func_stripname_result=${3}\
14788 \    func_stripname_result=${func_stripname_result#"${1}"}\
14789 \    func_stripname_result=${func_stripname_result%"${2}"}\
14790 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14791   && mv -f "$cfgfile.tmp" "$cfgfile" \
14792     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14793 test 0 -eq $? || _lt_function_replace_fail=:
14794
14795
14796   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14797 func_split_long_opt ()\
14798 {\
14799 \    func_split_long_opt_name=${1%%=*}\
14800 \    func_split_long_opt_arg=${1#*=}\
14801 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14802   && mv -f "$cfgfile.tmp" "$cfgfile" \
14803     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14804 test 0 -eq $? || _lt_function_replace_fail=:
14805
14806
14807   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14808 func_split_short_opt ()\
14809 {\
14810 \    func_split_short_opt_arg=${1#??}\
14811 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14812 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14813   && mv -f "$cfgfile.tmp" "$cfgfile" \
14814     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14815 test 0 -eq $? || _lt_function_replace_fail=:
14816
14817
14818   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14819 func_lo2o ()\
14820 {\
14821 \    case ${1} in\
14822 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14823 \      *)    func_lo2o_result=${1} ;;\
14824 \    esac\
14825 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14826   && mv -f "$cfgfile.tmp" "$cfgfile" \
14827     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14828 test 0 -eq $? || _lt_function_replace_fail=:
14829
14830
14831   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14832 func_xform ()\
14833 {\
14834     func_xform_result=${1%.*}.lo\
14835 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14836   && mv -f "$cfgfile.tmp" "$cfgfile" \
14837     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14838 test 0 -eq $? || _lt_function_replace_fail=:
14839
14840
14841   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14842 func_arith ()\
14843 {\
14844     func_arith_result=$(( $* ))\
14845 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14846   && mv -f "$cfgfile.tmp" "$cfgfile" \
14847     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14848 test 0 -eq $? || _lt_function_replace_fail=:
14849
14850
14851   sed -e '/^func_len ()$/,/^} # func_len /c\
14852 func_len ()\
14853 {\
14854     func_len_result=${#1}\
14855 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14856   && mv -f "$cfgfile.tmp" "$cfgfile" \
14857     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14858 test 0 -eq $? || _lt_function_replace_fail=:
14859
14860 fi
14861
14862 if test x"$lt_shell_append" = xyes; then
14863   sed -e '/^func_append ()$/,/^} # func_append /c\
14864 func_append ()\
14865 {\
14866     eval "${1}+=\\${2}"\
14867 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14868   && mv -f "$cfgfile.tmp" "$cfgfile" \
14869     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14870 test 0 -eq $? || _lt_function_replace_fail=:
14871
14872
14873   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14874 func_append_quoted ()\
14875 {\
14876 \    func_quote_for_eval "${2}"\
14877 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14878 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14879   && mv -f "$cfgfile.tmp" "$cfgfile" \
14880     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14881 test 0 -eq $? || _lt_function_replace_fail=:
14882
14883
14884   # Save a `func_append' function call where possible by direct use of '+='
14885   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14886     && mv -f "$cfgfile.tmp" "$cfgfile" \
14887       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14888   test 0 -eq $? || _lt_function_replace_fail=:
14889 else
14890   # Save a `func_append' function call even when '+=' is not available
14891   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14892     && mv -f "$cfgfile.tmp" "$cfgfile" \
14893       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14894   test 0 -eq $? || _lt_function_replace_fail=:
14895 fi
14896
14897 if test x"$_lt_function_replace_fail" = x":"; then
14898   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14899 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14900 fi
14901
14902
14903    mv -f "$cfgfile" "$ofile" ||
14904     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14905   chmod +x "$ofile"
14906
14907  ;;
14908
14909   esac
14910 done # for ac_tag
14911
14912
14913 as_fn_exit 0
14914 _ACEOF
14915 ac_clean_files=$ac_clean_files_save
14916
14917 test $ac_write_fail = 0 ||
14918   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14919
14920
14921 # configure is writing to config.log, and then calls config.status.
14922 # config.status does its own redirection, appending to config.log.
14923 # Unfortunately, on DOS this fails, as config.log is still kept open
14924 # by configure, so config.status won't be able to write to it; its
14925 # output is simply discarded.  So we exec the FD to /dev/null,
14926 # effectively closing config.log, so it can be properly (re)opened and
14927 # appended to by config.status.  When coming back to configure, we
14928 # need to make the FD available again.
14929 if test "$no_create" != yes; then
14930   ac_cs_success=:
14931   ac_config_status_args=
14932   test "$silent" = yes &&
14933     ac_config_status_args="$ac_config_status_args --quiet"
14934   exec 5>/dev/null
14935   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14936   exec 5>>config.log
14937   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14938   # would make configure fail if this is the last instruction.
14939   $ac_cs_success || as_fn_exit 1
14940 fi
14941 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14942   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14943 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14944 fi
14945