Update to v0.4.0
[profile/ivi/dLeyna.git] / dleyna-server / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dleyna-server 0.4.0.
4 #
5 # Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/01org/dleyna-server/issues/new about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='dleyna-server'
592 PACKAGE_TARNAME='dleyna-server'
593 PACKAGE_VERSION='0.4.0'
594 PACKAGE_STRING='dleyna-server 0.4.0'
595 PACKAGE_BUGREPORT='https://github.com/01org/dleyna-server/issues/new'
596 PACKAGE_URL='https://01.org/dleyna/'
597
598 ac_unique_file="libdleyna/server/server.c"
599 ac_default_prefix=/usr/local
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 with_log_type
640 with_log_level
641 with_connector_name
642 never_quit
643 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE
644 DLEYNA_SERVER_INTERFACE_MANAGER
645 DLEYNA_SERVER_NAME
646 BUILD_SERVER_FALSE
647 BUILD_SERVER_TRUE
648 DBUS_SERVICE_DIR
649 DLEYNA_CORE_LIBS
650 DLEYNA_CORE_CFLAGS
651 LIBOBJS
652 SOUP_LIBS
653 SOUP_CFLAGS
654 GUPNPDLNA_LIBS
655 GUPNPDLNA_CFLAGS
656 GUPNPAV_LIBS
657 GUPNPAV_CFLAGS
658 GUPNP_LIBS
659 GUPNP_CFLAGS
660 GSSDP_LIBS
661 GSSDP_CFLAGS
662 GIO_LIBS
663 GIO_CFLAGS
664 GLIB_LIBS
665 GLIB_CFLAGS
666 PKG_CONFIG_LIBDIR
667 PKG_CONFIG_PATH
668 PKG_CONFIG
669 CPP
670 OTOOL64
671 OTOOL
672 LIPO
673 NMEDIT
674 DSYMUTIL
675 MANIFEST_TOOL
676 RANLIB
677 ac_ct_AR
678 AR
679 DLLTOOL
680 OBJDUMP
681 LN_S
682 NM
683 ac_ct_DUMPBIN
684 DUMPBIN
685 LD
686 FGREP
687 EGREP
688 GREP
689 SED
690 host_os
691 host_vendor
692 host_cpu
693 host
694 build_os
695 build_vendor
696 build_cpu
697 build
698 LIBTOOL
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__quote
707 am__include
708 DEPDIR
709 OBJEXT
710 EXEEXT
711 ac_ct_CC
712 CPPFLAGS
713 LDFLAGS
714 CFLAGS
715 CC
716 MAINT
717 MAINTAINER_MODE_FALSE
718 MAINTAINER_MODE_TRUE
719 AM_BACKSLASH
720 AM_DEFAULT_VERBOSITY
721 AM_DEFAULT_V
722 AM_V
723 am__untar
724 am__tar
725 AMTAR
726 am__leading_dot
727 SET_MAKE
728 AWK
729 mkdir_p
730 MKDIR_P
731 INSTALL_STRIP_PROGRAM
732 STRIP
733 install_sh
734 MAKEINFO
735 AUTOHEADER
736 AUTOMAKE
737 AUTOCONF
738 ACLOCAL
739 VERSION
740 PACKAGE
741 CYGPATH_W
742 am__isrc
743 INSTALL_DATA
744 INSTALL_SCRIPT
745 INSTALL_PROGRAM
746 target_alias
747 host_alias
748 build_alias
749 LIBS
750 ECHO_T
751 ECHO_N
752 ECHO_C
753 DEFS
754 mandir
755 localedir
756 libdir
757 psdir
758 pdfdir
759 dvidir
760 htmldir
761 infodir
762 docdir
763 oldincludedir
764 includedir
765 localstatedir
766 sharedstatedir
767 sysconfdir
768 datadir
769 datarootdir
770 libexecdir
771 sbindir
772 bindir
773 program_transform_name
774 prefix
775 exec_prefix
776 PACKAGE_URL
777 PACKAGE_BUGREPORT
778 PACKAGE_STRING
779 PACKAGE_VERSION
780 PACKAGE_TARNAME
781 PACKAGE_NAME
782 PATH_SEPARATOR
783 SHELL'
784 ac_subst_files=''
785 ac_user_opts='
786 enable_option_checking
787 enable_silent_rules
788 enable_maintainer_mode
789 enable_dependency_tracking
790 enable_static
791 enable_shared
792 with_pic
793 enable_fast_install
794 with_gnu_ld
795 with_sysroot
796 enable_libtool_lock
797 enable_master_build
798 enable_debug
799 enable_werror
800 enable_optimization
801 enable_never_quit
802 with_connector_name
803 with_log_level
804 with_log_type
805 with_ua_prefix
806 with_dbus_service_dir
807 enable_lib_only
808 '
809       ac_precious_vars='build_alias
810 host_alias
811 target_alias
812 CC
813 CFLAGS
814 LDFLAGS
815 LIBS
816 CPPFLAGS
817 CPP
818 PKG_CONFIG
819 PKG_CONFIG_PATH
820 PKG_CONFIG_LIBDIR
821 GLIB_CFLAGS
822 GLIB_LIBS
823 GIO_CFLAGS
824 GIO_LIBS
825 GSSDP_CFLAGS
826 GSSDP_LIBS
827 GUPNP_CFLAGS
828 GUPNP_LIBS
829 GUPNPAV_CFLAGS
830 GUPNPAV_LIBS
831 GUPNPDLNA_CFLAGS
832 GUPNPDLNA_LIBS
833 SOUP_CFLAGS
834 SOUP_LIBS
835 DLEYNA_CORE_CFLAGS
836 DLEYNA_CORE_LIBS'
837
838
839 # Initialize some variables set by options.
840 ac_init_help=
841 ac_init_version=false
842 ac_unrecognized_opts=
843 ac_unrecognized_sep=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
846 cache_file=/dev/null
847 exec_prefix=NONE
848 no_create=
849 no_recursion=
850 prefix=NONE
851 program_prefix=NONE
852 program_suffix=NONE
853 program_transform_name=s,x,x,
854 silent=
855 site=
856 srcdir=
857 verbose=
858 x_includes=NONE
859 x_libraries=NONE
860
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir='${exec_prefix}/bin'
868 sbindir='${exec_prefix}/sbin'
869 libexecdir='${exec_prefix}/libexec'
870 datarootdir='${prefix}/share'
871 datadir='${datarootdir}'
872 sysconfdir='${prefix}/etc'
873 sharedstatedir='${prefix}/com'
874 localstatedir='${prefix}/var'
875 includedir='${prefix}/include'
876 oldincludedir='/usr/include'
877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir='${datarootdir}/info'
879 htmldir='${docdir}'
880 dvidir='${docdir}'
881 pdfdir='${docdir}'
882 psdir='${docdir}'
883 libdir='${exec_prefix}/lib'
884 localedir='${datarootdir}/locale'
885 mandir='${datarootdir}/man'
886
887 ac_prev=
888 ac_dashdash=
889 for ac_option
890 do
891   # If the previous option needs an argument, assign it.
892   if test -n "$ac_prev"; then
893     eval $ac_prev=\$ac_option
894     ac_prev=
895     continue
896   fi
897
898   case $ac_option in
899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900   *=)   ac_optarg= ;;
901   *)    ac_optarg=yes ;;
902   esac
903
904   # Accept the important Cygnus configure options, so we can diagnose typos.
905
906   case $ac_dashdash$ac_option in
907   --)
908     ac_dashdash=yes ;;
909
910   -bindir | --bindir | --bindi | --bind | --bin | --bi)
911     ac_prev=bindir ;;
912   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913     bindir=$ac_optarg ;;
914
915   -build | --build | --buil | --bui | --bu)
916     ac_prev=build_alias ;;
917   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
918     build_alias=$ac_optarg ;;
919
920   -cache-file | --cache-file | --cache-fil | --cache-fi \
921   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
922     ac_prev=cache_file ;;
923   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
924   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
925     cache_file=$ac_optarg ;;
926
927   --config-cache | -C)
928     cache_file=config.cache ;;
929
930   -datadir | --datadir | --datadi | --datad)
931     ac_prev=datadir ;;
932   -datadir=* | --datadir=* | --datadi=* | --datad=*)
933     datadir=$ac_optarg ;;
934
935   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
936   | --dataroo | --dataro | --datar)
937     ac_prev=datarootdir ;;
938   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
939   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
940     datarootdir=$ac_optarg ;;
941
942   -disable-* | --disable-*)
943     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944     # Reject names that are not valid shell variable names.
945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946       as_fn_error $? "invalid feature name: $ac_useropt"
947     ac_useropt_orig=$ac_useropt
948     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949     case $ac_user_opts in
950       *"
951 "enable_$ac_useropt"
952 "*) ;;
953       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954          ac_unrecognized_sep=', ';;
955     esac
956     eval enable_$ac_useropt=no ;;
957
958   -docdir | --docdir | --docdi | --doc | --do)
959     ac_prev=docdir ;;
960   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961     docdir=$ac_optarg ;;
962
963   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
964     ac_prev=dvidir ;;
965   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966     dvidir=$ac_optarg ;;
967
968   -enable-* | --enable-*)
969     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970     # Reject names that are not valid shell variable names.
971     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
972       as_fn_error $? "invalid feature name: $ac_useropt"
973     ac_useropt_orig=$ac_useropt
974     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975     case $ac_user_opts in
976       *"
977 "enable_$ac_useropt"
978 "*) ;;
979       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980          ac_unrecognized_sep=', ';;
981     esac
982     eval enable_$ac_useropt=\$ac_optarg ;;
983
984   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
985   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
986   | --exec | --exe | --ex)
987     ac_prev=exec_prefix ;;
988   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
989   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
990   | --exec=* | --exe=* | --ex=*)
991     exec_prefix=$ac_optarg ;;
992
993   -gas | --gas | --ga | --g)
994     # Obsolete; use --with-gas.
995     with_gas=yes ;;
996
997   -help | --help | --hel | --he | -h)
998     ac_init_help=long ;;
999   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1000     ac_init_help=recursive ;;
1001   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1002     ac_init_help=short ;;
1003
1004   -host | --host | --hos | --ho)
1005     ac_prev=host_alias ;;
1006   -host=* | --host=* | --hos=* | --ho=*)
1007     host_alias=$ac_optarg ;;
1008
1009   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1010     ac_prev=htmldir ;;
1011   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1012   | --ht=*)
1013     htmldir=$ac_optarg ;;
1014
1015   -includedir | --includedir | --includedi | --included | --include \
1016   | --includ | --inclu | --incl | --inc)
1017     ac_prev=includedir ;;
1018   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1019   | --includ=* | --inclu=* | --incl=* | --inc=*)
1020     includedir=$ac_optarg ;;
1021
1022   -infodir | --infodir | --infodi | --infod | --info | --inf)
1023     ac_prev=infodir ;;
1024   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1025     infodir=$ac_optarg ;;
1026
1027   -libdir | --libdir | --libdi | --libd)
1028     ac_prev=libdir ;;
1029   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1030     libdir=$ac_optarg ;;
1031
1032   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1033   | --libexe | --libex | --libe)
1034     ac_prev=libexecdir ;;
1035   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1036   | --libexe=* | --libex=* | --libe=*)
1037     libexecdir=$ac_optarg ;;
1038
1039   -localedir | --localedir | --localedi | --localed | --locale)
1040     ac_prev=localedir ;;
1041   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1042     localedir=$ac_optarg ;;
1043
1044   -localstatedir | --localstatedir | --localstatedi | --localstated \
1045   | --localstate | --localstat | --localsta | --localst | --locals)
1046     ac_prev=localstatedir ;;
1047   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1048   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1049     localstatedir=$ac_optarg ;;
1050
1051   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1052     ac_prev=mandir ;;
1053   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1054     mandir=$ac_optarg ;;
1055
1056   -nfp | --nfp | --nf)
1057     # Obsolete; use --without-fp.
1058     with_fp=no ;;
1059
1060   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1061   | --no-cr | --no-c | -n)
1062     no_create=yes ;;
1063
1064   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1065   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066     no_recursion=yes ;;
1067
1068   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1069   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1070   | --oldin | --oldi | --old | --ol | --o)
1071     ac_prev=oldincludedir ;;
1072   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1073   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1074   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1075     oldincludedir=$ac_optarg ;;
1076
1077   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1078     ac_prev=prefix ;;
1079   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1080     prefix=$ac_optarg ;;
1081
1082   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1083   | --program-pre | --program-pr | --program-p)
1084     ac_prev=program_prefix ;;
1085   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1086   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1087     program_prefix=$ac_optarg ;;
1088
1089   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1090   | --program-suf | --program-su | --program-s)
1091     ac_prev=program_suffix ;;
1092   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1093   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1094     program_suffix=$ac_optarg ;;
1095
1096   -program-transform-name | --program-transform-name \
1097   | --program-transform-nam | --program-transform-na \
1098   | --program-transform-n | --program-transform- \
1099   | --program-transform | --program-transfor \
1100   | --program-transfo | --program-transf \
1101   | --program-trans | --program-tran \
1102   | --progr-tra | --program-tr | --program-t)
1103     ac_prev=program_transform_name ;;
1104   -program-transform-name=* | --program-transform-name=* \
1105   | --program-transform-nam=* | --program-transform-na=* \
1106   | --program-transform-n=* | --program-transform-=* \
1107   | --program-transform=* | --program-transfor=* \
1108   | --program-transfo=* | --program-transf=* \
1109   | --program-trans=* | --program-tran=* \
1110   | --progr-tra=* | --program-tr=* | --program-t=*)
1111     program_transform_name=$ac_optarg ;;
1112
1113   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1114     ac_prev=pdfdir ;;
1115   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1116     pdfdir=$ac_optarg ;;
1117
1118   -psdir | --psdir | --psdi | --psd | --ps)
1119     ac_prev=psdir ;;
1120   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121     psdir=$ac_optarg ;;
1122
1123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1124   | -silent | --silent | --silen | --sile | --sil)
1125     silent=yes ;;
1126
1127   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1128     ac_prev=sbindir ;;
1129   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1130   | --sbi=* | --sb=*)
1131     sbindir=$ac_optarg ;;
1132
1133   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1134   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1135   | --sharedst | --shareds | --shared | --share | --shar \
1136   | --sha | --sh)
1137     ac_prev=sharedstatedir ;;
1138   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1139   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1140   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1141   | --sha=* | --sh=*)
1142     sharedstatedir=$ac_optarg ;;
1143
1144   -site | --site | --sit)
1145     ac_prev=site ;;
1146   -site=* | --site=* | --sit=*)
1147     site=$ac_optarg ;;
1148
1149   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1150     ac_prev=srcdir ;;
1151   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1152     srcdir=$ac_optarg ;;
1153
1154   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1155   | --syscon | --sysco | --sysc | --sys | --sy)
1156     ac_prev=sysconfdir ;;
1157   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1158   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1159     sysconfdir=$ac_optarg ;;
1160
1161   -target | --target | --targe | --targ | --tar | --ta | --t)
1162     ac_prev=target_alias ;;
1163   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1164     target_alias=$ac_optarg ;;
1165
1166   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167     verbose=yes ;;
1168
1169   -version | --version | --versio | --versi | --vers | -V)
1170     ac_init_version=: ;;
1171
1172   -with-* | --with-*)
1173     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174     # Reject names that are not valid shell variable names.
1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176       as_fn_error $? "invalid package name: $ac_useropt"
1177     ac_useropt_orig=$ac_useropt
1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179     case $ac_user_opts in
1180       *"
1181 "with_$ac_useropt"
1182 "*) ;;
1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184          ac_unrecognized_sep=', ';;
1185     esac
1186     eval with_$ac_useropt=\$ac_optarg ;;
1187
1188   -without-* | --without-*)
1189     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190     # Reject names that are not valid shell variable names.
1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192       as_fn_error $? "invalid package name: $ac_useropt"
1193     ac_useropt_orig=$ac_useropt
1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195     case $ac_user_opts in
1196       *"
1197 "with_$ac_useropt"
1198 "*) ;;
1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200          ac_unrecognized_sep=', ';;
1201     esac
1202     eval with_$ac_useropt=no ;;
1203
1204   --x)
1205     # Obsolete; use --with-x.
1206     with_x=yes ;;
1207
1208   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1209   | --x-incl | --x-inc | --x-in | --x-i)
1210     ac_prev=x_includes ;;
1211   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1212   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1213     x_includes=$ac_optarg ;;
1214
1215   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1216   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1217     ac_prev=x_libraries ;;
1218   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1219   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1220     x_libraries=$ac_optarg ;;
1221
1222   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1224     ;;
1225
1226   *=*)
1227     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1228     # Reject names that are not valid shell variable names.
1229     case $ac_envvar in #(
1230       '' | [0-9]* | *[!_$as_cr_alnum]* )
1231       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1232     esac
1233     eval $ac_envvar=\$ac_optarg
1234     export $ac_envvar ;;
1235
1236   *)
1237     # FIXME: should be removed in autoconf 3.0.
1238     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1240       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1242     ;;
1243
1244   esac
1245 done
1246
1247 if test -n "$ac_prev"; then
1248   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1249   as_fn_error $? "missing argument to $ac_option"
1250 fi
1251
1252 if test -n "$ac_unrecognized_opts"; then
1253   case $enable_option_checking in
1254     no) ;;
1255     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1256     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257   esac
1258 fi
1259
1260 # Check all directory arguments for consistency.
1261 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262                 datadir sysconfdir sharedstatedir localstatedir includedir \
1263                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264                 libdir localedir mandir
1265 do
1266   eval ac_val=\$$ac_var
1267   # Remove trailing slashes.
1268   case $ac_val in
1269     */ )
1270       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271       eval $ac_var=\$ac_val;;
1272   esac
1273   # Be sure to have absolute directory names.
1274   case $ac_val in
1275     [\\/$]* | ?:[\\/]* )  continue;;
1276     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1277   esac
1278   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 done
1280
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1284 build=$build_alias
1285 host=$host_alias
1286 target=$target_alias
1287
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x; then
1290   if test "x$build_alias" = x; then
1291     cross_compiling=maybe
1292   elif test "x$build_alias" != "x$host_alias"; then
1293     cross_compiling=yes
1294   fi
1295 fi
1296
1297 ac_tool_prefix=
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299
1300 test "$silent" = yes && exec 6>/dev/null
1301
1302
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306   as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308   as_fn_error $? "pwd does not report name of working directory"
1309
1310
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313   ac_srcdir_defaulted=yes
1314   # Try the directory containing this script, then the parent directory.
1315   ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317          X"$as_myself" : 'X\(//\)[^/]' \| \
1318          X"$as_myself" : 'X\(//\)$' \| \
1319          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322             s//\1/
1323             q
1324           }
1325           /^X\(\/\/\)[^/].*/{
1326             s//\1/
1327             q
1328           }
1329           /^X\(\/\/\)$/{
1330             s//\1/
1331             q
1332           }
1333           /^X\(\/\).*/{
1334             s//\1/
1335             q
1336           }
1337           s/.*/./; q'`
1338   srcdir=$ac_confdir
1339   if test ! -r "$srcdir/$ac_unique_file"; then
1340     srcdir=..
1341   fi
1342 else
1343   ac_srcdir_defaulted=no
1344 fi
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348 fi
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 ac_abs_confdir=`(
1351         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352         pwd)`
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355   srcdir=.
1356 fi
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1360 case $srcdir in
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 esac
1363 for ac_var in $ac_precious_vars; do
1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365   eval ac_env_${ac_var}_value=\$${ac_var}
1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368 done
1369
1370 #
1371 # Report the --help message.
1372 #
1373 if test "$ac_init_help" = "long"; then
1374   # Omit some internal or obsolete options to make the list less imposing.
1375   # This message is too long to be a string in the A/UX 3.1 sh.
1376   cat <<_ACEOF
1377 \`configure' configures dleyna-server 0.4.0 to adapt to many kinds of systems.
1378
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1380
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
1383
1384 Defaults for the options are specified in brackets.
1385
1386 Configuration:
1387   -h, --help              display this help and exit
1388       --help=short        display options specific to this package
1389       --help=recursive    display the short help of all the included packages
1390   -V, --version           display version information and exit
1391   -q, --quiet, --silent   do not print \`checking ...' messages
1392       --cache-file=FILE   cache test results in FILE [disabled]
1393   -C, --config-cache      alias for \`--cache-file=config.cache'
1394   -n, --no-create         do not create output files
1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1396
1397 Installation directories:
1398   --prefix=PREFIX         install architecture-independent files in PREFIX
1399                           [$ac_default_prefix]
1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1401                           [PREFIX]
1402
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1407
1408 For better control, use the options below.
1409
1410 Fine tuning of the installation directories:
1411   --bindir=DIR            user executables [EPREFIX/bin]
1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1417   --libdir=DIR            object code libraries [EPREFIX/lib]
1418   --includedir=DIR        C header files [PREFIX/include]
1419   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1420   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1421   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1422   --infodir=DIR           info documentation [DATAROOTDIR/info]
1423   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1424   --mandir=DIR            man documentation [DATAROOTDIR/man]
1425   --docdir=DIR            documentation root [DATAROOTDIR/doc/dleyna-server]
1426   --htmldir=DIR           html documentation [DOCDIR]
1427   --dvidir=DIR            dvi documentation [DOCDIR]
1428   --pdfdir=DIR            pdf documentation [DOCDIR]
1429   --psdir=DIR             ps documentation [DOCDIR]
1430 _ACEOF
1431
1432   cat <<\_ACEOF
1433
1434 Program names:
1435   --program-prefix=PREFIX            prepend PREFIX to installed program names
1436   --program-suffix=SUFFIX            append SUFFIX to installed program names
1437   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1438
1439 System types:
1440   --build=BUILD     configure for building on BUILD [guessed]
1441   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1442 _ACEOF
1443 fi
1444
1445 if test -n "$ac_init_help"; then
1446   case $ac_init_help in
1447      short | recursive ) echo "Configuration of dleyna-server 0.4.0:";;
1448    esac
1449   cat <<\_ACEOF
1450
1451 Optional Features:
1452   --disable-option-checking  ignore unrecognized --enable/--with options
1453   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1454   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1455   --enable-silent-rules   less verbose build output (undo: "make V=1")
1456   --disable-silent-rules  verbose build output (undo: "make V=0")
1457   --enable-maintainer-mode
1458                           enable make rules and dependencies not useful (and
1459                           sometimes confusing) to the casual installer
1460   --enable-dependency-tracking
1461                           do not reject slow dependency extractors
1462   --disable-dependency-tracking
1463                           speeds up one-time build
1464   --enable-static[=PKGS]  build static libraries [default=no]
1465   --enable-shared[=PKGS]  build shared libraries [default=yes]
1466   --enable-fast-install[=PKGS]
1467                           optimize for fast installation [default=yes]
1468   --disable-libtool-lock  avoid locking (might break parallel builds)
1469
1470   --enable-debug          enable compiling with debugging information
1471   --enable-werror         warnings are treated as errors
1472   --disable-optimization  disable code optimization through compiler
1473   --enable-never-quit     Service doesn't quit when last client disconnects
1474   --enable-lib-only       compile only the libdleyna-server library
1475
1476 Optional Packages:
1477   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1478   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1479   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1480                           both]
1481   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1482   --with-sysroot=DIR Search for dependent libraries within DIR
1483                         (or the compiler's sysroot if not specified).
1484   --with-connector-name   IPC connector name
1485   --with-log-level        enable logging information (0,1..6,7,8) 0=disabled
1486                           7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1487                           comma separated list of log level
1488   --with-log-type         Select log output technology 0=syslog 1=GLib
1489   --with-ua-prefix        Specify a user agent prefix
1490   --with-dbus-service-dir=PATH
1491                           choose directory for dbus service files,
1492                           [default=PREFIX/share/dbus-1/services]
1493
1494 Some influential environment variables:
1495   CC          C compiler command
1496   CFLAGS      C compiler flags
1497   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1498               nonstandard directory <lib dir>
1499   LIBS        libraries to pass to the linker, e.g. -l<library>
1500   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501               you have headers in a nonstandard directory <include dir>
1502   CPP         C preprocessor
1503   PKG_CONFIG  path to pkg-config utility
1504   PKG_CONFIG_PATH
1505               directories to add to pkg-config's search path
1506   PKG_CONFIG_LIBDIR
1507               path overriding pkg-config's built-in search path
1508   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1509   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1510   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1511   GIO_LIBS    linker flags for GIO, overriding pkg-config
1512   GSSDP_CFLAGS
1513               C compiler flags for GSSDP, overriding pkg-config
1514   GSSDP_LIBS  linker flags for GSSDP, overriding pkg-config
1515   GUPNP_CFLAGS
1516               C compiler flags for GUPNP, overriding pkg-config
1517   GUPNP_LIBS  linker flags for GUPNP, overriding pkg-config
1518   GUPNPAV_CFLAGS
1519               C compiler flags for GUPNPAV, overriding pkg-config
1520   GUPNPAV_LIBS
1521               linker flags for GUPNPAV, overriding pkg-config
1522   GUPNPDLNA_CFLAGS
1523               C compiler flags for GUPNPDLNA, overriding pkg-config
1524   GUPNPDLNA_LIBS
1525               linker flags for GUPNPDLNA, overriding pkg-config
1526   SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1527   SOUP_LIBS   linker flags for SOUP, overriding pkg-config
1528   DLEYNA_CORE_CFLAGS
1529               C compiler flags for DLEYNA_CORE, overriding pkg-config
1530   DLEYNA_CORE_LIBS
1531               linker flags for DLEYNA_CORE, overriding pkg-config
1532
1533 Use these variables to override the choices made by `configure' or to help
1534 it to find libraries and programs with nonstandard names/locations.
1535
1536 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
1537 dleyna-server home page: <https://01.org/dleyna/>.
1538 _ACEOF
1539 ac_status=$?
1540 fi
1541
1542 if test "$ac_init_help" = "recursive"; then
1543   # If there are subdirs, report their specific --help.
1544   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545     test -d "$ac_dir" ||
1546       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547       continue
1548     ac_builddir=.
1549
1550 case "$ac_dir" in
1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 *)
1553   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554   # A ".." for each directory in $ac_dir_suffix.
1555   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556   case $ac_top_builddir_sub in
1557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559   esac ;;
1560 esac
1561 ac_abs_top_builddir=$ac_pwd
1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir=$ac_top_build_prefix
1565
1566 case $srcdir in
1567   .)  # We are building in place.
1568     ac_srcdir=.
1569     ac_top_srcdir=$ac_top_builddir_sub
1570     ac_abs_top_srcdir=$ac_pwd ;;
1571   [\\/]* | ?:[\\/]* )  # Absolute name.
1572     ac_srcdir=$srcdir$ac_dir_suffix;
1573     ac_top_srcdir=$srcdir
1574     ac_abs_top_srcdir=$srcdir ;;
1575   *) # Relative name.
1576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577     ac_top_srcdir=$ac_top_build_prefix$srcdir
1578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 esac
1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581
1582     cd "$ac_dir" || { ac_status=$?; continue; }
1583     # Check for guested configure.
1584     if test -f "$ac_srcdir/configure.gnu"; then
1585       echo &&
1586       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587     elif test -f "$ac_srcdir/configure"; then
1588       echo &&
1589       $SHELL "$ac_srcdir/configure" --help=recursive
1590     else
1591       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592     fi || ac_status=$?
1593     cd "$ac_pwd" || { ac_status=$?; break; }
1594   done
1595 fi
1596
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1599   cat <<\_ACEOF
1600 dleyna-server configure 0.4.0
1601 generated by GNU Autoconf 2.69
1602
1603 Copyright (C) 2012 Free Software Foundation, Inc.
1604 This configure script is free software; the Free Software Foundation
1605 gives unlimited permission to copy, distribute and modify it.
1606 _ACEOF
1607   exit
1608 fi
1609
1610 ## ------------------------ ##
1611 ## Autoconf initialization. ##
1612 ## ------------------------ ##
1613
1614 # ac_fn_c_try_compile LINENO
1615 # --------------------------
1616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1617 ac_fn_c_try_compile ()
1618 {
1619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620   rm -f conftest.$ac_objext
1621   if { { ac_try="$ac_compile"
1622 case "(($ac_try" in
1623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624   *) ac_try_echo=$ac_try;;
1625 esac
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628   (eval "$ac_compile") 2>conftest.err
1629   ac_status=$?
1630   if test -s conftest.err; then
1631     grep -v '^ *+' conftest.err >conftest.er1
1632     cat conftest.er1 >&5
1633     mv -f conftest.er1 conftest.err
1634   fi
1635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636   test $ac_status = 0; } && {
1637          test -z "$ac_c_werror_flag" ||
1638          test ! -s conftest.err
1639        } && test -s conftest.$ac_objext; then :
1640   ac_retval=0
1641 else
1642   $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645         ac_retval=1
1646 fi
1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648   as_fn_set_status $ac_retval
1649
1650 } # ac_fn_c_try_compile
1651
1652 # ac_fn_c_try_link LINENO
1653 # -----------------------
1654 # Try to link conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_link ()
1656 {
1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658   rm -f conftest.$ac_objext conftest$ac_exeext
1659   if { { ac_try="$ac_link"
1660 case "(($ac_try" in
1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662   *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666   (eval "$ac_link") 2>conftest.err
1667   ac_status=$?
1668   if test -s conftest.err; then
1669     grep -v '^ *+' conftest.err >conftest.er1
1670     cat conftest.er1 >&5
1671     mv -f conftest.er1 conftest.err
1672   fi
1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674   test $ac_status = 0; } && {
1675          test -z "$ac_c_werror_flag" ||
1676          test ! -s conftest.err
1677        } && test -s conftest$ac_exeext && {
1678          test "$cross_compiling" = yes ||
1679          test -x conftest$ac_exeext
1680        }; then :
1681   ac_retval=0
1682 else
1683   $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1685
1686         ac_retval=1
1687 fi
1688   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1689   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1690   # interfere with the next link command; also delete a directory that is
1691   # left behind by Apple's compiler.  We do this before executing the actions.
1692   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694   as_fn_set_status $ac_retval
1695
1696 } # ac_fn_c_try_link
1697
1698 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1699 # -------------------------------------------------------
1700 # Tests whether HEADER exists and can be compiled using the include files in
1701 # INCLUDES, setting the cache variable VAR accordingly.
1702 ac_fn_c_check_header_compile ()
1703 {
1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708   $as_echo_n "(cached) " >&6
1709 else
1710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h.  */
1712 $4
1713 #include <$2>
1714 _ACEOF
1715 if ac_fn_c_try_compile "$LINENO"; then :
1716   eval "$3=yes"
1717 else
1718   eval "$3=no"
1719 fi
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 fi
1722 eval ac_res=\$$3
1723                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724 $as_echo "$ac_res" >&6; }
1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726
1727 } # ac_fn_c_check_header_compile
1728
1729 # ac_fn_c_try_cpp LINENO
1730 # ----------------------
1731 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_c_try_cpp ()
1733 {
1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735   if { { ac_try="$ac_cpp conftest.$ac_ext"
1736 case "(($ac_try" in
1737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738   *) ac_try_echo=$ac_try;;
1739 esac
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1743   ac_status=$?
1744   if test -s conftest.err; then
1745     grep -v '^ *+' conftest.err >conftest.er1
1746     cat conftest.er1 >&5
1747     mv -f conftest.er1 conftest.err
1748   fi
1749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750   test $ac_status = 0; } > conftest.i && {
1751          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1752          test ! -s conftest.err
1753        }; then :
1754   ac_retval=0
1755 else
1756   $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1758
1759     ac_retval=1
1760 fi
1761   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762   as_fn_set_status $ac_retval
1763
1764 } # ac_fn_c_try_cpp
1765
1766 # ac_fn_c_try_run LINENO
1767 # ----------------------
1768 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1769 # that executables *can* be run.
1770 ac_fn_c_try_run ()
1771 {
1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773   if { { ac_try="$ac_link"
1774 case "(($ac_try" in
1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776   *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780   (eval "$ac_link") 2>&5
1781   ac_status=$?
1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1784   { { case "(($ac_try" in
1785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786   *) ac_try_echo=$ac_try;;
1787 esac
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790   (eval "$ac_try") 2>&5
1791   ac_status=$?
1792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793   test $ac_status = 0; }; }; then :
1794   ac_retval=0
1795 else
1796   $as_echo "$as_me: program exited with status $ac_status" >&5
1797        $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1799
1800        ac_retval=$ac_status
1801 fi
1802   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804   as_fn_set_status $ac_retval
1805
1806 } # ac_fn_c_try_run
1807
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func ()
1812 {
1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \${$3+:} false; then :
1817   $as_echo_n "(cached) " >&6
1818 else
1819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h.  */
1821 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1823 #define $2 innocuous_$2
1824
1825 /* System header to define __stub macros and hopefully few prototypes,
1826     which can conflict with char $2 (); below.
1827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1828     <limits.h> exists even on freestanding compilers.  */
1829
1830 #ifdef __STDC__
1831 # include <limits.h>
1832 #else
1833 # include <assert.h>
1834 #endif
1835
1836 #undef $2
1837
1838 /* Override any GCC internal prototype to avoid an error.
1839    Use char because int might match the return type of a GCC
1840    builtin and then its argument prototype would still apply.  */
1841 #ifdef __cplusplus
1842 extern "C"
1843 #endif
1844 char $2 ();
1845 /* The GNU C library defines this for functions which it implements
1846     to always fail with ENOSYS.  Some functions are actually named
1847     something starting with __ and the normal name is an alias.  */
1848 #if defined __stub_$2 || defined __stub___$2
1849 choke me
1850 #endif
1851
1852 int
1853 main ()
1854 {
1855 return $2 ();
1856   ;
1857   return 0;
1858 }
1859 _ACEOF
1860 if ac_fn_c_try_link "$LINENO"; then :
1861   eval "$3=yes"
1862 else
1863   eval "$3=no"
1864 fi
1865 rm -f core conftest.err conftest.$ac_objext \
1866     conftest$ac_exeext conftest.$ac_ext
1867 fi
1868 eval ac_res=\$$3
1869                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872
1873 } # ac_fn_c_check_func
1874
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1879 # accordingly.
1880 ac_fn_c_check_header_mongrel ()
1881 {
1882   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883   if eval \${$3+:} false; then :
1884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887   $as_echo_n "(cached) " >&6
1888 fi
1889 eval ac_res=\$$3
1890                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 else
1893   # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h.  */
1898 $4
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902   ac_header_compiler=yes
1903 else
1904   ac_header_compiler=no
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1909
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h.  */
1915 #include <$2>
1916 _ACEOF
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918   ac_header_preproc=yes
1919 else
1920   ac_header_preproc=no
1921 fi
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1925
1926 # So?  What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1928   yes:no: )
1929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1933     ;;
1934   no:yes:* )
1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945 ( $as_echo "## ---------------------------------------------------------------- ##
1946 ## Report this to https://github.com/01org/dleyna-server/issues/new ##
1947 ## ---------------------------------------------------------------- ##"
1948      ) | sed "s/^/$as_me: WARNING:     /" >&2
1949     ;;
1950 esac
1951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954   $as_echo_n "(cached) " >&6
1955 else
1956   eval "$3=\$ac_header_compiler"
1957 fi
1958 eval ac_res=\$$3
1959                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961 fi
1962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
1964 } # ac_fn_c_check_header_mongrel
1965
1966 # ac_fn_c_find_uintX_t LINENO BITS VAR
1967 # ------------------------------------
1968 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1969 # accordingly.
1970 ac_fn_c_find_uintX_t ()
1971 {
1972   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1974 $as_echo_n "checking for uint$2_t... " >&6; }
1975 if eval \${$3+:} false; then :
1976   $as_echo_n "(cached) " >&6
1977 else
1978   eval "$3=no"
1979      # Order is important - never check a type that is potentially smaller
1980      # than half of the expected target width.
1981      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1982          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1983        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1984 /* end confdefs.h.  */
1985 $ac_includes_default
1986 int
1987 main ()
1988 {
1989 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1990 test_array [0] = 0;
1991 return test_array [0];
1992
1993   ;
1994   return 0;
1995 }
1996 _ACEOF
1997 if ac_fn_c_try_compile "$LINENO"; then :
1998   case $ac_type in #(
1999   uint$2_t) :
2000     eval "$3=yes" ;; #(
2001   *) :
2002     eval "$3=\$ac_type" ;;
2003 esac
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006        if eval test \"x\$"$3"\" = x"no"; then :
2007
2008 else
2009   break
2010 fi
2011      done
2012 fi
2013 eval ac_res=\$$3
2014                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017
2018 } # ac_fn_c_find_uintX_t
2019
2020 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2021 # -------------------------------------------
2022 # Tests whether TYPE exists after having included INCLUDES, setting cache
2023 # variable VAR accordingly.
2024 ac_fn_c_check_type ()
2025 {
2026   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028 $as_echo_n "checking for $2... " >&6; }
2029 if eval \${$3+:} false; then :
2030   $as_echo_n "(cached) " >&6
2031 else
2032   eval "$3=no"
2033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h.  */
2035 $4
2036 int
2037 main ()
2038 {
2039 if (sizeof ($2))
2040          return 0;
2041   ;
2042   return 0;
2043 }
2044 _ACEOF
2045 if ac_fn_c_try_compile "$LINENO"; then :
2046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h.  */
2048 $4
2049 int
2050 main ()
2051 {
2052 if (sizeof (($2)))
2053             return 0;
2054   ;
2055   return 0;
2056 }
2057 _ACEOF
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059
2060 else
2061   eval "$3=yes"
2062 fi
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 fi
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066 fi
2067 eval ac_res=\$$3
2068                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2070   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071
2072 } # ac_fn_c_check_type
2073 cat >config.log <<_ACEOF
2074 This file contains any messages produced by compilers while
2075 running configure, to aid debugging if configure makes a mistake.
2076
2077 It was created by dleyna-server $as_me 0.4.0, which was
2078 generated by GNU Autoconf 2.69.  Invocation command line was
2079
2080   $ $0 $@
2081
2082 _ACEOF
2083 exec 5>>config.log
2084 {
2085 cat <<_ASUNAME
2086 ## --------- ##
2087 ## Platform. ##
2088 ## --------- ##
2089
2090 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2091 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2092 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2093 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2094 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2095
2096 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2097 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2098
2099 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2100 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2101 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2102 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2103 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2104 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2105 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2106
2107 _ASUNAME
2108
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2111 do
2112   IFS=$as_save_IFS
2113   test -z "$as_dir" && as_dir=.
2114     $as_echo "PATH: $as_dir"
2115   done
2116 IFS=$as_save_IFS
2117
2118 } >&5
2119
2120 cat >&5 <<_ACEOF
2121
2122
2123 ## ----------- ##
2124 ## Core tests. ##
2125 ## ----------- ##
2126
2127 _ACEOF
2128
2129
2130 # Keep a trace of the command line.
2131 # Strip out --no-create and --no-recursion so they do not pile up.
2132 # Strip out --silent because we don't want to record it for future runs.
2133 # Also quote any args containing shell meta-characters.
2134 # Make two passes to allow for proper duplicate-argument suppression.
2135 ac_configure_args=
2136 ac_configure_args0=
2137 ac_configure_args1=
2138 ac_must_keep_next=false
2139 for ac_pass in 1 2
2140 do
2141   for ac_arg
2142   do
2143     case $ac_arg in
2144     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2145     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2146     | -silent | --silent | --silen | --sile | --sil)
2147       continue ;;
2148     *\'*)
2149       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2150     esac
2151     case $ac_pass in
2152     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2153     2)
2154       as_fn_append ac_configure_args1 " '$ac_arg'"
2155       if test $ac_must_keep_next = true; then
2156         ac_must_keep_next=false # Got value, back to normal.
2157       else
2158         case $ac_arg in
2159           *=* | --config-cache | -C | -disable-* | --disable-* \
2160           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2161           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2162           | -with-* | --with-* | -without-* | --without-* | --x)
2163             case "$ac_configure_args0 " in
2164               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2165             esac
2166             ;;
2167           -* ) ac_must_keep_next=true ;;
2168         esac
2169       fi
2170       as_fn_append ac_configure_args " '$ac_arg'"
2171       ;;
2172     esac
2173   done
2174 done
2175 { ac_configure_args0=; unset ac_configure_args0;}
2176 { ac_configure_args1=; unset ac_configure_args1;}
2177
2178 # When interrupted or exit'd, cleanup temporary files, and complete
2179 # config.log.  We remove comments because anyway the quotes in there
2180 # would cause problems or look ugly.
2181 # WARNING: Use '\'' to represent an apostrophe within the trap.
2182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2183 trap 'exit_status=$?
2184   # Save into config.log some information that might help in debugging.
2185   {
2186     echo
2187
2188     $as_echo "## ---------------- ##
2189 ## Cache variables. ##
2190 ## ---------------- ##"
2191     echo
2192     # The following way of writing the cache mishandles newlines in values,
2193 (
2194   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2195     eval ac_val=\$$ac_var
2196     case $ac_val in #(
2197     *${as_nl}*)
2198       case $ac_var in #(
2199       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2201       esac
2202       case $ac_var in #(
2203       _ | IFS | as_nl) ;; #(
2204       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2205       *) { eval $ac_var=; unset $ac_var;} ;;
2206       esac ;;
2207     esac
2208   done
2209   (set) 2>&1 |
2210     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2211     *${as_nl}ac_space=\ *)
2212       sed -n \
2213         "s/'\''/'\''\\\\'\'''\''/g;
2214           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2215       ;; #(
2216     *)
2217       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2218       ;;
2219     esac |
2220     sort
2221 )
2222     echo
2223
2224     $as_echo "## ----------------- ##
2225 ## Output variables. ##
2226 ## ----------------- ##"
2227     echo
2228     for ac_var in $ac_subst_vars
2229     do
2230       eval ac_val=\$$ac_var
2231       case $ac_val in
2232       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2233       esac
2234       $as_echo "$ac_var='\''$ac_val'\''"
2235     done | sort
2236     echo
2237
2238     if test -n "$ac_subst_files"; then
2239       $as_echo "## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##"
2242       echo
2243       for ac_var in $ac_subst_files
2244       do
2245         eval ac_val=\$$ac_var
2246         case $ac_val in
2247         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2248         esac
2249         $as_echo "$ac_var='\''$ac_val'\''"
2250       done | sort
2251       echo
2252     fi
2253
2254     if test -s confdefs.h; then
2255       $as_echo "## ----------- ##
2256 ## confdefs.h. ##
2257 ## ----------- ##"
2258       echo
2259       cat confdefs.h
2260       echo
2261     fi
2262     test "$ac_signal" != 0 &&
2263       $as_echo "$as_me: caught signal $ac_signal"
2264     $as_echo "$as_me: exit $exit_status"
2265   } >&5
2266   rm -f core *.core core.conftest.* &&
2267     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268     exit $exit_status
2269 ' 0
2270 for ac_signal in 1 2 13 15; do
2271   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2272 done
2273 ac_signal=0
2274
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2277
2278 $as_echo "/* confdefs.h */" > confdefs.h
2279
2280 # Predefined preprocessor variables.
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 _ACEOF
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2288 _ACEOF
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2300 _ACEOF
2301
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_URL "$PACKAGE_URL"
2304 _ACEOF
2305
2306
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer an explicitly selected file to automatically selected ones.
2309 ac_site_file1=NONE
2310 ac_site_file2=NONE
2311 if test -n "$CONFIG_SITE"; then
2312   # We do not want a PATH search for config.site.
2313   case $CONFIG_SITE in #((
2314     -*)  ac_site_file1=./$CONFIG_SITE;;
2315     */*) ac_site_file1=$CONFIG_SITE;;
2316     *)   ac_site_file1=./$CONFIG_SITE;;
2317   esac
2318 elif test "x$prefix" != xNONE; then
2319   ac_site_file1=$prefix/share/config.site
2320   ac_site_file2=$prefix/etc/config.site
2321 else
2322   ac_site_file1=$ac_default_prefix/share/config.site
2323   ac_site_file2=$ac_default_prefix/etc/config.site
2324 fi
2325 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2326 do
2327   test "x$ac_site_file" = xNONE && continue
2328   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2329     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2331     sed 's/^/| /' "$ac_site_file" >&5
2332     . "$ac_site_file" \
2333       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 as_fn_error $? "failed to load site script $ac_site_file
2336 See \`config.log' for more details" "$LINENO" 5; }
2337   fi
2338 done
2339
2340 if test -r "$cache_file"; then
2341   # Some versions of bash will fail to source /dev/null (special files
2342   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2343   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2344     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2345 $as_echo "$as_me: loading cache $cache_file" >&6;}
2346     case $cache_file in
2347       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2348       *)                      . "./$cache_file";;
2349     esac
2350   fi
2351 else
2352   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2353 $as_echo "$as_me: creating cache $cache_file" >&6;}
2354   >$cache_file
2355 fi
2356
2357 # Check that the precious variables saved in the cache have kept the same
2358 # value.
2359 ac_cache_corrupted=false
2360 for ac_var in $ac_precious_vars; do
2361   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2362   eval ac_new_set=\$ac_env_${ac_var}_set
2363   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2364   eval ac_new_val=\$ac_env_${ac_var}_value
2365   case $ac_old_set,$ac_new_set in
2366     set,)
2367       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2368 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369       ac_cache_corrupted=: ;;
2370     ,set)
2371       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2373       ac_cache_corrupted=: ;;
2374     ,);;
2375     *)
2376       if test "x$ac_old_val" != "x$ac_new_val"; then
2377         # differences in whitespace do not lead to failure.
2378         ac_old_val_w=`echo x $ac_old_val`
2379         ac_new_val_w=`echo x $ac_new_val`
2380         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2381           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2383           ac_cache_corrupted=:
2384         else
2385           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2387           eval $ac_var=\$ac_old_val
2388         fi
2389         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2390 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2391         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2392 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2393       fi;;
2394   esac
2395   # Pass precious variables to config.status.
2396   if test "$ac_new_set" = set; then
2397     case $ac_new_val in
2398     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2399     *) ac_arg=$ac_var=$ac_new_val ;;
2400     esac
2401     case " $ac_configure_args " in
2402       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2403       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2404     esac
2405   fi
2406 done
2407 if $ac_cache_corrupted; then
2408   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2413 fi
2414 ## -------------------- ##
2415 ## Main body of script. ##
2416 ## -------------------- ##
2417
2418 ac_ext=c
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2423
2424
2425
2426 ac_config_headers="$ac_config_headers config.h"
2427
2428 ac_aux_dir=
2429 for ac_dir in build-aux "$srcdir"/build-aux; do
2430   if test -f "$ac_dir/install-sh"; then
2431     ac_aux_dir=$ac_dir
2432     ac_install_sh="$ac_aux_dir/install-sh -c"
2433     break
2434   elif test -f "$ac_dir/install.sh"; then
2435     ac_aux_dir=$ac_dir
2436     ac_install_sh="$ac_aux_dir/install.sh -c"
2437     break
2438   elif test -f "$ac_dir/shtool"; then
2439     ac_aux_dir=$ac_dir
2440     ac_install_sh="$ac_aux_dir/shtool install -c"
2441     break
2442   fi
2443 done
2444 if test -z "$ac_aux_dir"; then
2445   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2446 fi
2447
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2455
2456
2457
2458
2459
2460
2461
2462 am__api_version='1.14'
2463
2464 # Find a good install program.  We prefer a C program (faster),
2465 # so one script is as good as another.  But avoid the broken or
2466 # incompatible versions:
2467 # SysV /etc/install, /usr/sbin/install
2468 # SunOS /usr/etc/install
2469 # IRIX /sbin/install
2470 # AIX /bin/install
2471 # AmigaOS /C/install, which installs bootblocks on floppy discs
2472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2475 # OS/2's system install, which has a completely different semantic
2476 # ./install, which can be erroneously created by make from ./install.sh.
2477 # Reject install programs that cannot install multiple files.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2479 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2480 if test -z "$INSTALL"; then
2481 if ${ac_cv_path_install+:} false; then :
2482   $as_echo_n "(cached) " >&6
2483 else
2484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2486 do
2487   IFS=$as_save_IFS
2488   test -z "$as_dir" && as_dir=.
2489     # Account for people who put trailing slashes in PATH elements.
2490 case $as_dir/ in #((
2491   ./ | .// | /[cC]/* | \
2492   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2493   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2494   /usr/ucb/* ) ;;
2495   *)
2496     # OSF1 and SCO ODT 3.0 have their own names for install.
2497     # Don't use installbsd from OSF since it installs stuff as root
2498     # by default.
2499     for ac_prog in ginstall scoinst install; do
2500       for ac_exec_ext in '' $ac_executable_extensions; do
2501         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2502           if test $ac_prog = install &&
2503             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504             # AIX install.  It has an incompatible calling convention.
2505             :
2506           elif test $ac_prog = install &&
2507             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2508             # program-specific install script used by HP pwplus--don't use.
2509             :
2510           else
2511             rm -rf conftest.one conftest.two conftest.dir
2512             echo one > conftest.one
2513             echo two > conftest.two
2514             mkdir conftest.dir
2515             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2516               test -s conftest.one && test -s conftest.two &&
2517               test -s conftest.dir/conftest.one &&
2518               test -s conftest.dir/conftest.two
2519             then
2520               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2521               break 3
2522             fi
2523           fi
2524         fi
2525       done
2526     done
2527     ;;
2528 esac
2529
2530   done
2531 IFS=$as_save_IFS
2532
2533 rm -rf conftest.one conftest.two conftest.dir
2534
2535 fi
2536   if test "${ac_cv_path_install+set}" = set; then
2537     INSTALL=$ac_cv_path_install
2538   else
2539     # As a last resort, use the slow shell script.  Don't cache a
2540     # value for INSTALL within a source directory, because that will
2541     # break other packages using the cache if that directory is
2542     # removed, or if the value is a relative name.
2543     INSTALL=$ac_install_sh
2544   fi
2545 fi
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2547 $as_echo "$INSTALL" >&6; }
2548
2549 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2550 # It thinks the first close brace ends the variable substitution.
2551 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2552
2553 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2554
2555 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2556
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2558 $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Reject unsafe characters in $srcdir or the absolute working directory
2560 # name.  Accept space and tab only in the latter.
2561 am_lf='
2562 '
2563 case `pwd` in
2564   *[\\\"\#\$\&\'\`$am_lf]*)
2565     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2566 esac
2567 case $srcdir in
2568   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2569     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2570 esac
2571
2572 # Do 'set' in a subshell so we don't clobber the current shell's
2573 # arguments.  Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing
2576 # directory).
2577 if (
2578    am_has_slept=no
2579    for am_try in 1 2; do
2580      echo "timestamp, slept: $am_has_slept" > conftest.file
2581      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582      if test "$*" = "X"; then
2583         # -L didn't work.
2584         set X `ls -t "$srcdir/configure" conftest.file`
2585      fi
2586      if test "$*" != "X $srcdir/configure conftest.file" \
2587         && test "$*" != "X conftest.file $srcdir/configure"; then
2588
2589         # If neither matched, then we have a broken ls.  This can happen
2590         # if, for instance, CONFIG_SHELL is bash and it inherits a
2591         # broken ls alias from the environment.  This has actually
2592         # happened.  Such a system could not be considered "sane".
2593         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2594   alias in your environment" "$LINENO" 5
2595      fi
2596      if test "$2" = conftest.file || test $am_try -eq 2; then
2597        break
2598      fi
2599      # Just in case.
2600      sleep 1
2601      am_has_slept=yes
2602    done
2603    test "$2" = conftest.file
2604    )
2605 then
2606    # Ok.
2607    :
2608 else
2609    as_fn_error $? "newly created file is older than distributed files!
2610 Check your system clock" "$LINENO" 5
2611 fi
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613 $as_echo "yes" >&6; }
2614 # If we didn't sleep, we still need to ensure time stamps of config.status and
2615 # generated files are strictly newer.
2616 am_sleep_pid=
2617 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2618   ( sleep 1 ) &
2619   am_sleep_pid=$!
2620 fi
2621
2622 rm -f conftest.file
2623
2624 test "$program_prefix" != NONE &&
2625   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2626 # Use a double $ so make ignores it.
2627 test "$program_suffix" != NONE &&
2628   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2629 # Double any \ or $.
2630 # By default was `s,x,x', remove it if useless.
2631 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2632 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2633
2634 # expand $ac_aux_dir to an absolute path
2635 am_aux_dir=`cd $ac_aux_dir && pwd`
2636
2637 if test x"${MISSING+set}" != xset; then
2638   case $am_aux_dir in
2639   *\ * | *\     *)
2640     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2641   *)
2642     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2643   esac
2644 fi
2645 # Use eval to expand $SHELL
2646 if eval "$MISSING --is-lightweight"; then
2647   am_missing_run="$MISSING "
2648 else
2649   am_missing_run=
2650   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2651 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2652 fi
2653
2654 if test x"${install_sh}" != xset; then
2655   case $am_aux_dir in
2656   *\ * | *\     *)
2657     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2658   *)
2659     install_sh="\${SHELL} $am_aux_dir/install-sh"
2660   esac
2661 fi
2662
2663 # Installed binaries are usually stripped using 'strip' when the user
2664 # run "make install-strip".  However 'strip' might not be the right
2665 # tool to use in cross-compilation environments, therefore Automake
2666 # will honor the 'STRIP' environment variable to overrule this program.
2667 if test "$cross_compiling" != no; then
2668   if test -n "$ac_tool_prefix"; then
2669   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2670 set dummy ${ac_tool_prefix}strip; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_STRIP+:} false; then :
2674   $as_echo_n "(cached) " >&6
2675 else
2676   if test -n "$STRIP"; then
2677   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2678 else
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 for as_dir in $PATH
2681 do
2682   IFS=$as_save_IFS
2683   test -z "$as_dir" && as_dir=.
2684     for ac_exec_ext in '' $ac_executable_extensions; do
2685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2686     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688     break 2
2689   fi
2690 done
2691   done
2692 IFS=$as_save_IFS
2693
2694 fi
2695 fi
2696 STRIP=$ac_cv_prog_STRIP
2697 if test -n "$STRIP"; then
2698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2699 $as_echo "$STRIP" >&6; }
2700 else
2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2703 fi
2704
2705
2706 fi
2707 if test -z "$ac_cv_prog_STRIP"; then
2708   ac_ct_STRIP=$STRIP
2709   # Extract the first word of "strip", so it can be a program name with args.
2710 set dummy strip; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2714   $as_echo_n "(cached) " >&6
2715 else
2716   if test -n "$ac_ct_STRIP"; then
2717   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2718 else
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH
2721 do
2722   IFS=$as_save_IFS
2723   test -z "$as_dir" && as_dir=.
2724     for ac_exec_ext in '' $ac_executable_extensions; do
2725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2726     ac_cv_prog_ac_ct_STRIP="strip"
2727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728     break 2
2729   fi
2730 done
2731   done
2732 IFS=$as_save_IFS
2733
2734 fi
2735 fi
2736 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2737 if test -n "$ac_ct_STRIP"; then
2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2739 $as_echo "$ac_ct_STRIP" >&6; }
2740 else
2741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2743 fi
2744
2745   if test "x$ac_ct_STRIP" = x; then
2746     STRIP=":"
2747   else
2748     case $cross_compiling:$ac_tool_warned in
2749 yes:)
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2752 ac_tool_warned=yes ;;
2753 esac
2754     STRIP=$ac_ct_STRIP
2755   fi
2756 else
2757   STRIP="$ac_cv_prog_STRIP"
2758 fi
2759
2760 fi
2761 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2762
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2764 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2765 if test -z "$MKDIR_P"; then
2766   if ${ac_cv_path_mkdir+:} false; then :
2767   $as_echo_n "(cached) " >&6
2768 else
2769   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774     for ac_prog in mkdir gmkdir; do
2775          for ac_exec_ext in '' $ac_executable_extensions; do
2776            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2777            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2778              'mkdir (GNU coreutils) '* | \
2779              'mkdir (coreutils) '* | \
2780              'mkdir (fileutils) '4.1*)
2781                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2782                break 3;;
2783            esac
2784          done
2785        done
2786   done
2787 IFS=$as_save_IFS
2788
2789 fi
2790
2791   test -d ./--version && rmdir ./--version
2792   if test "${ac_cv_path_mkdir+set}" = set; then
2793     MKDIR_P="$ac_cv_path_mkdir -p"
2794   else
2795     # As a last resort, use the slow shell script.  Don't cache a
2796     # value for MKDIR_P within a source directory, because that will
2797     # break other packages using the cache if that directory is
2798     # removed, or if the value is a relative name.
2799     MKDIR_P="$ac_install_sh -d"
2800   fi
2801 fi
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2803 $as_echo "$MKDIR_P" >&6; }
2804
2805 for ac_prog in gawk mawk nawk awk
2806 do
2807   # Extract the first word of "$ac_prog", so it can be a program name with args.
2808 set dummy $ac_prog; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_AWK+:} false; then :
2812   $as_echo_n "(cached) " >&6
2813 else
2814   if test -n "$AWK"; then
2815   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2816 else
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 for as_dir in $PATH
2819 do
2820   IFS=$as_save_IFS
2821   test -z "$as_dir" && as_dir=.
2822     for ac_exec_ext in '' $ac_executable_extensions; do
2823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2824     ac_cv_prog_AWK="$ac_prog"
2825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826     break 2
2827   fi
2828 done
2829   done
2830 IFS=$as_save_IFS
2831
2832 fi
2833 fi
2834 AWK=$ac_cv_prog_AWK
2835 if test -n "$AWK"; then
2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2837 $as_echo "$AWK" >&6; }
2838 else
2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2841 fi
2842
2843
2844   test -n "$AWK" && break
2845 done
2846
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2848 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2849 set x ${MAKE-make}
2850 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2851 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2852   $as_echo_n "(cached) " >&6
2853 else
2854   cat >conftest.make <<\_ACEOF
2855 SHELL = /bin/sh
2856 all:
2857         @echo '@@@%%%=$(MAKE)=@@@%%%'
2858 _ACEOF
2859 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2860 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2861   *@@@%%%=?*=@@@%%%*)
2862     eval ac_cv_prog_make_${ac_make}_set=yes;;
2863   *)
2864     eval ac_cv_prog_make_${ac_make}_set=no;;
2865 esac
2866 rm -f conftest.make
2867 fi
2868 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2870 $as_echo "yes" >&6; }
2871   SET_MAKE=
2872 else
2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2875   SET_MAKE="MAKE=${MAKE-make}"
2876 fi
2877
2878 rm -rf .tst 2>/dev/null
2879 mkdir .tst 2>/dev/null
2880 if test -d .tst; then
2881   am__leading_dot=.
2882 else
2883   am__leading_dot=_
2884 fi
2885 rmdir .tst 2>/dev/null
2886
2887 # Check whether --enable-silent-rules was given.
2888 if test "${enable_silent_rules+set}" = set; then :
2889   enableval=$enable_silent_rules;
2890 fi
2891
2892 case $enable_silent_rules in # (((
2893   yes) AM_DEFAULT_VERBOSITY=0;;
2894    no) AM_DEFAULT_VERBOSITY=1;;
2895     *) AM_DEFAULT_VERBOSITY=1;;
2896 esac
2897 am_make=${MAKE-make}
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2899 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2900 if ${am_cv_make_support_nested_variables+:} false; then :
2901   $as_echo_n "(cached) " >&6
2902 else
2903   if $as_echo 'TRUE=$(BAR$(V))
2904 BAR0=false
2905 BAR1=true
2906 V=1
2907 am__doit:
2908         @$(TRUE)
2909 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2910   am_cv_make_support_nested_variables=yes
2911 else
2912   am_cv_make_support_nested_variables=no
2913 fi
2914 fi
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2916 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2917 if test $am_cv_make_support_nested_variables = yes; then
2918     AM_V='$(V)'
2919   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2920 else
2921   AM_V=$AM_DEFAULT_VERBOSITY
2922   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2923 fi
2924 AM_BACKSLASH='\'
2925
2926 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2927   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2928   # is not polluted with repeated "-I."
2929   am__isrc=' -I$(srcdir)'
2930   # test to see if srcdir already configured
2931   if test -f $srcdir/config.status; then
2932     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2933   fi
2934 fi
2935
2936 # test whether we have cygpath
2937 if test -z "$CYGPATH_W"; then
2938   if (cygpath --version) >/dev/null 2>/dev/null; then
2939     CYGPATH_W='cygpath -w'
2940   else
2941     CYGPATH_W=echo
2942   fi
2943 fi
2944
2945
2946 # Define the identity of the package.
2947  PACKAGE='dleyna-server'
2948  VERSION='0.4.0'
2949
2950
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE "$PACKAGE"
2953 _ACEOF
2954
2955
2956 cat >>confdefs.h <<_ACEOF
2957 #define VERSION "$VERSION"
2958 _ACEOF
2959
2960 # Some tools Automake needs.
2961
2962 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2963
2964
2965 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2966
2967
2968 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2969
2970
2971 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2972
2973
2974 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2975
2976 # For better backward compatibility.  To be removed once Automake 1.9.x
2977 # dies out for good.  For more background, see:
2978 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2979 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2980 mkdir_p='$(MKDIR_P)'
2981
2982 # We need awk for the "check" target.  The system "awk" is bad on
2983 # some platforms.
2984 # Always define AMTAR for backward compatibility.  Yes, it's still used
2985 # in the wild :-(  We should find a proper way to deprecate it ...
2986 AMTAR='$${TAR-tar}'
2987
2988
2989 # We'll loop over all known methods to create a tar archive until one works.
2990 _am_tools='gnutar  pax cpio none'
2991
2992 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2993
2994
2995
2996
2997
2998
2999 # POSIX will say in a future version that running "rm -f" with no argument
3000 # is OK; and we want to be able to make that assumption in our Makefile
3001 # recipes.  So use an aggressive probe to check that the usage we want is
3002 # actually supported "in the wild" to an acceptable degree.
3003 # See automake bug#10828.
3004 # To make any issue more visible, cause the running configure to be aborted
3005 # by default if the 'rm' program in use doesn't match our expectations; the
3006 # user can still override this though.
3007 if rm -f && rm -fr && rm -rf; then : OK; else
3008   cat >&2 <<'END'
3009 Oops!
3010
3011 Your 'rm' program seems unable to run without file operands specified
3012 on the command line, even when the '-f' option is present.  This is contrary
3013 to the behaviour of most rm programs out there, and not conforming with
3014 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3015
3016 Please tell bug-automake@gnu.org about your system, including the value
3017 of your $PATH and any error possibly output before this message.  This
3018 can help us improve future automake versions.
3019
3020 END
3021   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3022     echo 'Configuration will proceed anyway, since you have set the' >&2
3023     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3024     echo >&2
3025   else
3026     cat >&2 <<'END'
3027 Aborting the configuration process, to ensure you take notice of the issue.
3028
3029 You can download and install GNU coreutils to get an 'rm' implementation
3030 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3031
3032 If you want to complete the configuration process using your problematic
3033 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3034 to "yes", and re-run configure.
3035
3036 END
3037     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3038   fi
3039 fi
3040
3041
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3043 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3044     # Check whether --enable-maintainer-mode was given.
3045 if test "${enable_maintainer_mode+set}" = set; then :
3046   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3047 else
3048   USE_MAINTAINER_MODE=no
3049 fi
3050
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3052 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3053    if test $USE_MAINTAINER_MODE = yes; then
3054   MAINTAINER_MODE_TRUE=
3055   MAINTAINER_MODE_FALSE='#'
3056 else
3057   MAINTAINER_MODE_TRUE='#'
3058   MAINTAINER_MODE_FALSE=
3059 fi
3060
3061   MAINT=$MAINTAINER_MODE_TRUE
3062
3063
3064 # Check whether --enable-silent-rules was given.
3065 if test "${enable_silent_rules+set}" = set; then :
3066   enableval=$enable_silent_rules;
3067 fi
3068
3069 case $enable_silent_rules in # (((
3070   yes) AM_DEFAULT_VERBOSITY=0;;
3071    no) AM_DEFAULT_VERBOSITY=1;;
3072     *) AM_DEFAULT_VERBOSITY=0;;
3073 esac
3074 am_make=${MAKE-make}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3076 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3077 if ${am_cv_make_support_nested_variables+:} false; then :
3078   $as_echo_n "(cached) " >&6
3079 else
3080   if $as_echo 'TRUE=$(BAR$(V))
3081 BAR0=false
3082 BAR1=true
3083 V=1
3084 am__doit:
3085         @$(TRUE)
3086 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3087   am_cv_make_support_nested_variables=yes
3088 else
3089   am_cv_make_support_nested_variables=no
3090 fi
3091 fi
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3093 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3094 if test $am_cv_make_support_nested_variables = yes; then
3095     AM_V='$(V)'
3096   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3097 else
3098   AM_V=$AM_DEFAULT_VERBOSITY
3099   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3100 fi
3101 AM_BACKSLASH='\'
3102
3103
3104
3105         if (test x"${CFLAGS}" = x""); then
3106                 CFLAGS="-Wall"
3107                 CFLAGS+=" -O2"
3108                 CFLAGS+=" -D_FORTIFY_SOURCE=2"
3109         fi
3110
3111         if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
3112                 CFLAGS+=" -Wextra"
3113                 CFLAGS+=" -Wno-unused-parameter"
3114                 CFLAGS+=" -Wno-missing-field-initializers"
3115                 CFLAGS+=" -Wdeclaration-after-statement"
3116                 CFLAGS+=" -Wmissing-declarations"
3117                 CFLAGS+=" -Wredundant-decls"
3118                 CFLAGS+=" -Wcast-align"
3119
3120                 CFLAGS+=" -Wstrict-prototypes"
3121                 CFLAGS+=" -Wmissing-prototypes"
3122                 CFLAGS+=" -Wnested-externs"
3123                 CFLAGS+=" -Wshadow"
3124                 CFLAGS+=" -Wformat=2"
3125                 CFLAGS+=" -Winit-self"
3126
3127                 CFLAGS+=" -std=gnu99"
3128                 CFLAGS+=" -pedantic"
3129                 CFLAGS+=" -Wno-overlength-strings"
3130
3131                 CFLAGS+=" -DG_DISABLE_DEPRECATED"
3132                 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
3133         fi
3134
3135         CFLAGS+=" -Wno-format-extra-args"
3136
3137
3138 # Checks for languages.
3139 ac_ext=c
3140 ac_cpp='$CPP $CPPFLAGS'
3141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3144
3145
3146 # Checks for programs.
3147 ac_ext=c
3148 ac_cpp='$CPP $CPPFLAGS'
3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152 if test -n "$ac_tool_prefix"; then
3153   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3154 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CC+:} false; then :
3158   $as_echo_n "(cached) " >&6
3159 else
3160   if test -n "$CC"; then
3161   ac_cv_prog_CC="$CC" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3165 do
3166   IFS=$as_save_IFS
3167   test -z "$as_dir" && as_dir=.
3168     for ac_exec_ext in '' $ac_executable_extensions; do
3169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172     break 2
3173   fi
3174 done
3175   done
3176 IFS=$as_save_IFS
3177
3178 fi
3179 fi
3180 CC=$ac_cv_prog_CC
3181 if test -n "$CC"; then
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3184 else
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 fi
3188
3189
3190 fi
3191 if test -z "$ac_cv_prog_CC"; then
3192   ac_ct_CC=$CC
3193   # Extract the first word of "gcc", so it can be a program name with args.
3194 set dummy gcc; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3198   $as_echo_n "(cached) " >&6
3199 else
3200   if test -n "$ac_ct_CC"; then
3201   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3202 else
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3205 do
3206   IFS=$as_save_IFS
3207   test -z "$as_dir" && as_dir=.
3208     for ac_exec_ext in '' $ac_executable_extensions; do
3209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210     ac_cv_prog_ac_ct_CC="gcc"
3211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212     break 2
3213   fi
3214 done
3215   done
3216 IFS=$as_save_IFS
3217
3218 fi
3219 fi
3220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3221 if test -n "$ac_ct_CC"; then
3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3223 $as_echo "$ac_ct_CC" >&6; }
3224 else
3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 fi
3228
3229   if test "x$ac_ct_CC" = x; then
3230     CC=""
3231   else
3232     case $cross_compiling:$ac_tool_warned in
3233 yes:)
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3237 esac
3238     CC=$ac_ct_CC
3239   fi
3240 else
3241   CC="$ac_cv_prog_CC"
3242 fi
3243
3244 if test -z "$CC"; then
3245           if test -n "$ac_tool_prefix"; then
3246     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}cc; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if ${ac_cv_prog_CC+:} false; then :
3251   $as_echo_n "(cached) " >&6
3252 else
3253   if test -n "$CC"; then
3254   ac_cv_prog_CC="$CC" # Let the user override the test.
3255 else
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3258 do
3259   IFS=$as_save_IFS
3260   test -z "$as_dir" && as_dir=.
3261     for ac_exec_ext in '' $ac_executable_extensions; do
3262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263     ac_cv_prog_CC="${ac_tool_prefix}cc"
3264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265     break 2
3266   fi
3267 done
3268   done
3269 IFS=$as_save_IFS
3270
3271 fi
3272 fi
3273 CC=$ac_cv_prog_CC
3274 if test -n "$CC"; then
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276 $as_echo "$CC" >&6; }
3277 else
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3280 fi
3281
3282
3283   fi
3284 fi
3285 if test -z "$CC"; then
3286   # Extract the first word of "cc", so it can be a program name with args.
3287 set dummy cc; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if ${ac_cv_prog_CC+:} false; then :
3291   $as_echo_n "(cached) " >&6
3292 else
3293   if test -n "$CC"; then
3294   ac_cv_prog_CC="$CC" # Let the user override the test.
3295 else
3296   ac_prog_rejected=no
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH
3299 do
3300   IFS=$as_save_IFS
3301   test -z "$as_dir" && as_dir=.
3302     for ac_exec_ext in '' $ac_executable_extensions; do
3303   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3305        ac_prog_rejected=yes
3306        continue
3307      fi
3308     ac_cv_prog_CC="cc"
3309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310     break 2
3311   fi
3312 done
3313   done
3314 IFS=$as_save_IFS
3315
3316 if test $ac_prog_rejected = yes; then
3317   # We found a bogon in the path, so make sure we never use it.
3318   set dummy $ac_cv_prog_CC
3319   shift
3320   if test $# != 0; then
3321     # We chose a different compiler from the bogus one.
3322     # However, it has the same basename, so the bogon will be chosen
3323     # first if we set CC to just the basename; use the full file name.
3324     shift
3325     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3326   fi
3327 fi
3328 fi
3329 fi
3330 CC=$ac_cv_prog_CC
3331 if test -n "$CC"; then
3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3334 else
3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3337 fi
3338
3339
3340 fi
3341 if test -z "$CC"; then
3342   if test -n "$ac_tool_prefix"; then
3343   for ac_prog in cl.exe
3344   do
3345     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_prog_CC+:} false; then :
3350   $as_echo_n "(cached) " >&6
3351 else
3352   if test -n "$CC"; then
3353   ac_cv_prog_CC="$CC" # Let the user override the test.
3354 else
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 for as_dir in $PATH
3357 do
3358   IFS=$as_save_IFS
3359   test -z "$as_dir" && as_dir=.
3360     for ac_exec_ext in '' $ac_executable_extensions; do
3361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364     break 2
3365   fi
3366 done
3367   done
3368 IFS=$as_save_IFS
3369
3370 fi
3371 fi
3372 CC=$ac_cv_prog_CC
3373 if test -n "$CC"; then
3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3375 $as_echo "$CC" >&6; }
3376 else
3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3379 fi
3380
3381
3382     test -n "$CC" && break
3383   done
3384 fi
3385 if test -z "$CC"; then
3386   ac_ct_CC=$CC
3387   for ac_prog in cl.exe
3388 do
3389   # Extract the first word of "$ac_prog", so it can be a program name with args.
3390 set dummy $ac_prog; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3394   $as_echo_n "(cached) " >&6
3395 else
3396   if test -n "$ac_ct_CC"; then
3397   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3398 else
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 for as_dir in $PATH
3401 do
3402   IFS=$as_save_IFS
3403   test -z "$as_dir" && as_dir=.
3404     for ac_exec_ext in '' $ac_executable_extensions; do
3405   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406     ac_cv_prog_ac_ct_CC="$ac_prog"
3407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408     break 2
3409   fi
3410 done
3411   done
3412 IFS=$as_save_IFS
3413
3414 fi
3415 fi
3416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417 if test -n "$ac_ct_CC"; then
3418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419 $as_echo "$ac_ct_CC" >&6; }
3420 else
3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3423 fi
3424
3425
3426   test -n "$ac_ct_CC" && break
3427 done
3428
3429   if test "x$ac_ct_CC" = x; then
3430     CC=""
3431   else
3432     case $cross_compiling:$ac_tool_warned in
3433 yes:)
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3437 esac
3438     CC=$ac_ct_CC
3439   fi
3440 fi
3441
3442 fi
3443
3444
3445 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "no acceptable C compiler found in \$PATH
3448 See \`config.log' for more details" "$LINENO" 5; }
3449
3450 # Provide some information about the compiler.
3451 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3452 set X $ac_compile
3453 ac_compiler=$2
3454 for ac_option in --version -v -V -qversion; do
3455   { { ac_try="$ac_compiler $ac_option >&5"
3456 case "(($ac_try" in
3457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458   *) ac_try_echo=$ac_try;;
3459 esac
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461 $as_echo "$ac_try_echo"; } >&5
3462   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3463   ac_status=$?
3464   if test -s conftest.err; then
3465     sed '10a\
3466 ... rest of stderr output deleted ...
3467          10q' conftest.err >conftest.er1
3468     cat conftest.er1 >&5
3469   fi
3470   rm -f conftest.er1 conftest.err
3471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472   test $ac_status = 0; }
3473 done
3474
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h.  */
3477
3478 int
3479 main ()
3480 {
3481
3482   ;
3483   return 0;
3484 }
3485 _ACEOF
3486 ac_clean_files_save=$ac_clean_files
3487 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3488 # Try to create an executable without -o first, disregard a.out.
3489 # It will help us diagnose broken compilers, and finding out an intuition
3490 # of exeext.
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3492 $as_echo_n "checking whether the C compiler works... " >&6; }
3493 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3494
3495 # The possible output files:
3496 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3497
3498 ac_rmfiles=
3499 for ac_file in $ac_files
3500 do
3501   case $ac_file in
3502     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3503     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3504   esac
3505 done
3506 rm -f $ac_rmfiles
3507
3508 if { { ac_try="$ac_link_default"
3509 case "(($ac_try" in
3510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511   *) ac_try_echo=$ac_try;;
3512 esac
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515   (eval "$ac_link_default") 2>&5
3516   ac_status=$?
3517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518   test $ac_status = 0; }; then :
3519   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3520 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3521 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3522 # so that the user can short-circuit this test for compilers unknown to
3523 # Autoconf.
3524 for ac_file in $ac_files ''
3525 do
3526   test -f "$ac_file" || continue
3527   case $ac_file in
3528     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3529         ;;
3530     [ab].out )
3531         # We found the default executable, but exeext='' is most
3532         # certainly right.
3533         break;;
3534     *.* )
3535         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3536         then :; else
3537            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3538         fi
3539         # We set ac_cv_exeext here because the later test for it is not
3540         # safe: cross compilers may not add the suffix if given an `-o'
3541         # argument, so we may need to know it at that point already.
3542         # Even if this section looks crufty: it has the advantage of
3543         # actually working.
3544         break;;
3545     * )
3546         break;;
3547   esac
3548 done
3549 test "$ac_cv_exeext" = no && ac_cv_exeext=
3550
3551 else
3552   ac_file=''
3553 fi
3554 if test -z "$ac_file"; then :
3555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3557 $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3559
3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562 as_fn_error 77 "C compiler cannot create executables
3563 See \`config.log' for more details" "$LINENO" 5; }
3564 else
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3566 $as_echo "yes" >&6; }
3567 fi
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3569 $as_echo_n "checking for C compiler default output file name... " >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3571 $as_echo "$ac_file" >&6; }
3572 ac_exeext=$ac_cv_exeext
3573
3574 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3575 ac_clean_files=$ac_clean_files_save
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3577 $as_echo_n "checking for suffix of executables... " >&6; }
3578 if { { ac_try="$ac_link"
3579 case "(($ac_try" in
3580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581   *) ac_try_echo=$ac_try;;
3582 esac
3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584 $as_echo "$ac_try_echo"; } >&5
3585   (eval "$ac_link") 2>&5
3586   ac_status=$?
3587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588   test $ac_status = 0; }; then :
3589   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3590 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3591 # work properly (i.e., refer to `conftest.exe'), while it won't with
3592 # `rm'.
3593 for ac_file in conftest.exe conftest conftest.*; do
3594   test -f "$ac_file" || continue
3595   case $ac_file in
3596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3597     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3598           break;;
3599     * ) break;;
3600   esac
3601 done
3602 else
3603   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3606 See \`config.log' for more details" "$LINENO" 5; }
3607 fi
3608 rm -f conftest conftest$ac_cv_exeext
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3610 $as_echo "$ac_cv_exeext" >&6; }
3611
3612 rm -f conftest.$ac_ext
3613 EXEEXT=$ac_cv_exeext
3614 ac_exeext=$EXEEXT
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h.  */
3617 #include <stdio.h>
3618 int
3619 main ()
3620 {
3621 FILE *f = fopen ("conftest.out", "w");
3622  return ferror (f) || fclose (f) != 0;
3623
3624   ;
3625   return 0;
3626 }
3627 _ACEOF
3628 ac_clean_files="$ac_clean_files conftest.out"
3629 # Check that the compiler produces executables we can run.  If not, either
3630 # the compiler is broken, or we cross compile.
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3632 $as_echo_n "checking whether we are cross compiling... " >&6; }
3633 if test "$cross_compiling" != yes; then
3634   { { ac_try="$ac_link"
3635 case "(($ac_try" in
3636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637   *) ac_try_echo=$ac_try;;
3638 esac
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641   (eval "$ac_link") 2>&5
3642   ac_status=$?
3643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644   test $ac_status = 0; }
3645   if { ac_try='./conftest$ac_cv_exeext'
3646   { { case "(($ac_try" in
3647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648   *) ac_try_echo=$ac_try;;
3649 esac
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652   (eval "$ac_try") 2>&5
3653   ac_status=$?
3654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655   test $ac_status = 0; }; }; then
3656     cross_compiling=no
3657   else
3658     if test "$cross_compiling" = maybe; then
3659         cross_compiling=yes
3660     else
3661         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 as_fn_error $? "cannot run C compiled programs.
3664 If you meant to cross compile, use \`--host'.
3665 See \`config.log' for more details" "$LINENO" 5; }
3666     fi
3667   fi
3668 fi
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3670 $as_echo "$cross_compiling" >&6; }
3671
3672 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3673 ac_clean_files=$ac_clean_files_save
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3675 $as_echo_n "checking for suffix of object files... " >&6; }
3676 if ${ac_cv_objext+:} false; then :
3677   $as_echo_n "(cached) " >&6
3678 else
3679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h.  */
3681
3682 int
3683 main ()
3684 {
3685
3686   ;
3687   return 0;
3688 }
3689 _ACEOF
3690 rm -f conftest.o conftest.obj
3691 if { { ac_try="$ac_compile"
3692 case "(($ac_try" in
3693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694   *) ac_try_echo=$ac_try;;
3695 esac
3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698   (eval "$ac_compile") 2>&5
3699   ac_status=$?
3700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701   test $ac_status = 0; }; then :
3702   for ac_file in conftest.o conftest.obj conftest.*; do
3703   test -f "$ac_file" || continue;
3704   case $ac_file in
3705     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3706     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3707        break;;
3708   esac
3709 done
3710 else
3711   $as_echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.$ac_ext >&5
3713
3714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "cannot compute suffix of object files: cannot compile
3717 See \`config.log' for more details" "$LINENO" 5; }
3718 fi
3719 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3720 fi
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3722 $as_echo "$ac_cv_objext" >&6; }
3723 OBJEXT=$ac_cv_objext
3724 ac_objext=$OBJEXT
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3726 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3727 if ${ac_cv_c_compiler_gnu+:} false; then :
3728   $as_echo_n "(cached) " >&6
3729 else
3730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h.  */
3732
3733 int
3734 main ()
3735 {
3736 #ifndef __GNUC__
3737        choke me
3738 #endif
3739
3740   ;
3741   return 0;
3742 }
3743 _ACEOF
3744 if ac_fn_c_try_compile "$LINENO"; then :
3745   ac_compiler_gnu=yes
3746 else
3747   ac_compiler_gnu=no
3748 fi
3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3751
3752 fi
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3754 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3755 if test $ac_compiler_gnu = yes; then
3756   GCC=yes
3757 else
3758   GCC=
3759 fi
3760 ac_test_CFLAGS=${CFLAGS+set}
3761 ac_save_CFLAGS=$CFLAGS
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3763 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3764 if ${ac_cv_prog_cc_g+:} false; then :
3765   $as_echo_n "(cached) " >&6
3766 else
3767   ac_save_c_werror_flag=$ac_c_werror_flag
3768    ac_c_werror_flag=yes
3769    ac_cv_prog_cc_g=no
3770    CFLAGS="-g"
3771    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h.  */
3773
3774 int
3775 main ()
3776 {
3777
3778   ;
3779   return 0;
3780 }
3781 _ACEOF
3782 if ac_fn_c_try_compile "$LINENO"; then :
3783   ac_cv_prog_cc_g=yes
3784 else
3785   CFLAGS=""
3786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h.  */
3788
3789 int
3790 main ()
3791 {
3792
3793   ;
3794   return 0;
3795 }
3796 _ACEOF
3797 if ac_fn_c_try_compile "$LINENO"; then :
3798
3799 else
3800   ac_c_werror_flag=$ac_save_c_werror_flag
3801          CFLAGS="-g"
3802          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h.  */
3804
3805 int
3806 main ()
3807 {
3808
3809   ;
3810   return 0;
3811 }
3812 _ACEOF
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814   ac_cv_prog_cc_g=yes
3815 fi
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 fi
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 fi
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821    ac_c_werror_flag=$ac_save_c_werror_flag
3822 fi
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3824 $as_echo "$ac_cv_prog_cc_g" >&6; }
3825 if test "$ac_test_CFLAGS" = set; then
3826   CFLAGS=$ac_save_CFLAGS
3827 elif test $ac_cv_prog_cc_g = yes; then
3828   if test "$GCC" = yes; then
3829     CFLAGS="-g -O2"
3830   else
3831     CFLAGS="-g"
3832   fi
3833 else
3834   if test "$GCC" = yes; then
3835     CFLAGS="-O2"
3836   else
3837     CFLAGS=
3838   fi
3839 fi
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3841 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3842 if ${ac_cv_prog_cc_c89+:} false; then :
3843   $as_echo_n "(cached) " >&6
3844 else
3845   ac_cv_prog_cc_c89=no
3846 ac_save_CC=$CC
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h.  */
3849 #include <stdarg.h>
3850 #include <stdio.h>
3851 struct stat;
3852 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3853 struct buf { int x; };
3854 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3855 static char *e (p, i)
3856      char **p;
3857      int i;
3858 {
3859   return p[i];
3860 }
3861 static char *f (char * (*g) (char **, int), char **p, ...)
3862 {
3863   char *s;
3864   va_list v;
3865   va_start (v,p);
3866   s = g (p, va_arg (v,int));
3867   va_end (v);
3868   return s;
3869 }
3870
3871 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3872    function prototypes and stuff, but not '\xHH' hex character constants.
3873    These don't provoke an error unfortunately, instead are silently treated
3874    as 'x'.  The following induces an error, until -std is added to get
3875    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3876    array size at least.  It's necessary to write '\x00'==0 to get something
3877    that's true only with -std.  */
3878 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3879
3880 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3881    inside strings and character constants.  */
3882 #define FOO(x) 'x'
3883 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3884
3885 int test (int i, double x);
3886 struct s1 {int (*f) (int a);};
3887 struct s2 {int (*f) (double a);};
3888 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3889 int argc;
3890 char **argv;
3891 int
3892 main ()
3893 {
3894 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3895   ;
3896   return 0;
3897 }
3898 _ACEOF
3899 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3900         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3901 do
3902   CC="$ac_save_CC $ac_arg"
3903   if ac_fn_c_try_compile "$LINENO"; then :
3904   ac_cv_prog_cc_c89=$ac_arg
3905 fi
3906 rm -f core conftest.err conftest.$ac_objext
3907   test "x$ac_cv_prog_cc_c89" != "xno" && break
3908 done
3909 rm -f conftest.$ac_ext
3910 CC=$ac_save_CC
3911
3912 fi
3913 # AC_CACHE_VAL
3914 case "x$ac_cv_prog_cc_c89" in
3915   x)
3916     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3917 $as_echo "none needed" >&6; } ;;
3918   xno)
3919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3920 $as_echo "unsupported" >&6; } ;;
3921   *)
3922     CC="$CC $ac_cv_prog_cc_c89"
3923     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3924 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3925 esac
3926 if test "x$ac_cv_prog_cc_c89" != xno; then :
3927
3928 fi
3929
3930 ac_ext=c
3931 ac_cpp='$CPP $CPPFLAGS'
3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3935
3936 ac_ext=c
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3942 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3943 if ${am_cv_prog_cc_c_o+:} false; then :
3944   $as_echo_n "(cached) " >&6
3945 else
3946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h.  */
3948
3949 int
3950 main ()
3951 {
3952
3953   ;
3954   return 0;
3955 }
3956 _ACEOF
3957   # Make sure it works both with $CC and with simple cc.
3958   # Following AC_PROG_CC_C_O, we do the test twice because some
3959   # compilers refuse to overwrite an existing .o file with -o,
3960   # though they will create one.
3961   am_cv_prog_cc_c_o=yes
3962   for am_i in 1 2; do
3963     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3964    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3965    ac_status=$?
3966    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967    (exit $ac_status); } \
3968          && test -f conftest2.$ac_objext; then
3969       : OK
3970     else
3971       am_cv_prog_cc_c_o=no
3972       break
3973     fi
3974   done
3975   rm -f core conftest*
3976   unset am_i
3977 fi
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3979 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3980 if test "$am_cv_prog_cc_c_o" != yes; then
3981    # Losing compiler, so override with the script.
3982    # FIXME: It is wrong to rewrite CC.
3983    # But if we don't then we get into trouble of one sort or another.
3984    # A longer-term fix would be to have automake use am__CC in this case,
3985    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3986    CC="$am_aux_dir/compile $CC"
3987 fi
3988 ac_ext=c
3989 ac_cpp='$CPP $CPPFLAGS'
3990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993
3994 DEPDIR="${am__leading_dot}deps"
3995
3996 ac_config_commands="$ac_config_commands depfiles"
3997
3998
3999 am_make=${MAKE-make}
4000 cat > confinc << 'END'
4001 am__doit:
4002         @echo this is the am__doit target
4003 .PHONY: am__doit
4004 END
4005 # If we don't find an include directive, just comment out the code.
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4007 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4008 am__include="#"
4009 am__quote=
4010 _am_result=none
4011 # First try GNU make style include.
4012 echo "include confinc" > confmf
4013 # Ignore all kinds of additional output from 'make'.
4014 case `$am_make -s -f confmf 2> /dev/null` in #(
4015 *the\ am__doit\ target*)
4016   am__include=include
4017   am__quote=
4018   _am_result=GNU
4019   ;;
4020 esac
4021 # Now try BSD make style include.
4022 if test "$am__include" = "#"; then
4023    echo '.include "confinc"' > confmf
4024    case `$am_make -s -f confmf 2> /dev/null` in #(
4025    *the\ am__doit\ target*)
4026      am__include=.include
4027      am__quote="\""
4028      _am_result=BSD
4029      ;;
4030    esac
4031 fi
4032
4033
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4035 $as_echo "$_am_result" >&6; }
4036 rm -f confinc confmf
4037
4038 # Check whether --enable-dependency-tracking was given.
4039 if test "${enable_dependency_tracking+set}" = set; then :
4040   enableval=$enable_dependency_tracking;
4041 fi
4042
4043 if test "x$enable_dependency_tracking" != xno; then
4044   am_depcomp="$ac_aux_dir/depcomp"
4045   AMDEPBACKSLASH='\'
4046   am__nodep='_no'
4047 fi
4048  if test "x$enable_dependency_tracking" != xno; then
4049   AMDEP_TRUE=
4050   AMDEP_FALSE='#'
4051 else
4052   AMDEP_TRUE='#'
4053   AMDEP_FALSE=
4054 fi
4055
4056
4057
4058 depcc="$CC"   am_compiler_list=
4059
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4061 $as_echo_n "checking dependency style of $depcc... " >&6; }
4062 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4063   $as_echo_n "(cached) " >&6
4064 else
4065   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4066   # We make a subdir and do the tests there.  Otherwise we can end up
4067   # making bogus files that we don't know about and never remove.  For
4068   # instance it was reported that on HP-UX the gcc test will end up
4069   # making a dummy file named 'D' -- because '-MD' means "put the output
4070   # in D".
4071   rm -rf conftest.dir
4072   mkdir conftest.dir
4073   # Copy depcomp to subdir because otherwise we won't find it if we're
4074   # using a relative directory.
4075   cp "$am_depcomp" conftest.dir
4076   cd conftest.dir
4077   # We will build objects and dependencies in a subdirectory because
4078   # it helps to detect inapplicable dependency modes.  For instance
4079   # both Tru64's cc and ICC support -MD to output dependencies as a
4080   # side effect of compilation, but ICC will put the dependencies in
4081   # the current directory while Tru64 will put them in the object
4082   # directory.
4083   mkdir sub
4084
4085   am_cv_CC_dependencies_compiler_type=none
4086   if test "$am_compiler_list" = ""; then
4087      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4088   fi
4089   am__universal=false
4090   case " $depcc " in #(
4091      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4092      esac
4093
4094   for depmode in $am_compiler_list; do
4095     # Setup a source with many dependencies, because some compilers
4096     # like to wrap large dependency lists on column 80 (with \), and
4097     # we should not choose a depcomp mode which is confused by this.
4098     #
4099     # We need to recreate these files for each test, as the compiler may
4100     # overwrite some of them when testing with obscure command lines.
4101     # This happens at least with the AIX C compiler.
4102     : > sub/conftest.c
4103     for i in 1 2 3 4 5 6; do
4104       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4105       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4106       # Solaris 10 /bin/sh.
4107       echo '/* dummy */' > sub/conftst$i.h
4108     done
4109     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4110
4111     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4112     # mode.  It turns out that the SunPro C++ compiler does not properly
4113     # handle '-M -o', and we need to detect this.  Also, some Intel
4114     # versions had trouble with output in subdirs.
4115     am__obj=sub/conftest.${OBJEXT-o}
4116     am__minus_obj="-o $am__obj"
4117     case $depmode in
4118     gcc)
4119       # This depmode causes a compiler race in universal mode.
4120       test "$am__universal" = false || continue
4121       ;;
4122     nosideeffect)
4123       # After this tag, mechanisms are not by side-effect, so they'll
4124       # only be used when explicitly requested.
4125       if test "x$enable_dependency_tracking" = xyes; then
4126         continue
4127       else
4128         break
4129       fi
4130       ;;
4131     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4132       # This compiler won't grok '-c -o', but also, the minuso test has
4133       # not run yet.  These depmodes are late enough in the game, and
4134       # so weak that their functioning should not be impacted.
4135       am__obj=conftest.${OBJEXT-o}
4136       am__minus_obj=
4137       ;;
4138     none) break ;;
4139     esac
4140     if depmode=$depmode \
4141        source=sub/conftest.c object=$am__obj \
4142        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4143        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4144          >/dev/null 2>conftest.err &&
4145        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4146        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4147        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4148        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4149       # icc doesn't choke on unknown options, it will just issue warnings
4150       # or remarks (even with -Werror).  So we grep stderr for any message
4151       # that says an option was ignored or not supported.
4152       # When given -MP, icc 7.0 and 7.1 complain thusly:
4153       #   icc: Command line warning: ignoring option '-M'; no argument required
4154       # The diagnosis changed in icc 8.0:
4155       #   icc: Command line remark: option '-MP' not supported
4156       if (grep 'ignoring option' conftest.err ||
4157           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4158         am_cv_CC_dependencies_compiler_type=$depmode
4159         break
4160       fi
4161     fi
4162   done
4163
4164   cd ..
4165   rm -rf conftest.dir
4166 else
4167   am_cv_CC_dependencies_compiler_type=none
4168 fi
4169
4170 fi
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4172 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4173 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4174
4175  if
4176   test "x$enable_dependency_tracking" != xno \
4177   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4178   am__fastdepCC_TRUE=
4179   am__fastdepCC_FALSE='#'
4180 else
4181   am__fastdepCC_TRUE='#'
4182   am__fastdepCC_FALSE=
4183 fi
4184
4185
4186
4187
4188
4189 # Initialize libtool
4190 # Disable generation of static libraries
4191
4192 case `pwd` in
4193   *\ * | *\     *)
4194     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4195 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4196 esac
4197
4198
4199
4200 macro_version='2.4.2'
4201 macro_revision='1.3337'
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215 ltmain="$ac_aux_dir/ltmain.sh"
4216
4217 # Make sure we can run config.sub.
4218 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4219   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4220
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4222 $as_echo_n "checking build system type... " >&6; }
4223 if ${ac_cv_build+:} false; then :
4224   $as_echo_n "(cached) " >&6
4225 else
4226   ac_build_alias=$build_alias
4227 test "x$ac_build_alias" = x &&
4228   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4229 test "x$ac_build_alias" = x &&
4230   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4231 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4232   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4233
4234 fi
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4236 $as_echo "$ac_cv_build" >&6; }
4237 case $ac_cv_build in
4238 *-*-*) ;;
4239 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4240 esac
4241 build=$ac_cv_build
4242 ac_save_IFS=$IFS; IFS='-'
4243 set x $ac_cv_build
4244 shift
4245 build_cpu=$1
4246 build_vendor=$2
4247 shift; shift
4248 # Remember, the first character of IFS is used to create $*,
4249 # except with old shells:
4250 build_os=$*
4251 IFS=$ac_save_IFS
4252 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4253
4254
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4256 $as_echo_n "checking host system type... " >&6; }
4257 if ${ac_cv_host+:} false; then :
4258   $as_echo_n "(cached) " >&6
4259 else
4260   if test "x$host_alias" = x; then
4261   ac_cv_host=$ac_cv_build
4262 else
4263   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4264     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4265 fi
4266
4267 fi
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4269 $as_echo "$ac_cv_host" >&6; }
4270 case $ac_cv_host in
4271 *-*-*) ;;
4272 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4273 esac
4274 host=$ac_cv_host
4275 ac_save_IFS=$IFS; IFS='-'
4276 set x $ac_cv_host
4277 shift
4278 host_cpu=$1
4279 host_vendor=$2
4280 shift; shift
4281 # Remember, the first character of IFS is used to create $*,
4282 # except with old shells:
4283 host_os=$*
4284 IFS=$ac_save_IFS
4285 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4286
4287
4288 # Backslashify metacharacters that are still active within
4289 # double-quoted strings.
4290 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4291
4292 # Same as above, but do not quote variable references.
4293 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4294
4295 # Sed substitution to delay expansion of an escaped shell variable in a
4296 # double_quote_subst'ed string.
4297 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4298
4299 # Sed substitution to delay expansion of an escaped single quote.
4300 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4301
4302 # Sed substitution to avoid accidental globbing in evaled expressions
4303 no_glob_subst='s/\*/\\\*/g'
4304
4305 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4306 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4307 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4308
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4310 $as_echo_n "checking how to print strings... " >&6; }
4311 # Test print first, because it will be a builtin if present.
4312 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4313    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4314   ECHO='print -r --'
4315 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4316   ECHO='printf %s\n'
4317 else
4318   # Use this function as a fallback that always works.
4319   func_fallback_echo ()
4320   {
4321     eval 'cat <<_LTECHO_EOF
4322 $1
4323 _LTECHO_EOF'
4324   }
4325   ECHO='func_fallback_echo'
4326 fi
4327
4328 # func_echo_all arg...
4329 # Invoke $ECHO with all args, space-separated.
4330 func_echo_all ()
4331 {
4332     $ECHO ""
4333 }
4334
4335 case "$ECHO" in
4336   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4337 $as_echo "printf" >&6; } ;;
4338   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4339 $as_echo "print -r" >&6; } ;;
4340   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4341 $as_echo "cat" >&6; } ;;
4342 esac
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4358 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4359 if ${ac_cv_path_SED+:} false; then :
4360   $as_echo_n "(cached) " >&6
4361 else
4362             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4363      for ac_i in 1 2 3 4 5 6 7; do
4364        ac_script="$ac_script$as_nl$ac_script"
4365      done
4366      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4367      { ac_script=; unset ac_script;}
4368      if test -z "$SED"; then
4369   ac_path_SED_found=false
4370   # Loop through the user's path and test for each of PROGNAME-LIST
4371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 for as_dir in $PATH
4373 do
4374   IFS=$as_save_IFS
4375   test -z "$as_dir" && as_dir=.
4376     for ac_prog in sed gsed; do
4377     for ac_exec_ext in '' $ac_executable_extensions; do
4378       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4379       as_fn_executable_p "$ac_path_SED" || continue
4380 # Check for GNU ac_path_SED and select it if it is found.
4381   # Check for GNU $ac_path_SED
4382 case `"$ac_path_SED" --version 2>&1` in
4383 *GNU*)
4384   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4385 *)
4386   ac_count=0
4387   $as_echo_n 0123456789 >"conftest.in"
4388   while :
4389   do
4390     cat "conftest.in" "conftest.in" >"conftest.tmp"
4391     mv "conftest.tmp" "conftest.in"
4392     cp "conftest.in" "conftest.nl"
4393     $as_echo '' >> "conftest.nl"
4394     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4395     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4396     as_fn_arith $ac_count + 1 && ac_count=$as_val
4397     if test $ac_count -gt ${ac_path_SED_max-0}; then
4398       # Best one so far, save it but keep looking for a better one
4399       ac_cv_path_SED="$ac_path_SED"
4400       ac_path_SED_max=$ac_count
4401     fi
4402     # 10*(2^10) chars as input seems more than enough
4403     test $ac_count -gt 10 && break
4404   done
4405   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4406 esac
4407
4408       $ac_path_SED_found && break 3
4409     done
4410   done
4411   done
4412 IFS=$as_save_IFS
4413   if test -z "$ac_cv_path_SED"; then
4414     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4415   fi
4416 else
4417   ac_cv_path_SED=$SED
4418 fi
4419
4420 fi
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4422 $as_echo "$ac_cv_path_SED" >&6; }
4423  SED="$ac_cv_path_SED"
4424   rm -f conftest.sed
4425
4426 test -z "$SED" && SED=sed
4427 Xsed="$SED -e 1s/^X//"
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4440 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4441 if ${ac_cv_path_GREP+:} false; then :
4442   $as_echo_n "(cached) " >&6
4443 else
4444   if test -z "$GREP"; then
4445   ac_path_GREP_found=false
4446   # Loop through the user's path and test for each of PROGNAME-LIST
4447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4449 do
4450   IFS=$as_save_IFS
4451   test -z "$as_dir" && as_dir=.
4452     for ac_prog in grep ggrep; do
4453     for ac_exec_ext in '' $ac_executable_extensions; do
4454       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4455       as_fn_executable_p "$ac_path_GREP" || continue
4456 # Check for GNU ac_path_GREP and select it if it is found.
4457   # Check for GNU $ac_path_GREP
4458 case `"$ac_path_GREP" --version 2>&1` in
4459 *GNU*)
4460   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4461 *)
4462   ac_count=0
4463   $as_echo_n 0123456789 >"conftest.in"
4464   while :
4465   do
4466     cat "conftest.in" "conftest.in" >"conftest.tmp"
4467     mv "conftest.tmp" "conftest.in"
4468     cp "conftest.in" "conftest.nl"
4469     $as_echo 'GREP' >> "conftest.nl"
4470     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4471     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4472     as_fn_arith $ac_count + 1 && ac_count=$as_val
4473     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4474       # Best one so far, save it but keep looking for a better one
4475       ac_cv_path_GREP="$ac_path_GREP"
4476       ac_path_GREP_max=$ac_count
4477     fi
4478     # 10*(2^10) chars as input seems more than enough
4479     test $ac_count -gt 10 && break
4480   done
4481   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4482 esac
4483
4484       $ac_path_GREP_found && break 3
4485     done
4486   done
4487   done
4488 IFS=$as_save_IFS
4489   if test -z "$ac_cv_path_GREP"; then
4490     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4491   fi
4492 else
4493   ac_cv_path_GREP=$GREP
4494 fi
4495
4496 fi
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4498 $as_echo "$ac_cv_path_GREP" >&6; }
4499  GREP="$ac_cv_path_GREP"
4500
4501
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4503 $as_echo_n "checking for egrep... " >&6; }
4504 if ${ac_cv_path_EGREP+:} false; then :
4505   $as_echo_n "(cached) " >&6
4506 else
4507   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4508    then ac_cv_path_EGREP="$GREP -E"
4509    else
4510      if test -z "$EGREP"; then
4511   ac_path_EGREP_found=false
4512   # Loop through the user's path and test for each of PROGNAME-LIST
4513   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4515 do
4516   IFS=$as_save_IFS
4517   test -z "$as_dir" && as_dir=.
4518     for ac_prog in egrep; do
4519     for ac_exec_ext in '' $ac_executable_extensions; do
4520       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4521       as_fn_executable_p "$ac_path_EGREP" || continue
4522 # Check for GNU ac_path_EGREP and select it if it is found.
4523   # Check for GNU $ac_path_EGREP
4524 case `"$ac_path_EGREP" --version 2>&1` in
4525 *GNU*)
4526   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4527 *)
4528   ac_count=0
4529   $as_echo_n 0123456789 >"conftest.in"
4530   while :
4531   do
4532     cat "conftest.in" "conftest.in" >"conftest.tmp"
4533     mv "conftest.tmp" "conftest.in"
4534     cp "conftest.in" "conftest.nl"
4535     $as_echo 'EGREP' >> "conftest.nl"
4536     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4537     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4538     as_fn_arith $ac_count + 1 && ac_count=$as_val
4539     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4540       # Best one so far, save it but keep looking for a better one
4541       ac_cv_path_EGREP="$ac_path_EGREP"
4542       ac_path_EGREP_max=$ac_count
4543     fi
4544     # 10*(2^10) chars as input seems more than enough
4545     test $ac_count -gt 10 && break
4546   done
4547   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4548 esac
4549
4550       $ac_path_EGREP_found && break 3
4551     done
4552   done
4553   done
4554 IFS=$as_save_IFS
4555   if test -z "$ac_cv_path_EGREP"; then
4556     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4557   fi
4558 else
4559   ac_cv_path_EGREP=$EGREP
4560 fi
4561
4562    fi
4563 fi
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4565 $as_echo "$ac_cv_path_EGREP" >&6; }
4566  EGREP="$ac_cv_path_EGREP"
4567
4568
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4570 $as_echo_n "checking for fgrep... " >&6; }
4571 if ${ac_cv_path_FGREP+:} false; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4575    then ac_cv_path_FGREP="$GREP -F"
4576    else
4577      if test -z "$FGREP"; then
4578   ac_path_FGREP_found=false
4579   # Loop through the user's path and test for each of PROGNAME-LIST
4580   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4582 do
4583   IFS=$as_save_IFS
4584   test -z "$as_dir" && as_dir=.
4585     for ac_prog in fgrep; do
4586     for ac_exec_ext in '' $ac_executable_extensions; do
4587       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4588       as_fn_executable_p "$ac_path_FGREP" || continue
4589 # Check for GNU ac_path_FGREP and select it if it is found.
4590   # Check for GNU $ac_path_FGREP
4591 case `"$ac_path_FGREP" --version 2>&1` in
4592 *GNU*)
4593   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4594 *)
4595   ac_count=0
4596   $as_echo_n 0123456789 >"conftest.in"
4597   while :
4598   do
4599     cat "conftest.in" "conftest.in" >"conftest.tmp"
4600     mv "conftest.tmp" "conftest.in"
4601     cp "conftest.in" "conftest.nl"
4602     $as_echo 'FGREP' >> "conftest.nl"
4603     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4604     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4605     as_fn_arith $ac_count + 1 && ac_count=$as_val
4606     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4607       # Best one so far, save it but keep looking for a better one
4608       ac_cv_path_FGREP="$ac_path_FGREP"
4609       ac_path_FGREP_max=$ac_count
4610     fi
4611     # 10*(2^10) chars as input seems more than enough
4612     test $ac_count -gt 10 && break
4613   done
4614   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4615 esac
4616
4617       $ac_path_FGREP_found && break 3
4618     done
4619   done
4620   done
4621 IFS=$as_save_IFS
4622   if test -z "$ac_cv_path_FGREP"; then
4623     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4624   fi
4625 else
4626   ac_cv_path_FGREP=$FGREP
4627 fi
4628
4629    fi
4630 fi
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4632 $as_echo "$ac_cv_path_FGREP" >&6; }
4633  FGREP="$ac_cv_path_FGREP"
4634
4635
4636 test -z "$GREP" && GREP=grep
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656 # Check whether --with-gnu-ld was given.
4657 if test "${with_gnu_ld+set}" = set; then :
4658   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4659 else
4660   with_gnu_ld=no
4661 fi
4662
4663 ac_prog=ld
4664 if test "$GCC" = yes; then
4665   # Check if gcc -print-prog-name=ld gives a path.
4666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4667 $as_echo_n "checking for ld used by $CC... " >&6; }
4668   case $host in
4669   *-*-mingw*)
4670     # gcc leaves a trailing carriage return which upsets mingw
4671     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4672   *)
4673     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4674   esac
4675   case $ac_prog in
4676     # Accept absolute paths.
4677     [\\/]* | ?:[\\/]*)
4678       re_direlt='/[^/][^/]*/\.\./'
4679       # Canonicalize the pathname of ld
4680       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4681       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4682         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4683       done
4684       test -z "$LD" && LD="$ac_prog"
4685       ;;
4686   "")
4687     # If it fails, then pretend we aren't using GCC.
4688     ac_prog=ld
4689     ;;
4690   *)
4691     # If it is relative, then search for the first ld in PATH.
4692     with_gnu_ld=unknown
4693     ;;
4694   esac
4695 elif test "$with_gnu_ld" = yes; then
4696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4697 $as_echo_n "checking for GNU ld... " >&6; }
4698 else
4699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4700 $as_echo_n "checking for non-GNU ld... " >&6; }
4701 fi
4702 if ${lt_cv_path_LD+:} false; then :
4703   $as_echo_n "(cached) " >&6
4704 else
4705   if test -z "$LD"; then
4706   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4707   for ac_dir in $PATH; do
4708     IFS="$lt_save_ifs"
4709     test -z "$ac_dir" && ac_dir=.
4710     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4711       lt_cv_path_LD="$ac_dir/$ac_prog"
4712       # Check to see if the program is GNU ld.  I'd rather use --version,
4713       # but apparently some variants of GNU ld only accept -v.
4714       # Break only if it was the GNU/non-GNU ld that we prefer.
4715       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4716       *GNU* | *'with BFD'*)
4717         test "$with_gnu_ld" != no && break
4718         ;;
4719       *)
4720         test "$with_gnu_ld" != yes && break
4721         ;;
4722       esac
4723     fi
4724   done
4725   IFS="$lt_save_ifs"
4726 else
4727   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4728 fi
4729 fi
4730
4731 LD="$lt_cv_path_LD"
4732 if test -n "$LD"; then
4733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4734 $as_echo "$LD" >&6; }
4735 else
4736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4738 fi
4739 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4742 if ${lt_cv_prog_gnu_ld+:} false; then :
4743   $as_echo_n "(cached) " >&6
4744 else
4745   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4746 case `$LD -v 2>&1 </dev/null` in
4747 *GNU* | *'with BFD'*)
4748   lt_cv_prog_gnu_ld=yes
4749   ;;
4750 *)
4751   lt_cv_prog_gnu_ld=no
4752   ;;
4753 esac
4754 fi
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4757 with_gnu_ld=$lt_cv_prog_gnu_ld
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4768 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4769 if ${lt_cv_path_NM+:} false; then :
4770   $as_echo_n "(cached) " >&6
4771 else
4772   if test -n "$NM"; then
4773   # Let the user override the test.
4774   lt_cv_path_NM="$NM"
4775 else
4776   lt_nm_to_check="${ac_tool_prefix}nm"
4777   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4778     lt_nm_to_check="$lt_nm_to_check nm"
4779   fi
4780   for lt_tmp_nm in $lt_nm_to_check; do
4781     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4782     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4783       IFS="$lt_save_ifs"
4784       test -z "$ac_dir" && ac_dir=.
4785       tmp_nm="$ac_dir/$lt_tmp_nm"
4786       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4787         # Check to see if the nm accepts a BSD-compat flag.
4788         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4789         #   nm: unknown option "B" ignored
4790         # Tru64's nm complains that /dev/null is an invalid object file
4791         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4792         */dev/null* | *'Invalid file or object type'*)
4793           lt_cv_path_NM="$tmp_nm -B"
4794           break
4795           ;;
4796         *)
4797           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4798           */dev/null*)
4799             lt_cv_path_NM="$tmp_nm -p"
4800             break
4801             ;;
4802           *)
4803             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4804             continue # so that we can try to find one that supports BSD flags
4805             ;;
4806           esac
4807           ;;
4808         esac
4809       fi
4810     done
4811     IFS="$lt_save_ifs"
4812   done
4813   : ${lt_cv_path_NM=no}
4814 fi
4815 fi
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4817 $as_echo "$lt_cv_path_NM" >&6; }
4818 if test "$lt_cv_path_NM" != "no"; then
4819   NM="$lt_cv_path_NM"
4820 else
4821   # Didn't find any BSD compatible name lister, look for dumpbin.
4822   if test -n "$DUMPBIN"; then :
4823     # Let the user override the test.
4824   else
4825     if test -n "$ac_tool_prefix"; then
4826   for ac_prog in dumpbin "link -dump"
4827   do
4828     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_DUMPBIN+:} false; then :
4833   $as_echo_n "(cached) " >&6
4834 else
4835   if test -n "$DUMPBIN"; then
4836   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4840 do
4841   IFS=$as_save_IFS
4842   test -z "$as_dir" && as_dir=.
4843     for ac_exec_ext in '' $ac_executable_extensions; do
4844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847     break 2
4848   fi
4849 done
4850   done
4851 IFS=$as_save_IFS
4852
4853 fi
4854 fi
4855 DUMPBIN=$ac_cv_prog_DUMPBIN
4856 if test -n "$DUMPBIN"; then
4857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4858 $as_echo "$DUMPBIN" >&6; }
4859 else
4860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4862 fi
4863
4864
4865     test -n "$DUMPBIN" && break
4866   done
4867 fi
4868 if test -z "$DUMPBIN"; then
4869   ac_ct_DUMPBIN=$DUMPBIN
4870   for ac_prog in dumpbin "link -dump"
4871 do
4872   # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy $ac_prog; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4877   $as_echo_n "(cached) " >&6
4878 else
4879   if test -n "$ac_ct_DUMPBIN"; then
4880   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4884 do
4885   IFS=$as_save_IFS
4886   test -z "$as_dir" && as_dir=.
4887     for ac_exec_ext in '' $ac_executable_extensions; do
4888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891     break 2
4892   fi
4893 done
4894   done
4895 IFS=$as_save_IFS
4896
4897 fi
4898 fi
4899 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4900 if test -n "$ac_ct_DUMPBIN"; then
4901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4902 $as_echo "$ac_ct_DUMPBIN" >&6; }
4903 else
4904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4906 fi
4907
4908
4909   test -n "$ac_ct_DUMPBIN" && break
4910 done
4911
4912   if test "x$ac_ct_DUMPBIN" = x; then
4913     DUMPBIN=":"
4914   else
4915     case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921     DUMPBIN=$ac_ct_DUMPBIN
4922   fi
4923 fi
4924
4925     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4926     *COFF*)
4927       DUMPBIN="$DUMPBIN -symbols"
4928       ;;
4929     *)
4930       DUMPBIN=:
4931       ;;
4932     esac
4933   fi
4934
4935   if test "$DUMPBIN" != ":"; then
4936     NM="$DUMPBIN"
4937   fi
4938 fi
4939 test -z "$NM" && NM=nm
4940
4941
4942
4943
4944
4945
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4947 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4948 if ${lt_cv_nm_interface+:} false; then :
4949   $as_echo_n "(cached) " >&6
4950 else
4951   lt_cv_nm_interface="BSD nm"
4952   echo "int some_variable = 0;" > conftest.$ac_ext
4953   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4954   (eval "$ac_compile" 2>conftest.err)
4955   cat conftest.err >&5
4956   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4957   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4958   cat conftest.err >&5
4959   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4960   cat conftest.out >&5
4961   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4962     lt_cv_nm_interface="MS dumpbin"
4963   fi
4964   rm -f conftest*
4965 fi
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4967 $as_echo "$lt_cv_nm_interface" >&6; }
4968
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4970 $as_echo_n "checking whether ln -s works... " >&6; }
4971 LN_S=$as_ln_s
4972 if test "$LN_S" = "ln -s"; then
4973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4975 else
4976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4977 $as_echo "no, using $LN_S" >&6; }
4978 fi
4979
4980 # find the maximum length of command line arguments
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4982 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4983 if ${lt_cv_sys_max_cmd_len+:} false; then :
4984   $as_echo_n "(cached) " >&6
4985 else
4986     i=0
4987   teststring="ABCD"
4988
4989   case $build_os in
4990   msdosdjgpp*)
4991     # On DJGPP, this test can blow up pretty badly due to problems in libc
4992     # (any single argument exceeding 2000 bytes causes a buffer overrun
4993     # during glob expansion).  Even if it were fixed, the result of this
4994     # check would be larger than it should be.
4995     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4996     ;;
4997
4998   gnu*)
4999     # Under GNU Hurd, this test is not required because there is
5000     # no limit to the length of command line arguments.
5001     # Libtool will interpret -1 as no limit whatsoever
5002     lt_cv_sys_max_cmd_len=-1;
5003     ;;
5004
5005   cygwin* | mingw* | cegcc*)
5006     # On Win9x/ME, this test blows up -- it succeeds, but takes
5007     # about 5 minutes as the teststring grows exponentially.
5008     # Worse, since 9x/ME are not pre-emptively multitasking,
5009     # you end up with a "frozen" computer, even though with patience
5010     # the test eventually succeeds (with a max line length of 256k).
5011     # Instead, let's just punt: use the minimum linelength reported by
5012     # all of the supported platforms: 8192 (on NT/2K/XP).
5013     lt_cv_sys_max_cmd_len=8192;
5014     ;;
5015
5016   mint*)
5017     # On MiNT this can take a long time and run out of memory.
5018     lt_cv_sys_max_cmd_len=8192;
5019     ;;
5020
5021   amigaos*)
5022     # On AmigaOS with pdksh, this test takes hours, literally.
5023     # So we just punt and use a minimum line length of 8192.
5024     lt_cv_sys_max_cmd_len=8192;
5025     ;;
5026
5027   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5028     # This has been around since 386BSD, at least.  Likely further.
5029     if test -x /sbin/sysctl; then
5030       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5031     elif test -x /usr/sbin/sysctl; then
5032       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5033     else
5034       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5035     fi
5036     # And add a safety zone
5037     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5038     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5039     ;;
5040
5041   interix*)
5042     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5043     lt_cv_sys_max_cmd_len=196608
5044     ;;
5045
5046   os2*)
5047     # The test takes a long time on OS/2.
5048     lt_cv_sys_max_cmd_len=8192
5049     ;;
5050
5051   osf*)
5052     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5053     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5054     # nice to cause kernel panics so lets avoid the loop below.
5055     # First set a reasonable default.
5056     lt_cv_sys_max_cmd_len=16384
5057     #
5058     if test -x /sbin/sysconfig; then
5059       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5060         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5061       esac
5062     fi
5063     ;;
5064   sco3.2v5*)
5065     lt_cv_sys_max_cmd_len=102400
5066     ;;
5067   sysv5* | sco5v6* | sysv4.2uw2*)
5068     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5069     if test -n "$kargmax"; then
5070       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5071     else
5072       lt_cv_sys_max_cmd_len=32768
5073     fi
5074     ;;
5075   *)
5076     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5077     if test -n "$lt_cv_sys_max_cmd_len" && \
5078         test undefined != "$lt_cv_sys_max_cmd_len"; then
5079       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5080       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5081     else
5082       # Make teststring a little bigger before we do anything with it.
5083       # a 1K string should be a reasonable start.
5084       for i in 1 2 3 4 5 6 7 8 ; do
5085         teststring=$teststring$teststring
5086       done
5087       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5088       # If test is not a shell built-in, we'll probably end up computing a
5089       # maximum length that is only half of the actual maximum length, but
5090       # we can't tell.
5091       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5092                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5093               test $i != 17 # 1/2 MB should be enough
5094       do
5095         i=`expr $i + 1`
5096         teststring=$teststring$teststring
5097       done
5098       # Only check the string length outside the loop.
5099       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5100       teststring=
5101       # Add a significant safety factor because C++ compilers can tack on
5102       # massive amounts of additional arguments before passing them to the
5103       # linker.  It appears as though 1/2 is a usable value.
5104       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5105     fi
5106     ;;
5107   esac
5108
5109 fi
5110
5111 if test -n $lt_cv_sys_max_cmd_len ; then
5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5113 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5114 else
5115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5116 $as_echo "none" >&6; }
5117 fi
5118 max_cmd_len=$lt_cv_sys_max_cmd_len
5119
5120
5121
5122
5123
5124
5125 : ${CP="cp -f"}
5126 : ${MV="mv -f"}
5127 : ${RM="rm -f"}
5128
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5130 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5131 # Try some XSI features
5132 xsi_shell=no
5133 ( _lt_dummy="a/b/c"
5134   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5135       = c,a/b,b/c, \
5136     && eval 'test $(( 1 + 1 )) -eq 2 \
5137     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5138   && xsi_shell=yes
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5140 $as_echo "$xsi_shell" >&6; }
5141
5142
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5144 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5145 lt_shell_append=no
5146 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5147     >/dev/null 2>&1 \
5148   && lt_shell_append=yes
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5150 $as_echo "$lt_shell_append" >&6; }
5151
5152
5153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5154   lt_unset=unset
5155 else
5156   lt_unset=false
5157 fi
5158
5159
5160
5161
5162
5163 # test EBCDIC or ASCII
5164 case `echo X|tr X '\101'` in
5165  A) # ASCII based system
5166     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5167   lt_SP2NL='tr \040 \012'
5168   lt_NL2SP='tr \015\012 \040\040'
5169   ;;
5170  *) # EBCDIC based system
5171   lt_SP2NL='tr \100 \n'
5172   lt_NL2SP='tr \r\n \100\100'
5173   ;;
5174 esac
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5185 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5186 if ${lt_cv_to_host_file_cmd+:} false; then :
5187   $as_echo_n "(cached) " >&6
5188 else
5189   case $host in
5190   *-*-mingw* )
5191     case $build in
5192       *-*-mingw* ) # actually msys
5193         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5194         ;;
5195       *-*-cygwin* )
5196         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5197         ;;
5198       * ) # otherwise, assume *nix
5199         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5200         ;;
5201     esac
5202     ;;
5203   *-*-cygwin* )
5204     case $build in
5205       *-*-mingw* ) # actually msys
5206         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5207         ;;
5208       *-*-cygwin* )
5209         lt_cv_to_host_file_cmd=func_convert_file_noop
5210         ;;
5211       * ) # otherwise, assume *nix
5212         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5213         ;;
5214     esac
5215     ;;
5216   * ) # unhandled hosts (and "normal" native builds)
5217     lt_cv_to_host_file_cmd=func_convert_file_noop
5218     ;;
5219 esac
5220
5221 fi
5222
5223 to_host_file_cmd=$lt_cv_to_host_file_cmd
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5225 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5226
5227
5228
5229
5230
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5232 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5233 if ${lt_cv_to_tool_file_cmd+:} false; then :
5234   $as_echo_n "(cached) " >&6
5235 else
5236   #assume ordinary cross tools, or native build.
5237 lt_cv_to_tool_file_cmd=func_convert_file_noop
5238 case $host in
5239   *-*-mingw* )
5240     case $build in
5241       *-*-mingw* ) # actually msys
5242         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5243         ;;
5244     esac
5245     ;;
5246 esac
5247
5248 fi
5249
5250 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5252 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5253
5254
5255
5256
5257
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5259 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5260 if ${lt_cv_ld_reload_flag+:} false; then :
5261   $as_echo_n "(cached) " >&6
5262 else
5263   lt_cv_ld_reload_flag='-r'
5264 fi
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5266 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5267 reload_flag=$lt_cv_ld_reload_flag
5268 case $reload_flag in
5269 "" | " "*) ;;
5270 *) reload_flag=" $reload_flag" ;;
5271 esac
5272 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5273 case $host_os in
5274   cygwin* | mingw* | pw32* | cegcc*)
5275     if test "$GCC" != yes; then
5276       reload_cmds=false
5277     fi
5278     ;;
5279   darwin*)
5280     if test "$GCC" = yes; then
5281       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5282     else
5283       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5284     fi
5285     ;;
5286 esac
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296 if test -n "$ac_tool_prefix"; then
5297   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5298 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_OBJDUMP+:} false; then :
5302   $as_echo_n "(cached) " >&6
5303 else
5304   if test -n "$OBJDUMP"; then
5305   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5309 do
5310   IFS=$as_save_IFS
5311   test -z "$as_dir" && as_dir=.
5312     for ac_exec_ext in '' $ac_executable_extensions; do
5313   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316     break 2
5317   fi
5318 done
5319   done
5320 IFS=$as_save_IFS
5321
5322 fi
5323 fi
5324 OBJDUMP=$ac_cv_prog_OBJDUMP
5325 if test -n "$OBJDUMP"; then
5326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5327 $as_echo "$OBJDUMP" >&6; }
5328 else
5329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5331 fi
5332
5333
5334 fi
5335 if test -z "$ac_cv_prog_OBJDUMP"; then
5336   ac_ct_OBJDUMP=$OBJDUMP
5337   # Extract the first word of "objdump", so it can be a program name with args.
5338 set dummy objdump; ac_word=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5342   $as_echo_n "(cached) " >&6
5343 else
5344   if test -n "$ac_ct_OBJDUMP"; then
5345   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5346 else
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 for as_dir in $PATH
5349 do
5350   IFS=$as_save_IFS
5351   test -z "$as_dir" && as_dir=.
5352     for ac_exec_ext in '' $ac_executable_extensions; do
5353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5354     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356     break 2
5357   fi
5358 done
5359   done
5360 IFS=$as_save_IFS
5361
5362 fi
5363 fi
5364 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5365 if test -n "$ac_ct_OBJDUMP"; then
5366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5367 $as_echo "$ac_ct_OBJDUMP" >&6; }
5368 else
5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5371 fi
5372
5373   if test "x$ac_ct_OBJDUMP" = x; then
5374     OBJDUMP="false"
5375   else
5376     case $cross_compiling:$ac_tool_warned in
5377 yes:)
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5380 ac_tool_warned=yes ;;
5381 esac
5382     OBJDUMP=$ac_ct_OBJDUMP
5383   fi
5384 else
5385   OBJDUMP="$ac_cv_prog_OBJDUMP"
5386 fi
5387
5388 test -z "$OBJDUMP" && OBJDUMP=objdump
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5399 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5400 if ${lt_cv_deplibs_check_method+:} false; then :
5401   $as_echo_n "(cached) " >&6
5402 else
5403   lt_cv_file_magic_cmd='$MAGIC_CMD'
5404 lt_cv_file_magic_test_file=
5405 lt_cv_deplibs_check_method='unknown'
5406 # Need to set the preceding variable on all platforms that support
5407 # interlibrary dependencies.
5408 # 'none' -- dependencies not supported.
5409 # `unknown' -- same as none, but documents that we really don't know.
5410 # 'pass_all' -- all dependencies passed with no checks.
5411 # 'test_compile' -- check by making test program.
5412 # 'file_magic [[regex]]' -- check by looking for files in library path
5413 # which responds to the $file_magic_cmd with a given extended regex.
5414 # If you have `file' or equivalent on your system and you're not sure
5415 # whether `pass_all' will *always* work, you probably want this one.
5416
5417 case $host_os in
5418 aix[4-9]*)
5419   lt_cv_deplibs_check_method=pass_all
5420   ;;
5421
5422 beos*)
5423   lt_cv_deplibs_check_method=pass_all
5424   ;;
5425
5426 bsdi[45]*)
5427   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5428   lt_cv_file_magic_cmd='/usr/bin/file -L'
5429   lt_cv_file_magic_test_file=/shlib/libc.so
5430   ;;
5431
5432 cygwin*)
5433   # func_win32_libid is a shell function defined in ltmain.sh
5434   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5435   lt_cv_file_magic_cmd='func_win32_libid'
5436   ;;
5437
5438 mingw* | pw32*)
5439   # Base MSYS/MinGW do not provide the 'file' command needed by
5440   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5441   # unless we find 'file', for example because we are cross-compiling.
5442   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5443   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5444     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5445     lt_cv_file_magic_cmd='func_win32_libid'
5446   else
5447     # Keep this pattern in sync with the one in func_win32_libid.
5448     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5449     lt_cv_file_magic_cmd='$OBJDUMP -f'
5450   fi
5451   ;;
5452
5453 cegcc*)
5454   # use the weaker test based on 'objdump'. See mingw*.
5455   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5456   lt_cv_file_magic_cmd='$OBJDUMP -f'
5457   ;;
5458
5459 darwin* | rhapsody*)
5460   lt_cv_deplibs_check_method=pass_all
5461   ;;
5462
5463 freebsd* | dragonfly*)
5464   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5465     case $host_cpu in
5466     i*86 )
5467       # Not sure whether the presence of OpenBSD here was a mistake.
5468       # Let's accept both of them until this is cleared up.
5469       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5470       lt_cv_file_magic_cmd=/usr/bin/file
5471       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5472       ;;
5473     esac
5474   else
5475     lt_cv_deplibs_check_method=pass_all
5476   fi
5477   ;;
5478
5479 haiku*)
5480   lt_cv_deplibs_check_method=pass_all
5481   ;;
5482
5483 hpux10.20* | hpux11*)
5484   lt_cv_file_magic_cmd=/usr/bin/file
5485   case $host_cpu in
5486   ia64*)
5487     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5488     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5489     ;;
5490   hppa*64*)
5491     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]'
5492     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5493     ;;
5494   *)
5495     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5496     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5497     ;;
5498   esac
5499   ;;
5500
5501 interix[3-9]*)
5502   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5503   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5504   ;;
5505
5506 irix5* | irix6* | nonstopux*)
5507   case $LD in
5508   *-32|*"-32 ") libmagic=32-bit;;
5509   *-n32|*"-n32 ") libmagic=N32;;
5510   *-64|*"-64 ") libmagic=64-bit;;
5511   *) libmagic=never-match;;
5512   esac
5513   lt_cv_deplibs_check_method=pass_all
5514   ;;
5515
5516 # This must be glibc/ELF.
5517 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5518   lt_cv_deplibs_check_method=pass_all
5519   ;;
5520
5521 netbsd* | netbsdelf*-gnu)
5522   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5523     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5524   else
5525     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5526   fi
5527   ;;
5528
5529 newos6*)
5530   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5531   lt_cv_file_magic_cmd=/usr/bin/file
5532   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5533   ;;
5534
5535 *nto* | *qnx*)
5536   lt_cv_deplibs_check_method=pass_all
5537   ;;
5538
5539 openbsd*)
5540   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5541     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5542   else
5543     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5544   fi
5545   ;;
5546
5547 osf3* | osf4* | osf5*)
5548   lt_cv_deplibs_check_method=pass_all
5549   ;;
5550
5551 rdos*)
5552   lt_cv_deplibs_check_method=pass_all
5553   ;;
5554
5555 solaris*)
5556   lt_cv_deplibs_check_method=pass_all
5557   ;;
5558
5559 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5560   lt_cv_deplibs_check_method=pass_all
5561   ;;
5562
5563 sysv4 | sysv4.3*)
5564   case $host_vendor in
5565   motorola)
5566     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]'
5567     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5568     ;;
5569   ncr)
5570     lt_cv_deplibs_check_method=pass_all
5571     ;;
5572   sequent)
5573     lt_cv_file_magic_cmd='/bin/file'
5574     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5575     ;;
5576   sni)
5577     lt_cv_file_magic_cmd='/bin/file'
5578     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5579     lt_cv_file_magic_test_file=/lib/libc.so
5580     ;;
5581   siemens)
5582     lt_cv_deplibs_check_method=pass_all
5583     ;;
5584   pc)
5585     lt_cv_deplibs_check_method=pass_all
5586     ;;
5587   esac
5588   ;;
5589
5590 tpf*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593 esac
5594
5595 fi
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5597 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5598
5599 file_magic_glob=
5600 want_nocaseglob=no
5601 if test "$build" = "$host"; then
5602   case $host_os in
5603   mingw* | pw32*)
5604     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5605       want_nocaseglob=yes
5606     else
5607       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5608     fi
5609     ;;
5610   esac
5611 fi
5612
5613 file_magic_cmd=$lt_cv_file_magic_cmd
5614 deplibs_check_method=$lt_cv_deplibs_check_method
5615 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638 if test -n "$ac_tool_prefix"; then
5639   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_DLLTOOL+:} false; then :
5644   $as_echo_n "(cached) " >&6
5645 else
5646   if test -n "$DLLTOOL"; then
5647   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5651 do
5652   IFS=$as_save_IFS
5653   test -z "$as_dir" && as_dir=.
5654     for ac_exec_ext in '' $ac_executable_extensions; do
5655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658     break 2
5659   fi
5660 done
5661   done
5662 IFS=$as_save_IFS
5663
5664 fi
5665 fi
5666 DLLTOOL=$ac_cv_prog_DLLTOOL
5667 if test -n "$DLLTOOL"; then
5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5669 $as_echo "$DLLTOOL" >&6; }
5670 else
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5673 fi
5674
5675
5676 fi
5677 if test -z "$ac_cv_prog_DLLTOOL"; then
5678   ac_ct_DLLTOOL=$DLLTOOL
5679   # Extract the first word of "dlltool", so it can be a program name with args.
5680 set dummy dlltool; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5684   $as_echo_n "(cached) " >&6
5685 else
5686   if test -n "$ac_ct_DLLTOOL"; then
5687   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5691 do
5692   IFS=$as_save_IFS
5693   test -z "$as_dir" && as_dir=.
5694     for ac_exec_ext in '' $ac_executable_extensions; do
5695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698     break 2
5699   fi
5700 done
5701   done
5702 IFS=$as_save_IFS
5703
5704 fi
5705 fi
5706 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5707 if test -n "$ac_ct_DLLTOOL"; then
5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5709 $as_echo "$ac_ct_DLLTOOL" >&6; }
5710 else
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5713 fi
5714
5715   if test "x$ac_ct_DLLTOOL" = x; then
5716     DLLTOOL="false"
5717   else
5718     case $cross_compiling:$ac_tool_warned in
5719 yes:)
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned=yes ;;
5723 esac
5724     DLLTOOL=$ac_ct_DLLTOOL
5725   fi
5726 else
5727   DLLTOOL="$ac_cv_prog_DLLTOOL"
5728 fi
5729
5730 test -z "$DLLTOOL" && DLLTOOL=dlltool
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5742 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5743 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5744   $as_echo_n "(cached) " >&6
5745 else
5746   lt_cv_sharedlib_from_linklib_cmd='unknown'
5747
5748 case $host_os in
5749 cygwin* | mingw* | pw32* | cegcc*)
5750   # two different shell functions defined in ltmain.sh
5751   # decide which to use based on capabilities of $DLLTOOL
5752   case `$DLLTOOL --help 2>&1` in
5753   *--identify-strict*)
5754     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5755     ;;
5756   *)
5757     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5758     ;;
5759   esac
5760   ;;
5761 *)
5762   # fallback: assume linklib IS sharedlib
5763   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5764   ;;
5765 esac
5766
5767 fi
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5769 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5770 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5771 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5772
5773
5774
5775
5776
5777
5778
5779
5780 if test -n "$ac_tool_prefix"; then
5781   for ac_prog in ar
5782   do
5783     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5784 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_AR+:} false; then :
5788   $as_echo_n "(cached) " >&6
5789 else
5790   if test -n "$AR"; then
5791   ac_cv_prog_AR="$AR" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5795 do
5796   IFS=$as_save_IFS
5797   test -z "$as_dir" && as_dir=.
5798     for ac_exec_ext in '' $ac_executable_extensions; do
5799   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802     break 2
5803   fi
5804 done
5805   done
5806 IFS=$as_save_IFS
5807
5808 fi
5809 fi
5810 AR=$ac_cv_prog_AR
5811 if test -n "$AR"; then
5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5813 $as_echo "$AR" >&6; }
5814 else
5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5817 fi
5818
5819
5820     test -n "$AR" && break
5821   done
5822 fi
5823 if test -z "$AR"; then
5824   ac_ct_AR=$AR
5825   for ac_prog in ar
5826 do
5827   # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy $ac_prog; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5832   $as_echo_n "(cached) " >&6
5833 else
5834   if test -n "$ac_ct_AR"; then
5835   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5836 else
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in $PATH
5839 do
5840   IFS=$as_save_IFS
5841   test -z "$as_dir" && as_dir=.
5842     for ac_exec_ext in '' $ac_executable_extensions; do
5843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844     ac_cv_prog_ac_ct_AR="$ac_prog"
5845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846     break 2
5847   fi
5848 done
5849   done
5850 IFS=$as_save_IFS
5851
5852 fi
5853 fi
5854 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5855 if test -n "$ac_ct_AR"; then
5856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5857 $as_echo "$ac_ct_AR" >&6; }
5858 else
5859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5861 fi
5862
5863
5864   test -n "$ac_ct_AR" && break
5865 done
5866
5867   if test "x$ac_ct_AR" = x; then
5868     AR="false"
5869   else
5870     case $cross_compiling:$ac_tool_warned in
5871 yes:)
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5874 ac_tool_warned=yes ;;
5875 esac
5876     AR=$ac_ct_AR
5877   fi
5878 fi
5879
5880 : ${AR=ar}
5881 : ${AR_FLAGS=cru}
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5894 $as_echo_n "checking for archiver @FILE support... " >&6; }
5895 if ${lt_cv_ar_at_file+:} false; then :
5896   $as_echo_n "(cached) " >&6
5897 else
5898   lt_cv_ar_at_file=no
5899    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h.  */
5901
5902 int
5903 main ()
5904 {
5905
5906   ;
5907   return 0;
5908 }
5909 _ACEOF
5910 if ac_fn_c_try_compile "$LINENO"; then :
5911   echo conftest.$ac_objext > conftest.lst
5912       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5913       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5914   (eval $lt_ar_try) 2>&5
5915   ac_status=$?
5916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5917   test $ac_status = 0; }
5918       if test "$ac_status" -eq 0; then
5919         # Ensure the archiver fails upon bogus file names.
5920         rm -f conftest.$ac_objext libconftest.a
5921         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5922   (eval $lt_ar_try) 2>&5
5923   ac_status=$?
5924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5925   test $ac_status = 0; }
5926         if test "$ac_status" -ne 0; then
5927           lt_cv_ar_at_file=@
5928         fi
5929       fi
5930       rm -f conftest.* libconftest.a
5931
5932 fi
5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5934
5935 fi
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5937 $as_echo "$lt_cv_ar_at_file" >&6; }
5938
5939 if test "x$lt_cv_ar_at_file" = xno; then
5940   archiver_list_spec=
5941 else
5942   archiver_list_spec=$lt_cv_ar_at_file
5943 fi
5944
5945
5946
5947
5948
5949
5950
5951 if test -n "$ac_tool_prefix"; then
5952   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5953 set dummy ${ac_tool_prefix}strip; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_STRIP+:} false; then :
5957   $as_echo_n "(cached) " >&6
5958 else
5959   if test -n "$STRIP"; then
5960   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5964 do
5965   IFS=$as_save_IFS
5966   test -z "$as_dir" && as_dir=.
5967     for ac_exec_ext in '' $ac_executable_extensions; do
5968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971     break 2
5972   fi
5973 done
5974   done
5975 IFS=$as_save_IFS
5976
5977 fi
5978 fi
5979 STRIP=$ac_cv_prog_STRIP
5980 if test -n "$STRIP"; then
5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5982 $as_echo "$STRIP" >&6; }
5983 else
5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5986 fi
5987
5988
5989 fi
5990 if test -z "$ac_cv_prog_STRIP"; then
5991   ac_ct_STRIP=$STRIP
5992   # Extract the first word of "strip", so it can be a program name with args.
5993 set dummy strip; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5997   $as_echo_n "(cached) " >&6
5998 else
5999   if test -n "$ac_ct_STRIP"; then
6000   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6004 do
6005   IFS=$as_save_IFS
6006   test -z "$as_dir" && as_dir=.
6007     for ac_exec_ext in '' $ac_executable_extensions; do
6008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009     ac_cv_prog_ac_ct_STRIP="strip"
6010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011     break 2
6012   fi
6013 done
6014   done
6015 IFS=$as_save_IFS
6016
6017 fi
6018 fi
6019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6020 if test -n "$ac_ct_STRIP"; then
6021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6022 $as_echo "$ac_ct_STRIP" >&6; }
6023 else
6024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6026 fi
6027
6028   if test "x$ac_ct_STRIP" = x; then
6029     STRIP=":"
6030   else
6031     case $cross_compiling:$ac_tool_warned in
6032 yes:)
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6035 ac_tool_warned=yes ;;
6036 esac
6037     STRIP=$ac_ct_STRIP
6038   fi
6039 else
6040   STRIP="$ac_cv_prog_STRIP"
6041 fi
6042
6043 test -z "$STRIP" && STRIP=:
6044
6045
6046
6047
6048
6049
6050 if test -n "$ac_tool_prefix"; then
6051   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_RANLIB+:} false; then :
6056   $as_echo_n "(cached) " >&6
6057 else
6058   if test -n "$RANLIB"; then
6059   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6063 do
6064   IFS=$as_save_IFS
6065   test -z "$as_dir" && as_dir=.
6066     for ac_exec_ext in '' $ac_executable_extensions; do
6067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070     break 2
6071   fi
6072 done
6073   done
6074 IFS=$as_save_IFS
6075
6076 fi
6077 fi
6078 RANLIB=$ac_cv_prog_RANLIB
6079 if test -n "$RANLIB"; then
6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6081 $as_echo "$RANLIB" >&6; }
6082 else
6083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6085 fi
6086
6087
6088 fi
6089 if test -z "$ac_cv_prog_RANLIB"; then
6090   ac_ct_RANLIB=$RANLIB
6091   # Extract the first word of "ranlib", so it can be a program name with args.
6092 set dummy ranlib; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6096   $as_echo_n "(cached) " >&6
6097 else
6098   if test -n "$ac_ct_RANLIB"; then
6099   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6103 do
6104   IFS=$as_save_IFS
6105   test -z "$as_dir" && as_dir=.
6106     for ac_exec_ext in '' $ac_executable_extensions; do
6107   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108     ac_cv_prog_ac_ct_RANLIB="ranlib"
6109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110     break 2
6111   fi
6112 done
6113   done
6114 IFS=$as_save_IFS
6115
6116 fi
6117 fi
6118 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6119 if test -n "$ac_ct_RANLIB"; then
6120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6121 $as_echo "$ac_ct_RANLIB" >&6; }
6122 else
6123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6125 fi
6126
6127   if test "x$ac_ct_RANLIB" = x; then
6128     RANLIB=":"
6129   else
6130     case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136     RANLIB=$ac_ct_RANLIB
6137   fi
6138 else
6139   RANLIB="$ac_cv_prog_RANLIB"
6140 fi
6141
6142 test -z "$RANLIB" && RANLIB=:
6143
6144
6145
6146
6147
6148
6149 # Determine commands to create old-style static archives.
6150 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6151 old_postinstall_cmds='chmod 644 $oldlib'
6152 old_postuninstall_cmds=
6153
6154 if test -n "$RANLIB"; then
6155   case $host_os in
6156   openbsd*)
6157     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6158     ;;
6159   *)
6160     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6161     ;;
6162   esac
6163   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6164 fi
6165
6166 case $host_os in
6167   darwin*)
6168     lock_old_archive_extraction=yes ;;
6169   *)
6170     lock_old_archive_extraction=no ;;
6171 esac
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211 # If no C compiler was specified, use CC.
6212 LTCC=${LTCC-"$CC"}
6213
6214 # If no C compiler flags were specified, use CFLAGS.
6215 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6216
6217 # Allow CC to be a program name with arguments.
6218 compiler=$CC
6219
6220
6221 # Check for command to grab the raw symbol name followed by C symbol from nm.
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6223 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6224 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6225   $as_echo_n "(cached) " >&6
6226 else
6227
6228 # These are sane defaults that work on at least a few old systems.
6229 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6230
6231 # Character class describing NM global symbol codes.
6232 symcode='[BCDEGRST]'
6233
6234 # Regexp to match symbols that can be accessed directly from C.
6235 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6236
6237 # Define system-specific variables.
6238 case $host_os in
6239 aix*)
6240   symcode='[BCDT]'
6241   ;;
6242 cygwin* | mingw* | pw32* | cegcc*)
6243   symcode='[ABCDGISTW]'
6244   ;;
6245 hpux*)
6246   if test "$host_cpu" = ia64; then
6247     symcode='[ABCDEGRST]'
6248   fi
6249   ;;
6250 irix* | nonstopux*)
6251   symcode='[BCDEGRST]'
6252   ;;
6253 osf*)
6254   symcode='[BCDEGQRST]'
6255   ;;
6256 solaris*)
6257   symcode='[BDRT]'
6258   ;;
6259 sco3.2v5*)
6260   symcode='[DT]'
6261   ;;
6262 sysv4.2uw2*)
6263   symcode='[DT]'
6264   ;;
6265 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6266   symcode='[ABDT]'
6267   ;;
6268 sysv4)
6269   symcode='[DFNSTU]'
6270   ;;
6271 esac
6272
6273 # If we're using GNU nm, then use its standard symbol codes.
6274 case `$NM -V 2>&1` in
6275 *GNU* | *'with BFD'*)
6276   symcode='[ABCDGIRSTW]' ;;
6277 esac
6278
6279 # Transform an extracted symbol line into a proper C declaration.
6280 # Some systems (esp. on ia64) link data and code symbols differently,
6281 # so use this general approach.
6282 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6283
6284 # Transform an extracted symbol line into symbol name and symbol address
6285 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6286 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'"
6287
6288 # Handle CRLF in mingw tool chain
6289 opt_cr=
6290 case $build_os in
6291 mingw*)
6292   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6293   ;;
6294 esac
6295
6296 # Try without a prefix underscore, then with it.
6297 for ac_symprfx in "" "_"; do
6298
6299   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6300   symxfrm="\\1 $ac_symprfx\\2 \\2"
6301
6302   # Write the raw and C identifiers.
6303   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6304     # Fake it for dumpbin and say T for any non-static function
6305     # and D for any global variable.
6306     # Also find C++ and __fastcall symbols from MSVC++,
6307     # which start with @ or ?.
6308     lt_cv_sys_global_symbol_pipe="$AWK '"\
6309 "     {last_section=section; section=\$ 3};"\
6310 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6311 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6312 "     \$ 0!~/External *\|/{next};"\
6313 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6314 "     {if(hide[section]) next};"\
6315 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6316 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6317 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6318 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6319 "     ' prfx=^$ac_symprfx"
6320   else
6321     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6322   fi
6323   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6324
6325   # Check to see that the pipe works correctly.
6326   pipe_works=no
6327
6328   rm -f conftest*
6329   cat > conftest.$ac_ext <<_LT_EOF
6330 #ifdef __cplusplus
6331 extern "C" {
6332 #endif
6333 char nm_test_var;
6334 void nm_test_func(void);
6335 void nm_test_func(void){}
6336 #ifdef __cplusplus
6337 }
6338 #endif
6339 int main(){nm_test_var='a';nm_test_func();return(0);}
6340 _LT_EOF
6341
6342   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6343   (eval $ac_compile) 2>&5
6344   ac_status=$?
6345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6346   test $ac_status = 0; }; then
6347     # Now try to grab the symbols.
6348     nlist=conftest.nm
6349     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6350   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6351   ac_status=$?
6352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6353   test $ac_status = 0; } && test -s "$nlist"; then
6354       # Try sorting and uniquifying the output.
6355       if sort "$nlist" | uniq > "$nlist"T; then
6356         mv -f "$nlist"T "$nlist"
6357       else
6358         rm -f "$nlist"T
6359       fi
6360
6361       # Make sure that we snagged all the symbols we need.
6362       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6363         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6364           cat <<_LT_EOF > conftest.$ac_ext
6365 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6366 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6367 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6368    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6369 # define LT_DLSYM_CONST
6370 #elif defined(__osf__)
6371 /* This system does not cope well with relocations in const data.  */
6372 # define LT_DLSYM_CONST
6373 #else
6374 # define LT_DLSYM_CONST const
6375 #endif
6376
6377 #ifdef __cplusplus
6378 extern "C" {
6379 #endif
6380
6381 _LT_EOF
6382           # Now generate the symbol file.
6383           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6384
6385           cat <<_LT_EOF >> conftest.$ac_ext
6386
6387 /* The mapping between symbol names and symbols.  */
6388 LT_DLSYM_CONST struct {
6389   const char *name;
6390   void       *address;
6391 }
6392 lt__PROGRAM__LTX_preloaded_symbols[] =
6393 {
6394   { "@PROGRAM@", (void *) 0 },
6395 _LT_EOF
6396           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6397           cat <<\_LT_EOF >> conftest.$ac_ext
6398   {0, (void *) 0}
6399 };
6400
6401 /* This works around a problem in FreeBSD linker */
6402 #ifdef FREEBSD_WORKAROUND
6403 static const void *lt_preloaded_setup() {
6404   return lt__PROGRAM__LTX_preloaded_symbols;
6405 }
6406 #endif
6407
6408 #ifdef __cplusplus
6409 }
6410 #endif
6411 _LT_EOF
6412           # Now try linking the two files.
6413           mv conftest.$ac_objext conftstm.$ac_objext
6414           lt_globsym_save_LIBS=$LIBS
6415           lt_globsym_save_CFLAGS=$CFLAGS
6416           LIBS="conftstm.$ac_objext"
6417           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6418           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6419   (eval $ac_link) 2>&5
6420   ac_status=$?
6421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6422   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6423             pipe_works=yes
6424           fi
6425           LIBS=$lt_globsym_save_LIBS
6426           CFLAGS=$lt_globsym_save_CFLAGS
6427         else
6428           echo "cannot find nm_test_func in $nlist" >&5
6429         fi
6430       else
6431         echo "cannot find nm_test_var in $nlist" >&5
6432       fi
6433     else
6434       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6435     fi
6436   else
6437     echo "$progname: failed program was:" >&5
6438     cat conftest.$ac_ext >&5
6439   fi
6440   rm -rf conftest* conftst*
6441
6442   # Do not use the global_symbol_pipe unless it works.
6443   if test "$pipe_works" = yes; then
6444     break
6445   else
6446     lt_cv_sys_global_symbol_pipe=
6447   fi
6448 done
6449
6450 fi
6451
6452 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6453   lt_cv_sys_global_symbol_to_cdecl=
6454 fi
6455 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6457 $as_echo "failed" >&6; }
6458 else
6459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6460 $as_echo "ok" >&6; }
6461 fi
6462
6463 # Response file support.
6464 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6465   nm_file_list_spec='@'
6466 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6467   nm_file_list_spec='@'
6468 fi
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6497 $as_echo_n "checking for sysroot... " >&6; }
6498
6499 # Check whether --with-sysroot was given.
6500 if test "${with_sysroot+set}" = set; then :
6501   withval=$with_sysroot;
6502 else
6503   with_sysroot=no
6504 fi
6505
6506
6507 lt_sysroot=
6508 case ${with_sysroot} in #(
6509  yes)
6510    if test "$GCC" = yes; then
6511      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6512    fi
6513    ;; #(
6514  /*)
6515    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6516    ;; #(
6517  no|'')
6518    ;; #(
6519  *)
6520    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6521 $as_echo "${with_sysroot}" >&6; }
6522    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6523    ;;
6524 esac
6525
6526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6527 $as_echo "${lt_sysroot:-no}" >&6; }
6528
6529
6530
6531
6532
6533 # Check whether --enable-libtool-lock was given.
6534 if test "${enable_libtool_lock+set}" = set; then :
6535   enableval=$enable_libtool_lock;
6536 fi
6537
6538 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6539
6540 # Some flags need to be propagated to the compiler or linker for good
6541 # libtool support.
6542 case $host in
6543 ia64-*-hpux*)
6544   # Find out which ABI we are using.
6545   echo 'int i;' > conftest.$ac_ext
6546   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6547   (eval $ac_compile) 2>&5
6548   ac_status=$?
6549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6550   test $ac_status = 0; }; then
6551     case `/usr/bin/file conftest.$ac_objext` in
6552       *ELF-32*)
6553         HPUX_IA64_MODE="32"
6554         ;;
6555       *ELF-64*)
6556         HPUX_IA64_MODE="64"
6557         ;;
6558     esac
6559   fi
6560   rm -rf conftest*
6561   ;;
6562 *-*-irix6*)
6563   # Find out which ABI we are using.
6564   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6565   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6566   (eval $ac_compile) 2>&5
6567   ac_status=$?
6568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6569   test $ac_status = 0; }; then
6570     if test "$lt_cv_prog_gnu_ld" = yes; then
6571       case `/usr/bin/file conftest.$ac_objext` in
6572         *32-bit*)
6573           LD="${LD-ld} -melf32bsmip"
6574           ;;
6575         *N32*)
6576           LD="${LD-ld} -melf32bmipn32"
6577           ;;
6578         *64-bit*)
6579           LD="${LD-ld} -melf64bmip"
6580         ;;
6581       esac
6582     else
6583       case `/usr/bin/file conftest.$ac_objext` in
6584         *32-bit*)
6585           LD="${LD-ld} -32"
6586           ;;
6587         *N32*)
6588           LD="${LD-ld} -n32"
6589           ;;
6590         *64-bit*)
6591           LD="${LD-ld} -64"
6592           ;;
6593       esac
6594     fi
6595   fi
6596   rm -rf conftest*
6597   ;;
6598
6599 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6600 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6601   # Find out which ABI we are using.
6602   echo 'int i;' > conftest.$ac_ext
6603   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6604   (eval $ac_compile) 2>&5
6605   ac_status=$?
6606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607   test $ac_status = 0; }; then
6608     case `/usr/bin/file conftest.o` in
6609       *32-bit*)
6610         case $host in
6611           x86_64-*kfreebsd*-gnu)
6612             LD="${LD-ld} -m elf_i386_fbsd"
6613             ;;
6614           x86_64-*linux*)
6615             case `/usr/bin/file conftest.o` in
6616               *x86-64*)
6617                 LD="${LD-ld} -m elf32_x86_64"
6618                 ;;
6619               *)
6620                 LD="${LD-ld} -m elf_i386"
6621                 ;;
6622             esac
6623             ;;
6624           ppc64-*linux*|powerpc64-*linux*)
6625             LD="${LD-ld} -m elf32ppclinux"
6626             ;;
6627           s390x-*linux*)
6628             LD="${LD-ld} -m elf_s390"
6629             ;;
6630           sparc64-*linux*)
6631             LD="${LD-ld} -m elf32_sparc"
6632             ;;
6633         esac
6634         ;;
6635       *64-bit*)
6636         case $host in
6637           x86_64-*kfreebsd*-gnu)
6638             LD="${LD-ld} -m elf_x86_64_fbsd"
6639             ;;
6640           x86_64-*linux*)
6641             LD="${LD-ld} -m elf_x86_64"
6642             ;;
6643           ppc*-*linux*|powerpc*-*linux*)
6644             LD="${LD-ld} -m elf64ppc"
6645             ;;
6646           s390*-*linux*|s390*-*tpf*)
6647             LD="${LD-ld} -m elf64_s390"
6648             ;;
6649           sparc*-*linux*)
6650             LD="${LD-ld} -m elf64_sparc"
6651             ;;
6652         esac
6653         ;;
6654     esac
6655   fi
6656   rm -rf conftest*
6657   ;;
6658
6659 *-*-sco3.2v5*)
6660   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6661   SAVE_CFLAGS="$CFLAGS"
6662   CFLAGS="$CFLAGS -belf"
6663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6664 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6665 if ${lt_cv_cc_needs_belf+:} false; then :
6666   $as_echo_n "(cached) " >&6
6667 else
6668   ac_ext=c
6669 ac_cpp='$CPP $CPPFLAGS'
6670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6673
6674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h.  */
6676
6677 int
6678 main ()
6679 {
6680
6681   ;
6682   return 0;
6683 }
6684 _ACEOF
6685 if ac_fn_c_try_link "$LINENO"; then :
6686   lt_cv_cc_needs_belf=yes
6687 else
6688   lt_cv_cc_needs_belf=no
6689 fi
6690 rm -f core conftest.err conftest.$ac_objext \
6691     conftest$ac_exeext conftest.$ac_ext
6692      ac_ext=c
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6697
6698 fi
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6700 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6701   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6702     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6703     CFLAGS="$SAVE_CFLAGS"
6704   fi
6705   ;;
6706 *-*solaris*)
6707   # Find out which ABI we are using.
6708   echo 'int i;' > conftest.$ac_ext
6709   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710   (eval $ac_compile) 2>&5
6711   ac_status=$?
6712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713   test $ac_status = 0; }; then
6714     case `/usr/bin/file conftest.o` in
6715     *64-bit*)
6716       case $lt_cv_prog_gnu_ld in
6717       yes*)
6718         case $host in
6719         i?86-*-solaris*)
6720           LD="${LD-ld} -m elf_x86_64"
6721           ;;
6722         sparc*-*-solaris*)
6723           LD="${LD-ld} -m elf64_sparc"
6724           ;;
6725         esac
6726         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6727         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6728           LD="${LD-ld}_sol2"
6729         fi
6730         ;;
6731       *)
6732         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6733           LD="${LD-ld} -64"
6734         fi
6735         ;;
6736       esac
6737       ;;
6738     esac
6739   fi
6740   rm -rf conftest*
6741   ;;
6742 esac
6743
6744 need_locks="$enable_libtool_lock"
6745
6746 if test -n "$ac_tool_prefix"; then
6747   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}mt; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6752   $as_echo_n "(cached) " >&6
6753 else
6754   if test -n "$MANIFEST_TOOL"; then
6755   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6759 do
6760   IFS=$as_save_IFS
6761   test -z "$as_dir" && as_dir=.
6762     for ac_exec_ext in '' $ac_executable_extensions; do
6763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766     break 2
6767   fi
6768 done
6769   done
6770 IFS=$as_save_IFS
6771
6772 fi
6773 fi
6774 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6775 if test -n "$MANIFEST_TOOL"; then
6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6777 $as_echo "$MANIFEST_TOOL" >&6; }
6778 else
6779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6781 fi
6782
6783
6784 fi
6785 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6786   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6787   # Extract the first word of "mt", so it can be a program name with args.
6788 set dummy mt; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6792   $as_echo_n "(cached) " >&6
6793 else
6794   if test -n "$ac_ct_MANIFEST_TOOL"; then
6795   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6799 do
6800   IFS=$as_save_IFS
6801   test -z "$as_dir" && as_dir=.
6802     for ac_exec_ext in '' $ac_executable_extensions; do
6803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806     break 2
6807   fi
6808 done
6809   done
6810 IFS=$as_save_IFS
6811
6812 fi
6813 fi
6814 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6815 if test -n "$ac_ct_MANIFEST_TOOL"; then
6816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6817 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6818 else
6819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6821 fi
6822
6823   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6824     MANIFEST_TOOL=":"
6825   else
6826     case $cross_compiling:$ac_tool_warned in
6827 yes:)
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6830 ac_tool_warned=yes ;;
6831 esac
6832     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6833   fi
6834 else
6835   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6836 fi
6837
6838 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6840 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6841 if ${lt_cv_path_mainfest_tool+:} false; then :
6842   $as_echo_n "(cached) " >&6
6843 else
6844   lt_cv_path_mainfest_tool=no
6845   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6846   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6847   cat conftest.err >&5
6848   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6849     lt_cv_path_mainfest_tool=yes
6850   fi
6851   rm -f conftest*
6852 fi
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6854 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6855 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6856   MANIFEST_TOOL=:
6857 fi
6858
6859
6860
6861
6862
6863
6864   case $host_os in
6865     rhapsody* | darwin*)
6866     if test -n "$ac_tool_prefix"; then
6867   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6868 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6872   $as_echo_n "(cached) " >&6
6873 else
6874   if test -n "$DSYMUTIL"; then
6875   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6876 else
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in $PATH
6879 do
6880   IFS=$as_save_IFS
6881   test -z "$as_dir" && as_dir=.
6882     for ac_exec_ext in '' $ac_executable_extensions; do
6883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886     break 2
6887   fi
6888 done
6889   done
6890 IFS=$as_save_IFS
6891
6892 fi
6893 fi
6894 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6895 if test -n "$DSYMUTIL"; then
6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6897 $as_echo "$DSYMUTIL" >&6; }
6898 else
6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6901 fi
6902
6903
6904 fi
6905 if test -z "$ac_cv_prog_DSYMUTIL"; then
6906   ac_ct_DSYMUTIL=$DSYMUTIL
6907   # Extract the first word of "dsymutil", so it can be a program name with args.
6908 set dummy dsymutil; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6912   $as_echo_n "(cached) " >&6
6913 else
6914   if test -n "$ac_ct_DSYMUTIL"; then
6915   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6916 else
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 for as_dir in $PATH
6919 do
6920   IFS=$as_save_IFS
6921   test -z "$as_dir" && as_dir=.
6922     for ac_exec_ext in '' $ac_executable_extensions; do
6923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926     break 2
6927   fi
6928 done
6929   done
6930 IFS=$as_save_IFS
6931
6932 fi
6933 fi
6934 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6935 if test -n "$ac_ct_DSYMUTIL"; then
6936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6937 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6938 else
6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6941 fi
6942
6943   if test "x$ac_ct_DSYMUTIL" = x; then
6944     DSYMUTIL=":"
6945   else
6946     case $cross_compiling:$ac_tool_warned in
6947 yes:)
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6951 esac
6952     DSYMUTIL=$ac_ct_DSYMUTIL
6953   fi
6954 else
6955   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6956 fi
6957
6958     if test -n "$ac_tool_prefix"; then
6959   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_NMEDIT+:} false; then :
6964   $as_echo_n "(cached) " >&6
6965 else
6966   if test -n "$NMEDIT"; then
6967   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6971 do
6972   IFS=$as_save_IFS
6973   test -z "$as_dir" && as_dir=.
6974     for ac_exec_ext in '' $ac_executable_extensions; do
6975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978     break 2
6979   fi
6980 done
6981   done
6982 IFS=$as_save_IFS
6983
6984 fi
6985 fi
6986 NMEDIT=$ac_cv_prog_NMEDIT
6987 if test -n "$NMEDIT"; then
6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6989 $as_echo "$NMEDIT" >&6; }
6990 else
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6993 fi
6994
6995
6996 fi
6997 if test -z "$ac_cv_prog_NMEDIT"; then
6998   ac_ct_NMEDIT=$NMEDIT
6999   # Extract the first word of "nmedit", so it can be a program name with args.
7000 set dummy nmedit; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7004   $as_echo_n "(cached) " >&6
7005 else
7006   if test -n "$ac_ct_NMEDIT"; then
7007   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7011 do
7012   IFS=$as_save_IFS
7013   test -z "$as_dir" && as_dir=.
7014     for ac_exec_ext in '' $ac_executable_extensions; do
7015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018     break 2
7019   fi
7020 done
7021   done
7022 IFS=$as_save_IFS
7023
7024 fi
7025 fi
7026 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7027 if test -n "$ac_ct_NMEDIT"; then
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7029 $as_echo "$ac_ct_NMEDIT" >&6; }
7030 else
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7033 fi
7034
7035   if test "x$ac_ct_NMEDIT" = x; then
7036     NMEDIT=":"
7037   else
7038     case $cross_compiling:$ac_tool_warned in
7039 yes:)
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7043 esac
7044     NMEDIT=$ac_ct_NMEDIT
7045   fi
7046 else
7047   NMEDIT="$ac_cv_prog_NMEDIT"
7048 fi
7049
7050     if test -n "$ac_tool_prefix"; then
7051   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_LIPO+:} false; then :
7056   $as_echo_n "(cached) " >&6
7057 else
7058   if test -n "$LIPO"; then
7059   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7060 else
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 for as_dir in $PATH
7063 do
7064   IFS=$as_save_IFS
7065   test -z "$as_dir" && as_dir=.
7066     for ac_exec_ext in '' $ac_executable_extensions; do
7067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070     break 2
7071   fi
7072 done
7073   done
7074 IFS=$as_save_IFS
7075
7076 fi
7077 fi
7078 LIPO=$ac_cv_prog_LIPO
7079 if test -n "$LIPO"; then
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7081 $as_echo "$LIPO" >&6; }
7082 else
7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7085 fi
7086
7087
7088 fi
7089 if test -z "$ac_cv_prog_LIPO"; then
7090   ac_ct_LIPO=$LIPO
7091   # Extract the first word of "lipo", so it can be a program name with args.
7092 set dummy lipo; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7096   $as_echo_n "(cached) " >&6
7097 else
7098   if test -n "$ac_ct_LIPO"; then
7099   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7103 do
7104   IFS=$as_save_IFS
7105   test -z "$as_dir" && as_dir=.
7106     for ac_exec_ext in '' $ac_executable_extensions; do
7107   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108     ac_cv_prog_ac_ct_LIPO="lipo"
7109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110     break 2
7111   fi
7112 done
7113   done
7114 IFS=$as_save_IFS
7115
7116 fi
7117 fi
7118 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7119 if test -n "$ac_ct_LIPO"; then
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7121 $as_echo "$ac_ct_LIPO" >&6; }
7122 else
7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7125 fi
7126
7127   if test "x$ac_ct_LIPO" = x; then
7128     LIPO=":"
7129   else
7130     case $cross_compiling:$ac_tool_warned in
7131 yes:)
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7135 esac
7136     LIPO=$ac_ct_LIPO
7137   fi
7138 else
7139   LIPO="$ac_cv_prog_LIPO"
7140 fi
7141
7142     if test -n "$ac_tool_prefix"; then
7143   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}otool; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_OTOOL+:} false; then :
7148   $as_echo_n "(cached) " >&6
7149 else
7150   if test -n "$OTOOL"; then
7151   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7152 else
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 for as_dir in $PATH
7155 do
7156   IFS=$as_save_IFS
7157   test -z "$as_dir" && as_dir=.
7158     for ac_exec_ext in '' $ac_executable_extensions; do
7159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162     break 2
7163   fi
7164 done
7165   done
7166 IFS=$as_save_IFS
7167
7168 fi
7169 fi
7170 OTOOL=$ac_cv_prog_OTOOL
7171 if test -n "$OTOOL"; then
7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7173 $as_echo "$OTOOL" >&6; }
7174 else
7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7177 fi
7178
7179
7180 fi
7181 if test -z "$ac_cv_prog_OTOOL"; then
7182   ac_ct_OTOOL=$OTOOL
7183   # Extract the first word of "otool", so it can be a program name with args.
7184 set dummy otool; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7188   $as_echo_n "(cached) " >&6
7189 else
7190   if test -n "$ac_ct_OTOOL"; then
7191   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7195 do
7196   IFS=$as_save_IFS
7197   test -z "$as_dir" && as_dir=.
7198     for ac_exec_ext in '' $ac_executable_extensions; do
7199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200     ac_cv_prog_ac_ct_OTOOL="otool"
7201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202     break 2
7203   fi
7204 done
7205   done
7206 IFS=$as_save_IFS
7207
7208 fi
7209 fi
7210 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7211 if test -n "$ac_ct_OTOOL"; then
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7213 $as_echo "$ac_ct_OTOOL" >&6; }
7214 else
7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7217 fi
7218
7219   if test "x$ac_ct_OTOOL" = x; then
7220     OTOOL=":"
7221   else
7222     case $cross_compiling:$ac_tool_warned in
7223 yes:)
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7227 esac
7228     OTOOL=$ac_ct_OTOOL
7229   fi
7230 else
7231   OTOOL="$ac_cv_prog_OTOOL"
7232 fi
7233
7234     if test -n "$ac_tool_prefix"; then
7235   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7236 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if ${ac_cv_prog_OTOOL64+:} false; then :
7240   $as_echo_n "(cached) " >&6
7241 else
7242   if test -n "$OTOOL64"; then
7243   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7244 else
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 for as_dir in $PATH
7247 do
7248   IFS=$as_save_IFS
7249   test -z "$as_dir" && as_dir=.
7250     for ac_exec_ext in '' $ac_executable_extensions; do
7251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254     break 2
7255   fi
7256 done
7257   done
7258 IFS=$as_save_IFS
7259
7260 fi
7261 fi
7262 OTOOL64=$ac_cv_prog_OTOOL64
7263 if test -n "$OTOOL64"; then
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7265 $as_echo "$OTOOL64" >&6; }
7266 else
7267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7269 fi
7270
7271
7272 fi
7273 if test -z "$ac_cv_prog_OTOOL64"; then
7274   ac_ct_OTOOL64=$OTOOL64
7275   # Extract the first word of "otool64", so it can be a program name with args.
7276 set dummy otool64; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7280   $as_echo_n "(cached) " >&6
7281 else
7282   if test -n "$ac_ct_OTOOL64"; then
7283   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7284 else
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 for as_dir in $PATH
7287 do
7288   IFS=$as_save_IFS
7289   test -z "$as_dir" && as_dir=.
7290     for ac_exec_ext in '' $ac_executable_extensions; do
7291   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7292     ac_cv_prog_ac_ct_OTOOL64="otool64"
7293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294     break 2
7295   fi
7296 done
7297   done
7298 IFS=$as_save_IFS
7299
7300 fi
7301 fi
7302 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7303 if test -n "$ac_ct_OTOOL64"; then
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7305 $as_echo "$ac_ct_OTOOL64" >&6; }
7306 else
7307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7309 fi
7310
7311   if test "x$ac_ct_OTOOL64" = x; then
7312     OTOOL64=":"
7313   else
7314     case $cross_compiling:$ac_tool_warned in
7315 yes:)
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7318 ac_tool_warned=yes ;;
7319 esac
7320     OTOOL64=$ac_ct_OTOOL64
7321   fi
7322 else
7323   OTOOL64="$ac_cv_prog_OTOOL64"
7324 fi
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7353 $as_echo_n "checking for -single_module linker flag... " >&6; }
7354 if ${lt_cv_apple_cc_single_mod+:} false; then :
7355   $as_echo_n "(cached) " >&6
7356 else
7357   lt_cv_apple_cc_single_mod=no
7358       if test -z "${LT_MULTI_MODULE}"; then
7359         # By default we will add the -single_module flag. You can override
7360         # by either setting the environment variable LT_MULTI_MODULE
7361         # non-empty at configure time, or by adding -multi_module to the
7362         # link flags.
7363         rm -rf libconftest.dylib*
7364         echo "int foo(void){return 1;}" > conftest.c
7365         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7366 -dynamiclib -Wl,-single_module conftest.c" >&5
7367         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7368           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7369         _lt_result=$?
7370         # If there is a non-empty error log, and "single_module"
7371         # appears in it, assume the flag caused a linker warning
7372         if test -s conftest.err && $GREP single_module conftest.err; then
7373           cat conftest.err >&5
7374         # Otherwise, if the output was created with a 0 exit code from
7375         # the compiler, it worked.
7376         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7377           lt_cv_apple_cc_single_mod=yes
7378         else
7379           cat conftest.err >&5
7380         fi
7381         rm -rf libconftest.dylib*
7382         rm -f conftest.*
7383       fi
7384 fi
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7386 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7387
7388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7389 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7390 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7391   $as_echo_n "(cached) " >&6
7392 else
7393   lt_cv_ld_exported_symbols_list=no
7394       save_LDFLAGS=$LDFLAGS
7395       echo "_main" > conftest.sym
7396       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h.  */
7399
7400 int
7401 main ()
7402 {
7403
7404   ;
7405   return 0;
7406 }
7407 _ACEOF
7408 if ac_fn_c_try_link "$LINENO"; then :
7409   lt_cv_ld_exported_symbols_list=yes
7410 else
7411   lt_cv_ld_exported_symbols_list=no
7412 fi
7413 rm -f core conftest.err conftest.$ac_objext \
7414     conftest$ac_exeext conftest.$ac_ext
7415         LDFLAGS="$save_LDFLAGS"
7416
7417 fi
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7419 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7420
7421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7422 $as_echo_n "checking for -force_load linker flag... " >&6; }
7423 if ${lt_cv_ld_force_load+:} false; then :
7424   $as_echo_n "(cached) " >&6
7425 else
7426   lt_cv_ld_force_load=no
7427       cat > conftest.c << _LT_EOF
7428 int forced_loaded() { return 2;}
7429 _LT_EOF
7430       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7431       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7432       echo "$AR cru libconftest.a conftest.o" >&5
7433       $AR cru libconftest.a conftest.o 2>&5
7434       echo "$RANLIB libconftest.a" >&5
7435       $RANLIB libconftest.a 2>&5
7436       cat > conftest.c << _LT_EOF
7437 int main() { return 0;}
7438 _LT_EOF
7439       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7440       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7441       _lt_result=$?
7442       if test -s conftest.err && $GREP force_load conftest.err; then
7443         cat conftest.err >&5
7444       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7445         lt_cv_ld_force_load=yes
7446       else
7447         cat conftest.err >&5
7448       fi
7449         rm -f conftest.err libconftest.a conftest conftest.c
7450         rm -rf conftest.dSYM
7451
7452 fi
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7454 $as_echo "$lt_cv_ld_force_load" >&6; }
7455     case $host_os in
7456     rhapsody* | darwin1.[012])
7457       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7458     darwin1.*)
7459       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7460     darwin*) # darwin 5.x on
7461       # if running on 10.5 or later, the deployment target defaults
7462       # to the OS version, if on x86, and 10.4, the deployment
7463       # target defaults to 10.4. Don't you love it?
7464       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7465         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7466           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7467         10.[012]*)
7468           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7469         10.*)
7470           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7471       esac
7472     ;;
7473   esac
7474     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7475       _lt_dar_single_mod='$single_module'
7476     fi
7477     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7478       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7479     else
7480       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7481     fi
7482     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7483       _lt_dsymutil='~$DSYMUTIL $lib || :'
7484     else
7485       _lt_dsymutil=
7486     fi
7487     ;;
7488   esac
7489
7490 ac_ext=c
7491 ac_cpp='$CPP $CPPFLAGS'
7492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7496 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7497 # On Suns, sometimes $CPP names a directory.
7498 if test -n "$CPP" && test -d "$CPP"; then
7499   CPP=
7500 fi
7501 if test -z "$CPP"; then
7502   if ${ac_cv_prog_CPP+:} false; then :
7503   $as_echo_n "(cached) " >&6
7504 else
7505       # Double quotes because CPP needs to be expanded
7506     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7507     do
7508       ac_preproc_ok=false
7509 for ac_c_preproc_warn_flag in '' yes
7510 do
7511   # Use a header file that comes with gcc, so configuring glibc
7512   # with a fresh cross-compiler works.
7513   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7514   # <limits.h> exists even on freestanding compilers.
7515   # On the NeXT, cc -E runs the code through the compiler's parser,
7516   # not just through cpp. "Syntax error" is here to catch this case.
7517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h.  */
7519 #ifdef __STDC__
7520 # include <limits.h>
7521 #else
7522 # include <assert.h>
7523 #endif
7524                      Syntax error
7525 _ACEOF
7526 if ac_fn_c_try_cpp "$LINENO"; then :
7527
7528 else
7529   # Broken: fails on valid input.
7530 continue
7531 fi
7532 rm -f conftest.err conftest.i conftest.$ac_ext
7533
7534   # OK, works on sane cases.  Now check whether nonexistent headers
7535   # can be detected and how.
7536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h.  */
7538 #include <ac_nonexistent.h>
7539 _ACEOF
7540 if ac_fn_c_try_cpp "$LINENO"; then :
7541   # Broken: success on invalid input.
7542 continue
7543 else
7544   # Passes both tests.
7545 ac_preproc_ok=:
7546 break
7547 fi
7548 rm -f conftest.err conftest.i conftest.$ac_ext
7549
7550 done
7551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7552 rm -f conftest.i conftest.err conftest.$ac_ext
7553 if $ac_preproc_ok; then :
7554   break
7555 fi
7556
7557     done
7558     ac_cv_prog_CPP=$CPP
7559
7560 fi
7561   CPP=$ac_cv_prog_CPP
7562 else
7563   ac_cv_prog_CPP=$CPP
7564 fi
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7566 $as_echo "$CPP" >&6; }
7567 ac_preproc_ok=false
7568 for ac_c_preproc_warn_flag in '' yes
7569 do
7570   # Use a header file that comes with gcc, so configuring glibc
7571   # with a fresh cross-compiler works.
7572   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7573   # <limits.h> exists even on freestanding compilers.
7574   # On the NeXT, cc -E runs the code through the compiler's parser,
7575   # not just through cpp. "Syntax error" is here to catch this case.
7576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h.  */
7578 #ifdef __STDC__
7579 # include <limits.h>
7580 #else
7581 # include <assert.h>
7582 #endif
7583                      Syntax error
7584 _ACEOF
7585 if ac_fn_c_try_cpp "$LINENO"; then :
7586
7587 else
7588   # Broken: fails on valid input.
7589 continue
7590 fi
7591 rm -f conftest.err conftest.i conftest.$ac_ext
7592
7593   # OK, works on sane cases.  Now check whether nonexistent headers
7594   # can be detected and how.
7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h.  */
7597 #include <ac_nonexistent.h>
7598 _ACEOF
7599 if ac_fn_c_try_cpp "$LINENO"; then :
7600   # Broken: success on invalid input.
7601 continue
7602 else
7603   # Passes both tests.
7604 ac_preproc_ok=:
7605 break
7606 fi
7607 rm -f conftest.err conftest.i conftest.$ac_ext
7608
7609 done
7610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7611 rm -f conftest.i conftest.err conftest.$ac_ext
7612 if $ac_preproc_ok; then :
7613
7614 else
7615   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7617 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7618 See \`config.log' for more details" "$LINENO" 5; }
7619 fi
7620
7621 ac_ext=c
7622 ac_cpp='$CPP $CPPFLAGS'
7623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7626
7627
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7629 $as_echo_n "checking for ANSI C header files... " >&6; }
7630 if ${ac_cv_header_stdc+:} false; then :
7631   $as_echo_n "(cached) " >&6
7632 else
7633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h.  */
7635 #include <stdlib.h>
7636 #include <stdarg.h>
7637 #include <string.h>
7638 #include <float.h>
7639
7640 int
7641 main ()
7642 {
7643
7644   ;
7645   return 0;
7646 }
7647 _ACEOF
7648 if ac_fn_c_try_compile "$LINENO"; then :
7649   ac_cv_header_stdc=yes
7650 else
7651   ac_cv_header_stdc=no
7652 fi
7653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7654
7655 if test $ac_cv_header_stdc = yes; then
7656   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h.  */
7659 #include <string.h>
7660
7661 _ACEOF
7662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7663   $EGREP "memchr" >/dev/null 2>&1; then :
7664
7665 else
7666   ac_cv_header_stdc=no
7667 fi
7668 rm -f conftest*
7669
7670 fi
7671
7672 if test $ac_cv_header_stdc = yes; then
7673   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h.  */
7676 #include <stdlib.h>
7677
7678 _ACEOF
7679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7680   $EGREP "free" >/dev/null 2>&1; then :
7681
7682 else
7683   ac_cv_header_stdc=no
7684 fi
7685 rm -f conftest*
7686
7687 fi
7688
7689 if test $ac_cv_header_stdc = yes; then
7690   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7691   if test "$cross_compiling" = yes; then :
7692   :
7693 else
7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h.  */
7696 #include <ctype.h>
7697 #include <stdlib.h>
7698 #if ((' ' & 0x0FF) == 0x020)
7699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7701 #else
7702 # define ISLOWER(c) \
7703                    (('a' <= (c) && (c) <= 'i') \
7704                      || ('j' <= (c) && (c) <= 'r') \
7705                      || ('s' <= (c) && (c) <= 'z'))
7706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7707 #endif
7708
7709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7710 int
7711 main ()
7712 {
7713   int i;
7714   for (i = 0; i < 256; i++)
7715     if (XOR (islower (i), ISLOWER (i))
7716         || toupper (i) != TOUPPER (i))
7717       return 2;
7718   return 0;
7719 }
7720 _ACEOF
7721 if ac_fn_c_try_run "$LINENO"; then :
7722
7723 else
7724   ac_cv_header_stdc=no
7725 fi
7726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7727   conftest.$ac_objext conftest.beam conftest.$ac_ext
7728 fi
7729
7730 fi
7731 fi
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7733 $as_echo "$ac_cv_header_stdc" >&6; }
7734 if test $ac_cv_header_stdc = yes; then
7735
7736 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7737
7738 fi
7739
7740 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7741 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7742                   inttypes.h stdint.h unistd.h
7743 do :
7744   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7745 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7746 "
7747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7748   cat >>confdefs.h <<_ACEOF
7749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 _ACEOF
7751
7752 fi
7753
7754 done
7755
7756
7757 for ac_header in dlfcn.h
7758 do :
7759   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7760 "
7761 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7762   cat >>confdefs.h <<_ACEOF
7763 #define HAVE_DLFCN_H 1
7764 _ACEOF
7765
7766 fi
7767
7768 done
7769
7770
7771
7772
7773
7774 # Set options
7775 enable_dlopen=yes
7776 # Check whether --enable-static was given.
7777 if test "${enable_static+set}" = set; then :
7778   enableval=$enable_static; p=${PACKAGE-default}
7779     case $enableval in
7780     yes) enable_static=yes ;;
7781     no) enable_static=no ;;
7782     *)
7783      enable_static=no
7784       # Look at the argument we got.  We use all the common list separators.
7785       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7786       for pkg in $enableval; do
7787         IFS="$lt_save_ifs"
7788         if test "X$pkg" = "X$p"; then
7789           enable_static=yes
7790         fi
7791       done
7792       IFS="$lt_save_ifs"
7793       ;;
7794     esac
7795 else
7796   enable_static=no
7797 fi
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809   enable_win32_dll=no
7810
7811
7812             # Check whether --enable-shared was given.
7813 if test "${enable_shared+set}" = set; then :
7814   enableval=$enable_shared; p=${PACKAGE-default}
7815     case $enableval in
7816     yes) enable_shared=yes ;;
7817     no) enable_shared=no ;;
7818     *)
7819       enable_shared=no
7820       # Look at the argument we got.  We use all the common list separators.
7821       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7822       for pkg in $enableval; do
7823         IFS="$lt_save_ifs"
7824         if test "X$pkg" = "X$p"; then
7825           enable_shared=yes
7826         fi
7827       done
7828       IFS="$lt_save_ifs"
7829       ;;
7830     esac
7831 else
7832   enable_shared=yes
7833 fi
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845 # Check whether --with-pic was given.
7846 if test "${with_pic+set}" = set; then :
7847   withval=$with_pic; lt_p=${PACKAGE-default}
7848     case $withval in
7849     yes|no) pic_mode=$withval ;;
7850     *)
7851       pic_mode=default
7852       # Look at the argument we got.  We use all the common list separators.
7853       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7854       for lt_pkg in $withval; do
7855         IFS="$lt_save_ifs"
7856         if test "X$lt_pkg" = "X$lt_p"; then
7857           pic_mode=yes
7858         fi
7859       done
7860       IFS="$lt_save_ifs"
7861       ;;
7862     esac
7863 else
7864   pic_mode=default
7865 fi
7866
7867
7868 test -z "$pic_mode" && pic_mode=default
7869
7870
7871
7872
7873
7874
7875
7876   # Check whether --enable-fast-install was given.
7877 if test "${enable_fast_install+set}" = set; then :
7878   enableval=$enable_fast_install; p=${PACKAGE-default}
7879     case $enableval in
7880     yes) enable_fast_install=yes ;;
7881     no) enable_fast_install=no ;;
7882     *)
7883       enable_fast_install=no
7884       # Look at the argument we got.  We use all the common list separators.
7885       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7886       for pkg in $enableval; do
7887         IFS="$lt_save_ifs"
7888         if test "X$pkg" = "X$p"; then
7889           enable_fast_install=yes
7890         fi
7891       done
7892       IFS="$lt_save_ifs"
7893       ;;
7894     esac
7895 else
7896   enable_fast_install=yes
7897 fi
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909 # This can be used to rebuild libtool when needed
7910 LIBTOOL_DEPS="$ltmain"
7911
7912 # Always use our own libtool.
7913 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944 test -z "$LN_S" && LN_S="ln -s"
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959 if test -n "${ZSH_VERSION+set}" ; then
7960    setopt NO_GLOB_SUBST
7961 fi
7962
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7964 $as_echo_n "checking for objdir... " >&6; }
7965 if ${lt_cv_objdir+:} false; then :
7966   $as_echo_n "(cached) " >&6
7967 else
7968   rm -f .libs 2>/dev/null
7969 mkdir .libs 2>/dev/null
7970 if test -d .libs; then
7971   lt_cv_objdir=.libs
7972 else
7973   # MS-DOS does not allow filenames that begin with a dot.
7974   lt_cv_objdir=_libs
7975 fi
7976 rmdir .libs 2>/dev/null
7977 fi
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7979 $as_echo "$lt_cv_objdir" >&6; }
7980 objdir=$lt_cv_objdir
7981
7982
7983
7984
7985
7986 cat >>confdefs.h <<_ACEOF
7987 #define LT_OBJDIR "$lt_cv_objdir/"
7988 _ACEOF
7989
7990
7991
7992
7993 case $host_os in
7994 aix3*)
7995   # AIX sometimes has problems with the GCC collect2 program.  For some
7996   # reason, if we set the COLLECT_NAMES environment variable, the problems
7997   # vanish in a puff of smoke.
7998   if test "X${COLLECT_NAMES+set}" != Xset; then
7999     COLLECT_NAMES=
8000     export COLLECT_NAMES
8001   fi
8002   ;;
8003 esac
8004
8005 # Global variables:
8006 ofile=libtool
8007 can_build_shared=yes
8008
8009 # All known linkers require a `.a' archive for static linking (except MSVC,
8010 # which needs '.lib').
8011 libext=a
8012
8013 with_gnu_ld="$lt_cv_prog_gnu_ld"
8014
8015 old_CC="$CC"
8016 old_CFLAGS="$CFLAGS"
8017
8018 # Set sane defaults for various variables
8019 test -z "$CC" && CC=cc
8020 test -z "$LTCC" && LTCC=$CC
8021 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8022 test -z "$LD" && LD=ld
8023 test -z "$ac_objext" && ac_objext=o
8024
8025 for cc_temp in $compiler""; do
8026   case $cc_temp in
8027     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8028     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8029     \-*) ;;
8030     *) break;;
8031   esac
8032 done
8033 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8034
8035
8036 # Only perform the check for file, if the check method requires it
8037 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8038 case $deplibs_check_method in
8039 file_magic*)
8040   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8041     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8042 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8043 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8044   $as_echo_n "(cached) " >&6
8045 else
8046   case $MAGIC_CMD in
8047 [\\/*] |  ?:[\\/]*)
8048   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8049   ;;
8050 *)
8051   lt_save_MAGIC_CMD="$MAGIC_CMD"
8052   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8053   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8054   for ac_dir in $ac_dummy; do
8055     IFS="$lt_save_ifs"
8056     test -z "$ac_dir" && ac_dir=.
8057     if test -f $ac_dir/${ac_tool_prefix}file; then
8058       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8059       if test -n "$file_magic_test_file"; then
8060         case $deplibs_check_method in
8061         "file_magic "*)
8062           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8063           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8065             $EGREP "$file_magic_regex" > /dev/null; then
8066             :
8067           else
8068             cat <<_LT_EOF 1>&2
8069
8070 *** Warning: the command libtool uses to detect shared libraries,
8071 *** $file_magic_cmd, produces output that libtool cannot recognize.
8072 *** The result is that libtool may fail to recognize shared libraries
8073 *** as such.  This will affect the creation of libtool libraries that
8074 *** depend on shared libraries, but programs linked with such libtool
8075 *** libraries will work regardless of this problem.  Nevertheless, you
8076 *** may want to report the problem to your system manager and/or to
8077 *** bug-libtool@gnu.org
8078
8079 _LT_EOF
8080           fi ;;
8081         esac
8082       fi
8083       break
8084     fi
8085   done
8086   IFS="$lt_save_ifs"
8087   MAGIC_CMD="$lt_save_MAGIC_CMD"
8088   ;;
8089 esac
8090 fi
8091
8092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8093 if test -n "$MAGIC_CMD"; then
8094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8095 $as_echo "$MAGIC_CMD" >&6; }
8096 else
8097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8099 fi
8100
8101
8102
8103
8104
8105 if test -z "$lt_cv_path_MAGIC_CMD"; then
8106   if test -n "$ac_tool_prefix"; then
8107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8108 $as_echo_n "checking for file... " >&6; }
8109 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8110   $as_echo_n "(cached) " >&6
8111 else
8112   case $MAGIC_CMD in
8113 [\\/*] |  ?:[\\/]*)
8114   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8115   ;;
8116 *)
8117   lt_save_MAGIC_CMD="$MAGIC_CMD"
8118   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8119   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8120   for ac_dir in $ac_dummy; do
8121     IFS="$lt_save_ifs"
8122     test -z "$ac_dir" && ac_dir=.
8123     if test -f $ac_dir/file; then
8124       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8125       if test -n "$file_magic_test_file"; then
8126         case $deplibs_check_method in
8127         "file_magic "*)
8128           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8129           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8130           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8131             $EGREP "$file_magic_regex" > /dev/null; then
8132             :
8133           else
8134             cat <<_LT_EOF 1>&2
8135
8136 *** Warning: the command libtool uses to detect shared libraries,
8137 *** $file_magic_cmd, produces output that libtool cannot recognize.
8138 *** The result is that libtool may fail to recognize shared libraries
8139 *** as such.  This will affect the creation of libtool libraries that
8140 *** depend on shared libraries, but programs linked with such libtool
8141 *** libraries will work regardless of this problem.  Nevertheless, you
8142 *** may want to report the problem to your system manager and/or to
8143 *** bug-libtool@gnu.org
8144
8145 _LT_EOF
8146           fi ;;
8147         esac
8148       fi
8149       break
8150     fi
8151   done
8152   IFS="$lt_save_ifs"
8153   MAGIC_CMD="$lt_save_MAGIC_CMD"
8154   ;;
8155 esac
8156 fi
8157
8158 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159 if test -n "$MAGIC_CMD"; then
8160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8161 $as_echo "$MAGIC_CMD" >&6; }
8162 else
8163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8165 fi
8166
8167
8168   else
8169     MAGIC_CMD=:
8170   fi
8171 fi
8172
8173   fi
8174   ;;
8175 esac
8176
8177 # Use C for the default configuration in the libtool script
8178
8179 lt_save_CC="$CC"
8180 ac_ext=c
8181 ac_cpp='$CPP $CPPFLAGS'
8182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8185
8186
8187 # Source file extension for C test sources.
8188 ac_ext=c
8189
8190 # Object file extension for compiled C test sources.
8191 objext=o
8192 objext=$objext
8193
8194 # Code to be used in simple compile tests
8195 lt_simple_compile_test_code="int some_variable = 0;"
8196
8197 # Code to be used in simple link tests
8198 lt_simple_link_test_code='int main(){return(0);}'
8199
8200
8201
8202
8203
8204
8205
8206 # If no C compiler was specified, use CC.
8207 LTCC=${LTCC-"$CC"}
8208
8209 # If no C compiler flags were specified, use CFLAGS.
8210 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8211
8212 # Allow CC to be a program name with arguments.
8213 compiler=$CC
8214
8215 # Save the default compiler, since it gets overwritten when the other
8216 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8217 compiler_DEFAULT=$CC
8218
8219 # save warnings/boilerplate of simple test code
8220 ac_outfile=conftest.$ac_objext
8221 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8222 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8223 _lt_compiler_boilerplate=`cat conftest.err`
8224 $RM conftest*
8225
8226 ac_outfile=conftest.$ac_objext
8227 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8228 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8229 _lt_linker_boilerplate=`cat conftest.err`
8230 $RM -r conftest*
8231
8232
8233 ## CAVEAT EMPTOR:
8234 ## There is no encapsulation within the following macros, do not change
8235 ## the running order or otherwise move them around unless you know exactly
8236 ## what you are doing...
8237 if test -n "$compiler"; then
8238
8239 lt_prog_compiler_no_builtin_flag=
8240
8241 if test "$GCC" = yes; then
8242   case $cc_basename in
8243   nvcc*)
8244     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8245   *)
8246     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8247   esac
8248
8249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8250 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8251 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8252   $as_echo_n "(cached) " >&6
8253 else
8254   lt_cv_prog_compiler_rtti_exceptions=no
8255    ac_outfile=conftest.$ac_objext
8256    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8257    lt_compiler_flag="-fno-rtti -fno-exceptions"
8258    # Insert the option either (1) after the last *FLAGS variable, or
8259    # (2) before a word containing "conftest.", or (3) at the end.
8260    # Note that $ac_compile itself does not contain backslashes and begins
8261    # with a dollar sign (not a hyphen), so the echo should work correctly.
8262    # The option is referenced via a variable to avoid confusing sed.
8263    lt_compile=`echo "$ac_compile" | $SED \
8264    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8265    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8266    -e 's:$: $lt_compiler_flag:'`
8267    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8268    (eval "$lt_compile" 2>conftest.err)
8269    ac_status=$?
8270    cat conftest.err >&5
8271    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272    if (exit $ac_status) && test -s "$ac_outfile"; then
8273      # The compiler can only warn and ignore the option if not recognized
8274      # So say no if there are warnings other than the usual output.
8275      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8276      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8278        lt_cv_prog_compiler_rtti_exceptions=yes
8279      fi
8280    fi
8281    $RM conftest*
8282
8283 fi
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8285 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8286
8287 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8288     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8289 else
8290     :
8291 fi
8292
8293 fi
8294
8295
8296
8297
8298
8299
8300   lt_prog_compiler_wl=
8301 lt_prog_compiler_pic=
8302 lt_prog_compiler_static=
8303
8304
8305   if test "$GCC" = yes; then
8306     lt_prog_compiler_wl='-Wl,'
8307     lt_prog_compiler_static='-static'
8308
8309     case $host_os in
8310       aix*)
8311       # All AIX code is PIC.
8312       if test "$host_cpu" = ia64; then
8313         # AIX 5 now supports IA64 processor
8314         lt_prog_compiler_static='-Bstatic'
8315       fi
8316       ;;
8317
8318     amigaos*)
8319       case $host_cpu in
8320       powerpc)
8321             # see comment about AmigaOS4 .so support
8322             lt_prog_compiler_pic='-fPIC'
8323         ;;
8324       m68k)
8325             # FIXME: we need at least 68020 code to build shared libraries, but
8326             # adding the `-m68020' flag to GCC prevents building anything better,
8327             # like `-m68040'.
8328             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8329         ;;
8330       esac
8331       ;;
8332
8333     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8334       # PIC is the default for these OSes.
8335       ;;
8336
8337     mingw* | cygwin* | pw32* | os2* | cegcc*)
8338       # This hack is so that the source file can tell whether it is being
8339       # built for inclusion in a dll (and should export symbols for example).
8340       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8341       # (--disable-auto-import) libraries
8342       lt_prog_compiler_pic='-DDLL_EXPORT'
8343       ;;
8344
8345     darwin* | rhapsody*)
8346       # PIC is the default on this platform
8347       # Common symbols not allowed in MH_DYLIB files
8348       lt_prog_compiler_pic='-fno-common'
8349       ;;
8350
8351     haiku*)
8352       # PIC is the default for Haiku.
8353       # The "-static" flag exists, but is broken.
8354       lt_prog_compiler_static=
8355       ;;
8356
8357     hpux*)
8358       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8359       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8360       # sets the default TLS model and affects inlining.
8361       case $host_cpu in
8362       hppa*64*)
8363         # +Z the default
8364         ;;
8365       *)
8366         lt_prog_compiler_pic='-fPIC'
8367         ;;
8368       esac
8369       ;;
8370
8371     interix[3-9]*)
8372       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8373       # Instead, we relocate shared libraries at runtime.
8374       ;;
8375
8376     msdosdjgpp*)
8377       # Just because we use GCC doesn't mean we suddenly get shared libraries
8378       # on systems that don't support them.
8379       lt_prog_compiler_can_build_shared=no
8380       enable_shared=no
8381       ;;
8382
8383     *nto* | *qnx*)
8384       # QNX uses GNU C++, but need to define -shared option too, otherwise
8385       # it will coredump.
8386       lt_prog_compiler_pic='-fPIC -shared'
8387       ;;
8388
8389     sysv4*MP*)
8390       if test -d /usr/nec; then
8391         lt_prog_compiler_pic=-Kconform_pic
8392       fi
8393       ;;
8394
8395     *)
8396       lt_prog_compiler_pic='-fPIC'
8397       ;;
8398     esac
8399
8400     case $cc_basename in
8401     nvcc*) # Cuda Compiler Driver 2.2
8402       lt_prog_compiler_wl='-Xlinker '
8403       if test -n "$lt_prog_compiler_pic"; then
8404         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8405       fi
8406       ;;
8407     esac
8408   else
8409     # PORTME Check for flag to pass linker flags through the system compiler.
8410     case $host_os in
8411     aix*)
8412       lt_prog_compiler_wl='-Wl,'
8413       if test "$host_cpu" = ia64; then
8414         # AIX 5 now supports IA64 processor
8415         lt_prog_compiler_static='-Bstatic'
8416       else
8417         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8418       fi
8419       ;;
8420
8421     mingw* | cygwin* | pw32* | os2* | cegcc*)
8422       # This hack is so that the source file can tell whether it is being
8423       # built for inclusion in a dll (and should export symbols for example).
8424       lt_prog_compiler_pic='-DDLL_EXPORT'
8425       ;;
8426
8427     hpux9* | hpux10* | hpux11*)
8428       lt_prog_compiler_wl='-Wl,'
8429       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8430       # not for PA HP-UX.
8431       case $host_cpu in
8432       hppa*64*|ia64*)
8433         # +Z the default
8434         ;;
8435       *)
8436         lt_prog_compiler_pic='+Z'
8437         ;;
8438       esac
8439       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8440       lt_prog_compiler_static='${wl}-a ${wl}archive'
8441       ;;
8442
8443     irix5* | irix6* | nonstopux*)
8444       lt_prog_compiler_wl='-Wl,'
8445       # PIC (with -KPIC) is the default.
8446       lt_prog_compiler_static='-non_shared'
8447       ;;
8448
8449     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8450       case $cc_basename in
8451       # old Intel for x86_64 which still supported -KPIC.
8452       ecc*)
8453         lt_prog_compiler_wl='-Wl,'
8454         lt_prog_compiler_pic='-KPIC'
8455         lt_prog_compiler_static='-static'
8456         ;;
8457       # icc used to be incompatible with GCC.
8458       # ICC 10 doesn't accept -KPIC any more.
8459       icc* | ifort*)
8460         lt_prog_compiler_wl='-Wl,'
8461         lt_prog_compiler_pic='-fPIC'
8462         lt_prog_compiler_static='-static'
8463         ;;
8464       # Lahey Fortran 8.1.
8465       lf95*)
8466         lt_prog_compiler_wl='-Wl,'
8467         lt_prog_compiler_pic='--shared'
8468         lt_prog_compiler_static='--static'
8469         ;;
8470       nagfor*)
8471         # NAG Fortran compiler
8472         lt_prog_compiler_wl='-Wl,-Wl,,'
8473         lt_prog_compiler_pic='-PIC'
8474         lt_prog_compiler_static='-Bstatic'
8475         ;;
8476       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8477         # Portland Group compilers (*not* the Pentium gcc compiler,
8478         # which looks to be a dead project)
8479         lt_prog_compiler_wl='-Wl,'
8480         lt_prog_compiler_pic='-fpic'
8481         lt_prog_compiler_static='-Bstatic'
8482         ;;
8483       ccc*)
8484         lt_prog_compiler_wl='-Wl,'
8485         # All Alpha code is PIC.
8486         lt_prog_compiler_static='-non_shared'
8487         ;;
8488       xl* | bgxl* | bgf* | mpixl*)
8489         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8490         lt_prog_compiler_wl='-Wl,'
8491         lt_prog_compiler_pic='-qpic'
8492         lt_prog_compiler_static='-qstaticlink'
8493         ;;
8494       *)
8495         case `$CC -V 2>&1 | sed 5q` in
8496         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8497           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8498           lt_prog_compiler_pic='-KPIC'
8499           lt_prog_compiler_static='-Bstatic'
8500           lt_prog_compiler_wl=''
8501           ;;
8502         *Sun\ F* | *Sun*Fortran*)
8503           lt_prog_compiler_pic='-KPIC'
8504           lt_prog_compiler_static='-Bstatic'
8505           lt_prog_compiler_wl='-Qoption ld '
8506           ;;
8507         *Sun\ C*)
8508           # Sun C 5.9
8509           lt_prog_compiler_pic='-KPIC'
8510           lt_prog_compiler_static='-Bstatic'
8511           lt_prog_compiler_wl='-Wl,'
8512           ;;
8513         *Intel*\ [CF]*Compiler*)
8514           lt_prog_compiler_wl='-Wl,'
8515           lt_prog_compiler_pic='-fPIC'
8516           lt_prog_compiler_static='-static'
8517           ;;
8518         *Portland\ Group*)
8519           lt_prog_compiler_wl='-Wl,'
8520           lt_prog_compiler_pic='-fpic'
8521           lt_prog_compiler_static='-Bstatic'
8522           ;;
8523         esac
8524         ;;
8525       esac
8526       ;;
8527
8528     newsos6)
8529       lt_prog_compiler_pic='-KPIC'
8530       lt_prog_compiler_static='-Bstatic'
8531       ;;
8532
8533     *nto* | *qnx*)
8534       # QNX uses GNU C++, but need to define -shared option too, otherwise
8535       # it will coredump.
8536       lt_prog_compiler_pic='-fPIC -shared'
8537       ;;
8538
8539     osf3* | osf4* | osf5*)
8540       lt_prog_compiler_wl='-Wl,'
8541       # All OSF/1 code is PIC.
8542       lt_prog_compiler_static='-non_shared'
8543       ;;
8544
8545     rdos*)
8546       lt_prog_compiler_static='-non_shared'
8547       ;;
8548
8549     solaris*)
8550       lt_prog_compiler_pic='-KPIC'
8551       lt_prog_compiler_static='-Bstatic'
8552       case $cc_basename in
8553       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8554         lt_prog_compiler_wl='-Qoption ld ';;
8555       *)
8556         lt_prog_compiler_wl='-Wl,';;
8557       esac
8558       ;;
8559
8560     sunos4*)
8561       lt_prog_compiler_wl='-Qoption ld '
8562       lt_prog_compiler_pic='-PIC'
8563       lt_prog_compiler_static='-Bstatic'
8564       ;;
8565
8566     sysv4 | sysv4.2uw2* | sysv4.3*)
8567       lt_prog_compiler_wl='-Wl,'
8568       lt_prog_compiler_pic='-KPIC'
8569       lt_prog_compiler_static='-Bstatic'
8570       ;;
8571
8572     sysv4*MP*)
8573       if test -d /usr/nec ;then
8574         lt_prog_compiler_pic='-Kconform_pic'
8575         lt_prog_compiler_static='-Bstatic'
8576       fi
8577       ;;
8578
8579     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8580       lt_prog_compiler_wl='-Wl,'
8581       lt_prog_compiler_pic='-KPIC'
8582       lt_prog_compiler_static='-Bstatic'
8583       ;;
8584
8585     unicos*)
8586       lt_prog_compiler_wl='-Wl,'
8587       lt_prog_compiler_can_build_shared=no
8588       ;;
8589
8590     uts4*)
8591       lt_prog_compiler_pic='-pic'
8592       lt_prog_compiler_static='-Bstatic'
8593       ;;
8594
8595     *)
8596       lt_prog_compiler_can_build_shared=no
8597       ;;
8598     esac
8599   fi
8600
8601 case $host_os in
8602   # For platforms which do not support PIC, -DPIC is meaningless:
8603   *djgpp*)
8604     lt_prog_compiler_pic=
8605     ;;
8606   *)
8607     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8608     ;;
8609 esac
8610
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8613 if ${lt_cv_prog_compiler_pic+:} false; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8617 fi
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8619 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8620 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8621
8622 #
8623 # Check to make sure the PIC flag actually works.
8624 #
8625 if test -n "$lt_prog_compiler_pic"; then
8626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8627 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8628 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8629   $as_echo_n "(cached) " >&6
8630 else
8631   lt_cv_prog_compiler_pic_works=no
8632    ac_outfile=conftest.$ac_objext
8633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8634    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8635    # Insert the option either (1) after the last *FLAGS variable, or
8636    # (2) before a word containing "conftest.", or (3) at the end.
8637    # Note that $ac_compile itself does not contain backslashes and begins
8638    # with a dollar sign (not a hyphen), so the echo should work correctly.
8639    # The option is referenced via a variable to avoid confusing sed.
8640    lt_compile=`echo "$ac_compile" | $SED \
8641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8643    -e 's:$: $lt_compiler_flag:'`
8644    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8645    (eval "$lt_compile" 2>conftest.err)
8646    ac_status=$?
8647    cat conftest.err >&5
8648    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649    if (exit $ac_status) && test -s "$ac_outfile"; then
8650      # The compiler can only warn and ignore the option if not recognized
8651      # So say no if there are warnings other than the usual output.
8652      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8653      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8654      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8655        lt_cv_prog_compiler_pic_works=yes
8656      fi
8657    fi
8658    $RM conftest*
8659
8660 fi
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8662 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8663
8664 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8665     case $lt_prog_compiler_pic in
8666      "" | " "*) ;;
8667      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8668      esac
8669 else
8670     lt_prog_compiler_pic=
8671      lt_prog_compiler_can_build_shared=no
8672 fi
8673
8674 fi
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686 #
8687 # Check to make sure the static flag actually works.
8688 #
8689 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8691 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8692 if ${lt_cv_prog_compiler_static_works+:} false; then :
8693   $as_echo_n "(cached) " >&6
8694 else
8695   lt_cv_prog_compiler_static_works=no
8696    save_LDFLAGS="$LDFLAGS"
8697    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8698    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8699    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8700      # The linker can only warn and ignore the option if not recognized
8701      # So say no if there are warnings
8702      if test -s conftest.err; then
8703        # Append any errors to the config.log.
8704        cat conftest.err 1>&5
8705        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8706        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8707        if diff conftest.exp conftest.er2 >/dev/null; then
8708          lt_cv_prog_compiler_static_works=yes
8709        fi
8710      else
8711        lt_cv_prog_compiler_static_works=yes
8712      fi
8713    fi
8714    $RM -r conftest*
8715    LDFLAGS="$save_LDFLAGS"
8716
8717 fi
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8719 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8720
8721 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8722     :
8723 else
8724     lt_prog_compiler_static=
8725 fi
8726
8727
8728
8729
8730
8731
8732
8733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8734 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8735 if ${lt_cv_prog_compiler_c_o+:} false; then :
8736   $as_echo_n "(cached) " >&6
8737 else
8738   lt_cv_prog_compiler_c_o=no
8739    $RM -r conftest 2>/dev/null
8740    mkdir conftest
8741    cd conftest
8742    mkdir out
8743    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8744
8745    lt_compiler_flag="-o out/conftest2.$ac_objext"
8746    # Insert the option either (1) after the last *FLAGS variable, or
8747    # (2) before a word containing "conftest.", or (3) at the end.
8748    # Note that $ac_compile itself does not contain backslashes and begins
8749    # with a dollar sign (not a hyphen), so the echo should work correctly.
8750    lt_compile=`echo "$ac_compile" | $SED \
8751    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8752    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8753    -e 's:$: $lt_compiler_flag:'`
8754    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8755    (eval "$lt_compile" 2>out/conftest.err)
8756    ac_status=$?
8757    cat out/conftest.err >&5
8758    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8760    then
8761      # The compiler can only warn and ignore the option if not recognized
8762      # So say no if there are warnings
8763      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8764      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8765      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8766        lt_cv_prog_compiler_c_o=yes
8767      fi
8768    fi
8769    chmod u+w . 2>&5
8770    $RM conftest*
8771    # SGI C++ compiler will create directory out/ii_files/ for
8772    # template instantiation
8773    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8774    $RM out/* && rmdir out
8775    cd ..
8776    $RM -r conftest
8777    $RM conftest*
8778
8779 fi
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8781 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8782
8783
8784
8785
8786
8787
8788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8789 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8790 if ${lt_cv_prog_compiler_c_o+:} false; then :
8791   $as_echo_n "(cached) " >&6
8792 else
8793   lt_cv_prog_compiler_c_o=no
8794    $RM -r conftest 2>/dev/null
8795    mkdir conftest
8796    cd conftest
8797    mkdir out
8798    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8799
8800    lt_compiler_flag="-o out/conftest2.$ac_objext"
8801    # Insert the option either (1) after the last *FLAGS variable, or
8802    # (2) before a word containing "conftest.", or (3) at the end.
8803    # Note that $ac_compile itself does not contain backslashes and begins
8804    # with a dollar sign (not a hyphen), so the echo should work correctly.
8805    lt_compile=`echo "$ac_compile" | $SED \
8806    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8807    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8808    -e 's:$: $lt_compiler_flag:'`
8809    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8810    (eval "$lt_compile" 2>out/conftest.err)
8811    ac_status=$?
8812    cat out/conftest.err >&5
8813    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8815    then
8816      # The compiler can only warn and ignore the option if not recognized
8817      # So say no if there are warnings
8818      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8819      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8820      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8821        lt_cv_prog_compiler_c_o=yes
8822      fi
8823    fi
8824    chmod u+w . 2>&5
8825    $RM conftest*
8826    # SGI C++ compiler will create directory out/ii_files/ for
8827    # template instantiation
8828    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8829    $RM out/* && rmdir out
8830    cd ..
8831    $RM -r conftest
8832    $RM conftest*
8833
8834 fi
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8836 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8837
8838
8839
8840
8841 hard_links="nottested"
8842 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8843   # do not overwrite the value of need_locks provided by the user
8844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8845 $as_echo_n "checking if we can lock with hard links... " >&6; }
8846   hard_links=yes
8847   $RM conftest*
8848   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8849   touch conftest.a
8850   ln conftest.a conftest.b 2>&5 || hard_links=no
8851   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8853 $as_echo "$hard_links" >&6; }
8854   if test "$hard_links" = no; then
8855     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8856 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8857     need_locks=warn
8858   fi
8859 else
8860   need_locks=no
8861 fi
8862
8863
8864
8865
8866
8867
8868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8869 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8870
8871   runpath_var=
8872   allow_undefined_flag=
8873   always_export_symbols=no
8874   archive_cmds=
8875   archive_expsym_cmds=
8876   compiler_needs_object=no
8877   enable_shared_with_static_runtimes=no
8878   export_dynamic_flag_spec=
8879   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8880   hardcode_automatic=no
8881   hardcode_direct=no
8882   hardcode_direct_absolute=no
8883   hardcode_libdir_flag_spec=
8884   hardcode_libdir_separator=
8885   hardcode_minus_L=no
8886   hardcode_shlibpath_var=unsupported
8887   inherit_rpath=no
8888   link_all_deplibs=unknown
8889   module_cmds=
8890   module_expsym_cmds=
8891   old_archive_from_new_cmds=
8892   old_archive_from_expsyms_cmds=
8893   thread_safe_flag_spec=
8894   whole_archive_flag_spec=
8895   # include_expsyms should be a list of space-separated symbols to be *always*
8896   # included in the symbol list
8897   include_expsyms=
8898   # exclude_expsyms can be an extended regexp of symbols to exclude
8899   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8900   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8901   # as well as any symbol that contains `d'.
8902   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8903   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8904   # platforms (ab)use it in PIC code, but their linkers get confused if
8905   # the symbol is explicitly referenced.  Since portable code cannot
8906   # rely on this symbol name, it's probably fine to never include it in
8907   # preloaded symbol tables.
8908   # Exclude shared library initialization/finalization symbols.
8909   extract_expsyms_cmds=
8910
8911   case $host_os in
8912   cygwin* | mingw* | pw32* | cegcc*)
8913     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8914     # When not using gcc, we currently assume that we are using
8915     # Microsoft Visual C++.
8916     if test "$GCC" != yes; then
8917       with_gnu_ld=no
8918     fi
8919     ;;
8920   interix*)
8921     # we just hope/assume this is gcc and not c89 (= MSVC++)
8922     with_gnu_ld=yes
8923     ;;
8924   openbsd*)
8925     with_gnu_ld=no
8926     ;;
8927   linux* | k*bsd*-gnu | gnu*)
8928     link_all_deplibs=no
8929     ;;
8930   esac
8931
8932   ld_shlibs=yes
8933
8934   # On some targets, GNU ld is compatible enough with the native linker
8935   # that we're better off using the native interface for both.
8936   lt_use_gnu_ld_interface=no
8937   if test "$with_gnu_ld" = yes; then
8938     case $host_os in
8939       aix*)
8940         # The AIX port of GNU ld has always aspired to compatibility
8941         # with the native linker.  However, as the warning in the GNU ld
8942         # block says, versions before 2.19.5* couldn't really create working
8943         # shared libraries, regardless of the interface used.
8944         case `$LD -v 2>&1` in
8945           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8946           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8947           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8948           *)
8949             lt_use_gnu_ld_interface=yes
8950             ;;
8951         esac
8952         ;;
8953       *)
8954         lt_use_gnu_ld_interface=yes
8955         ;;
8956     esac
8957   fi
8958
8959   if test "$lt_use_gnu_ld_interface" = yes; then
8960     # If archive_cmds runs LD, not CC, wlarc should be empty
8961     wlarc='${wl}'
8962
8963     # Set some defaults for GNU ld with shared library support. These
8964     # are reset later if shared libraries are not supported. Putting them
8965     # here allows them to be overridden if necessary.
8966     runpath_var=LD_RUN_PATH
8967     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8968     export_dynamic_flag_spec='${wl}--export-dynamic'
8969     # ancient GNU ld didn't support --whole-archive et. al.
8970     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8971       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8972     else
8973       whole_archive_flag_spec=
8974     fi
8975     supports_anon_versioning=no
8976     case `$LD -v 2>&1` in
8977       *GNU\ gold*) supports_anon_versioning=yes ;;
8978       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8979       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8980       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8981       *\ 2.11.*) ;; # other 2.11 versions
8982       *) supports_anon_versioning=yes ;;
8983     esac
8984
8985     # See if GNU ld supports shared libraries.
8986     case $host_os in
8987     aix[3-9]*)
8988       # On AIX/PPC, the GNU linker is very broken
8989       if test "$host_cpu" != ia64; then
8990         ld_shlibs=no
8991         cat <<_LT_EOF 1>&2
8992
8993 *** Warning: the GNU linker, at least up to release 2.19, is reported
8994 *** to be unable to reliably create shared libraries on AIX.
8995 *** Therefore, libtool is disabling shared libraries support.  If you
8996 *** really care for shared libraries, you may want to install binutils
8997 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8998 *** You will then need to restart the configuration process.
8999
9000 _LT_EOF
9001       fi
9002       ;;
9003
9004     amigaos*)
9005       case $host_cpu in
9006       powerpc)
9007             # see comment about AmigaOS4 .so support
9008             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009             archive_expsym_cmds=''
9010         ;;
9011       m68k)
9012             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)'
9013             hardcode_libdir_flag_spec='-L$libdir'
9014             hardcode_minus_L=yes
9015         ;;
9016       esac
9017       ;;
9018
9019     beos*)
9020       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9021         allow_undefined_flag=unsupported
9022         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9023         # support --undefined.  This deserves some investigation.  FIXME
9024         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9025       else
9026         ld_shlibs=no
9027       fi
9028       ;;
9029
9030     cygwin* | mingw* | pw32* | cegcc*)
9031       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9032       # as there is no search path for DLLs.
9033       hardcode_libdir_flag_spec='-L$libdir'
9034       export_dynamic_flag_spec='${wl}--export-all-symbols'
9035       allow_undefined_flag=unsupported
9036       always_export_symbols=no
9037       enable_shared_with_static_runtimes=yes
9038       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'
9039       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9040
9041       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9042         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9043         # If the export-symbols file already is a .def file (1st line
9044         # is EXPORTS), use it as is; otherwise, prepend...
9045         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9046           cp $export_symbols $output_objdir/$soname.def;
9047         else
9048           echo EXPORTS > $output_objdir/$soname.def;
9049           cat $export_symbols >> $output_objdir/$soname.def;
9050         fi~
9051         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9052       else
9053         ld_shlibs=no
9054       fi
9055       ;;
9056
9057     haiku*)
9058       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059       link_all_deplibs=yes
9060       ;;
9061
9062     interix[3-9]*)
9063       hardcode_direct=no
9064       hardcode_shlibpath_var=no
9065       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9066       export_dynamic_flag_spec='${wl}-E'
9067       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9068       # Instead, shared libraries are loaded at an image base (0x10000000 by
9069       # default) and relocated if they conflict, which is a slow very memory
9070       # consuming and fragmenting process.  To avoid this, we pick a random,
9071       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9072       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9073       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9074       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'
9075       ;;
9076
9077     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9078       tmp_diet=no
9079       if test "$host_os" = linux-dietlibc; then
9080         case $cc_basename in
9081           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9082         esac
9083       fi
9084       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9085          && test "$tmp_diet" = no
9086       then
9087         tmp_addflag=' $pic_flag'
9088         tmp_sharedflag='-shared'
9089         case $cc_basename,$host_cpu in
9090         pgcc*)                          # Portland Group C compiler
9091           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'
9092           tmp_addflag=' $pic_flag'
9093           ;;
9094         pgf77* | pgf90* | pgf95* | pgfortran*)
9095                                         # Portland Group f77 and f90 compilers
9096           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'
9097           tmp_addflag=' $pic_flag -Mnomain' ;;
9098         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9099           tmp_addflag=' -i_dynamic' ;;
9100         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9101           tmp_addflag=' -i_dynamic -nofor_main' ;;
9102         ifc* | ifort*)                  # Intel Fortran compiler
9103           tmp_addflag=' -nofor_main' ;;
9104         lf95*)                          # Lahey Fortran 8.1
9105           whole_archive_flag_spec=
9106           tmp_sharedflag='--shared' ;;
9107         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9108           tmp_sharedflag='-qmkshrobj'
9109           tmp_addflag= ;;
9110         nvcc*)  # Cuda Compiler Driver 2.2
9111           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'
9112           compiler_needs_object=yes
9113           ;;
9114         esac
9115         case `$CC -V 2>&1 | sed 5q` in
9116         *Sun\ C*)                       # Sun C 5.9
9117           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'
9118           compiler_needs_object=yes
9119           tmp_sharedflag='-G' ;;
9120         *Sun\ F*)                       # Sun Fortran 8.3
9121           tmp_sharedflag='-G' ;;
9122         esac
9123         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9124
9125         if test "x$supports_anon_versioning" = xyes; then
9126           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9127             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9128             echo "local: *; };" >> $output_objdir/$libname.ver~
9129             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9130         fi
9131
9132         case $cc_basename in
9133         xlf* | bgf* | bgxlf* | mpixlf*)
9134           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9135           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9136           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9138           if test "x$supports_anon_versioning" = xyes; then
9139             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9140               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9141               echo "local: *; };" >> $output_objdir/$libname.ver~
9142               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9143           fi
9144           ;;
9145         esac
9146       else
9147         ld_shlibs=no
9148       fi
9149       ;;
9150
9151     netbsd* | netbsdelf*-gnu)
9152       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9153         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9154         wlarc=
9155       else
9156         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9158       fi
9159       ;;
9160
9161     solaris*)
9162       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9163         ld_shlibs=no
9164         cat <<_LT_EOF 1>&2
9165
9166 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9167 *** create shared libraries on Solaris systems.  Therefore, libtool
9168 *** is disabling shared libraries support.  We urge you to upgrade GNU
9169 *** binutils to release 2.9.1 or newer.  Another option is to modify
9170 *** your PATH or compiler configuration so that the native linker is
9171 *** used, and then restart.
9172
9173 _LT_EOF
9174       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9175         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9176         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9177       else
9178         ld_shlibs=no
9179       fi
9180       ;;
9181
9182     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9183       case `$LD -v 2>&1` in
9184         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9185         ld_shlibs=no
9186         cat <<_LT_EOF 1>&2
9187
9188 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9189 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9190 *** is disabling shared libraries support.  We urge you to upgrade GNU
9191 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9192 *** your PATH or compiler configuration so that the native linker is
9193 *** used, and then restart.
9194
9195 _LT_EOF
9196         ;;
9197         *)
9198           # For security reasons, it is highly recommended that you always
9199           # use absolute paths for naming shared libraries, and exclude the
9200           # DT_RUNPATH tag from executables and libraries.  But doing so
9201           # requires that you compile everything twice, which is a pain.
9202           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9203             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9204             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9206           else
9207             ld_shlibs=no
9208           fi
9209         ;;
9210       esac
9211       ;;
9212
9213     sunos4*)
9214       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9215       wlarc=
9216       hardcode_direct=yes
9217       hardcode_shlibpath_var=no
9218       ;;
9219
9220     *)
9221       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9222         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9224       else
9225         ld_shlibs=no
9226       fi
9227       ;;
9228     esac
9229
9230     if test "$ld_shlibs" = no; then
9231       runpath_var=
9232       hardcode_libdir_flag_spec=
9233       export_dynamic_flag_spec=
9234       whole_archive_flag_spec=
9235     fi
9236   else
9237     # PORTME fill in a description of your system's linker (not GNU ld)
9238     case $host_os in
9239     aix3*)
9240       allow_undefined_flag=unsupported
9241       always_export_symbols=yes
9242       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'
9243       # Note: this linker hardcodes the directories in LIBPATH if there
9244       # are no directories specified by -L.
9245       hardcode_minus_L=yes
9246       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9247         # Neither direct hardcoding nor static linking is supported with a
9248         # broken collect2.
9249         hardcode_direct=unsupported
9250       fi
9251       ;;
9252
9253     aix[4-9]*)
9254       if test "$host_cpu" = ia64; then
9255         # On IA64, the linker does run time linking by default, so we don't
9256         # have to do anything special.
9257         aix_use_runtimelinking=no
9258         exp_sym_flag='-Bexport'
9259         no_entry_flag=""
9260       else
9261         # If we're using GNU nm, then we don't want the "-C" option.
9262         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9263         # Also, AIX nm treats weak defined symbols like other global
9264         # defined symbols, whereas GNU nm marks them as "W".
9265         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9266           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'
9267         else
9268           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'
9269         fi
9270         aix_use_runtimelinking=no
9271
9272         # Test if we are trying to use run time linking or normal
9273         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9274         # need to do runtime linking.
9275         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9276           for ld_flag in $LDFLAGS; do
9277           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9278             aix_use_runtimelinking=yes
9279             break
9280           fi
9281           done
9282           ;;
9283         esac
9284
9285         exp_sym_flag='-bexport'
9286         no_entry_flag='-bnoentry'
9287       fi
9288
9289       # When large executables or shared objects are built, AIX ld can
9290       # have problems creating the table of contents.  If linking a library
9291       # or program results in "error TOC overflow" add -mminimal-toc to
9292       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9293       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9294
9295       archive_cmds=''
9296       hardcode_direct=yes
9297       hardcode_direct_absolute=yes
9298       hardcode_libdir_separator=':'
9299       link_all_deplibs=yes
9300       file_list_spec='${wl}-f,'
9301
9302       if test "$GCC" = yes; then
9303         case $host_os in aix4.[012]|aix4.[012].*)
9304         # We only want to do this on AIX 4.2 and lower, the check
9305         # below for broken collect2 doesn't work under 4.3+
9306           collect2name=`${CC} -print-prog-name=collect2`
9307           if test -f "$collect2name" &&
9308            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9309           then
9310           # We have reworked collect2
9311           :
9312           else
9313           # We have old collect2
9314           hardcode_direct=unsupported
9315           # It fails to find uninstalled libraries when the uninstalled
9316           # path is not listed in the libpath.  Setting hardcode_minus_L
9317           # to unsupported forces relinking
9318           hardcode_minus_L=yes
9319           hardcode_libdir_flag_spec='-L$libdir'
9320           hardcode_libdir_separator=
9321           fi
9322           ;;
9323         esac
9324         shared_flag='-shared'
9325         if test "$aix_use_runtimelinking" = yes; then
9326           shared_flag="$shared_flag "'${wl}-G'
9327         fi
9328         link_all_deplibs=no
9329       else
9330         # not using gcc
9331         if test "$host_cpu" = ia64; then
9332         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9333         # chokes on -Wl,-G. The following line is correct:
9334           shared_flag='-G'
9335         else
9336           if test "$aix_use_runtimelinking" = yes; then
9337             shared_flag='${wl}-G'
9338           else
9339             shared_flag='${wl}-bM:SRE'
9340           fi
9341         fi
9342       fi
9343
9344       export_dynamic_flag_spec='${wl}-bexpall'
9345       # It seems that -bexpall does not export symbols beginning with
9346       # underscore (_), so it is better to generate a list of symbols to export.
9347       always_export_symbols=yes
9348       if test "$aix_use_runtimelinking" = yes; then
9349         # Warning - without using the other runtime loading flags (-brtl),
9350         # -berok will link without error, but may produce a broken library.
9351         allow_undefined_flag='-berok'
9352         # Determine the default libpath from the value encoded in an
9353         # empty executable.
9354         if test "${lt_cv_aix_libpath+set}" = set; then
9355   aix_libpath=$lt_cv_aix_libpath
9356 else
9357   if ${lt_cv_aix_libpath_+:} false; then :
9358   $as_echo_n "(cached) " >&6
9359 else
9360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h.  */
9362
9363 int
9364 main ()
9365 {
9366
9367   ;
9368   return 0;
9369 }
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372
9373   lt_aix_libpath_sed='
9374       /Import File Strings/,/^$/ {
9375           /^0/ {
9376               s/^0  *\([^ ]*\) *$/\1/
9377               p
9378           }
9379       }'
9380   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381   # Check for a 64-bit object if we didn't find anything.
9382   if test -z "$lt_cv_aix_libpath_"; then
9383     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9384   fi
9385 fi
9386 rm -f core conftest.err conftest.$ac_objext \
9387     conftest$ac_exeext conftest.$ac_ext
9388   if test -z "$lt_cv_aix_libpath_"; then
9389     lt_cv_aix_libpath_="/usr/lib:/lib"
9390   fi
9391
9392 fi
9393
9394   aix_libpath=$lt_cv_aix_libpath_
9395 fi
9396
9397         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9398         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"
9399       else
9400         if test "$host_cpu" = ia64; then
9401           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9402           allow_undefined_flag="-z nodefs"
9403           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"
9404         else
9405          # Determine the default libpath from the value encoded in an
9406          # empty executable.
9407          if test "${lt_cv_aix_libpath+set}" = set; then
9408   aix_libpath=$lt_cv_aix_libpath
9409 else
9410   if ${lt_cv_aix_libpath_+:} false; then :
9411   $as_echo_n "(cached) " >&6
9412 else
9413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h.  */
9415
9416 int
9417 main ()
9418 {
9419
9420   ;
9421   return 0;
9422 }
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425
9426   lt_aix_libpath_sed='
9427       /Import File Strings/,/^$/ {
9428           /^0/ {
9429               s/^0  *\([^ ]*\) *$/\1/
9430               p
9431           }
9432       }'
9433   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9434   # Check for a 64-bit object if we didn't find anything.
9435   if test -z "$lt_cv_aix_libpath_"; then
9436     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9437   fi
9438 fi
9439 rm -f core conftest.err conftest.$ac_objext \
9440     conftest$ac_exeext conftest.$ac_ext
9441   if test -z "$lt_cv_aix_libpath_"; then
9442     lt_cv_aix_libpath_="/usr/lib:/lib"
9443   fi
9444
9445 fi
9446
9447   aix_libpath=$lt_cv_aix_libpath_
9448 fi
9449
9450          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9451           # Warning - without using the other run time loading flags,
9452           # -berok will link without error, but may produce a broken library.
9453           no_undefined_flag=' ${wl}-bernotok'
9454           allow_undefined_flag=' ${wl}-berok'
9455           if test "$with_gnu_ld" = yes; then
9456             # We only use this code for GNU lds that support --whole-archive.
9457             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9458           else
9459             # Exported symbols can be pulled into shared objects from archives
9460             whole_archive_flag_spec='$convenience'
9461           fi
9462           archive_cmds_need_lc=yes
9463           # This is similar to how AIX traditionally builds its shared libraries.
9464           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'
9465         fi
9466       fi
9467       ;;
9468
9469     amigaos*)
9470       case $host_cpu in
9471       powerpc)
9472             # see comment about AmigaOS4 .so support
9473             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9474             archive_expsym_cmds=''
9475         ;;
9476       m68k)
9477             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)'
9478             hardcode_libdir_flag_spec='-L$libdir'
9479             hardcode_minus_L=yes
9480         ;;
9481       esac
9482       ;;
9483
9484     bsdi[45]*)
9485       export_dynamic_flag_spec=-rdynamic
9486       ;;
9487
9488     cygwin* | mingw* | pw32* | cegcc*)
9489       # When not using gcc, we currently assume that we are using
9490       # Microsoft Visual C++.
9491       # hardcode_libdir_flag_spec is actually meaningless, as there is
9492       # no search path for DLLs.
9493       case $cc_basename in
9494       cl*)
9495         # Native MSVC
9496         hardcode_libdir_flag_spec=' '
9497         allow_undefined_flag=unsupported
9498         always_export_symbols=yes
9499         file_list_spec='@'
9500         # Tell ltmain to make .lib files, not .a files.
9501         libext=lib
9502         # Tell ltmain to make .dll files, not .so files.
9503         shrext_cmds=".dll"
9504         # FIXME: Setting linknames here is a bad hack.
9505         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9506         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9507             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9508           else
9509             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9510           fi~
9511           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9512           linknames='
9513         # The linker will not automatically build a static lib if we build a DLL.
9514         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9515         enable_shared_with_static_runtimes=yes
9516         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9517         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9518         # Don't use ranlib
9519         old_postinstall_cmds='chmod 644 $oldlib'
9520         postlink_cmds='lt_outputfile="@OUTPUT@"~
9521           lt_tool_outputfile="@TOOL_OUTPUT@"~
9522           case $lt_outputfile in
9523             *.exe|*.EXE) ;;
9524             *)
9525               lt_outputfile="$lt_outputfile.exe"
9526               lt_tool_outputfile="$lt_tool_outputfile.exe"
9527               ;;
9528           esac~
9529           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9530             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9531             $RM "$lt_outputfile.manifest";
9532           fi'
9533         ;;
9534       *)
9535         # Assume MSVC wrapper
9536         hardcode_libdir_flag_spec=' '
9537         allow_undefined_flag=unsupported
9538         # Tell ltmain to make .lib files, not .a files.
9539         libext=lib
9540         # Tell ltmain to make .dll files, not .so files.
9541         shrext_cmds=".dll"
9542         # FIXME: Setting linknames here is a bad hack.
9543         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9544         # The linker will automatically build a .lib file if we build a DLL.
9545         old_archive_from_new_cmds='true'
9546         # FIXME: Should let the user specify the lib program.
9547         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9548         enable_shared_with_static_runtimes=yes
9549         ;;
9550       esac
9551       ;;
9552
9553     darwin* | rhapsody*)
9554
9555
9556   archive_cmds_need_lc=no
9557   hardcode_direct=no
9558   hardcode_automatic=yes
9559   hardcode_shlibpath_var=unsupported
9560   if test "$lt_cv_ld_force_load" = "yes"; then
9561     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\"`'
9562
9563   else
9564     whole_archive_flag_spec=''
9565   fi
9566   link_all_deplibs=yes
9567   allow_undefined_flag="$_lt_dar_allow_undefined"
9568   case $cc_basename in
9569      ifort*) _lt_dar_can_shared=yes ;;
9570      *) _lt_dar_can_shared=$GCC ;;
9571   esac
9572   if test "$_lt_dar_can_shared" = "yes"; then
9573     output_verbose_link_cmd=func_echo_all
9574     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9575     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9576     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}"
9577     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}"
9578
9579   else
9580   ld_shlibs=no
9581   fi
9582
9583       ;;
9584
9585     dgux*)
9586       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9587       hardcode_libdir_flag_spec='-L$libdir'
9588       hardcode_shlibpath_var=no
9589       ;;
9590
9591     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9592     # support.  Future versions do this automatically, but an explicit c++rt0.o
9593     # does not break anything, and helps significantly (at the cost of a little
9594     # extra space).
9595     freebsd2.2*)
9596       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9597       hardcode_libdir_flag_spec='-R$libdir'
9598       hardcode_direct=yes
9599       hardcode_shlibpath_var=no
9600       ;;
9601
9602     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9603     freebsd2.*)
9604       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9605       hardcode_direct=yes
9606       hardcode_minus_L=yes
9607       hardcode_shlibpath_var=no
9608       ;;
9609
9610     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9611     freebsd* | dragonfly*)
9612       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9613       hardcode_libdir_flag_spec='-R$libdir'
9614       hardcode_direct=yes
9615       hardcode_shlibpath_var=no
9616       ;;
9617
9618     hpux9*)
9619       if test "$GCC" = yes; then
9620         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'
9621       else
9622         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'
9623       fi
9624       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9625       hardcode_libdir_separator=:
9626       hardcode_direct=yes
9627
9628       # hardcode_minus_L: Not really in the search PATH,
9629       # but as the default location of the library.
9630       hardcode_minus_L=yes
9631       export_dynamic_flag_spec='${wl}-E'
9632       ;;
9633
9634     hpux10*)
9635       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9636         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9637       else
9638         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9639       fi
9640       if test "$with_gnu_ld" = no; then
9641         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9642         hardcode_libdir_separator=:
9643         hardcode_direct=yes
9644         hardcode_direct_absolute=yes
9645         export_dynamic_flag_spec='${wl}-E'
9646         # hardcode_minus_L: Not really in the search PATH,
9647         # but as the default location of the library.
9648         hardcode_minus_L=yes
9649       fi
9650       ;;
9651
9652     hpux11*)
9653       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9654         case $host_cpu in
9655         hppa*64*)
9656           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9657           ;;
9658         ia64*)
9659           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9660           ;;
9661         *)
9662           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9663           ;;
9664         esac
9665       else
9666         case $host_cpu in
9667         hppa*64*)
9668           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9669           ;;
9670         ia64*)
9671           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9672           ;;
9673         *)
9674
9675           # Older versions of the 11.00 compiler do not understand -b yet
9676           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9677           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9678 $as_echo_n "checking if $CC understands -b... " >&6; }
9679 if ${lt_cv_prog_compiler__b+:} false; then :
9680   $as_echo_n "(cached) " >&6
9681 else
9682   lt_cv_prog_compiler__b=no
9683    save_LDFLAGS="$LDFLAGS"
9684    LDFLAGS="$LDFLAGS -b"
9685    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9686    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9687      # The linker can only warn and ignore the option if not recognized
9688      # So say no if there are warnings
9689      if test -s conftest.err; then
9690        # Append any errors to the config.log.
9691        cat conftest.err 1>&5
9692        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9693        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9694        if diff conftest.exp conftest.er2 >/dev/null; then
9695          lt_cv_prog_compiler__b=yes
9696        fi
9697      else
9698        lt_cv_prog_compiler__b=yes
9699      fi
9700    fi
9701    $RM -r conftest*
9702    LDFLAGS="$save_LDFLAGS"
9703
9704 fi
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9706 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9707
9708 if test x"$lt_cv_prog_compiler__b" = xyes; then
9709     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9710 else
9711     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9712 fi
9713
9714           ;;
9715         esac
9716       fi
9717       if test "$with_gnu_ld" = no; then
9718         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9719         hardcode_libdir_separator=:
9720
9721         case $host_cpu in
9722         hppa*64*|ia64*)
9723           hardcode_direct=no
9724           hardcode_shlibpath_var=no
9725           ;;
9726         *)
9727           hardcode_direct=yes
9728           hardcode_direct_absolute=yes
9729           export_dynamic_flag_spec='${wl}-E'
9730
9731           # hardcode_minus_L: Not really in the search PATH,
9732           # but as the default location of the library.
9733           hardcode_minus_L=yes
9734           ;;
9735         esac
9736       fi
9737       ;;
9738
9739     irix5* | irix6* | nonstopux*)
9740       if test "$GCC" = yes; then
9741         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'
9742         # Try to use the -exported_symbol ld option, if it does not
9743         # work, assume that -exports_file does not work either and
9744         # implicitly export all symbols.
9745         # This should be the same for all languages, so no per-tag cache variable.
9746         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9747 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9748 if ${lt_cv_irix_exported_symbol+:} false; then :
9749   $as_echo_n "(cached) " >&6
9750 else
9751   save_LDFLAGS="$LDFLAGS"
9752            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9753            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h.  */
9755 int foo (void) { return 0; }
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758   lt_cv_irix_exported_symbol=yes
9759 else
9760   lt_cv_irix_exported_symbol=no
9761 fi
9762 rm -f core conftest.err conftest.$ac_objext \
9763     conftest$ac_exeext conftest.$ac_ext
9764            LDFLAGS="$save_LDFLAGS"
9765 fi
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9767 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9768         if test "$lt_cv_irix_exported_symbol" = yes; then
9769           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'
9770         fi
9771       else
9772         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'
9773         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'
9774       fi
9775       archive_cmds_need_lc='no'
9776       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9777       hardcode_libdir_separator=:
9778       inherit_rpath=yes
9779       link_all_deplibs=yes
9780       ;;
9781
9782     netbsd* | netbsdelf*-gnu)
9783       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9784         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9785       else
9786         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9787       fi
9788       hardcode_libdir_flag_spec='-R$libdir'
9789       hardcode_direct=yes
9790       hardcode_shlibpath_var=no
9791       ;;
9792
9793     newsos6)
9794       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795       hardcode_direct=yes
9796       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9797       hardcode_libdir_separator=:
9798       hardcode_shlibpath_var=no
9799       ;;
9800
9801     *nto* | *qnx*)
9802       ;;
9803
9804     openbsd*)
9805       if test -f /usr/libexec/ld.so; then
9806         hardcode_direct=yes
9807         hardcode_shlibpath_var=no
9808         hardcode_direct_absolute=yes
9809         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9810           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9811           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9812           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9813           export_dynamic_flag_spec='${wl}-E'
9814         else
9815           case $host_os in
9816            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9817              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9818              hardcode_libdir_flag_spec='-R$libdir'
9819              ;;
9820            *)
9821              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9822              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9823              ;;
9824           esac
9825         fi
9826       else
9827         ld_shlibs=no
9828       fi
9829       ;;
9830
9831     os2*)
9832       hardcode_libdir_flag_spec='-L$libdir'
9833       hardcode_minus_L=yes
9834       allow_undefined_flag=unsupported
9835       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'
9836       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9837       ;;
9838
9839     osf3*)
9840       if test "$GCC" = yes; then
9841         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9842         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'
9843       else
9844         allow_undefined_flag=' -expect_unresolved \*'
9845         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'
9846       fi
9847       archive_cmds_need_lc='no'
9848       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9849       hardcode_libdir_separator=:
9850       ;;
9851
9852     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9853       if test "$GCC" = yes; then
9854         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9855         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'
9856         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9857       else
9858         allow_undefined_flag=' -expect_unresolved \*'
9859         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'
9860         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~
9861         $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'
9862
9863         # Both c and cxx compiler support -rpath directly
9864         hardcode_libdir_flag_spec='-rpath $libdir'
9865       fi
9866       archive_cmds_need_lc='no'
9867       hardcode_libdir_separator=:
9868       ;;
9869
9870     solaris*)
9871       no_undefined_flag=' -z defs'
9872       if test "$GCC" = yes; then
9873         wlarc='${wl}'
9874         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9875         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9876           $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'
9877       else
9878         case `$CC -V 2>&1` in
9879         *"Compilers 5.0"*)
9880           wlarc=''
9881           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9882           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9883           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9884           ;;
9885         *)
9886           wlarc='${wl}'
9887           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9888           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9889           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9890           ;;
9891         esac
9892       fi
9893       hardcode_libdir_flag_spec='-R$libdir'
9894       hardcode_shlibpath_var=no
9895       case $host_os in
9896       solaris2.[0-5] | solaris2.[0-5].*) ;;
9897       *)
9898         # The compiler driver will combine and reorder linker options,
9899         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9900         # but is careful enough not to reorder.
9901         # Supported since Solaris 2.6 (maybe 2.5.1?)
9902         if test "$GCC" = yes; then
9903           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9904         else
9905           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9906         fi
9907         ;;
9908       esac
9909       link_all_deplibs=yes
9910       ;;
9911
9912     sunos4*)
9913       if test "x$host_vendor" = xsequent; then
9914         # Use $CC to link under sequent, because it throws in some extra .o
9915         # files that make .init and .fini sections work.
9916         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9917       else
9918         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9919       fi
9920       hardcode_libdir_flag_spec='-L$libdir'
9921       hardcode_direct=yes
9922       hardcode_minus_L=yes
9923       hardcode_shlibpath_var=no
9924       ;;
9925
9926     sysv4)
9927       case $host_vendor in
9928         sni)
9929           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930           hardcode_direct=yes # is this really true???
9931         ;;
9932         siemens)
9933           ## LD is ld it makes a PLAMLIB
9934           ## CC just makes a GrossModule.
9935           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9936           reload_cmds='$CC -r -o $output$reload_objs'
9937           hardcode_direct=no
9938         ;;
9939         motorola)
9940           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9941           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9942         ;;
9943       esac
9944       runpath_var='LD_RUN_PATH'
9945       hardcode_shlibpath_var=no
9946       ;;
9947
9948     sysv4.3*)
9949       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9950       hardcode_shlibpath_var=no
9951       export_dynamic_flag_spec='-Bexport'
9952       ;;
9953
9954     sysv4*MP*)
9955       if test -d /usr/nec; then
9956         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9957         hardcode_shlibpath_var=no
9958         runpath_var=LD_RUN_PATH
9959         hardcode_runpath_var=yes
9960         ld_shlibs=yes
9961       fi
9962       ;;
9963
9964     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9965       no_undefined_flag='${wl}-z,text'
9966       archive_cmds_need_lc=no
9967       hardcode_shlibpath_var=no
9968       runpath_var='LD_RUN_PATH'
9969
9970       if test "$GCC" = yes; then
9971         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9972         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9973       else
9974         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976       fi
9977       ;;
9978
9979     sysv5* | sco3.2v5* | sco5v6*)
9980       # Note: We can NOT use -z defs as we might desire, because we do not
9981       # link with -lc, and that would cause any symbols used from libc to
9982       # always be unresolved, which means just about no library would
9983       # ever link correctly.  If we're not using GNU ld we use -z text
9984       # though, which does catch some bad symbols but isn't as heavy-handed
9985       # as -z defs.
9986       no_undefined_flag='${wl}-z,text'
9987       allow_undefined_flag='${wl}-z,nodefs'
9988       archive_cmds_need_lc=no
9989       hardcode_shlibpath_var=no
9990       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9991       hardcode_libdir_separator=':'
9992       link_all_deplibs=yes
9993       export_dynamic_flag_spec='${wl}-Bexport'
9994       runpath_var='LD_RUN_PATH'
9995
9996       if test "$GCC" = yes; then
9997         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9998         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9999       else
10000         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10001         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10002       fi
10003       ;;
10004
10005     uts4*)
10006       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007       hardcode_libdir_flag_spec='-L$libdir'
10008       hardcode_shlibpath_var=no
10009       ;;
10010
10011     *)
10012       ld_shlibs=no
10013       ;;
10014     esac
10015
10016     if test x$host_vendor = xsni; then
10017       case $host in
10018       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10019         export_dynamic_flag_spec='${wl}-Blargedynsym'
10020         ;;
10021       esac
10022     fi
10023   fi
10024
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10026 $as_echo "$ld_shlibs" >&6; }
10027 test "$ld_shlibs" = no && can_build_shared=no
10028
10029 with_gnu_ld=$with_gnu_ld
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045 #
10046 # Do we need to explicitly link libc?
10047 #
10048 case "x$archive_cmds_need_lc" in
10049 x|xyes)
10050   # Assume -lc should be added
10051   archive_cmds_need_lc=yes
10052
10053   if test "$enable_shared" = yes && test "$GCC" = yes; then
10054     case $archive_cmds in
10055     *'~'*)
10056       # FIXME: we may have to deal with multi-command sequences.
10057       ;;
10058     '$CC '*)
10059       # Test whether the compiler implicitly links with -lc since on some
10060       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10061       # to ld, don't add -lc before -lgcc.
10062       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10063 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10064 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10065   $as_echo_n "(cached) " >&6
10066 else
10067   $RM conftest*
10068         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10069
10070         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10071   (eval $ac_compile) 2>&5
10072   ac_status=$?
10073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10074   test $ac_status = 0; } 2>conftest.err; then
10075           soname=conftest
10076           lib=conftest
10077           libobjs=conftest.$ac_objext
10078           deplibs=
10079           wl=$lt_prog_compiler_wl
10080           pic_flag=$lt_prog_compiler_pic
10081           compiler_flags=-v
10082           linker_flags=-v
10083           verstring=
10084           output_objdir=.
10085           libname=conftest
10086           lt_save_allow_undefined_flag=$allow_undefined_flag
10087           allow_undefined_flag=
10088           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10089   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10090   ac_status=$?
10091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10092   test $ac_status = 0; }
10093           then
10094             lt_cv_archive_cmds_need_lc=no
10095           else
10096             lt_cv_archive_cmds_need_lc=yes
10097           fi
10098           allow_undefined_flag=$lt_save_allow_undefined_flag
10099         else
10100           cat conftest.err 1>&5
10101         fi
10102         $RM conftest*
10103
10104 fi
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10106 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10107       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10108       ;;
10109     esac
10110   fi
10111   ;;
10112 esac
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
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10266 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10267
10268 if test "$GCC" = yes; then
10269   case $host_os in
10270     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10271     *) lt_awk_arg="/^libraries:/" ;;
10272   esac
10273   case $host_os in
10274     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10275     *) lt_sed_strip_eq="s,=/,/,g" ;;
10276   esac
10277   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10278   case $lt_search_path_spec in
10279   *\;*)
10280     # if the path contains ";" then we assume it to be the separator
10281     # otherwise default to the standard path separator (i.e. ":") - it is
10282     # assumed that no part of a normal pathname contains ";" but that should
10283     # okay in the real world where ";" in dirpaths is itself problematic.
10284     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10285     ;;
10286   *)
10287     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10288     ;;
10289   esac
10290   # Ok, now we have the path, separated by spaces, we can step through it
10291   # and add multilib dir if necessary.
10292   lt_tmp_lt_search_path_spec=
10293   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10294   for lt_sys_path in $lt_search_path_spec; do
10295     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10296       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10297     else
10298       test -d "$lt_sys_path" && \
10299         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10300     fi
10301   done
10302   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10303 BEGIN {RS=" "; FS="/|\n";} {
10304   lt_foo="";
10305   lt_count=0;
10306   for (lt_i = NF; lt_i > 0; lt_i--) {
10307     if ($lt_i != "" && $lt_i != ".") {
10308       if ($lt_i == "..") {
10309         lt_count++;
10310       } else {
10311         if (lt_count == 0) {
10312           lt_foo="/" $lt_i lt_foo;
10313         } else {
10314           lt_count--;
10315         }
10316       }
10317     }
10318   }
10319   if (lt_foo != "") { lt_freq[lt_foo]++; }
10320   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10321 }'`
10322   # AWK program above erroneously prepends '/' to C:/dos/paths
10323   # for these hosts.
10324   case $host_os in
10325     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10326       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10327   esac
10328   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10329 else
10330   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10331 fi
10332 library_names_spec=
10333 libname_spec='lib$name'
10334 soname_spec=
10335 shrext_cmds=".so"
10336 postinstall_cmds=
10337 postuninstall_cmds=
10338 finish_cmds=
10339 finish_eval=
10340 shlibpath_var=
10341 shlibpath_overrides_runpath=unknown
10342 version_type=none
10343 dynamic_linker="$host_os ld.so"
10344 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10345 need_lib_prefix=unknown
10346 hardcode_into_libs=no
10347
10348 # when you set need_version to no, make sure it does not cause -set_version
10349 # flags to be left without arguments
10350 need_version=unknown
10351
10352 case $host_os in
10353 aix3*)
10354   version_type=linux # correct to gnu/linux during the next big refactor
10355   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10356   shlibpath_var=LIBPATH
10357
10358   # AIX 3 has no versioning support, so we append a major version to the name.
10359   soname_spec='${libname}${release}${shared_ext}$major'
10360   ;;
10361
10362 aix[4-9]*)
10363   version_type=linux # correct to gnu/linux during the next big refactor
10364   need_lib_prefix=no
10365   need_version=no
10366   hardcode_into_libs=yes
10367   if test "$host_cpu" = ia64; then
10368     # AIX 5 supports IA64
10369     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10370     shlibpath_var=LD_LIBRARY_PATH
10371   else
10372     # With GCC up to 2.95.x, collect2 would create an import file
10373     # for dependence libraries.  The import file would start with
10374     # the line `#! .'.  This would cause the generated library to
10375     # depend on `.', always an invalid library.  This was fixed in
10376     # development snapshots of GCC prior to 3.0.
10377     case $host_os in
10378       aix4 | aix4.[01] | aix4.[01].*)
10379       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10380            echo ' yes '
10381            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10382         :
10383       else
10384         can_build_shared=no
10385       fi
10386       ;;
10387     esac
10388     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10389     # soname into executable. Probably we can add versioning support to
10390     # collect2, so additional links can be useful in future.
10391     if test "$aix_use_runtimelinking" = yes; then
10392       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10393       # instead of lib<name>.a to let people know that these are not
10394       # typical AIX shared libraries.
10395       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396     else
10397       # We preserve .a as extension for shared libraries through AIX4.2
10398       # and later when we are not doing run time linking.
10399       library_names_spec='${libname}${release}.a $libname.a'
10400       soname_spec='${libname}${release}${shared_ext}$major'
10401     fi
10402     shlibpath_var=LIBPATH
10403   fi
10404   ;;
10405
10406 amigaos*)
10407   case $host_cpu in
10408   powerpc)
10409     # Since July 2007 AmigaOS4 officially supports .so libraries.
10410     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10411     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10412     ;;
10413   m68k)
10414     library_names_spec='$libname.ixlibrary $libname.a'
10415     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10416     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'
10417     ;;
10418   esac
10419   ;;
10420
10421 beos*)
10422   library_names_spec='${libname}${shared_ext}'
10423   dynamic_linker="$host_os ld.so"
10424   shlibpath_var=LIBRARY_PATH
10425   ;;
10426
10427 bsdi[45]*)
10428   version_type=linux # correct to gnu/linux during the next big refactor
10429   need_version=no
10430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431   soname_spec='${libname}${release}${shared_ext}$major'
10432   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10433   shlibpath_var=LD_LIBRARY_PATH
10434   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10435   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10436   # the default ld.so.conf also contains /usr/contrib/lib and
10437   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10438   # libtool to hard-code these into programs
10439   ;;
10440
10441 cygwin* | mingw* | pw32* | cegcc*)
10442   version_type=windows
10443   shrext_cmds=".dll"
10444   need_version=no
10445   need_lib_prefix=no
10446
10447   case $GCC,$cc_basename in
10448   yes,*)
10449     # gcc
10450     library_names_spec='$libname.dll.a'
10451     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10452     postinstall_cmds='base_file=`basename \${file}`~
10453       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10454       dldir=$destdir/`dirname \$dlpath`~
10455       test -d \$dldir || mkdir -p \$dldir~
10456       $install_prog $dir/$dlname \$dldir/$dlname~
10457       chmod a+x \$dldir/$dlname~
10458       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10459         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10460       fi'
10461     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10462       dlpath=$dir/\$dldll~
10463        $RM \$dlpath'
10464     shlibpath_overrides_runpath=yes
10465
10466     case $host_os in
10467     cygwin*)
10468       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10469       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10470
10471       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10472       ;;
10473     mingw* | cegcc*)
10474       # MinGW DLLs use traditional 'lib' prefix
10475       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10476       ;;
10477     pw32*)
10478       # pw32 DLLs use 'pw' prefix rather than 'lib'
10479       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10480       ;;
10481     esac
10482     dynamic_linker='Win32 ld.exe'
10483     ;;
10484
10485   *,cl*)
10486     # Native MSVC
10487     libname_spec='$name'
10488     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10489     library_names_spec='${libname}.dll.lib'
10490
10491     case $build_os in
10492     mingw*)
10493       sys_lib_search_path_spec=
10494       lt_save_ifs=$IFS
10495       IFS=';'
10496       for lt_path in $LIB
10497       do
10498         IFS=$lt_save_ifs
10499         # Let DOS variable expansion print the short 8.3 style file name.
10500         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10501         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10502       done
10503       IFS=$lt_save_ifs
10504       # Convert to MSYS style.
10505       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10506       ;;
10507     cygwin*)
10508       # Convert to unix form, then to dos form, then back to unix form
10509       # but this time dos style (no spaces!) so that the unix form looks
10510       # like /cygdrive/c/PROGRA~1:/cygdr...
10511       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10512       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10513       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10514       ;;
10515     *)
10516       sys_lib_search_path_spec="$LIB"
10517       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10518         # It is most probably a Windows format PATH.
10519         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10520       else
10521         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10522       fi
10523       # FIXME: find the short name or the path components, as spaces are
10524       # common. (e.g. "Program Files" -> "PROGRA~1")
10525       ;;
10526     esac
10527
10528     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10529     postinstall_cmds='base_file=`basename \${file}`~
10530       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10531       dldir=$destdir/`dirname \$dlpath`~
10532       test -d \$dldir || mkdir -p \$dldir~
10533       $install_prog $dir/$dlname \$dldir/$dlname'
10534     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10535       dlpath=$dir/\$dldll~
10536        $RM \$dlpath'
10537     shlibpath_overrides_runpath=yes
10538     dynamic_linker='Win32 link.exe'
10539     ;;
10540
10541   *)
10542     # Assume MSVC wrapper
10543     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10544     dynamic_linker='Win32 ld.exe'
10545     ;;
10546   esac
10547   # FIXME: first we should search . and the directory the executable is in
10548   shlibpath_var=PATH
10549   ;;
10550
10551 darwin* | rhapsody*)
10552   dynamic_linker="$host_os dyld"
10553   version_type=darwin
10554   need_lib_prefix=no
10555   need_version=no
10556   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10557   soname_spec='${libname}${release}${major}$shared_ext'
10558   shlibpath_overrides_runpath=yes
10559   shlibpath_var=DYLD_LIBRARY_PATH
10560   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10561
10562   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10563   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10564   ;;
10565
10566 dgux*)
10567   version_type=linux # correct to gnu/linux during the next big refactor
10568   need_lib_prefix=no
10569   need_version=no
10570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10571   soname_spec='${libname}${release}${shared_ext}$major'
10572   shlibpath_var=LD_LIBRARY_PATH
10573   ;;
10574
10575 freebsd* | dragonfly*)
10576   # DragonFly does not have aout.  When/if they implement a new
10577   # versioning mechanism, adjust this.
10578   if test -x /usr/bin/objformat; then
10579     objformat=`/usr/bin/objformat`
10580   else
10581     case $host_os in
10582     freebsd[23].*) objformat=aout ;;
10583     *) objformat=elf ;;
10584     esac
10585   fi
10586   version_type=freebsd-$objformat
10587   case $version_type in
10588     freebsd-elf*)
10589       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10590       need_version=no
10591       need_lib_prefix=no
10592       ;;
10593     freebsd-*)
10594       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10595       need_version=yes
10596       ;;
10597   esac
10598   shlibpath_var=LD_LIBRARY_PATH
10599   case $host_os in
10600   freebsd2.*)
10601     shlibpath_overrides_runpath=yes
10602     ;;
10603   freebsd3.[01]* | freebsdelf3.[01]*)
10604     shlibpath_overrides_runpath=yes
10605     hardcode_into_libs=yes
10606     ;;
10607   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10608   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10609     shlibpath_overrides_runpath=no
10610     hardcode_into_libs=yes
10611     ;;
10612   *) # from 4.6 on, and DragonFly
10613     shlibpath_overrides_runpath=yes
10614     hardcode_into_libs=yes
10615     ;;
10616   esac
10617   ;;
10618
10619 haiku*)
10620   version_type=linux # correct to gnu/linux during the next big refactor
10621   need_lib_prefix=no
10622   need_version=no
10623   dynamic_linker="$host_os runtime_loader"
10624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10625   soname_spec='${libname}${release}${shared_ext}$major'
10626   shlibpath_var=LIBRARY_PATH
10627   shlibpath_overrides_runpath=yes
10628   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10629   hardcode_into_libs=yes
10630   ;;
10631
10632 hpux9* | hpux10* | hpux11*)
10633   # Give a soname corresponding to the major version so that dld.sl refuses to
10634   # link against other versions.
10635   version_type=sunos
10636   need_lib_prefix=no
10637   need_version=no
10638   case $host_cpu in
10639   ia64*)
10640     shrext_cmds='.so'
10641     hardcode_into_libs=yes
10642     dynamic_linker="$host_os dld.so"
10643     shlibpath_var=LD_LIBRARY_PATH
10644     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10645     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646     soname_spec='${libname}${release}${shared_ext}$major'
10647     if test "X$HPUX_IA64_MODE" = X32; then
10648       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10649     else
10650       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10651     fi
10652     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10653     ;;
10654   hppa*64*)
10655     shrext_cmds='.sl'
10656     hardcode_into_libs=yes
10657     dynamic_linker="$host_os dld.sl"
10658     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10659     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10660     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661     soname_spec='${libname}${release}${shared_ext}$major'
10662     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10663     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10664     ;;
10665   *)
10666     shrext_cmds='.sl'
10667     dynamic_linker="$host_os dld.sl"
10668     shlibpath_var=SHLIB_PATH
10669     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10670     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671     soname_spec='${libname}${release}${shared_ext}$major'
10672     ;;
10673   esac
10674   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10675   postinstall_cmds='chmod 555 $lib'
10676   # or fails outright, so override atomically:
10677   install_override_mode=555
10678   ;;
10679
10680 interix[3-9]*)
10681   version_type=linux # correct to gnu/linux during the next big refactor
10682   need_lib_prefix=no
10683   need_version=no
10684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10685   soname_spec='${libname}${release}${shared_ext}$major'
10686   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10687   shlibpath_var=LD_LIBRARY_PATH
10688   shlibpath_overrides_runpath=no
10689   hardcode_into_libs=yes
10690   ;;
10691
10692 irix5* | irix6* | nonstopux*)
10693   case $host_os in
10694     nonstopux*) version_type=nonstopux ;;
10695     *)
10696         if test "$lt_cv_prog_gnu_ld" = yes; then
10697                 version_type=linux # correct to gnu/linux during the next big refactor
10698         else
10699                 version_type=irix
10700         fi ;;
10701   esac
10702   need_lib_prefix=no
10703   need_version=no
10704   soname_spec='${libname}${release}${shared_ext}$major'
10705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10706   case $host_os in
10707   irix5* | nonstopux*)
10708     libsuff= shlibsuff=
10709     ;;
10710   *)
10711     case $LD in # libtool.m4 will add one of these switches to LD
10712     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10713       libsuff= shlibsuff= libmagic=32-bit;;
10714     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10715       libsuff=32 shlibsuff=N32 libmagic=N32;;
10716     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10717       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10718     *) libsuff= shlibsuff= libmagic=never-match;;
10719     esac
10720     ;;
10721   esac
10722   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10723   shlibpath_overrides_runpath=no
10724   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10725   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10726   hardcode_into_libs=yes
10727   ;;
10728
10729 # No shared lib support for Linux oldld, aout, or coff.
10730 linux*oldld* | linux*aout* | linux*coff*)
10731   dynamic_linker=no
10732   ;;
10733
10734 # This must be glibc/ELF.
10735 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10736   version_type=linux # correct to gnu/linux during the next big refactor
10737   need_lib_prefix=no
10738   need_version=no
10739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740   soname_spec='${libname}${release}${shared_ext}$major'
10741   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10742   shlibpath_var=LD_LIBRARY_PATH
10743   shlibpath_overrides_runpath=no
10744
10745   # Some binutils ld are patched to set DT_RUNPATH
10746   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10747   $as_echo_n "(cached) " >&6
10748 else
10749   lt_cv_shlibpath_overrides_runpath=no
10750     save_LDFLAGS=$LDFLAGS
10751     save_libdir=$libdir
10752     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10753          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10754     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h.  */
10756
10757 int
10758 main ()
10759 {
10760
10761   ;
10762   return 0;
10763 }
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10767   lt_cv_shlibpath_overrides_runpath=yes
10768 fi
10769 fi
10770 rm -f core conftest.err conftest.$ac_objext \
10771     conftest$ac_exeext conftest.$ac_ext
10772     LDFLAGS=$save_LDFLAGS
10773     libdir=$save_libdir
10774
10775 fi
10776
10777   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10778
10779   # This implies no fast_install, which is unacceptable.
10780   # Some rework will be needed to allow for fast_install
10781   # before this can be enabled.
10782   hardcode_into_libs=yes
10783
10784   # Append ld.so.conf contents to the search path
10785   if test -f /etc/ld.so.conf; then
10786     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' ' '`
10787     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10788   fi
10789
10790   # We used to test for /lib/ld.so.1 and disable shared libraries on
10791   # powerpc, because MkLinux only supported shared libraries with the
10792   # GNU dynamic linker.  Since this was broken with cross compilers,
10793   # most powerpc-linux boxes support dynamic linking these days and
10794   # people can always --disable-shared, the test was removed, and we
10795   # assume the GNU/Linux dynamic linker is in use.
10796   dynamic_linker='GNU/Linux ld.so'
10797   ;;
10798
10799 netbsdelf*-gnu)
10800   version_type=linux
10801   need_lib_prefix=no
10802   need_version=no
10803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10804   soname_spec='${libname}${release}${shared_ext}$major'
10805   shlibpath_var=LD_LIBRARY_PATH
10806   shlibpath_overrides_runpath=no
10807   hardcode_into_libs=yes
10808   dynamic_linker='NetBSD ld.elf_so'
10809   ;;
10810
10811 netbsd*)
10812   version_type=sunos
10813   need_lib_prefix=no
10814   need_version=no
10815   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10816     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10817     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10818     dynamic_linker='NetBSD (a.out) ld.so'
10819   else
10820     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10821     soname_spec='${libname}${release}${shared_ext}$major'
10822     dynamic_linker='NetBSD ld.elf_so'
10823   fi
10824   shlibpath_var=LD_LIBRARY_PATH
10825   shlibpath_overrides_runpath=yes
10826   hardcode_into_libs=yes
10827   ;;
10828
10829 newsos6)
10830   version_type=linux # correct to gnu/linux during the next big refactor
10831   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832   shlibpath_var=LD_LIBRARY_PATH
10833   shlibpath_overrides_runpath=yes
10834   ;;
10835
10836 *nto* | *qnx*)
10837   version_type=qnx
10838   need_lib_prefix=no
10839   need_version=no
10840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841   soname_spec='${libname}${release}${shared_ext}$major'
10842   shlibpath_var=LD_LIBRARY_PATH
10843   shlibpath_overrides_runpath=no
10844   hardcode_into_libs=yes
10845   dynamic_linker='ldqnx.so'
10846   ;;
10847
10848 openbsd*)
10849   version_type=sunos
10850   sys_lib_dlsearch_path_spec="/usr/lib"
10851   need_lib_prefix=no
10852   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10853   case $host_os in
10854     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10855     *)                          need_version=no  ;;
10856   esac
10857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10859   shlibpath_var=LD_LIBRARY_PATH
10860   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10861     case $host_os in
10862       openbsd2.[89] | openbsd2.[89].*)
10863         shlibpath_overrides_runpath=no
10864         ;;
10865       *)
10866         shlibpath_overrides_runpath=yes
10867         ;;
10868       esac
10869   else
10870     shlibpath_overrides_runpath=yes
10871   fi
10872   ;;
10873
10874 os2*)
10875   libname_spec='$name'
10876   shrext_cmds=".dll"
10877   need_lib_prefix=no
10878   library_names_spec='$libname${shared_ext} $libname.a'
10879   dynamic_linker='OS/2 ld.exe'
10880   shlibpath_var=LIBPATH
10881   ;;
10882
10883 osf3* | osf4* | osf5*)
10884   version_type=osf
10885   need_lib_prefix=no
10886   need_version=no
10887   soname_spec='${libname}${release}${shared_ext}$major'
10888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889   shlibpath_var=LD_LIBRARY_PATH
10890   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10891   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10892   ;;
10893
10894 rdos*)
10895   dynamic_linker=no
10896   ;;
10897
10898 solaris*)
10899   version_type=linux # correct to gnu/linux during the next big refactor
10900   need_lib_prefix=no
10901   need_version=no
10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903   soname_spec='${libname}${release}${shared_ext}$major'
10904   shlibpath_var=LD_LIBRARY_PATH
10905   shlibpath_overrides_runpath=yes
10906   hardcode_into_libs=yes
10907   # ldd complains unless libraries are executable
10908   postinstall_cmds='chmod +x $lib'
10909   ;;
10910
10911 sunos4*)
10912   version_type=sunos
10913   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10914   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10915   shlibpath_var=LD_LIBRARY_PATH
10916   shlibpath_overrides_runpath=yes
10917   if test "$with_gnu_ld" = yes; then
10918     need_lib_prefix=no
10919   fi
10920   need_version=yes
10921   ;;
10922
10923 sysv4 | sysv4.3*)
10924   version_type=linux # correct to gnu/linux during the next big refactor
10925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926   soname_spec='${libname}${release}${shared_ext}$major'
10927   shlibpath_var=LD_LIBRARY_PATH
10928   case $host_vendor in
10929     sni)
10930       shlibpath_overrides_runpath=no
10931       need_lib_prefix=no
10932       runpath_var=LD_RUN_PATH
10933       ;;
10934     siemens)
10935       need_lib_prefix=no
10936       ;;
10937     motorola)
10938       need_lib_prefix=no
10939       need_version=no
10940       shlibpath_overrides_runpath=no
10941       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10942       ;;
10943   esac
10944   ;;
10945
10946 sysv4*MP*)
10947   if test -d /usr/nec ;then
10948     version_type=linux # correct to gnu/linux during the next big refactor
10949     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10950     soname_spec='$libname${shared_ext}.$major'
10951     shlibpath_var=LD_LIBRARY_PATH
10952   fi
10953   ;;
10954
10955 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10956   version_type=freebsd-elf
10957   need_lib_prefix=no
10958   need_version=no
10959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10960   soname_spec='${libname}${release}${shared_ext}$major'
10961   shlibpath_var=LD_LIBRARY_PATH
10962   shlibpath_overrides_runpath=yes
10963   hardcode_into_libs=yes
10964   if test "$with_gnu_ld" = yes; then
10965     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10966   else
10967     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10968     case $host_os in
10969       sco3.2v5*)
10970         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10971         ;;
10972     esac
10973   fi
10974   sys_lib_dlsearch_path_spec='/usr/lib'
10975   ;;
10976
10977 tpf*)
10978   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10979   version_type=linux # correct to gnu/linux during the next big refactor
10980   need_lib_prefix=no
10981   need_version=no
10982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983   shlibpath_var=LD_LIBRARY_PATH
10984   shlibpath_overrides_runpath=no
10985   hardcode_into_libs=yes
10986   ;;
10987
10988 uts4*)
10989   version_type=linux # correct to gnu/linux during the next big refactor
10990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991   soname_spec='${libname}${release}${shared_ext}$major'
10992   shlibpath_var=LD_LIBRARY_PATH
10993   ;;
10994
10995 *)
10996   dynamic_linker=no
10997   ;;
10998 esac
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11000 $as_echo "$dynamic_linker" >&6; }
11001 test "$dynamic_linker" = no && can_build_shared=no
11002
11003 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11004 if test "$GCC" = yes; then
11005   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11006 fi
11007
11008 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11009   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11010 fi
11011 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11012   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11013 fi
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
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11107 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11108 hardcode_action=
11109 if test -n "$hardcode_libdir_flag_spec" ||
11110    test -n "$runpath_var" ||
11111    test "X$hardcode_automatic" = "Xyes" ; then
11112
11113   # We can hardcode non-existent directories.
11114   if test "$hardcode_direct" != no &&
11115      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11116      # have to relink, otherwise we might link with an installed library
11117      # when we should be linking with a yet-to-be-installed one
11118      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11119      test "$hardcode_minus_L" != no; then
11120     # Linking always hardcodes the temporary library directory.
11121     hardcode_action=relink
11122   else
11123     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11124     hardcode_action=immediate
11125   fi
11126 else
11127   # We cannot hardcode anything, or else we can only hardcode existing
11128   # directories.
11129   hardcode_action=unsupported
11130 fi
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11132 $as_echo "$hardcode_action" >&6; }
11133
11134 if test "$hardcode_action" = relink ||
11135    test "$inherit_rpath" = yes; then
11136   # Fast installation is not supported
11137   enable_fast_install=no
11138 elif test "$shlibpath_overrides_runpath" = yes ||
11139      test "$enable_shared" = no; then
11140   # Fast installation is not necessary
11141   enable_fast_install=needless
11142 fi
11143
11144
11145
11146
11147
11148
11149   if test "x$enable_dlopen" != xyes; then
11150   enable_dlopen=unknown
11151   enable_dlopen_self=unknown
11152   enable_dlopen_self_static=unknown
11153 else
11154   lt_cv_dlopen=no
11155   lt_cv_dlopen_libs=
11156
11157   case $host_os in
11158   beos*)
11159     lt_cv_dlopen="load_add_on"
11160     lt_cv_dlopen_libs=
11161     lt_cv_dlopen_self=yes
11162     ;;
11163
11164   mingw* | pw32* | cegcc*)
11165     lt_cv_dlopen="LoadLibrary"
11166     lt_cv_dlopen_libs=
11167     ;;
11168
11169   cygwin*)
11170     lt_cv_dlopen="dlopen"
11171     lt_cv_dlopen_libs=
11172     ;;
11173
11174   darwin*)
11175   # if libdl is installed we need to link against it
11176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11177 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11178 if ${ac_cv_lib_dl_dlopen+:} false; then :
11179   $as_echo_n "(cached) " >&6
11180 else
11181   ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-ldl  $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h.  */
11185
11186 /* Override any GCC internal prototype to avoid an error.
11187    Use char because int might match the return type of a GCC
11188    builtin and then its argument prototype would still apply.  */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char dlopen ();
11193 int
11194 main ()
11195 {
11196 return dlopen ();
11197   ;
11198   return 0;
11199 }
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202   ac_cv_lib_dl_dlopen=yes
11203 else
11204   ac_cv_lib_dl_dlopen=no
11205 fi
11206 rm -f core conftest.err conftest.$ac_objext \
11207     conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11209 fi
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11211 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11212 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11213   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11214 else
11215
11216     lt_cv_dlopen="dyld"
11217     lt_cv_dlopen_libs=
11218     lt_cv_dlopen_self=yes
11219
11220 fi
11221
11222     ;;
11223
11224   *)
11225     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11226 if test "x$ac_cv_func_shl_load" = xyes; then :
11227   lt_cv_dlopen="shl_load"
11228 else
11229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11230 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11231 if ${ac_cv_lib_dld_shl_load+:} false; then :
11232   $as_echo_n "(cached) " >&6
11233 else
11234   ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-ldld  $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h.  */
11238
11239 /* Override any GCC internal prototype to avoid an error.
11240    Use char because int might match the return type of a GCC
11241    builtin and then its argument prototype would still apply.  */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char shl_load ();
11246 int
11247 main ()
11248 {
11249 return shl_load ();
11250   ;
11251   return 0;
11252 }
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255   ac_cv_lib_dld_shl_load=yes
11256 else
11257   ac_cv_lib_dld_shl_load=no
11258 fi
11259 rm -f core conftest.err conftest.$ac_objext \
11260     conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11262 fi
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11264 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11265 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11266   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11267 else
11268   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11269 if test "x$ac_cv_func_dlopen" = xyes; then :
11270   lt_cv_dlopen="dlopen"
11271 else
11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11273 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11274 if ${ac_cv_lib_dl_dlopen+:} false; then :
11275   $as_echo_n "(cached) " >&6
11276 else
11277   ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldl  $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h.  */
11281
11282 /* Override any GCC internal prototype to avoid an error.
11283    Use char because int might match the return type of a GCC
11284    builtin and then its argument prototype would still apply.  */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char dlopen ();
11289 int
11290 main ()
11291 {
11292 return dlopen ();
11293   ;
11294   return 0;
11295 }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298   ac_cv_lib_dl_dlopen=yes
11299 else
11300   ac_cv_lib_dl_dlopen=no
11301 fi
11302 rm -f core conftest.err conftest.$ac_objext \
11303     conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11305 fi
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11307 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11308 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11309   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11310 else
11311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11312 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11313 if ${ac_cv_lib_svld_dlopen+:} false; then :
11314   $as_echo_n "(cached) " >&6
11315 else
11316   ac_check_lib_save_LIBS=$LIBS
11317 LIBS="-lsvld  $LIBS"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h.  */
11320
11321 /* Override any GCC internal prototype to avoid an error.
11322    Use char because int might match the return type of a GCC
11323    builtin and then its argument prototype would still apply.  */
11324 #ifdef __cplusplus
11325 extern "C"
11326 #endif
11327 char dlopen ();
11328 int
11329 main ()
11330 {
11331 return dlopen ();
11332   ;
11333   return 0;
11334 }
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"; then :
11337   ac_cv_lib_svld_dlopen=yes
11338 else
11339   ac_cv_lib_svld_dlopen=no
11340 fi
11341 rm -f core conftest.err conftest.$ac_objext \
11342     conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_lib_save_LIBS
11344 fi
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11346 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11347 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11348   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11349 else
11350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11351 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11352 if ${ac_cv_lib_dld_dld_link+:} false; then :
11353   $as_echo_n "(cached) " >&6
11354 else
11355   ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-ldld  $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h.  */
11359
11360 /* Override any GCC internal prototype to avoid an error.
11361    Use char because int might match the return type of a GCC
11362    builtin and then its argument prototype would still apply.  */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char dld_link ();
11367 int
11368 main ()
11369 {
11370 return dld_link ();
11371   ;
11372   return 0;
11373 }
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376   ac_cv_lib_dld_dld_link=yes
11377 else
11378   ac_cv_lib_dld_dld_link=no
11379 fi
11380 rm -f core conftest.err conftest.$ac_objext \
11381     conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11383 fi
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11385 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11386 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11387   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11388 fi
11389
11390
11391 fi
11392
11393
11394 fi
11395
11396
11397 fi
11398
11399
11400 fi
11401
11402
11403 fi
11404
11405     ;;
11406   esac
11407
11408   if test "x$lt_cv_dlopen" != xno; then
11409     enable_dlopen=yes
11410   else
11411     enable_dlopen=no
11412   fi
11413
11414   case $lt_cv_dlopen in
11415   dlopen)
11416     save_CPPFLAGS="$CPPFLAGS"
11417     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11418
11419     save_LDFLAGS="$LDFLAGS"
11420     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11421
11422     save_LIBS="$LIBS"
11423     LIBS="$lt_cv_dlopen_libs $LIBS"
11424
11425     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11426 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11427 if ${lt_cv_dlopen_self+:} false; then :
11428   $as_echo_n "(cached) " >&6
11429 else
11430           if test "$cross_compiling" = yes; then :
11431   lt_cv_dlopen_self=cross
11432 else
11433   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11434   lt_status=$lt_dlunknown
11435   cat > conftest.$ac_ext <<_LT_EOF
11436 #line $LINENO "configure"
11437 #include "confdefs.h"
11438
11439 #if HAVE_DLFCN_H
11440 #include <dlfcn.h>
11441 #endif
11442
11443 #include <stdio.h>
11444
11445 #ifdef RTLD_GLOBAL
11446 #  define LT_DLGLOBAL           RTLD_GLOBAL
11447 #else
11448 #  ifdef DL_GLOBAL
11449 #    define LT_DLGLOBAL         DL_GLOBAL
11450 #  else
11451 #    define LT_DLGLOBAL         0
11452 #  endif
11453 #endif
11454
11455 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11456    find out it does not work in some platform. */
11457 #ifndef LT_DLLAZY_OR_NOW
11458 #  ifdef RTLD_LAZY
11459 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11460 #  else
11461 #    ifdef DL_LAZY
11462 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11463 #    else
11464 #      ifdef RTLD_NOW
11465 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11466 #      else
11467 #        ifdef DL_NOW
11468 #          define LT_DLLAZY_OR_NOW      DL_NOW
11469 #        else
11470 #          define LT_DLLAZY_OR_NOW      0
11471 #        endif
11472 #      endif
11473 #    endif
11474 #  endif
11475 #endif
11476
11477 /* When -fvisbility=hidden is used, assume the code has been annotated
11478    correspondingly for the symbols needed.  */
11479 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11480 int fnord () __attribute__((visibility("default")));
11481 #endif
11482
11483 int fnord () { return 42; }
11484 int main ()
11485 {
11486   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11487   int status = $lt_dlunknown;
11488
11489   if (self)
11490     {
11491       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11492       else
11493         {
11494           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11495           else puts (dlerror ());
11496         }
11497       /* dlclose (self); */
11498     }
11499   else
11500     puts (dlerror ());
11501
11502   return status;
11503 }
11504 _LT_EOF
11505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11506   (eval $ac_link) 2>&5
11507   ac_status=$?
11508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11509   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11510     (./conftest; exit; ) >&5 2>/dev/null
11511     lt_status=$?
11512     case x$lt_status in
11513       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11514       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11515       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11516     esac
11517   else :
11518     # compilation failed
11519     lt_cv_dlopen_self=no
11520   fi
11521 fi
11522 rm -fr conftest*
11523
11524
11525 fi
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11527 $as_echo "$lt_cv_dlopen_self" >&6; }
11528
11529     if test "x$lt_cv_dlopen_self" = xyes; then
11530       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11531       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11532 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11533 if ${lt_cv_dlopen_self_static+:} false; then :
11534   $as_echo_n "(cached) " >&6
11535 else
11536           if test "$cross_compiling" = yes; then :
11537   lt_cv_dlopen_self_static=cross
11538 else
11539   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11540   lt_status=$lt_dlunknown
11541   cat > conftest.$ac_ext <<_LT_EOF
11542 #line $LINENO "configure"
11543 #include "confdefs.h"
11544
11545 #if HAVE_DLFCN_H
11546 #include <dlfcn.h>
11547 #endif
11548
11549 #include <stdio.h>
11550
11551 #ifdef RTLD_GLOBAL
11552 #  define LT_DLGLOBAL           RTLD_GLOBAL
11553 #else
11554 #  ifdef DL_GLOBAL
11555 #    define LT_DLGLOBAL         DL_GLOBAL
11556 #  else
11557 #    define LT_DLGLOBAL         0
11558 #  endif
11559 #endif
11560
11561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11562    find out it does not work in some platform. */
11563 #ifndef LT_DLLAZY_OR_NOW
11564 #  ifdef RTLD_LAZY
11565 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11566 #  else
11567 #    ifdef DL_LAZY
11568 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11569 #    else
11570 #      ifdef RTLD_NOW
11571 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11572 #      else
11573 #        ifdef DL_NOW
11574 #          define LT_DLLAZY_OR_NOW      DL_NOW
11575 #        else
11576 #          define LT_DLLAZY_OR_NOW      0
11577 #        endif
11578 #      endif
11579 #    endif
11580 #  endif
11581 #endif
11582
11583 /* When -fvisbility=hidden is used, assume the code has been annotated
11584    correspondingly for the symbols needed.  */
11585 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11586 int fnord () __attribute__((visibility("default")));
11587 #endif
11588
11589 int fnord () { return 42; }
11590 int main ()
11591 {
11592   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593   int status = $lt_dlunknown;
11594
11595   if (self)
11596     {
11597       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11598       else
11599         {
11600           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11601           else puts (dlerror ());
11602         }
11603       /* dlclose (self); */
11604     }
11605   else
11606     puts (dlerror ());
11607
11608   return status;
11609 }
11610 _LT_EOF
11611   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11612   (eval $ac_link) 2>&5
11613   ac_status=$?
11614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11616     (./conftest; exit; ) >&5 2>/dev/null
11617     lt_status=$?
11618     case x$lt_status in
11619       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11620       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11621       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11622     esac
11623   else :
11624     # compilation failed
11625     lt_cv_dlopen_self_static=no
11626   fi
11627 fi
11628 rm -fr conftest*
11629
11630
11631 fi
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11633 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11634     fi
11635
11636     CPPFLAGS="$save_CPPFLAGS"
11637     LDFLAGS="$save_LDFLAGS"
11638     LIBS="$save_LIBS"
11639     ;;
11640   esac
11641
11642   case $lt_cv_dlopen_self in
11643   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11644   *) enable_dlopen_self=unknown ;;
11645   esac
11646
11647   case $lt_cv_dlopen_self_static in
11648   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11649   *) enable_dlopen_self_static=unknown ;;
11650   esac
11651 fi
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669 striplib=
11670 old_striplib=
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11672 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11673 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11674   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11675   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11677 $as_echo "yes" >&6; }
11678 else
11679 # FIXME - insert some real tests, host_os isn't really good enough
11680   case $host_os in
11681   darwin*)
11682     if test -n "$STRIP" ; then
11683       striplib="$STRIP -x"
11684       old_striplib="$STRIP -S"
11685       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11686 $as_echo "yes" >&6; }
11687     else
11688       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11690     fi
11691     ;;
11692   *)
11693     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11694 $as_echo "no" >&6; }
11695     ;;
11696   esac
11697 fi
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710   # Report which library types will actually be built
11711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11712 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11714 $as_echo "$can_build_shared" >&6; }
11715
11716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11717 $as_echo_n "checking whether to build shared libraries... " >&6; }
11718   test "$can_build_shared" = "no" && enable_shared=no
11719
11720   # On AIX, shared libraries and static libraries use the same namespace, and
11721   # are all built from PIC.
11722   case $host_os in
11723   aix3*)
11724     test "$enable_shared" = yes && enable_static=no
11725     if test -n "$RANLIB"; then
11726       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11727       postinstall_cmds='$RANLIB $lib'
11728     fi
11729     ;;
11730
11731   aix[4-9]*)
11732     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11733       test "$enable_shared" = yes && enable_static=no
11734     fi
11735     ;;
11736   esac
11737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11738 $as_echo "$enable_shared" >&6; }
11739
11740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11741 $as_echo_n "checking whether to build static libraries... " >&6; }
11742   # Make sure either enable_shared or enable_static is yes.
11743   test "$enable_shared" = yes || enable_static=yes
11744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11745 $as_echo "$enable_static" >&6; }
11746
11747
11748
11749
11750 fi
11751 ac_ext=c
11752 ac_cpp='$CPP $CPPFLAGS'
11753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11756
11757 CC="$lt_save_CC"
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773         ac_config_commands="$ac_config_commands libtool"
11774
11775
11776
11777
11778 # Only expand once:
11779
11780
11781
11782
11783 # Checks for libraries.
11784
11785
11786
11787
11788
11789
11790
11791 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11792         if test -n "$ac_tool_prefix"; then
11793   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11794 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11796 $as_echo_n "checking for $ac_word... " >&6; }
11797 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11798   $as_echo_n "(cached) " >&6
11799 else
11800   case $PKG_CONFIG in
11801   [\\/]* | ?:[\\/]*)
11802   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11803   ;;
11804   *)
11805   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11806 for as_dir in $PATH
11807 do
11808   IFS=$as_save_IFS
11809   test -z "$as_dir" && as_dir=.
11810     for ac_exec_ext in '' $ac_executable_extensions; do
11811   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11812     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11814     break 2
11815   fi
11816 done
11817   done
11818 IFS=$as_save_IFS
11819
11820   ;;
11821 esac
11822 fi
11823 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11824 if test -n "$PKG_CONFIG"; then
11825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11826 $as_echo "$PKG_CONFIG" >&6; }
11827 else
11828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11829 $as_echo "no" >&6; }
11830 fi
11831
11832
11833 fi
11834 if test -z "$ac_cv_path_PKG_CONFIG"; then
11835   ac_pt_PKG_CONFIG=$PKG_CONFIG
11836   # Extract the first word of "pkg-config", so it can be a program name with args.
11837 set dummy pkg-config; ac_word=$2
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11839 $as_echo_n "checking for $ac_word... " >&6; }
11840 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11841   $as_echo_n "(cached) " >&6
11842 else
11843   case $ac_pt_PKG_CONFIG in
11844   [\\/]* | ?:[\\/]*)
11845   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11846   ;;
11847   *)
11848   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11849 for as_dir in $PATH
11850 do
11851   IFS=$as_save_IFS
11852   test -z "$as_dir" && as_dir=.
11853     for ac_exec_ext in '' $ac_executable_extensions; do
11854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11855     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11857     break 2
11858   fi
11859 done
11860   done
11861 IFS=$as_save_IFS
11862
11863   ;;
11864 esac
11865 fi
11866 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11867 if test -n "$ac_pt_PKG_CONFIG"; then
11868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11869 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11870 else
11871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11873 fi
11874
11875   if test "x$ac_pt_PKG_CONFIG" = x; then
11876     PKG_CONFIG=""
11877   else
11878     case $cross_compiling:$ac_tool_warned in
11879 yes:)
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11882 ac_tool_warned=yes ;;
11883 esac
11884     PKG_CONFIG=$ac_pt_PKG_CONFIG
11885   fi
11886 else
11887   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11888 fi
11889
11890 fi
11891 if test -n "$PKG_CONFIG"; then
11892         _pkg_min_version=0.16
11893         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11894 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11895         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11896                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11897 $as_echo "yes" >&6; }
11898         else
11899                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 $as_echo "no" >&6; }
11901                 PKG_CONFIG=""
11902         fi
11903 fi
11904
11905 pkg_failed=no
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11907 $as_echo_n "checking for GLIB... " >&6; }
11908
11909 if test -n "$GLIB_CFLAGS"; then
11910     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11911  elif test -n "$PKG_CONFIG"; then
11912     if test -n "$PKG_CONFIG" && \
11913     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11914   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11915   ac_status=$?
11916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11917   test $ac_status = 0; }; then
11918   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11919                       test "x$?" != "x0" && pkg_failed=yes
11920 else
11921   pkg_failed=yes
11922 fi
11923  else
11924     pkg_failed=untried
11925 fi
11926 if test -n "$GLIB_LIBS"; then
11927     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11928  elif test -n "$PKG_CONFIG"; then
11929     if test -n "$PKG_CONFIG" && \
11930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11931   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11932   ac_status=$?
11933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934   test $ac_status = 0; }; then
11935   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11936                       test "x$?" != "x0" && pkg_failed=yes
11937 else
11938   pkg_failed=yes
11939 fi
11940  else
11941     pkg_failed=untried
11942 fi
11943
11944
11945
11946 if test $pkg_failed = yes; then
11947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11949
11950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11951         _pkg_short_errors_supported=yes
11952 else
11953         _pkg_short_errors_supported=no
11954 fi
11955         if test $_pkg_short_errors_supported = yes; then
11956                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11957         else
11958                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11959         fi
11960         # Put the nasty error message in config.log where it belongs
11961         echo "$GLIB_PKG_ERRORS" >&5
11962
11963         as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11964
11965 $GLIB_PKG_ERRORS
11966
11967 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11968 installed software in a non-standard prefix.
11969
11970 Alternatively, you may set the environment variables GLIB_CFLAGS
11971 and GLIB_LIBS to avoid the need to call pkg-config.
11972 See the pkg-config man page for more details." "$LINENO" 5
11973 elif test $pkg_failed = untried; then
11974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11976         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11979 is in your PATH or set the PKG_CONFIG environment variable to the full
11980 path to pkg-config.
11981
11982 Alternatively, you may set the environment variables GLIB_CFLAGS
11983 and GLIB_LIBS to avoid the need to call pkg-config.
11984 See the pkg-config man page for more details.
11985
11986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11987 See \`config.log' for more details" "$LINENO" 5; }
11988 else
11989         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11990         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11992 $as_echo "yes" >&6; }
11993
11994 fi
11995
11996 pkg_failed=no
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
11998 $as_echo_n "checking for GIO... " >&6; }
11999
12000 if test -n "$GIO_CFLAGS"; then
12001     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12002  elif test -n "$PKG_CONFIG"; then
12003     if test -n "$PKG_CONFIG" && \
12004     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12005   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12006   ac_status=$?
12007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12008   test $ac_status = 0; }; then
12009   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12010                       test "x$?" != "x0" && pkg_failed=yes
12011 else
12012   pkg_failed=yes
12013 fi
12014  else
12015     pkg_failed=untried
12016 fi
12017 if test -n "$GIO_LIBS"; then
12018     pkg_cv_GIO_LIBS="$GIO_LIBS"
12019  elif test -n "$PKG_CONFIG"; then
12020     if test -n "$PKG_CONFIG" && \
12021     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12022   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12023   ac_status=$?
12024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12025   test $ac_status = 0; }; then
12026   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12027                       test "x$?" != "x0" && pkg_failed=yes
12028 else
12029   pkg_failed=yes
12030 fi
12031  else
12032     pkg_failed=untried
12033 fi
12034
12035
12036
12037 if test $pkg_failed = yes; then
12038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12040
12041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12042         _pkg_short_errors_supported=yes
12043 else
12044         _pkg_short_errors_supported=no
12045 fi
12046         if test $_pkg_short_errors_supported = yes; then
12047                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12048         else
12049                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12050         fi
12051         # Put the nasty error message in config.log where it belongs
12052         echo "$GIO_PKG_ERRORS" >&5
12053
12054         as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12055
12056 $GIO_PKG_ERRORS
12057
12058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12059 installed software in a non-standard prefix.
12060
12061 Alternatively, you may set the environment variables GIO_CFLAGS
12062 and GIO_LIBS to avoid the need to call pkg-config.
12063 See the pkg-config man page for more details." "$LINENO" 5
12064 elif test $pkg_failed = untried; then
12065         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066 $as_echo "no" >&6; }
12067         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12069 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12070 is in your PATH or set the PKG_CONFIG environment variable to the full
12071 path to pkg-config.
12072
12073 Alternatively, you may set the environment variables GIO_CFLAGS
12074 and GIO_LIBS to avoid the need to call pkg-config.
12075 See the pkg-config man page for more details.
12076
12077 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12078 See \`config.log' for more details" "$LINENO" 5; }
12079 else
12080         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12081         GIO_LIBS=$pkg_cv_GIO_LIBS
12082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12083 $as_echo "yes" >&6; }
12084
12085 fi
12086
12087 pkg_failed=no
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
12089 $as_echo_n "checking for GSSDP... " >&6; }
12090
12091 if test -n "$GSSDP_CFLAGS"; then
12092     pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
12093  elif test -n "$PKG_CONFIG"; then
12094     if test -n "$PKG_CONFIG" && \
12095     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12096   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12097   ac_status=$?
12098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12099   test $ac_status = 0; }; then
12100   pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12101                       test "x$?" != "x0" && pkg_failed=yes
12102 else
12103   pkg_failed=yes
12104 fi
12105  else
12106     pkg_failed=untried
12107 fi
12108 if test -n "$GSSDP_LIBS"; then
12109     pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
12110  elif test -n "$PKG_CONFIG"; then
12111     if test -n "$PKG_CONFIG" && \
12112     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12113   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12114   ac_status=$?
12115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12116   test $ac_status = 0; }; then
12117   pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12118                       test "x$?" != "x0" && pkg_failed=yes
12119 else
12120   pkg_failed=yes
12121 fi
12122  else
12123     pkg_failed=untried
12124 fi
12125
12126
12127
12128 if test $pkg_failed = yes; then
12129         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130 $as_echo "no" >&6; }
12131
12132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12133         _pkg_short_errors_supported=yes
12134 else
12135         _pkg_short_errors_supported=no
12136 fi
12137         if test $_pkg_short_errors_supported = yes; then
12138                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12139         else
12140                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12141         fi
12142         # Put the nasty error message in config.log where it belongs
12143         echo "$GSSDP_PKG_ERRORS" >&5
12144
12145         as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.2) were not met:
12146
12147 $GSSDP_PKG_ERRORS
12148
12149 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12150 installed software in a non-standard prefix.
12151
12152 Alternatively, you may set the environment variables GSSDP_CFLAGS
12153 and GSSDP_LIBS to avoid the need to call pkg-config.
12154 See the pkg-config man page for more details." "$LINENO" 5
12155 elif test $pkg_failed = untried; then
12156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12158         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12160 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12161 is in your PATH or set the PKG_CONFIG environment variable to the full
12162 path to pkg-config.
12163
12164 Alternatively, you may set the environment variables GSSDP_CFLAGS
12165 and GSSDP_LIBS to avoid the need to call pkg-config.
12166 See the pkg-config man page for more details.
12167
12168 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12169 See \`config.log' for more details" "$LINENO" 5; }
12170 else
12171         GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
12172         GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
12173         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12174 $as_echo "yes" >&6; }
12175
12176 fi
12177
12178 pkg_failed=no
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12180 $as_echo_n "checking for GUPNP... " >&6; }
12181
12182 if test -n "$GUPNP_CFLAGS"; then
12183     pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12184  elif test -n "$PKG_CONFIG"; then
12185     if test -n "$PKG_CONFIG" && \
12186     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.3\""; } >&5
12187   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.3") 2>&5
12188   ac_status=$?
12189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12190   test $ac_status = 0; }; then
12191   pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.20.3" 2>/dev/null`
12192                       test "x$?" != "x0" && pkg_failed=yes
12193 else
12194   pkg_failed=yes
12195 fi
12196  else
12197     pkg_failed=untried
12198 fi
12199 if test -n "$GUPNP_LIBS"; then
12200     pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12201  elif test -n "$PKG_CONFIG"; then
12202     if test -n "$PKG_CONFIG" && \
12203     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.3\""; } >&5
12204   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.3") 2>&5
12205   ac_status=$?
12206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12207   test $ac_status = 0; }; then
12208   pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.20.3" 2>/dev/null`
12209                       test "x$?" != "x0" && pkg_failed=yes
12210 else
12211   pkg_failed=yes
12212 fi
12213  else
12214     pkg_failed=untried
12215 fi
12216
12217
12218
12219 if test $pkg_failed = yes; then
12220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221 $as_echo "no" >&6; }
12222
12223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12224         _pkg_short_errors_supported=yes
12225 else
12226         _pkg_short_errors_supported=no
12227 fi
12228         if test $_pkg_short_errors_supported = yes; then
12229                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.20.3" 2>&1`
12230         else
12231                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.20.3" 2>&1`
12232         fi
12233         # Put the nasty error message in config.log where it belongs
12234         echo "$GUPNP_PKG_ERRORS" >&5
12235
12236         as_fn_error $? "Package requirements (gupnp-1.0 >= 0.20.3) were not met:
12237
12238 $GUPNP_PKG_ERRORS
12239
12240 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12241 installed software in a non-standard prefix.
12242
12243 Alternatively, you may set the environment variables GUPNP_CFLAGS
12244 and GUPNP_LIBS to avoid the need to call pkg-config.
12245 See the pkg-config man page for more details." "$LINENO" 5
12246 elif test $pkg_failed = untried; then
12247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12248 $as_echo "no" >&6; }
12249         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12251 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12252 is in your PATH or set the PKG_CONFIG environment variable to the full
12253 path to pkg-config.
12254
12255 Alternatively, you may set the environment variables GUPNP_CFLAGS
12256 and GUPNP_LIBS to avoid the need to call pkg-config.
12257 See the pkg-config man page for more details.
12258
12259 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12260 See \`config.log' for more details" "$LINENO" 5; }
12261 else
12262         GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12263         GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12264         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12265 $as_echo "yes" >&6; }
12266
12267 fi
12268
12269 pkg_failed=no
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
12271 $as_echo_n "checking for GUPNPAV... " >&6; }
12272
12273 if test -n "$GUPNPAV_CFLAGS"; then
12274     pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
12275  elif test -n "$PKG_CONFIG"; then
12276     if test -n "$PKG_CONFIG" && \
12277     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12278   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12279   ac_status=$?
12280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12281   test $ac_status = 0; }; then
12282   pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12283                       test "x$?" != "x0" && pkg_failed=yes
12284 else
12285   pkg_failed=yes
12286 fi
12287  else
12288     pkg_failed=untried
12289 fi
12290 if test -n "$GUPNPAV_LIBS"; then
12291     pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
12292  elif test -n "$PKG_CONFIG"; then
12293     if test -n "$PKG_CONFIG" && \
12294     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12295   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12296   ac_status=$?
12297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12298   test $ac_status = 0; }; then
12299   pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12300                       test "x$?" != "x0" && pkg_failed=yes
12301 else
12302   pkg_failed=yes
12303 fi
12304  else
12305     pkg_failed=untried
12306 fi
12307
12308
12309
12310 if test $pkg_failed = yes; then
12311         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12312 $as_echo "no" >&6; }
12313
12314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12315         _pkg_short_errors_supported=yes
12316 else
12317         _pkg_short_errors_supported=no
12318 fi
12319         if test $_pkg_short_errors_supported = yes; then
12320                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12321         else
12322                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12323         fi
12324         # Put the nasty error message in config.log where it belongs
12325         echo "$GUPNPAV_PKG_ERRORS" >&5
12326
12327         as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.5) were not met:
12328
12329 $GUPNPAV_PKG_ERRORS
12330
12331 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12332 installed software in a non-standard prefix.
12333
12334 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12335 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12336 See the pkg-config man page for more details." "$LINENO" 5
12337 elif test $pkg_failed = untried; then
12338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12340         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12342 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12343 is in your PATH or set the PKG_CONFIG environment variable to the full
12344 path to pkg-config.
12345
12346 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12347 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12348 See the pkg-config man page for more details.
12349
12350 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12351 See \`config.log' for more details" "$LINENO" 5; }
12352 else
12353         GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
12354         GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
12355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12356 $as_echo "yes" >&6; }
12357
12358 fi
12359
12360 pkg_failed=no
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPDLNA" >&5
12362 $as_echo_n "checking for GUPNPDLNA... " >&6; }
12363
12364 if test -n "$GUPNPDLNA_CFLAGS"; then
12365     pkg_cv_GUPNPDLNA_CFLAGS="$GUPNPDLNA_CFLAGS"
12366  elif test -n "$PKG_CONFIG"; then
12367     if test -n "$PKG_CONFIG" && \
12368     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12369   ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12370   ac_status=$?
12371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12372   test $ac_status = 0; }; then
12373   pkg_cv_GUPNPDLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12374                       test "x$?" != "x0" && pkg_failed=yes
12375 else
12376   pkg_failed=yes
12377 fi
12378  else
12379     pkg_failed=untried
12380 fi
12381 if test -n "$GUPNPDLNA_LIBS"; then
12382     pkg_cv_GUPNPDLNA_LIBS="$GUPNPDLNA_LIBS"
12383  elif test -n "$PKG_CONFIG"; then
12384     if test -n "$PKG_CONFIG" && \
12385     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12386   ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12387   ac_status=$?
12388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12389   test $ac_status = 0; }; then
12390   pkg_cv_GUPNPDLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12391                       test "x$?" != "x0" && pkg_failed=yes
12392 else
12393   pkg_failed=yes
12394 fi
12395  else
12396     pkg_failed=untried
12397 fi
12398
12399
12400
12401 if test $pkg_failed = yes; then
12402         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12404
12405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12406         _pkg_short_errors_supported=yes
12407 else
12408         _pkg_short_errors_supported=no
12409 fi
12410         if test $_pkg_short_errors_supported = yes; then
12411                 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12412         else
12413                 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12414         fi
12415         # Put the nasty error message in config.log where it belongs
12416         echo "$GUPNPDLNA_PKG_ERRORS" >&5
12417
12418         as_fn_error $? "Package requirements (gupnp-dlna-2.0 >= 0.9.4) were not met:
12419
12420 $GUPNPDLNA_PKG_ERRORS
12421
12422 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12423 installed software in a non-standard prefix.
12424
12425 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12426 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12427 See the pkg-config man page for more details." "$LINENO" 5
12428 elif test $pkg_failed = untried; then
12429         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12430 $as_echo "no" >&6; }
12431         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12433 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12434 is in your PATH or set the PKG_CONFIG environment variable to the full
12435 path to pkg-config.
12436
12437 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12438 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12439 See the pkg-config man page for more details.
12440
12441 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12442 See \`config.log' for more details" "$LINENO" 5; }
12443 else
12444         GUPNPDLNA_CFLAGS=$pkg_cv_GUPNPDLNA_CFLAGS
12445         GUPNPDLNA_LIBS=$pkg_cv_GUPNPDLNA_LIBS
12446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12447 $as_echo "yes" >&6; }
12448
12449 fi
12450
12451 pkg_failed=no
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
12453 $as_echo_n "checking for SOUP... " >&6; }
12454
12455 if test -n "$SOUP_CFLAGS"; then
12456     pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
12457  elif test -n "$PKG_CONFIG"; then
12458     if test -n "$PKG_CONFIG" && \
12459     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12460   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12461   ac_status=$?
12462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12463   test $ac_status = 0; }; then
12464   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12465                       test "x$?" != "x0" && pkg_failed=yes
12466 else
12467   pkg_failed=yes
12468 fi
12469  else
12470     pkg_failed=untried
12471 fi
12472 if test -n "$SOUP_LIBS"; then
12473     pkg_cv_SOUP_LIBS="$SOUP_LIBS"
12474  elif test -n "$PKG_CONFIG"; then
12475     if test -n "$PKG_CONFIG" && \
12476     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12477   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12478   ac_status=$?
12479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12480   test $ac_status = 0; }; then
12481   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12482                       test "x$?" != "x0" && pkg_failed=yes
12483 else
12484   pkg_failed=yes
12485 fi
12486  else
12487     pkg_failed=untried
12488 fi
12489
12490
12491
12492 if test $pkg_failed = yes; then
12493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12494 $as_echo "no" >&6; }
12495
12496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12497         _pkg_short_errors_supported=yes
12498 else
12499         _pkg_short_errors_supported=no
12500 fi
12501         if test $_pkg_short_errors_supported = yes; then
12502                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12503         else
12504                 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12505         fi
12506         # Put the nasty error message in config.log where it belongs
12507         echo "$SOUP_PKG_ERRORS" >&5
12508
12509         as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
12510
12511 $SOUP_PKG_ERRORS
12512
12513 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12514 installed software in a non-standard prefix.
12515
12516 Alternatively, you may set the environment variables SOUP_CFLAGS
12517 and SOUP_LIBS to avoid the need to call pkg-config.
12518 See the pkg-config man page for more details." "$LINENO" 5
12519 elif test $pkg_failed = untried; then
12520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12521 $as_echo "no" >&6; }
12522         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12524 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12525 is in your PATH or set the PKG_CONFIG environment variable to the full
12526 path to pkg-config.
12527
12528 Alternatively, you may set the environment variables SOUP_CFLAGS
12529 and SOUP_LIBS to avoid the need to call pkg-config.
12530 See the pkg-config man page for more details.
12531
12532 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12533 See \`config.log' for more details" "$LINENO" 5; }
12534 else
12535         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
12536         SOUP_LIBS=$pkg_cv_SOUP_LIBS
12537         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12538 $as_echo "yes" >&6; }
12539
12540 fi
12541
12542 # Checks for header files.
12543 for ac_header in stdlib.h string.h syslog.h
12544 do :
12545   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12548   cat >>confdefs.h <<_ACEOF
12549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12550 _ACEOF
12551
12552 fi
12553
12554 done
12555
12556
12557 # Checks for typedefs, structures, and compiler characteristics.
12558 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12559 case $ac_cv_c_uint8_t in #(
12560   no|yes) ;; #(
12561   *)
12562
12563 $as_echo "#define _UINT8_T 1" >>confdefs.h
12564
12565
12566 cat >>confdefs.h <<_ACEOF
12567 #define uint8_t $ac_cv_c_uint8_t
12568 _ACEOF
12569 ;;
12570   esac
12571
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12573 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12574 if ${ac_cv_header_stdbool_h+:} false; then :
12575   $as_echo_n "(cached) " >&6
12576 else
12577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h.  */
12579
12580              #include <stdbool.h>
12581              #ifndef bool
12582               "error: bool is not defined"
12583              #endif
12584              #ifndef false
12585               "error: false is not defined"
12586              #endif
12587              #if false
12588               "error: false is not 0"
12589              #endif
12590              #ifndef true
12591               "error: true is not defined"
12592              #endif
12593              #if true != 1
12594               "error: true is not 1"
12595              #endif
12596              #ifndef __bool_true_false_are_defined
12597               "error: __bool_true_false_are_defined is not defined"
12598              #endif
12599
12600              struct s { _Bool s: 1; _Bool t; } s;
12601
12602              char a[true == 1 ? 1 : -1];
12603              char b[false == 0 ? 1 : -1];
12604              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12605              char d[(bool) 0.5 == true ? 1 : -1];
12606              /* See body of main program for 'e'.  */
12607              char f[(_Bool) 0.0 == false ? 1 : -1];
12608              char g[true];
12609              char h[sizeof (_Bool)];
12610              char i[sizeof s.t];
12611              enum { j = false, k = true, l = false * true, m = true * 256 };
12612              /* The following fails for
12613                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12614              _Bool n[m];
12615              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12616              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12617              /* Catch a bug in an HP-UX C compiler.  See
12618                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12619                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12620               */
12621              _Bool q = true;
12622              _Bool *pq = &q;
12623
12624 int
12625 main ()
12626 {
12627
12628              bool e = &s;
12629              *pq |= q;
12630              *pq |= ! q;
12631              /* Refer to every declared value, to avoid compiler optimizations.  */
12632              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12633                      + !m + !n + !o + !p + !q + !pq);
12634
12635   ;
12636   return 0;
12637 }
12638 _ACEOF
12639 if ac_fn_c_try_compile "$LINENO"; then :
12640   ac_cv_header_stdbool_h=yes
12641 else
12642   ac_cv_header_stdbool_h=no
12643 fi
12644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12645 fi
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12647 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12648    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12649 if test "x$ac_cv_type__Bool" = xyes; then :
12650
12651 cat >>confdefs.h <<_ACEOF
12652 #define HAVE__BOOL 1
12653 _ACEOF
12654
12655
12656 fi
12657
12658
12659 if test $ac_cv_header_stdbool_h = yes; then
12660
12661 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12662
12663 fi
12664
12665 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12666 if test "x$ac_cv_type_size_t" = xyes; then :
12667
12668 else
12669
12670 cat >>confdefs.h <<_ACEOF
12671 #define size_t unsigned int
12672 _ACEOF
12673
12674 fi
12675
12676
12677 # Checks for library functions.
12678 for ac_header in stdlib.h
12679 do :
12680   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12681 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12682   cat >>confdefs.h <<_ACEOF
12683 #define HAVE_STDLIB_H 1
12684 _ACEOF
12685
12686 fi
12687
12688 done
12689
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12691 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12692 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12693   $as_echo_n "(cached) " >&6
12694 else
12695   if test "$cross_compiling" = yes; then :
12696   ac_cv_func_malloc_0_nonnull=no
12697 else
12698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h.  */
12700 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12701 # include <stdlib.h>
12702 #else
12703 char *malloc ();
12704 #endif
12705
12706 int
12707 main ()
12708 {
12709 return ! malloc (0);
12710   ;
12711   return 0;
12712 }
12713 _ACEOF
12714 if ac_fn_c_try_run "$LINENO"; then :
12715   ac_cv_func_malloc_0_nonnull=yes
12716 else
12717   ac_cv_func_malloc_0_nonnull=no
12718 fi
12719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12720   conftest.$ac_objext conftest.beam conftest.$ac_ext
12721 fi
12722
12723 fi
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12725 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12726 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12727
12728 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12729
12730 else
12731   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12732
12733    case " $LIBOBJS " in
12734   *" malloc.$ac_objext "* ) ;;
12735   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12736  ;;
12737 esac
12738
12739
12740 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12741
12742 fi
12743
12744
12745 for ac_header in stdlib.h
12746 do :
12747   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12748 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12749   cat >>confdefs.h <<_ACEOF
12750 #define HAVE_STDLIB_H 1
12751 _ACEOF
12752
12753 fi
12754
12755 done
12756
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12758 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12759 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12760   $as_echo_n "(cached) " >&6
12761 else
12762   if test "$cross_compiling" = yes; then :
12763   ac_cv_func_realloc_0_nonnull=no
12764 else
12765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h.  */
12767 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12768 # include <stdlib.h>
12769 #else
12770 char *realloc ();
12771 #endif
12772
12773 int
12774 main ()
12775 {
12776 return ! realloc (0, 0);
12777   ;
12778   return 0;
12779 }
12780 _ACEOF
12781 if ac_fn_c_try_run "$LINENO"; then :
12782   ac_cv_func_realloc_0_nonnull=yes
12783 else
12784   ac_cv_func_realloc_0_nonnull=no
12785 fi
12786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12787   conftest.$ac_objext conftest.beam conftest.$ac_ext
12788 fi
12789
12790 fi
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12792 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12793 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12794
12795 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12796
12797 else
12798   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12799
12800    case " $LIBOBJS " in
12801   *" realloc.$ac_objext "* ) ;;
12802   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12803  ;;
12804 esac
12805
12806
12807 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12808
12809 fi
12810
12811
12812 for ac_func in memset strchr strrchr strstr
12813 do :
12814   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12817   cat >>confdefs.h <<_ACEOF
12818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12819 _ACEOF
12820
12821 fi
12822 done
12823
12824
12825 # Define Log Level values
12826 LOG_LEVEL_0=0x00
12827 LOG_LEVEL_1=0x01
12828 LOG_LEVEL_2=0x02
12829 LOG_LEVEL_3=0x04
12830 LOG_LEVEL_4=0x08
12831 LOG_LEVEL_5=0x10
12832 LOG_LEVEL_6=0x20
12833 LOG_LEVEL_7=0x13
12834 LOG_LEVEL_8=0x3F
12835
12836
12837 cat >>confdefs.h <<_ACEOF
12838 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12839 _ACEOF
12840
12841
12842 cat >>confdefs.h <<_ACEOF
12843 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12844 _ACEOF
12845
12846
12847 cat >>confdefs.h <<_ACEOF
12848 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12849 _ACEOF
12850
12851
12852 cat >>confdefs.h <<_ACEOF
12853 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12854 _ACEOF
12855
12856
12857 cat >>confdefs.h <<_ACEOF
12858 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12859 _ACEOF
12860
12861
12862 cat >>confdefs.h <<_ACEOF
12863 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12864 _ACEOF
12865
12866
12867 cat >>confdefs.h <<_ACEOF
12868 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12869 _ACEOF
12870
12871
12872 cat >>confdefs.h <<_ACEOF
12873 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12874 _ACEOF
12875
12876
12877 cat >>confdefs.h <<_ACEOF
12878 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12879 _ACEOF
12880
12881
12882 # Check whether --enable-master-build was given.
12883 if test "${enable_master_build+set}" = set; then :
12884   enableval=$enable_master_build;
12885 else
12886   master_build=no
12887 fi
12888
12889
12890 if test "x$master_build" = "xno"; then :
12891
12892 pkg_failed=no
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLEYNA_CORE" >&5
12894 $as_echo_n "checking for DLEYNA_CORE... " >&6; }
12895
12896 if test -n "$DLEYNA_CORE_CFLAGS"; then
12897     pkg_cv_DLEYNA_CORE_CFLAGS="$DLEYNA_CORE_CFLAGS"
12898  elif test -n "$PKG_CONFIG"; then
12899     if test -n "$PKG_CONFIG" && \
12900     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12901   ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12902   ac_status=$?
12903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12904   test $ac_status = 0; }; then
12905   pkg_cv_DLEYNA_CORE_CFLAGS=`$PKG_CONFIG --cflags "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12906                       test "x$?" != "x0" && pkg_failed=yes
12907 else
12908   pkg_failed=yes
12909 fi
12910  else
12911     pkg_failed=untried
12912 fi
12913 if test -n "$DLEYNA_CORE_LIBS"; then
12914     pkg_cv_DLEYNA_CORE_LIBS="$DLEYNA_CORE_LIBS"
12915  elif test -n "$PKG_CONFIG"; then
12916     if test -n "$PKG_CONFIG" && \
12917     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12918   ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12919   ac_status=$?
12920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921   test $ac_status = 0; }; then
12922   pkg_cv_DLEYNA_CORE_LIBS=`$PKG_CONFIG --libs "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12923                       test "x$?" != "x0" && pkg_failed=yes
12924 else
12925   pkg_failed=yes
12926 fi
12927  else
12928     pkg_failed=untried
12929 fi
12930
12931
12932
12933 if test $pkg_failed = yes; then
12934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12935 $as_echo "no" >&6; }
12936
12937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12938         _pkg_short_errors_supported=yes
12939 else
12940         _pkg_short_errors_supported=no
12941 fi
12942         if test $_pkg_short_errors_supported = yes; then
12943                 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12944         else
12945                 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12946         fi
12947         # Put the nasty error message in config.log where it belongs
12948         echo "$DLEYNA_CORE_PKG_ERRORS" >&5
12949
12950         as_fn_error $? "Package requirements (dleyna-core-1.0 >= 0.4.0) were not met:
12951
12952 $DLEYNA_CORE_PKG_ERRORS
12953
12954 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12955 installed software in a non-standard prefix.
12956
12957 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12958 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12959 See the pkg-config man page for more details." "$LINENO" 5
12960 elif test $pkg_failed = untried; then
12961         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12962 $as_echo "no" >&6; }
12963         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12965 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12966 is in your PATH or set the PKG_CONFIG environment variable to the full
12967 path to pkg-config.
12968
12969 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12970 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12971 See the pkg-config man page for more details.
12972
12973 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12974 See \`config.log' for more details" "$LINENO" 5; }
12975 else
12976         DLEYNA_CORE_CFLAGS=$pkg_cv_DLEYNA_CORE_CFLAGS
12977         DLEYNA_CORE_LIBS=$pkg_cv_DLEYNA_CORE_LIBS
12978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12979 $as_echo "yes" >&6; }
12980
12981 fi
12982 else
12983   this_abs_top_srcdir=`cd "$srcdir" && pwd`;
12984        DLEYNA_CORE_CFLAGS="-I$this_abs_top_srcdir/../dleyna-core";
12985        DLEYNA_CORE_LIBS="-L$this_abs_top_srcdir/../dleyna-core/.libs -ldleyna-core-1.0"
12986
12987 fi
12988
12989 # Check whether --enable-debug was given.
12990 if test "${enable_debug+set}" = set; then :
12991   enableval=$enable_debug;
12992 else
12993   enable_debug=no
12994 fi
12995
12996
12997 case "${enable_debug}" in #(
12998   yes) :
12999     CFLAGS="$CFLAGS -g";
13000
13001 cat >>confdefs.h <<_ACEOF
13002 #define DLEYNA_DEBUG_ENABLED 1
13003 _ACEOF
13004
13005                 ;; #(
13006   no) :
13007      ;; #(
13008   *) :
13009     as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
13010 esac
13011
13012
13013 # Check whether --enable-werror was given.
13014 if test "${enable_werror+set}" = set; then :
13015   enableval=$enable_werror;
13016 else
13017   enable_werror=no
13018 fi
13019
13020
13021 case "${enable_werror}" in #(
13022   yes) :
13023     CFLAGS="$CFLAGS -Werror" ;; #(
13024   no) :
13025      ;; #(
13026   *) :
13027     as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
13028 esac
13029
13030
13031 # Check whether --enable-optimization was given.
13032 if test "${enable_optimization+set}" = set; then :
13033   enableval=$enable_optimization;
13034 else
13035   enable_optimization=yes
13036 fi
13037
13038
13039 case "${enable_optimization}" in #(
13040   yes) :
13041     disable_optimization=no ;; #(
13042   no) :
13043     CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
13044   *) :
13045     as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
13046 esac
13047
13048
13049 # Check whether --enable-never-quit was given.
13050 if test "${enable_never_quit+set}" = set; then :
13051   enableval=$enable_never_quit;
13052 else
13053   enable_never_quit=no
13054 fi
13055
13056
13057 case "${enable_never_quit}" in #(
13058   yes) :
13059     never_quit=true ;; #(
13060   no) :
13061     never_quit=false ;; #(
13062   *) :
13063     as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
13064 esac
13065
13066
13067
13068 # Check whether --with-connector-name was given.
13069 if test "${with_connector_name+set}" = set; then :
13070   withval=$with_connector_name;
13071 else
13072   with_connector_name=dbus
13073 fi
13074
13075
13076
13077
13078 # Check whether --with-log-level was given.
13079 if test "${with_log_level+set}" = set; then :
13080   withval=$with_log_level;
13081 else
13082   with_log_level=7
13083 fi
13084
13085
13086
13087         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
13088 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
13089
13090         old_IFS=${IFS}
13091         IFS=","
13092
13093         log_ok=yes
13094         log_single=no
13095         log_level_count=0
13096         LOG_LEVEL=0
13097         log_array=(0 0 0 0 0 0 0 0 0)
13098
13099         for log_level in ${with_log_level}
13100         do
13101                 IFS=${old_IFS}
13102
13103         case $log_level in #(
13104   [1-6]) :
13105     if test ${log_array[${log_level}]} -ne 0; then :
13106
13107                                         as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
13108
13109 elif test "x${log_single}" = xyes; then :
13110
13111                                         as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
13112
13113 fi
13114                          ;; #(
13115   0|7|8) :
13116     if test ${log_level_count} -ne 0; then :
13117
13118                                         as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
13119
13120 fi
13121                           log_single=yes
13122                          ;; #(
13123   *) :
13124     as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
13125          ;;
13126 esac
13127
13128         log_name=LOG_LEVEL_${log_level}
13129         eval log_value=\$${log_name}
13130         let "LOG_LEVEL |= ${log_value}"
13131
13132
13133                 IFS=","
13134
13135                 let log_level_count++
13136                 let log_array[${log_level}]++
13137         done
13138
13139         IFS=${old_IFS}
13140
13141
13142 cat >>confdefs.h <<_ACEOF
13143 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
13144 _ACEOF
13145
13146
13147         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13148 $as_echo "ok" >&6; }
13149
13150
13151
13152
13153
13154 # Check whether --with-log-type was given.
13155 if test "${with_log_type+set}" = set; then :
13156   withval=$with_log_type;
13157 else
13158   with_log_type=0
13159 fi
13160
13161
13162
13163         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
13164 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
13165
13166         case ${with_log_type} in #(
13167   0|1) :
13168      ;; #(
13169   *) :
13170     as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
13171          ;;
13172 esac
13173
13174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13175 $as_echo "ok" >&6; }
13176
13177
13178
13179
13180
13181 # Check whether --with-ua-prefix was given.
13182 if test "${with_ua_prefix+set}" = set; then :
13183   withval=$with_ua_prefix; with_ua_prefix = "$withval";
13184 cat >>confdefs.h <<_ACEOF
13185 #define UA_PREFIX "$with_ua_prefix"
13186 _ACEOF
13187
13188 fi
13189
13190
13191
13192 # Check whether --with-dbus_service_dir was given.
13193 if test "${with_dbus_service_dir+set}" = set; then :
13194   withval=$with_dbus_service_dir; with_dbus_service_dir="$withval"
13195 else
13196   with_dbus_service_dir=$datadir/dbus-1/services
13197 fi
13198
13199 DBUS_SERVICE_DIR=$with_dbus_service_dir
13200
13201
13202
13203 # Check whether --enable-lib-only was given.
13204 if test "${enable_lib_only+set}" = set; then :
13205   enableval=$enable_lib_only;
13206 else
13207   enable_lib_only=no
13208 fi
13209
13210
13211  if test "x$enable_lib_only" = "xno"; then
13212   BUILD_SERVER_TRUE=
13213   BUILD_SERVER_FALSE='#'
13214 else
13215   BUILD_SERVER_TRUE='#'
13216   BUILD_SERVER_FALSE=
13217 fi
13218
13219
13220
13221 $as_echo "#define DLEYNA_SERVER_OBJECT \"/com/intel/dLeynaServer\"" >>confdefs.h
13222
13223
13224 $as_echo "#define DLEYNA_SERVER_PATH \"/com/intel/dLeynaServer/server\"" >>confdefs.h
13225
13226
13227 DLEYNA_SERVER_NAME=com.intel.dleyna-server
13228
13229
13230 $as_echo "#define DLEYNA_SERVER_NAME \"com.intel.dleyna-server\"" >>confdefs.h
13231
13232
13233 DLEYNA_SERVER_INTERFACE_MANAGER=com.intel.dLeynaServer.Manager
13234
13235
13236 $as_echo "#define DLEYNA_SERVER_INTERFACE_MANAGER \"com.intel.dLeynaServer.Manager\"" >>confdefs.h
13237
13238
13239 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE=com.intel.dLeynaServer.MediaDevice
13240
13241
13242 $as_echo "#define DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE \"com.intel.dLeynaServer.MediaDevice\"" >>confdefs.h
13243
13244
13245
13246
13247
13248
13249
13250 ac_config_files="$ac_config_files Makefile libdleyna/server/Makefile libdleyna/server/dleyna-server-1.0.pc libdleyna/server/dleyna-server-service.conf server/dleyna-server-service-1.0.pc server/Makefile test/dbus/Makefile"
13251
13252
13253 cat >confcache <<\_ACEOF
13254 # This file is a shell script that caches the results of configure
13255 # tests run on this system so they can be shared between configure
13256 # scripts and configure runs, see configure's option --config-cache.
13257 # It is not useful on other systems.  If it contains results you don't
13258 # want to keep, you may remove or edit it.
13259 #
13260 # config.status only pays attention to the cache file if you give it
13261 # the --recheck option to rerun configure.
13262 #
13263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13265 # following values.
13266
13267 _ACEOF
13268
13269 # The following way of writing the cache mishandles newlines in values,
13270 # but we know of no workaround that is simple, portable, and efficient.
13271 # So, we kill variables containing newlines.
13272 # Ultrix sh set writes to stderr and can't be redirected directly,
13273 # and sets the high bit in the cache file unless we assign to the vars.
13274 (
13275   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13276     eval ac_val=\$$ac_var
13277     case $ac_val in #(
13278     *${as_nl}*)
13279       case $ac_var in #(
13280       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13282       esac
13283       case $ac_var in #(
13284       _ | IFS | as_nl) ;; #(
13285       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13286       *) { eval $ac_var=; unset $ac_var;} ;;
13287       esac ;;
13288     esac
13289   done
13290
13291   (set) 2>&1 |
13292     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13293     *${as_nl}ac_space=\ *)
13294       # `set' does not quote correctly, so add quotes: double-quote
13295       # substitution turns \\\\ into \\, and sed turns \\ into \.
13296       sed -n \
13297         "s/'/'\\\\''/g;
13298           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13299       ;; #(
13300     *)
13301       # `set' quotes correctly as required by POSIX, so do not add quotes.
13302       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13303       ;;
13304     esac |
13305     sort
13306 ) |
13307   sed '
13308      /^ac_cv_env_/b end
13309      t clear
13310      :clear
13311      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13312      t end
13313      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13314      :end' >>confcache
13315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13316   if test -w "$cache_file"; then
13317     if test "x$cache_file" != "x/dev/null"; then
13318       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13319 $as_echo "$as_me: updating cache $cache_file" >&6;}
13320       if test ! -f "$cache_file" || test -h "$cache_file"; then
13321         cat confcache >"$cache_file"
13322       else
13323         case $cache_file in #(
13324         */* | ?:*)
13325           mv -f confcache "$cache_file"$$ &&
13326           mv -f "$cache_file"$$ "$cache_file" ;; #(
13327         *)
13328           mv -f confcache "$cache_file" ;;
13329         esac
13330       fi
13331     fi
13332   else
13333     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13335   fi
13336 fi
13337 rm -f confcache
13338
13339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13340 # Let make expand exec_prefix.
13341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13342
13343 DEFS=-DHAVE_CONFIG_H
13344
13345 ac_libobjs=
13346 ac_ltlibobjs=
13347 U=
13348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13349   # 1. Remove the extension, and $U if already installed.
13350   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13351   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13352   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13353   #    will be set to the directory where LIBOBJS objects are built.
13354   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13355   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13356 done
13357 LIBOBJS=$ac_libobjs
13358
13359 LTLIBOBJS=$ac_ltlibobjs
13360
13361
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13363 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13364    if test -n "$am_sleep_pid"; then
13365      # Hide warnings about reused PIDs.
13366      wait $am_sleep_pid 2>/dev/null
13367    fi
13368    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13369 $as_echo "done" >&6; }
13370  if test -n "$EXEEXT"; then
13371   am__EXEEXT_TRUE=
13372   am__EXEEXT_FALSE='#'
13373 else
13374   am__EXEEXT_TRUE='#'
13375   am__EXEEXT_FALSE=
13376 fi
13377
13378 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13379   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13381 fi
13382 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13383   as_fn_error $? "conditional \"AMDEP\" was never defined.
13384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13385 fi
13386 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13387   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13389 fi
13390 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13391   as_fn_error $? "conditional \"BUILD_SERVER\" was never defined.
13392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13393 fi
13394
13395 : "${CONFIG_STATUS=./config.status}"
13396 ac_write_fail=0
13397 ac_clean_files_save=$ac_clean_files
13398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13401 as_write_fail=0
13402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13403 #! $SHELL
13404 # Generated by $as_me.
13405 # Run this file to recreate the current configuration.
13406 # Compiler output produced by configure, useful for debugging
13407 # configure, is in config.log if it exists.
13408
13409 debug=false
13410 ac_cs_recheck=false
13411 ac_cs_silent=false
13412
13413 SHELL=\${CONFIG_SHELL-$SHELL}
13414 export SHELL
13415 _ASEOF
13416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13417 ## -------------------- ##
13418 ## M4sh Initialization. ##
13419 ## -------------------- ##
13420
13421 # Be more Bourne compatible
13422 DUALCASE=1; export DUALCASE # for MKS sh
13423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13424   emulate sh
13425   NULLCMD=:
13426   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13427   # is contrary to our usage.  Disable this feature.
13428   alias -g '${1+"$@"}'='"$@"'
13429   setopt NO_GLOB_SUBST
13430 else
13431   case `(set -o) 2>/dev/null` in #(
13432   *posix*) :
13433     set -o posix ;; #(
13434   *) :
13435      ;;
13436 esac
13437 fi
13438
13439
13440 as_nl='
13441 '
13442 export as_nl
13443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13444 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13447 # Prefer a ksh shell builtin over an external printf program on Solaris,
13448 # but without wasting forks for bash or zsh.
13449 if test -z "$BASH_VERSION$ZSH_VERSION" \
13450     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13451   as_echo='print -r --'
13452   as_echo_n='print -rn --'
13453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13454   as_echo='printf %s\n'
13455   as_echo_n='printf %s'
13456 else
13457   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13458     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13459     as_echo_n='/usr/ucb/echo -n'
13460   else
13461     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13462     as_echo_n_body='eval
13463       arg=$1;
13464       case $arg in #(
13465       *"$as_nl"*)
13466         expr "X$arg" : "X\\(.*\\)$as_nl";
13467         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13468       esac;
13469       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13470     '
13471     export as_echo_n_body
13472     as_echo_n='sh -c $as_echo_n_body as_echo'
13473   fi
13474   export as_echo_body
13475   as_echo='sh -c $as_echo_body as_echo'
13476 fi
13477
13478 # The user is always right.
13479 if test "${PATH_SEPARATOR+set}" != set; then
13480   PATH_SEPARATOR=:
13481   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13482     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13483       PATH_SEPARATOR=';'
13484   }
13485 fi
13486
13487
13488 # IFS
13489 # We need space, tab and new line, in precisely that order.  Quoting is
13490 # there to prevent editors from complaining about space-tab.
13491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13492 # splitting by setting IFS to empty value.)
13493 IFS=" ""        $as_nl"
13494
13495 # Find who we are.  Look in the path if we contain no directory separator.
13496 as_myself=
13497 case $0 in #((
13498   *[\\/]* ) as_myself=$0 ;;
13499   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13500 for as_dir in $PATH
13501 do
13502   IFS=$as_save_IFS
13503   test -z "$as_dir" && as_dir=.
13504     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13505   done
13506 IFS=$as_save_IFS
13507
13508      ;;
13509 esac
13510 # We did not find ourselves, most probably we were run as `sh COMMAND'
13511 # in which case we are not to be found in the path.
13512 if test "x$as_myself" = x; then
13513   as_myself=$0
13514 fi
13515 if test ! -f "$as_myself"; then
13516   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13517   exit 1
13518 fi
13519
13520 # Unset variables that we do not need and which cause bugs (e.g. in
13521 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13522 # suppresses any "Segmentation fault" message there.  '((' could
13523 # trigger a bug in pdksh 5.2.14.
13524 for as_var in BASH_ENV ENV MAIL MAILPATH
13525 do eval test x\${$as_var+set} = xset \
13526   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13527 done
13528 PS1='$ '
13529 PS2='> '
13530 PS4='+ '
13531
13532 # NLS nuisances.
13533 LC_ALL=C
13534 export LC_ALL
13535 LANGUAGE=C
13536 export LANGUAGE
13537
13538 # CDPATH.
13539 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13540
13541
13542 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13543 # ----------------------------------------
13544 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13545 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13546 # script with STATUS, using 1 if that was 0.
13547 as_fn_error ()
13548 {
13549   as_status=$1; test $as_status -eq 0 && as_status=1
13550   if test "$4"; then
13551     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13552     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13553   fi
13554   $as_echo "$as_me: error: $2" >&2
13555   as_fn_exit $as_status
13556 } # as_fn_error
13557
13558
13559 # as_fn_set_status STATUS
13560 # -----------------------
13561 # Set $? to STATUS, without forking.
13562 as_fn_set_status ()
13563 {
13564   return $1
13565 } # as_fn_set_status
13566
13567 # as_fn_exit STATUS
13568 # -----------------
13569 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13570 as_fn_exit ()
13571 {
13572   set +e
13573   as_fn_set_status $1
13574   exit $1
13575 } # as_fn_exit
13576
13577 # as_fn_unset VAR
13578 # ---------------
13579 # Portably unset VAR.
13580 as_fn_unset ()
13581 {
13582   { eval $1=; unset $1;}
13583 }
13584 as_unset=as_fn_unset
13585 # as_fn_append VAR VALUE
13586 # ----------------------
13587 # Append the text in VALUE to the end of the definition contained in VAR. Take
13588 # advantage of any shell optimizations that allow amortized linear growth over
13589 # repeated appends, instead of the typical quadratic growth present in naive
13590 # implementations.
13591 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13592   eval 'as_fn_append ()
13593   {
13594     eval $1+=\$2
13595   }'
13596 else
13597   as_fn_append ()
13598   {
13599     eval $1=\$$1\$2
13600   }
13601 fi # as_fn_append
13602
13603 # as_fn_arith ARG...
13604 # ------------------
13605 # Perform arithmetic evaluation on the ARGs, and store the result in the
13606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13607 # must be portable across $(()) and expr.
13608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13609   eval 'as_fn_arith ()
13610   {
13611     as_val=$(( $* ))
13612   }'
13613 else
13614   as_fn_arith ()
13615   {
13616     as_val=`expr "$@" || test $? -eq 1`
13617   }
13618 fi # as_fn_arith
13619
13620
13621 if expr a : '\(a\)' >/dev/null 2>&1 &&
13622    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13623   as_expr=expr
13624 else
13625   as_expr=false
13626 fi
13627
13628 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13629   as_basename=basename
13630 else
13631   as_basename=false
13632 fi
13633
13634 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13635   as_dirname=dirname
13636 else
13637   as_dirname=false
13638 fi
13639
13640 as_me=`$as_basename -- "$0" ||
13641 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13642          X"$0" : 'X\(//\)$' \| \
13643          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13644 $as_echo X/"$0" |
13645     sed '/^.*\/\([^/][^/]*\)\/*$/{
13646             s//\1/
13647             q
13648           }
13649           /^X\/\(\/\/\)$/{
13650             s//\1/
13651             q
13652           }
13653           /^X\/\(\/\).*/{
13654             s//\1/
13655             q
13656           }
13657           s/.*/./; q'`
13658
13659 # Avoid depending upon Character Ranges.
13660 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13661 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13662 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13663 as_cr_digits='0123456789'
13664 as_cr_alnum=$as_cr_Letters$as_cr_digits
13665
13666 ECHO_C= ECHO_N= ECHO_T=
13667 case `echo -n x` in #(((((
13668 -n*)
13669   case `echo 'xy\c'` in
13670   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13671   xy)  ECHO_C='\c';;
13672   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13673        ECHO_T=' ';;
13674   esac;;
13675 *)
13676   ECHO_N='-n';;
13677 esac
13678
13679 rm -f conf$$ conf$$.exe conf$$.file
13680 if test -d conf$$.dir; then
13681   rm -f conf$$.dir/conf$$.file
13682 else
13683   rm -f conf$$.dir
13684   mkdir conf$$.dir 2>/dev/null
13685 fi
13686 if (echo >conf$$.file) 2>/dev/null; then
13687   if ln -s conf$$.file conf$$ 2>/dev/null; then
13688     as_ln_s='ln -s'
13689     # ... but there are two gotchas:
13690     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13691     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13692     # In both cases, we have to default to `cp -pR'.
13693     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13694       as_ln_s='cp -pR'
13695   elif ln conf$$.file conf$$ 2>/dev/null; then
13696     as_ln_s=ln
13697   else
13698     as_ln_s='cp -pR'
13699   fi
13700 else
13701   as_ln_s='cp -pR'
13702 fi
13703 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13704 rmdir conf$$.dir 2>/dev/null
13705
13706
13707 # as_fn_mkdir_p
13708 # -------------
13709 # Create "$as_dir" as a directory, including parents if necessary.
13710 as_fn_mkdir_p ()
13711 {
13712
13713   case $as_dir in #(
13714   -*) as_dir=./$as_dir;;
13715   esac
13716   test -d "$as_dir" || eval $as_mkdir_p || {
13717     as_dirs=
13718     while :; do
13719       case $as_dir in #(
13720       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13721       *) as_qdir=$as_dir;;
13722       esac
13723       as_dirs="'$as_qdir' $as_dirs"
13724       as_dir=`$as_dirname -- "$as_dir" ||
13725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13726          X"$as_dir" : 'X\(//\)[^/]' \| \
13727          X"$as_dir" : 'X\(//\)$' \| \
13728          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13729 $as_echo X"$as_dir" |
13730     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13731             s//\1/
13732             q
13733           }
13734           /^X\(\/\/\)[^/].*/{
13735             s//\1/
13736             q
13737           }
13738           /^X\(\/\/\)$/{
13739             s//\1/
13740             q
13741           }
13742           /^X\(\/\).*/{
13743             s//\1/
13744             q
13745           }
13746           s/.*/./; q'`
13747       test -d "$as_dir" && break
13748     done
13749     test -z "$as_dirs" || eval "mkdir $as_dirs"
13750   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13751
13752
13753 } # as_fn_mkdir_p
13754 if mkdir -p . 2>/dev/null; then
13755   as_mkdir_p='mkdir -p "$as_dir"'
13756 else
13757   test -d ./-p && rmdir ./-p
13758   as_mkdir_p=false
13759 fi
13760
13761
13762 # as_fn_executable_p FILE
13763 # -----------------------
13764 # Test if FILE is an executable regular file.
13765 as_fn_executable_p ()
13766 {
13767   test -f "$1" && test -x "$1"
13768 } # as_fn_executable_p
13769 as_test_x='test -x'
13770 as_executable_p=as_fn_executable_p
13771
13772 # Sed expression to map a string onto a valid CPP name.
13773 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13774
13775 # Sed expression to map a string onto a valid variable name.
13776 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13777
13778
13779 exec 6>&1
13780 ## ----------------------------------- ##
13781 ## Main body of $CONFIG_STATUS script. ##
13782 ## ----------------------------------- ##
13783 _ASEOF
13784 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13785
13786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13787 # Save the log message, to keep $0 and so on meaningful, and to
13788 # report actual input values of CONFIG_FILES etc. instead of their
13789 # values after options handling.
13790 ac_log="
13791 This file was extended by dleyna-server $as_me 0.4.0, which was
13792 generated by GNU Autoconf 2.69.  Invocation command line was
13793
13794   CONFIG_FILES    = $CONFIG_FILES
13795   CONFIG_HEADERS  = $CONFIG_HEADERS
13796   CONFIG_LINKS    = $CONFIG_LINKS
13797   CONFIG_COMMANDS = $CONFIG_COMMANDS
13798   $ $0 $@
13799
13800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13801 "
13802
13803 _ACEOF
13804
13805 case $ac_config_files in *"
13806 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13807 esac
13808
13809 case $ac_config_headers in *"
13810 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13811 esac
13812
13813
13814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13815 # Files that config.status was made for.
13816 config_files="$ac_config_files"
13817 config_headers="$ac_config_headers"
13818 config_commands="$ac_config_commands"
13819
13820 _ACEOF
13821
13822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13823 ac_cs_usage="\
13824 \`$as_me' instantiates files and other configuration actions
13825 from templates according to the current configuration.  Unless the files
13826 and actions are specified as TAGs, all are instantiated by default.
13827
13828 Usage: $0 [OPTION]... [TAG]...
13829
13830   -h, --help       print this help, then exit
13831   -V, --version    print version number and configuration settings, then exit
13832       --config     print configuration, then exit
13833   -q, --quiet, --silent
13834                    do not print progress messages
13835   -d, --debug      don't remove temporary files
13836       --recheck    update $as_me by reconfiguring in the same conditions
13837       --file=FILE[:TEMPLATE]
13838                    instantiate the configuration file FILE
13839       --header=FILE[:TEMPLATE]
13840                    instantiate the configuration header FILE
13841
13842 Configuration files:
13843 $config_files
13844
13845 Configuration headers:
13846 $config_headers
13847
13848 Configuration commands:
13849 $config_commands
13850
13851 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
13852 dleyna-server home page: <https://01.org/dleyna/>."
13853
13854 _ACEOF
13855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13856 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13857 ac_cs_version="\\
13858 dleyna-server config.status 0.4.0
13859 configured by $0, generated by GNU Autoconf 2.69,
13860   with options \\"\$ac_cs_config\\"
13861
13862 Copyright (C) 2012 Free Software Foundation, Inc.
13863 This config.status script is free software; the Free Software Foundation
13864 gives unlimited permission to copy, distribute and modify it."
13865
13866 ac_pwd='$ac_pwd'
13867 srcdir='$srcdir'
13868 INSTALL='$INSTALL'
13869 MKDIR_P='$MKDIR_P'
13870 AWK='$AWK'
13871 test -n "\$AWK" || AWK=awk
13872 _ACEOF
13873
13874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13875 # The default lists apply if the user does not specify any file.
13876 ac_need_defaults=:
13877 while test $# != 0
13878 do
13879   case $1 in
13880   --*=?*)
13881     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13882     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13883     ac_shift=:
13884     ;;
13885   --*=)
13886     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13887     ac_optarg=
13888     ac_shift=:
13889     ;;
13890   *)
13891     ac_option=$1
13892     ac_optarg=$2
13893     ac_shift=shift
13894     ;;
13895   esac
13896
13897   case $ac_option in
13898   # Handling of the options.
13899   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13900     ac_cs_recheck=: ;;
13901   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13902     $as_echo "$ac_cs_version"; exit ;;
13903   --config | --confi | --conf | --con | --co | --c )
13904     $as_echo "$ac_cs_config"; exit ;;
13905   --debug | --debu | --deb | --de | --d | -d )
13906     debug=: ;;
13907   --file | --fil | --fi | --f )
13908     $ac_shift
13909     case $ac_optarg in
13910     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13911     '') as_fn_error $? "missing file argument" ;;
13912     esac
13913     as_fn_append CONFIG_FILES " '$ac_optarg'"
13914     ac_need_defaults=false;;
13915   --header | --heade | --head | --hea )
13916     $ac_shift
13917     case $ac_optarg in
13918     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13919     esac
13920     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13921     ac_need_defaults=false;;
13922   --he | --h)
13923     # Conflict between --help and --header
13924     as_fn_error $? "ambiguous option: \`$1'
13925 Try \`$0 --help' for more information.";;
13926   --help | --hel | -h )
13927     $as_echo "$ac_cs_usage"; exit ;;
13928   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13929   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13930     ac_cs_silent=: ;;
13931
13932   # This is an error.
13933   -*) as_fn_error $? "unrecognized option: \`$1'
13934 Try \`$0 --help' for more information." ;;
13935
13936   *) as_fn_append ac_config_targets " $1"
13937      ac_need_defaults=false ;;
13938
13939   esac
13940   shift
13941 done
13942
13943 ac_configure_extra_args=
13944
13945 if $ac_cs_silent; then
13946   exec 6>/dev/null
13947   ac_configure_extra_args="$ac_configure_extra_args --silent"
13948 fi
13949
13950 _ACEOF
13951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13952 if \$ac_cs_recheck; then
13953   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13954   shift
13955   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13956   CONFIG_SHELL='$SHELL'
13957   export CONFIG_SHELL
13958   exec "\$@"
13959 fi
13960
13961 _ACEOF
13962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13963 exec 5>>config.log
13964 {
13965   echo
13966   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13967 ## Running $as_me. ##
13968 _ASBOX
13969   $as_echo "$ac_log"
13970 } >&5
13971
13972 _ACEOF
13973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13974 #
13975 # INIT-COMMANDS
13976 #
13977 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13978
13979
13980 # The HP-UX ksh and POSIX shell print the target directory to stdout
13981 # if CDPATH is set.
13982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13983
13984 sed_quote_subst='$sed_quote_subst'
13985 double_quote_subst='$double_quote_subst'
13986 delay_variable_subst='$delay_variable_subst'
13987 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13988 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13989 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13990 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13991 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13992 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13993 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13994 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13995 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13996 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13997 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13998 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13999 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14000 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14001 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14002 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14003 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14004 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14005 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14006 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14007 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14008 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14009 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14010 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14011 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14012 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14013 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14014 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14015 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14016 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14017 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14018 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14019 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14020 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14021 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14022 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14023 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14024 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14025 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14026 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14027 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14028 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14029 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14030 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14031 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14032 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14033 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14034 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14035 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14036 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14037 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14038 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14039 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14040 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14041 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14042 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14043 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"`'
14044 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14045 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14046 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14047 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14048 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14049 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14050 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14051 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14052 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14053 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14054 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14055 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14056 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14057 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14058 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14059 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14060 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14061 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14062 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14063 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14064 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14065 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14066 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14067 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14068 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14069 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14070 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14071 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14072 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14073 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14074 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14075 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14076 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14077 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14078 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14079 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14080 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14081 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14082 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14083 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14084 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14085 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14086 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14087 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14088 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14089 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14090 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14091 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14092 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14093 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14094 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14095 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14096 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14097 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14098 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14099 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14100 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14101 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14102 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14103 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14104 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14105 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14106 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14107 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14108 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14109 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14110 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14111 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14112 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14113 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14114 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14115 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14116 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14117
14118 LTCC='$LTCC'
14119 LTCFLAGS='$LTCFLAGS'
14120 compiler='$compiler_DEFAULT'
14121
14122 # A function that is used when there is no print builtin or printf.
14123 func_fallback_echo ()
14124 {
14125   eval 'cat <<_LTECHO_EOF
14126 \$1
14127 _LTECHO_EOF'
14128 }
14129
14130 # Quote evaled strings.
14131 for var in SHELL \
14132 ECHO \
14133 PATH_SEPARATOR \
14134 SED \
14135 GREP \
14136 EGREP \
14137 FGREP \
14138 LD \
14139 NM \
14140 LN_S \
14141 lt_SP2NL \
14142 lt_NL2SP \
14143 reload_flag \
14144 OBJDUMP \
14145 deplibs_check_method \
14146 file_magic_cmd \
14147 file_magic_glob \
14148 want_nocaseglob \
14149 DLLTOOL \
14150 sharedlib_from_linklib_cmd \
14151 AR \
14152 AR_FLAGS \
14153 archiver_list_spec \
14154 STRIP \
14155 RANLIB \
14156 CC \
14157 CFLAGS \
14158 compiler \
14159 lt_cv_sys_global_symbol_pipe \
14160 lt_cv_sys_global_symbol_to_cdecl \
14161 lt_cv_sys_global_symbol_to_c_name_address \
14162 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14163 nm_file_list_spec \
14164 lt_prog_compiler_no_builtin_flag \
14165 lt_prog_compiler_pic \
14166 lt_prog_compiler_wl \
14167 lt_prog_compiler_static \
14168 lt_cv_prog_compiler_c_o \
14169 need_locks \
14170 MANIFEST_TOOL \
14171 DSYMUTIL \
14172 NMEDIT \
14173 LIPO \
14174 OTOOL \
14175 OTOOL64 \
14176 shrext_cmds \
14177 export_dynamic_flag_spec \
14178 whole_archive_flag_spec \
14179 compiler_needs_object \
14180 with_gnu_ld \
14181 allow_undefined_flag \
14182 no_undefined_flag \
14183 hardcode_libdir_flag_spec \
14184 hardcode_libdir_separator \
14185 exclude_expsyms \
14186 include_expsyms \
14187 file_list_spec \
14188 variables_saved_for_relink \
14189 libname_spec \
14190 library_names_spec \
14191 soname_spec \
14192 install_override_mode \
14193 finish_eval \
14194 old_striplib \
14195 striplib; do
14196     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14197     *[\\\\\\\`\\"\\\$]*)
14198       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14199       ;;
14200     *)
14201       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14202       ;;
14203     esac
14204 done
14205
14206 # Double-quote double-evaled strings.
14207 for var in reload_cmds \
14208 old_postinstall_cmds \
14209 old_postuninstall_cmds \
14210 old_archive_cmds \
14211 extract_expsyms_cmds \
14212 old_archive_from_new_cmds \
14213 old_archive_from_expsyms_cmds \
14214 archive_cmds \
14215 archive_expsym_cmds \
14216 module_cmds \
14217 module_expsym_cmds \
14218 export_symbols_cmds \
14219 prelink_cmds \
14220 postlink_cmds \
14221 postinstall_cmds \
14222 postuninstall_cmds \
14223 finish_cmds \
14224 sys_lib_search_path_spec \
14225 sys_lib_dlsearch_path_spec; do
14226     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14227     *[\\\\\\\`\\"\\\$]*)
14228       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14229       ;;
14230     *)
14231       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14232       ;;
14233     esac
14234 done
14235
14236 ac_aux_dir='$ac_aux_dir'
14237 xsi_shell='$xsi_shell'
14238 lt_shell_append='$lt_shell_append'
14239
14240 # See if we are running on zsh, and set the options which allow our
14241 # commands through without removal of \ escapes INIT.
14242 if test -n "\${ZSH_VERSION+set}" ; then
14243    setopt NO_GLOB_SUBST
14244 fi
14245
14246
14247     PACKAGE='$PACKAGE'
14248     VERSION='$VERSION'
14249     TIMESTAMP='$TIMESTAMP'
14250     RM='$RM'
14251     ofile='$ofile'
14252
14253
14254
14255
14256 _ACEOF
14257
14258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14259
14260 # Handling of arguments.
14261 for ac_config_target in $ac_config_targets
14262 do
14263   case $ac_config_target in
14264     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14265     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14266     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14267     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14268     "libdleyna/server/Makefile") CONFIG_FILES="$CONFIG_FILES libdleyna/server/Makefile" ;;
14269     "libdleyna/server/dleyna-server-1.0.pc") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-1.0.pc" ;;
14270     "libdleyna/server/dleyna-server-service.conf") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-service.conf" ;;
14271     "server/dleyna-server-service-1.0.pc") CONFIG_FILES="$CONFIG_FILES server/dleyna-server-service-1.0.pc" ;;
14272     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14273     "test/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES test/dbus/Makefile" ;;
14274
14275   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14276   esac
14277 done
14278
14279
14280 # If the user did not use the arguments to specify the items to instantiate,
14281 # then the envvar interface is used.  Set only those that are not.
14282 # We use the long form for the default assignment because of an extremely
14283 # bizarre bug on SunOS 4.1.3.
14284 if $ac_need_defaults; then
14285   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14286   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14287   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14288 fi
14289
14290 # Have a temporary directory for convenience.  Make it in the build tree
14291 # simply because there is no reason against having it here, and in addition,
14292 # creating and moving files from /tmp can sometimes cause problems.
14293 # Hook for its removal unless debugging.
14294 # Note that there is a small window in which the directory will not be cleaned:
14295 # after its creation but before its name has been assigned to `$tmp'.
14296 $debug ||
14297 {
14298   tmp= ac_tmp=
14299   trap 'exit_status=$?
14300   : "${ac_tmp:=$tmp}"
14301   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14302 ' 0
14303   trap 'as_fn_exit 1' 1 2 13 15
14304 }
14305 # Create a (secure) tmp directory for tmp files.
14306
14307 {
14308   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14309   test -d "$tmp"
14310 }  ||
14311 {
14312   tmp=./conf$$-$RANDOM
14313   (umask 077 && mkdir "$tmp")
14314 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14315 ac_tmp=$tmp
14316
14317 # Set up the scripts for CONFIG_FILES section.
14318 # No need to generate them if there are no CONFIG_FILES.
14319 # This happens for instance with `./config.status config.h'.
14320 if test -n "$CONFIG_FILES"; then
14321
14322
14323 ac_cr=`echo X | tr X '\015'`
14324 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14325 # But we know of no other shell where ac_cr would be empty at this
14326 # point, so we can use a bashism as a fallback.
14327 if test "x$ac_cr" = x; then
14328   eval ac_cr=\$\'\\r\'
14329 fi
14330 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14331 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14332   ac_cs_awk_cr='\\r'
14333 else
14334   ac_cs_awk_cr=$ac_cr
14335 fi
14336
14337 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14338 _ACEOF
14339
14340
14341 {
14342   echo "cat >conf$$subs.awk <<_ACEOF" &&
14343   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14344   echo "_ACEOF"
14345 } >conf$$subs.sh ||
14346   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14347 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14348 ac_delim='%!_!# '
14349 for ac_last_try in false false false false false :; do
14350   . ./conf$$subs.sh ||
14351     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14352
14353   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14354   if test $ac_delim_n = $ac_delim_num; then
14355     break
14356   elif $ac_last_try; then
14357     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14358   else
14359     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14360   fi
14361 done
14362 rm -f conf$$subs.sh
14363
14364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14365 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14366 _ACEOF
14367 sed -n '
14368 h
14369 s/^/S["/; s/!.*/"]=/
14370 p
14371 g
14372 s/^[^!]*!//
14373 :repl
14374 t repl
14375 s/'"$ac_delim"'$//
14376 t delim
14377 :nl
14378 h
14379 s/\(.\{148\}\)..*/\1/
14380 t more1
14381 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14382 p
14383 n
14384 b repl
14385 :more1
14386 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14387 p
14388 g
14389 s/.\{148\}//
14390 t nl
14391 :delim
14392 h
14393 s/\(.\{148\}\)..*/\1/
14394 t more2
14395 s/["\\]/\\&/g; s/^/"/; s/$/"/
14396 p
14397 b
14398 :more2
14399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14400 p
14401 g
14402 s/.\{148\}//
14403 t delim
14404 ' <conf$$subs.awk | sed '
14405 /^[^""]/{
14406   N
14407   s/\n//
14408 }
14409 ' >>$CONFIG_STATUS || ac_write_fail=1
14410 rm -f conf$$subs.awk
14411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14412 _ACAWK
14413 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14414   for (key in S) S_is_set[key] = 1
14415   FS = "\a"
14416
14417 }
14418 {
14419   line = $ 0
14420   nfields = split(line, field, "@")
14421   substed = 0
14422   len = length(field[1])
14423   for (i = 2; i < nfields; i++) {
14424     key = field[i]
14425     keylen = length(key)
14426     if (S_is_set[key]) {
14427       value = S[key]
14428       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14429       len += length(value) + length(field[++i])
14430       substed = 1
14431     } else
14432       len += 1 + keylen
14433   }
14434
14435   print line
14436 }
14437
14438 _ACAWK
14439 _ACEOF
14440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14441 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14442   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14443 else
14444   cat
14445 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14446   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14447 _ACEOF
14448
14449 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14450 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14451 # trailing colons and then remove the whole line if VPATH becomes empty
14452 # (actually we leave an empty line to preserve line numbers).
14453 if test "x$srcdir" = x.; then
14454   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14455 h
14456 s///
14457 s/^/:/
14458 s/[      ]*$/:/
14459 s/:\$(srcdir):/:/g
14460 s/:\${srcdir}:/:/g
14461 s/:@srcdir@:/:/g
14462 s/^:*//
14463 s/:*$//
14464 x
14465 s/\(=[   ]*\).*/\1/
14466 G
14467 s/\n//
14468 s/^[^=]*=[       ]*$//
14469 }'
14470 fi
14471
14472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14473 fi # test -n "$CONFIG_FILES"
14474
14475 # Set up the scripts for CONFIG_HEADERS section.
14476 # No need to generate them if there are no CONFIG_HEADERS.
14477 # This happens for instance with `./config.status Makefile'.
14478 if test -n "$CONFIG_HEADERS"; then
14479 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14480 BEGIN {
14481 _ACEOF
14482
14483 # Transform confdefs.h into an awk script `defines.awk', embedded as
14484 # here-document in config.status, that substitutes the proper values into
14485 # config.h.in to produce config.h.
14486
14487 # Create a delimiter string that does not exist in confdefs.h, to ease
14488 # handling of long lines.
14489 ac_delim='%!_!# '
14490 for ac_last_try in false false :; do
14491   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14492   if test -z "$ac_tt"; then
14493     break
14494   elif $ac_last_try; then
14495     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14496   else
14497     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14498   fi
14499 done
14500
14501 # For the awk script, D is an array of macro values keyed by name,
14502 # likewise P contains macro parameters if any.  Preserve backslash
14503 # newline sequences.
14504
14505 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14506 sed -n '
14507 s/.\{148\}/&'"$ac_delim"'/g
14508 t rset
14509 :rset
14510 s/^[     ]*#[    ]*define[       ][      ]*/ /
14511 t def
14512 d
14513 :def
14514 s/\\$//
14515 t bsnl
14516 s/["\\]/\\&/g
14517 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14518 D["\1"]=" \3"/p
14519 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14520 d
14521 :bsnl
14522 s/["\\]/\\&/g
14523 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14524 D["\1"]=" \3\\\\\\n"\\/p
14525 t cont
14526 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14527 t cont
14528 d
14529 :cont
14530 n
14531 s/.\{148\}/&'"$ac_delim"'/g
14532 t clear
14533 :clear
14534 s/\\$//
14535 t bsnlc
14536 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14537 d
14538 :bsnlc
14539 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14540 b cont
14541 ' <confdefs.h | sed '
14542 s/'"$ac_delim"'/"\\\
14543 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14544
14545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14546   for (key in D) D_is_set[key] = 1
14547   FS = "\a"
14548 }
14549 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14550   line = \$ 0
14551   split(line, arg, " ")
14552   if (arg[1] == "#") {
14553     defundef = arg[2]
14554     mac1 = arg[3]
14555   } else {
14556     defundef = substr(arg[1], 2)
14557     mac1 = arg[2]
14558   }
14559   split(mac1, mac2, "(") #)
14560   macro = mac2[1]
14561   prefix = substr(line, 1, index(line, defundef) - 1)
14562   if (D_is_set[macro]) {
14563     # Preserve the white space surrounding the "#".
14564     print prefix "define", macro P[macro] D[macro]
14565     next
14566   } else {
14567     # Replace #undef with comments.  This is necessary, for example,
14568     # in the case of _POSIX_SOURCE, which is predefined and required
14569     # on some systems where configure will not decide to define it.
14570     if (defundef == "undef") {
14571       print "/*", prefix defundef, macro, "*/"
14572       next
14573     }
14574   }
14575 }
14576 { print }
14577 _ACAWK
14578 _ACEOF
14579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14580   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14581 fi # test -n "$CONFIG_HEADERS"
14582
14583
14584 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14585 shift
14586 for ac_tag
14587 do
14588   case $ac_tag in
14589   :[FHLC]) ac_mode=$ac_tag; continue;;
14590   esac
14591   case $ac_mode$ac_tag in
14592   :[FHL]*:*);;
14593   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14594   :[FH]-) ac_tag=-:-;;
14595   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14596   esac
14597   ac_save_IFS=$IFS
14598   IFS=:
14599   set x $ac_tag
14600   IFS=$ac_save_IFS
14601   shift
14602   ac_file=$1
14603   shift
14604
14605   case $ac_mode in
14606   :L) ac_source=$1;;
14607   :[FH])
14608     ac_file_inputs=
14609     for ac_f
14610     do
14611       case $ac_f in
14612       -) ac_f="$ac_tmp/stdin";;
14613       *) # Look for the file first in the build tree, then in the source tree
14614          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14615          # because $ac_f cannot contain `:'.
14616          test -f "$ac_f" ||
14617            case $ac_f in
14618            [\\/$]*) false;;
14619            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14620            esac ||
14621            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14622       esac
14623       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14624       as_fn_append ac_file_inputs " '$ac_f'"
14625     done
14626
14627     # Let's still pretend it is `configure' which instantiates (i.e., don't
14628     # use $as_me), people would be surprised to read:
14629     #    /* config.h.  Generated by config.status.  */
14630     configure_input='Generated from '`
14631           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14632         `' by configure.'
14633     if test x"$ac_file" != x-; then
14634       configure_input="$ac_file.  $configure_input"
14635       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14636 $as_echo "$as_me: creating $ac_file" >&6;}
14637     fi
14638     # Neutralize special characters interpreted by sed in replacement strings.
14639     case $configure_input in #(
14640     *\&* | *\|* | *\\* )
14641        ac_sed_conf_input=`$as_echo "$configure_input" |
14642        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14643     *) ac_sed_conf_input=$configure_input;;
14644     esac
14645
14646     case $ac_tag in
14647     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14648       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14649     esac
14650     ;;
14651   esac
14652
14653   ac_dir=`$as_dirname -- "$ac_file" ||
14654 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14655          X"$ac_file" : 'X\(//\)[^/]' \| \
14656          X"$ac_file" : 'X\(//\)$' \| \
14657          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14658 $as_echo X"$ac_file" |
14659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14660             s//\1/
14661             q
14662           }
14663           /^X\(\/\/\)[^/].*/{
14664             s//\1/
14665             q
14666           }
14667           /^X\(\/\/\)$/{
14668             s//\1/
14669             q
14670           }
14671           /^X\(\/\).*/{
14672             s//\1/
14673             q
14674           }
14675           s/.*/./; q'`
14676   as_dir="$ac_dir"; as_fn_mkdir_p
14677   ac_builddir=.
14678
14679 case "$ac_dir" in
14680 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14681 *)
14682   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14683   # A ".." for each directory in $ac_dir_suffix.
14684   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14685   case $ac_top_builddir_sub in
14686   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14687   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14688   esac ;;
14689 esac
14690 ac_abs_top_builddir=$ac_pwd
14691 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14692 # for backward compatibility:
14693 ac_top_builddir=$ac_top_build_prefix
14694
14695 case $srcdir in
14696   .)  # We are building in place.
14697     ac_srcdir=.
14698     ac_top_srcdir=$ac_top_builddir_sub
14699     ac_abs_top_srcdir=$ac_pwd ;;
14700   [\\/]* | ?:[\\/]* )  # Absolute name.
14701     ac_srcdir=$srcdir$ac_dir_suffix;
14702     ac_top_srcdir=$srcdir
14703     ac_abs_top_srcdir=$srcdir ;;
14704   *) # Relative name.
14705     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14706     ac_top_srcdir=$ac_top_build_prefix$srcdir
14707     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14708 esac
14709 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14710
14711
14712   case $ac_mode in
14713   :F)
14714   #
14715   # CONFIG_FILE
14716   #
14717
14718   case $INSTALL in
14719   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14720   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14721   esac
14722   ac_MKDIR_P=$MKDIR_P
14723   case $MKDIR_P in
14724   [\\/$]* | ?:[\\/]* ) ;;
14725   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14726   esac
14727 _ACEOF
14728
14729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14730 # If the template does not know about datarootdir, expand it.
14731 # FIXME: This hack should be removed a few years after 2.60.
14732 ac_datarootdir_hack=; ac_datarootdir_seen=
14733 ac_sed_dataroot='
14734 /datarootdir/ {
14735   p
14736   q
14737 }
14738 /@datadir@/p
14739 /@docdir@/p
14740 /@infodir@/p
14741 /@localedir@/p
14742 /@mandir@/p'
14743 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14744 *datarootdir*) ac_datarootdir_seen=yes;;
14745 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14746   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14747 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14748 _ACEOF
14749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14750   ac_datarootdir_hack='
14751   s&@datadir@&$datadir&g
14752   s&@docdir@&$docdir&g
14753   s&@infodir@&$infodir&g
14754   s&@localedir@&$localedir&g
14755   s&@mandir@&$mandir&g
14756   s&\\\${datarootdir}&$datarootdir&g' ;;
14757 esac
14758 _ACEOF
14759
14760 # Neutralize VPATH when `$srcdir' = `.'.
14761 # Shell code in configure.ac might set extrasub.
14762 # FIXME: do we really want to maintain this feature?
14763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14764 ac_sed_extra="$ac_vpsub
14765 $extrasub
14766 _ACEOF
14767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14768 :t
14769 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14770 s|@configure_input@|$ac_sed_conf_input|;t t
14771 s&@top_builddir@&$ac_top_builddir_sub&;t t
14772 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14773 s&@srcdir@&$ac_srcdir&;t t
14774 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14775 s&@top_srcdir@&$ac_top_srcdir&;t t
14776 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14777 s&@builddir@&$ac_builddir&;t t
14778 s&@abs_builddir@&$ac_abs_builddir&;t t
14779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14780 s&@INSTALL@&$ac_INSTALL&;t t
14781 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14782 $ac_datarootdir_hack
14783 "
14784 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14785   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14786
14787 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14788   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14789   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14790       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14791   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14792 which seems to be undefined.  Please make sure it is defined" >&5
14793 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14794 which seems to be undefined.  Please make sure it is defined" >&2;}
14795
14796   rm -f "$ac_tmp/stdin"
14797   case $ac_file in
14798   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14799   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14800   esac \
14801   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14802  ;;
14803   :H)
14804   #
14805   # CONFIG_HEADER
14806   #
14807   if test x"$ac_file" != x-; then
14808     {
14809       $as_echo "/* $configure_input  */" \
14810       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14811     } >"$ac_tmp/config.h" \
14812       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14813     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14814       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14815 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14816     else
14817       rm -f "$ac_file"
14818       mv "$ac_tmp/config.h" "$ac_file" \
14819         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14820     fi
14821   else
14822     $as_echo "/* $configure_input  */" \
14823       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14824       || as_fn_error $? "could not create -" "$LINENO" 5
14825   fi
14826 # Compute "$ac_file"'s index in $config_headers.
14827 _am_arg="$ac_file"
14828 _am_stamp_count=1
14829 for _am_header in $config_headers :; do
14830   case $_am_header in
14831     $_am_arg | $_am_arg:* )
14832       break ;;
14833     * )
14834       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14835   esac
14836 done
14837 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14838 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14839          X"$_am_arg" : 'X\(//\)[^/]' \| \
14840          X"$_am_arg" : 'X\(//\)$' \| \
14841          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14842 $as_echo X"$_am_arg" |
14843     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14844             s//\1/
14845             q
14846           }
14847           /^X\(\/\/\)[^/].*/{
14848             s//\1/
14849             q
14850           }
14851           /^X\(\/\/\)$/{
14852             s//\1/
14853             q
14854           }
14855           /^X\(\/\).*/{
14856             s//\1/
14857             q
14858           }
14859           s/.*/./; q'`/stamp-h$_am_stamp_count
14860  ;;
14861
14862   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14863 $as_echo "$as_me: executing $ac_file commands" >&6;}
14864  ;;
14865   esac
14866
14867
14868   case $ac_file$ac_mode in
14869     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14870   # Older Autoconf quotes --file arguments for eval, but not when files
14871   # are listed without --file.  Let's play safe and only enable the eval
14872   # if we detect the quoting.
14873   case $CONFIG_FILES in
14874   *\'*) eval set x "$CONFIG_FILES" ;;
14875   *)   set x $CONFIG_FILES ;;
14876   esac
14877   shift
14878   for mf
14879   do
14880     # Strip MF so we end up with the name of the file.
14881     mf=`echo "$mf" | sed -e 's/:.*$//'`
14882     # Check whether this is an Automake generated Makefile or not.
14883     # We used to match only the files named 'Makefile.in', but
14884     # some people rename them; so instead we look at the file content.
14885     # Grep'ing the first line is not enough: some people post-process
14886     # each Makefile.in and add a new line on top of each file to say so.
14887     # Grep'ing the whole file is not good either: AIX grep has a line
14888     # limit of 2048, but all sed's we know have understand at least 4000.
14889     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14890       dirpart=`$as_dirname -- "$mf" ||
14891 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14892          X"$mf" : 'X\(//\)[^/]' \| \
14893          X"$mf" : 'X\(//\)$' \| \
14894          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14895 $as_echo X"$mf" |
14896     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14897             s//\1/
14898             q
14899           }
14900           /^X\(\/\/\)[^/].*/{
14901             s//\1/
14902             q
14903           }
14904           /^X\(\/\/\)$/{
14905             s//\1/
14906             q
14907           }
14908           /^X\(\/\).*/{
14909             s//\1/
14910             q
14911           }
14912           s/.*/./; q'`
14913     else
14914       continue
14915     fi
14916     # Extract the definition of DEPDIR, am__include, and am__quote
14917     # from the Makefile without running 'make'.
14918     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14919     test -z "$DEPDIR" && continue
14920     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14921     test -z "$am__include" && continue
14922     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14923     # Find all dependency output files, they are included files with
14924     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14925     # simplest approach to changing $(DEPDIR) to its actual value in the
14926     # expansion.
14927     for file in `sed -n "
14928       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14929          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14930       # Make sure the directory exists.
14931       test -f "$dirpart/$file" && continue
14932       fdir=`$as_dirname -- "$file" ||
14933 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14934          X"$file" : 'X\(//\)[^/]' \| \
14935          X"$file" : 'X\(//\)$' \| \
14936          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14937 $as_echo X"$file" |
14938     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14939             s//\1/
14940             q
14941           }
14942           /^X\(\/\/\)[^/].*/{
14943             s//\1/
14944             q
14945           }
14946           /^X\(\/\/\)$/{
14947             s//\1/
14948             q
14949           }
14950           /^X\(\/\).*/{
14951             s//\1/
14952             q
14953           }
14954           s/.*/./; q'`
14955       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14956       # echo "creating $dirpart/$file"
14957       echo '# dummy' > "$dirpart/$file"
14958     done
14959   done
14960 }
14961  ;;
14962     "libtool":C)
14963
14964     # See if we are running on zsh, and set the options which allow our
14965     # commands through without removal of \ escapes.
14966     if test -n "${ZSH_VERSION+set}" ; then
14967       setopt NO_GLOB_SUBST
14968     fi
14969
14970     cfgfile="${ofile}T"
14971     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14972     $RM "$cfgfile"
14973
14974     cat <<_LT_EOF >> "$cfgfile"
14975 #! $SHELL
14976
14977 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14978 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14979 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14980 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14981 #
14982 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14983 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14984 #                 Foundation, Inc.
14985 #   Written by Gordon Matzigkeit, 1996
14986 #
14987 #   This file is part of GNU Libtool.
14988 #
14989 # GNU Libtool is free software; you can redistribute it and/or
14990 # modify it under the terms of the GNU General Public License as
14991 # published by the Free Software Foundation; either version 2 of
14992 # the License, or (at your option) any later version.
14993 #
14994 # As a special exception to the GNU General Public License,
14995 # if you distribute this file as part of a program or library that
14996 # is built using GNU Libtool, you may include this file under the
14997 # same distribution terms that you use for the rest of that program.
14998 #
14999 # GNU Libtool is distributed in the hope that it will be useful,
15000 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15001 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15002 # GNU General Public License for more details.
15003 #
15004 # You should have received a copy of the GNU General Public License
15005 # along with GNU Libtool; see the file COPYING.  If not, a copy
15006 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15007 # obtained by writing to the Free Software Foundation, Inc.,
15008 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15009
15010
15011 # The names of the tagged configurations supported by this script.
15012 available_tags=""
15013
15014 # ### BEGIN LIBTOOL CONFIG
15015
15016 # Which release of libtool.m4 was used?
15017 macro_version=$macro_version
15018 macro_revision=$macro_revision
15019
15020 # Whether or not to build static libraries.
15021 build_old_libs=$enable_static
15022
15023 # Whether or not to build shared libraries.
15024 build_libtool_libs=$enable_shared
15025
15026 # What type of objects to build.
15027 pic_mode=$pic_mode
15028
15029 # Whether or not to optimize for fast installation.
15030 fast_install=$enable_fast_install
15031
15032 # Shell to use when invoking shell scripts.
15033 SHELL=$lt_SHELL
15034
15035 # An echo program that protects backslashes.
15036 ECHO=$lt_ECHO
15037
15038 # The PATH separator for the build system.
15039 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15040
15041 # The host system.
15042 host_alias=$host_alias
15043 host=$host
15044 host_os=$host_os
15045
15046 # The build system.
15047 build_alias=$build_alias
15048 build=$build
15049 build_os=$build_os
15050
15051 # A sed program that does not truncate output.
15052 SED=$lt_SED
15053
15054 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15055 Xsed="\$SED -e 1s/^X//"
15056
15057 # A grep program that handles long lines.
15058 GREP=$lt_GREP
15059
15060 # An ERE matcher.
15061 EGREP=$lt_EGREP
15062
15063 # A literal string matcher.
15064 FGREP=$lt_FGREP
15065
15066 # A BSD- or MS-compatible name lister.
15067 NM=$lt_NM
15068
15069 # Whether we need soft or hard links.
15070 LN_S=$lt_LN_S
15071
15072 # What is the maximum length of a command?
15073 max_cmd_len=$max_cmd_len
15074
15075 # Object file suffix (normally "o").
15076 objext=$ac_objext
15077
15078 # Executable file suffix (normally "").
15079 exeext=$exeext
15080
15081 # whether the shell understands "unset".
15082 lt_unset=$lt_unset
15083
15084 # turn spaces into newlines.
15085 SP2NL=$lt_lt_SP2NL
15086
15087 # turn newlines into spaces.
15088 NL2SP=$lt_lt_NL2SP
15089
15090 # convert \$build file names to \$host format.
15091 to_host_file_cmd=$lt_cv_to_host_file_cmd
15092
15093 # convert \$build files to toolchain format.
15094 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15095
15096 # An object symbol dumper.
15097 OBJDUMP=$lt_OBJDUMP
15098
15099 # Method to check whether dependent libraries are shared objects.
15100 deplibs_check_method=$lt_deplibs_check_method
15101
15102 # Command to use when deplibs_check_method = "file_magic".
15103 file_magic_cmd=$lt_file_magic_cmd
15104
15105 # How to find potential files when deplibs_check_method = "file_magic".
15106 file_magic_glob=$lt_file_magic_glob
15107
15108 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15109 want_nocaseglob=$lt_want_nocaseglob
15110
15111 # DLL creation program.
15112 DLLTOOL=$lt_DLLTOOL
15113
15114 # Command to associate shared and link libraries.
15115 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15116
15117 # The archiver.
15118 AR=$lt_AR
15119
15120 # Flags to create an archive.
15121 AR_FLAGS=$lt_AR_FLAGS
15122
15123 # How to feed a file listing to the archiver.
15124 archiver_list_spec=$lt_archiver_list_spec
15125
15126 # A symbol stripping program.
15127 STRIP=$lt_STRIP
15128
15129 # Commands used to install an old-style archive.
15130 RANLIB=$lt_RANLIB
15131 old_postinstall_cmds=$lt_old_postinstall_cmds
15132 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15133
15134 # Whether to use a lock for old archive extraction.
15135 lock_old_archive_extraction=$lock_old_archive_extraction
15136
15137 # A C compiler.
15138 LTCC=$lt_CC
15139
15140 # LTCC compiler flags.
15141 LTCFLAGS=$lt_CFLAGS
15142
15143 # Take the output of nm and produce a listing of raw symbols and C names.
15144 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15145
15146 # Transform the output of nm in a proper C declaration.
15147 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15148
15149 # Transform the output of nm in a C name address pair.
15150 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15151
15152 # Transform the output of nm in a C name address pair when lib prefix is needed.
15153 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15154
15155 # Specify filename containing input files for \$NM.
15156 nm_file_list_spec=$lt_nm_file_list_spec
15157
15158 # The root where to search for dependent libraries,and in which our libraries should be installed.
15159 lt_sysroot=$lt_sysroot
15160
15161 # The name of the directory that contains temporary libtool files.
15162 objdir=$objdir
15163
15164 # Used to examine libraries when file_magic_cmd begins with "file".
15165 MAGIC_CMD=$MAGIC_CMD
15166
15167 # Must we lock files when doing compilation?
15168 need_locks=$lt_need_locks
15169
15170 # Manifest tool.
15171 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15172
15173 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15174 DSYMUTIL=$lt_DSYMUTIL
15175
15176 # Tool to change global to local symbols on Mac OS X.
15177 NMEDIT=$lt_NMEDIT
15178
15179 # Tool to manipulate fat objects and archives on Mac OS X.
15180 LIPO=$lt_LIPO
15181
15182 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15183 OTOOL=$lt_OTOOL
15184
15185 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15186 OTOOL64=$lt_OTOOL64
15187
15188 # Old archive suffix (normally "a").
15189 libext=$libext
15190
15191 # Shared library suffix (normally ".so").
15192 shrext_cmds=$lt_shrext_cmds
15193
15194 # The commands to extract the exported symbol list from a shared archive.
15195 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15196
15197 # Variables whose values should be saved in libtool wrapper scripts and
15198 # restored at link time.
15199 variables_saved_for_relink=$lt_variables_saved_for_relink
15200
15201 # Do we need the "lib" prefix for modules?
15202 need_lib_prefix=$need_lib_prefix
15203
15204 # Do we need a version for libraries?
15205 need_version=$need_version
15206
15207 # Library versioning type.
15208 version_type=$version_type
15209
15210 # Shared library runtime path variable.
15211 runpath_var=$runpath_var
15212
15213 # Shared library path variable.
15214 shlibpath_var=$shlibpath_var
15215
15216 # Is shlibpath searched before the hard-coded library search path?
15217 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15218
15219 # Format of library name prefix.
15220 libname_spec=$lt_libname_spec
15221
15222 # List of archive names.  First name is the real one, the rest are links.
15223 # The last name is the one that the linker finds with -lNAME
15224 library_names_spec=$lt_library_names_spec
15225
15226 # The coded name of the library, if different from the real name.
15227 soname_spec=$lt_soname_spec
15228
15229 # Permission mode override for installation of shared libraries.
15230 install_override_mode=$lt_install_override_mode
15231
15232 # Command to use after installation of a shared archive.
15233 postinstall_cmds=$lt_postinstall_cmds
15234
15235 # Command to use after uninstallation of a shared archive.
15236 postuninstall_cmds=$lt_postuninstall_cmds
15237
15238 # Commands used to finish a libtool library installation in a directory.
15239 finish_cmds=$lt_finish_cmds
15240
15241 # As "finish_cmds", except a single script fragment to be evaled but
15242 # not shown.
15243 finish_eval=$lt_finish_eval
15244
15245 # Whether we should hardcode library paths into libraries.
15246 hardcode_into_libs=$hardcode_into_libs
15247
15248 # Compile-time system search path for libraries.
15249 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15250
15251 # Run-time system search path for libraries.
15252 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15253
15254 # Whether dlopen is supported.
15255 dlopen_support=$enable_dlopen
15256
15257 # Whether dlopen of programs is supported.
15258 dlopen_self=$enable_dlopen_self
15259
15260 # Whether dlopen of statically linked programs is supported.
15261 dlopen_self_static=$enable_dlopen_self_static
15262
15263 # Commands to strip libraries.
15264 old_striplib=$lt_old_striplib
15265 striplib=$lt_striplib
15266
15267
15268 # The linker used to build libraries.
15269 LD=$lt_LD
15270
15271 # How to create reloadable object files.
15272 reload_flag=$lt_reload_flag
15273 reload_cmds=$lt_reload_cmds
15274
15275 # Commands used to build an old-style archive.
15276 old_archive_cmds=$lt_old_archive_cmds
15277
15278 # A language specific compiler.
15279 CC=$lt_compiler
15280
15281 # Is the compiler the GNU compiler?
15282 with_gcc=$GCC
15283
15284 # Compiler flag to turn off builtin functions.
15285 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15286
15287 # Additional compiler flags for building library objects.
15288 pic_flag=$lt_lt_prog_compiler_pic
15289
15290 # How to pass a linker flag through the compiler.
15291 wl=$lt_lt_prog_compiler_wl
15292
15293 # Compiler flag to prevent dynamic linking.
15294 link_static_flag=$lt_lt_prog_compiler_static
15295
15296 # Does compiler simultaneously support -c and -o options?
15297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15298
15299 # Whether or not to add -lc for building shared libraries.
15300 build_libtool_need_lc=$archive_cmds_need_lc
15301
15302 # Whether or not to disallow shared libs when runtime libs are static.
15303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15304
15305 # Compiler flag to allow reflexive dlopens.
15306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15307
15308 # Compiler flag to generate shared objects directly from archives.
15309 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15310
15311 # Whether the compiler copes with passing no objects directly.
15312 compiler_needs_object=$lt_compiler_needs_object
15313
15314 # Create an old-style archive from a shared archive.
15315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15316
15317 # Create a temporary old-style archive to link instead of a shared archive.
15318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15319
15320 # Commands used to build a shared archive.
15321 archive_cmds=$lt_archive_cmds
15322 archive_expsym_cmds=$lt_archive_expsym_cmds
15323
15324 # Commands used to build a loadable module if different from building
15325 # a shared archive.
15326 module_cmds=$lt_module_cmds
15327 module_expsym_cmds=$lt_module_expsym_cmds
15328
15329 # Whether we are building with GNU ld or not.
15330 with_gnu_ld=$lt_with_gnu_ld
15331
15332 # Flag that allows shared libraries with undefined symbols to be built.
15333 allow_undefined_flag=$lt_allow_undefined_flag
15334
15335 # Flag that enforces no undefined symbols.
15336 no_undefined_flag=$lt_no_undefined_flag
15337
15338 # Flag to hardcode \$libdir into a binary during linking.
15339 # This must work even if \$libdir does not exist
15340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15341
15342 # Whether we need a single "-rpath" flag with a separated argument.
15343 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15344
15345 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15346 # DIR into the resulting binary.
15347 hardcode_direct=$hardcode_direct
15348
15349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15350 # DIR into the resulting binary and the resulting library dependency is
15351 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15352 # library is relocated.
15353 hardcode_direct_absolute=$hardcode_direct_absolute
15354
15355 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15356 # into the resulting binary.
15357 hardcode_minus_L=$hardcode_minus_L
15358
15359 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15360 # into the resulting binary.
15361 hardcode_shlibpath_var=$hardcode_shlibpath_var
15362
15363 # Set to "yes" if building a shared library automatically hardcodes DIR
15364 # into the library and all subsequent libraries and executables linked
15365 # against it.
15366 hardcode_automatic=$hardcode_automatic
15367
15368 # Set to yes if linker adds runtime paths of dependent libraries
15369 # to runtime path list.
15370 inherit_rpath=$inherit_rpath
15371
15372 # Whether libtool must link a program against all its dependency libraries.
15373 link_all_deplibs=$link_all_deplibs
15374
15375 # Set to "yes" if exported symbols are required.
15376 always_export_symbols=$always_export_symbols
15377
15378 # The commands to list exported symbols.
15379 export_symbols_cmds=$lt_export_symbols_cmds
15380
15381 # Symbols that should not be listed in the preloaded symbols.
15382 exclude_expsyms=$lt_exclude_expsyms
15383
15384 # Symbols that must always be exported.
15385 include_expsyms=$lt_include_expsyms
15386
15387 # Commands necessary for linking programs (against libraries) with templates.
15388 prelink_cmds=$lt_prelink_cmds
15389
15390 # Commands necessary for finishing linking programs.
15391 postlink_cmds=$lt_postlink_cmds
15392
15393 # Specify filename containing input files.
15394 file_list_spec=$lt_file_list_spec
15395
15396 # How to hardcode a shared library path into an executable.
15397 hardcode_action=$hardcode_action
15398
15399 # ### END LIBTOOL CONFIG
15400
15401 _LT_EOF
15402
15403   case $host_os in
15404   aix3*)
15405     cat <<\_LT_EOF >> "$cfgfile"
15406 # AIX sometimes has problems with the GCC collect2 program.  For some
15407 # reason, if we set the COLLECT_NAMES environment variable, the problems
15408 # vanish in a puff of smoke.
15409 if test "X${COLLECT_NAMES+set}" != Xset; then
15410   COLLECT_NAMES=
15411   export COLLECT_NAMES
15412 fi
15413 _LT_EOF
15414     ;;
15415   esac
15416
15417
15418 ltmain="$ac_aux_dir/ltmain.sh"
15419
15420
15421   # We use sed instead of cat because bash on DJGPP gets confused if
15422   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15423   # text mode, it properly converts lines to CR/LF.  This bash problem
15424   # is reportedly fixed, but why not run on old versions too?
15425   sed '$q' "$ltmain" >> "$cfgfile" \
15426      || (rm -f "$cfgfile"; exit 1)
15427
15428   if test x"$xsi_shell" = xyes; then
15429   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15430 func_dirname ()\
15431 {\
15432 \    case ${1} in\
15433 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15434 \      *  ) func_dirname_result="${3}" ;;\
15435 \    esac\
15436 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15437   && mv -f "$cfgfile.tmp" "$cfgfile" \
15438     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15439 test 0 -eq $? || _lt_function_replace_fail=:
15440
15441
15442   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15443 func_basename ()\
15444 {\
15445 \    func_basename_result="${1##*/}"\
15446 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15447   && mv -f "$cfgfile.tmp" "$cfgfile" \
15448     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15449 test 0 -eq $? || _lt_function_replace_fail=:
15450
15451
15452   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15453 func_dirname_and_basename ()\
15454 {\
15455 \    case ${1} in\
15456 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15457 \      *  ) func_dirname_result="${3}" ;;\
15458 \    esac\
15459 \    func_basename_result="${1##*/}"\
15460 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15461   && mv -f "$cfgfile.tmp" "$cfgfile" \
15462     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15463 test 0 -eq $? || _lt_function_replace_fail=:
15464
15465
15466   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15467 func_stripname ()\
15468 {\
15469 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15470 \    # positional parameters, so assign one to ordinary parameter first.\
15471 \    func_stripname_result=${3}\
15472 \    func_stripname_result=${func_stripname_result#"${1}"}\
15473 \    func_stripname_result=${func_stripname_result%"${2}"}\
15474 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15475   && mv -f "$cfgfile.tmp" "$cfgfile" \
15476     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15477 test 0 -eq $? || _lt_function_replace_fail=:
15478
15479
15480   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15481 func_split_long_opt ()\
15482 {\
15483 \    func_split_long_opt_name=${1%%=*}\
15484 \    func_split_long_opt_arg=${1#*=}\
15485 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15486   && mv -f "$cfgfile.tmp" "$cfgfile" \
15487     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15488 test 0 -eq $? || _lt_function_replace_fail=:
15489
15490
15491   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15492 func_split_short_opt ()\
15493 {\
15494 \    func_split_short_opt_arg=${1#??}\
15495 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15496 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15497   && mv -f "$cfgfile.tmp" "$cfgfile" \
15498     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15499 test 0 -eq $? || _lt_function_replace_fail=:
15500
15501
15502   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15503 func_lo2o ()\
15504 {\
15505 \    case ${1} in\
15506 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15507 \      *)    func_lo2o_result=${1} ;;\
15508 \    esac\
15509 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15510   && mv -f "$cfgfile.tmp" "$cfgfile" \
15511     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15512 test 0 -eq $? || _lt_function_replace_fail=:
15513
15514
15515   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15516 func_xform ()\
15517 {\
15518     func_xform_result=${1%.*}.lo\
15519 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15520   && mv -f "$cfgfile.tmp" "$cfgfile" \
15521     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15522 test 0 -eq $? || _lt_function_replace_fail=:
15523
15524
15525   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15526 func_arith ()\
15527 {\
15528     func_arith_result=$(( $* ))\
15529 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15530   && mv -f "$cfgfile.tmp" "$cfgfile" \
15531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15532 test 0 -eq $? || _lt_function_replace_fail=:
15533
15534
15535   sed -e '/^func_len ()$/,/^} # func_len /c\
15536 func_len ()\
15537 {\
15538     func_len_result=${#1}\
15539 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15540   && mv -f "$cfgfile.tmp" "$cfgfile" \
15541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15542 test 0 -eq $? || _lt_function_replace_fail=:
15543
15544 fi
15545
15546 if test x"$lt_shell_append" = xyes; then
15547   sed -e '/^func_append ()$/,/^} # func_append /c\
15548 func_append ()\
15549 {\
15550     eval "${1}+=\\${2}"\
15551 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15552   && mv -f "$cfgfile.tmp" "$cfgfile" \
15553     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15554 test 0 -eq $? || _lt_function_replace_fail=:
15555
15556
15557   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15558 func_append_quoted ()\
15559 {\
15560 \    func_quote_for_eval "${2}"\
15561 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15562 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15563   && mv -f "$cfgfile.tmp" "$cfgfile" \
15564     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15565 test 0 -eq $? || _lt_function_replace_fail=:
15566
15567
15568   # Save a `func_append' function call where possible by direct use of '+='
15569   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15570     && mv -f "$cfgfile.tmp" "$cfgfile" \
15571       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15572   test 0 -eq $? || _lt_function_replace_fail=:
15573 else
15574   # Save a `func_append' function call even when '+=' is not available
15575   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15576     && mv -f "$cfgfile.tmp" "$cfgfile" \
15577       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15578   test 0 -eq $? || _lt_function_replace_fail=:
15579 fi
15580
15581 if test x"$_lt_function_replace_fail" = x":"; then
15582   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15583 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15584 fi
15585
15586
15587    mv -f "$cfgfile" "$ofile" ||
15588     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15589   chmod +x "$ofile"
15590
15591  ;;
15592
15593   esac
15594 done # for ac_tag
15595
15596
15597 as_fn_exit 0
15598 _ACEOF
15599 ac_clean_files=$ac_clean_files_save
15600
15601 test $ac_write_fail = 0 ||
15602   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15603
15604
15605 # configure is writing to config.log, and then calls config.status.
15606 # config.status does its own redirection, appending to config.log.
15607 # Unfortunately, on DOS this fails, as config.log is still kept open
15608 # by configure, so config.status won't be able to write to it; its
15609 # output is simply discarded.  So we exec the FD to /dev/null,
15610 # effectively closing config.log, so it can be properly (re)opened and
15611 # appended to by config.status.  When coming back to configure, we
15612 # need to make the FD available again.
15613 if test "$no_create" != yes; then
15614   ac_cs_success=:
15615   ac_config_status_args=
15616   test "$silent" = yes &&
15617     ac_config_status_args="$ac_config_status_args --quiet"
15618   exec 5>/dev/null
15619   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15620   exec 5>>config.log
15621   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15622   # would make configure fail if this is the last instruction.
15623   $ac_cs_success || as_fn_exit 1
15624 fi
15625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15626   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15628 fi
15629
15630
15631 $as_echo "-------------------------------------------------
15632
15633 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15634
15635 Prefix    : '${prefix}'
15636 Compiler  : '${CC}'
15637 CFLAGS    : '${CFLAGS}'
15638
15639 -Package features:
15640         - enable-werror         : ${enable_werror}
15641         - enable-debug          : ${enable_debug}
15642         - enable-never-quit     : ${enable_never_quit}
15643         - with-connector-name   : ${with_connector_name}
15644         - disable-optimization  : ${disable_optimization}
15645         - with-log-level        : ${with_log_level}
15646         - with-log-type         : ${with_log_type}
15647         - with-ua-prefix        : ${with_ua_prefix}
15648         - enable-lib-only       : ${enable_lib_only}
15649         - with-dbus-service-dir : ${with_dbus_service_dir}
15650
15651 --------------------------------------------------"